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 com.google.firebase.storage.FileDownloadTask.zza() calling method java.io.FileOutputStream.<init>()


    private final boolean zza(com.google.android.gms.internal.agv p10)
    {
        IllegalStateException v10_1 = p10.getStream();
        int v0_6 = 0;
        if (v10_1 == null) {
            this.zzbMl = new IllegalStateException("Unable to open Firebase Storage stream.");
        } else {
            byte[] v1_1 = new java.io.File(this.zzcqQ.getPath());
            if (!v1_1.exists()) {
                if (this.zzcqT <= 0) {
                    if (!v1_1.createNewFile()) {
                        Exception v5_2;
                        String v6_1 = String.valueOf(v1_1.getAbsolutePath());
                        if (v6_1.length() == 0) {
                            v5_2 = new String("unable to create file:");
                        } else {
                            v5_2 = "unable to create file:".concat(v6_1);
                        }
                        android.util.Log.w("FileDownloadTask", v5_2);
                    }
                } else {
                    IllegalStateException v10_3;
                    int v0_1 = String.valueOf(v1_1.getAbsolutePath());
                    if (v0_1.length() == 0) {
                        v10_3 = new String("The file downloading to has been deleted:");
                    } else {
                        v10_3 = "The file downloading to has been deleted:".concat(v0_1);
                    }
                    android.util.Log.e("FileDownloadTask", v10_3);
                    throw new IllegalStateException("expected a file to resume from.");
                }
            }
            String v2_7;
            int v3_0 = 1;
            if (this.zzcqT <= 0) {
                v2_7 = new java.io.FileOutputStream(v1_1);
            } else {
                boolean v4_2 = String.valueOf(v1_1.getAbsolutePath());
                Exception v5_4 = this.zzcqT;
                StringBuilder v8_1 = new StringBuilder((String.valueOf(v4_2).length() + 47));
                v8_1.append("Resuming download file ");
                v8_1.append(v4_2);
                v8_1.append(" at ");
                v8_1.append(v5_4);
                android.util.Log.d("FileDownloadTask", v8_1.toString());
                v2_7 = new java.io.FileOutputStream(v1_1, 1);
            }
            try {
                byte[] v1_4 = new byte[262144];
            } catch (int v0_7) {
                v2_7.flush();
                v2_7.close();
                v10_1.close();
                throw v0_7;
            }
            while (v3_0 != 0) {
                boolean v4_5 = this.zza(v10_1, v1_4);
                if (v4_5 == -1) {
                    break;
                }
                v2_7.write(v1_4, 0, v4_5);
                this.zzcqR = (this.zzcqR + ((long) v4_5));
                if (this.zzbMl != null) {
                    android.util.Log.d("FileDownloadTask", "Exception occurred during file download. Retrying.", this.zzbMl);
                    this.zzbMl = 0;
                    v3_0 = 0;
                }
                if (!this.zzj(4, 0)) {
                    v3_0 = 0;
                }
            }
            v2_7.flush();
            v2_7.close();
            v10_1.close();
            v0_6 = v3_0;
        }
        return v0_6;
    }

Method kotlin.io.FilesKt__UtilsKt.copyTo() calling method java.io.FileOutputStream.<init>()


    public static final java.io.File copyTo(java.io.File p7, java.io.File p8, boolean p9, int p10)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p7, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p8, "target");
        if (!p7.exists()) {
            Throwable v8_3 = new kotlin.io.NoSuchFileException;
            v8_3(p7, 0, "The source file doesn\'t exist.", 2, 0);
            throw ((Throwable) v8_3);
        } else {
            if (p8.exists()) {
                Throwable v0_3 = 1;
                if ((p9 != null) && (p8.delete())) {
                    v0_3 = 0;
                }
                if (v0_3 != null) {
                    throw ((Throwable) new kotlin.io.FileAlreadyExistsException(p7, p8, "The destination file already exists."));
                }
            }
            if (!p7.isDirectory()) {
                Throwable v9_6 = p8.getParentFile();
                if (v9_6 != null) {
                    v9_6.mkdirs();
                }
                Throwable v9_9 = ((java.io.Closeable) new java.io.FileInputStream(p7));
                Throwable v0_5 = ((Throwable) 0);
                try {
                    java.io.Closeable v2_3 = ((java.io.Closeable) new java.io.FileOutputStream(p8));
                    Throwable v7_2 = ((Throwable) 0);
                    try {
                        kotlin.io.ByteStreamsKt.copyTo(((java.io.InputStream) ((java.io.FileInputStream) v9_9)), ((java.io.OutputStream) ((java.io.FileOutputStream) v2_3)), p10);
                    } catch (Throwable v8_2) {
                        kotlin.io.CloseableKt.closeFinally(v2_3, v7_2);
                        throw v8_2;
                    } catch (Throwable v7_2) {
                        throw v7_2;
                    }
                    kotlin.io.CloseableKt.closeFinally(v2_3, ((Throwable) 0));
                    kotlin.io.CloseableKt.closeFinally(v9_9, ((Throwable) 0));
                } catch (Throwable v7_4) {
                    kotlin.io.CloseableKt.closeFinally(v9_9, v0_5);
                    throw v7_4;
                } catch (Throwable v7_3) {
                    v0_5 = v7_3;
                    throw v0_5;
                }
            } else {
                if (!p8.mkdirs()) {
                    throw ((Throwable) new kotlin.io.FileSystemException(p7, p8, "Failed to create target directory."));
                }
            }
            return p8;
        }
    }

Method com.google.android.gms.tagmanager.zzex.zzb() calling method java.io.FileOutputStream.<init>()


    final boolean zzb(com.google.android.gms.internal.fq p4)
    {
        String v0_0 = this.zzBG();
        try {
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v0_0);
            try {
                v2_1.write(com.google.android.gms.internal.aif.zzd(p4));
                try {
                    v2_1.close();
                } catch (java.io.IOException) {
                    com.google.android.gms.tagmanager.zzdi.zzaT("error closing stream for writing resource to disk");
                }
                return 1;
            } catch (String v4_3) {
                try {
                    v2_1.close();
                } catch (java.io.IOException) {
                    com.google.android.gms.tagmanager.zzdi.zzaT("error closing stream for writing resource to disk");
                }
                throw v4_3;
            }
        } catch (java.io.FileNotFoundException) {
            com.google.android.gms.tagmanager.zzdi.e("Error opening resource file for writing");
            return 0;
        }
    }

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


    public final boolean zzU(String p30)
    {
        java.io.IOException v0_65;
        android.os.Handler v10_0 = 0;
        if (this.zzKc != null) {
            do {
                int v3_7;
                if (this.zzKc != null) {
                    java.io.IOException v0_0 = this.zzKc.listFiles();
                    StringBuilder v2_0 = 0;
                    v3_7 = 0;
                    while (v2_0 < v0_0.length) {
                        if (!v0_0[v2_0].getName().endsWith(".done")) {
                            v3_7++;
                        }
                        v2_0++;
                    }
                } else {
                    v3_7 = 0;
                }
                if (v3_7 <= ((Integer) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCp)).intValue()) {
                    com.google.android.gms.internal.zzji.zzdr();
                    long v12_1 = new java.io.File(this.zzKc, com.google.android.gms.internal.zzakk.zzaR(p30));
                    java.io.IOException v0_34 = this.zzb(v12_1);
                    if ((!v12_1.isFile()) || (!v0_34.isFile())) {
                        String v14;
                        String v1_44 = String.valueOf(this.zzKc.getAbsolutePath());
                        StringBuilder v2_41 = String.valueOf(p30);
                        if (v2_41.length() == 0) {
                            v14 = new String(v1_44);
                        } else {
                            v14 = v1_44.concat(v2_41);
                        }
                        if (!com.google.android.gms.internal.zzsh.zzKa.contains(v14)) {
                            com.google.android.gms.internal.zzsh.zzKa.add(v14);
                            String v15_0 = "error";
                            try {
                                com.google.android.gms.ads.internal.zzbs.zzbL();
                                String v1_56 = com.google.android.gms.internal.zzala.zzb(p30, ((Integer) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCv)).intValue());
                                try {
                                    if (!(v1_56 instanceof java.net.HttpURLConnection)) {
                                        int v7_1 = v1_56.getContentLength();
                                        if (v7_1 >= 0) {
                                            StringBuilder v2_59 = com.google.android.gms.internal.zzsh.zzKb.format(((long) v7_1));
                                            int v6_0 = ((Integer) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCq)).intValue();
                                            if (v7_1 <= v6_0) {
                                                StringBuilder v4_4 = new StringBuilder(((String.valueOf(v2_59).length() + 20) + String.valueOf(p30).length()));
                                                v4_4.append("Caching ");
                                                v4_4.append(v2_59);
                                                v4_4.append(" bytes from ");
                                                v4_4.append(p30);
                                                com.google.android.gms.internal.zzahd.zzaC(v4_4.toString());
                                                StringBuilder v5_0 = java.nio.channels.Channels.newChannel(v1_56.getInputStream());
                                                StringBuilder v4_6 = new java.io.FileOutputStream(v12_1);
                                                try {
                                                    int v3_8 = v4_6.getChannel();
                                                    StringBuilder v2_3 = java.nio.ByteBuffer.allocate(1048576);
                                                    com.google.android.gms.common.util.zzf v16 = com.google.android.gms.ads.internal.zzbs.zzbE();
                                                    long v17 = v16.currentTimeMillis();
                                                    String v19 = v14;
                                                    try {
                                                        android.os.Handler v10_3 = new com.google.android.gms.internal.zzakd(((Long) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCu)).longValue());
                                                        long v13_2 = ((Long) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCt)).longValue();
                                                        String v1_10 = 0;
                                                    } catch (java.io.IOException v0_1) {
                                                        StringBuilder v24_0 = v4_6;
                                                        String v1_2 = v19;
                                                        v10_0 = 0;
                                                        if ((v0_1 instanceof RuntimeException)) {
                                                            com.google.android.gms.ads.internal.zzbs.zzbC().zza(v0_1, "VideoStreamFullFileCache.preload");
                                                        }
                                                        try {
                                                            v24_0.close();
                                                        } catch (java.io.IOException) {
                                                        }
                                                        if (!this.zzKd) {
                                                            int v3_24 = new StringBuilder((String.valueOf(p30).length() + 25));
                                                            v3_24.append("Preload failed for URL \"");
                                                            v3_24.append(p30);
                                                            v3_24.append("\"");
                                                            com.google.android.gms.internal.zzahd.zzc(v3_24.toString(), v0_1);
                                                        } else {
                                                            StringBuilder v2_32 = new StringBuilder((String.valueOf(p30).length() + 26));
                                                            v2_32.append("Preload aborted for URL \"");
                                                            v2_32.append(p30);
                                                            v2_32.append("\"");
                                                            com.google.android.gms.internal.zzahd.zzaS(v2_32.toString());
                                                        }
                                                        if (v12_1.exists()) {
                                                            if (!v12_1.delete()) {
                                                                StringBuilder v2_34 = String.valueOf(v12_1.getAbsolutePath());
                                                                if (v2_34.length() == 0) {
                                                                    java.io.IOException v0_50 = new String("Could not delete partial cache file at ");
                                                                } else {
                                                                    v0_50 = "Could not delete partial cache file at ".concat(v2_34);
                                                                }
                                                                com.google.android.gms.internal.zzahd.zzaT(v0_50);
                                                            }
                                                        }
                                                        this.zza(p30, v12_1.getAbsolutePath(), v15_0, v10_0);
                                                        com.google.android.gms.internal.zzsh.zzKa.remove(v1_2);
                                                        return 0;
                                                    }
                                                    while(true) {
                                                        String v26;
                                                        int v20_0 = v5_0.read(v2_3);
                                                        if (v20_0 < 0) {
                                                            v24_0 = v4_6;
                                                            v26 = v15_0;
                                                            v24_0.close();
                                                            if (com.google.android.gms.internal.zzahd.zzz(3)) {
                                                                StringBuilder v2_7 = com.google.android.gms.internal.zzsh.zzKb.format(((long) v1_10));
                                                                StringBuilder v4_12 = new StringBuilder(((String.valueOf(v2_7).length() + 22) + String.valueOf(p30).length()));
                                                                v4_12.append("Preloaded ");
                                                                v4_12.append(v2_7);
                                                                v4_12.append(" bytes from ");
                                                                v4_12.append(p30);
                                                                com.google.android.gms.internal.zzahd.zzaC(v4_12.toString());
                                                            }
                                                            v12_1.setReadable(1, 0);
                                                            if (!v0_34.isFile()) {
                                                                v0_34.createNewFile();
                                                            } else {
                                                                v0_34.setLastModified(System.currentTimeMillis());
                                                            }
                                                            this.zza(p30, v12_1.getAbsolutePath(), v1_10);
                                                            v1_2 = v19;
                                                            try {
                                                                com.google.android.gms.internal.zzsh.zzKa.remove(v1_2);
                                                                return 1;
                                                            } catch (java.io.IOException v0_1) {
                                                            }
                                                        } else {
                                                            String v1_11 = (v1_10 + v20_0);
                                                            if (v1_11 <= v6_0) {
                                                                v2_3.flip();
                                                                while (v3_8.write(v2_3) > 0) {
                                                                }
                                                                v2_3.clear();
                                                                try {
                                                                    if ((v16.currentTimeMillis() - v17) > (1000 * v13_2)) {
                                                                        break;
                                                                    }
                                                                    if (this.zzKd) {
                                                                        v24_0 = v4_6;
                                                                        v26 = v15_0;
                                                                        v15_0 = "externalAbort";
                                                                        throw new java.io.IOException("abort requested");
                                                                    } else {
                                                                        String v21;
                                                                        StringBuilder v22_2;
                                                                        int v11_2;
                                                                        int v23;
                                                                        android.os.Handler v25;
                                                                        int v27;
                                                                        int v28;
                                                                        if (!v10_3.tryAcquire()) {
                                                                            v21 = v1_11;
                                                                            v22_2 = v2_3;
                                                                            v23 = v3_8;
                                                                            v24_0 = v4_6;
                                                                            v11_2 = v5_0;
                                                                            v27 = v6_0;
                                                                            v28 = v7_1;
                                                                            v25 = v10_3;
                                                                            v26 = v15_0;
                                                                        } else {
                                                                            v25 = v10_3;
                                                                            v26 = v15_0;
                                                                            String v15_1 = new com.google.android.gms.internal.zzsc;
                                                                            v21 = v1_11;
                                                                            v22_2 = v2_3;
                                                                            v23 = v3_8;
                                                                            v24_0 = v4_6;
                                                                            StringBuilder v4_14 = v12_1.getAbsolutePath();
                                                                            v11_2 = v5_0;
                                                                            v27 = v6_0;
                                                                            v28 = v7_1;
                                                                            v15_1(this, p30, v4_14, v21, v7_1, 0);
                                                                            com.google.android.gms.internal.zzakk.zzaaJ.post(v15_1);
                                                                        }
                                                                        v5_0 = v11_2;
                                                                        v1_10 = v21;
                                                                        v2_3 = v22_2;
                                                                        v3_8 = v23;
                                                                        v4_6 = v24_0;
                                                                        v10_3 = v25;
                                                                        v15_0 = v26;
                                                                        v6_0 = v27;
                                                                        v7_1 = v28;
                                                                    }
                                                                } catch (java.io.IOException v0_1) {
                                                                }
                                                            } else {
                                                                try {
                                                                    try {
                                                                        String v1_21 = String.valueOf(Integer.toString(v1_11));
                                                                    } catch (java.io.IOException v0_1) {
                                                                        v15_0 = "sizeExceeded";
                                                                        v24_0 = v4_6;
                                                                    }
                                                                    if (v1_21.length() == 0) {
                                                                        v10_0 = new String("File too big for full file cache. Size: ");
                                                                    } else {
                                                                        v10_0 = "File too big for full file cache. Size: ".concat(v1_21);
                                                                    }
                                                                    try {
                                                                        throw new java.io.IOException("stream cache file size limit exceeded");
                                                                    } catch (java.io.IOException v0_1) {
                                                                        v15_0 = "sizeExceeded";
                                                                        v24_0 = v4_6;
                                                                    }
                                                                } catch (java.io.IOException v0_1) {
                                                                }
                                                            }
                                                            v1_2 = v19;
                                                        }
                                                        v15_0 = v26;
                                                    }
                                                    v24_0 = v4_6;
                                                    v26 = v15_0;
                                                    v15_0 = "downloadTimeout";
                                                    java.io.IOException v0_7 = String.valueOf(Long.toString(v13_2));
                                                    StringBuilder v2_14 = new StringBuilder((String.valueOf(v0_7).length() + 29));
                                                    v2_14.append("Timeout exceeded. Limit: ");
                                                    v2_14.append(v0_7);
                                                    v2_14.append(" sec");
                                                    v10_0 = v2_14.toString();
                                                    try {
                                                        throw new java.io.IOException("stream cache time limit exceeded");
                                                    } catch (java.io.IOException v0_1) {
                                                    }
                                                } catch (java.io.IOException v0_1) {
                                                    v24_0 = v4_6;
                                                    v1_2 = v14;
                                                }
                                            } else {
                                                java.io.IOException v0_30;
                                                String v1_28 = new StringBuilder(((String.valueOf(v2_59).length() + 33) + String.valueOf(p30).length()));
                                                v1_28.append("Content length ");
                                                v1_28.append(v2_59);
                                                v1_28.append(" exceeds limit at ");
                                                v1_28.append(p30);
                                                com.google.android.gms.internal.zzahd.zzaT(v1_28.toString());
                                                String v1_30 = String.valueOf(v2_59);
                                                if (v1_30.length() == 0) {
                                                    v0_30 = new String("File too big for full file cache. Size: ");
                                                } else {
                                                    v0_30 = "File too big for full file cache. Size: ".concat(v1_30);
                                                }
                                                this.zza(p30, v12_1.getAbsolutePath(), "sizeExceeded", v0_30);
                                                com.google.android.gms.internal.zzsh.zzKa.remove(v14);
                                                return 0;
                                            }
                                        } else {
                                            java.io.IOException v0_33;
                                            String v1_34 = String.valueOf(p30);
                                            if (v1_34.length() == 0) {
                                                v0_33 = new String("Stream cache aborted, missing content-length header at ");
                                            } else {
                                                v0_33 = "Stream cache aborted, missing content-length header at ".concat(v1_34);
                                            }
                                            com.google.android.gms.internal.zzahd.zzaT(v0_33);
                                            this.zza(p30, v12_1.getAbsolutePath(), "contentLengthMissing", 0);
                                            com.google.android.gms.internal.zzsh.zzKa.remove(v14);
                                            return 0;
                                        }
                                    } else {
                                        StringBuilder v2_57 = ((java.net.HttpURLConnection) v1_56).getResponseCode();
                                        if (v2_57 < 400) {
                                        } else {
                                            try {
                                                int v3_21;
                                                int v3_19 = String.valueOf(Integer.toString(v2_57));
                                            } catch (java.io.IOException v0_1) {
                                                v15_0 = "badUrl";
                                            }
                                            if (v3_19.length() == 0) {
                                                v3_21 = new String("HTTP request failed. Code: ");
                                            } else {
                                                v3_21 = "HTTP request failed. Code: ".concat(v3_19);
                                            }
                                            try {
                                                StringBuilder v5_4 = new StringBuilder((String.valueOf(p30).length() + 32));
                                                v5_4.append("HTTP status code ");
                                                v5_4.append(v2_57);
                                                v5_4.append(" at ");
                                                v5_4.append(p30);
                                                throw new java.io.IOException(v5_4.toString());
                                            } catch (java.io.IOException v0_1) {
                                                v15_0 = "badUrl";
                                                v24_0 = 0;
                                                v1_2 = v14;
                                                v10_0 = v3_21;
                                            }
                                        }
                                    }
                                } catch (java.io.IOException v0_1) {
                                }
                                v24_0 = 0;
                                v1_2 = v14;
                            } catch (java.io.IOException v0_1) {
                                v1_2 = v14;
                                v10_0 = 0;
                                v24_0 = 0;
                            }
                        } else {
                            java.io.IOException v0_54;
                            StringBuilder v2_37 = String.valueOf(p30);
                            if (v2_37.length() == 0) {
                                v0_54 = new String("Stream cache already in progress at ");
                            } else {
                                v0_54 = "Stream cache already in progress at ".concat(v2_37);
                            }
                            com.google.android.gms.internal.zzahd.zzaT(v0_54);
                            this.zza(p30, v12_1.getAbsolutePath(), "inProgress", 0);
                            return 0;
                        }
                    } else {
                        String v1_46;
                        java.io.IOException v0_58 = ((int) v12_1.length());
                        StringBuilder v2_42 = String.valueOf(p30);
                        if (v2_42.length() == 0) {
                            v1_46 = new String("Stream cache hit at ");
                        } else {
                            v1_46 = "Stream cache hit at ".concat(v2_42);
                        }
                        com.google.android.gms.internal.zzahd.zzaC(v1_46);
                        this.zza(p30, v12_1.getAbsolutePath(), v0_58);
                        return 1;
                    }
                } else {
                    java.io.IOException v0_62;
                    if (this.zzKc != null) {
                        StringBuilder v2_46 = this.zzKc.listFiles();
                        int v3_29 = v2_46.length;
                        StringBuilder v4_20 = nan;
                        String v1_48 = 0;
                        java.io.IOException v0_61 = 0;
                        while (v0_61 < v3_29) {
                            int v6_2 = v2_46[v0_61];
                            if (!v6_2.getName().endsWith(".done")) {
                                long v12_3 = v6_2.lastModified();
                                if (v12_3 < v4_20) {
                                    v1_48 = v6_2;
                                    v4_20 = v12_3;
                                }
                            }
                            v0_61++;
                        }
                        if (v1_48 == null) {
                            v0_62 = 0;
                        } else {
                            v0_62 = v1_48.delete();
                            String v1_49 = this.zzb(v1_48);
                            if (v1_49.isFile()) {
                                v0_62 &= v1_49.delete();
                            }
                        }
                    }
                }
            } while(v0_62 != null);
            com.google.android.gms.internal.zzahd.zzaT("Unable to expire stream cache");
            v0_65 = "expireFailed";
        } else {
            v0_65 = "noCacheDir";
        }
        this.zza(p30, 0, v0_65, 0);
        return 0;
    }

Method kotlin.io.FilesKt__FileReadWriteKt.writer$default() calling method java.io.FileOutputStream.<init>()


    static bridge synthetic java.io.OutputStreamWriter writer$default(java.io.File p0, java.nio.charset.Charset p1, int p2, Object p3)
    {
        if ((p2 & 1) != 0) {
            p1 = kotlin.text.Charsets.UTF_8;
        }
        return new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p0)), p1);
    }

Method kotlin.io.FilesKt__FileReadWriteKt.writer() calling method java.io.FileOutputStream.<init>()


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

Method kotlin.io.FilesKt__FileReadWriteKt.writeBytes() calling method java.io.FileOutputStream.<init>()


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

Method kotlin.io.FilesKt__FileReadWriteKt.printWriter$default() calling method java.io.FileOutputStream.<init>()


    static bridge synthetic java.io.PrintWriter printWriter$default(java.io.File p1, java.nio.charset.Charset p2, int p3, Object p4)
    {
        if ((p3 & 1) != 0) {
            p2 = kotlin.text.Charsets.UTF_8;
        }
        java.io.Writer v1_2;
        java.io.Writer v1_1 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p1)), p2));
        if (!(v1_1 instanceof java.io.BufferedWriter)) {
            v1_2 = new java.io.BufferedWriter(v1_1, 8192);
        } else {
            v1_2 = ((java.io.BufferedWriter) v1_1);
        }
        return new java.io.PrintWriter(((java.io.Writer) v1_2));
    }

Method kotlin.io.FilesKt__FileReadWriteKt.printWriter() calling method java.io.FileOutputStream.<init>()


    private static final java.io.PrintWriter printWriter(java.io.File p2, java.nio.charset.Charset p3)
    {
        java.io.Writer v2_1;
        java.io.Writer v2_5 = ((java.io.Writer) new java.io.OutputStreamWriter(((java.io.OutputStream) new java.io.FileOutputStream(p2)), p3));
        if (!(v2_5 instanceof java.io.BufferedWriter)) {
            v2_1 = new java.io.BufferedWriter(v2_5, 8192);
        } else {
            v2_1 = ((java.io.BufferedWriter) v2_5);
        }
        return new java.io.PrintWriter(((java.io.Writer) v2_1));
    }

Method kotlin.io.FilesKt__FileReadWriteKt.outputStream() calling method java.io.FileOutputStream.<init>()


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

Method kotlin.io.FilesKt__FileReadWriteKt.bufferedWriter$default() calling method java.io.FileOutputStream.<init>()


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

Method kotlin.io.FilesKt__FileReadWriteKt.bufferedWriter() calling method java.io.FileOutputStream.<init>()


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

Method kotlin.io.FilesKt__FileReadWriteKt.appendBytes() calling method java.io.FileOutputStream.<init>()


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

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


    public final declared_synchronized void zza(String p17, com.google.android.gms.internal.zzc p18)
    {
        try {
            int v6_1 = ((long) p18.data.length);
        } catch (String v0_6) {
            throw v0_6;
        }
        if ((this.zzaw + v6_1) >= ((long) this.zzay)) {
            if (com.google.android.gms.internal.zzab.DEBUG) {
                long v8_0 = new Object[0];
                com.google.android.gms.internal.zzab.zza("Pruning old cache entries.", v8_0);
            }
            long v8_1 = this.zzaw;
            long v10 = android.os.SystemClock.elapsedRealtime();
            String v3_6 = this.zzav.entrySet().iterator();
            int v12 = 0;
            while (v3_6.hasNext()) {
                int v13_4 = ((com.google.android.gms.internal.zzai) ((java.util.Map$Entry) v3_6.next()).getValue());
                if (!this.zze(v13_4.key).delete()) {
                    Object[] v14_0 = new Object[2];
                    v14_0[0] = v13_4.key;
                    v14_0[1] = com.google.android.gms.internal.zzag.zzd(v13_4.key);
                    com.google.android.gms.internal.zzab.zzb("Could not delete cache entry for key=%s, filename=%s", v14_0);
                } else {
                    this.zzaw = (this.zzaw - v13_4.zzaz);
                }
                v3_6.remove();
                v12++;
                if (((float) (this.zzaw + v6_1)) >= (((float) this.zzay) * 1063675494)) {
                } else {
                    break;
                }
            }
            if (com.google.android.gms.internal.zzab.DEBUG) {
                float v4_13 = new Object[3];
                v4_13[0] = Integer.valueOf(v12);
                v4_13[1] = Long.valueOf((this.zzaw - v8_1));
                v4_13[2] = Long.valueOf((android.os.SystemClock.elapsedRealtime() - v10));
                com.google.android.gms.internal.zzab.zza("pruned %d files, %d bytes, %d ms", v4_13);
            }
        }
        String v3_12 = this.zze(p17);
        float v4_0 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_12));
        int v5_3 = new com.google.android.gms.internal.zzai(p17, p18);
        if (!v5_3.zza(v4_0)) {
            v4_0.close();
            float v4_1 = new Object[1];
            v4_1[0] = v3_12.getAbsolutePath();
            com.google.android.gms.internal.zzab.zzb("Failed to write header for %s", v4_1);
            throw new java.io.IOException();
        } else {
            v4_0.write(p18.data);
            v4_0.close();
            this.zza(p17, v5_3);
            return;
        }
    }

Method okio.Okio.sink() calling method java.io.FileOutputStream.<init>()


    public static okio.Sink sink(java.io.File p1)
    {
        if (p1 == null) {
            throw new IllegalArgumentException("file == null");
        } else {
            return okio.Okio.sink(new java.io.FileOutputStream(p1));
        }
    }

Method okio.Okio.appendingSink() calling method java.io.FileOutputStream.<init>()


    public static okio.Sink appendingSink(java.io.File p2)
    {
        if (p2 == null) {
            throw new IllegalArgumentException("file == null");
        } else {
            return okio.Okio.sink(new java.io.FileOutputStream(p2, 1));
        }
    }

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


    private final void zzdN()
    {
        try {
            do {
                java.io.IOException v0_6 = ((com.google.android.gms.internal.zznb) this.zzGO.take());
                java.io.IOException v1_5 = v0_6.zzdT();
            } while(String v2_8 == null);
            v2_8.close();
        } catch (java.io.IOException v0_16) {
            com.google.android.gms.internal.zzahd.zzc("CsiReporter:reporter interrupted", v0_16);
            return;
        }
        if (!android.text.TextUtils.isEmpty(v1_5)) {
            java.io.IOException v0_2 = this.zza(this.zzGQ, v0_6.zzdU());
            String v2_3 = android.net.Uri.parse(this.zzGM).buildUpon();
            java.io.IOException v0_5 = v0_2.entrySet().iterator();
            while (v0_5.hasNext()) {
                java.io.FileOutputStream v3_4 = ((java.util.Map$Entry) v0_5.next());
                v2_3.appendQueryParameter(((String) v3_4.getKey()), ((String) v3_4.getValue()));
            }
            java.io.IOException v0_8 = new StringBuilder(v2_3.build().toString());
            v0_8.append("&it=");
            v0_8.append(v1_5);
            java.io.IOException v0_9 = v0_8.toString();
            if (!this.zzGS.get()) {
                com.google.android.gms.ads.internal.zzbs.zzby();
                com.google.android.gms.internal.zzail.zzd(this.mContext, this.zzwK, v0_9);
            } else {
                java.io.IOException v1_4 = this.zzGT;
                if (v1_4 == null) {
                    com.google.android.gms.internal.zzahd.zzaT("CsiReporter: File doesn\'t exists. Cannot write CSI data to file.");
                } else {
                    v2_8 = 0;
                    try {
                        java.io.FileOutputStream v3_2 = new java.io.FileOutputStream(v1_4, 1);
                        try {
                            v3_2.write(v0_9.getBytes());
                            v3_2.write(10);
                        } catch (java.io.IOException v0_14) {
                            v2_8 = v3_2;
                            if (v2_8 != null) {
                                try {
                                    v2_8.close();
                                } catch (java.io.IOException v1_7) {
                                    com.google.android.gms.internal.zzahd.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v1_7);
                                }
                            }
                            throw v0_14;
                        } catch (java.io.IOException v0_11) {
                            v2_8 = v3_2;
                            com.google.android.gms.internal.zzahd.zzc("CsiReporter: Cannot write to file: sdk_csi_data.txt.", v0_11);
                            if (v2_8 != null) {
                            }
                        }
                        v3_2.close();
                    } catch (java.io.IOException v0_14) {
                    } catch (java.io.IOException v0_11) {
                    } catch (java.io.IOException v0_15) {
                        com.google.android.gms.internal.zzahd.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v0_15);
                    }
                }
            }
        }
    }

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

Couldn't retrieve source code

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

Couldn't retrieve source code

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


    public static com.google.android.gms.internal.zzdb zza(android.content.Context p8, String p9, String p10, boolean p11)
    {
        void v0_1 = new com.google.android.gms.internal.zzdb(p8);
        try {
            v0_1.zzqI = java.util.concurrent.Executors.newCachedThreadPool();
            v0_1.zzqn = p11;
        } catch (com.google.android.gms.internal.zzcy) {
            return v0_1;
        }
        if (p11 != 0) {
            v0_1.zzqN = v0_1.zzqI.submit(new com.google.android.gms.internal.zzdc(v0_1));
        }
        v0_1.zzqI.execute(new com.google.android.gms.internal.zzde(v0_1));
        com.google.android.gms.common.api.GoogleApiClient v1_3;
        com.google.android.gms.internal.zzdb.zzqV = com.google.android.gms.common.zze.zzoU();
        if (com.google.android.gms.common.zze.zzau(v0_1.zzqG) <= 0) {
            v1_3 = 0;
        } else {
            v1_3 = 1;
        }
        com.google.android.gms.common.api.GoogleApiClient v1_6;
        v0_1.zzqS = v1_3;
        if (com.google.android.gms.internal.zzdb.zzqV.isGooglePlayServicesAvailable(v0_1.zzqG) != 0) {
            v1_6 = 0;
        } else {
            v1_6 = 1;
        }
        v0_1.zzqU = v1_6;
        if (v0_1.zzqG.getApplicationContext() == null) {
            v0_1.zza(0, 1);
            if (com.google.android.gms.internal.zzdg.zzR()) {
                if (((Boolean) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzFd)).booleanValue()) {
                    throw new IllegalStateException("Task Context initialization must not be called from the UI thread.");
                } else {
                }
            }
            v0_1.zzqK = new com.google.android.gms.internal.zzcw(0);
            v0_1.zzqL = v0_1.zzqK.zzl(p9);
            try {
                com.google.android.gms.internal.zzcn v9_17 = v0_1.zzqG.getCacheDir();
            } catch (String v8_4) {
                throw new com.google.android.gms.internal.zzcy(v8_4);
            }
            if (v9_17 == null) {
                v9_17 = v0_1.zzqG.getDir("dex", 0);
                if (v9_17 == null) {
                    throw new com.google.android.gms.internal.zzcy();
                } else {
                }
            }
            String v6_3 = new Object[2];
            v6_3[0] = v9_17;
            v6_3[1] = "1489418796403";
            Object[] v3_0 = new java.io.File(String.format("%s/%s.jar", v6_3));
            if (!v3_0.exists()) {
                String v10_1 = v0_1.zzqK.zza(v0_1.zzqL, p10);
                v3_0.createNewFile();
                String v4_3 = new java.io.FileOutputStream(v3_0);
                v4_3.write(v10_1, 0, v10_1.length);
                v4_3.close();
            }
            v0_1.zzb(v9_17, "1489418796403");
            try {
                v0_1.zzqJ = new dalvik.system.DexClassLoader(v3_0.getAbsolutePath(), v9_17.getAbsolutePath(), 0, v0_1.zzqG.getClassLoader());
            } catch (String v10_4) {
                com.google.android.gms.internal.zzdb.zza(v3_0);
                v0_1 = v0_1.zza(v9_17, "1489418796403");
                Object[] v3_1 = new Object[2];
                v3_1[0] = v9_17;
                v3_1[1] = "1489418796403";
                com.google.android.gms.internal.zzdb.zzm(String.format("%s/%s.dex", v3_1));
                throw v10_4;
            }
            com.google.android.gms.internal.zzdb.zza(v3_0);
            v0_1 = v0_1.zza(v9_17, "1489418796403");
            String v2_1 = new Object[2];
            v2_1[0] = v9_17;
            v2_1[1] = "1489418796403";
            com.google.android.gms.internal.zzdb.zzm(String.format("%s/%s.dex", v2_1));
            v0_1.zzqQ = new com.google.android.gms.internal.zzcn(v0_1);
            v0_1.zzqY = 1;
            return v0_1;
        } else {
            v0_1.zzqR = new com.google.android.gms.common.api.GoogleApiClient$Builder(v0_1.zzqG).addApi(com.google.android.gms.internal.zzbaz.API).build();
        }
    }

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


    final void zze(String p3, byte[] p4)
    {
        StringBuilder v0_0 = this.zzfU(p3);
        try {
            StringBuilder v1_1 = new java.io.FileOutputStream(v0_0);
            try {
                v1_1.write(p4);
            } catch (String v4_5) {
                try {
                    v1_1.close();
                    StringBuilder v1_3 = new StringBuilder((String.valueOf(p3).length() + 24));
                    v1_3.append("Resource ");
                    v1_3.append(p3);
                    v1_3.append(" saved on Disk.");
                    com.google.android.gms.internal.zzcww.v(v1_3.toString());
                } catch (java.io.IOException) {
                    com.google.android.gms.internal.zzcww.e("Error closing stream for writing resource to disk");
                }
                throw v4_5;
            } catch (java.io.IOException) {
                String v3_4 = "Error closing stream for writing resource to disk";
                com.google.android.gms.internal.zzcww.e(v3_4);
                return;
            }
            v1_1.close();
            StringBuilder v0_8 = new StringBuilder((String.valueOf(p3).length() + 24));
            v0_8.append("Resource ");
            v0_8.append(p3);
            v0_8.append(" saved on Disk.");
            com.google.android.gms.internal.zzcww.v(v0_8.toString());
            return;
        } catch (java.io.FileNotFoundException) {
            v3_4 = "Error opening resource file for writing";
            com.google.android.gms.internal.zzcww.e(v3_4);
            return;
        }
    }

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


    private final boolean zza(int p7, byte[] p8, int p9, int p10, boolean p11)
    {
        com.google.android.gms.common.internal.zzbr.zza((this.isClosed() ^ 1), "Must provide a previously opened SnapshotContents");
        try {
            java.nio.channels.FileChannel v3_1 = new java.io.FileOutputStream(this.zzaOk.getParcelFileDescriptor().getFileDescriptor());
            java.io.BufferedOutputStream v2_2 = new java.io.BufferedOutputStream(v3_1);
        } catch (long v7_5) {
            throw v7_5;
        }
        java.nio.channels.FileChannel v3_2 = v3_1.getChannel();
        v3_2.position(((long) p7));
        v2_2.write(p8, p9, p10);
        if (p11) {
            v3_2.truncate(((long) p8.length));
        }
        v2_2.flush();
        return 1;
    }

Method com.google.android.gms.drive.zzc.getOutputStream() calling method java.io.FileOutputStream.<init>()


    public final java.io.OutputStream getOutputStream()
    {
        return new java.io.FileOutputStream(this.zzaGe.getFileDescriptor());
    }

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


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

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


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

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


    public boolean saveToGallery(String p7, String p8, String p9, android.graphics.Bitmap$CompressFormat p10, int p11)
    {
        if ((p11 < 0) || (p11 > 100)) {
            p11 = 50;
        }
        Long v0_2 = System.currentTimeMillis();
        int v2_3 = android.os.Environment.getExternalStorageDirectory();
        android.content.ContentValues v4_0 = new StringBuilder();
        v4_0.append(v2_3.getAbsolutePath());
        v4_0.append("/DCIM/");
        v4_0.append(p8);
        String v3_0 = new java.io.File(v4_0.toString());
        int v2_1 = 0;
        if ((v3_0.exists()) || (v3_0.mkdirs())) {
            android.net.Uri v8_9;
            switch (com.github.mikephil.charting.charts.Chart$2.$SwitchMap$android$graphics$Bitmap$CompressFormat[p10.ordinal()]) {
                case 1:
                    v8_9 = "image/png";
                    if (p7.endsWith(".png")) {
                    } else {
                        android.content.ContentValues v4_9 = new StringBuilder();
                        v4_9.append(p7);
                        v4_9.append(".png");
                        p7 = v4_9.toString();
                    }
                    break;
                case 2:
                    v8_9 = "image/webp";
                    if (p7.endsWith(".webp")) {
                    } else {
                        android.content.ContentValues v4_5 = new StringBuilder();
                        v4_5.append(p7);
                        v4_5.append(".webp");
                        p7 = v4_5.toString();
                    }
                    break;
                default:
                    v8_9 = "image/jpeg";
                    if ((p7.endsWith(".jpg")) || (p7.endsWith(".jpeg"))) {
                    } else {
                        android.content.ContentValues v4_15 = new StringBuilder();
                        v4_15.append(p7);
                        v4_15.append(".jpg");
                        p7 = v4_15.toString();
                    }
            }
            android.content.ContentValues v4_17 = new StringBuilder();
            v4_17.append(v3_0.getAbsolutePath());
            v4_17.append("/");
            v4_17.append(p7);
            String v3_4 = v4_17.toString();
            try {
                android.content.ContentValues v4_19 = new java.io.FileOutputStream(v3_4);
                this.getChartBitmap().compress(p10, p11, v4_19);
                v4_19.flush();
                v4_19.close();
                long v10_3 = new java.io.File(v3_4).length();
                android.content.ContentValues v4_22 = new android.content.ContentValues(8);
                v4_22.put("title", p7);
                v4_22.put("_display_name", p7);
                v4_22.put("date_added", Long.valueOf(v0_2));
                v4_22.put("mime_type", v8_9);
                v4_22.put("description", p9);
                v4_22.put("orientation", Integer.valueOf(0));
                v4_22.put("_data", v3_4);
                v4_22.put("_size", Long.valueOf(v10_3));
            } catch (java.io.IOException v7_10) {
                v7_10.printStackTrace();
                return 0;
            }
            if (this.getContext().getContentResolver().insert(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, v4_22) != null) {
                v2_1 = 1;
            }
            return v2_1;
        } else {
            return 0;
        }
    }

Method com.facebook.cache.disk.DefaultDiskStorage$InserterImpl.writeData() calling method java.io.FileOutputStream.<init>()


    public void writeData(com.facebook.cache.common.WriterCallback p5, Object p6)
    {
        try {
            java.io.File v6_1 = new java.io.FileOutputStream(this.mTemporaryFile);
            try {
                long v0_2 = new com.facebook.common.internal.CountingOutputStream(v6_1);
                p5.write(v0_2);
                v0_2.flush();
                long v0_3 = v0_2.getCount();
                v6_1.close();
            } catch (com.facebook.cache.disk.DefaultDiskStorage$IncompleteFileException v5_3) {
                v6_1.close();
                throw v5_3;
            }
            if (this.mTemporaryFile.length() != v0_3) {
                throw new com.facebook.cache.disk.DefaultDiskStorage$IncompleteFileException(v0_3, this.mTemporaryFile.length());
            } else {
                return;
            }
        } catch (com.facebook.cache.disk.DefaultDiskStorage$IncompleteFileException v5_5) {
            com.facebook.cache.disk.DefaultDiskStorage.access$900(this.this$0).logError(com.facebook.cache.common.CacheErrorLogger$CacheErrorCategory.WRITE_UPDATE_FILE_NOT_FOUND, com.facebook.cache.disk.DefaultDiskStorage.access$800(), "updateResource", v5_5);
            throw v5_5;
        }
    }

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


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

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


    protected varargs Throwable doInBackground(Void[] p9)
    {
        try {
            if (!this.val$cancellationSignal.isCanceled()) {
                android.graphics.Bitmap v9_10 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$pdfAttributes);
                android.graphics.Bitmap v1_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.FileOutputStream v2_5;
                        java.io.FileDescriptor v3_2 = v9_10.startPage(1);
                    } catch (Throwable v0_1) {
                        v9_10.close();
                        if (this.val$fileDescriptor != null) {
                            this.val$fileDescriptor.close();
                        }
                        if (v1_1 != this.val$bitmap) {
                            v1_1.recycle();
                        }
                        throw v0_1;
                    }
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        android.graphics.Matrix v4_3 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$attributes);
                        java.io.FileOutputStream v2_4 = v4_3.startPage(1);
                        android.graphics.Canvas v5_3 = new android.graphics.RectF(v2_4.getInfo().getContentRect());
                        v4_3.finishPage(v2_4);
                        v4_3.close();
                        v2_5 = v5_3;
                    } else {
                        v2_5 = new android.graphics.RectF(v3_2.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v4_7 = android.support.v4.print.PrintHelperKitkat.access$200(this.this$0, v1_1.getWidth(), v1_1.getHeight(), v2_5, this.val$fittingMode);
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        v4_7.postTranslate(v2_5.left, v2_5.top);
                        v3_2.getCanvas().clipRect(v2_5);
                    } else {
                    }
                    v3_2.getCanvas().drawBitmap(v1_1, v4_7, 0);
                    v9_10.finishPage(v3_2);
                    if (!this.val$cancellationSignal.isCanceled()) {
                        v9_10.writeTo(new java.io.FileOutputStream(this.val$fileDescriptor.getFileDescriptor()));
                        v9_10.close();
                        if (this.val$fileDescriptor != null) {
                            this.val$fileDescriptor.close();
                        }
                        if (v1_1 != this.val$bitmap) {
                            v1_1.recycle();
                        }
                        return 0;
                    } else {
                        v9_10.close();
                        if (this.val$fileDescriptor != null) {
                            this.val$fileDescriptor.close();
                        }
                        if (v1_1 != this.val$bitmap) {
                            v1_1.recycle();
                        }
                        return 0;
                    }
                } else {
                    return 0;
                }
            } else {
                return 0;
            }
        } catch (android.graphics.Bitmap v9_4) {
            return v9_4;
        }
    }

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


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

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


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

Method kotlin.io.FilesKt__UtilsKt.copyTo() calling method java.io.FileInputStream.<init>()


    public static final java.io.File copyTo(java.io.File p7, java.io.File p8, boolean p9, int p10)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p7, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p8, "target");
        if (!p7.exists()) {
            Throwable v8_3 = new kotlin.io.NoSuchFileException;
            v8_3(p7, 0, "The source file doesn\'t exist.", 2, 0);
            throw ((Throwable) v8_3);
        } else {
            if (p8.exists()) {
                Throwable v0_3 = 1;
                if ((p9 != null) && (p8.delete())) {
                    v0_3 = 0;
                }
                if (v0_3 != null) {
                    throw ((Throwable) new kotlin.io.FileAlreadyExistsException(p7, p8, "The destination file already exists."));
                }
            }
            if (!p7.isDirectory()) {
                Throwable v9_6 = p8.getParentFile();
                if (v9_6 != null) {
                    v9_6.mkdirs();
                }
                Throwable v9_9 = ((java.io.Closeable) new java.io.FileInputStream(p7));
                Throwable v0_5 = ((Throwable) 0);
                try {
                    java.io.Closeable v2_3 = ((java.io.Closeable) new java.io.FileOutputStream(p8));
                    Throwable v7_2 = ((Throwable) 0);
                    try {
                        kotlin.io.ByteStreamsKt.copyTo(((java.io.InputStream) ((java.io.FileInputStream) v9_9)), ((java.io.OutputStream) ((java.io.FileOutputStream) v2_3)), p10);
                    } catch (Throwable v8_2) {
                        kotlin.io.CloseableKt.closeFinally(v2_3, v7_2);
                        throw v8_2;
                    } catch (Throwable v7_2) {
                        throw v7_2;
                    }
                    kotlin.io.CloseableKt.closeFinally(v2_3, ((Throwable) 0));
                    kotlin.io.CloseableKt.closeFinally(v9_9, ((Throwable) 0));
                } catch (Throwable v7_4) {
                    kotlin.io.CloseableKt.closeFinally(v9_9, v0_5);
                    throw v7_4;
                } catch (Throwable v7_3) {
                    v0_5 = v7_3;
                    throw v0_5;
                }
            } else {
                if (!p8.mkdirs()) {
                    throw ((Throwable) new kotlin.io.FileSystemException(p7, p8, "Failed to create target directory."));
                }
            }
            return p8;
        }
    }

Method com.google.android.gms.tagmanager.zzex.zzBF() calling method java.io.FileInputStream.<init>()


    final void zzBF()
    {
        if (this.zzbFY == null) {
            throw new IllegalStateException("Callback must be set before execute");
        } else {
            com.google.android.gms.tagmanager.zzdi.v("Attempting to load resource from disk");
            if (((com.google.android.gms.tagmanager.zzeh.zzBA().zzBB() != com.google.android.gms.tagmanager.zzeh$zza.zzbFN) && (com.google.android.gms.tagmanager.zzeh.zzBA().zzBB() != com.google.android.gms.tagmanager.zzeh$zza.zzbFO)) || (!this.zzbDA.equals(com.google.android.gms.tagmanager.zzeh.zzBA().getContainerId()))) {
                try {
                    String v0_8 = new java.io.FileInputStream(this.zzBG());
                    try {
                        IllegalArgumentException v1_8 = new java.io.ByteArrayOutputStream();
                        com.google.android.gms.internal.fs.zzb(v0_8, v1_8);
                        IllegalArgumentException v1_11 = ((com.google.android.gms.internal.fq) com.google.android.gms.internal.aif.zza(new com.google.android.gms.internal.fq(), v1_8.toByteArray()));
                    } catch (IllegalArgumentException v1_18) {
                        try {
                            v0_8.close();
                        } catch (java.io.IOException) {
                            com.google.android.gms.tagmanager.zzdi.zzaT("Error closing stream for reading resource from disk");
                        }
                        throw v1_18;
                    }
                    if (v1_11.zzlE == null) {
                        if (v1_11.zzbLJ == null) {
                            throw new IllegalArgumentException("Resource and SupplementedResource are NULL.");
                        } else {
                        }
                    }
                    this.zzbFY.onSuccess(v1_11);
                    try {
                        v0_8.close();
                    } catch (java.io.IOException) {
                        com.google.android.gms.tagmanager.zzdi.zzaT("Error closing stream for reading resource from disk");
                    }
                    com.google.android.gms.tagmanager.zzdi.v("The Disk resource was successfully read.");
                    return;
                } catch (java.io.FileNotFoundException) {
                    com.google.android.gms.tagmanager.zzdi.zzaC("Failed to find the resource in the disk");
                    this.zzbFY.zzbv(com.google.android.gms.tagmanager.zzcz.zzbFk);
                    return;
                }
            } else {
                this.zzbFY.zzbv(com.google.android.gms.tagmanager.zzcz.zzbFk);
                return;
            }
        }
    }

Method kotlin.io.FilesKt__FileReadWriteKt.useLines$default() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

Method kotlin.io.FilesKt__FileReadWriteKt.useLines() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

Method kotlin.io.FilesKt__FileReadWriteKt.reader$default() calling method java.io.FileInputStream.<init>()


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

Method kotlin.io.FilesKt__FileReadWriteKt.reader() calling method java.io.FileInputStream.<init>()


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

Method kotlin.io.FilesKt__FileReadWriteKt.readBytes() calling method java.io.FileInputStream.<init>()


    public static final byte[] readBytes(java.io.File p9)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p9, "$receiver");
        java.io.Closeable v0_3 = ((java.io.Closeable) new java.io.FileInputStream(p9));
        Throwable v1_0 = ((Throwable) 0);
        try {
            Throwable v2_4 = ((java.io.FileInputStream) v0_3);
            int v3_2 = 0;
            byte[] v4_0 = p9.length();
        } catch (String v9_7) {
            kotlin.io.CloseableKt.closeFinally(v0_3, v1_0);
            throw v9_7;
        } catch (String v9_6) {
            v1_0 = v9_6;
            throw v1_0;
        }
        if (v4_0 > ((long) 2147483647)) {
            int v3_1 = new StringBuilder();
            v3_1.append("File ");
            v3_1.append(p9);
            v3_1.append(" is too big (");
            v3_1.append(v4_0);
            v3_1.append(" bytes) to fit in memory.");
            throw ((Throwable) new OutOfMemoryError(v3_1.toString()));
        } else {
            String v9_4 = ((int) v4_0);
            byte[] v4_1 = new byte[v9_4];
            while (v9_4 > null) {
                int v5 = v2_4.read(v4_1, v3_2, v9_4);
                if (v5 >= 0) {
                    v9_4 -= v5;
                    v3_2 += v5;
                } else {
                    break;
                }
            }
            if (v9_4 != null) {
                v4_1 = java.util.Arrays.copyOf(v4_1, v3_2);
                kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v4_1, "java.util.Arrays.copyOf(this, newSize)");
            } else {
            }
            kotlin.io.CloseableKt.closeFinally(v0_3, ((Throwable) 0));
            return v4_1;
        }
    }

Method kotlin.io.FilesKt__FileReadWriteKt.inputStream() calling method java.io.FileInputStream.<init>()


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

Method kotlin.io.FilesKt__FileReadWriteKt.forEachLine() calling method java.io.FileInputStream.<init>()


    public static final void forEachLine(java.io.File p3, java.nio.charset.Charset p4, kotlin.jvm.functions.Function1 p5)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p3, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p4, "charset");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p5, "action");
        kotlin.io.TextStreamsKt.forEachLine(((java.io.Reader) new java.io.BufferedReader(((java.io.Reader) new java.io.InputStreamReader(((java.io.InputStream) new java.io.FileInputStream(p3)), p4)))), p5);
        return;
    }

Method kotlin.io.FilesKt__FileReadWriteKt.forEachBlock() calling method java.io.FileInputStream.<init>()


    public static final void forEachBlock(java.io.File p1, int p2, kotlin.jvm.functions.Function2 p3)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p3, "action");
        byte[] v2_2 = new byte[kotlin.ranges.RangesKt.coerceAtLeast(p2, 512)];
        java.io.FileInputStream v0_4 = new java.io.FileInputStream(p1);
        try {
            while(true) {
                Integer v1_1 = v0_4.read(v2_2);
                p3.invoke(v2_2, Integer.valueOf(v1_1));
            }
            v0_4.close();
            return;
        } catch (Integer v1_3) {
            v0_4.close();
            throw v1_3;
        }
        if (v1_1 > null) {
        }
        v0_4.close();
        return;
    }

Method kotlin.io.FilesKt__FileReadWriteKt.bufferedReader$default() calling method java.io.FileInputStream.<init>()


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

Method kotlin.io.FilesKt__FileReadWriteKt.bufferedReader() calling method java.io.FileInputStream.<init>()


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

Method 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 p12)
    {
        try {
            NegativeArraySizeException v0_4 = ((com.google.android.gms.internal.zzai) this.zzav.get(p12));
        } catch (Throwable v12_2) {
            throw v12_2;
        }
        if (v0_4 != null) {
            String v2_2 = this.zze(p12);
            try {
                int v6_1 = new com.google.android.gms.internal.zzaj(new java.io.BufferedInputStream(new java.io.FileInputStream(v2_2)), 0);
                try {
                    com.google.android.gms.internal.zzai.zzf(v6_1);
                    String v7_5 = com.google.android.gms.internal.zzag.zza(v6_1, ((int) (v2_2.length() - ((long) com.google.android.gms.internal.zzaj.zza(v6_1)))));
                    com.google.android.gms.internal.zzc v8_3 = new com.google.android.gms.internal.zzc();
                    v8_3.data = v7_5;
                    v8_3.zza = v0_4.zza;
                    v8_3.zzb = v0_4.zzb;
                    v8_3.zzc = v0_4.zzc;
                    v8_3.zzd = v0_4.zzd;
                    v8_3.zze = v0_4.zze;
                    v8_3.zzf = v0_4.zzf;
                    try {
                        v6_1.close();
                        return v8_3;
                    } catch (java.io.IOException) {
                        return 0;
                    }
                } catch (NegativeArraySizeException v0_2) {
                    Object[] v5_2 = new Object[2];
                    v5_2[0] = v2_2.getAbsolutePath();
                    v5_2[1] = v0_2.toString();
                    com.google.android.gms.internal.zzab.zzb("%s: %s", v5_2);
                    this.remove(p12);
                    if (v6_1 != 0) {
                        try {
                            v6_1.close();
                        } catch (java.io.IOException) {
                            return 0;
                        }
                    }
                    return 0;
                } catch (NegativeArraySizeException v0_1) {
                    Object[] v5_1 = new Object[2];
                    v5_1[0] = v2_2.getAbsolutePath();
                    v5_1[1] = v0_1.toString();
                    com.google.android.gms.internal.zzab.zzb("%s: %s", v5_1);
                    this.remove(p12);
                    if (v6_1 != 0) {
                        try {
                            v6_1.close();
                        } catch (java.io.IOException) {
                            return 0;
                        }
                    }
                    return 0;
                }
                v6_1.close();
                return v8_3;
            } catch (Throwable v12_1) {
                v6_1 = 0;
                if (v6_1 != 0) {
                    try {
                        v6_1.close();
                    } catch (java.io.IOException) {
                        return 0;
                    }
                }
                throw v12_1;
            } catch (NegativeArraySizeException v0_2) {
                v6_1 = 0;
            } catch (NegativeArraySizeException v0_1) {
                v6_1 = 0;
            } catch (Throwable v12_1) {
            }
        } else {
            return 0;
        }
    }

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

Couldn't retrieve source code

Method okio.Okio.source() calling method java.io.FileInputStream.<init>()


    public static okio.Source source(java.io.File p1)
    {
        if (p1 == null) {
            throw new IllegalArgumentException("file == null");
        } else {
            return okio.Okio.source(new java.io.FileInputStream(p1));
        }
    }

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

Couldn't retrieve source code

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

Couldn't retrieve source code

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

Couldn't retrieve source code

Method com.google.android.gms.games.snapshot.zza.readFully() calling method java.io.FileInputStream.<init>()


    public final byte[] readFully()
    {
        com.google.android.gms.common.internal.zzbr.zza((this.isClosed() ^ 1), "Must provide a previously opened Snapshot");
        try {
            String v2_0 = new java.io.FileInputStream(this.zzaOk.getParcelFileDescriptor().getFileDescriptor());
            java.io.IOException v1_2 = new java.io.BufferedInputStream(v2_0);
        } catch (java.io.IOException v1_6) {
            throw v1_6;
        }
        v2_0.getChannel().position(0);
        java.io.IOException v1_3 = com.google.android.gms.common.util.zzp.zza(v1_2, 0);
        v2_0.getChannel().position(0);
        return v1_3;
    }

Method com.google.android.gms.drive.events.CompletionEvent.getModifiedContentsInputStream() calling method java.io.FileInputStream.<init>()


    public final java.io.InputStream getModifiedContentsInputStream()
    {
        this.zzsX();
        if (this.zzaNb != null) {
            if (this.zzaNg) {
                throw new IllegalStateException("getModifiedInputStream() can only be called once per CompletionEvent instance.");
            } else {
                this.zzaNg = 1;
                return new java.io.FileInputStream(this.zzaNb.getFileDescriptor());
            }
        } else {
            return 0;
        }
    }

Method com.google.android.gms.drive.events.CompletionEvent.getBaseContentsInputStream() calling method java.io.FileInputStream.<init>()


    public final java.io.InputStream getBaseContentsInputStream()
    {
        this.zzsX();
        if (this.zzaNa != null) {
            if (this.zzaNf) {
                throw new IllegalStateException("getBaseInputStream() can only be called once per CompletionEvent instance.");
            } else {
                this.zzaNf = 1;
                return new java.io.FileInputStream(this.zzaNa.getFileDescriptor());
            }
        } else {
            return 0;
        }
    }

Method com.google.android.gms.drive.zzc.getInputStream() calling method java.io.FileInputStream.<init>()


    public final java.io.InputStream getInputStream()
    {
        return new java.io.FileInputStream(this.zzaGe.getFileDescriptor());
    }

Method com.facebook.imagepipeline.producers.LocalFileFetchProducer.getEncodedImage() calling method java.io.FileInputStream.<init>()


    protected com.facebook.imagepipeline.image.EncodedImage getEncodedImage(com.facebook.imagepipeline.request.ImageRequest p4)
    {
        return this.getEncodedImage(new java.io.FileInputStream(p4.getSourceFile().toString()), ((int) p4.getSourceFile().length()));
    }

Method com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer.getThumbnail() calling method java.io.FileInputStream.<init>()


    private com.facebook.imagepipeline.image.EncodedImage getThumbnail(com.facebook.imagepipeline.common.ResizeOptions p5, int p6)
    {
        int v5_1 = com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer.getThumbnailKind(p5);
        if (v5_1 != 0) {
            try {
                int v5_2 = android.provider.MediaStore$Images$Thumbnails.queryMiniThumbnail(this.mContentResolver, ((long) p6), v5_1, com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer.THUMBNAIL_PROJECTION);
            } catch (com.facebook.imagepipeline.image.EncodedImage v6_1) {
                v5_2 = 0;
                if (v5_2 != 0) {
                    v5_2.close();
                }
                throw v6_1;
            }
            if (v5_2 != 0) {
                try {
                    v5_2.moveToFirst();
                } catch (com.facebook.imagepipeline.image.EncodedImage v6_1) {
                }
                if (v5_2.getCount() > 0) {
                    com.facebook.imagepipeline.image.EncodedImage v6_5 = v5_2.getString(v5_2.getColumnIndex("_data"));
                    if (new java.io.File(v6_5).exists()) {
                        com.facebook.imagepipeline.image.EncodedImage v6_7 = this.getEncodedImage(new java.io.FileInputStream(v6_5), com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer.getLength(v6_5));
                        if (v5_2 != 0) {
                            v5_2.close();
                        }
                        return v6_7;
                    }
                }
                if (v5_2 != 0) {
                    v5_2.close();
                }
                return 0;
            } else {
                if (v5_2 != 0) {
                    v5_2.close();
                }
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.imagepipeline.producers.LocalContentUriFetchProducer.getCameraImage() calling method java.io.FileInputStream.<init>()


    private com.facebook.imagepipeline.image.EncodedImage getCameraImage(android.net.Uri p7)
    {
        android.database.Cursor v7_1 = this.mContentResolver.query(p7, com.facebook.imagepipeline.producers.LocalContentUriFetchProducer.PROJECTION, 0, 0, 0);
        if (v7_1 != null) {
            try {
                if (v7_1.getCount() != 0) {
                    v7_1.moveToFirst();
                    int v1_3 = v7_1.getString(v7_1.getColumnIndex("_data"));
                    if (v1_3 == 0) {
                        v7_1.close();
                        return 0;
                    } else {
                        com.facebook.imagepipeline.image.EncodedImage v0_4 = this.getEncodedImage(new java.io.FileInputStream(v1_3), com.facebook.imagepipeline.producers.LocalContentUriFetchProducer.getLength(v1_3));
                        v7_1.close();
                        return v0_4;
                    }
                } else {
                    v7_1.close();
                    return 0;
                }
            } catch (com.facebook.imagepipeline.image.EncodedImage v0_1) {
                v7_1.close();
                throw v0_1;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.imagepipeline.producers.LocalFetchProducer$3.get() calling method java.io.FileInputStream.<init>()


    public java.io.FileInputStream get()
    {
        try {
            return new java.io.FileInputStream(this.val$file);
        } catch (java.io.IOException v0_2) {
            throw new RuntimeException(v0_2);
        }
    }

Method com.facebook.binaryresource.FileBinaryResource.openStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream openStream()
    {
        return new java.io.FileInputStream(this.mFile);
    }

Method com.facebook.imageformat.ImageFormatChecker.getImageFormat() calling method java.io.FileInputStream.<init>()


    public static com.facebook.imageformat.ImageFormat getImageFormat(String p2)
    {
        java.io.FileInputStream v0 = 0;
        try {
            java.io.FileInputStream v1_1 = new java.io.FileInputStream(p2);
            try {
                Throwable v2_2 = com.facebook.imageformat.ImageFormatChecker.getImageFormat(v1_1);
                com.facebook.common.internal.Closeables.closeQuietly(v1_1);
                return v2_2;
            } catch (Throwable v2_1) {
                v0 = v1_1;
                com.facebook.common.internal.Closeables.closeQuietly(v0);
                throw v2_1;
            } catch (java.io.IOException) {
                v0 = v1_1;
                com.facebook.common.internal.Closeables.closeQuietly(v0);
                return com.facebook.imageformat.ImageFormat.UNKNOWN;
            }
        } catch (Throwable v2_1) {
        }
        v2_2 = com.facebook.imageformat.ImageFormatChecker.getImageFormat(v1_1);
        com.facebook.common.internal.Closeables.closeQuietly(v1_1);
        return v2_2;
    }

Method com.facebook.common.internal.Files.toByteArray() calling method java.io.FileInputStream.<init>()


    public static byte[] toByteArray(java.io.File p4)
    {
        try {
            int v1_1 = new java.io.FileInputStream(p4);
            try {
                Throwable v4_1 = com.facebook.common.internal.Files.readFile(v1_1, v1_1.getChannel().size());
                v1_1.close();
                return v4_1;
            } catch (Throwable v4_2) {
                if (v1_1 != 0) {
                    v1_1.close();
                }
                throw v4_2;
            }
        } catch (Throwable v4_2) {
            v1_1 = 0;
        }
        v4_1 = com.facebook.common.internal.Files.readFile(v1_1, v1_1.getChannel().size());
        v1_1.close();
        return v4_1;
    }

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


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

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

Couldn't retrieve source code

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


    public static java.util.List loadEntriesFromFile(String p6)
    {
        float v1_4 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), p6);
        java.util.ArrayList v6_2 = new java.util.ArrayList();
        try {
            String v0_4 = new java.io.BufferedReader(new java.io.FileReader(v1_4));
        } catch (String v0_1) {
            android.util.Log.e("MPChart-FileUtils", v0_1.toString());
            return v6_2;
        }
        while(true) {
            float v1_0 = v0_4.readLine();
            if (v1_0 == 0) {
                return v6_2;
            } else {
                float v1_1 = v1_0.split("#");
                int v4_0 = 0;
                if (v1_1.length > 2) {
                    float[] v2_4 = new float[(v1_1.length - 1)];
                    while (v4_0 < v2_4.length) {
                    }
                    v6_2.add(new com.github.mikephil.charting.data.BarEntry(((float) Integer.parseInt(v1_1[(v1_1.length - 1)])), v2_4));
                } else {
                    v6_2.add(new com.github.mikephil.charting.data.Entry(Float.parseFloat(v1_1[0]), ((float) Integer.parseInt(v1_1[1]))));
                }
            }
        }
        v2_4[v4_0] = Float.parseFloat(v1_1[v4_0]);
        v4_0++;
    }

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


    public final void zzR(android.content.Context p8)
    {
        com.google.android.gms.internal.zzakg v0 = com.google.android.gms.internal.zzakg.zzie();
        com.google.android.gms.internal.zzahd.v("Updating user agent.");
        String v1_1 = android.webkit.WebSettings.getDefaultUserAgent(p8);
        if (!v1_1.equals(v0.zzJS)) {
            String v2_0 = com.google.android.gms.common.zzo.getRemoteContext(p8);
            if (v2_0 == null) {
                String v3_1 = p8.getSharedPreferences("admob_user_agent", 0).edit().putString("user_agent", android.webkit.WebSettings.getDefaultUserAgent(p8));
                if (v2_0 != null) {
                    java.io.File v4_4 = new java.io.File(p8.getApplicationInfo().dataDir, "shared_prefs");
                    java.io.File v8_3 = v4_4.getParentFile();
                    if (v8_3 != null) {
                        v8_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.zzJS = v1_1;
        }
        com.google.android.gms.internal.zzahd.v("User agent is updated.");
        com.google.android.gms.ads.internal.zzbs.zzbC().zzhG();
        return;
    }

Method com.google.firebase.storage.FileDownloadTask.run() calling method java.io.File.<init>()


    final void run()
    {
        if (this.zzbMl == null) {
            if (!this.zzj(4, 0)) {
                return;
            }
            do {
                this.zzcqR = 0;
                this.zzbMl = 0;
                this.zzcqP.reset();
                long v7_6;
                int v6_10 = com.google.android.gms.internal.agu.zzg(this.zzcqN.getStorage().getApp()).zza(this.zzcqN.zzLf(), this.zzcqT);
                this.zzcqP.zza(v6_10, 0);
                this.mResultCode = v6_10.getResultCode();
                if (v6_10.getException() == null) {
                    v7_6 = this.zzbMl;
                } else {
                    v7_6 = v6_10.getException();
                }
                long v7_8;
                this.zzbMl = v7_6;
                long v7_7 = this.mResultCode;
                int v9 = 1;
                if ((v7_7 != 308) && ((v7_7 < 200) || (v7_7 >= 300))) {
                    v7_8 = 0;
                } else {
                    v7_8 = 1;
                }
                if ((v7_8 == 0) || ((this.zzbMl != null) || (this.zzLh() != 4))) {
                    long v7_11 = 0;
                } else {
                    v7_11 = 1;
                }
                long v5_6;
                if (v7_11 == 0) {
                    v5_6 = v7_11;
                } else {
                    this.zzaNu = ((long) v6_10.zzLB());
                    String v8_6 = v6_10.zzin("ETag");
                    if ((android.text.TextUtils.isEmpty(v8_6)) || ((this.zzcqS == null) || (this.zzcqS.equals(v8_6)))) {
                        this.zzcqS = v8_6;
                        try {
                            v5_6 = this.zza(v6_10);
                        } catch (long v5_7) {
                            android.util.Log.e("FileDownloadTask", "Exception occurred during file write.  Aborting.", v5_7);
                            this.zzbMl = v5_7;
                        }
                    } else {
                        android.util.Log.w("FileDownloadTask", "The file at the server has changed.  Restarting from the beginning.");
                        this.zzcqT = 0;
                        this.zzcqS = 0;
                        v6_10.zzLv();
                        this.schedule();
                        return;
                    }
                }
                v6_10.zzLv();
                if ((v5_6 == 0) || ((this.zzbMl != null) || (this.zzLh() != 4))) {
                    v9 = 0;
                }
                if (v9 == 0) {
                    long v5_1 = new java.io.File(this.zzcqQ.getPath());
                    if (!v5_1.exists()) {
                        this.zzcqT = 0;
                    } else {
                        this.zzcqT = v5_1.length();
                    }
                    if (this.zzLh() != 8) {
                        if (this.zzLh() != 32) {
                        } else {
                            if (!this.zzj(256, 0)) {
                                String v1_1 = this.zzLh();
                                StringBuilder v3_1 = new StringBuilder(62);
                                v3_1.append("Unable to change download task to final state from ");
                                v3_1.append(v1_1);
                                android.util.Log.w("FileDownloadTask", v3_1.toString());
                            }
                            return;
                        }
                    } else {
                        this.zzj(16, 0);
                        return;
                    }
                } else {
                    this.zzj(128, 0);
                    return;
                }
            } while(this.zzcqR > 0);
            this.zzj(64, 0);
            return;
        } else {
            this.zzj(64, 0);
            return;
        }
    }

Method com.google.firebase.storage.FileDownloadTask.zza() calling method java.io.File.<init>()


    private final boolean zza(com.google.android.gms.internal.agv p10)
    {
        IllegalStateException v10_1 = p10.getStream();
        int v0_6 = 0;
        if (v10_1 == null) {
            this.zzbMl = new IllegalStateException("Unable to open Firebase Storage stream.");
        } else {
            byte[] v1_1 = new java.io.File(this.zzcqQ.getPath());
            if (!v1_1.exists()) {
                if (this.zzcqT <= 0) {
                    if (!v1_1.createNewFile()) {
                        Exception v5_2;
                        String v6_1 = String.valueOf(v1_1.getAbsolutePath());
                        if (v6_1.length() == 0) {
                            v5_2 = new String("unable to create file:");
                        } else {
                            v5_2 = "unable to create file:".concat(v6_1);
                        }
                        android.util.Log.w("FileDownloadTask", v5_2);
                    }
                } else {
                    IllegalStateException v10_3;
                    int v0_1 = String.valueOf(v1_1.getAbsolutePath());
                    if (v0_1.length() == 0) {
                        v10_3 = new String("The file downloading to has been deleted:");
                    } else {
                        v10_3 = "The file downloading to has been deleted:".concat(v0_1);
                    }
                    android.util.Log.e("FileDownloadTask", v10_3);
                    throw new IllegalStateException("expected a file to resume from.");
                }
            }
            String v2_7;
            int v3_0 = 1;
            if (this.zzcqT <= 0) {
                v2_7 = new java.io.FileOutputStream(v1_1);
            } else {
                boolean v4_2 = String.valueOf(v1_1.getAbsolutePath());
                Exception v5_4 = this.zzcqT;
                StringBuilder v8_1 = new StringBuilder((String.valueOf(v4_2).length() + 47));
                v8_1.append("Resuming download file ");
                v8_1.append(v4_2);
                v8_1.append(" at ");
                v8_1.append(v5_4);
                android.util.Log.d("FileDownloadTask", v8_1.toString());
                v2_7 = new java.io.FileOutputStream(v1_1, 1);
            }
            try {
                byte[] v1_4 = new byte[262144];
            } catch (int v0_7) {
                v2_7.flush();
                v2_7.close();
                v10_1.close();
                throw v0_7;
            }
            while (v3_0 != 0) {
                boolean v4_5 = this.zza(v10_1, v1_4);
                if (v4_5 == -1) {
                    break;
                }
                v2_7.write(v1_4, 0, v4_5);
                this.zzcqR = (this.zzcqR + ((long) v4_5));
                if (this.zzbMl != null) {
                    android.util.Log.d("FileDownloadTask", "Exception occurred during file download. Retrying.", this.zzbMl);
                    this.zzbMl = 0;
                    v3_0 = 0;
                }
                if (!this.zzj(4, 0)) {
                    v3_0 = 0;
                }
            }
            v2_7.flush();
            v2_7.close();
            v10_1.close();
            v0_6 = v3_0;
        }
        return v0_6;
    }

Method kotlin.io.FilesKt__UtilsKt.startsWith() calling method java.io.File.<init>()


    public static final boolean startsWith(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "other");
        return kotlin.io.FilesKt.startsWith(p1, new java.io.File(p2));
    }

Method kotlin.io.FilesKt__UtilsKt.resolveSibling() calling method java.io.File.<init>()


    public static final java.io.File resolveSibling(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "relative");
        return kotlin.io.FilesKt.resolveSibling(p1, new java.io.File(p2));
    }

Method kotlin.io.FilesKt__UtilsKt.resolveSibling() calling method java.io.File.<init>()


    public static final java.io.File resolveSibling(java.io.File p2, java.io.File p3)
    {
        java.io.File v0_1;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p3, "relative");
        java.io.File v2_4 = kotlin.io.FilesKt.toComponents(p2);
        if (v2_4.getSize() != 0) {
            v0_1 = v2_4.subPath(0, (v2_4.getSize() - 1));
        } else {
            v0_1 = new java.io.File("..");
        }
        return kotlin.io.FilesKt.resolve(kotlin.io.FilesKt.resolve(v2_4.getRoot(), v0_1), p3);
    }

Method kotlin.io.FilesKt__UtilsKt.resolve() calling method java.io.File.<init>()


    public static final java.io.File resolve(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "relative");
        return kotlin.io.FilesKt.resolve(p1, new java.io.File(p2));
    }

Method kotlin.io.FilesKt__UtilsKt.resolve() calling method java.io.File.<init>()


    public static final java.io.File resolve(java.io.File p5, java.io.File p6)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p5, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p6, "relative");
        if (!kotlin.io.FilesKt.isRooted(p6)) {
            StringBuilder v1_1;
            String v5_4 = p5.toString();
            kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v5_4, "baseName");
            java.io.File v0_2 = ((CharSequence) v5_4);
            if (v0_2.length() != 0) {
                v1_1 = 0;
            } else {
                v1_1 = 1;
            }
            if ((v1_1 == null) && (!kotlin.text.StringsKt.endsWith$default(v0_2, java.io.File.separatorChar, 0, 2, 0))) {
                StringBuilder v1_4 = new StringBuilder();
                v1_4.append(v5_4);
                v1_4.append(java.io.File.separatorChar);
                v1_4.append(p6);
                java.io.File v0_6 = new java.io.File(v1_4.toString());
            } else {
                StringBuilder v1_6 = new StringBuilder();
                v1_6.append(v5_4);
                v1_6.append(p6);
                v0_6 = new java.io.File(v1_6.toString());
            }
            return v0_6;
        } else {
            return p6;
        }
    }

Method kotlin.io.FilesKt__UtilsKt.relativeToOrSelf() calling method java.io.File.<init>()


    public static final java.io.File relativeToOrSelf(java.io.File p1, java.io.File p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "base");
        String v2_1 = kotlin.io.FilesKt__UtilsKt.toRelativeStringOrNull$FilesKt__UtilsKt(p1, p2);
        if (v2_1 != null) {
            p1 = new java.io.File(v2_1);
        }
        return p1;
    }

Method kotlin.io.FilesKt__UtilsKt.relativeToOrNull() calling method java.io.File.<init>()


    public static final java.io.File relativeToOrNull(java.io.File p1, java.io.File p2)
    {
        int v2_1;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "base");
        String v1_1 = kotlin.io.FilesKt__UtilsKt.toRelativeStringOrNull$FilesKt__UtilsKt(p1, p2);
        if (v1_1 == null) {
            v2_1 = 0;
        } else {
            v2_1 = new java.io.File(v1_1);
        }
        return v2_1;
    }

Method kotlin.io.FilesKt__UtilsKt.relativeTo() calling method java.io.File.<init>()


    public static final java.io.File relativeTo(java.io.File p1, java.io.File p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "base");
        return new java.io.File(kotlin.io.FilesKt.toRelativeString(p1, p2));
    }

Method kotlin.io.FilesKt__UtilsKt.endsWith() calling method java.io.File.<init>()


    public static final boolean endsWith(java.io.File p1, String p2)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p2, "other");
        return kotlin.io.FilesKt.endsWith(p1, new java.io.File(p2));
    }

Method kotlin.io.FilesKt__UtilsKt.copyRecursively() calling method java.io.File.<init>()


    public static final boolean copyRecursively(java.io.File p11, java.io.File p12, boolean p13, kotlin.jvm.functions.Function2 p14)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p11, "$receiver");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p12, "target");
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p14, "onError");
        if (p11.exists()) {
            try {
                java.util.Iterator v2_3 = kotlin.io.FilesKt.walkTopDown(p11).onFail(((kotlin.jvm.functions.Function2) new kotlin.io.FilesKt__UtilsKt$copyRecursively$2(p14))).iterator();
            } catch (kotlin.io.TerminateException) {
                return 0;
            }
            while (v2_3.hasNext()) {
                boolean v3_9 = ((java.io.File) v2_3.next());
                if (v3_9.exists()) {
                    String v5_3 = new java.io.File(p12, kotlin.io.FilesKt.toRelativeString(v3_9, p11));
                    if ((v5_3.exists()) && ((!v3_9.isDirectory()) || (!v5_3.isDirectory()))) {
                        int v4_10;
                        if (p13) {
                            if (!v5_3.isDirectory()) {
                                if (v5_3.delete()) {
                                    v4_10 = 0;
                                } else {
                                    v4_10 = 1;
                                }
                            } else {
                                v4_10 = (kotlin.io.FilesKt.deleteRecursively(v5_3) ^ 1);
                            }
                        }
                        if (v4_10 != 0) {
                            if (kotlin.jvm.internal.Intrinsics.areEqual(((kotlin.io.OnErrorAction) p14.invoke(v5_3, new kotlin.io.FileAlreadyExistsException(v3_9, v5_3, "The destination file already exists."))), kotlin.io.OnErrorAction.TERMINATE)) {
                                return 0;
                            }
                        }
                    }
                    if (!v3_9.isDirectory()) {
                        if ((kotlin.io.FilesKt.copyTo$default(v3_9, v5_3, p13, 0, 4, 0).length() != v3_9.length()) && (kotlin.jvm.internal.Intrinsics.areEqual(((kotlin.io.OnErrorAction) p14.invoke(v3_9, new java.io.IOException("Source file wasn\'t copied completely, length of destination file differs."))), kotlin.io.OnErrorAction.TERMINATE))) {
                            return 0;
                        }
                    } else {
                        v5_3.mkdirs();
                    }
                } else {
                    kotlin.io.NoSuchFileException v10 = new kotlin.io.NoSuchFileException;
                    v10(v3_9, 0, "The source file doesn\'t exist.", 2, 0);
                    if (kotlin.jvm.internal.Intrinsics.areEqual(((kotlin.io.OnErrorAction) p14.invoke(v3_9, v10)), kotlin.io.OnErrorAction.TERMINATE)) {
                        return 0;
                    }
                }
            }
            return 1;
        } else {
            kotlin.io.OnErrorAction v12_1 = new kotlin.io.NoSuchFileException;
            v12_1(p11, 0, "The source file doesn\'t exist.", 2, 0);
            return (kotlin.jvm.internal.Intrinsics.areEqual(((kotlin.io.OnErrorAction) p14.invoke(p11, v12_1)), kotlin.io.OnErrorAction.TERMINATE) ^ 1);
        }
    }

Method com.google.android.gms.tagmanager.zzex.zzBG() calling method java.io.File.<init>()


    private final java.io.File zzBG()
    {
        String v0_1;
        String v0_2 = String.valueOf("resource_");
        java.io.File v1_4 = String.valueOf(this.zzbDA);
        if (v1_4.length() == 0) {
            v0_1 = new String(v0_2);
        } else {
            v0_1 = v0_2.concat(v1_4);
        }
        return new java.io.File(this.mContext.getDir("google_tagmanager", 0), v0_1);
    }

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


    public final boolean zzU(String p30)
    {
        java.io.IOException v0_65;
        android.os.Handler v10_0 = 0;
        if (this.zzKc != null) {
            do {
                int v3_7;
                if (this.zzKc != null) {
                    java.io.IOException v0_0 = this.zzKc.listFiles();
                    StringBuilder v2_0 = 0;
                    v3_7 = 0;
                    while (v2_0 < v0_0.length) {
                        if (!v0_0[v2_0].getName().endsWith(".done")) {
                            v3_7++;
                        }
                        v2_0++;
                    }
                } else {
                    v3_7 = 0;
                }
                if (v3_7 <= ((Integer) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCp)).intValue()) {
                    com.google.android.gms.internal.zzji.zzdr();
                    long v12_1 = new java.io.File(this.zzKc, com.google.android.gms.internal.zzakk.zzaR(p30));
                    java.io.IOException v0_34 = this.zzb(v12_1);
                    if ((!v12_1.isFile()) || (!v0_34.isFile())) {
                        String v14;
                        String v1_44 = String.valueOf(this.zzKc.getAbsolutePath());
                        StringBuilder v2_41 = String.valueOf(p30);
                        if (v2_41.length() == 0) {
                            v14 = new String(v1_44);
                        } else {
                            v14 = v1_44.concat(v2_41);
                        }
                        if (!com.google.android.gms.internal.zzsh.zzKa.contains(v14)) {
                            com.google.android.gms.internal.zzsh.zzKa.add(v14);
                            String v15_0 = "error";
                            try {
                                com.google.android.gms.ads.internal.zzbs.zzbL();
                                String v1_56 = com.google.android.gms.internal.zzala.zzb(p30, ((Integer) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCv)).intValue());
                                try {
                                    if (!(v1_56 instanceof java.net.HttpURLConnection)) {
                                        int v7_1 = v1_56.getContentLength();
                                        if (v7_1 >= 0) {
                                            StringBuilder v2_59 = com.google.android.gms.internal.zzsh.zzKb.format(((long) v7_1));
                                            int v6_0 = ((Integer) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCq)).intValue();
                                            if (v7_1 <= v6_0) {
                                                StringBuilder v4_4 = new StringBuilder(((String.valueOf(v2_59).length() + 20) + String.valueOf(p30).length()));
                                                v4_4.append("Caching ");
                                                v4_4.append(v2_59);
                                                v4_4.append(" bytes from ");
                                                v4_4.append(p30);
                                                com.google.android.gms.internal.zzahd.zzaC(v4_4.toString());
                                                StringBuilder v5_0 = java.nio.channels.Channels.newChannel(v1_56.getInputStream());
                                                StringBuilder v4_6 = new java.io.FileOutputStream(v12_1);
                                                try {
                                                    int v3_8 = v4_6.getChannel();
                                                    StringBuilder v2_3 = java.nio.ByteBuffer.allocate(1048576);
                                                    com.google.android.gms.common.util.zzf v16 = com.google.android.gms.ads.internal.zzbs.zzbE();
                                                    long v17 = v16.currentTimeMillis();
                                                    String v19 = v14;
                                                    try {
                                                        android.os.Handler v10_3 = new com.google.android.gms.internal.zzakd(((Long) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCu)).longValue());
                                                        long v13_2 = ((Long) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCt)).longValue();
                                                        String v1_10 = 0;
                                                    } catch (java.io.IOException v0_1) {
                                                        StringBuilder v24_0 = v4_6;
                                                        String v1_2 = v19;
                                                        v10_0 = 0;
                                                        if ((v0_1 instanceof RuntimeException)) {
                                                            com.google.android.gms.ads.internal.zzbs.zzbC().zza(v0_1, "VideoStreamFullFileCache.preload");
                                                        }
                                                        try {
                                                            v24_0.close();
                                                        } catch (java.io.IOException) {
                                                        }
                                                        if (!this.zzKd) {
                                                            int v3_24 = new StringBuilder((String.valueOf(p30).length() + 25));
                                                            v3_24.append("Preload failed for URL \"");
                                                            v3_24.append(p30);
                                                            v3_24.append("\"");
                                                            com.google.android.gms.internal.zzahd.zzc(v3_24.toString(), v0_1);
                                                        } else {
                                                            StringBuilder v2_32 = new StringBuilder((String.valueOf(p30).length() + 26));
                                                            v2_32.append("Preload aborted for URL \"");
                                                            v2_32.append(p30);
                                                            v2_32.append("\"");
                                                            com.google.android.gms.internal.zzahd.zzaS(v2_32.toString());
                                                        }
                                                        if (v12_1.exists()) {
                                                            if (!v12_1.delete()) {
                                                                StringBuilder v2_34 = String.valueOf(v12_1.getAbsolutePath());
                                                                if (v2_34.length() == 0) {
                                                                    java.io.IOException v0_50 = new String("Could not delete partial cache file at ");
                                                                } else {
                                                                    v0_50 = "Could not delete partial cache file at ".concat(v2_34);
                                                                }
                                                                com.google.android.gms.internal.zzahd.zzaT(v0_50);
                                                            }
                                                        }
                                                        this.zza(p30, v12_1.getAbsolutePath(), v15_0, v10_0);
                                                        com.google.android.gms.internal.zzsh.zzKa.remove(v1_2);
                                                        return 0;
                                                    }
                                                    while(true) {
                                                        String v26;
                                                        int v20_0 = v5_0.read(v2_3);
                                                        if (v20_0 < 0) {
                                                            v24_0 = v4_6;
                                                            v26 = v15_0;
                                                            v24_0.close();
                                                            if (com.google.android.gms.internal.zzahd.zzz(3)) {
                                                                StringBuilder v2_7 = com.google.android.gms.internal.zzsh.zzKb.format(((long) v1_10));
                                                                StringBuilder v4_12 = new StringBuilder(((String.valueOf(v2_7).length() + 22) + String.valueOf(p30).length()));
                                                                v4_12.append("Preloaded ");
                                                                v4_12.append(v2_7);
                                                                v4_12.append(" bytes from ");
                                                                v4_12.append(p30);
                                                                com.google.android.gms.internal.zzahd.zzaC(v4_12.toString());
                                                            }
                                                            v12_1.setReadable(1, 0);
                                                            if (!v0_34.isFile()) {
                                                                v0_34.createNewFile();
                                                            } else {
                                                                v0_34.setLastModified(System.currentTimeMillis());
                                                            }
                                                            this.zza(p30, v12_1.getAbsolutePath(), v1_10);
                                                            v1_2 = v19;
                                                            try {
                                                                com.google.android.gms.internal.zzsh.zzKa.remove(v1_2);
                                                                return 1;
                                                            } catch (java.io.IOException v0_1) {
                                                            }
                                                        } else {
                                                            String v1_11 = (v1_10 + v20_0);
                                                            if (v1_11 <= v6_0) {
                                                                v2_3.flip();
                                                                while (v3_8.write(v2_3) > 0) {
                                                                }
                                                                v2_3.clear();
                                                                try {
                                                                    if ((v16.currentTimeMillis() - v17) <= (1000 * v13_2)) {
                                                                        break;
                                                                    }
                                                                    v24_0 = v4_6;
                                                                    v26 = v15_0;
                                                                    v15_0 = "downloadTimeout";
                                                                    java.io.IOException v0_7 = String.valueOf(Long.toString(v13_2));
                                                                    StringBuilder v2_14 = new StringBuilder((String.valueOf(v0_7).length() + 29));
                                                                    v2_14.append("Timeout exceeded. Limit: ");
                                                                    v2_14.append(v0_7);
                                                                    v2_14.append(" sec");
                                                                    v10_0 = v2_14.toString();
                                                                    try {
                                                                        throw new java.io.IOException("stream cache time limit exceeded");
                                                                    } catch (java.io.IOException v0_1) {
                                                                    }
                                                                } catch (java.io.IOException v0_1) {
                                                                }
                                                            } else {
                                                                try {
                                                                    try {
                                                                        String v1_21 = String.valueOf(Integer.toString(v1_11));
                                                                    } catch (java.io.IOException v0_1) {
                                                                        v15_0 = "sizeExceeded";
                                                                        v24_0 = v4_6;
                                                                    }
                                                                    if (v1_21.length() == 0) {
                                                                        v10_0 = new String("File too big for full file cache. Size: ");
                                                                    } else {
                                                                        v10_0 = "File too big for full file cache. Size: ".concat(v1_21);
                                                                    }
                                                                    try {
                                                                        throw new java.io.IOException("stream cache file size limit exceeded");
                                                                    } catch (java.io.IOException v0_1) {
                                                                        v15_0 = "sizeExceeded";
                                                                        v24_0 = v4_6;
                                                                    }
                                                                } catch (java.io.IOException v0_1) {
                                                                }
                                                            }
                                                            v1_2 = v19;
                                                        }
                                                        v15_0 = v26;
                                                    }
                                                    if (this.zzKd) {
                                                        v24_0 = v4_6;
                                                        v26 = v15_0;
                                                        v15_0 = "externalAbort";
                                                        throw new java.io.IOException("abort requested");
                                                    } else {
                                                        int v28;
                                                        StringBuilder v22_2;
                                                        int v11_2;
                                                        int v23;
                                                        android.os.Handler v25;
                                                        int v27;
                                                        String v21;
                                                        if (!v10_3.tryAcquire()) {
                                                            v21 = v1_11;
                                                            v22_2 = v2_3;
                                                            v23 = v3_8;
                                                            v24_0 = v4_6;
                                                            v11_2 = v5_0;
                                                            v27 = v6_0;
                                                            v28 = v7_1;
                                                            v25 = v10_3;
                                                            v26 = v15_0;
                                                        } else {
                                                            v25 = v10_3;
                                                            v26 = v15_0;
                                                            String v15_1 = new com.google.android.gms.internal.zzsc;
                                                            v21 = v1_11;
                                                            v22_2 = v2_3;
                                                            v23 = v3_8;
                                                            v24_0 = v4_6;
                                                            StringBuilder v4_14 = v12_1.getAbsolutePath();
                                                            v11_2 = v5_0;
                                                            v27 = v6_0;
                                                            v28 = v7_1;
                                                            v15_1(this, p30, v4_14, v21, v7_1, 0);
                                                            com.google.android.gms.internal.zzakk.zzaaJ.post(v15_1);
                                                        }
                                                        v5_0 = v11_2;
                                                        v1_10 = v21;
                                                        v2_3 = v22_2;
                                                        v3_8 = v23;
                                                        v4_6 = v24_0;
                                                        v10_3 = v25;
                                                        v15_0 = v26;
                                                        v6_0 = v27;
                                                        v7_1 = v28;
                                                    }
                                                } catch (java.io.IOException v0_1) {
                                                    v24_0 = v4_6;
                                                    v1_2 = v14;
                                                }
                                            } else {
                                                java.io.IOException v0_30;
                                                String v1_28 = new StringBuilder(((String.valueOf(v2_59).length() + 33) + String.valueOf(p30).length()));
                                                v1_28.append("Content length ");
                                                v1_28.append(v2_59);
                                                v1_28.append(" exceeds limit at ");
                                                v1_28.append(p30);
                                                com.google.android.gms.internal.zzahd.zzaT(v1_28.toString());
                                                String v1_30 = String.valueOf(v2_59);
                                                if (v1_30.length() == 0) {
                                                    v0_30 = new String("File too big for full file cache. Size: ");
                                                } else {
                                                    v0_30 = "File too big for full file cache. Size: ".concat(v1_30);
                                                }
                                                this.zza(p30, v12_1.getAbsolutePath(), "sizeExceeded", v0_30);
                                                com.google.android.gms.internal.zzsh.zzKa.remove(v14);
                                                return 0;
                                            }
                                        } else {
                                            java.io.IOException v0_33;
                                            String v1_34 = String.valueOf(p30);
                                            if (v1_34.length() == 0) {
                                                v0_33 = new String("Stream cache aborted, missing content-length header at ");
                                            } else {
                                                v0_33 = "Stream cache aborted, missing content-length header at ".concat(v1_34);
                                            }
                                            com.google.android.gms.internal.zzahd.zzaT(v0_33);
                                            this.zza(p30, v12_1.getAbsolutePath(), "contentLengthMissing", 0);
                                            com.google.android.gms.internal.zzsh.zzKa.remove(v14);
                                            return 0;
                                        }
                                    } else {
                                        StringBuilder v2_57 = ((java.net.HttpURLConnection) v1_56).getResponseCode();
                                        if (v2_57 < 400) {
                                        } else {
                                            try {
                                                int v3_21;
                                                int v3_19 = String.valueOf(Integer.toString(v2_57));
                                            } catch (java.io.IOException v0_1) {
                                                v15_0 = "badUrl";
                                            }
                                            if (v3_19.length() == 0) {
                                                v3_21 = new String("HTTP request failed. Code: ");
                                            } else {
                                                v3_21 = "HTTP request failed. Code: ".concat(v3_19);
                                            }
                                            try {
                                                StringBuilder v5_4 = new StringBuilder((String.valueOf(p30).length() + 32));
                                                v5_4.append("HTTP status code ");
                                                v5_4.append(v2_57);
                                                v5_4.append(" at ");
                                                v5_4.append(p30);
                                                throw new java.io.IOException(v5_4.toString());
                                            } catch (java.io.IOException v0_1) {
                                                v15_0 = "badUrl";
                                                v24_0 = 0;
                                                v1_2 = v14;
                                                v10_0 = v3_21;
                                            }
                                        }
                                    }
                                } catch (java.io.IOException v0_1) {
                                }
                                v24_0 = 0;
                                v1_2 = v14;
                            } catch (java.io.IOException v0_1) {
                                v1_2 = v14;
                                v10_0 = 0;
                                v24_0 = 0;
                            }
                        } else {
                            java.io.IOException v0_54;
                            StringBuilder v2_37 = String.valueOf(p30);
                            if (v2_37.length() == 0) {
                                v0_54 = new String("Stream cache already in progress at ");
                            } else {
                                v0_54 = "Stream cache already in progress at ".concat(v2_37);
                            }
                            com.google.android.gms.internal.zzahd.zzaT(v0_54);
                            this.zza(p30, v12_1.getAbsolutePath(), "inProgress", 0);
                            return 0;
                        }
                    } else {
                        String v1_46;
                        java.io.IOException v0_58 = ((int) v12_1.length());
                        StringBuilder v2_42 = String.valueOf(p30);
                        if (v2_42.length() == 0) {
                            v1_46 = new String("Stream cache hit at ");
                        } else {
                            v1_46 = "Stream cache hit at ".concat(v2_42);
                        }
                        com.google.android.gms.internal.zzahd.zzaC(v1_46);
                        this.zza(p30, v12_1.getAbsolutePath(), v0_58);
                        return 1;
                    }
                } else {
                    java.io.IOException v0_62;
                    if (this.zzKc != null) {
                        StringBuilder v2_46 = this.zzKc.listFiles();
                        int v3_29 = v2_46.length;
                        StringBuilder v4_20 = nan;
                        String v1_48 = 0;
                        java.io.IOException v0_61 = 0;
                        while (v0_61 < v3_29) {
                            int v6_2 = v2_46[v0_61];
                            if (!v6_2.getName().endsWith(".done")) {
                                long v12_3 = v6_2.lastModified();
                                if (v12_3 < v4_20) {
                                    v1_48 = v6_2;
                                    v4_20 = v12_3;
                                }
                            }
                            v0_61++;
                        }
                        if (v1_48 == null) {
                            v0_62 = 0;
                        } else {
                            v0_62 = v1_48.delete();
                            String v1_49 = this.zzb(v1_48);
                            if (v1_49.isFile()) {
                                v0_62 &= v1_49.delete();
                            }
                        }
                    }
                }
            } while(v0_62 != null);
            com.google.android.gms.internal.zzahd.zzaT("Unable to expire stream cache");
            v0_65 = "expireFailed";
        } else {
            v0_65 = "noCacheDir";
        }
        this.zza(p30, 0, v0_65, 0);
        return 0;
    }

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


    private final java.io.File zzb(java.io.File p4)
    {
        return new java.io.File(this.zzKc, String.valueOf(p4.getName()).concat(".done"));
    }

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


    public zzsh(com.google.android.gms.internal.zzalm p4)
    {
        super(p4);
        String v4_10 = super.mContext.getCacheDir();
        if (v4_10 != null) {
            super.zzKc = new java.io.File(v4_10, "admobVideoStreams");
            if ((super.zzKc.isDirectory()) || (super.zzKc.mkdirs())) {
                if ((super.zzKc.setReadable(1, 0)) && (super.zzKc.setExecutable(1, 0))) {
                    return;
                } else {
                    String v4_11;
                    String v1_3 = String.valueOf(super.zzKc.getAbsolutePath());
                    if (v1_3.length() == 0) {
                        v4_11 = new String("Could not set cache file permissions at ");
                    } else {
                        v4_11 = "Could not set cache file permissions at ".concat(v1_3);
                    }
                    com.google.android.gms.internal.zzahd.zzaT(v4_11);
                    super.zzKc = 0;
                    return;
                }
            } else {
                String v4_13;
                String v1_8 = String.valueOf(super.zzKc.getAbsolutePath());
                if (v1_8.length() == 0) {
                    v4_13 = new String("Could not create preload cache directory at ");
                } else {
                    v4_13 = "Could not create preload cache directory at ".concat(v1_8);
                }
                com.google.android.gms.internal.zzahd.zzaT(v4_13);
                super.zzKc = 0;
                return;
            }
        } else {
            com.google.android.gms.internal.zzahd.zzaT("Context.getCacheDir() returned null");
            return;
        }
    }

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


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

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


    protected final android.webkit.WebResourceResponse zza(android.webkit.WebView p5, String p6, java.util.Map p7)
    {
        if ((p5 instanceof com.google.android.gms.internal.zzalm)) {
            if (this.zztu != null) {
                this.zztu.zza(p6, p7, 1);
            }
            if ("mraid.js".equalsIgnoreCase(new java.io.File(p6).getName())) {
                if (((com.google.android.gms.internal.zzalm) p5).zziv() != null) {
                    ((com.google.android.gms.internal.zzalm) p5).zziv().zzfK();
                }
                String v5_6;
                if (!((com.google.android.gms.internal.zzalm) p5).zzal().zzAw) {
                    if (!((com.google.android.gms.internal.zzalm) p5).zziz()) {
                        v5_6 = com.google.android.gms.internal.zzmo.zzCQ;
                    } else {
                        v5_6 = com.google.android.gms.internal.zzmo.zzCR;
                    }
                } else {
                    v5_6 = com.google.android.gms.internal.zzmo.zzCS;
                }
                String v5_8 = ((String) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(v5_6));
                try {
                    android.webkit.WebResourceResponse v6_2 = ((com.google.android.gms.internal.zzalm) p5).getContext();
                    String v7_6 = ((com.google.android.gms.internal.zzalm) p5).zziy().zzaS;
                    String v0_4 = new java.util.HashMap();
                    v0_4.put("User-Agent", com.google.android.gms.ads.internal.zzbs.zzby().zzs(v6_2, v7_6));
                    v0_4.put("Cache-Control", "max-stale=3600");
                    String v5_11 = ((String) new com.google.android.gms.internal.zzajq(v6_2).zzb(v5_8, v0_4).get(60, java.util.concurrent.TimeUnit.SECONDS));
                } catch (String v5_13) {
                    String v5_15 = String.valueOf(v5_13.getMessage());
                    if (v5_15.length() == 0) {
                        String v5_17 = new String("Could not fetch MRAID JS. ");
                    } else {
                        v5_17 = "Could not fetch MRAID JS. ".concat(v5_15);
                    }
                    com.google.android.gms.internal.zzahd.zzaT(v5_17);
                    return 0;
                }
                if (v5_11 != null) {
                    return new android.webkit.WebResourceResponse("application/javascript", "UTF-8", new java.io.ByteArrayInputStream(v5_11.getBytes("UTF-8")));
                } else {
                    return 0;
                }
            } else {
                return super.shouldInterceptRequest(p5, p6);
            }
        } else {
            com.google.android.gms.internal.zzahd.zzaT("Tried to intercept request from a WebView that wasn\'t an AdWebView.");
            return 0;
        }
    }

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


    private final java.io.File zze(String p3)
    {
        return new java.io.File(this.zzax, com.google.android.gms.internal.zzag.zzd(p3));
    }

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


    DiskLruCache$Entry(okhttp3.internal.cache.DiskLruCache p7, String p8)
    {
        this.this$0 = p7;
        this.key = p8;
        StringBuilder v0_4 = new long[p7.valueCount];
        this.lengths = v0_4;
        StringBuilder v0_6 = new java.io.File[p7.valueCount];
        this.cleanFiles = v0_6;
        StringBuilder v0_0 = new java.io.File[p7.valueCount];
        this.dirtyFiles = v0_0;
        StringBuilder v0_2 = new StringBuilder(p8);
        v0_2.append(46);
        int v8_2 = v0_2.length();
        int v1 = 0;
        while (v1 < p7.valueCount) {
            v0_2.append(v1);
            this.cleanFiles[v1] = new java.io.File(p7.directory, v0_2.toString());
            v0_2.append(".tmp");
            this.dirtyFiles[v1] = new java.io.File(p7.directory, v0_2.toString());
            v0_2.setLength(v8_2);
            v1++;
        }
        return;
    }

Method kotlin.io.FilesKt__FilePathComponentsKt.toComponents() calling method java.io.File.<init>()


    public static final kotlin.io.FilePathComponents toComponents(java.io.File p9)
    {
        java.util.List v9_3;
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p9, "$receiver");
        java.util.List v9_5 = p9.getPath();
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v9_5, "path");
        kotlin.io.FilePathComponents v0_9 = kotlin.io.FilesKt__FilePathComponentsKt.getRootLength$FilesKt__FilePathComponentsKt(v9_5);
        String v2 = v9_5.substring(0, v0_9);
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v2, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)");
        java.util.List v9_1 = v9_5.substring(v0_9);
        kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v9_1, "(this as java.lang.String).substring(startIndex)");
        java.io.File v3_2 = ((CharSequence) v9_1);
        if (v3_2.length() != 0) {
            v9_3 = 0;
        } else {
            v9_3 = 1;
        }
        java.util.List v9_10;
        if (v9_3 == null) {
            char[] v4 = new char[1];
            v4[0] = java.io.File.separatorChar;
            java.util.List v9_7 = ((Iterable) kotlin.text.StringsKt.split$default(v3_2, v4, 0, 0, 6, 0));
            kotlin.io.FilePathComponents v0_6 = ((java.util.Collection) new java.util.ArrayList(kotlin.collections.CollectionsKt.collectionSizeOrDefault(v9_7, 10)));
            java.util.List v9_8 = v9_7.iterator();
            while (v9_8.hasNext()) {
                v0_6.add(new java.io.File(((String) v9_8.next())));
            }
            v9_10 = ((java.util.List) v0_6);
        } else {
            v9_10 = kotlin.collections.CollectionsKt.emptyList();
        }
        return new kotlin.io.FilePathComponents(new java.io.File(v2), v9_10);
    }

Method kotlin.io.FilesKt__FilePathComponentsKt.getRoot() calling method java.io.File.<init>()


    public static final java.io.File getRoot(java.io.File p1)
    {
        kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull(p1, "$receiver");
        return new java.io.File(kotlin.io.FilesKt.getRootName(p1));
    }

Method kotlin.io.FilePathComponents.subPath() calling method java.io.File.<init>()


    public final java.io.File subPath(int p11, int p12)
    {
        if ((p11 < null) || ((p11 > p12) || (p12 > this.getSize()))) {
            throw ((Throwable) new IllegalArgumentException());
        } else {
            Iterable v1_2 = ((Iterable) this.segments.subList(p11, p12));
            String v11_2 = java.io.File.separator;
            kotlin.jvm.internal.Intrinsics.checkExpressionValueIsNotNull(v11_2, "File.separator");
            return new java.io.File(kotlin.collections.CollectionsKt.joinToString$default(v1_2, ((CharSequence) v11_2), 0, 0, 0, 0, 0, 62, 0));
        }
    }

Method com.squareup.picasso.Utils.createDefaultCacheDir() calling method java.io.File.<init>()


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

Method com.keabis.dtss.curia.utils.CommonUtils.deleteDir() calling method java.io.File.<init>()


    public static boolean deleteDir(java.io.File p5)
    {
        if ((!p5) || (!p5.isDirectory())) {
            if ((!p5) || (!p5.isFile())) {
                return 0;
            } else {
                return p5.delete();
            }
        } else {
            boolean v1_0 = p5.list();
            int v2 = 0;
            while (v2 < v1_0.length) {
                if (com.keabis.dtss.curia.utils.CommonUtils.deleteDir(new java.io.File(p5, v1_0[v2]))) {
                    v2++;
                } else {
                    return 0;
                }
            }
            return p5.delete();
        }
    }

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


    private zzr(android.content.Context p3, String p4)
    {
        String v3_1;
        this.zzqG = p3;
        this.zzbhs = p3.getSharedPreferences(p4, 0);
        String v3_13 = String.valueOf(p4);
        String v4_1 = String.valueOf("-no-backup");
        if (v4_1.length() == 0) {
            v3_1 = new String(v3_13);
        } else {
            v3_1 = v3_13.concat(v4_1);
        }
        String v0_3 = new java.io.File(com.google.android.gms.common.util.zzw.getNoBackupFilesDir(this.zzqG), v3_1);
        if (!v0_3.exists()) {
            try {
                if ((v0_3.createNewFile()) && (!this.isEmpty())) {
                    android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                    com.google.firebase.iid.FirebaseInstanceId.zza(this.zzqG, this);
                }
            } catch (String v3_7) {
                if (!android.util.Log.isLoggable("InstanceID/Store", 3)) {
                    return;
                } else {
                    String v3_10 = String.valueOf(v3_7.getMessage());
                    if (v3_10.length() == 0) {
                        String v3_12 = new String("Error creating file in no backup dir: ");
                    } else {
                        v3_12 = "Error creating file in no backup dir: ".concat(v3_10);
                    }
                    android.util.Log.d("InstanceID/Store", v3_12);
                    return;
                }
            }
            return;
        }
        return;
    }

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


    public final void run()
    {
        if (android.util.Log.isLoggable("WearableClient", 2)) {
            android.util.Log.v("WearableClient", "Executing sendFileToChannelTask");
        }
        if ("file".equals(this.zzbzV.getScheme())) {
            java.io.IOException v0_3 = new java.io.File(this.zzbzV.getPath());
            try {
                String v1_5 = android.os.ParcelFileDescriptor.open(v0_3, 268435456);
                try {
                    ((com.google.android.gms.wearable.internal.zzdn) this.zzbTt.zzrd()).zza(new com.google.android.gms.wearable.internal.zzfs(this.zzbTs), this.zzaks, v1_5, this.zzbSo, this.zzbSp);
                    try {
                        v1_5.close();
                        return;
                    } catch (java.io.IOException v0_17) {
                        android.util.Log.w("WearableClient", "Failed to close sourceFd", v0_17);
                        return;
                    }
                } catch (java.io.IOException v0_15) {
                    try {
                        v1_5.close();
                    } catch (String v1_11) {
                        android.util.Log.w("WearableClient", "Failed to close sourceFd", v1_11);
                    }
                    throw v0_15;
                } catch (java.io.IOException v0_12) {
                    android.util.Log.w("WearableClient", "Channel.sendFile failed.", v0_12);
                    this.zzbTs.zzr(new com.google.android.gms.common.api.Status(8));
                    try {
                        v1_5.close();
                        return;
                    } catch (java.io.IOException v0_14) {
                        android.util.Log.w("WearableClient", "Failed to close sourceFd", v0_14);
                        return;
                    }
                }
                v1_5.close();
                return;
            } catch (java.io.FileNotFoundException) {
                java.io.IOException v0_4 = String.valueOf(v0_3);
                String v3_1 = new StringBuilder((String.valueOf(v0_4).length() + 46));
                v3_1.append("File couldn\'t be opened for Channel.sendFile: ");
                v3_1.append(v0_4);
                android.util.Log.w("WearableClient", v3_1.toString());
                this.zzbTs.zzr(new com.google.android.gms.common.api.Status(13));
                return;
            }
        } else {
            android.util.Log.w("WearableClient", "Channel.sendFile used with non-file URI");
            this.zzbTs.zzr(new com.google.android.gms.common.api.Status(10, "Channel.sendFile used with non-file URI"));
            return;
        }
    }

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


    public final void run()
    {
        if (android.util.Log.isLoggable("WearableClient", 2)) {
            android.util.Log.v("WearableClient", "Executing receiveFileFromChannelTask");
        }
        if ("file".equals(this.zzbzV.getScheme())) {
            String v2_1;
            java.io.IOException v0_3 = new java.io.File(this.zzbzV.getPath());
            if (!this.zzbSn) {
                v2_1 = 0;
            } else {
                v2_1 = 33554432;
            }
            try {
                String v1_6 = android.os.ParcelFileDescriptor.open(v0_3, (671088640 | v2_1));
                try {
                    ((com.google.android.gms.wearable.internal.zzdn) this.zzbTt.zzrd()).zza(new com.google.android.gms.wearable.internal.zzfv(this.zzbTs), this.zzaks, v1_6);
                    try {
                        v1_6.close();
                        return;
                    } catch (java.io.IOException v0_17) {
                        android.util.Log.w("WearableClient", "Failed to close targetFd", v0_17);
                        return;
                    }
                } catch (java.io.IOException v0_15) {
                    try {
                        v1_6.close();
                    } catch (String v1_12) {
                        android.util.Log.w("WearableClient", "Failed to close targetFd", v1_12);
                    }
                    throw v0_15;
                } catch (java.io.IOException v0_12) {
                    android.util.Log.w("WearableClient", "Channel.receiveFile failed.", v0_12);
                    this.zzbTs.zzr(new com.google.android.gms.common.api.Status(8));
                    try {
                        v1_6.close();
                        return;
                    } catch (java.io.IOException v0_14) {
                        android.util.Log.w("WearableClient", "Failed to close targetFd", v0_14);
                        return;
                    }
                }
                v1_6.close();
                return;
            } catch (java.io.FileNotFoundException) {
                java.io.IOException v0_5 = String.valueOf(v0_3);
                String v3_1 = new StringBuilder((String.valueOf(v0_5).length() + 49));
                v3_1.append("File couldn\'t be opened for Channel.receiveFile: ");
                v3_1.append(v0_5);
                android.util.Log.w("WearableClient", v3_1.toString());
                this.zzbTs.zzr(new com.google.android.gms.common.api.Status(13));
                return;
            }
        } else {
            android.util.Log.w("WearableClient", "Channel.receiveFile used with non-file URI");
            this.zzbTs.zzr(new com.google.android.gms.common.api.Status(10, "Channel.receiveFile used with non-file URI"));
            return;
        }
    }

Method com.google.android.gms.tagmanager.zzbs.zzfm() calling method java.io.File.<init>()


    static boolean zzfm(String p3)
    {
        if (com.google.android.gms.tagmanager.zzbs.version() >= 9) {
            java.io.File v0_2 = new java.io.File(p3);
            v0_2.setReadable(0, 0);
            v0_2.setWritable(0, 0);
            v0_2.setReadable(1, 1);
            v0_2.setWritable(1, 1);
            return 1;
        } else {
            return 0;
        }
    }

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


    public zzmr(android.content.Context p2, String p3, String p4, java.util.Map p5)
    {
        this.zzGQ = new java.util.LinkedHashMap();
        this.zzGR = new java.util.HashMap();
        this.mContext = p2;
        this.zzwK = p3;
        this.zzGM = p4;
        this.zzGS = new java.util.concurrent.atomic.AtomicBoolean(0);
        this.zzGS.set(((Boolean) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzCV)).booleanValue());
        if (this.zzGS.get()) {
            java.util.Map v2_6 = android.os.Environment.getExternalStorageDirectory();
            if (v2_6 != null) {
                this.zzGT = new java.io.File(v2_6, "sdk_csi_data.txt");
            }
        }
        java.util.Map v2_8 = p5.entrySet().iterator();
        while (v2_8.hasNext()) {
            String v3_16 = ((java.util.Map$Entry) v2_8.next());
            this.zzGQ.put(((String) v3_16.getKey()), ((String) v3_16.getValue()));
        }
        this.zzGO = new java.util.concurrent.ArrayBlockingQueue(30);
        this.zzGP = java.util.concurrent.Executors.newSingleThreadExecutor();
        this.zzGP.execute(new com.google.android.gms.internal.zzms(this));
        this.zzGR.put("action", com.google.android.gms.internal.zzmv.zzGW);
        this.zzGR.put("ad_format", com.google.android.gms.internal.zzmv.zzGW);
        this.zzGR.put("e", com.google.android.gms.internal.zzmv.zzGX);
        return;
    }

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


    private static void zzm(String p1)
    {
        com.google.android.gms.internal.zzdb.zza(new java.io.File(p1));
        return;
    }

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

Couldn't retrieve source code

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

Couldn't retrieve source code

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


    public static com.google.android.gms.internal.zzdb zza(android.content.Context p8, String p9, String p10, boolean p11)
    {
        void v0_1 = new com.google.android.gms.internal.zzdb(p8);
        try {
            v0_1.zzqI = java.util.concurrent.Executors.newCachedThreadPool();
            v0_1.zzqn = p11;
        } catch (com.google.android.gms.internal.zzcy) {
            return v0_1;
        }
        if (p11 != 0) {
            v0_1.zzqN = v0_1.zzqI.submit(new com.google.android.gms.internal.zzdc(v0_1));
        }
        v0_1.zzqI.execute(new com.google.android.gms.internal.zzde(v0_1));
        com.google.android.gms.common.api.GoogleApiClient v1_3;
        com.google.android.gms.internal.zzdb.zzqV = com.google.android.gms.common.zze.zzoU();
        if (com.google.android.gms.common.zze.zzau(v0_1.zzqG) <= 0) {
            v1_3 = 0;
        } else {
            v1_3 = 1;
        }
        com.google.android.gms.common.api.GoogleApiClient v1_6;
        v0_1.zzqS = v1_3;
        if (com.google.android.gms.internal.zzdb.zzqV.isGooglePlayServicesAvailable(v0_1.zzqG) != 0) {
            v1_6 = 0;
        } else {
            v1_6 = 1;
        }
        v0_1.zzqU = v1_6;
        if (v0_1.zzqG.getApplicationContext() == null) {
            v0_1.zza(0, 1);
            if (com.google.android.gms.internal.zzdg.zzR()) {
                if (((Boolean) com.google.android.gms.ads.internal.zzbs.zzbK().zzd(com.google.android.gms.internal.zzmo.zzFd)).booleanValue()) {
                    throw new IllegalStateException("Task Context initialization must not be called from the UI thread.");
                } else {
                }
            }
            v0_1.zzqK = new com.google.android.gms.internal.zzcw(0);
            v0_1.zzqL = v0_1.zzqK.zzl(p9);
            try {
                com.google.android.gms.internal.zzcn v9_17 = v0_1.zzqG.getCacheDir();
            } catch (String v8_4) {
                throw new com.google.android.gms.internal.zzcy(v8_4);
            }
            if (v9_17 == null) {
                v9_17 = v0_1.zzqG.getDir("dex", 0);
                if (v9_17 == null) {
                    throw new com.google.android.gms.internal.zzcy();
                } else {
                }
            }
            String v6_3 = new Object[2];
            v6_3[0] = v9_17;
            v6_3[1] = "1489418796403";
            Object[] v3_0 = new java.io.File(String.format("%s/%s.jar", v6_3));
            if (!v3_0.exists()) {
                String v10_1 = v0_1.zzqK.zza(v0_1.zzqL, p10);
                v3_0.createNewFile();
                String v4_3 = new java.io.FileOutputStream(v3_0);
                v4_3.write(v10_1, 0, v10_1.length);
                v4_3.close();
            }
            v0_1.zzb(v9_17, "1489418796403");
            try {
                v0_1.zzqJ = new dalvik.system.DexClassLoader(v3_0.getAbsolutePath(), v9_17.getAbsolutePath(), 0, v0_1.zzqG.getClassLoader());
            } catch (String v10_4) {
                com.google.android.gms.internal.zzdb.zza(v3_0);
                v0_1 = v0_1.zza(v9_17, "1489418796403");
                Object[] v3_1 = new Object[2];
                v3_1[0] = v9_17;
                v3_1[1] = "1489418796403";
                com.google.android.gms.internal.zzdb.zzm(String.format("%s/%s.dex", v3_1));
                throw v10_4;
            }
            com.google.android.gms.internal.zzdb.zza(v3_0);
            v0_1 = v0_1.zza(v9_17, "1489418796403");
            String v2_1 = new Object[2];
            v2_1[0] = v9_17;
            v2_1[1] = "1489418796403";
            com.google.android.gms.internal.zzdb.zzm(String.format("%s/%s.dex", v2_1));
            v0_1.zzqQ = new com.google.android.gms.internal.zzcn(v0_1);
            v0_1.zzqY = 1;
            return v0_1;
        } else {
            v0_1.zzqR = new com.google.android.gms.common.api.GoogleApiClient$Builder(v0_1.zzqG).addApi(com.google.android.gms.internal.zzbaz.API).build();
        }
    }

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


    public final void onCreate(android.database.sqlite.SQLiteDatabase p3)
    {
        int v3_1 = p3.getPath();
        if (com.google.android.gms.internal.zzcwh.version() >= 9) {
            java.io.File v0_2 = new java.io.File(v3_1);
            v0_2.setReadable(0, 0);
            v0_2.setWritable(0, 0);
            v0_2.setReadable(1, 1);
            v0_2.setWritable(1, 1);
        }
        return;
    }

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


    static com.google.android.gms.nearby.connection.Payload zza(com.google.android.gms.internal.zzcqa p7)
    {
        String v0_0 = p7.getId();
        switch (p7.getType()) {
            case 1:
                return com.google.android.gms.nearby.connection.Payload.zza(p7.getBytes(), v0_0);
            case 2:
                String v2_0 = p7.zzzM();
                if (v2_0 != null) {
                    try {
                        return com.google.android.gms.nearby.connection.Payload.zza(com.google.android.gms.nearby.connection.Payload$File.zza(new java.io.File(v2_0), p7.zzzN()), v0_0);
                    } catch (java.io.FileNotFoundException v3_4) {
                        String v2_1 = String.valueOf(v2_0);
                        if (v2_1.length() == 0) {
                            String v2_4 = new String("Failed to create Payload from ParcelablePayload: Java file not found at ");
                        } else {
                            v2_4 = "Failed to create Payload from ParcelablePayload: Java file not found at ".concat(v2_1);
                        }
                        android.util.Log.w("NearbyConnections", v2_4, v3_4);
                    }
                }
                return com.google.android.gms.nearby.connection.Payload.zza(com.google.android.gms.nearby.connection.Payload$File.zzb(p7.zzzL()), v0_0);
            case 3:
                return com.google.android.gms.nearby.connection.Payload.zza(com.google.android.gms.nearby.connection.Payload$Stream.zzc(p7.zzzL()), v0_0);
            default:
                String v2_6 = new Object[2];
                v2_6[0] = Long.valueOf(p7.getId());
                v2_6[1] = Integer.valueOf(p7.getType());
                android.util.Log.w("NearbyConnections", String.format("Incoming ParcelablePayload %d has unknown type %d", v2_6));
                return 0;
        }
    }

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


    private final boolean zzyV()
    {
        this.zzwD().zzjB();
        try {
            this.zzbsR = new java.io.RandomAccessFile(new java.io.File(this.mContext.getFilesDir(), com.google.android.gms.internal.zzcfy.zzxB()), "rw").getChannel();
            this.zzbsQ = this.zzbsR.tryLock();
        } catch (int v0_12) {
            String v1_4 = this.zzwE().zzyv();
            String v2_0 = "Failed to acquire storage lock";
            v1_4.zzj(v2_0, v0_12);
            return 0;
        } catch (int v0_12) {
            v1_4 = this.zzwE().zzyv();
            v2_0 = "Failed to access storage lock file";
        }
        if (this.zzbsQ == null) {
            this.zzwE().zzyv().log("Storage concurrent data access panic");
            return 0;
        } else {
            this.zzwE().zzyB().log("Storage concurrent access okay");
            return 1;
        }
    }

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 p4, com.google.android.gms.internal.zzan p5)
    {
        java.io.File v5_1 = new java.io.File(p4.getCacheDir(), "volley");
        try {
            com.google.android.gms.internal.zzag v1_5 = p4.getPackageName();
            com.google.android.gms.internal.zzs v4_2 = p4.getPackageManager().getPackageInfo(v1_5, 0).versionCode;
            StringBuilder v3_1 = new StringBuilder((String.valueOf(v1_5).length() + 12));
            v3_1.append(v1_5);
            v3_1.append("/");
            v3_1.append(v4_2);
            com.google.android.gms.internal.zzs v4_3 = v3_1.toString();
        } catch (android.content.pm.PackageManager$NameNotFoundException) {
            v4_3 = "volley/0";
        }
        com.google.android.gms.internal.zzs v4_5;
        if (android.os.Build$VERSION.SDK_INT < 9) {
            v4_5 = new com.google.android.gms.internal.zzak(android.net.http.AndroidHttpClient.newInstance(v4_3));
        } else {
            v4_5 = new com.google.android.gms.internal.zzao();
        }
        com.google.android.gms.internal.zzs v4_8 = new com.google.android.gms.internal.zzs(new com.google.android.gms.internal.zzag(v5_1), new com.google.android.gms.internal.zzad(v4_5));
        v4_8.start();
        return v4_8;
    }

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


    public final void onCreate(android.database.sqlite.SQLiteDatabase p3)
    {
        int v3_1 = p3.getPath();
        if (com.google.android.gms.internal.zzapd.version() >= 9) {
            java.io.File v0_2 = new java.io.File(v3_1);
            v0_2.setReadable(0, 0);
            v0_2.setWritable(0, 0);
            v0_2.setReadable(1, 1);
            v0_2.setWritable(1, 1);
        }
        return;
    }

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


    private final java.io.File zzfU(String p4)
    {
        return new java.io.File(this.mContext.getDir("google_tagmanager", 0), com.google.android.gms.internal.ea.zzfV(p4));
    }

Method com.facebook.imagepipeline.producers.LocalExifThumbnailProducer.canReadAsFile() calling method java.io.File.<init>()


    boolean canReadAsFile(String p3)
    {
        int v0 = 0;
        if (p3) {
            java.io.File v1_1 = new java.io.File(p3);
            if ((v1_1.exists()) && (v1_1.canRead())) {
                v0 = 1;
            }
            return v0;
        } else {
            return 0;
        }
    }

Method com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer.getThumbnail() calling method java.io.File.<init>()


    private com.facebook.imagepipeline.image.EncodedImage getThumbnail(com.facebook.imagepipeline.common.ResizeOptions p5, int p6)
    {
        int v5_1 = com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer.getThumbnailKind(p5);
        if (v5_1 != 0) {
            try {
                int v5_2 = android.provider.MediaStore$Images$Thumbnails.queryMiniThumbnail(this.mContentResolver, ((long) p6), v5_1, com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer.THUMBNAIL_PROJECTION);
            } catch (com.facebook.imagepipeline.image.EncodedImage v6_1) {
                v5_2 = 0;
                if (v5_2 != 0) {
                    v5_2.close();
                }
                throw v6_1;
            }
            if (v5_2 != 0) {
                try {
                    v5_2.moveToFirst();
                } catch (com.facebook.imagepipeline.image.EncodedImage v6_1) {
                }
                if (v5_2.getCount() > 0) {
                    com.facebook.imagepipeline.image.EncodedImage v6_5 = v5_2.getString(v5_2.getColumnIndex("_data"));
                    if (new java.io.File(v6_5).exists()) {
                        com.facebook.imagepipeline.image.EncodedImage v6_7 = this.getEncodedImage(new java.io.FileInputStream(v6_5), com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer.getLength(v6_5));
                        if (v5_2 != 0) {
                            v5_2.close();
                        }
                        return v6_7;
                    }
                }
                if (v5_2 != 0) {
                    v5_2.close();
                }
                return 0;
            } else {
                if (v5_2 != 0) {
                    v5_2.close();
                }
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer.getLength() calling method java.io.File.<init>()


    private static int getLength(String p2)
    {
        int v2_1;
        if (p2 != 0) {
            v2_1 = ((int) new java.io.File(p2).length());
        } else {
            v2_1 = -1;
        }
        return v2_1;
    }

Method com.facebook.imagepipeline.producers.LocalContentUriFetchProducer.getLength() calling method java.io.File.<init>()


    private static int getLength(String p2)
    {
        int v2_1;
        if (p2 != 0) {
            v2_1 = ((int) new java.io.File(p2).length());
        } else {
            v2_1 = -1;
        }
        return v2_1;
    }

Method com.facebook.cache.disk.DiskStorageCache.maybeDeleteSharedPreferencesFile() calling method java.io.File.<init>()


    private static void maybeDeleteSharedPreferencesFile(android.content.Context p1, String p2)
    {
        Class v1_1 = p1.getApplicationContext();
        StringBuilder v0_3 = new StringBuilder();
        v0_3.append(v1_1.getFilesDir().getParent());
        v0_3.append(java.io.File.separator);
        v0_3.append("shared_prefs");
        v0_3.append(java.io.File.separator);
        v0_3.append("disk_entries_list");
        v0_3.append(p2);
        Class v1_5 = v0_3.toString();
        StringBuilder v0_2 = new StringBuilder();
        v0_2.append(v1_5);
        v0_2.append(".xml");
        String v2_2 = new java.io.File(v0_2.toString());
        try {
            if (v2_2.exists()) {
                v2_2.delete();
            }
        } catch (Exception) {
            com.facebook.common.logging.FLog.e(com.facebook.cache.disk.DiskStorageCache.TAG, "Fail to delete SharedPreference from file system. ");
        }
        return;
    }

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


    public boolean saveToGallery(String p7, String p8, String p9, android.graphics.Bitmap$CompressFormat p10, int p11)
    {
        if ((p11 < 0) || (p11 > 100)) {
            p11 = 50;
        }
        Long v0_2 = System.currentTimeMillis();
        int v2_3 = android.os.Environment.getExternalStorageDirectory();
        android.content.ContentValues v4_0 = new StringBuilder();
        v4_0.append(v2_3.getAbsolutePath());
        v4_0.append("/DCIM/");
        v4_0.append(p8);
        String v3_0 = new java.io.File(v4_0.toString());
        int v2_1 = 0;
        if ((v3_0.exists()) || (v3_0.mkdirs())) {
            android.net.Uri v8_9;
            switch (com.github.mikephil.charting.charts.Chart$2.$SwitchMap$android$graphics$Bitmap$CompressFormat[p10.ordinal()]) {
                case 1:
                    v8_9 = "image/png";
                    if (p7.endsWith(".png")) {
                    } else {
                        android.content.ContentValues v4_9 = new StringBuilder();
                        v4_9.append(p7);
                        v4_9.append(".png");
                        p7 = v4_9.toString();
                    }
                    break;
                case 2:
                    v8_9 = "image/webp";
                    if (p7.endsWith(".webp")) {
                    } else {
                        android.content.ContentValues v4_5 = new StringBuilder();
                        v4_5.append(p7);
                        v4_5.append(".webp");
                        p7 = v4_5.toString();
                    }
                    break;
                default:
                    v8_9 = "image/jpeg";
                    if ((p7.endsWith(".jpg")) || (p7.endsWith(".jpeg"))) {
                    } else {
                        android.content.ContentValues v4_15 = new StringBuilder();
                        v4_15.append(p7);
                        v4_15.append(".jpg");
                        p7 = v4_15.toString();
                    }
            }
            android.content.ContentValues v4_17 = new StringBuilder();
            v4_17.append(v3_0.getAbsolutePath());
            v4_17.append("/");
            v4_17.append(p7);
            String v3_4 = v4_17.toString();
            try {
                android.content.ContentValues v4_19 = new java.io.FileOutputStream(v3_4);
                this.getChartBitmap().compress(p10, p11, v4_19);
                v4_19.flush();
                v4_19.close();
                long v10_3 = new java.io.File(v3_4).length();
                android.content.ContentValues v4_22 = new android.content.ContentValues(8);
                v4_22.put("title", p7);
                v4_22.put("_display_name", p7);
                v4_22.put("date_added", Long.valueOf(v0_2));
                v4_22.put("mime_type", v8_9);
                v4_22.put("description", p9);
                v4_22.put("orientation", Integer.valueOf(0));
                v4_22.put("_data", v3_4);
                v4_22.put("_size", Long.valueOf(v10_3));
            } catch (java.io.IOException v7_10) {
                v7_10.printStackTrace();
                return 0;
            }
            if (this.getContext().getContentResolver().insert(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, v4_22) != null) {
                v2_1 = 1;
            }
            return v2_1;
        } else {
            return 0;
        }
    }

Method com.facebook.imagepipeline.producers.LocalFetchProducer.getEncodedImage() calling method java.io.File.<init>()


    protected com.facebook.imagepipeline.image.EncodedImage getEncodedImage(java.io.InputStream p8, int p9)
    {
        java.io.File v0_0 = Runtime.getRuntime();
        long v1 = v0_0.maxMemory();
        long vtmp5 = Math.min((v1 - (v0_0.totalMemory() - v0_0.freeMemory())), 8388608);
        if ((!this.mDecodeFileDescriptorEnabledForKitKat) || ((!(p8 instanceof java.io.FileInputStream)) || (v1 < (vtmp5 * 64)))) {
            return this.getByteBufferBackedEncodedImage(p8, p9);
        } else {
            return this.getInputStreamBackedEncodedImage(new java.io.File(p8.toString()), p9);
        }
    }

Method com.facebook.cache.disk.DynamicDefaultDiskStorage.createStorage() calling method java.io.File.<init>()


    private void createStorage()
    {
        java.io.File v0_1 = new java.io.File(((java.io.File) this.mBaseDirectoryPathSupplier.get()), this.mBaseDirectoryName);
        this.createRootDirectoryIfNecessary(v0_1);
        this.mCurrentState = new com.facebook.cache.disk.DynamicDefaultDiskStorage$State(v0_1, new com.facebook.cache.disk.DefaultDiskStorage(v0_1, this.mVersion, this.mCacheErrorLogger));
        return;
    }

Method com.facebook.cache.disk.DefaultDiskStorage.getContentFileFor() calling method java.io.File.<init>()


    java.io.File getContentFileFor(String p2)
    {
        return new java.io.File(this.getFilename(p2));
    }

Method com.facebook.cache.disk.DefaultDiskStorage.getSubdirectory() calling method java.io.File.<init>()


    private java.io.File getSubdirectory(String p2)
    {
        return new java.io.File(this.getSubdirectoryPath(p2));
    }

Method com.facebook.cache.disk.DefaultDiskStorage.<init>() calling method java.io.File.<init>()


    public DefaultDiskStorage(java.io.File p2, int p3, com.facebook.cache.common.CacheErrorLogger p4)
    {
        com.facebook.common.internal.Preconditions.checkNotNull(p2);
        this.mRootDirectory = p2;
        this.mIsExternal = com.facebook.cache.disk.DefaultDiskStorage.isExternal(p2, p4);
        this.mVersionDirectory = new java.io.File(this.mRootDirectory, com.facebook.cache.disk.DefaultDiskStorage.getVersionSubdirectoryName(p3));
        this.mCacheErrorLogger = p4;
        this.recreateDirectoryIfVersionChanges();
        this.mClock = com.facebook.common.time.SystemClock.get();
        return;
    }

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


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

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


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

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


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

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


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

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


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

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


    private zzh(android.content.Context p3, String p4)
    {
        String v3_1;
        this.zzqG = p3;
        this.zzbhs = p3.getSharedPreferences(p4, 0);
        String v3_13 = String.valueOf(p4);
        String v4_1 = String.valueOf("-no-backup");
        if (v4_1.length() == 0) {
            v3_1 = new String(v3_13);
        } else {
            v3_1 = v3_13.concat(v4_1);
        }
        String v0_3 = new java.io.File(com.google.android.gms.common.util.zzw.getNoBackupFilesDir(this.zzqG), v3_1);
        if (!v0_3.exists()) {
            try {
                if ((v0_3.createNewFile()) && (!this.isEmpty())) {
                    android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                    com.google.android.gms.iid.InstanceIDListenerService.zza(this.zzqG, this);
                }
            } catch (String v3_7) {
                if (!android.util.Log.isLoggable("InstanceID/Store", 3)) {
                    return;
                } else {
                    String v3_10 = String.valueOf(v3_7.getMessage());
                    if (v3_10.length() == 0) {
                        String v3_12 = new String("Error creating file in no backup dir: ");
                    } else {
                        v3_12 = "Error creating file in no backup dir: ".concat(v3_10);
                    }
                    android.util.Log.d("InstanceID/Store", v3_12);
                    return;
                }
            }
            return;
        }
        return;
    }

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


    public static java.io.File getNoBackupFilesDir(android.content.Context p2)
    {
        if (!com.google.android.gms.common.util.zzs.zzsd()) {
            return com.google.android.gms.common.util.zzw.zzd(new java.io.File(p2.getApplicationInfo().dataDir, "no_backup"));
        } else {
            return p2.getNoBackupFilesDir();
        }
    }

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


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

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


    public static java.util.List loadEntriesFromFile(String p6)
    {
        float v1_4 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), p6);
        java.util.ArrayList v6_2 = new java.util.ArrayList();
        try {
            String v0_4 = new java.io.BufferedReader(new java.io.FileReader(v1_4));
        } catch (String v0_1) {
            android.util.Log.e("MPChart-FileUtils", v0_1.toString());
            return v6_2;
        }
        while(true) {
            float v1_0 = v0_4.readLine();
            if (v1_0 == 0) {
                return v6_2;
            } else {
                float v1_1 = v1_0.split("#");
                int v4_0 = 0;
                if (v1_1.length > 2) {
                    float[] v2_4 = new float[(v1_1.length - 1)];
                    while (v4_0 < v2_4.length) {
                    }
                    v6_2.add(new com.github.mikephil.charting.data.BarEntry(((float) Integer.parseInt(v1_1[(v1_1.length - 1)])), v2_4));
                } else {
                    v6_2.add(new com.github.mikephil.charting.data.Entry(Float.parseFloat(v1_1[0]), ((float) Integer.parseInt(v1_1[1]))));
                }
            }
        }
        v2_4[v4_0] = Float.parseFloat(v1_1[v4_0]);
        v4_0++;
    }

Method com.facebook.imagepipeline.request.ImageRequest.getSourceFile() calling method java.io.File.<init>()


    public declared_synchronized java.io.File getSourceFile()
    {
        try {
            if (this.mSourceFile == null) {
                this.mSourceFile = new java.io.File(this.mSourceUri.getPath());
            }
        } catch (java.io.File v0_4) {
            throw v0_4;
        }
        return this.mSourceFile;
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


    MultiDexExtractor(java.io.File p4, java.io.File p5)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("MultiDexExtractor(");
        v1_2.append(p4.getPath());
        v1_2.append(", ");
        v1_2.append(p5.getPath());
        v1_2.append(")");
        android.util.Log.i("MultiDex", v1_2.toString());
        this.sourceApk = p4;
        this.dexDir = p5;
        this.sourceCrc = android.support.multidex.MultiDexExtractor.getZipCrc(p4);
        String v4_2 = new java.io.File(p5, "MultiDex.lock");
        this.lockRaf = new java.io.RandomAccessFile(v4_2, "rw");
        try {
            this.lockChannel = this.lockRaf.getChannel();
        } catch (String v4_7) {
            android.support.multidex.MultiDexExtractor.closeQuietly(this.lockRaf);
            throw v4_7;
        }
        StringBuilder v0_5 = new StringBuilder();
        v0_5.append("Blocking on lock ");
        v0_5.append(v4_2.getPath());
        android.util.Log.i("MultiDex", v0_5.toString());
        this.cacheLock = this.lockChannel.lock();
        StringBuilder v0_8 = new StringBuilder();
        v0_8.append(v4_2.getPath());
        v0_8.append(" locked");
        android.util.Log.i("MultiDex", v0_8.toString());
        return;
    }

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


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

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


    public static void installInstrumentation(android.content.Context p14, android.content.Context p15)
    {
        android.util.Log.i("MultiDex", "Installing instrumentation");
        if (!android.support.multidex.MultiDex.IS_VM_MULTIDEX_CAPABLE) {
            if (android.os.Build$VERSION.SDK_INT < 4) {
                String v15_1 = new StringBuilder();
                v15_1.append("MultiDex installation failed. SDK ");
                v15_1.append(android.os.Build$VERSION.SDK_INT);
                v15_1.append(" is unsupported. Min SDK version is ");
                v15_1.append(4);
                v15_1.append(".");
                throw new RuntimeException(v15_1.toString());
            } else {
                try {
                    String v0_5 = android.support.multidex.MultiDex.getApplicationInfo(p14);
                } catch (String v14_12) {
                    android.util.Log.e("MultiDex", "MultiDex installation failure", v14_12);
                    String v0_11 = new StringBuilder();
                    v0_11.append("MultiDex installation failed (");
                    v0_11.append(v14_12.getMessage());
                    v0_11.append(").");
                    throw new RuntimeException(v0_11.toString());
                }
                if (v0_5 != null) {
                    android.content.pm.ApplicationInfo v1_1 = android.support.multidex.MultiDex.getApplicationInfo(p15);
                    if (v1_1 != null) {
                        StringBuilder v2_1 = new StringBuilder();
                        v2_1.append(p14.getPackageName());
                        v2_1.append(".");
                        String v7 = v2_1.toString();
                        java.io.File v10_1 = new java.io.File(v1_1.dataDir);
                        java.io.File v4_1 = new java.io.File(v0_5.sourceDir);
                        String v14_7 = new StringBuilder();
                        v14_7.append(v7);
                        v14_7.append("secondary-dexes");
                        android.support.multidex.MultiDex.doInstallation(p15, v4_1, v10_1, v14_7.toString(), v7, 0);
                        android.support.multidex.MultiDex.doInstallation(p15, new java.io.File(v1_1.sourceDir), v10_1, "secondary-dexes", "", 0);
                        android.util.Log.i("MultiDex", "Installation done");
                        return;
                    } else {
                        android.util.Log.i("MultiDex", "No ApplicationInfo available, i.e. running on a test Context: MultiDex support library is disabled.");
                        return;
                    }
                } else {
                    android.util.Log.i("MultiDex", "No ApplicationInfo available for instrumentation, i.e. running on a test Context: MultiDex support library is disabled.");
                    return;
                }
            }
        } else {
            android.util.Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
            return;
        }
    }

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", "Installing application");
        if (!android.support.multidex.MultiDex.IS_VM_MULTIDEX_CAPABLE) {
            if (android.os.Build$VERSION.SDK_INT < 4) {
                String v0_1 = new StringBuilder();
                v0_1.append("MultiDex installation failed. SDK ");
                v0_1.append(android.os.Build$VERSION.SDK_INT);
                v0_1.append(" is unsupported. Min SDK version is ");
                v0_1.append(4);
                v0_1.append(".");
                throw new RuntimeException(v0_1.toString());
            } else {
                try {
                    String v0_3 = android.support.multidex.MultiDex.getApplicationInfo(p6);
                } catch (String v6_4) {
                    android.util.Log.e("MultiDex", "MultiDex installation failure", v6_4);
                    java.io.File v1_6 = new StringBuilder();
                    v1_6.append("MultiDex installation failed (");
                    v1_6.append(v6_4.getMessage());
                    v1_6.append(").");
                    throw new RuntimeException(v1_6.toString());
                }
                if (v0_3 != null) {
                    android.support.multidex.MultiDex.doInstallation(p6, new java.io.File(v0_3.sourceDir), new java.io.File(v0_3.dataDir), "secondary-dexes", "", 1);
                    android.util.Log.i("MultiDex", "install done");
                    return;
                } else {
                    android.util.Log.i("MultiDex", "No ApplicationInfo available, i.e. running on a test Context: MultiDex support library is disabled.");
                    return;
                }
            }
        } else {
            android.util.Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
            return;
        }
    }

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


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

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


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

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


    private static String optimizedPathFor(java.io.File p4)
    {
        java.io.File v0 = p4.getParentFile();
        String v4_5 = p4.getName();
        java.io.File v1_3 = new StringBuilder();
        v1_3.append(v4_5.substring(0, (v4_5.length() - android.support.multidex.MultiDex$V14.EXTRACTED_SUFFIX_LENGTH)));
        v1_3.append(".dex");
        return new java.io.File(v0, v1_3.toString()).getPath();
    }

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


    public static okhttp3.internal.cache2.Relay read(java.io.File p10)
    {
        java.io.RandomAccessFile v1_1 = new java.io.RandomAccessFile(p10, "rw");
        java.io.IOException v10_5 = new okhttp3.internal.cache2.FileOperator(v1_1.getChannel());
        String v0_7 = new okio.Buffer();
        v10_5.read(0, v0_7, 32);
        if (!v0_7.readByteString(((long) okhttp3.internal.cache2.Relay.PREFIX_CLEAN.size())).equals(okhttp3.internal.cache2.Relay.PREFIX_CLEAN)) {
            throw new java.io.IOException("unreadable cache file");
        } else {
            long v8 = v0_7.readLong();
            long v6_1 = v0_7.readLong();
            String v0_3 = new okio.Buffer();
            v10_5.read((v8 + 32), v0_3, v6_1);
            java.io.IOException v10_4 = new okhttp3.internal.cache2.Relay;
            v10_4(v1_1, 0, v8, v0_3.readByteString(), 0);
            return v10_4;
        }
    }

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


    public static okhttp3.internal.cache2.Relay edit(java.io.File p9, okio.Source p10, okio.ByteString p11, long p12)
    {
        java.io.RandomAccessFile v8_1 = new java.io.RandomAccessFile(p9, "rw");
        okhttp3.internal.cache2.Relay v9_1 = new okhttp3.internal.cache2.Relay;
        v9_1(v8_1, p10, 0, p11, p12);
        v8_1.setLength(0);
        v9_1.writeHeader(okhttp3.internal.cache2.Relay.PREFIX_DIRTY, -1, -1);
        return v9_1;
    }

Method com.google.android.gms.internal.zzchx.zzyV() calling method java.io.RandomAccessFile.<init>()


    private final boolean zzyV()
    {
        this.zzwD().zzjB();
        try {
            this.zzbsR = new java.io.RandomAccessFile(new java.io.File(this.mContext.getFilesDir(), com.google.android.gms.internal.zzcfy.zzxB()), "rw").getChannel();
            this.zzbsQ = this.zzbsR.tryLock();
        } catch (int v0_12) {
            String v1_4 = this.zzwE().zzyv();
            String v2_0 = "Failed to acquire storage lock";
            v1_4.zzj(v2_0, v0_12);
            return 0;
        } catch (int v0_12) {
            v1_4 = this.zzwE().zzyv();
            v2_0 = "Failed to access storage lock file";
        }
        if (this.zzbsQ == null) {
            this.zzwE().zzyv().log("Storage concurrent data access panic");
            return 0;
        } else {
            this.zzwE().zzyB().log("Storage concurrent access okay");
            return 1;
        }
    }

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


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

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


    MultiDexExtractor(java.io.File p4, java.io.File p5)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("MultiDexExtractor(");
        v1_2.append(p4.getPath());
        v1_2.append(", ");
        v1_2.append(p5.getPath());
        v1_2.append(")");
        android.util.Log.i("MultiDex", v1_2.toString());
        this.sourceApk = p4;
        this.dexDir = p5;
        this.sourceCrc = android.support.multidex.MultiDexExtractor.getZipCrc(p4);
        String v4_2 = new java.io.File(p5, "MultiDex.lock");
        this.lockRaf = new java.io.RandomAccessFile(v4_2, "rw");
        try {
            this.lockChannel = this.lockRaf.getChannel();
        } catch (String v4_7) {
            android.support.multidex.MultiDexExtractor.closeQuietly(this.lockRaf);
            throw v4_7;
        }
        StringBuilder v0_5 = new StringBuilder();
        v0_5.append("Blocking on lock ");
        v0_5.append(v4_2.getPath());
        android.util.Log.i("MultiDex", v0_5.toString());
        this.cacheLock = this.lockChannel.lock();
        StringBuilder v0_8 = new StringBuilder();
        v0_8.append(v4_2.getPath());
        v0_8.append(" locked");
        android.util.Log.i("MultiDex", v0_8.toString());
        return;
    }

Method com.google.android.gms.internal.zzaon.zzv() calling method android.content.Context.openFileOutput()


    private final boolean zzv(android.content.Context p4, String p5)
    {
        com.google.android.gms.common.internal.zzbr.zzcF(p5);
        com.google.android.gms.common.internal.zzbr.zzcG("ClientId should be saved from worker thread");
        String v1 = 0;
        try {
            this.zza("Storing clientId", p5);
            java.io.IOException v4_8 = p4.openFileOutput("gaClientId", 0);
            try {
                v4_8.write(p5.getBytes());
            } catch (String v5_5) {
                v1 = v4_8;
                if (v1 != null) {
                    try {
                        v1.close();
                    } catch (java.io.IOException v4_5) {
                        this.zze("Failed to close clientId writing stream", v4_5);
                    }
                }
                throw v5_5;
            } catch (String v5_2) {
                v1 = v4_8;
                this.zze("Error creating clientId file", v5_2);
                if (v1 != null) {
                    try {
                        v1.close();
                    } catch (java.io.IOException v4_4) {
                        this.zze("Failed to close clientId writing stream", v4_4);
                    }
                }
                return 0;
            } catch (String v5_1) {
                v1 = v4_8;
                this.zze("Error writing to clientId file", v5_1);
                if (v1 != null) {
                    try {
                        v1.close();
                    } catch (java.io.IOException v4_2) {
                        this.zze("Failed to close clientId writing stream", v4_2);
                    }
                }
                return 0;
            }
            if (v4_8 != null) {
                try {
                    v4_8.close();
                } catch (java.io.IOException v4_6) {
                    this.zze("Failed to close clientId writing stream", v4_6);
                }
            }
            return 1;
        } catch (String v5_5) {
        } catch (String v5_2) {
        } catch (String v5_1) {
        }
    }

Method com.google.android.gms.internal.zzanj.zzbn() calling method android.content.Context.openFileOutput()


    private final boolean zzbn(String p4)
    {
        try {
            java.io.IOException v4_3 = com.google.android.gms.internal.zzanj.zzbm(p4);
            this.zzbo("Storing hashed adid.");
            String v1_3 = this.getContext().openFileOutput("gaClientIdData", 0);
            v1_3.write(v4_3.getBytes());
            v1_3.close();
            this.zzafA = v4_3;
            return 1;
        } catch (java.io.IOException v4_2) {
            this.zze("Error creating hash file", v4_2);
            return 0;
        }
    }

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


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

Method com.google.android.gms.internal.afw.run() calling method android.content.Context.openFileOutput()


    public final void run()
    {
        java.io.IOException v0_1 = new com.google.android.gms.internal.agf();
        if (this.zzcqn != null) {
            v0_1.zzcqG = com.google.android.gms.internal.afw.zza(this.zzcqn);
        }
        if (this.zzcqo != null) {
            v0_1.zzcqH = com.google.android.gms.internal.afw.zza(this.zzcqo);
        }
        if (this.zzcqp != null) {
            v0_1.zzcqI = com.google.android.gms.internal.afw.zza(this.zzcqp);
        }
        if (this.zzcqf != null) {
            com.google.android.gms.internal.agg[] v1_8 = new com.google.android.gms.internal.agd();
            v1_8.zzcqB = this.zzcqf.getLastFetchStatus();
            v1_8.zzcqC = this.zzcqf.isDeveloperModeEnabled();
            v1_8.zzcqD = this.zzcqf.zzKY();
            v0_1.zzcqJ = v1_8;
        }
        if ((this.zzcqf != null) && (this.zzcqf.zzKW() != null)) {
            com.google.android.gms.internal.agg[] v1_14 = new java.util.ArrayList();
            com.google.android.gms.internal.agg[] v2_7 = this.zzcqf.zzKW();
            int v3_1 = v2_7.keySet().iterator();
            while (v3_1.hasNext()) {
                int v4_2 = ((String) v3_1.next());
                if (v2_7.get(v4_2) != null) {
                    com.google.android.gms.internal.agg v5_2 = new com.google.android.gms.internal.agg();
                    v5_2.zzbxY = v4_2;
                    v5_2.zzcqM = ((com.google.android.gms.internal.afu) v2_7.get(v4_2)).zzKT();
                    v5_2.resourceId = ((com.google.android.gms.internal.afu) v2_7.get(v4_2)).zzKS();
                    v1_14.add(v5_2);
                }
            }
            com.google.android.gms.internal.agg[] v2_9 = new com.google.android.gms.internal.agg[v1_14.size()];
            v0_1.zzcqK = ((com.google.android.gms.internal.agg[]) v1_14.toArray(v2_9));
        }
        java.io.IOException v0_2 = com.google.android.gms.internal.aif.zzd(v0_1);
        try {
            com.google.android.gms.internal.agg[] v1_19 = this.mContext.openFileOutput("persisted_config", 0);
            v1_19.write(v0_2);
            v1_19.close();
            return;
        } catch (java.io.IOException v0_3) {
            android.util.Log.e("AsyncPersisterTask", "Could not persist config.", v0_3);
            return;
        }
    }

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

Couldn't retrieve source code