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 register.ibl_locationtracking.DBHandler.CopyDataBaseFromAsset() calling method java.io.FileOutputStream.<init>()


    public void CopyDataBaseFromAsset()
    {
        java.io.InputStream v3 = register.ibl_locationtracking.DBHandler.myContext.getAssets().open("Locationtrack.sqlite");
        String v5 = register.ibl_locationtracking.DBHandler.getDatabasePath();
        java.io.File v1_0 = new java.io.File(new StringBuilder().append(register.ibl_locationtracking.DBHandler.myContext.getApplicationInfo().dataDir).append("/databases/").toString());
        if (!v1_0.exists()) {
            v1_0.mkdir();
        }
        java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(v5);
        byte[] v0 = new byte[1024];
        while(true) {
            int v2 = v3.read(v0);
            if (v2 <= 0) {
                break;
            }
            v4_1.write(v0, 0, v2);
        }
        v4_1.flush();
        v4_1.close();
        v3.close();
        return;
    }

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


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

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


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

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


    void run()
    {
        this.zzi(4, 0);
        this.bbK.reset();
        try {
            String v0_40;
            StringBuilder v2_1 = this.bbI.zzcxz().zza(this.bbI.zzcya(), this.bbO);
            this.bbK.zza(v2_1, 0);
            this.mResultCode = v2_1.getResultCode();
        } catch (String v0_35) {
            android.util.Log.e("FileDownloadTask", "Unable to create firebase storage network request.", v0_35);
            this.aDy = v0_35;
            this.zzi(64, 0);
            return;
        }
        if (v2_1.getException() == null) {
            v0_40 = this.aDy;
        } else {
            v0_40 = v2_1.getException();
        }
        String v1_19;
        this.aDy = v0_40;
        if ((!this.zzaff(this.mResultCode)) || ((this.aDy != null) || (this.zzcyc() != 4))) {
            v1_19 = 0;
        } else {
            v1_19 = 1;
        }
        if (v1_19 != null) {
            this.EQ = ((long) v2_1.zzcyz());
            String v0_50 = v2_1.zztl("ETag");
            if ((android.text.TextUtils.isEmpty(v0_50)) || ((this.bbN == null) || (this.bbN.equals(v0_50)))) {
                this.bbN = v0_50;
                String v3_9 = v2_1.getStream();
                if (v3_9 == null) {
                    this.aDy = new IllegalStateException("Unable to open Firebase Storage stream.");
                } else {
                    try {
                        byte[] v4_6 = new java.io.File(this.bbL.getPath());
                    } catch (String v0_17) {
                        android.util.Log.e("FileDownloadTask", "Exception occurred during file download", v0_17);
                        this.aDy = v0_17;
                    }
                    if (!v4_6.exists()) {
                        if (this.bbO <= 0) {
                            if (!v4_6.createNewFile()) {
                                String v0_1;
                                String v0_60 = String.valueOf(v4_6.getAbsolutePath());
                                if (v0_60.length() == 0) {
                                    v0_1 = new String("unable to create file:");
                                } else {
                                    v0_1 = "unable to create file:".concat(v0_60);
                                }
                                android.util.Log.w("FileDownloadTask", v0_1);
                            }
                        } else {
                            String v0_14;
                            String v0_12 = String.valueOf(v4_6.getAbsolutePath());
                            if (v0_12.length() == 0) {
                                v0_14 = new String("The file downloading to has been deleted:");
                            } else {
                                v0_14 = "The file downloading to has been deleted:".concat(v0_12);
                            }
                            android.util.Log.e("FileDownloadTask", v0_14);
                            throw new IllegalStateException("expected a file to resume from.");
                        }
                    }
                    String v0_4;
                    if (this.bbO <= 0) {
                        v0_4 = new java.io.FileOutputStream(v4_6);
                    } else {
                        String v0_8;
                        String v0_6 = String.valueOf(v4_6.getAbsolutePath());
                        if (v0_6.length() == 0) {
                            v0_8 = new String("Resuming download file ");
                        } else {
                            v0_8 = "Resuming download file ".concat(v0_6);
                        }
                        android.util.Log.d("FileDownloadTask", v0_8);
                        v0_4 = new java.io.FileOutputStream(v4_6, 1);
                    }
                    byte[] v4_1 = new byte[262144];
                    do {
                        boolean v5_2 = v3_9.read(v4_1);
                        if (v5_2 == -1) {
                            break;
                        }
                        v0_4.write(v4_1, 0, v5_2);
                        this.bbM = (this.bbM + ((long) v5_2));
                    } while(this.zzi(4, 0));
                    v0_4.flush();
                    v0_4.close();
                    v3_9.close();
                }
            } else {
                android.util.Log.w("FileDownloadTask", "The file at the server has changed.  Restarting from the beginning.");
                this.bbO = 0;
                this.bbN = 0;
                v2_1.zzcys();
                this.schedule();
                return;
            }
        }
        String v0_20;
        v2_1.zzcys();
        if ((v1_19 == null) || ((this.aDy != null) || (this.zzcyc() != 4))) {
            v0_20 = 0;
        } else {
            v0_20 = 1;
        }
        if (v0_20 == null) {
            String v0_23 = new java.io.File(this.bbL.getPath());
            if (!v0_23.exists()) {
                this.bbO = 0;
            } else {
                this.bbO = v0_23.length();
            }
            if (this.zzcyc() != 8) {
                String v0_28;
                if (this.zzcyc() != 32) {
                    v0_28 = 64;
                } else {
                    v0_28 = 256;
                }
                if (this.zzi(v0_28, 0)) {
                    return;
                } else {
                    android.util.Log.w("FileDownloadTask", new StringBuilder(62).append("Unable to change download task to final state from ").append(this.zzcyc()).toString());
                    return;
                }
            } else {
                this.zzi(16, 0);
                return;
            }
        } else {
            this.zzi(128, 0);
            return;
        }
    }

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


    boolean zzc(com.google.android.gms.internal.zzadu$zza p5)
    {
        int v0_0 = 0;
        String v1_1 = this.zzccr();
        try {
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v1_1);
            try {
                v2_1.write(com.google.android.gms.internal.zzapv.zzf(p5));
                try {
                    v2_1.close();
                } catch (int v0) {
                    com.google.android.gms.tagmanager.zzbn.zzcx("error closing stream for writing resource to disk");
                }
                v0_0 = 1;
                return v0_0;
            } catch (int v0_1) {
                try {
                    v2_1.close();
                } catch (String v1) {
                    com.google.android.gms.tagmanager.zzbn.zzcx("error closing stream for writing resource to disk");
                }
                throw v0_1;
            } catch (String v3) {
                com.google.android.gms.tagmanager.zzbn.zzcx("Error writing resource to disk. Removing resource from disk.");
                v1_1.delete();
                try {
                    v2_1.close();
                } catch (String v1) {
                    com.google.android.gms.tagmanager.zzbn.zzcx("error closing stream for writing resource to disk");
                }
                return v0_0;
            }
        } catch (String v1) {
            com.google.android.gms.tagmanager.zzbn.e("Error opening resource file for writing");
            return v0_0;
        }
    }

Method register.ibl_locationtracking.CallSoap.WriteLog() calling method java.io.FileOutputStream.<init>()


    public void WriteLog(String p15)
    {
        try {
            java.io.File v0_1 = new java.io.File(register.ibl_locationtracking.CallSoap.LOCALDIRECTORY, "IBL_Tracking");
        } catch (java.io.IOException v4_2) {
            android.widget.Toast.makeText(this.getApplicationContext(), v4_2.toString(), 1).show();
            v4_2.printStackTrace();
            return;
        }
        if (!v0_1.exists()) {
            v0_1.mkdir();
        }
        java.text.SimpleDateFormat v6_0 = new java.text.SimpleDateFormat("ddMMyyyy");
        java.text.SimpleDateFormat v7_1 = new java.text.SimpleDateFormat("ddMMyyyy-hh:mm a");
        java.util.Date v8_1 = new java.util.Date();
        String v1 = v6_0.format(v8_1);
        String v2 = v7_1.format(v8_1);
        try {
            java.io.FileOutputStream v5_1 = new java.io.FileOutputStream(new java.io.File(v0_1, new StringBuilder().append(v1).append("_").append("Log.txt").toString()), 1);
            java.io.BufferedWriter v3_1 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(v5_1));
            v3_1.append(new StringBuilder().append(v2).append(" - ").append(p15).toString());
            v3_1.newLine();
            v3_1.close();
            v5_1.close();
        } catch (java.io.IOException v4_1) {
            v4_1.printStackTrace();
        } catch (java.io.IOException v4_0) {
            v4_0.printStackTrace();
        }
        return;
    }

Method org.ksoap2.transport.HttpTransportSE.readDebug() calling method java.io.FileOutputStream.<init>()


    private java.io.InputStream readDebug(java.io.InputStream p7, int p8, java.io.File p9)
    {
        int v0_2;
        if (p9 == null) {
            if (p8 <= 0) {
                p8 = 262144;
            }
            v0_2 = new java.io.ByteArrayOutputStream(p8);
        } else {
            v0_2 = new java.io.FileOutputStream(p9);
        }
        byte[] v1 = new byte[256];
        while(true) {
            int v2 = p7.read(v1, 0, 256);
            if (v2 == -1) {
                break;
            }
            v0_2.write(v1, 0, v2);
        }
        v0_2.flush();
        if ((v0_2 instanceof java.io.ByteArrayOutputStream)) {
            v1 = ((java.io.ByteArrayOutputStream) v0_2).toByteArray();
        }
        java.io.ByteArrayInputStream v3_5;
        this.responseDump = new String(v1);
        p7.close();
        if (p9 == null) {
            v3_5 = new java.io.ByteArrayInputStream(v1);
        } else {
            v3_5 = new java.io.FileInputStream(p9);
        }
        return v3_5;
    }

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


    public declared_synchronized void zza(String p6, com.google.android.gms.internal.zzb$zza p7)
    {
        try {
            this.zzc(p7.data.length);
            String v0_3 = this.zzf(p6);
            try {
                String v1_6 = new java.io.FileOutputStream(v0_3);
                Object[] v2_5 = new com.google.android.gms.internal.zzv$zza(p6, p7);
            } catch (String v1) {
                if (v0_3.delete()) {
                    return;
                } else {
                    Object[] v2_3 = new Object[1];
                    v2_3[0] = v0_3.getAbsolutePath();
                    com.google.android.gms.internal.zzs.zzb("Could not clean up file %s", v2_3);
                    return;
                }
            }
            if (v2_5.zza(v1_6)) {
                v1_6.write(p7.data);
                v1_6.close();
                this.zza(p6, v2_5);
                return;
            } else {
                v1_6.close();
                Object[] v2_1 = new Object[1];
                v2_1[0] = v0_3.getAbsolutePath();
                com.google.android.gms.internal.zzs.zzb("Failed to write header for %s", v2_1);
                throw new java.io.IOException();
            }
        } catch (String v0_4) {
            throw v0_4;
        }
    }

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


    public boolean zzaz(String p27)
    {
        com.google.android.gms.internal.zzfg v2_30;
        if (this.zzbjr != null) {
            while (this.zzll() > ((Integer) com.google.android.gms.internal.zzdc.zzaym.get()).intValue()) {
                if (!this.zzlm()) {
                    com.google.android.gms.internal.zzkd.zzcx("Unable to expire stream cache");
                    this.zza(p27, 0, "expireFailed", 0);
                    v2_30 = 0;
                }
            }
            java.io.File v12_1 = new java.io.File(this.zzbjr, this.zzba(p27));
            java.io.File v13 = this.zzb(v12_1);
            if ((!v12_1.isFile()) || (!v13.isFile())) {
                String v8;
                String v3_23 = String.valueOf(this.zzbjr.getAbsolutePath());
                com.google.android.gms.internal.zzfg v2_66 = String.valueOf(p27);
                if (v2_66.length() == 0) {
                    v8 = new String(v3_23);
                } else {
                    v8 = v3_23.concat(v2_66);
                }
                try {
                    if (!com.google.android.gms.internal.zzfg.zzbjp.contains(v8)) {
                        com.google.android.gms.internal.zzfg.zzbjp.add(v8);
                        String v5_6 = 0;
                        String v3_12;
                        String v4_7;
                        String v3_34 = new java.net.URL(p27).openConnection();
                        com.google.android.gms.internal.zzfg v2_115 = ((Integer) com.google.android.gms.internal.zzdc.zzayr.get()).intValue();
                        v3_34.setConnectTimeout(v2_115);
                        v3_34.setReadTimeout(v2_115);
                        if ((v3_34 instanceof java.net.HttpURLConnection)) {
                            com.google.android.gms.internal.zzfg v2_119 = ((java.net.HttpURLConnection) v3_34).getResponseCode();
                            if (v2_119 >= 400) {
                                v4_7 = "badUrl";
                                try {
                                    String v3_28 = String.valueOf(Integer.toString(v2_119));
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                    v3_12 = 0;
                                    if ((v2_48 instanceof RuntimeException)) {
                                        com.google.android.gms.ads.internal.zzu.zzft().zzb(v2_48, 1);
                                    }
                                    try {
                                        v5_6.close();
                                    } catch (String v5) {
                                    } catch (String v5) {
                                    }
                                    if (!this.zzbjs) {
                                        com.google.android.gms.internal.zzkd.zzd(new StringBuilder((String.valueOf(p27).length() + 25)).append("Preload failed for URL \"").append(p27).append("\"").toString(), v2_48);
                                    } else {
                                        com.google.android.gms.internal.zzkd.zzcw(new StringBuilder((String.valueOf(p27).length() + 26)).append("Preload aborted for URL \"").append(p27).append("\"").toString());
                                    }
                                    if (v12_1.exists()) {
                                        if (!v12_1.delete()) {
                                            com.google.android.gms.internal.zzfg v2_88 = String.valueOf(v12_1.getAbsolutePath());
                                            if (v2_88.length() == 0) {
                                                com.google.android.gms.internal.zzfg v2_90 = new String("Could not delete partial cache file at ");
                                            } else {
                                                v2_90 = "Could not delete partial cache file at ".concat(v2_88);
                                            }
                                            com.google.android.gms.internal.zzkd.zzcx(v2_90);
                                        }
                                    }
                                    this.zza(p27, v12_1.getAbsolutePath(), v4_7, v3_12);
                                    com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                                    v2_30 = 0;
                                    return v2_30;
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                    v3_12 = 0;
                                }
                                if (v3_28.length() == 0) {
                                    v3_12 = new String("HTTP request failed. Code: ");
                                } else {
                                    v3_12 = "HTTP request failed. Code: ".concat(v3_28);
                                }
                                try {
                                    throw new java.io.IOException(new StringBuilder((String.valueOf(p27).length() + 32)).append("HTTP status code ").append(v2_119).append(" at ").append(p27).toString());
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                }
                            }
                        }
                        int v6_16 = v3_34.getContentLength();
                        if (v6_16 >= 0) {
                            String v4_19 = com.google.android.gms.internal.zzfg.zzbjq.format(((long) v6_16));
                            int v14_1 = ((Integer) com.google.android.gms.internal.zzdc.zzayn.get()).intValue();
                            if (v6_16 <= v14_1) {
                                com.google.android.gms.internal.zzkd.zzcv(new StringBuilder(((String.valueOf(v4_19).length() + 20) + String.valueOf(p27).length())).append("Caching ").append(v4_19).append(" bytes from ").append(p27).toString());
                                java.nio.channels.ReadableByteChannel v15 = java.nio.channels.Channels.newChannel(v3_34.getInputStream());
                                java.io.FileOutputStream v11_1 = new java.io.FileOutputStream(v12_1);
                                try {
                                    java.nio.channels.FileChannel v16 = v11_1.getChannel();
                                    java.nio.ByteBuffer v17 = java.nio.ByteBuffer.allocate(1048576);
                                    com.google.android.gms.common.util.zze v18 = com.google.android.gms.ads.internal.zzu.zzfu();
                                    String v5_0 = 0;
                                    long v20 = v18.currentTimeMillis();
                                    com.google.android.gms.internal.zzkr v19 = new com.google.android.gms.internal.zzkr;
                                    v19(((Long) com.google.android.gms.internal.zzdc.zzayq.get()).longValue());
                                    long v22 = ((Long) com.google.android.gms.internal.zzdc.zzayp.get()).longValue();
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                    v3_12 = 0;
                                    v4_7 = "error";
                                    v5_6 = v11_1;
                                }
                                while(true) {
                                    com.google.android.gms.internal.zzfg v2_18 = v15.read(v17);
                                    if (v2_18 < null) {
                                        break;
                                    }
                                    v5_0 += v2_18;
                                    try {
                                        if (v5_0 <= v14_1) {
                                            v17.flip();
                                            while (v16.write(v17) > 0) {
                                            }
                                            v17.clear();
                                            if ((v18.currentTimeMillis() - v20) <= (1000 * v22)) {
                                                if (!this.zzbjs) {
                                                    if (v19.tryAcquire()) {
                                                        this.zza(p27, v12_1.getAbsolutePath(), v5_0, v6_16, 0);
                                                    }
                                                } else {
                                                    v4_7 = "externalAbort";
                                                    throw new java.io.IOException("abort requested");
                                                }
                                            } else {
                                                v4_7 = "downloadTimeout";
                                                com.google.android.gms.internal.zzfg v2_42 = String.valueOf(Long.toString(v22));
                                                v3_12 = new StringBuilder((String.valueOf(v2_42).length() + 29)).append("Timeout exceeded. Limit: ").append(v2_42).append(" sec").toString();
                                                throw new java.io.IOException("stream cache time limit exceeded");
                                            }
                                        } else {
                                            v4_7 = "sizeExceeded";
                                            String v3_14 = String.valueOf(Integer.toString(v5_0));
                                            if (v3_14.length() == 0) {
                                                v3_12 = new String("File too big for full file cache. Size: ");
                                            } else {
                                                v3_12 = "File too big for full file cache. Size: ".concat(v3_14);
                                            }
                                            throw new java.io.IOException("stream cache file size limit exceeded");
                                        }
                                    } catch (com.google.android.gms.internal.zzfg v2_48) {
                                        v3_12 = 0;
                                        v5_6 = v11_1;
                                    } catch (com.google.android.gms.internal.zzfg v2_48) {
                                        v3_12 = 0;
                                        v5_6 = v11_1;
                                    } catch (com.google.android.gms.internal.zzfg v2_48) {
                                        v5_6 = v11_1;
                                    } catch (com.google.android.gms.internal.zzfg v2_48) {
                                        v5_6 = v11_1;
                                    }
                                }
                                v11_1.close();
                                if (com.google.android.gms.internal.zzkd.zzaz(3)) {
                                    com.google.android.gms.internal.zzfg v2_22 = com.google.android.gms.internal.zzfg.zzbjq.format(((long) v5_0));
                                    com.google.android.gms.internal.zzkd.zzcv(new StringBuilder(((String.valueOf(v2_22).length() + 22) + String.valueOf(p27).length())).append("Preloaded ").append(v2_22).append(" bytes from ").append(p27).toString());
                                }
                                v12_1.setReadable(1, 0);
                                com.google.android.gms.internal.zzfg.zzc(v13);
                                this.zza(p27, v12_1.getAbsolutePath(), v5_0);
                                com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                                v2_30 = 1;
                            } else {
                                com.google.android.gms.internal.zzfg v2_63;
                                com.google.android.gms.internal.zzkd.zzcx(new StringBuilder(((String.valueOf(v4_19).length() + 33) + String.valueOf(p27).length())).append("Content length ").append(v4_19).append(" exceeds limit at ").append(p27).toString());
                                com.google.android.gms.internal.zzfg v2_61 = String.valueOf(v4_19);
                                if (v2_61.length() == 0) {
                                    v2_63 = new String("File too big for full file cache. Size: ");
                                } else {
                                    v2_63 = "File too big for full file cache. Size: ".concat(v2_61);
                                }
                                this.zza(p27, v12_1.getAbsolutePath(), "sizeExceeded", v2_63);
                                com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                                v2_30 = 0;
                            }
                        } else {
                            com.google.android.gms.internal.zzfg v2_68;
                            com.google.android.gms.internal.zzfg v2_65 = String.valueOf(p27);
                            if (v2_65.length() == 0) {
                                v2_68 = new String("Stream cache aborted, missing content-length header at ");
                            } else {
                                v2_68 = "Stream cache aborted, missing content-length header at ".concat(v2_65);
                            }
                            com.google.android.gms.internal.zzkd.zzcx(v2_68);
                            this.zza(p27, v12_1.getAbsolutePath(), "contentLengthMissing", 0);
                            com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                            v2_30 = 0;
                        }
                    } else {
                        com.google.android.gms.internal.zzfg v2_96;
                        com.google.android.gms.internal.zzfg v2_94 = String.valueOf(p27);
                        if (v2_94.length() == 0) {
                            v2_96 = new String("Stream cache already in progress at ");
                        } else {
                            v2_96 = "Stream cache already in progress at ".concat(v2_94);
                        }
                        com.google.android.gms.internal.zzkd.zzcx(v2_96);
                        this.zza(p27, v12_1.getAbsolutePath(), "inProgress", 0);
                        v2_30 = 0;
                    }
                } catch (com.google.android.gms.internal.zzfg v2_100) {
                    throw v2_100;
                }
            } else {
                com.google.android.gms.internal.zzfg v2_104;
                String v3_31 = ((int) v12_1.length());
                com.google.android.gms.internal.zzfg v2_102 = String.valueOf(p27);
                if (v2_102.length() == 0) {
                    v2_104 = new String("Stream cache hit at ");
                } else {
                    v2_104 = "Stream cache hit at ".concat(v2_102);
                }
                com.google.android.gms.internal.zzkd.zzcv(v2_104);
                this.zza(p27, v12_1.getAbsolutePath(), v3_31);
                v2_30 = 1;
            }
        } else {
            this.zza(p27, 0, "noCacheDir", 0);
            v2_30 = 0;
        }
        return v2_30;
    }

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


    private void zzc(java.io.File p4, String p5)
    {
        if (p4 == null) {
            com.google.android.gms.internal.zzkd.zzcx("CsiReporter: File doesn\'t exists. Cannot write CSI data to file.");
        } else {
            try {
                String v1_0 = new java.io.FileOutputStream(p4, 1);
                try {
                    v1_0.write(p5.getBytes());
                    v1_0.write(10);
                } catch (java.io.IOException v0_3) {
                    com.google.android.gms.internal.zzkd.zzd("CsiReporter: Cannot write to file: sdk_csi_data.txt.", v0_3);
                    if (v1_0 != null) {
                        try {
                            v1_0.close();
                        } catch (java.io.IOException v0_4) {
                            com.google.android.gms.internal.zzkd.zzd("CsiReporter: Cannot close file: sdk_csi_data.txt.", v0_4);
                        }
                    }
                }
                if (v1_0 != null) {
                    try {
                        v1_0.close();
                    } catch (java.io.IOException v0_6) {
                        com.google.android.gms.internal.zzkd.zzd("CsiReporter: Cannot close file: sdk_csi_data.txt.", v0_6);
                    }
                }
            } catch (java.io.IOException v0_5) {
                v1_0 = 0;
                if (v1_0 != null) {
                    try {
                        v1_0.close();
                    } catch (String v1_2) {
                        com.google.android.gms.internal.zzkd.zzd("CsiReporter: Cannot close file: sdk_csi_data.txt.", v1_2);
                    }
                }
                throw v0_5;
            } catch (java.io.IOException v0_3) {
                v1_0 = 0;
            } catch (java.io.IOException v0_5) {
            }
        }
        return;
    }

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


    private boolean zzb(java.io.File p9, String p10)
    {
        String v0 = 0;
        java.io.FileOutputStream v4_7 = new Object[2];
        v4_7[0] = p9;
        v4_7[1] = p10;
        byte[] v2_0 = new java.io.File(String.format("%s/%s.tmp", v4_7));
        if (v2_0.exists()) {
            int v5_1 = new Object[2];
            v5_1[0] = p9;
            v5_1[1] = p10;
            int v3_2 = new java.io.File(String.format("%s/%s.dex", v5_1));
            if (!v3_2.exists()) {
                java.io.FileOutputStream v4_3 = v2_0.length();
                if (v4_3 > 0) {
                    java.io.FileOutputStream v4_5 = new byte[((int) v4_3)];
                    if (new java.io.FileInputStream(v2_0).read(v4_5) > 0) {
                        java.io.FileOutputStream v4_6 = com.google.android.gms.internal.zzae$zzd.zzd(v4_5);
                        if ((p10.equals(new String(v4_6.zzeu))) && ((java.util.Arrays.equals(v4_6.zzet, com.google.android.gms.internal.zzak.zzg(v4_6.data))) && (java.util.Arrays.equals(v4_6.zzev, android.os.Build$VERSION.SDK.getBytes())))) {
                            byte[] v2_3 = this.zzagi.zzc(this.zzagj, new String(v4_6.data));
                            v3_2.createNewFile();
                            java.io.FileOutputStream v4_10 = new java.io.FileOutputStream(v3_2);
                            v4_10.write(v2_3, 0, v2_3.length);
                            v4_10.close();
                            v0 = 1;
                        } else {
                            this.zza(v2_0);
                        }
                    } else {
                        android.util.Log.d(com.google.android.gms.internal.zzax.TAG, "Cannot read the cache data.");
                        this.zza(v2_0);
                    }
                } else {
                    this.zza(v2_0);
                }
            }
        }
        return v0;
    }

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


    private void zza(java.io.File p10, String p11)
    {
        java.io.IOException v1_5 = new Object[2];
        v1_5[0] = p10;
        v1_5[1] = p11;
        int v2_0 = new java.io.File(String.format("%s/%s.tmp", v1_5));
        if (!v2_0.exists()) {
            java.io.IOException v1_0 = new Object[2];
            v1_0[0] = p10;
            v1_0[1] = p11;
            java.io.File v3_1 = new java.io.File(String.format("%s/%s.dex", v1_0));
            if (v3_1.exists()) {
                java.io.IOException v1_1 = 0;
                java.io.FileOutputStream v4_1 = v3_1.length();
                if (v4_1 > 0) {
                    java.io.FileOutputStream v4_2 = new byte[((int) v4_1)];
                    try {
                        java.io.IOException v0_7 = new java.io.FileInputStream(v3_1);
                        try {
                            if (v0_7.read(v4_2) > 0) {
                                java.io.IOException v1_4 = new com.google.android.gms.internal.zzae$zzd();
                                v1_4.zzev = android.os.Build$VERSION.SDK.getBytes();
                                v1_4.zzeu = p11.getBytes();
                                java.io.FileOutputStream v4_4 = this.zzagi.zzd(this.zzagj, v4_2).getBytes();
                                v1_4.data = v4_4;
                                v1_4.zzet = com.google.android.gms.internal.zzak.zzg(v4_4);
                                v2_0.createNewFile();
                                java.io.FileOutputStream v4_7 = new java.io.FileOutputStream(v2_0);
                                java.io.IOException v1_6 = com.google.android.gms.internal.zzapv.zzf(v1_4);
                                v4_7.write(v1_6, 0, v1_6.length);
                                v4_7.close();
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            } else {
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            }
                        } catch (java.io.IOException v1_7) {
                            v1_1 = v0_7;
                            java.io.IOException v0_9 = v1_7;
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            this.zza(v3_1);
                            throw v0_9;
                        } catch (java.io.IOException v1) {
                            if (v0_7 != null) {
                                try {
                                    v0_7.close();
                                } catch (java.io.IOException v0) {
                                }
                            }
                            this.zza(v3_1);
                        } catch (java.io.IOException v1) {
                        } catch (java.io.IOException v1) {
                        }
                    } catch (java.io.IOException v0_9) {
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    }
                }
            }
        }
        return;
    }

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


    private java.io.File zza(String p6, java.io.File p7, String p8)
    {
        java.io.FileOutputStream v2_4 = new Object[2];
        v2_4[0] = p7;
        v2_4[1] = p8;
        java.io.File v0_1 = new java.io.File(String.format("%s/%s.jar", v2_4));
        if (!v0_1.exists()) {
            byte[] v1_2 = this.zzagi.zzc(this.zzagj, p6);
            v0_1.createNewFile();
            java.io.FileOutputStream v2_2 = new java.io.FileOutputStream(v0_1);
            v2_2.write(v1_2, 0, v1_2.length);
            v2_2.close();
        }
        return v0_1;
    }

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


    void zzh(String p4, byte[] p5)
    {
        String v0_0 = this.zzqg(p4);
        try {
            String v1_6 = new java.io.FileOutputStream(v0_0);
            try {
                v1_6.write(p5);
                try {
                    v1_6.close();
                    com.google.android.gms.internal.zzwp.v(new StringBuilder((String.valueOf(p4).length() + 24)).append("Resource ").append(p4).append(" saved on Disk.").toString());
                } catch (String v0) {
                    com.google.android.gms.internal.zzwp.e("Error closing stream for writing resource to disk");
                }
                return;
            } catch (String v0_8) {
                try {
                    v1_6.close();
                    com.google.android.gms.internal.zzwp.v(new StringBuilder((String.valueOf(p4).length() + 24)).append("Resource ").append(p4).append(" saved on Disk.").toString());
                } catch (String v1) {
                    com.google.android.gms.internal.zzwp.e("Error closing stream for writing resource to disk");
                }
                throw v0_8;
            } catch (String v2) {
                com.google.android.gms.internal.zzwp.e("Error writing resource to disk. Removing resource from disk");
                v0_0.delete();
                try {
                    v1_6.close();
                    com.google.android.gms.internal.zzwp.v(new StringBuilder((String.valueOf(p4).length() + 24)).append("Resource ").append(p4).append(" saved on Disk.").toString());
                } catch (String v0) {
                    com.google.android.gms.internal.zzwp.e("Error closing stream for writing resource to disk");
                }
                return;
            }
        } catch (String v0) {
            com.google.android.gms.internal.zzwp.e("Error opening resource file for writing");
            return;
        }
    }

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


    private boolean zza(int p9, byte[] p10, int p11, int p12, boolean p13)
    {
        java.io.IOException v0_8;
        int v1_0 = 1;
        try {
            if (this.isClosed()) {
                v0_8 = 0;
            } else {
                v0_8 = 1;
            }
        } catch (java.io.IOException v0_7) {
            throw v0_7;
        }
        com.google.android.gms.common.internal.zzab.zza(v0_8, "Must provide a previously opened SnapshotContents");
        String v4_1 = new java.io.FileOutputStream(this.FU.getParcelFileDescriptor().getFileDescriptor());
        java.io.IOException v0_4 = new java.io.BufferedOutputStream(v4_1);
        String v4_2 = v4_1.getChannel();
        v4_2.position(((long) p9));
        v0_4.write(p10, p11, p12);
        if (p13) {
            v4_2.truncate(((long) p10.length));
        }
        v0_4.flush();
        return v1_0;
    }

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


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

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


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

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


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

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


    protected varargs Throwable doInBackground(Void[] p13)
    {
        Throwable v7 = 0;
        try {
            if (!this.val$cancellationSignal.isCanceled()) {
                android.print.pdf.PrintedPdfDocument v6_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$pdfAttributes);
                android.graphics.Bitmap v4 = android.support.v4.print.PrintHelperKitkat.access$100(this.this$0, this.val$bitmap, this.val$pdfAttributes.getColorMode());
                if (!this.val$cancellationSignal.isCanceled()) {
                    try {
                        android.graphics.RectF v0_1;
                        android.graphics.pdf.PdfDocument$Page v5 = v6_1.startPage(1);
                    } catch (java.io.IOException v8_30) {
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.FileDescriptor v9) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                        throw v8_30;
                    }
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        android.print.pdf.PrintedPdfDocument v1_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$attributes);
                        android.graphics.pdf.PdfDocument$Page v2 = v1_1.startPage(1);
                        v0_1 = new android.graphics.RectF(v2.getInfo().getContentRect());
                        v1_1.finishPage(v2);
                        v1_1.close();
                    } else {
                        v0_1 = new android.graphics.RectF(v5.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v3 = android.support.v4.print.PrintHelperKitkat.access$200(this.this$0, v4.getWidth(), v4.getHeight(), v0_1, this.val$fittingMode);
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        v3.postTranslate(v0_1.left, v0_1.top);
                        v5.getCanvas().clipRect(v0_1);
                    }
                    v5.getCanvas().drawBitmap(v4, v3, 0);
                    v6_1.finishPage(v5);
                    if (!this.val$cancellationSignal.isCanceled()) {
                        v6_1.writeTo(new java.io.FileOutputStream(this.val$fileDescriptor.getFileDescriptor()));
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v8) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                    } else {
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v8) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                    }
                }
            }
        } catch (Throwable v7) {
        }
        return v7;
    }

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


    private static void extract(java.util.zip.ZipFile p10, java.util.zip.ZipEntry p11, java.io.File p12, String p13)
    {
        java.io.InputStream v2 = p10.getInputStream(p11);
        java.io.File v6 = java.io.File.createTempFile(new StringBuilder().append("tmp-").append(p13).toString(), ".zip", p12.getParentFile());
        android.util.Log.i("MultiDex", new StringBuilder().append("Extracting ").append(v6.getPath()).toString());
        try {
            java.util.zip.ZipOutputStream v5_1 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(new java.io.FileOutputStream(v6)));
            try {
                java.util.zip.ZipEntry v1_1 = new java.util.zip.ZipEntry("classes.dex");
                v1_1.setTime(p11.getTime());
                v5_1.putNextEntry(v1_1);
                byte[] v0 = new byte[16384];
                int v3 = v2.read(v0);
            } catch (java.io.IOException v7_3) {
                v5_1.close();
                throw v7_3;
            } catch (java.io.IOException v7_4) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v2);
                v6.delete();
                throw v7_4;
            }
            while (v3 != -1) {
                v5_1.write(v0, 0, v3);
                v3 = v2.read(v0);
            }
            v5_1.closeEntry();
            v5_1.close();
            if (v6.setReadOnly()) {
                android.util.Log.i("MultiDex", new StringBuilder().append("Renaming to ").append(p12.getPath()).toString());
                if (v6.renameTo(p12)) {
                    android.support.multidex.MultiDexExtractor.closeQuietly(v2);
                    v6.delete();
                    return;
                } else {
                    throw new java.io.IOException(new StringBuilder().append("Failed to rename \"").append(v6.getAbsolutePath()).append("\" to \"").append(p12.getAbsolutePath()).append("\"").toString());
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("Failed to mark readonly \"").append(v6.getAbsolutePath()).append("\" (tmp of \"").append(p12.getAbsolutePath()).append("\")").toString());
            }
        } catch (java.io.IOException v7_4) {
        }
    }

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


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

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


    void zzccq()
    {
        if (this.axf != null) {
            this.axf.zzcau();
            com.google.android.gms.tagmanager.zzbn.v("Attempting to load resource from disk");
            if (((com.google.android.gms.tagmanager.zzci.zzcci().zzccj() != com.google.android.gms.tagmanager.zzci$zza.awU) && (com.google.android.gms.tagmanager.zzci.zzcci().zzccj() != com.google.android.gms.tagmanager.zzci$zza.awV)) || (!this.auF.equals(com.google.android.gms.tagmanager.zzci.zzcci().getContainerId()))) {
                try {
                    String v1_5 = new java.io.FileInputStream(this.zzccr());
                    try {
                        String v0_10 = new java.io.ByteArrayOutputStream();
                        com.google.android.gms.internal.zzadw.zzc(v1_5, v0_10);
                        String v0_13 = com.google.android.gms.internal.zzadu$zza.zzao(v0_10.toByteArray());
                        this.zzd(v0_13);
                        this.axf.onSuccess(v0_13);
                        try {
                            v1_5.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzbn.zzcx("Error closing stream for reading resource from disk");
                        }
                        com.google.android.gms.tagmanager.zzbn.v("The Disk resource was successfully read.");
                    } catch (String v0_20) {
                        try {
                            v1_5.close();
                        } catch (String v1) {
                            com.google.android.gms.tagmanager.zzbn.zzcx("Error closing stream for reading resource from disk");
                        }
                        throw v0_20;
                    } catch (String v0) {
                        this.axf.zza(com.google.android.gms.tagmanager.zzbm$zza.awu);
                        com.google.android.gms.tagmanager.zzbn.zzcx("Failed to read the resource from disk");
                        try {
                            v1_5.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzbn.zzcx("Error closing stream for reading resource from disk");
                        }
                    } catch (String v0) {
                        this.axf.zza(com.google.android.gms.tagmanager.zzbm$zza.awu);
                        com.google.android.gms.tagmanager.zzbn.zzcx("Failed to read the resource from disk. The resource is inconsistent");
                        try {
                            v1_5.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzbn.zzcx("Error closing stream for reading resource from disk");
                        }
                    }
                } catch (String v0) {
                    com.google.android.gms.tagmanager.zzbn.zzcv("Failed to find the resource in the disk");
                    this.axf.zza(com.google.android.gms.tagmanager.zzbm$zza.awt);
                }
            } else {
                this.axf.zza(com.google.android.gms.tagmanager.zzbm$zza.awt);
            }
            return;
        } else {
            throw new IllegalStateException("Callback must be set before execute");
        }
    }

Method register.ibl_locationtracking.CallSoap.ReadLog() calling method java.io.FileInputStream.<init>()


    public String ReadLog(android.content.Context p9)
    {
        java.io.File v2_1 = new java.io.File(new java.io.File(p9.getApplicationInfo().dataDir), "Log.txt");
        try {
            if (v2_1.exists()) {
                java.io.BufferedReader v6_1 = new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(v2_1)));
                String v5 = v6_1.readLine();
                while (v5 != null) {
                    v5 = v6_1.readLine();
                }
            }
        } catch (Exception v1) {
            v1.printStackTrace();
        }
        return "";
    }

Method org.ksoap2.transport.HttpTransportSE.readDebug() calling method java.io.FileInputStream.<init>()


    private java.io.InputStream readDebug(java.io.InputStream p7, int p8, java.io.File p9)
    {
        int v0_2;
        if (p9 == null) {
            if (p8 <= 0) {
                p8 = 262144;
            }
            v0_2 = new java.io.ByteArrayOutputStream(p8);
        } else {
            v0_2 = new java.io.FileOutputStream(p9);
        }
        byte[] v1 = new byte[256];
        while(true) {
            int v2 = p7.read(v1, 0, 256);
            if (v2 == -1) {
                break;
            }
            v0_2.write(v1, 0, v2);
        }
        v0_2.flush();
        if ((v0_2 instanceof java.io.ByteArrayOutputStream)) {
            v1 = ((java.io.ByteArrayOutputStream) v0_2).toByteArray();
        }
        java.io.ByteArrayInputStream v3_5;
        this.responseDump = new String(v1);
        p7.close();
        if (p9 == null) {
            v3_5 = new java.io.ByteArrayInputStream(v1);
        } else {
            v3_5 = new java.io.FileInputStream(p9);
        }
        return v3_5;
    }

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


    public declared_synchronized com.google.android.gms.internal.zzb$zza zza(String p9)
    {
        try {
            int v0_3;
            int v0_5 = ((com.google.android.gms.internal.zzv$zza) this.zzbw.get(p9));
        } catch (int v0_7) {
            throw v0_7;
        }
        if (v0_5 != 0) {
            int v3_2 = this.zzf(p9);
            try {
                int v2_0 = new com.google.android.gms.internal.zzv$zzb(new java.io.FileInputStream(v3_2), 0);
                try {
                    com.google.android.gms.internal.zzv$zza.zzf(v2_0);
                    v0_3 = v0_5.zzb(com.google.android.gms.internal.zzv.zza(v2_0, ((int) (v3_2.length() - ((long) com.google.android.gms.internal.zzv$zzb.zza(v2_0))))));
                } catch (int v0_1) {
                    Object[] v5_2 = new Object[2];
                    v5_2[0] = v3_2.getAbsolutePath();
                    v5_2[1] = v0_1.toString();
                    com.google.android.gms.internal.zzs.zzb("%s: %s", v5_2);
                    this.remove(p9);
                    if (v2_0 != 0) {
                        try {
                            v2_0.close();
                        } catch (int v0) {
                            v0_3 = 0;
                            return v0_3;
                        }
                    }
                    v0_3 = 0;
                }
                if (v2_0 != 0) {
                    try {
                        v2_0.close();
                    } catch (int v0) {
                        v0_3 = 0;
                    }
                }
            } catch (int v0_2) {
                v2_0 = 0;
                if (v2_0 != 0) {
                    try {
                        v2_0.close();
                    } catch (int v0) {
                        v0_3 = 0;
                        return v0_3;
                    }
                }
                throw v0_2;
            } catch (int v0_1) {
                v2_0 = 0;
            } catch (int v0_2) {
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

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


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

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


    private boolean zzb(java.io.File p9, String p10)
    {
        String v0 = 0;
        java.io.FileOutputStream v4_7 = new Object[2];
        v4_7[0] = p9;
        v4_7[1] = p10;
        byte[] v2_0 = new java.io.File(String.format("%s/%s.tmp", v4_7));
        if (v2_0.exists()) {
            int v5_1 = new Object[2];
            v5_1[0] = p9;
            v5_1[1] = p10;
            int v3_2 = new java.io.File(String.format("%s/%s.dex", v5_1));
            if (!v3_2.exists()) {
                java.io.FileOutputStream v4_3 = v2_0.length();
                if (v4_3 > 0) {
                    java.io.FileOutputStream v4_5 = new byte[((int) v4_3)];
                    if (new java.io.FileInputStream(v2_0).read(v4_5) > 0) {
                        java.io.FileOutputStream v4_6 = com.google.android.gms.internal.zzae$zzd.zzd(v4_5);
                        if ((p10.equals(new String(v4_6.zzeu))) && ((java.util.Arrays.equals(v4_6.zzet, com.google.android.gms.internal.zzak.zzg(v4_6.data))) && (java.util.Arrays.equals(v4_6.zzev, android.os.Build$VERSION.SDK.getBytes())))) {
                            byte[] v2_3 = this.zzagi.zzc(this.zzagj, new String(v4_6.data));
                            v3_2.createNewFile();
                            java.io.FileOutputStream v4_10 = new java.io.FileOutputStream(v3_2);
                            v4_10.write(v2_3, 0, v2_3.length);
                            v4_10.close();
                            v0 = 1;
                        } else {
                            this.zza(v2_0);
                        }
                    } else {
                        android.util.Log.d(com.google.android.gms.internal.zzax.TAG, "Cannot read the cache data.");
                        this.zza(v2_0);
                    }
                } else {
                    this.zza(v2_0);
                }
            }
        }
        return v0;
    }

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


    private void zza(java.io.File p10, String p11)
    {
        java.io.IOException v1_5 = new Object[2];
        v1_5[0] = p10;
        v1_5[1] = p11;
        int v2_0 = new java.io.File(String.format("%s/%s.tmp", v1_5));
        if (!v2_0.exists()) {
            java.io.IOException v1_0 = new Object[2];
            v1_0[0] = p10;
            v1_0[1] = p11;
            java.io.File v3_1 = new java.io.File(String.format("%s/%s.dex", v1_0));
            if (v3_1.exists()) {
                java.io.IOException v1_1 = 0;
                java.io.FileOutputStream v4_1 = v3_1.length();
                if (v4_1 > 0) {
                    java.io.FileOutputStream v4_2 = new byte[((int) v4_1)];
                    try {
                        java.io.IOException v0_7 = new java.io.FileInputStream(v3_1);
                        try {
                            if (v0_7.read(v4_2) > 0) {
                                java.io.IOException v1_4 = new com.google.android.gms.internal.zzae$zzd();
                                v1_4.zzev = android.os.Build$VERSION.SDK.getBytes();
                                v1_4.zzeu = p11.getBytes();
                                java.io.FileOutputStream v4_4 = this.zzagi.zzd(this.zzagj, v4_2).getBytes();
                                v1_4.data = v4_4;
                                v1_4.zzet = com.google.android.gms.internal.zzak.zzg(v4_4);
                                v2_0.createNewFile();
                                java.io.FileOutputStream v4_7 = new java.io.FileOutputStream(v2_0);
                                java.io.IOException v1_6 = com.google.android.gms.internal.zzapv.zzf(v1_4);
                                v4_7.write(v1_6, 0, v1_6.length);
                                v4_7.close();
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            } else {
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            }
                        } catch (java.io.IOException v1_7) {
                            v1_1 = v0_7;
                            java.io.IOException v0_9 = v1_7;
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            this.zza(v3_1);
                            throw v0_9;
                        } catch (java.io.IOException v1) {
                            if (v0_7 != null) {
                                try {
                                    v0_7.close();
                                } catch (java.io.IOException v0) {
                                }
                            }
                            this.zza(v3_1);
                        } catch (java.io.IOException v1) {
                        } catch (java.io.IOException v1) {
                        }
                    } catch (java.io.IOException v0_9) {
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    }
                }
            }
        }
        return;
    }

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


    void zzb(String p6, com.google.android.gms.internal.zzacs p7)
    {
        com.google.android.gms.internal.zzwp.v("Starting to load a saved resource file from Disk.");
        try {
            String v0_7 = new java.io.FileInputStream(this.zzqg(p6));
        } catch (String v0) {
            String v0_3 = String.valueOf(this.zzqh(p6));
            if (v0_3.length() == 0) {
                String v0_5 = new String("Saved resource not found: ");
            } else {
                v0_5 = "Saved resource not found: ".concat(v0_3);
            }
            com.google.android.gms.internal.zzwp.e(v0_5);
            p7.zzv(0, 1);
            return;
        }
        if (v0_7 == null) {
            p7.zzv(0, 1);
            return;
        } else {
            p7.zzal(this.zzm(v0_7));
            return;
        }
    }

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


    public byte[] readFully()
    {
        java.io.IOException v0_0 = 0;
        if (!this.isClosed()) {
            v0_0 = 1;
        }
        com.google.android.gms.common.internal.zzab.zza(v0_0, "Must provide a previously opened Snapshot");
        try {
            String v2_1 = new java.io.FileInputStream(this.FU.getParcelFileDescriptor().getFileDescriptor());
            java.io.IOException v0_4 = new java.io.BufferedInputStream(v2_1);
        } catch (java.io.IOException v0_7) {
            throw v0_7;
        }
        v2_1.getChannel().position(0);
        java.io.IOException v0_5 = com.google.android.gms.common.util.zzo.zza(v0_4, 0);
        v2_1.getChannel().position(0);
        return v0_5;
    }

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


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

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


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

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


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

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 org.kobjects.xmlrpc.Driver.main() calling method java.io.FileReader.<init>()


    public static void main(String[] p4)
    {
        new org.kobjects.xmlrpc.XmlRpcParser(new org.kobjects.xml.XmlReader(new java.io.FileReader(p4[0]))).parseResponse();
        return;
    }

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


    private static String zzhc(int p5)
    {
        Throwable v0_0 = 0;
        try {
            String v2_1 = new java.io.BufferedReader(new java.io.FileReader(new StringBuilder(25).append("/proc/").append(p5).append("/cmdline").toString()));
            try {
                v0_0 = v2_1.readLine().trim();
            } catch (Exception v1_1) {
                android.util.Log.e("ProcessUtils", v1_1.getMessage(), v1_1);
                if (v2_1 == null) {
                    return v0_0;
                } else {
                    try {
                        v2_1.close();
                    } catch (Exception v1_5) {
                        android.util.Log.w("ProcessUtils", v1_5.getMessage(), v1_5);
                    }
                    return v0_0;
                }
            }
            if (v2_1 == null) {
                return v0_0;
            } else {
                try {
                    v2_1.close();
                } catch (Exception v1_7) {
                    android.util.Log.w("ProcessUtils", v1_7.getMessage(), v1_7);
                }
                return v0_0;
            }
        } catch (Exception v1_3) {
            v2_1 = 0;
            Throwable v0_1 = v1_3;
            if (v2_1 != null) {
                try {
                    v2_1.close();
                } catch (Exception v1_6) {
                    android.util.Log.w("ProcessUtils", v1_6.getMessage(), v1_6);
                }
            }
            throw v0_1;
        } catch (Exception v1_1) {
            v2_1 = 0;
        } catch (Throwable v0_1) {
        }
    }

Method register.ibl_locationtracking.DBHandler.CopyDataBaseFromAsset() calling method java.io.File.<init>()


    public void CopyDataBaseFromAsset()
    {
        java.io.InputStream v3 = register.ibl_locationtracking.DBHandler.myContext.getAssets().open("Locationtrack.sqlite");
        String v5 = register.ibl_locationtracking.DBHandler.getDatabasePath();
        java.io.File v1_0 = new java.io.File(new StringBuilder().append(register.ibl_locationtracking.DBHandler.myContext.getApplicationInfo().dataDir).append("/databases/").toString());
        if (!v1_0.exists()) {
            v1_0.mkdir();
        }
        java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(v5);
        byte[] v0 = new byte[1024];
        while(true) {
            int v2 = v3.read(v0);
            if (v2 <= 0) {
                break;
            }
            v4_1.write(v0, 0, v2);
        }
        v4_1.flush();
        v4_1.close();
        v3.close();
        return;
    }

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


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

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


    void run()
    {
        this.zzi(4, 0);
        this.bbK.reset();
        try {
            String v0_40;
            StringBuilder v2_1 = this.bbI.zzcxz().zza(this.bbI.zzcya(), this.bbO);
            this.bbK.zza(v2_1, 0);
            this.mResultCode = v2_1.getResultCode();
        } catch (String v0_35) {
            android.util.Log.e("FileDownloadTask", "Unable to create firebase storage network request.", v0_35);
            this.aDy = v0_35;
            this.zzi(64, 0);
            return;
        }
        if (v2_1.getException() == null) {
            v0_40 = this.aDy;
        } else {
            v0_40 = v2_1.getException();
        }
        String v1_19;
        this.aDy = v0_40;
        if ((!this.zzaff(this.mResultCode)) || ((this.aDy != null) || (this.zzcyc() != 4))) {
            v1_19 = 0;
        } else {
            v1_19 = 1;
        }
        if (v1_19 != null) {
            this.EQ = ((long) v2_1.zzcyz());
            String v0_50 = v2_1.zztl("ETag");
            if ((android.text.TextUtils.isEmpty(v0_50)) || ((this.bbN == null) || (this.bbN.equals(v0_50)))) {
                this.bbN = v0_50;
                String v3_9 = v2_1.getStream();
                if (v3_9 == null) {
                    this.aDy = new IllegalStateException("Unable to open Firebase Storage stream.");
                } else {
                    try {
                        byte[] v4_6 = new java.io.File(this.bbL.getPath());
                    } catch (String v0_17) {
                        android.util.Log.e("FileDownloadTask", "Exception occurred during file download", v0_17);
                        this.aDy = v0_17;
                    }
                    if (!v4_6.exists()) {
                        if (this.bbO <= 0) {
                            if (!v4_6.createNewFile()) {
                                String v0_1;
                                String v0_60 = String.valueOf(v4_6.getAbsolutePath());
                                if (v0_60.length() == 0) {
                                    v0_1 = new String("unable to create file:");
                                } else {
                                    v0_1 = "unable to create file:".concat(v0_60);
                                }
                                android.util.Log.w("FileDownloadTask", v0_1);
                            }
                        } else {
                            String v0_14;
                            String v0_12 = String.valueOf(v4_6.getAbsolutePath());
                            if (v0_12.length() == 0) {
                                v0_14 = new String("The file downloading to has been deleted:");
                            } else {
                                v0_14 = "The file downloading to has been deleted:".concat(v0_12);
                            }
                            android.util.Log.e("FileDownloadTask", v0_14);
                            throw new IllegalStateException("expected a file to resume from.");
                        }
                    }
                    String v0_4;
                    if (this.bbO <= 0) {
                        v0_4 = new java.io.FileOutputStream(v4_6);
                    } else {
                        String v0_8;
                        String v0_6 = String.valueOf(v4_6.getAbsolutePath());
                        if (v0_6.length() == 0) {
                            v0_8 = new String("Resuming download file ");
                        } else {
                            v0_8 = "Resuming download file ".concat(v0_6);
                        }
                        android.util.Log.d("FileDownloadTask", v0_8);
                        v0_4 = new java.io.FileOutputStream(v4_6, 1);
                    }
                    byte[] v4_1 = new byte[262144];
                    do {
                        boolean v5_2 = v3_9.read(v4_1);
                        if (v5_2 == -1) {
                            break;
                        }
                        v0_4.write(v4_1, 0, v5_2);
                        this.bbM = (this.bbM + ((long) v5_2));
                    } while(this.zzi(4, 0));
                    v0_4.flush();
                    v0_4.close();
                    v3_9.close();
                }
            } else {
                android.util.Log.w("FileDownloadTask", "The file at the server has changed.  Restarting from the beginning.");
                this.bbO = 0;
                this.bbN = 0;
                v2_1.zzcys();
                this.schedule();
                return;
            }
        }
        String v0_20;
        v2_1.zzcys();
        if ((v1_19 == null) || ((this.aDy != null) || (this.zzcyc() != 4))) {
            v0_20 = 0;
        } else {
            v0_20 = 1;
        }
        if (v0_20 == null) {
            String v0_23 = new java.io.File(this.bbL.getPath());
            if (!v0_23.exists()) {
                this.bbO = 0;
            } else {
                this.bbO = v0_23.length();
            }
            if (this.zzcyc() != 8) {
                String v0_28;
                if (this.zzcyc() != 32) {
                    v0_28 = 64;
                } else {
                    v0_28 = 256;
                }
                if (this.zzi(v0_28, 0)) {
                    return;
                } else {
                    android.util.Log.w("FileDownloadTask", new StringBuilder(62).append("Unable to change download task to final state from ").append(this.zzcyc()).toString());
                    return;
                }
            } else {
                this.zzi(16, 0);
                return;
            }
        } else {
            this.zzi(128, 0);
            return;
        }
    }

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


    private void zzkf(String p5)
    {
        String v1_5 = new java.io.File(com.google.android.gms.common.util.zzx.getNoBackupFilesDir(this.zzagf), p5);
        try {
            if ((!v1_5.exists()) && ((v1_5.createNewFile()) && (!this.isEmpty()))) {
                android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                com.google.firebase.iid.FirebaseInstanceId.zza(this.zzagf, this);
            }
        } catch (String v0_2) {
            if (!android.util.Log.isLoggable("InstanceID/Store", 3)) {
            } else {
                String v0_5 = String.valueOf(v0_2.getMessage());
                if (v0_5.length() == 0) {
                    String v0_7 = new String("Error creating file in no backup dir: ");
                    android.util.Log.d("InstanceID/Store", v0_7);
                } else {
                    v0_7 = "Error creating file in no backup dir: ".concat(v0_5);
                }
            }
        }
        return;
    }

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


    public void run()
    {
        if (android.util.Log.isLoggable("WearableClient", 2)) {
            android.util.Log.v("WearableClient", "Executing sendFileToChannelTask");
        }
        if ("file".equals(this.ard.getScheme())) {
            java.io.IOException v0_3 = new java.io.File(this.ard.getPath());
            try {
                String v3_0 = android.os.ParcelFileDescriptor.open(v0_3, 268435456);
                try {
                    ((com.google.android.gms.wearable.internal.zzax) this.aLb.zzasa()).zza(new com.google.android.gms.wearable.internal.zzbo$zzr(this.aLc), this.cj, v3_0, this.aJU, this.aJV);
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0_18) {
                        android.util.Log.w("WearableClient", "Failed to close sourceFd", v0_18);
                    }
                } catch (java.io.IOException v0_16) {
                    try {
                        v3_0.close();
                    } catch (String v1_15) {
                        android.util.Log.w("WearableClient", "Failed to close sourceFd", v1_15);
                    }
                    throw v0_16;
                } catch (java.io.IOException v0_13) {
                    android.util.Log.w("WearableClient", "Channel.sendFile failed.", v0_13);
                    this.aLc.zzz(new com.google.android.gms.common.api.Status(8));
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0_15) {
                        android.util.Log.w("WearableClient", "Failed to close sourceFd", v0_15);
                    }
                }
            } catch (String v1) {
                java.io.IOException v0_4 = String.valueOf(v0_3);
                android.util.Log.w("WearableClient", new StringBuilder((String.valueOf(v0_4).length() + 46)).append("File couldn\'t be opened for Channel.sendFile: ").append(v0_4).toString());
                this.aLc.zzz(new com.google.android.gms.common.api.Status(13));
            }
        } else {
            android.util.Log.w("WearableClient", "Channel.sendFile used with non-file URI");
            this.aLc.zzz(new com.google.android.gms.common.api.Status(10, "Channel.sendFile used with non-file URI"));
        }
        return;
    }

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


    public void run()
    {
        if (android.util.Log.isLoggable("WearableClient", 2)) {
            android.util.Log.v("WearableClient", "Executing receiveFileFromChannelTask");
        }
        if ("file".equals(this.ard.getScheme())) {
            java.io.IOException v0_5;
            String v1_3 = new java.io.File(this.ard.getPath());
            if (!this.aJT) {
                v0_5 = 0;
            } else {
                v0_5 = 33554432;
            }
            try {
                String v1_4 = android.os.ParcelFileDescriptor.open(v1_3, (v0_5 | 671088640));
                try {
                    ((com.google.android.gms.wearable.internal.zzax) this.aLb.zzasa()).zza(new com.google.android.gms.wearable.internal.zzbo$zzu(this.aLc), this.cj, v1_4);
                    try {
                        v1_4.close();
                    } catch (java.io.IOException v0_19) {
                        android.util.Log.w("WearableClient", "Failed to close targetFd", v0_19);
                    }
                } catch (java.io.IOException v0_17) {
                    try {
                        v1_4.close();
                    } catch (String v1_12) {
                        android.util.Log.w("WearableClient", "Failed to close targetFd", v1_12);
                    }
                    throw v0_17;
                } catch (java.io.IOException v0_14) {
                    android.util.Log.w("WearableClient", "Channel.receiveFile failed.", v0_14);
                    this.aLc.zzz(new com.google.android.gms.common.api.Status(8));
                    try {
                        v1_4.close();
                    } catch (java.io.IOException v0_16) {
                        android.util.Log.w("WearableClient", "Failed to close targetFd", v0_16);
                    }
                }
            } catch (java.io.IOException v0) {
                String v1_5 = String.valueOf(v1_4);
                android.util.Log.w("WearableClient", new StringBuilder((String.valueOf(v1_5).length() + 49)).append("File couldn\'t be opened for Channel.receiveFile: ").append(v1_5).toString());
                this.aLc.zzz(new com.google.android.gms.common.api.Status(13));
            }
        } else {
            android.util.Log.w("WearableClient", "Channel.receiveFile used with non-file URI");
            this.aLc.zzz(new com.google.android.gms.common.api.Status(10, "Channel.receiveFile used with non-file URI"));
        }
        return;
    }

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


    java.io.File zzccr()
    {
        String v0_1;
        java.io.File v1_2 = String.valueOf("resource_");
        String v0_3 = String.valueOf(this.auF);
        if (v0_3.length() == 0) {
            v0_1 = new String(v1_2);
        } else {
            v0_1 = v1_2.concat(v0_3);
        }
        return new java.io.File(this.mContext.getDir("google_tagmanager", 0), v0_1);
    }

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


    static boolean zzes(String p4)
    {
        int v0 = 0;
        if (com.google.android.gms.tagmanager.zzam.version() >= 9) {
            java.io.File v2_2 = new java.io.File(p4);
            v2_2.setReadable(0, 0);
            v2_2.setWritable(0, 0);
            v2_2.setReadable(1, 1);
            v2_2.setWritable(1, 1);
            v0 = 1;
        }
        return v0;
    }

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


    boolean zzbtx()
    {
        this.zzwu();
        try {
            int v0_12;
            this.all = new java.io.RandomAccessFile(new java.io.File(this.getContext().getFilesDir(), this.akY.zzaab()), "rw").getChannel();
            this.alk = this.all.tryLock();
        } catch (int v0_14) {
            this.zzbsd().zzbsv().zzj("Failed to acquire storage lock", v0_14);
            v0_12 = 0;
            return v0_12;
        } catch (int v0_13) {
            this.zzbsd().zzbsv().zzj("Failed to access storage lock file", v0_13);
        }
        if (this.alk == null) {
            this.zzbsd().zzbsv().log("Storage concurrent data access panic");
        } else {
            this.zzbsd().zzbtc().log("Storage concurrent access okay");
            v0_12 = 1;
            return v0_12;
        }
    }

Method com.google.android.gms.measurement.internal.zze$zzc.onCreate() calling method java.io.File.<init>()


    public void onCreate(android.database.sqlite.SQLiteDatabase p5)
    {
        if (android.os.Build$VERSION.SDK_INT >= 9) {
            java.io.File v0_2 = new java.io.File(p5.getPath());
            v0_2.setReadable(0, 0);
            v0_2.setWritable(0, 0);
            v0_2.setReadable(1, 1);
            v0_2.setWritable(1, 1);
        }
        return;
    }

Method register.ibl_locationtracking.CallSoap.WriteLog() calling method java.io.File.<init>()


    public void WriteLog(String p15)
    {
        try {
            java.io.File v0_1 = new java.io.File(register.ibl_locationtracking.CallSoap.LOCALDIRECTORY, "IBL_Tracking");
        } catch (java.io.IOException v4_2) {
            android.widget.Toast.makeText(this.getApplicationContext(), v4_2.toString(), 1).show();
            v4_2.printStackTrace();
            return;
        }
        if (!v0_1.exists()) {
            v0_1.mkdir();
        }
        java.text.SimpleDateFormat v6_0 = new java.text.SimpleDateFormat("ddMMyyyy");
        java.text.SimpleDateFormat v7_1 = new java.text.SimpleDateFormat("ddMMyyyy-hh:mm a");
        java.util.Date v8_1 = new java.util.Date();
        String v1 = v6_0.format(v8_1);
        String v2 = v7_1.format(v8_1);
        try {
            java.io.FileOutputStream v5_1 = new java.io.FileOutputStream(new java.io.File(v0_1, new StringBuilder().append(v1).append("_").append("Log.txt").toString()), 1);
            java.io.BufferedWriter v3_1 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(v5_1));
            v3_1.append(new StringBuilder().append(v2).append(" - ").append(p15).toString());
            v3_1.newLine();
            v3_1.close();
            v5_1.close();
        } catch (java.io.IOException v4_1) {
            v4_1.printStackTrace();
        } catch (java.io.IOException v4_0) {
            v4_0.printStackTrace();
        }
        return;
    }

Method register.ibl_locationtracking.CallSoap.ReadLog() calling method java.io.File.<init>()


    public String ReadLog(android.content.Context p9)
    {
        java.io.File v2_1 = new java.io.File(new java.io.File(p9.getApplicationInfo().dataDir), "Log.txt");
        try {
            if (v2_1.exists()) {
                java.io.BufferedReader v6_1 = new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(v2_1)));
                String v5 = v6_1.readLine();
                while (v5 != null) {
                    v5 = v6_1.readLine();
                }
            }
        } catch (Exception v1) {
            v1.printStackTrace();
        }
        return "";
    }

Method register.ibl_locationtracking.CallSoap.CreateLogfolder() calling method java.io.File.<init>()


    public void CreateLogfolder(android.content.Context p5)
    {
        try {
            this.WriteLog("Create Log Folder");
            java.io.File v1_1 = new java.io.File(register.ibl_locationtracking.CallSoap.LOCALDIRECTORY, "IBL_Tracking");
        } catch (Exception v0) {
            this.WriteLog(new StringBuilder().append("CallSoap CreateLogfolder Catch Error:").append(v0.getMessage().toString()).toString());
            throw v0;
        }
        if (!v1_1.exists()) {
            v1_1.mkdir();
        }
        return;
    }

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


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

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


    static boolean zzes(String p4)
    {
        int v0 = 0;
        if (com.google.android.gms.internal.zzwf.version() >= 9) {
            java.io.File v2_2 = new java.io.File(p4);
            v2_2.setReadable(0, 0);
            v2_2.setWritable(0, 0);
            v2_2.setReadable(1, 1);
            v2_2.setWritable(1, 1);
            v0 = 1;
        }
        return v0;
    }

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


    public java.io.File zzf(String p4)
    {
        return new java.io.File(this.zzby, this.zze(p4));
    }

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


    public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView p6, String p7)
    {
        if (this.zzcot != null) {
            this.zzcot.zzcj(p7);
        }
        try {
            android.webkit.WebResourceResponse v1_8;
            if ("mraid.js".equalsIgnoreCase(new java.io.File(p7).getName())) {
                if ((p6 instanceof com.google.android.gms.internal.zzlh)) {
                    String v2_6;
                    ((com.google.android.gms.internal.zzlh) p6).zzuj().zznx();
                    if (!((com.google.android.gms.internal.zzlh) p6).zzdn().zzaus) {
                        if (!((com.google.android.gms.internal.zzlh) p6).zzun()) {
                            v2_6 = ((String) com.google.android.gms.internal.zzdc.zzazb.get());
                        } else {
                            v2_6 = ((String) com.google.android.gms.internal.zzdc.zzazc.get());
                        }
                    } else {
                        v2_6 = ((String) com.google.android.gms.internal.zzdc.zzazd.get());
                    }
                    com.google.android.gms.internal.zzkd.v(new StringBuilder((String.valueOf(v2_6).length() + 24)).append("shouldInterceptRequest(").append(v2_6).append(")").toString());
                    v1_8 = this.zzd(((com.google.android.gms.internal.zzlh) p6).getContext(), this.zzbgf.zzum().zzcs, v2_6);
                    return v1_8;
                } else {
                    com.google.android.gms.internal.zzkd.zzcx("Tried to intercept request from a WebView that wasn\'t an AdWebView.");
                    v1_8 = super.shouldInterceptRequest(p6, p7);
                    return v1_8;
                }
            } else {
                v1_8 = super.shouldInterceptRequest(p6, p7);
                return v1_8;
            }
        } catch (android.webkit.WebResourceResponse v1_11) {
        } catch (android.webkit.WebResourceResponse v1_11) {
        } catch (android.webkit.WebResourceResponse v1_11) {
        } catch (android.webkit.WebResourceResponse v1_11) {
        }
        android.webkit.WebResourceResponse v1_13 = String.valueOf(v1_11.getMessage());
        if (v1_13.length() == 0) {
            android.webkit.WebResourceResponse v1_15 = new String("Could not fetch MRAID JS. ");
        } else {
            v1_15 = "Could not fetch MRAID JS. ".concat(v1_13);
        }
        com.google.android.gms.internal.zzkd.zzcx(v1_15);
        v1_8 = super.shouldInterceptRequest(p6, p7);
        return v1_8;
    }

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


    public boolean zzaz(String p27)
    {
        com.google.android.gms.internal.zzfg v2_30;
        if (this.zzbjr != null) {
            while (this.zzll() > ((Integer) com.google.android.gms.internal.zzdc.zzaym.get()).intValue()) {
                if (!this.zzlm()) {
                    com.google.android.gms.internal.zzkd.zzcx("Unable to expire stream cache");
                    this.zza(p27, 0, "expireFailed", 0);
                    v2_30 = 0;
                }
            }
            java.io.File v12_1 = new java.io.File(this.zzbjr, this.zzba(p27));
            java.io.File v13 = this.zzb(v12_1);
            if ((!v12_1.isFile()) || (!v13.isFile())) {
                String v8;
                String v3_23 = String.valueOf(this.zzbjr.getAbsolutePath());
                com.google.android.gms.internal.zzfg v2_66 = String.valueOf(p27);
                if (v2_66.length() == 0) {
                    v8 = new String(v3_23);
                } else {
                    v8 = v3_23.concat(v2_66);
                }
                try {
                    if (!com.google.android.gms.internal.zzfg.zzbjp.contains(v8)) {
                        com.google.android.gms.internal.zzfg.zzbjp.add(v8);
                        String v5_6 = 0;
                        String v4_7;
                        String v3_12;
                        String v3_34 = new java.net.URL(p27).openConnection();
                        com.google.android.gms.internal.zzfg v2_115 = ((Integer) com.google.android.gms.internal.zzdc.zzayr.get()).intValue();
                        v3_34.setConnectTimeout(v2_115);
                        v3_34.setReadTimeout(v2_115);
                        if ((v3_34 instanceof java.net.HttpURLConnection)) {
                            com.google.android.gms.internal.zzfg v2_119 = ((java.net.HttpURLConnection) v3_34).getResponseCode();
                            if (v2_119 >= 400) {
                                v4_7 = "badUrl";
                                try {
                                    String v3_28 = String.valueOf(Integer.toString(v2_119));
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                    v3_12 = 0;
                                    if ((v2_48 instanceof RuntimeException)) {
                                        com.google.android.gms.ads.internal.zzu.zzft().zzb(v2_48, 1);
                                    }
                                    try {
                                        v5_6.close();
                                    } catch (String v5) {
                                    } catch (String v5) {
                                    }
                                    if (!this.zzbjs) {
                                        com.google.android.gms.internal.zzkd.zzd(new StringBuilder((String.valueOf(p27).length() + 25)).append("Preload failed for URL \"").append(p27).append("\"").toString(), v2_48);
                                    } else {
                                        com.google.android.gms.internal.zzkd.zzcw(new StringBuilder((String.valueOf(p27).length() + 26)).append("Preload aborted for URL \"").append(p27).append("\"").toString());
                                    }
                                    if (v12_1.exists()) {
                                        if (!v12_1.delete()) {
                                            com.google.android.gms.internal.zzfg v2_88 = String.valueOf(v12_1.getAbsolutePath());
                                            if (v2_88.length() == 0) {
                                                com.google.android.gms.internal.zzfg v2_90 = new String("Could not delete partial cache file at ");
                                            } else {
                                                v2_90 = "Could not delete partial cache file at ".concat(v2_88);
                                            }
                                            com.google.android.gms.internal.zzkd.zzcx(v2_90);
                                        }
                                    }
                                    this.zza(p27, v12_1.getAbsolutePath(), v4_7, v3_12);
                                    com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                                    v2_30 = 0;
                                    return v2_30;
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                    v3_12 = 0;
                                }
                                if (v3_28.length() == 0) {
                                    v3_12 = new String("HTTP request failed. Code: ");
                                } else {
                                    v3_12 = "HTTP request failed. Code: ".concat(v3_28);
                                }
                                try {
                                    throw new java.io.IOException(new StringBuilder((String.valueOf(p27).length() + 32)).append("HTTP status code ").append(v2_119).append(" at ").append(p27).toString());
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                }
                            }
                        }
                        int v6_16 = v3_34.getContentLength();
                        if (v6_16 >= 0) {
                            String v4_19 = com.google.android.gms.internal.zzfg.zzbjq.format(((long) v6_16));
                            int v14_1 = ((Integer) com.google.android.gms.internal.zzdc.zzayn.get()).intValue();
                            if (v6_16 <= v14_1) {
                                com.google.android.gms.internal.zzkd.zzcv(new StringBuilder(((String.valueOf(v4_19).length() + 20) + String.valueOf(p27).length())).append("Caching ").append(v4_19).append(" bytes from ").append(p27).toString());
                                java.nio.channels.ReadableByteChannel v15 = java.nio.channels.Channels.newChannel(v3_34.getInputStream());
                                java.io.FileOutputStream v11_1 = new java.io.FileOutputStream(v12_1);
                                try {
                                    java.nio.channels.FileChannel v16 = v11_1.getChannel();
                                    java.nio.ByteBuffer v17 = java.nio.ByteBuffer.allocate(1048576);
                                    com.google.android.gms.common.util.zze v18 = com.google.android.gms.ads.internal.zzu.zzfu();
                                    String v5_0 = 0;
                                    long v20 = v18.currentTimeMillis();
                                    com.google.android.gms.internal.zzkr v19 = new com.google.android.gms.internal.zzkr;
                                    v19(((Long) com.google.android.gms.internal.zzdc.zzayq.get()).longValue());
                                    long v22 = ((Long) com.google.android.gms.internal.zzdc.zzayp.get()).longValue();
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                    v3_12 = 0;
                                    v4_7 = "error";
                                    v5_6 = v11_1;
                                }
                                do {
                                    com.google.android.gms.internal.zzfg v2_18 = v15.read(v17);
                                    if (v2_18 < null) {
                                        v11_1.close();
                                        if (com.google.android.gms.internal.zzkd.zzaz(3)) {
                                            com.google.android.gms.internal.zzfg v2_22 = com.google.android.gms.internal.zzfg.zzbjq.format(((long) v5_0));
                                            com.google.android.gms.internal.zzkd.zzcv(new StringBuilder(((String.valueOf(v2_22).length() + 22) + String.valueOf(p27).length())).append("Preloaded ").append(v2_22).append(" bytes from ").append(p27).toString());
                                        }
                                        v12_1.setReadable(1, 0);
                                        com.google.android.gms.internal.zzfg.zzc(v13);
                                        this.zza(p27, v12_1.getAbsolutePath(), v5_0);
                                        com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                                        v2_30 = 1;
                                    } else {
                                        v5_0 += v2_18;
                                        try {
                                            if (v5_0 <= v14_1) {
                                                v17.flip();
                                                while (v16.write(v17) > 0) {
                                                }
                                                v17.clear();
                                                if ((v18.currentTimeMillis() - v20) <= (1000 * v22)) {
                                                    if (!this.zzbjs) {
                                                    } else {
                                                        v4_7 = "externalAbort";
                                                        throw new java.io.IOException("abort requested");
                                                    }
                                                } else {
                                                    v4_7 = "downloadTimeout";
                                                    com.google.android.gms.internal.zzfg v2_42 = String.valueOf(Long.toString(v22));
                                                    v3_12 = new StringBuilder((String.valueOf(v2_42).length() + 29)).append("Timeout exceeded. Limit: ").append(v2_42).append(" sec").toString();
                                                    throw new java.io.IOException("stream cache time limit exceeded");
                                                }
                                            } else {
                                                v4_7 = "sizeExceeded";
                                                String v3_14 = String.valueOf(Integer.toString(v5_0));
                                                if (v3_14.length() == 0) {
                                                    v3_12 = new String("File too big for full file cache. Size: ");
                                                } else {
                                                    v3_12 = "File too big for full file cache. Size: ".concat(v3_14);
                                                }
                                                throw new java.io.IOException("stream cache file size limit exceeded");
                                            }
                                        } catch (com.google.android.gms.internal.zzfg v2_48) {
                                            v3_12 = 0;
                                            v5_6 = v11_1;
                                        } catch (com.google.android.gms.internal.zzfg v2_48) {
                                            v3_12 = 0;
                                            v5_6 = v11_1;
                                        } catch (com.google.android.gms.internal.zzfg v2_48) {
                                            v5_6 = v11_1;
                                        } catch (com.google.android.gms.internal.zzfg v2_48) {
                                            v5_6 = v11_1;
                                        }
                                    }
                                } while(!v19.tryAcquire());
                                this.zza(p27, v12_1.getAbsolutePath(), v5_0, v6_16, 0);
                            } else {
                                com.google.android.gms.internal.zzfg v2_63;
                                com.google.android.gms.internal.zzkd.zzcx(new StringBuilder(((String.valueOf(v4_19).length() + 33) + String.valueOf(p27).length())).append("Content length ").append(v4_19).append(" exceeds limit at ").append(p27).toString());
                                com.google.android.gms.internal.zzfg v2_61 = String.valueOf(v4_19);
                                if (v2_61.length() == 0) {
                                    v2_63 = new String("File too big for full file cache. Size: ");
                                } else {
                                    v2_63 = "File too big for full file cache. Size: ".concat(v2_61);
                                }
                                this.zza(p27, v12_1.getAbsolutePath(), "sizeExceeded", v2_63);
                                com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                                v2_30 = 0;
                            }
                        } else {
                            com.google.android.gms.internal.zzfg v2_68;
                            com.google.android.gms.internal.zzfg v2_65 = String.valueOf(p27);
                            if (v2_65.length() == 0) {
                                v2_68 = new String("Stream cache aborted, missing content-length header at ");
                            } else {
                                v2_68 = "Stream cache aborted, missing content-length header at ".concat(v2_65);
                            }
                            com.google.android.gms.internal.zzkd.zzcx(v2_68);
                            this.zza(p27, v12_1.getAbsolutePath(), "contentLengthMissing", 0);
                            com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                            v2_30 = 0;
                        }
                    } else {
                        com.google.android.gms.internal.zzfg v2_96;
                        com.google.android.gms.internal.zzfg v2_94 = String.valueOf(p27);
                        if (v2_94.length() == 0) {
                            v2_96 = new String("Stream cache already in progress at ");
                        } else {
                            v2_96 = "Stream cache already in progress at ".concat(v2_94);
                        }
                        com.google.android.gms.internal.zzkd.zzcx(v2_96);
                        this.zza(p27, v12_1.getAbsolutePath(), "inProgress", 0);
                        v2_30 = 0;
                    }
                } catch (com.google.android.gms.internal.zzfg v2_100) {
                    throw v2_100;
                }
            } else {
                com.google.android.gms.internal.zzfg v2_104;
                String v3_31 = ((int) v12_1.length());
                com.google.android.gms.internal.zzfg v2_102 = String.valueOf(p27);
                if (v2_102.length() == 0) {
                    v2_104 = new String("Stream cache hit at ");
                } else {
                    v2_104 = "Stream cache hit at ".concat(v2_102);
                }
                com.google.android.gms.internal.zzkd.zzcv(v2_104);
                this.zza(p27, v12_1.getAbsolutePath(), v3_31);
                v2_30 = 1;
            }
        } else {
            this.zza(p27, 0, "noCacheDir", 0);
            v2_30 = 0;
        }
        return v2_30;
    }

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


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

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


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

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


    public zzde(android.content.Context p5, String p6, String p7, java.util.Map p8)
    {
        this.zzbdt = new java.util.LinkedHashMap();
        this.zzbdu = new java.util.HashMap();
        this.mContext = p5;
        this.zzarj = p6;
        this.zzbdp = p7;
        this.zzbdv = new java.util.concurrent.atomic.AtomicBoolean(0);
        this.zzbdv.set(((Boolean) com.google.android.gms.internal.zzdc.zzazg.get()).booleanValue());
        if (this.zzbdv.get()) {
            java.util.Map v0_10 = android.os.Environment.getExternalStorageDirectory();
            if (v0_10 != null) {
                this.zzbdw = new java.io.File(v0_10, "sdk_csi_data.txt");
            }
        }
        com.google.android.gms.internal.zzdh v2_1 = p8.entrySet().iterator();
        while (v2_1.hasNext()) {
            java.util.Map v0_23 = ((java.util.Map$Entry) v2_1.next());
            this.zzbdt.put(((String) v0_23.getKey()), ((String) v0_23.getValue()));
        }
        this.zzbdr = new java.util.concurrent.ArrayBlockingQueue(30);
        this.zzbds = java.util.concurrent.Executors.newSingleThreadExecutor();
        this.zzbds.execute(new com.google.android.gms.internal.zzde$1(this));
        this.zzbdu.put("action", com.google.android.gms.internal.zzdh.zzbdz);
        this.zzbdu.put("ad_format", com.google.android.gms.internal.zzdh.zzbdz);
        this.zzbdu.put("e", com.google.android.gms.internal.zzdh.zzbea);
        return;
    }

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


    private void zzn(String p2)
    {
        this.zza(new java.io.File(p2));
        return;
    }

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


    private boolean zzb(java.io.File p9, String p10)
    {
        String v0 = 0;
        java.io.FileOutputStream v4_7 = new Object[2];
        v4_7[0] = p9;
        v4_7[1] = p10;
        byte[] v2_0 = new java.io.File(String.format("%s/%s.tmp", v4_7));
        if (v2_0.exists()) {
            int v5_1 = new Object[2];
            v5_1[0] = p9;
            v5_1[1] = p10;
            int v3_2 = new java.io.File(String.format("%s/%s.dex", v5_1));
            if (!v3_2.exists()) {
                java.io.FileOutputStream v4_3 = v2_0.length();
                if (v4_3 > 0) {
                    java.io.FileOutputStream v4_5 = new byte[((int) v4_3)];
                    if (new java.io.FileInputStream(v2_0).read(v4_5) > 0) {
                        java.io.FileOutputStream v4_6 = com.google.android.gms.internal.zzae$zzd.zzd(v4_5);
                        if ((p10.equals(new String(v4_6.zzeu))) && ((java.util.Arrays.equals(v4_6.zzet, com.google.android.gms.internal.zzak.zzg(v4_6.data))) && (java.util.Arrays.equals(v4_6.zzev, android.os.Build$VERSION.SDK.getBytes())))) {
                            byte[] v2_3 = this.zzagi.zzc(this.zzagj, new String(v4_6.data));
                            v3_2.createNewFile();
                            java.io.FileOutputStream v4_10 = new java.io.FileOutputStream(v3_2);
                            v4_10.write(v2_3, 0, v2_3.length);
                            v4_10.close();
                            v0 = 1;
                        } else {
                            this.zza(v2_0);
                        }
                    } else {
                        android.util.Log.d(com.google.android.gms.internal.zzax.TAG, "Cannot read the cache data.");
                        this.zza(v2_0);
                    }
                } else {
                    this.zza(v2_0);
                }
            }
        }
        return v0;
    }

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


    private void zza(java.io.File p10, String p11)
    {
        java.io.IOException v1_5 = new Object[2];
        v1_5[0] = p10;
        v1_5[1] = p11;
        int v2_0 = new java.io.File(String.format("%s/%s.tmp", v1_5));
        if (!v2_0.exists()) {
            java.io.IOException v1_0 = new Object[2];
            v1_0[0] = p10;
            v1_0[1] = p11;
            java.io.File v3_1 = new java.io.File(String.format("%s/%s.dex", v1_0));
            if (v3_1.exists()) {
                java.io.IOException v1_1 = 0;
                java.io.FileOutputStream v4_1 = v3_1.length();
                if (v4_1 > 0) {
                    java.io.FileOutputStream v4_2 = new byte[((int) v4_1)];
                    try {
                        java.io.IOException v0_7 = new java.io.FileInputStream(v3_1);
                        try {
                            if (v0_7.read(v4_2) > 0) {
                                java.io.IOException v1_4 = new com.google.android.gms.internal.zzae$zzd();
                                v1_4.zzev = android.os.Build$VERSION.SDK.getBytes();
                                v1_4.zzeu = p11.getBytes();
                                java.io.FileOutputStream v4_4 = this.zzagi.zzd(this.zzagj, v4_2).getBytes();
                                v1_4.data = v4_4;
                                v1_4.zzet = com.google.android.gms.internal.zzak.zzg(v4_4);
                                v2_0.createNewFile();
                                java.io.FileOutputStream v4_7 = new java.io.FileOutputStream(v2_0);
                                java.io.IOException v1_6 = com.google.android.gms.internal.zzapv.zzf(v1_4);
                                v4_7.write(v1_6, 0, v1_6.length);
                                v4_7.close();
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            } else {
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            }
                        } catch (java.io.IOException v1_7) {
                            v1_1 = v0_7;
                            java.io.IOException v0_9 = v1_7;
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            this.zza(v3_1);
                            throw v0_9;
                        } catch (java.io.IOException v1) {
                            if (v0_7 != null) {
                                try {
                                    v0_7.close();
                                } catch (java.io.IOException v0) {
                                }
                            }
                            this.zza(v3_1);
                        } catch (java.io.IOException v1) {
                        } catch (java.io.IOException v1) {
                        }
                    } catch (java.io.IOException v0_9) {
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    }
                }
            }
        }
        return;
    }

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


    private java.io.File zza(String p6, java.io.File p7, String p8)
    {
        java.io.FileOutputStream v2_4 = new Object[2];
        v2_4[0] = p7;
        v2_4[1] = p8;
        java.io.File v0_1 = new java.io.File(String.format("%s/%s.jar", v2_4));
        if (!v0_1.exists()) {
            byte[] v1_2 = this.zzagi.zzc(this.zzagj, p6);
            v0_1.createNewFile();
            java.io.FileOutputStream v2_2 = new java.io.FileOutputStream(v0_1);
            v2_2.write(v1_2, 0, v1_2.length);
            v2_2.close();
        }
        return v0_1;
    }

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


    java.io.File zzqg(String p4)
    {
        return new java.io.File(this.mContext.getDir("google_tagmanager", 0), this.zzqh(p4));
    }

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


    public static com.google.android.gms.internal.zzl zza(android.content.Context p6, com.google.android.gms.internal.zzy p7)
    {
        java.io.File v1_1 = new java.io.File(p6.getCacheDir(), "volley");
        try {
            com.google.android.gms.internal.zzl v2_7 = p6.getPackageName();
            android.net.http.AndroidHttpClient v0_1 = new StringBuilder((String.valueOf(v2_7).length() + 12)).append(v2_7).append("/").append(p6.getPackageManager().getPackageInfo(v2_7, 0).versionCode).toString();
        } catch (com.google.android.gms.internal.zzl v2) {
        }
        if (p7 == null) {
            if (android.os.Build$VERSION.SDK_INT < 9) {
                p7 = new com.google.android.gms.internal.zzw(android.net.http.AndroidHttpClient.newInstance(v0_1));
            } else {
                p7 = new com.google.android.gms.internal.zzz();
            }
        }
        com.google.android.gms.internal.zzl v2_6 = new com.google.android.gms.internal.zzl(new com.google.android.gms.internal.zzv(v1_1), new com.google.android.gms.internal.zzt(p7));
        v2_6.start();
        return v2_6;
    }

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


    private void zzkf(String p5)
    {
        String v1_5 = new java.io.File(com.google.android.gms.common.util.zzx.getNoBackupFilesDir(this.zzagf), p5);
        try {
            if ((!v1_5.exists()) && ((v1_5.createNewFile()) && (!this.isEmpty()))) {
                android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                com.google.android.gms.iid.InstanceIDListenerService.zza(this.zzagf, this);
            }
        } catch (String v0_2) {
            if (!android.util.Log.isLoggable("InstanceID/Store", 3)) {
            } else {
                String v0_5 = String.valueOf(v0_2.getMessage());
                if (v0_5.length() == 0) {
                    String v0_7 = new String("Error creating file in no backup dir: ");
                    android.util.Log.d("InstanceID/Store", v0_7);
                } else {
                    v0_7 = "Error creating file in no backup dir: ".concat(v0_5);
                }
            }
        }
        return;
    }

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


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

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


    public static boolean zzes(String p4)
    {
        int v0 = 0;
        if (com.google.android.gms.analytics.internal.zzx.version() >= 9) {
            java.io.File v2_2 = new java.io.File(p4);
            v2_2.setReadable(0, 0);
            v2_2.setWritable(0, 0);
            v2_2.setReadable(1, 1);
            v2_2.setWritable(1, 1);
            v0 = 1;
        }
        return v0;
    }

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


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

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


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

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


    public android.support.v4.provider.DocumentFile createFile(String p7, String p8)
    {
        String v1 = android.webkit.MimeTypeMap.getSingleton().getExtensionFromMimeType(p7);
        if (v1 != null) {
            p8 = new StringBuilder().append(p8).append(".").append(v1).toString();
        }
        java.io.File v2_1 = new java.io.File(this.mFile, p8);
        try {
            v2_1.createNewFile();
            int v3_5 = new android.support.v4.provider.RawDocumentFile(this, v2_1);
        } catch (java.io.IOException v0) {
            android.util.Log.w("DocumentFile", new StringBuilder().append("Failed to createFile: ").append(v0).toString());
            v3_5 = 0;
        }
        return v3_5;
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


    static java.util.List load(android.content.Context p18, java.io.File p19, java.io.File p20, String p21, boolean p22)
    {
        android.util.Log.i("MultiDex", new StringBuilder().append("MultiDexExtractor.load(").append(p19.getPath()).append(", ").append(p22).append(", ").append(p21).append(")").toString());
        long v8 = android.support.multidex.MultiDexExtractor.getZipCrc(p19);
        java.io.File v15_1 = new java.io.File(p20, "MultiDex.lock");
        java.io.RandomAccessFile v16 = new java.io.RandomAccessFile;
        v16(v15_1, "rw");
        java.nio.channels.FileLock v11 = 0;
        java.io.IOException v17 = 0;
        try {
            java.util.List v10;
            java.nio.channels.FileChannel v14 = v16.getChannel();
            android.util.Log.i("MultiDex", new StringBuilder().append("Blocking on lock ").append(v15_1.getPath()).toString());
            v11 = v14.lock();
            android.util.Log.i("MultiDex", new StringBuilder().append(v15_1.getPath()).append(" locked").toString());
        } catch (String v4_1) {
            if (v11 != null) {
                try {
                    v11.release();
                } catch (java.io.IOException v12_0) {
                    android.util.Log.e("MultiDex", new StringBuilder().append("Failed to release lock on ").append(v15_1.getPath()).toString());
                }
            }
            if (v14 != null) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v14);
            }
            android.support.multidex.MultiDexExtractor.closeQuietly(v16);
            throw v4_1;
        }
        if ((p22) || (android.support.multidex.MultiDexExtractor.isModified(p18, p19, v8, p21))) {
            android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
            v10 = android.support.multidex.MultiDexExtractor.performExtractions(p19, p20);
            android.support.multidex.MultiDexExtractor.putStoredApkInfo(p18, p21, android.support.multidex.MultiDexExtractor.getTimeStamp(p19), v8, v10);
        } else {
            try {
                v10 = android.support.multidex.MultiDexExtractor.loadExistingExtractions(p18, p19, p20, p21);
            } catch (java.io.IOException v13) {
                android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v13);
                v10 = android.support.multidex.MultiDexExtractor.performExtractions(p19, p20);
                android.support.multidex.MultiDexExtractor.putStoredApkInfo(p18, p21, android.support.multidex.MultiDexExtractor.getTimeStamp(p19), v8, v10);
            }
        }
        if (v11 != null) {
            try {
                v11.release();
            } catch (java.io.IOException v12_1) {
                android.util.Log.e("MultiDex", new StringBuilder().append("Failed to release lock on ").append(v15_1.getPath()).toString());
                v17 = v12_1;
            }
        }
        if (v14 != null) {
            android.support.multidex.MultiDexExtractor.closeQuietly(v14);
        }
        android.support.multidex.MultiDexExtractor.closeQuietly(v16);
        if (v17 == null) {
            android.util.Log.i("MultiDex", new StringBuilder().append("load found ").append(v10.size()).append(" secondary dex files").toString());
            return v10;
        } else {
            throw v17;
        }
    }

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


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

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


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

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

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


    private static java.io.File getDexDir(android.content.Context p5, java.io.File p6, String p7)
    {
        java.io.File v0_1 = new java.io.File(p6, "code_cache");
        try {
            android.support.multidex.MultiDex.mkdirChecked(v0_1);
        } catch (java.io.IOException v2) {
            v0_1 = new java.io.File(p5.getFilesDir(), "code_cache");
            android.support.multidex.MultiDex.mkdirChecked(v0_1);
        }
        java.io.File v1_1 = new java.io.File(v0_1, p7);
        android.support.multidex.MultiDex.mkdirChecked(v1_1);
        return v1_1;
    }

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


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

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


    public static okhttp3.internal.cache2.Relay read(java.io.File p21)
    {
        java.io.RandomAccessFile v13_1 = new java.io.RandomAccessFile(p21, "rw");
        okhttp3.internal.cache2.FileOperator v2_1 = new okhttp3.internal.cache2.FileOperator(v13_1.getChannel());
        okio.Buffer v5_1 = new okio.Buffer();
        v2_1.read(0, v5_1, 32);
        if (v5_1.readByteString(((long) okhttp3.internal.cache2.Relay.PREFIX_CLEAN.size())).equals(okhttp3.internal.cache2.Relay.PREFIX_CLEAN)) {
            long v15 = v5_1.readLong();
            long v10 = v5_1.readLong();
            okio.Buffer v9_1 = new okio.Buffer();
            v2_1.read((32 + v15), v9_1, v10);
            return new okhttp3.internal.cache2.Relay(v13_1, 0, v15, v9_1.readByteString(), 0);
        } else {
            throw new java.io.IOException("unreadable cache file");
        }
    }

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


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

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


    boolean zzbtx()
    {
        this.zzwu();
        try {
            int v0_12;
            this.all = new java.io.RandomAccessFile(new java.io.File(this.getContext().getFilesDir(), this.akY.zzaab()), "rw").getChannel();
            this.alk = this.all.tryLock();
        } catch (int v0_14) {
            this.zzbsd().zzbsv().zzj("Failed to acquire storage lock", v0_14);
            v0_12 = 0;
            return v0_12;
        } catch (int v0_13) {
            this.zzbsd().zzbsv().zzj("Failed to access storage lock file", v0_13);
        }
        if (this.alk == null) {
            this.zzbsd().zzbsv().log("Storage concurrent data access panic");
        } else {
            this.zzbsd().zzbtc().log("Storage concurrent access okay");
            v0_12 = 1;
            return v0_12;
        }
    }

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


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

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


    static java.util.List load(android.content.Context p18, java.io.File p19, java.io.File p20, String p21, boolean p22)
    {
        android.util.Log.i("MultiDex", new StringBuilder().append("MultiDexExtractor.load(").append(p19.getPath()).append(", ").append(p22).append(", ").append(p21).append(")").toString());
        long v8 = android.support.multidex.MultiDexExtractor.getZipCrc(p19);
        java.io.File v15_1 = new java.io.File(p20, "MultiDex.lock");
        java.io.RandomAccessFile v16 = new java.io.RandomAccessFile;
        v16(v15_1, "rw");
        java.nio.channels.FileLock v11 = 0;
        java.io.IOException v17 = 0;
        try {
            java.util.List v10;
            java.nio.channels.FileChannel v14 = v16.getChannel();
            android.util.Log.i("MultiDex", new StringBuilder().append("Blocking on lock ").append(v15_1.getPath()).toString());
            v11 = v14.lock();
            android.util.Log.i("MultiDex", new StringBuilder().append(v15_1.getPath()).append(" locked").toString());
        } catch (String v4_1) {
            if (v11 != null) {
                try {
                    v11.release();
                } catch (java.io.IOException v12_0) {
                    android.util.Log.e("MultiDex", new StringBuilder().append("Failed to release lock on ").append(v15_1.getPath()).toString());
                }
            }
            if (v14 != null) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v14);
            }
            android.support.multidex.MultiDexExtractor.closeQuietly(v16);
            throw v4_1;
        }
        if ((p22) || (android.support.multidex.MultiDexExtractor.isModified(p18, p19, v8, p21))) {
            android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
            v10 = android.support.multidex.MultiDexExtractor.performExtractions(p19, p20);
            android.support.multidex.MultiDexExtractor.putStoredApkInfo(p18, p21, android.support.multidex.MultiDexExtractor.getTimeStamp(p19), v8, v10);
        } else {
            try {
                v10 = android.support.multidex.MultiDexExtractor.loadExistingExtractions(p18, p19, p20, p21);
            } catch (java.io.IOException v13) {
                android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v13);
                v10 = android.support.multidex.MultiDexExtractor.performExtractions(p19, p20);
                android.support.multidex.MultiDexExtractor.putStoredApkInfo(p18, p21, android.support.multidex.MultiDexExtractor.getTimeStamp(p19), v8, v10);
            }
        }
        if (v11 != null) {
            try {
                v11.release();
            } catch (java.io.IOException v12_1) {
                android.util.Log.e("MultiDex", new StringBuilder().append("Failed to release lock on ").append(v15_1.getPath()).toString());
                v17 = v12_1;
            }
        }
        if (v14 != null) {
            android.support.multidex.MultiDexExtractor.closeQuietly(v14);
        }
        android.support.multidex.MultiDexExtractor.closeQuietly(v16);
        if (v17 == null) {
            android.util.Log.i("MultiDex", new StringBuilder().append("load found ").append(v10.size()).append(" secondary dex files").toString());
            return v10;
        } else {
            throw v17;
        }
    }

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


    public void run()
    {
        String v2_1 = new com.google.android.gms.internal.zzaly$zze();
        if (this.bbk != null) {
            v2_1.bbB = this.zza(this.bbk);
        }
        if (this.bbl != null) {
            v2_1.bbC = this.zza(this.bbl);
        }
        if (this.bbm != null) {
            v2_1.bbD = this.zza(this.bbm);
        }
        if (this.bbd != null) {
            int v0_8 = new com.google.android.gms.internal.zzaly$zzc();
            v0_8.bbx = this.bbd.getLastFetchStatus();
            v0_8.bby = this.bbd.isDeveloperModeEnabled();
            v2_1.bbE = v0_8;
        }
        if ((this.bbd != null) && (this.bbd.zzcxk() != null)) {
            int v3_1 = new java.util.ArrayList();
            java.util.Map v4 = this.bbd.zzcxk();
            java.util.Iterator v5 = v4.keySet().iterator();
            while (v5.hasNext()) {
                int v0_24 = ((String) v5.next());
                if (v4.get(v0_24) != null) {
                    com.google.android.gms.internal.zzaly$zzf v6_1 = new com.google.android.gms.internal.zzaly$zzf();
                    v6_1.zx = v0_24;
                    v6_1.bbH = ((com.google.android.gms.internal.zzals) v4.get(v0_24)).zzcxg();
                    v6_1.resourceId = ((com.google.android.gms.internal.zzals) v4.get(v0_24)).zzcxf();
                    v3_1.add(v6_1);
                }
            }
            int v0_17 = new com.google.android.gms.internal.zzaly$zzf[v3_1.size()];
            v2_1.bbF = ((com.google.android.gms.internal.zzaly$zzf[]) v3_1.toArray(v0_17));
        }
        int v0_20 = com.google.android.gms.internal.zzapv.zzf(v2_1);
        try {
            com.google.android.gms.internal.zzals v1_5 = this.mContext.openFileOutput("persisted_config", 0);
            v1_5.write(v0_20);
            v1_5.close();
        } catch (int v0_22) {
            android.util.Log.e("AsyncPersisterTask", "Could not persist config.", v0_22);
        }
        return;
    }

Method com.google.android.gms.analytics.internal.zzn.zzi() calling method android.content.Context.openFileOutput()


    private boolean zzi(android.content.Context p5, String p6)
    {
        java.io.IOException v0_0 = 0;
        com.google.android.gms.common.internal.zzab.zzhr(p6);
        com.google.android.gms.common.internal.zzab.zzhj("ClientId should be saved from worker thread");
        try {
            this.zza("Storing clientId", p6);
            String v2_0 = p5.openFileOutput("gaClientId", 0);
            v2_0.write(p6.getBytes());
        } catch (java.io.IOException v1_4) {
            this.zze("Error creating clientId file", v1_4);
            if (v2_0 == null) {
                return v0_0;
            } else {
                try {
                    v2_0.close();
                } catch (java.io.IOException v1_5) {
                    this.zze("Failed to close clientId writing stream", v1_5);
                }
                return v0_0;
            }
        } catch (java.io.IOException v1_1) {
            this.zze("Error writing to clientId file", v1_1);
            if (v2_0 == null) {
                return v0_0;
            } else {
                try {
                    v2_0.close();
                } catch (java.io.IOException v1_3) {
                    this.zze("Failed to close clientId writing stream", v1_3);
                }
                return v0_0;
            }
        } catch (java.io.IOException v0_1) {
            if (v2_0 != null) {
                try {
                    v2_0.close();
                } catch (java.io.IOException v1_6) {
                    this.zze("Failed to close clientId writing stream", v1_6);
                }
            }
            throw v0_1;
        }
        if (v2_0 != null) {
            try {
                v2_0.close();
            } catch (java.io.IOException v0_2) {
                this.zze("Failed to close clientId writing stream", v0_2);
            }
        }
        v0_0 = 1;
        return v0_0;
    }

Method com.google.android.gms.analytics.internal.zza.zzeg() calling method android.content.Context.openFileOutput()


    private boolean zzeg(String p6)
    {
        try {
            java.io.IOException v1_1 = com.google.android.gms.analytics.internal.zza.zzef(p6);
            this.zzeh("Storing hashed adid.");
            String v2_0 = this.getContext().openFileOutput("gaClientIdData", 0);
            v2_0.write(v1_1.getBytes());
            v2_0.close();
            this.zzcwe = v1_1;
        } catch (java.io.IOException v1_0) {
            this.zze("Error creating hash file", v1_0);
        }
        return 1;
    }

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


    public varargs Void doInBackground(Object[] p19)
    {
        java.util.List v4_1 = ((java.util.List) p19[0]);
        String v5_1 = ((String) p19[1]);
        try {
            java.io.FileOutputStream v3 = this.this$0.mContext.openFileOutput(v5_1, 0);
            org.xmlpull.v1.XmlSerializer v12 = android.util.Xml.newSerializer();
            try {
                v12.setOutput(v3, 0);
                v12.startDocument("UTF-8", Boolean.valueOf(1));
                v12.startTag(0, "historical-records");
                int v11 = v4_1.size();
                int v6 = 0;
            } catch (IllegalArgumentException v7) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v7);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 == null) {
                    java.io.IOException v13_3 = 0;
                    return v13_3;
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v13) {
                    }
                }
            } catch (IllegalStateException v9) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v9);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 == null) {
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v13) {
                    }
                }
            } catch (java.io.IOException v8) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v8);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 == null) {
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v13) {
                    }
                }
            } catch (java.io.IOException v13_2) {
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 != null) {
                    try {
                        v3.close();
                    } catch (int v14) {
                    }
                }
                throw v13_2;
            }
            while (v6 < v11) {
                android.support.v7.widget.ActivityChooserModel$HistoricalRecord v10_1 = ((android.support.v7.widget.ActivityChooserModel$HistoricalRecord) v4_1.remove(0));
                v12.startTag(0, "historical-record");
                v12.attribute(0, "activity", v10_1.activity.flattenToString());
                v12.attribute(0, "time", String.valueOf(v10_1.time));
                v12.attribute(0, "weight", String.valueOf(v10_1.weight));
                v12.endTag(0, "historical-record");
                v6++;
            }
            v12.endTag(0, "historical-records");
            v12.endDocument();
            this.this$0.mCanReadHistoricalData = 1;
            if (v3 == null) {
            } else {
                try {
                    v3.close();
                } catch (java.io.IOException v13) {
                }
            }
        } catch (java.io.FileNotFoundException v2) {
            android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(v5_1).toString(), v2);
            v13_3 = 0;
            return v13_3;
        }
    }