Info Call to External Storage API

Description

List of all external storage API calls. Insecure storage of sensitive information by setting insecure permissions or storing data without encryption might expose this information to an attacker.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method kotlin.io.m.a() calling method java.io.FileOutputStream.<init>()


    public static final java.io.File a(java.io.File p7, java.io.File p8, boolean p9, int p10)
    {
        kotlin.jvm.internal.ae.f(p7, "receiver$0");
        kotlin.jvm.internal.ae.f(p8, "target");
        if (p7.exists()) {
            if (p8.exists()) {
                Throwable v0_1 = 1;
                if ((p9 != null) && (p8.delete())) {
                    v0_1 = 0;
                }
                if (v0_1 != null) {
                    throw ((Throwable) new kotlin.io.FileAlreadyExistsException(p7, p8, "The destination file already exists."));
                }
            }
            if (!p7.isDirectory()) {
                Throwable v9_3 = p8.getParentFile();
                if (v9_3 != null) {
                    v9_3.mkdirs();
                }
                Throwable v9_6 = ((java.io.Closeable) new java.io.FileInputStream(p7));
                Throwable v0_4 = ((Throwable) 0);
                try {
                    java.io.Closeable v2_2 = ((java.io.Closeable) new java.io.FileOutputStream(p8));
                    Throwable v7_2 = ((Throwable) 0);
                    try {
                        kotlin.io.a.a(((java.io.InputStream) ((java.io.FileInputStream) v9_6)), ((java.io.OutputStream) ((java.io.FileOutputStream) v2_2)), p10);
                    } catch (Throwable v8_1) {
                        kotlin.io.b.a(v2_2, v7_2);
                        throw v8_1;
                    } catch (Throwable v7_2) {
                        throw v7_2;
                    }
                    kotlin.io.b.a(v2_2, ((Throwable) 0));
                    kotlin.io.b.a(v9_6, ((Throwable) 0));
                } catch (Throwable v7_4) {
                    kotlin.io.b.a(v9_6, v0_4);
                    throw v7_4;
                } catch (Throwable v7_3) {
                    v0_4 = v7_3;
                    throw v0_4;
                }
            } else {
                if (!p8.mkdirs()) {
                    throw ((Throwable) new kotlin.io.FileSystemException(p7, p8, "Failed to create target directory."));
                }
            }
            return p8;
        } else {
            Throwable v8_2 = new kotlin.io.NoSuchFileException;
            v8_2(p7, 0, "The source file doesn\'t exist.", 2, 0);
            throw ((Throwable) v8_2);
        }
    }

Method com.google.android.gms.safetynet.SafeBrowsingData.zza() calling method java.io.FileOutputStream.<init>()

Couldn't retrieve source code

Method io.fabric.sdk.android.services.b.l.a() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream a(java.io.File p3)
    {
        return new java.util.zip.GZIPOutputStream(new java.io.FileOutputStream(p3));
    }

Method org.apache.commons.io.output.h.<init>() calling method java.io.File.<init>()


    public h(String p2, String p3, boolean p4)
    {
        this(new java.io.File(p2), p3, p4);
        return;
    }

Method org.apache.commons.io.output.h.<init>() calling method java.io.File.<init>()


    public h(String p2, java.nio.charset.Charset p3)
    {
        this(new java.io.File(p2), p3, 0);
        return;
    }

Method com.crashlytics.android.core.l.i() calling method java.io.File.<init>()


    java.io.File i()
    {
        return new java.io.File(this.h(), "fatal-sessions");
    }

Method com.crashlytics.android.core.l.j() calling method java.io.File.<init>()


    java.io.File j()
    {
        return new java.io.File(this.h(), "nonfatal-sessions");
    }

Method com.crashlytics.android.core.l.k() calling method java.io.File.<init>()


    java.io.File k()
    {
        return new java.io.File(this.h(), "invalidClsFiles");
    }

Method com.crashlytics.android.core.n.d() calling method java.io.File.<init>()


    private java.io.File d()
    {
        return new java.io.File(this.b.c(), this.a);
    }

Method com.davemorrissey.labs.subscaleview.ImageSource.<init>() calling method java.io.File.<init>()

Couldn't retrieve source code

Method com.davemorrissey.labs.subscaleview.decoder.SkiaPooledImageRegionDecoder.initialiseDecoder() calling method java.io.File.<init>()

Couldn't retrieve source code

Method org.apache.commons.io.output.h.<init>() calling method java.io.File.<init>()


    public h(String p2, java.nio.charset.Charset p3, boolean p4)
    {
        this(new java.io.File(p2), p3, p4);
        return;
    }

Method org.apache.commons.io.output.h.<init>() calling method java.io.File.<init>()


    public h(String p2, java.nio.charset.CharsetEncoder p3)
    {
        this(new java.io.File(p2), p3, 0);
        return;
    }

Method org.apache.commons.io.output.h.<init>() calling method java.io.File.<init>()


    public h(String p2, java.nio.charset.CharsetEncoder p3, boolean p4)
    {
        this(new java.io.File(p2), p3, p4);
        return;
    }

Method org.apache.commons.io.filefilter.a.accept() calling method java.io.File.<init>()


    public boolean accept(java.io.File p2, String p3)
    {
        return this.accept(new java.io.File(p2, p3));
    }

Method com.fitbit.util.f.b.a() calling method java.io.File.<init>()


    public static java.io.File a(android.content.Context p2)
    {
        java.io.File v0_1 = new java.io.File(p2.getCacheDir(), "shared");
        v0_1.mkdirs();
        return v0_1;
    }

Method com.fitbit.coin.kit.internal.service.ad.a() calling method java.io.File.<init>()


    private java.io.File a(java.io.File p3, String p4, String p5)
    {
        StringBuilder v1_1 = new StringBuilder();
        v1_1.append(p4);
        v1_1.append(".");
        v1_1.append(p5);
        return new java.io.File(p3, v1_1.toString());
    }

Method com.jakewharton.a.a$b.b() calling method java.io.File.<init>()


    public java.io.File b(int p5)
    {
        java.io.File v1_1 = com.jakewharton.a.a.f(this.a);
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(this.b);
        v2_1.append(".");
        v2_1.append(p5);
        v2_1.append(".tmp");
        return new java.io.File(v1_1, v2_1.toString());
    }

Method kotlin.io.m.a() calling method java.io.File.<init>()


    public static final boolean a(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.ae.f(p1, "receiver$0");
        kotlin.jvm.internal.ae.f(p2, "other");
        return kotlin.io.i.e(p1, new java.io.File(p2));
    }

Method kotlin.io.m.b() calling method java.io.File.<init>()


    public static final java.io.File b(java.io.File p1, java.io.File p2)
    {
        kotlin.jvm.internal.ae.f(p1, "receiver$0");
        kotlin.jvm.internal.ae.f(p2, "base");
        return new java.io.File(kotlin.io.i.a(p1, p2));
    }

Method kotlin.io.m.b() calling method java.io.File.<init>()


    public static final boolean b(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.ae.f(p1, "receiver$0");
        kotlin.jvm.internal.ae.f(p2, "other");
        return kotlin.io.i.f(p1, new java.io.File(p2));
    }

Method android.support.v4.content.ContextCompat.getNoBackupFilesDir() calling method java.io.File.<init>()


    public static java.io.File getNoBackupFilesDir(android.content.Context p2)
    {
        if (android.os.Build$VERSION.SDK_INT < 21) {
            return android.support.v4.content.ContextCompat.createFilesDir(new java.io.File(p2.getApplicationInfo().dataDir, "no_backup"));
        } else {
            return p2.getNoBackupFilesDir();
        }
    }

Method android.support.v4.content.FileProvider.<clinit>() calling method java.io.File.<init>()


    static FileProvider()
    {
        android.support.v4.content.FileProvider.COLUMNS = new String[] {"_display_name", "_size"});
        android.support.v4.content.FileProvider.DEVICE_ROOT = new java.io.File("/");
        android.support.v4.content.FileProvider.sCache = new java.util.HashMap();
        return;
    }

Method android.support.v4.content.FileProvider.buildPath() calling method java.io.File.<init>()


    private static varargs java.io.File buildPath(java.io.File p4, String[] p5)
    {
        int v1 = 0;
        while (v1 < p5.length) {
            String v2 = p5[v1];
            if (v2 != null) {
                p4 = new java.io.File(p4, v2);
            }
            v1++;
        }
        return p4;
    }

Method com.crashlytics.android.core.g.<init>() calling method java.io.File.<init>()


    public g(String p2, String p3)
    {
        this(new java.io.File(p2), p3);
        return;
    }

Method com.fitbit.coin.kit.internal.service.ad.b() calling method java.io.File.<init>()


    public io.reactivex.ai b(String p3)
    {
        io.reactivex.ai v0_2 = new java.io.File(this.a(), p3);
        if (!v0_2.exists()) {
            return this.a(io.reactivex.a.a(new com.fitbit.coin.kit.internal.service.ao(this, p3, v0_2)), p3).b(io.reactivex.ai.b(v0_2));
        } else {
            return io.reactivex.ai.b(v0_2);
        }
    }

Method kotlin.io.m.c() calling method java.io.File.<init>()


    public static final java.io.File c(java.io.File p1, java.io.File p2)
    {
        kotlin.jvm.internal.ae.f(p1, "receiver$0");
        kotlin.jvm.internal.ae.f(p2, "base");
        String v2_1 = kotlin.io.m.i(p1, p2);
        if (v2_1 != null) {
            p1 = new java.io.File(v2_1);
        }
        return p1;
    }

Method kotlin.io.m.c() calling method java.io.File.<init>()


    public static final java.io.File c(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.ae.f(p1, "receiver$0");
        kotlin.jvm.internal.ae.f(p2, "relative");
        return kotlin.io.i.g(p1, new java.io.File(p2));
    }

Method kotlin.io.m.d() calling method java.io.File.<init>()


    public static final java.io.File d(java.io.File p1, java.io.File p2)
    {
        int v2_1;
        kotlin.jvm.internal.ae.f(p1, "receiver$0");
        kotlin.jvm.internal.ae.f(p2, "base");
        String v1_1 = kotlin.io.m.i(p1, p2);
        if (v1_1 == null) {
            v2_1 = 0;
        } else {
            v2_1 = new java.io.File(v1_1);
        }
        return v2_1;
    }

Method kotlin.io.m.d() calling method java.io.File.<init>()


    public static final java.io.File d(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.ae.f(p1, "receiver$0");
        kotlin.jvm.internal.ae.f(p2, "relative");
        return kotlin.io.i.h(p1, new java.io.File(p2));
    }

Method com.crashlytics.android.a.i.a() calling method java.io.FileInputStream.<init>()


    java.util.zip.ZipInputStream a(android.content.Context p2, String p3)
    {
        return new java.util.zip.ZipInputStream(new java.io.FileInputStream(p2.getPackageManager().getApplicationInfo(p3, 0).sourceDir));
    }

Method android.support.v7.widget.ActivityChooserModel$PersistHistoryAsyncTask.doInBackground() calling method android.content.Context.openFileOutput()

Couldn't retrieve source code

Method com.fitbit.data.repo.o.a() calling method java.io.File.<init>()


    public declared_synchronized void a(String p3, byte[] p4)
    {
        try {
            this.e();
            this.d();
            Throwable v0_2 = new java.io.File(this.e, com.fitbit.util.an.a(p3));
            java.io.IOException v3_1 = 0;
            try {
                java.io.IOException v4_1;
                if (!v0_2.createNewFile()) {
                    v4_1 = 0;
                    com.fitbit.util.q.a(v3_1);
                    com.fitbit.util.q.a(v4_1);
                } else {
                    String v1_1 = new java.io.ByteArrayInputStream(p4);
                    try {
                        v4_1 = new java.io.FileOutputStream(v0_2);
                        try {
                            com.fitbit.util.q.a(v1_1, v4_1);
                            v3_1 = v1_1;
                        } catch (java.io.IOException v3_3) {
                            Throwable v0_0 = v4_1;
                            java.io.IOException v4_3 = v3_3;
                            v3_1 = v1_1;
                            com.fitbit.util.q.a(v3_1);
                            com.fitbit.util.q.a(v0_0);
                            throw v4_3;
                        } catch (java.io.IOException v3_2) {
                            v0_0 = v4_1;
                            java.io.IOException v4_2 = v3_2;
                            v3_1 = v1_1;
                            try {
                                com.fitbit.r.d.e("DiskDataCache", v4_2);
                            } catch (java.io.IOException v4_3) {
                            }
                            com.fitbit.util.q.a(v3_1);
                            com.fitbit.util.q.a(v0_0);
                        }
                    } catch (java.io.IOException v4_3) {
                        v0_0 = 0;
                    } catch (java.io.IOException v4_2) {
                        v0_0 = 0;
                    }
                }
            } catch (java.io.IOException v4_3) {
                v0_0 = 0;
            } catch (java.io.IOException v4_2) {
                v0_0 = 0;
            }
            this.d();
            return;
        } catch (java.io.IOException v3_4) {
            throw v3_4;
        }
    }

Method org.greenrobot.greendao.c.f.E() calling method android.content.Context.openOrCreateDatabase()


    protected org.greenrobot.greendao.database.Database E()
    {
        android.database.sqlite.SQLiteDatabase v0_1;
        if (!this.i) {
            this.getContext().deleteDatabase("greendao-unittest-db.temp");
            v0_1 = this.getContext().openOrCreateDatabase("greendao-unittest-db.temp", 0, 0);
        } else {
            v0_1 = android.database.sqlite.SQLiteDatabase.create(0);
        }
        return new org.greenrobot.greendao.database.c(v0_1);
    }

Method com.facebook.appevents.AppEventsLogger$a.a() calling method android.content.Context.openFileOutput()


    static void a(android.content.Context p6)
    {
        try {
            if (ark>com.facebook.appevents.AppEventsLogger$aark>.c) {
                String v1_2 = 0;
                try {
                    String v2_0 = new java.io.ObjectOutputStream(new java.io.BufferedOutputStream(p6.openFileOutput("AppEventsLogger.persistedsessioninfo", 0)));
                    try {
                        v2_0.writeObject(ark>com.facebook.appevents.AppEventsLogger$aark>.e);
                        ark>com.facebook.appevents.AppEventsLogger$aark>.c = 0;
                        com.facebook.internal.w.a(com.facebook.LoggingBehavior.e, "AppEvents", "App session info saved");
                    } catch (Exception v6_6) {
                        v1_2 = v2_0;
                        com.facebook.internal.ae.a(v1_2);
                        throw v6_6;
                    } catch (Exception v6_1) {
                        v1_2 = v2_0;
                        String v2_1 = com.facebook.appevents.AppEventsLogger.l();
                        StringBuilder v3_3 = new StringBuilder();
                        v3_3.append("Got unexpected exception while writing app session info: ");
                        v3_3.append(v6_1.toString());
                        android.util.Log.w(v2_1, v3_3.toString());
                        com.facebook.internal.ae.a(v1_2);
                    }
                    com.facebook.internal.ae.a(v2_0);
                } catch (Exception v6_6) {
                } catch (Exception v6_1) {
                }
            }
        } catch (Exception v6_7) {
            throw v6_7;
        }
        return;
    }

Method com.facebook.appevents.d.a() calling method android.content.Context.openFileOutput()


    private static void a(com.facebook.appevents.PersistedEvents p6)
    {
        android.content.Context v0 = com.facebook.i.h();
        String v1 = 0;
        try {
            String v2_0 = new java.io.ObjectOutputStream(new java.io.BufferedOutputStream(v0.openFileOutput("AppEventsLogger.persistedevents", 0)));
            try {
                v2_0.writeObject(p6);
                com.facebook.internal.ae.a(v2_0);
            } catch (java.io.File v6_4) {
                v1 = v2_0;
                com.facebook.internal.ae.a(v1);
                throw v6_4;
            } catch (java.io.File v6_1) {
                v1 = v2_0;
                android.util.Log.w(ark>com.facebook.appevents.dark>.a, "Got unexpected exception while persisting events: ", v6_1);
                try {
                    v0.getFileStreamPath("AppEventsLogger.persistedevents").delete();
                } catch (Exception) {
                }
                com.facebook.internal.ae.a(v1);
            }
            return;
        } catch (java.io.File v6_4) {
        } catch (java.io.File v6_1) {
        }
    }

Method com.fitbit.challenges.ui.bo.a() calling method android.content.Context.openFileOutput()


    protected varargs String a(android.content.Context[] p6)
    {
        java.io.IOException v6_1 = p6[0];
        String v1_3 = android.graphics.Bitmap.createBitmap(640, 640, android.graphics.Bitmap$Config.ARGB_8888);
        this.d.draw(new android.graphics.Canvas(v1_3));
        android.graphics.Bitmap$CompressFormat v3_1 = new Object[1];
        v3_1[0] = this.c;
        String v2_1 = String.format("end_of_challenge_%s.png", v3_1);
        try {
            java.io.IOException v6_2 = v6_1.openFileOutput(v2_1, 0);
            v1_3.compress(android.graphics.Bitmap$CompressFormat.PNG, 0, v6_2);
            v6_2.getFD().sync();
            v6_2.close();
        } catch (java.io.IOException v6_3) {
            Object[] v0_1 = new Object[0];
            d.a.b.b(v6_3, "Error writing bitmap to file", v0_1);
        }
        return v2_1;
    }

Method com.fitbit.mobiledata.m.a() calling method android.content.Context.openFileOutput()


    private void a(java.security.KeyStore p4)
    {
        try {
            p4.store(this.b.openFileOutput("MobileDataKeyManagerKeyStore.keystore", 0), this.f);
        } catch (java.security.KeyStoreException v4_1) {
            RuntimeException v0_2 = new Object[0];
            com.fitbit.r.d.a(ark>com.fitbit.mobiledata.mark>.d, "Could not save KeyStore, mobile data keys will not be persisted to disk", v4_1, v0_2);
        } catch (java.security.KeyStoreException v4_2) {
            throw new RuntimeException("KeyStore was not initialized", v4_2);
        }
        return;
    }

Method com.fitbit.mobiledata.o.a() calling method android.content.Context.openFileOutput()


    public boolean a(int p9, String p10)
    {
        try {
            String v2_1 = this.m.e();
            org.spongycastle.crypto.l.a v3_1 = new java.security.SecureRandom();
        } catch (String v9_7) {
            Object[] v0_4 = new Object[0];
            d.a.b.e(v9_7, "Keystore failure", v0_4);
            return 0;
        } catch (String v9_5) {
            Object[] v0_3 = new Object[0];
            d.a.b.e(v9_5, "Interrupted during keystore load", v0_3);
            Thread.currentThread().interrupt();
            return 0;
        } catch (Object[] v10_3) {
            if (!com.fitbit.config.Config.a.a()) {
                Object[] v10_4 = new Object[0];
                d.a.b.b("MobileData file read/write failure", v10_4);
            } else {
                Object[] v0_2 = new Object[1];
                v0_2[0] = Integer.valueOf(p9);
                d.a.b.e(v10_3, "File for mobile data protocol version %d could not be created", v0_2);
            }
            return 0;
        } catch (Object[] v10_1) {
            if (!com.fitbit.config.Config.a.a()) {
                Object[] v10_2 = new Object[0];
                d.a.b.b("MobileData file read/write failure", v10_2);
            } else {
                Object[] v0_1 = new Object[1];
                v0_1[0] = Integer.valueOf(p9);
                d.a.b.e(v10_1, "IOException writing mobile data protocol version %d not found", v0_1);
            }
            return 0;
        }
        if (v2_1 == null) {
            String v2_14 = new byte[16];
            v3_1.nextBytes(v2_14);
            java.io.FileOutputStream v5_1 = new javax.crypto.spec.SecretKeySpec(v2_14, "AES");
            this.m.a(v5_1);
            v2_1 = v5_1;
        }
        java.io.FileOutputStream v5_3 = this.l.openFileOutput(this.d(p9), 0);
        org.spongycastle.crypto.j.h v6_3 = new org.spongycastle.crypto.j.h(new org.spongycastle.crypto.engines.b());
        org.spongycastle.crypto.l.aw v7_3 = new org.spongycastle.crypto.l.aw(v2_1.getEncoded());
        String v2_10 = new byte[16];
        v3_1.nextBytes(v2_10);
        v5_3.write(v2_10);
        v6_3.a(1, new org.spongycastle.crypto.l.a(v7_3, 128, v2_10));
        Object[] v10_7 = p10.getBytes(ark>com.fitbit.mobiledata.oark>.h);
        String v2_13 = new org.spongycastle.crypto.io.b(v5_3, v6_3);
        v2_13.write(v10_7);
        v2_13.close();
        return 1;
    }

Method org.apache.commons.io.input.s.run() calling method java.io.RandomAccessFile.<init>()


    public void run()
    {
        boolean v2 = 0;
        long v3_0 = 0;
        Throwable v5 = 0;
        try {
            while ((this.j) && (!v2)) {
                v2 = new java.io.RandomAccessFile(this.e, "r");
                if (v2) {
                    if (!this.g) {
                        v5 = 0;
                    } else {
                        v5 = this.e.length();
                    }
                    v3_0 = System.currentTimeMillis();
                    v2.seek(v5);
                } else {
                    Thread.sleep(this.f);
                }
                org.apache.commons.io.k.a(v2);
                return;
            }
        } catch (Exception v0_2) {
            org.apache.commons.io.k.a(v2);
            throw v0_2;
        } catch (Exception v0_1) {
            this.h.a(v0_1);
            org.apache.commons.io.k.a(v2);
            return;
        }
        while (this.j) {
            java.io.RandomAccessFile v7_0 = org.apache.commons.io.h.a(this.e, v3_0);
            java.io.File v8_2 = this.e.length() cmp v5;
            try {
                if (v8_2 >= null) {
                    if (v8_2 <= null) {
                        if (v7_0 != null) {
                            v2.seek(0);
                            v5 = this.a(v2);
                            v3_0 = System.currentTimeMillis();
                        }
                    } else {
                        v5 = this.a(v2);
                        v3_0 = System.currentTimeMillis();
                    }
                    if (this.i) {
                        org.apache.commons.io.k.a(v2);
                    }
                    Thread.sleep(this.f);
                    if (this.j) {
                        if (this.i) {
                            java.io.RandomAccessFile v7_7 = new java.io.RandomAccessFile(this.e, "r");
                            v7_7.seek(v5);
                        }
                    }
                } else {
                    this.h.b();
                    v7_7 = new java.io.RandomAccessFile(this.e, "r");
                    try {
                        org.apache.commons.io.k.a(v2);
                        v5 = 0;
                    } catch (java.io.FileNotFoundException) {
                        v5 = 0;
                        v2 = v7_7;
                        this.h.a();
                    }
                }
                v2 = v7_7;
            } catch (Exception v0_2) {
                v2 = v7_7;
            } catch (Exception v0_1) {
                v2 = v7_7;
            }
        }
        org.apache.commons.io.k.a(v2);
        return;
    }

Method com.fitbit.util.f.b.a() calling method android.content.Context.openFileOutput()


    public static void a(android.content.Context p1, String p2, byte[] p3)
    {
        try {
            Exception v1_2 = p1.openFileOutput(p2, 0);
            try {
                v1_2.write(p3);
                v1_2.flush();
                v1_2.getFD().sync();
            } catch (RuntimeException v2_1) {
                if (v1_2 != null) {
                    try {
                        v1_2.close();
                    } catch (Exception v1_1) {
                        throw new RuntimeException(v1_1);
                    }
                }
                throw v2_1;
            }
            if (v1_2 != null) {
                try {
                    v1_2.close();
                } catch (Exception v1_3) {
                    throw new RuntimeException(v1_3);
                }
            }
            return;
        } catch (RuntimeException v2_1) {
            v1_2 = 0;
        }
    }

Method android.support.multidex.MultiDexExtractor.load() calling method java.io.RandomAccessFile.<init>()


    static java.util.List load(android.content.Context p14, java.io.File p15, java.io.File p16, String p17, boolean p18)
    {
        String v4_5 = new StringBuilder();
        v4_5.append("MultiDexExtractor.load(");
        v4_5.append(p15.getPath());
        v4_5.append(", ");
        v4_5.append(p18);
        v4_5.append(", ");
        v4_5.append(p17);
        v4_5.append(")");
        android.util.Log.i("MultiDex", v4_5.toString());
        long v5_3 = android.support.multidex.MultiDexExtractor.getZipCrc(p15);
        java.io.File v8_1 = new java.io.File(p16, "MultiDex.lock");
        java.io.RandomAccessFile v9_1 = new java.io.RandomAccessFile(v8_1, "rw");
        java.io.IOException v10 = 0;
        try {
            int v11 = v9_1.getChannel();
            try {
                java.util.List v7_1 = new StringBuilder();
                v7_1.append("Blocking on lock ");
                v7_1.append(v8_1.getPath());
                android.util.Log.i("MultiDex", v7_1.toString());
                int v12_0 = v11.lock();
                try {
                    java.util.List v13_3;
                    String v1_4;
                    String v3_12;
                    java.util.List v7_4 = new StringBuilder();
                    v7_4.append(v8_1.getPath());
                    v7_4.append(" locked");
                    android.util.Log.i("MultiDex", v7_4.toString());
                } catch (java.io.IOException v0_4) {
                    String v1_3 = v0_4;
                    if (v12_0 != 0) {
                        try {
                            v12_0.release();
                        } catch (java.io.IOException) {
                            String v3_0 = new StringBuilder();
                            v3_0.append("Failed to release lock on ");
                            v3_0.append(v8_1.getPath());
                            android.util.Log.e("MultiDex", v3_0.toString());
                        }
                    }
                    if (v11 != 0) {
                        android.support.multidex.MultiDexExtractor.closeQuietly(v11);
                    }
                    android.support.multidex.MultiDexExtractor.closeQuietly(v9_1);
                    throw v1_3;
                }
                if (p18) {
                    v1_4 = p14;
                    v3_12 = p15;
                    android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
                    v13_3 = android.support.multidex.MultiDexExtractor.performExtractions(p15, p16);
                    android.support.multidex.MultiDexExtractor.putStoredApkInfo(v1_4, p17, android.support.multidex.MultiDexExtractor.getTimeStamp(v3_12), v5_3, v13_3);
                } else {
                    v1_4 = p14;
                    v3_12 = p15;
                    if (android.support.multidex.MultiDexExtractor.isModified(p14, p15, v5_3, p17)) {
                    } else {
                        try {
                            v13_3 = android.support.multidex.MultiDexExtractor.loadExistingExtractions(p14, p15, p16, p17);
                        } catch (java.io.IOException v0_3) {
                            android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v0_3);
                            v13_3 = android.support.multidex.MultiDexExtractor.performExtractions(p15, p16);
                            android.support.multidex.MultiDexExtractor.putStoredApkInfo(p14, p17, android.support.multidex.MultiDexExtractor.getTimeStamp(p15), v5_3, v13_3);
                        }
                    }
                }
                if (v12_0 != 0) {
                    try {
                        v12_0.release();
                    } catch (java.io.IOException v0_0) {
                        String v2_2 = new StringBuilder();
                        v2_2.append("Failed to release lock on ");
                        v2_2.append(v8_1.getPath());
                        android.util.Log.e("MultiDex", v2_2.toString());
                        v10 = v0_0;
                    }
                }
                if (v11 != 0) {
                    android.support.multidex.MultiDexExtractor.closeQuietly(v11);
                }
                android.support.multidex.MultiDexExtractor.closeQuietly(v9_1);
                if (v10 == null) {
                    String v2_5 = new StringBuilder();
                    v2_5.append("load found ");
                    v2_5.append(v13_3.size());
                    v2_5.append(" secondary dex files");
                    android.util.Log.i("MultiDex", v2_5.toString());
                    return v13_3;
                } else {
                    throw v10;
                }
            } catch (java.io.IOException v0_2) {
                v1_3 = v0_2;
                v12_0 = 0;
            }
        } catch (java.io.IOException v0_1) {
            v1_3 = v0_1;
            v11 = 0;
            v12_0 = 0;
        }
    }

Method android.support.multidex.ZipUtil.getZipCrc() calling method java.io.RandomAccessFile.<init>()


    static long getZipCrc(java.io.File p3)
    {
        java.io.RandomAccessFile v0_1 = new java.io.RandomAccessFile(p3, "r");
        try {
            long v1_1 = android.support.multidex.ZipUtil.computeCrcOfCentralDir(v0_1, android.support.multidex.ZipUtil.findCentralDirectory(v0_1));
            v0_1.close();
            return v1_1;
        } catch (Throwable v3_2) {
            v0_1.close();
            throw v3_2;
        }
    }

Method okhttp3.internal.b.b.a() calling method java.io.RandomAccessFile.<init>()


    public static ark>okhttp3.internal.b.bark> a(java.io.File p10)
    {
        java.io.RandomAccessFile v1_1 = new java.io.RandomAccessFile(p10, "rw");
        ark>okhttp3.internal.b.bark> v10_5 = new okhttp3.internal.b.a(v1_1.getChannel());
        ark>okhttp3.internal.b.bark> v0_7 = new okio.c();
        v10_5.b(0, v0_7, 32);
        if (v0_7.d(((long) ark>okhttp3.internal.b.bark>.a.k())).equals(ark>okhttp3.internal.b.bark>.a)) {
            long v8 = v0_7.o();
            long v6_1 = v0_7.o();
            ark>okhttp3.internal.b.bark> v0_2 = new okio.c();
            v10_5.b((v8 + 32), v0_2, v6_1);
            ark>okhttp3.internal.b.bark> v10_2 = new ark>okhttp3.internal.b.bark>;
            v10_2(v1_1, 0, v8, v0_2.u(), 0);
            return v10_2;
        } else {
            throw new java.io.IOException("unreadable cache file");
        }
    }

Method okhttp3.internal.b.b.a() calling method java.io.RandomAccessFile.<init>()


    public static ark>okhttp3.internal.b.bark> a(java.io.File p9, okio.x p10, okio.ByteString p11, long p12)
    {
        java.io.RandomAccessFile v8_1 = new java.io.RandomAccessFile(p9, "rw");
        ark>okhttp3.internal.b.bark> v9_1 = new ark>okhttp3.internal.b.bark>;
        v9_1(v8_1, p10, 0, p11, p12);
        v8_1.setLength(0);
        v9_1.a(ark>okhttp3.internal.b.bark>.b, -1, -1);
        return v9_1;
    }

Method org.apache.commons.io.input.p.<init>() calling method java.io.RandomAccessFile.<init>()


    public p(java.io.File p10, int p11, java.nio.charset.Charset p12)
    {
        int v6;
        this.j = 0;
        this.a = p11;
        this.b = p12;
        this.c = new java.io.RandomAccessFile(p10, "r");
        this.d = this.c.length();
        java.io.UnsupportedEncodingException v10_4 = ((int) (this.d % ((long) p11)));
        if (v10_4 <= null) {
            this.e = (this.d / ((long) p11));
            if (this.d <= 0) {
                v6 = v10_4;
            } else {
                v6 = p11;
            }
        } else {
            this.e = ((this.d / ((long) p11)) + 1);
        }
        java.io.UnsupportedEncodingException v10_5 = new org.apache.commons.io.input.p$a;
        v10_5(this, this.e, v6, 0, 0);
        this.i = v10_5;
        java.io.UnsupportedEncodingException v10_6 = org.apache.commons.io.a.a(p12);
        if (v10_6.newEncoder().maxBytesPerChar() != 1065353216) {
            if (v10_6 != java.nio.charset.Charset.forName("UTF-8")) {
                if (v10_6 != java.nio.charset.Charset.forName("Shift_JIS")) {
                    if ((v10_6 != java.nio.charset.Charset.forName("UTF-16BE")) && (v10_6 != java.nio.charset.Charset.forName("UTF-16LE"))) {
                        if (v10_6 != java.nio.charset.Charset.forName("UTF-16")) {
                            String v11_17 = new StringBuilder();
                            v11_17.append("Encoding ");
                            v11_17.append(p12);
                            v11_17.append(" is not supported yet (feel free to submit a patch)");
                            throw new java.io.UnsupportedEncodingException(v11_17.toString());
                        } else {
                            throw new java.io.UnsupportedEncodingException("For UTF-16, you need to specify the byte order (use UTF-16BE or UTF-16LE)");
                        }
                    } else {
                        this.h = 2;
                    }
                } else {
                    this.h = 1;
                }
            } else {
                this.h = 1;
            }
        } else {
            this.h = 1;
        }
        java.io.UnsupportedEncodingException v10_13 = new byte[][3];
        v10_13[0] = "\r\n".getBytes(p12);
        v10_13[1] = "\n".getBytes(p12);
        v10_13[2] = "\r".getBytes(p12);
        this.f = v10_13;
        this.g = this.f[0].length;
        return;
    }

Method org.apache.commons.io.input.s.run() calling method java.io.RandomAccessFile.<init>()


    public void run()
    {
        boolean v2 = 0;
        long v3_0 = 0;
        Throwable v5 = 0;
        try {
            while ((this.j) && (!v2)) {
                v2 = new java.io.RandomAccessFile(this.e, "r");
                if (v2) {
                    if (!this.g) {
                        v5 = 0;
                    } else {
                        v5 = this.e.length();
                    }
                    v3_0 = System.currentTimeMillis();
                    v2.seek(v5);
                } else {
                    Thread.sleep(this.f);
                }
                org.apache.commons.io.k.a(v2);
                throw Exception v0_2;
            }
        } catch (Exception v0_2) {
        } catch (Exception v0_1) {
            this.h.a(v0_1);
            org.apache.commons.io.k.a(v2);
            return;
        }
        while (this.j) {
            java.io.RandomAccessFile v7_0 = org.apache.commons.io.h.a(this.e, v3_0);
            java.io.File v8_2 = this.e.length() cmp v5;
            try {
                if (v8_2 >= null) {
                    if (v8_2 <= null) {
                        if (v7_0 != null) {
                            v2.seek(0);
                            v5 = this.a(v2);
                            v3_0 = System.currentTimeMillis();
                        }
                    } else {
                        v5 = this.a(v2);
                        v3_0 = System.currentTimeMillis();
                    }
                    if (this.i) {
                        org.apache.commons.io.k.a(v2);
                    }
                    Thread.sleep(this.f);
                    if (this.j) {
                        if (this.i) {
                            java.io.RandomAccessFile v7_7 = new java.io.RandomAccessFile(this.e, "r");
                            v7_7.seek(v5);
                        }
                    }
                } else {
                    this.h.b();
                    v7_7 = new java.io.RandomAccessFile(this.e, "r");
                    try {
                        org.apache.commons.io.k.a(v2);
                        v5 = 0;
                    } catch (java.io.FileNotFoundException) {
                        v5 = 0;
                        v2 = v7_7;
                        this.h.a();
                    }
                }
                v2 = v7_7;
            } catch (Exception v0_2) {
                v2 = v7_7;
            } catch (Exception v0_1) {
                v2 = v7_7;
            }
        }
        org.apache.commons.io.k.a(v2);
        return;
    }

Method org.apache.commons.io.filefilter.MagicNumberFileFilter.accept() calling method java.io.RandomAccessFile.<init>()

Couldn't retrieve source code

Method com.google.firebase.iid.ay.a() calling method java.io.RandomAccessFile.<init>()


    private final com.google.firebase.iid.az a(android.content.Context p9, String p10, com.google.firebase.iid.az p11, boolean p12)
    {
        if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
            android.util.Log.d("FirebaseInstanceId", "Writing key to properties file");
        }
        StringBuilder v0_6 = new java.util.Properties();
        v0_6.setProperty("pub", com.google.firebase.iid.az.a(p11));
        v0_6.setProperty("pri", com.google.firebase.iid.az.b(p11));
        v0_6.setProperty("cre", String.valueOf(com.google.firebase.iid.az.c(p11)));
        Throwable v9_3 = ark>com.google.firebase.iid.ayark>.e(p9, p10);
        try {
            v9_3.createNewFile();
            java.io.RandomAccessFile v2_4 = new java.io.RandomAccessFile(v9_3, "rw");
            try {
                Throwable v9_4 = v2_4.getChannel();
                try {
                    v9_4.lock();
                } catch (Throwable v11_2) {
                    String v12_11 = 0;
                    if (v9_4 != null) {
                        ark>com.google.firebase.iid.ayark>.a(v12_11, v9_4);
                    }
                    throw v11_2;
                } catch (Throwable v11_1) {
                    try {
                        throw v11_1;
                    } catch (String v12_10) {
                        v12_11 = v11_1;
                        v11_2 = v12_10;
                    }
                }
                if ((p12 != null) && (v9_4.size() > 0)) {
                    try {
                        v9_4.position(0);
                        String v12_6 = ark>com.google.firebase.iid.ayark>.a(v9_4);
                    } catch (String v12_7) {
                        if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                            String v12_8 = String.valueOf(v12_7);
                            StringBuilder v6_1 = new StringBuilder((String.valueOf(v12_8).length() + 64));
                            v6_1.append("Tried reading key pair before writing new one, but failed with: ");
                            v6_1.append(v12_8);
                            android.util.Log.d("FirebaseInstanceId", v6_1.toString());
                        }
                    }
                    if (v9_4 != null) {
                        ark>com.google.firebase.iid.ayark>.a(0, v9_4);
                    }
                    ark>com.google.firebase.iid.ayark>.a(0, v2_4);
                    return v12_6;
                }
                v9_4.position(0);
                v0_6.store(java.nio.channels.Channels.newOutputStream(v9_4), 0);
                if (v9_4 != null) {
                    ark>com.google.firebase.iid.ayark>.a(0, v9_4);
                }
                ark>com.google.firebase.iid.ayark>.a(0, v2_4);
                return p11;
            } catch (Throwable v9_6) {
                Throwable v11_4 = 0;
                ark>com.google.firebase.iid.ayark>.a(v11_4, v2_4);
                throw v9_6;
            } catch (Throwable v9_5) {
                try {
                    throw v9_5;
                } catch (Throwable v11_3) {
                    v11_4 = v9_5;
                    v9_6 = v11_3;
                }
            }
        } catch (Throwable v9_7) {
            Throwable v9_1 = String.valueOf(v9_7);
            StringBuilder v0_2 = new StringBuilder((String.valueOf(v9_1).length() + 21));
            v0_2.append("Failed to write key: ");
            v0_2.append(v9_1);
            android.util.Log.w("FirebaseInstanceId", v0_2.toString());
            return 0;
        }
    }

Method io.fabric.sdk.android.services.common.o.b() calling method java.io.RandomAccessFile.<init>()


    private static java.io.RandomAccessFile b(java.io.File p2)
    {
        return new java.io.RandomAccessFile(p2, "rwd");
    }

Method com.google.android.gms.measurement.internal.ed.A() calling method java.io.RandomAccessFile.<init>()


    private final boolean A()
    {
        this.v();
        try {
            this.t = new java.io.RandomAccessFile(new java.io.File(this.i.n().getFilesDir(), "google_app_measurement.db"), "rw").getChannel();
            this.s = this.t.tryLock();
        } catch (int v0_14) {
            this.i.r().an_().a("Failed to acquire storage lock", v0_14);
            return 0;
        } catch (int v0_13) {
            this.i.r().an_().a("Failed to access storage lock file", v0_13);
            return 0;
        }
        if (this.s == null) {
            this.i.r().an_().a("Storage concurrent data access panic");
            return 0;
        } else {
            this.i.r().x().a("Storage concurrent access okay");
            return 1;
        }
    }

Method android.arch.persistence.a.d$a.a() calling method java.io.File.<init>()


    private void a(String p4)
    {
        if ((!p4.equalsIgnoreCase(":memory:")) && (p4.trim().length() != 0)) {
            String v1_1 = new StringBuilder();
            v1_1.append("deleting the database file: ");
            v1_1.append(p4);
            android.util.Log.w("SupportSQLite", v1_1.toString());
            try {
                if (android.os.Build$VERSION.SDK_INT < 16) {
                    try {
                        if (!new java.io.File(p4).delete()) {
                            String v1_7 = new StringBuilder();
                            v1_7.append("Could not delete the database file ");
                            v1_7.append(p4);
                            android.util.Log.e("SupportSQLite", v1_7.toString());
                        }
                    } catch (String v4_1) {
                        android.util.Log.e("SupportSQLite", "error while deleting corrupted database file", v4_1);
                    }
                } else {
                    android.database.sqlite.SQLiteDatabase.deleteDatabase(new java.io.File(p4));
                }
            } catch (String v4_2) {
                android.util.Log.w("SupportSQLite", "delete failed: ", v4_2);
            }
            return;
        } else {
            return;
        }
    }

Method android.support.media.ExifInterface.saveAttributes() calling method java.io.File.<init>()


    public void saveAttributes()
    {
        if ((this.mIsSupportedFile) && (this.mMimeType == 4)) {
            if (this.mFilename != null) {
                this.mThumbnailBytes = this.getThumbnail();
                Throwable v1_1 = new StringBuilder();
                v1_1.append(this.mFilename);
                v1_1.append(".tmp");
                String v0_2 = new java.io.File(v1_1.toString());
                if (new java.io.File(this.mFilename).renameTo(v0_2)) {
                    Throwable v1_6 = 0;
                    try {
                        int v2_4 = new java.io.FileInputStream(v0_2);
                        try {
                            Throwable v3_2 = new java.io.FileOutputStream(this.mFilename);
                            try {
                                this.saveJpegAttributes(v2_4, v3_2);
                                android.support.media.ExifInterface.closeQuietly(v2_4);
                                android.support.media.ExifInterface.closeQuietly(v3_2);
                                v0_2.delete();
                                this.mThumbnailBytes = 0;
                                return;
                            } catch (Throwable v1_8) {
                                Throwable v3_0 = v1_8;
                                v1_6 = v3_2;
                                android.support.media.ExifInterface.closeQuietly(v2_4);
                                android.support.media.ExifInterface.closeQuietly(v1_6);
                                v0_2.delete();
                                throw v3_0;
                            }
                        } catch (Throwable v3_0) {
                        }
                        this.saveJpegAttributes(v2_4, v3_2);
                        android.support.media.ExifInterface.closeQuietly(v2_4);
                        android.support.media.ExifInterface.closeQuietly(v3_2);
                        v0_2.delete();
                        this.mThumbnailBytes = 0;
                        return;
                    } catch (int v2_5) {
                        v3_0 = v2_5;
                        v2_4 = 0;
                    }
                } else {
                    int v2_7 = new StringBuilder();
                    v2_7.append("Could not rename to ");
                    v2_7.append(v0_2.getAbsolutePath());
                    throw new java.io.IOException(v2_7.toString());
                }
            } else {
                throw new java.io.IOException("ExifInterface does not support saving attributes for the current input.");
            }
        } else {
            throw new java.io.IOException("ExifInterface only supports saving attributes on JPEG formats.");
        }
    }

Method android.support.multidex.MultiDex.clearOldDexDir() calling method java.io.File.<init>()


    private static void clearOldDexDir(android.content.Context p8)
    {
        String v0_6 = new java.io.File(p8.getFilesDir(), "secondary-dexes");
        if (v0_6.isDirectory()) {
            StringBuilder v1_0 = new StringBuilder();
            v1_0.append("Clearing old secondary dex dir (");
            v1_0.append(v0_6.getPath());
            v1_0.append(").");
            android.util.Log.i("MultiDex", v1_0.toString());
            String v8_2 = v0_6.listFiles();
            if (v8_2 != null) {
                StringBuilder v1_2 = v8_2.length;
                int v2_3 = 0;
                while (v2_3 < v1_2) {
                    String v3_0 = v8_2[v2_3];
                    StringBuilder v5_1 = new StringBuilder();
                    v5_1.append("Trying to delete old file ");
                    v5_1.append(v3_0.getPath());
                    v5_1.append(" of size ");
                    v5_1.append(v3_0.length());
                    android.util.Log.i("MultiDex", v5_1.toString());
                    if (v3_0.delete()) {
                        StringBuilder v5_4 = new StringBuilder();
                        v5_4.append("Deleted old file ");
                        v5_4.append(v3_0.getPath());
                        android.util.Log.i("MultiDex", v5_4.toString());
                    } else {
                        StringBuilder v5_6 = new StringBuilder();
                        v5_6.append("Failed to delete old file ");
                        v5_6.append(v3_0.getPath());
                        android.util.Log.w("MultiDex", v5_6.toString());
                    }
                    v2_3++;
                }
                if (v0_6.delete()) {
                    StringBuilder v1_5 = new StringBuilder();
                    v1_5.append("Deleted old secondary dex dir ");
                    v1_5.append(v0_6.getPath());
                    android.util.Log.i("MultiDex", v1_5.toString());
                } else {
                    StringBuilder v1_7 = new StringBuilder();
                    v1_7.append("Failed to delete secondary dex dir ");
                    v1_7.append(v0_6.getPath());
                    android.util.Log.w("MultiDex", v1_7.toString());
                }
            } else {
                StringBuilder v1_10 = new StringBuilder();
                v1_10.append("Failed to list secondary dex dir content (");
                v1_10.append(v0_6.getPath());
                v1_10.append(").");
                android.util.Log.w("MultiDex", v1_10.toString());
                return;
            }
        }
        return;
    }

Method android.support.multidex.MultiDex.getDexDir() calling method java.io.File.<init>()


    private static java.io.File getDexDir(android.content.Context p2, java.io.File p3, String p4)
    {
        java.io.File v0_1 = new java.io.File(p3, "code_cache");
        try {
            android.support.multidex.MultiDex.mkdirChecked(v0_1);
        } catch (java.io.IOException) {
            v0_1 = new java.io.File(p2.getFilesDir(), "code_cache");
            android.support.multidex.MultiDex.mkdirChecked(v0_1);
        }
        java.io.File v2_2 = new java.io.File(v0_1, p4);
        android.support.multidex.MultiDex.mkdirChecked(v2_2);
        return v2_2;
    }

Method android.support.multidex.MultiDex.install() calling method java.io.File.<init>()


    public static void install(android.content.Context p4)
    {
        android.util.Log.i("MultiDex", "Installing application");
        if (!android.support.multidex.MultiDex.IS_VM_MULTIDEX_CAPABLE) {
            if (android.os.Build$VERSION.SDK_INT >= 4) {
                try {
                    String v0_14 = android.support.multidex.MultiDex.getApplicationInfo(p4);
                } catch (String v4_3) {
                    android.util.Log.e("MultiDex", "MultiDex installation failure", v4_3);
                    java.io.File v1_5 = new StringBuilder();
                    v1_5.append("MultiDex installation failed (");
                    v1_5.append(v4_3.getMessage());
                    v1_5.append(").");
                    throw new RuntimeException(v1_5.toString());
                }
                if (v0_14 != null) {
                    android.support.multidex.MultiDex.doInstallation(p4, new java.io.File(v0_14.sourceDir), new java.io.File(v0_14.dataDir), "secondary-dexes", "");
                    android.util.Log.i("MultiDex", "install done");
                    return;
                } else {
                    android.util.Log.i("MultiDex", "No ApplicationInfo available, i.e. running on a test Context: MultiDex support library is disabled.");
                    return;
                }
            } else {
                String v0_10 = new StringBuilder();
                v0_10.append("MultiDex installation failed. SDK ");
                v0_10.append(android.os.Build$VERSION.SDK_INT);
                v0_10.append(" is unsupported. Min SDK version is ");
                v0_10.append(4);
                v0_10.append(".");
                throw new RuntimeException(v0_10.toString());
            }
        } else {
            android.util.Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
            return;
        }
    }

Method android.support.v4.content.ContextCompat.getDataDir() calling method java.io.File.<init>()


    public static java.io.File getDataDir(android.content.Context p2)
    {
        if (android.os.Build$VERSION.SDK_INT < 24) {
            int v0_1;
            String v2_3 = p2.getApplicationInfo().dataDir;
            if (v2_3 == null) {
                v0_1 = 0;
            } else {
                v0_1 = new java.io.File(v2_3);
            }
            return v0_1;
        } else {
            return p2.getDataDir();
        }
    }

Method android.support.multidex.MultiDex.installInstrumentation() calling method java.io.File.<init>()


    public static void installInstrumentation(android.content.Context p5, android.content.Context p6)
    {
        android.util.Log.i("MultiDex", "Installing instrumentation");
        if (!android.support.multidex.MultiDex.IS_VM_MULTIDEX_CAPABLE) {
            if (android.os.Build$VERSION.SDK_INT >= 4) {
                try {
                    String v0_16 = android.support.multidex.MultiDex.getApplicationInfo(p5);
                } catch (String v5_9) {
                    android.util.Log.e("MultiDex", "MultiDex installation failure", v5_9);
                    String v0_11 = new StringBuilder();
                    v0_11.append("MultiDex installation failed (");
                    v0_11.append(v5_9.getMessage());
                    v0_11.append(").");
                    throw new RuntimeException(v0_11.toString());
                }
                if (v0_16 != null) {
                    String v1_1 = android.support.multidex.MultiDex.getApplicationInfo(p6);
                    if (v1_1 != null) {
                        java.io.File v2_1 = new StringBuilder();
                        v2_1.append(p5.getPackageName());
                        v2_1.append(".");
                        String v5_3 = v2_1.toString();
                        java.io.File v2_3 = new java.io.File(v1_1.dataDir);
                        java.io.File v3_2 = new java.io.File(v0_16.sourceDir);
                        String v0_4 = new StringBuilder();
                        v0_4.append(v5_3);
                        v0_4.append("secondary-dexes");
                        android.support.multidex.MultiDex.doInstallation(p6, v3_2, v2_3, v0_4.toString(), v5_3);
                        android.support.multidex.MultiDex.doInstallation(p6, new java.io.File(v1_1.sourceDir), v2_3, "secondary-dexes", "");
                        android.util.Log.i("MultiDex", "Installation done");
                        return;
                    } else {
                        android.util.Log.i("MultiDex", "No ApplicationInfo available, i.e. running on a test Context: MultiDex support library is disabled.");
                        return;
                    }
                } else {
                    android.util.Log.i("MultiDex", "No ApplicationInfo available for instrumentation, i.e. running on a test Context: MultiDex support library is disabled.");
                    return;
                }
            } else {
                String v6_8 = new StringBuilder();
                v6_8.append("MultiDex installation failed. SDK ");
                v6_8.append(android.os.Build$VERSION.SDK_INT);
                v6_8.append(" is unsupported. Min SDK version is ");
                v6_8.append(4);
                v6_8.append(".");
                throw new RuntimeException(v6_8.toString());
            }
        } else {
            android.util.Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
            return;
        }
    }

Method android.support.multidex.MultiDexExtractor$ExtractedDex.<init>() calling method java.io.File.<init>()


    public MultiDexExtractor$ExtractedDex(java.io.File p1, String p2)
    {
        super(p1, p2);
        super.crc = -1;
        return;
    }

Method android.support.multidex.MultiDexExtractor.load() calling method java.io.File.<init>()


    static java.util.List load(android.content.Context p14, java.io.File p15, java.io.File p16, String p17, boolean p18)
    {
        String v4_5 = new StringBuilder();
        v4_5.append("MultiDexExtractor.load(");
        v4_5.append(p15.getPath());
        v4_5.append(", ");
        v4_5.append(p18);
        v4_5.append(", ");
        v4_5.append(p17);
        v4_5.append(")");
        android.util.Log.i("MultiDex", v4_5.toString());
        long v5_3 = android.support.multidex.MultiDexExtractor.getZipCrc(p15);
        java.io.File v8_1 = new java.io.File(p16, "MultiDex.lock");
        java.io.RandomAccessFile v9_1 = new java.io.RandomAccessFile(v8_1, "rw");
        java.io.IOException v10 = 0;
        try {
            int v11 = v9_1.getChannel();
            try {
                java.util.List v7_1 = new StringBuilder();
                v7_1.append("Blocking on lock ");
                v7_1.append(v8_1.getPath());
                android.util.Log.i("MultiDex", v7_1.toString());
                int v12_0 = v11.lock();
                try {
                    java.util.List v13_3;
                    String v3_12;
                    String v1_4;
                    java.util.List v7_4 = new StringBuilder();
                    v7_4.append(v8_1.getPath());
                    v7_4.append(" locked");
                    android.util.Log.i("MultiDex", v7_4.toString());
                } catch (java.io.IOException v0_4) {
                    String v1_3 = v0_4;
                    if (v12_0 != 0) {
                        try {
                            v12_0.release();
                        } catch (java.io.IOException) {
                            String v3_0 = new StringBuilder();
                            v3_0.append("Failed to release lock on ");
                            v3_0.append(v8_1.getPath());
                            android.util.Log.e("MultiDex", v3_0.toString());
                        }
                    }
                    if (v11 != 0) {
                        android.support.multidex.MultiDexExtractor.closeQuietly(v11);
                    }
                    android.support.multidex.MultiDexExtractor.closeQuietly(v9_1);
                    throw v1_3;
                }
                if (p18) {
                    v1_4 = p14;
                    v3_12 = p15;
                    android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
                    v13_3 = android.support.multidex.MultiDexExtractor.performExtractions(p15, p16);
                    android.support.multidex.MultiDexExtractor.putStoredApkInfo(v1_4, p17, android.support.multidex.MultiDexExtractor.getTimeStamp(v3_12), v5_3, v13_3);
                } else {
                    v1_4 = p14;
                    v3_12 = p15;
                    if (android.support.multidex.MultiDexExtractor.isModified(p14, p15, v5_3, p17)) {
                    } else {
                        try {
                            v13_3 = android.support.multidex.MultiDexExtractor.loadExistingExtractions(p14, p15, p16, p17);
                        } catch (java.io.IOException v0_3) {
                            android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v0_3);
                            v13_3 = android.support.multidex.MultiDexExtractor.performExtractions(p15, p16);
                            android.support.multidex.MultiDexExtractor.putStoredApkInfo(p14, p17, android.support.multidex.MultiDexExtractor.getTimeStamp(p15), v5_3, v13_3);
                        }
                    }
                }
                if (v12_0 != 0) {
                    try {
                        v12_0.release();
                    } catch (java.io.IOException v0_0) {
                        String v2_2 = new StringBuilder();
                        v2_2.append("Failed to release lock on ");
                        v2_2.append(v8_1.getPath());
                        android.util.Log.e("MultiDex", v2_2.toString());
                        v10 = v0_0;
                    }
                }
                if (v11 != 0) {
                    android.support.multidex.MultiDexExtractor.closeQuietly(v11);
                }
                android.support.multidex.MultiDexExtractor.closeQuietly(v9_1);
                if (v10 == null) {
                    String v2_5 = new StringBuilder();
                    v2_5.append("load found ");
                    v2_5.append(v13_3.size());
                    v2_5.append(" secondary dex files");
                    android.util.Log.i("MultiDex", v2_5.toString());
                    return v13_3;
                } else {
                    throw v10;
                }
            } catch (java.io.IOException v0_2) {
                v1_3 = v0_2;
                v12_0 = 0;
            }
        } catch (java.io.IOException v0_1) {
            v1_3 = v0_1;
            v11 = 0;
            v12_0 = 0;
        }
    }

Method android.support.v4.content.ContextCompat.buildPath() calling method java.io.File.<init>()


    private static varargs java.io.File buildPath(java.io.File p4, String[] p5)
    {
        int v0 = p5.length;
        int v1 = 0;
        while (v1 < v0) {
            String v2 = p5[v1];
            if (p4 != null) {
                if (v2 != null) {
                    p4 = new java.io.File(p4, v2);
                }
            } else {
                p4 = new java.io.File(v2);
            }
            v1++;
        }
        return p4;
    }

Method android.support.v4.content.ContextCompat.getCodeCacheDir() calling method java.io.File.<init>()


    public static java.io.File getCodeCacheDir(android.content.Context p2)
    {
        if (android.os.Build$VERSION.SDK_INT < 21) {
            return android.support.v4.content.ContextCompat.createFilesDir(new java.io.File(p2.getApplicationInfo().dataDir, "code_cache"));
        } else {
            return p2.getCodeCacheDir();
        }
    }

Method android.support.v4.graphics.TypefaceCompatUtil.getTempFile() calling method java.io.File.<init>()


    public static java.io.File getTempFile(android.content.Context p5)
    {
        String v0_1 = new StringBuilder();
        v0_1.append(".font");
        v0_1.append(android.os.Process.myPid());
        v0_1.append("-");
        v0_1.append(android.os.Process.myTid());
        v0_1.append("-");
        String v0_2 = v0_1.toString();
        int v1_2 = 0;
        while (v1_2 < 100) {
            boolean v3_0 = p5.getCacheDir();
            String v4_1 = new StringBuilder();
            v4_1.append(v0_2);
            v4_1.append(v1_2);
            java.io.File v2_2 = new java.io.File(v3_0, v4_1.toString());
            try {
                if (!v2_2.createNewFile()) {
                    v1_2++;
                } else {
                    return v2_2;
                }
            } catch (java.io.IOException) {
            }
        }
        return 0;
    }

Method android.support.v4.util.AtomicFile.<init>() calling method java.io.File.<init>()


    public AtomicFile(java.io.File p3)
    {
        this.mBaseName = p3;
        StringBuilder v1_1 = new StringBuilder();
        v1_1.append(p3.getPath());
        v1_1.append(".bak");
        this.mBackupName = new java.io.File(v1_1.toString());
        return;
    }

Method androidx.core.e.a.a() calling method java.io.File.<init>()


    public static final java.io.File a(android.net.Uri p1)
    {
        return new java.io.File(p1.getPath());
    }

Method com.crashlytics.android.core.ab.b() calling method java.io.File.<init>()


    private java.io.File b(String p3)
    {
        java.io.File v0_1 = new StringBuilder();
        v0_1.append("crashlytics-userlog-");
        v0_1.append(p3);
        v0_1.append(".temp");
        return new java.io.File(this.g.a(), v0_1.toString());
    }

Method com.crashlytics.android.core.ad.c() calling method java.io.File.<init>()


    public java.io.File c(String p4)
    {
        java.io.File v1 = this.h;
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(p4);
        v2_1.append("user");
        v2_1.append(".meta");
        return new java.io.File(v1, v2_1.toString());
    }

Method com.crashlytics.android.core.ad.d() calling method java.io.File.<init>()


    public java.io.File d(String p4)
    {
        java.io.File v1 = this.h;
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(p4);
        v2_1.append("keys");
        v2_1.append(".meta");
        return new java.io.File(v1, v2_1.toString());
    }

Method com.crashlytics.android.core.c.a() calling method java.io.File.<init>()


    private java.io.File a(java.io.File p5)
    {
        if (android.os.Build$VERSION.SDK_INT >= 9) {
            if (p5.getAbsolutePath().startsWith("/data")) {
                try {
                    p5 = new java.io.File(this.b.getPackageManager().getApplicationInfo(this.b.getPackageName(), 0).nativeLibraryDir, p5.getName());
                } catch (android.content.pm.PackageManager$NameNotFoundException v0_4) {
                    io.fabric.sdk.android.d.i().e("CrashlyticsCore", "Error getting ApplicationInfo", v0_4);
                }
            }
            return p5;
        } else {
            return p5;
        }
    }

Method com.crashlytics.android.core.c.c() calling method java.io.File.<init>()


    private java.io.File c(String p2)
    {
        java.io.File v0_1 = new java.io.File(p2);
        if (!v0_1.exists()) {
            v0_1 = this.a(v0_1);
        }
        return v0_1;
    }

Method com.crashlytics.android.core.g.<init>() calling method java.io.File.<init>()


    public g(java.io.File p4, String p5)
    {
        String v1_1 = new StringBuilder();
        v1_1.append(p5);
        v1_1.append(".cls_temp");
        super(new java.io.File(p4, v1_1.toString()));
        super.g = 0;
        String v0_3 = new StringBuilder();
        v0_3.append(p4);
        v0_3.append(java.io.File.separator);
        v0_3.append(p5);
        super.d = v0_3.toString();
        String v5_2 = new StringBuilder();
        v5_2.append(super.d);
        v5_2.append(".cls_temp");
        super.e = new java.io.File(v5_2.toString());
        return;
    }

Method com.crashlytics.android.core.g.close() calling method java.io.File.<init>()


    public declared_synchronized void close()
    {
        try {
            if (!this.g) {
                this.g = 1;
                super.flush();
                super.close();
                String v1_6 = new StringBuilder();
                v1_6.append(this.d);
                v1_6.append(".cls");
                String v0_1 = new java.io.File(v1_6.toString());
                if (!this.e.renameTo(v0_1)) {
                    String v1_3 = "";
                    if (!v0_1.exists()) {
                        if (!this.e.exists()) {
                            v1_3 = " (source does not exist)";
                        }
                    } else {
                        v1_3 = " (target already exists)";
                    }
                    StringBuilder v3_1 = new StringBuilder();
                    v3_1.append("Could not rename temp file: ");
                    v3_1.append(this.e);
                    v3_1.append(" -> ");
                    v3_1.append(v0_1);
                    v3_1.append(v1_3);
                    throw new java.io.IOException(v3_1.toString());
                } else {
                    this.e = 0;
                    this.f = v0_1;
                    return;
                }
            } else {
                return;
            }
        } catch (String v0_4) {
            throw v0_4;
        }
    }

Method com.crashlytics.android.core.l.a() calling method java.io.File.<init>()


    private void a(android.content.Context p11, java.io.File p12, String p13)
    {
        String v0_0 = com.crashlytics.android.core.ah.b(p12);
        String v1_1 = com.crashlytics.android.core.ah.c(p12);
        java.io.File v11_2 = com.crashlytics.android.core.ah.a(p12, p11);
        if ((v0_0 != null) && (v0_0.length != 0)) {
            ark>com.crashlytics.android.core.lark>.d(p13, "<native-crash: minidump>");
            String v12_3 = this.a(p13, "BeginSession.json");
            byte[] v2_1 = this.a(p13, "SessionApp.json");
            byte[] v3_1 = this.a(p13, "SessionDevice.json");
            byte[] v4_1 = this.a(p13, "SessionOS.json");
            byte[] v5_3 = com.crashlytics.android.core.ah.a(new com.crashlytics.android.core.ad(this.h()).c(p13));
            byte[] v6_2 = new com.crashlytics.android.core.ab(this.O.u(), this.V, p13);
            byte[] v7_2 = v6_2.b();
            v6_2.c();
            byte[] v6_6 = com.crashlytics.android.core.ah.a(new com.crashlytics.android.core.ad(this.h()).d(p13));
            java.io.File v8_3 = new java.io.File(this.T.c(), p13);
            if (v8_3.mkdir()) {
                this.a(v0_0, new java.io.File(v8_3, "minidump"));
                this.a(v1_1, new java.io.File(v8_3, "metadata"));
                this.a(v11_2, new java.io.File(v8_3, "binaryImages"));
                this.a(v12_3, new java.io.File(v8_3, "session"));
                this.a(v2_1, new java.io.File(v8_3, "app"));
                this.a(v3_1, new java.io.File(v8_3, "device"));
                this.a(v4_1, new java.io.File(v8_3, "os"));
                this.a(v5_3, new java.io.File(v8_3, "user"));
                this.a(v7_2, new java.io.File(v8_3, "logs"));
                this.a(v6_6, new java.io.File(v8_3, "keys"));
                return;
            } else {
                io.fabric.sdk.android.d.i().a("CrashlyticsCore", "Couldn\'t create native sessions directory");
                return;
            }
        } else {
            java.io.File v11_1 = io.fabric.sdk.android.d.i();
            String v0_2 = new StringBuilder();
            v0_2.append("No minidump data found in directory ");
            v0_2.append(p12);
            v11_1.d("CrashlyticsCore", v0_2.toString());
            return;
        }
    }

Method com.crashlytics.android.core.l.a() calling method java.io.File.<init>()


    void a(java.io.File[] p10)
    {
        java.io.File[] v0_1 = new java.util.HashSet();
        int v1_4 = p10.length;
        int v2 = 0;
        java.io.File v3_1 = 0;
        while (v3_1 < v1_4) {
            io.fabric.sdk.android.l v4_5 = p10[v3_1];
            String v5_3 = io.fabric.sdk.android.d.i();
            String v7_3 = new StringBuilder();
            v7_3.append("Found invalid session part file: ");
            v7_3.append(v4_5);
            v5_3.a("CrashlyticsCore", v7_3.toString());
            v0_1.add(ark>com.crashlytics.android.core.lark>.a(v4_5));
            v3_1++;
        }
        if (!v0_1.isEmpty()) {
            java.io.File v10_1 = this.k();
            if (!v10_1.exists()) {
                v10_1.mkdir();
            }
            java.io.File[] v0_2 = this.a(new ark>com.crashlytics.android.core.lark>$7(this, v0_1));
            int v1_3 = v0_2.length;
            while (v2 < v1_3) {
                java.io.File v3_0 = v0_2[v2];
                io.fabric.sdk.android.l v4_0 = io.fabric.sdk.android.d.i();
                String v6_1 = new StringBuilder();
                v6_1.append("Moving session file: ");
                v6_1.append(v3_0);
                v4_0.a("CrashlyticsCore", v6_1.toString());
                if (!v3_0.renameTo(new java.io.File(v10_1, v3_0.getName()))) {
                    io.fabric.sdk.android.l v4_4 = io.fabric.sdk.android.d.i();
                    String v6_4 = new StringBuilder();
                    v6_4.append("Could not move session file. Deleting ");
                    v6_4.append(v3_0);
                    v4_4.a("CrashlyticsCore", v6_4.toString());
                    v3_0.delete();
                }
                v2++;
            }
            this.r();
            return;
        } else {
            return;
        }
    }

Method com.crashlytics.android.core.l.a() calling method java.io.File.<init>()


    private void a(String p6, String p7, ark>com.crashlytics.android.core.lark>$e p8)
    {
        String v0 = 0;
        try {
            java.io.File v3 = this.h();
            StringBuilder v4_1 = new StringBuilder();
            v4_1.append(p6);
            v4_1.append(p7);
            String v1_1 = new java.io.FileOutputStream(new java.io.File(v3, v4_1.toString()));
            try {
                p8.a(v1_1);
                Throwable v6_4 = new StringBuilder();
                v6_4.append("Failed to close ");
                v6_4.append(p7);
                p7 = " file.";
                v6_4.append(" file.");
                io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, v6_4.toString());
                return;
            } catch (Throwable v6_2) {
                v0 = v1_1;
                StringBuilder v8_3 = new StringBuilder();
                v8_3.append("Failed to close ");
                v8_3.append(p7);
                v8_3.append(" file.");
                io.fabric.sdk.android.services.common.CommonUtils.a(v0, v8_3.toString());
                throw v6_2;
            }
        } catch (Throwable v6_2) {
        }
        p8.a(v1_1);
        v6_4 = new StringBuilder();
        v6_4.append("Failed to close ");
        v6_4.append(p7);
        p7 = " file.";
        v6_4.append(" file.");
        io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, v6_4.toString());
        return;
    }

Method com.crashlytics.android.core.l.a() calling method java.io.File.<init>()


    private byte[] a(String p4, String p5)
    {
        java.io.File v1 = this.h();
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(p4);
        v2_1.append(p5);
        return com.crashlytics.android.core.ah.a(new java.io.File(v1, v2_1.toString()));
    }

Method com.evernote.android.job.j.a() calling method java.io.File.<init>()


    void a(String p4)
    {
        if ((!p4.equalsIgnoreCase(":memory:")) && (p4.trim().length() != 0)) {
            String v1_1 = new StringBuilder();
            v1_1.append("deleting the database file: ");
            v1_1.append(p4);
            ark>com.evernote.android.job.jark>.a.d(v1_1.toString());
            try {
                com.evernote.android.job.a.d v0_2 = new java.io.File(p4);
            } catch (android.content.Context v4_4) {
                String v1_5 = new StringBuilder();
                v1_5.append("delete failed: ");
                v1_5.append(v4_4.getMessage());
                Object[] v2_4 = new Object[0];
                ark>com.evernote.android.job.jark>.a.b(v4_4, v1_5.toString(), v2_4);
                return;
            }
            if (android.os.Build$VERSION.SDK_INT < 16) {
                this.a(com.evernote.android.job.g.a().i(), v0_2);
                return;
            } else {
                this.a(v0_2);
                return;
            }
        } else {
            return;
        }
    }

Method com.facebook.GraphRequest.a() calling method java.io.File.<init>()


    public static ark>com.facebook.GraphRequestark> a(com.facebook.AccessToken p6, String p7, android.net.Uri p8, String p9, android.os.Bundle p10, ark>com.facebook.GraphRequestark>$b p11)
    {
        java.io.File v2_0 = ark>com.facebook.GraphRequestark>.f(p7);
        if (!com.facebook.internal.ae.d(p8)) {
            if (com.facebook.internal.ae.c(p8)) {
                android.os.Bundle v3_2 = new android.os.Bundle();
                if (p10 != null) {
                    v3_2.putAll(p10);
                }
                v3_2.putParcelable("picture", p8);
                if ((p9 != null) && (!p9.isEmpty())) {
                    v3_2.putString("caption", p9);
                }
                String v7_4 = new ark>com.facebook.GraphRequestark>;
                v7_4(p6, v2_0, v3_2, com.facebook.HttpMethod.b, p11);
                return v7_4;
            } else {
                throw new com.facebook.FacebookException("The photo Uri must be either a file:// or content:// Uri");
            }
        } else {
            return ark>com.facebook.GraphRequestark>.a(p6, v2_0, new java.io.File(p8.getPath()), p9, p10, p11);
        }
    }

Method com.facebook.internal.ae.a() calling method java.io.File.<init>()


    private static int a()
    {
        if (ark>com.facebook.internal.aeark>.k <= 0) {
            try {
                int v0_10 = new java.io.File("/sys/devices/system/cpu/").listFiles(new ark>com.facebook.internal.aeark>$2());
            } catch (Exception) {
                if (ark>com.facebook.internal.aeark>.k <= 0) {
                    ark>com.facebook.internal.aeark>.k = Math.max(Runtime.getRuntime().availableProcessors(), 1);
                }
                return ark>com.facebook.internal.aeark>.k;
            }
            if (v0_10 == 0) {
            } else {
                ark>com.facebook.internal.aeark>.k = v0_10.length;
            }
        } else {
            return ark>com.facebook.internal.aeark>.k;
        }
    }

Method com.facebook.internal.o$a.b() calling method java.io.File.<init>()


    static java.io.File b(java.io.File p3)
    {
        String v0_1 = new StringBuilder();
        v0_1.append("buffer");
        v0_1.append(Long.valueOf(com.facebook.internal.o.d().incrementAndGet()).toString());
        return new java.io.File(p3, v0_1.toString());
    }

Method com.facebook.internal.o.<init>() calling method java.io.File.<init>()


    public o(String p4, com.facebook.internal.o$d p5)
    {
        this.k = new java.util.concurrent.atomic.AtomicLong(0);
        this.e = p4;
        this.f = p5;
        this.g = new java.io.File(com.facebook.i.p(), p4);
        this.j = new Object();
        if ((this.g.mkdirs()) || (this.g.isDirectory())) {
            com.facebook.internal.o$a.a(this.g);
        }
        return;
    }

Method com.facebook.internal.o.a() calling method java.io.File.<init>()


    private void a(String p3, java.io.File p4)
    {
        if (!p4.renameTo(new java.io.File(this.g, com.facebook.internal.ae.b(p3)))) {
            p4.delete();
        }
        this.e();
        return;
    }

Method com.facebook.internal.o.a() calling method java.io.File.<init>()


    public java.io.InputStream a(String p7, String p8)
    {
        java.io.File v0_1 = new java.io.File(this.g, com.facebook.internal.ae.b(p7));
        try {
            java.io.BufferedInputStream v3_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(v0_1), 8192);
            try {
                String v2_0 = ark>com.facebook.internal.oark>$g.a(v3_0);
            } catch (long v7_8) {
                v3_0.close();
                throw v7_8;
            }
            if (v2_0 != null) {
                String v4_1 = v2_0.optString("key");
                if (v4_1 != null) {
                    if (v4_1.equals(p7)) {
                        long v7_3 = v2_0.optString("tag", 0);
                        if (((p8 != null) || (v7_3 == 0)) && ((p8 == null) || (p8.equals(v7_3)))) {
                            long v7_7 = new java.util.Date().getTime();
                            String v4_3 = new StringBuilder();
                            v4_3.append("Setting lastModified to ");
                            v4_3.append(Long.valueOf(v7_7));
                            v4_3.append(" for ");
                            v4_3.append(v0_1.getName());
                            com.facebook.internal.w.a(com.facebook.LoggingBehavior.d, ark>com.facebook.internal.oark>.a, v4_3.toString());
                            v0_1.setLastModified(v7_7);
                            return v3_0;
                        } else {
                            v3_0.close();
                            return 0;
                        }
                    } else {
                    }
                }
                v3_0.close();
                return 0;
            } else {
                v3_0.close();
                return 0;
            }
        } catch (java.io.IOException) {
            return 0;
        }
    }

Method com.fitbit.coin.kit.internal.service.ad.a() calling method java.io.File.<init>()


    private void a(java.io.File p6, okhttp3.ac p7)
    {
        if (!p7.d()) {
            throw new java.io.IOException(p7.e());
        } else {
            Throwable v1_0 = new StringBuilder();
            v1_0.append(p6.getAbsolutePath());
            v1_0.append(".download");
            Throwable v0_1 = new java.io.File(v1_0.toString());
            Throwable v1_2 = 0;
            try {
                Throwable v2_3 = okio.o.a(okio.o.b(v0_1));
                try {
                    v2_3.a(p7.h().c());
                } catch (Throwable v6_3) {
                    Throwable v0_3 = 0;
                    if (v2_3 != null) {
                        if (v0_3 == null) {
                            v2_3.close();
                        } else {
                            try {
                                v2_3.close();
                            } catch (Throwable v2_4) {
                                v0_3.addSuppressed(v2_4);
                            }
                        }
                    }
                    throw v6_3;
                } catch (Throwable v6_2) {
                    try {
                        throw v6_2;
                    } catch (Throwable v0_2) {
                        v0_3 = v6_2;
                        v6_3 = v0_2;
                    }
                }
                if (v2_3 != null) {
                    v2_3.close();
                }
                if (p7 != null) {
                    p7.close();
                }
                v0_1.renameTo(p6);
                return;
            } catch (Throwable v6_5) {
                if (p7 != null) {
                    if (v1_2 == null) {
                        p7.close();
                    } else {
                        try {
                            p7.close();
                        } catch (Throwable v7_2) {
                            v1_2.addSuppressed(v7_2);
                        }
                    }
                }
                throw v6_5;
            } catch (Throwable v6_4) {
                v1_2 = v6_4;
                throw v1_2;
            }
        }
    }

Method com.facebook.internal.y.a() calling method java.io.File.<init>()


    static declared_synchronized java.io.File a()
    {
        try {
            if (ark>com.facebook.internal.yark>.c == null) {
                ark>com.facebook.internal.yark>.c = new java.io.File(com.facebook.i.h().getCacheDir(), "com.facebook.NativeAppCallAttachmentStore.files");
            }
        } catch (java.io.File v1_1) {
            throw v1_1;
        }
        return ark>com.facebook.internal.yark>.c;
    }

Method com.facebook.internal.y.a() calling method java.io.File.<init>()


    static java.io.File a(java.util.UUID p2, String p3, boolean p4)
    {
        java.io.File v2_1 = ark>com.facebook.internal.yark>.a(p2, p4);
        if (v2_1 != null) {
            try {
                return new java.io.File(v2_1, java.net.URLEncoder.encode(p3, "UTF-8"));
            } catch (java.io.UnsupportedEncodingException) {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.internal.y.a() calling method java.io.File.<init>()


    static java.io.File a(java.util.UUID p2, boolean p3)
    {
        if (ark>com.facebook.internal.yark>.c != null) {
            java.io.File v0_2 = new java.io.File(ark>com.facebook.internal.yark>.c, p2.toString());
            if ((p3) && (!v0_2.exists())) {
                v0_2.mkdirs();
            }
            return v0_2;
        } else {
            return 0;
        }
    }

Method com.facebook.share.internal.n.a() calling method java.io.File.<init>()


    public static com.facebook.GraphRequest a(com.facebook.AccessToken p8, android.net.Uri p9, com.facebook.GraphRequest$b p10)
    {
        if (!com.facebook.internal.ae.d(p9)) {
            if (com.facebook.internal.ae.c(p9)) {
                com.facebook.GraphRequest$ParcelableResourceWithMimeType v0_5 = new com.facebook.GraphRequest$ParcelableResourceWithMimeType(p9, "image/png");
                android.os.Bundle v5_0 = new android.os.Bundle(1);
                v5_0.putParcelable("file", v0_5);
                com.facebook.GraphRequest v9_3 = new com.facebook.GraphRequest;
                v9_3(p8, "me/staging_resources", v5_0, com.facebook.HttpMethod.b, p10);
                return v9_3;
            } else {
                throw new com.facebook.FacebookException("The image Uri must be either a file:// or content:// Uri");
            }
        } else {
            return ark>com.facebook.share.internal.nark>.a(p8, new java.io.File(p9.getPath()), p10);
        }
    }

Method com.facebook.share.internal.o$d.a() calling method java.io.File.<init>()


    private void a()
    {
        try {
            if (!com.facebook.internal.ae.d(this.a)) {
                if (!com.facebook.internal.ae.c(this.a)) {
                    throw new com.facebook.FacebookException("Uri must be a content:// or file:// uri");
                } else {
                    this.k = com.facebook.internal.ae.e(this.a);
                    this.j = com.facebook.i.h().getContentResolver().openInputStream(this.a);
                }
            } else {
                com.facebook.FacebookException v0_10 = android.os.ParcelFileDescriptor.open(new java.io.File(this.a.getPath()), 268435456);
                this.k = v0_10.getStatSize();
                this.j = new android.os.ParcelFileDescriptor$AutoCloseInputStream(v0_10);
            }
        } catch (com.facebook.FacebookException v0_11) {
            com.facebook.internal.ae.a(this.j);
            throw v0_11;
        }
        return;
    }

Method com.fitbit.data.bl.challenges.pano.d.b() calling method java.io.File.<init>()


    private static java.io.File b(android.content.Context p2)
    {
        java.io.File v0_1 = new java.io.File(p2.getCacheDir(), "larger-image-cache");
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        return v0_1;
    }

Method com.fitbit.coin.kit.internal.service.ad.b() calling method java.io.File.<init>()


    private java.io.File b(String p6, java.util.List p7)
    {
        java.util.Iterator v7_1 = p7.iterator();
        while (v7_1.hasNext()) {
            boolean v0_4 = ((String) v7_1.next());
            java.io.File v2 = this.a();
            StringBuilder v3_1 = new StringBuilder();
            v3_1.append(p6);
            v3_1.append(".");
            v3_1.append(v0_4);
            java.io.File v1_1 = new java.io.File(v2, v3_1.toString());
            if (v1_1.exists()) {
                return v1_1;
            }
        }
        return 0;
    }

Method android.support.v4.content.FileProvider$SimplePathStrategy.getFileForUri() calling method java.io.File.<init>()


    public java.io.File getFileForUri(android.net.Uri p5)
    {
        String v0_0 = p5.getEncodedPath();
        String v2_4 = v0_0.indexOf(47, 1);
        String v3_1 = android.net.Uri.decode(v0_0.substring(1, v2_4));
        String vtmp6 = android.net.Uri.decode(v0_0.substring((v2_4 + 1)));
        StringBuilder v1_2 = ((java.io.File) this.mRoots.get(v3_1));
        if (v1_2 != null) {
            try {
                String v0_3 = new java.io.File(v1_2, vtmp6).getCanonicalFile();
                SecurityException v5_4 = v0_3.getPath().startsWith(v1_2.getPath());
            } catch (java.io.IOException) {
                StringBuilder v1_6 = new StringBuilder();
                v1_6.append("Failed to resolve canonical path for ");
                v1_6.append(v5_4);
                throw new IllegalArgumentException(v1_6.toString());
            }
            if (v5_4 != null) {
                return v0_3;
            } else {
                throw new SecurityException("Resolved path jumped beyond configured root");
            }
        } else {
            StringBuilder v1_8 = new StringBuilder();
            v1_8.append("Unable to find configured root for ");
            v1_8.append(p5);
            throw new IllegalArgumentException(v1_8.toString());
        }
    }

Method android.support.v4.graphics.TypefaceCompatApi21Impl.getFile() calling method java.io.File.<init>()


    private java.io.File getFile(android.os.ParcelFileDescriptor p4)
    {
        try {
            java.io.File v1_4 = new StringBuilder();
            v1_4.append("/proc/self/fd/");
            v1_4.append(p4.getFd());
            String v4_1 = android.system.Os.readlink(v1_4.toString());
        } catch (android.system.ErrnoException) {
            return 0;
        }
        if (!android.system.OsConstants.S_ISREG(android.system.Os.stat(v4_1).st_mode)) {
            return 0;
        } else {
            return new java.io.File(v4_1);
        }
    }

Method android.support.v4.provider.RawDocumentFile.createDirectory() calling method java.io.File.<init>()


    public android.support.v4.provider.DocumentFile createDirectory(String p3)
    {
        java.io.File v0_1 = new java.io.File(this.mFile, p3);
        if ((!v0_1.isDirectory()) && (!v0_1.mkdir())) {
            return 0;
        } else {
            return new android.support.v4.provider.RawDocumentFile(this, v0_1);
        }
    }

Method android.support.v4.provider.RawDocumentFile.createFile() calling method java.io.File.<init>()


    public android.support.v4.provider.DocumentFile createFile(String p3, String p4)
    {
        int v3_5 = android.webkit.MimeTypeMap.getSingleton().getExtensionFromMimeType(p3);
        if (v3_5 != 0) {
            StringBuilder v0_5 = new StringBuilder();
            v0_5.append(p4);
            v0_5.append(".");
            v0_5.append(v3_5);
            p4 = v0_5.toString();
        }
        int v3_2 = new java.io.File(this.mFile, p4);
        try {
            v3_2.createNewFile();
            return new android.support.v4.provider.RawDocumentFile(this, v3_2);
        } catch (int v3_3) {
            StringBuilder v0_3 = new StringBuilder();
            v0_3.append("Failed to createFile: ");
            v0_3.append(v3_3);
            android.util.Log.w("DocumentFile", v0_3.toString());
            return 0;
        }
    }

Method android.support.v4.provider.RawDocumentFile.renameTo() calling method java.io.File.<init>()


    public boolean renameTo(String p3)
    {
        java.io.File v0_1 = new java.io.File(this.mFile.getParentFile(), p3);
        if (!this.mFile.renameTo(v0_1)) {
            return 0;
        } else {
            this.mFile = v0_1;
            return 1;
        }
    }

Method com.crashlytics.android.answers.b.a_() calling method java.io.File.<init>()


    protected boolean a_()
    {
        try {
            String v5_1;
            android.content.Context v8 = this.u();
            boolean v1_5 = v8.getPackageManager();
            android.content.Context v2_4 = v8.getPackageName();
            io.fabric.sdk.android.services.common.IdManager v3_2 = v1_5.getPackageInfo(v2_4, 0);
            String v4_0 = Integer.toString(v3_2.versionCode);
        } catch (boolean v1_3) {
            io.fabric.sdk.android.d.i().e("Answers", "Error retrieving app properties", v1_3);
            return 0;
        }
        if (v3_2.versionName != null) {
            v5_1 = v3_2.versionName;
        } else {
            v5_1 = "0.0";
        }
        boolean v1_2;
        if (android.os.Build$VERSION.SDK_INT < 9) {
            v1_2 = new java.io.File(v1_5.getApplicationInfo(v2_4, 0).sourceDir).lastModified();
        } else {
            v1_2 = v3_2.firstInstallTime;
        }
        this.d = com.crashlytics.android.answers.al.a(this, v8, this.t(), v4_0, v5_1, v1_2);
        this.d.b();
        this.c = new io.fabric.sdk.android.services.common.m().b(v8);
        return 1;
    }

Method com.crashlytics.android.core.l$g.a() calling method java.io.File.<init>()


    public java.io.File a()
    {
        java.io.File v0_1 = new java.io.File(this.b.c(), "log-files");
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        return v0_1;
    }

Method com.davemorrissey.labs.subscaleview.decoder.SkiaPooledImageRegionDecoder.getNumCoresOldPhones() calling method java.io.File.<init>()


    private int getNumCoresOldPhones()
    {
        try {
            return new java.io.File("/sys/devices/system/cpu/").listFiles(new com.davemorrissey.labs.subscaleview.decoder.SkiaPooledImageRegionDecoder$1CpuFilter(this)).length;
        } catch (Exception) {
            return 1;
        }
    }

Method android.support.v4.graphics.drawable.IconCompat.loadDrawableInner() calling method java.io.File.<init>()


    private android.graphics.drawable.Drawable loadDrawableInner(android.content.Context p7)
    {
        switch (this.mType) {
            case 1:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), ((android.graphics.Bitmap) this.mObj1));
            case 2:
                android.graphics.drawable.BitmapDrawable v0_14 = this.getResPackage();
                if (android.text.TextUtils.isEmpty(v0_14)) {
                    v0_14 = p7.getPackageName();
                }
                try {
                    return android.support.v4.content.res.ResourcesCompat.getDrawable(android.support.v4.graphics.drawable.IconCompat.getResources(p7, v0_14), this.mInt1, p7.getTheme());
                } catch (android.content.res.Resources v7_7) {
                    StringBuilder v4_7 = new Object[2];
                    v4_7[0] = Integer.valueOf(this.mInt1);
                    v4_7[1] = this.mObj1;
                    android.util.Log.e("IconCompat", String.format("Unable to load resource 0x%08x from pkg=%s", v4_7), v7_7);
                }
            case 3:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.graphics.BitmapFactory.decodeByteArray(((byte[]) this.mObj1), this.mInt1, this.mInt2));
            case 4:
                android.graphics.Bitmap v2_6;
                android.graphics.drawable.BitmapDrawable v0_6 = android.net.Uri.parse(((String) this.mObj1));
                android.graphics.Bitmap v2_2 = v0_6.getScheme();
                if ((!"content".equals(v2_2)) && (!"file".equals(v2_2))) {
                    try {
                        v2_6 = new java.io.FileInputStream(new java.io.File(((String) this.mObj1)));
                    } catch (android.graphics.Bitmap v2_7) {
                        StringBuilder v4_3 = new StringBuilder();
                        v4_3.append("Unable to load image from path: ");
                        v4_3.append(v0_6);
                        android.util.Log.w("IconCompat", v4_3.toString(), v2_7);
                        v2_6 = 0;
                    }
                } else {
                    try {
                        v2_6 = p7.getContentResolver().openInputStream(v0_6);
                    } catch (android.graphics.Bitmap v2_9) {
                        StringBuilder v4_5 = new StringBuilder();
                        v4_5.append("Unable to load image from URI: ");
                        v4_5.append(v0_6);
                        android.util.Log.w("IconCompat", v4_5.toString(), v2_9);
                    }
                }
                if (v2_6 == null) {
                } else {
                    return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.graphics.BitmapFactory.decodeStream(v2_6));
                }
            case 5:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.support.v4.graphics.drawable.IconCompat.createLegacyIconFromAdaptiveIcon(((android.graphics.Bitmap) this.mObj1), 0));
            default:
        }
        return 0;
    }

Method com.fitbit.data.bl.it.a() calling method java.io.File.<init>()


    private boolean a(android.net.Uri p4)
    {
        try {
            boolean v4_2 = this.c.a(new java.io.File(p4.getPath()));
        } catch (java.io.FileNotFoundException v0_3) {
            Object[] v2 = new Object[v4_2];
            d.a.b.d(v0_3, "Can\'t upload file. File not found.", v2);
        }
        return v4_2;
    }

Method com.fitbit.audrey.beforeafter.a.b() calling method java.io.File.<init>()


    java.util.Date b(String p3)
    {
        long v0_1 = new java.io.File(p3);
        if (!v0_1.exists()) {
            return 0;
        } else {
            return new java.util.Date(v0_1.lastModified());
        }
    }

Method com.fitbit.audrey.data.SyncNewGroupService.g() calling method java.io.File.<init>()


    private void g(android.content.Intent p6)
    {
        com.fitbit.audrey.api.FeedException v6_6 = ((com.fitbit.audrey.creategroups.NewGroupData) p6.getParcelableExtra("EXTRA_NEW_GROUP_DATA"));
        long v0_1 = 0;
        try {
            int v2_7 = v6_6.getGroupImage();
        } catch (com.fitbit.audrey.api.FeedException v6_7) {
            if (!(v6_7 instanceof com.fitbit.audrey.api.FeedException)) {
                int v2_6 = 0;
            } else {
                int v2_5 = ((com.fitbit.audrey.api.FeedException) v6_7).c();
                if (v2_5 == 0) {
                } else {
                    v2_6 = v2_5.b();
                }
            }
            Object[] v3_4 = new Object[0];
            d.a.b.e(v6_7, "Failed to create a new group.", v3_4);
            this.a(v2_6, v0_1);
            return;
        }
        if (v2_7 != 0) {
            int v2_8 = v2_7.getPath();
            if (v2_8 != 0) {
                v0_1 = new java.io.File(v2_8).length();
            }
        }
        com.fitbit.audrey.api.FeedException v6_3;
        com.fitbit.audrey.api.FeedException v6_2 = this.r.a(v6_6, this.getContentResolver());
        if (v6_2 == null) {
            v6_3 = 0;
        } else {
            v6_3 = v6_2.r();
        }
        if (v6_3 != null) {
            this.a(v6_3, v0_1);
            return;
        } else {
            throw com.fitbit.audrey.api.FeedException.b("Server response invalid");
        }
    }

Method com.fitbit.bluetooth.a.a.e() calling method java.io.File.<init>()


    public void e()
    {
        String v1_4 = new Object[1];
        v1_4[0] = this.w;
        d.a.b.c("The current Session is ... %s", v1_4);
        try {
            int v0_1 = new java.io.File(this.q.getPath());
            this.z = ((int) v0_1.length());
            this.p = okio.o.a(okio.o.a(v0_1));
            int v0_5 = com.fitbit.data.encoders.a.a(this.q);
            this.u = android.os.SystemClock.elapsedRealtime();
            this.b = 32;
            this.a(com.fitbit.airlink.ota.e.a(this.k, v0_5, ((int) this.r), this.t, ((byte) this.b)));
        } catch (int v0_7) {
            Object[] v2_2 = new Object[0];
            d.a.b.e(v0_7, "We couldn\'t open the input stream to the file!", v2_2);
            this.b(0);
        }
        return;
    }

Method com.fitbit.bluetooth.logging.SimpleFitbitFileLogger$d.run() calling method java.io.File.<init>()


    public final void run()
    {
        com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.a(this.a).flush();
        String v0_6 = new StringBuilder();
        okio.e v1_0 = this.a.j().getCacheDir();
        kotlin.jvm.internal.ae.b(v1_0, "context.cacheDir");
        v0_6.append(v1_0.getAbsolutePath());
        v0_6.append("/shared");
        okio.d v2_0 = new java.io.File(v0_6.toString(), com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.b(this.a).getName());
        okio.e v1_7 = new StringBuilder();
        okio.j v3_3 = this.a.j().getCacheDir();
        kotlin.jvm.internal.ae.b(v3_3, "context.cacheDir");
        v1_7.append(v3_3.getAbsolutePath());
        v1_7.append("/shared");
        okio.e v1_8 = v1_7.toString();
        okio.j v3_7 = new StringBuilder();
        v3_7.append(com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.b(this.a).getName());
        v3_7.append(".gz");
        String v0_5 = new java.io.File(v1_8, v3_7.toString());
        okio.e v1_13 = okio.o.a(okio.o.a(kotlin.io.i.a(com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.b(this.a), v2_0, 1, 0, 4, 0)));
        kotlin.jvm.internal.ae.b(v1_13, "Okio.buffer(Okio.source(copiedFile))");
        okio.d v2_4 = okio.o.a(okio.o.b(v0_5));
        kotlin.jvm.internal.ae.b(v2_4, "Okio.buffer(Okio.sink(compressedFile))");
        okio.j v3_12 = new okio.j(((okio.w) v2_4));
        try {
            v1_13.a(((okio.w) v3_12));
            this.b.a(v0_5);
        } catch (String v0_8) {
            v3_12.close();
            v2_4.close();
            v1_13.close();
            throw v0_8;
        }
        v3_12.close();
        v2_4.close();
        v1_13.close();
        return;
    }

Method com.fitbit.bluetooth.logging.SimpleFitbitFileLogger$e.run() calling method java.io.File.<init>()


    public final void run()
    {
        com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.a(this.a).flush();
        java.io.IOException v0_7 = new StringBuilder();
        com.fitbit.bluetooth.logging.SimpleFitbitFileLogger$a v1_0 = this.a.j().getCacheDir();
        kotlin.jvm.internal.ae.b(v1_0, "context.cacheDir");
        v0_7.append(v1_0.getAbsolutePath());
        v0_7.append("/shared");
        try {
            this.b.a(kotlin.io.i.a(com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.b(this.a), new java.io.File(v0_7.toString(), com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.b(this.a).getName()), 1, 0, 4, 0));
        } catch (java.io.IOException v0_5) {
            v0_5.getStackTrace();
        }
        return;
    }

Method com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.k() calling method java.io.File.<init>()


    private final void k()
    {
        this.a(new java.io.File(this.n.getFilesDir(), this.l()));
        String v0_6 = this.k;
        if (v0_6 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        v0_6.createNewFile();
        String v0_1 = this.k;
        if (v0_1 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        String v0_3 = okio.o.a(okio.o.c(v0_1));
        kotlin.jvm.internal.ae.b(v0_3, "Okio.buffer(Okio.appendingSink(logFile))");
        this.h = v0_3;
        Object[] v1_5 = new Object[1];
        String v3_0 = this.k;
        if (v3_0 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        v1_5[0] = v3_0.getName();
        d.a.b.a("Created log file %s", v1_5);
        return;
    }

Method com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.f() calling method java.io.File.<init>()


    public final java.io.File f()
    {
        java.io.File v0_3 = new java.io.File(this.n.getCacheDir(), "shared");
        String v1_3 = this.k;
        if (v1_3 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        java.io.File v4_0 = new java.io.File(v0_3, v1_3.getName());
        java.io.File v3 = this.k;
        if (v3 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        return kotlin.io.i.a(v3, v4_0, 1, 0, 4, 0);
    }

Method com.fitbit.bluetooth.logging.SimpleFitbitFileLogger.g() calling method java.io.File.<init>()


    public final boolean g()
    {
        java.io.File[] v0_0 = this.k;
        if (v0_0 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        int v1_1;
        java.io.File[] v0_3 = v0_0.getParent();
        if (v0_3 == null) {
            v1_1 = this.n.getFilesDir();
            kotlin.jvm.internal.ae.b(v1_1, "context.filesDir");
        } else {
            v1_1 = new java.io.File(v0_3);
        }
        java.io.File[] v0_2 = v1_1.listFiles();
        int v1_2 = v0_2.length;
        int v3 = 0;
        int v4_0 = 0;
        while (v3 < v1_2) {
            java.io.File v5 = v0_2[v3];
            Object[] v6_0 = v5.getName();
            kotlin.jvm.internal.ae.b(v6_0, "file.name");
            if ((kotlin.text.o.e(((CharSequence) v6_0), ((CharSequence) this.o), 0, 2, 0)) && ((kotlin.jvm.internal.ae.a(v5.getName(), this.l()) ^ 1) != 0)) {
                Object[] v6_6 = new Object[1];
                v6_6[0] = v5.getName();
                d.a.b.a("Removing log file %s", v6_6);
                v5.delete();
                v4_0 = 1;
            }
            v3++;
        }
        return v4_0;
    }

Method com.fitbit.bluetooth.logging.a$d.run() calling method java.io.File.<init>()


    public final void run()
    {
        com.fitbit.bluetooth.logging.a.c(this.a).flush();
        String v0_6 = new StringBuilder();
        okio.e v1_0 = this.a.c().getCacheDir();
        kotlin.jvm.internal.ae.b(v1_0, "context.cacheDir");
        v0_6.append(v1_0.getAbsolutePath());
        v0_6.append("/shared");
        okio.d v2_0 = new java.io.File(v0_6.toString(), com.fitbit.bluetooth.logging.a.d(this.a).getName());
        okio.e v1_7 = new StringBuilder();
        okio.j v3_3 = this.a.c().getCacheDir();
        kotlin.jvm.internal.ae.b(v3_3, "context.cacheDir");
        v1_7.append(v3_3.getAbsolutePath());
        v1_7.append("/shared");
        okio.e v1_8 = v1_7.toString();
        okio.j v3_7 = new StringBuilder();
        v3_7.append(com.fitbit.bluetooth.logging.a.d(this.a).getName());
        v3_7.append(".gz");
        String v0_5 = new java.io.File(v1_8, v3_7.toString());
        okio.e v1_13 = okio.o.a(okio.o.a(kotlin.io.i.a(com.fitbit.bluetooth.logging.a.d(this.a), v2_0, 1, 0, 4, 0)));
        kotlin.jvm.internal.ae.b(v1_13, "Okio.buffer(Okio.source(copiedFile))");
        okio.d v2_4 = okio.o.a(okio.o.b(v0_5));
        kotlin.jvm.internal.ae.b(v2_4, "Okio.buffer(Okio.sink(compressedFile))");
        okio.j v3_12 = new okio.j(((okio.w) v2_4));
        try {
            v1_13.a(((okio.w) v3_12));
            this.b.a(v0_5);
        } catch (String v0_8) {
            v3_12.close();
            v2_4.close();
            v1_13.close();
            throw v0_8;
        }
        v3_12.close();
        v2_4.close();
        v1_13.close();
        return;
    }

Method com.fitbit.bluetooth.logging.a.d() calling method java.io.File.<init>()


    private final void d()
    {
        this.a(new java.io.File(this.n.getFilesDir(), this.e()));
        String v0_6 = this.k;
        if (v0_6 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        v0_6.createNewFile();
        String v0_1 = this.k;
        if (v0_1 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        String v0_3 = okio.o.a(okio.o.c(v0_1));
        kotlin.jvm.internal.ae.b(v0_3, "Okio.buffer(Okio.appendingSink(logFile))");
        this.h = v0_3;
        Object[] v1_5 = new Object[1];
        String v3_0 = this.k;
        if (v3_0 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        v1_5[0] = v3_0.getName();
        d.a.b.a("Created log file %s", v1_5);
        return;
    }

Method com.fitbit.bluetooth.logging.a.f() calling method java.io.File.<init>()


    private final boolean f()
    {
        java.io.File[] v0_0 = this.k;
        if (v0_0 == null) {
            kotlin.jvm.internal.ae.c("logFile");
        }
        int v1_1;
        java.io.File[] v0_3 = v0_0.getParent();
        if (v0_3 == null) {
            v1_1 = this.n.getFilesDir();
            kotlin.jvm.internal.ae.b(v1_1, "context.filesDir");
        } else {
            v1_1 = new java.io.File(v0_3);
        }
        java.io.File[] v0_2 = v1_1.listFiles();
        int v1_2 = v0_2.length;
        int v3 = 0;
        int v4_0 = 0;
        while (v3 < v1_2) {
            java.io.File v5 = v0_2[v3];
            Object[] v6_0 = v5.getName();
            kotlin.jvm.internal.ae.b(v6_0, "file.name");
            if ((kotlin.text.o.e(((CharSequence) v6_0), ((CharSequence) this.o), 0, 2, 0)) && ((kotlin.jvm.internal.ae.a(v5.getName(), this.e()) ^ 1) != 0)) {
                Object[] v6_6 = new Object[1];
                v6_6[0] = v5.getName();
                d.a.b.a("Removing log file %s", v6_6);
                v5.delete();
                v4_0 = 1;
            }
            v3++;
        }
        return v4_0;
    }

Method com.fitbit.camera.b.a() calling method java.io.File.<init>()


    public static android.net.Uri a(android.content.Context p6, android.graphics.Bitmap p7)
    {
        Object[] v0_3 = new java.io.File(p6.getCacheDir(), "selfies");
        if ((v0_3.exists()) || (v0_3.mkdirs())) {
            int v3_1 = new Object[1];
            v3_1[0] = java.util.UUID.randomUUID();
            java.io.IOException v6_4 = new java.io.File(v0_3, String.format("%s.jpg", v3_1));
            try {
                Object[] v0_2 = new java.io.FileOutputStream(v6_4);
                try {
                    p7.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v0_2);
                    v0_2.flush();
                    v0_2.getFD().sync();
                } catch (java.io.IOException v6_5) {
                    Object[] v2_3 = new Object[0];
                    d.a.b.e(v6_5, "Could not save the image correctly", v2_3);
                    if (v0_2 != null) {
                        try {
                            v0_2.close();
                        } catch (java.io.IOException v6_7) {
                            Object[] v0_4 = new Object[0];
                            d.a.b.e(v6_7, "Could not close the stream correctly", v0_4);
                        }
                    }
                    return 0;
                }
                if (v0_2 != null) {
                    try {
                        v0_2.close();
                    } catch (String v7_5) {
                        Object[] v1_2 = new Object[0];
                        d.a.b.e(v7_5, "Could not close the stream correctly", v1_2);
                    }
                }
                return android.net.Uri.fromFile(v6_4);
            } catch (java.io.IOException v6_6) {
                v0_2 = 0;
                if (v0_2 != null) {
                    try {
                        v0_2.close();
                    } catch (String v7_4) {
                        Object[] v1_1 = new Object[0];
                        d.a.b.e(v7_4, "Could not close the stream correctly", v1_1);
                    }
                }
                throw v6_6;
            } catch (java.io.IOException v6_5) {
                v0_2 = 0;
            } catch (java.io.IOException v6_6) {
            }
        } else {
            return 0;
        }
    }

Method com.fitbit.coin.kit.internal.service.ad.a() calling method java.io.File.<init>()


    private java.io.File a()
    {
        String v0_2 = new java.io.File(this.h.getCacheDir(), "asset-cache");
        if ((v0_2.exists()) || (v0_2.mkdirs())) {
            return v0_2;
        } else {
            StringBuilder v2_1 = new StringBuilder();
            v2_1.append("Unable to create cache dir:");
            v2_1.append(v0_2);
            throw new RuntimeException(v2_1.toString());
        }
    }

Method com.fitbit.coin.kit.internal.service.ad.b() calling method java.io.File.<init>()


    final synthetic io.reactivex.ao b(okhttp3.HttpUrl p5)
    {
        try {
            io.reactivex.ai v1_3 = new StringBuilder();
            v1_3.append(p5.i());
            v1_3.append(this.a(p5.n()));
            java.io.File v2_1 = new java.io.File(this.a(), v1_3.toString());
        } catch (io.reactivex.ai v5_5) {
            throw v5_5;
        }
        if (!v2_1.exists()) {
            return this.a(io.reactivex.a.a(new com.fitbit.coin.kit.internal.service.ag(this, p5, v2_1)), v2_1).b(io.reactivex.ai.b(v2_1));
        } else {
            return io.reactivex.ai.b(v2_1);
        }
    }

Method com.fitbit.coin.kit.internal.service.ad.c() calling method java.io.File.<init>()


    final synthetic io.reactivex.ao c(String p5)
    {
        try {
            java.io.File v2_0 = new java.io.File(this.a(), this.a(java.util.Arrays.asList(p5.split("/"))));
        } catch (io.reactivex.ai v5_5) {
            throw v5_5;
        }
        if (!v2_0.exists()) {
            return this.a(io.reactivex.a.a(new com.fitbit.coin.kit.internal.service.ap(this, p5, v2_0)), v2_0).b(io.reactivex.ai.b(v2_0));
        } else {
            return io.reactivex.ai.b(v2_0);
        }
    }

Method com.fitbit.challenges.ui.progress.ChallengeProgressFragment$6$1.onCreateLoader() calling method java.io.File.<init>()


    public android.support.v4.content.Loader onCreateLoader(int p5, android.os.Bundle p6)
    {
        com.fitbit.util.b$a v5_3 = this.b.d.r.a;
        android.support.v4.app.FragmentActivity v0_2 = this.b.d.getActivity();
        int v2_1 = new StringBuilder();
        v2_1.append(this.b.d.getActivity().getFilesDir().getAbsolutePath());
        v2_1.append("/");
        v2_1.append(this.a);
        return new com.fitbit.util.b(v0_2, com.fitbit.util.b$a.a(android.net.Uri.fromFile(new java.io.File(v2_1.toString()))).a(this.b.d.getActivity().getString(2131886498)).b(v5_3.getName()).c(v5_3.getName()).a(), android.graphics.Bitmap$CompressFormat.PNG, 100);
    }

Method com.fitbit.coin.kit.internal.service.mifare.p$g.a() calling method java.io.File.<init>()


    public final io.reactivex.ai a(com.fitbit.util.by p2)
    {
        io.reactivex.ai v2_1;
        kotlin.jvm.internal.ae.f(p2, "linkedCardArtOpt");
        if (!p2.c()) {
            v2_1 = com.fitbit.coin.kit.internal.service.mifare.p.c(this.a).a("content/payments/transit/ipass/ipass-card.png");
        } else {
            v2_1 = io.reactivex.ai.b(new java.io.File(((com.fitbit.coin.kit.internal.LinkedCardArt) p2.b()).getCartArtMobileImageFileUri()));
        }
        return v2_1;
    }

Method com.fitbit.coin.kit.internal.service.mifare.p$h.a() calling method java.io.File.<init>()


    public final io.reactivex.ai a(com.fitbit.util.by p2)
    {
        io.reactivex.ai v2_1;
        kotlin.jvm.internal.ae.f(p2, "linkedCardArtOpt");
        if (!p2.c()) {
            v2_1 = com.fitbit.coin.kit.internal.service.mifare.p.c(this.a).b("ipass.txi");
        } else {
            v2_1 = io.reactivex.ai.b(new java.io.File(((com.fitbit.coin.kit.internal.LinkedCardArt) p2.b()).getCartArtTrackerImageFileUri()));
        }
        return v2_1;
    }

Method com.fitbit.bluetooth.AppSyncTask.a() calling method java.io.File.<init>()


    private void a(java.net.URI p2)
    {
        if (p2 != null) {
            if (new java.io.File(p2).delete()) {
                Object[] v0_4 = new Object[0];
                d.a.b.a("Cleaned up successfully!", v0_4);
                return;
            } else {
                Object[] v0_1 = new Object[0];
                d.a.b.e("There was a problem removing the cache file", v0_1);
                return;
            }
        } else {
            return;
        }
    }

Method com.fitbit.bluetooth.FirmwareUpdateTask.R() calling method java.io.File.<init>()


    private void R()
    {
        if (this.T != null) {
            com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[] v0_1 = this.T;
            int v2 = v0_1.length;
            int v3 = 0;
            while (v3 < v2) {
                java.net.URI v4_1 = v0_1[v3].getFwImage().getFileUri();
                String v5_2 = new java.io.File(v4_1).delete();
                if (v5_2 != null) {
                    Object[] v7 = new Object[0];
                    d.a.b.e("There was a problem removing the cache file", v7);
                }
                if (v5_2 == null) {
                    Object[] v6_2 = new Object[1];
                    v6_2[0] = v4_1;
                    d.a.b.a("Failed to clean up %s", v6_2);
                } else {
                    Object[] v6_3 = new Object[1];
                    v6_3[0] = v4_1;
                    d.a.b.a("Cleaned up %s successfully!", v6_3);
                }
                v3++;
            }
            return;
        } else {
            Object[] v1_1 = new Object[0];
            d.a.b.c("No firmware images to clean up!", v1_1);
            return;
        }
    }

Method com.fitbit.bluetooth.PairTrackerTask.i() calling method java.io.File.<init>()


    private void i()
    {
        if (this.l != null) {
            if (new java.io.File(this.l).delete()) {
                Object[] v1_1 = new Object[0];
                d.a.b.a("Cleaned up successfully!", v1_1);
                return;
            } else {
                Object[] v1_2 = new Object[0];
                d.a.b.e("There was a problem removing the cache file", v1_2);
                return;
            }
        } else {
            Object[] v1_3 = new Object[0];
            d.a.b.d("No temp file to clean up", v1_3);
            return;
        }
    }

Method com.fitbit.bluetooth.SyncBluetoothDeviceTask.a() calling method java.io.File.<init>()


    private void a(java.net.URI p2)
    {
        if (p2 != null) {
            if (new java.io.File(p2).delete()) {
                Object[] v0_4 = new Object[0];
                d.a.b.a("Cleaned up successfully!", v0_4);
                return;
            } else {
                Object[] v0_1 = new Object[0];
                d.a.b.e("There was a problem removing the cache file", v0_1);
                return;
            }
        } else {
            return;
        }
    }

Method com.fitbit.camera.SelfieCameraFragment$b.a() calling method java.io.File.<init>()


    protected android.net.Uri a()
    {
        android.database.Cursor v0_1 = this.getContext().getContentResolver().query(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, new String[] {"_id", "_data"}), 0, 0, "_id DESC");
        do {
            android.net.Uri v1_1 = 0;
            if ((v0_1 == null) || (!v0_1.moveToNext())) {
                if (v0_1 != null) {
                    v0_1.close();
                }
            } else {
                java.io.File v3_1 = new java.io.File(v0_1.getString(v0_1.getColumnIndex("_data")));
            }
            return v1_1;
        } while((!v3_1.exists()) || (!v3_1.canRead()));
        v1_1 = android.net.Uri.withAppendedPath(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, Long.toString(v0_1.getLong(v0_1.getColumnIndexOrThrow("_id"))));
    }

Method com.fitbit.bluetooth.di.x() calling method java.io.File.<init>()


    private void x()
    {
        if (this.N != null) {
            if (new java.io.File(this.N).delete()) {
                Object[] v1_0 = new Object[0];
                d.a.b.a("Cleaned up successfully!", v1_0);
                return;
            } else {
                Object[] v1_1 = new Object[0];
                d.a.b.e("There was a problem removing the cache file", v1_1);
                return;
            }
        } else {
            return;
        }
    }

Method com.fitbit.data.domain.device.FirmwareImage.getFileSize() calling method java.io.File.<init>()


    private int getFileSize()
    {
        if (this.fileLocationUri != null) {
            if (this.fileSize == -1) {
                this.fileSize = ((int) new java.io.File(this.fileLocationUri).length());
            }
            return this.fileSize;
        } else {
            return -1;
        }
    }

Method com.fitbit.data.encoders.a.a() calling method java.io.File.<init>()


    public static int a(java.net.URI p7)
    {
        void v0_1 = new ark>com.fitbit.data.encoders.aark>();
        byte[] v2_1 = 0;
        try {
            int v7_1 = okio.o.a(okio.o.a(new java.io.File(p7.getPath())));
            try {
                int v3_0 = new okio.c();
                try {
                    while (!v7_1.h()) {
                        v7_1.a(v3_0, 8192);
                        byte[] v2_2 = v3_0.z();
                        int v4_1 = v2_2.length;
                        int v5 = 0;
                        while (v5 < v4_1) {
                            v0_1 = v0_1.b(v2_2[v5]);
                            v5++;
                        }
                    }
                } catch (void v0_3) {
                    v2_1 = v7_1;
                    if (v2_1 != null) {
                        if (v3_0 != 0) {
                            v2_1.close();
                            v3_0.close();
                        }
                    }
                    throw v0_3;
                } catch (void v0_2) {
                    v2_1 = v7_1;
                    try {
                        int v1_2 = new Object[0];
                        d.a.b.e(v0_2, "Couldn\'t open the stream or find the file", v1_2);
                        throw v0_2;
                    } catch (void v0_3) {
                    }
                }
                if ((v7_1 != 0) && (v3_0 != 0)) {
                    v7_1.close();
                    v3_0.close();
                }
                return ((((v0_1.c << 8) & 65280) | (v0_1.d & 255)) & 65535);
            } catch (void v0_3) {
                v3_0 = 0;
            } catch (void v0_2) {
                v3_0 = 0;
            }
        } catch (void v0_3) {
            v3_0 = 0;
        } catch (void v0_2) {
            v3_0 = 0;
        }
    }

Method com.fitbit.data.repo.greendao.DaoFactory.exportDBToFile() calling method java.io.File.<init>()


    public declared_synchronized java.io.File exportDBToFile(String p8)
    {
        String v0_0 = 0;
        if (p8 != null) {
            try {
                String v1_6 = new java.io.File(com.fitbit.util.f.b.a(this.context), p8);
                try {
                    d.a.b$b v2_0 = new java.io.FileOutputStream(v1_6);
                } catch (String v1_2) {
                    v2_0 = 0;
                    String v0_1 = v1_2;
                    if (v2_0 != null) {
                        try {
                            v2_0.close();
                        } catch (String v1_3) {
                            Object[] v8_2 = new Object[0];
                            d.a.b.a(com.fitbit.data.repo.greendao.DaoFactory.TAG).d(com.fitbit.r.d.a(v1_3), v8_2);
                        }
                    }
                    throw v0_1;
                } catch (java.io.IOException) {
                    v2_0 = 0;
                    v1_6.delete();
                    if (v2_0 == null) {
                        return v0_0;
                    } else {
                        try {
                            v2_0.close();
                        } catch (String v1_0) {
                            Object[] v8_1 = new Object[0];
                            d.a.b.a(com.fitbit.data.repo.greendao.DaoFactory.TAG).d(com.fitbit.r.d.a(v1_0), v8_1);
                        }
                        return v0_0;
                    }
                    java.util.zip.ZipOutputStream v3_1.finish();
                    v3_1.close();
                    if (v2_0 != null) {
                        try {
                            v2_0.close();
                        } catch (String v0_2) {
                            Object[] v8_3 = new Object[0];
                            d.a.b.a(com.fitbit.data.repo.greendao.DaoFactory.TAG).d(com.fitbit.r.d.a(v0_2), v8_3);
                        }
                    }
                    v0_0 = v1_6;
                } catch (String v0_1) {
                }
                v3_1 = new java.util.zip.ZipOutputStream(v2_0);
                byte[] v4_1 = new byte[8192];
                if (this.helper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.helper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.swapHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.swapHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.activityHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.activityHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.generalDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.generalDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.mobileTrackDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.mobileTrackDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.heartRateDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.heartRateDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.socialDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.socialDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.foodDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.foodDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
            } catch (Object[] v8_4) {
                throw v8_4;
            }
        }
        return v0_0;
    }

Method com.fitbit.data.repo.o.f() calling method java.io.File.<init>()


    private static java.io.File f()
    {
        java.io.File v0_1 = new java.io.File(com.fitbit.FitBitApplication.a().getCacheDir(), "datacache");
        if ((!v0_1.exists()) || (!v0_1.isDirectory())) {
            v0_1.mkdir();
        }
        return v0_1;
    }

Method com.fitbit.data.repo.o.a() calling method java.io.File.<init>()


    public declared_synchronized byte[] a(String p6)
    {
        try {
            this.e();
            int v0_4 = new java.io.File(this.e, com.fitbit.util.an.a(p6));
        } catch (Throwable v6_2) {
            throw v6_2;
        }
        if (v0_4.exists()) {
            try {
                int v1_1 = new java.io.FileInputStream(v0_4);
                try {
                    int v0_1 = new java.io.ByteArrayOutputStream();
                    try {
                        com.fitbit.util.q.a(v1_1, v0_1);
                        java.io.IOException v3_1 = v0_1.toByteArray();
                    } catch (java.io.IOException v3_0) {
                        com.fitbit.r.d.e("DiskDataCache", v3_0);
                        com.fitbit.util.q.a(v1_1);
                        com.fitbit.util.q.a(v0_1);
                    }
                    com.fitbit.util.q.a(v1_1);
                    com.fitbit.util.q.a(v0_1);
                    return v3_1;
                } catch (Throwable v6_1) {
                    v0_1 = 0;
                    com.fitbit.util.q.a(v1_1);
                    com.fitbit.util.q.a(v0_1);
                    throw v6_1;
                } catch (java.io.IOException v3_0) {
                    v0_1 = 0;
                }
            } catch (Throwable v6_1) {
                v0_1 = 0;
                v1_1 = 0;
            } catch (java.io.IOException v3_0) {
                v0_1 = 0;
                v1_1 = 0;
            }
        }
        java.io.IOException v3_3 = new Object[1];
        v3_3[0] = p6;
        com.fitbit.r.d.a("DiskDataCache", "File does not exist: %s", v3_3);
        return 0;
    }

Method com.fitbit.data.repo.o.b() calling method java.io.File.<init>()


    public declared_synchronized void b(String p3)
    {
        try {
            java.io.File v0_1 = new java.io.File(this.e, com.fitbit.util.an.a(p3));
        } catch (Throwable v3_3) {
            throw v3_3;
        }
        if (v0_1.exists()) {
            v0_1.delete();
        }
        return;
    }

Method com.fitbit.data.repo.o.c() calling method java.io.File.<init>()


    public boolean c(String p3)
    {
        return new java.io.File(this.e, com.fitbit.util.an.a(p3)).exists();
    }

Method com.fitbit.fbcomms.appsync.c$a.a() calling method java.io.File.<init>()


    public final byte[] a()
    {
        String v0_0 = 0;
        try {
            Object[] v1_2 = ((java.io.Closeable) okio.o.a(okio.o.a(new java.io.File(this.a.a))));
            String v2_1 = ((Throwable) 0);
            try {
                byte[] v3_2 = ((okio.e) v1_2).z();
            } catch (String v0_2) {
                kotlin.io.b.a(v1_2, v2_1);
                throw v0_2;
            } catch (String v0_1) {
                v2_1 = v0_1;
                throw v2_1;
            }
            kotlin.io.b.a(v1_2, ((Throwable) 0));
            Object[] v1_4 = new StringBuilder();
            v1_4.append("Received response from site: ");
            if (v3_2 != null) {
                v0_0 = Integer.valueOf(v3_2.length);
            }
            v1_4.append(v0_0);
            v1_4.append(" bytes");
            Object[] v1_10 = new Object[0];
            d.a.b.c(v1_4.toString(), v1_10);
            if (v3_2 == null) {
                kotlin.jvm.internal.ae.a();
            }
            return v3_2;
        } catch (String v0_4) {
            throw ((Throwable) new com.fitbit.fbcomms.appsync.AppdumpSiteResourceException("Failed to read appdump from file system", ((Throwable) v0_4)));
        }
    }

Method com.fitbit.fbcomms.sync.b.a() calling method java.io.File.<init>()


    public final byte[] a(java.net.URI p4)
    {
        kotlin.jvm.internal.ae.f(p4, "fileUri");
        try {
            String v4_8 = ((java.io.Closeable) okio.o.a(okio.o.a(new java.io.File(p4))));
            Throwable v0_1 = ((Throwable) 0);
            try {
                Throwable v1_2 = ((okio.e) v4_8).z();
                kotlin.jvm.internal.ae.b(v1_2, "it.readByteArray()");
            } catch (Throwable v1_3) {
                kotlin.io.b.a(v4_8, v0_1);
                throw v1_3;
            } catch (Throwable v0_1) {
                throw v0_1;
            }
            kotlin.io.b.a(v4_8, ((Throwable) 0));
            kotlin.jvm.internal.ae.b(v1_2, "Okio.buffer(Okio.source(\u2026se { it.readByteArray() }");
            return v1_2;
        } catch (String v4_4) {
            throw ((Throwable) new com.fitbit.fbcomms.sync.MegadumpSiteResourceException("Failed to read megadump from file system", ((Throwable) v4_4)));
        } catch (String v4_2) {
            throw ((Throwable) new com.fitbit.fbcomms.sync.MegadumpSiteResourceException("Failed to find megadump in file system", ((Throwable) v4_2)));
        }
    }

Method com.fitbit.food.barcode.c.b.a() calling method java.io.File.<init>()


    public static java.io.File a(android.content.Context p1)
    {
        boolean v1_1 = p1.getCacheDir();
        java.io.File v0_3 = new StringBuilder();
        v0_3.append(v1_1.getAbsolutePath());
        v0_3.append(ark>com.fitbit.food.barcode.c.bark>.d);
        java.io.File v0_1 = new java.io.File(v0_3.toString());
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        if (!v0_1.isDirectory()) {
            v0_1.delete();
            v0_1.mkdirs();
        }
        return v0_1;
    }

Method okhttp3.internal.a.d$b.<init>() calling method java.io.File.<init>()


    d$b(okhttp3.internal.a.d p7, String p8)
    {
        this.h = p7;
        this.a = p8;
        StringBuilder v0_4 = new long[p7.j];
        this.b = v0_4;
        StringBuilder v0_6 = new java.io.File[p7.j];
        this.c = v0_6;
        StringBuilder v0_0 = new java.io.File[p7.j];
        this.d = v0_0;
        StringBuilder v0_2 = new StringBuilder(p8);
        v0_2.append(46);
        int v8_2 = v0_2.length();
        int v1 = 0;
        while (v1 < p7.j) {
            v0_2.append(v1);
            this.c[v1] = new java.io.File(p7.i, v0_2.toString());
            v0_2.append(".tmp");
            this.d[v1] = new java.io.File(p7.i, v0_2.toString());
            v0_2.setLength(v8_2);
            v1++;
        }
        return;
    }

Method com.fitbit.food.barcode.c.c.a() calling method java.io.File.<init>()


    public static void a(android.content.Context p8)
    {
        int v3_1 = new Object[0];
        com.fitbit.r.d.d("NutritionixFilesUtils", "start deleting uploaded files", v3_1);
        java.io.File v8_1 = com.fitbit.food.barcode.c.b.a(p8);
        if (v8_1.isDirectory()) {
            String[] v0_1 = v8_1.list();
            int v1_1 = v0_1.length;
            int v3_0 = 0;
            while (v3_0 < v1_1) {
                String v5_1 = new java.io.File(v8_1, v0_1[v3_0]);
                String v4_1 = v5_1.getAbsolutePath();
                v5_1.delete();
                Object[] v6_1 = new StringBuilder();
                v6_1.append("file has been deleted: ");
                v6_1.append(v4_1);
                Object[] v6_2 = new Object[0];
                com.fitbit.r.d.d("NutritionixFilesUtils", v6_1.toString(), v6_2);
                v3_0++;
            }
        }
        return;
    }

Method net.hockeyapp.android.PaintActivity$3.a() calling method java.io.File.<init>()


    protected varargs Boolean a(Void[] p8)
    {
        Boolean v8_4 = new java.io.File(this.c.getCacheDir(), "HockeyApp");
        if ((v8_4.exists()) || (v8_4.mkdir())) {
            String v0_3 = net.hockeyapp.android.PaintActivity.a(this.c, net.hockeyapp.android.PaintActivity.a(this.c), net.hockeyapp.android.PaintActivity.a(this.c).getLastPathSegment());
            int v2_3 = new StringBuilder();
            v2_3.append(v0_3);
            v2_3.append(".jpg");
            this.a = new java.io.File(v8_4, v2_3.toString());
            android.graphics.Bitmap$CompressFormat v3_6 = 1;
            while (this.a.exists()) {
                String v5_1 = new StringBuilder();
                v5_1.append(v0_3);
                v5_1.append("_");
                v5_1.append(v3_6);
                v5_1.append(".jpg");
                this.a = new java.io.File(v8_4, v5_1.toString());
                v3_6++;
            }
            try {
                Boolean v8_2 = new java.io.FileOutputStream(this.a);
                this.b.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v8_2);
                v8_2.close();
                return Boolean.valueOf(1);
            } catch (Boolean v8_5) {
                net.hockeyapp.android.d.e.e("Could not save image.", v8_5);
                return Boolean.valueOf(0);
            }
        } else {
            return Boolean.valueOf(0);
        }
    }

Method net.hockeyapp.android.PaintActivity.a() calling method java.io.File.<init>()


    private String a(android.net.Uri p8, String p9)
    {
        java.io.File v8_1 = this.getApplicationContext().getContentResolver().query(p8, new String[] {"_data"}), 0, 0, 0);
        String v0_1 = 0;
        if (v8_1 != null) {
            try {
                if (v8_1.moveToFirst()) {
                    v0_1 = v8_1.getString(0);
                }
            } catch (String v9_1) {
                v8_1.close();
                throw v9_1;
            }
            v8_1.close();
        }
        if (v0_1 != null) {
            p9 = new java.io.File(v0_1).getName();
        }
        return p9;
    }

Method net.hockeyapp.android.b.b() calling method java.io.File.<init>()


    public static java.io.File b(android.content.Context p2)
    {
        String v2_2;
        java.io.File v0_1 = new java.io.File(p2.getExternalFilesDir(0), "HockeyApp");
        if ((!v0_1.exists()) && (!v0_1.mkdirs())) {
            v2_2 = 0;
        } else {
            v2_2 = 1;
        }
        if (v2_2 == null) {
            net.hockeyapp.android.d.e.d("Couldn\'t create HockeyApp Storage dir");
        }
        return v0_1;
    }

Method net.hockeyapp.android.c.a$d.a() calling method java.io.File.<init>()


    protected varargs Boolean a(Void[] p4)
    {
        Boolean v4_3 = this.a.a();
        java.io.File v0_1 = new java.io.File(net.hockeyapp.android.b.b(this.c), v4_3.g());
        if (!v0_1.exists()) {
            net.hockeyapp.android.d.e.e("Downloading...");
            Boolean v4_2 = this.a(v4_3.d(), v0_1);
            if (v4_2 != null) {
                this.a(v0_1);
            }
            return Boolean.valueOf(v4_2);
        } else {
            net.hockeyapp.android.d.e.e("Cached...");
            this.a(v0_1);
            return Boolean.valueOf(1);
        }
    }

Method net.hockeyapp.android.c.e.<init>() calling method java.io.File.<init>()


    public e(android.content.Context p3, String p4, net.hockeyapp.android.b.a p5)
    {
        this.b = p3;
        this.d = p4;
        java.io.File v4_5 = new StringBuilder();
        v4_5.append(java.util.UUID.randomUUID());
        v4_5.append(".apk");
        this.e = v4_5.toString();
        this.f = new java.io.File(p3.getExternalFilesDir(0), "Download");
        this.c = p5;
        this.h = 0;
        return;
    }

Method net.hockeyapp.android.c.e.a() calling method java.io.File.<init>()


    protected varargs Long a(Void[] p13)
    {
        Long v13_0 = 0;
        try {
            java.io.IOException v2_7 = this.a(new java.net.URL(this.b()), 6);
            v2_7.connect();
            String v3_1 = v2_7.getContentLength();
            int v4_1 = v2_7.getContentType();
        } catch (Throwable v0_2) {
            java.io.BufferedInputStream v5_0 = 0;
            try {
                if (v13_0 == null) {
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                } else {
                    v13_0.close();
                }
            } catch (java.io.IOException) {
            }
            throw v0_2;
        } catch (java.io.IOException v2_4) {
            v5_0 = 0;
            String v3_8 = new StringBuilder();
            v3_8.append("Failed to download ");
            v3_8.append(this.d);
            net.hockeyapp.android.d.e.e(v3_8.toString(), v2_4);
            Throwable v0_1 = Long.valueOf(0);
            try {
                if (v13_0 == null) {
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                } else {
                    v13_0.close();
                }
            } catch (java.io.IOException) {
            }
            return v0_1;
        } catch (Throwable v0_2) {
        }
        if ((v4_1 == 0) || (!v4_1.contains("text"))) {
            if ((this.f.mkdirs()) || (this.f.exists())) {
                int v4_8 = new java.io.File(this.f, this.e);
                v5_0 = new java.io.BufferedInputStream(v2_7.getInputStream());
                try {
                    java.io.IOException v2_3 = new java.io.FileOutputStream(v4_8);
                    v13_0 = 1024;
                    try {
                        Long v13_1 = new byte[1024];
                        long v6_1 = 0;
                    } catch (Throwable v0_2) {
                        v13_0 = v2_3;
                    } catch (Long v13_3) {
                        v2_4 = v13_3;
                        v13_0 = v2_3;
                    }
                    while(true) {
                        int v4_9 = v5_0.read(v13_1);
                        if (v4_9 == -1) {
                            break;
                        }
                        v6_1 += ((long) v4_9);
                        Integer[] v8_3 = new Integer[1];
                        v8_3[0] = Integer.valueOf(Math.round(((((float) v6_1) * 1120403456) / ((float) v3_1))));
                        this.publishProgress(v8_3);
                        v2_3.write(v13_1, 0, v4_9);
                    }
                    v2_3.flush();
                    Long v13_2 = Long.valueOf(v6_1);
                    try {
                        if (v2_3 == null) {
                            if (v5_0 != null) {
                                v5_0.close();
                            }
                        } else {
                            v2_3.close();
                        }
                    } catch (java.io.IOException) {
                    }
                    return v13_2;
                } catch (java.io.IOException v2_4) {
                }
            } else {
                String v3_5 = new StringBuilder();
                v3_5.append("Could not create the dir(s):");
                v3_5.append(this.f.getAbsolutePath());
                throw new java.io.IOException(v3_5.toString());
            }
        } else {
            this.h = "The requested download does not appear to be a file.";
            return Long.valueOf(0);
        }
    }

Method net.hockeyapp.android.c.e.a() calling method java.io.File.<init>()

Couldn't retrieve source code

Method net.hockeyapp.android.d.m.a() calling method java.io.File.<init>()


    public static boolean a(android.content.Context p5, long p6)
    {
        int v0 = 0;
        if (p5 != null) {
            try {
                if (p6 > ((new java.io.File(p5.getPackageManager().getApplicationInfo(p5.getPackageName(), 0).sourceDir).lastModified() / 1000) + 1800)) {
                    v0 = 1;
                }
            } catch (android.content.pm.PackageManager$NameNotFoundException v5_2) {
                net.hockeyapp.android.d.e.e("Failed to get application info", v5_2);
                return 0;
            }
            return v0;
        } else {
            return 0;
        }
    }

Method net.hockeyapp.android.e.a() calling method java.io.File.<init>()


    private static void a(android.content.Context p3, String p4, String p5)
    {
        if (!android.text.TextUtils.isEmpty(p4)) {
            java.io.BufferedWriter v0_1 = 0;
            try {
                java.io.BufferedWriter v3_2;
                String v1_2 = new java.io.File(p3.getFilesDir(), p5);
            } catch (java.io.IOException v4_2) {
                if (v0_1 != null) {
                    v0_1.close();
                }
                throw v4_2;
            } catch (java.io.IOException v4_1) {
                java.io.BufferedWriter v3_5 = new StringBuilder();
                v3_5.append("Failed to write value to ");
                v3_5.append(p5);
                net.hockeyapp.android.d.e.e(v3_5.toString(), v4_1);
                if (v0_1 == null) {
                    return;
                } else {
                    v0_1.close();
                    return;
                }
                if (v3_2 == null) {
                    return;
                } else {
                    v3_2.close();
                    return;
                }
            }
            if ((android.text.TextUtils.isEmpty(p4)) || (android.text.TextUtils.getTrimmedLength(p4) <= 0)) {
                v3_2 = 0;
            } else {
                v3_2 = new java.io.BufferedWriter(new java.io.FileWriter(v1_2));
                try {
                    v3_2.write(p4);
                    v3_2.flush();
                } catch (java.io.IOException v4_2) {
                    v0_1 = v3_2;
                } catch (java.io.IOException v4_1) {
                    v0_1 = v3_2;
                }
            }
        } else {
            return;
        }
    }

Method net.hockeyapp.android.g$3.a() calling method java.io.File.<init>()


    protected varargs Boolean a(Void[] p6)
    {
        Boolean v6_1 = net.hockeyapp.android.b.b(this.b);
        String v1_9 = new StringBuilder();
        v1_9.append(this.c);
        v1_9.append(".jpg");
        this.a = new java.io.File(v6_1, v1_9.toString());
        String v1_1 = 1;
        while (this.a.exists()) {
            int v3_2 = new StringBuilder();
            v3_2.append(this.c);
            v3_2.append("_");
            v3_2.append(v1_1);
            v3_2.append(".jpg");
            this.a = new java.io.File(v6_1, v3_2.toString());
            v1_1++;
        }
        try {
            Boolean v6_3 = new java.io.FileOutputStream(this.a);
            this.d.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v6_3);
            v6_3.close();
            Boolean v6_5 = new StringBuilder();
            v6_5.append("Screenshot \'");
            v6_5.append(this.a.getName());
            v6_5.append("\' has been saved");
            net.hockeyapp.android.d.e.b(v6_5.toString());
            return Boolean.valueOf(1);
        } catch (Boolean v6_8) {
            net.hockeyapp.android.d.e.e("Could not save screenshot.", v6_8);
            return Boolean.valueOf(0);
        }
    }

Method net.hockeyapp.android.metrics.e.a() calling method java.io.File.<init>()

Couldn't retrieve source code

Method net.hockeyapp.android.metrics.e.d() calling method java.io.File.<init>()


    protected java.io.File d()
    {
        String v0_0 = this.g();
        if ((v0_0 != null) && (v0_0.getFilesDir() != null)) {
            java.io.File v1_0 = new java.io.File(v0_0.getFilesDir(), "/net.hockeyapp.android/telemetry/");
            if ((!v1_0.exists()) && (!v1_0.mkdirs())) {
                net.hockeyapp.android.d.e.e("Couldn\'t create directory for telemetry data");
            } else {
                return v1_0;
            }
        }
        return 0;
    }

Method net.hockeyapp.android.objects.a.a() calling method java.io.File.<init>()


    public void a(android.content.Context p4)
    {
        String v4_3 = p4.getFilesDir();
        String v1_3 = new StringBuilder();
        v1_3.append(this.o);
        v1_3.append(".stacktrace");
        try {
            this.b(new java.io.File(v4_3, v1_3.toString()));
        } catch (String v4_1) {
            StringBuilder v0_3 = new StringBuilder();
            v0_3.append("Could not write crash report with error ");
            v0_3.append(v4_1.toString());
            net.hockeyapp.android.d.e.e(v0_3.toString());
        }
        return;
    }

Method okhttp3.internal.a.d.<init>() calling method java.io.File.<init>()


    d(okhttp3.internal.e.a p7, java.io.File p8, int p9, int p10, long p11, java.util.concurrent.Executor p13)
    {
        this.C = 0;
        this.l = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.D = 0;
        this.F = new okhttp3.internal.a.d$1(this);
        this.h = p7;
        this.i = p8;
        this.A = p9;
        this.x = new java.io.File(p8, "journal");
        this.y = new java.io.File(p8, "journal.tmp");
        this.z = new java.io.File(p8, "journal.bkp");
        this.j = p10;
        this.B = p11;
        this.E = p13;
        return;
    }

Method com.fitbit.fbcomms.fwup.c.a() calling method java.io.File.<init>()


    public void a()
    {
        com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[] v0_3;
        if (this.a.length != 0) {
            v0_3 = 0;
        } else {
            v0_3 = 1;
        }
        if (v0_3 == null) {
            com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[] v0_4 = this.a;
            int v3 = v0_4.length;
            int v4 = 0;
            while (v4 < v3) {
                java.net.URI v5_0 = v0_4[v4];
                if (v5_0 != null) {
                    java.net.URI v5_2 = v5_0.getFwImage().getFileUri();
                    if (!new java.io.File(v5_2).delete()) {
                        Object[] v7_0 = new Object[1];
                        v7_0[0] = v5_2;
                        d.a.b.a("Failed to clean up %s", v7_0);
                    } else {
                        Object[] v7_1 = new Object[1];
                        v7_1[0] = v5_2;
                        d.a.b.a("Cleaned up %s successfully!", v7_1);
                    }
                }
                v4++;
            }
            return;
        } else {
            Object[] v1_1 = new Object[0];
            d.a.b.a("No firmware update image info files to cleanup", v1_1);
            return;
        }
    }

Method com.fitbit.food.barcode.a.n.onPictureTaken() calling method java.io.File.<init>()


    public void onPictureTaken(byte[] p6, android.hardware.Camera p7)
    {
        if ((this.c != null) && ((p6 != null) && (this.b != null))) {
            java.io.File v0_7 = new StringBuilder();
            v0_7.append("Receive data from camera, length = ");
            v0_7.append(p6.length);
            String v2_0 = new Object[0];
            com.fitbit.r.d.d(com.fitbit.food.barcode.a.n.a, v0_7.toString(), v2_0);
            java.io.File v0_2 = new StringBuilder();
            v0_2.append("Free memory = ");
            v0_2.append(Runtime.getRuntime().freeMemory());
            String v2_4 = new Object[0];
            com.fitbit.r.d.d(com.fitbit.food.barcode.a.n.a, v0_2.toString(), v2_4);
            java.io.File v0_5 = new java.io.File(com.fitbit.food.barcode.c.b.a(this.d), this.b);
            try {
                String v7_6 = new java.io.FileOutputStream(v0_5);
                try {
                    v7_6.write(p6);
                    v7_6.flush();
                    try {
                        v7_6.close();
                    } catch (java.io.IOException v6_2) {
                        String v7_7 = com.fitbit.food.barcode.a.n.a;
                        String v2_7 = "Exception when closing output stream";
                        Object[] v3_1 = new Object[0];
                        com.fitbit.r.d.e(v7_7, v2_7, v6_2, v3_1);
                    }
                    this.c.a(android.net.Uri.fromFile(v0_5));
                } catch (java.io.IOException v6_3) {
                    try {
                        v7_6.close();
                    } catch (String v7_9) {
                        Object[] v4_1 = new Object[0];
                        com.fitbit.r.d.e(com.fitbit.food.barcode.a.n.a, "Exception when closing output stream", v7_9, v4_1);
                    }
                    throw v6_3;
                } catch (java.io.IOException v6_1) {
                    Object[] v4_0 = new Object[0];
                    com.fitbit.r.d.f(com.fitbit.food.barcode.a.n.a, "Exception when writing data to output stream", v6_1, v4_0);
                    try {
                        v7_6.close();
                    } catch (java.io.IOException v6_2) {
                        v7_7 = com.fitbit.food.barcode.a.n.a;
                        v2_7 = "Exception when closing output stream";
                        v3_1 = new Object[0];
                    }
                }
            } catch (java.io.IOException v6_4) {
                Object[] v1_2 = new Object[0];
                com.fitbit.r.d.f(com.fitbit.food.barcode.a.n.a, "Exception when creating FileOutputStream", v6_4, v1_2);
            }
        }
        return;
    }

Method com.fitbit.httpcore.FitbitHttpConfig$a.a() calling method java.io.File.<init>()


    public java.io.File a()
    {
        return new java.io.File(this.a.getCacheDir(), "httpcache");
    }

Method org.apache.commons.io.monitor.FileAlterationObserver.<init>() calling method java.io.File.<init>()


    public FileAlterationObserver(String p2, java.io.FileFilter p3)
    {
        this(new java.io.File(p2), p3);
        return;
    }

Method net.hockeyapp.android.c.i.b() calling method java.io.File.<init>()


    private void b(java.util.HashMap p7)
    {
        java.io.File[] v7_7 = ((String) p7.get("status"));
        if ((v7_7 != null) && ((v7_7.startsWith("2")) && (this.f != null))) {
            java.io.File[] v7_2 = new java.io.File(this.f.getCacheDir(), "HockeyApp");
            int v1_1 = 0;
            if (v7_2.exists()) {
                java.io.File[] v7_4 = v7_2.listFiles();
                int v0_4 = v7_4.length;
                String v2_0 = 0;
                while (v2_0 < v0_4) {
                    String v3_5 = v7_4[v2_0];
                    if ((v3_5 != null) && (!Boolean.valueOf(v3_5.delete()).booleanValue())) {
                        net.hockeyapp.android.d.e.b("SendFeedbackTask", "Error deleting file from temporary folder");
                    }
                    v2_0++;
                }
            }
            java.io.File[] v7_8 = net.hockeyapp.android.b.b(this.f).listFiles(new net.hockeyapp.android.c.i$1(this));
            int v0_7 = v7_8.length;
            while (v1_1 < v0_7) {
                String v2_1 = v7_8[v1_1];
                if (this.n.contains(android.net.Uri.fromFile(v2_1))) {
                    if (!v2_1.delete()) {
                        net.hockeyapp.android.d.e.e("SendFeedbackTask", "Error deleting screenshot");
                    } else {
                        StringBuilder v4_2 = new StringBuilder();
                        v4_2.append("Screenshot \'");
                        v4_2.append(v2_1.getName());
                        v4_2.append("\' has been deleted");
                        net.hockeyapp.android.d.e.b("SendFeedbackTask", v4_2.toString());
                    }
                }
                v1_1++;
            }
        }
        return;
    }

Method com.fitbit.device.ui.setup.AbstractConfirmDeviceActivity$c.a() calling method java.io.File.<init>()

Couldn't retrieve source code

Method com.fitbit.platform.d.b() calling method java.io.File.<init>()


    public final java.io.File b(java.util.UUID p4, com.fitbit.platform.domain.companion.CompanionDownloadSource p5)
    {
        kotlin.jvm.internal.ae.f(p4, "appUuid");
        kotlin.jvm.internal.ae.f(p5, "downloadSource");
        java.io.File v1 = this.b;
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(p4.toString());
        v2_1.append(p5.name());
        return new java.io.File(v1, v2_1.toString());
    }

Method com.fitbit.platform.d.c() calling method java.io.File.<init>()


    public final java.io.File c(java.util.UUID p2, int p3, com.fitbit.platform.domain.companion.CompanionDownloadSource p4)
    {
        kotlin.jvm.internal.ae.f(p2, "appUuid");
        kotlin.jvm.internal.ae.f(p4, "downloadSource");
        String v2_7 = this.b(p2, p4);
        if ((!v2_7.exists()) || (v2_7.isDirectory())) {
            if ((v2_7.exists()) || (v2_7.mkdirs())) {
                return new java.io.File(v2_7, String.valueOf(p3));
            } else {
                StringBuilder v4_7 = new StringBuilder();
                v4_7.append("Directory ");
                v4_7.append(v2_7.getName());
                v4_7.append(" couldn\'t be created");
                throw ((Throwable) new java.io.IOException(v4_7.toString()));
            }
        } else {
            StringBuilder v4_9 = new StringBuilder();
            v4_9.append("Directory ");
            v4_9.append(v2_7.getName());
            v4_9.append(" doesn\'t exist or isn\'t a directory");
            throw ((Throwable) new java.io.IOException(v4_9.toString()));
        }
    }

Method com.fitbit.platform.packages.companion.f.a() calling method java.io.File.<init>()


    private java.io.File a(java.io.File p2, String p3)
    {
        return new java.io.File(p2, p3);
    }

Method com.fitbit.platform.packages.companion.j.b() calling method java.io.File.<init>()


    static void b(String p3)
    {
        if (p3.equals(new java.io.File(p3).getName())) {
            return;
        } else {
            StringBuilder v1_0 = new StringBuilder();
            v1_0.append("Invalid file name: ");
            v1_0.append(p3);
            throw new IllegalArgumentException(v1_0.toString());
        }
    }

Method com.fitbit.platform.packages.companion.k.a() calling method java.io.File.<init>()


    final synthetic com.fitbit.platform.packages.companion.i a(String p7, okio.e p8)
    {
        boolean v1_1 = 0;
        try {
            int v3_0 = new java.io.File(this.f.getDir("fitbit-packages-tmp", 0), p7);
            try {
                java.io.IOException v0_4 = new Object[1];
                v0_4[0] = v3_0;
                d.a.b.b("Writing downloaded file to %s", v0_4);
                String v7_3 = okio.o.a(okio.o.b(v3_0));
                try {
                    v7_3.a(p8);
                    v7_3.flush();
                    java.io.IOException v0_7 = this.e.c(v3_0);
                    okhttp3.internal.c.a(v7_3);
                    okhttp3.internal.c.a(p8);
                } catch (java.io.IOException v0_2) {
                    v1_1 = v7_3;
                    okhttp3.internal.c.a(v1_1);
                    okhttp3.internal.c.a(p8);
                    if (v3_0 != 0) {
                        if (!v3_0.delete()) {
                            Object[] v8_1 = new Object[0];
                            d.a.b.d("Destination file could not be deleted", v8_1);
                        }
                    }
                    throw v0_2;
                } catch (java.io.IOException v0_1) {
                    v1_1 = v7_3;
                    Object[] v5_1 = new Object[0];
                    throw com.fitbit.platform.exception.CompanionInstallationException.a.a(v0_1, "Destination file was not properly created", v5_1);
                } catch (java.io.IOException v0_5) {
                    v1_1 = v7_3;
                    Object[] v5_0 = new Object[0];
                    throw com.fitbit.platform.exception.CompanionInstallationException.a.a(v0_5, "Error creating package", v5_0);
                }
                if ((v3_0 != 0) && (!v3_0.delete())) {
                    Object[] v8_2 = new Object[0];
                    d.a.b.d("Destination file could not be deleted", v8_2);
                }
                return v0_7;
            } catch (java.io.IOException v0_1) {
            } catch (java.io.IOException v0_5) {
            }
        } catch (java.io.IOException v0_2) {
            v3_0 = 0;
        } catch (java.io.IOException v0_5) {
            v3_0 = 0;
        } catch (java.io.IOException v0_2) {
        }
    }

Method com.fitbit.profile.userdata.UserDataService.a() calling method java.io.File.<init>()


    public final java.io.File a(android.content.Context p2, com.fitbit.data.domain.e p3, ark>com.fitbit.profile.userdata.UserDataServiceark>s p4)
    {
        kotlin.jvm.internal.ae.f(p2, "context");
        kotlin.jvm.internal.ae.f(p3, "user");
        kotlin.jvm.internal.ae.f(p4, "service");
        java.io.File v0_1 = new java.io.File(this.b(p2, p3), p4.a());
        this.a(v0_1);
        return v0_1;
    }

Method com.fitbit.profile.userdata.UserDataService.a() calling method java.io.File.<init>()


    public final java.io.File a(android.content.Context p2, com.fitbit.data.domain.e p3, ark>com.fitbit.profile.userdata.UserDataServiceark>s p4, String p5)
    {
        kotlin.jvm.internal.ae.f(p2, "context");
        kotlin.jvm.internal.ae.f(p3, "user");
        kotlin.jvm.internal.ae.f(p4, "service");
        kotlin.jvm.internal.ae.f(p5, "filename");
        return new java.io.File(this.a(p2, p3, p4), p5);
    }

Method com.fitbit.profile.userdata.UserDataService.b() calling method java.io.File.<init>()


    public final java.io.File b(android.content.Context p6, com.fitbit.data.domain.e p7)
    {
        kotlin.jvm.internal.ae.f(p6, "context");
        kotlin.jvm.internal.ae.f(p7, "user");
        java.io.File v6_1 = p6.getFilesDir();
        String[] v2_0 = new String[2];
        v2_0[0] = "User";
        v2_0[1] = p7.getEncodedId();
        return new java.io.File(v6_1, android.text.TextUtils.join(((CharSequence) java.io.File.separator), ((Iterable) java.util.Arrays.asList(v2_0))));
    }

Method org.apache.commons.io.e$b.b() calling method java.io.File.<init>()


    public boolean b()
    {
        return this.b.a(new java.io.File(this.a));
    }

Method org.apache.commons.io.g.a() calling method java.io.File.<init>()


    public static long a(long p2)
    {
        return ark>org.apache.commons.io.gark>.a(new java.io.File(".").getAbsolutePath(), p2);
    }

Method org.apache.commons.io.h.a() calling method java.io.File.<init>()


    public static varargs java.io.File a(java.io.File p4, String[] p5)
    {
        if (p4 != null) {
            if (p5 != null) {
                int v0 = p5.length;
                int v1 = 0;
                while (v1 < v0) {
                    java.io.File v3_1 = new java.io.File(p4, p5[v1]);
                    v1++;
                    p4 = v3_1;
                }
                return p4;
            } else {
                throw new NullPointerException("names must not be null");
            }
        } else {
            throw new NullPointerException("directorydirectory must not be null");
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.File.<init>()


    public static java.io.File a(java.net.URL p2)
    {
        if ((p2 != null) && ("file".equalsIgnoreCase(p2.getProtocol()))) {
            return new java.io.File(ark>org.apache.commons.io.hark>.a(p2.getFile().replace(47, java.io.File.separatorChar)));
        } else {
            return 0;
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.File.<init>()


    public static varargs java.io.File a(String[] p5)
    {
        if (p5 != null) {
            java.io.File v0_0 = 0;
            int v1 = p5.length;
            int v2 = 0;
            while (v2 < v1) {
                NullPointerException v3 = p5[v2];
                if (v0_0 != null) {
                    v0_0 = new java.io.File(v0_0, v3);
                } else {
                    v0_0 = new java.io.File(v3);
                }
                v2++;
            }
            return v0_0;
        } else {
            throw new NullPointerException("names must not be null");
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.File.<init>()


    public static void a(java.io.File p6, java.io.File p7, java.io.FileFilter p8, boolean p9)
    {
        if (p6 != null) {
            if (p7 != null) {
                if (p6.exists()) {
                    if (p6.isDirectory()) {
                        if (!p6.getCanonicalPath().equals(p7.getCanonicalPath())) {
                            java.util.ArrayList v0_1 = 0;
                            if (p7.getCanonicalPath().startsWith(p6.getCanonicalPath())) {
                                java.io.File[] v1_3;
                                if (p8 != null) {
                                    v1_3 = p6.listFiles(p8);
                                } else {
                                    v1_3 = p6.listFiles();
                                }
                                if ((v1_3 != null) && (v1_3.length > 0)) {
                                    v0_1 = new java.util.ArrayList(v1_3.length);
                                    int v2_3 = v1_3.length;
                                    int v3 = 0;
                                    while (v3 < v2_3) {
                                        v0_1.add(new java.io.File(p7, v1_3[v3].getName()).getCanonicalPath());
                                        v3++;
                                    }
                                }
                            }
                            ark>org.apache.commons.io.hark>.a(p6, p7, p8, p9, v0_1);
                            return;
                        } else {
                            StringBuilder v9_2 = new StringBuilder();
                            v9_2.append("Source \'");
                            v9_2.append(p6);
                            v9_2.append("\' and destination \'");
                            v9_2.append(p7);
                            v9_2.append("\' are the same");
                            throw new java.io.IOException(v9_2.toString());
                        }
                    } else {
                        java.io.IOException v8_4 = new StringBuilder();
                        v8_4.append("Source \'");
                        v8_4.append(p6);
                        v8_4.append("\' exists but is not a directory");
                        throw new java.io.IOException(v8_4.toString());
                    }
                } else {
                    java.io.IOException v8_6 = new StringBuilder();
                    v8_6.append("Source \'");
                    v8_6.append(p6);
                    v8_6.append("\' does not exist");
                    throw new java.io.FileNotFoundException(v8_6.toString());
                }
            } else {
                throw new NullPointerException("Destination must not be null");
            }
        } else {
            throw new NullPointerException("Source must not be null");
        }
    }

Method org.apache.commons.io.monitor.FileAlterationObserver.<init>() calling method java.io.File.<init>()


    public FileAlterationObserver(String p2, java.io.FileFilter p3, org.apache.commons.io.IOCase p4)
    {
        this(new java.io.File(p2), p3, p4);
        return;
    }

Method org.apache.commons.io.output.h.<init>() calling method java.io.File.<init>()


    public h(String p2, String p3)
    {
        this(new java.io.File(p2), p3, 0);
        return;
    }

Method org.apache.commons.io.h.a() calling method java.io.File.<init>()


    private static void a(java.io.File p6, java.io.File p7, java.io.FileFilter p8, boolean p9, java.util.List p10)
    {
        java.io.File[] v0;
        if (p8 != 0) {
            v0 = p6.listFiles(p8);
        } else {
            v0 = p6.listFiles();
        }
        if (v0 != null) {
            if (!p7.exists()) {
                if ((!p7.mkdirs()) && (!p7.isDirectory())) {
                    long v8_2 = new StringBuilder();
                    v8_2.append("Destination \'");
                    v8_2.append(p7);
                    v8_2.append("\' directory cannot be created");
                    throw new java.io.IOException(v8_2.toString());
                }
            } else {
                if (!p7.isDirectory()) {
                    long v8_7 = new StringBuilder();
                    v8_7.append("Destination \'");
                    v8_7.append(p7);
                    v8_7.append("\' exists but is not a directory");
                    throw new java.io.IOException(v8_7.toString());
                }
            }
            if (p7.canWrite()) {
                int v1_4 = v0.length;
                int v2 = 0;
                while (v2 < v1_4) {
                    java.io.File v3 = v0[v2];
                    java.io.File v4_1 = new java.io.File(p7, v3.getName());
                    if ((p10 == null) || (!p10.contains(v3.getCanonicalPath()))) {
                        if (!v3.isDirectory()) {
                            ark>org.apache.commons.io.hark>.g(v3, v4_1, p9);
                        } else {
                            ark>org.apache.commons.io.hark>.a(v3, v4_1, p8, p9, p10);
                        }
                    }
                    v2++;
                }
                if (p9 != null) {
                    p7.setLastModified(p6.lastModified());
                }
                return;
            } else {
                long v8_5 = new StringBuilder();
                v8_5.append("Destination \'");
                v8_5.append(p7);
                v8_5.append("\' cannot be written to");
                throw new java.io.IOException(v8_5.toString());
            }
        } else {
            long v8_9 = new StringBuilder();
            v8_9.append("Failed to list contents of ");
            v8_9.append(p6);
            throw new java.io.IOException(v8_9.toString());
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.File.<init>()


    public static void a(java.io.File p2, java.io.File p3, boolean p4)
    {
        if (p3 != null) {
            if ((!p3.exists()) || (p3.isDirectory())) {
                ark>org.apache.commons.io.hark>.b(p2, new java.io.File(p3, p2.getName()), p4);
                return;
            } else {
                StringBuilder v4_2 = new StringBuilder();
                v4_2.append("Destination \'");
                v4_2.append(p3);
                v4_2.append("\' is not a directory");
                throw new IllegalArgumentException(v4_2.toString());
            }
        } else {
            throw new NullPointerException("Destination must not be null");
        }
    }

Method org.apache.commons.io.h.b() calling method java.io.File.<init>()


    public static java.io.File b()
    {
        return new java.io.File(org.apache.commons.io.h.a());
    }

Method org.apache.commons.io.h.d() calling method java.io.File.<init>()


    public static java.io.File d()
    {
        return new java.io.File(org.apache.commons.io.h.c());
    }

Method org.apache.commons.io.h.d() calling method java.io.File.<init>()


    public static void d(java.io.File p2, java.io.File p3)
    {
        if (p2 != null) {
            if ((!p2.exists()) || (p2.isDirectory())) {
                if (p3 != null) {
                    if ((!p3.exists()) || (p3.isDirectory())) {
                        org.apache.commons.io.h.c(p2, new java.io.File(p3, p2.getName()), 1);
                        return;
                    } else {
                        StringBuilder v0_5 = new StringBuilder();
                        v0_5.append("Destination \'");
                        v0_5.append(p3);
                        v0_5.append("\' is not a directory");
                        throw new IllegalArgumentException(v0_5.toString());
                    }
                } else {
                    throw new NullPointerException("Destination must not be null");
                }
            } else {
                StringBuilder v0_7 = new StringBuilder();
                v0_7.append("Source \'");
                v0_7.append(p3);
                v0_7.append("\' is not a directory");
                throw new IllegalArgumentException(v0_7.toString());
            }
        } else {
            throw new NullPointerException("Source must not be null");
        }
    }

Method org.apache.commons.io.h.d() calling method java.io.File.<init>()


    public static void d(java.io.File p2, java.io.File p3, boolean p4)
    {
        if (p2 != null) {
            if (p3 != null) {
                if ((!p3.exists()) && (p4 != null)) {
                    p3.mkdirs();
                }
                if (p3.exists()) {
                    if (p3.isDirectory()) {
                        org.apache.commons.io.h.i(p2, new java.io.File(p3, p2.getName()));
                        return;
                    } else {
                        java.io.File v4_5 = new StringBuilder();
                        v4_5.append("Destination \'");
                        v4_5.append(p3);
                        v4_5.append("\' is not a directory");
                        throw new java.io.IOException(v4_5.toString());
                    }
                } else {
                    String v0_4 = new StringBuilder();
                    v0_4.append("Destination directory \'");
                    v0_4.append(p3);
                    v0_4.append("\' does not exist [createDestDir=");
                    v0_4.append(p4);
                    v0_4.append("]");
                    throw new java.io.FileNotFoundException(v0_4.toString());
                }
            } else {
                throw new NullPointerException("Destination directory must not be null");
            }
        } else {
            throw new NullPointerException("Source must not be null");
        }
    }

Method org.apache.commons.io.h.e() calling method java.io.File.<init>()


    public static void e(java.io.File p2, java.io.File p3, boolean p4)
    {
        if (p2 != null) {
            if (p3 != null) {
                if ((!p3.exists()) && (p4 != null)) {
                    p3.mkdirs();
                }
                if (p3.exists()) {
                    if (p3.isDirectory()) {
                        org.apache.commons.io.h.j(p2, new java.io.File(p3, p2.getName()));
                        return;
                    } else {
                        java.io.File v4_5 = new StringBuilder();
                        v4_5.append("Destination \'");
                        v4_5.append(p3);
                        v4_5.append("\' is not a directory");
                        throw new java.io.IOException(v4_5.toString());
                    }
                } else {
                    String v0_4 = new StringBuilder();
                    v0_4.append("Destination directory \'");
                    v0_4.append(p3);
                    v0_4.append("\' does not exist [createDestDir=");
                    v0_4.append(p4);
                    v0_4.append("]");
                    throw new java.io.FileNotFoundException(v0_4.toString());
                }
            } else {
                throw new NullPointerException("Destination directory must not be null");
            }
        } else {
            throw new NullPointerException("Source must not be null");
        }
    }

Method org.apache.commons.io.h.s() calling method java.io.File.<init>()


    public static boolean s(java.io.File p3)
    {
        if (p3 != 0) {
            if (!org.apache.commons.io.i.a()) {
                if (p3.getParent() != null) {
                    p3 = new java.io.File(p3.getParentFile().getCanonicalFile(), p3.getName());
                }
                if (!p3.getCanonicalFile().equals(p3.getAbsoluteFile())) {
                    return 1;
                } else {
                    return 0;
                }
            } else {
                return 0;
            }
        } else {
            throw new NullPointerException("File must not be null");
        }
    }

Method org.apache.commons.io.monitor.FileAlterationObserver.<init>() calling method java.io.File.<init>()


    public FileAlterationObserver(String p2)
    {
        this(new java.io.File(p2));
        return;
    }

Method org.apache.commons.io.output.i.<init>() calling method java.io.File.<init>()


    public i(java.io.File p4, java.nio.charset.Charset p5, boolean p6, String p7)
    {
        java.io.Writer v4_1 = p4.getAbsoluteFile();
        if (v4_1.getParentFile() != null) {
            org.apache.commons.io.h.m(v4_1.getParentFile());
        }
        if (!v4_1.isDirectory()) {
            if (p7 == null) {
                p7 = System.getProperty("java.io.tmpdir");
            }
            java.io.File v0_2 = new java.io.File(p7);
            org.apache.commons.io.h.m(v0_2);
            this.a(v0_2);
            String v1_1 = new StringBuilder();
            v1_1.append(v4_1.getName());
            v1_1.append(".lck");
            this.c = new java.io.File(v0_2, v1_1.toString());
            this.a();
            this.b = this.a(v4_1, p5, p6);
            return;
        } else {
            throw new java.io.IOException("File specified is a directory");
        }
    }

Method org.apache.commons.io.output.i.<init>() calling method java.io.File.<init>()


    public i(String p2, boolean p3, String p4)
    {
        this(new java.io.File(p2), p3, p4);
        return;
    }

Method org.joda.time.DateTimeZone.h() calling method java.io.File.<init>()


    private static org.joda.time.tz.c h()
    {
        Exception v0_5 = System.getProperty("org.joda.time.DateTimeZone.Provider");
        if (v0_5 == null) {
            Exception v0_4 = System.getProperty("org.joda.time.DateTimeZone.Folder");
        } else {
            try {
                return org.joda.time.DateTimeZone.b(((org.joda.time.tz.c) Class.forName(v0_5).newInstance()));
            } catch (Exception v0_2) {
                throw new RuntimeException(v0_2);
            }
        }
    }

Method org.joda.time.tz.e.a() calling method java.io.File.<init>()


    private void a(java.io.File p4, org.joda.time.tz.DateTimeZoneBuilder p5, org.joda.time.DateTimeZone p6)
    {
        if (org.joda.time.tz.f.a()) {
            String v1_4 = new StringBuilder();
            v1_4.append("Writing ");
            v1_4.append(p6.e());
            System.out.println(v1_4.toString());
        }
        String v0_2 = new java.io.File(p4, p6.e());
        if (!v0_2.getParentFile().exists()) {
            v0_2.getParentFile().mkdirs();
        }
        java.io.PrintStream v4_5 = new java.io.FileOutputStream(v0_2);
        try {
            p5.a(p6.e(), v4_5);
            v4_5.close();
            java.io.PrintStream v4_7 = new java.io.FileInputStream(v0_2);
            String v5_2 = org.joda.time.tz.DateTimeZoneBuilder.a(v4_7, p6.e());
            v4_7.close();
            java.io.PrintStream v4_8 = p6.equals(v5_2);
        } catch (String v5_3) {
            v4_8.close();
            throw v5_3;
        }
        if (v4_8 == null) {
            String v5_5 = new StringBuilder();
            v5_5.append("*e* Error in ");
            v5_5.append(p6.e());
            v5_5.append(": Didn\'t read properly from file");
            System.out.println(v5_5.toString());
        }
        return;
    }

Method org.joda.time.tz.e.a() calling method java.io.File.<init>()


    public static void a(String[] p9)
    {
        if (p9.length != 0) {
            int v1 = 0;
            java.io.File v2_0 = 0;
            java.io.File v3_0 = 0;
            int v0_2 = 0;
            int v4 = 0;
            while (v0_2 < p9.length) {
                try {
                    if (!"-src".equals(p9[v0_2])) {
                        if (!"-dst".equals(p9[v0_2])) {
                            if (!"-verbose".equals(p9[v0_2])) {
                                if (!"-?".equals(p9[v0_2])) {
                                    break;
                                }
                                ark>org.joda.time.tz.eark>.c();
                                return;
                            } else {
                                v4 = 1;
                            }
                        } else {
                            v0_2++;
                            v3_0 = new java.io.File(p9[v0_2]);
                        }
                    } else {
                        v0_2++;
                        v2_0 = new java.io.File(p9[v0_2]);
                    }
                    v0_2++;
                } catch (IndexOutOfBoundsException) {
                    ark>org.joda.time.tz.eark>.c();
                    return;
                }
            }
            if (v0_2 < p9.length) {
                boolean v5_11 = new java.io.File[(p9.length - v0_2)];
                while (v0_2 < p9.length) {
                    java.io.File v7_6;
                    if (v2_0 != null) {
                        v7_6 = new java.io.File(v2_0, p9[v0_2]);
                    } else {
                        v7_6 = new java.io.File(p9[v0_2]);
                    }
                    v5_11[v1] = v7_6;
                    v0_2++;
                    v1++;
                }
                org.joda.time.tz.f.a(v4);
                new ark>org.joda.time.tz.eark>().a(v3_0, v5_11);
                return;
            } else {
                ark>org.joda.time.tz.eark>.c();
                return;
            }
        } else {
            ark>org.joda.time.tz.eark>.c();
            return;
        }
    }

Method org.joda.time.tz.e.a() calling method java.io.File.<init>()


    public java.util.Map a(java.io.File p10, java.io.File[] p11)
    {
        if (p11 != null) {
            java.util.Comparator v1_2 = 0;
            while (v1_2 < p11.length) {
                int v2_4 = 0;
                try {
                    java.io.PrintStream v3_17 = new java.io.BufferedReader(new java.io.FileReader(p11[v1_2]));
                    try {
                        this.a(v3_17, "backward".equals(p11[v1_2].getName()));
                    } catch (Throwable v10_3) {
                        v2_4 = v3_17;
                        if (v2_4 != 0) {
                            v2_4.close();
                        }
                        throw v10_3;
                    }
                    if (v3_17 != null) {
                        v3_17.close();
                    }
                    v1_2++;
                } catch (Throwable v10_3) {
                }
            }
        }
        if (p10 != null) {
            if ((p10.exists()) || (p10.mkdirs())) {
                if (!p10.isDirectory()) {
                    java.io.DataOutputStream v0_1 = new StringBuilder();
                    v0_1.append("Destination is not a directory: ");
                    v0_1.append(p10);
                    throw new java.io.IOException(v0_1.toString());
                }
            } else {
                java.io.DataOutputStream v0_3 = new StringBuilder();
                v0_3.append("Destination directory doesn\'t exist and cannot be created: ");
                v0_3.append(p10);
                throw new java.io.IOException(v0_3.toString());
            }
        }
        java.io.IOException v11_4 = new java.util.TreeMap();
        java.util.Comparator v1_1 = new java.util.TreeMap();
        System.out.println("Writing zoneinfo files");
        int v2_3 = 0;
        while (v2_3 < this.d.size()) {
            java.io.PrintStream v3_13 = ((ark>org.joda.time.tz.eark>$d) this.d.get(v2_3));
            java.io.PrintStream v5_6 = new org.joda.time.tz.DateTimeZoneBuilder();
            v3_13.a(v5_6, this.c);
            String v4_1 = v5_6.a(v3_13.a, 1);
            if (ark>org.joda.time.tz.eark>.a(v4_1.e(), v4_1)) {
                v11_4.put(v4_1.e(), v4_1);
                v1_1.put(v4_1.e(), v3_13);
                if (p10 != null) {
                    this.a(p10, v5_6, v4_1);
                }
            }
            v2_3++;
        }
        int v2_1 = 0;
        while (v2_1 < this.e.size()) {
            java.io.PrintStream v3_5 = ((String) this.e.get(v2_1));
            java.io.PrintStream v5_3 = ((String) this.e.get((v2_1 + 1)));
            StringBuilder v6_4 = ((ark>org.joda.time.tz.eark>$d) v1_1.get(v3_5));
            if (v6_4 != null) {
                String v7_2 = new org.joda.time.tz.DateTimeZoneBuilder();
                v6_4.a(v7_2, this.c);
                StringBuilder v6_5 = v7_2.a(v5_3, 1);
                if (ark>org.joda.time.tz.eark>.a(v6_5.e(), v6_5)) {
                    v11_4.put(v6_5.e(), v6_5);
                    if (p10 != null) {
                        this.a(p10, v7_2, v6_5);
                    }
                }
                v11_4.put(v6_5.e(), v6_5);
                if (org.joda.time.tz.f.a()) {
                    String v7_5 = new StringBuilder();
                    v7_5.append("Good link: ");
                    v7_5.append(v5_3);
                    v7_5.append(" -> ");
                    v7_5.append(v3_5);
                    v7_5.append(" revived");
                    System.out.println(v7_5.toString());
                }
            } else {
                String v7_7 = new StringBuilder();
                v7_7.append("Cannot find source zone \'");
                v7_7.append(v3_5);
                v7_7.append("\' to link alias \'");
                v7_7.append(v5_3);
                v7_7.append("\' to");
                System.out.println(v7_7.toString());
            }
            v2_1 += 2;
        }
        java.util.Comparator v1_5 = 0;
        while (v1_5 < 2) {
            int v2_0 = 0;
            while (v2_0 < this.f.size()) {
                java.io.PrintStream v3_25 = ((String) this.f.get(v2_0));
                String v4_9 = ((String) this.f.get((v2_0 + 1)));
                java.io.PrintStream v5_10 = ((org.joda.time.DateTimeZone) v11_4.get(v3_25));
                if (v5_10 != null) {
                    v11_4.put(v4_9, v5_10);
                    if (org.joda.time.tz.f.a()) {
                        StringBuilder v6_16 = new StringBuilder();
                        v6_16.append("Back link: ");
                        v6_16.append(v4_9);
                        v6_16.append(" -> ");
                        v6_16.append(v5_10.e());
                        System.out.println(v6_16.toString());
                    }
                } else {
                    if (v1_5 > null) {
                        StringBuilder v6_1 = new StringBuilder();
                        v6_1.append("Cannot find time zone \'");
                        v6_1.append(v3_25);
                        v6_1.append("\' to link alias \'");
                        v6_1.append(v4_9);
                        v6_1.append("\' to");
                        System.out.println(v6_1.toString());
                    }
                }
                v2_0 += 2;
            }
            v1_5++;
        }
        if (p10 != null) {
            System.out.println("Writing ZoneInfoMap");
            java.io.DataOutputStream v0_6 = new java.io.File(p10, "ZoneInfoMap");
            if (!v0_6.getParentFile().exists()) {
                v0_6.getParentFile().mkdirs();
            }
            java.io.DataOutputStream v0_8 = new java.io.DataOutputStream(new java.io.FileOutputStream(v0_6));
            try {
                Throwable v10_10 = new java.util.TreeMap(String.CASE_INSENSITIVE_ORDER);
                v10_10.putAll(v11_4);
                ark>org.joda.time.tz.eark>.a(v0_8, v10_10);
                v0_8.close();
            } catch (Throwable v10_11) {
                v0_8.close();
                throw v10_11;
            }
        }
        return v11_4;
    }

Method org.joda.time.tz.g.b() calling method java.io.File.<init>()


    private java.io.InputStream b(String p4)
    {
        String v0_6;
        if (this.a == null) {
            java.io.IOException v4_7 = this.b.concat(p4);
            v0_6 = ((java.io.InputStream) java.security.AccessController.doPrivileged(new org.joda.time.tz.g$1(this, v4_7)));
            if (v0_6 == null) {
                java.io.IOException v4_3;
                String v0_2 = new StringBuilder(40);
                v0_2.append("Resource not found: \"");
                v0_2.append(v4_7);
                v0_2.append("\" ClassLoader: ");
                if (this.c == null) {
                    v4_3 = "system";
                } else {
                    v4_3 = this.c.toString();
                }
                v0_2.append(v4_3);
                throw new java.io.IOException(v0_2.toString());
            }
        } else {
            v0_6 = new java.io.FileInputStream(new java.io.File(this.a, p4));
        }
        return v0_6;
    }

Method com.fitbit.platform.domain.gallery.bridge.handlers.LoadSettingsCodeHandler.a() calling method java.io.File.<init>()


    private String a(android.net.Uri p5)
    {
        try {
            okio.e v0 = okio.o.a(okio.o.a(new java.io.File(p5.getPath())));
        } catch (okio.e v5_6) {
            if (v0 != null) {
                v0.close();
            }
            throw v5_6;
        } catch (android.content.res.AssetManager v1_1) {
            if (p5.getScheme().equals("file")) {
                if (p5.getPath().startsWith("/android_asset/")) {
                    v0 = okio.o.a(okio.o.a(this.a.getResources().getAssets().open(p5.getPath().replace("/android_asset/", ""))));
                }
            }
            throw v1_1;
        }
        okio.e v5_8 = v0.a(java.nio.charset.StandardCharsets.UTF_8);
        if (v0 != null) {
            v0.close();
        }
        return v5_8;
    }

Method org.apache.commons.io.filefilter.WildcardFilter.accept() calling method java.io.File.<init>()


    public boolean accept(java.io.File p5, String p6)
    {
        if ((p5 == 0) || (!new java.io.File(p5, p6).isDirectory())) {
            int v5_3 = this.wildcards;
            int v2 = 0;
            while (v2 < v5_3.length) {
                if (!org.apache.commons.io.i.h(p6, v5_3[v2])) {
                    v2++;
                } else {
                    return 1;
                }
            }
            return 0;
        } else {
            return 0;
        }
    }

Method com.fitbit.serverinteraction.b.a.a() calling method java.io.File.<init>()


    private static java.io.File a(android.content.Context p2)
    {
        java.io.File v0_1 = new java.io.File(p2.getApplicationContext().getCacheDir(), "picasso-cache");
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        return v0_1;
    }

Method com.fitbit.serverinteraction.c.a() calling method java.io.File.<init>()


    long a(java.net.URI p3)
    {
        if (p3 != null) {
            return new java.io.File(p3).length();
        } else {
            return -1;
        }
    }

Method com.fitbit.settings.ui.profile.util.b.a() calling method java.io.File.<init>()


    public static android.content.Intent a(android.content.Context p3)
    {
        ark>com.fitbit.settings.ui.profile.util.bark>.k = ark>com.fitbit.settings.ui.profile.util.bark>.a(p3, ark>com.fitbit.settings.ui.profile.util.bark>.a(new java.io.File(p3.getFilesDir(), "images"), "cover_photo", ".jpg"));
        return ark>com.fitbit.settings.ui.profile.util.bark>.a(ark>com.fitbit.settings.ui.profile.util.bark>.k);
    }

Method com.fitbit.settings.ui.profile.util.b.a() calling method java.io.File.<init>()


    public static android.content.Intent a(android.content.Intent p3)
    {
        if ((p3 != null) && (p3.getData() != null)) {
            android.content.Intent v3_2 = p3.getData();
        } else {
            v3_2 = ark>com.fitbit.settings.ui.profile.util.bark>.k;
        }
        android.content.Intent v3_1 = ark>com.fitbit.settings.ui.profile.util.bark>.a(v3_2, android.net.Uri.fromFile(ark>com.fitbit.settings.ui.profile.util.bark>.a(new java.io.File(ark>com.fitbit.settings.ui.profile.util.bark>.b()), "cropped_cover_photo", ".JPEG")));
        v3_1.putExtra("aspectX", 24);
        v3_1.putExtra("aspectY", 10);
        v3_1.putExtra("outputX", 1440);
        v3_1.putExtra("outputY", 600);
        return v3_1;
    }

Method com.fitbit.settings.ui.profile.util.b.a() calling method java.io.File.<init>()


    private static java.io.File a(java.io.File p9, String p10, String p11)
    {
        try {
            if ((p9.isDirectory()) || (p9.mkdirs())) {
                String v2_4 = p9.listFiles();
                Object[] v3_0 = v2_4.length;
                int v4 = 0;
                while (v4 < v3_0) {
                    String v5 = v2_4[v4];
                    Object[] v7 = new Object[1];
                    v7[0] = v5.toString();
                    d.a.b.b("Deleting [%s]: ", v7);
                    v5.delete();
                    v4++;
                }
            }
        } catch (Exception) {
            Object[] v3_1 = new Object[0];
            d.a.b.b("Failed to cleanup root image directory", v3_1);
        }
        Object[] v3_3 = new Object[3];
        v3_3[0] = p10;
        v3_3[1] = java.util.UUID.randomUUID();
        v3_3[2] = p11;
        java.io.File v11_2 = new java.io.File(p9, String.format("%s-%s%s", v3_3));
        v11_2.delete();
        return v11_2;
    }

Method com.fitbit.settings.ui.profile.util.b.b() calling method java.io.File.<init>()


    public static android.content.Intent b(android.content.Context p3)
    {
        com.fitbit.settings.ui.profile.util.b.l = com.fitbit.settings.ui.profile.util.b.a(p3, com.fitbit.settings.ui.profile.util.b.a(new java.io.File(p3.getFilesDir(), "images"), "profile_photo", ".jpg"));
        return com.fitbit.settings.ui.profile.util.b.a(com.fitbit.settings.ui.profile.util.b.l);
    }

Method com.fitbit.settings.ui.profile.util.b.b() calling method java.io.File.<init>()


    public static android.content.Intent b(android.content.Intent p6)
    {
        if ((p6 != null) && (p6.getData() != null)) {
            android.content.Intent v0_2 = p6.getData();
        } else {
            v0_2 = com.fitbit.settings.ui.profile.util.b.l;
        }
        int v3_1;
        String v6_1;
        android.content.Intent v0_0 = com.fitbit.settings.ui.profile.util.b.a(v0_2, android.net.Uri.fromFile(com.fitbit.settings.ui.profile.util.b.a(new java.io.File(com.fitbit.settings.ui.profile.util.b.b()), "cropped_profile_photo", ".JPEG")));
        int v1_3 = 1125;
        String v2_1 = 1;
        if (p6 == null) {
            v6_1 = 1;
            v3_1 = 1125;
        } else {
            v6_1 = p6.getIntExtra("aspectY", 1);
            v2_1 = p6.getIntExtra("aspectX", 1);
            v3_1 = p6.getIntExtra("outputY", 1125);
            v1_3 = p6.getIntExtra("outputX", 1125);
        }
        v0_0.putExtra("aspectX", v2_1);
        v0_0.putExtra("aspectY", v6_1);
        v0_0.putExtra("outputX", v1_3);
        v0_0.putExtra("outputY", v3_1);
        return v0_0;
    }

Method com.fitbit.synclair.config.bean.a$1.run() calling method java.io.File.<init>()


    public void run()
    {
        java.util.Iterator v0_1 = this.a.iterator();
        while (v0_1.hasNext()) {
            this.b.e.b(new java.io.File(((String) v0_1.next())).getName());
        }
        return;
    }

Method com.fitbit.synclair.config.bean.a$b$1.a() calling method java.io.File.<init>()


    public Boolean a()
    {
        com.fitbit.FitBitApplication v0_0 = 1;
        try {
            int v3_0 = com.fitbit.data.bl.StaticAPILogic.a().c(this.b, this.c);
        } catch (int v3_3) {
            if (!com.fitbit.config.Config.a.a()) {
                java.util.UUID v6_0 = new Object[0];
                com.fitbit.r.d.e("RemoteAssetsDownloader", "Static Asset failed to load", v3_3, v6_0);
            } else {
                java.util.UUID v6_1 = new Object[1];
                v6_1[0] = this.b;
                java.util.UUID v6_2 = new Object[0];
                com.fitbit.r.d.e("RemoteAssetsDownloader", String.format("Error loading Asset on path %s", v6_1), v3_3, v6_2);
            }
            v3_0 = 0;
        }
        int v3_1;
        if (v3_0 == 0) {
            v3_1 = 0;
        } else {
            v3_1 = this.a.a(this.b, v3_0);
        }
        String v5_7 = ((com.fitbit.synclair.config.bean.a$a) this.a.f.get(this.b));
        if ((v5_7 == null) || ((v5_7.c == null) || (!v5_7.c.equals(this.d)))) {
            v0_0 = 0;
        } else {
            if (v3_1 == 0) {
                this.a.f.remove(this.b);
                this.a.g.add(this.b);
                com.fitbit.synclair.config.bean.a.b(com.fitbit.FitBitApplication.a(), this.b);
            } else {
                this.a.f.put(this.b, new com.fitbit.synclair.config.bean.a$a(v3_1, 0, 0));
                this.a.g.remove(this.b);
                com.fitbit.synclair.config.bean.a.a(com.fitbit.FitBitApplication.a(), this.b);
            }
        }
        if ((v0_0 == null) && (v3_1 != 0)) {
            this.a.e.b(new java.io.File(v3_1).getName());
        }
        return Boolean.valueOf(v0_0);
    }

Method com.fitbit.ui.views.GifImageView.a() calling method java.io.File.<init>()


    public void a(android.net.Uri p2)
    {
        this.a(new java.io.File(p2.getPath()));
        return;
    }

Method com.fitbit.util.at.a() calling method java.io.File.<init>()


    public static java.io.File a(android.content.Context p6, String p7, String p8)
    {
        String v0_1 = new java.io.File(com.fitbit.util.f.b.a(p6), p7);
        if (v0_1.exists()) {
            v0_1.delete();
        }
        try {
            int v2_1 = new java.io.FileOutputStream(v0_1);
            try {
                v0_1.createNewFile();
                int v3_0 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(v2_1));
                try {
                    java.io.File v4_3 = new java.io.File(p8);
                } catch (String v8_1) {
                    java.io.File v4_4 = new Object[1];
                    v4_4[0] = v8_1.getMessage();
                    d.a.b.d("IOException when trying to zip folder. %s", v4_4);
                    if (v3_0 == 0) {
                        if (v2_1 != 0) {
                            v2_1.close();
                        }
                    } else {
                        v3_0.close();
                    }
                    return 0;
                }
                if (!v4_3.isDirectory()) {
                    ark>com.fitbit.util.atark>.a(p8, 0, v3_0);
                } else {
                    ark>com.fitbit.util.atark>.a(v3_0, v4_3, v4_3.getParent().length());
                }
                if (v3_0 == 0) {
                    if (v2_1 != 0) {
                        v2_1.close();
                    }
                } else {
                    v3_0.close();
                }
                return v0_1;
            } catch (String v8_2) {
                v3_0 = 0;
                if (v3_0 == 0) {
                    if (v2_1 != 0) {
                        v2_1.close();
                    }
                } else {
                    v3_0.close();
                }
                throw v8_2;
            } catch (String v8_1) {
                v3_0 = 0;
            }
        } catch (String v8_2) {
            v2_1 = 0;
            v3_0 = 0;
        } catch (String v8_1) {
            v2_1 = 0;
            v3_0 = 0;
        } catch (String v8_2) {
        }
    }

Method com.fitbit.util.at.a() calling method java.io.File.<init>()


    public static void a(String p11, java.io.File p12)
    {
        Object[] v0_1 = new java.io.File(p11);
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        String v11_1 = new java.io.File(v0_1, ark>com.fitbit.util.atark>.a(p12.getAbsolutePath()));
        Object[] v0_2 = 0;
        try {
            if (p12.exists()) {
                String v12_1 = new java.io.FileInputStream(p12).getChannel();
                try {
                    String v11_5 = new java.io.FileOutputStream(v11_1).getChannel();
                    try {
                        v11_5.transferFrom(v12_1, 0, v12_1.size());
                    } catch (Object[] v0_5) {
                        String v12_2 = v11_5;
                        String v11_3 = v0_5;
                        v0_2 = v12_1;
                        if (v0_2 == null) {
                            if (v12_2 != null) {
                                v12_2.close();
                            }
                        } else {
                            v0_2.close();
                        }
                        throw v11_3;
                    } catch (Object[] v0_3) {
                        v12_2 = v11_5;
                        String v11_2 = v0_3;
                        v0_2 = v12_1;
                        try {
                            java.io.IOException v4_1 = new Object[1];
                            v4_1[0] = v11_2.getMessage();
                            d.a.b.d("IOException when trying to copy file. %s", v4_1);
                        } catch (String v11_3) {
                        }
                        if (v0_2 != null) {
                            v0_2.close();
                        }
                        if (v12_2 != null) {
                            v12_2.close();
                        }
                    }
                    if (v12_1 != null) {
                        v12_1.close();
                    }
                    if (v11_5 != null) {
                        v11_5.close();
                    }
                } catch (String v11_3) {
                    v0_2 = v12_1;
                    v12_2 = 0;
                } catch (String v11_2) {
                    v0_2 = v12_1;
                    v12_2 = 0;
                }
            } else {
                p12.createNewFile();
            }
        } catch (String v11_3) {
            v12_2 = 0;
        } catch (String v11_2) {
            v12_2 = 0;
        }
        return;
    }

Method com.fitbit.util.at.a() calling method java.io.File.<init>()


    public static void a(String p3, String p4, byte[] p5)
    {
        String v0_1 = new java.io.File(p3);
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        Throwable v3_3 = 0;
        try {
            Throwable v4_2 = new java.io.FileOutputStream(new java.io.File(v0_1.getAbsolutePath(), p4));
            try {
                v4_2.write(p5);
                v4_2.flush();
                v4_2.getFD().sync();
            } catch (Throwable v3_2) {
                Throwable v4_3 = v3_2;
                v3_3 = v4_2;
                if (v3_3 != null) {
                    v3_3.close();
                }
                throw v4_3;
            }
            if (v4_2 != null) {
                v4_2.close();
            }
            return;
        } catch (Throwable v4_3) {
        }
    }

Method com.fitbit.util.bugreport.BugReportUtils.lambda$getJsonBugReport$0$BugReportUtils() calling method java.io.File.<init>()


    static final synthetic String lambda$getJsonBugReport$0$BugReportUtils(long p14, com.fitbit.platform.domain.companion.q p16, com.fitbit.platform.domain.companion.storage.h p17, com.fitbit.jsscheduler.runtime.l p18, com.fitbit.platform.domain.companion.v p19, java.util.HashMap p20, com.fitbit.platform.domain.gallery.x p21, com.fitbit.platform.domain.app.e p22, com.fitbit.platform.domain.companion.logs.b p23, String p24, String p25, String p26, String p27)
    {
        com.fitbit.util.at.a(new java.io.File(com.fitbit.util.bugreport.BugReportUtils.BUG_REPORT_SNAPSHOT_FOLDER_PATH));
        String v0_1 = com.google.gson.internal.bind.a.a.a(new java.util.Date(p14));
        String v3_2 = com.fitbit.util.bugreport.companions.CompanionInformationFactory.INSTANCE.create(p16, p17, p18, p19).g();
        java.util.LinkedList v13_1 = new java.util.LinkedList();
        String v7_1 = v3_2.iterator();
        while (v7_1.hasNext()) {
            v13_1.add(((com.fitbit.util.bugreport.companions.CompanionInformation) v7_1.next()));
        }
        com.fitbit.util.bugreport.BugReportUtils.writeDevicesReports(p20, p21, p22, p23, v3_2);
        com.fitbit.util.bugreport.BugReportUtils.writeEnvironmentReport(p24, p25, p26, p14, p27);
        com.fitbit.util.bugreport.environment.AccountInfo v8_5 = new com.fitbit.util.bugreport.environment.AccountInfo(p24, p25);
        com.fitbit.util.bugreport.environment.PhoneInfo v9_3 = new com.fitbit.util.bugreport.environment.PhoneInfo;
        v9_3(p26, android.os.Build$VERSION.SDK_INT, android.os.Build.MANUFACTURER, android.os.Build.MODEL, p27);
        return new com.google.gson.e().c().f().j().b(new com.fitbit.util.bugreport.BugReport(v8_5, v9_3, new com.fitbit.util.bugreport.environment.SyncInfo(v0_1), v13_1));
    }

Method com.fitbit.util.d.b.b() calling method java.io.File.<init>()


    public static String b(android.content.Context p7)
    {
        String v7_3;
        String v0_1 = new java.io.File(com.fitbit.util.f.b.a(p7), "logcat.txt");
        String v1_4 = new java.io.File(com.fitbit.util.f.b.a(p7), "DebugLogs.zip");
        Object[] v2_0 = 0;
        if (!com.fitbit.config.Config.a.a()) {
            v7_3 = 0;
        } else {
            v7_3 = com.fitbit.bluetooth.BluetoothLeManager.b().e().f();
        }
        try {
            java.util.zip.ZipOutputStream v4_1 = new java.io.BufferedWriter(new java.io.FileWriter(v0_1));
            try {
                v4_1.write(com.fitbit.util.d.b.a());
                byte[] v5_4 = new byte[8192];
                int v6_0 = new java.io.FileOutputStream(v1_4);
                try {
                    Object[] v2_3 = new java.util.zip.ZipOutputStream(v6_0);
                    com.fitbit.util.f.b.a(v0_1, v2_3, v5_4);
                } catch (String v7_7) {
                    if (v4_1 == null) {
                        if (v6_0 != 0) {
                            v6_0.flush();
                            v6_0.close();
                        }
                    } else {
                        v4_1.close();
                    }
                    throw v7_7;
                } catch (String v7_6) {
                    v2_0 = v4_1;
                    try {
                        java.util.zip.ZipOutputStream v4_2 = new Object[0];
                        d.a.b.b(v7_6, "Error while writing logcat to file", v4_2);
                    } catch (String v7_7) {
                        v4_1 = v2_0;
                    }
                    if (v2_0 != null) {
                        v2_0.close();
                    }
                    if (v6_0 == 0) {
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    } else {
                        v6_0.flush();
                        v6_0.close();
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    }
                    v2_3.finish();
                    v2_3.close();
                    v6_0.flush();
                    v6_0.close();
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    if (v6_0 == 0) {
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    } else {
                        v6_0.flush();
                        v6_0.close();
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    }
                }
                if (v7_3 != null) {
                    com.fitbit.util.f.b.a(v7_3, v2_3, v5_4);
                }
            } catch (String v7_7) {
                v6_0 = 0;
            } catch (String v7_6) {
                v6_0 = 0;
            }
        } catch (String v7_7) {
            v4_1 = 0;
            v6_0 = 0;
        } catch (String v7_6) {
            v6_0 = 0;
        }
    }

Method com.fitbit.util.f.a.a() calling method java.io.File.<init>()

Couldn't retrieve source code

Method com.fitbit.util.f.b.b() calling method java.io.File.<init>()


    public static java.io.File b(android.content.Context p2, String p3, byte[] p4)
    {
        java.io.FileOutputStream v0 = 0;
        try {
            java.io.File v1_1 = new java.io.File(com.fitbit.util.f.b.a(p2), p3);
            Exception v2_5 = new java.io.FileOutputStream(v1_1);
            try {
                v2_5.write(p4);
                v2_5.flush();
                v2_5.getFD().sync();
            } catch (RuntimeException v3_2) {
                v0 = v2_5;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (Exception v2_1) {
                        throw new RuntimeException(v2_1);
                    }
                }
                throw v3_2;
            }
            if (v2_5 != null) {
                try {
                    v2_5.close();
                } catch (Exception v2_2) {
                    throw new RuntimeException(v2_2);
                }
            }
            return v1_1;
        } catch (RuntimeException v3_2) {
        }
    }

Method com.fitbit.runtrack.ui.ae.a() calling method java.io.File.<init>()


    private static java.io.File a(android.content.Context p4, String p5)
    {
        java.io.File v4_1 = p4.getCacheDir();
        Object[] v2_1 = new Object[1];
        v2_1[0] = p5;
        return new java.io.File(v4_1, String.format("exercise_%s.png", v2_1));
    }

Method com.fitbit.sharing.b.a() calling method java.io.File.<init>()


    protected android.net.Uri a()
    {
        try {
            int v2_1 = java.util.Locale.getDefault();
            android.content.ContentValues v4_8 = new Object[2];
            v4_8[0] = Long.valueOf((new java.util.Date().getTime() % 2147483647));
            v4_8[1] = this.b.toString();
            android.net.Uri v3_1 = new java.io.File(this.getContext().getExternalFilesDir("Fitbit"), String.format(v2_1, "fitbitshare_%d.%s", v4_8));
            int v2_3 = new java.io.FileOutputStream(v3_1);
            try {
                if (this.d != 0) {
                    this.a = android.graphics.Bitmap.createScaledBitmap(this.a, this.d, this.d, 1);
                }
            } catch (android.net.Uri v3_2) {
                java.io.IOException v0_2 = new Object[0];
                d.a.b.e(v3_2, "Could not save file", v0_2);
                if (v2_3 != 0) {
                    try {
                        v2_3.close();
                    } catch (java.io.IOException v0_3) {
                        v0_3.printStackTrace();
                    }
                }
                return 0;
            }
            this.a.compress(this.b, this.c, v2_3);
            v2_3.flush();
            v2_3.getFD().sync();
            v2_3.close();
            android.content.ContentValues v4_11 = new android.content.ContentValues();
            v4_11.put("_data", v3_1.getAbsolutePath());
            android.net.Uri v3_7 = this.getContext().getContentResolver().insert(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, v4_11);
            if (v2_3 != 0) {
                try {
                    v2_3.close();
                } catch (java.io.IOException v0_4) {
                    v0_4.printStackTrace();
                }
            }
            return v3_7;
        } catch (java.io.IOException v0_1) {
            v2_3 = 0;
            if (v2_3 != 0) {
                try {
                    v2_3.close();
                } catch (java.io.IOException v1_1) {
                    v1_1.printStackTrace();
                }
            }
            throw v0_1;
        } catch (android.net.Uri v3_2) {
            v2_3 = 0;
        } catch (java.io.IOException v0_1) {
        }
    }

Method com.fitbit.util.b.a() calling method java.io.File.<init>()


    public android.net.Uri a()
    {
        android.net.Uri v0_1 = this.getContext().getExternalFilesDir("Fitbit");
        if (!android.text.TextUtils.isEmpty(this.a.a)) {
            v0_1 = new java.io.File(v0_1, this.a.a);
        }
        if (!v0_1.exists()) {
            java.io.File v4_0 = new Object[1];
            v4_0[0] = Boolean.valueOf(v0_1.mkdirs());
            d.a.b.b("Make dir finished successfully? %s", v4_0);
        }
        java.io.File v4_2 = new java.io.File(v0_1, this.c());
        android.net.Uri v0_2 = 0;
        if (v4_2.exists()) {
            v0_2 = this.b(v4_2);
        }
        if (v0_2 == null) {
            v0_2 = this.a(v4_2);
        }
        Object[] v3_1 = new Object[1];
        v3_1[0] = v0_2;
        d.a.b.b("Sharing Media with %s", v3_1);
        return v0_2;
    }

Method com.google.android.gms.common.util.aa.a() calling method java.io.File.<init>()


    public static void a(android.content.Context p3, android.content.SharedPreferences$Editor p4, String p5)
    {
        java.io.File v0_1 = new java.io.File(p3.getApplicationInfo().dataDir, "shared_prefs");
        java.io.File v3_5 = v0_1.getParentFile();
        if (v3_5 != null) {
            v3_5.setExecutable(1, 0);
        }
        v0_1.setExecutable(1, 0);
        p4.commit();
        new java.io.File(v0_1, String.valueOf(p5).concat(".xml")).setReadable(1, 0);
        return;
    }

Method com.jakewharton.a.a$b.a() calling method java.io.File.<init>()


    public java.io.File a(int p5)
    {
        java.io.File v1_1 = com.jakewharton.a.a.f(this.a);
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(this.b);
        v2_1.append(".");
        v2_1.append(p5);
        return new java.io.File(v1_1, v2_1.toString());
    }

Method com.google.android.gms.measurement.internal.fb.a() calling method java.io.File.<init>()


    static void a(com.google.android.gms.measurement.internal.o p3, android.database.sqlite.SQLiteDatabase p4)
    {
        if (p3 != null) {
            java.io.File v0_1 = new java.io.File(p4.getPath());
            if (!v0_1.setReadable(0, 0)) {
                p3.i().a("Failed to turn off database read permission");
            }
            if (!v0_1.setWritable(0, 0)) {
                p3.i().a("Failed to turn off database write permission");
            }
            if (!v0_1.setReadable(1, 1)) {
                p3.i().a("Failed to turn on database read permission for owner");
            }
            if (!v0_1.setWritable(1, 1)) {
                p3.i().a("Failed to turn on database write permission for owner");
            }
            return;
        } else {
            throw new IllegalArgumentException("Monitor must not be null");
        }
    }

Method com.google.firebase.iid.ay.e() calling method java.io.File.<init>()


    private static java.io.File e(android.content.Context p2, String p3)
    {
        AssertionError v3_2;
        if (!android.text.TextUtils.isEmpty(p3)) {
            try {
                AssertionError v3_6 = android.util.Base64.encodeToString(p3.getBytes("UTF-8"), 11);
                StringBuilder v1_1 = new StringBuilder((String.valueOf(v3_6).length() + 33));
                v1_1.append("com.google.InstanceId_");
                v1_1.append(v3_6);
                v1_1.append(".properties");
                v3_2 = v1_1.toString();
            } catch (java.io.UnsupportedEncodingException v2_1) {
                throw new AssertionError(v2_1);
            }
        } else {
            v3_2 = "com.google.InstanceId.properties";
        }
        return new java.io.File(com.google.firebase.iid.ay.b(p2), v3_2);
    }

Method com.google.firebase.iid.y.<init>() calling method java.io.File.<init>()


    private y(android.content.Context p3, com.google.firebase.iid.ay p4)
    {
        this.d = new android.support.v4.util.ArrayMap();
        this.b = p3;
        this.a = p3.getSharedPreferences("com.google.android.gms.appid", 0);
        this.c = p4;
        String v0_2 = new java.io.File(android.support.v4.content.ContextCompat.getNoBackupFilesDir(this.b), "com.google.android.gms.appid-no-backup");
        if (!v0_2.exists()) {
            try {
                if ((v0_2.createNewFile()) && (!this.c())) {
                    android.util.Log.i("FirebaseInstanceId", "App restored, clearing state");
                    this.b();
                    com.google.firebase.iid.FirebaseInstanceId.a().k();
                }
            } catch (String v3_7) {
                if (!android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    return;
                } else {
                    String v3_9 = String.valueOf(v3_7.getMessage());
                    if (v3_9.length() == 0) {
                        String v3_11 = new String("Error creating file in no backup dir: ");
                    } else {
                        v3_11 = "Error creating file in no backup dir: ".concat(v3_9);
                    }
                    android.util.Log.d("FirebaseInstanceId", v3_11);
                    return;
                }
            }
            return;
        }
        return;
    }

Method com.ibm.icu.impl.h.a() calling method java.io.File.<init>()


    private static void a(String p4, java.util.List p5)
    {
        int v0_0 = 0;
        while (v0_0 < p4.length()) {
            java.io.File v2_0;
            int v1_2 = p4.indexOf(java.io.File.pathSeparatorChar, v0_0);
            if (v1_2 < 0) {
                v2_0 = p4.length();
            } else {
                v2_0 = v1_2;
            }
            int v0_2 = p4.substring(v0_0, v2_0).trim();
            if (v0_2.endsWith(java.io.File.separator)) {
                v0_2 = v0_2.substring(0, (v0_2.length() - 1));
            }
            if (v0_2.length() != 0) {
                ark>com.ibm.icu.impl.hark>.a(new java.io.File(v0_2), new StringBuilder(), ark>com.ibm.icu.impl.hark>.b);
            }
            if (v1_2 < 0) {
                break;
            }
            v0_0 = (v1_2 + 1);
        }
        return;
    }

Method com.jakewharton.a.a.<init>() calling method java.io.File.<init>()


    private a(java.io.File p16, int p17, int p18, long p19)
    {
        com.jakewharton.a.a v0_1 = ;
v0_1.t = 0;
        v0_1.v = new java.util.LinkedHashMap(0, 1061158912, 1);
        v0_1.x = 0;
        java.io.File v2_0 = new java.util.concurrent.ThreadPoolExecutor;
        v2_0(0, 1, 60, java.util.concurrent.TimeUnit.SECONDS, new java.util.concurrent.LinkedBlockingQueue());
        v0_1.h = v2_0;
        v0_1.y = new com.jakewharton.a.a$1(v0_1);
        v0_1.m = p16;
        v0_1.q = p17;
        v0_1.n = new java.io.File(p16, "journal");
        v0_1.o = new java.io.File(p16, "journal.tmp");
        v0_1.p = new java.io.File(p16, "journal.bkp");
        v0_1.s = p18;
        v0_1.r = p19;
        return;
    }

Method com.jakewharton.a.a.a() calling method java.io.File.<init>()


    public static ark>com.jakewharton.a.aark> a(java.io.File p9, int p10, int p11, long p12)
    {
        if (p12 > 0) {
            if (p11 > 0) {
                void v0_6 = new java.io.File(p9, "journal.bkp");
                if (v0_6.exists()) {
                    String v1_1 = new java.io.File(p9, "journal");
                    if (!v1_1.exists()) {
                        ark>com.jakewharton.a.aark>.a(v0_6, v1_1, 0);
                    } else {
                        v0_6.delete();
                    }
                }
                void v0_2 = new ark>com.jakewharton.a.aark>;
                v0_2(p9, p10, p11, p12);
                if (v0_2.n.exists()) {
                    try {
                        void v0_4 = v0_2.h().i();
                        v0_4.u = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_4.n, 1), com.jakewharton.a.c.a));
                        return v0_4;
                    } catch (String v1_6) {
                        StringBuilder v3_4 = new StringBuilder();
                        v3_4.append("DiskLruCache ");
                        v3_4.append(p9);
                        v3_4.append(" is corrupt: ");
                        v3_4.append(v1_6.getMessage());
                        v3_4.append(", removing");
                        System.out.println(v3_4.toString());
                        v0_4.f();
                    }
                }
                p9.mkdirs();
                void v0_7 = new ark>com.jakewharton.a.aark>;
                v0_7(p9, p10, p11, p12);
                return v0_7.j();
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

Method com.mixpanel.android.java_websocket.d.a.c() calling method java.io.File.<init>()


    public static byte[] c(String p6)
    {
        int v0_0 = 0;
        try {
            int v1_2 = new java.io.File(p6);
        } catch (java.io.IOException v6_4) {
            try {
                v0_0.close();
            } catch (Exception) {
            }
            throw v6_4;
        } catch (java.io.IOException v6_3) {
            throw v6_3;
        }
        if (v1_2.length() <= 2147483647) {
            java.io.IOException v6_2 = new byte[((int) v1_2.length())];
            com.mixpanel.android.java_websocket.d.a$a v2_1 = new com.mixpanel.android.java_websocket.d.a$a(new java.io.BufferedInputStream(new java.io.FileInputStream(v1_2)), 0);
            int v0_1 = 0;
            try {
                while(true) {
                    byte[] v3_3 = v2_1.read(v6_2, v0_1, 4096);
                    v0_1 += v3_3;
                }
                byte[] v3_4 = new byte[v0_1];
                System.arraycopy(v6_2, 0, v3_4, 0, v0_1);
                try {
                    v2_1.close();
                } catch (Exception) {
                }
                return v3_4;
            } catch (java.io.IOException v6_4) {
                v0_0 = v2_1;
            } catch (java.io.IOException v6_3) {
                v0_0 = v2_1;
            }
            if (v3_3 >= null) {
            }
        } else {
            com.mixpanel.android.java_websocket.d.a$a v2_3 = new StringBuilder();
            v2_3.append("File is too big for this convenience method (");
            v2_3.append(v1_2.length());
            v2_3.append(" bytes).");
            throw new java.io.IOException(v2_3.toString());
        }
    }

Method com.mixpanel.android.java_websocket.d.a.d() calling method java.io.File.<init>()


    public static String d(String p6)
    {
        try {
            int v1_1 = new java.io.File(p6);
            java.io.IOException v6_3 = new byte[Math.max(((int) ((((double) v1_1.length()) * 1.4) + 1.0)), 40)];
            com.mixpanel.android.java_websocket.d.a$a v2_2 = new com.mixpanel.android.java_websocket.d.a$a(new java.io.BufferedInputStream(new java.io.FileInputStream(v1_1)), 1);
            com.mixpanel.android.java_websocket.d.a$a v0 = 0;
            int v1_3 = 0;
            try {
                while(true) {
                    String v3_3 = v2_2.read(v6_3, v1_3, 4096);
                    v1_3 += v3_3;
                }
                String v3_5 = new String(v6_3, 0, v1_3, "US-ASCII");
                try {
                    v2_2.close();
                } catch (Exception) {
                }
                return v3_5;
            } catch (java.io.IOException v6_5) {
                v0 = v2_2;
                try {
                    v0.close();
                } catch (Exception) {
                }
                throw v6_5;
            } catch (java.io.IOException v6_4) {
                v0 = v2_2;
                throw v6_4;
            }
            if (v3_3 >= null) {
            }
        } catch (java.io.IOException v6_5) {
        } catch (java.io.IOException v6_4) {
        }
    }

Method com.mixpanel.android.util.ImageStore.f() calling method java.io.File.<init>()


    private java.io.File f(String p3)
    {
        if (this.c != null) {
            String v3_5 = this.c.digest(p3.getBytes());
            java.io.File v0_5 = new StringBuilder();
            v0_5.append("MP_IMG_");
            v0_5.append(android.util.Base64.encodeToString(v3_5, 10));
            return new java.io.File(this.a, v0_5.toString());
        } else {
            return 0;
        }
    }

Method com.mobeta.android.dslv.DragSortListView$f.<init>() calling method java.io.File.<init>()

Couldn't retrieve source code

Method com.squareup.picasso.ae.b() calling method java.io.File.<init>()


    static java.io.File b(android.content.Context p2)
    {
        java.io.File v0_1 = new java.io.File(p2.getApplicationContext().getCacheDir(), "picasso-cache");
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        return v0_1;
    }

Method io.fabric.sdk.android.e.getCacheDir() calling method java.io.File.<init>()


    public java.io.File getCacheDir()
    {
        return new java.io.File(super.getCacheDir(), this.a);
    }

Method io.fabric.sdk.android.e.getDatabasePath() calling method java.io.File.<init>()


    public java.io.File getDatabasePath(String p4)
    {
        java.io.File v0_1 = new java.io.File(super.getDatabasePath(p4).getParentFile(), this.a);
        v0_1.mkdirs();
        return new java.io.File(v0_1, p4);
    }

Method io.fabric.sdk.android.e.getExternalCacheDir() calling method java.io.File.<init>()


    public java.io.File getExternalCacheDir()
    {
        return new java.io.File(super.getExternalCacheDir(), this.a);
    }

Method io.fabric.sdk.android.e.getExternalFilesDir() calling method java.io.File.<init>()


    public java.io.File getExternalFilesDir(String p3)
    {
        return new java.io.File(super.getExternalFilesDir(p3), this.a);
    }

Method io.fabric.sdk.android.e.getFilesDir() calling method java.io.File.<init>()


    public java.io.File getFilesDir()
    {
        return new java.io.File(super.getFilesDir(), this.a);
    }

Method io.fabric.sdk.android.services.common.CommonUtils.b() calling method java.io.File.<init>()


    public static declared_synchronized long b()
    {
        try {
            if (io.fabric.sdk.android.services.common.CommonUtils.D == -1) {
                boolean v1_2 = 0;
                String v3_0 = io.fabric.sdk.android.services.common.CommonUtils.a(new java.io.File("/proc/meminfo"), "MemTotal");
                if (!android.text.TextUtils.isEmpty(v3_0)) {
                    String v3_1 = v3_0.toUpperCase(java.util.Locale.US);
                    try {
                        io.fabric.sdk.android.l v4_10;
                        if (!v3_1.endsWith("KB")) {
                            if (!v3_1.endsWith("MB")) {
                                if (!v3_1.endsWith("GB")) {
                                    io.fabric.sdk.android.l v4_8 = io.fabric.sdk.android.d.i();
                                    String v6_1 = new StringBuilder();
                                    v6_1.append("Unexpected meminfo format while computing RAM: ");
                                    v6_1.append(v3_1);
                                    v4_8.a("Fabric", v6_1.toString());
                                    io.fabric.sdk.android.services.common.CommonUtils.D = v1_2;
                                    return io.fabric.sdk.android.services.common.CommonUtils.D;
                                } else {
                                    v4_10 = io.fabric.sdk.android.services.common.CommonUtils.a(v3_1, "GB", 1073741824);
                                }
                            } else {
                                v4_10 = io.fabric.sdk.android.services.common.CommonUtils.a(v3_1, "MB", 1048576);
                            }
                        } else {
                            v4_10 = io.fabric.sdk.android.services.common.CommonUtils.a(v3_1, "KB", 1024);
                        }
                    } catch (io.fabric.sdk.android.l v4_13) {
                        String v5_4 = io.fabric.sdk.android.d.i();
                        String v7_2 = new StringBuilder();
                        v7_2.append("Unexpected meminfo format while computing RAM: ");
                        v7_2.append(v3_1);
                        v5_4.e("Fabric", v7_2.toString(), v4_13);
                    }
                    v1_2 = v4_10;
                }
            }
        } catch (boolean v1_3) {
            throw v1_3;
        }
        return io.fabric.sdk.android.services.common.CommonUtils.D;
    }

Method io.fabric.sdk.android.services.common.CommonUtils.h() calling method java.io.File.<init>()


    public static boolean h(android.content.Context p3)
    {
        int v3_1 = io.fabric.sdk.android.services.common.CommonUtils.g(p3);
        java.io.File v0_5 = android.os.Build.TAGS;
        if ((v3_1 != 0) || ((v0_5 == null) || (!v0_5.contains("test-keys")))) {
            if (!new java.io.File("/system/app/Superuser.apk").exists()) {
                java.io.File v0_4 = new java.io.File("/system/xbin/su");
                if ((v3_1 != 0) || (!v0_4.exists())) {
                    return 0;
                } else {
                    return 1;
                }
            } else {
                return 1;
            }
        } else {
            return 1;
        }
    }

Method io.fabric.sdk.android.services.common.o.a() calling method java.io.File.<init>()


    private static void a(java.io.File p4)
    {
        java.io.RandomAccessFile v1_2 = new StringBuilder();
        v1_2.append(p4.getPath());
        v1_2.append(".tmp");
        String v0_1 = new java.io.File(v1_2.toString());
        java.io.RandomAccessFile v1_1 = ark>io.fabric.sdk.android.services.common.oark>.b(v0_1);
        try {
            v1_1.setLength(4096);
            v1_1.seek(0);
            byte[] v2_3 = new byte[16];
            int[] v3_1 = new int[4];
            v3_1 = {4096, 0, 0, 0};
            ark>io.fabric.sdk.android.services.common.oark>.a(v2_3, v3_1);
            v1_1.write(v2_3);
            v1_1.close();
        } catch (java.io.IOException v4_2) {
            v1_1.close();
            throw v4_2;
        }
        if (v0_1.renameTo(p4)) {
            return;
        } else {
            throw new java.io.IOException("Rename failed!");
        }
    }

Method kotlin.io.f.a() calling method java.io.File.<init>()


    public final java.io.File a(int p11, int p12)
    {
        if ((p11 >= null) && ((p11 <= p12) && (p12 <= this.c()))) {
            Iterable v1_0 = ((Iterable) this.b.subList(p11, p12));
            String v11_1 = java.io.File.separator;
            kotlin.jvm.internal.ae.b(v11_1, "File.separator");
            return new java.io.File(kotlin.collections.u.a(v1_0, ((CharSequence) v11_1), 0, 0, 0, 0, 0, 62, 0));
        } else {
            throw ((Throwable) new IllegalArgumentException());
        }
    }

Method kotlin.io.j.b() calling method java.io.File.<init>()


    public static final java.io.File b(java.io.File p1)
    {
        kotlin.jvm.internal.ae.f(p1, "receiver$0");
        return new java.io.File(kotlin.io.i.a(p1));
    }

Method kotlin.io.j.d() calling method java.io.File.<init>()


    public static final kotlin.io.f d(java.io.File p9)
    {
        java.util.List v9_3;
        kotlin.jvm.internal.ae.f(p9, "receiver$0");
        java.util.List v9_5 = p9.getPath();
        kotlin.jvm.internal.ae.b(v9_5, "path");
        kotlin.io.f v0_9 = kotlin.io.j.a(v9_5);
        String v2 = v9_5.substring(0, v0_9);
        kotlin.jvm.internal.ae.b(v2, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)");
        java.util.List v9_1 = v9_5.substring(v0_9);
        kotlin.jvm.internal.ae.b(v9_1, "(this as java.lang.String).substring(startIndex)");
        java.io.File v3_2 = ((CharSequence) v9_1);
        if (v3_2.length() != 0) {
            v9_3 = 0;
        } else {
            v9_3 = 1;
        }
        java.util.List v9_10;
        if (v9_3 == null) {
            char[] v4 = new char[1];
            v4[0] = java.io.File.separatorChar;
            java.util.List v9_7 = ((Iterable) kotlin.text.o.b(v3_2, v4, 0, 0, 6, 0));
            kotlin.io.f v0_6 = ((java.util.Collection) new java.util.ArrayList(kotlin.collections.u.a(v9_7, 10)));
            java.util.List v9_8 = v9_7.iterator();
            while (v9_8.hasNext()) {
                v0_6.add(new java.io.File(((String) v9_8.next())));
            }
            v9_10 = ((java.util.List) v0_6);
        } else {
            v9_10 = kotlin.collections.u.a();
        }
        return new kotlin.io.f(new java.io.File(v2), v9_10);
    }

Method com.google.android.gms.measurement.internal.ed.A() calling method java.io.File.<init>()


    private final boolean A()
    {
        this.v();
        try {
            this.t = new java.io.RandomAccessFile(new java.io.File(this.i.n().getFilesDir(), "google_app_measurement.db"), "rw").getChannel();
            this.s = this.t.tryLock();
        } catch (int v0_14) {
            this.i.r().an_().a("Failed to acquire storage lock", v0_14);
            return 0;
        } catch (int v0_13) {
            this.i.r().an_().a("Failed to access storage lock file", v0_13);
            return 0;
        }
        if (this.s == null) {
            this.i.r().an_().a("Storage concurrent data access panic");
            return 0;
        } else {
            this.i.r().x().a("Storage concurrent access okay");
            return 1;
        }
    }

Method com.ibm.icu.impl.bb$a.<init>() calling method java.io.File.<init>()


    bb$a(java.net.URL p4)
    {
        try {
            this.b = new java.io.File(p4.toURI());
        } catch (java.net.URISyntaxException) {
        }
        if (this.b != null) {
            if (this.b.exists()) {
                return;
            }
        }
        if (com.ibm.icu.impl.bb.a()) {
            StringBuilder v1_1 = new StringBuilder();
            v1_1.append("file does not exist - ");
            v1_1.append(p4.toString());
            System.err.println(v1_1.toString());
        }
        throw new IllegalArgumentException();
    }

Method com.jakewharton.b.a.a() calling method java.io.File.<init>()


    private static java.io.File a(android.content.Context p2)
    {
        java.io.File v0_1 = new java.io.File(p2.getApplicationContext().getCacheDir(), "picasso-cache");
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        return v0_1;
    }

Method io.fabric.sdk.android.services.b.m.<init>() calling method java.io.File.<init>()


    public m(android.content.Context p1, java.io.File p2, String p3, String p4)
    {
        this.a = p1;
        this.b = p2;
        this.c = p4;
        this.d = new java.io.File(this.b, p3);
        this.e = new io.fabric.sdk.android.services.common.o(this.d);
        this.g();
        return;
    }

Method io.fabric.sdk.android.services.b.m.g() calling method java.io.File.<init>()


    private void g()
    {
        this.f = new java.io.File(this.b, this.c);
        if (!this.f.exists()) {
            this.f.mkdirs();
        }
        return;
    }

Method io.fabric.sdk.android.services.b.m.a() calling method java.io.File.<init>()


    public void a(String p4)
    {
        this.e.close();
        this.a(this.d, new java.io.File(this.f, p4));
        this.e = new io.fabric.sdk.android.services.common.o(this.d);
        return;
    }

Method io.fabric.sdk.android.services.c.b.b() calling method java.io.File.<init>()


    public java.io.File b()
    {
        java.io.File v0_1;
        if (!this.e()) {
            v0_1 = 0;
        } else {
            if (android.os.Build$VERSION.SDK_INT < 8) {
                java.io.File v1_1 = android.os.Environment.getExternalStorageDirectory();
                String v2_1 = new StringBuilder();
                v2_1.append(this.c);
                v2_1.append("/cache/");
                v2_1.append(this.b);
                v0_1 = new java.io.File(v1_1, v2_1.toString());
            } else {
                v0_1 = this.a.getExternalCacheDir();
            }
        }
        return this.a(v0_1);
    }

Method io.fabric.sdk.android.services.c.b.d() calling method java.io.File.<init>()


    public java.io.File d()
    {
        java.io.File v1_0 = 0;
        if (this.e()) {
            if (android.os.Build$VERSION.SDK_INT < 8) {
                java.io.File v0_4 = android.os.Environment.getExternalStorageDirectory();
                String v2_1 = new StringBuilder();
                v2_1.append(this.c);
                v2_1.append("/files/");
                v2_1.append(this.b);
                v1_0 = new java.io.File(v0_4, v2_1.toString());
            } else {
                v1_0 = this.a.getExternalFilesDir(0);
            }
        }
        return this.a(v1_0);
    }

Method io.fabric.sdk.android.services.settings.j.a() calling method java.io.File.<init>()


    public org.json.JSONObject a()
    {
        io.fabric.sdk.android.d.i().a("Fabric", "Reading cached settings...");
        String v0_1 = 0;
        try {
            org.json.JSONObject v3_2;
            Exception v1_0 = new java.io.File(new io.fabric.sdk.android.services.c.b(this.a).c(), "com.crashlytics.settings.json");
        } catch (Exception v1_4) {
            io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Error while closing settings cache file.");
            throw v1_4;
        } catch (Exception v1_3) {
            String v2_4 = 0;
            io.fabric.sdk.android.d.i().e("Fabric", "Failed to fetch cached settings", v1_3);
            io.fabric.sdk.android.services.common.CommonUtils.a(v2_4, "Error while closing settings cache file.");
            return v0_1;
        } catch (String v0_2) {
            v1_4 = v0_2;
            v0_1 = v2_4;
        }
        if (!v1_0.exists()) {
            io.fabric.sdk.android.d.i().a("Fabric", "No cached settings found.");
            v3_2 = 0;
        } else {
            v2_4 = new java.io.FileInputStream(v1_0);
            try {
                v3_2 = new org.json.JSONObject(io.fabric.sdk.android.services.common.CommonUtils.a(v2_4));
                v0_1 = v2_4;
            } catch (Exception v1_3) {
            }
        }
        io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Error while closing settings cache file.");
        v0_1 = v3_2;
        return v0_1;
    }

Method io.fabric.sdk.android.services.settings.j.a() calling method java.io.File.<init>()


    public void a(long p4, org.json.JSONObject p6)
    {
        io.fabric.sdk.android.d.i().a("Fabric", "Writing settings to cache file...");
        if (p6 != null) {
            String v0_1 = 0;
            try {
                p6.put("expires_at", p4);
                String v4_1 = new java.io.FileWriter(new java.io.File(new io.fabric.sdk.android.services.c.b(this.a).c(), "com.crashlytics.settings.json"));
                try {
                    v4_1.write(p6.toString());
                    v4_1.flush();
                    io.fabric.sdk.android.services.common.CommonUtils.a(v4_1, "Failed to close settings writer.");
                } catch (Exception v5_5) {
                    v0_1 = v4_1;
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close settings writer.");
                    throw v5_5;
                } catch (Exception v5_2) {
                    v0_1 = v4_1;
                    io.fabric.sdk.android.d.i().e("Fabric", "Failed to cache settings", v5_2);
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close settings writer.");
                }
            } catch (Exception v5_5) {
            } catch (Exception v5_2) {
            }
        }
        return;
    }

Method kotlin.io.m.a() calling method java.io.File.<init>()


    public static final boolean a(java.io.File p11, java.io.File p12, boolean p13, kotlin.jvm.a.m p14)
    {
        kotlin.jvm.internal.ae.f(p11, "receiver$0");
        kotlin.jvm.internal.ae.f(p12, "target");
        kotlin.jvm.internal.ae.f(p14, "onError");
        int v1 = 1;
        if (p11.exists()) {
            try {
                java.util.Iterator v0_3 = kotlin.io.i.f(p11).a(((kotlin.jvm.a.m) new kotlin.io.FilesKt__UtilsKt$copyRecursively$2(p14))).a();
            } catch (kotlin.io.TerminateException) {
                return 0;
            }
            while (v0_3.hasNext()) {
                kotlin.io.OnErrorAction v3_8 = ((java.io.File) v0_3.next());
                if (v3_8.exists()) {
                    String v5_2 = new java.io.File(p12, kotlin.io.i.a(v3_8, p11));
                    if ((v5_2.exists()) && ((!v3_8.isDirectory()) || (!v5_2.isDirectory()))) {
                        int v4_10;
                        if (p13) {
                            if (!v5_2.isDirectory()) {
                                if (!v5_2.delete()) {
                                    v4_10 = 1;
                                    if (v4_10 != 0) {
                                        if (((kotlin.io.OnErrorAction) p14.a(v5_2, new kotlin.io.FileAlreadyExistsException(v3_8, v5_2, "The destination file already exists."))) == kotlin.io.OnErrorAction.b) {
                                            return 0;
                                        }
                                    }
                                    if (!v3_8.isDirectory()) {
                                        if ((kotlin.io.i.a(v3_8, v5_2, p13, 0, 4, 0).length() != v3_8.length()) && (((kotlin.io.OnErrorAction) p14.a(v3_8, new java.io.IOException("Source file wasn\'t copied completely, length of destination file differs."))) == kotlin.io.OnErrorAction.b)) {
                                            return 0;
                                        }
                                    } else {
                                        v5_2.mkdirs();
                                    }
                                }
                            } else {
                                if (!kotlin.io.i.k(v5_2)) {
                                }
                            }
                            v4_10 = 0;
                        }
                    }
                } else {
                    kotlin.io.NoSuchFileException v10 = new kotlin.io.NoSuchFileException;
                    v10(v3_8, 0, "The source file doesn\'t exist.", 2, 0);
                    if (((kotlin.io.OnErrorAction) p14.a(v3_8, v10)) == kotlin.io.OnErrorAction.b) {
                        return 0;
                    }
                }
            }
            return 1;
        } else {
            kotlin.io.OnErrorAction v12_1 = new kotlin.io.NoSuchFileException;
            v12_1(p11, 0, "The source file doesn\'t exist.", 2, 0);
            if (((kotlin.io.OnErrorAction) p14.a(p11, v12_1)) == kotlin.io.OnErrorAction.b) {
                v1 = 0;
            }
            return v1;
        }
    }

Method kotlin.io.m.g() calling method java.io.File.<init>()


    public static final java.io.File g(java.io.File p5, java.io.File p6)
    {
        kotlin.jvm.internal.ae.f(p5, "receiver$0");
        kotlin.jvm.internal.ae.f(p6, "relative");
        if (!kotlin.io.i.c(p6)) {
            StringBuilder v1_1;
            String v5_4 = p5.toString();
            kotlin.jvm.internal.ae.b(v5_4, "this.toString()");
            java.io.File v0_2 = ((CharSequence) v5_4);
            if (v0_2.length() != 0) {
                v1_1 = 0;
            } else {
                v1_1 = 1;
            }
            if ((v1_1 == null) && (!kotlin.text.o.b(v0_2, java.io.File.separatorChar, 0, 2, 0))) {
                StringBuilder v1_4 = new StringBuilder();
                v1_4.append(v5_4);
                v1_4.append(java.io.File.separatorChar);
                v1_4.append(p6);
                java.io.File v0_6 = new java.io.File(v1_4.toString());
            } else {
                StringBuilder v1_6 = new StringBuilder();
                v1_6.append(v5_4);
                v1_6.append(p6);
                v0_6 = new java.io.File(v1_6.toString());
            }
            return v0_6;
        } else {
            return p6;
        }
    }

Method kotlin.io.m.h() calling method java.io.File.<init>()


    public static final java.io.File h(java.io.File p2, java.io.File p3)
    {
        java.io.File v0_1;
        kotlin.jvm.internal.ae.f(p2, "receiver$0");
        kotlin.jvm.internal.ae.f(p3, "relative");
        java.io.File v2_4 = kotlin.io.i.d(p2);
        if (v2_4.c() != 0) {
            v0_1 = v2_4.a(0, (v2_4.c() - 1));
        } else {
            v0_1 = new java.io.File("..");
        }
        return kotlin.io.i.g(kotlin.io.i.g(v2_4.d(), v0_1), p3);
    }

Method org.threeten.bp.chrono.HijrahDate.m() calling method java.io.File.<init>()


    private static java.io.InputStream m()
    {
        java.io.IOException v0_6 = System.getProperty("org.threeten.bp.i18n.HijrahDate.deviationConfigFile");
        if (v0_6 == null) {
            v0_6 = "hijrah_deviation.cfg";
        }
        java.io.FileInputStream v1_3 = System.getProperty("org.threeten.bp.i18n.HijrahDate.deviationConfigDir");
        if (v1_3 == null) {
            StringBuilder v3_7 = new java.util.StringTokenizer(System.getProperty("java.class.path"), <mark>org.threeten.bp.chrono.HijrahDatemark>.n);
            while (v3_7.hasMoreTokens()) {
                java.io.FileInputStream v1_7 = v3_7.nextToken();
                String v4_4 = new java.io.File(v1_7);
                if (v4_4.exists()) {
                    if (!v4_4.isDirectory()) {
                        try {
                            java.io.FileInputStream v1_9 = new java.util.zip.ZipFile(v4_4);
                        } catch (java.io.IOException) {
                            v1_9 = 0;
                        }
                        if (v1_9 != null) {
                            String v4_6 = new StringBuilder();
                            v4_6.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.p);
                            v4_6.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
                            v4_6.append(v0_6);
                            String v4_7 = v4_6.toString();
                            java.util.zip.ZipEntry v5_4 = v1_9.getEntry(v4_7);
                            if (v5_4 == null) {
                                if (<mark>org.threeten.bp.chrono.HijrahDatemark>.m != 47) {
                                    if (<mark>org.threeten.bp.chrono.HijrahDatemark>.m == 92) {
                                        v4_7 = v4_7.replace(92, 47);
                                    }
                                } else {
                                    v4_7 = v4_7.replace(47, 92);
                                }
                                v5_4 = v1_9.getEntry(v4_7);
                            }
                            if (v5_4 != null) {
                                try {
                                    return v1_9.getInputStream(v5_4);
                                } catch (java.io.IOException v0_8) {
                                    throw v0_8;
                                }
                            }
                        }
                    } else {
                        java.util.zip.ZipEntry v5_8 = new StringBuilder();
                        v5_8.append(v1_7);
                        v5_8.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
                        v5_8.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.p);
                        if (new java.io.File(v5_8.toString(), v0_6).exists()) {
                            try {
                                StringBuilder v3_9 = new StringBuilder();
                                v3_9.append(v1_7);
                                v3_9.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
                                v3_9.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.p);
                                v3_9.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
                                v3_9.append(v0_6);
                                return new java.io.FileInputStream(v3_9.toString());
                            } catch (java.io.IOException v0_10) {
                                throw v0_10;
                            }
                        }
                    }
                }
            }
            return 0;
        } else {
            if ((v1_3.length() != 0) || (!v1_3.endsWith(System.getProperty("file.separator")))) {
                StringBuilder v3_3 = new StringBuilder();
                v3_3.append(v1_3);
                v3_3.append(System.getProperty("file.separator"));
                v1_3 = v3_3.toString();
            }
            String v4_1 = new StringBuilder();
            v4_1.append(v1_3);
            v4_1.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
            v4_1.append(v0_6);
            StringBuilder v3_5 = new java.io.File(v4_1.toString());
            if (!v3_5.exists()) {
                return 0;
            } else {
                try {
                    return new java.io.FileInputStream(v3_5);
                } catch (java.io.IOException v0_5) {
                    throw v0_5;
                }
            }
        }
    }

Method android.support.v4.graphics.TypefaceCompatUtil.mmap() calling method java.io.FileInputStream.<init>()


    public static java.nio.ByteBuffer mmap(android.content.Context p8, android.os.CancellationSignal p9, android.net.Uri p10)
    {
        try {
            Throwable v8_3 = p8.getContentResolver().openFileDescriptor(p10, "r", p9);
        } catch (java.io.IOException) {
            return 0;
        }
        if (v8_3 != null) {
            try {
                Throwable v9_1 = new java.io.FileInputStream(v8_3.getFileDescriptor());
                try {
                    Throwable v1_0 = v9_1.getChannel();
                    Throwable v10_1 = v1_0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v1_0.size());
                } catch (Throwable v10_3) {
                    Throwable v1_2 = 0;
                    if (v9_1 != null) {
                        if (v1_2 == null) {
                            v9_1.close();
                        } else {
                            try {
                                v9_1.close();
                            } catch (Throwable v9_2) {
                                v1_2.addSuppressed(v9_2);
                            }
                        }
                    }
                    throw v10_3;
                } catch (Throwable v10_2) {
                    try {
                        throw v10_2;
                    } catch (Throwable v1_1) {
                        v1_2 = v10_2;
                        v10_3 = v1_1;
                    }
                }
                if (v9_1 != null) {
                    v9_1.close();
                }
                if (v8_3 != null) {
                    v8_3.close();
                }
                return v10_1;
            } catch (Throwable v9_4) {
                Throwable v10_5 = 0;
                if (v8_3 != null) {
                    if (v10_5 == null) {
                        v8_3.close();
                    } else {
                        try {
                            v8_3.close();
                        } catch (Throwable v8_2) {
                            v10_5.addSuppressed(v8_2);
                        }
                    }
                }
                throw v9_4;
            } catch (Throwable v9_3) {
                try {
                    throw v9_3;
                } catch (Throwable v10_4) {
                    v10_5 = v9_3;
                    v9_4 = v10_4;
                }
            }
        } else {
            if (v8_3 != null) {
                v8_3.close();
            }
            return 0;
        }
    }

Method net.hockeyapp.android.objects.a.a() calling method java.io.FileReader.<init>()


    public static ark>net.hockeyapp.android.objects.aark> a(java.io.File p3)
    {
        return ark>net.hockeyapp.android.objects.aark>.a(p3.getName().substring(0, p3.getName().indexOf(".stacktrace")), new java.io.FileReader(p3));
    }

Method org.joda.time.tz.e.a() calling method java.io.FileReader.<init>()


    public java.util.Map a(java.io.File p10, java.io.File[] p11)
    {
        if (p11 != null) {
            java.util.Comparator v1_2 = 0;
            while (v1_2 < p11.length) {
                int v2_4 = 0;
                try {
                    java.io.PrintStream v3_17 = new java.io.BufferedReader(new java.io.FileReader(p11[v1_2]));
                    try {
                        this.a(v3_17, "backward".equals(p11[v1_2].getName()));
                    } catch (Throwable v10_3) {
                        v2_4 = v3_17;
                        if (v2_4 != 0) {
                            v2_4.close();
                        }
                        throw v10_3;
                    }
                    if (v3_17 != null) {
                        v3_17.close();
                    }
                    v1_2++;
                } catch (Throwable v10_3) {
                }
            }
        }
        if (p10 != null) {
            if ((p10.exists()) || (p10.mkdirs())) {
                if (!p10.isDirectory()) {
                    java.io.DataOutputStream v0_1 = new StringBuilder();
                    v0_1.append("Destination is not a directory: ");
                    v0_1.append(p10);
                    throw new java.io.IOException(v0_1.toString());
                }
            } else {
                java.io.DataOutputStream v0_3 = new StringBuilder();
                v0_3.append("Destination directory doesn\'t exist and cannot be created: ");
                v0_3.append(p10);
                throw new java.io.IOException(v0_3.toString());
            }
        }
        java.io.IOException v11_4 = new java.util.TreeMap();
        java.util.Comparator v1_1 = new java.util.TreeMap();
        System.out.println("Writing zoneinfo files");
        int v2_3 = 0;
        while (v2_3 < this.d.size()) {
            java.io.PrintStream v3_13 = ((ark>org.joda.time.tz.eark>$d) this.d.get(v2_3));
            java.io.PrintStream v5_6 = new org.joda.time.tz.DateTimeZoneBuilder();
            v3_13.a(v5_6, this.c);
            String v4_1 = v5_6.a(v3_13.a, 1);
            if (ark>org.joda.time.tz.eark>.a(v4_1.e(), v4_1)) {
                v11_4.put(v4_1.e(), v4_1);
                v1_1.put(v4_1.e(), v3_13);
                if (p10 != null) {
                    this.a(p10, v5_6, v4_1);
                }
            }
            v2_3++;
        }
        int v2_1 = 0;
        while (v2_1 < this.e.size()) {
            java.io.PrintStream v3_5 = ((String) this.e.get(v2_1));
            java.io.PrintStream v5_3 = ((String) this.e.get((v2_1 + 1)));
            StringBuilder v6_4 = ((ark>org.joda.time.tz.eark>$d) v1_1.get(v3_5));
            if (v6_4 != null) {
                String v7_2 = new org.joda.time.tz.DateTimeZoneBuilder();
                v6_4.a(v7_2, this.c);
                StringBuilder v6_5 = v7_2.a(v5_3, 1);
                if (ark>org.joda.time.tz.eark>.a(v6_5.e(), v6_5)) {
                    v11_4.put(v6_5.e(), v6_5);
                    if (p10 != null) {
                        this.a(p10, v7_2, v6_5);
                    }
                }
                v11_4.put(v6_5.e(), v6_5);
                if (org.joda.time.tz.f.a()) {
                    String v7_5 = new StringBuilder();
                    v7_5.append("Good link: ");
                    v7_5.append(v5_3);
                    v7_5.append(" -> ");
                    v7_5.append(v3_5);
                    v7_5.append(" revived");
                    System.out.println(v7_5.toString());
                }
            } else {
                String v7_7 = new StringBuilder();
                v7_7.append("Cannot find source zone \'");
                v7_7.append(v3_5);
                v7_7.append("\' to link alias \'");
                v7_7.append(v5_3);
                v7_7.append("\' to");
                System.out.println(v7_7.toString());
            }
            v2_1 += 2;
        }
        java.util.Comparator v1_5 = 0;
        while (v1_5 < 2) {
            int v2_0 = 0;
            while (v2_0 < this.f.size()) {
                java.io.PrintStream v3_25 = ((String) this.f.get(v2_0));
                String v4_9 = ((String) this.f.get((v2_0 + 1)));
                java.io.PrintStream v5_10 = ((org.joda.time.DateTimeZone) v11_4.get(v3_25));
                if (v5_10 != null) {
                    v11_4.put(v4_9, v5_10);
                    if (org.joda.time.tz.f.a()) {
                        StringBuilder v6_16 = new StringBuilder();
                        v6_16.append("Back link: ");
                        v6_16.append(v4_9);
                        v6_16.append(" -> ");
                        v6_16.append(v5_10.e());
                        System.out.println(v6_16.toString());
                    }
                } else {
                    if (v1_5 > null) {
                        StringBuilder v6_1 = new StringBuilder();
                        v6_1.append("Cannot find time zone \'");
                        v6_1.append(v3_25);
                        v6_1.append("\' to link alias \'");
                        v6_1.append(v4_9);
                        v6_1.append("\' to");
                        System.out.println(v6_1.toString());
                    }
                }
                v2_0 += 2;
            }
            v1_5++;
        }
        if (p10 != null) {
            System.out.println("Writing ZoneInfoMap");
            java.io.DataOutputStream v0_6 = new java.io.File(p10, "ZoneInfoMap");
            if (!v0_6.getParentFile().exists()) {
                v0_6.getParentFile().mkdirs();
            }
            java.io.DataOutputStream v0_8 = new java.io.DataOutputStream(new java.io.FileOutputStream(v0_6));
            try {
                Throwable v10_10 = new java.util.TreeMap(String.CASE_INSENSITIVE_ORDER);
                v10_10.putAll(v11_4);
                ark>org.joda.time.tz.eark>.a(v0_8, v10_10);
                v0_8.close();
            } catch (Throwable v10_11) {
                v0_8.close();
                throw v10_11;
            }
        }
        return v11_4;
    }

Method com.google.android.gms.common.util.x.a() calling method java.io.FileReader.<init>()


    private static java.io.BufferedReader a(String p3)
    {
        android.os.StrictMode$ThreadPolicy v0 = android.os.StrictMode.allowThreadDiskReads();
        try {
            java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(p3));
            android.os.StrictMode.setThreadPolicy(v0);
            return v1_1;
        } catch (Throwable v3_1) {
            android.os.StrictMode.setThreadPolicy(v0);
            throw v3_1;
        }
    }

Method io.fabric.sdk.android.services.common.CommonUtils.a() calling method java.io.FileReader.<init>()


    public static String a(java.io.File p6, String p7)
    {
        String v1 = 0;
        if (p6.exists()) {
            try {
                int v0_1 = new java.io.BufferedReader(new java.io.FileReader(p6), 1024);
                try {
                    do {
                        String[] v2_0 = v0_1.readLine();
                    } while((String[] v2_1.length <= 1) || (!v2_1[0].equals(p7)));
                    v1 = v2_1[1];
                    ark>io.fabric.sdk.android.services.common.CommonUtilsark>.a(v0_1, "Failed to close system file reader.");
                } catch (String v7_1) {
                    String[] v2_2 = io.fabric.sdk.android.d.i();
                    int v4_3 = new StringBuilder();
                    v4_3.append("Error parsing ");
                    v4_3.append(p6);
                    v2_2.e("Fabric", v4_3.toString(), v7_1);
                }
                if (v2_0 == null) {
                } else {
                    v2_1 = java.util.regex.Pattern.compile("\\s*:\\s*").split(v2_0, 2);
                    if ((v2_1.length > 1) && (v2_1[0].equals(p7))) {
                    }
                }
            } catch (String v6_1) {
                v0_1 = 0;
                ark>io.fabric.sdk.android.services.common.CommonUtilsark>.a(v0_1, "Failed to close system file reader.");
                throw v6_1;
            } catch (String v7_1) {
                v0_1 = 0;
            } catch (String v6_1) {
            }
        }
        return v1;
    }

Method android.support.media.ExifInterface.<init>() calling method java.io.FileInputStream.<init>()


    public ExifInterface(String p3)
    {
        java.io.FileInputStream v0_5 = new java.util.HashMap[android.support.media.ExifInterface.EXIF_TAGS.length];
        this.mAttributes = v0_5;
        this.mAttributesOffsets = new java.util.HashSet(android.support.media.ExifInterface.EXIF_TAGS.length);
        this.mExifByteOrder = java.nio.ByteOrder.BIG_ENDIAN;
        if (p3 != null) {
            java.io.FileInputStream v0_2 = 0;
            this.mAssetInputStream = 0;
            this.mFilename = p3;
            try {
                java.io.FileInputStream v1_1 = new java.io.FileInputStream(p3);
                try {
                    this.loadAttributes(v1_1);
                    android.support.media.ExifInterface.closeQuietly(v1_1);
                    return;
                } catch (Throwable v3_1) {
                    v0_2 = v1_1;
                    android.support.media.ExifInterface.closeQuietly(v0_2);
                    throw v3_1;
                }
            } catch (Throwable v3_1) {
            }
            this.loadAttributes(v1_1);
            android.support.media.ExifInterface.closeQuietly(v1_1);
            return;
        } else {
            throw new IllegalArgumentException("filename cannot be null");
        }
    }

Method android.support.media.ExifInterface.getThumbnailBytes() calling method java.io.FileInputStream.<init>()


    public byte[] getThumbnailBytes()
    {
        if (this.mHasThumbnail) {
            if (this.mThumbnailBytes == null) {
                try {
                    Throwable v0_2;
                    if (this.mAssetInputStream == null) {
                        if (this.mFilename == null) {
                            v0_2 = 0;
                            if (v0_2 != null) {
                                if (v0_2.skip(((long) this.mThumbnailOffset)) == ((long) this.mThumbnailOffset)) {
                                    java.io.IOException v2_9 = new byte[this.mThumbnailLength];
                                    if (v0_2.read(v2_9) == this.mThumbnailLength) {
                                        this.mThumbnailBytes = v2_9;
                                        android.support.media.ExifInterface.closeQuietly(v0_2);
                                        return v2_9;
                                    } else {
                                        throw new java.io.IOException("Corrupted image");
                                    }
                                } else {
                                    throw new java.io.IOException("Corrupted image");
                                }
                            } else {
                                throw new java.io.FileNotFoundException();
                            }
                        } else {
                            v0_2 = new java.io.FileInputStream(this.mFilename);
                        }
                    } else {
                        v0_2 = this.mAssetInputStream;
                        if (!v0_2.markSupported()) {
                            android.util.Log.d("ExifInterface", "Cannot read thumbnail from inputstream without mark/reset support");
                            android.support.media.ExifInterface.closeQuietly(v0_2);
                            return 0;
                        } else {
                            v0_2.reset();
                        }
                    }
                } catch (Throwable v0_3) {
                    Throwable v1_1 = v0_3;
                    v0_2 = 0;
                } catch (java.io.IOException v2_1) {
                    v0_2 = 0;
                    android.util.Log.d("ExifInterface", "Encountered exception while getting thumbnail", v2_1);
                    android.support.media.ExifInterface.closeQuietly(v0_2);
                    return 0;
                } catch (Throwable v1_1) {
                } catch (java.io.IOException v2_1) {
                    android.util.Log.d("ExifInterface", "Encountered exception while getting thumbnail", v2_1);
                    android.support.media.ExifInterface.closeQuietly(v0_2);
                    return 0;
                }
                android.support.media.ExifInterface.closeQuietly(v0_2);
                throw v1_1;
            } else {
                return this.mThumbnailBytes;
            }
        } else {
            return 0;
        }
    }

Method android.support.media.ExifInterface.saveAttributes() calling method java.io.FileInputStream.<init>()


    public void saveAttributes()
    {
        if ((this.mIsSupportedFile) && (this.mMimeType == 4)) {
            if (this.mFilename != null) {
                this.mThumbnailBytes = this.getThumbnail();
                Throwable v1_1 = new StringBuilder();
                v1_1.append(this.mFilename);
                v1_1.append(".tmp");
                String v0_2 = new java.io.File(v1_1.toString());
                if (new java.io.File(this.mFilename).renameTo(v0_2)) {
                    Throwable v1_6 = 0;
                    try {
                        int v2_4 = new java.io.FileInputStream(v0_2);
                        try {
                            Throwable v3_2 = new java.io.FileOutputStream(this.mFilename);
                            try {
                                this.saveJpegAttributes(v2_4, v3_2);
                                android.support.media.ExifInterface.closeQuietly(v2_4);
                                android.support.media.ExifInterface.closeQuietly(v3_2);
                                v0_2.delete();
                                this.mThumbnailBytes = 0;
                                return;
                            } catch (Throwable v1_8) {
                                Throwable v3_0 = v1_8;
                                v1_6 = v3_2;
                                android.support.media.ExifInterface.closeQuietly(v2_4);
                                android.support.media.ExifInterface.closeQuietly(v1_6);
                                v0_2.delete();
                                throw v3_0;
                            }
                        } catch (Throwable v3_0) {
                        }
                        this.saveJpegAttributes(v2_4, v3_2);
                        android.support.media.ExifInterface.closeQuietly(v2_4);
                        android.support.media.ExifInterface.closeQuietly(v3_2);
                        v0_2.delete();
                        this.mThumbnailBytes = 0;
                        return;
                    } catch (int v2_5) {
                        v3_0 = v2_5;
                        v2_4 = 0;
                    }
                } else {
                    int v2_7 = new StringBuilder();
                    v2_7.append("Could not rename to ");
                    v2_7.append(v0_2.getAbsolutePath());
                    throw new java.io.IOException(v2_7.toString());
                }
            } else {
                throw new java.io.IOException("ExifInterface does not support saving attributes for the current input.");
            }
        } else {
            throw new java.io.IOException("ExifInterface only supports saving attributes on JPEG formats.");
        }
    }

Method android.support.v4.graphics.TypefaceCompatUtil.mmap() calling method java.io.FileInputStream.<init>()


    private static java.nio.ByteBuffer mmap(java.io.File p9)
    {
        try {
            Throwable v1_1 = new java.io.FileInputStream(p9);
            try {
                Throwable v2_2 = v1_1.getChannel();
                Throwable v9_1 = v2_2.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v2_2.size());
            } catch (Throwable v9_3) {
                Throwable v2_1 = 0;
                if (v1_1 != null) {
                    if (v2_1 == null) {
                        v1_1.close();
                    } else {
                        try {
                            v1_1.close();
                        } catch (Throwable v1_2) {
                            v2_1.addSuppressed(v1_2);
                        }
                    }
                }
                throw v9_3;
            } catch (Throwable v9_2) {
                try {
                    throw v9_2;
                } catch (Throwable v2_0) {
                    v2_1 = v9_2;
                    v9_3 = v2_0;
                }
            }
            if (v1_1 != null) {
                v1_1.close();
            }
            return v9_1;
        } catch (java.io.IOException) {
            return 0;
        }
    }

Method android.support.v4.util.AtomicFile.openRead() calling method java.io.FileInputStream.<init>()


    public java.io.FileInputStream openRead()
    {
        if (this.mBackupName.exists()) {
            this.mBaseName.delete();
            this.mBackupName.renameTo(this.mBaseName);
        }
        return new java.io.FileInputStream(this.mBaseName);
    }

Method com.crashlytics.android.core.ad.a() calling method java.io.FileInputStream.<init>()


    public com.crashlytics.android.core.ax a(String p5)
    {
        Exception v5_1 = this.c(p5);
        if (v5_1.exists()) {
            io.fabric.sdk.android.l v0_1 = 0;
            try {
                io.fabric.sdk.android.l v1_3 = new java.io.FileInputStream(v5_1);
                try {
                    Exception v5_3 = ark>com.crashlytics.android.core.adark>.e(io.fabric.sdk.android.services.common.CommonUtils.a(v1_3));
                    io.fabric.sdk.android.services.common.CommonUtils.a(v1_3, "Failed to close user metadata file.");
                    return v5_3;
                } catch (Exception v5_7) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close user metadata file.");
                    throw v5_7;
                } catch (Exception v5_4) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.d.i().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close user metadata file.");
                    return com.crashlytics.android.core.ax.a;
                }
            } catch (Exception v5_7) {
            } catch (Exception v5_4) {
                io.fabric.sdk.android.d.i().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close user metadata file.");
                return com.crashlytics.android.core.ax.a;
            }
            v5_3 = ark>com.crashlytics.android.core.adark>.e(io.fabric.sdk.android.services.common.CommonUtils.a(v1_3));
            io.fabric.sdk.android.services.common.CommonUtils.a(v1_3, "Failed to close user metadata file.");
            return v5_3;
        } else {
            return com.crashlytics.android.core.ax.a;
        }
    }

Method com.crashlytics.android.core.ad.b() calling method java.io.FileInputStream.<init>()


    public java.util.Map b(String p5)
    {
        Exception v5_1 = this.d(p5);
        if (v5_1.exists()) {
            io.fabric.sdk.android.l v0_1 = 0;
            try {
                io.fabric.sdk.android.l v1_3 = new java.io.FileInputStream(v5_1);
                try {
                    Exception v5_3 = com.crashlytics.android.core.ad.f(io.fabric.sdk.android.services.common.CommonUtils.a(v1_3));
                    io.fabric.sdk.android.services.common.CommonUtils.a(v1_3, "Failed to close user metadata file.");
                    return v5_3;
                } catch (Exception v5_7) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close user metadata file.");
                    throw v5_7;
                } catch (Exception v5_4) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.d.i().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close user metadata file.");
                    return java.util.Collections.emptyMap();
                }
            } catch (Exception v5_7) {
            } catch (Exception v5_4) {
                io.fabric.sdk.android.d.i().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close user metadata file.");
                return java.util.Collections.emptyMap();
            }
            v5_3 = com.crashlytics.android.core.ad.f(io.fabric.sdk.android.services.common.CommonUtils.a(v1_3));
            io.fabric.sdk.android.services.common.CommonUtils.a(v1_3, "Failed to close user metadata file.");
            return v5_3;
        } else {
            return java.util.Collections.emptyMap();
        }
    }

Method com.crashlytics.android.core.ah.a() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

Method com.crashlytics.android.core.l.a() calling method java.io.FileInputStream.<init>()


    private static void a(com.crashlytics.android.core.CodedOutputStream p4, java.io.File p5)
    {
        if (p5.exists()) {
            try {
                int v0_3 = new java.io.FileInputStream(p5);
                try {
                    ark>com.crashlytics.android.core.lark>.a(v0_3, p4, ((int) p5.length()));
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_3, "Failed to close file input stream.");
                    return;
                } catch (Throwable v4_2) {
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_3, "Failed to close file input stream.");
                    throw v4_2;
                }
            } catch (Throwable v4_2) {
                v0_3 = 0;
            }
            ark>com.crashlytics.android.core.lark>.a(v0_3, p4, ((int) p5.length()));
            io.fabric.sdk.android.services.common.CommonUtils.a(v0_3, "Failed to close file input stream.");
            return;
        } else {
            Throwable v4_3 = io.fabric.sdk.android.d.i();
            StringBuilder v2_1 = new StringBuilder();
            v2_1.append("Tried to include a file that doesn\'t exist: ");
            v2_1.append(p5.getName());
            v4_3.e("CrashlyticsCore", v2_1.toString(), 0);
            return;
        }
    }

Method com.facebook.internal.o.a() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream a(String p7, String p8)
    {
        java.io.File v0_1 = new java.io.File(this.g, com.facebook.internal.ae.b(p7));
        try {
            java.io.BufferedInputStream v3_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(v0_1), 8192);
            try {
                String v2_0 = ark>com.facebook.internal.oark>$g.a(v3_0);
            } catch (long v7_8) {
                v3_0.close();
                throw v7_8;
            }
            if (v2_0 != null) {
                String v4_1 = v2_0.optString("key");
                if (v4_1 != null) {
                    if (v4_1.equals(p7)) {
                        long v7_3 = v2_0.optString("tag", 0);
                        if (((p8 != null) || (v7_3 == 0)) && ((p8 == null) || (p8.equals(v7_3)))) {
                            long v7_7 = new java.util.Date().getTime();
                            String v4_3 = new StringBuilder();
                            v4_3.append("Setting lastModified to ");
                            v4_3.append(Long.valueOf(v7_7));
                            v4_3.append(" for ");
                            v4_3.append(v0_1.getName());
                            com.facebook.internal.w.a(com.facebook.LoggingBehavior.d, ark>com.facebook.internal.oark>.a, v4_3.toString());
                            v0_1.setLastModified(v7_7);
                            return v3_0;
                        } else {
                            v3_0.close();
                            return 0;
                        }
                    } else {
                    }
                }
                v3_0.close();
                return 0;
            } else {
                v3_0.close();
                return 0;
            }
        } catch (java.io.IOException) {
            return 0;
        }
    }

Method com.facebook.internal.y.a() calling method java.io.FileInputStream.<init>()


    private static void a(android.net.Uri p1, boolean p2, java.io.File p3)
    {
        java.io.InputStream v2_1;
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p3);
        if (p2 != null) {
            v2_1 = com.facebook.i.h().getContentResolver().openInputStream(p1);
        } else {
            v2_1 = new java.io.FileInputStream(p1.getPath());
        }
        com.facebook.internal.ae.a(v2_1, v0_1);
        com.facebook.internal.ae.a(v0_1);
        return;
    }

Method android.support.v4.graphics.TypefaceCompatApi21Impl.createFromFontInfo() calling method java.io.FileInputStream.<init>()


    public android.graphics.Typeface createFromFontInfo(android.content.Context p5, android.os.CancellationSignal p6, android.support.v4.provider.FontsContractCompat$FontInfo[] p7, int p8)
    {
        if (p7.length >= 1) {
            try {
                Throwable v6_1 = p5.getContentResolver().openFileDescriptor(this.findBestInfo(p7, p8).getUri(), "r", p6);
                try {
                    Throwable v7_1 = this.getFile(v6_1);
                } catch (Throwable v5_6) {
                    Throwable v7_7 = 0;
                    if (v6_1 != null) {
                        if (v7_7 == null) {
                            v6_1.close();
                        } else {
                            try {
                                v6_1.close();
                            } catch (Throwable v6_2) {
                                v7_7.addSuppressed(v6_2);
                            }
                        }
                    }
                    throw v5_6;
                } catch (Throwable v5_5) {
                    try {
                        throw v5_5;
                    } catch (Throwable v7_5) {
                        v7_7 = v5_5;
                        v5_6 = v7_5;
                    }
                }
                if (v7_1 != null) {
                    if (v7_1.canRead()) {
                        Throwable v5_1 = android.graphics.Typeface.createFromFile(v7_1);
                        if (v6_1 != null) {
                            v6_1.close();
                        }
                        return v5_1;
                    } else {
                    }
                }
                Throwable v7_3 = new java.io.FileInputStream(v6_1.getFileDescriptor());
                try {
                    Throwable v5_2 = super.createFromInputStream(p5, v7_3);
                } catch (Throwable v5_4) {
                    Throwable v8_4 = 0;
                    if (v7_3 != null) {
                        if (v8_4 == null) {
                            v7_3.close();
                        } else {
                            try {
                                v7_3.close();
                            } catch (Throwable v7_4) {
                                v8_4.addSuppressed(v7_4);
                            }
                        }
                    }
                    throw v5_4;
                } catch (Throwable v5_3) {
                    try {
                        throw v5_3;
                    } catch (Throwable v8_3) {
                        v8_4 = v5_3;
                        v5_4 = v8_3;
                    }
                }
                if (v7_3 != null) {
                    v7_3.close();
                }
                if (v6_1 != null) {
                    v6_1.close();
                }
                return v5_2;
            } catch (java.io.IOException) {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.crashlytics.android.core.at.a() calling method java.io.FileInputStream.<init>()


    private static String a(String p3)
    {
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p3));
            try {
                Throwable v3_2 = io.fabric.sdk.android.services.common.CommonUtils.b(v1_1);
                io.fabric.sdk.android.services.common.CommonUtils.a(v1_1);
                return v3_2;
            } catch (Throwable v3_1) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.a(v0);
                throw v3_1;
            }
        } catch (Throwable v3_1) {
        }
        v3_2 = io.fabric.sdk.android.services.common.CommonUtils.b(v1_1);
        io.fabric.sdk.android.services.common.CommonUtils.a(v1_1);
        return v3_2;
    }

Method com.fasterxml.jackson.core.JsonFactory.a() calling method java.io.FileInputStream.<init>()


    public com.fasterxml.jackson.core.JsonParser a(java.io.File p3)
    {
        com.fasterxml.jackson.core.io.c v0_1 = this.a(p3, 1);
        return this.a(this.b(new java.io.FileInputStream(p3), v0_1), v0_1);
    }

Method com.fasterxml.jackson.core.JsonFactory.c() calling method java.io.FileInputStream.<init>()


    protected java.io.InputStream c(java.net.URL p3)
    {
        if ("file".equals(p3.getProtocol())) {
            java.io.FileInputStream v0_7 = p3.getHost();
            if (((v0_7 == null) || (v0_7.length() == 0)) && (p3.getPath().indexOf(37) < 0)) {
                return new java.io.FileInputStream(p3.getPath());
            }
        }
        return p3.openStream();
    }

Method android.support.v4.graphics.drawable.IconCompat.loadDrawableInner() calling method java.io.FileInputStream.<init>()


    private android.graphics.drawable.Drawable loadDrawableInner(android.content.Context p7)
    {
        switch (this.mType) {
            case 1:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), ((android.graphics.Bitmap) this.mObj1));
            case 2:
                android.graphics.drawable.BitmapDrawable v0_14 = this.getResPackage();
                if (android.text.TextUtils.isEmpty(v0_14)) {
                    v0_14 = p7.getPackageName();
                }
                try {
                    return android.support.v4.content.res.ResourcesCompat.getDrawable(android.support.v4.graphics.drawable.IconCompat.getResources(p7, v0_14), this.mInt1, p7.getTheme());
                } catch (android.content.res.Resources v7_7) {
                    StringBuilder v4_7 = new Object[2];
                    v4_7[0] = Integer.valueOf(this.mInt1);
                    v4_7[1] = this.mObj1;
                    android.util.Log.e("IconCompat", String.format("Unable to load resource 0x%08x from pkg=%s", v4_7), v7_7);
                }
            case 3:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.graphics.BitmapFactory.decodeByteArray(((byte[]) this.mObj1), this.mInt1, this.mInt2));
            case 4:
                android.graphics.Bitmap v2_6;
                android.graphics.drawable.BitmapDrawable v0_6 = android.net.Uri.parse(((String) this.mObj1));
                android.graphics.Bitmap v2_2 = v0_6.getScheme();
                if ((!"content".equals(v2_2)) && (!"file".equals(v2_2))) {
                    try {
                        v2_6 = new java.io.FileInputStream(new java.io.File(((String) this.mObj1)));
                    } catch (android.graphics.Bitmap v2_7) {
                        StringBuilder v4_3 = new StringBuilder();
                        v4_3.append("Unable to load image from path: ");
                        v4_3.append(v0_6);
                        android.util.Log.w("IconCompat", v4_3.toString(), v2_7);
                        v2_6 = 0;
                    }
                } else {
                    try {
                        v2_6 = p7.getContentResolver().openInputStream(v0_6);
                    } catch (android.graphics.Bitmap v2_9) {
                        StringBuilder v4_5 = new StringBuilder();
                        v4_5.append("Unable to load image from URI: ");
                        v4_5.append(v0_6);
                        android.util.Log.w("IconCompat", v4_5.toString(), v2_9);
                    }
                }
                if (v2_6 == null) {
                } else {
                    return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.graphics.BitmapFactory.decodeStream(v2_6));
                }
            case 5:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.support.v4.graphics.drawable.IconCompat.createLegacyIconFromAdaptiveIcon(((android.graphics.Bitmap) this.mObj1), 0));
            default:
        }
        return 0;
    }

Method com.fitbit.coin.kit.internal.service.ad.a() calling method java.io.FileInputStream.<init>()


    public byte[] a(java.io.File p7)
    {
        try {
            RuntimeException v1_1 = new java.io.FileInputStream(p7);
            try {
                java.io.IOException v0_3 = new java.io.ByteArrayOutputStream();
                StringBuilder v2_1 = new byte[1024];
            } catch (java.io.IOException v0_6) {
                throw new RuntimeException(v0_6);
            }
            while(true) {
                String v3_0 = v1_1.read(v2_1);
                if (v3_0 == -1) {
                    break;
                }
                v0_3.write(v2_1, 0, v3_0);
            }
            java.io.IOException v0_4 = v0_3.toByteArray();
            if (v1_1 != null) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v0_5) {
                    StringBuilder v2_3 = new StringBuilder();
                    v2_3.append("Error closing asset file: ");
                    v2_3.append(p7.getName());
                    throw new RuntimeException(v2_3.toString(), v0_5);
                }
            }
            return v0_4;
        } catch (RuntimeException v1_7) {
            v1_1 = 0;
            java.io.IOException v0_1 = v1_7;
            if (v1_1 != null) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v0_7) {
                    StringBuilder v2_7 = new StringBuilder();
                    v2_7.append("Error closing asset file: ");
                    v2_7.append(p7.getName());
                    throw new RuntimeException(v2_7.toString(), v0_7);
                }
            }
            throw v0_1;
        } catch (RuntimeException v1_3) {
            v1_1 = 0;
            v0_6 = v1_3;
        } catch (java.io.IOException v0_1) {
        }
    }

Method com.fitbit.data.repo.o.a() calling method java.io.FileInputStream.<init>()


    public declared_synchronized byte[] a(String p6)
    {
        try {
            this.e();
            int v0_4 = new java.io.File(this.e, com.fitbit.util.an.a(p6));
        } catch (Throwable v6_2) {
            throw v6_2;
        }
        if (v0_4.exists()) {
            try {
                int v1_1 = new java.io.FileInputStream(v0_4);
                try {
                    int v0_1 = new java.io.ByteArrayOutputStream();
                    try {
                        com.fitbit.util.q.a(v1_1, v0_1);
                        java.io.IOException v3_1 = v0_1.toByteArray();
                    } catch (java.io.IOException v3_0) {
                        com.fitbit.r.d.e("DiskDataCache", v3_0);
                        com.fitbit.util.q.a(v1_1);
                        com.fitbit.util.q.a(v0_1);
                    }
                    com.fitbit.util.q.a(v1_1);
                    com.fitbit.util.q.a(v0_1);
                    return v3_1;
                } catch (Throwable v6_1) {
                    v0_1 = 0;
                    com.fitbit.util.q.a(v1_1);
                    com.fitbit.util.q.a(v0_1);
                    throw v6_1;
                } catch (java.io.IOException v3_0) {
                    v0_1 = 0;
                }
            } catch (Throwable v6_1) {
                v0_1 = 0;
                v1_1 = 0;
            } catch (java.io.IOException v3_0) {
                v0_1 = 0;
                v1_1 = 0;
            }
        }
        java.io.IOException v3_3 = new Object[1];
        v3_3[0] = p6;
        com.fitbit.r.d.a("DiskDataCache", "File does not exist: %s", v3_3);
        return 0;
    }

Method com.fitbit.food.barcode.c.a.a() calling method java.io.FileInputStream.<init>()


    public boolean a(java.io.File p8)
    {
        String v0_1 = new java.io.FileInputStream(p8);
        try {
            Object[] v2_14 = android.webkit.MimeTypeMap.getFileExtensionFromUrl(p8.toURI().toString());
            Object[] v3_1 = "image/jpeg";
        } catch (java.io.IOException v8_11) {
            try {
                v0_1.close();
            } catch (String v0_3) {
                Object[] v1_1 = new Object[0];
                d.a.b.e(v0_3, "Error closing file lock", v1_1);
            }
            throw v8_11;
        } catch (java.io.IOException v8_9) {
            Object[] v3_5 = new Object[0];
            d.a.b.d(v8_9, "Error uploading image to server", v3_5);
            try {
                v0_1.close();
            } catch (java.io.IOException v8_10) {
                Object[] v2_11 = new Object[0];
                d.a.b.e(v8_10, "Error closing file lock", v2_11);
            }
            return 0;
        }
        if (v2_14 != null) {
            v3_1 = android.webkit.MimeTypeMap.getSingleton().getMimeTypeFromExtension(v2_14);
        }
        java.io.IOException v8_8 = com.fitbit.httpcore.o.b().a(new okhttp3.aa$a().a(okhttp3.HttpUrl.g(com.fitbit.httpcore.FitbitHttpConfig.b().i()).v().j("foods/search/barcodeImageUpload").c()).a(new okhttp3.x$a().a(okhttp3.x.e).a("image", p8.getName(), okhttp3.ab.a(okhttp3.w.a(v3_1), p8)).a()).d()).b().d();
        try {
            v0_1.close();
        } catch (String v0_4) {
            Object[] v1_2 = new Object[0];
            d.a.b.e(v0_4, "Error closing file lock", v1_2);
        }
        return v8_8;
    }

Method net.hockeyapp.android.d.g.a() calling method java.io.FileInputStream.<init>()


    public static int a(java.io.File p2)
    {
        java.io.FileInputStream v0 = 0;
        try {
            java.io.FileInputStream v1_1 = new java.io.FileInputStream(p2);
            try {
                Throwable v2_2 = ark>net.hockeyapp.android.d.gark>.a(v1_1);
            } catch (Throwable v2_1) {
                v0 = v1_1;
                if (v0 != null) {
                    v0.close();
                }
                throw v2_1;
            }
            if (v1_1 != null) {
                v1_1.close();
            }
            return v2_2;
        } catch (Throwable v2_1) {
        }
    }

Method net.hockeyapp.android.d.k.a() calling method java.io.FileInputStream.<init>()


    public void a(java.io.OutputStream p5)
    {
        this.c();
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(this.d);
        java.io.BufferedOutputStream v1_2 = new java.io.BufferedOutputStream(p5);
        int v5_4 = new byte[4096];
        while(true) {
            int v2 = v0_1.read(v5_4);
            if (v2 == -1) {
                break;
            }
            v1_2.write(v5_4, 0, v2);
        }
        v0_1.close();
        v1_2.flush();
        v1_2.close();
        this.d.delete();
        this.d = 0;
        return;
    }

Method net.hockeyapp.android.d.k.a() calling method java.io.FileInputStream.<init>()


    public void a(String p3, java.io.File p4, boolean p5)
    {
        this.a(p3, p4.getName(), new java.io.FileInputStream(p4), p5);
        return;
    }

Method net.hockeyapp.android.metrics.e.a() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

Method okio.o.a() calling method java.io.FileInputStream.<init>()


    public static okio.x a(java.io.File p1)
    {
        if (p1 != null) {
            return ark>okio.oark>.a(new java.io.FileInputStream(p1));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.FileInputStream.<init>()


    public static long a(java.io.File p1, java.io.OutputStream p2)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p1);
        try {
            Throwable v1_1 = org.apache.commons.io.k.b(v0_1, p2);
            v0_1.close();
            return v1_1;
        } catch (Throwable v1_2) {
            v0_1.close();
            throw v1_2;
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.FileInputStream.<init>()


    public static java.io.FileInputStream a(java.io.File p3)
    {
        if (!p3.exists()) {
            StringBuilder v1_5 = new StringBuilder();
            v1_5.append("File \'");
            v1_5.append(p3);
            v1_5.append("\' does not exist");
            throw new java.io.FileNotFoundException(v1_5.toString());
        } else {
            if (!p3.isDirectory()) {
                if (p3.canRead()) {
                    return new java.io.FileInputStream(p3);
                } else {
                    StringBuilder v1_1 = new StringBuilder();
                    v1_1.append("File \'");
                    v1_1.append(p3);
                    v1_1.append("\' cannot be read");
                    throw new java.io.IOException(v1_1.toString());
                }
            } else {
                StringBuilder v1_3 = new StringBuilder();
                v1_3.append("File \'");
                v1_3.append(p3);
                v1_3.append("\' exists but is a directory");
                throw new java.io.IOException(v1_3.toString());
            }
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.FileInputStream.<init>()


    public static java.util.zip.Checksum a(java.io.File p3, java.util.zip.Checksum p4)
    {
        if (!p3.isDirectory()) {
            java.util.zip.CheckedInputStream v0_1 = 0;
            try {
                java.util.zip.CheckedInputStream v1_1 = new java.util.zip.CheckedInputStream(new java.io.FileInputStream(p3), p4);
                try {
                    org.apache.commons.io.k.a(v1_1, new org.apache.commons.io.output.j());
                    org.apache.commons.io.k.a(v1_1);
                    return p4;
                } catch (Throwable v3_2) {
                    v0_1 = v1_1;
                    org.apache.commons.io.k.a(v0_1);
                    throw v3_2;
                }
            } catch (Throwable v3_2) {
            }
            org.apache.commons.io.k.a(v1_1, new org.apache.commons.io.output.j());
            org.apache.commons.io.k.a(v1_1);
            return p4;
        } else {
            throw new IllegalArgumentException("Checksums can\'t be computed on directories");
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.FileInputStream.<init>()


    public static boolean a(java.io.File p7, java.io.File p8)
    {
        java.io.FileInputStream v0_0 = p7.exists();
        if (v0_0 == p8.exists()) {
            if (v0_0 != null) {
                if ((!p7.isDirectory()) && (!p8.isDirectory())) {
                    if (p7.length() == p8.length()) {
                        if (!p7.getCanonicalFile().equals(p8.getCanonicalFile())) {
                            java.io.FileInputStream v0_5 = 0;
                            try {
                                int v1_1 = new java.io.FileInputStream(p7);
                                try {
                                    java.io.FileInputStream v7_2 = new java.io.FileInputStream(p8);
                                    try {
                                        Throwable v8_2 = org.apache.commons.io.k.a(v1_1, v7_2);
                                        org.apache.commons.io.k.a(v1_1);
                                        org.apache.commons.io.k.a(v7_2);
                                        return v8_2;
                                    } catch (Throwable v8_1) {
                                        v0_5 = v7_2;
                                        org.apache.commons.io.k.a(v1_1);
                                        org.apache.commons.io.k.a(v0_5);
                                        throw v8_1;
                                    }
                                } catch (Throwable v8_1) {
                                }
                                v8_2 = org.apache.commons.io.k.a(v1_1, v7_2);
                                org.apache.commons.io.k.a(v1_1);
                                org.apache.commons.io.k.a(v7_2);
                                return v8_2;
                            } catch (Throwable v8_1) {
                                v1_1 = 0;
                            }
                        } else {
                            return 1;
                        }
                    } else {
                        return 0;
                    }
                } else {
                    throw new java.io.IOException("Can\'t compare directories, only files");
                }
            } else {
                return 1;
            }
        } else {
            return 0;
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.FileInputStream.<init>()


    public static boolean a(java.io.File p4, java.io.File p5, String p6)
    {
        java.io.FileInputStream v0_0 = p4.exists();
        if (v0_0 == p5.exists()) {
            if (v0_0 != null) {
                if ((!p4.isDirectory()) && (!p5.isDirectory())) {
                    if (!p4.getCanonicalFile().equals(p5.getCanonicalFile())) {
                        Throwable v4_2;
                        java.io.FileInputStream v0_4;
                        v0_4 = 0;
                        try {
                            if (p6 != null) {
                                java.io.FileInputStream v1_1 = new java.io.InputStreamReader(new java.io.FileInputStream(p4), p6);
                                try {
                                    v4_2 = new java.io.InputStreamReader(new java.io.FileInputStream(p5), p6);
                                    v0_4 = v1_1;
                                    try {
                                        Throwable v5_2 = org.apache.commons.io.k.b(v0_4, v4_2);
                                        org.apache.commons.io.k.a(v0_4);
                                        org.apache.commons.io.k.a(v4_2);
                                        return v5_2;
                                    } catch (Throwable v5_3) {
                                        Throwable v5_1 = v4_2;
                                        Throwable v4_3 = v5_3;
                                    }
                                } catch (Throwable v4_3) {
                                    v5_1 = v0_4;
                                    v0_4 = v1_1;
                                }
                                v5_2 = org.apache.commons.io.k.b(v0_4, v4_2);
                                org.apache.commons.io.k.a(v0_4);
                                org.apache.commons.io.k.a(v4_2);
                                return v5_2;
                            } else {
                                java.io.InputStreamReader v6_2 = new java.io.InputStreamReader(new java.io.FileInputStream(p4));
                                try {
                                    v4_2 = new java.io.InputStreamReader(new java.io.FileInputStream(p5));
                                    v0_4 = v6_2;
                                } catch (Throwable v4_3) {
                                    v5_1 = v0_4;
                                    v0_4 = v6_2;
                                }
                                v5_2 = org.apache.commons.io.k.b(v0_4, v4_2);
                                org.apache.commons.io.k.a(v0_4);
                                org.apache.commons.io.k.a(v4_2);
                                return v5_2;
                            }
                        } catch (Throwable v4_3) {
                            v5_1 = 0;
                        }
                        org.apache.commons.io.k.a(v0_4);
                        org.apache.commons.io.k.a(v5_1);
                        throw v4_3;
                    } else {
                        return 1;
                    }
                } else {
                    throw new java.io.IOException("Can\'t compare directories, only files");
                }
            } else {
                return 1;
            }
        } else {
            return 0;
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.FileInputStream.<init>()


    public static boolean a(java.io.File p4, java.io.File p5, String p6)
    {
        java.io.FileInputStream v0_0 = p4.exists();
        if (v0_0 == p5.exists()) {
            if (v0_0 != null) {
                if ((!p4.isDirectory()) && (!p5.isDirectory())) {
                    if (!p4.getCanonicalFile().equals(p5.getCanonicalFile())) {
                        java.io.FileInputStream v0_4;
                        Throwable v4_2;
                        v0_4 = 0;
                        try {
                            if (p6 != null) {
                                java.io.FileInputStream v1_1 = new java.io.InputStreamReader(new java.io.FileInputStream(p4), p6);
                                try {
                                    v4_2 = new java.io.InputStreamReader(new java.io.FileInputStream(p5), p6);
                                    v0_4 = v1_1;
                                    try {
                                        Throwable v5_2 = org.apache.commons.io.k.b(v0_4, v4_2);
                                        org.apache.commons.io.k.a(v0_4);
                                        org.apache.commons.io.k.a(v4_2);
                                        return v5_2;
                                    } catch (Throwable v5_3) {
                                        Throwable v5_1 = v4_2;
                                        Throwable v4_3 = v5_3;
                                    }
                                } catch (Throwable v4_3) {
                                    v5_1 = v0_4;
                                    v0_4 = v1_1;
                                }
                                v5_2 = org.apache.commons.io.k.b(v0_4, v4_2);
                                org.apache.commons.io.k.a(v0_4);
                                org.apache.commons.io.k.a(v4_2);
                                return v5_2;
                            } else {
                                java.io.InputStreamReader v6_2 = new java.io.InputStreamReader(new java.io.FileInputStream(p4));
                                try {
                                    v4_2 = new java.io.InputStreamReader(new java.io.FileInputStream(p5));
                                    v0_4 = v6_2;
                                } catch (Throwable v4_3) {
                                    v5_1 = v0_4;
                                    v0_4 = v6_2;
                                }
                                v5_2 = org.apache.commons.io.k.b(v0_4, v4_2);
                                org.apache.commons.io.k.a(v0_4);
                                org.apache.commons.io.k.a(v4_2);
                                return v5_2;
                            }
                        } catch (Throwable v4_3) {
                            v5_1 = 0;
                        }
                        org.apache.commons.io.k.a(v0_4);
                        org.apache.commons.io.k.a(v5_1);
                        throw v4_3;
                    } else {
                        return 1;
                    }
                } else {
                    throw new java.io.IOException("Can\'t compare directories, only files");
                }
            } else {
                return 1;
            }
        } else {
            return 0;
        }
    }

Method org.apache.commons.io.h.g() calling method java.io.FileInputStream.<init>()


    private static void g(java.io.File p18, java.io.File p19, boolean p20)
    {
        if ((!p19.exists()) || (!p19.isDirectory())) {
            long v3_9 = 0;
            try {
                StringBuilder v4_0 = new java.io.FileInputStream(p18);
                try {
                    String v5_0 = new java.io.FileOutputStream(p19);
                    try {
                        StringBuilder v12 = v4_0.getChannel();
                        try {
                            java.nio.channels.FileChannel v13 = v5_0.getChannel();
                            try {
                                long v14 = v12.size();
                                long v16 = 0;
                            } catch (Throwable v0_4) {
                                String v1_1 = v0_4;
                                v3_9 = v13;
                                org.apache.commons.io.k.a(v3_9);
                                org.apache.commons.io.k.a(v5_0);
                                org.apache.commons.io.k.a(v12);
                                org.apache.commons.io.k.a(v4_0);
                                throw v1_1;
                            }
                            while (v16 < v14) {
                                long v10;
                                long v6_1 = (v14 - v16);
                                if (v6_1 <= 31457280) {
                                    v10 = v6_1;
                                } else {
                                    v10 = 31457280;
                                }
                                v16 += v13.transferFrom(v12, v16, v10);
                            }
                            org.apache.commons.io.k.a(v13);
                            org.apache.commons.io.k.a(v5_0);
                            org.apache.commons.io.k.a(v12);
                            org.apache.commons.io.k.a(v4_0);
                            if (p18.length() == p19.length()) {
                                if (p20) {
                                    p19.setLastModified(p18.lastModified());
                                }
                                return;
                            } else {
                                StringBuilder v4_2 = new StringBuilder();
                                v4_2.append("Failed to copy full contents from \'");
                                v4_2.append(p18);
                                v4_2.append("\' to \'");
                                v4_2.append(p19);
                                v4_2.append("\'");
                                throw new java.io.IOException(v4_2.toString());
                            }
                        } catch (Throwable v0_3) {
                            v1_1 = v0_3;
                        }
                    } catch (Throwable v0_2) {
                        v1_1 = v0_2;
                        v12 = 0;
                    }
                } catch (Throwable v0_1) {
                    v1_1 = v0_1;
                    v5_0 = 0;
                    v12 = v5_0;
                }
            } catch (Throwable v0_0) {
                v1_1 = v0_0;
                v4_0 = 0;
                v5_0 = 0;
            }
        } else {
            long v3_11 = new StringBuilder();
            v3_11.append("Destination \'");
            v3_11.append(p19);
            v3_11.append("\' exists but is a directory");
            throw new java.io.IOException(v3_11.toString());
        }
    }

Method org.apache.commons.io.input.w.<init>() calling method java.io.FileInputStream.<init>()


    public w(java.io.File p2)
    {
        this(new java.io.FileInputStream(p2));
        return;
    }

Method org.joda.time.tz.e.a() calling method java.io.FileInputStream.<init>()


    private void a(java.io.File p4, org.joda.time.tz.DateTimeZoneBuilder p5, org.joda.time.DateTimeZone p6)
    {
        if (org.joda.time.tz.f.a()) {
            String v1_4 = new StringBuilder();
            v1_4.append("Writing ");
            v1_4.append(p6.e());
            System.out.println(v1_4.toString());
        }
        String v0_2 = new java.io.File(p4, p6.e());
        if (!v0_2.getParentFile().exists()) {
            v0_2.getParentFile().mkdirs();
        }
        java.io.PrintStream v4_5 = new java.io.FileOutputStream(v0_2);
        try {
            p5.a(p6.e(), v4_5);
            v4_5.close();
            java.io.PrintStream v4_7 = new java.io.FileInputStream(v0_2);
            String v5_2 = org.joda.time.tz.DateTimeZoneBuilder.a(v4_7, p6.e());
            v4_7.close();
            java.io.PrintStream v4_8 = p6.equals(v5_2);
        } catch (String v5_3) {
            v4_8.close();
            throw v5_3;
        }
        if (v4_8 == null) {
            String v5_5 = new StringBuilder();
            v5_5.append("*e* Error in ");
            v5_5.append(p6.e());
            v5_5.append(": Didn\'t read properly from file");
            System.out.println(v5_5.toString());
        }
        return;
    }

Method kotlin.io.k.e() calling method java.io.FileInputStream.<init>()


    public static final byte[] e(java.io.File p8)
    {
        kotlin.jvm.internal.ae.f(p8, "receiver$0");
        java.io.Closeable v0_3 = ((java.io.Closeable) new java.io.FileInputStream(p8));
        Throwable v1_0 = ((Throwable) 0);
        try {
            Throwable v2_4 = ((java.io.FileInputStream) v0_3);
            int v3_0 = 0;
            byte[] v4_0 = p8.length();
        } catch (String v8_7) {
            kotlin.io.b.a(v0_3, v1_0);
            throw v8_7;
        } catch (String v8_6) {
            v1_0 = v8_6;
            throw v1_0;
        }
        if (v4_0 <= ((long) 2147483647)) {
            String v8_1 = ((int) v4_0);
            byte[] v4_1 = new byte[v8_1];
            while (v8_1 > null) {
                int v5 = v2_4.read(v4_1, v3_0, v8_1);
                if (v5 >= 0) {
                    v8_1 -= v5;
                    v3_0 += v5;
                } else {
                    break;
                }
            }
            if (v8_1 != null) {
                v4_1 = java.util.Arrays.copyOf(v4_1, v3_0);
                kotlin.jvm.internal.ae.b(v4_1, "java.util.Arrays.copyOf(this, newSize)");
            } else {
            }
            kotlin.io.b.a(v0_3, ((Throwable) 0));
            return v4_1;
        } else {
            int v3_2 = new StringBuilder();
            v3_2.append("File ");
            v3_2.append(p8);
            v3_2.append(" is too big (");
            v3_2.append(v4_0);
            v3_2.append(" bytes) to fit in memory.");
            throw ((Throwable) new OutOfMemoryError(v3_2.toString()));
        }
    }

Method org.apache.commons.io.output.f.a() calling method java.io.FileInputStream.<init>()


    public void a(java.io.OutputStream p3)
    {
        if (this.g) {
            if (!this.c()) {
                java.io.FileInputStream v0_5 = new java.io.FileInputStream(this.c);
                try {
                    org.apache.commons.io.k.a(v0_5, p3);
                    org.apache.commons.io.k.a(v0_5);
                } catch (Throwable v3_1) {
                    org.apache.commons.io.k.a(v0_5);
                    throw v3_1;
                }
            } else {
                this.a.a(p3);
            }
            return;
        } else {
            throw new java.io.IOException("Stream not closed");
        }
    }

Method org.joda.time.tz.g.b() calling method java.io.FileInputStream.<init>()


    private java.io.InputStream b(String p4)
    {
        String v0_6;
        if (this.a == null) {
            java.io.IOException v4_7 = this.b.concat(p4);
            v0_6 = ((java.io.InputStream) java.security.AccessController.doPrivileged(new org.joda.time.tz.g$1(this, v4_7)));
            if (v0_6 == null) {
                java.io.IOException v4_3;
                String v0_2 = new StringBuilder(40);
                v0_2.append("Resource not found: \"");
                v0_2.append(v4_7);
                v0_2.append("\" ClassLoader: ");
                if (this.c == null) {
                    v4_3 = "system";
                } else {
                    v4_3 = this.c.toString();
                }
                v0_2.append(v4_3);
                throw new java.io.IOException(v0_2.toString());
            }
        } else {
            v0_6 = new java.io.FileInputStream(new java.io.File(this.a, p4));
        }
        return v0_6;
    }

Method com.fitbit.ui.views.GifImageView.b() calling method java.io.FileInputStream.<init>()


    public static android.graphics.Movie b(java.io.File p7)
    {
        String v0_0 = 0;
        if (p7 != null) {
            try {
                String v2_3 = new java.io.FileInputStream(p7);
                try {
                    java.io.IOException v7_2 = new com.fitbit.util.f.c(v2_3);
                    try {
                        String v3_1 = com.fitbit.ui.views.GifImageView.a(v7_2);
                    } catch (String v3_0) {
                        Object[] v5 = new Object[0];
                        d.a.b.d(v3_0, com.fitbit.ui.views.GifImageView.c, v5);
                        if (v2_3 != null) {
                            try {
                                v2_3.close();
                            } catch (String v2_0) {
                                Object[] v4_1 = new Object[0];
                                d.a.b.d(v2_0, com.fitbit.ui.views.GifImageView.c, v4_1);
                            }
                        }
                        if (v7_2 != null) {
                            try {
                                v7_2.close();
                            } catch (java.io.IOException v7_4) {
                                Object[] v1_1 = new Object[0];
                                d.a.b.d(v7_4, com.fitbit.ui.views.GifImageView.c, v1_1);
                            }
                        }
                    }
                    if (v2_3 != null) {
                        try {
                            v2_3.close();
                        } catch (String v0_3) {
                            Object[] v4_3 = new Object[0];
                            d.a.b.d(v0_3, com.fitbit.ui.views.GifImageView.c, v4_3);
                        }
                    }
                    if (v7_2 != null) {
                        try {
                            v7_2.close();
                        } catch (java.io.IOException v7_5) {
                            Object[] v1_3 = new Object[0];
                            d.a.b.d(v7_5, com.fitbit.ui.views.GifImageView.c, v1_3);
                        }
                    }
                    v0_0 = v3_1;
                } catch (java.io.IOException v7_3) {
                    if (v2_3 != null) {
                        try {
                            v2_3.close();
                        } catch (String v2_4) {
                            Object[] v4_2 = new Object[0];
                            d.a.b.d(v2_4, com.fitbit.ui.views.GifImageView.c, v4_2);
                        }
                    }
                    if (v0_0 != null) {
                        try {
                            v0_0.close();
                        } catch (String v0_2) {
                            Object[] v1_2 = new Object[0];
                            d.a.b.d(v0_2, com.fitbit.ui.views.GifImageView.c, v1_2);
                        }
                    }
                    throw v7_3;
                } catch (String v3_0) {
                    v7_2 = 0;
                }
            } catch (java.io.IOException v7_3) {
                v2_3 = 0;
            } catch (String v3_0) {
                v7_2 = 0;
                v2_3 = 0;
            } catch (String v0_1) {
                v0_0 = v7_2;
                v7_3 = v0_1;
            }
        }
        return v0_0;
    }

Method com.fitbit.util.at.a() calling method java.io.FileInputStream.<init>()


    public static void a(String p11, java.io.File p12)
    {
        Object[] v0_1 = new java.io.File(p11);
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        String v11_1 = new java.io.File(v0_1, ark>com.fitbit.util.atark>.a(p12.getAbsolutePath()));
        Object[] v0_2 = 0;
        try {
            if (p12.exists()) {
                String v12_1 = new java.io.FileInputStream(p12).getChannel();
                try {
                    String v11_5 = new java.io.FileOutputStream(v11_1).getChannel();
                    try {
                        v11_5.transferFrom(v12_1, 0, v12_1.size());
                    } catch (Object[] v0_5) {
                        String v12_2 = v11_5;
                        String v11_3 = v0_5;
                        v0_2 = v12_1;
                        if (v0_2 == null) {
                            if (v12_2 != null) {
                                v12_2.close();
                            }
                        } else {
                            v0_2.close();
                        }
                        throw v11_3;
                    } catch (Object[] v0_3) {
                        v12_2 = v11_5;
                        String v11_2 = v0_3;
                        v0_2 = v12_1;
                        try {
                            java.io.IOException v4_1 = new Object[1];
                            v4_1[0] = v11_2.getMessage();
                            d.a.b.d("IOException when trying to copy file. %s", v4_1);
                        } catch (String v11_3) {
                        }
                        if (v0_2 != null) {
                            v0_2.close();
                        }
                        if (v12_2 != null) {
                            v12_2.close();
                        }
                    }
                    if (v12_1 != null) {
                        v12_1.close();
                    }
                    if (v11_5 != null) {
                        v11_5.close();
                    }
                } catch (String v11_3) {
                    v0_2 = v12_1;
                    v12_2 = 0;
                } catch (String v11_2) {
                    v0_2 = v12_1;
                    v12_2 = 0;
                }
            } else {
                p12.createNewFile();
            }
        } catch (String v11_3) {
            v12_2 = 0;
        } catch (String v11_2) {
            v12_2 = 0;
        }
        return;
    }

Method com.fitbit.util.at.a() calling method java.io.FileInputStream.<init>()


    private static void a(String p7, String p8, java.util.zip.ZipOutputStream p9)
    {
        int v0_0 = 0;
        try {
            int v3_1 = new java.io.FileInputStream(p7);
            try {
                byte[] v5 = new byte[80000];
                java.io.BufferedInputStream v6_1 = new java.io.BufferedInputStream(v3_1, 80000);
                try {
                    if (p8 == null) {
                        p8 = ark>com.fitbit.util.atark>.a(p7);
                    } else {
                    }
                } catch (String v7_2) {
                    v0_0 = v6_1;
                    if (v0_0 == 0) {
                        if (v3_1 != 0) {
                            v3_1.close();
                        }
                    } else {
                        v0_0.close();
                    }
                    throw v7_2;
                } catch (String v8_1) {
                    v0_0 = v6_1;
                    Object[] v4_1 = new Object[2];
                    v4_1[0] = p7;
                    v4_1[1] = v8_1.getMessage();
                    d.a.b.d("IOException when trying to read %s. %s", v4_1);
                    if (v0_0 != 0) {
                        v0_0.close();
                    }
                    if (v3_1 == 0) {
                        return;
                    } else {
                        v3_1.close();
                        return;
                    }
                }
                p9.putNextEntry(new java.util.zip.ZipEntry(p8));
                while(true) {
                    String v8_2 = v6_1.read(v5, 0, 80000);
                    if (v8_2 == -1) {
                        break;
                    }
                    p9.write(v5, 0, v8_2);
                }
                if (v6_1 != null) {
                    v6_1.close();
                }
                if (v3_1 == 0) {
                    return;
                } else {
                    v3_1.close();
                    return;
                }
            } catch (String v8_1) {
            }
        } catch (String v7_2) {
            v3_1 = 0;
        } catch (String v8_1) {
            v3_1 = 0;
        } catch (String v7_2) {
        }
    }

Method com.fitbit.util.bd.b() calling method java.io.FileInputStream.<init>()


    private static java.io.InputStream b(android.net.Uri p7)
    {
        android.content.ContentResolver v0_0 = p7.getScheme();
        java.io.InputStream v2 = 0;
        try {
            if (!"file".equals(v0_0)) {
                if ("content".equals(v0_0)) {
                    android.content.ContentResolver v0_3 = com.fitbit.FitBitApplication.a().getContentResolver();
                    Object[] v4_0 = new Object[1];
                    v4_0[0] = p7.getPath();
                    com.fitbit.r.d.a("ImageCompressUtils", "Trying to openInputStream: %s", v4_0);
                    v2 = v0_3.openInputStream(p7);
                }
            } else {
                Object[] v4_1 = new Object[1];
                v4_1[0] = p7.getPath();
                com.fitbit.r.d.a("ImageCompressUtils", "Trying to read file: %s", v4_1);
                v2 = new java.io.FileInputStream(p7.getPath());
            }
        } catch (java.io.FileNotFoundException) {
            Object[] v1_1 = new Object[0];
            com.fitbit.r.d.a("ImageCompressUtils", "FileNotFoundException", v1_1);
        }
        return v2;
    }

Method com.fitbit.util.f.a.a() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

Method kotlin.io.k.f() calling method java.io.FileInputStream.<init>()


    private static final java.io.FileInputStream f(java.io.File p1)
    {
        return new java.io.FileInputStream(p1);
    }

Method com.fitbit.util.f.b.a() calling method java.io.FileInputStream.<init>()


    public static String a(java.io.File p6, int p7)
    {
        Object[] v0_1 = new java.io.ByteArrayOutputStream();
        Object[] v1_4 = new byte[8096];
        Object[] v4_3 = 0;
        try {
            Object[] v5_2 = new java.io.FileInputStream(p6);
            try {
                do {
                    Object[] v4_0 = v5_2.read(v1_4);
                } while(v4_0 <= p7);
                Object[] v1_2 = new String(android.util.Base64.encode(v0_1.toByteArray(), 0));
                Object[] v0_5 = com.fitbit.util.db.b(v1_2);
                if (v0_5 > p7) {
                    Object[] v4_2 = new Object[2];
                    v4_2[0] = Integer.valueOf(v0_5);
                    v4_2[1] = Integer.valueOf(p7);
                    v1_2 = String.format("The file is too big - %s with limit of %s", v4_2);
                }
                if (v5_2 != null) {
                    try {
                        v5_2.close();
                    } catch (String v7_8) {
                        Object[] v4_6 = new Object[1];
                        v4_6[0] = v7_8.toString();
                        d.a.b.b("Exception: %s", v4_6);
                    }
                }
                if (p6 == null) {
                    return v1_2;
                } else {
                    String v7_1 = "File delete operation result: %b";
                    Object[] v0_2 = new Object[1];
                    v0_2[0] = Boolean.valueOf(p6.delete());
                    d.a.b.b(v7_1, v0_2);
                    return v1_2;
                }
            } catch (String v7_5) {
                v4_3 = v5_2;
                if (v4_3 != null) {
                    try {
                        v4_3.close();
                    } catch (Object[] v0_11) {
                        Object[] v4_5 = new Object[1];
                        v4_5[0] = v0_11.toString();
                        d.a.b.b("Exception: %s", v4_5);
                    }
                }
                if (p6 != null) {
                    Object[] v1_8 = new Object[1];
                    v1_8[0] = Boolean.valueOf(p6.delete());
                    d.a.b.b("File delete operation result: %b", v1_8);
                }
                throw v7_5;
            } catch (String v7_3) {
                v4_3 = v5_2;
                Object[] v0_8 = new StringBuilder();
                v0_8.append("Exception: ");
                v0_8.append(v7_3.toString());
                v1_2 = v0_8.toString();
                Object[] v5_0 = new Object[1];
                v5_0[0] = v7_3.toString();
                d.a.b.b("Exception: %s", v5_0);
                if (v4_3 != null) {
                    try {
                        v4_3.close();
                    } catch (String v7_6) {
                        Object[] v4_4 = new Object[1];
                        v4_4[0] = v7_6.toString();
                        d.a.b.b("Exception: %s", v4_4);
                    }
                }
                if (p6 == null) {
                    return v1_2;
                } else {
                    v7_1 = "File delete operation result: %b";
                    v0_2 = new Object[1];
                    v0_2[0] = Boolean.valueOf(p6.delete());
                }
            }
            if (v4_0 > null) {
                v0_1.write(v1_4, 0, v4_0);
                if (v4_0 > p7) {
                }
            }
        } catch (String v7_5) {
        } catch (String v7_3) {
        }
    }

Method com.fitbit.util.f.b.a() calling method java.io.FileInputStream.<init>()


    public static void a(java.io.File p2, java.util.zip.ZipOutputStream p3, byte[] p4)
    {
        p3.putNextEntry(new java.util.zip.ZipEntry(p2.getName()));
        try {
            int v1_2 = new java.io.FileInputStream(p2);
            try {
                while(true) {
                    Throwable v2_1 = v1_2.read(p4);
                    p3.write(p4, 0, v2_1);
                }
                p3.closeEntry();
                if (v1_2 != 0) {
                    v1_2.close();
                }
                return;
            } catch (Throwable v2_2) {
                if (v1_2 != 0) {
                    v1_2.close();
                }
                throw v2_2;
            }
            if (v2_1 != -1) {
            }
        } catch (Throwable v2_2) {
            v1_2 = 0;
        }
    }

Method org.spongycastle.asn1.ad.c.a() calling method java.io.FileInputStream.<init>()


    public static void a(String[] p2)
    {
        org.spongycastle.asn1.l v2_3 = new org.spongycastle.asn1.l(new java.io.FileInputStream(p2[0]));
        while(true) {
            String v0_3 = v2_3.d();
            if (v0_3 == null) {
                break;
            }
            System.out.println(org.spongycastle.asn1.ad.a.a(v0_3));
        }
        return;
    }

Method com.fitbit.safetynet.a.c() calling method java.io.FileInputStream.<init>()


    private static byte[] c(android.content.Context p4)
    {
        try {
            return com.fitbit.safetynet.a.a(new java.io.FileInputStream(p4.getPackageCodePath()), "SHA-256");
        } catch (int v4_5) {
            Object[] v1_1 = new Object[1];
            v1_1[0] = v4_5.getMessage();
            d.a.b.e("Error getting apk file digest: %s", v1_1);
            v4_5.printStackTrace();
            return 0;
        }
    }

Method com.google.firebase.iid.ay.a() calling method java.io.FileInputStream.<init>()


    private final com.google.firebase.iid.az a(java.io.File p10)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p10);
        Throwable v10_1 = 0;
        try {
            java.nio.channels.FileChannel v7 = v0_1.getChannel();
            try {
                v7.lock(0, nan, 1);
                Throwable v1_0 = ark>com.google.firebase.iid.ayark>.a(v7);
            } catch (Throwable v1_2) {
                Throwable v2_1 = 0;
                if (v7 != null) {
                    ark>com.google.firebase.iid.ayark>.a(v2_1, v7);
                }
                throw v1_2;
            } catch (Throwable v1_1) {
                try {
                    throw v1_1;
                } catch (Throwable v2_0) {
                    v2_1 = v1_1;
                    v1_2 = v2_0;
                }
            }
            if (v7 != null) {
                ark>com.google.firebase.iid.ayark>.a(0, v7);
            }
            ark>com.google.firebase.iid.ayark>.a(0, v0_1);
            return v1_0;
        } catch (Throwable v1_3) {
            ark>com.google.firebase.iid.ayark>.a(v10_1, v0_1);
            throw v1_3;
        } catch (Throwable v10_1) {
            throw v10_1;
        }
    }

Method com.ibm.icu.impl.h.b() calling method java.io.FileInputStream.<init>()


    private static java.nio.ByteBuffer b(java.io.File p7)
    {
        try {
            java.io.PrintStream v0_1 = new java.io.FileInputStream(p7);
            java.nio.channels.FileChannel v1 = v0_1.getChannel();
        } catch (Throwable v7_3) {
            System.err.println(v7_3);
            return 0;
        } catch (Throwable v7_2) {
            System.err.println(v7_2);
            return 0;
        }
        Throwable v7_5 = v1.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v1.size());
        v0_1.close();
        return v7_5;
    }

Method com.jakewharton.a.a$a.a() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream a(int p5)
    {
        try {
            if (com.jakewharton.a.a$b.a(this.b) == this) {
                if (com.jakewharton.a.a$b.d(this.b)) {
                    return new java.io.FileInputStream(this.b.a(p5));
                } else {
                    return 0;
                }
            } else {
                throw new IllegalStateException();
            }
        } catch (java.io.File v5_4) {
            throw v5_4;
        }
    }

Method kotlin.io.m.a() calling method java.io.FileInputStream.<init>()


    public static final java.io.File a(java.io.File p7, java.io.File p8, boolean p9, int p10)
    {
        kotlin.jvm.internal.ae.f(p7, "receiver$0");
        kotlin.jvm.internal.ae.f(p8, "target");
        if (p7.exists()) {
            if (p8.exists()) {
                Throwable v0_1 = 1;
                if ((p9 != null) && (p8.delete())) {
                    v0_1 = 0;
                }
                if (v0_1 != null) {
                    throw ((Throwable) new kotlin.io.FileAlreadyExistsException(p7, p8, "The destination file already exists."));
                }
            }
            if (!p7.isDirectory()) {
                Throwable v9_3 = p8.getParentFile();
                if (v9_3 != null) {
                    v9_3.mkdirs();
                }
                Throwable v9_6 = ((java.io.Closeable) new java.io.FileInputStream(p7));
                Throwable v0_4 = ((Throwable) 0);
                try {
                    java.io.Closeable v2_2 = ((java.io.Closeable) new java.io.FileOutputStream(p8));
                    Throwable v7_2 = ((Throwable) 0);
                    try {
                        kotlin.io.a.a(((java.io.InputStream) ((java.io.FileInputStream) v9_6)), ((java.io.OutputStream) ((java.io.FileOutputStream) v2_2)), p10);
                    } catch (Throwable v8_1) {
                        kotlin.io.b.a(v2_2, v7_2);
                        throw v8_1;
                    } catch (Throwable v7_2) {
                        throw v7_2;
                    }
                    kotlin.io.b.a(v2_2, ((Throwable) 0));
                    kotlin.io.b.a(v9_6, ((Throwable) 0));
                } catch (Throwable v7_4) {
                    kotlin.io.b.a(v9_6, v0_4);
                    throw v7_4;
                } catch (Throwable v7_3) {
                    v0_4 = v7_3;
                    throw v0_4;
                }
            } else {
                if (!p8.mkdirs()) {
                    throw ((Throwable) new kotlin.io.FileSystemException(p7, p8, "Failed to create target directory."));
                }
            }
            return p8;
        } else {
            Throwable v8_2 = new kotlin.io.NoSuchFileException;
            v8_2(p7, 0, "The source file doesn\'t exist.", 2, 0);
            throw ((Throwable) v8_2);
        }
    }

Method com.jakewharton.a.a.h() calling method java.io.FileInputStream.<init>()


    private void h()
    {
        com.jakewharton.a.b v0_1 = new com.jakewharton.a.b(new java.io.FileInputStream(this.n), com.jakewharton.a.c.a);
        try {
            int v1_8 = v0_1.a();
            int v2_5 = v0_1.a();
            boolean v3_0 = v0_1.a();
            String v4 = v0_1.a();
            String v5 = v0_1.a();
        } catch (int v1_10) {
            com.jakewharton.a.c.a(v0_1);
            throw v1_10;
        }
        if (("libcore.io.DiskLruCache".equals(v1_8)) && (("1".equals(v2_5)) && ((Integer.toString(this.q).equals(v3_0)) && ((Integer.toString(this.s).equals(v4)) && ("".equals(v5)))))) {
            int v1_2 = 0;
            while(true) {
                this.d(v0_1.a());
                v1_2++;
            }
        } else {
            String v6_7 = new StringBuilder();
            v6_7.append("unexpected journal header: [");
            v6_7.append(v1_8);
            v6_7.append(", ");
            v6_7.append(v2_5);
            v6_7.append(", ");
            v6_7.append(v4);
            v6_7.append(", ");
            v6_7.append(v5);
            v6_7.append("]");
            throw new java.io.IOException(v6_7.toString());
        }
    }

Method com.jakewharton.a.a.a() calling method java.io.FileInputStream.<init>()


    public declared_synchronized ark>com.jakewharton.a.aark>$c a(String p12)
    {
        try {
            this.l();
            this.e(p12);
            ark>com.jakewharton.a.aark>$b v0_2 = ((ark>com.jakewharton.a.aark>$b) this.v.get(p12));
        } catch (java.io.InputStream v12_4) {
            throw v12_4;
        }
        if (v0_2 != null) {
            if (ark>com.jakewharton.a.aark>$b.d(v0_2)) {
                java.io.InputStream[] v8 = new java.io.InputStream[this.s];
                int v2_1 = 0;
                ark>com.jakewharton.a.aark>$c v3_0 = 0;
                while (v3_0 < this.s) {
                    v8[v3_0] = new java.io.FileInputStream(v0_2.a(v3_0));
                    v3_0++;
                }
                this.w = (this.w + 1);
                ark>com.jakewharton.a.aark>$c v1_2 = this.u;
                int v2_3 = new StringBuilder();
                v2_3.append("READ ");
                v2_3.append(p12);
                v2_3.append(10);
                v1_2.append(v2_3.toString());
                if (this.k()) {
                    this.h.submit(this.y);
                }
                ark>com.jakewharton.a.aark>$c v1_5 = new ark>com.jakewharton.a.aark>$c;
                v1_5(this, p12, ark>com.jakewharton.a.aark>$b.e(v0_2), v8, ark>com.jakewharton.a.aark>$b.b(v0_2), 0);
                return v1_5;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.mixpanel.android.java_websocket.d.a.c() calling method java.io.FileInputStream.<init>()


    public static byte[] c(String p6)
    {
        int v0_0 = 0;
        try {
            int v1_2 = new java.io.File(p6);
        } catch (java.io.IOException v6_4) {
            try {
                v0_0.close();
            } catch (Exception) {
            }
            throw v6_4;
        } catch (java.io.IOException v6_3) {
            throw v6_3;
        }
        if (v1_2.length() <= 2147483647) {
            java.io.IOException v6_2 = new byte[((int) v1_2.length())];
            com.mixpanel.android.java_websocket.d.a$a v2_1 = new com.mixpanel.android.java_websocket.d.a$a(new java.io.BufferedInputStream(new java.io.FileInputStream(v1_2)), 0);
            int v0_1 = 0;
            try {
                while(true) {
                    byte[] v3_3 = v2_1.read(v6_2, v0_1, 4096);
                    v0_1 += v3_3;
                }
                byte[] v3_4 = new byte[v0_1];
                System.arraycopy(v6_2, 0, v3_4, 0, v0_1);
                try {
                    v2_1.close();
                } catch (Exception) {
                }
                return v3_4;
            } catch (java.io.IOException v6_4) {
                v0_0 = v2_1;
            } catch (java.io.IOException v6_3) {
                v0_0 = v2_1;
            }
            if (v3_3 >= null) {
            }
        } else {
            com.mixpanel.android.java_websocket.d.a$a v2_3 = new StringBuilder();
            v2_3.append("File is too big for this convenience method (");
            v2_3.append(v1_2.length());
            v2_3.append(" bytes).");
            throw new java.io.IOException(v2_3.toString());
        }
    }

Method com.mixpanel.android.java_websocket.d.a.d() calling method java.io.FileInputStream.<init>()


    public static String d(String p6)
    {
        try {
            int v1_1 = new java.io.File(p6);
            java.io.IOException v6_3 = new byte[Math.max(((int) ((((double) v1_1.length()) * 1.4) + 1.0)), 40)];
            com.mixpanel.android.java_websocket.d.a$a v2_2 = new com.mixpanel.android.java_websocket.d.a$a(new java.io.BufferedInputStream(new java.io.FileInputStream(v1_1)), 1);
            com.mixpanel.android.java_websocket.d.a$a v0 = 0;
            int v1_3 = 0;
            try {
                while(true) {
                    String v3_3 = v2_2.read(v6_3, v1_3, 4096);
                    v1_3 += v3_3;
                }
                String v3_5 = new String(v6_3, 0, v1_3, "US-ASCII");
                try {
                    v2_2.close();
                } catch (Exception) {
                }
                return v3_5;
            } catch (java.io.IOException v6_5) {
                v0 = v2_2;
                try {
                    v0.close();
                } catch (Exception) {
                }
                throw v6_5;
            } catch (java.io.IOException v6_4) {
                v0 = v2_2;
                throw v6_4;
            }
            if (v3_3 >= null) {
            }
        } catch (java.io.IOException v6_5) {
        } catch (java.io.IOException v6_4) {
        }
    }

Method io.fabric.sdk.android.services.network.HttpRequest.a() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

Method io.fabric.sdk.android.services.network.HttpRequest.b() calling method java.io.FileInputStream.<init>()


    public io.fabric.sdk.android.services.network.HttpRequest b(java.io.File p3)
    {
        try {
            return this.a(new java.io.BufferedInputStream(new java.io.FileInputStream(p3)));
        } catch (java.io.FileNotFoundException v3_2) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v3_2);
        }
    }

Method io.fabric.sdk.android.services.b.m.a() calling method java.io.FileInputStream.<init>()


    private void a(java.io.File p5, java.io.File p6)
    {
        Throwable v0_0 = 0;
        try {
            String v1_1 = new java.io.FileInputStream(p5);
            try {
                Throwable v6_2 = this.a(p6);
                v0_0 = 1024;
                try {
                    Throwable v0_4 = new byte[1024];
                    io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, v6_2, v0_4);
                    io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, "Failed to close file input stream");
                    io.fabric.sdk.android.services.common.CommonUtils.a(v6_2, "Failed to close output stream");
                    p5.delete();
                    return;
                } catch (Throwable v0_3) {
                    v0_0 = v6_2;
                    Throwable v6_1 = v0_3;
                    io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, "Failed to close file input stream");
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_0, "Failed to close output stream");
                    p5.delete();
                    throw v6_1;
                }
            } catch (Throwable v6_1) {
            }
            v0_4 = new byte[1024];
            io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, v6_2, v0_4);
            io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, "Failed to close file input stream");
            io.fabric.sdk.android.services.common.CommonUtils.a(v6_2, "Failed to close output stream");
            p5.delete();
            return;
        } catch (Throwable v6_1) {
            v1_1 = 0;
        }
    }

Method io.fabric.sdk.android.services.settings.j.a() calling method java.io.FileInputStream.<init>()


    public org.json.JSONObject a()
    {
        io.fabric.sdk.android.d.i().a("Fabric", "Reading cached settings...");
        String v0_1 = 0;
        try {
            org.json.JSONObject v3_2;
            Exception v1_0 = new java.io.File(new io.fabric.sdk.android.services.c.b(this.a).c(), "com.crashlytics.settings.json");
        } catch (Exception v1_4) {
            io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Error while closing settings cache file.");
            throw v1_4;
        } catch (Exception v1_3) {
            String v2_4 = 0;
            io.fabric.sdk.android.d.i().e("Fabric", "Failed to fetch cached settings", v1_3);
            io.fabric.sdk.android.services.common.CommonUtils.a(v2_4, "Error while closing settings cache file.");
            return v0_1;
        } catch (String v0_2) {
            v1_4 = v0_2;
            v0_1 = v2_4;
        }
        if (!v1_0.exists()) {
            io.fabric.sdk.android.d.i().a("Fabric", "No cached settings found.");
            v3_2 = 0;
        } else {
            v2_4 = new java.io.FileInputStream(v1_0);
            try {
                v3_2 = new org.json.JSONObject(io.fabric.sdk.android.services.common.CommonUtils.a(v2_4));
                v0_1 = v2_4;
            } catch (Exception v1_3) {
            }
        }
        io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Error while closing settings cache file.");
        v0_1 = v3_2;
        return v0_1;
    }

Method kotlin.io.k.a() calling method java.io.FileInputStream.<init>()


    private static final java.io.BufferedReader a(java.io.File p1, java.nio.charset.Charset p2, int p3)
    {
        java.io.BufferedReader v1_1;
        java.io.BufferedReader v1_4 = ((java.io.Reader) new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p1)), p2));
        if (!(v1_4 instanceof java.io.BufferedReader)) {
            v1_1 = new java.io.BufferedReader(v1_4, p3);
        } else {
            v1_1 = ((java.io.BufferedReader) v1_4);
        }
        return v1_1;
    }

Method kotlin.io.k.a() calling method java.io.FileInputStream.<init>()


    static synthetic java.io.BufferedReader a(java.io.File p0, java.nio.charset.Charset p1, int p2, int p3, Object p4)
    {
        if ((p3 & 1) != 0) {
            p1 = kotlin.text.d.a;
        }
        if ((p3 & 2) != 0) {
            p2 = 8192;
        }
        java.io.BufferedReader v0_3;
        java.io.BufferedReader v0_2 = ((java.io.Reader) new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p0)), p1));
        if (!(v0_2 instanceof java.io.BufferedReader)) {
            v0_3 = new java.io.BufferedReader(v0_2, p2);
        } else {
            v0_3 = ((java.io.BufferedReader) v0_2);
        }
        return v0_3;
    }

Method kotlin.io.k.a() calling method java.io.FileInputStream.<init>()


    static synthetic java.io.InputStreamReader a(java.io.File p0, java.nio.charset.Charset p1, int p2, Object p3)
    {
        if ((p2 & 1) != 0) {
            p1 = kotlin.text.d.a;
        }
        return new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p0)), p1);
    }

Method kotlin.io.k.a() calling method java.io.FileInputStream.<init>()


    public static final void a(java.io.File p3, int p4, kotlin.jvm.a.m p5)
    {
        kotlin.jvm.internal.ae.f(p3, "receiver$0");
        kotlin.jvm.internal.ae.f(p5, "action");
        kotlin.bf v4_3 = new byte[kotlin.i.o.c(p4, 512)];
        java.io.Closeable v0_1 = ((java.io.Closeable) new java.io.FileInputStream(p3));
        Throwable v3_2 = ((Throwable) 0);
        try {
            java.io.FileInputStream v1_1 = ((java.io.FileInputStream) v0_1);
        } catch (kotlin.bf v4_1) {
            kotlin.io.b.a(v0_1, v3_2);
            throw v4_1;
        } catch (Throwable v3_2) {
            throw v3_2;
        }
        while(true) {
            Integer v2_0 = v1_1.read(v4_3);
            if (v2_0 <= null) {
                break;
            }
            p5.a(v4_3, Integer.valueOf(v2_0));
        }
        kotlin.io.b.a(v0_1, ((Throwable) 0));
        return;
    }

Method kotlin.io.k.a() calling method java.io.FileInputStream.<init>()


    public static final void a(java.io.File p3, java.nio.charset.Charset p4, kotlin.jvm.a.b p5)
    {
        kotlin.jvm.internal.ae.f(p3, "receiver$0");
        kotlin.jvm.internal.ae.f(p4, "charset");
        kotlin.jvm.internal.ae.f(p5, "action");
        kotlin.io.p.a(((java.io.Reader) new java.io.BufferedReader(((java.io.Reader) new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p3)), p4)))), p5);
        return;
    }

Method kotlin.io.k.b() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

Method kotlin.io.k.c() calling method java.io.FileInputStream.<init>()


    private static final java.io.InputStreamReader c(java.io.File p1, java.nio.charset.Charset p2)
    {
        return new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p1)), p2);
    }

Method org.spongycastle.crypto.f.a.<init>() calling method java.io.FileInputStream.<init>()


    public a(String p6, String p7, String p8, boolean p9)
    {
        this.a = 1;
        this.b = 0;
        this.c = 0;
        this.d = 0;
        this.e = 0;
        this.a = p9;
        try {
            this.c = new java.io.BufferedInputStream(new java.io.FileInputStream(p6));
            try {
                this.d = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p7));
            } catch (java.io.IOException) {
                StringBuilder v2_5 = new StringBuilder();
                v2_5.append("Output file not created [");
                v2_5.append(p7);
                v2_5.append("]");
                System.err.println(v2_5.toString());
                System.exit(1);
            }
            if (p9 == null) {
                try {
                    java.io.BufferedOutputStream v7_6 = new java.io.BufferedInputStream(new java.io.FileInputStream(p8));
                    byte[] v9_7 = v7_6.available();
                    int v1_2 = new byte[v9_7];
                    v7_6.read(v1_2, 0, v9_7);
                    this.e = org.spongycastle.util.encoders.f.c(v1_2);
                } catch (java.io.IOException) {
                    java.io.BufferedOutputStream v7_8 = new StringBuilder();
                    v7_8.append("Decryption key file not found, or not valid [");
                    v7_8.append(p8);
                    v7_8.append("]");
                    System.err.println(v7_8.toString());
                    System.exit(1);
                }
            } else {
                try {
                    java.io.BufferedOutputStream v7_11 = new java.security.SecureRandom();
                } catch (Exception) {
                    v7_11 = 0;
                    System.err.println("Hmmm, no SHA1PRNG, you need the Sun implementation");
                    System.exit(1);
                    byte[] v9_14 = new org.spongycastle.crypto.v(v7_11, 192);
                    java.io.BufferedOutputStream v7_16 = new org.spongycastle.crypto.g.f();
                    v7_16.a(v9_14);
                    this.e = v7_16.a();
                    java.io.BufferedOutputStream v7_2 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p8));
                    byte[] v9_4 = org.spongycastle.util.encoders.f.b(this.e);
                    v7_2.write(v9_4, 0, v9_4.length);
                    v7_2.flush();
                    v7_2.close();
                } catch (java.io.IOException) {
                    java.io.BufferedOutputStream v7_13 = new StringBuilder();
                    v7_13.append("Could not decryption create key file [");
                    v7_13.append(p8);
                    v7_13.append("]");
                    System.err.println(v7_13.toString());
                    System.exit(1);
                }
                v7_11.setSeed("www.bouncycastle.org".getBytes());
            }
            return;
        } catch (java.io.FileNotFoundException) {
            String v3_3 = new StringBuilder();
            v3_3.append("Input file not found [");
            v3_3.append(p6);
            v3_3.append("]");
            System.err.println(v3_3.toString());
            System.exit(1);
        }
    }

Method org.threeten.bp.chrono.HijrahDate.m() calling method java.io.FileInputStream.<init>()


    private static java.io.InputStream m()
    {
        java.io.IOException v0_6 = System.getProperty("org.threeten.bp.i18n.HijrahDate.deviationConfigFile");
        if (v0_6 == null) {
            v0_6 = "hijrah_deviation.cfg";
        }
        java.io.FileInputStream v1_3 = System.getProperty("org.threeten.bp.i18n.HijrahDate.deviationConfigDir");
        if (v1_3 == null) {
            StringBuilder v3_7 = new java.util.StringTokenizer(System.getProperty("java.class.path"), <mark>org.threeten.bp.chrono.HijrahDatemark>.n);
            while (v3_7.hasMoreTokens()) {
                java.io.FileInputStream v1_7 = v3_7.nextToken();
                String v4_4 = new java.io.File(v1_7);
                if (v4_4.exists()) {
                    if (!v4_4.isDirectory()) {
                        try {
                            java.io.FileInputStream v1_9 = new java.util.zip.ZipFile(v4_4);
                        } catch (java.io.IOException) {
                            v1_9 = 0;
                        }
                        if (v1_9 != null) {
                            String v4_6 = new StringBuilder();
                            v4_6.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.p);
                            v4_6.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
                            v4_6.append(v0_6);
                            String v4_7 = v4_6.toString();
                            java.util.zip.ZipEntry v5_4 = v1_9.getEntry(v4_7);
                            if (v5_4 == null) {
                                if (<mark>org.threeten.bp.chrono.HijrahDatemark>.m != 47) {
                                    if (<mark>org.threeten.bp.chrono.HijrahDatemark>.m == 92) {
                                        v4_7 = v4_7.replace(92, 47);
                                    }
                                } else {
                                    v4_7 = v4_7.replace(47, 92);
                                }
                                v5_4 = v1_9.getEntry(v4_7);
                            }
                            if (v5_4 != null) {
                                try {
                                    return v1_9.getInputStream(v5_4);
                                } catch (java.io.IOException v0_8) {
                                    throw v0_8;
                                }
                            }
                        }
                    } else {
                        java.util.zip.ZipEntry v5_8 = new StringBuilder();
                        v5_8.append(v1_7);
                        v5_8.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
                        v5_8.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.p);
                        if (new java.io.File(v5_8.toString(), v0_6).exists()) {
                            try {
                                StringBuilder v3_9 = new StringBuilder();
                                v3_9.append(v1_7);
                                v3_9.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
                                v3_9.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.p);
                                v3_9.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
                                v3_9.append(v0_6);
                                return new java.io.FileInputStream(v3_9.toString());
                            } catch (java.io.IOException v0_10) {
                                throw v0_10;
                            }
                        }
                    }
                }
            }
            return 0;
        } else {
            if ((v1_3.length() != 0) || (!v1_3.endsWith(System.getProperty("file.separator")))) {
                StringBuilder v3_3 = new StringBuilder();
                v3_3.append(v1_3);
                v3_3.append(System.getProperty("file.separator"));
                v1_3 = v3_3.toString();
            }
            String v4_1 = new StringBuilder();
            v4_1.append(v1_3);
            v4_1.append(<mark>org.threeten.bp.chrono.HijrahDatemark>.m);
            v4_1.append(v0_6);
            StringBuilder v3_5 = new java.io.File(v4_1.toString());
            if (!v3_5.exists()) {
                return 0;
            } else {
                try {
                    return new java.io.FileInputStream(v3_5);
                } catch (java.io.IOException v0_5) {
                    throw v0_5;
                }
            }
        }
    }

Method net.hockeyapp.android.e.a() calling method java.io.FileWriter.<init>()


    private static void a(android.content.Context p3, String p4, String p5)
    {
        if (!android.text.TextUtils.isEmpty(p4)) {
            java.io.BufferedWriter v0_1 = 0;
            try {
                java.io.BufferedWriter v3_2;
                String v1_2 = new java.io.File(p3.getFilesDir(), p5);
            } catch (java.io.IOException v4_2) {
                if (v0_1 != null) {
                    v0_1.close();
                }
                throw v4_2;
            } catch (java.io.IOException v4_1) {
                java.io.BufferedWriter v3_5 = new StringBuilder();
                v3_5.append("Failed to write value to ");
                v3_5.append(p5);
                net.hockeyapp.android.d.e.e(v3_5.toString(), v4_1);
                if (v0_1 == null) {
                    return;
                } else {
                    v0_1.close();
                    return;
                }
                if (v3_2 == null) {
                    return;
                } else {
                    v3_2.close();
                    return;
                }
            }
            if ((android.text.TextUtils.isEmpty(p4)) || (android.text.TextUtils.getTrimmedLength(p4) <= 0)) {
                v3_2 = 0;
            } else {
                v3_2 = new java.io.BufferedWriter(new java.io.FileWriter(v1_2));
                try {
                    v3_2.write(p4);
                    v3_2.flush();
                } catch (java.io.IOException v4_2) {
                    v0_1 = v3_2;
                } catch (java.io.IOException v4_1) {
                    v0_1 = v3_2;
                }
            }
        } else {
            return;
        }
    }

Method net.hockeyapp.android.objects.a.b() calling method java.io.FileWriter.<init>()


    public void b(java.io.File p4)
    {
        String v0_1 = new StringBuilder();
        v0_1.append("Writing unhandled exception to: ");
        v0_1.append(p4.getAbsolutePath());
        net.hockeyapp.android.d.e.b(v0_1.toString());
        String v0_2 = 0;
        try {
            String v1_1 = new java.io.BufferedWriter(new java.io.FileWriter(p4));
            try {
                this.a(v1_1, "Package", this.w);
                this.a(v1_1, "Version Code", this.y);
                this.a(v1_1, "Version Name", this.x);
                this.a(v1_1, "Android", this.s);
                this.a(v1_1, "Android Build", this.t);
                this.a(v1_1, "Manufacturer", this.u);
                this.a(v1_1, "Model", this.v);
                this.a(v1_1, "Thread", this.z);
                this.a(v1_1, "CrashReporter Key", this.p);
                this.a(v1_1, "Start Date", net.hockeyapp.android.d.h.a(this.q));
                this.a(v1_1, "Date", net.hockeyapp.android.d.h.a(this.r));
            } catch (java.io.IOException v4_16) {
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (String v0_17) {
                        net.hockeyapp.android.d.e.e("Error saving crash report!", v0_17);
                    }
                }
                throw v4_16;
            } catch (java.io.IOException v4_1) {
                v0_2 = v1_1;
                net.hockeyapp.android.d.e.e("Error saving crash report!", v4_1);
                if (v0_2 == null) {
                    return;
                } else {
                    v0_2.close();
                    return;
                }
                v1_1.write("\n");
                v1_1.write(this.A);
                v1_1.flush();
                if (v1_1 == null) {
                    return;
                } else {
                    v1_1.close();
                    return;
                }
            }
            if (this.B.booleanValue()) {
                this.a(v1_1, "Format", "Xamarin");
            }
        } catch (java.io.IOException v4_16) {
            v1_1 = v0_2;
        } catch (java.io.IOException v4_1) {
        } catch (java.io.IOException v4_19) {
            net.hockeyapp.android.d.e.e("Error saving crash report!", v4_19);
            return;
        }
    }

Method com.fitbit.util.d.b.b() calling method java.io.FileWriter.<init>()


    public static String b(android.content.Context p7)
    {
        String v7_3;
        String v0_1 = new java.io.File(com.fitbit.util.f.b.a(p7), "logcat.txt");
        String v1_4 = new java.io.File(com.fitbit.util.f.b.a(p7), "DebugLogs.zip");
        Object[] v2_0 = 0;
        if (!com.fitbit.config.Config.a.a()) {
            v7_3 = 0;
        } else {
            v7_3 = com.fitbit.bluetooth.BluetoothLeManager.b().e().f();
        }
        try {
            java.util.zip.ZipOutputStream v4_1 = new java.io.BufferedWriter(new java.io.FileWriter(v0_1));
            try {
                v4_1.write(com.fitbit.util.d.b.a());
                byte[] v5_4 = new byte[8192];
                int v6_0 = new java.io.FileOutputStream(v1_4);
                try {
                    Object[] v2_3 = new java.util.zip.ZipOutputStream(v6_0);
                    com.fitbit.util.f.b.a(v0_1, v2_3, v5_4);
                } catch (String v7_7) {
                    if (v4_1 == null) {
                        if (v6_0 != 0) {
                            v6_0.flush();
                            v6_0.close();
                        }
                    } else {
                        v4_1.close();
                    }
                    throw v7_7;
                } catch (String v7_6) {
                    v2_0 = v4_1;
                    try {
                        java.util.zip.ZipOutputStream v4_2 = new Object[0];
                        d.a.b.b(v7_6, "Error while writing logcat to file", v4_2);
                    } catch (String v7_7) {
                        v4_1 = v2_0;
                    }
                    if (v2_0 != null) {
                        v2_0.close();
                    }
                    if (v6_0 == 0) {
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    } else {
                        v6_0.flush();
                        v6_0.close();
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    }
                    v2_3.finish();
                    v2_3.close();
                    v6_0.flush();
                    v6_0.close();
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    if (v6_0 == 0) {
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    } else {
                        v6_0.flush();
                        v6_0.close();
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    }
                }
                if (v7_3 != null) {
                    com.fitbit.util.f.b.a(v7_3, v2_3, v5_4);
                }
            } catch (String v7_7) {
                v6_0 = 0;
            } catch (String v7_6) {
                v6_0 = 0;
            }
        } catch (String v7_7) {
            v4_1 = 0;
            v6_0 = 0;
        } catch (String v7_6) {
            v6_0 = 0;
        }
    }

Method com.mobeta.android.dslv.DragSortListView$f.c() calling method java.io.FileWriter.<init>()


    public void c()
    {
        if (this.f) {
            try {
                int v0_7;
                if (this.e != 0) {
                    v0_7 = 1;
                } else {
                    v0_7 = 0;
                }
            } catch (java.io.IOException) {
                return;
            }
            java.io.FileWriter v3_0 = new java.io.FileWriter(this.b, v0_7);
            v3_0.write(this.a.toString());
            this.a.delete(0, this.a.length());
            v3_0.flush();
            v3_0.close();
            this.e = (this.e + 1);
            return;
        } else {
            return;
        }
    }

Method io.fabric.sdk.android.services.settings.j.a() calling method java.io.FileWriter.<init>()


    public void a(long p4, org.json.JSONObject p6)
    {
        io.fabric.sdk.android.d.i().a("Fabric", "Writing settings to cache file...");
        if (p6 != null) {
            String v0_1 = 0;
            try {
                p6.put("expires_at", p4);
                String v4_1 = new java.io.FileWriter(new java.io.File(new io.fabric.sdk.android.services.c.b(this.a).c(), "com.crashlytics.settings.json"));
                try {
                    v4_1.write(p6.toString());
                    v4_1.flush();
                    io.fabric.sdk.android.services.common.CommonUtils.a(v4_1, "Failed to close settings writer.");
                } catch (Exception v5_5) {
                    v0_1 = v4_1;
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close settings writer.");
                    throw v5_5;
                } catch (Exception v5_2) {
                    v0_1 = v4_1;
                    io.fabric.sdk.android.d.i().e("Fabric", "Failed to cache settings", v5_2);
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close settings writer.");
                }
            } catch (Exception v5_5) {
            } catch (Exception v5_2) {
            }
        }
        return;
    }

Method android.support.media.ExifInterface.saveAttributes() calling method java.io.FileOutputStream.<init>()


    public void saveAttributes()
    {
        if ((this.mIsSupportedFile) && (this.mMimeType == 4)) {
            if (this.mFilename != null) {
                this.mThumbnailBytes = this.getThumbnail();
                Throwable v1_1 = new StringBuilder();
                v1_1.append(this.mFilename);
                v1_1.append(".tmp");
                String v0_2 = new java.io.File(v1_1.toString());
                if (new java.io.File(this.mFilename).renameTo(v0_2)) {
                    Throwable v1_6 = 0;
                    try {
                        int v2_4 = new java.io.FileInputStream(v0_2);
                        try {
                            Throwable v3_2 = new java.io.FileOutputStream(this.mFilename);
                            try {
                                this.saveJpegAttributes(v2_4, v3_2);
                                android.support.media.ExifInterface.closeQuietly(v2_4);
                                android.support.media.ExifInterface.closeQuietly(v3_2);
                                v0_2.delete();
                                this.mThumbnailBytes = 0;
                                return;
                            } catch (Throwable v1_8) {
                                Throwable v3_0 = v1_8;
                                v1_6 = v3_2;
                                android.support.media.ExifInterface.closeQuietly(v2_4);
                                android.support.media.ExifInterface.closeQuietly(v1_6);
                                v0_2.delete();
                                throw v3_0;
                            }
                        } catch (Throwable v3_0) {
                        }
                        this.saveJpegAttributes(v2_4, v3_2);
                        android.support.media.ExifInterface.closeQuietly(v2_4);
                        android.support.media.ExifInterface.closeQuietly(v3_2);
                        v0_2.delete();
                        this.mThumbnailBytes = 0;
                        return;
                    } catch (int v2_5) {
                        v3_0 = v2_5;
                        v2_4 = 0;
                    }
                } else {
                    int v2_7 = new StringBuilder();
                    v2_7.append("Could not rename to ");
                    v2_7.append(v0_2.getAbsolutePath());
                    throw new java.io.IOException(v2_7.toString());
                }
            } else {
                throw new java.io.IOException("ExifInterface does not support saving attributes for the current input.");
            }
        } else {
            throw new java.io.IOException("ExifInterface only supports saving attributes on JPEG formats.");
        }
    }

Method android.support.multidex.MultiDexExtractor.extract() calling method java.io.FileOutputStream.<init>()


    private static void extract(java.util.zip.ZipFile p4, java.util.zip.ZipEntry p5, java.io.File p6, String p7)
    {
        java.io.InputStream v4_1 = p4.getInputStream(p5);
        StringBuilder v0_3 = new StringBuilder();
        v0_3.append("tmp-");
        v0_3.append(p7);
        java.io.File v7_1 = java.io.File.createTempFile(v0_3.toString(), ".zip", p6.getParentFile());
        String v1_3 = new StringBuilder();
        v1_3.append("Extracting ");
        v1_3.append(v7_1.getPath());
        android.util.Log.i("MultiDex", v1_3.toString());
        try {
            StringBuilder v0_4 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(new java.io.FileOutputStream(v7_1)));
            try {
                String v1_8 = new java.util.zip.ZipEntry("classes.dex");
                v1_8.setTime(p5.getTime());
                v0_4.putNextEntry(v1_8);
                java.io.IOException v5_5 = new byte[16384];
                String v1_0 = v4_1.read(v5_5);
            } catch (java.io.IOException v5_2) {
                v0_4.close();
                throw v5_2;
            }
            while (v1_0 != -1) {
                v0_4.write(v5_5, 0, v1_0);
                v1_0 = v4_1.read(v5_5);
            }
            v0_4.closeEntry();
            v0_4.close();
            if (v7_1.setReadOnly()) {
                StringBuilder v0_6 = new StringBuilder();
                v0_6.append("Renaming to ");
                v0_6.append(p6.getPath());
                android.util.Log.i("MultiDex", v0_6.toString());
                if (v7_1.renameTo(p6)) {
                    android.support.multidex.MultiDexExtractor.closeQuietly(v4_1);
                    v7_1.delete();
                    return;
                } else {
                    StringBuilder v0_9 = new StringBuilder();
                    v0_9.append("Failed to rename \"");
                    v0_9.append(v7_1.getAbsolutePath());
                    v0_9.append("\" to \"");
                    v0_9.append(p6.getAbsolutePath());
                    v0_9.append("\"");
                    throw new java.io.IOException(v0_9.toString());
                }
            } else {
                StringBuilder v0_11 = new StringBuilder();
                v0_11.append("Failed to mark readonly \"");
                v0_11.append(v7_1.getAbsolutePath());
                v0_11.append("\" (tmp of \"");
                v0_11.append(p6.getAbsolutePath());
                v0_11.append("\")");
                throw new java.io.IOException(v0_11.toString());
            }
        } catch (java.io.IOException v5_3) {
            android.support.multidex.MultiDexExtractor.closeQuietly(v4_1);
            v7_1.delete();
            throw v5_3;
        }
    }

Method android.support.v4.graphics.TypefaceCompatUtil.copyToFile() calling method java.io.FileOutputStream.<init>()


    public static boolean copyToFile(java.io.File p5, java.io.InputStream p6)
    {
        android.os.StrictMode$ThreadPolicy v0 = android.os.StrictMode.allowThreadDiskWrites();
        int v2_1 = 0;
        try {
            StringBuilder v3_3 = new java.io.FileOutputStream(p5, 0);
            try {
                int v5_7 = new byte[1024];
            } catch (int v5_4) {
                v2_1 = v3_3;
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2_1);
                android.os.StrictMode.setThreadPolicy(v0);
                throw v5_4;
            } catch (int v5_1) {
                v2_1 = v3_3;
                StringBuilder v3_1 = new StringBuilder();
                v3_1.append("Error copying resource contents to temp file: ");
                v3_1.append(v5_1.getMessage());
                android.util.Log.e("TypefaceCompatUtil", v3_1.toString());
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2_1);
                android.os.StrictMode.setThreadPolicy(v0);
                return 0;
            }
            while(true) {
                int v2_0 = p6.read(v5_7);
                if (v2_0 == -1) {
                    break;
                }
                v3_3.write(v5_7, 0, v2_0);
            }
            android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v3_3);
            android.os.StrictMode.setThreadPolicy(v0);
            return 1;
        } catch (int v5_4) {
        } catch (int v5_1) {
            v3_1 = new StringBuilder();
            v3_1.append("Error copying resource contents to temp file: ");
            v3_1.append(v5_1.getMessage());
            android.util.Log.e("TypefaceCompatUtil", v3_1.toString());
            android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2_1);
            android.os.StrictMode.setThreadPolicy(v0);
            return 0;
        }
    }

Method android.support.v4.print.PrintHelper$1.doInBackground() calling method java.io.FileOutputStream.<init>()


    protected varargs Throwable doInBackground(Void[] p8)
    {
        try {
            if (!this.val$cancellationSignal.isCanceled()) {
                android.graphics.Bitmap v8_10 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$pdfAttributes);
                android.graphics.Bitmap v1_1 = android.support.v4.print.PrintHelper.convertBitmapForColorMode(this.val$bitmap, this.val$pdfAttributes.getColorMode());
                if (!this.val$cancellationSignal.isCanceled()) {
                    try {
                        java.io.FileOutputStream v2_6;
                        java.io.FileDescriptor v3_0 = v8_10.startPage(1);
                    } catch (Throwable v0_1) {
                        v8_10.close();
                        if (this.val$fileDescriptor != null) {
                            this.val$fileDescriptor.close();
                        }
                        if (v1_1 != this.val$bitmap) {
                            v1_1.recycle();
                        }
                        throw v0_1;
                    }
                    if (!android.support.v4.print.PrintHelper.IS_MIN_MARGINS_HANDLING_CORRECT) {
                        android.graphics.Matrix v4_2 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$attributes);
                        java.io.FileOutputStream v2_5 = v4_2.startPage(1);
                        android.graphics.Canvas v5_3 = new android.graphics.RectF(v2_5.getInfo().getContentRect());
                        v4_2.finishPage(v2_5);
                        v4_2.close();
                        v2_6 = v5_3;
                    } else {
                        v2_6 = new android.graphics.RectF(v3_0.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v4_6 = android.support.v4.print.PrintHelper.getMatrix(v1_1.getWidth(), v1_1.getHeight(), v2_6, this.val$fittingMode);
                    if (!android.support.v4.print.PrintHelper.IS_MIN_MARGINS_HANDLING_CORRECT) {
                        v4_6.postTranslate(v2_6.left, v2_6.top);
                        v3_0.getCanvas().clipRect(v2_6);
                    } else {
                    }
                    v3_0.getCanvas().drawBitmap(v1_1, v4_6, 0);
                    v8_10.finishPage(v3_0);
                    if (!this.val$cancellationSignal.isCanceled()) {
                        v8_10.writeTo(new java.io.FileOutputStream(this.val$fileDescriptor.getFileDescriptor()));
                        v8_10.close();
                        if (this.val$fileDescriptor != null) {
                            this.val$fileDescriptor.close();
                        }
                        if (v1_1 != this.val$bitmap) {
                            v1_1.recycle();
                        }
                        return 0;
                    } else {
                        v8_10.close();
                        if (this.val$fileDescriptor != null) {
                            this.val$fileDescriptor.close();
                        }
                        if (v1_1 != this.val$bitmap) {
                            v1_1.recycle();
                        }
                        return 0;
                    }
                } else {
                    return 0;
                }
            } else {
                return 0;
            }
        } catch (android.graphics.Bitmap v8_2) {
            return v8_2;
        }
    }

Method android.support.v4.util.AtomicFile.startWrite() calling method java.io.FileOutputStream.<init>()


    public java.io.FileOutputStream startWrite()
    {
        if (this.mBaseName.exists()) {
            if (this.mBackupName.exists()) {
                this.mBaseName.delete();
            } else {
                if (!this.mBaseName.renameTo(this.mBackupName)) {
                    String v1_2 = new StringBuilder();
                    v1_2.append("Couldn\'t rename file ");
                    v1_2.append(this.mBaseName);
                    v1_2.append(" to backup file ");
                    v1_2.append(this.mBackupName);
                    android.util.Log.w("AtomicFile", v1_2.toString());
                }
            }
        }
        try {
            java.io.IOException v0_6 = new java.io.FileOutputStream(this.mBaseName);
        } catch (java.io.FileNotFoundException) {
            if (this.mBaseName.getParentFile().mkdirs()) {
                try {
                    v0_6 = new java.io.FileOutputStream(this.mBaseName);
                } catch (java.io.FileNotFoundException) {
                    String v1_7 = new StringBuilder();
                    v1_7.append("Couldn\'t create ");
                    v1_7.append(this.mBaseName);
                    throw new java.io.IOException(v1_7.toString());
                }
            } else {
                String v1_10 = new StringBuilder();
                v1_10.append("Couldn\'t create directory ");
                v1_10.append(this.mBaseName);
                throw new java.io.IOException(v1_10.toString());
            }
        }
        return v0_6;
    }

Method com.crashlytics.android.core.ad.a() calling method java.io.FileOutputStream.<init>()


    public void a(String p5, com.crashlytics.android.core.ax p6)
    {
        Exception v5_1 = this.c(p5);
        String v0 = 0;
        try {
            io.fabric.sdk.android.l v6_3 = ark>com.crashlytics.android.core.adark>.a(p6);
            String v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v5_1), ark>com.crashlytics.android.core.adark>.a));
            try {
                v1_0.write(v6_3);
                v1_0.flush();
                io.fabric.sdk.android.services.common.CommonUtils.a(v1_0, "Failed to close user metadata file.");
            } catch (Exception v5_5) {
                v0 = v1_0;
                io.fabric.sdk.android.services.common.CommonUtils.a(v0, "Failed to close user metadata file.");
                throw v5_5;
            } catch (Exception v5_2) {
                v0 = v1_0;
                io.fabric.sdk.android.d.i().e("CrashlyticsCore", "Error serializing user metadata.", v5_2);
                io.fabric.sdk.android.services.common.CommonUtils.a(v0, "Failed to close user metadata file.");
            }
            return;
        } catch (Exception v5_5) {
        } catch (Exception v5_2) {
        }
    }

Method com.crashlytics.android.core.ad.a() calling method java.io.FileOutputStream.<init>()


    public void a(String p5, java.util.Map p6)
    {
        Exception v5_1 = this.d(p5);
        String v0 = 0;
        try {
            io.fabric.sdk.android.l v6_3 = ark>com.crashlytics.android.core.adark>.a(p6);
            String v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v5_1), ark>com.crashlytics.android.core.adark>.a));
            try {
                v1_0.write(v6_3);
                v1_0.flush();
                io.fabric.sdk.android.services.common.CommonUtils.a(v1_0, "Failed to close key/value metadata file.");
            } catch (Exception v5_5) {
                v0 = v1_0;
                io.fabric.sdk.android.services.common.CommonUtils.a(v0, "Failed to close key/value metadata file.");
                throw v5_5;
            } catch (Exception v5_2) {
                v0 = v1_0;
                io.fabric.sdk.android.d.i().e("CrashlyticsCore", "Error serializing key/value metadata.", v5_2);
                io.fabric.sdk.android.services.common.CommonUtils.a(v0, "Failed to close key/value metadata file.");
            }
            return;
        } catch (Exception v5_5) {
        } catch (Exception v5_2) {
        }
    }

Method com.crashlytics.android.core.g.<init>() calling method java.io.FileOutputStream.<init>()


    public g(java.io.File p4, String p5)
    {
        String v1_1 = new StringBuilder();
        v1_1.append(p5);
        v1_1.append(".cls_temp");
        super(new java.io.File(p4, v1_1.toString()));
        super.g = 0;
        String v0_3 = new StringBuilder();
        v0_3.append(p4);
        v0_3.append(java.io.File.separator);
        v0_3.append(p5);
        super.d = v0_3.toString();
        String v5_2 = new StringBuilder();
        v5_2.append(super.d);
        v5_2.append(".cls_temp");
        super.e = new java.io.File(v5_2.toString());
        return;
    }

Method com.crashlytics.android.core.l.a() calling method java.io.FileOutputStream.<init>()


    private void a(String p6, String p7, ark>com.crashlytics.android.core.lark>$e p8)
    {
        String v0 = 0;
        try {
            java.io.File v3 = this.h();
            StringBuilder v4_1 = new StringBuilder();
            v4_1.append(p6);
            v4_1.append(p7);
            String v1_1 = new java.io.FileOutputStream(new java.io.File(v3, v4_1.toString()));
            try {
                p8.a(v1_1);
                Throwable v6_4 = new StringBuilder();
                v6_4.append("Failed to close ");
                v6_4.append(p7);
                p7 = " file.";
                v6_4.append(" file.");
                io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, v6_4.toString());
                return;
            } catch (Throwable v6_2) {
                v0 = v1_1;
                StringBuilder v8_3 = new StringBuilder();
                v8_3.append("Failed to close ");
                v8_3.append(p7);
                v8_3.append(" file.");
                io.fabric.sdk.android.services.common.CommonUtils.a(v0, v8_3.toString());
                throw v6_2;
            }
        } catch (Throwable v6_2) {
        }
        p8.a(v1_1);
        v6_4 = new StringBuilder();
        v6_4.append("Failed to close ");
        v6_4.append(p7);
        p7 = " file.";
        v6_4.append(" file.");
        io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, v6_4.toString());
        return;
    }

Method com.crashlytics.android.core.l.b() calling method java.io.FileOutputStream.<init>()


    private void b(byte[] p4, java.io.File p5)
    {
        java.util.zip.GZIPOutputStream v0 = 0;
        try {
            java.util.zip.GZIPOutputStream v1_1 = new java.util.zip.GZIPOutputStream(new java.io.FileOutputStream(p5));
            try {
                v1_1.write(p4);
                v1_1.finish();
                io.fabric.sdk.android.services.common.CommonUtils.a(v1_1);
                return;
            } catch (Throwable v4_1) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.a(v0);
                throw v4_1;
            }
        } catch (Throwable v4_1) {
        }
        v1_1.write(p4);
        v1_1.finish();
        io.fabric.sdk.android.services.common.CommonUtils.a(v1_1);
        return;
    }

Method com.facebook.internal.o.b() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream b(String p10, String p11)
    {
        java.io.File v5 = com.facebook.internal.o$a.b(this.g);
        v5.delete();
        if (v5.createNewFile()) {
            try {
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v5);
                com.facebook.internal.o$1 v8 = new com.facebook.internal.o$1;
                v8(this, System.currentTimeMillis(), v5, p10);
                String v2_2 = new java.io.BufferedOutputStream(new com.facebook.internal.o$b(v7_1, v8), 8192);
                try {
                    String v1_5 = new org.json.JSONObject();
                    v1_5.put("key", p10);
                } catch (String v10_7) {
                    v2_2.close();
                    throw v10_7;
                } catch (String v10_5) {
                    String v3_5 = new StringBuilder();
                    v3_5.append("Error creating JSON header for cache file: ");
                    v3_5.append(v10_5);
                    com.facebook.internal.w.a(com.facebook.LoggingBehavior.d, 5, com.facebook.internal.o.a, v3_5.toString());
                    throw new java.io.IOException(v10_5.getMessage());
                }
                if (!com.facebook.internal.ae.a(p11)) {
                    v1_5.put("tag", p11);
                }
                com.facebook.internal.o$g.a(v2_2, v1_5);
                return v2_2;
            } catch (String v10_1) {
                String v2_4 = new StringBuilder();
                v2_4.append("Error creating buffer output stream: ");
                v2_4.append(v10_1);
                com.facebook.internal.w.a(com.facebook.LoggingBehavior.d, 5, com.facebook.internal.o.a, v2_4.toString());
                throw new java.io.IOException(v10_1.getMessage());
            }
        } else {
            java.io.IOException v11_8 = new StringBuilder();
            v11_8.append("Could not create file at ");
            v11_8.append(v5.getAbsolutePath());
            throw new java.io.IOException(v11_8.toString());
        }
    }

Method kotlin.io.k.d() calling method java.io.FileOutputStream.<init>()


    private static final java.io.OutputStreamWriter d(java.io.File p1, java.nio.charset.Charset p2)
    {
        return new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p1)), p2);
    }

Method com.facebook.internal.y.a() calling method java.io.FileOutputStream.<init>()


    private static void a(android.graphics.Bitmap p2, java.io.File p3)
    {
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p3);
        try {
            p2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v0_1);
            com.facebook.internal.ae.a(v0_1);
            return;
        } catch (Throwable v2_1) {
            com.facebook.internal.ae.a(v0_1);
            throw v2_1;
        }
    }

Method com.facebook.internal.y.a() calling method java.io.FileOutputStream.<init>()


    private static void a(android.net.Uri p1, boolean p2, java.io.File p3)
    {
        java.io.InputStream v2_1;
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p3);
        if (p2 != null) {
            v2_1 = com.facebook.i.h().getContentResolver().openInputStream(p1);
        } else {
            v2_1 = new java.io.FileInputStream(p1.getPath());
        }
        com.facebook.internal.ae.a(v2_1, v0_1);
        com.facebook.internal.ae.a(v0_1);
        return;
    }

Method com.fitbit.data.bl.challenges.pano.PanoramicContentProvider.openFile() calling method java.io.FileOutputStream.<init>()


    public android.os.ParcelFileDescriptor openFile(android.net.Uri p7, String p8)
    {
        String v0_0 = this.a(p7);
        Object[] v1_1 = com.fitbit.data.bl.challenges.pano.d.a(v0_0);
        Object[] v4_3 = 0;
        try {
            if (this.b.a(v1_1)) {
                String v0_2 = java.io.File.createTempFile("wallpaper", "img");
                Object[] v1_0 = this.b.b(v1_1);
                try {
                    int v5_3 = new java.io.FileOutputStream(v0_2);
                    try {
                        new com.fitbit.data.bl.challenges.pano.c(v1_0, v5_3).a();
                        v5_3.getFD().sync();
                        java.io.IOException v8_3 = this.a(v0_2, this.a(p8));
                        this.a(v1_0);
                        this.a(v5_3);
                        return v8_3;
                    } catch (java.io.FileNotFoundException v7_2) {
                        v4_3 = v1_0;
                    } catch (java.io.FileNotFoundException v7_1) {
                        v4_3 = v1_0;
                        throw v7_1;
                    } catch (java.io.IOException v8_1) {
                        v4_3 = v1_0;
                        Object[] v1_3 = new Object[1];
                        v1_3[0] = p7;
                        d.a.b.e(v8_1, "IOException while dealing wtih this url %s", v1_3);
                        throw new java.io.FileNotFoundException(p7.toString());
                    }
                } catch (java.io.FileNotFoundException v7_2) {
                    v5_3 = 0;
                } catch (java.io.FileNotFoundException v7_1) {
                    v5_3 = 0;
                } catch (java.io.IOException v8_1) {
                    v5_3 = 0;
                }
                new com.fitbit.data.bl.challenges.pano.c(v1_0, v5_3).a();
                v5_3.getFD().sync();
                v8_3 = this.a(v0_2, this.a(p8));
                this.a(v1_0);
                this.a(v5_3);
                return v8_3;
            } else {
                int v5_5 = new Object[2];
                v5_5[0] = v1_1;
                v5_5[1] = v0_0;
                d.a.b.b("Storage does not contain key %s for %s ", v5_5);
                String v0_4 = new StringBuilder();
                v0_4.append("Could not find file for ");
                v0_4.append(p7);
                throw new java.io.FileNotFoundException(v0_4.toString());
            }
        } catch (java.io.FileNotFoundException v7_2) {
            v5_3 = 0;
        } catch (java.io.IOException v8_1) {
            v5_3 = 0;
        } catch (java.io.FileNotFoundException v7_2) {
        }
        this.a(v4_3);
        this.a(v5_3);
        throw v7_2;
    }

Method com.fasterxml.jackson.core.JsonFactory.a() calling method java.io.FileOutputStream.<init>()


    public com.fasterxml.jackson.core.JsonGenerator a(java.io.File p3, com.fasterxml.jackson.core.JsonEncoding p4)
    {
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p3);
        com.fasterxml.jackson.core.JsonGenerator v3_4 = this.a(v0_1, 1);
        v3_4.a(p4);
        if (p4 != com.fasterxml.jackson.core.JsonEncoding.a) {
            return this.a(this.b(this.a(v0_1, p4, v3_4), v3_4), v3_4);
        } else {
            return this.a(this.b(v0_1, v3_4), v3_4);
        }
    }

Method com.fitbit.camera.b.a() calling method java.io.FileOutputStream.<init>()


    public static android.net.Uri a(android.content.Context p6, android.graphics.Bitmap p7)
    {
        Object[] v0_3 = new java.io.File(p6.getCacheDir(), "selfies");
        if ((v0_3.exists()) || (v0_3.mkdirs())) {
            int v3_1 = new Object[1];
            v3_1[0] = java.util.UUID.randomUUID();
            java.io.IOException v6_4 = new java.io.File(v0_3, String.format("%s.jpg", v3_1));
            try {
                Object[] v0_2 = new java.io.FileOutputStream(v6_4);
                try {
                    p7.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v0_2);
                    v0_2.flush();
                    v0_2.getFD().sync();
                } catch (java.io.IOException v6_5) {
                    Object[] v2_3 = new Object[0];
                    d.a.b.e(v6_5, "Could not save the image correctly", v2_3);
                    if (v0_2 != null) {
                        try {
                            v0_2.close();
                        } catch (java.io.IOException v6_7) {
                            Object[] v0_4 = new Object[0];
                            d.a.b.e(v6_7, "Could not close the stream correctly", v0_4);
                        }
                    }
                    return 0;
                }
                if (v0_2 != null) {
                    try {
                        v0_2.close();
                    } catch (String v7_5) {
                        Object[] v1_2 = new Object[0];
                        d.a.b.e(v7_5, "Could not close the stream correctly", v1_2);
                    }
                }
                return android.net.Uri.fromFile(v6_4);
            } catch (java.io.IOException v6_6) {
                v0_2 = 0;
                if (v0_2 != null) {
                    try {
                        v0_2.close();
                    } catch (String v7_4) {
                        Object[] v1_1 = new Object[0];
                        d.a.b.e(v7_4, "Could not close the stream correctly", v1_1);
                    }
                }
                throw v6_6;
            } catch (java.io.IOException v6_5) {
                v0_2 = 0;
            } catch (java.io.IOException v6_6) {
            }
        } else {
            return 0;
        }
    }

Method com.fitbit.coin.kit.internal.service.ad.b() calling method java.io.FileOutputStream.<init>()


    private void b(okhttp3.ad p8, String p9)
    {
        String v0_0 = this.a();
        java.io.File v1_0 = 0;
        try {
            StringBuilder v2_4 = new com.fasterxml.jackson.core.JsonFactory().a(p8.d());
        } catch (Throwable v9_6) {
            p8.close();
            if (v1_0 != null) {
                try {
                    v1_0.close();
                } catch (java.io.IOException v8_2) {
                    throw new RuntimeException("Error closing asset cache file", v8_2);
                }
            }
            throw v9_6;
        } catch (Throwable v9_3) {
            java.io.File v3_1 = 0;
            if (v1_0 != null) {
                v1_0.delete();
            }
            StringBuilder v2_3 = new StringBuilder();
            v2_3.append("Error extracting asset data asset service, file: ");
            v2_3.append(v1_0.getName());
            throw new RuntimeException(v2_3.toString(), v9_3);
        }
        if (v2_4.h() == com.fasterxml.jackson.core.JsonToken.b) {
            v3_1 = 0;
            try {
                while (v2_4.h() != com.fasterxml.jackson.core.JsonToken.c) {
                    java.io.File v4_2 = v2_4.v();
                    if (v1_0 != null) {
                        v1_0.close();
                    }
                    java.io.File v4_3 = this.a(v0_0, p9, v4_2);
                    try {
                        java.io.File v3_3 = new java.io.FileOutputStream(v4_3);
                        try {
                            v2_4.j();
                            v2_4.b(v3_3);
                            v1_0 = v3_3;
                            v3_1 = v4_3;
                        } catch (Throwable v9_3) {
                            v1_0 = v4_3;
                        }
                    } catch (Throwable v9_3) {
                        v3_1 = v1_0;
                    }
                }
            } catch (Throwable v9_3) {
                int v6 = v3_1;
                v3_1 = v1_0;
                v1_0 = v6;
            }
            p8.close();
            if (v1_0 != null) {
                try {
                    v1_0.close();
                } catch (java.io.IOException v8_1) {
                    throw new RuntimeException("Error closing asset cache file", v8_1);
                }
            }
            return;
        } else {
            throw new java.io.IOException("Expected data to start with an Object");
        }
    }

Method com.fitbit.coin.kit.internal.service.ad.a() calling method java.io.FileOutputStream.<init>()


    final synthetic void a(String p6, java.io.File p7)
    {
        Throwable v6_2 = this.h.getAssets().open(p6);
        Throwable v0_2 = 0;
        try {
            Throwable v1_2 = new java.io.FileOutputStream(p7);
            try {
                Throwable v7_6 = new byte[1024];
            } catch (Throwable v7_2) {
                Throwable v2_2 = 0;
                if (v1_2 != null) {
                    if (v2_2 == null) {
                        v1_2.close();
                    } else {
                        try {
                            v1_2.close();
                        } catch (Throwable v1_0) {
                            v2_2.addSuppressed(v1_0);
                        }
                    }
                }
                throw v7_2;
            } catch (Throwable v7_1) {
                try {
                    throw v7_1;
                } catch (Throwable v2_1) {
                    v2_2 = v7_1;
                    v7_2 = v2_1;
                }
            }
            while(true) {
                Throwable v2_0 = v6_2.read(v7_6);
                if (v2_0 == -1) {
                    break;
                }
                v1_2.write(v7_6, 0, v2_0);
            }
            if (v1_2 != null) {
                v1_2.close();
            }
            if (v6_2 != null) {
                v6_2.close();
            }
            return;
        } catch (Throwable v7_4) {
            if (v6_2 != null) {
                if (v0_2 == null) {
                    v6_2.close();
                } else {
                    try {
                        v6_2.close();
                    } catch (Throwable v6_1) {
                        v0_2.addSuppressed(v6_1);
                    }
                }
            }
            throw v7_4;
        } catch (Throwable v7_3) {
            v0_2 = v7_3;
            throw v0_2;
        }
    }

Method com.fitbit.bluetooth.FirmwareUpdateTask.P() calling method java.io.FileOutputStream.<init>()


    private void P()
    {
        com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[] v0_1;
        com.fitbit.fbcomms.fwup.FirmwareImageFileInfo v1_0 = 0;
        if (this.S == null) {
            v0_1 = 0;
        } else {
            v0_1 = this.S.size();
        }
        com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[] v0_6 = new com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[v0_1];
        if (this.S != null) {
            java.net.URI v4_0 = new Object[1];
            v4_0[0] = Integer.valueOf(this.S.size());
            d.a.b.b("Firmware images present : %d", v4_0);
            com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[] v2_1 = 0;
            java.net.URI v4_1 = 0;
            while (v2_1 < this.S.size()) {
                int v5_3 = ((com.fitbit.data.domain.device.FirmwareImage) this.S.get(v2_1));
                android.util.Base64OutputStream v7_2 = new Object[1];
                v7_2[0] = v5_3.getVersion();
                d.a.b.b("Confirm fwImage version: %s", v7_2);
                java.net.URI v6_4 = new com.fitbit.fbcomms.fwup.FirmwareImageFileInfo(v5_3, v4_1);
                v0_6[v2_1] = v6_4;
                v4_1 += v6_4.getTotalBytes();
                v2_1++;
            }
        }
        if ((this.V) && (v0_6.length == 0)) {
            com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[] v2_4 = new com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[2];
            java.net.URI v4_3 = new java.util.ArrayList(2);
            int v5_0 = 0;
            try {
                while (v5_0 < v2_4.length) {
                    Long v9_0;
                    byte[] v8_6 = new Object[3];
                    if (v5_0 != 0) {
                        v9_0 = com.fitbit.data.domain.device.FirmwareImage$DeviceMode.BSL;
                    } else {
                        v9_0 = com.fitbit.data.domain.device.FirmwareImage$DeviceMode.APP;
                    }
                    v8_6[0] = v9_0;
                    int[] v10_2 = new int[2];
                    v10_2 = {1, 0};
                    v8_6[1] = new com.fitbit.util.FirmwareVersion(v10_2);
                    v8_6[2] = Long.valueOf(org.threeten.bp.Instant.a().b());
                    java.net.URI v6_0 = java.io.File.createTempFile(String.format(java.util.Locale.ENGLISH, "fwup-%s-%s-%s.fwup", v8_6), "bin", this.z.getCacheDir());
                    android.util.Base64OutputStream v7_1 = new android.util.Base64OutputStream(new java.io.FileOutputStream(v6_0), 0);
                    byte[] v8_3 = new byte[20000];
                    v7_1.write(v8_3);
                    v7_1.flush();
                    v7_1.close();
                    v4_3.add(v6_0.toURI());
                    v5_0++;
                }
            } catch (int v5_10) {
                android.util.Base64OutputStream v7_4 = new Object[0];
                d.a.b.e(v5_10, "We couldn\'t access the file system properly", v7_4);
            }
            Long v9_1 = new int[2];
            v9_1 = {1, 0};
            v2_4[v1_0] = new com.fitbit.fbcomms.fwup.FirmwareImageFileInfo(new com.fitbit.data.domain.device.FirmwareImage(com.fitbit.data.domain.device.FirmwareImage$DeviceMode.APP, new com.fitbit.util.FirmwareVersion(v9_1), com.fitbit.data.domain.device.FirmwareImage$TypeOfData.MICROV2, ((java.net.URI) v4_3.get(0))), v1_0);
            com.fitbit.fbcomms.fwup.FirmwareImageFileInfo[] v0_4 = new int[2];
            v0_4 = {1, 0};
            v2_4[1] = new com.fitbit.fbcomms.fwup.FirmwareImageFileInfo(new com.fitbit.data.domain.device.FirmwareImage(com.fitbit.data.domain.device.FirmwareImage$DeviceMode.BSL, new com.fitbit.util.FirmwareVersion(v0_4), com.fitbit.data.domain.device.FirmwareImage$TypeOfData.MICROV2, ((java.net.URI) v4_3.get(1))), 200000);
            v0_6 = v2_4;
        }
        this.T = v0_6;
        return;
    }

Method com.fitbit.bluetooth.PairTrackerTask.s() calling method java.io.FileOutputStream.<init>()


    private void s()
    {
        try {
            java.io.IOException v0_0 = this.l();
            Object[] v3_1 = new Object[1];
            v3_1[0] = java.util.UUID.randomUUID();
            java.io.IOException v0_2 = java.io.File.createTempFile(String.format(java.util.Locale.ENGLISH, "pair-sync-%s", v3_1), "bin", v0_0.getCacheDir());
            java.io.BufferedOutputStream v1_3 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v0_2));
            v1_3.write(this.k);
            v1_3.flush();
            v1_3.close();
            this.l = v0_2.toURI();
            this.m = this.k.length;
        } catch (java.io.IOException v0_6) {
            v0_6.printStackTrace();
        }
        return;
    }

Method com.fitbit.data.repo.greendao.DaoFactory.exportDBToFile() calling method java.io.FileOutputStream.<init>()


    public declared_synchronized java.io.File exportDBToFile(String p8)
    {
        String v0_0 = 0;
        if (p8 != null) {
            try {
                String v1_6 = new java.io.File(com.fitbit.util.f.b.a(this.context), p8);
                try {
                    d.a.b$b v2_0 = new java.io.FileOutputStream(v1_6);
                } catch (String v1_2) {
                    v2_0 = 0;
                    String v0_1 = v1_2;
                    if (v2_0 != null) {
                        try {
                            v2_0.close();
                        } catch (String v1_3) {
                            Object[] v8_2 = new Object[0];
                            d.a.b.a(com.fitbit.data.repo.greendao.DaoFactory.TAG).d(com.fitbit.r.d.a(v1_3), v8_2);
                        }
                    }
                    throw v0_1;
                } catch (java.io.IOException) {
                    v2_0 = 0;
                    v1_6.delete();
                    if (v2_0 == null) {
                        return v0_0;
                    } else {
                        try {
                            v2_0.close();
                        } catch (String v1_0) {
                            Object[] v8_1 = new Object[0];
                            d.a.b.a(com.fitbit.data.repo.greendao.DaoFactory.TAG).d(com.fitbit.r.d.a(v1_0), v8_1);
                        }
                        return v0_0;
                    }
                    java.util.zip.ZipOutputStream v3_1.finish();
                    v3_1.close();
                    if (v2_0 != null) {
                        try {
                            v2_0.close();
                        } catch (String v0_2) {
                            Object[] v8_3 = new Object[0];
                            d.a.b.a(com.fitbit.data.repo.greendao.DaoFactory.TAG).d(com.fitbit.r.d.a(v0_2), v8_3);
                        }
                    }
                    v0_0 = v1_6;
                } catch (String v0_1) {
                }
                v3_1 = new java.util.zip.ZipOutputStream(v2_0);
                byte[] v4_1 = new byte[8192];
                if (this.helper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.helper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.swapHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.swapHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.activityHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.activityHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.generalDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.generalDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.mobileTrackDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.mobileTrackDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.heartRateDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.heartRateDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.socialDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.socialDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
                if (this.foodDbHelper != null) {
                    com.fitbit.util.f.b.a(new java.io.File(this.foodDbHelper.getWritableDatabase().getPath()), v3_1, v4_1);
                }
            } catch (Object[] v8_4) {
                throw v8_4;
            }
        }
        return v0_0;
    }

Method com.fitbit.data.repo.o.a() calling method java.io.FileOutputStream.<init>()


    public declared_synchronized void a(String p3, byte[] p4)
    {
        try {
            this.e();
            this.d();
            Throwable v0_2 = new java.io.File(this.e, com.fitbit.util.an.a(p3));
            java.io.IOException v3_1 = 0;
            try {
                java.io.IOException v4_1;
                if (!v0_2.createNewFile()) {
                    v4_1 = 0;
                    com.fitbit.util.q.a(v3_1);
                    com.fitbit.util.q.a(v4_1);
                } else {
                    String v1_1 = new java.io.ByteArrayInputStream(p4);
                    try {
                        v4_1 = new java.io.FileOutputStream(v0_2);
                        try {
                            com.fitbit.util.q.a(v1_1, v4_1);
                            v3_1 = v1_1;
                        } catch (java.io.IOException v3_3) {
                            Throwable v0_0 = v4_1;
                            java.io.IOException v4_3 = v3_3;
                            v3_1 = v1_1;
                            com.fitbit.util.q.a(v3_1);
                            com.fitbit.util.q.a(v0_0);
                            throw v4_3;
                        } catch (java.io.IOException v3_2) {
                            v0_0 = v4_1;
                            java.io.IOException v4_2 = v3_2;
                            v3_1 = v1_1;
                            try {
                                com.fitbit.r.d.e("DiskDataCache", v4_2);
                            } catch (java.io.IOException v4_3) {
                            }
                            com.fitbit.util.q.a(v3_1);
                            com.fitbit.util.q.a(v0_0);
                        }
                    } catch (java.io.IOException v4_3) {
                        v0_0 = 0;
                    } catch (java.io.IOException v4_2) {
                        v0_0 = 0;
                    }
                }
            } catch (java.io.IOException v4_3) {
                v0_0 = 0;
            } catch (java.io.IOException v4_2) {
                v0_0 = 0;
            }
            this.d();
            return;
        } catch (java.io.IOException v3_4) {
            throw v3_4;
        }
    }

Method com.fitbit.data.repo.o.b() calling method java.io.FileOutputStream.<init>()


    public declared_synchronized String b(String p5, byte[] p6)
    {
        try {
            this.e();
            this.d();
            java.io.IOException v0_0 = 0;
            try {
                int v6_1;
                String v5_1 = java.io.File.createTempFile("tmp_assert_", p5.substring((p5.length() - 4)), this.e);
            } catch (String v5_3) {
                v6_1 = 0;
                com.fitbit.util.q.a(v0_0);
                com.fitbit.util.q.a(v6_1);
                throw v5_3;
            } catch (String v5_2) {
                v6_1 = 0;
                Throwable v1_0 = 0;
                try {
                    com.fitbit.r.d.e("DiskDataCache", v5_2);
                } catch (String v5_3) {
                }
                com.fitbit.util.q.a(v0_0);
                com.fitbit.util.q.a(v6_1);
                v5_1 = v1_0;
                this.d();
                if (v5_1 != null) {
                    return v5_1.getAbsolutePath();
                } else {
                    return "";
                }
            }
            if (v5_1 == null) {
                v6_1 = 0;
            } else {
                try {
                    Throwable v1_2 = new java.io.ByteArrayInputStream(p6);
                    try {
                        v6_1 = new java.io.FileOutputStream(v5_1);
                        try {
                            com.fitbit.util.q.a(v1_2, v6_1);
                            v0_0 = v1_2;
                        } catch (String v5_3) {
                            v0_0 = v1_2;
                        } catch (java.io.IOException v0_1) {
                            Throwable v3 = v1_2;
                            v1_0 = v5_1;
                            v5_2 = v0_1;
                            v0_0 = v3;
                        }
                    } catch (String v5_3) {
                        v6_1 = 0;
                    } catch (int v6_4) {
                        v3 = v1_2;
                        v1_0 = v5_1;
                        v5_2 = v6_4;
                        v6_1 = 0;
                    }
                } catch (int v6_2) {
                    v1_0 = v5_1;
                    v5_2 = v6_2;
                    v6_1 = 0;
                }
            }
            com.fitbit.util.q.a(v0_0);
            com.fitbit.util.q.a(v6_1);
        } catch (String v5_5) {
            throw v5_5;
        }
    }

Method net.hockeyapp.android.PaintActivity$3.a() calling method java.io.FileOutputStream.<init>()


    protected varargs Boolean a(Void[] p8)
    {
        Boolean v8_4 = new java.io.File(this.c.getCacheDir(), "HockeyApp");
        if ((v8_4.exists()) || (v8_4.mkdir())) {
            String v0_3 = net.hockeyapp.android.PaintActivity.a(this.c, net.hockeyapp.android.PaintActivity.a(this.c), net.hockeyapp.android.PaintActivity.a(this.c).getLastPathSegment());
            int v2_3 = new StringBuilder();
            v2_3.append(v0_3);
            v2_3.append(".jpg");
            this.a = new java.io.File(v8_4, v2_3.toString());
            android.graphics.Bitmap$CompressFormat v3_6 = 1;
            while (this.a.exists()) {
                String v5_1 = new StringBuilder();
                v5_1.append(v0_3);
                v5_1.append("_");
                v5_1.append(v3_6);
                v5_1.append(".jpg");
                this.a = new java.io.File(v8_4, v5_1.toString());
                v3_6++;
            }
            try {
                Boolean v8_2 = new java.io.FileOutputStream(this.a);
                this.b.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v8_2);
                v8_2.close();
                return Boolean.valueOf(1);
            } catch (Boolean v8_5) {
                net.hockeyapp.android.d.e.e("Could not save image.", v8_5);
                return Boolean.valueOf(0);
            }
        } else {
            return Boolean.valueOf(0);
        }
    }

Method net.hockeyapp.android.c.a$d.a() calling method java.io.FileOutputStream.<init>()


    private boolean a(String p18, java.io.File p19)
    {
        Throwable v2_0 = p19;
        try {
            int v5_0 = ((java.net.HttpURLConnection) this.a(new java.net.URL(p18)));
            try {
                v5_0.connect();
                String v6_1 = v5_0.getContentLength();
                java.io.BufferedInputStream v7_2 = v5_0.getHeaderField("Status");
            } catch (java.io.IOException v0_4) {
                Throwable v2_2 = v0_4;
                java.io.BufferedInputStream v7_0 = 0;
                int v8_2 = v7_0;
                try {
                    if (v8_2 == 0) {
                        if (v7_0 != null) {
                            v7_0.close();
                        }
                    } else {
                        v8_2.close();
                    }
                } catch (java.io.IOException) {
                }
                if (v5_0 != 0) {
                    v5_0.disconnect();
                }
                throw v2_2;
            } catch (java.io.IOException v0_0) {
                v7_0 = 0;
                v8_2 = v7_0;
                java.io.IOException v3_4 = v0_0;
                int v4_5 = new StringBuilder();
                v4_5.append("Failed to download attachment to ");
                v4_5.append(v2_0);
                net.hockeyapp.android.d.e.e(v4_5.toString(), v3_4);
                try {
                    if (v8_2 == 0) {
                        if (v7_0 != null) {
                            v7_0.close();
                        }
                    } else {
                        v8_2.close();
                    }
                } catch (java.io.IOException) {
                }
                if (v5_0 != 0) {
                    v5_0.disconnect();
                }
                return 0;
            }
            if ((v7_2 == null) || (v7_2.startsWith("200"))) {
                v7_0 = new java.io.BufferedInputStream(v5_0.getInputStream());
                try {
                    v8_2 = new java.io.FileOutputStream(p19);
                    try {
                        java.io.IOException v3_2 = new byte[1024];
                        long v11 = 0;
                    } catch (java.io.IOException v0_0) {
                    }
                    while(true) {
                        int v13 = v7_0.read(v3_2);
                        int v15 = 1;
                        if (v13 == -1) {
                            break;
                        }
                        v11 += ((long) v13);
                        try {
                            Integer[] v9_1 = new Integer[1];
                            int v16_1 = v5_0;
                            try {
                                v9_1[0] = Integer.valueOf(((int) ((100 * v11) / ((long) v6_1))));
                                this.publishProgress(v9_1);
                                v8_2.write(v3_2, 0, v13);
                                v5_0 = v16_1;
                            } catch (java.io.IOException v0_2) {
                                v2_2 = v0_2;
                                v5_0 = v16_1;
                            } catch (java.io.IOException v0_6) {
                                v3_4 = v0_6;
                                v5_0 = v16_1;
                            }
                        } catch (java.io.IOException v0_1) {
                            v2_2 = v0_1;
                        } catch (java.io.IOException v0_0) {
                        }
                    }
                    int v16_0 = v5_0;
                    try {
                        v8_2.flush();
                        v2_0 = v11 cmp 0;
                    } catch (java.io.IOException v0_1) {
                        v5_0 = v16_0;
                    } catch (java.io.IOException v0_0) {
                        v5_0 = v16_0;
                    }
                    if (v2_0 <= null) {
                        v15 = 0;
                    }
                    try {
                        if (v8_2 == 0) {
                            if (v7_0 != null) {
                                v7_0.close();
                            }
                        } else {
                            v8_2.close();
                        }
                    } catch (java.io.IOException) {
                    }
                    if (v16_0 != 0) {
                        v16_0.disconnect();
                    }
                    return v15;
                } catch (java.io.IOException v0_5) {
                    v2_2 = v0_5;
                    v8_2 = 1024;
                } catch (java.io.IOException v0_0) {
                    v8_2 = 1024;
                }
            } else {
                if (v5_0 != 0) {
                    v5_0.disconnect();
                }
                return 0;
            }
        } catch (java.io.IOException v0_3) {
            v2_2 = v0_3;
            v5_0 = 0;
            v7_0 = 0;
        } catch (java.io.IOException v0_0) {
            v5_0 = 0;
            v7_0 = 0;
        } catch (java.io.IOException v0_1) {
        }
    }

Method net.hockeyapp.android.c.e.a() calling method java.io.FileOutputStream.<init>()


    protected varargs Long a(Void[] p13)
    {
        Long v13_0 = 0;
        try {
            java.io.IOException v2_7 = this.a(new java.net.URL(this.b()), 6);
            v2_7.connect();
            String v3_1 = v2_7.getContentLength();
            int v4_1 = v2_7.getContentType();
        } catch (Throwable v0_2) {
            java.io.BufferedInputStream v5_0 = 0;
            try {
                if (v13_0 == null) {
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                } else {
                    v13_0.close();
                }
            } catch (java.io.IOException) {
            }
            throw v0_2;
        } catch (java.io.IOException v2_4) {
            v5_0 = 0;
            String v3_8 = new StringBuilder();
            v3_8.append("Failed to download ");
            v3_8.append(this.d);
            net.hockeyapp.android.d.e.e(v3_8.toString(), v2_4);
            Throwable v0_1 = Long.valueOf(0);
            try {
                if (v13_0 == null) {
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                } else {
                    v13_0.close();
                }
            } catch (java.io.IOException) {
            }
            return v0_1;
        } catch (Throwable v0_2) {
        }
        if ((v4_1 == 0) || (!v4_1.contains("text"))) {
            if ((this.f.mkdirs()) || (this.f.exists())) {
                int v4_8 = new java.io.File(this.f, this.e);
                v5_0 = new java.io.BufferedInputStream(v2_7.getInputStream());
                try {
                    java.io.IOException v2_3 = new java.io.FileOutputStream(v4_8);
                    v13_0 = 1024;
                    try {
                        Long v13_1 = new byte[1024];
                        long v6_1 = 0;
                    } catch (Throwable v0_2) {
                        v13_0 = v2_3;
                    } catch (Long v13_3) {
                        v2_4 = v13_3;
                        v13_0 = v2_3;
                    }
                    while(true) {
                        int v4_9 = v5_0.read(v13_1);
                        if (v4_9 == -1) {
                            break;
                        }
                        v6_1 += ((long) v4_9);
                        Integer[] v8_3 = new Integer[1];
                        v8_3[0] = Integer.valueOf(Math.round(((((float) v6_1) * 1120403456) / ((float) v3_1))));
                        this.publishProgress(v8_3);
                        v2_3.write(v13_1, 0, v4_9);
                    }
                    v2_3.flush();
                    Long v13_2 = Long.valueOf(v6_1);
                    try {
                        if (v2_3 == null) {
                            if (v5_0 != null) {
                                v5_0.close();
                            }
                        } else {
                            v2_3.close();
                        }
                    } catch (java.io.IOException) {
                    }
                    return v13_2;
                } catch (java.io.IOException v2_4) {
                }
            } else {
                String v3_5 = new StringBuilder();
                v3_5.append("Could not create the dir(s):");
                v3_5.append(this.f.getAbsolutePath());
                throw new java.io.IOException(v3_5.toString());
            }
        } else {
            this.h = "The requested download does not appear to be a file.";
            return Long.valueOf(0);
        }
    }

Method net.hockeyapp.android.d.k.<init>() calling method java.io.FileOutputStream.<init>()


    public k(java.io.File p5)
    {
        int v0 = 0;
        this.c = 0;
        this.b = 0;
        this.d = p5;
        try {
            this.e = new java.io.FileOutputStream(this.d);
        } catch (String v5_6) {
            net.hockeyapp.android.d.e.e("Failed to open temp file", v5_6);
        }
        String v5_2 = new StringBuilder();
        java.util.Random v1_2 = new java.util.Random();
        while (v0 < 30) {
            v5_2.append(net.hockeyapp.android.d.k.a[v1_2.nextInt(net.hockeyapp.android.d.k.a.length)]);
            v0++;
        }
        this.f = v5_2.toString();
        return;
    }

Method net.hockeyapp.android.g$3.a() calling method java.io.FileOutputStream.<init>()


    protected varargs Boolean a(Void[] p6)
    {
        Boolean v6_1 = net.hockeyapp.android.b.b(this.b);
        String v1_9 = new StringBuilder();
        v1_9.append(this.c);
        v1_9.append(".jpg");
        this.a = new java.io.File(v6_1, v1_9.toString());
        String v1_1 = 1;
        while (this.a.exists()) {
            int v3_2 = new StringBuilder();
            v3_2.append(this.c);
            v3_2.append("_");
            v3_2.append(v1_1);
            v3_2.append(".jpg");
            this.a = new java.io.File(v6_1, v3_2.toString());
            v1_1++;
        }
        try {
            Boolean v6_3 = new java.io.FileOutputStream(this.a);
            this.d.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v6_3);
            v6_3.close();
            Boolean v6_5 = new StringBuilder();
            v6_5.append("Screenshot \'");
            v6_5.append(this.a.getName());
            v6_5.append("\' has been saved");
            net.hockeyapp.android.d.e.b(v6_5.toString());
            return Boolean.valueOf(1);
        } catch (Boolean v6_8) {
            net.hockeyapp.android.d.e.e("Could not save screenshot.", v6_8);
            return Boolean.valueOf(0);
        }
    }

Method net.hockeyapp.android.metrics.e.a() calling method java.io.FileOutputStream.<init>()

Couldn't retrieve source code

Method com.fitbit.food.barcode.a.n.onPictureTaken() calling method java.io.FileOutputStream.<init>()


    public void onPictureTaken(byte[] p6, android.hardware.Camera p7)
    {
        if ((this.c != null) && ((p6 != null) && (this.b != null))) {
            java.io.File v0_7 = new StringBuilder();
            v0_7.append("Receive data from camera, length = ");
            v0_7.append(p6.length);
            String v2_0 = new Object[0];
            com.fitbit.r.d.d(com.fitbit.food.barcode.a.n.a, v0_7.toString(), v2_0);
            java.io.File v0_2 = new StringBuilder();
            v0_2.append("Free memory = ");
            v0_2.append(Runtime.getRuntime().freeMemory());
            String v2_4 = new Object[0];
            com.fitbit.r.d.d(com.fitbit.food.barcode.a.n.a, v0_2.toString(), v2_4);
            java.io.File v0_5 = new java.io.File(com.fitbit.food.barcode.c.b.a(this.d), this.b);
            try {
                String v7_6 = new java.io.FileOutputStream(v0_5);
                try {
                    v7_6.write(p6);
                    v7_6.flush();
                    try {
                        v7_6.close();
                    } catch (java.io.IOException v6_2) {
                        String v7_7 = com.fitbit.food.barcode.a.n.a;
                        String v2_7 = "Exception when closing output stream";
                        Object[] v3_1 = new Object[0];
                        com.fitbit.r.d.e(v7_7, v2_7, v6_2, v3_1);
                    }
                    this.c.a(android.net.Uri.fromFile(v0_5));
                } catch (java.io.IOException v6_3) {
                    try {
                        v7_6.close();
                    } catch (String v7_9) {
                        Object[] v4_1 = new Object[0];
                        com.fitbit.r.d.e(com.fitbit.food.barcode.a.n.a, "Exception when closing output stream", v7_9, v4_1);
                    }
                    throw v6_3;
                } catch (java.io.IOException v6_1) {
                    Object[] v4_0 = new Object[0];
                    com.fitbit.r.d.f(com.fitbit.food.barcode.a.n.a, "Exception when writing data to output stream", v6_1, v4_0);
                    try {
                        v7_6.close();
                    } catch (java.io.IOException v6_2) {
                        v7_7 = com.fitbit.food.barcode.a.n.a;
                        v2_7 = "Exception when closing output stream";
                        v3_1 = new Object[0];
                    }
                }
            } catch (java.io.IOException v6_4) {
                Object[] v1_2 = new Object[0];
                com.fitbit.r.d.f(com.fitbit.food.barcode.a.n.a, "Exception when creating FileOutputStream", v6_4, v1_2);
            }
        }
        return;
    }

Method com.fitbit.device.ui.setup.AbstractConfirmDeviceActivity$c.a() calling method java.io.FileOutputStream.<init>()

Couldn't retrieve source code

Method okio.o.b() calling method java.io.FileOutputStream.<init>()


    public static okio.w b(java.io.File p1)
    {
        if (p1 != null) {
            return okio.o.a(new java.io.FileOutputStream(p1));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

Method okio.o.c() calling method java.io.FileOutputStream.<init>()


    public static okio.w c(java.io.File p2)
    {
        if (p2 != null) {
            return okio.o.a(new java.io.FileOutputStream(p2, 1));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

Method org.apache.commons.io.h.a() calling method java.io.FileOutputStream.<init>()


    public static java.io.FileOutputStream a(java.io.File p2, boolean p3)
    {
        if (!p2.exists()) {
            String v0_8 = p2.getParentFile();
            if ((v0_8 != null) && ((!v0_8.mkdirs()) && (!v0_8.isDirectory()))) {
                String v3_2 = new StringBuilder();
                v3_2.append("Directory \'");
                v3_2.append(v0_8);
                v3_2.append("\' could not be created");
                throw new java.io.IOException(v3_2.toString());
            }
        } else {
            if (!p2.isDirectory()) {
                if (!p2.canWrite()) {
                    String v0_7 = new StringBuilder();
                    v0_7.append("File \'");
                    v0_7.append(p2);
                    v0_7.append("\' cannot be written to");
                    throw new java.io.IOException(v0_7.toString());
                }
            } else {
                String v0_10 = new StringBuilder();
                v0_10.append("File \'");
                v0_10.append(p2);
                v0_10.append("\' exists but is a directory");
                throw new java.io.IOException(v0_10.toString());
            }
        }
        return new java.io.FileOutputStream(p2, p3);
    }

Method org.apache.commons.io.h.g() calling method java.io.FileOutputStream.<init>()


    private static void g(java.io.File p18, java.io.File p19, boolean p20)
    {
        if ((!p19.exists()) || (!p19.isDirectory())) {
            long v3_9 = 0;
            try {
                StringBuilder v4_0 = new java.io.FileInputStream(p18);
                try {
                    String v5_0 = new java.io.FileOutputStream(p19);
                    try {
                        StringBuilder v12 = v4_0.getChannel();
                        try {
                            java.nio.channels.FileChannel v13 = v5_0.getChannel();
                            try {
                                long v14 = v12.size();
                                long v16 = 0;
                            } catch (Throwable v0_4) {
                                String v1_1 = v0_4;
                                v3_9 = v13;
                                org.apache.commons.io.k.a(v3_9);
                                org.apache.commons.io.k.a(v5_0);
                                org.apache.commons.io.k.a(v12);
                                org.apache.commons.io.k.a(v4_0);
                                throw v1_1;
                            }
                            while (v16 < v14) {
                                long v10;
                                long v6_1 = (v14 - v16);
                                if (v6_1 <= 31457280) {
                                    v10 = v6_1;
                                } else {
                                    v10 = 31457280;
                                }
                                v16 += v13.transferFrom(v12, v16, v10);
                            }
                            org.apache.commons.io.k.a(v13);
                            org.apache.commons.io.k.a(v5_0);
                            org.apache.commons.io.k.a(v12);
                            org.apache.commons.io.k.a(v4_0);
                            if (p18.length() == p19.length()) {
                                if (p20) {
                                    p19.setLastModified(p18.lastModified());
                                }
                                return;
                            } else {
                                StringBuilder v4_2 = new StringBuilder();
                                v4_2.append("Failed to copy full contents from \'");
                                v4_2.append(p18);
                                v4_2.append("\' to \'");
                                v4_2.append(p19);
                                v4_2.append("\'");
                                throw new java.io.IOException(v4_2.toString());
                            }
                        } catch (Throwable v0_3) {
                            v1_1 = v0_3;
                        }
                    } catch (Throwable v0_2) {
                        v1_1 = v0_2;
                        v12 = 0;
                    }
                } catch (Throwable v0_1) {
                    v1_1 = v0_1;
                    v5_0 = 0;
                    v12 = v5_0;
                }
            } catch (Throwable v0_0) {
                v1_1 = v0_0;
                v4_0 = 0;
                v5_0 = 0;
            }
        } else {
            long v3_11 = new StringBuilder();
            v3_11.append("Destination \'");
            v3_11.append(p19);
            v3_11.append("\' exists but is a directory");
            throw new java.io.IOException(v3_11.toString());
        }
    }

Method org.apache.commons.io.output.h.a() calling method java.io.FileOutputStream.<init>()


    private static java.io.Writer a(java.io.File p3, Object p4, boolean p5)
    {
        if (p3 != null) {
            if (p4 != null) {
                boolean v0 = p3.exists();
                try {
                    int v2_0 = new java.io.FileOutputStream(p3, p5);
                    try {
                        java.io.OutputStreamWriter v5_4;
                        if (!(p4 instanceof java.nio.charset.Charset)) {
                            if (!(p4 instanceof java.nio.charset.CharsetEncoder)) {
                                v5_4 = new java.io.OutputStreamWriter(v2_0, ((String) p4));
                            } else {
                                v5_4 = new java.io.OutputStreamWriter(v2_0, ((java.nio.charset.CharsetEncoder) p4));
                            }
                        } else {
                            v5_4 = new java.io.OutputStreamWriter(v2_0, ((java.nio.charset.Charset) p4));
                        }
                    } catch (String v4_5) {
                        org.apache.commons.io.k.a(0);
                        org.apache.commons.io.k.a(v2_0);
                        if (!v0) {
                            org.apache.commons.io.h.e(p3);
                        }
                        throw v4_5;
                    } catch (String v4_4) {
                        org.apache.commons.io.k.a(0);
                        org.apache.commons.io.k.a(v2_0);
                        if (!v0) {
                            org.apache.commons.io.h.e(p3);
                        }
                        throw v4_4;
                    }
                    return v5_4;
                } catch (String v4_5) {
                    v2_0 = 0;
                } catch (String v4_4) {
                    v2_0 = 0;
                }
            } else {
                throw new NullPointerException("Encoding is missing");
            }
        } else {
            throw new NullPointerException("File is missing");
        }
    }

Method org.apache.commons.io.output.i.a() calling method java.io.FileOutputStream.<init>()


    private java.io.Writer a(java.io.File p5, java.nio.charset.Charset p6, boolean p7)
    {
        boolean v0 = p5.exists();
        try {
            int v2_0 = new java.io.FileOutputStream(p5.getAbsolutePath(), p7);
            try {
                return new java.io.OutputStreamWriter(v2_0, org.apache.commons.io.a.a(p6));
            } catch (RuntimeException v6_3) {
                org.apache.commons.io.k.a(0);
                org.apache.commons.io.k.a(v2_0);
                org.apache.commons.io.h.e(this.c);
                if (!v0) {
                    org.apache.commons.io.h.e(p5);
                }
                throw v6_3;
            } catch (RuntimeException v6_2) {
                org.apache.commons.io.k.a(0);
                org.apache.commons.io.k.a(v2_0);
                org.apache.commons.io.h.e(this.c);
                if (!v0) {
                    org.apache.commons.io.h.e(p5);
                }
                throw v6_2;
            }
        } catch (RuntimeException v6_3) {
            v2_0 = 0;
        } catch (RuntimeException v6_2) {
            v2_0 = 0;
        }
        return new java.io.OutputStreamWriter(v2_0, org.apache.commons.io.a.a(p6));
    }

Method org.apache.commons.io.output.r.<init>() calling method java.io.FileOutputStream.<init>()


    public r(java.io.File p2, String p3)
    {
        this(new java.io.FileOutputStream(p2), p3);
        return;
    }

Method org.joda.time.tz.e.a() calling method java.io.FileOutputStream.<init>()


    private void a(java.io.File p4, org.joda.time.tz.DateTimeZoneBuilder p5, org.joda.time.DateTimeZone p6)
    {
        if (org.joda.time.tz.f.a()) {
            String v1_4 = new StringBuilder();
            v1_4.append("Writing ");
            v1_4.append(p6.e());
            System.out.println(v1_4.toString());
        }
        String v0_2 = new java.io.File(p4, p6.e());
        if (!v0_2.getParentFile().exists()) {
            v0_2.getParentFile().mkdirs();
        }
        java.io.PrintStream v4_5 = new java.io.FileOutputStream(v0_2);
        try {
            p5.a(p6.e(), v4_5);
            v4_5.close();
            java.io.PrintStream v4_7 = new java.io.FileInputStream(v0_2);
            String v5_2 = org.joda.time.tz.DateTimeZoneBuilder.a(v4_7, p6.e());
            v4_7.close();
            java.io.PrintStream v4_8 = p6.equals(v5_2);
        } catch (String v5_3) {
            v4_8.close();
            throw v5_3;
        }
        if (v4_8 == null) {
            String v5_5 = new StringBuilder();
            v5_5.append("*e* Error in ");
            v5_5.append(p6.e());
            v5_5.append(": Didn\'t read properly from file");
            System.out.println(v5_5.toString());
        }
        return;
    }

Method org.joda.time.tz.e.a() calling method java.io.FileOutputStream.<init>()


    public java.util.Map a(java.io.File p10, java.io.File[] p11)
    {
        if (p11 != null) {
            java.util.Comparator v1_2 = 0;
            while (v1_2 < p11.length) {
                int v2_4 = 0;
                try {
                    java.io.PrintStream v3_17 = new java.io.BufferedReader(new java.io.FileReader(p11[v1_2]));
                    try {
                        this.a(v3_17, "backward".equals(p11[v1_2].getName()));
                    } catch (Throwable v10_3) {
                        v2_4 = v3_17;
                        if (v2_4 != 0) {
                            v2_4.close();
                        }
                        throw v10_3;
                    }
                    if (v3_17 != null) {
                        v3_17.close();
                    }
                    v1_2++;
                } catch (Throwable v10_3) {
                }
            }
        }
        if (p10 != null) {
            if ((p10.exists()) || (p10.mkdirs())) {
                if (!p10.isDirectory()) {
                    java.io.DataOutputStream v0_1 = new StringBuilder();
                    v0_1.append("Destination is not a directory: ");
                    v0_1.append(p10);
                    throw new java.io.IOException(v0_1.toString());
                }
            } else {
                java.io.DataOutputStream v0_3 = new StringBuilder();
                v0_3.append("Destination directory doesn\'t exist and cannot be created: ");
                v0_3.append(p10);
                throw new java.io.IOException(v0_3.toString());
            }
        }
        java.io.IOException v11_4 = new java.util.TreeMap();
        java.util.Comparator v1_1 = new java.util.TreeMap();
        System.out.println("Writing zoneinfo files");
        int v2_3 = 0;
        while (v2_3 < this.d.size()) {
            java.io.PrintStream v3_13 = ((ark>org.joda.time.tz.eark>$d) this.d.get(v2_3));
            java.io.PrintStream v5_6 = new org.joda.time.tz.DateTimeZoneBuilder();
            v3_13.a(v5_6, this.c);
            String v4_1 = v5_6.a(v3_13.a, 1);
            if (ark>org.joda.time.tz.eark>.a(v4_1.e(), v4_1)) {
                v11_4.put(v4_1.e(), v4_1);
                v1_1.put(v4_1.e(), v3_13);
                if (p10 != null) {
                    this.a(p10, v5_6, v4_1);
                }
            }
            v2_3++;
        }
        int v2_1 = 0;
        while (v2_1 < this.e.size()) {
            java.io.PrintStream v3_5 = ((String) this.e.get(v2_1));
            java.io.PrintStream v5_3 = ((String) this.e.get((v2_1 + 1)));
            StringBuilder v6_4 = ((ark>org.joda.time.tz.eark>$d) v1_1.get(v3_5));
            if (v6_4 != null) {
                String v7_2 = new org.joda.time.tz.DateTimeZoneBuilder();
                v6_4.a(v7_2, this.c);
                StringBuilder v6_5 = v7_2.a(v5_3, 1);
                if (ark>org.joda.time.tz.eark>.a(v6_5.e(), v6_5)) {
                    v11_4.put(v6_5.e(), v6_5);
                    if (p10 != null) {
                        this.a(p10, v7_2, v6_5);
                    }
                }
                v11_4.put(v6_5.e(), v6_5);
                if (org.joda.time.tz.f.a()) {
                    String v7_5 = new StringBuilder();
                    v7_5.append("Good link: ");
                    v7_5.append(v5_3);
                    v7_5.append(" -> ");
                    v7_5.append(v3_5);
                    v7_5.append(" revived");
                    System.out.println(v7_5.toString());
                }
            } else {
                String v7_7 = new StringBuilder();
                v7_7.append("Cannot find source zone \'");
                v7_7.append(v3_5);
                v7_7.append("\' to link alias \'");
                v7_7.append(v5_3);
                v7_7.append("\' to");
                System.out.println(v7_7.toString());
            }
            v2_1 += 2;
        }
        java.util.Comparator v1_5 = 0;
        while (v1_5 < 2) {
            int v2_0 = 0;
            while (v2_0 < this.f.size()) {
                java.io.PrintStream v3_25 = ((String) this.f.get(v2_0));
                String v4_9 = ((String) this.f.get((v2_0 + 1)));
                java.io.PrintStream v5_10 = ((org.joda.time.DateTimeZone) v11_4.get(v3_25));
                if (v5_10 != null) {
                    v11_4.put(v4_9, v5_10);
                    if (org.joda.time.tz.f.a()) {
                        StringBuilder v6_16 = new StringBuilder();
                        v6_16.append("Back link: ");
                        v6_16.append(v4_9);
                        v6_16.append(" -> ");
                        v6_16.append(v5_10.e());
                        System.out.println(v6_16.toString());
                    }
                } else {
                    if (v1_5 > null) {
                        StringBuilder v6_1 = new StringBuilder();
                        v6_1.append("Cannot find time zone \'");
                        v6_1.append(v3_25);
                        v6_1.append("\' to link alias \'");
                        v6_1.append(v4_9);
                        v6_1.append("\' to");
                        System.out.println(v6_1.toString());
                    }
                }
                v2_0 += 2;
            }
            v1_5++;
        }
        if (p10 != null) {
            System.out.println("Writing ZoneInfoMap");
            java.io.DataOutputStream v0_6 = new java.io.File(p10, "ZoneInfoMap");
            if (!v0_6.getParentFile().exists()) {
                v0_6.getParentFile().mkdirs();
            }
            java.io.DataOutputStream v0_8 = new java.io.DataOutputStream(new java.io.FileOutputStream(v0_6));
            try {
                Throwable v10_10 = new java.util.TreeMap(String.CASE_INSENSITIVE_ORDER);
                v10_10.putAll(v11_4);
                ark>org.joda.time.tz.eark>.a(v0_8, v10_10);
                v0_8.close();
            } catch (Throwable v10_11) {
                v0_8.close();
                throw v10_11;
            }
        }
        return v11_4;
    }

Method org.apache.commons.io.output.f.b() calling method java.io.FileOutputStream.<init>()


    protected void b()
    {
        if (this.d != null) {
            this.c = java.io.File.createTempFile(this.d, this.e, this.f);
        }
        int v0_1 = new java.io.FileOutputStream(this.c);
        this.a.a(v0_1);
        this.b = v0_1;
        this.a = 0;
        return;
    }

Method com.fitbit.runtrack.ui.ae$e.run() calling method java.io.FileOutputStream.<init>()


    public void run()
    {
        if (!this.b.exists()) {
            try {
                java.io.File v0_4 = new java.io.FileOutputStream(this.b);
                java.io.FileDescriptor v1_1 = v0_4.getFD();
                this.a.compress(android.graphics.Bitmap$CompressFormat.PNG, 0, v0_4);
                v1_1.sync();
                v0_4.close();
            } catch (java.io.IOException) {
                this.b.delete();
            }
            return;
        } else {
            return;
        }
    }

Method com.fitbit.util.at.a() calling method java.io.FileOutputStream.<init>()


    public static java.io.File a(android.content.Context p6, String p7, String p8)
    {
        String v0_1 = new java.io.File(com.fitbit.util.f.b.a(p6), p7);
        if (v0_1.exists()) {
            v0_1.delete();
        }
        try {
            int v2_1 = new java.io.FileOutputStream(v0_1);
            try {
                v0_1.createNewFile();
                int v3_0 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(v2_1));
                try {
                    java.io.File v4_3 = new java.io.File(p8);
                } catch (String v8_1) {
                    java.io.File v4_4 = new Object[1];
                    v4_4[0] = v8_1.getMessage();
                    d.a.b.d("IOException when trying to zip folder. %s", v4_4);
                    if (v3_0 == 0) {
                        if (v2_1 != 0) {
                            v2_1.close();
                        }
                    } else {
                        v3_0.close();
                    }
                    return 0;
                }
                if (!v4_3.isDirectory()) {
                    ark>com.fitbit.util.atark>.a(p8, 0, v3_0);
                } else {
                    ark>com.fitbit.util.atark>.a(v3_0, v4_3, v4_3.getParent().length());
                }
                if (v3_0 == 0) {
                    if (v2_1 != 0) {
                        v2_1.close();
                    }
                } else {
                    v3_0.close();
                }
                return v0_1;
            } catch (String v8_2) {
                v3_0 = 0;
                if (v3_0 == 0) {
                    if (v2_1 != 0) {
                        v2_1.close();
                    }
                } else {
                    v3_0.close();
                }
                throw v8_2;
            } catch (String v8_1) {
                v3_0 = 0;
            }
        } catch (String v8_2) {
            v2_1 = 0;
            v3_0 = 0;
        } catch (String v8_1) {
            v2_1 = 0;
            v3_0 = 0;
        } catch (String v8_2) {
        }
    }

Method com.fitbit.util.at.a() calling method java.io.FileOutputStream.<init>()


    public static void a(String p11, java.io.File p12)
    {
        Object[] v0_1 = new java.io.File(p11);
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        String v11_1 = new java.io.File(v0_1, ark>com.fitbit.util.atark>.a(p12.getAbsolutePath()));
        Object[] v0_2 = 0;
        try {
            if (p12.exists()) {
                String v12_1 = new java.io.FileInputStream(p12).getChannel();
                try {
                    String v11_5 = new java.io.FileOutputStream(v11_1).getChannel();
                    try {
                        v11_5.transferFrom(v12_1, 0, v12_1.size());
                    } catch (Object[] v0_5) {
                        String v12_2 = v11_5;
                        String v11_3 = v0_5;
                        v0_2 = v12_1;
                        if (v0_2 == null) {
                            if (v12_2 != null) {
                                v12_2.close();
                            }
                        } else {
                            v0_2.close();
                        }
                        throw v11_3;
                    } catch (Object[] v0_3) {
                        v12_2 = v11_5;
                        String v11_2 = v0_3;
                        v0_2 = v12_1;
                        try {
                            java.io.IOException v4_1 = new Object[1];
                            v4_1[0] = v11_2.getMessage();
                            d.a.b.d("IOException when trying to copy file. %s", v4_1);
                        } catch (String v11_3) {
                        }
                        if (v0_2 != null) {
                            v0_2.close();
                        }
                        if (v12_2 != null) {
                            v12_2.close();
                        }
                    }
                    if (v12_1 != null) {
                        v12_1.close();
                    }
                    if (v11_5 != null) {
                        v11_5.close();
                    }
                } catch (String v11_3) {
                    v0_2 = v12_1;
                    v12_2 = 0;
                } catch (String v11_2) {
                    v0_2 = v12_1;
                    v12_2 = 0;
                }
            } else {
                p12.createNewFile();
            }
        } catch (String v11_3) {
            v12_2 = 0;
        } catch (String v11_2) {
            v12_2 = 0;
        }
        return;
    }

Method com.fitbit.util.at.a() calling method java.io.FileOutputStream.<init>()


    public static void a(String p3, String p4, byte[] p5)
    {
        String v0_1 = new java.io.File(p3);
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        Throwable v3_3 = 0;
        try {
            Throwable v4_2 = new java.io.FileOutputStream(new java.io.File(v0_1.getAbsolutePath(), p4));
            try {
                v4_2.write(p5);
                v4_2.flush();
                v4_2.getFD().sync();
            } catch (Throwable v3_2) {
                Throwable v4_3 = v3_2;
                v3_3 = v4_2;
                if (v3_3 != null) {
                    v3_3.close();
                }
                throw v4_3;
            }
            if (v4_2 != null) {
                v4_2.close();
            }
            return;
        } catch (Throwable v4_3) {
        }
    }

Method com.fitbit.util.d.b.b() calling method java.io.FileOutputStream.<init>()


    public static String b(android.content.Context p7)
    {
        String v7_3;
        String v0_1 = new java.io.File(com.fitbit.util.f.b.a(p7), "logcat.txt");
        String v1_4 = new java.io.File(com.fitbit.util.f.b.a(p7), "DebugLogs.zip");
        Object[] v2_0 = 0;
        if (!com.fitbit.config.Config.a.a()) {
            v7_3 = 0;
        } else {
            v7_3 = com.fitbit.bluetooth.BluetoothLeManager.b().e().f();
        }
        try {
            java.util.zip.ZipOutputStream v4_1 = new java.io.BufferedWriter(new java.io.FileWriter(v0_1));
            try {
                v4_1.write(com.fitbit.util.d.b.a());
                byte[] v5_4 = new byte[8192];
                int v6_0 = new java.io.FileOutputStream(v1_4);
                try {
                    Object[] v2_3 = new java.util.zip.ZipOutputStream(v6_0);
                    com.fitbit.util.f.b.a(v0_1, v2_3, v5_4);
                } catch (String v7_7) {
                    if (v4_1 == null) {
                        if (v6_0 != 0) {
                            v6_0.flush();
                            v6_0.close();
                        }
                    } else {
                        v4_1.close();
                    }
                    throw v7_7;
                } catch (String v7_6) {
                    v2_0 = v4_1;
                    try {
                        java.util.zip.ZipOutputStream v4_2 = new Object[0];
                        d.a.b.b(v7_6, "Error while writing logcat to file", v4_2);
                    } catch (String v7_7) {
                        v4_1 = v2_0;
                    }
                    if (v2_0 != null) {
                        v2_0.close();
                    }
                    if (v6_0 == 0) {
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    } else {
                        v6_0.flush();
                        v6_0.close();
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    }
                    v2_3.finish();
                    v2_3.close();
                    v6_0.flush();
                    v6_0.close();
                    if (v4_1 != null) {
                        v4_1.close();
                    }
                    if (v6_0 == 0) {
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    } else {
                        v6_0.flush();
                        v6_0.close();
                        return com.fitbit.util.f.b.a(v1_4, 2147483647).replace("\n", "");
                    }
                }
                if (v7_3 != null) {
                    com.fitbit.util.f.b.a(v7_3, v2_3, v5_4);
                }
            } catch (String v7_7) {
                v6_0 = 0;
            } catch (String v7_6) {
                v6_0 = 0;
            }
        } catch (String v7_7) {
            v4_1 = 0;
            v6_0 = 0;
        } catch (String v7_6) {
            v6_0 = 0;
        }
    }

Method com.fitbit.util.f.a.a() calling method java.io.FileOutputStream.<init>()

Couldn't retrieve source code

Method com.fitbit.util.f.b.a() calling method java.io.FileOutputStream.<init>()


    public static void a(java.io.File p2, byte[] p3)
    {
        Throwable v0_2 = new java.io.FileOutputStream(p2.getAbsolutePath(), 1);
        Throwable v2_1 = 0;
        try {
            v0_2.write(p3);
            v0_2.flush();
            v0_2.getFD().sync();
        } catch (Throwable v3_1) {
            if (v0_2 != null) {
                if (v2_1 == null) {
                    v0_2.close();
                } else {
                    try {
                        v0_2.close();
                    } catch (Throwable v0_1) {
                        v2_1.addSuppressed(v0_1);
                    }
                }
            }
            throw v3_1;
        } catch (Throwable v2_1) {
            throw v2_1;
        }
        if (v0_2 != null) {
            v0_2.close();
        }
        return;
    }

Method com.fitbit.util.f.b.b() calling method java.io.FileOutputStream.<init>()


    public static java.io.File b(android.content.Context p2, String p3, byte[] p4)
    {
        java.io.FileOutputStream v0 = 0;
        try {
            java.io.File v1_1 = new java.io.File(com.fitbit.util.f.b.a(p2), p3);
            Exception v2_5 = new java.io.FileOutputStream(v1_1);
            try {
                v2_5.write(p4);
                v2_5.flush();
                v2_5.getFD().sync();
            } catch (RuntimeException v3_2) {
                v0 = v2_5;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (Exception v2_1) {
                        throw new RuntimeException(v2_1);
                    }
                }
                throw v3_2;
            }
            if (v2_5 != null) {
                try {
                    v2_5.close();
                } catch (Exception v2_2) {
                    throw new RuntimeException(v2_2);
                }
            }
            return v1_1;
        } catch (RuntimeException v3_2) {
        }
    }

Method com.fitbit.serverinteraction.SynclairApi.a() calling method java.io.FileOutputStream.<init>()


    public com.fitbit.serverinteraction.SynclairSiteApi$a a(String p6, byte[] p7, com.fitbit.data.domain.device.TrackerType p8, java.util.EnumSet p9, java.util.EnumSet p10)
    {
        if (com.fitbit.config.Config.a.a()) {
            java.util.UUID v3_3 = new Object[2];
            v3_3[0] = p6;
            v3_3[1] = Integer.valueOf(p7.length);
            java.util.UUID v3_1 = new Object[0];
            com.fitbit.r.d.a(ark>com.fitbit.serverinteraction.SynclairApiark>.a, String.format("Finalizing pair with access token %s and %s bytes of data", v3_3), v3_1);
        }
        java.net.URI v8_4 = new java.util.HashSet(3);
        v8_4.add(android.util.Pair.create("pairingToken", p6));
        v8_4.add(android.util.Pair.create("challengesRun", ark>com.fitbit.serverinteraction.SynclairApiark>.a(p9)));
        v8_4.add(android.util.Pair.create("challengeResults", ark>com.fitbit.serverinteraction.SynclairApiark>.a(p10)));
        java.util.Map v6_8 = new java.util.ArrayList();
        v6_8.add(new com.fitbit.serverinteraction.h$a("Device-Data-Encoding", this.B.name));
        v6_8.add(new com.fitbit.serverinteraction.h$a("X-Fitbit-CompanionAPIVersion", com.fitbit.platform.main.a.c.a().getVersionString()));
        com.fitbit.serverinteraction.SynclairSiteApi$a v9_15 = new com.fitbit.serverinteraction.p();
        v9_15.a(ark>com.fitbit.serverinteraction.SynclairApiark>.a("devices/client/tracker/data/pair", v8_4)).a(this.B.a(p7), com.fitbit.httpcore.ContentType.b).a(v6_8).a(com.fitbit.serverinteraction.validators.e.b(this.C, this.D)).a(com.fitbit.serverinteraction.a.f.a()).a(com.fitbit.util.service.metrics.EventType.e).a(com.fitbit.util.service.metrics.OperationName.aO);
        java.util.Map v6_15 = ((com.fitbit.serverinteraction.j) this.A.b(v9_15.a()));
        byte[] v7_10 = this.B.b(((String) v6_15.f()).getBytes());
        try {
            com.fitbit.serverinteraction.SynclairSiteApi$a v9_1 = com.fitbit.FitBitApplication.a();
            java.io.FileOutputStream v0_0 = new Object[1];
            v0_0[0] = java.util.UUID.randomUUID();
            com.fitbit.serverinteraction.SynclairSiteApi$a v9_3 = java.io.File.createTempFile(String.format(java.util.Locale.ENGLISH, "pair-sync-%s", v0_0), "bin", v9_1.getCacheDir());
            java.io.BufferedOutputStream v10_4 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v9_3));
            v10_4.write(v7_10);
            v10_4.flush();
            v10_4.close();
            java.net.URI v8_1 = v9_3.toURI();
        } catch (com.fitbit.serverinteraction.SynclairSiteApi$a v9_5) {
            v9_5.printStackTrace();
        }
        return new com.fitbit.serverinteraction.SynclairSiteApi$a(v8_1, v7_10, v6_15.c());
    }

Method com.fitbit.sharing.b.a() calling method java.io.FileOutputStream.<init>()


    protected android.net.Uri a()
    {
        try {
            int v2_1 = java.util.Locale.getDefault();
            android.content.ContentValues v4_8 = new Object[2];
            v4_8[0] = Long.valueOf((new java.util.Date().getTime() % 2147483647));
            v4_8[1] = this.b.toString();
            android.net.Uri v3_1 = new java.io.File(this.getContext().getExternalFilesDir("Fitbit"), String.format(v2_1, "fitbitshare_%d.%s", v4_8));
            int v2_3 = new java.io.FileOutputStream(v3_1);
            try {
                if (this.d != 0) {
                    this.a = android.graphics.Bitmap.createScaledBitmap(this.a, this.d, this.d, 1);
                }
            } catch (android.net.Uri v3_2) {
                java.io.IOException v0_2 = new Object[0];
                d.a.b.e(v3_2, "Could not save file", v0_2);
                if (v2_3 != 0) {
                    try {
                        v2_3.close();
                    } catch (java.io.IOException v0_3) {
                        v0_3.printStackTrace();
                    }
                }
                return 0;
            }
            this.a.compress(this.b, this.c, v2_3);
            v2_3.flush();
            v2_3.getFD().sync();
            v2_3.close();
            android.content.ContentValues v4_11 = new android.content.ContentValues();
            v4_11.put("_data", v3_1.getAbsolutePath());
            android.net.Uri v3_7 = this.getContext().getContentResolver().insert(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, v4_11);
            if (v2_3 != 0) {
                try {
                    v2_3.close();
                } catch (java.io.IOException v0_4) {
                    v0_4.printStackTrace();
                }
            }
            return v3_7;
        } catch (java.io.IOException v0_1) {
            v2_3 = 0;
            if (v2_3 != 0) {
                try {
                    v2_3.close();
                } catch (java.io.IOException v1_1) {
                    v1_1.printStackTrace();
                }
            }
            throw v0_1;
        } catch (android.net.Uri v3_2) {
            v2_3 = 0;
        } catch (java.io.IOException v0_1) {
        }
    }

Method com.fitbit.sharing.e.a() calling method java.io.FileOutputStream.<init>()


    protected android.net.Uri a()
    {
        java.io.IOException v0_4 = this.getContext().getExternalFilesDir("Fitbit");
        if ((!v0_4.exists()) && (!v0_4.mkdirs())) {
            String v4_0 = new Object[1];
            v4_0[0] = v0_4;
            d.a.b.b("Directory %s not created", v4_0);
        }
        try {
            java.io.IOException v0_1 = java.io.File.createTempFile("fitbit_sharing_", ".png", v0_4);
            String v4_3 = new java.io.FileOutputStream(v0_1);
            try {
                String v5_3 = android.graphics.Bitmap.createBitmap(this.a.getIntrinsicWidth(), this.a.getIntrinsicHeight(), android.graphics.Bitmap$Config.ARGB_8888);
                this.a.draw(new android.graphics.Canvas(v5_3));
                android.graphics.Bitmap.createScaledBitmap(v5_3, 1125, 1125, 1).compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v4_3);
                v4_3.close();
                String v5_6 = new android.content.ContentValues();
                v5_6.put("_data", v0_1.getAbsolutePath());
                java.io.IOException v0_8 = this.getContext().getContentResolver().insert(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, v5_6);
            } catch (java.io.IOException v0_2) {
                String v2_0 = new Object[1];
                v2_0[0] = v0_2.getMessage();
                d.a.b.e(v0_2, "Error saving file, %s", v2_0);
                if (v4_3 != null) {
                    try {
                        v4_3.close();
                    } catch (java.io.IOException v0_9) {
                        Object[] v3_0 = new Object[0];
                        d.a.b.e(v0_9, "Failed to close the output stream", v3_0);
                    }
                }
                v0_8 = 0;
                return v0_8;
            }
            if (v4_3 == null) {
                return v0_8;
            } else {
                try {
                    v4_3.close();
                } catch (java.io.IOException v1_6) {
                    Object[] v3_3 = new Object[0];
                    d.a.b.e(v1_6, "Failed to close the output stream", v3_3);
                }
                return v0_8;
            }
        } catch (java.io.IOException v0_3) {
            v4_3 = 0;
            if (v4_3 != null) {
                try {
                    v4_3.close();
                } catch (java.io.IOException v1_5) {
                    Object[] v3_2 = new Object[0];
                    d.a.b.e(v1_5, "Failed to close the output stream", v3_2);
                }
            }
            throw v0_3;
        } catch (java.io.IOException v0_2) {
            v4_3 = 0;
        } catch (java.io.IOException v0_3) {
        }
    }

Method com.fitbit.util.b.a() calling method java.io.FileOutputStream.<init>()


    private android.net.Uri a(java.io.File p7)
    {
        try {
            android.net.Uri v2_3 = new java.io.FileOutputStream(p7);
            com.squareup.picasso.Picasso.a(this.getContext()).a(this.a.b).i().compress(this.b, this.c, v2_3);
            v2_3.getFD().sync();
            v2_3.close();
            android.net.Uri v2_2 = new android.content.ContentValues();
        } catch (android.net.Uri v2_4) {
            Object[] v0_1 = new Object[1];
            v0_1[0] = p7;
            d.a.b.d(v2_4, "Error downloading file, %s", v0_1);
            android.net.Uri v2_5 = 0;
            return v2_5;
        }
        if (!android.text.TextUtils.isEmpty(this.a.c)) {
            v2_2.put("_display_name", this.a.c);
        }
        if (!android.text.TextUtils.isEmpty(this.a.d)) {
            v2_2.put("description", this.a.d);
        }
        v2_2.put("_data", p7.getAbsolutePath());
        android.net.Uri v4_7 = new Object[2];
        v4_7[0] = this.a.b;
        v4_7[1] = p7;
        d.a.b.b("loaded image from %s and into %s", v4_7);
        v2_5 = this.getContext().getContentResolver().insert(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, v2_2);
        return v2_5;
    }

Method com.jakewharton.a.a$a.c() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream c(int p4)
    {
        try {
            if (com.jakewharton.a.a$b.a(this.b) == this) {
                if (!com.jakewharton.a.a$b.d(this.b)) {
                    this.c[p4] = 1;
                }
                java.io.OutputStream v4_1 = this.b.b(p4);
                java.io.FileOutputStream v1_3 = new java.io.FileOutputStream(v4_1);
                return new com.jakewharton.a.a$a$a(this, v1_3, 0);
            } else {
                throw new IllegalStateException();
            }
        } catch (java.io.OutputStream v4_7) {
            throw v4_7;
        }
    }

Method com.jakewharton.a.a.a() calling method java.io.FileOutputStream.<init>()


    public static ark>com.jakewharton.a.aark> a(java.io.File p9, int p10, int p11, long p12)
    {
        if (p12 > 0) {
            if (p11 > 0) {
                void v0_6 = new java.io.File(p9, "journal.bkp");
                if (v0_6.exists()) {
                    String v1_1 = new java.io.File(p9, "journal");
                    if (!v1_1.exists()) {
                        ark>com.jakewharton.a.aark>.a(v0_6, v1_1, 0);
                    } else {
                        v0_6.delete();
                    }
                }
                void v0_2 = new ark>com.jakewharton.a.aark>;
                v0_2(p9, p10, p11, p12);
                if (v0_2.n.exists()) {
                    try {
                        void v0_4 = v0_2.h().i();
                        v0_4.u = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_4.n, 1), com.jakewharton.a.c.a));
                        return v0_4;
                    } catch (String v1_6) {
                        StringBuilder v3_4 = new StringBuilder();
                        v3_4.append("DiskLruCache ");
                        v3_4.append(p9);
                        v3_4.append(" is corrupt: ");
                        v3_4.append(v1_6.getMessage());
                        v3_4.append(", removing");
                        System.out.println(v3_4.toString());
                        v0_4.f();
                    }
                }
                p9.mkdirs();
                void v0_7 = new ark>com.jakewharton.a.aark>;
                v0_7(p9, p10, p11, p12);
                return v0_7.j();
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

Method com.jakewharton.a.a.j() calling method java.io.FileOutputStream.<init>()


    private declared_synchronized void j()
    {
        try {
            if (this.u != null) {
                this.u.close();
            }
        } catch (java.io.BufferedWriter v0_1) {
            throw v0_1;
        }
        java.io.BufferedWriter v0_2 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.o), com.jakewharton.a.c.a));
        try {
            v0_2.write("libcore.io.DiskLruCache");
            v0_2.write("\n");
            v0_2.write("1");
            v0_2.write("\n");
            v0_2.write(Integer.toString(this.q));
            v0_2.write("\n");
            v0_2.write(Integer.toString(this.s));
            v0_2.write("\n");
            v0_2.write("\n");
            java.nio.charset.Charset v1_14 = this.v.values().iterator();
        } catch (java.nio.charset.Charset v1_18) {
            v0_2.close();
            throw v1_18;
        }
        while (v1_14.hasNext()) {
            java.io.OutputStreamWriter v2_7 = ((com.jakewharton.a.a$b) v1_14.next());
            if (com.jakewharton.a.a$b.a(v2_7) == null) {
                java.io.FileOutputStream v3_6 = new StringBuilder();
                v3_6.append("CLEAN ");
                v3_6.append(com.jakewharton.a.a$b.c(v2_7));
                v3_6.append(v2_7.a());
                v3_6.append(10);
                v0_2.write(v3_6.toString());
            } else {
                java.io.FileOutputStream v3_8 = new StringBuilder();
                v3_8.append("DIRTY ");
                v3_8.append(com.jakewharton.a.a$b.c(v2_7));
                v3_8.append(10);
                v0_2.write(v3_8.toString());
            }
        }
        v0_2.close();
        if (this.n.exists()) {
            com.jakewharton.a.a.a(this.n, this.p, 1);
        }
        com.jakewharton.a.a.a(this.o, this.n, 0);
        this.p.delete();
        this.u = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.n, 1), com.jakewharton.a.c.a));
        return;
    }

Method com.mixpanel.android.java_websocket.d.a.a() calling method java.io.FileOutputStream.<init>()


    public static void a(String p3, String p4)
    {
        ark>com.mixpanel.android.java_websocket.d.aark>$b v0 = 0;
        try {
            ark>com.mixpanel.android.java_websocket.d.aark>$b v1_1 = new ark>com.mixpanel.android.java_websocket.d.aark>$b(new java.io.FileOutputStream(p4), 0);
            try {
                v1_1.write(p3.getBytes("US-ASCII"));
                try {
                    v1_1.close();
                } catch (Exception) {
                }
                return;
            } catch (java.io.IOException v3_2) {
                v0 = v1_1;
                try {
                    v0.close();
                } catch (Exception) {
                }
                throw v3_2;
            } catch (java.io.IOException v3_1) {
                v0 = v1_1;
                throw v3_1;
            }
        } catch (java.io.IOException v3_2) {
        } catch (java.io.IOException v3_1) {
        }
    }

Method com.mixpanel.android.java_websocket.d.a.a() calling method java.io.FileOutputStream.<init>()


    public static void a(byte[] p3, String p4)
    {
        if (p3 != null) {
            ark>com.mixpanel.android.java_websocket.d.aark>$b v0 = 0;
            try {
                ark>com.mixpanel.android.java_websocket.d.aark>$b v1_1 = new ark>com.mixpanel.android.java_websocket.d.aark>$b(new java.io.FileOutputStream(p4), 1);
                try {
                    v1_1.write(p3);
                    try {
                        v1_1.close();
                    } catch (Exception) {
                    }
                    return;
                } catch (java.io.IOException v3_1) {
                    v0 = v1_1;
                    try {
                        v0.close();
                    } catch (Exception) {
                    }
                    throw v3_1;
                } catch (java.io.IOException v3_4) {
                    v0 = v1_1;
                    throw v3_4;
                }
            } catch (java.io.IOException v3_1) {
            } catch (java.io.IOException v3_4) {
            }
        } else {
            throw new NullPointerException("Data to encode was null.");
        }
    }

Method com.mixpanel.android.java_websocket.d.a.b() calling method java.io.FileOutputStream.<init>()


    public static void b(String p3, String p4)
    {
        java.io.IOException v3_1 = com.mixpanel.android.java_websocket.d.a.d(p3);
        java.io.BufferedOutputStream v0 = 0;
        try {
            java.io.BufferedOutputStream v1_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p4));
            try {
                v1_1.write(v3_1.getBytes("US-ASCII"));
                try {
                    v1_1.close();
                } catch (Exception) {
                }
                return;
            } catch (java.io.IOException v3_4) {
                v0 = v1_1;
                try {
                    v0.close();
                } catch (Exception) {
                }
                throw v3_4;
            } catch (java.io.IOException v3_3) {
                v0 = v1_1;
                throw v3_3;
            }
        } catch (java.io.IOException v3_4) {
        } catch (java.io.IOException v3_3) {
        }
    }

Method com.mixpanel.android.java_websocket.d.a.c() calling method java.io.FileOutputStream.<init>()


    public static void c(String p3, String p4)
    {
        java.io.IOException v3_1 = com.mixpanel.android.java_websocket.d.a.c(p3);
        java.io.BufferedOutputStream v0 = 0;
        try {
            java.io.BufferedOutputStream v1_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p4));
            try {
                v1_1.write(v3_1);
                try {
                    v1_1.close();
                } catch (Exception) {
                }
                return;
            } catch (java.io.IOException v3_2) {
                v0 = v1_1;
                try {
                    v0.close();
                } catch (Exception) {
                }
                throw v3_2;
            } catch (java.io.IOException v3_3) {
                v0 = v1_1;
                throw v3_3;
            }
        } catch (java.io.IOException v3_2) {
        } catch (java.io.IOException v3_3) {
        }
    }

Method com.mixpanel.android.util.ImageStore.a() calling method java.io.FileOutputStream.<init>()


    public java.io.File a(String p5)
    {
        java.io.IOException v0_0 = this.f(p5);
        if ((v0_0 == null) || (!v0_0.exists())) {
            try {
                String v3 = 0;
                java.io.IOException v5_1 = this.b.a(p5, 0, this.d.v());
            } catch (java.io.IOException v5_3) {
                throw new ark>com.mixpanel.android.util.ImageStoreark>$CantGetImageException("Can\'t download bitmap", v5_3);
            } catch (java.io.IOException v5_2) {
                throw new ark>com.mixpanel.android.util.ImageStoreark>$CantGetImageException("Couldn\'t download image due to service availability", v5_2);
            }
            if ((v5_1 != null) && ((v0_0 != null) && (v5_1.length < 10000000))) {
                try {
                    String v1_4 = new java.io.FileOutputStream(v0_0);
                    try {
                        v1_4.write(v5_1);
                    } catch (java.io.IOException v5_6) {
                        v3 = v1_4;
                        if (v3 != null) {
                            try {
                                v3.close();
                            } catch (java.io.IOException v0_9) {
                                android.util.Log.w("MixpanelAPI.ImageStore", "Problem closing output file", v0_9);
                            }
                        }
                        throw v5_6;
                    } catch (java.io.IOException v5_5) {
                        v3 = v1_4;
                        throw new ark>com.mixpanel.android.util.ImageStoreark>$CantGetImageException("It appears that ImageStore is misconfigured, or disk storage is unavailable- can\'t write to bitmap directory", v5_5);
                    } catch (java.io.IOException v5_4) {
                        v3 = v1_4;
                        throw new ark>com.mixpanel.android.util.ImageStoreark>$CantGetImageException("Can\'t store bitmap", v5_4);
                    }
                    if (v1_4 != null) {
                        try {
                            v1_4.close();
                        } catch (java.io.IOException v5_7) {
                            android.util.Log.w("MixpanelAPI.ImageStore", "Problem closing output file", v5_7);
                        }
                    }
                } catch (java.io.IOException v5_6) {
                } catch (java.io.IOException v5_4) {
                }
            }
        }
        return v0_0;
    }

Method io.fabric.sdk.android.services.network.HttpRequest.a() calling method java.io.FileOutputStream.<init>()


    public ark>io.fabric.sdk.android.services.network.HttpRequestark> a(java.io.File p3)
    {
        try {
            return ((ark>io.fabric.sdk.android.services.network.HttpRequestark>) new ark>io.fabric.sdk.android.services.network.HttpRequestark>$3(this, new java.io.BufferedOutputStream(new java.io.FileOutputStream(p3), this.R), this.P, new java.io.BufferedOutputStream(new java.io.FileOutputStream(p3), this.R)).call());
        } catch (java.io.FileNotFoundException v3_2) {
            throw new ark>io.fabric.sdk.android.services.network.HttpRequestark>$HttpRequestException(v3_2);
        }
    }

Method io.fabric.sdk.android.services.b.m.a() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream a(java.io.File p2)
    {
        return new java.io.FileOutputStream(p2);
    }

Method kotlin.io.k.a() calling method java.io.FileOutputStream.<init>()


    public static final void a(java.io.File p2, byte[] p3)
    {
        kotlin.jvm.internal.ae.f(p2, "receiver$0");
        kotlin.jvm.internal.ae.f(p3, "array");
        java.io.Closeable v0_4 = ((java.io.Closeable) new java.io.FileOutputStream(p2));
        Throwable v2_1 = ((Throwable) 0);
        try {
            ((java.io.FileOutputStream) v0_4).write(p3);
            kotlin.io.b.a(v0_4, ((Throwable) 0));
            return;
        } catch (Throwable v3_1) {
            kotlin.io.b.a(v0_4, v2_1);
            throw v3_1;
        } catch (Throwable v2_1) {
            throw v2_1;
        }
    }

Method kotlin.io.k.b() calling method java.io.FileOutputStream.<init>()


    private static final java.io.BufferedWriter b(java.io.File p1, java.nio.charset.Charset p2, int p3)
    {
        java.io.BufferedWriter v1_1;
        java.io.BufferedWriter v1_4 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p1)), p2));
        if (!(v1_4 instanceof java.io.BufferedWriter)) {
            v1_1 = new java.io.BufferedWriter(v1_4, p3);
        } else {
            v1_1 = ((java.io.BufferedWriter) v1_4);
        }
        return v1_1;
    }

Method kotlin.io.k.b() calling method java.io.FileOutputStream.<init>()


    static synthetic java.io.BufferedWriter b(java.io.File p0, java.nio.charset.Charset p1, int p2, int p3, Object p4)
    {
        if ((p3 & 1) != 0) {
            p1 = kotlin.text.d.a;
        }
        if ((p3 & 2) != 0) {
            p2 = 8192;
        }
        java.io.BufferedWriter v0_3;
        java.io.BufferedWriter v0_2 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p0)), p1));
        if (!(v0_2 instanceof java.io.BufferedWriter)) {
            v0_3 = new java.io.BufferedWriter(v0_2, p2);
        } else {
            v0_3 = ((java.io.BufferedWriter) v0_2);
        }
        return v0_3;
    }

Method kotlin.io.k.b() calling method java.io.FileOutputStream.<init>()


    static synthetic java.io.OutputStreamWriter b(java.io.File p0, java.nio.charset.Charset p1, int p2, Object p3)
    {
        if ((p2 & 1) != 0) {
            p1 = kotlin.text.d.a;
        }
        return new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p0)), p1);
    }

Method kotlin.io.k.b() calling method java.io.FileOutputStream.<init>()


    public static final void b(java.io.File p2, byte[] p3)
    {
        kotlin.jvm.internal.ae.f(p2, "receiver$0");
        kotlin.jvm.internal.ae.f(p3, "array");
        java.io.Closeable v0_4 = ((java.io.Closeable) new java.io.FileOutputStream(p2, 1));
        Throwable v2_1 = ((Throwable) 0);
        try {
            ((java.io.FileOutputStream) v0_4).write(p3);
            kotlin.io.b.a(v0_4, ((Throwable) 0));
            return;
        } catch (Throwable v3_1) {
            kotlin.io.b.a(v0_4, v2_1);
            throw v3_1;
        } catch (Throwable v2_1) {
            throw v2_1;
        }
    }

Method kotlin.io.k.c() calling method java.io.FileOutputStream.<init>()


    static synthetic java.io.PrintWriter c(java.io.File p0, java.nio.charset.Charset p1, int p2, Object p3)
    {
        if ((p2 & 1) != 0) {
            p1 = kotlin.text.d.a;
        }
        java.io.Writer v0_1;
        java.io.Writer v0_5 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p0)), p1));
        if (!(v0_5 instanceof java.io.BufferedWriter)) {
            v0_1 = new java.io.BufferedWriter(v0_5, 8192);
        } else {
            v0_1 = ((java.io.BufferedWriter) v0_5);
        }
        return new java.io.PrintWriter(((java.io.Writer) v0_1));
    }

Method kotlin.io.k.e() calling method java.io.FileOutputStream.<init>()


    private static final java.io.PrintWriter e(java.io.File p1, java.nio.charset.Charset p2)
    {
        java.io.Writer v1_1;
        java.io.Writer v1_5 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p1)), p2));
        if (!(v1_5 instanceof java.io.BufferedWriter)) {
            v1_1 = new java.io.BufferedWriter(v1_5, 8192);
        } else {
            v1_1 = ((java.io.BufferedWriter) v1_5);
        }
        return new java.io.PrintWriter(((java.io.Writer) v1_1));
    }

Method kotlin.io.k.g() calling method java.io.FileOutputStream.<init>()


    private static final java.io.FileOutputStream g(java.io.File p1)
    {
        return new java.io.FileOutputStream(p1);
    }

Method com.google.android.gms.common.data.BitmapTeleporter.zabz() calling method java.io.FileOutputStream.<init>()


    private final java.io.FileOutputStream zabz()
    {
        if (this.zali != null) {
            try {
                IllegalStateException v0_6 = java.io.File.createTempFile("teleporter", ".tmp", this.zali);
                try {
                    String v1_2 = new java.io.FileOutputStream(v0_6);
                    this.zalf = android.os.ParcelFileDescriptor.open(v0_6, 268435456);
                    v0_6.delete();
                    return v1_2;
                } catch (java.io.FileNotFoundException) {
                    throw new IllegalStateException("Temporary file is somehow already deleted");
                }
            } catch (IllegalStateException v0_7) {
                throw new IllegalStateException("Could not create temporary file", v0_7);
            }
            v1_2 = new java.io.FileOutputStream(v0_6);
            this.zalf = android.os.ParcelFileDescriptor.open(v0_6, 268435456);
            v0_6.delete();
            return v1_2;
        } else {
            throw new IllegalStateException("setTempDir() must be called before writing this object to a parcel");
        }
    }

Method org.spongycastle.crypto.f.a.<init>() calling method java.io.FileOutputStream.<init>()


    public a(String p6, String p7, String p8, boolean p9)
    {
        this.a = 1;
        this.b = 0;
        this.c = 0;
        this.d = 0;
        this.e = 0;
        this.a = p9;
        try {
            this.c = new java.io.BufferedInputStream(new java.io.FileInputStream(p6));
            try {
                this.d = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p7));
            } catch (java.io.IOException) {
                StringBuilder v2_5 = new StringBuilder();
                v2_5.append("Output file not created [");
                v2_5.append(p7);
                v2_5.append("]");
                System.err.println(v2_5.toString());
                System.exit(1);
            }
            if (p9 == null) {
                try {
                    java.io.BufferedOutputStream v7_6 = new java.io.BufferedInputStream(new java.io.FileInputStream(p8));
                    byte[] v9_7 = v7_6.available();
                    int v1_2 = new byte[v9_7];
                    v7_6.read(v1_2, 0, v9_7);
                    this.e = org.spongycastle.util.encoders.f.c(v1_2);
                } catch (java.io.IOException) {
                    java.io.BufferedOutputStream v7_8 = new StringBuilder();
                    v7_8.append("Decryption key file not found, or not valid [");
                    v7_8.append(p8);
                    v7_8.append("]");
                    System.err.println(v7_8.toString());
                    System.exit(1);
                }
            } else {
                try {
                    java.io.BufferedOutputStream v7_11 = new java.security.SecureRandom();
                } catch (Exception) {
                    v7_11 = 0;
                    System.err.println("Hmmm, no SHA1PRNG, you need the Sun implementation");
                    System.exit(1);
                    byte[] v9_14 = new org.spongycastle.crypto.v(v7_11, 192);
                    java.io.BufferedOutputStream v7_16 = new org.spongycastle.crypto.g.f();
                    v7_16.a(v9_14);
                    this.e = v7_16.a();
                    java.io.BufferedOutputStream v7_2 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p8));
                    byte[] v9_4 = org.spongycastle.util.encoders.f.b(this.e);
                    v7_2.write(v9_4, 0, v9_4.length);
                    v7_2.flush();
                    v7_2.close();
                } catch (java.io.IOException) {
                    java.io.BufferedOutputStream v7_13 = new StringBuilder();
                    v7_13.append("Could not decryption create key file [");
                    v7_13.append(p8);
                    v7_13.append("]");
                    System.err.println(v7_13.toString());
                    System.exit(1);
                }
                v7_11.setSeed("www.bouncycastle.org".getBytes());
            }
            return;
        } catch (java.io.FileNotFoundException) {
            String v3_3 = new StringBuilder();
            v3_3.append("Input file not found [");
            v3_3.append(p6);
            v3_3.append("]");
            System.err.println(v3_3.toString());
            System.exit(1);
        }
    }