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 io.realm.aw.a() calling method java.io.FileOutputStream.<init>()


    private static void a(String p9, java.io.File p10)
    {
        io.realm.exceptions.RealmFileException$Kind v2_0 = 0;
        if (!p10.exists()) {
            try {
                io.realm.exceptions.RealmFileException v1_2 = io.realm.a.a.getAssets().open(p9);
                try {
                    if (v1_2 != null) {
                        int v3_2 = new java.io.FileOutputStream(p10);
                        try {
                            io.realm.exceptions.RealmFileException v0_3 = new byte[4096];
                        } catch (io.realm.exceptions.RealmFileException v0_1) {
                            int v3_0 = v1_2;
                            io.realm.exceptions.RealmFileException v1_0 = v3_2;
                            if (v3_0 != 0) {
                                try {
                                    v3_0.close();
                                } catch (io.realm.exceptions.RealmFileException$Kind v2_0) {
                                }
                            }
                            if (v1_0 != null) {
                                try {
                                    v1_0.close();
                                } catch (io.realm.exceptions.RealmFileException v1) {
                                    // Both branches of the condition point to the same code.
                                    // if (v2_0 != null) {
                                    // }
                                }
                            }
                            throw v0_1;
                        } catch (io.realm.exceptions.RealmFileException v0_0) {
                            v3_0 = v1_2;
                            v1_0 = v3_2;
                            try {
                                throw new io.realm.exceptions.RealmFileException(io.realm.exceptions.RealmFileException$Kind.ACCESS_ERROR, new StringBuilder().append("Could not resolve the path to the asset file: ").append(p9).toString(), v0_0);
                            } catch (io.realm.exceptions.RealmFileException v0_1) {
                            }
                        }
                        while(true) {
                            int v4_0 = v1_2.read(v0_3);
                            if (v4_0 <= -1) {
                                break;
                            }
                            v3_2.write(v0_3, 0, v4_0);
                        }
                        io.realm.exceptions.RealmFileException v1_1;
                        if (v1_2 == null) {
                            v1_1 = 0;
                        } else {
                            try {
                                v1_2.close();
                                v1_1 = 0;
                            } catch (io.realm.exceptions.RealmFileException$Kind v2_1) {
                                v1_1 = v2_1;
                            }
                        }
                        if (v3_2 != 0) {
                            try {
                                v3_2.close();
                            } catch (io.realm.exceptions.RealmFileException v0_6) {
                                if (v1_1 != null) {
                                    v0_6 = v1_1;
                                }
                                v1_1 = v0_6;
                            }
                        }
                        if (v1_1 != null) {
                            throw new io.realm.exceptions.RealmFileException(io.realm.exceptions.RealmFileException$Kind.ACCESS_ERROR, v1_1);
                        }
                    } else {
                        throw new io.realm.exceptions.RealmFileException(io.realm.exceptions.RealmFileException$Kind.ACCESS_ERROR, new StringBuilder().append("Invalid input stream to the asset file: ").append(p9).toString());
                    }
                } catch (io.realm.exceptions.RealmFileException v0_1) {
                    v3_0 = v1_2;
                    v1_0 = 0;
                } catch (io.realm.exceptions.RealmFileException v0_0) {
                    v3_0 = v1_2;
                    v1_0 = 0;
                }
            } catch (io.realm.exceptions.RealmFileException v0_1) {
                v1_0 = 0;
                v3_0 = 0;
            } catch (io.realm.exceptions.RealmFileException v0_0) {
                v1_0 = 0;
                v3_0 = 0;
            }
        }
        return;
    }

Method io.intercom.com.bumptech.glide.load.b.a$b.a() calling method java.io.FileOutputStream.<init>()


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

Method io.intercom.com.bumptech.glide.a.a.e() calling method java.io.FileOutputStream.<init>()


    private declared_synchronized void e()
    {
        try {
            if (this.j != null) {
                this.j.close();
            }
        } catch (java.io.BufferedWriter v0_36) {
            throw v0_36;
        }
        java.io.OutputStreamWriter v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.d), io.intercom.com.bumptech.glide.a.c.a));
        try {
            v1_0.write("libcore.io.DiskLruCache");
            v1_0.write("\n");
            v1_0.write("1");
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.f));
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.h));
            v1_0.write("\n");
            v1_0.write("\n");
            java.io.FileOutputStream v2_0 = this.k.values().iterator();
        } catch (java.io.BufferedWriter v0_35) {
            v1_0.close();
            throw v0_35;
        }
        while (v2_0.hasNext()) {
            java.io.BufferedWriter v0_30 = ((io.intercom.com.bumptech.glide.a.a$b) v2_0.next());
            if (io.intercom.com.bumptech.glide.a.a$b.a(v0_30) == null) {
                v1_0.write(new StringBuilder().append("CLEAN ").append(io.intercom.com.bumptech.glide.a.a$b.c(v0_30)).append(v0_30.a()).append(10).toString());
            } else {
                v1_0.write(new StringBuilder().append("DIRTY ").append(io.intercom.com.bumptech.glide.a.a$b.c(v0_30)).append(10).toString());
            }
        }
        v1_0.close();
        if (this.c.exists()) {
            io.intercom.com.bumptech.glide.a.a.a(this.c, this.e, 1);
        }
        io.intercom.com.bumptech.glide.a.a.a(this.d, this.c, 0);
        this.e.delete();
        this.j = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c, 1), io.intercom.com.bumptech.glide.a.c.a));
        return;
    }

Method io.intercom.com.bumptech.glide.a.a.c() calling method java.io.FileOutputStream.<init>()


    private void c()
    {
        io.intercom.com.bumptech.glide.a.b v1_1 = new io.intercom.com.bumptech.glide.a.b(new java.io.FileInputStream(this.c), io.intercom.com.bumptech.glide.a.c.a);
        try {
            java.io.BufferedWriter v0_7 = v1_1.a();
            java.io.OutputStreamWriter v2_9 = v1_1.a();
            java.io.FileOutputStream v3_0 = v1_1.a();
            java.nio.charset.Charset v4_0 = v1_1.a();
            int v5_0 = v1_1.a();
        } catch (java.io.BufferedWriter v0_17) {
            io.intercom.com.bumptech.glide.a.c.a(v1_1);
            throw v0_17;
        }
        if (("libcore.io.DiskLruCache".equals(v0_7)) && (("1".equals(v2_9)) && ((Integer.toString(this.f).equals(v3_0)) && ((Integer.toString(this.h).equals(v4_0)) && ("".equals(v5_0)))))) {
            java.io.BufferedWriter v0_2 = 0;
            try {
                while(true) {
                    this.d(v1_1.a());
                    v0_2++;
                }
            } catch (java.io.OutputStreamWriter v2) {
                this.l = (v0_2 - this.k.size());
                if (!v1_1.b()) {
                    this.j = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c, 1), io.intercom.com.bumptech.glide.a.c.a));
                } else {
                    this.e();
                }
                io.intercom.com.bumptech.glide.a.c.a(v1_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v0_7).append(", ").append(v2_9).append(", ").append(v4_0).append(", ").append(v5_0).append("]").toString());
        }
    }

Method io.intercom.android.sdk.imageloader.LongTermImageDiskCache.write() calling method java.io.FileOutputStream.<init>()


    public void write(java.io.File p5, android.graphics.Bitmap p6)
    {
        try {
            java.io.IOException v1_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5));
            try {
                java.io.IOException v0_1;
                if (!p6.hasAlpha()) {
                    v0_1 = android.graphics.Bitmap$CompressFormat.JPEG;
                } else {
                    v0_1 = android.graphics.Bitmap$CompressFormat.PNG;
                }
            } catch (java.io.IOException v0_2) {
                Object[] v3_1 = new Object[0];
                this.twig.e(v0_2.getMessage(), v3_1);
                if (v1_1 == null) {
                    return;
                } else {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v0) {
                    }
                    return;
                }
            }
            p6.compress(v0_1, 100, v1_1);
            if (v1_1 == null) {
                return;
            } else {
                try {
                    v1_1.close();
                } catch (java.io.IOException v0) {
                }
                return;
            }
        } catch (java.io.IOException v0_5) {
            v1_1 = 0;
            if (v1_1 != null) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v1) {
                }
            }
            throw v0_5;
        } catch (java.io.IOException v0_2) {
            v1_1 = 0;
        } catch (java.io.IOException v0_5) {
        }
    }

Method io.intercom.a.l.c() calling method java.io.FileOutputStream.<init>()


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

Method io.intercom.a.l.b() calling method java.io.FileOutputStream.<init>()


    public static io.intercom.a.r b(java.io.File p2)
    {
        if (p2 != null) {
            return io.intercom.a.l.a(new java.io.FileOutputStream(p2));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

Method io.fabric.sdk.android.services.c.g.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 io.fabric.sdk.android.services.c.h.a() calling method java.io.FileOutputStream.<init>()


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

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


    public java.io.File a(String p6)
    {
        String v2_0 = 0;
        java.io.IOException v0_1 = this.f(p6);
        if ((v0_1 == null) || (!v0_1.exists())) {
            try {
                String v3_1 = this.b.a(p6, 0, this.d.z());
            } catch (java.io.IOException v0_2) {
                throw new ark>com.mixpanel.android.util.ImageStoreark>$CantGetImageException("Can\'t download bitmap", v0_2);
            } catch (java.io.IOException v0_0) {
                throw new ark>com.mixpanel.android.util.ImageStoreark>$CantGetImageException("Couldn\'t download image due to service availability", v0_0);
            }
            if ((v3_1 != null) && ((v0_1 != null) && (v3_1.length < 10000000))) {
                try {
                    java.io.IOException v1_6 = new java.io.FileOutputStream(v0_1);
                    try {
                        v1_6.write(v3_1);
                    } catch (java.io.IOException v0_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", v0_4);
                    } catch (java.io.IOException v0_3) {
                        v2_0 = v1_6;
                        throw new ark>com.mixpanel.android.util.ImageStoreark>$CantGetImageException("Can\'t store bitmap", v0_3);
                    }
                    if (v1_6 != null) {
                        try {
                            v1_6.close();
                        } catch (java.io.IOException v1_11) {
                            com.mixpanel.android.util.e.d("MixpanelAPI.ImageStore", "Problem closing output file", v1_11);
                        }
                    }
                } catch (java.io.IOException v0_5) {
                    if (v2_0 != null) {
                        try {
                            v2_0.close();
                        } catch (java.io.IOException v1_10) {
                            com.mixpanel.android.util.e.d("MixpanelAPI.ImageStore", "Problem closing output file", v1_10);
                        }
                    }
                    throw v0_5;
                } catch (java.io.IOException v0_4) {
                    v1_6 = 0;
                } catch (java.io.IOException v0_3) {
                } catch (java.io.IOException v0_5) {
                    v2_0 = v1_6;
                }
            }
        }
        return v0_1;
    }

Method com.intercom.input.gallery.l.a() calling method java.io.FileOutputStream.<init>()


    com.intercom.input.gallery.c a(com.intercom.input.gallery.AnnotatedImageView p7, com.intercom.input.gallery.c p8)
    {
        String v0_13 = p7.getAnnotationsBitmap();
        String v1_13 = this.b.getBitmapFromView(p7);
        if ((v1_13 != null) && (p7.getPathCount() != 0)) {
            String v3_5 = v1_13.copy(v1_13.getConfig(), 1);
            new android.graphics.Canvas(v3_5).drawBitmap(v0_13, ark>com.intercom.input.gallery.lark>.a(v0_13), ark>com.intercom.input.gallery.lark>.a(v1_13), 0);
            p7.a();
            try {
                String v0_16 = new StringBuilder().append(p8.b()).append("_anno_").append(System.currentTimeMillis()).toString();
                String v4_6 = java.io.File.createTempFile(v0_16, ".jpg", this.a);
                String v1_12 = new java.io.FileOutputStream(v4_6);
                try {
                    v3_5.compress(android.graphics.Bitmap$CompressFormat.JPEG, 90, v1_12);
                    p8 = new com.intercom.input.gallery.c$a().e(p8.e()).a(p8.f()).b(p8.g()).c(p8.h()).b(p8.c()).c(v4_6.getAbsolutePath()).a(v0_16).d(p8.d()).a(1).a();
                } catch (String v0_17) {
                    android.util.Log.e("Intercom", new StringBuilder().append("Couldn\'t composite images: ").append(v0_17.getMessage()).toString());
                    if (v1_12 != null) {
                        try {
                            v1_12.close();
                        } catch (String v0_1) {
                            android.util.Log.e("Intercom", new StringBuilder().append("Couldn\'t close stream: ").append(v0_1.getMessage()).toString());
                        }
                    }
                }
                if (v1_12 != null) {
                    try {
                        v1_12.close();
                    } catch (String v0_6) {
                        android.util.Log.e("Intercom", new StringBuilder().append("Couldn\'t close stream: ").append(v0_6.getMessage()).toString());
                    }
                }
            } catch (String v0_5) {
                v1_12 = 0;
                if (v1_12 != null) {
                    try {
                        v1_12.close();
                    } catch (String v1_1) {
                        android.util.Log.e("Intercom", new StringBuilder().append("Couldn\'t close stream: ").append(v1_1.getMessage()).toString());
                    }
                }
                throw v0_5;
            } catch (String v0_17) {
                v1_12 = 0;
            } catch (String v0_5) {
            }
        }
        return p8;
    }

Method com.google.android.gms.internal.zzsr.zzau() calling method java.io.FileOutputStream.<init>()


    public final boolean zzau(String p28)
    {
        com.google.android.gms.internal.rl v2_40;
        if (this.d != null) {
            do {
                com.google.android.gms.internal.zzsr v3_2;
                if (this.d != null) {
                    String v4_0 = this.d.listFiles();
                    com.google.android.gms.internal.rl v2_14 = 0;
                    com.google.android.gms.internal.zzsr v3_0 = 0;
                    while (v3_0 < v4_0.length) {
                        if (!v4_0[v3_0].getName().endsWith(".done")) {
                            v2_14++;
                        }
                        v3_0++;
                    }
                    v3_2 = v2_14;
                } else {
                    v3_2 = 0;
                }
                if (v3_2 <= ((Integer) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgk)).intValue()) {
                    com.google.android.gms.internal.zzjo.zzhu();
                    java.io.File v13_1 = new java.io.File(this.d, com.google.android.gms.internal.zzaje.zzcq(p28));
                    java.io.File v14 = this.a(v13_1);
                    if ((!v13_1.isFile()) || (!v14.isFile())) {
                        String v9_1;
                        com.google.android.gms.internal.zzsr v3_39 = String.valueOf(this.d.getAbsolutePath());
                        com.google.android.gms.internal.rl v2_127 = String.valueOf(p28);
                        if (v2_127.length() == 0) {
                            v9_1 = new String(v3_39);
                        } else {
                            v9_1 = v3_39.concat(v2_127);
                        }
                        try {
                            if (!com.google.android.gms.internal.zzsr.b.contains(v9_1)) {
                                com.google.android.gms.internal.zzsr.b.add(v9_1);
                                String v5_5 = 0;
                                String v4_12;
                                com.google.android.gms.internal.zzsr v3_20;
                                com.google.android.gms.ads.internal.zzbv.zzeo();
                                com.google.android.gms.internal.zzsr v3_46 = com.google.android.gms.internal.zzajy.zzb(p28, ((Integer) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgq)).intValue());
                                if ((v3_46 instanceof java.net.HttpURLConnection)) {
                                    com.google.android.gms.internal.rl v2_144 = ((java.net.HttpURLConnection) v3_46).getResponseCode();
                                    if (v2_144 >= 400) {
                                        v4_12 = "badUrl";
                                        try {
                                            com.google.android.gms.internal.zzsr v3_34 = String.valueOf(Integer.toString(v2_144));
                                        } catch (com.google.android.gms.internal.rl v2_58) {
                                            v3_20 = 0;
                                            if ((v2_58 instanceof RuntimeException)) {
                                                com.google.android.gms.ads.internal.zzbv.zzee().zza(v2_58, "VideoStreamFullFileCache.preload");
                                            }
                                            try {
                                                v5_5.close();
                                            } catch (String v5) {
                                            } catch (String v5) {
                                            }
                                            if (!this.e) {
                                                com.google.android.gms.internal.zzafx.zzc(new StringBuilder((String.valueOf(p28).length() + 25)).append("Preload failed for URL \"").append(p28).append("\"").toString(), v2_58);
                                            } else {
                                                com.google.android.gms.internal.zzafx.zzcr(new StringBuilder((String.valueOf(p28).length() + 26)).append("Preload aborted for URL \"").append(p28).append("\"").toString());
                                            }
                                            if (v13_1.exists()) {
                                                if (!v13_1.delete()) {
                                                    com.google.android.gms.internal.rl v2_102 = String.valueOf(v13_1.getAbsolutePath());
                                                    if (v2_102.length() == 0) {
                                                        com.google.android.gms.internal.rl v2_104 = new String("Could not delete partial cache file at ");
                                                    } else {
                                                        v2_104 = "Could not delete partial cache file at ".concat(v2_102);
                                                    }
                                                    com.google.android.gms.internal.zzafx.zzcs(v2_104);
                                                }
                                            }
                                            this.zza(p28, v13_1.getAbsolutePath(), v4_12, v3_20);
                                            com.google.android.gms.internal.zzsr.b.remove(v9_1);
                                            v2_40 = 0;
                                            return v2_40;
                                        } catch (com.google.android.gms.internal.rl v2_58) {
                                            v3_20 = 0;
                                        }
                                        if (v3_34.length() == 0) {
                                            v3_20 = new String("HTTP request failed. Code: ");
                                        } else {
                                            v3_20 = "HTTP request failed. Code: ".concat(v3_34);
                                        }
                                        try {
                                            throw new java.io.IOException(new StringBuilder((String.valueOf(p28).length() + 32)).append("HTTP status code ").append(v2_144).append(" at ").append(p28).toString());
                                        } catch (com.google.android.gms.internal.rl v2_58) {
                                        } catch (com.google.android.gms.internal.rl v2_58) {
                                        }
                                    }
                                }
                                String v7_0 = v3_46.getContentLength();
                                if (v7_0 >= null) {
                                    String v4_2 = com.google.android.gms.internal.zzsr.c.format(((long) v7_0));
                                    int v15 = ((Integer) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgl)).intValue();
                                    if (v7_0 <= v15) {
                                        com.google.android.gms.internal.zzafx.zzcb(new StringBuilder(((String.valueOf(v4_2).length() + 20) + String.valueOf(p28).length())).append("Caching ").append(v4_2).append(" bytes from ").append(p28).toString());
                                        java.nio.channels.ReadableByteChannel v16_1 = java.nio.channels.Channels.newChannel(v3_46.getInputStream());
                                        java.io.FileOutputStream v12_1 = new java.io.FileOutputStream(v13_1);
                                        try {
                                            java.nio.channels.FileChannel v17 = v12_1.getChannel();
                                            java.nio.ByteBuffer v18 = java.nio.ByteBuffer.allocate(1048576);
                                            com.google.android.gms.common.util.zzd v19 = com.google.android.gms.ads.internal.zzbv.zzeg();
                                            int v6_5 = 0;
                                            long v20 = v19.currentTimeMillis();
                                            com.google.android.gms.internal.zzaix v22 = new com.google.android.gms.internal.zzaix;
                                            v22(((Long) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgp)).longValue());
                                            long v24 = ((Long) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgo)).longValue();
                                        } catch (com.google.android.gms.internal.rl v2_58) {
                                            v3_20 = 0;
                                            v4_12 = "error";
                                            v5_5 = v12_1;
                                        }
                                        while(true) {
                                            com.google.android.gms.internal.rl v2_26 = v16_1.read(v18);
                                            if (v2_26 < null) {
                                                break;
                                            }
                                            v6_5 += v2_26;
                                            try {
                                                if (v6_5 <= v15) {
                                                    v18.flip();
                                                    while (v17.write(v18) > 0) {
                                                    }
                                                    v18.clear();
                                                    if ((v19.currentTimeMillis() - v20) <= (1000 * v24)) {
                                                        if (!this.e) {
                                                            if (v22.tryAcquire()) {
                                                                com.google.android.gms.internal.zzaje.zzdee.post(new com.google.android.gms.internal.rl(this, p28, v13_1.getAbsolutePath(), v6_5, v7_0, 0));
                                                            }
                                                        } else {
                                                            v4_12 = "externalAbort";
                                                            throw new java.io.IOException("abort requested");
                                                        }
                                                    } else {
                                                        v4_12 = "downloadTimeout";
                                                        com.google.android.gms.internal.rl v2_52 = Long.toString(v24);
                                                        v3_20 = new StringBuilder((String.valueOf(v2_52).length() + 29)).append("Timeout exceeded. Limit: ").append(v2_52).append(" sec").toString();
                                                        throw new java.io.IOException("stream cache time limit exceeded");
                                                    }
                                                } else {
                                                    v4_12 = "sizeExceeded";
                                                    com.google.android.gms.internal.zzsr v3_22 = String.valueOf(Integer.toString(v6_5));
                                                    if (v3_22.length() == 0) {
                                                        v3_20 = new String("File too big for full file cache. Size: ");
                                                    } else {
                                                        v3_20 = "File too big for full file cache. Size: ".concat(v3_22);
                                                    }
                                                    throw new java.io.IOException("stream cache file size limit exceeded");
                                                }
                                            } catch (com.google.android.gms.internal.rl v2_58) {
                                                v3_20 = 0;
                                                v5_5 = v12_1;
                                            } catch (com.google.android.gms.internal.rl v2_58) {
                                                v3_20 = 0;
                                                v5_5 = v12_1;
                                            } catch (com.google.android.gms.internal.rl v2_58) {
                                                v5_5 = v12_1;
                                            } catch (com.google.android.gms.internal.rl v2_58) {
                                                v5_5 = v12_1;
                                            }
                                        }
                                        v12_1.close();
                                        if (com.google.android.gms.internal.zzafx.zzad(3)) {
                                            com.google.android.gms.internal.rl v2_30 = com.google.android.gms.internal.zzsr.c.format(((long) v6_5));
                                            com.google.android.gms.internal.zzafx.zzcb(new StringBuilder(((String.valueOf(v2_30).length() + 22) + String.valueOf(p28).length())).append("Preloaded ").append(v2_30).append(" bytes from ").append(p28).toString());
                                        }
                                        v13_1.setReadable(1, 0);
                                        if (!v14.isFile()) {
                                            try {
                                                v14.createNewFile();
                                            } catch (com.google.android.gms.internal.rl v2) {
                                            }
                                        } else {
                                            v14.setLastModified(System.currentTimeMillis());
                                        }
                                        this.a(p28, v13_1.getAbsolutePath(), v6_5);
                                        com.google.android.gms.internal.zzsr.b.remove(v9_1);
                                        v2_40 = 1;
                                    } else {
                                        com.google.android.gms.internal.rl v2_77;
                                        com.google.android.gms.internal.zzafx.zzcs(new StringBuilder(((String.valueOf(v4_2).length() + 33) + String.valueOf(p28).length())).append("Content length ").append(v4_2).append(" exceeds limit at ").append(p28).toString());
                                        com.google.android.gms.internal.rl v2_75 = String.valueOf(v4_2);
                                        if (v2_75.length() == 0) {
                                            v2_77 = new String("File too big for full file cache. Size: ");
                                        } else {
                                            v2_77 = "File too big for full file cache. Size: ".concat(v2_75);
                                        }
                                        this.zza(p28, v13_1.getAbsolutePath(), "sizeExceeded", v2_77);
                                        com.google.android.gms.internal.zzsr.b.remove(v9_1);
                                        v2_40 = 0;
                                    }
                                } else {
                                    com.google.android.gms.internal.rl v2_81;
                                    com.google.android.gms.internal.rl v2_79 = String.valueOf(p28);
                                    if (v2_79.length() == 0) {
                                        v2_81 = new String("Stream cache aborted, missing content-length header at ");
                                    } else {
                                        v2_81 = "Stream cache aborted, missing content-length header at ".concat(v2_79);
                                    }
                                    com.google.android.gms.internal.zzafx.zzcs(v2_81);
                                    this.zza(p28, v13_1.getAbsolutePath(), "contentLengthMissing", 0);
                                    com.google.android.gms.internal.zzsr.b.remove(v9_1);
                                    v2_40 = 0;
                                }
                            } else {
                                com.google.android.gms.internal.rl v2_110;
                                com.google.android.gms.internal.rl v2_108 = String.valueOf(p28);
                                if (v2_108.length() == 0) {
                                    v2_110 = new String("Stream cache already in progress at ");
                                } else {
                                    v2_110 = "Stream cache already in progress at ".concat(v2_108);
                                }
                                com.google.android.gms.internal.zzafx.zzcs(v2_110);
                                this.zza(p28, v13_1.getAbsolutePath(), "inProgress", 0);
                                v2_40 = 0;
                            }
                        } catch (com.google.android.gms.internal.rl v2_112) {
                            throw v2_112;
                        }
                    } else {
                        com.google.android.gms.internal.rl v2_117;
                        com.google.android.gms.internal.zzsr v3_37 = ((int) v13_1.length());
                        com.google.android.gms.internal.rl v2_115 = String.valueOf(p28);
                        if (v2_115.length() == 0) {
                            v2_117 = new String("Stream cache hit at ");
                        } else {
                            v2_117 = "Stream cache hit at ".concat(v2_115);
                        }
                        com.google.android.gms.internal.zzafx.zzcb(v2_117);
                        this.a(p28, v13_1.getAbsolutePath(), v3_37);
                        v2_40 = 1;
                    }
                } else {
                    com.google.android.gms.internal.rl v2_123;
                    if (this.d != null) {
                        String v7_10 = 0;
                        String v4_21 = nan;
                        String v9_0 = this.d.listFiles();
                        int v10_0 = v9_0.length;
                        int v8_3 = 0;
                        while (v8_3 < v10_0) {
                            com.google.android.gms.internal.rl v2_126;
                            String v4_23;
                            int v6_18 = v9_0[v8_3];
                            if (v6_18.getName().endsWith(".done")) {
                                v2_126 = v4_21;
                                v4_23 = v7_10;
                            } else {
                                v2_126 = v6_18.lastModified();
                                if (v2_126 >= v4_21) {
                                } else {
                                    v4_23 = v6_18;
                                }
                            }
                            v8_3++;
                            v7_10 = v4_23;
                            v4_21 = v2_126;
                        }
                        v2_123 = 0;
                        if (v7_10 != null) {
                            v2_123 = v7_10.delete();
                            com.google.android.gms.internal.zzsr v3_38 = this.a(v7_10);
                            if (v3_38.isFile()) {
                                v2_123 &= v3_38.delete();
                            }
                        }
                    } else {
                        v2_123 = 0;
                    }
                }
            } while(v2_123 != null);
            com.google.android.gms.internal.zzafx.zzcs("Unable to expire stream cache");
            this.zza(p28, 0, "expireFailed", 0);
            v2_40 = 0;
        } else {
            this.zza(p28, 0, "noCacheDir", 0);
            v2_40 = 0;
        }
        return v2_40;
    }

Method com.google.android.gms.internal.zzmx.a() calling method java.io.FileOutputStream.<init>()


    private final void a()
    {
        try {
            while(true) {
                java.io.IOException v0_6 = ((com.google.android.gms.internal.zznh) this.a.take());
                String v2_1 = v0_6.zziw();
                com.google.android.gms.ads.internal.zzbv.zzea();
                com.google.android.gms.internal.zzahf.zzd(this.f, this.g, java.io.IOException v0_9);
            }
            java.io.File v3_1 = this.i;
            if (v3_1 == null) {
                com.google.android.gms.internal.zzafx.zzcs("CsiReporter: File doesn\'t exists. Cannot write CSI data to file.");
            } else {
                try {
                    String v1_12 = new java.io.FileOutputStream(v3_1, 1);
                    try {
                        v1_12.write(v0_9.getBytes());
                        v1_12.write(10);
                        try {
                            v1_12.close();
                        } catch (java.io.IOException v0_16) {
                            com.google.android.gms.internal.zzafx.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v0_16);
                        }
                    } catch (java.io.IOException v0_11) {
                        com.google.android.gms.internal.zzafx.zzc("CsiReporter: Cannot write to file: sdk_csi_data.txt.", v0_11);
                        if (v1_12 == null) {
                        } else {
                            try {
                                v1_12.close();
                            } catch (java.io.IOException v0_15) {
                                com.google.android.gms.internal.zzafx.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v0_15);
                            }
                        }
                    }
                } catch (java.io.IOException v0_12) {
                    v1_12 = 0;
                    if (v1_12 != null) {
                        try {
                            v1_12.close();
                        } catch (String v1_15) {
                            com.google.android.gms.internal.zzafx.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v1_15);
                        }
                    }
                    throw v0_12;
                } catch (java.io.IOException v0_11) {
                    v1_12 = 0;
                } catch (java.io.IOException v0_12) {
                }
            }
        } catch (java.io.IOException v0_19) {
            com.google.android.gms.internal.zzafx.zzc("CsiReporter:reporter interrupted", v0_19);
            return;
        }
        if (!android.text.TextUtils.isEmpty(v2_1)) {
            java.io.IOException v0_2 = this.a(this.c, v0_6.a());
            java.io.File v3_0 = android.net.Uri.parse(this.e).buildUpon();
            int v4_0 = v0_2.entrySet().iterator();
            while (v4_0.hasNext()) {
                java.io.IOException v0_18 = ((java.util.Map$Entry) v4_0.next());
                v3_0.appendQueryParameter(((String) v0_18.getKey()), ((String) v0_18.getValue()));
            }
            java.io.IOException v0_8 = new StringBuilder(v3_0.build().toString());
            v0_8.append("&it=").append(v2_1);
            v0_9 = v0_8.toString();
            if (!this.h.get()) {
            }
        }
    }

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


    public static com.google.android.gms.internal.zzdc zza(android.content.Context p9, String p10, String p11, boolean p12)
    {
        int v0_0 = 1;
        void v3_0 = new com.google.android.gms.internal.zzdc(p9);
        v3_0.e = java.util.concurrent.Executors.newCachedThreadPool();
        v3_0.j = p12;
        if (p12) {
            v3_0.k = v3_0.e.submit(new com.google.android.gms.internal.ke(v3_0));
        }
        v3_0.e.execute(new com.google.android.gms.internal.kh(v3_0));
        try {
            String v2_5;
            com.google.android.gms.internal.zzdc.q = com.google.android.gms.common.zze.zzaew();
        } catch (int v0) {
            v3_0.a(0, 1);
            if ((!com.google.android.gms.internal.zzdh.zzaq()) || (!((Boolean) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbmb)).booleanValue())) {
                v3_0.g = new com.google.android.gms.internal.zzcx(0);
                v3_0.h = v3_0.g.zzl(p10);
                try {
                    int v0_29 = v3_0.a.getCacheDir();
                } catch (int v0_14) {
                    throw new com.google.android.gms.internal.zzcz(v0_14);
                } catch (int v0_13) {
                    throw new com.google.android.gms.internal.zzcz(v0_13);
                }
                if (v0_29 == 0) {
                    v0_29 = v3_0.a.getDir("dex", 0);
                    if (v0_29 == 0) {
                        throw new com.google.android.gms.internal.zzcz();
                    }
                }
                String v1_19 = v0_29;
                Object[] v5_5 = new Object[2];
                v5_5[0] = v1_19;
                v5_5[1] = "1493867303508";
                String v4_9 = new java.io.File(String.format("%s/%s.jar", v5_5));
                if (!v4_9.exists()) {
                    int v0_35 = v3_0.g.zzb(v3_0.h, p11);
                    v4_9.createNewFile();
                    Object[] v5_8 = new java.io.FileOutputStream(v4_9);
                    v5_8.write(v0_35, 0, v0_35.length);
                    v5_8.close();
                }
                v3_0.b(v1_19, "1493867303508");
                try {
                    v3_0.f = new dalvik.system.DexClassLoader(v4_9.getAbsolutePath(), v1_19.getAbsolutePath(), 0, v3_0.a.getClassLoader());
                } catch (int v0_3) {
                    com.google.android.gms.internal.zzdc.a(v4_9);
                    v3_0 = v3_0.a(v1_19, "1493867303508");
                    Object[] v5_2 = new Object[2];
                    v5_2[0] = v1_19;
                    v5_2[1] = "1493867303508";
                    com.google.android.gms.internal.zzdc.a(String.format("%s/%s.dex", v5_2));
                    throw v0_3;
                }
                com.google.android.gms.internal.zzdc.a(v4_9);
                v3_0 = v3_0.a(v1_19, "1493867303508");
                String v4_4 = new Object[2];
                v4_4[0] = v1_19;
                v4_4[1] = "1493867303508";
                com.google.android.gms.internal.zzdc.a(String.format("%s/%s.dex", v4_4));
                v3_0.n = new com.google.android.gms.internal.zzco(v3_0);
                v3_0.s = 1;
                return v3_0;
            } else {
                throw new IllegalStateException("Task Context initialization must not be called from the UI thread.");
            }
        }
        if (com.google.android.gms.common.zze.zzbx(v3_0.a) <= 0) {
            v2_5 = 0;
        } else {
            v2_5 = 1;
        }
        v3_0.b = v2_5;
        if (com.google.android.gms.internal.zzdc.q.isGooglePlayServicesAvailable(v3_0.a) != 0) {
            v0_0 = 0;
        }
        v3_0.p = v0_0;
    }

Method com.google.android.gms.internal.zzdc.b() calling method java.io.FileOutputStream.<init>()


    private final boolean b(java.io.File p13, String p14)
    {
        java.io.FileInputStream v0_3;
        int v3 = 0;
        java.io.FileInputStream v4_3 = new Object[2];
        v4_3[0] = p13;
        v4_3[1] = p14;
        byte[] v5_0 = new java.io.File(String.format("%s/%s.tmp", v4_3));
        if (v5_0.exists()) {
            java.io.FileInputStream v4_1 = new Object[2];
            v4_1[0] = p13;
            v4_1[1] = p14;
            int v6_1 = new java.io.File(String.format("%s/%s.dex", v4_1));
            if (!v6_1.exists()) {
                try {
                    String v8_0 = v5_0.length();
                } catch (java.io.FileInputStream v0_2) {
                    java.io.FileInputStream v4_0 = 0;
                    if (v4_0 != null) {
                        try {
                            v4_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v3 != 0) {
                        try {
                            v3.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    throw v0_2;
                } catch (java.io.FileInputStream v0) {
                    java.io.FileInputStream v0_1 = 0;
                    java.io.FileInputStream v1_0 = 0;
                    if (v1_0 != null) {
                        try {
                            v1_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v0_1 != null) {
                        try {
                            v0_1.close();
                        } catch (java.io.FileInputStream v0) {
                        }
                    }
                    v0_3 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                }
                if (v8_0 > 0) {
                    java.io.FileInputStream v0_10 = new byte[((int) v8_0)];
                    v4_0 = new java.io.FileInputStream(v5_0);
                    try {
                        if (v4_0.read(v0_10) > 0) {
                            java.io.FileInputStream v0_12 = ((com.google.android.gms.internal.zzbc) com.google.android.gms.internal.zzego.zza(new com.google.android.gms.internal.zzbc(), v0_10));
                            if ((p14.equals(new String(v0_12.zzgf))) && ((java.util.Arrays.equals(v0_12.zzge, com.google.android.gms.internal.fo.a(v0_12.data))) && (java.util.Arrays.equals(v0_12.zzgg, android.os.Build$VERSION.SDK.getBytes())))) {
                                byte[] v5_3 = this.g.zzb(this.h, new String(v0_12.data));
                                v6_1.createNewFile();
                                v0_1 = new java.io.FileOutputStream(v6_1);
                                v3 = 0;
                                try {
                                    v0_1.write(v5_3, 0, v5_3.length);
                                    try {
                                        v4_0.close();
                                        try {
                                            v0_1.close();
                                        } catch (java.io.FileInputStream v0) {
                                        }
                                        v0_3 = 1;
                                    } catch (java.io.IOException v2) {
                                    }
                                } catch (java.io.FileInputStream v1_2) {
                                    v3 = v0_1;
                                    v0_2 = v1_2;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                }
                            } else {
                                com.google.android.gms.internal.zzdc.a(v5_0);
                                try {
                                    v4_0.close();
                                } catch (java.io.FileInputStream v0) {
                                }
                                v0_3 = 0;
                            }
                        } else {
                            android.util.Log.d(com.google.android.gms.internal.zzdc.c, "Cannot read the cache data.");
                            com.google.android.gms.internal.zzdc.a(v5_0);
                            try {
                                v4_0.close();
                            } catch (java.io.FileInputStream v0) {
                            }
                            v0_3 = 0;
                        }
                    } catch (java.io.FileInputStream v0_2) {
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    }
                } else {
                    com.google.android.gms.internal.zzdc.a(v5_0);
                    v0_3 = 0;
                }
            } else {
                v0_3 = 0;
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

Method com.google.android.gms.internal.zzdc.a() calling method java.io.FileOutputStream.<init>()


    private final void a(java.io.File p12, String p13)
    {
        java.io.IOException v1_0 = 0;
        java.io.IOException v2_3 = new Object[2];
        v2_3[0] = p12;
        v2_3[1] = p13;
        int v3_0 = new java.io.File(String.format("%s/%s.tmp", v2_3));
        if (!v3_0.exists()) {
            java.io.IOException v2_0 = new Object[2];
            v2_0[0] = p12;
            v2_0[1] = p13;
            java.io.File v4_1 = new java.io.File(String.format("%s/%s.dex", v2_0));
            if (v4_1.exists()) {
                com.google.android.gms.internal.zzcx v6_1 = v4_1.length();
                if (v6_1 > 0) {
                    java.io.IOException v0_8 = new byte[((int) v6_1)];
                    try {
                        java.io.IOException v2_2 = new java.io.FileInputStream(v4_1);
                        try {
                            if (v2_2.read(v0_8) > 0) {
                                int v5_3 = new com.google.android.gms.internal.zzbc();
                                v5_3.zzgg = android.os.Build$VERSION.SDK.getBytes();
                                v5_3.zzgf = p13.getBytes();
                                java.io.IOException v0_12 = this.g.zzc(this.h, v0_8).getBytes();
                                v5_3.data = v0_12;
                                v5_3.zzge = com.google.android.gms.internal.fo.a(v0_12);
                                v3_0.createNewFile();
                                java.io.IOException v0_9 = new java.io.FileOutputStream(v3_0);
                                try {
                                    java.io.IOException v1_1 = com.google.android.gms.internal.zzego.zzc(v5_3);
                                    v0_9.write(v1_1, 0, v1_1.length);
                                    v0_9.close();
                                    try {
                                        v2_2.close();
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                        ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                                    } catch (java.io.IOException v1) {
                                    }
                                } catch (java.io.IOException v1_2) {
                                    v1_0 = v0_9;
                                    java.io.IOException v0_1 = v1_2;
                                    if (v2_2 != null) {
                                        try {
                                            v2_2.close();
                                        } catch (java.io.IOException v2) {
                                        }
                                    }
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                                    throw v0_1;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    if (v0_9 != null) {
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                    }
                                    ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                }
                            } else {
                                try {
                                    v2_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                            }
                        } catch (java.io.IOException v0_1) {
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_2 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    }
                }
            }
        }
        return;
    }

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


    public final declared_synchronized void zza(String p13, com.google.android.gms.internal.zzc p14)
    {
        int v1_0 = 0;
        try {
            Object[] v2_4 = p14.data.length;
        } catch (int v0_4) {
            throw v0_4;
        }
        if ((this.b + ((long) v2_4)) >= ((long) this.d)) {
            if (com.google.android.gms.internal.zzab.DEBUG) {
                Long v3_5 = new Object[0];
                com.google.android.gms.internal.zzab.zza("Pruning old cache entries.", v3_5);
            }
            long v4_1 = this.b;
            long v6_0 = android.os.SystemClock.elapsedRealtime();
            Long v3_6 = this.a.entrySet().iterator();
            while (v3_6.hasNext()) {
                int v0_12 = ((com.google.android.gms.internal.cf) ((java.util.Map$Entry) v3_6.next()).getValue());
                if (!this.c(v0_12.b).delete()) {
                    int v9_1 = new Object[2];
                    v9_1[0] = v0_12.b;
                    v9_1[1] = com.google.android.gms.internal.zzag.b(v0_12.b);
                    com.google.android.gms.internal.zzab.zzb("Could not delete cache entry for key=%s, filename=%s", v9_1);
                } else {
                    this.b = (this.b - v0_12.a);
                }
                v3_6.remove();
                int v0_8 = (v1_0 + 1);
                if (((float) (this.b + ((long) v2_4))) >= (((float) this.d) * 1063675494)) {
                    v1_0 = v0_8;
                }
                if (com.google.android.gms.internal.zzab.DEBUG) {
                    Object[] v2_6 = new Object[3];
                    v2_6[0] = Integer.valueOf(v0_8);
                    v2_6[1] = Long.valueOf((this.b - v4_1));
                    v2_6[2] = Long.valueOf((android.os.SystemClock.elapsedRealtime() - v6_0));
                    com.google.android.gms.internal.zzab.zza("pruned %d files, %d bytes, %d ms", v2_6);
                }
            }
            v0_8 = v1_0;
        }
        int v0_20 = this.c(p13);
        try {
            int v1_11 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v0_20));
            Object[] v2_10 = new com.google.android.gms.internal.cf(p13, p14);
        } catch (int v1) {
            if (v0_20.delete()) {
                return;
            } else {
                Object[] v2_3 = new Object[1];
                v2_3[0] = v0_20.getAbsolutePath();
                com.google.android.gms.internal.zzab.zzb("Could not clean up file %s", v2_3);
                return;
            }
        }
        if (v2_10.a(v1_11)) {
            v1_11.write(p14.data);
            v1_11.close();
            this.a(p13, v2_10);
            return;
        } else {
            v1_11.close();
            Object[] v2_1 = new Object[1];
            v2_1[0] = v0_20.getAbsolutePath();
            com.google.android.gms.internal.zzab.zzb("Failed to write header for %s", v2_1);
            throw new java.io.IOException();
        }
    }

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


    private final java.io.FileOutputStream a()
    {
        if (this.f != null) {
            try {
                IllegalStateException v0_6 = java.io.File.createTempFile("teleporter", ".tmp", this.f);
                try {
                    String v1_2 = new java.io.FileOutputStream(v0_6);
                    this.b = android.os.ParcelFileDescriptor.open(v0_6, 268435456);
                    v0_6.delete();
                    return v1_2;
                } catch (IllegalStateException v0) {
                    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.b = 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 com.github.mikephil.charting.charts.Chart.saveToPath() calling method java.io.FileOutputStream.<init>()


    public boolean saveToPath(String p5, String p6)
    {
        int v0_0 = this.getChartBitmap();
        try {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory().getPath()).append(p6).append("/").append(p5).append(".png").toString());
            v0_0.compress(android.graphics.Bitmap$CompressFormat.PNG, 40, v1_1);
            v1_1.close();
            int v0_1 = 1;
        } catch (int v0_2) {
            v0_2.printStackTrace();
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.github.mikephil.charting.charts.Chart.saveToGallery() calling method java.io.FileOutputStream.<init>()


    public boolean saveToGallery(String p10, String p11, String p12, android.graphics.Bitmap$CompressFormat p13, int p14)
    {
        int v1 = 0;
        if ((p14 < 0) || (p14 > 100)) {
            p14 = 50;
        }
        android.net.Uri v2_5 = System.currentTimeMillis();
        String v4_0 = new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory().getAbsolutePath()).append("/DCIM/").append(p11).toString());
        if ((v4_0.exists()) || (v4_0.mkdirs())) {
            int v0_19;
            switch (com.github.mikephil.charting.charts.Chart$2.$SwitchMap$android$graphics$Bitmap$CompressFormat[p13.ordinal()]) {
                case 1:
                    v0_19 = "image/png";
                    if (p10.endsWith(".png")) {
                    } else {
                        p10 = new StringBuilder().append(p10).append(".png").toString();
                    }
                    break;
                case 2:
                    v0_19 = "image/webp";
                    if (p10.endsWith(".webp")) {
                    } else {
                        p10 = new StringBuilder().append(p10).append(".webp").toString();
                    }
                    break;
                default:
                    v0_19 = "image/jpeg";
                    if ((p10.endsWith(".jpg")) || (p10.endsWith(".jpeg"))) {
                    } else {
                        p10 = new StringBuilder().append(p10).append(".jpg").toString();
                    }
            }
            String v4_6 = new StringBuilder().append(v4_0.getAbsolutePath()).append("/").append(p10).toString();
            try {
                int v0_9;
                android.content.ContentValues v5_32 = new java.io.FileOutputStream(v4_6);
                this.getChartBitmap().compress(p13, p14, v5_32);
                v5_32.flush();
                v5_32.close();
                long v6_0 = new java.io.File(v4_6).length();
                android.content.ContentValues v5_4 = new android.content.ContentValues(8);
                v5_4.put("title", p10);
                v5_4.put("_display_name", p10);
                v5_4.put("date_added", Long.valueOf(v2_5));
                v5_4.put("mime_type", v0_19);
                v5_4.put("description", p12);
                v5_4.put("orientation", Integer.valueOf(0));
                v5_4.put("_data", v4_6);
                v5_4.put("_size", Long.valueOf(v6_0));
            } catch (int v0_8) {
                v0_8.printStackTrace();
            }
            if (this.getContext().getContentResolver().insert(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, v5_4) == null) {
                v0_9 = 0;
            } else {
                v0_9 = 1;
            }
            v1 = v0_9;
        }
        return v1;
    }

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


    public void a(android.content.Context p14, String[] p15, String p16, java.io.File p17, com.getkeepsafe.relinker.c p18)
    {
        int v3_0 = 0;
        try {
            int v6_1 = p14.getApplicationInfo();
            java.io.IOException v2_8 = 0;
        } catch (java.io.IOException v2_10) {
            if (v3_0 != 0) {
                try {
                    v3_0.close();
                } catch (int v3) {
                }
            }
            throw v2_10;
        }
        while(true) {
            int v5_0;
            int v4_4 = (v2_8 + 1);
            if (v2_8 >= 5) {
                break;
            }
            try {
                v5_0 = new java.util.zip.ZipFile(new java.io.File(v6_1.sourceDir), 1);
                try {
                    if (v5_0 != 0) {
                        java.io.IOException v2_4 = 0;
                        while(true) {
                            int v6_0 = (v2_4 + 1);
                            if (v2_4 >= 5) {
                                p18.a("FATAL! Couldn\'t extract the library from the APK!");
                                if (v5_0 != 0) {
                                    try {
                                        v5_0.close();
                                    } catch (java.io.IOException v2) {
                                    }
                                }
                            } else {
                                Object[] v7_2 = p15.length;
                                java.io.IOException v2_15 = 0;
                                int v3_12 = 0;
                                int v4_2 = 0;
                                while (v4_2 < v7_2) {
                                    v3_12 = new StringBuilder().append("lib").append(java.io.File.separatorChar).append(p15[v4_2]).append(java.io.File.separatorChar).append(p16).toString();
                                    v2_15 = v5_0.getEntry(v3_12);
                                    if (v2_15 == null) {
                                        v4_2++;
                                    } else {
                                        int v4_3 = v2_15;
                                        java.io.IOException v2_16 = v3_12;
                                    }
                                    if (v2_16 != null) {
                                        Object[] v7_4 = new Object[1];
                                        v7_4[0] = v2_16;
                                        p18.a("Looking for %s in APK...", v7_4);
                                    }
                                    if (v4_3 != 0) {
                                        Object[] v7_6 = new Object[1];
                                        v7_6[0] = v2_16;
                                        p18.a("Found %s! Extracting...", v7_6);
                                        try {
                                            if ((p17.exists()) || (p17.createNewFile())) {
                                                int v3_5 = 0;
                                                try {
                                                    int v4_0 = v5_0.getInputStream(v4_3);
                                                    try {
                                                        java.io.IOException v2_2 = new java.io.FileOutputStream(p17);
                                                        try {
                                                            long v8_0 = this.a(v4_0, v2_2);
                                                            v2_2.getFD().sync();
                                                        } catch (int v3_4) {
                                                            v3_5 = v2_2;
                                                            java.io.IOException v2_0 = v3_4;
                                                            this.a(v4_0);
                                                            this.a(v3_5);
                                                            throw v2_0;
                                                        } catch (int v3) {
                                                            int v3_1 = v4_0;
                                                            this.a(v3_1);
                                                            this.a(v2_2);
                                                            v2_4 = v6_0;
                                                        } catch (int v3) {
                                                            this.a(v4_0);
                                                            this.a(v2_2);
                                                            v2_4 = v6_0;
                                                        }
                                                        if (v8_0 == p17.length()) {
                                                            this.a(v4_0);
                                                            this.a(v2_2);
                                                            p17.setReadable(1, 0);
                                                            p17.setExecutable(1, 0);
                                                            p17.setWritable(1);
                                                            if (v5_0 != 0) {
                                                                try {
                                                                    v5_0.close();
                                                                } catch (java.io.IOException v2) {
                                                                }
                                                            }
                                                        } else {
                                                            this.a(v4_0);
                                                            this.a(v2_2);
                                                            v2_4 = v6_0;
                                                        }
                                                    } catch (java.io.IOException v2_0) {
                                                    } catch (java.io.IOException v2) {
                                                        v2_2 = 0;
                                                        v3_1 = v4_0;
                                                    } catch (java.io.IOException v2) {
                                                        v2_2 = 0;
                                                    }
                                                } catch (int v4) {
                                                    v3_1 = 0;
                                                    v2_2 = 0;
                                                }
                                            } else {
                                            }
                                        } catch (java.io.IOException v2) {
                                            v2_4 = v6_0;
                                        }
                                        v2_4 = v6_0;
                                    } else {
                                        if (v2_16 == null) {
                                            throw new com.getkeepsafe.relinker.MissingLibraryException(p16);
                                        } else {
                                            throw new com.getkeepsafe.relinker.MissingLibraryException(v2_16);
                                        }
                                    }
                                }
                                v4_3 = v2_15;
                                v2_16 = v3_12;
                            }
                        }
                    } else {
                        p18.a("FATAL! Couldn\'t find application APK!");
                        if (v5_0 != 0) {
                            try {
                                v5_0.close();
                            } catch (java.io.IOException v2) {
                            }
                        }
                    }
                } catch (java.io.IOException v2_10) {
                    v3_0 = v5_0;
                }
                return;
            } catch (java.io.IOException v2) {
                v2_8 = v4_4;
            }
        }
        v5_0 = 0;
    }

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


    public void writeUserData(String p7, com.crashlytics.android.core.UserMetaData p8)
    {
        Exception v0_0 = this.getUserDataFileForSession(p7);
        String v2_0 = 0;
        try {
            String v3_1 = com.crashlytics.android.core.MetaDataStore.userDataToJson(p8);
            String v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_0), com.crashlytics.android.core.MetaDataStore.UTF_8));
            try {
                v1_0.write(v3_1);
                v1_0.flush();
                io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close user metadata file.");
            } catch (Exception v0_1) {
                io.fabric.sdk.android.c.h().e("CrashlyticsCore", "Error serializing user metadata.", v0_1);
                io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close user metadata file.");
            }
            return;
        } catch (Exception v0_2) {
            io.fabric.sdk.android.services.b.i.a(v2_0, "Failed to close user metadata file.");
            throw v0_2;
        } catch (Exception v0_1) {
            v1_0 = 0;
        } catch (Exception v0_2) {
            v2_0 = v1_0;
        }
    }

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


    public void writeKeyData(String p7, java.util.Map p8)
    {
        Exception v0_0 = this.getKeysFileForSession(p7);
        String v2_0 = 0;
        try {
            String v3_1 = com.crashlytics.android.core.MetaDataStore.keysDataToJson(p8);
            String v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_0), com.crashlytics.android.core.MetaDataStore.UTF_8));
            try {
                v1_0.write(v3_1);
                v1_0.flush();
                io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close key/value metadata file.");
            } catch (Exception v0_1) {
                io.fabric.sdk.android.c.h().e("CrashlyticsCore", "Error serializing key/value metadata.", v0_1);
                io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close key/value metadata file.");
            }
            return;
        } catch (Exception v0_2) {
            io.fabric.sdk.android.services.b.i.a(v2_0, "Failed to close key/value metadata file.");
            throw v0_2;
        } catch (Exception v0_1) {
            v1_0 = 0;
        } catch (Exception v0_2) {
            v2_0 = v1_0;
        }
    }

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


    public ClsFileOutputStream(java.io.File p4, String p5)
    {
        super(new java.io.File(p4, new StringBuilder().append(p5).append(".cls_temp").toString()));
        super.closed = 0;
        super.root = new StringBuilder().append(p4).append(java.io.File.separator).append(p5).toString();
        super.inProgress = new java.io.File(new StringBuilder().append(super.root).append(".cls_temp").toString());
        return;
    }

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


    public void a(com.appsflyer.a.b p8, android.content.Context p9)
    {
        java.io.IOException v0_0 = 0;
        try {
            java.io.IOException v1_2 = this.c(p9);
        } catch (java.io.IOException v1_5) {
            java.io.IOException v1_4 = 0;
            java.io.IOException v0_1 = v1_5;
            if (v1_4 != null) {
                try {
                    v1_4.close();
                } catch (java.io.IOException v1) {
                }
            }
            throw v0_1;
        } catch (java.io.IOException v1) {
            try {
                android.util.Log.i(com.appsflyer.f.c, "Could not cache request");
            } catch (java.io.IOException v1_7) {
                v1_4 = v0_0;
                v0_1 = v1_7;
            }
            if (v0_0 == null) {
                return;
            } else {
                try {
                    v0_0.close();
                } catch (java.io.IOException v0) {
                }
                return;
            }
        }
        if (v1_2.exists()) {
            java.io.IOException v1_8 = v1_2.listFiles();
            if ((v1_8 == null) || (v1_8.length <= 40)) {
                android.util.Log.i(com.appsflyer.f.c, "caching request...");
                String v2_3 = new java.io.File(this.c(p9), Long.toString(System.currentTimeMillis()));
                v2_3.createNewFile();
                v1_4 = new java.io.OutputStreamWriter(new java.io.FileOutputStream(v2_3.getPath(), 1));
                try {
                    v1_4.write("version=");
                    v1_4.write(p8.a());
                    v1_4.write(10);
                    v1_4.write("url=");
                    v1_4.write(p8.c());
                    v1_4.write(10);
                    v1_4.write("data=");
                    v1_4.write(p8.b());
                    v1_4.write(10);
                    v1_4.flush();
                } catch (java.io.IOException v0_1) {
                } catch (java.io.IOException v0) {
                    v0_0 = v1_4;
                }
                if (v1_4 == null) {
                    return;
                } else {
                    try {
                        v1_4.close();
                    } catch (java.io.IOException v0) {
                    }
                    return;
                }
            } else {
                android.util.Log.i(com.appsflyer.f.c, "reached cache limit, not caching request");
                if (0 == 0) {
                    return;
                } else {
                    try {
                        0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return;
                }
            }
        } else {
            v1_2.mkdir();
            if (0 == 0) {
                return;
            } else {
                try {
                    0.close();
                } catch (java.io.IOException v0) {
                }
                return;
            }
        }
    }

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.core.system.DefaultFileManager.a() calling method java.io.FileOutputStream.<init>()


    public declared_synchronized java.io.OutputStream a(java.io.File p2, boolean p3)
    {
        try {
            return new java.io.FileOutputStream(p2, p3);
        } catch (Throwable v0_2) {
            throw v0_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)) {
                    android.util.Log.w("AtomicFile", new StringBuilder().append("Couldn\'t rename file ").append(this.mBaseName).append(" to backup file ").append(this.mBackupName).toString());
                }
            }
        }
        try {
            java.io.IOException v0_6 = new java.io.FileOutputStream(this.mBaseName);
        } catch (java.io.IOException v0) {
            if (this.mBaseName.getParentFile().mkdirs()) {
                try {
                    v0_6 = new java.io.FileOutputStream(this.mBaseName);
                } catch (java.io.IOException v0) {
                    throw new java.io.IOException(new StringBuilder().append("Couldn\'t create ").append(this.mBaseName).toString());
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("Couldn\'t create directory ").append(this.mBaseName).toString());
            }
        }
        return v0_6;
    }

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


    protected varargs Throwable doInBackground(Void[] p10)
    {
        Throwable v0_0 = 0;
        try {
            if (!this.val$cancellationSignal.isCanceled()) {
                android.print.pdf.PrintedPdfDocument v2_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$pdfAttributes);
                android.graphics.Bitmap v3_1 = android.support.v4.print.PrintHelperKitkat.access$100(this.this$0, this.val$bitmap, this.val$pdfAttributes.getColorMode());
                if (!this.val$cancellationSignal.isCanceled()) {
                    try {
                        java.io.IOException v1_15;
                        java.io.FileDescriptor v4_2 = v2_1.startPage(1);
                    } catch (Throwable v0_1) {
                        v2_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v1) {
                            }
                        }
                        if (v3_1 != this.val$bitmap) {
                            v3_1.recycle();
                        }
                        throw v0_1;
                    }
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        android.graphics.Matrix v5_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$attributes);
                        android.graphics.Canvas v6_1 = v5_1.startPage(1);
                        v1_15 = new android.graphics.RectF(v6_1.getInfo().getContentRect());
                        v5_1.finishPage(v6_1);
                        v5_1.close();
                    } else {
                        v1_15 = new android.graphics.RectF(v4_2.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v5_5 = android.support.v4.print.PrintHelperKitkat.access$200(this.this$0, v3_1.getWidth(), v3_1.getHeight(), v1_15, this.val$fittingMode);
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        v5_5.postTranslate(v1_15.left, v1_15.top);
                        v4_2.getCanvas().clipRect(v1_15);
                    }
                    v4_2.getCanvas().drawBitmap(v3_1, v5_5, 0);
                    v2_1.finishPage(v4_2);
                    if (!this.val$cancellationSignal.isCanceled()) {
                        v2_1.writeTo(new java.io.FileOutputStream(this.val$fileDescriptor.getFileDescriptor()));
                        v2_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v1) {
                            }
                        }
                        if (v3_1 != this.val$bitmap) {
                            v3_1.recycle();
                        }
                    } else {
                        v2_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v1) {
                            }
                        }
                        if (v3_1 != this.val$bitmap) {
                            v3_1.recycle();
                        }
                    }
                }
            }
        } catch (Throwable v0_0) {
        }
        return v0_0;
    }

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


    private static void extract(java.util.zip.ZipFile p6, java.util.zip.ZipEntry p7, java.io.File p8, String p9)
    {
        java.io.InputStream v1 = p6.getInputStream(p7);
        java.io.File v2_1 = java.io.File.createTempFile(p9, ".zip", p8.getParentFile());
        android.util.Log.i("MultiDex", new StringBuilder().append("Extracting ").append(v2_1.getPath()).toString());
        try {
            String v3_4 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(new java.io.FileOutputStream(v2_1)));
            try {
                java.io.IOException v0_4 = new java.util.zip.ZipEntry("classes.dex");
                v0_4.setTime(p7.getTime());
                v3_4.putNextEntry(v0_4);
                String v4_6 = new byte[16384];
                java.io.IOException v0_6 = v1.read(v4_6);
            } catch (java.io.IOException v0_12) {
                v3_4.close();
                throw v0_12;
            }
            while (v0_6 != -1) {
                v3_4.write(v4_6, 0, v0_6);
                v0_6 = v1.read(v4_6);
            }
            v3_4.closeEntry();
            v3_4.close();
            android.util.Log.i("MultiDex", new StringBuilder().append("Renaming to ").append(p8.getPath()).toString());
            if (v2_1.renameTo(p8)) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v1);
                v2_1.delete();
                return;
            } else {
                throw new java.io.IOException(new StringBuilder().append("Failed to rename \"").append(v2_1.getAbsolutePath()).append("\" to \"").append(p8.getAbsolutePath()).append("\"").toString());
            }
        } catch (java.io.IOException v0_13) {
            android.support.multidex.MultiDexExtractor.closeQuietly(v1);
            v2_1.delete();
            throw v0_13;
        }
    }

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


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

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


    public static a.s b(java.io.File p2)
    {
        if (p2 != null) {
            return a.m.a(new java.io.FileOutputStream(p2));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

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


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

Method com.github.mikephil.charting.utils.FileUtils.saveToSdCard() calling method java.io.FileWriter.<init>()


    public static void saveToSdCard(java.util.List p5, String p6)
    {
        String v1_3 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), p6);
        if (!v1_3.exists()) {
            try {
                v1_3.createNewFile();
            } catch (String v0_13) {
                android.util.Log.e("MPChart-FileUtils", v0_13.toString());
            }
            String v2_1 = new java.io.BufferedWriter(new java.io.FileWriter(v1_3, 1));
            String v1_0 = p5.iterator();
            while (v1_0.hasNext()) {
                String v0_8 = ((com.github.mikephil.charting.data.Entry) v1_0.next());
                v2_1.append(new StringBuilder().append(v0_8.getY()).append("#").append(v0_8.getX()).toString());
                v2_1.newLine();
            }
            v2_1.close();
            return;
        }
        try {
        } catch (String v0_5) {
            android.util.Log.e("MPChart-FileUtils", v0_5.toString());
            return;
        }
    }

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.delivery.FileEventStore.a() calling method java.io.FileWriter.<init>()


    private java.io.File a(int p11)
    {
        String v2_0 = 0;
        com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.core.system.FileManager v6 = this.c.e().a();
        java.io.File v7 = v6.a("events");
        try {
            java.io.IOException v0_7 = new java.io.File(v7, "eventsFile.tmp");
        } catch (java.io.IOException v0_9) {
            android.util.Log.e("FileEventStore", "An error occurred while attempting to create/open the temporary events file", v0_9);
            java.io.IOException v0_8 = this.d;
            return v0_8;
        }
        if ((v0_7.exists()) && (!v0_7.delete())) {
            android.util.Log.e("FileEventStore", "Failed to delete previous temp file");
        }
        java.io.File v8 = v6.a(v0_7);
        if ((v8 != null) && ((this.d.exists()) && (v8.exists()))) {
            try {
                String v3_1 = new java.io.BufferedReader(new java.io.FileReader(this.d));
                try {
                    String v1_20 = new java.io.PrintWriter(new java.io.FileWriter(v8, 1));
                    java.io.IOException v0_20 = 0;
                    try {
                        do {
                            String v2_6 = v3_1.readLine();
                        } while(v0_20 <= p11);
                        v1_20.println(v2_6);
                        v1_20.flush();
                    } catch (java.io.IOException v0_0) {
                        v2_0 = v1_20;
                        String v1_0 = 0;
                        if (v2_0 != null) {
                            v2_0.close();
                        }
                        if (v3_1 != null) {
                            try {
                                v3_1.close();
                            } catch (String v2) {
                            }
                        }
                        if (v1_0 == null) {
                            if (!this.d.delete()) {
                                android.util.Log.e("FileEventStore", "Failed to delete previous events file");
                            } else {
                                if (!v8.renameTo(this.d)) {
                                    android.util.Log.e("FileEventStore", "Failed to rename temp file to events file");
                                }
                                try {
                                    this.d = v6.a(new java.io.File(v7, "eventsFile"));
                                } catch (String v1_15) {
                                    android.util.Log.e("FileEventStore", "An error occurred while attempting to create the eventsFile", v1_15);
                                }
                            }
                        }
                        throw v0_0;
                    } catch (java.io.IOException v0_1) {
                        v2_0 = v3_1;
                        try {
                            android.util.Log.e("FileEventStore", "The events file count not be found", v0_1);
                        } catch (java.io.IOException v0_0) {
                            v3_1 = v2_0;
                            v2_0 = v1_20;
                            v1_0 = 1;
                        }
                        if (v1_20 != null) {
                            v1_20.close();
                        }
                        if (v2_0 == null) {
                            java.io.IOException v0_4 = new java.io.File(v7, "eventsFile.tmp");
                            if ((v0_4.exists()) && (!v0_4.delete())) {
                                android.util.Log.e("FileEventStore", "Failed to delete temp file");
                            }
                        } else {
                            try {
                                v2_0.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                    } catch (java.io.IOException v0_16) {
                        v2_0 = v1_20;
                        android.util.Log.e("FileEventStore", "An error occurred while attempting to delete the read events", v0_16);
                        if (v2_0 != null) {
                            v2_0.close();
                        }
                        if (v3_1 == null) {
                        } else {
                            try {
                                v3_1.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                    }
                    if (v2_6 == null) {
                        if (v1_20 != null) {
                            v1_20.close();
                        }
                        if (v3_1 != null) {
                            try {
                                v3_1.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                        if (!this.d.delete()) {
                            android.util.Log.e("FileEventStore", "Failed to delete previous events file");
                        } else {
                            if (!v8.renameTo(this.d)) {
                                android.util.Log.e("FileEventStore", "Failed to rename temp file to events file");
                            }
                            try {
                                this.d = v6.a(new java.io.File(v7, "eventsFile"));
                            } catch (java.io.IOException v0_31) {
                                android.util.Log.e("FileEventStore", "An error occurred while attempting to create the eventsFile", v0_31);
                            }
                        }
                    } else {
                        v0_20++;
                        if (v0_20 > p11) {
                        }
                    }
                } catch (java.io.IOException v0_1) {
                    v1_20 = 0;
                    v2_0 = v3_1;
                } catch (java.io.IOException v0_16) {
                }
            } catch (java.io.IOException v0_0) {
                v3_1 = 0;
                v1_0 = 0;
            } catch (java.io.IOException v0_1) {
                v1_20 = 0;
            } catch (java.io.IOException v0_16) {
                v3_1 = 0;
            } catch (java.io.IOException v0_0) {
                v1_0 = 0;
            }
        }
        v0_8 = this.d;
        return v0_8;
    }

Method io.intercom.com.bumptech.glide.load.resource.b.c$a.a() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream a(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method io.intercom.com.bumptech.glide.a.a.c() calling method java.io.FileInputStream.<init>()


    private void c()
    {
        io.intercom.com.bumptech.glide.a.b v1_1 = new io.intercom.com.bumptech.glide.a.b(new java.io.FileInputStream(this.c), io.intercom.com.bumptech.glide.a.c.a);
        try {
            java.io.BufferedWriter v0_7 = v1_1.a();
            java.io.OutputStreamWriter v2_9 = v1_1.a();
            java.io.FileOutputStream v3_0 = v1_1.a();
            java.nio.charset.Charset v4_0 = v1_1.a();
            int v5_0 = v1_1.a();
        } catch (java.io.BufferedWriter v0_17) {
            io.intercom.com.bumptech.glide.a.c.a(v1_1);
            throw v0_17;
        }
        if (("libcore.io.DiskLruCache".equals(v0_7)) && (("1".equals(v2_9)) && ((Integer.toString(this.f).equals(v3_0)) && ((Integer.toString(this.h).equals(v4_0)) && ("".equals(v5_0)))))) {
            java.io.BufferedWriter v0_2 = 0;
            try {
                while(true) {
                    this.d(v1_1.a());
                    v0_2++;
                }
            } catch (java.io.OutputStreamWriter v2) {
                this.l = (v0_2 - this.k.size());
                if (!v1_1.b()) {
                    this.j = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c, 1), io.intercom.com.bumptech.glide.a.c.a));
                } else {
                    this.e();
                }
                io.intercom.com.bumptech.glide.a.c.a(v1_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v0_7).append(", ").append(v2_9).append(", ").append(v4_0).append(", ").append(v5_0).append("]").toString());
        }
    }

Method io.intercom.android.sdk.conversation.ConversationWebViewClient.shouldInterceptRequest() calling method java.io.FileInputStream.<init>()


    public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView p8, String p9)
    {
        android.webkit.WebResourceResponse v0_1;
        if (!this.isRequestForFavicon(p9)) {
            android.webkit.WebResourceResponse v0_5 = android.net.Uri.parse(p9);
            if ((!v0_5.getHost().equals(this.webPageUri.getHost())) || ((android.text.TextUtils.isEmpty(v0_5.getQueryParameter("filePath"))) || (android.text.TextUtils.isEmpty(v0_5.getQueryParameter("mimeType"))))) {
                v0_1 = 0;
            } else {
                try {
                    v0_1 = new android.webkit.WebResourceResponse(v0_5.getQueryParameter("mimeType"), "UTF-8", new java.io.BufferedInputStream(new java.io.FileInputStream(new java.io.File(v0_5.getQueryParameter("filePath")))));
                } catch (android.webkit.WebResourceResponse v0) {
                    v0_1 = new android.webkit.WebResourceResponse("text/plain", "UTF-8", 0);
                }
            }
        } else {
            v0_1 = new android.webkit.WebResourceResponse(0, 0, 0);
        }
        return v0_1;
    }

Method io.intercom.a.l.a() calling method java.io.FileInputStream.<init>()


    public static io.intercom.a.s a(java.io.File p2)
    {
        if (p2 != null) {
            return ark>io.intercom.a.lark>.a(new java.io.FileInputStream(p2));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

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


    public ark>io.fabric.sdk.android.services.network.HttpRequestark> a(String p4, String p5, String p6, java.io.File p7)
    {
        try {
            java.io.IOException v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p7));
            try {
                java.io.IOException v0_0 = this.a(p4, p5, p6, v1_1);
            } catch (java.io.IOException v0_1) {
                throw new ark>io.fabric.sdk.android.services.network.HttpRequestark>$HttpRequestException(v0_1);
            }
            if (v1_1 != null) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v1) {
                }
            }
            return v0_0;
        } catch (java.io.IOException v0_2) {
            v1_1 = 0;
            if (v1_1 != null) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v1) {
                }
            }
            throw v0_2;
        } catch (java.io.IOException v0_1) {
            v1_1 = 0;
        } catch (java.io.IOException v0_2) {
        }
    }

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


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

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


    private void a(java.io.File p5, java.io.File p6)
    {
        java.io.OutputStream v2 = 0;
        try {
            String v1_2 = new java.io.FileInputStream(p5);
            try {
                v2 = this.a(p6);
                Throwable v0_4 = new byte[1024];
                io.fabric.sdk.android.services.b.i.a(v1_2, v2, v0_4);
                io.fabric.sdk.android.services.b.i.a(v1_2, "Failed to close file input stream");
                io.fabric.sdk.android.services.b.i.a(v2, "Failed to close output stream");
                p5.delete();
                return;
            } catch (Throwable v0_2) {
                io.fabric.sdk.android.services.b.i.a(v1_2, "Failed to close file input stream");
                io.fabric.sdk.android.services.b.i.a(v2, "Failed to close output stream");
                p5.delete();
                throw v0_2;
            }
        } catch (Throwable v0_2) {
            v1_2 = 0;
        }
        v2 = this.a(p6);
        v0_4 = new byte[1024];
        io.fabric.sdk.android.services.b.i.a(v1_2, v2, v0_4);
        io.fabric.sdk.android.services.b.i.a(v1_2, "Failed to close file input stream");
        io.fabric.sdk.android.services.b.i.a(v2, "Failed to close output stream");
        p5.delete();
        return;
    }

Method com.google.android.gms.internal.zzdc.b() calling method java.io.FileInputStream.<init>()


    private final boolean b(java.io.File p13, String p14)
    {
        java.io.FileInputStream v0_3;
        int v3 = 0;
        java.io.FileInputStream v4_3 = new Object[2];
        v4_3[0] = p13;
        v4_3[1] = p14;
        byte[] v5_0 = new java.io.File(String.format("%s/%s.tmp", v4_3));
        if (v5_0.exists()) {
            java.io.FileInputStream v4_1 = new Object[2];
            v4_1[0] = p13;
            v4_1[1] = p14;
            int v6_1 = new java.io.File(String.format("%s/%s.dex", v4_1));
            if (!v6_1.exists()) {
                try {
                    String v8_0 = v5_0.length();
                } catch (java.io.FileInputStream v0_2) {
                    java.io.FileInputStream v4_0 = 0;
                    if (v4_0 != null) {
                        try {
                            v4_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v3 != 0) {
                        try {
                            v3.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    throw v0_2;
                } catch (java.io.FileInputStream v0) {
                    java.io.FileInputStream v0_1 = 0;
                    java.io.FileInputStream v1_0 = 0;
                    if (v1_0 != null) {
                        try {
                            v1_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v0_1 != null) {
                        try {
                            v0_1.close();
                        } catch (java.io.FileInputStream v0) {
                        }
                    }
                    v0_3 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                }
                if (v8_0 > 0) {
                    java.io.FileInputStream v0_10 = new byte[((int) v8_0)];
                    v4_0 = new java.io.FileInputStream(v5_0);
                    try {
                        if (v4_0.read(v0_10) > 0) {
                            java.io.FileInputStream v0_12 = ((com.google.android.gms.internal.zzbc) com.google.android.gms.internal.zzego.zza(new com.google.android.gms.internal.zzbc(), v0_10));
                            if ((p14.equals(new String(v0_12.zzgf))) && ((java.util.Arrays.equals(v0_12.zzge, com.google.android.gms.internal.fo.a(v0_12.data))) && (java.util.Arrays.equals(v0_12.zzgg, android.os.Build$VERSION.SDK.getBytes())))) {
                                byte[] v5_3 = this.g.zzb(this.h, new String(v0_12.data));
                                v6_1.createNewFile();
                                v0_1 = new java.io.FileOutputStream(v6_1);
                                v3 = 0;
                                try {
                                    v0_1.write(v5_3, 0, v5_3.length);
                                    try {
                                        v4_0.close();
                                        try {
                                            v0_1.close();
                                        } catch (java.io.FileInputStream v0) {
                                        }
                                        v0_3 = 1;
                                    } catch (java.io.IOException v2) {
                                    }
                                } catch (java.io.FileInputStream v1_2) {
                                    v3 = v0_1;
                                    v0_2 = v1_2;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                }
                            } else {
                                com.google.android.gms.internal.zzdc.a(v5_0);
                                try {
                                    v4_0.close();
                                } catch (java.io.FileInputStream v0) {
                                }
                                v0_3 = 0;
                            }
                        } else {
                            android.util.Log.d(com.google.android.gms.internal.zzdc.c, "Cannot read the cache data.");
                            com.google.android.gms.internal.zzdc.a(v5_0);
                            try {
                                v4_0.close();
                            } catch (java.io.FileInputStream v0) {
                            }
                            v0_3 = 0;
                        }
                    } catch (java.io.FileInputStream v0_2) {
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    }
                } else {
                    com.google.android.gms.internal.zzdc.a(v5_0);
                    v0_3 = 0;
                }
            } else {
                v0_3 = 0;
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

Method com.google.android.gms.internal.zzdc.a() calling method java.io.FileInputStream.<init>()


    private final void a(java.io.File p12, String p13)
    {
        java.io.IOException v1_0 = 0;
        java.io.IOException v2_3 = new Object[2];
        v2_3[0] = p12;
        v2_3[1] = p13;
        int v3_0 = new java.io.File(String.format("%s/%s.tmp", v2_3));
        if (!v3_0.exists()) {
            java.io.IOException v2_0 = new Object[2];
            v2_0[0] = p12;
            v2_0[1] = p13;
            java.io.File v4_1 = new java.io.File(String.format("%s/%s.dex", v2_0));
            if (v4_1.exists()) {
                com.google.android.gms.internal.zzcx v6_1 = v4_1.length();
                if (v6_1 > 0) {
                    java.io.IOException v0_8 = new byte[((int) v6_1)];
                    try {
                        java.io.IOException v2_2 = new java.io.FileInputStream(v4_1);
                        try {
                            if (v2_2.read(v0_8) > 0) {
                                int v5_3 = new com.google.android.gms.internal.zzbc();
                                v5_3.zzgg = android.os.Build$VERSION.SDK.getBytes();
                                v5_3.zzgf = p13.getBytes();
                                java.io.IOException v0_12 = this.g.zzc(this.h, v0_8).getBytes();
                                v5_3.data = v0_12;
                                v5_3.zzge = com.google.android.gms.internal.fo.a(v0_12);
                                v3_0.createNewFile();
                                java.io.IOException v0_9 = new java.io.FileOutputStream(v3_0);
                                try {
                                    java.io.IOException v1_1 = com.google.android.gms.internal.zzego.zzc(v5_3);
                                    v0_9.write(v1_1, 0, v1_1.length);
                                    v0_9.close();
                                    try {
                                        v2_2.close();
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                        ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                                    } catch (java.io.IOException v1) {
                                    }
                                } catch (java.io.IOException v1_2) {
                                    v1_0 = v0_9;
                                    java.io.IOException v0_1 = v1_2;
                                    if (v2_2 != null) {
                                        try {
                                            v2_2.close();
                                        } catch (java.io.IOException v2) {
                                        }
                                    }
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                                    throw v0_1;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    if (v0_9 != null) {
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                    }
                                    ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                }
                            } else {
                                try {
                                    v2_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                            }
                        } catch (java.io.IOException v0_1) {
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_2 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    }
                }
            }
        }
        return;
    }

Method com.google.android.gms.internal.zzag.zza() calling method java.io.FileInputStream.<init>()


    public final declared_synchronized com.google.android.gms.internal.zzc zza(String p11)
    {
        try {
            int v0_8;
            int v0_5 = ((com.google.android.gms.internal.cf) this.a.get(p11));
        } catch (int v0_10) {
            throw v0_10;
        }
        if (v0_5 != 0) {
            int v4_2 = this.c(p11);
            try {
                String v3_0 = new com.google.android.gms.internal.ct(new java.io.BufferedInputStream(new java.io.FileInputStream(v4_2)), 0);
                try {
                    com.google.android.gms.internal.cf.a(v3_0);
                    Object[] v5_3 = com.google.android.gms.internal.zzag.a(v3_0, ((int) (v4_2.length() - ((long) com.google.android.gms.internal.ct.a(v3_0)))));
                    String v2_5 = new com.google.android.gms.internal.zzc();
                    v2_5.data = v5_3;
                    v2_5.zza = v0_5.c;
                    v2_5.zzb = v0_5.d;
                    v2_5.zzc = v0_5.e;
                    v2_5.zzd = v0_5.f;
                    v2_5.zze = v0_5.g;
                    v2_5.zzf = v0_5.h;
                    try {
                        v3_0.close();
                        v0_8 = v2_5;
                    } catch (int v0) {
                        v0_8 = 0;
                    }
                } catch (int v0_2) {
                    String v2_1 = v3_0;
                    try {
                        Object[] v5_8 = new Object[2];
                        v5_8[0] = v4_2.getAbsolutePath();
                        v5_8[1] = v0_2.toString();
                        com.google.android.gms.internal.zzab.zzb("%s: %s", v5_8);
                        this.a(p11);
                    } catch (int v0_3) {
                        v3_0 = v2_1;
                        if (v3_0 != null) {
                            try {
                                v3_0.close();
                            } catch (int v0) {
                                v0_8 = 0;
                                return v0_8;
                            }
                        }
                        throw v0_3;
                    }
                    if (v2_1 != null) {
                        try {
                            v2_1.close();
                        } catch (int v0) {
                            v0_8 = 0;
                            return v0_8;
                        }
                    }
                    v0_8 = 0;
                } catch (int v0_1) {
                    Object[] v5_6 = new Object[2];
                    v5_6[0] = v4_2.getAbsolutePath();
                    v5_6[1] = v0_1.toString();
                    com.google.android.gms.internal.zzab.zzb("%s: %s", v5_6);
                    this.a(p11);
                    if (v3_0 != null) {
                        try {
                            v3_0.close();
                        } catch (int v0) {
                            v0_8 = 0;
                            return v0_8;
                        }
                    }
                    v0_8 = 0;
                }
            } catch (int v0_3) {
                v3_0 = 0;
            } catch (int v0_2) {
                v2_1 = 0;
            } catch (int v0_1) {
                v3_0 = 0;
            } catch (int v0_3) {
            }
        } else {
            v0_8 = 0;
        }
        return v0_8;
    }

Method com.google.android.gms.internal.zzag.initialize() calling method java.io.FileInputStream.<init>()


    public final declared_synchronized void initialize()
    {
        try {
            if (this.c.exists()) {
                String v3_2 = this.c.listFiles();
                if (v3_2 != null) {
                    int v4 = v3_2.length;
                    int v2_0 = 0;
                    while (v2_0 < v4) {
                        String v5 = v3_2[v2_0];
                        java.io.IOException v1_1 = 0;
                        try {
                            java.io.IOException v0_2 = new java.io.BufferedInputStream(new java.io.FileInputStream(v5));
                            try {
                                java.io.IOException v1_2 = com.google.android.gms.internal.cf.a(v0_2);
                                v1_2.a = v5.length();
                                this.a(v1_2.b, v1_2);
                                try {
                                    v0_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                v2_0++;
                            } catch (java.io.IOException v1) {
                                if (v5 != null) {
                                    v5.delete();
                                }
                                if (v0_2 == null) {
                                } else {
                                    try {
                                        v0_2.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                            }
                        } catch (java.io.IOException v0_3) {
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            throw v0_3;
                        } catch (java.io.IOException v0) {
                            v0_2 = 0;
                        } catch (java.io.IOException v1_4) {
                            v1_1 = v0_2;
                            v0_3 = v1_4;
                        }
                    }
                }
            } else {
                if (!this.c.mkdirs()) {
                    java.io.IOException v1_7 = new Object[1];
                    v1_7[0] = this.c.getAbsolutePath();
                    com.google.android.gms.internal.zzab.zzc("Unable to create cache dir %s", v1_7);
                }
            }
        } catch (java.io.IOException v0_8) {
            throw v0_8;
        }
        return;
    }

Method com.getkeepsafe.relinker.a.f.<init>() calling method java.io.FileInputStream.<init>()


    public f(java.io.File p3)
    {
        this.a = 1179403647;
        if ((p3 != null) && (p3.exists())) {
            this.b = new java.io.FileInputStream(p3).getChannel();
            return;
        } else {
            throw new IllegalArgumentException("File is null or does not exist");
        }
    }

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


    public com.crashlytics.android.core.UserMetaData readUserData(String p6)
    {
        Exception v0_3;
        Exception v0_0 = this.getUserDataFileForSession(p6);
        if (v0_0.exists()) {
            try {
                int v1_0 = new java.io.FileInputStream(v0_0);
                try {
                    v0_3 = com.crashlytics.android.core.MetaDataStore.jsonToUserData(io.fabric.sdk.android.services.b.i.a(v1_0));
                    io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close user metadata file.");
                } catch (Exception v0_4) {
                    io.fabric.sdk.android.c.h().e("CrashlyticsCore", "Error deserializing user metadata.", v0_4);
                    io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close user metadata file.");
                    v0_3 = com.crashlytics.android.core.UserMetaData.EMPTY;
                }
            } catch (Exception v0_1) {
                v1_0 = 0;
                io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close user metadata file.");
                throw v0_1;
            } catch (Exception v0_4) {
                v1_0 = 0;
            } catch (Exception v0_1) {
            }
        } else {
            v0_3 = com.crashlytics.android.core.UserMetaData.EMPTY;
        }
        return v0_3;
    }

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


    public java.util.Map readKeyData(String p6)
    {
        Exception v0_3;
        Exception v0_0 = this.getKeysFileForSession(p6);
        if (v0_0.exists()) {
            try {
                int v1_0 = new java.io.FileInputStream(v0_0);
                try {
                    v0_3 = com.crashlytics.android.core.MetaDataStore.jsonToKeysData(io.fabric.sdk.android.services.b.i.a(v1_0));
                    io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close user metadata file.");
                } catch (Exception v0_4) {
                    io.fabric.sdk.android.c.h().e("CrashlyticsCore", "Error deserializing user metadata.", v0_4);
                    io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close user metadata file.");
                    v0_3 = java.util.Collections.emptyMap();
                }
            } catch (Exception v0_1) {
                v1_0 = 0;
                io.fabric.sdk.android.services.b.i.a(v1_0, "Failed to close user metadata file.");
                throw v0_1;
            } catch (Exception v0_4) {
                v1_0 = 0;
            } catch (Exception v0_1) {
            }
        } else {
            v0_3 = java.util.Collections.emptyMap();
        }
        return v0_3;
    }

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


    private static void writeToCosFromFile(com.crashlytics.android.core.CodedOutputStream p5, java.io.File p6)
    {
        if (p6.exists()) {
            try {
                int v1_2 = new java.io.FileInputStream(p6);
                try {
                    com.crashlytics.android.core.CrashlyticsController.copyToCodedOutputStream(v1_2, p5, ((int) p6.length()));
                    io.fabric.sdk.android.services.b.i.a(v1_2, "Failed to close file input stream.");
                } catch (Throwable v0_2) {
                    io.fabric.sdk.android.services.b.i.a(v1_2, "Failed to close file input stream.");
                    throw v0_2;
                }
            } catch (Throwable v0_2) {
                v1_2 = 0;
            }
        } else {
            io.fabric.sdk.android.c.h().e("CrashlyticsCore", new StringBuilder().append("Tried to include a file that doesn\'t exist: ").append(p6.getName()).toString(), 0);
        }
        return;
    }

Method com.crashlytics.android.beta.DeviceTokenLoader.getZipInputStreamOfApkFrom() calling method java.io.FileInputStream.<init>()


    java.util.zip.ZipInputStream getZipInputStreamOfApkFrom(android.content.Context p4, String p5)
    {
        return new java.util.zip.ZipInputStream(new java.io.FileInputStream(p4.getPackageManager().getApplicationInfo(p5, 0).sourceDir));
    }

Method com.amazonaws.regions.RegionUtils.c() calling method java.io.FileInputStream.<init>()


    private static void c()
    {
        java.io.FileInputStream v0_1 = System.getProperty("com.amazonaws.regions.RegionUtils.fileOverride");
        if (com.amazonaws.regions.RegionUtils.b.isDebugEnabled()) {
            com.amazonaws.regions.RegionUtils.b.debug(new StringBuilder().append("Using local override of the regions file (").append(v0_1).append(") to initiate regions data...").toString());
        }
        com.amazonaws.regions.RegionUtils.a(new java.io.FileInputStream(new java.io.File(v0_1)));
        return;
    }

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.core.system.DefaultFileManager.c() calling method java.io.FileInputStream.<init>()


    public declared_synchronized java.io.InputStream c(java.io.File p2)
    {
        try {
            return new java.io.FileInputStream(p2);
        } catch (Throwable v0_2) {
            throw v0_2;
        }
    }

Method com.amazonaws.auth.PropertiesCredentials.<init>() calling method java.io.FileInputStream.<init>()


    public PropertiesCredentials(java.io.File p5)
    {
        if (p5.exists()) {
            java.io.IOException v1_1 = new java.io.FileInputStream(p5);
            try {
                java.io.IOException v0_8 = new java.util.Properties();
                v0_8.load(v1_1);
            } catch (java.io.IOException v0_4) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v1) {
                }
                throw v0_4;
            }
            if ((v0_8.getProperty("accessKey") != null) && (v0_8.getProperty("secretKey") != null)) {
                this.a = v0_8.getProperty("accessKey");
                this.b = v0_8.getProperty("secretKey");
                try {
                    v1_1.close();
                } catch (java.io.IOException v0) {
                }
                return;
            } else {
                throw new IllegalArgumentException(new StringBuilder().append("The specified file (").append(p5.getAbsolutePath()).append(") doesn\'t contain the expected properties \'accessKey\' and \'secretKey\'.").toString());
            }
        } else {
            throw new java.io.FileNotFoundException(new StringBuilder().append("File doesn\'t exist:  ").append(p5.getAbsolutePath()).toString());
        }
    }

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 a.m.a() calling method java.io.FileInputStream.<init>()


    public static a.t a(java.io.File p2)
    {
        if (p2 != null) {
            return ark>a.mark>.a(new java.io.FileInputStream(p2));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

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


    public static String a(java.io.File p7, String p8)
    {
        String v0_0 = 0;
        if (p7.exists()) {
            try {
                Throwable v2_0 = new java.io.BufferedReader(new java.io.FileReader(p7), 1024);
                try {
                    do {
                        String v1_2 = v2_0.readLine();
                    } while((String v1_3.length <= 1) || (!v1_3[0].equals(p8)));
                    v0_0 = v1_3[1];
                    ark>io.fabric.sdk.android.services.b.iark>.a(v2_0, "Failed to close system file reader.");
                } catch (String v1_0) {
                    io.fabric.sdk.android.c.h().e("Fabric", new StringBuilder().append("Error parsing ").append(p7).toString(), v1_0);
                    ark>io.fabric.sdk.android.services.b.iark>.a(v2_0, "Failed to close system file reader.");
                }
                if (v1_2 != null) {
                    v1_3 = java.util.regex.Pattern.compile("\\s*:\\s*").split(v1_2, 2);
                    if ((v1_3.length > 1) && (v1_3[0].equals(p8))) {
                    }
                }
            } catch (String v1_1) {
                v2_0 = 0;
                String v0_1 = v1_1;
                ark>io.fabric.sdk.android.services.b.iark>.a(v2_0, "Failed to close system file reader.");
                throw v0_1;
            } catch (String v1_0) {
                v2_0 = 0;
            } catch (String v0_1) {
            }
        }
        return v0_0;
    }

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


    private static String a(int p7)
    {
        Throwable v0_0 = 0;
        if (p7 > 0) {
            try {
                java.io.IOException v2_0 = android.os.StrictMode.allowThreadDiskReads();
                try {
                    Throwable v1_0 = new java.io.BufferedReader(new java.io.FileReader(new StringBuilder(25).append("/proc/").append(p7).append("/cmdline").toString()));
                    try {
                        android.os.StrictMode.setThreadPolicy(v2_0);
                        v0_0 = v1_0.readLine().trim();
                        com.google.android.gms.common.util.zzm.closeQuietly(v1_0);
                    } catch (Throwable v0_1) {
                        com.google.android.gms.common.util.zzm.closeQuietly(v1_0);
                        throw v0_1;
                    } catch (java.io.IOException v2) {
                        com.google.android.gms.common.util.zzm.closeQuietly(v1_0);
                    }
                } catch (Throwable v1_1) {
                    android.os.StrictMode.setThreadPolicy(v2_0);
                    throw v1_1;
                }
            } catch (Throwable v1_2) {
                v1_0 = 0;
                v0_1 = v1_2;
            } catch (Throwable v1) {
                v1_0 = 0;
            }
        }
        return v0_0;
    }

Method com.github.mikephil.charting.utils.FileUtils.loadEntriesFromFile() calling method java.io.FileReader.<init>()


    public static java.util.List loadEntriesFromFile(String p7)
    {
        float v2_6 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), p7);
        java.util.ArrayList v3_1 = new java.util.ArrayList();
        try {
            java.io.BufferedReader v4_0 = new java.io.BufferedReader(new java.io.FileReader(v2_6));
        } catch (com.github.mikephil.charting.data.BarEntry v0_8) {
            android.util.Log.e("MPChart-FileUtils", v0_8.toString());
            return v3_1;
        }
        while(true) {
            com.github.mikephil.charting.data.BarEntry v0_0 = v4_0.readLine();
            if (v0_0 == null) {
                return v3_1;
            } else {
                float v2_1 = v0_0.split("#");
                if (v2_1.length > 2) {
                    float[] v5_1 = new float[(v2_1.length - 1)];
                    com.github.mikephil.charting.data.BarEntry v0_5 = 0;
                    while (v0_5 < v5_1.length) {
                    }
                    v3_1.add(new com.github.mikephil.charting.data.BarEntry(((float) Integer.parseInt(v2_1[(v2_1.length - 1)])), v5_1));
                } else {
                    v3_1.add(new com.github.mikephil.charting.data.Entry(Float.parseFloat(v2_1[0]), ((float) Integer.parseInt(v2_1[1]))));
                }
            }
        }
        v5_1[v0_5] = Float.parseFloat(v2_1[v0_5]);
        v0_5++;
    }

Method com.appsflyer.f.p() calling method java.io.FileReader.<init>()


    private String p(android.content.Context p6)
    {
        Throwable v0_0 = 0;
        Throwable v1_5 = this.b("ro.appsflyer.preinstall.path");
        if (v1_5 == null) {
            v1_5 = this.b(p6, "AF_PRE_INSTALL_PATH");
        }
        if (v1_5 == null) {
            v1_5 = "/data/local/tmp/pre_install.appsflyer";
        }
        try {
            Throwable v2_3;
            if (new java.io.File(v1_5).exists()) {
                v2_3 = v1_5;
                java.util.Properties v3_1 = new java.util.Properties();
                Throwable v1_3 = new java.io.FileReader(v2_3);
                try {
                    v3_1.load(v1_3);
                    com.appsflyer.b.a("Found pre_install definition");
                    v0_0 = v3_1.getProperty(p6.getPackageName());
                } catch (Throwable v0_1) {
                    if (v1_3 != null) {
                        try {
                            v1_3.close();
                        } catch (Throwable v1) {
                        }
                    }
                    throw v0_1;
                } catch (Throwable v2) {
                    if (v1_3 != null) {
                        try {
                            v1_3.close();
                        } catch (Throwable v1) {
                        }
                    }
                }
                if (v1_3 != null) {
                    try {
                        v1_3.close();
                    } catch (Throwable v1) {
                    }
                }
            } else {
                v2_3 = "/etc/pre_install.appsflyer";
            }
        } catch (Throwable v1_4) {
            v1_3 = 0;
            v0_1 = v1_4;
        } catch (Throwable v1) {
            v1_3 = 0;
        }
        return v0_0;
    }

Method com.appsflyer.a.a.a() calling method java.io.FileReader.<init>()


    private com.appsflyer.a.b a(java.io.File p7)
    {
        try {
            int v2_1 = new java.io.FileReader(p7);
            try {
                String v3_0 = new char[((int) p7.length())];
                v2_1.read(v3_0);
                java.io.IOException v0_1 = new com.appsflyer.a.b(v3_0);
                v0_1.a(p7.getName());
            } catch (java.io.IOException v0_3) {
                if (v2_1 != 0) {
                    try {
                        v2_1.close();
                    } catch (java.io.IOException v1) {
                    }
                }
                throw v0_3;
            } catch (java.io.IOException v0) {
                java.io.IOException v0_2 = v2_1;
                if (v0_2 != null) {
                    try {
                        v0_2.close();
                    } catch (java.io.IOException v0) {
                    }
                }
                v0_1 = 0;
                return v0_1;
            }
            if (v2_1 == 0) {
                return v0_1;
            } else {
                try {
                    v2_1.close();
                } catch (java.io.IOException v1) {
                }
                return v0_1;
            }
        } catch (java.io.IOException v0_3) {
            v2_1 = 0;
        } catch (java.io.IOException v0) {
            v0_2 = 0;
        }
    }

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.delivery.FileEventStore.a() calling method java.io.FileReader.<init>()


    private java.io.File a(int p11)
    {
        String v2_0 = 0;
        com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.core.system.FileManager v6 = this.c.e().a();
        java.io.File v7 = v6.a("events");
        try {
            java.io.IOException v0_7 = new java.io.File(v7, "eventsFile.tmp");
        } catch (java.io.IOException v0_9) {
            android.util.Log.e("FileEventStore", "An error occurred while attempting to create/open the temporary events file", v0_9);
            java.io.IOException v0_8 = this.d;
            return v0_8;
        }
        if ((v0_7.exists()) && (!v0_7.delete())) {
            android.util.Log.e("FileEventStore", "Failed to delete previous temp file");
        }
        java.io.File v8 = v6.a(v0_7);
        if ((v8 != null) && ((this.d.exists()) && (v8.exists()))) {
            try {
                String v3_1 = new java.io.BufferedReader(new java.io.FileReader(this.d));
                try {
                    String v1_20 = new java.io.PrintWriter(new java.io.FileWriter(v8, 1));
                    java.io.IOException v0_20 = 0;
                    try {
                        do {
                            String v2_6 = v3_1.readLine();
                        } while(v0_20 <= p11);
                        v1_20.println(v2_6);
                        v1_20.flush();
                    } catch (java.io.IOException v0_0) {
                        v2_0 = v1_20;
                        String v1_0 = 0;
                        if (v2_0 != null) {
                            v2_0.close();
                        }
                        if (v3_1 != null) {
                            try {
                                v3_1.close();
                            } catch (String v2) {
                            }
                        }
                        if (v1_0 == null) {
                            if (!this.d.delete()) {
                                android.util.Log.e("FileEventStore", "Failed to delete previous events file");
                            } else {
                                if (!v8.renameTo(this.d)) {
                                    android.util.Log.e("FileEventStore", "Failed to rename temp file to events file");
                                }
                                try {
                                    this.d = v6.a(new java.io.File(v7, "eventsFile"));
                                } catch (String v1_15) {
                                    android.util.Log.e("FileEventStore", "An error occurred while attempting to create the eventsFile", v1_15);
                                }
                            }
                        }
                        throw v0_0;
                    } catch (java.io.IOException v0_1) {
                        v2_0 = v3_1;
                        try {
                            android.util.Log.e("FileEventStore", "The events file count not be found", v0_1);
                        } catch (java.io.IOException v0_0) {
                            v3_1 = v2_0;
                            v2_0 = v1_20;
                            v1_0 = 1;
                        }
                        if (v1_20 != null) {
                            v1_20.close();
                        }
                        if (v2_0 == null) {
                            java.io.IOException v0_4 = new java.io.File(v7, "eventsFile.tmp");
                            if ((v0_4.exists()) && (!v0_4.delete())) {
                                android.util.Log.e("FileEventStore", "Failed to delete temp file");
                            }
                        } else {
                            try {
                                v2_0.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                    } catch (java.io.IOException v0_16) {
                        v2_0 = v1_20;
                        android.util.Log.e("FileEventStore", "An error occurred while attempting to delete the read events", v0_16);
                        if (v2_0 != null) {
                            v2_0.close();
                        }
                        if (v3_1 == null) {
                        } else {
                            try {
                                v3_1.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                    }
                    if (v2_6 == null) {
                        if (v1_20 != null) {
                            v1_20.close();
                        }
                        if (v3_1 != null) {
                            try {
                                v3_1.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                        if (!this.d.delete()) {
                            android.util.Log.e("FileEventStore", "Failed to delete previous events file");
                        } else {
                            if (!v8.renameTo(this.d)) {
                                android.util.Log.e("FileEventStore", "Failed to rename temp file to events file");
                            }
                            try {
                                this.d = v6.a(new java.io.File(v7, "eventsFile"));
                            } catch (java.io.IOException v0_31) {
                                android.util.Log.e("FileEventStore", "An error occurred while attempting to create the eventsFile", v0_31);
                            }
                        }
                    } else {
                        v0_20++;
                        if (v0_20 > p11) {
                        }
                    }
                } catch (java.io.IOException v0_1) {
                    v1_20 = 0;
                    v2_0 = v3_1;
                } catch (java.io.IOException v0_16) {
                }
            } catch (java.io.IOException v0_0) {
                v3_1 = 0;
                v1_0 = 0;
            } catch (java.io.IOException v0_1) {
                v1_20 = 0;
            } catch (java.io.IOException v0_16) {
                v3_1 = 0;
            } catch (java.io.IOException v0_0) {
                v1_0 = 0;
            }
        }
        v0_8 = this.d;
        return v0_8;
    }

Method io.swagger.client.a.b() calling method java.io.File.<init>()


    public java.io.File b(com.squareup.okhttp.z p5)
    {
        int v2_2;
        java.io.File v0_0 = 0;
        String v1_6 = p5.a("Content-Disposition");
        if ((v1_6 == null) || ("".equals(v1_6))) {
            v2_2 = 0;
        } else {
            String v1_1 = java.util.regex.Pattern.compile("filename=[\'\"]?([^\'\"\\s]+)[\'\"]?").matcher(v1_6);
            if (!v1_1.find()) {
            } else {
                v2_2 = this.c(v1_1.group(1));
            }
        }
        String v1_10;
        if (v2_2 != 0) {
            int v3_0 = v2_2.lastIndexOf(".");
            if (v3_0 != -1) {
                v1_10 = new StringBuilder().append(v2_2.substring(0, v3_0)).append("-").toString();
                v0_0 = v2_2.substring(v3_0);
            } else {
                v1_10 = new StringBuilder().append(v2_2).append("-").toString();
            }
            if (v1_10.length() < 3) {
                v1_10 = "download-";
            }
        } else {
            v1_10 = "download-";
            v0_0 = "";
        }
        java.io.File v0_5;
        if (this.d != null) {
            v0_5 = java.io.File.createTempFile(v1_10, v0_0, new java.io.File(this.d));
        } else {
            v0_5 = java.io.File.createTempFile(v1_10, v0_0);
        }
        return v0_5;
    }

Method io.realm.internal.async.a.a() calling method java.io.File.<init>()


    private static int a(String p4, String p5)
    {
        int v0 = 0;
        try {
            SecurityException v1_1 = new java.io.File(p4).listFiles(new ark>io.realm.internal.async.aark>$1(java.util.regex.Pattern.compile(p5)));
        } catch (SecurityException v1) {
            return v0;
        }
        if (v1_1 != null) {
            v0 = v1_1.length;
            return v0;
        } else {
            return v0;
        }
    }

Method io.realm.internal.Util.b() calling method java.io.File.<init>()


    private static boolean b(String p8, java.io.File p9, String p10)
    {
        java.util.concurrent.atomic.AtomicBoolean v1_1 = new java.util.concurrent.atomic.AtomicBoolean(1);
        boolean v0_1 = new java.io.File[6];
        v0_1[0] = new java.io.File(p9, p10);
        v0_1[1] = new java.io.File(p9, new StringBuilder().append(p10).append(".lock").toString());
        v0_1[2] = new java.io.File(p9, new StringBuilder().append(p10).append(".log_a").toString());
        v0_1[3] = new java.io.File(p9, new StringBuilder().append(p10).append(".log_b").toString());
        v0_1[4] = new java.io.File(p9, new StringBuilder().append(p10).append(".log").toString());
        v0_1[5] = new java.io.File(p8);
        java.util.Iterator v2_6 = java.util.Arrays.asList(v0_1).iterator();
        while (v2_6.hasNext()) {
            boolean v0_6 = ((java.io.File) v2_6.next());
            if ((v0_6.exists()) && (!v0_6.delete())) {
                v1_1.set(0);
                Object[] v4_16 = new Object[1];
                v4_16[0] = v0_6;
                io.realm.log.RealmLog.b("Could not delete the file %s", v4_16);
            }
        }
        return v1_1.get();
    }

Method io.realm.internal.Util.a() calling method java.io.File.<init>()


    public static boolean a(String p8, java.io.File p9, String p10)
    {
        boolean v0_2;
        int v1 = 1;
        java.io.File v4_0 = new java.io.File(p9, new StringBuilder().append(p10).append(".management").toString());
        java.io.File[] v5 = v4_0.listFiles();
        if (v5 == null) {
            v0_2 = 1;
        } else {
            int v3_0 = 0;
            v0_2 = 1;
            while (v3_0 < v5.length) {
                if ((!v0_2) || (!v5[v3_0].delete())) {
                    v0_2 = 0;
                } else {
                    v0_2 = 1;
                }
                v3_0++;
            }
        }
        if ((!v0_2) || (!v4_0.delete())) {
            boolean v0_4 = 0;
        } else {
            v0_4 = 1;
        }
        if ((!v0_4) || (!ark>io.realm.internal.Utilark>.b(p8, p9, p10))) {
            v1 = 0;
        }
        return v1;
    }

Method io.realm.ay.n() calling method java.io.File.<init>()


    boolean n()
    {
        return new java.io.File(this.f).exists();
    }

Method io.realm.ay$a.a() calling method java.io.File.<init>()


    public io.realm.ay a()
    {
        if (this.m) {
            if (this.l == null) {
                if (this.c != null) {
                    if (!this.g) {
                        if (this.n != null) {
                            throw new IllegalStateException("\'compactOnLaunch()\' and read-only Realms cannot be combined");
                        }
                    } else {
                        throw new IllegalStateException("\'deleteRealmIfMigrationNeeded()\' and read-only Realms cannot be combined");
                    }
                } else {
                    throw new IllegalStateException("Only Realms provided using \'assetFile(path)\' can be marked read-only. No such Realm was provided.");
                }
            } else {
                throw new IllegalStateException("This Realm is marked as read-only. Read-only Realms cannot use initialData(Realm.Transaction).");
            }
        }
        if ((this.k == null) && (io.realm.ay.p())) {
            this.k = new io.realm.a.a();
        }
        return new io.realm.ay(this.a, this.b, io.realm.ay.a(new java.io.File(this.a, this.b)), this.c, this.d, this.e, this.f, this.g, this.h, io.realm.ay.a(this.i, this.j), this.k, this.l, this.m, this.n);
    }

Method io.realm.aw.b() calling method java.io.File.<init>()


    private static void b(io.realm.ay p3)
    {
        if (p3.j()) {
            io.realm.aw.a(p3.k(), new java.io.File(p3.a(), p3.b()));
        }
        String v0_3 = io.realm.internal.h.a(p3.q()).d(p3);
        if (!io.realm.internal.Util.a(v0_3)) {
            io.realm.aw.a(v0_3, new java.io.File(io.realm.internal.h.a(p3.q()).e(p3)));
        }
        return;
    }

Method io.realm.au.a() calling method java.io.File.<init>()


    public static declared_synchronized void a(android.content.Context p4)
    {
        try {
            if (io.realm.a.a == null) {
                if (p4 != null) {
                    ark>io.realm.auark>.b(p4);
                    io.realm.internal.k.a(p4);
                    ark>io.realm.auark>.c(new io.realm.ay$a(p4).a());
                    io.realm.internal.h.a().a(p4);
                    io.realm.a.a = p4.getApplicationContext();
                    io.realm.internal.SharedRealm.a(new java.io.File(p4.getFilesDir(), ".realm.temp"));
                } else {
                    throw new IllegalArgumentException("Non-null context required.");
                }
            }
        } catch (java.io.File v0_7) {
            throw v0_7;
        }
        return;
    }

Method io.realm.a$3.a() calling method java.io.File.<init>()


    public void a(int p7)
    {
        if (p7 == 0) {
            if (new java.io.File(this.a.m()).exists()) {
                io.realm.a$a v0_1;
                if (this.c != null) {
                    v0_1 = this.c;
                } else {
                    v0_1 = this.a.e();
                }
                try {
                    io.realm.a$a v1_0 = io.realm.e.b(this.a);
                    v1_0.b();
                    v0_1.a(v1_0, v1_0.j(), this.a.d());
                    v1_0.a(this.a.d());
                    v1_0.c();
                } catch (io.realm.a$a v0_5) {
                    if (v1_0 != null) {
                        v1_0.close();
                        this.d.a();
                    }
                    throw v0_5;
                } catch (io.realm.a$a v0_4) {
                    if (v1_0 != null) {
                        v1_0.d();
                    }
                    throw v0_4;
                }
                if (v1_0 != null) {
                    v1_0.close();
                    this.d.a();
                }
            } else {
                this.b.set(1);
            }
            return;
        } else {
            throw new IllegalStateException(new StringBuilder().append("Cannot migrate a Realm file that is already open: ").append(this.a.m()).toString());
        }
    }

Method io.intercom.okhttp3.internal.cache.DiskLruCache.<init>() calling method java.io.File.<init>()


    DiskLruCache(io.intercom.okhttp3.internal.io.FileSystem p8, java.io.File p9, int p10, int p11, long p12, java.util.concurrent.Executor p14)
    {
        this.size = 0;
        this.lruEntries = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.nextSequenceNumber = 0;
        this.cleanupRunnable = new io.intercom.okhttp3.internal.cache.DiskLruCache$1(this);
        this.fileSystem = p8;
        this.directory = p9;
        this.appVersion = p10;
        this.journalFile = new java.io.File(p9, "journal");
        this.journalFileTmp = new java.io.File(p9, "journal.tmp");
        this.journalFileBackup = new java.io.File(p9, "journal.bkp");
        this.valueCount = p11;
        this.maxSize = p12;
        this.executor = p14;
        return;
    }

Method io.intercom.okhttp3.internal.cache.DiskLruCache$Entry.<init>() calling method java.io.File.<init>()


    DiskLruCache$Entry(io.intercom.okhttp3.internal.cache.DiskLruCache p8, String p9)
    {
        this.this$0 = p8;
        this.key = p9;
        int v0_5 = new long[p8.valueCount];
        this.lengths = v0_5;
        int v0_7 = new java.io.File[p8.valueCount];
        this.cleanFiles = v0_7;
        int v0_0 = new java.io.File[p8.valueCount];
        this.dirtyFiles = v0_0;
        StringBuilder v1_1 = new StringBuilder(p9).append(46);
        int v2 = v1_1.length();
        int v0_3 = 0;
        while (v0_3 < p8.valueCount) {
            v1_1.append(v0_3);
            this.cleanFiles[v0_3] = new java.io.File(p8.directory, v1_1.toString());
            v1_1.append(".tmp");
            this.dirtyFiles[v0_3] = new java.io.File(p8.directory, v1_1.toString());
            v1_1.setLength(v2);
            v0_3++;
        }
        return;
    }

Method io.intercom.com.bumptech.glide.load.c.p.a() calling method java.io.File.<init>()


    private static android.net.Uri a(String p1)
    {
        return android.net.Uri.fromFile(new java.io.File(p1));
    }

Method io.intercom.com.bumptech.glide.load.b.b.f$1.a() calling method java.io.File.<init>()


    public java.io.File a()
    {
        java.io.File v0_1;
        java.io.File v1 = this.a.getCacheDir();
        if (v1 != null) {
            if (this.b == null) {
                v0_1 = v1;
            } else {
                v0_1 = new java.io.File(v1, this.b);
            }
        } else {
            v0_1 = 0;
        }
        return v0_1;
    }

Method io.intercom.com.bumptech.glide.a.a.a() calling method java.io.File.<init>()


    public static ark>io.intercom.com.bumptech.glide.a.aark> a(java.io.File p7, int p8, int p9, long p10)
    {
        if (p10 > 0) {
            if (p9 > 0) {
                void v0_8 = new java.io.File(p7, "journal.bkp");
                if (v0_8.exists()) {
                    String v1_1 = new java.io.File(p7, "journal");
                    if (!v1_1.exists()) {
                        ark>io.intercom.com.bumptech.glide.a.aark>.a(v0_8, v1_1, 0);
                    } else {
                        v0_8.delete();
                    }
                }
                void v0_5;
                void v0_3 = new ark>io.intercom.com.bumptech.glide.a.aark>(p7, p8, p9, p10);
                if (!v0_3.c.exists()) {
                    p7.mkdirs();
                    v0_5 = new ark>io.intercom.com.bumptech.glide.a.aark>(p7, p8, p9, p10).e();
                } else {
                    try {
                        v0_5 = v0_3.c().d();
                    } catch (String v1_5) {
                        System.out.println(new StringBuilder().append("DiskLruCache ").append(p7).append(" is corrupt: ").append(v1_5.getMessage()).append(", removing").toString());
                        v0_5.b();
                    }
                }
                return v0_5;
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

Method io.intercom.com.bumptech.glide.a.a.<init>() calling method java.io.File.<init>()


    private a(java.io.File p9, int p10, int p11, long p12)
    {
        this.i = 0;
        this.k = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.m = 0;
        this.a = new java.util.concurrent.ThreadPoolExecutor(0, 1, 60, java.util.concurrent.TimeUnit.SECONDS, new java.util.concurrent.LinkedBlockingQueue());
        this.n = new io.intercom.com.bumptech.glide.a.a$1(this);
        this.b = p9;
        this.f = p10;
        this.c = new java.io.File(p9, "journal");
        this.d = new java.io.File(p9, "journal.tmp");
        this.e = new java.io.File(p9, "journal.bkp");
        this.h = p11;
        this.g = p12;
        return;
    }

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


    private a$b(io.intercom.com.bumptech.glide.a.a p8, String p9)
    {
        this.c = p8;
        this.d = p9;
        int v0_6 = new long[io.intercom.com.bumptech.glide.a.a.e(p8)];
        this.e = v0_6;
        int v0_8 = new java.io.File[io.intercom.com.bumptech.glide.a.a.e(p8)];
        this.a = v0_8;
        int v0_1 = new java.io.File[io.intercom.com.bumptech.glide.a.a.e(p8)];
        this.b = v0_1;
        StringBuilder v1_1 = new StringBuilder(p9).append(46);
        int v2 = v1_1.length();
        int v0_4 = 0;
        while (v0_4 < io.intercom.com.bumptech.glide.a.a.e(p8)) {
            v1_1.append(v0_4);
            this.a[v0_4] = new java.io.File(io.intercom.com.bumptech.glide.a.a.f(p8), v1_1.toString());
            v1_1.append(".tmp");
            this.b[v0_4] = new java.io.File(io.intercom.com.bumptech.glide.a.a.f(p8), v1_1.toString());
            v1_1.setLength(v2);
            v0_4++;
        }
        return;
    }

Method io.intercom.android.sdk.imageloader.LongTermImageLoader.newInstance() calling method java.io.File.<init>()


    public static io.intercom.android.sdk.imageloader.LongTermImageLoader newInstance(android.content.Context p4)
    {
        io.intercom.android.sdk.imageloader.LongTermImageLoader v1_3 = new java.io.File(p4.getCacheDir(), "intercom-glide");
        if ((!v1_3.exists()) && (!v1_3.mkdir())) {
            Object[] v3_3 = new Object[0];
            io.intercom.android.sdk.imageloader.LongTermImageLoader.twig.e(new StringBuilder().append("Could not create directory: ").append(v1_3.getAbsolutePath()).toString(), v3_3);
        }
        io.intercom.android.sdk.twig.Twig v0_3 = new io.intercom.android.sdk.imageloader.LongTermImageDiskCache(v1_3, 26214400);
        return new io.intercom.android.sdk.imageloader.LongTermImageLoader(v0_3, new io.intercom.android.sdk.imageloader.LongTermImageLoader$Fetcher(v0_3));
    }

Method io.intercom.android.sdk.conversation.ConversationWebViewClient.shouldInterceptRequest() calling method java.io.File.<init>()


    public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView p8, String p9)
    {
        android.webkit.WebResourceResponse v0_1;
        if (!this.isRequestForFavicon(p9)) {
            android.webkit.WebResourceResponse v0_5 = android.net.Uri.parse(p9);
            if ((!v0_5.getHost().equals(this.webPageUri.getHost())) || ((android.text.TextUtils.isEmpty(v0_5.getQueryParameter("filePath"))) || (android.text.TextUtils.isEmpty(v0_5.getQueryParameter("mimeType"))))) {
                v0_1 = 0;
            } else {
                try {
                    v0_1 = new android.webkit.WebResourceResponse(v0_5.getQueryParameter("mimeType"), "UTF-8", new java.io.BufferedInputStream(new java.io.FileInputStream(new java.io.File(v0_5.getQueryParameter("filePath")))));
                } catch (android.webkit.WebResourceResponse v0) {
                    v0_1 = new android.webkit.WebResourceResponse("text/plain", "UTF-8", 0);
                }
            }
        } else {
            v0_1 = new android.webkit.WebResourceResponse(0, 0, 0);
        }
        return v0_1;
    }

Method io.intercom.android.sdk.conversation.ConversationFragment.createGalleryImageForUri() calling method java.io.File.<init>()


    private static com.intercom.input.gallery.c createGalleryImageForUri(android.net.Uri p6)
    {
        com.intercom.input.gallery.c v0_0 = p6.getPath();
        String v1_1 = new android.graphics.BitmapFactory$Options();
        v1_1.inJustDecodeBounds = 1;
        android.graphics.BitmapFactory.decodeFile(v0_0, v1_1);
        return new com.intercom.input.gallery.c$a().c(v0_0).a(p6.getLastPathSegment()).d(v0_0).c(((int) new java.io.File(v0_0).length())).b(v1_1.outHeight).a(v1_1.outWidth).b(v1_1.outMimeType).a();
    }

Method io.intercom.android.sdk.api.ApiFactory.createConfigurableHttpClient() calling method java.io.File.<init>()


    public static io.intercom.okhttp3.OkHttpClient$Builder createConfigurableHttpClient(android.content.Context p6, io.intercom.android.sdk.identity.AppIdentity p7, io.intercom.android.sdk.identity.UserIdentity p8)
    {
        io.intercom.okhttp3.OkHttpClient$Builder v0_6 = new io.intercom.okhttp3.OkHttpClient$Builder().readTimeout(2, java.util.concurrent.TimeUnit.MINUTES).connectTimeout(2, java.util.concurrent.TimeUnit.MINUTES).writeTimeout(2, java.util.concurrent.TimeUnit.MINUTES).addInterceptor(new io.intercom.android.sdk.api.UserIdentityInterceptor(p8)).addInterceptor(new io.intercom.android.sdk.api.RetryInterceptor(new io.intercom.android.sdk.api.RetryInterceptor$Sleeper())).addInterceptor(new io.intercom.android.sdk.api.ShutdownInterceptor(new io.intercom.android.sdk.api.ShutdownState(p6, p7, io.intercom.android.sdk.commons.utilities.TimeProvider.SYSTEM))).addNetworkInterceptor(io.intercom.android.sdk.api.HeaderInterceptor.create(p6, p7));
        io.intercom.okhttp3.CertificatePinner v1_8 = p6.getCacheDir();
        if (v1_8 != null) {
            v0_6.cache(new io.intercom.okhttp3.Cache(new java.io.File(v1_8.getAbsolutePath(), "Intercom_SDK/HttpCache"), 10485760));
        }
        io.intercom.okhttp3.CertificatePinner v1_13 = io.intercom.android.sdk.api.ApiFactory.getFullHostname(p7.appId());
        io.intercom.okhttp3.CertificatePinner$Builder v2_8 = new io.intercom.okhttp3.CertificatePinner$Builder();
        String[] v3_3 = new String[1];
        v3_3[0] = "sha1/BiCgk94N+oILO/VULX+wYS6gWKU=";
        v0_6.certificatePinner(v2_8.add(v1_13, v3_3).build());
        return v0_6;
    }

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


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

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


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

Method io.fabric.sdk.android.services.c.h.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.b.q(this.d);
        return;
    }

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


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

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


    public h(android.content.Context p3, java.io.File p4, String p5, String p6)
    {
        this.a = p3;
        this.b = p4;
        this.c = p6;
        this.d = new java.io.File(this.b, p5);
        this.e = new io.fabric.sdk.android.services.b.q(this.d);
        this.e();
        return;
    }

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


    private static void a(java.io.File p4)
    {
        java.io.IOException v0_1 = new java.io.File(new StringBuilder().append(p4.getPath()).append(".tmp").toString());
        String v1_2 = ark>io.fabric.sdk.android.services.b.qark>.b(v0_1);
        try {
            v1_2.setLength(4096);
            v1_2.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.b.qark>.a(v2_3, v3_1);
            v1_2.write(v2_3);
            v1_2.close();
        } catch (java.io.IOException v0_3) {
            v1_2.close();
            throw v0_3;
        }
        if (v0_1.renameTo(p4)) {
            return;
        } else {
            throw new java.io.IOException("Rename failed!");
        }
    }

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


    public static boolean g(android.content.Context p4)
    {
        int v0 = 1;
        boolean v1_0 = io.fabric.sdk.android.services.b.i.f(p4);
        java.io.File v2_5 = android.os.Build.TAGS;
        if (((v1_0) || ((v2_5 == null) || (!v2_5.contains("test-keys")))) && (!new java.io.File("/system/app/Superuser.apk").exists())) {
            java.io.File v2_4 = new java.io.File("/system/xbin/su");
            if ((v1_0) || (!v2_4.exists())) {
                v0 = 0;
            }
        }
        return v0;
    }

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


    public static declared_synchronized long b()
    {
        try {
            if (io.fabric.sdk.android.services.b.i.d == -1) {
                long v0_2 = 0;
                io.fabric.sdk.android.k v2_0 = io.fabric.sdk.android.services.b.i.a(new java.io.File("/proc/meminfo"), "MemTotal");
                if (!android.text.TextUtils.isEmpty(v2_0)) {
                    String v4_2 = v2_0.toUpperCase(java.util.Locale.US);
                    try {
                        if (!v4_2.endsWith("KB")) {
                            if (!v4_2.endsWith("MB")) {
                                if (!v4_2.endsWith("GB")) {
                                    io.fabric.sdk.android.c.h().a("Fabric", new StringBuilder().append("Unexpected meminfo format while computing RAM: ").append(v4_2).toString());
                                } else {
                                    v0_2 = io.fabric.sdk.android.services.b.i.a(v4_2, "GB", 1073741824);
                                }
                            } else {
                                v0_2 = io.fabric.sdk.android.services.b.i.a(v4_2, "MB", 1048576);
                            }
                        } else {
                            v0_2 = io.fabric.sdk.android.services.b.i.a(v4_2, "KB", 1024);
                        }
                    } catch (io.fabric.sdk.android.k v2_10) {
                        io.fabric.sdk.android.c.h().e("Fabric", new StringBuilder().append("Unexpected meminfo format while computing RAM: ").append(v4_2).toString(), v2_10);
                    }
                }
                io.fabric.sdk.android.services.b.i.d = v0_2;
            }
        } catch (long v0_3) {
            throw v0_3;
        }
        return io.fabric.sdk.android.services.b.i.d;
    }

Method io.fabric.sdk.android.d.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.d.getExternalFilesDir() calling method java.io.File.<init>()


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

Method io.fabric.sdk.android.d.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.d.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.d.getCacheDir() calling method java.io.File.<init>()


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

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


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

Method com.squareup.okhttp.internal.b.<init>() calling method java.io.File.<init>()


    b(com.squareup.okhttp.internal.b.a p8, java.io.File p9, int p10, int p11, long p12, java.util.concurrent.Executor p14)
    {
        this.k = 0;
        this.m = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.r = 0;
        this.t = new com.squareup.okhttp.internal.b$1(this);
        this.c = p8;
        this.d = p9;
        this.h = p10;
        this.e = new java.io.File(p9, "journal");
        this.f = new java.io.File(p9, "journal.tmp");
        this.g = new java.io.File(p9, "journal.bkp");
        this.j = p11;
        this.i = p12;
        this.s = p14;
        return;
    }

Method com.squareup.okhttp.internal.b$b.<init>() calling method java.io.File.<init>()


    private b$b(com.squareup.okhttp.internal.b p8, String p9)
    {
        this.a = p8;
        this.b = p9;
        int v0_6 = new long[com.squareup.okhttp.internal.b.f(p8)];
        this.c = v0_6;
        int v0_8 = new java.io.File[com.squareup.okhttp.internal.b.f(p8)];
        this.d = v0_8;
        int v0_1 = new java.io.File[com.squareup.okhttp.internal.b.f(p8)];
        this.e = v0_1;
        StringBuilder v1_1 = new StringBuilder(p9).append(46);
        int v2 = v1_1.length();
        int v0_4 = 0;
        while (v0_4 < com.squareup.okhttp.internal.b.f(p8)) {
            v1_1.append(v0_4);
            this.d[v0_4] = new java.io.File(com.squareup.okhttp.internal.b.h(p8), v1_1.toString());
            v1_1.append(".tmp");
            this.e[v0_4] = new java.io.File(com.squareup.okhttp.internal.b.h(p8), v1_1.toString());
            v1_1.setLength(v2);
            v0_4++;
        }
        return;
    }

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


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

Method com.intercom.input.gallery.c.j() calling method java.io.File.<init>()


    public java.io.File j()
    {
        return new java.io.File(this.c);
    }

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


    private q(android.content.Context p5, String p6)
    {
        String v0_2;
        this.b = p5;
        this.a = p5.getSharedPreferences(p6, 0);
        String v1_6 = String.valueOf(p6);
        String v0_0 = String.valueOf("-no-backup");
        if (v0_0.length() == 0) {
            v0_2 = new String(v1_6);
        } else {
            v0_2 = v1_6.concat(v0_0);
        }
        String v2_2 = new java.io.File(com.google.android.gms.common.util.zzt.getNoBackupFilesDir(this.b), v0_2);
        try {
            if ((!v2_2.exists()) && ((v2_2.createNewFile()) && (!this.a()))) {
                android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                com.google.firebase.iid.FirebaseInstanceId.a(this.b, this);
            }
        } catch (String v0_9) {
            if (android.util.Log.isLoggable("InstanceID/Store", 3)) {
                String v0_12 = String.valueOf(v0_9.getMessage());
                if (v0_12.length() == 0) {
                    String v0_14 = new String("Error creating file in no backup dir: ");
                } else {
                    v0_14 = "Error creating file in no backup dir: ".concat(v0_12);
                }
                android.util.Log.d("InstanceID/Store", v0_14);
            }
        }
        return;
    }

Method com.google.android.gms.internal.zzsr.zzau() calling method java.io.File.<init>()


    public final boolean zzau(String p28)
    {
        com.google.android.gms.internal.rl v2_40;
        if (this.d != null) {
            while(true) {
                com.google.android.gms.internal.zzsr v3_2;
                if (this.d != null) {
                    String v4_0 = this.d.listFiles();
                    com.google.android.gms.internal.rl v2_14 = 0;
                    com.google.android.gms.internal.zzsr v3_0 = 0;
                    while (v3_0 < v4_0.length) {
                        if (!v4_0[v3_0].getName().endsWith(".done")) {
                            v2_14++;
                        }
                        v3_0++;
                    }
                    v3_2 = v2_14;
                } else {
                    v3_2 = 0;
                }
                if (v3_2 <= ((Integer) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgk)).intValue()) {
                    break;
                }
                com.google.android.gms.internal.rl v2_123;
                if (this.d != null) {
                    String v7_10 = 0;
                    String v4_21 = nan;
                    String v9_0 = this.d.listFiles();
                    int v10_0 = v9_0.length;
                    int v8_3 = 0;
                    while (v8_3 < v10_0) {
                        com.google.android.gms.internal.rl v2_126;
                        String v4_23;
                        int v6_18 = v9_0[v8_3];
                        if (v6_18.getName().endsWith(".done")) {
                            v2_126 = v4_21;
                            v4_23 = v7_10;
                        } else {
                            v2_126 = v6_18.lastModified();
                            if (v2_126 >= v4_21) {
                            } else {
                                v4_23 = v6_18;
                            }
                        }
                        v8_3++;
                        v7_10 = v4_23;
                        v4_21 = v2_126;
                    }
                    v2_123 = 0;
                    if (v7_10 != null) {
                        v2_123 = v7_10.delete();
                        com.google.android.gms.internal.zzsr v3_38 = this.a(v7_10);
                        if (v3_38.isFile()) {
                            v2_123 &= v3_38.delete();
                        }
                    }
                } else {
                    v2_123 = 0;
                }
                if (v2_123 == null) {
                    com.google.android.gms.internal.zzafx.zzcs("Unable to expire stream cache");
                    this.zza(p28, 0, "expireFailed", 0);
                    v2_40 = 0;
                }
            }
            com.google.android.gms.internal.zzjo.zzhu();
            java.io.File v13_1 = new java.io.File(this.d, com.google.android.gms.internal.zzaje.zzcq(p28));
            java.io.File v14 = this.a(v13_1);
            if ((!v13_1.isFile()) || (!v14.isFile())) {
                String v9_1;
                com.google.android.gms.internal.zzsr v3_39 = String.valueOf(this.d.getAbsolutePath());
                com.google.android.gms.internal.rl v2_127 = String.valueOf(p28);
                if (v2_127.length() == 0) {
                    v9_1 = new String(v3_39);
                } else {
                    v9_1 = v3_39.concat(v2_127);
                }
                try {
                    if (!com.google.android.gms.internal.zzsr.b.contains(v9_1)) {
                        com.google.android.gms.internal.zzsr.b.add(v9_1);
                        String v5_5 = 0;
                        String v4_12;
                        com.google.android.gms.internal.zzsr v3_20;
                        com.google.android.gms.ads.internal.zzbv.zzeo();
                        com.google.android.gms.internal.zzsr v3_46 = com.google.android.gms.internal.zzajy.zzb(p28, ((Integer) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgq)).intValue());
                        if ((v3_46 instanceof java.net.HttpURLConnection)) {
                            com.google.android.gms.internal.rl v2_144 = ((java.net.HttpURLConnection) v3_46).getResponseCode();
                            if (v2_144 >= 400) {
                                v4_12 = "badUrl";
                                try {
                                    com.google.android.gms.internal.zzsr v3_34 = String.valueOf(Integer.toString(v2_144));
                                } catch (com.google.android.gms.internal.rl v2_58) {
                                    v3_20 = 0;
                                    if ((v2_58 instanceof RuntimeException)) {
                                        com.google.android.gms.ads.internal.zzbv.zzee().zza(v2_58, "VideoStreamFullFileCache.preload");
                                    }
                                    try {
                                        v5_5.close();
                                    } catch (String v5) {
                                    } catch (String v5) {
                                    }
                                    if (!this.e) {
                                        com.google.android.gms.internal.zzafx.zzc(new StringBuilder((String.valueOf(p28).length() + 25)).append("Preload failed for URL \"").append(p28).append("\"").toString(), v2_58);
                                    } else {
                                        com.google.android.gms.internal.zzafx.zzcr(new StringBuilder((String.valueOf(p28).length() + 26)).append("Preload aborted for URL \"").append(p28).append("\"").toString());
                                    }
                                    if (v13_1.exists()) {
                                        if (!v13_1.delete()) {
                                            com.google.android.gms.internal.rl v2_102 = String.valueOf(v13_1.getAbsolutePath());
                                            if (v2_102.length() == 0) {
                                                com.google.android.gms.internal.rl v2_104 = new String("Could not delete partial cache file at ");
                                            } else {
                                                v2_104 = "Could not delete partial cache file at ".concat(v2_102);
                                            }
                                            com.google.android.gms.internal.zzafx.zzcs(v2_104);
                                        }
                                    }
                                    this.zza(p28, v13_1.getAbsolutePath(), v4_12, v3_20);
                                    com.google.android.gms.internal.zzsr.b.remove(v9_1);
                                    v2_40 = 0;
                                    return v2_40;
                                } catch (com.google.android.gms.internal.rl v2_58) {
                                    v3_20 = 0;
                                }
                                if (v3_34.length() == 0) {
                                    v3_20 = new String("HTTP request failed. Code: ");
                                } else {
                                    v3_20 = "HTTP request failed. Code: ".concat(v3_34);
                                }
                                try {
                                    throw new java.io.IOException(new StringBuilder((String.valueOf(p28).length() + 32)).append("HTTP status code ").append(v2_144).append(" at ").append(p28).toString());
                                } catch (com.google.android.gms.internal.rl v2_58) {
                                } catch (com.google.android.gms.internal.rl v2_58) {
                                }
                            }
                        }
                        String v7_0 = v3_46.getContentLength();
                        if (v7_0 >= null) {
                            String v4_2 = com.google.android.gms.internal.zzsr.c.format(((long) v7_0));
                            int v15 = ((Integer) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgl)).intValue();
                            if (v7_0 <= v15) {
                                com.google.android.gms.internal.zzafx.zzcb(new StringBuilder(((String.valueOf(v4_2).length() + 20) + String.valueOf(p28).length())).append("Caching ").append(v4_2).append(" bytes from ").append(p28).toString());
                                java.nio.channels.ReadableByteChannel v16_1 = java.nio.channels.Channels.newChannel(v3_46.getInputStream());
                                java.io.FileOutputStream v12_1 = new java.io.FileOutputStream(v13_1);
                                try {
                                    java.nio.channels.FileChannel v17 = v12_1.getChannel();
                                    java.nio.ByteBuffer v18 = java.nio.ByteBuffer.allocate(1048576);
                                    com.google.android.gms.common.util.zzd v19 = com.google.android.gms.ads.internal.zzbv.zzeg();
                                    int v6_5 = 0;
                                    long v20 = v19.currentTimeMillis();
                                    com.google.android.gms.internal.zzaix v22 = new com.google.android.gms.internal.zzaix;
                                    v22(((Long) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgp)).longValue());
                                    long v24 = ((Long) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbgo)).longValue();
                                } catch (com.google.android.gms.internal.rl v2_58) {
                                    v3_20 = 0;
                                    v4_12 = "error";
                                    v5_5 = v12_1;
                                }
                                while(true) {
                                    com.google.android.gms.internal.rl v2_26 = v16_1.read(v18);
                                    if (v2_26 < null) {
                                        break;
                                    }
                                    v6_5 += v2_26;
                                    try {
                                        if (v6_5 <= v15) {
                                            v18.flip();
                                            while (v17.write(v18) > 0) {
                                            }
                                            v18.clear();
                                            if ((v19.currentTimeMillis() - v20) <= (1000 * v24)) {
                                                if (!this.e) {
                                                    if (v22.tryAcquire()) {
                                                        com.google.android.gms.internal.zzaje.zzdee.post(new com.google.android.gms.internal.rl(this, p28, v13_1.getAbsolutePath(), v6_5, v7_0, 0));
                                                    }
                                                } else {
                                                    v4_12 = "externalAbort";
                                                    throw new java.io.IOException("abort requested");
                                                }
                                            } else {
                                                v4_12 = "downloadTimeout";
                                                com.google.android.gms.internal.rl v2_52 = Long.toString(v24);
                                                v3_20 = new StringBuilder((String.valueOf(v2_52).length() + 29)).append("Timeout exceeded. Limit: ").append(v2_52).append(" sec").toString();
                                                throw new java.io.IOException("stream cache time limit exceeded");
                                            }
                                        } else {
                                            v4_12 = "sizeExceeded";
                                            com.google.android.gms.internal.zzsr v3_22 = String.valueOf(Integer.toString(v6_5));
                                            if (v3_22.length() == 0) {
                                                v3_20 = new String("File too big for full file cache. Size: ");
                                            } else {
                                                v3_20 = "File too big for full file cache. Size: ".concat(v3_22);
                                            }
                                            throw new java.io.IOException("stream cache file size limit exceeded");
                                        }
                                    } catch (com.google.android.gms.internal.rl v2_58) {
                                        v3_20 = 0;
                                        v5_5 = v12_1;
                                    } catch (com.google.android.gms.internal.rl v2_58) {
                                        v3_20 = 0;
                                        v5_5 = v12_1;
                                    } catch (com.google.android.gms.internal.rl v2_58) {
                                        v5_5 = v12_1;
                                    } catch (com.google.android.gms.internal.rl v2_58) {
                                        v5_5 = v12_1;
                                    }
                                }
                                v12_1.close();
                                if (com.google.android.gms.internal.zzafx.zzad(3)) {
                                    com.google.android.gms.internal.rl v2_30 = com.google.android.gms.internal.zzsr.c.format(((long) v6_5));
                                    com.google.android.gms.internal.zzafx.zzcb(new StringBuilder(((String.valueOf(v2_30).length() + 22) + String.valueOf(p28).length())).append("Preloaded ").append(v2_30).append(" bytes from ").append(p28).toString());
                                }
                                v13_1.setReadable(1, 0);
                                if (!v14.isFile()) {
                                    try {
                                        v14.createNewFile();
                                    } catch (com.google.android.gms.internal.rl v2) {
                                    }
                                } else {
                                    v14.setLastModified(System.currentTimeMillis());
                                }
                                this.a(p28, v13_1.getAbsolutePath(), v6_5);
                                com.google.android.gms.internal.zzsr.b.remove(v9_1);
                                v2_40 = 1;
                            } else {
                                com.google.android.gms.internal.rl v2_77;
                                com.google.android.gms.internal.zzafx.zzcs(new StringBuilder(((String.valueOf(v4_2).length() + 33) + String.valueOf(p28).length())).append("Content length ").append(v4_2).append(" exceeds limit at ").append(p28).toString());
                                com.google.android.gms.internal.rl v2_75 = String.valueOf(v4_2);
                                if (v2_75.length() == 0) {
                                    v2_77 = new String("File too big for full file cache. Size: ");
                                } else {
                                    v2_77 = "File too big for full file cache. Size: ".concat(v2_75);
                                }
                                this.zza(p28, v13_1.getAbsolutePath(), "sizeExceeded", v2_77);
                                com.google.android.gms.internal.zzsr.b.remove(v9_1);
                                v2_40 = 0;
                            }
                        } else {
                            com.google.android.gms.internal.rl v2_81;
                            com.google.android.gms.internal.rl v2_79 = String.valueOf(p28);
                            if (v2_79.length() == 0) {
                                v2_81 = new String("Stream cache aborted, missing content-length header at ");
                            } else {
                                v2_81 = "Stream cache aborted, missing content-length header at ".concat(v2_79);
                            }
                            com.google.android.gms.internal.zzafx.zzcs(v2_81);
                            this.zza(p28, v13_1.getAbsolutePath(), "contentLengthMissing", 0);
                            com.google.android.gms.internal.zzsr.b.remove(v9_1);
                            v2_40 = 0;
                        }
                    } else {
                        com.google.android.gms.internal.rl v2_110;
                        com.google.android.gms.internal.rl v2_108 = String.valueOf(p28);
                        if (v2_108.length() == 0) {
                            v2_110 = new String("Stream cache already in progress at ");
                        } else {
                            v2_110 = "Stream cache already in progress at ".concat(v2_108);
                        }
                        com.google.android.gms.internal.zzafx.zzcs(v2_110);
                        this.zza(p28, v13_1.getAbsolutePath(), "inProgress", 0);
                        v2_40 = 0;
                    }
                } catch (com.google.android.gms.internal.rl v2_112) {
                    throw v2_112;
                }
            } else {
                com.google.android.gms.internal.rl v2_117;
                com.google.android.gms.internal.zzsr v3_37 = ((int) v13_1.length());
                com.google.android.gms.internal.rl v2_115 = String.valueOf(p28);
                if (v2_115.length() == 0) {
                    v2_117 = new String("Stream cache hit at ");
                } else {
                    v2_117 = "Stream cache hit at ".concat(v2_115);
                }
                com.google.android.gms.internal.zzafx.zzcb(v2_117);
                this.a(p28, v13_1.getAbsolutePath(), v3_37);
                v2_40 = 1;
            }
        } else {
            this.zza(p28, 0, "noCacheDir", 0);
            v2_40 = 0;
        }
        return v2_40;
    }

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


    private final java.io.File a(java.io.File p5)
    {
        return new java.io.File(this.d, String.valueOf(p5.getName()).concat(".done"));
    }

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


    public zzsr(com.google.android.gms.internal.zzakk p7)
    {
        super(p7);
        String v0_20 = super.a.getCacheDir();
        if (v0_20 != null) {
            super.d = new java.io.File(v0_20, "admobVideoStreams");
            if ((super.d.isDirectory()) || (super.d.mkdirs())) {
                if ((!super.d.setReadable(1, 0)) || (!super.d.setExecutable(1, 0))) {
                    String v0_12;
                    String v0_10 = String.valueOf(super.d.getAbsolutePath());
                    if (v0_10.length() == 0) {
                        v0_12 = new String("Could not set cache file permissions at ");
                    } else {
                        v0_12 = "Could not set cache file permissions at ".concat(v0_10);
                    }
                    com.google.android.gms.internal.zzafx.zzcs(v0_12);
                    super.d = 0;
                }
            } else {
                String v0_18;
                String v0_16 = String.valueOf(super.d.getAbsolutePath());
                if (v0_16.length() == 0) {
                    v0_18 = new String("Could not create preload cache directory at ");
                } else {
                    v0_18 = "Could not create preload cache directory at ".concat(v0_16);
                }
                com.google.android.gms.internal.zzafx.zzcs(v0_18);
                super.d = 0;
            }
        } else {
            com.google.android.gms.internal.zzafx.zzcs("Context.getCacheDir() returned null");
        }
        return;
    }

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


    public zzmx(android.content.Context p5, String p6, String p7, java.util.Map p8)
    {
        this.c = new java.util.LinkedHashMap();
        this.d = new java.util.HashMap();
        this.f = p5;
        this.g = p6;
        this.e = p7;
        this.h = new java.util.concurrent.atomic.AtomicBoolean(0);
        this.h.set(((Boolean) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbht)).booleanValue());
        if (this.h.get()) {
            java.util.Map v0_10 = android.os.Environment.getExternalStorageDirectory();
            if (v0_10 != null) {
                this.i = new java.io.File(v0_10, "sdk_csi_data.txt");
            }
        }
        com.google.android.gms.internal.zznb v2_2 = p8.entrySet().iterator();
        while (v2_2.hasNext()) {
            java.util.Map v0_23 = ((java.util.Map$Entry) v2_2.next());
            this.c.put(((String) v0_23.getKey()), ((String) v0_23.getValue()));
        }
        this.a = new java.util.concurrent.ArrayBlockingQueue(30);
        this.b = java.util.concurrent.Executors.newSingleThreadExecutor();
        this.b.execute(new com.google.android.gms.internal.pt(this));
        this.d.put("action", com.google.android.gms.internal.zznb.zzbqh);
        this.d.put("ad_format", com.google.android.gms.internal.zznb.zzbqh);
        this.d.put("e", com.google.android.gms.internal.zznb.zzbqi);
        return;
    }

Method com.google.android.gms.internal.zzdc.zza() calling method java.io.File.<init>()


    public static com.google.android.gms.internal.zzdc zza(android.content.Context p9, String p10, String p11, boolean p12)
    {
        int v0_0 = 1;
        void v3_0 = new com.google.android.gms.internal.zzdc(p9);
        v3_0.e = java.util.concurrent.Executors.newCachedThreadPool();
        v3_0.j = p12;
        if (p12) {
            v3_0.k = v3_0.e.submit(new com.google.android.gms.internal.ke(v3_0));
        }
        v3_0.e.execute(new com.google.android.gms.internal.kh(v3_0));
        try {
            String v2_5;
            com.google.android.gms.internal.zzdc.q = com.google.android.gms.common.zze.zzaew();
        } catch (int v0) {
            v3_0.a(0, 1);
            if ((!com.google.android.gms.internal.zzdh.zzaq()) || (!((Boolean) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbmb)).booleanValue())) {
                v3_0.g = new com.google.android.gms.internal.zzcx(0);
                v3_0.h = v3_0.g.zzl(p10);
                try {
                    int v0_29 = v3_0.a.getCacheDir();
                } catch (int v0_14) {
                    throw new com.google.android.gms.internal.zzcz(v0_14);
                } catch (int v0_13) {
                    throw new com.google.android.gms.internal.zzcz(v0_13);
                }
                if (v0_29 == 0) {
                    v0_29 = v3_0.a.getDir("dex", 0);
                    if (v0_29 == 0) {
                        throw new com.google.android.gms.internal.zzcz();
                    }
                }
                String v1_19 = v0_29;
                Object[] v5_5 = new Object[2];
                v5_5[0] = v1_19;
                v5_5[1] = "1493867303508";
                String v4_9 = new java.io.File(String.format("%s/%s.jar", v5_5));
                if (!v4_9.exists()) {
                    int v0_35 = v3_0.g.zzb(v3_0.h, p11);
                    v4_9.createNewFile();
                    Object[] v5_8 = new java.io.FileOutputStream(v4_9);
                    v5_8.write(v0_35, 0, v0_35.length);
                    v5_8.close();
                }
                v3_0.b(v1_19, "1493867303508");
                try {
                    v3_0.f = new dalvik.system.DexClassLoader(v4_9.getAbsolutePath(), v1_19.getAbsolutePath(), 0, v3_0.a.getClassLoader());
                } catch (int v0_3) {
                    com.google.android.gms.internal.zzdc.a(v4_9);
                    v3_0 = v3_0.a(v1_19, "1493867303508");
                    Object[] v5_2 = new Object[2];
                    v5_2[0] = v1_19;
                    v5_2[1] = "1493867303508";
                    com.google.android.gms.internal.zzdc.a(String.format("%s/%s.dex", v5_2));
                    throw v0_3;
                }
                com.google.android.gms.internal.zzdc.a(v4_9);
                v3_0 = v3_0.a(v1_19, "1493867303508");
                String v4_4 = new Object[2];
                v4_4[0] = v1_19;
                v4_4[1] = "1493867303508";
                com.google.android.gms.internal.zzdc.a(String.format("%s/%s.dex", v4_4));
                v3_0.n = new com.google.android.gms.internal.zzco(v3_0);
                v3_0.s = 1;
                return v3_0;
            } else {
                throw new IllegalStateException("Task Context initialization must not be called from the UI thread.");
            }
        }
        if (com.google.android.gms.common.zze.zzbx(v3_0.a) <= 0) {
            v2_5 = 0;
        } else {
            v2_5 = 1;
        }
        v3_0.b = v2_5;
        if (com.google.android.gms.internal.zzdc.q.isGooglePlayServicesAvailable(v3_0.a) != 0) {
            v0_0 = 0;
        }
        v3_0.p = v0_0;
    }

Method com.google.android.gms.internal.zzdc.b() calling method java.io.File.<init>()


    private final boolean b(java.io.File p13, String p14)
    {
        java.io.FileInputStream v0_3;
        int v3 = 0;
        java.io.FileInputStream v4_3 = new Object[2];
        v4_3[0] = p13;
        v4_3[1] = p14;
        byte[] v5_0 = new java.io.File(String.format("%s/%s.tmp", v4_3));
        if (v5_0.exists()) {
            java.io.FileInputStream v4_1 = new Object[2];
            v4_1[0] = p13;
            v4_1[1] = p14;
            int v6_1 = new java.io.File(String.format("%s/%s.dex", v4_1));
            if (!v6_1.exists()) {
                try {
                    String v8_0 = v5_0.length();
                } catch (java.io.FileInputStream v0_2) {
                    java.io.FileInputStream v4_0 = 0;
                    if (v4_0 != null) {
                        try {
                            v4_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v3 != 0) {
                        try {
                            v3.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    throw v0_2;
                } catch (java.io.FileInputStream v0) {
                    java.io.FileInputStream v0_1 = 0;
                    java.io.FileInputStream v1_0 = 0;
                    if (v1_0 != null) {
                        try {
                            v1_0.close();
                        } catch (java.io.FileInputStream v1) {
                        }
                    }
                    if (v0_1 != null) {
                        try {
                            v0_1.close();
                        } catch (java.io.FileInputStream v0) {
                        }
                    }
                    v0_3 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                } catch (java.io.FileInputStream v0) {
                    v0_1 = 0;
                    v1_0 = 0;
                }
                if (v8_0 > 0) {
                    java.io.FileInputStream v0_10 = new byte[((int) v8_0)];
                    v4_0 = new java.io.FileInputStream(v5_0);
                    try {
                        if (v4_0.read(v0_10) > 0) {
                            java.io.FileInputStream v0_12 = ((com.google.android.gms.internal.zzbc) com.google.android.gms.internal.zzego.zza(new com.google.android.gms.internal.zzbc(), v0_10));
                            if ((p14.equals(new String(v0_12.zzgf))) && ((java.util.Arrays.equals(v0_12.zzge, com.google.android.gms.internal.fo.a(v0_12.data))) && (java.util.Arrays.equals(v0_12.zzgg, android.os.Build$VERSION.SDK.getBytes())))) {
                                byte[] v5_3 = this.g.zzb(this.h, new String(v0_12.data));
                                v6_1.createNewFile();
                                v0_1 = new java.io.FileOutputStream(v6_1);
                                v3 = 0;
                                try {
                                    v0_1.write(v5_3, 0, v5_3.length);
                                    try {
                                        v4_0.close();
                                        try {
                                            v0_1.close();
                                        } catch (java.io.FileInputStream v0) {
                                        }
                                        v0_3 = 1;
                                    } catch (java.io.IOException v2) {
                                    }
                                } catch (java.io.FileInputStream v1_2) {
                                    v3 = v0_1;
                                    v0_2 = v1_2;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                } catch (java.io.FileInputStream v1) {
                                    v1_0 = v4_0;
                                }
                            } else {
                                com.google.android.gms.internal.zzdc.a(v5_0);
                                try {
                                    v4_0.close();
                                } catch (java.io.FileInputStream v0) {
                                }
                                v0_3 = 0;
                            }
                        } else {
                            android.util.Log.d(com.google.android.gms.internal.zzdc.c, "Cannot read the cache data.");
                            com.google.android.gms.internal.zzdc.a(v5_0);
                            try {
                                v4_0.close();
                            } catch (java.io.FileInputStream v0) {
                            }
                            v0_3 = 0;
                        }
                    } catch (java.io.FileInputStream v0_2) {
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    } catch (java.io.FileInputStream v0) {
                        v0_1 = v3;
                        v1_0 = v4_0;
                    }
                } else {
                    com.google.android.gms.internal.zzdc.a(v5_0);
                    v0_3 = 0;
                }
            } else {
                v0_3 = 0;
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

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


    private static void a(String p1)
    {
        ark>com.google.android.gms.internal.zzdcark>.a(new java.io.File(p1));
        return;
    }

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


    private final void a(java.io.File p12, String p13)
    {
        java.io.IOException v1_0 = 0;
        java.io.IOException v2_3 = new Object[2];
        v2_3[0] = p12;
        v2_3[1] = p13;
        int v3_0 = new java.io.File(String.format("%s/%s.tmp", v2_3));
        if (!v3_0.exists()) {
            java.io.IOException v2_0 = new Object[2];
            v2_0[0] = p12;
            v2_0[1] = p13;
            java.io.File v4_1 = new java.io.File(String.format("%s/%s.dex", v2_0));
            if (v4_1.exists()) {
                com.google.android.gms.internal.zzcx v6_1 = v4_1.length();
                if (v6_1 > 0) {
                    java.io.IOException v0_8 = new byte[((int) v6_1)];
                    try {
                        java.io.IOException v2_2 = new java.io.FileInputStream(v4_1);
                        try {
                            if (v2_2.read(v0_8) > 0) {
                                int v5_3 = new com.google.android.gms.internal.zzbc();
                                v5_3.zzgg = android.os.Build$VERSION.SDK.getBytes();
                                v5_3.zzgf = p13.getBytes();
                                java.io.IOException v0_12 = this.g.zzc(this.h, v0_8).getBytes();
                                v5_3.data = v0_12;
                                v5_3.zzge = com.google.android.gms.internal.fo.a(v0_12);
                                v3_0.createNewFile();
                                java.io.IOException v0_9 = new java.io.FileOutputStream(v3_0);
                                try {
                                    java.io.IOException v1_1 = com.google.android.gms.internal.zzego.zzc(v5_3);
                                    v0_9.write(v1_1, 0, v1_1.length);
                                    v0_9.close();
                                    try {
                                        v2_2.close();
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                        ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                                    } catch (java.io.IOException v1) {
                                    }
                                } catch (java.io.IOException v1_2) {
                                    v1_0 = v0_9;
                                    java.io.IOException v0_1 = v1_2;
                                    if (v2_2 != null) {
                                        try {
                                            v2_2.close();
                                        } catch (java.io.IOException v2) {
                                        }
                                    }
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                                    throw v0_1;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    if (v0_9 != null) {
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                    }
                                    ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                }
                            } else {
                                try {
                                    v2_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                ark>com.google.android.gms.internal.zzdcark>.a(v4_1);
                            }
                        } catch (java.io.IOException v0_1) {
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_2 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    }
                }
            }
        }
        return;
    }

Method com.google.android.gms.internal.zzcco.k() calling method java.io.File.<init>()


    private final boolean k()
    {
        this.zzauj().zzug();
        try {
            int v0_11;
            this.E = new java.io.RandomAccessFile(new java.io.File(this.b.getFilesDir(), com.google.android.gms.internal.zzcap.zzawh()), "rw").getChannel();
            this.D = this.E.tryLock();
        } catch (int v0_14) {
            this.zzauk().zzayc().zzj("Failed to acquire storage lock", v0_14);
            v0_11 = 0;
            return v0_11;
        } catch (int v0_12) {
            this.zzauk().zzayc().zzj("Failed to access storage lock file", v0_12);
        }
        if (this.D == null) {
            this.zzauk().zzayc().log("Storage concurrent data access panic");
        } else {
            this.zzauk().zzayi().log("Storage concurrent access okay");
            v0_11 = 1;
            return v0_11;
        }
    }

Method com.google.android.gms.internal.zzas.zza() calling method java.io.File.<init>()


    public static com.google.android.gms.internal.zzs zza(android.content.Context p6, com.google.android.gms.internal.zzan p7)
    {
        java.io.File v2_1 = new java.io.File(p6.getCacheDir(), "volley");
        try {
            com.google.android.gms.internal.zzad v1_9 = p6.getPackageName();
            com.google.android.gms.internal.zzs v0_1 = new StringBuilder((String.valueOf(v1_9).length() + 12)).append(v1_9).append("/").append(p6.getPackageManager().getPackageInfo(v1_9, 0).versionCode).toString();
        } catch (com.google.android.gms.internal.zzad v1) {
        }
        com.google.android.gms.internal.zzs v0_3;
        if (android.os.Build$VERSION.SDK_INT < 9) {
            v0_3 = new com.google.android.gms.internal.zzak(android.net.http.AndroidHttpClient.newInstance(v0_1));
        } else {
            v0_3 = new com.google.android.gms.internal.zzao();
        }
        com.google.android.gms.internal.zzs v0_6 = new com.google.android.gms.internal.zzs(new com.google.android.gms.internal.zzag(v2_1), new com.google.android.gms.internal.zzad(v0_3));
        v0_6.start();
        return v0_6;
    }

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


    protected final android.webkit.WebResourceResponse a(android.webkit.WebView p8, String p9, java.util.Map p10)
    {
        int v0_2;
        if ((p8 instanceof com.google.android.gms.internal.zzakk)) {
            if (this.b != null) {
                this.b.zza(p9, p10, 1);
            }
            if ("mraid.js".equalsIgnoreCase(new java.io.File(p9).getName())) {
                if (((com.google.android.gms.internal.zzakk) p8).zzsb() != null) {
                    ((com.google.android.gms.internal.zzakk) p8).zzsb().zzmo();
                }
                String v1_11;
                if (!((com.google.android.gms.internal.zzakk) p8).zzbl().zzbcr) {
                    if (!((com.google.android.gms.internal.zzakk) p8).zzsf()) {
                        v1_11 = ((String) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbho));
                    } else {
                        v1_11 = ((String) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbhp));
                    }
                } else {
                    v1_11 = ((String) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbhq));
                }
                try {
                    int v3_4 = ((com.google.android.gms.internal.zzakk) p8).getContext();
                    int v0_7 = ((com.google.android.gms.internal.zzakk) p8).zzse().zzcp;
                    String v4_1 = new java.util.HashMap();
                    v4_1.put("User-Agent", com.google.android.gms.ads.internal.zzbv.zzea().zzs(v3_4, v0_7));
                    v4_1.put("Cache-Control", "max-stale=3600");
                    int v0_14 = ((String) new com.google.android.gms.internal.zzaik(v3_4).zzb(v1_11, v4_1).get(60, java.util.concurrent.TimeUnit.SECONDS));
                } catch (int v0_16) {
                    int v0_18 = String.valueOf(v0_16.getMessage());
                    if (v0_18.length() == 0) {
                        int v0_1 = new String("Could not fetch MRAID JS. ");
                    } else {
                        v0_1 = "Could not fetch MRAID JS. ".concat(v0_18);
                    }
                    com.google.android.gms.internal.zzafx.zzcs(v0_1);
                    v0_2 = 0;
                } catch (int v0_16) {
                } catch (int v0_16) {
                } catch (int v0_16) {
                }
                if (v0_14 != 0) {
                    v0_2 = new android.webkit.WebResourceResponse("application/javascript", "UTF-8", new java.io.ByteArrayInputStream(v0_14.getBytes("UTF-8")));
                } else {
                    v0_2 = 0;
                }
            } else {
                v0_2 = super.shouldInterceptRequest(p8, p9);
            }
        } else {
            com.google.android.gms.internal.zzafx.zzcs("Tried to intercept request from a WebView that wasn\'t an AdWebView.");
            v0_2 = 0;
        }
        return v0_2;
    }

Method com.google.android.gms.internal.zzahq.zzau() calling method java.io.File.<init>()


    public final void zzau(android.content.Context p10)
    {
        com.google.android.gms.internal.zzafn v0_0 = com.google.android.gms.internal.zzaja.zzrk();
        com.google.android.gms.internal.zzafx.v("Updating user agent.");
        String v1_1 = android.webkit.WebSettings.getDefaultUserAgent(p10);
        if (!v1_1.equals(v0_0.a)) {
            String v2_1 = com.google.android.gms.common.zzo.getRemoteContext(p10);
            if (v2_1 == null) {
                java.io.File v3_1 = p10.getSharedPreferences("admob_user_agent", 0).edit().putString("user_agent", android.webkit.WebSettings.getDefaultUserAgent(p10));
                if (v2_1 != null) {
                    java.io.File v4_4 = new java.io.File(p10.getApplicationInfo().dataDir, "shared_prefs");
                    String v5_3 = v4_4.getParentFile();
                    if (v5_3 != null) {
                        v5_3.setExecutable(1, 0);
                    }
                    v4_4.setExecutable(1, 0);
                    v3_1.commit();
                    new java.io.File(v4_4, String.valueOf("admob_user_agent").concat(".xml")).setReadable(1, 0);
                } else {
                    v3_1.apply();
                }
            }
            v0_0.a = v1_1;
        }
        com.google.android.gms.internal.zzafx.v("User agent is updated.");
        com.google.android.gms.ads.internal.zzbv.zzee().zzql();
        return;
    }

Method com.google.android.gms.internal.zzag.c() calling method java.io.File.<init>()


    private final java.io.File c(String p4)
    {
        return new java.io.File(this.c, com.google.android.gms.internal.zzag.b(p4));
    }

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


    static void a(com.google.android.gms.internal.zzcbo p5, android.database.sqlite.SQLiteDatabase p6)
    {
        if (p5 != null) {
            com.google.android.gms.internal.zzcbq v0_5 = new java.io.File(p6.getPath());
            if (!v0_5.setReadable(0, 0)) {
                p5.zzaye().log("Failed to turn off database read permission");
            }
            if (!v0_5.setWritable(0, 0)) {
                p5.zzaye().log("Failed to turn off database write permission");
            }
            if (!v0_5.setReadable(1, 1)) {
                p5.zzaye().log("Failed to turn on database read permission for owner");
            }
            if (!v0_5.setWritable(1, 1)) {
                p5.zzaye().log("Failed to turn on database write permission for owner");
            }
            return;
        } else {
            throw new IllegalArgumentException("Monitor must not be null");
        }
    }

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


    public static java.io.File getNoBackupFilesDir(android.content.Context p3)
    {
        java.io.File v0_1;
        if (!com.google.android.gms.common.util.zzp.zzalj()) {
            v0_1 = com.google.android.gms.common.util.zzt.a(new java.io.File(p3.getApplicationInfo().dataDir, "no_backup"));
        } else {
            v0_1 = p3.getNoBackupFilesDir();
        }
        return v0_1;
    }

Method com.github.mikephil.charting.utils.FileUtils.saveToSdCard() calling method java.io.File.<init>()


    public static void saveToSdCard(java.util.List p5, String p6)
    {
        String v1_3 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), p6);
        if (!v1_3.exists()) {
            try {
                v1_3.createNewFile();
            } catch (String v0_13) {
                android.util.Log.e("MPChart-FileUtils", v0_13.toString());
            }
            String v2_1 = new java.io.BufferedWriter(new java.io.FileWriter(v1_3, 1));
            String v1_0 = p5.iterator();
            while (v1_0.hasNext()) {
                String v0_8 = ((com.github.mikephil.charting.data.Entry) v1_0.next());
                v2_1.append(new StringBuilder().append(v0_8.getY()).append("#").append(v0_8.getX()).toString());
                v2_1.newLine();
            }
            v2_1.close();
            return;
        }
        try {
        } catch (String v0_5) {
            android.util.Log.e("MPChart-FileUtils", v0_5.toString());
            return;
        }
    }

Method com.github.mikephil.charting.utils.FileUtils.loadEntriesFromFile() calling method java.io.File.<init>()


    public static java.util.List loadEntriesFromFile(String p7)
    {
        float v2_6 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), p7);
        java.util.ArrayList v3_1 = new java.util.ArrayList();
        try {
            java.io.BufferedReader v4_0 = new java.io.BufferedReader(new java.io.FileReader(v2_6));
        } catch (com.github.mikephil.charting.data.BarEntry v0_8) {
            android.util.Log.e("MPChart-FileUtils", v0_8.toString());
            return v3_1;
        }
        while(true) {
            com.github.mikephil.charting.data.BarEntry v0_0 = v4_0.readLine();
            if (v0_0 == null) {
                return v3_1;
            } else {
                float v2_1 = v0_0.split("#");
                if (v2_1.length > 2) {
                    float[] v5_1 = new float[(v2_1.length - 1)];
                    com.github.mikephil.charting.data.BarEntry v0_5 = 0;
                    while (v0_5 < v5_1.length) {
                    }
                    v3_1.add(new com.github.mikephil.charting.data.BarEntry(((float) Integer.parseInt(v2_1[(v2_1.length - 1)])), v5_1));
                } else {
                    v3_1.add(new com.github.mikephil.charting.data.Entry(Float.parseFloat(v2_1[0]), ((float) Integer.parseInt(v2_1[1]))));
                }
            }
        }
        v5_1[v0_5] = Float.parseFloat(v2_1[v0_5]);
        v0_5++;
    }

Method com.github.mikephil.charting.charts.Chart.saveToGallery() calling method java.io.File.<init>()


    public boolean saveToGallery(String p10, String p11, String p12, android.graphics.Bitmap$CompressFormat p13, int p14)
    {
        int v1 = 0;
        if ((p14 < 0) || (p14 > 100)) {
            p14 = 50;
        }
        android.net.Uri v2_5 = System.currentTimeMillis();
        String v4_0 = new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory().getAbsolutePath()).append("/DCIM/").append(p11).toString());
        if ((v4_0.exists()) || (v4_0.mkdirs())) {
            int v0_19;
            switch (com.github.mikephil.charting.charts.Chart$2.$SwitchMap$android$graphics$Bitmap$CompressFormat[p13.ordinal()]) {
                case 1:
                    v0_19 = "image/png";
                    if (p10.endsWith(".png")) {
                    } else {
                        p10 = new StringBuilder().append(p10).append(".png").toString();
                    }
                    break;
                case 2:
                    v0_19 = "image/webp";
                    if (p10.endsWith(".webp")) {
                    } else {
                        p10 = new StringBuilder().append(p10).append(".webp").toString();
                    }
                    break;
                default:
                    v0_19 = "image/jpeg";
                    if ((p10.endsWith(".jpg")) || (p10.endsWith(".jpeg"))) {
                    } else {
                        p10 = new StringBuilder().append(p10).append(".jpg").toString();
                    }
            }
            String v4_6 = new StringBuilder().append(v4_0.getAbsolutePath()).append("/").append(p10).toString();
            try {
                int v0_9;
                android.content.ContentValues v5_32 = new java.io.FileOutputStream(v4_6);
                this.getChartBitmap().compress(p13, p14, v5_32);
                v5_32.flush();
                v5_32.close();
                long v6_0 = new java.io.File(v4_6).length();
                android.content.ContentValues v5_4 = new android.content.ContentValues(8);
                v5_4.put("title", p10);
                v5_4.put("_display_name", p10);
                v5_4.put("date_added", Long.valueOf(v2_5));
                v5_4.put("mime_type", v0_19);
                v5_4.put("description", p12);
                v5_4.put("orientation", Integer.valueOf(0));
                v5_4.put("_data", v4_6);
                v5_4.put("_size", Long.valueOf(v6_0));
            } catch (int v0_8) {
                v0_8.printStackTrace();
            }
            if (this.getContext().getContentResolver().insert(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, v5_4) == null) {
                v0_9 = 0;
            } else {
                v0_9 = 1;
            }
            v1 = v0_9;
        }
        return v1;
    }

Method com.getkeepsafe.relinker.c.a() calling method java.io.File.<init>()


    protected java.io.File a(android.content.Context p5, String p6, String p7)
    {
        java.io.File v0_1;
        String v1_4 = this.b.c(p6);
        if (!com.getkeepsafe.relinker.e.a(p7)) {
            v0_1 = new java.io.File(this.a(p5), new StringBuilder().append(v1_4).append(".").append(p7).toString());
        } else {
            v0_1 = new java.io.File(this.a(p5), v1_4);
        }
        return v0_1;
    }

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


    public void a(android.content.Context p14, String[] p15, String p16, java.io.File p17, com.getkeepsafe.relinker.c p18)
    {
        int v3_0 = 0;
        try {
            int v6_1 = p14.getApplicationInfo();
            java.io.IOException v2_8 = 0;
        } catch (java.io.IOException v2_10) {
            if (v3_0 != 0) {
                try {
                    v3_0.close();
                } catch (int v3) {
                }
            }
            throw v2_10;
        }
        while(true) {
            int v5_0;
            int v4_4 = (v2_8 + 1);
            if (v2_8 >= 5) {
                break;
            }
            try {
                v5_0 = new java.util.zip.ZipFile(new java.io.File(v6_1.sourceDir), 1);
                try {
                    if (v5_0 != 0) {
                        java.io.IOException v2_4 = 0;
                        while(true) {
                            int v6_0 = (v2_4 + 1);
                            if (v2_4 >= 5) {
                                p18.a("FATAL! Couldn\'t extract the library from the APK!");
                                if (v5_0 != 0) {
                                    try {
                                        v5_0.close();
                                    } catch (java.io.IOException v2) {
                                    }
                                }
                            } else {
                                Object[] v7_2 = p15.length;
                                java.io.IOException v2_15 = 0;
                                int v3_12 = 0;
                                int v4_2 = 0;
                                while (v4_2 < v7_2) {
                                    v3_12 = new StringBuilder().append("lib").append(java.io.File.separatorChar).append(p15[v4_2]).append(java.io.File.separatorChar).append(p16).toString();
                                    v2_15 = v5_0.getEntry(v3_12);
                                    if (v2_15 == null) {
                                        v4_2++;
                                    } else {
                                        int v4_3 = v2_15;
                                        java.io.IOException v2_16 = v3_12;
                                    }
                                    if (v2_16 != null) {
                                        Object[] v7_4 = new Object[1];
                                        v7_4[0] = v2_16;
                                        p18.a("Looking for %s in APK...", v7_4);
                                    }
                                    if (v4_3 != 0) {
                                        Object[] v7_6 = new Object[1];
                                        v7_6[0] = v2_16;
                                        p18.a("Found %s! Extracting...", v7_6);
                                        try {
                                            if ((p17.exists()) || (p17.createNewFile())) {
                                                int v3_5 = 0;
                                                try {
                                                    int v4_0 = v5_0.getInputStream(v4_3);
                                                    try {
                                                        java.io.IOException v2_2 = new java.io.FileOutputStream(p17);
                                                        try {
                                                            long v8_0 = this.a(v4_0, v2_2);
                                                            v2_2.getFD().sync();
                                                        } catch (int v3_4) {
                                                            v3_5 = v2_2;
                                                            java.io.IOException v2_0 = v3_4;
                                                            this.a(v4_0);
                                                            this.a(v3_5);
                                                            throw v2_0;
                                                        } catch (int v3) {
                                                            int v3_1 = v4_0;
                                                            this.a(v3_1);
                                                            this.a(v2_2);
                                                            v2_4 = v6_0;
                                                        } catch (int v3) {
                                                            this.a(v4_0);
                                                            this.a(v2_2);
                                                            v2_4 = v6_0;
                                                        }
                                                        if (v8_0 == p17.length()) {
                                                            this.a(v4_0);
                                                            this.a(v2_2);
                                                            p17.setReadable(1, 0);
                                                            p17.setExecutable(1, 0);
                                                            p17.setWritable(1);
                                                            if (v5_0 != 0) {
                                                                try {
                                                                    v5_0.close();
                                                                } catch (java.io.IOException v2) {
                                                                }
                                                            }
                                                        } else {
                                                            this.a(v4_0);
                                                            this.a(v2_2);
                                                            v2_4 = v6_0;
                                                        }
                                                    } catch (java.io.IOException v2_0) {
                                                    } catch (java.io.IOException v2) {
                                                        v2_2 = 0;
                                                        v3_1 = v4_0;
                                                    } catch (java.io.IOException v2) {
                                                        v2_2 = 0;
                                                    }
                                                } catch (int v4) {
                                                    v3_1 = 0;
                                                    v2_2 = 0;
                                                }
                                            } else {
                                            }
                                        } catch (java.io.IOException v2) {
                                            v2_4 = v6_0;
                                        }
                                        v2_4 = v6_0;
                                    } else {
                                        if (v2_16 == null) {
                                            throw new com.getkeepsafe.relinker.MissingLibraryException(p16);
                                        } else {
                                            throw new com.getkeepsafe.relinker.MissingLibraryException(v2_16);
                                        }
                                    }
                                }
                                v4_3 = v2_15;
                                v2_16 = v3_12;
                            }
                        }
                    } else {
                        p18.a("FATAL! Couldn\'t find application APK!");
                        if (v5_0 != 0) {
                            try {
                                v5_0.close();
                            } catch (java.io.IOException v2) {
                            }
                        }
                    }
                } catch (java.io.IOException v2_10) {
                    v3_0 = v5_0;
                }
                return;
            } catch (java.io.IOException v2) {
                v2_8 = v4_4;
            }
        }
        v5_0 = 0;
    }

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


    private java.io.File getUserDataFileForSession(String p5)
    {
        return new java.io.File(this.filesDir, new StringBuilder().append(p5).append("user").append(".meta").toString());
    }

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


    private java.io.File getKeysFileForSession(String p5)
    {
        return new java.io.File(this.filesDir, new StringBuilder().append(p5).append("keys").append(".meta").toString());
    }

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


    private java.io.File getWorkingFileForSession(String p4)
    {
        return new java.io.File(this.directoryProvider.getLogFileDir(), new StringBuilder().append("crashlytics-userlog-").append(p4).append(".temp").toString());
    }

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


    private java.io.File getMarkerFile()
    {
        return new java.io.File(this.fileStore.a(), this.markerName);
    }

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


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

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


    java.io.File getInvalidFilesDir()
    {
        return new java.io.File(this.getFilesDir(), "invalidClsFiles");
    }

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


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

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


    void doCleanInvalidTempFiles(java.io.File[] p10)
    {
        int v0 = 0;
        java.io.File[] v2_2 = new java.util.HashSet();
        int v3_4 = p10.length;
        java.io.File v1_1 = 0;
        while (v1_1 < v3_4) {
            java.io.File v4_1 = p10[v1_1];
            io.fabric.sdk.android.c.h().a("CrashlyticsCore", new StringBuilder().append("Found invalid session part file: ").append(v4_1).toString());
            v2_2.add(com.crashlytics.android.core.CrashlyticsController.getSessionIdFromSessionFile(v4_1));
            v1_1++;
        }
        if (!v2_2.isEmpty()) {
            java.io.File v1_0 = this.getInvalidFilesDir();
            if (!v1_0.exists()) {
                v1_0.mkdir();
            }
            java.io.File[] v2_1 = this.listFilesMatching(new com.crashlytics.android.core.CrashlyticsController$14(this, v2_2));
            int v3_3 = v2_1.length;
            while (v0 < v3_3) {
                java.io.File v4_0 = v2_1[v0];
                io.fabric.sdk.android.c.h().a("CrashlyticsCore", new StringBuilder().append("Moving session file: ").append(v4_0).toString());
                if (!v4_0.renameTo(new java.io.File(v1_0, v4_0.getName()))) {
                    io.fabric.sdk.android.c.h().a("CrashlyticsCore", new StringBuilder().append("Could not move session file. Deleting ").append(v4_0).toString());
                    v4_0.delete();
                }
                v0++;
            }
            this.trimInvalidSessionFiles();
        }
        return;
    }

Method com.crashlytics.android.core.CrashlyticsController$LogFileDirectoryProvider.getLogFileDir() calling method java.io.File.<init>()


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

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


    public declared_synchronized void close()
    {
        try {
            if (!this.closed) {
                this.closed = 1;
                super.flush();
                super.close();
                StringBuilder v1_0 = new java.io.File(new StringBuilder().append(this.root).append(".cls").toString());
                if (!this.inProgress.renameTo(v1_0)) {
                    String v0_7 = "";
                    if (!v1_0.exists()) {
                        if (!this.inProgress.exists()) {
                            v0_7 = " (source does not exist)";
                        }
                    } else {
                        v0_7 = " (target already exists)";
                    }
                    throw new java.io.IOException(new StringBuilder().append("Could not rename temp file: ").append(this.inProgress).append(" -> ").append(v1_0).append(v0_7).toString());
                } else {
                    this.inProgress = 0;
                    this.complete = v1_0;
                }
            }
        } catch (String v0_10) {
            throw v0_10;
        }
        return;
    }

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


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

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


    public ClsFileOutputStream(java.io.File p4, String p5)
    {
        super(new java.io.File(p4, new StringBuilder().append(p5).append(".cls_temp").toString()));
        super.closed = 0;
        super.root = new StringBuilder().append(p4).append(java.io.File.separator).append(p5).toString();
        super.inProgress = new java.io.File(new StringBuilder().append(super.root).append(".cls_temp").toString());
        return;
    }

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


    protected boolean onPreExecute()
    {
        int v0 = 0;
        try {
            String v5_1;
            io.fabric.sdk.android.k v2_0 = this.getContext();
            com.crashlytics.android.answers.SessionAnalyticsManager v1_6 = v2_0.getPackageManager();
            io.fabric.sdk.android.services.b.o v3_4 = v2_0.getPackageName();
            long v6_2 = v1_6.getPackageInfo(v3_4, 0);
            String v4_1 = Integer.toString(v6_2.versionCode);
        } catch (com.crashlytics.android.answers.SessionAnalyticsManager v1_5) {
            io.fabric.sdk.android.c.h().e("Answers", "Error retrieving app properties", v1_5);
            return v0;
        }
        if (v6_2.versionName != null) {
            v5_1 = v6_2.versionName;
        } else {
            v5_1 = "0.0";
        }
        long v6_1;
        if (android.os.Build$VERSION.SDK_INT < 9) {
            v6_1 = new java.io.File(v1_6.getApplicationInfo(v3_4, 0).sourceDir).lastModified();
        } else {
            v6_1 = v6_2.firstInstallTime;
        }
        this.analyticsManager = com.crashlytics.android.answers.SessionAnalyticsManager.build(this, v2_0, this.getIdManager(), v4_1, v5_1, v6_1);
        this.analyticsManager.enable();
        v0 = 1;
        return v0;
    }

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


    public static declared_synchronized String a(android.content.Context p4)
    {
        try {
            if (ark>com.appsflyer.mark>.a == null) {
                String v0_7 = ark>com.appsflyer.mark>.c(p4);
                if (v0_7 == null) {
                    String v0_1 = new java.io.File(p4.getFilesDir(), "AF_INSTALLATION");
                    try {
                        if (v0_1.exists()) {
                            ark>com.appsflyer.mark>.a = ark>com.appsflyer.mark>.a(v0_1);
                            v0_1.delete();
                        } else {
                            ark>com.appsflyer.mark>.a = ark>com.appsflyer.mark>.b(p4);
                        }
                    } catch (String v0_3) {
                        throw new RuntimeException(v0_3);
                    }
                    ark>com.appsflyer.mark>.a(p4, ark>com.appsflyer.mark>.a);
                } else {
                    ark>com.appsflyer.mark>.a = v0_7;
                }
            }
        } catch (String v0_5) {
            throw v0_5;
        }
        return ark>com.appsflyer.mark>.a;
    }

Method com.appsflyer.f.p() calling method java.io.File.<init>()


    private String p(android.content.Context p6)
    {
        Throwable v0_0 = 0;
        Throwable v1_5 = this.b("ro.appsflyer.preinstall.path");
        if (v1_5 == null) {
            v1_5 = this.b(p6, "AF_PRE_INSTALL_PATH");
        }
        if (v1_5 == null) {
            v1_5 = "/data/local/tmp/pre_install.appsflyer";
        }
        try {
            Throwable v2_3;
            if (new java.io.File(v1_5).exists()) {
                v2_3 = v1_5;
                java.util.Properties v3_1 = new java.util.Properties();
                Throwable v1_3 = new java.io.FileReader(v2_3);
                try {
                    v3_1.load(v1_3);
                    com.appsflyer.b.a("Found pre_install definition");
                    v0_0 = v3_1.getProperty(p6.getPackageName());
                } catch (Throwable v0_1) {
                    if (v1_3 != null) {
                        try {
                            v1_3.close();
                        } catch (Throwable v1) {
                        }
                    }
                    throw v0_1;
                } catch (Throwable v2) {
                    if (v1_3 != null) {
                        try {
                            v1_3.close();
                        } catch (Throwable v1) {
                        }
                    }
                }
                if (v1_3 != null) {
                    try {
                        v1_3.close();
                    } catch (Throwable v1) {
                    }
                }
            } else {
                v2_3 = "/etc/pre_install.appsflyer";
            }
        } catch (Throwable v1_4) {
            v1_3 = 0;
            v0_1 = v1_4;
        } catch (Throwable v1) {
            v1_3 = 0;
        }
        return v0_0;
    }

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


    public void a(String p5, android.content.Context p6)
    {
        String v1_2 = new java.io.File(this.c(p6), p5);
        android.util.Log.i(com.appsflyer.f.c, new StringBuilder().append("Deleting ").append(p5).append(" from cache").toString());
        if (v1_2.exists()) {
            try {
                v1_2.delete();
            } catch (Exception v0_2) {
                android.util.Log.i(com.appsflyer.f.c, new StringBuilder().append("Could not delete ").append(p5).append(" from cache").toString(), v0_2);
            }
        }
        return;
    }

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


    public void a(com.appsflyer.a.b p8, android.content.Context p9)
    {
        java.io.IOException v0_0 = 0;
        try {
            java.io.IOException v1_2 = this.c(p9);
        } catch (java.io.IOException v1_5) {
            java.io.IOException v1_4 = 0;
            java.io.IOException v0_1 = v1_5;
            if (v1_4 != null) {
                try {
                    v1_4.close();
                } catch (java.io.IOException v1) {
                }
            }
            throw v0_1;
        } catch (java.io.IOException v1) {
            try {
                android.util.Log.i(com.appsflyer.f.c, "Could not cache request");
            } catch (java.io.IOException v1_7) {
                v1_4 = v0_0;
                v0_1 = v1_7;
            }
            if (v0_0 == null) {
                return;
            } else {
                try {
                    v0_0.close();
                } catch (java.io.IOException v0) {
                }
                return;
            }
        }
        if (v1_2.exists()) {
            java.io.IOException v1_8 = v1_2.listFiles();
            if ((v1_8 == null) || (v1_8.length <= 40)) {
                android.util.Log.i(com.appsflyer.f.c, "caching request...");
                String v2_3 = new java.io.File(this.c(p9), Long.toString(System.currentTimeMillis()));
                v2_3.createNewFile();
                v1_4 = new java.io.OutputStreamWriter(new java.io.FileOutputStream(v2_3.getPath(), 1));
                try {
                    v1_4.write("version=");
                    v1_4.write(p8.a());
                    v1_4.write(10);
                    v1_4.write("url=");
                    v1_4.write(p8.c());
                    v1_4.write(10);
                    v1_4.write("data=");
                    v1_4.write(p8.b());
                    v1_4.write(10);
                    v1_4.flush();
                } catch (java.io.IOException v0_1) {
                } catch (java.io.IOException v0) {
                    v0_0 = v1_4;
                }
                if (v1_4 == null) {
                    return;
                } else {
                    try {
                        v1_4.close();
                    } catch (java.io.IOException v0) {
                    }
                    return;
                }
            } else {
                android.util.Log.i(com.appsflyer.f.c, "reached cache limit, not caching request");
                if (0 == 0) {
                    return;
                } else {
                    try {
                        0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return;
                }
            }
        } else {
            v1_2.mkdir();
            if (0 == 0) {
                return;
            } else {
                try {
                    0.close();
                } catch (java.io.IOException v0) {
                }
                return;
            }
        }
    }

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


    private java.io.File c(android.content.Context p4)
    {
        return new java.io.File(p4.getFilesDir(), "AFRequestCache");
    }

Method com.amazonaws.regions.RegionUtils.c() calling method java.io.File.<init>()


    private static void c()
    {
        java.io.FileInputStream v0_1 = System.getProperty("com.amazonaws.regions.RegionUtils.fileOverride");
        if (com.amazonaws.regions.RegionUtils.b.isDebugEnabled()) {
            com.amazonaws.regions.RegionUtils.b.debug(new StringBuilder().append("Using local override of the regions file (").append(v0_1).append(") to initiate regions data...").toString());
        }
        com.amazonaws.regions.RegionUtils.a(new java.io.FileInputStream(new java.io.File(v0_1)));
        return;
    }

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.validate.FileManagerValidator.a() calling method java.io.File.<init>()


    public void a(com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.core.AnalyticsContext p5)
    {
        RuntimeException v0_7 = p5.e().a();
        try {
            String v1_0 = v0_7.a(new java.io.File(v0_7.b(""), "validatorFile"));
        } catch (RuntimeException v0_1) {
            throw new RuntimeException("Encountered an error accessing the file system", v0_1);
        }
        if (v1_0 != null) {
            if (v0_7.b(v1_0)) {
                return;
            } else {
                throw new RuntimeException("Encountered an error accessing the file system, could not delete files");
            }
        } else {
            throw new RuntimeException("Encountered an error accessing the file system, could not create files");
        }
    }

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.session.FileSessionStore.<init>() calling method java.io.File.<init>()


    public FileSessionStore(com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.core.AnalyticsContext p5)
    {
        this.c = new java.util.concurrent.locks.ReentrantReadWriteLock(1);
        this.d = this.c.readLock();
        this.e = this.c.writeLock();
        this.f = 0;
        this.a = p5;
        java.io.IOException v0_5 = this.a.e().a();
        try {
            this.b = v0_5.a(new java.io.File(v0_5.a("sessions"), "sessionFile"));
        } catch (java.io.IOException v0_8) {
            android.util.Log.e("FileSessionStore", "An error occurred while attempting to create/open the session file", v0_8);
        }
        return;
    }

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.delivery.FileEventStore.b() calling method java.io.File.<init>()


    private boolean b()
    {
        int v0_0 = 1;
        if ((this.d == null) || (!this.d.exists())) {
            try {
                if ((this.d == null) || (!this.d.exists())) {
                    try {
                        String v1_4 = this.c.e().a();
                        this.d = v1_4.a(new java.io.File(v1_4.a("events"), "eventsFile"));
                    } catch (int v0_1) {
                        android.util.Log.e("FileEventStore", "Unable to open events file");
                        android.util.Log.e("FileEventStore", "An error occurred while attempting to create/open the events file", v0_1);
                        v0_0 = 0;
                    }
                } else {
                }
            } catch (int v0_2) {
                throw v0_2;
            }
        }
        return v0_0;
    }

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.delivery.FileEventStore.a() calling method java.io.File.<init>()


    private java.io.File a(int p11)
    {
        String v2_0 = 0;
        com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.core.system.FileManager v6 = this.c.e().a();
        java.io.File v7 = v6.a("events");
        try {
            java.io.IOException v0_7 = new java.io.File(v7, "eventsFile.tmp");
        } catch (java.io.IOException v0_9) {
            android.util.Log.e("FileEventStore", "An error occurred while attempting to create/open the temporary events file", v0_9);
            java.io.IOException v0_8 = this.d;
            return v0_8;
        }
        if ((v0_7.exists()) && (!v0_7.delete())) {
            android.util.Log.e("FileEventStore", "Failed to delete previous temp file");
        }
        java.io.File v8 = v6.a(v0_7);
        if ((v8 != null) && ((this.d.exists()) && (v8.exists()))) {
            try {
                String v3_1 = new java.io.BufferedReader(new java.io.FileReader(this.d));
                try {
                    String v1_20 = new java.io.PrintWriter(new java.io.FileWriter(v8, 1));
                    java.io.IOException v0_20 = 0;
                    try {
                        do {
                            String v2_6 = v3_1.readLine();
                        } while(v0_20 <= p11);
                        v1_20.println(v2_6);
                        v1_20.flush();
                    } catch (java.io.IOException v0_0) {
                        v2_0 = v1_20;
                        String v1_0 = 0;
                        if (v2_0 != null) {
                            v2_0.close();
                        }
                        if (v3_1 != null) {
                            try {
                                v3_1.close();
                            } catch (String v2) {
                            }
                        }
                        if (v1_0 == null) {
                            if (!this.d.delete()) {
                                android.util.Log.e("FileEventStore", "Failed to delete previous events file");
                            } else {
                                if (!v8.renameTo(this.d)) {
                                    android.util.Log.e("FileEventStore", "Failed to rename temp file to events file");
                                }
                                try {
                                    this.d = v6.a(new java.io.File(v7, "eventsFile"));
                                } catch (String v1_15) {
                                    android.util.Log.e("FileEventStore", "An error occurred while attempting to create the eventsFile", v1_15);
                                }
                            }
                        }
                        throw v0_0;
                    } catch (java.io.IOException v0_1) {
                        v2_0 = v3_1;
                        try {
                            android.util.Log.e("FileEventStore", "The events file count not be found", v0_1);
                        } catch (java.io.IOException v0_0) {
                            v3_1 = v2_0;
                            v2_0 = v1_20;
                            v1_0 = 1;
                        }
                        if (v1_20 != null) {
                            v1_20.close();
                        }
                        if (v2_0 == null) {
                            java.io.IOException v0_4 = new java.io.File(v7, "eventsFile.tmp");
                            if ((v0_4.exists()) && (!v0_4.delete())) {
                                android.util.Log.e("FileEventStore", "Failed to delete temp file");
                            }
                        } else {
                            try {
                                v2_0.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                    } catch (java.io.IOException v0_16) {
                        v2_0 = v1_20;
                        android.util.Log.e("FileEventStore", "An error occurred while attempting to delete the read events", v0_16);
                        if (v2_0 != null) {
                            v2_0.close();
                        }
                        if (v3_1 == null) {
                        } else {
                            try {
                                v3_1.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                    }
                    if (v2_6 == null) {
                        if (v1_20 != null) {
                            v1_20.close();
                        }
                        if (v3_1 != null) {
                            try {
                                v3_1.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                        if (!this.d.delete()) {
                            android.util.Log.e("FileEventStore", "Failed to delete previous events file");
                        } else {
                            if (!v8.renameTo(this.d)) {
                                android.util.Log.e("FileEventStore", "Failed to rename temp file to events file");
                            }
                            try {
                                this.d = v6.a(new java.io.File(v7, "eventsFile"));
                            } catch (java.io.IOException v0_31) {
                                android.util.Log.e("FileEventStore", "An error occurred while attempting to create the eventsFile", v0_31);
                            }
                        }
                    } else {
                        v0_20++;
                        if (v0_20 > p11) {
                        }
                    }
                } catch (java.io.IOException v0_1) {
                    v1_20 = 0;
                    v2_0 = v3_1;
                } catch (java.io.IOException v0_16) {
                }
            } catch (java.io.IOException v0_0) {
                v3_1 = 0;
                v1_0 = 0;
            } catch (java.io.IOException v0_1) {
                v1_20 = 0;
            } catch (java.io.IOException v0_16) {
                v3_1 = 0;
            } catch (java.io.IOException v0_0) {
                v1_0 = 0;
            }
        }
        v0_8 = this.d;
        return v0_8;
    }

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.core.system.DefaultFileManager.b() calling method java.io.File.<init>()


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

Method com.amazonaws.mobileconnectors.amazonmobileanalytics.internal.core.system.DefaultFileManager.a() calling method java.io.File.<init>()


    public declared_synchronized java.io.File a(String p3)
    {
        try {
            int v0_1 = new java.io.File(this.a, p3);
        } catch (int v0_2) {
            throw v0_2;
        }
        if ((!v0_1.mkdirs()) && (!v0_1.isDirectory())) {
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.amazonaws.metrics.AwsSdkMetrics.a() calling method java.io.File.<init>()


    private static void a(String p3)
    {
        try {
            ark>com.amazonaws.metrics.AwsSdkMetricsark>.c = new ark>com.amazonaws.metrics.AwsSdkMetricsark>$1(new com.amazonaws.auth.PropertiesCredentials(new java.io.File(p3)));
            ark>com.amazonaws.metrics.AwsSdkMetricsark>.j = p3;
            return;
        } catch (Throwable v0_1) {
            throw v0_1;
        }
    }

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


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

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


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

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


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

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


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

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


    private static varargs java.io.File buildPath(java.io.File p5, String[] p6)
    {
        int v3 = p6.length;
        int v2 = 0;
        java.io.File v1_1 = p5;
        while (v2 < v3) {
            java.io.File v0_1;
            String v4 = p6[v2];
            if (v4 == null) {
                v0_1 = v1_1;
            } else {
                v0_1 = new java.io.File(v1_1, v4);
            }
            v2++;
            v1_1 = v0_1;
        }
        return v1_1;
    }

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


    static FileProvider()
    {
        java.util.HashMap v0_1 = new String[2];
        v0_1[0] = "_display_name";
        v0_1[1] = "_size";
        android.support.v4.content.FileProvider.COLUMNS = v0_1;
        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$SimplePathStrategy.getFileForUri() calling method java.io.File.<init>()


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

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


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

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


    public static java.io.File getDataDir(android.content.Context p2)
    {
        int v0_1;
        if (!android.support.v4.os.BuildCompat.isAtLeastN()) {
            String v1 = p2.getApplicationInfo().dataDir;
            if (v1 == null) {
                v0_1 = 0;
            } else {
                v0_1 = new java.io.File(v1);
            }
        } else {
            v0_1 = android.support.v4.content.ContextCompatApi24.getDataDir(p2);
        }
        return v0_1;
    }

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


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

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


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

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


    private static java.util.List performExtractions(java.io.File p14, java.io.File p15)
    {
        String v6 = new StringBuilder().append(p14.getName()).append(".classes").toString();
        android.support.multidex.MultiDexExtractor.prepareDexDir(p15, v6);
        java.util.ArrayList v7_1 = new java.util.ArrayList();
        java.util.zip.ZipFile v8_1 = new java.util.zip.ZipFile(p14);
        try {
            java.util.zip.ZipEntry v4 = v8_1.getEntry(new StringBuilder().append("classes").append(2).append(".dex").toString());
            int v5 = 2;
        } catch (String v0_14) {
            try {
                v8_1.close();
            } catch (String v1_5) {
                android.util.Log.w("MultiDex", "Failed to close resource", v1_5);
            }
            throw v0_14;
        }
        while (v4 != null) {
            java.io.File v9_1 = new java.io.File(p15, new StringBuilder().append(v6).append(v5).append(".zip").toString());
            v7_1.add(v9_1);
            android.util.Log.i("MultiDex", new StringBuilder().append("Extraction is needed for file ").append(v9_1).toString());
            String v0_12 = 0;
            String v2_2 = 0;
            while ((v2_2 < 3) && (v0_12 == null)) {
                String v0_4;
                String v3_0 = (v2_2 + 1);
                android.support.multidex.MultiDexExtractor.extract(v8_1, v4, v9_1, v6);
                String v2_1 = android.support.multidex.MultiDexExtractor.verifyZipFile(v9_1);
                StringBuilder vtmp22 = new StringBuilder().append("Extraction ");
                if (v2_1 == null) {
                    v0_4 = "failed";
                } else {
                    v0_4 = "success";
                }
                android.util.Log.i("MultiDex", vtmp22.append(v0_4).append(" - length ").append(v9_1.getAbsolutePath()).append(": ").append(v9_1.length()).toString());
                if (v2_1 == null) {
                    v9_1.delete();
                    if (v9_1.exists()) {
                        android.util.Log.w("MultiDex", new StringBuilder().append("Failed to delete corrupted secondary dex \'").append(v9_1.getPath()).append("\'").toString());
                        v0_12 = v2_1;
                        v2_2 = v3_0;
                    }
                }
                v0_12 = v2_1;
                v2_2 = v3_0;
            }
            if (v0_12 != null) {
                String v2_14 = (v5 + 1);
                v4 = v8_1.getEntry(new StringBuilder().append("classes").append(v2_14).append(".dex").toString());
                v5 = v2_14;
            } else {
                throw new java.io.IOException(new StringBuilder().append("Could not create zip file ").append(v9_1.getAbsolutePath()).append(" for secondary dex (").append(v5).append(")").toString());
            }
        }
        try {
            v8_1.close();
        } catch (String v0_23) {
            android.util.Log.w("MultiDex", "Failed to close resource", v0_23);
        }
        return v7_1;
    }

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


    private static java.util.List loadExistingExtractions(android.content.Context p6, java.io.File p7, java.io.File p8)
    {
        android.util.Log.i("MultiDex", "loading existing secondary dex files");
        String v1_1 = new StringBuilder().append(p7.getName()).append(".classes").toString();
        String v2_1 = android.support.multidex.MultiDexExtractor.getMultiDexPreferences(p6).getInt("dex.number", 1);
        java.util.ArrayList v3_2 = new java.util.ArrayList(v2_1);
        int v0_3 = 2;
        while (v0_3 <= v2_1) {
            java.io.File v5_2 = new java.io.File(p8, new StringBuilder().append(v1_1).append(v0_3).append(".zip").toString());
            if (!v5_2.isFile()) {
                throw new java.io.IOException(new StringBuilder().append("Missing extracted secondary dex file \'").append(v5_2.getPath()).append("\'").toString());
            } else {
                v3_2.add(v5_2);
                if (android.support.multidex.MultiDexExtractor.verifyZipFile(v5_2)) {
                    v0_3++;
                } else {
                    android.util.Log.i("MultiDex", new StringBuilder().append("Invalid zip file: ").append(v5_2).toString());
                    throw new java.io.IOException("Invalid ZIP file.");
                }
            }
        }
        return v3_2;
    }

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


    static java.util.List load(android.content.Context p7, android.content.pm.ApplicationInfo p8, java.io.File p9, boolean p10)
    {
        java.util.List v0_4;
        android.util.Log.i("MultiDex", new StringBuilder().append("MultiDexExtractor.load(").append(p8.sourceDir).append(", ").append(p10).append(")").toString());
        android.content.Context v1_7 = new java.io.File(p8.sourceDir);
        long v4 = android.support.multidex.MultiDexExtractor.getZipCrc(v1_7);
        if ((p10) || (android.support.multidex.MultiDexExtractor.isModified(p7, v1_7, v4))) {
            android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
            v0_4 = android.support.multidex.MultiDexExtractor.performExtractions(v1_7, p9);
            android.support.multidex.MultiDexExtractor.putStoredApkInfo(p7, android.support.multidex.MultiDexExtractor.getTimeStamp(v1_7), v4, (v0_4.size() + 1));
        } else {
            try {
                v0_4 = android.support.multidex.MultiDexExtractor.loadExistingExtractions(p7, v1_7, p9);
            } catch (java.util.List v0_5) {
                android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v0_5);
                v0_4 = android.support.multidex.MultiDexExtractor.performExtractions(v1_7, p9);
                android.support.multidex.MultiDexExtractor.putStoredApkInfo(p7, android.support.multidex.MultiDexExtractor.getTimeStamp(v1_7), v4, (v0_4.size() + 1));
            }
        }
        android.util.Log.i("MultiDex", new StringBuilder().append("load found ").append(v0_4.size()).append(" secondary dex files").toString());
        return v0_4;
    }

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


    public static void install(android.content.Context p6)
    {
        android.util.Log.i("MultiDex", "install");
        if (!android.support.multidex.MultiDex.IS_VM_MULTIDEX_CAPABLE) {
            if (android.os.Build$VERSION.SDK_INT >= 4) {
                try {
                    RuntimeException v0_0 = android.support.multidex.MultiDex.getApplicationInfo(p6);
                } catch (RuntimeException v0_2) {
                    android.util.Log.e("MultiDex", "Multidex installation failure", v0_2);
                    throw new RuntimeException(new StringBuilder().append("Multi dex installation failed (").append(v0_2.getMessage()).append(").").toString());
                }
                if (v0_0 != null) {
                    String v2_7 = v0_0.sourceDir;
                    if (!android.support.multidex.MultiDex.installedApk.contains(v2_7)) {
                        android.support.multidex.MultiDex.installedApk.add(v2_7);
                        if (android.os.Build$VERSION.SDK_INT > 20) {
                            android.util.Log.w("MultiDex", new StringBuilder().append("MultiDex is not guaranteed to work in SDK version ").append(android.os.Build$VERSION.SDK_INT).append(": SDK version higher than ").append(20).append(" should be backed by ").append("runtime with built-in multidex capabilty but it\'s not the ").append("case here: java.vm.version=\"").append(System.getProperty("java.vm.version")).append("\"").toString());
                        }
                        try {
                            String v2_12 = p6.getClassLoader();
                        } catch (RuntimeException v0_12) {
                            android.util.Log.w("MultiDex", "Failure while trying to obtain Context class loader. Must be running in test mode. Skip patching.", v0_12);
                        }
                        if (v2_12 != null) {
                            try {
                                android.support.multidex.MultiDex.clearOldDexDir(p6);
                            } catch (java.io.File v3_18) {
                                android.util.Log.w("MultiDex", "Something went wrong when trying to clear old MultiDex extraction, continuing without cleaning.", v3_18);
                            }
                            java.io.File v3_20 = new java.io.File(v0_0.dataDir, android.support.multidex.MultiDex.SECONDARY_FOLDER_NAME);
                            boolean v4_14 = android.support.multidex.MultiDexExtractor.load(p6, v0_0, v3_20, 0);
                            if (!android.support.multidex.MultiDex.checkValidZipFiles(v4_14)) {
                                android.util.Log.w("MultiDex", "Files were not valid zip files.  Forcing a reload.");
                                RuntimeException v0_14 = android.support.multidex.MultiDexExtractor.load(p6, v0_0, v3_20, 1);
                                if (!android.support.multidex.MultiDex.checkValidZipFiles(v0_14)) {
                                    throw new RuntimeException("Zip files were not valid.");
                                } else {
                                    android.support.multidex.MultiDex.installSecondaryDexes(v2_12, v3_20, v0_14);
                                }
                            } else {
                                android.support.multidex.MultiDex.installSecondaryDexes(v2_12, v3_20, v4_14);
                            }
                            android.util.Log.i("MultiDex", "install done");
                        } else {
                            android.util.Log.e("MultiDex", "Context class loader is null. Must be running in test mode. Skip patching.");
                        }
                    } else {
                    }
                }
            } else {
                throw new RuntimeException(new StringBuilder().append("Multi dex installation failed. SDK ").append(android.os.Build$VERSION.SDK_INT).append(" is unsupported. Min SDK version is ").append(4).append(".").toString());
            }
        } else {
            android.util.Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
        }
        return;
    }

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


    private static void clearOldDexDir(android.content.Context p10)
    {
        String v1_5 = new java.io.File(p10.getFilesDir(), "secondary-dexes");
        if (v1_5.isDirectory()) {
            android.util.Log.i("MultiDex", new StringBuilder().append("Clearing old secondary dex dir (").append(v1_5.getPath()).append(").").toString());
            StringBuilder v2_9 = v1_5.listFiles();
            if (v2_9 != null) {
                String v3_4 = v2_9.length;
                int v0_0 = 0;
                while (v0_0 < v3_4) {
                    String v4_3 = v2_9[v0_0];
                    android.util.Log.i("MultiDex", new StringBuilder().append("Trying to delete old file ").append(v4_3.getPath()).append(" of size ").append(v4_3.length()).toString());
                    if (v4_3.delete()) {
                        android.util.Log.i("MultiDex", new StringBuilder().append("Deleted old file ").append(v4_3.getPath()).toString());
                    } else {
                        android.util.Log.w("MultiDex", new StringBuilder().append("Failed to delete old file ").append(v4_3.getPath()).toString());
                    }
                    v0_0++;
                }
                if (v1_5.delete()) {
                    android.util.Log.i("MultiDex", new StringBuilder().append("Deleted old secondary dex dir ").append(v1_5.getPath()).toString());
                } else {
                    android.util.Log.w("MultiDex", new StringBuilder().append("Failed to delete secondary dex dir ").append(v1_5.getPath()).toString());
                }
            } else {
                android.util.Log.w("MultiDex", new StringBuilder().append("Failed to list secondary dex dir content (").append(v1_5.getPath()).append(").").toString());
            }
        }
        return;
    }

Method io.intercom.okhttp3.internal.cache2.Relay.read() calling method java.io.RandomAccessFile.<init>()


    public static io.intercom.okhttp3.internal.cache2.Relay read(java.io.File p14)
    {
        String v10_2 = new java.io.RandomAccessFile(p14, "rw");
        java.io.IOException v0_4 = new io.intercom.okhttp3.internal.cache2.FileOperator(v10_2.getChannel());
        io.intercom.a.c v3_0 = new io.intercom.a.c();
        v0_4.read(0, v3_0, 32);
        if (v3_0.d(((long) io.intercom.okhttp3.internal.cache2.Relay.PREFIX_CLEAN.h())).equals(io.intercom.okhttp3.internal.cache2.Relay.PREFIX_CLEAN)) {
            long v12 = v3_0.l();
            long v8 = v3_0.l();
            long v7_2 = new io.intercom.a.c();
            v0_4.read((32 + v12), v7_2, v8);
            return new io.intercom.okhttp3.internal.cache2.Relay(v10_2, 0, v12, v7_2.q(), 0);
        } else {
            throw new java.io.IOException("unreadable cache file");
        }
    }

Method io.intercom.okhttp3.internal.cache2.Relay.edit() calling method java.io.RandomAccessFile.<init>()


    public static io.intercom.okhttp3.internal.cache2.Relay edit(java.io.File p11, io.intercom.a.s p12, io.intercom.a.f p13, long p14)
    {
        long v8 = -1;
        io.intercom.a.f v1_2 = new java.io.RandomAccessFile(p11, "rw");
        void v0_3 = new io.intercom.okhttp3.internal.cache2.Relay(v1_2, p12, 0, p13, p14);
        v1_2.setLength(0);
        return v0_3.writeHeader(io.intercom.okhttp3.internal.cache2.Relay.PREFIX_DIRTY, v8, v8);
    }

Method io.fabric.sdk.android.services.b.q.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.internal.zzcco.k() calling method java.io.RandomAccessFile.<init>()


    private final boolean k()
    {
        this.zzauj().zzug();
        try {
            int v0_11;
            this.E = new java.io.RandomAccessFile(new java.io.File(this.b.getFilesDir(), com.google.android.gms.internal.zzcap.zzawh()), "rw").getChannel();
            this.D = this.E.tryLock();
        } catch (int v0_14) {
            this.zzauk().zzayc().zzj("Failed to acquire storage lock", v0_14);
            v0_11 = 0;
            return v0_11;
        } catch (int v0_12) {
            this.zzauk().zzayc().zzj("Failed to access storage lock file", v0_12);
        }
        if (this.D == null) {
            this.zzauk().zzayc().log("Storage concurrent data access panic");
        } else {
            this.zzauk().zzayi().log("Storage concurrent access okay");
            v0_11 = 1;
            return v0_11;
        }
    }

Method com.appsflyer.m.a() calling method java.io.RandomAccessFile.<init>()


    private static String a(java.io.File p5)
    {
        byte[] v0_0 = 0;
        try {
            java.io.IOException v1_2 = new java.io.RandomAccessFile(p5, "r");
            try {
                v0_0 = new byte[((int) v1_2.length())];
                v1_2.readFully(v0_0);
                v1_2.close();
            } catch (byte[] v0_1) {
                if (v1_2 != null) {
                    try {
                        v1_2.close();
                    } catch (java.io.IOException v1) {
                    }
                }
                throw v0_1;
            } catch (java.io.IOException v2) {
                if (v1_2 == null) {
                    if (v0_0 == null) {
                        v0_0 = new byte[0];
                    }
                    return new String(v0_0);
                } else {
                    try {
                        v1_2.close();
                    } catch (java.io.IOException v1) {
                    }
                }
            }
            if (v1_2 == null) {
            } else {
                try {
                    v1_2.close();
                } catch (java.io.IOException v1) {
                }
            }
        } catch (java.io.IOException v1_4) {
            v1_2 = 0;
            v0_1 = v1_4;
        } catch (java.io.IOException v1) {
            v1_2 = 0;
        }
    }

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


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

Method io.intercom.android.sdk.metrics.MetricsStore.persistMetric() calling method android.content.Context.openFileOutput()


    void persistMetric(io.intercom.android.sdk.metrics.MetricInterface p6, String p7)
    {
        try {
            io.intercom.android.sdk.twig.Twig v1_1 = io.intercom.a.l.a(io.intercom.a.l.a(this.context.openFileOutput(p7, 32768)));
            String v0_1 = p6.toJson(this.gson);
            v1_1.b(new StringBuilder().append(v0_1).append("~").toString());
            this.twig.internal(new StringBuilder().append("Persisted metric: ").append(v0_1).toString());
            v1_1.flush();
        } catch (String v0_6) {
            this.twig.internal(new StringBuilder().append("Couldn\'t persist metric to disk: ").append(v0_6.getMessage()).toString());
            return;
        }
        if (v1_1 == null) {
            return;
        } else {
            v1_1.close();
            return;
        }
    }

Method com.google.android.gms.internal.zzahf.zze() calling method android.content.Context.openFileOutput()


    public static void zze(android.content.Context p2, String p3, String p4)
    {
        try {
            Exception v0_1 = p2.openFileOutput(p3, 0);
            v0_1.write(p4.getBytes("UTF-8"));
            v0_1.close();
        } catch (Exception v0_2) {
            com.google.android.gms.internal.zzafx.zzb("Error writing to file in internal storage.", v0_2);
        }
        return;
    }

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


    public varargs Void doInBackground(Object[] p13)
    {
        int v2_0 = 0;
        java.io.IOException v0_4 = ((java.util.List) p13[0]);
        try {
            StringBuilder v3_0 = this.this$0.mContext.openFileOutput(((String) p13[1]), 0);
            String v4_0 = android.util.Xml.newSerializer();
            try {
                v4_0.setOutput(v3_0, 0);
                v4_0.startDocument("UTF-8", Boolean.valueOf(1));
                v4_0.startTag(0, "historical-records");
                int v5_3 = v0_4.size();
            } catch (java.io.IOException v0_10) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v0_10);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3_0 == null) {
                    return 0;
                } else {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return 0;
                }
            } catch (java.io.IOException v0_8) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v0_8);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3_0 == null) {
                    return 0;
                } else {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return 0;
                }
            } catch (java.io.IOException v0_6) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v0_6);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3_0 == null) {
                    return 0;
                } else {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return 0;
                }
            } catch (java.io.IOException v0_0) {
                this.this$0.mCanReadHistoricalData = 1;
                if (v3_0 != null) {
                    try {
                        v3_0.close();
                    } catch (String v1) {
                    }
                }
                throw v0_0;
            }
            while (v2_0 < v5_3) {
                String v1_3 = ((android.support.v7.widget.ActivityChooserModel$HistoricalRecord) v0_4.remove(0));
                v4_0.startTag(0, "historical-record");
                v4_0.attribute(0, "activity", v1_3.activity.flattenToString());
                v4_0.attribute(0, "time", String.valueOf(v1_3.time));
                v4_0.attribute(0, "weight", String.valueOf(v1_3.weight));
                v4_0.endTag(0, "historical-record");
                v2_0++;
            }
            v4_0.endTag(0, "historical-records");
            v4_0.endDocument();
            this.this$0.mCanReadHistoricalData = 1;
            if (v3_0 == null) {
                return 0;
            } else {
                try {
                    v3_0.close();
                } catch (java.io.IOException v0) {
                }
                return 0;
            }
        } catch (java.io.IOException v0_1) {
            android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(0).toString(), v0_1);
            return 0;
        }
    }