Info Call to External Storage API

Description

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

Recommendation

This entry is informative, no recommendations applicable.

Technical details

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


    boolean zzc(com.google.android.gms.internal.zzpx$zza p4)
    {
        String v0_0 = this.zzzo();
        try {
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v0_0);
            try {
                v2_1.write(com.google.android.gms.internal.zzrn.zzf(p4));
                try {
                    v2_1.close();
                    return 1;
                } catch (String v0) {
                    com.google.android.gms.tagmanager.zzbg.zzaC("error closing stream for writing resource to disk");
                    return 1;
                }
            } catch (String v4_5) {
                try {
                    v2_1.close();
                } catch (String v0) {
                    com.google.android.gms.tagmanager.zzbg.zzaC("error closing stream for writing resource to disk");
                }
                throw v4_5;
            } catch (String v4) {
                com.google.android.gms.tagmanager.zzbg.zzaC("Error writing resource to disk. Removing resource from disk.");
                v0_0.delete();
                try {
                    v2_1.close();
                    return 0;
                } catch (String v4) {
                    com.google.android.gms.tagmanager.zzbg.zzaC("error closing stream for writing resource to disk");
                    return 0;
                }
            }
            v2_1.close();
            return 1;
        } catch (String v4) {
            com.google.android.gms.tagmanager.zzbg.zzaz("Error opening resource file for writing");
            return 0;
        }
    }

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


    private static void zzl(android.content.Context p20)
    {
        try {
            java.io.File v1_17 = com.google.android.gms.internal.zzal.zznl.zzl(com.google.android.gms.internal.zzat.getKey());
            String v2_51 = com.google.android.gms.internal.zzal.zznl.zzc(v1_17, com.google.android.gms.internal.zzat.zzad());
            java.io.File v3_1 = p20.getCacheDir();
        } catch (Throwable v0_6) {
            throw new com.google.android.gms.internal.zzal$zza(v0_6);
        } catch (Throwable v0_5) {
            throw new com.google.android.gms.internal.zzal$zza(v0_5);
        } catch (Throwable v0_4) {
            throw new com.google.android.gms.internal.zzal$zza(v0_4);
        } catch (Throwable v0_3) {
            throw new com.google.android.gms.internal.zzal$zza(v0_3);
        } catch (Throwable v0_2) {
            throw new com.google.android.gms.internal.zzal$zza(v0_2);
        } catch (Throwable v0_1) {
            throw new com.google.android.gms.internal.zzal$zza(v0_1);
        }
        if (v3_1 != null) {
        } else {
            v3_1 = p20.getDir("dex", 0);
            if (v3_1 == null) {
                throw new com.google.android.gms.internal.zzal$zza();
            }
        }
        int v6_13 = java.io.File.createTempFile("ads", ".jar", v3_1);
        int v7_10 = new java.io.FileOutputStream(v6_13);
        v7_10.write(v2_51, 0, v2_51.length);
        v7_10.close();
        String v2_49 = new dalvik.system.DexClassLoader(v6_13.getAbsolutePath(), v3_1.getAbsolutePath(), 0, p20.getClassLoader());
        java.io.File v5_18 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzam()));
        int v7_14 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaA()));
        Class v8_4 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzau()));
        Class v9_3 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaq()));
        Class v10_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaC()));
        Class v11_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzao()));
        Class v12_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzay()));
        Class v13_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaw()));
        Class v14_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzak()));
        Class v15_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzai()));
        String v4_1 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzag()));
        java.io.File v16 = v3_1;
        java.io.File v17 = v6_13;
        Class v18 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzae()));
        java.io.File v19 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzas()));
        java.io.File v3_4 = new Class[0];
        com.google.android.gms.internal.zzal.zzmV = v5_18.getMethod(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzan()), v3_4);
        java.io.File v5_0 = new Class[0];
        com.google.android.gms.internal.zzal.zzmW = v7_14.getMethod(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaB()), v5_0);
        java.io.File v5_1 = new Class[0];
        com.google.android.gms.internal.zzal.zzmX = v8_4.getMethod(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzav()), v5_1);
        String v2_4 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzar());
        java.io.File v5_2 = new Class[1];
        v5_2[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zzmY = v9_3.getMethod(v2_4, v5_2);
        String v2_7 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaD());
        java.io.File v5_5 = new Class[2];
        v5_5[0] = android.view.MotionEvent;
        v5_5[1] = android.util.DisplayMetrics;
        com.google.android.gms.internal.zzal.zzmZ = v10_2.getMethod(v2_7, v5_5);
        String v2_10 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzap());
        java.io.File v5_6 = new Class[1];
        v5_6[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zzna = v11_2.getMethod(v2_10, v5_6);
        String v2_13 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaz());
        java.io.File v5_7 = new Class[1];
        v5_7[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznb = v12_2.getMethod(v2_13, v5_7);
        String v2_17 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzax());
        java.io.File v5_8 = new Class[1];
        v5_8[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznc = v13_2.getMethod(v2_17, v5_8);
        String v2_20 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzal());
        java.io.File v5_9 = new Class[1];
        v5_9[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznd = v14_2.getMethod(v2_20, v5_9);
        String v2_23 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaj());
        java.io.File v5_10 = new Class[1];
        v5_10[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zzne = v15_2.getMethod(v2_23, v5_10);
        String v2_26 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzah());
        java.io.File v5_11 = new Class[1];
        v5_11[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznf = v4_1.getMethod(v2_26, v5_11);
        String v2_29 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzat());
        String v4_3 = new Class[1];
        v4_3[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zzng = v19.getMethod(v2_29, v4_3);
        java.io.File v1_2 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaf());
        String v2_32 = new Class[1];
        v2_32[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznh = v18.getMethod(v1_2, v2_32);
        java.io.File v1_4 = v17;
        String v2_34 = v1_4.getName();
        v1_4.delete();
        new java.io.File(v16, v2_34.replace(".jar", ".dex")).delete();
        return;
    }

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


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

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


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

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


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

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


    private java.io.FileOutputStream zznd()
    {
        if (this.zzYo != null) {
            try {
                IllegalStateException v0_6 = java.io.File.createTempFile("teleporter", ".tmp", this.zzYo);
                try {
                    String v1_2 = new java.io.FileOutputStream(v0_6);
                    this.zzCZ = 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.zzCZ = android.os.ParcelFileDescriptor.open(v0_6, 268435456);
            v0_6.delete();
            return v1_2;
        } else {
            throw new IllegalStateException("setTempDir() must be called before writing this object to a parcel");
        }
    }

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


    void zzf(String p3, byte[] p4)
    {
        String v0_0 = this.zzfb(p3);
        try {
            String v1_2 = new java.io.FileOutputStream(v0_0);
            try {
                v1_2.write(p4);
            } catch (StringBuilder v4_4) {
                try {
                    v1_2.close();
                    String v0_3 = new StringBuilder();
                    v0_3.append("Resource ");
                    v0_3.append(p3);
                    v0_3.append(" saved on Disk.");
                    com.google.android.gms.tagmanager.zzbg.zzaB(v0_3.toString());
                } catch (String v3) {
                    com.google.android.gms.tagmanager.zzbg.zzaz("Error closing stream for writing resource to disk");
                }
                throw v4_4;
            } catch (StringBuilder v4) {
                com.google.android.gms.tagmanager.zzbg.zzaz("Error writing resource to disk. Removing resource from disk");
                v0_0.delete();
                v1_2.close();
                StringBuilder v4_3 = new StringBuilder();
                v4_3.append("Resource ");
                v4_3.append(p3);
                v4_3.append(" saved on Disk.");
                com.google.android.gms.tagmanager.zzbg.zzaB(v4_3.toString());
                return;
            } catch (String v3) {
                com.google.android.gms.tagmanager.zzbg.zzaz("Error closing stream for writing resource to disk");
                return;
            }
            v1_2.close();
            StringBuilder v4_6 = new StringBuilder();
            v4_6.append("Resource ");
            v4_6.append(p3);
            v4_6.append(" saved on Disk.");
            com.google.android.gms.tagmanager.zzbg.zzaB(v4_6.toString());
            return;
        } catch (String v3) {
            com.google.android.gms.tagmanager.zzbg.zzaz("Error opening resource file for writing");
            return;
        }
    }

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


    public boolean zzW(String p26)
    {
        void v1 = this;
        String v4_8 = 0;
        if (this.zzwH == null) {
            this.zza(p26, 0);
            return 0;
        }
        while (this.zzdQ() > ((Integer) com.google.android.gms.internal.zzbz.zztO.get()).intValue()) {
            if (!this.zzdR()) {
                com.google.android.gms.ads.internal.util.client.zzb.zzaC("Unable to expire stream cache");
                this.zza(p26, 0);
                return 0;
            }
        }
        java.io.File v6_4 = new java.io.File(this.zzwH, this.zzX(p26));
        java.io.IOException v3_13 = this.zza(v6_4);
        if ((!v6_4.isFile()) || (!v3_13.isFile())) {
            String v7_7 = new StringBuilder();
            v7_7.append(this.zzwH.getAbsolutePath());
            v7_7.append(p26);
            String v7_0 = v7_7.toString();
            if (!com.google.android.gms.internal.zzdr.zzwF.contains(v7_0)) {
                com.google.android.gms.internal.zzdr.zzwF.add(v7_0);
                try {
                    java.nio.channels.ReadableByteChannel v9_6 = new java.net.URL(p26).openConnection();
                    int v10_6 = ((Integer) com.google.android.gms.internal.zzbz.zztS.get()).intValue();
                    v9_6.setConnectTimeout(v10_6);
                    v9_6.setReadTimeout(v10_6);
                } catch (java.io.IOException v0_2) {
                    java.io.IOException v3_3 = v0_2;
                    try {
                        v4_8.close();
                    } catch (java.io.IOException v0) {
                    }
                    if (!v1.zzwI) {
                        String v4_17 = new StringBuilder();
                        v4_17.append("Preload failed for URL \"");
                        v4_17.append(p26);
                        v4_17.append("\"");
                        com.google.android.gms.ads.internal.util.client.zzb.zzd(v4_17.toString(), v3_3);
                    } else {
                        java.io.IOException v3_23 = new StringBuilder();
                        v3_23.append("Preload aborted for URL \"");
                        v3_23.append(p26);
                        v3_23.append("\"");
                        com.google.android.gms.ads.internal.util.client.zzb.zzaA(v3_23.toString());
                    }
                    if (v6_4.exists()) {
                        if (!v6_4.delete()) {
                            java.io.IOException v3_28 = new StringBuilder();
                            v3_28.append("Could not delete partial cache file at ");
                            v3_28.append(v6_4.getAbsolutePath());
                            com.google.android.gms.ads.internal.util.client.zzb.zzaC(v3_28.toString());
                        }
                    }
                    v1.zza(p26, v6_4);
                    com.google.android.gms.internal.zzdr.zzwF.remove(v7_0);
                    return 0;
                }
                if ((v9_6 instanceof java.net.HttpURLConnection)) {
                    int v10_10 = ((java.net.HttpURLConnection) v9_6).getResponseCode();
                    if (v10_10 >= 400) {
                        long v8_9 = new StringBuilder();
                        v8_9.append("HTTP status code ");
                        v8_9.append(v10_10);
                        v8_9.append(" at ");
                        v8_9.append(p26);
                        throw new java.io.IOException(v8_9.toString());
                    }
                }
                int v10_11 = v9_6.getContentLength();
                if (v10_11 >= 0) {
                    java.io.FileOutputStream v11_2 = com.google.android.gms.internal.zzdr.zzwG.format(((long) v10_11));
                    int v12_4 = ((Integer) com.google.android.gms.internal.zzbz.zztP.get()).intValue();
                    if (v10_11 <= v12_4) {
                        java.nio.ByteBuffer v13_2 = new StringBuilder();
                        v13_2.append("Caching ");
                        v13_2.append(v11_2);
                        v13_2.append(" bytes from ");
                        v13_2.append(p26);
                        com.google.android.gms.ads.internal.util.client.zzb.zzay(v13_2.toString());
                        java.nio.channels.ReadableByteChannel v9_8 = java.nio.channels.Channels.newChannel(v9_6.getInputStream());
                        java.io.FileOutputStream v11_6 = new java.io.FileOutputStream(v6_4);
                        try {
                            String v4_11 = v11_6.getChannel();
                            java.nio.ByteBuffer v13_0 = java.nio.ByteBuffer.allocate(1048576);
                            com.google.android.gms.internal.zzlb v14_0 = com.google.android.gms.ads.internal.zzo.zzbz();
                            long v15 = v14_0.currentTimeMillis();
                            long v17_0 = v9_8;
                            int v5_4 = new com.google.android.gms.internal.zzhq(((Long) com.google.android.gms.internal.zzbz.zztR.get()).longValue());
                            long v8_4 = ((Long) com.google.android.gms.internal.zzbz.zztQ.get()).longValue();
                            String v19 = v3_13;
                            String v18 = v7_0;
                            v7_0 = v17_0;
                            java.io.IOException v3_0 = 0;
                            try {
                                while(true) {
                                    long v17_1 = v7_0.read(v13_0);
                                    v4_11 = String v24;
                                }
                                v11_6.close();
                                if (com.google.android.gms.ads.internal.util.client.zzb.zzL(3)) {
                                    String v4_3 = com.google.android.gms.internal.zzdr.zzwG.format(((long) v3_0));
                                    int v5_6 = new StringBuilder();
                                    v5_6.append("Preloaded ");
                                    v5_6.append(v4_3);
                                    v5_6.append(" bytes from ");
                                    v5_6.append(p26);
                                    com.google.android.gms.ads.internal.util.client.zzb.zzay(v5_6.toString());
                                }
                                v6_4.setReadable(1, 0);
                                com.google.android.gms.internal.zzdr.zzb(v19);
                                v1 = v1.zza(p26, v6_4, v3_0);
                                v7_0 = v18;
                                com.google.android.gms.internal.zzdr.zzwF.remove(v7_0);
                                return 1;
                            } catch (java.io.IOException v0_0) {
                                v7_0 = v18;
                                v3_3 = v0_0;
                                v4_8 = v11_6;
                            }
                            if (v17_1 >= 0) {
                                v3_0 += v17_1;
                                if (v3_0 <= v12_4) {
                                    v13_0.flip();
                                    while (v4_11.write(v13_0) > 0) {
                                    }
                                    v13_0.clear();
                                    if ((v14_0.currentTimeMillis() - v15) <= (1000 * v8_4)) {
                                        v24 = v4_11;
                                        if (!v1.zzwI) {
                                            if (v5_4.tryAcquire()) {
                                                v1 = v1.zza(p26, v6_4, v3_0, v10_11);
                                            }
                                        } else {
                                            throw new java.io.IOException("abort requested");
                                        }
                                    } else {
                                        throw new java.io.IOException("stream cache time limit exceeded");
                                    }
                                } else {
                                    throw new java.io.IOException("stream cache file size limit exceeded");
                                }
                            }
                        } catch (java.io.IOException v0_0) {
                        }
                    } else {
                        java.io.IOException v3_12 = new StringBuilder();
                        v3_12.append("Content length ");
                        v3_12.append(v11_2);
                        v3_12.append(" exceeds limit at ");
                        v3_12.append(p26);
                        com.google.android.gms.ads.internal.util.client.zzb.zzaC(v3_12.toString());
                        v1 = this.zza(p26, v6_4);
                        com.google.android.gms.internal.zzdr.zzwF.remove(v7_0);
                        return 0;
                    }
                } else {
                    java.io.IOException v3_17 = new StringBuilder();
                    v3_17.append("Stream cache aborted, missing content-length header at ");
                    v3_17.append(p26);
                    com.google.android.gms.ads.internal.util.client.zzb.zzaC(v3_17.toString());
                    v1 = this.zza(p26, v6_4);
                    com.google.android.gms.internal.zzdr.zzwF.remove(v7_0);
                    return 0;
                }
            } else {
                java.io.IOException v3_31 = new StringBuilder();
                v3_31.append("Stream cache already in progress at ");
                v3_31.append(p26);
                com.google.android.gms.ads.internal.util.client.zzb.zzaC(v3_31.toString());
                this.zza(p26, v6_4);
                return 0;
            }
        } else {
            java.io.IOException v3_34 = ((int) v6_4.length());
            String v4_25 = new StringBuilder();
            v4_25.append("Stream cache hit at ");
            v4_25.append(p26);
            com.google.android.gms.ads.internal.util.client.zzb.zzay(v4_25.toString());
            this.zza(p26, v6_4, v3_34);
            return 1;
        }
    }

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


    private void zza(java.io.File p4, String p5)
    {
        if (p4 == null) {
            com.google.android.gms.ads.internal.util.client.zzb.zzaC("CsiReporter: File doesn\'t exists. Cannot write CSI data to file.");
        } else {
            String v0_0 = 0;
            try {
                java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p4, 1);
                try {
                    v1_1.write(p5.getBytes());
                    v1_1.write(10);
                } catch (java.io.IOException v4_4) {
                    v0_0 = v1_1;
                    if (v0_0 != null) {
                        try {
                            v0_0.close();
                        } catch (java.io.IOException v5_2) {
                            com.google.android.gms.ads.internal.util.client.zzb.zzd("CsiReporter: Cannot close file: sdk_csi_data.txt.", v5_2);
                        }
                    }
                    throw v4_4;
                } catch (java.io.IOException v4_3) {
                    v0_0 = v1_1;
                    com.google.android.gms.ads.internal.util.client.zzb.zzd("CsiReporter: Cannot write to file: sdk_csi_data.txt.", v4_3);
                    if (v0_0 != null) {
                        v0_0.close();
                        return;
                    }
                }
                if (v1_1 != null) {
                    v1_1.close();
                    return;
                }
            } catch (java.io.IOException v4_4) {
            } catch (java.io.IOException v4_3) {
            } catch (java.io.IOException v4_5) {
                com.google.android.gms.ads.internal.util.client.zzb.zzd("CsiReporter: Cannot close file: sdk_csi_data.txt.", v4_5);
                return;
            }
        }
        return;
    }

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)) {
                    java.io.FileNotFoundException v1_2 = new StringBuilder();
                    v1_2.append("Couldn\'t rename file ");
                    v1_2.append(this.mBaseName);
                    v1_2.append(" to backup file ");
                    v1_2.append(this.mBackupName);
                    android.util.Log.w("AtomicFile", v1_2.toString());
                }
            }
        }
        try {
            java.io.FileOutputStream v0_5 = new java.io.FileOutputStream(this.mBaseName);
        } catch (java.io.FileNotFoundException v1) {
            if (this.mBaseName.getParentFile().mkdir()) {
                try {
                    v0_5 = new java.io.FileOutputStream(this.mBaseName);
                } catch (java.io.FileNotFoundException v3) {
                    String v5_1 = new StringBuilder();
                    v5_1.append("Couldn\'t create ");
                    v5_1.append(this.mBaseName);
                    throw new java.io.IOException(v5_1.toString());
                }
            } else {
                java.io.IOException v4_4 = new StringBuilder();
                v4_4.append("Couldn\'t create directory ");
                v4_4.append(this.mBaseName);
                throw new java.io.IOException(v4_4.toString());
            }
        }
        return v0_5;
    }

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


    public void onWrite(android.print.PageRange[] p9, android.os.ParcelFileDescriptor p10, android.os.CancellationSignal p11, android.print.PrintDocumentAdapter$WriteResultCallback p12)
    {
        android.print.pdf.PrintedPdfDocument v0_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.mAttributes);
        try {
            java.io.IOException v2_1 = v0_1.startPage(1);
            v2_1.getCanvas().drawBitmap(this.mBitmap, android.support.v4.print.PrintHelperKitkat.access$000(this.this$0, this.mBitmap.getWidth(), this.mBitmap.getHeight(), new android.graphics.RectF(v2_1.getInfo().getContentRect()), this.val$fittingMode), 0);
            v0_1.finishPage(v2_1);
        } catch (java.io.IOException v1_4) {
            if (v0_1 != null) {
                v0_1.close();
            }
            if (p10 != null) {
                try {
                    p10.close();
                } catch (java.io.IOException v2) {
                }
            }
            throw v1_4;
        }
        try {
            v0_1.writeTo(new java.io.FileOutputStream(p10.getFileDescriptor()));
            java.io.IOException v1_2 = new android.print.PageRange[1];
            v1_2[0] = android.print.PageRange.ALL_PAGES;
            p12.onWriteFinished(v1_2);
        } catch (java.io.IOException v1_3) {
            android.util.Log.e("PrintHelperKitkat", "Error writing printed content", v1_3);
            p12.onWriteFailed(0);
        }
        if (v0_1 != null) {
            v0_1.close();
        }
        if (p10 != null) {
            try {
                p10.close();
            } catch (java.io.IOException v1) {
            }
        }
        return;
    }

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


    public void onWrite(android.print.PageRange[] p9, android.os.ParcelFileDescriptor p10, android.os.CancellationSignal p11, android.print.PrintDocumentAdapter$WriteResultCallback p12)
    {
        android.print.pdf.PrintedPdfDocument v0_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.mAttributes);
        try {
            java.io.IOException v2_1 = v0_1.startPage(1);
            v2_1.getCanvas().drawBitmap(this.val$bitmap, android.support.v4.print.PrintHelperKitkat.access$000(this.this$0, this.val$bitmap.getWidth(), this.val$bitmap.getHeight(), new android.graphics.RectF(v2_1.getInfo().getContentRect()), this.val$fittingMode), 0);
            v0_1.finishPage(v2_1);
        } catch (java.io.IOException v1_4) {
            if (v0_1 != null) {
                v0_1.close();
            }
            if (p10 != null) {
                try {
                    p10.close();
                } catch (java.io.IOException v2) {
                }
            }
            throw v1_4;
        }
        try {
            v0_1.writeTo(new java.io.FileOutputStream(p10.getFileDescriptor()));
            java.io.IOException v1_2 = new android.print.PageRange[1];
            v1_2[0] = android.print.PageRange.ALL_PAGES;
            p12.onWriteFinished(v1_2);
        } catch (java.io.IOException v1_3) {
            android.util.Log.e("PrintHelperKitkat", "Error writing printed content", v1_3);
            p12.onWriteFailed(0);
        }
        if (v0_1 != null) {
            v0_1.close();
        }
        if (p10 != null) {
            try {
                p10.close();
            } catch (java.io.IOException v1) {
            }
        }
        return;
    }

Method com.android.insecurebankv2.DoTransfer$RequestDoTransferTask$1.run() calling method java.io.FileWriter.<init>()


    public void run()
    {
        this.this$1.AsyncHttpTransferPost("result");
        if (this.this$1.this$0.result != null) {
            if (this.this$1.this$0.result.indexOf("Success") == -1) {
                com.marcohc.toasteroid.Toasteroid.show(this.this$1.this$0, "Transfer Failed!!", com.marcohc.toasteroid.Toasteroid$STYLES.ERROR, 0);
                java.io.IOException v1_25 = new StringBuilder();
                v1_25.append("Message:Failure From:");
                v1_25.append(this.this$1.this$0.from.getText().toString());
                v1_25.append(" To:");
                v1_25.append(this.this$1.this$0.to.getText().toString());
                v1_25.append(" Amount:");
                v1_25.append(this.this$1.this$0.amount.getText().toString());
                System.out.println(v1_25.toString());
                java.io.IOException v1_30 = new StringBuilder();
                v1_30.append("\nMessage:Failure From:");
                v1_30.append(this.this$1.this$0.from.getText().toString());
                v1_30.append(" To:");
                v1_30.append(this.this$1.this$0.to.getText().toString());
                v1_30.append(" Amount:");
                v1_30.append(this.this$1.this$0.amount.getText().toString());
                v1_30.append("\n");
                org.json.JSONException v0_24 = new String(v1_30.toString());
                java.io.IOException v1_33 = new StringBuilder();
                v1_33.append(android.os.Environment.getExternalStorageDirectory());
                v1_33.append("/Statements_");
                v1_33.append(this.this$1.this$0.usernameBase64ByteString);
                v1_33.append(".html");
                try {
                    java.io.IOException v2_0 = new java.io.BufferedWriter(new java.io.FileWriter(v1_33.toString(), 1));
                    v2_0.write(v0_24);
                    v2_0.write("<hr>");
                    v2_0.close();
                } catch (java.io.IOException v2_1) {
                    v2_1.toString();
                }
            } else {
                com.marcohc.toasteroid.Toasteroid.show(this.this$1.this$0, "Transfer Successful!!", com.marcohc.toasteroid.Toasteroid$STYLES.SUCCESS, 0);
                try {
                    this.this$1.this$0.jsonObject = new org.json.JSONObject(this.this$1.this$0.result);
                    this.this$1.this$0.acc1 = this.this$1.this$0.jsonObject.getString("from");
                    this.this$1.this$0.acc2 = this.this$1.this$0.jsonObject.getString("to");
                    java.io.IOException v1_16 = new StringBuilder();
                    v1_16.append("Message:");
                    v1_16.append(this.this$1.this$0.jsonObject.getString("message"));
                    v1_16.append(" From:");
                    v1_16.append(this.this$1.this$0.from.getText().toString());
                    v1_16.append(" To:");
                    v1_16.append(this.this$1.this$0.to.getText().toString());
                    v1_16.append(" Amount:");
                    v1_16.append(this.this$1.this$0.amount.getText().toString());
                    System.out.println(v1_16.toString());
                    java.io.IOException v1_20 = new StringBuilder();
                    v1_20.append("\nMessage:Success From:");
                    v1_20.append(this.this$1.this$0.from.getText().toString());
                    v1_20.append(" To:");
                    v1_20.append(this.this$1.this$0.to.getText().toString());
                    v1_20.append(" Amount:");
                    v1_20.append(this.this$1.this$0.amount.getText().toString());
                    v1_20.append("\n");
                    org.json.JSONException v0_15 = new String(v1_20.toString());
                    try {
                        java.io.IOException v1_24 = new StringBuilder();
                        v1_24.append(android.os.Environment.getExternalStorageDirectory());
                        v1_24.append("/Statements_");
                        v1_24.append(this.this$1.this$0.usernameBase64ByteString);
                        v1_24.append(".html");
                        java.io.IOException v2_3 = new java.io.BufferedWriter(new java.io.FileWriter(v1_24.toString(), 1));
                        v2_3.write(v0_15);
                        v2_3.write("<hr>");
                        v2_3.close();
                    } catch (java.io.IOException v1_27) {
                        v1_27.toString();
                    }
                } catch (org.json.JSONException v0_16) {
                    v0_16.printStackTrace();
                }
            }
        }
        return;
    }

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


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

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


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

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


    void zzzn()
    {
        if (this.zzaMU != null) {
            this.zzaMU.zzyv();
            com.google.android.gms.tagmanager.zzbg.zzaB("Attempting to load resource from disk");
            if (((com.google.android.gms.tagmanager.zzcb.zzzf().zzzg() != com.google.android.gms.tagmanager.zzcb$zza.zzaMJ) && (com.google.android.gms.tagmanager.zzcb.zzzf().zzzg() != com.google.android.gms.tagmanager.zzcb$zza.zzaMK)) || (!this.zzaKy.equals(com.google.android.gms.tagmanager.zzcb.zzzf().getContainerId()))) {
                try {
                    String v0_7 = new java.io.FileInputStream(this.zzzo());
                    try {
                        String v1_7 = new java.io.ByteArrayOutputStream();
                        com.google.android.gms.internal.zzqf.zzc(v0_7, v1_7);
                        String v1_9 = com.google.android.gms.internal.zzpx$zza.zzs(v1_7.toByteArray());
                        this.zzd(v1_9);
                        this.zzaMU.zzz(v1_9);
                    } catch (String v1_14) {
                        try {
                            v0_7.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzbg.zzaC("Error closing stream for reading resource from disk");
                        }
                        throw v1_14;
                    } catch (String v1) {
                        this.zzaMU.zza(com.google.android.gms.tagmanager.zzbf$zza.zzaMj);
                        com.google.android.gms.tagmanager.zzbg.zzaC("Failed to read the resource from disk");
                        v0_7.close();
                        com.google.android.gms.tagmanager.zzbg.zzaB("The Disk resource was successfully read.");
                        return;
                    } catch (String v1) {
                        this.zzaMU.zza(com.google.android.gms.tagmanager.zzbf$zza.zzaMj);
                        com.google.android.gms.tagmanager.zzbg.zzaC("Failed to read the resource from disk. The resource is inconsistent");
                        v0_7.close();
                        com.google.android.gms.tagmanager.zzbg.zzaB("The Disk resource was successfully read.");
                        return;
                    } catch (String v0) {
                        com.google.android.gms.tagmanager.zzbg.zzaC("Error closing stream for reading resource from disk");
                        com.google.android.gms.tagmanager.zzbg.zzaB("The Disk resource was successfully read.");
                        return;
                    }
                    v0_7.close();
                    com.google.android.gms.tagmanager.zzbg.zzaB("The Disk resource was successfully read.");
                    return;
                } catch (String v0) {
                    com.google.android.gms.tagmanager.zzbg.zzay("Failed to find the resource in the disk");
                    this.zzaMU.zza(com.google.android.gms.tagmanager.zzbf$zza.zzaMi);
                    return;
                }
            } else {
                this.zzaMU.zza(com.google.android.gms.tagmanager.zzbf$zza.zzaMi);
                return;
            }
        } else {
            throw new IllegalStateException("Callback must be set before execute");
        }
    }

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


    public declared_synchronized void zza()
    {
        try {
            java.io.IOException v1 = 0;
        } catch (Throwable v0_7) {
            throw v0_7;
        }
        if (this.zzaz.exists()) {
            Throwable v0_8 = this.zzaz.listFiles();
            if (v0_8 != null) {
                int v2_2 = v0_8.length;
                while (v1 < v2_2) {
                    java.io.IOException v3_0 = v0_8[v1];
                    java.io.IOException v4_0 = 0;
                    try {
                        java.io.IOException v5_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v3_0));
                        try {
                            java.io.IOException v4_1 = com.google.android.gms.internal.zzv$zza.zzf(v5_1);
                            v4_1.zzaB = v3_0.length();
                            this.zza(v4_1.zzaC, v4_1);
                        } catch (Throwable v0_2) {
                            v4_0 = v5_1;
                            if (v4_0 != null) {
                                try {
                                    v4_0.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            throw v0_2;
                        } catch (java.io.IOException v4) {
                            v4_0 = v5_1;
                            if (v3_0 != null) {
                                v3_0.delete();
                            }
                            if (v4_0 == null) {
                                v1++;
                            } else {
                                v4_0.close();
                            }
                        }
                        if (v5_1 == null) {
                        } else {
                            v5_1.close();
                        }
                    } catch (Throwable v0_2) {
                    } catch (java.io.IOException v5) {
                    } catch (java.io.IOException v3) {
                    }
                }
                return;
            } else {
                return;
            }
        } else {
            if (!this.zzaz.mkdirs()) {
                int v2_1 = new Object[1];
                v2_1[0] = this.zzaz.getAbsolutePath();
                com.google.android.gms.internal.zzs.zzc("Unable to create cache dir %s", v2_1);
            }
            return;
        }
    }

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 p11)
    {
        try {
            java.io.IOException v0_4 = ((com.google.android.gms.internal.zzv$zza) this.zzax.get(p11));
        } catch (java.io.IOException v11_2) {
            throw v11_2;
        }
        if (v0_4 != null) {
            int v2_2 = this.zzf(p11);
            try {
                int v3_0 = new com.google.android.gms.internal.zzv$zzb(new java.io.FileInputStream(v2_2), 0);
                try {
                    com.google.android.gms.internal.zzv$zza.zzf(v3_0);
                    java.io.IOException v0_3 = v0_4.zzb(com.google.android.gms.internal.zzv.zza(v3_0, ((int) (v2_2.length() - ((long) com.google.android.gms.internal.zzv$zzb.zza(v3_0))))));
                } catch (java.io.IOException v0_1) {
                    Object[] v5_1 = new Object[2];
                    v5_1[0] = v2_2.getAbsolutePath();
                    v5_1[1] = v0_1.toString();
                    com.google.android.gms.internal.zzs.zzb("%s: %s", v5_1);
                    this.remove(p11);
                    if (v3_0 != 0) {
                        try {
                            v3_0.close();
                        } catch (java.io.IOException v11) {
                            return 0;
                        }
                    }
                    return 0;
                }
                if (v3_0 != 0) {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v11) {
                        return 0;
                    }
                }
                return v0_3;
            } catch (java.io.IOException v11_1) {
                v3_0 = 0;
                if (v3_0 != 0) {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v11) {
                        return 0;
                    }
                }
                throw v11_1;
            } catch (java.io.IOException v0_1) {
                v3_0 = 0;
            } catch (java.io.IOException v11_1) {
            }
        } else {
            return 0;
        }
    }

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


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

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.zzYZ.getFileDescriptor());
    }

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


    void zzb(String p8, Integer p9, com.google.android.gms.internal.zzqb p10, com.google.android.gms.internal.zzqg p11)
    {
        com.google.android.gms.tagmanager.zzbg.zzaB("DiskLoader: Starting to load resource from Disk.");
        try {
            Integer v3_2 = p10.zzt(this.zzm(new java.io.FileInputStream(this.zzfb(p8))));
        } catch (com.google.android.gms.internal.zzqg v0) {
            com.google.android.gms.internal.zzqg v0_2 = new StringBuilder();
            com.google.android.gms.common.api.Status v1_0 = "Saved resource not found: ";
            v0_2.append(v1_0);
            v0_2.append(this.zzfc(p8));
            com.google.android.gms.tagmanager.zzbg.zzaz(v0_2.toString());
            if (p9 != null) {
                try {
                    String v8_5 = this.mContext.getResources().openRawResource(p9.intValue());
                } catch (String v8) {
                    String v8_8 = new StringBuilder();
                    String v10_1 = "Default resource not found. ID: ";
                    v8_8.append(v10_1);
                    v8_8.append(p9);
                    com.google.android.gms.tagmanager.zzbg.zzaz(v8_8.toString());
                } catch (String v8) {
                    v8_8 = new StringBuilder();
                    v10_1 = "Default resource resource is corrupted: ";
                }
                if (v8_5 != null) {
                    Object v2_0 = p10.zzt(this.zzm(v8_5));
                    if (v2_0 != null) {
                        String v8_12 = new StringBuilder();
                        v8_12.append("Default resource loaded: ");
                        v8_12.append(this.mContext.getResources().getResourceEntryName(p9.intValue()));
                        com.google.android.gms.tagmanager.zzbg.zzaB(v8_12.toString());
                        p11.zza(com.google.android.gms.common.api.Status.zzXP, v2_0, com.google.android.gms.internal.zzqh.zzaPM, 0);
                        return;
                    }
                }
            }
            p11.zza(com.google.android.gms.common.api.Status.zzXR, 0, 0, 0);
            return;
        } catch (com.google.android.gms.internal.zzqg v0) {
            v0_2 = new StringBuilder();
            v1_0 = "Saved resource is corrupted: ";
        }
        if (v3_2 == null) {
        } else {
            com.google.android.gms.internal.zzqg v0_12 = new StringBuilder();
            v0_12.append("Saved resource loaded: ");
            v0_12.append(this.zzfc(p8));
            com.google.android.gms.tagmanager.zzbg.zzaB(v0_12.toString());
            p11.zza(com.google.android.gms.common.api.Status.zzXP, v3_2, com.google.android.gms.internal.zzqh.zzaPN, this.zzfa(p8));
            return;
        }
    }

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


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

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


    java.io.File zzzo()
    {
        String v0_1 = new StringBuilder();
        v0_1.append("resource_");
        v0_1.append(this.zzaKy);
        return new java.io.File(this.mContext.getDir("google_tagmanager", 0), v0_1.toString());
    }

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


    private static void zzl(android.content.Context p20)
    {
        try {
            java.io.File v1_17 = com.google.android.gms.internal.zzal.zznl.zzl(com.google.android.gms.internal.zzat.getKey());
            String v2_51 = com.google.android.gms.internal.zzal.zznl.zzc(v1_17, com.google.android.gms.internal.zzat.zzad());
            java.io.File v3_1 = p20.getCacheDir();
        } catch (Throwable v0_6) {
            throw new com.google.android.gms.internal.zzal$zza(v0_6);
        } catch (Throwable v0_5) {
            throw new com.google.android.gms.internal.zzal$zza(v0_5);
        } catch (Throwable v0_4) {
            throw new com.google.android.gms.internal.zzal$zza(v0_4);
        } catch (Throwable v0_3) {
            throw new com.google.android.gms.internal.zzal$zza(v0_3);
        } catch (Throwable v0_2) {
            throw new com.google.android.gms.internal.zzal$zza(v0_2);
        } catch (Throwable v0_1) {
            throw new com.google.android.gms.internal.zzal$zza(v0_1);
        }
        if (v3_1 != null) {
        } else {
            v3_1 = p20.getDir("dex", 0);
            if (v3_1 == null) {
                throw new com.google.android.gms.internal.zzal$zza();
            }
        }
        int v6_13 = java.io.File.createTempFile("ads", ".jar", v3_1);
        int v7_10 = new java.io.FileOutputStream(v6_13);
        v7_10.write(v2_51, 0, v2_51.length);
        v7_10.close();
        String v2_49 = new dalvik.system.DexClassLoader(v6_13.getAbsolutePath(), v3_1.getAbsolutePath(), 0, p20.getClassLoader());
        java.io.File v5_18 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzam()));
        int v7_14 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaA()));
        Class v8_4 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzau()));
        Class v9_3 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaq()));
        Class v10_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaC()));
        Class v11_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzao()));
        Class v12_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzay()));
        Class v13_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaw()));
        Class v14_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzak()));
        Class v15_2 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzai()));
        String v4_1 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzag()));
        java.io.File v16 = v3_1;
        java.io.File v17 = v6_13;
        Class v18 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzae()));
        java.io.File v19 = v2_49.loadClass(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzas()));
        java.io.File v3_4 = new Class[0];
        com.google.android.gms.internal.zzal.zzmV = v5_18.getMethod(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzan()), v3_4);
        java.io.File v5_0 = new Class[0];
        com.google.android.gms.internal.zzal.zzmW = v7_14.getMethod(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaB()), v5_0);
        java.io.File v5_1 = new Class[0];
        com.google.android.gms.internal.zzal.zzmX = v8_4.getMethod(com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzav()), v5_1);
        String v2_4 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzar());
        java.io.File v5_2 = new Class[1];
        v5_2[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zzmY = v9_3.getMethod(v2_4, v5_2);
        String v2_7 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaD());
        java.io.File v5_5 = new Class[2];
        v5_5[0] = android.view.MotionEvent;
        v5_5[1] = android.util.DisplayMetrics;
        com.google.android.gms.internal.zzal.zzmZ = v10_2.getMethod(v2_7, v5_5);
        String v2_10 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzap());
        java.io.File v5_6 = new Class[1];
        v5_6[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zzna = v11_2.getMethod(v2_10, v5_6);
        String v2_13 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaz());
        java.io.File v5_7 = new Class[1];
        v5_7[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznb = v12_2.getMethod(v2_13, v5_7);
        String v2_17 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzax());
        java.io.File v5_8 = new Class[1];
        v5_8[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznc = v13_2.getMethod(v2_17, v5_8);
        String v2_20 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzal());
        java.io.File v5_9 = new Class[1];
        v5_9[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznd = v14_2.getMethod(v2_20, v5_9);
        String v2_23 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaj());
        java.io.File v5_10 = new Class[1];
        v5_10[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zzne = v15_2.getMethod(v2_23, v5_10);
        String v2_26 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzah());
        java.io.File v5_11 = new Class[1];
        v5_11[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznf = v4_1.getMethod(v2_26, v5_11);
        String v2_29 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzat());
        String v4_3 = new Class[1];
        v4_3[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zzng = v19.getMethod(v2_29, v4_3);
        java.io.File v1_2 = com.google.android.gms.internal.zzal.zzb(v1_17, com.google.android.gms.internal.zzat.zzaf());
        String v2_32 = new Class[1];
        v2_32[0] = android.content.Context;
        com.google.android.gms.internal.zzal.zznh = v18.getMethod(v1_2, v2_32);
        java.io.File v1_4 = v17;
        String v2_34 = v1_4.getName();
        v1_4.delete();
        new java.io.File(v16, v2_34.replace(".jar", ".dex")).delete();
        return;
    }

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


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

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


    public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView p5, String p6)
    {
        try {
            if ("mraid.js".equalsIgnoreCase(new java.io.File(p6).getName())) {
                if ((p5 instanceof com.google.android.gms.internal.zzid)) {
                    Object v1_5;
                    ((com.google.android.gms.internal.zzid) p5).zzgF().zzet();
                    if (!((com.google.android.gms.internal.zzid) p5).zzaN().zzsn) {
                        if (!((com.google.android.gms.internal.zzid) p5).zzgJ()) {
                            v1_5 = com.google.android.gms.internal.zzbz.zztV.get();
                        } else {
                            v1_5 = com.google.android.gms.internal.zzbz.zztW.get();
                        }
                    } else {
                        v1_5 = com.google.android.gms.internal.zzbz.zztX.get();
                    }
                    Object v1_8 = ((String) v1_5);
                    String v2_1 = new StringBuilder();
                    v2_1.append("shouldInterceptRequest(");
                    v2_1.append(v1_8);
                    v2_1.append(")");
                    com.google.android.gms.ads.internal.util.client.zzb.zzaB(v2_1.toString());
                    return this.zzd(((com.google.android.gms.internal.zzid) p5).getContext(), this.zzoA.zzgI().zzGG, v1_8);
                } else {
                    com.google.android.gms.ads.internal.util.client.zzb.zzaC("Tried to intercept request from a WebView that wasn\'t an AdWebView.");
                    return super.shouldInterceptRequest(p5, p6);
                }
            } else {
                return super.shouldInterceptRequest(p5, p6);
            }
        } catch (android.webkit.WebResourceResponse v0_10) {
            Object v1_11 = new StringBuilder();
            v1_11.append("Could not fetch MRAID JS. ");
            v1_11.append(v0_10.getMessage());
            com.google.android.gms.ads.internal.util.client.zzb.zzaC(v1_11.toString());
            return super.shouldInterceptRequest(p5, p6);
        }
    }

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


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

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


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

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


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

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


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

Method com.google.android.gms.wearable.internal.zzbk$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.zzaGx.getScheme())) {
            java.io.IOException v0_3 = new java.io.File(this.zzaGx.getPath());
            try {
                java.io.IOException v1_5 = android.os.ParcelFileDescriptor.open(v0_3, 268435456);
                try {
                    ((com.google.android.gms.wearable.internal.zzat) this.zzaUZ.zznM()).zza(new com.google.android.gms.wearable.internal.zzbj$zzr(this.zzaFp), this.zzaVa, v1_5, this.zzaTT, this.zzaTU);
                } catch (java.io.IOException v0_13) {
                    try {
                        v1_5.close();
                    } catch (java.io.IOException v1_10) {
                        android.util.Log.w("WearableClient", "Failed to close sourceFd", v1_10);
                    }
                    throw v0_13;
                } catch (java.io.IOException v0_11) {
                    android.util.Log.w("WearableClient", "Channel.sendFile failed.", v0_11);
                    this.zzaFp.zzr(new com.google.android.gms.common.api.Status(8));
                    v1_5.close();
                    return;
                } catch (java.io.IOException v0_14) {
                    android.util.Log.w("WearableClient", "Failed to close sourceFd", v0_14);
                    return;
                }
                v1_5.close();
                return;
            } catch (java.io.IOException v1) {
                String v2_1 = new StringBuilder();
                v2_1.append("File couldn\'t be opened for Channel.sendFile: ");
                v2_1.append(v0_3);
                android.util.Log.w("WearableClient", v2_1.toString());
                java.io.IOException v0_6 = this.zzaFp;
                java.io.IOException v1_8 = new com.google.android.gms.common.api.Status(13);
            }
        } else {
            android.util.Log.w("WearableClient", "Channel.sendFile used with non-file URI");
            v0_6 = this.zzaFp;
            v1_8 = new com.google.android.gms.common.api.Status(10, "Channel.sendFile used with non-file URI");
        }
        v0_6.zzr(v1_8);
        return;
    }

Method com.google.android.gms.wearable.internal.zzbk$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.zzaGx.getScheme())) {
            String v2_1;
            java.io.IOException v0_3 = new java.io.File(this.zzaGx.getPath());
            if (!this.zzaTS) {
                v2_1 = 0;
            } else {
                v2_1 = 33554432;
            }
            try {
                java.io.IOException v1_6 = android.os.ParcelFileDescriptor.open(v0_3, (536870912 | v2_1));
                try {
                    ((com.google.android.gms.wearable.internal.zzat) this.zzaUZ.zznM()).zza(new com.google.android.gms.wearable.internal.zzbj$zzu(this.zzaFp), this.zzaVa, v1_6);
                } catch (java.io.IOException v0_13) {
                    try {
                        v1_6.close();
                    } catch (java.io.IOException v1_11) {
                        android.util.Log.w("WearableClient", "Failed to close targetFd", v1_11);
                    }
                    throw v0_13;
                } catch (java.io.IOException v0_11) {
                    android.util.Log.w("WearableClient", "Channel.receiveFile failed.", v0_11);
                    this.zzaFp.zzr(new com.google.android.gms.common.api.Status(8));
                    v1_6.close();
                    return;
                } catch (java.io.IOException v0_14) {
                    android.util.Log.w("WearableClient", "Failed to close targetFd", v0_14);
                    return;
                }
                v1_6.close();
                return;
            } catch (java.io.IOException v1) {
                String v2_3 = new StringBuilder();
                v2_3.append("File couldn\'t be opened for Channel.receiveFile: ");
                v2_3.append(v0_3);
                android.util.Log.w("WearableClient", v2_3.toString());
                java.io.IOException v0_6 = this.zzaFp;
                java.io.IOException v1_9 = new com.google.android.gms.common.api.Status(13);
            }
        } else {
            android.util.Log.w("WearableClient", "Channel.receiveFile used with non-file URI");
            v0_6 = this.zzaFp;
            v1_9 = new com.google.android.gms.common.api.Status(10, "Channel.receiveFile used with non-file URI");
        }
        v0_6.zzr(v1_9);
        return;
    }

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


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

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


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

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


    public boolean zzW(String p26)
    {
        void v1 = this;
        String v4_8 = 0;
        if (this.zzwH == null) {
            this.zza(p26, 0);
            return 0;
        }
        while (this.zzdQ() > ((Integer) com.google.android.gms.internal.zzbz.zztO.get()).intValue()) {
            if (!this.zzdR()) {
                com.google.android.gms.ads.internal.util.client.zzb.zzaC("Unable to expire stream cache");
                this.zza(p26, 0);
                return 0;
            }
        }
        java.io.File v6_4 = new java.io.File(this.zzwH, this.zzX(p26));
        java.io.IOException v3_13 = this.zza(v6_4);
        if ((!v6_4.isFile()) || (!v3_13.isFile())) {
            String v7_7 = new StringBuilder();
            v7_7.append(this.zzwH.getAbsolutePath());
            v7_7.append(p26);
            String v7_0 = v7_7.toString();
            if (!com.google.android.gms.internal.zzdr.zzwF.contains(v7_0)) {
                com.google.android.gms.internal.zzdr.zzwF.add(v7_0);
                try {
                    java.nio.channels.ReadableByteChannel v9_6 = new java.net.URL(p26).openConnection();
                    int v10_6 = ((Integer) com.google.android.gms.internal.zzbz.zztS.get()).intValue();
                    v9_6.setConnectTimeout(v10_6);
                    v9_6.setReadTimeout(v10_6);
                } catch (java.io.IOException v0_2) {
                    java.io.IOException v3_3 = v0_2;
                    try {
                        v4_8.close();
                    } catch (java.io.IOException v0) {
                    }
                    if (!v1.zzwI) {
                        String v4_17 = new StringBuilder();
                        v4_17.append("Preload failed for URL \"");
                        v4_17.append(p26);
                        v4_17.append("\"");
                        com.google.android.gms.ads.internal.util.client.zzb.zzd(v4_17.toString(), v3_3);
                    } else {
                        java.io.IOException v3_23 = new StringBuilder();
                        v3_23.append("Preload aborted for URL \"");
                        v3_23.append(p26);
                        v3_23.append("\"");
                        com.google.android.gms.ads.internal.util.client.zzb.zzaA(v3_23.toString());
                    }
                    if (v6_4.exists()) {
                        if (!v6_4.delete()) {
                            java.io.IOException v3_28 = new StringBuilder();
                            v3_28.append("Could not delete partial cache file at ");
                            v3_28.append(v6_4.getAbsolutePath());
                            com.google.android.gms.ads.internal.util.client.zzb.zzaC(v3_28.toString());
                        }
                    }
                    v1.zza(p26, v6_4);
                    com.google.android.gms.internal.zzdr.zzwF.remove(v7_0);
                    return 0;
                }
                if ((v9_6 instanceof java.net.HttpURLConnection)) {
                    int v10_10 = ((java.net.HttpURLConnection) v9_6).getResponseCode();
                    if (v10_10 >= 400) {
                        long v8_9 = new StringBuilder();
                        v8_9.append("HTTP status code ");
                        v8_9.append(v10_10);
                        v8_9.append(" at ");
                        v8_9.append(p26);
                        throw new java.io.IOException(v8_9.toString());
                    }
                }
                int v10_11 = v9_6.getContentLength();
                if (v10_11 >= 0) {
                    java.io.FileOutputStream v11_2 = com.google.android.gms.internal.zzdr.zzwG.format(((long) v10_11));
                    int v12_4 = ((Integer) com.google.android.gms.internal.zzbz.zztP.get()).intValue();
                    if (v10_11 <= v12_4) {
                        java.nio.ByteBuffer v13_2 = new StringBuilder();
                        v13_2.append("Caching ");
                        v13_2.append(v11_2);
                        v13_2.append(" bytes from ");
                        v13_2.append(p26);
                        com.google.android.gms.ads.internal.util.client.zzb.zzay(v13_2.toString());
                        java.nio.channels.ReadableByteChannel v9_8 = java.nio.channels.Channels.newChannel(v9_6.getInputStream());
                        java.io.FileOutputStream v11_6 = new java.io.FileOutputStream(v6_4);
                        try {
                            String v4_11 = v11_6.getChannel();
                            java.nio.ByteBuffer v13_0 = java.nio.ByteBuffer.allocate(1048576);
                            com.google.android.gms.internal.zzlb v14_0 = com.google.android.gms.ads.internal.zzo.zzbz();
                            long v15 = v14_0.currentTimeMillis();
                            long v17_0 = v9_8;
                            int v5_4 = new com.google.android.gms.internal.zzhq(((Long) com.google.android.gms.internal.zzbz.zztR.get()).longValue());
                            long v8_4 = ((Long) com.google.android.gms.internal.zzbz.zztQ.get()).longValue();
                            String v19 = v3_13;
                            String v18 = v7_0;
                            v7_0 = v17_0;
                            java.io.IOException v3_0 = 0;
                            try {
                                while(true) {
                                    long v17_1 = v7_0.read(v13_0);
                                    v4_11 = String v24;
                                }
                                v11_6.close();
                                if (com.google.android.gms.ads.internal.util.client.zzb.zzL(3)) {
                                    String v4_3 = com.google.android.gms.internal.zzdr.zzwG.format(((long) v3_0));
                                    int v5_6 = new StringBuilder();
                                    v5_6.append("Preloaded ");
                                    v5_6.append(v4_3);
                                    v5_6.append(" bytes from ");
                                    v5_6.append(p26);
                                    com.google.android.gms.ads.internal.util.client.zzb.zzay(v5_6.toString());
                                }
                                v6_4.setReadable(1, 0);
                                com.google.android.gms.internal.zzdr.zzb(v19);
                                v1 = v1.zza(p26, v6_4, v3_0);
                                v7_0 = v18;
                                com.google.android.gms.internal.zzdr.zzwF.remove(v7_0);
                                return 1;
                            } catch (java.io.IOException v0_0) {
                                v7_0 = v18;
                                v3_3 = v0_0;
                                v4_8 = v11_6;
                            }
                            if (v17_1 >= 0) {
                                v3_0 += v17_1;
                                if (v3_0 <= v12_4) {
                                    v13_0.flip();
                                    while (v4_11.write(v13_0) > 0) {
                                    }
                                    v13_0.clear();
                                    if ((v14_0.currentTimeMillis() - v15) <= (1000 * v8_4)) {
                                        v24 = v4_11;
                                        if (!v1.zzwI) {
                                            if (v5_4.tryAcquire()) {
                                                v1 = v1.zza(p26, v6_4, v3_0, v10_11);
                                            }
                                        } else {
                                            throw new java.io.IOException("abort requested");
                                        }
                                    } else {
                                        throw new java.io.IOException("stream cache time limit exceeded");
                                    }
                                } else {
                                    throw new java.io.IOException("stream cache file size limit exceeded");
                                }
                            }
                        } catch (java.io.IOException v0_0) {
                        }
                    } else {
                        java.io.IOException v3_12 = new StringBuilder();
                        v3_12.append("Content length ");
                        v3_12.append(v11_2);
                        v3_12.append(" exceeds limit at ");
                        v3_12.append(p26);
                        com.google.android.gms.ads.internal.util.client.zzb.zzaC(v3_12.toString());
                        v1 = this.zza(p26, v6_4);
                        com.google.android.gms.internal.zzdr.zzwF.remove(v7_0);
                        return 0;
                    }
                } else {
                    java.io.IOException v3_17 = new StringBuilder();
                    v3_17.append("Stream cache aborted, missing content-length header at ");
                    v3_17.append(p26);
                    com.google.android.gms.ads.internal.util.client.zzb.zzaC(v3_17.toString());
                    v1 = this.zza(p26, v6_4);
                    com.google.android.gms.internal.zzdr.zzwF.remove(v7_0);
                    return 0;
                }
            } else {
                java.io.IOException v3_31 = new StringBuilder();
                v3_31.append("Stream cache already in progress at ");
                v3_31.append(p26);
                com.google.android.gms.ads.internal.util.client.zzb.zzaC(v3_31.toString());
                this.zza(p26, v6_4);
                return 0;
            }
        } else {
            java.io.IOException v3_34 = ((int) v6_4.length());
            String v4_25 = new StringBuilder();
            v4_25.append("Stream cache hit at ");
            v4_25.append(p26);
            com.google.android.gms.ads.internal.util.client.zzb.zzay(v4_25.toString());
            this.zza(p26, v6_4, v3_34);
            return 1;
        }
    }

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


    private java.io.File zza(java.io.File p4)
    {
        java.io.File v1 = this.zzwH;
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(p4.getName());
        v2_1.append(".done");
        return new java.io.File(v1, v2_1.toString());
    }

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


    public zzdr(com.google.android.gms.internal.zzid p4)
    {
        this.zzoA = p4;
        String v4_15 = p4.getContext().getCacheDir();
        if (v4_15 != null) {
            this.zzwH = new java.io.File(v4_15, "admobVideoStreams");
            if ((this.zzwH.isDirectory()) || (this.zzwH.mkdirs())) {
                if ((this.zzwH.setReadable(1, 0)) && (this.zzwH.setExecutable(1, 0))) {
                    return;
                } else {
                    String v4_11 = new StringBuilder();
                    v4_11.append("Could not set cache file permissions at ");
                    v4_11.append(this.zzwH.getAbsolutePath());
                    com.google.android.gms.ads.internal.util.client.zzb.zzaC(v4_11.toString());
                    this.zzwH = 0;
                    return;
                }
            } else {
                String v4_14 = new StringBuilder();
                v4_14.append("Could not create preload cache directory at ");
                v4_14.append(this.zzwH.getAbsolutePath());
                com.google.android.gms.ads.internal.util.client.zzb.zzaC(v4_14.toString());
                this.zzwH = 0;
                return;
            }
        } else {
            com.google.android.gms.ads.internal.util.client.zzb.zzaC("Context.getCacheDir() returned null");
            return;
        }
    }

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


    public zzcb(android.content.Context p2, String p3, String p4, int p5, int p6, int p7, int p8, java.util.Map p9, int p10)
    {
        this.zzuH = new java.util.LinkedHashMap();
        this.mContext = p2;
        this.zzqr = p3;
        this.zzuD = p4;
        this.zzuA = p5;
        this.zzuB = p6;
        this.zzuC = p7;
        this.zzq(p8);
        this.zzuI = new java.util.concurrent.atomic.AtomicBoolean(0);
        this.zzuI.set(((Boolean) com.google.android.gms.internal.zzbz.zzub.get()).booleanValue());
        if (this.zzuI.get()) {
            int v2_6 = android.os.Environment.getExternalStorageDirectory();
            if (v2_6 != 0) {
                this.zzuJ = new java.io.File(v2_6, "sdk_csi_data.txt");
            }
        }
        int v2_8 = p9.entrySet().iterator();
        while (v2_8.hasNext()) {
            String v3_10 = ((java.util.Map$Entry) v2_8.next());
            this.zzd(((String) v3_10.getKey()), ((String) v3_10.getValue()));
        }
        if (p10 == 1) {
            this.zzdj();
        }
        if (p10 == 2) {
            this.zzdk();
        }
        this.init();
        return;
    }

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 p4, com.google.android.gms.internal.zzy p5)
    {
        java.io.File v0_1 = new java.io.File(p4.getCacheDir(), "volley");
        try {
            String v2_2 = p4.getPackageName();
            android.net.http.AndroidHttpClient v4_1 = p4.getPackageManager().getPackageInfo(v2_2, 0);
            StringBuilder v3_2 = new StringBuilder();
            v3_2.append(v2_2);
            v3_2.append("/");
            v3_2.append(v4_1.versionCode);
            android.net.http.AndroidHttpClient v4_3 = v3_2.toString();
        } catch (android.net.http.AndroidHttpClient v4) {
            v4_3 = "volley/0";
        }
        if (p5 == null) {
            if (android.os.Build$VERSION.SDK_INT < 9) {
                p5 = new com.google.android.gms.internal.zzw(android.net.http.AndroidHttpClient.newInstance(v4_3));
            } else {
                p5 = new com.google.android.gms.internal.zzz();
            }
        }
        com.google.android.gms.internal.zzw v5_5 = new com.google.android.gms.internal.zzl(new com.google.android.gms.internal.zzv(v0_1), new com.google.android.gms.internal.zzt(p5));
        v5_5.start();
        return v5_5;
    }

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


    private void zzde(String p4)
    {
        StringBuilder v1_5 = new java.io.File(new android.support.v4.content.ContextCompat().getNoBackupFilesDir(this.zzpH), p4);
        if (!v1_5.exists()) {
            try {
                if ((v1_5.createNewFile()) && (!this.isEmpty())) {
                    android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                    com.google.android.gms.iid.InstanceIDListenerService.zza(this.zzpH, this);
                    return;
                }
            } catch (android.content.Context v4_3) {
                if (!android.util.Log.isLoggable("InstanceID/Store", 3)) {
                } else {
                    StringBuilder v1_3 = new StringBuilder();
                    v1_3.append("Error creating file in no backup dir: ");
                    v1_3.append(v4_3.getMessage());
                    android.util.Log.d("InstanceID/Store", v1_3.toString());
                }
            }
            return;
        } else {
            return;
        }
    }

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


    public static boolean zzbe(String p3)
    {
        if (com.google.android.gms.analytics.internal.zzx.version() >= 9) {
            java.io.File v0_2 = new java.io.File(p3);
            v0_2.setReadable(0, 0);
            v0_2.setWritable(0, 0);
            v0_2.setReadable(1, 1);
            v0_2.setWritable(1, 1);
            return 1;
        } else {
            return 0;
        }
    }

Method com.android.insecurebankv2.ViewStatement.onCreate() calling method java.io.File.<init>()


    protected void onCreate(android.os.Bundle p8)
    {
        super.onCreate(p8);
        this.setContentView(2131296284);
        this.uname = this.getIntent().getStringExtra("uname");
        String v1_0 = new StringBuilder();
        v1_0.append("Statements_");
        v1_0.append(this.uname);
        v1_0.append(".html");
        java.io.File v2_4 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), v1_0.toString());
        System.out.println(v2_4.toString());
        if (!v2_4.exists()) {
            this.startActivity(new android.content.Intent(this, com.android.insecurebankv2.PostLogin));
            com.marcohc.toasteroid.Toasteroid.show(this, "Statement does not Exist!!", com.marcohc.toasteroid.Toasteroid$STYLES.WARNING, 0);
        } else {
            android.content.Intent v3_7 = ((android.webkit.WebView) this.findViewById(2131165313));
            String v4_4 = new StringBuilder();
            v4_4.append("file://");
            v4_4.append(android.os.Environment.getExternalStorageDirectory());
            v4_4.append("/Statements_");
            v4_4.append(this.uname);
            v4_4.append(".html");
            v3_7.loadUrl(v4_4.toString());
            v3_7.getSettings().setJavaScriptEnabled(1);
            v3_7.getSettings().setSaveFormData(1);
            v3_7.getSettings().setBuiltInZoomControls(1);
            v3_7.setWebViewClient(new com.android.insecurebankv2.MyWebViewClient());
            v3_7.setWebChromeClient(new android.webkit.WebChromeClient());
        }
        return;
    }

Method com.android.insecurebankv2.PostLogin.doesSuperuserApkExist() calling method java.io.File.<init>()


    private boolean doesSuperuserApkExist(String p5)
    {
        if (Boolean.valueOf(new java.io.File("/system/app/Superuser.apk").exists()).booleanValue() != 1) {
            return 0;
        } else {
            return 1;
        }
    }

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


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

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


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

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.ContextCompat.getNoBackupFilesDir() calling method java.io.File.<init>()


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

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


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

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


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

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


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

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


    private boolean zzaS(String p4)
    {
        try {
            java.io.IOException v4_3 = com.google.android.gms.analytics.internal.zza.zzaR(p4);
            this.zzaT("Storing hashed adid.");
            String v1_3 = this.getContext().openFileOutput("gaClientIdData", 0);
            v1_3.write(v4_3.getBytes());
            v1_3.close();
            this.zzJn = v4_3;
            return 1;
        } catch (java.io.IOException v4_2) {
            this.zze("Error creating hash file", v4_2);
            return 0;
        }
    }

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


    public varargs Void doInBackground(Object[] p14)
    {
        java.util.List v1_1 = ((java.util.List) p14[0]);
        String v3_1 = ((String) p14[1]);
        try {
            java.io.FileOutputStream v5 = android.support.v7.internal.widget.ActivityChooserModel.access$200(this.this$0).openFileOutput(v3_1, 0);
            String v6_2 = android.util.Xml.newSerializer();
            try {
                v6_2.setOutput(v5, 0);
                v6_2.startDocument("UTF-8", Boolean.valueOf(1));
                v6_2.startTag(0, "historical-records");
                String v7_4 = v1_1.size();
                int v8_5 = 0;
            } catch (java.io.IOException v0_4) {
                android.support.v7.internal.widget.ActivityChooserModel.access$502(this.this$0, 1);
                if (v5 != null) {
                    try {
                        v5.close();
                    } catch (java.io.IOException v2) {
                    }
                }
                throw v0_4;
            } catch (java.io.IOException v0_2) {
                String v7_0 = android.support.v7.internal.widget.ActivityChooserModel.access$300();
                int v8_2 = new StringBuilder();
                v8_2.append("Error writing historical recrod file: ");
                v8_2.append(android.support.v7.internal.widget.ActivityChooserModel.access$400(this.this$0));
                android.util.Log.e(v7_0, v8_2.toString(), v0_2);
                android.support.v7.internal.widget.ActivityChooserModel.access$502(this.this$0, 1);
                if (v5 == null) {
                    return 0;
                } else {
                    v5.close();
                    return 0;
                }
            } catch (java.io.IOException v0_10) {
                String v7_6 = android.support.v7.internal.widget.ActivityChooserModel.access$300();
                int v8_10 = new StringBuilder();
                v8_10.append("Error writing historical recrod file: ");
                v8_10.append(android.support.v7.internal.widget.ActivityChooserModel.access$400(this.this$0));
                android.util.Log.e(v7_6, v8_10.toString(), v0_10);
                android.support.v7.internal.widget.ActivityChooserModel.access$502(this.this$0, 1);
                if (v5 == null) {
                    return 0;
                } else {
                    v5.close();
                    return 0;
                }
            } catch (java.io.IOException v0_8) {
                String v7_5 = android.support.v7.internal.widget.ActivityChooserModel.access$300();
                int v8_7 = new StringBuilder();
                v8_7.append("Error writing historical recrod file: ");
                v8_7.append(android.support.v7.internal.widget.ActivityChooserModel.access$400(this.this$0));
                android.util.Log.e(v7_5, v8_7.toString(), v0_8);
                android.support.v7.internal.widget.ActivityChooserModel.access$502(this.this$0, 1);
                if (v5 == null) {
                    return 0;
                } else {
                    v5.close();
                    return 0;
                }
            } catch (java.io.IOException v0) {
                return 0;
            }
            while (v8_5 < v7_4) {
                android.support.v7.internal.widget.ActivityChooserModel$HistoricalRecord v9_4 = ((android.support.v7.internal.widget.ActivityChooserModel$HistoricalRecord) v1_1.remove(0));
                v6_2.startTag(0, "historical-record");
                v6_2.attribute(0, "activity", v9_4.activity.flattenToString());
                v6_2.attribute(0, "time", String.valueOf(v9_4.time));
                v6_2.attribute(0, "weight", String.valueOf(v9_4.weight));
                v6_2.endTag(0, "historical-record");
                v8_5++;
            }
            v6_2.endTag(0, "historical-records");
            v6_2.endDocument();
            android.support.v7.internal.widget.ActivityChooserModel.access$502(this.this$0, 1);
            if (v5 == null) {
                return 0;
            } else {
                v5.close();
                return 0;
            }
        } catch (java.io.IOException v0_5) {
            java.io.IOException v2_0 = android.support.v7.internal.widget.ActivityChooserModel.access$300();
            String v6_4 = new StringBuilder();
            v6_4.append("Error writing historical recrod file: ");
            v6_4.append(v3_1);
            android.util.Log.e(v2_0, v6_4.toString(), v0_5);
            return 0;
        }
    }