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 org.java_websocket.util.Base64.encodeToFile() calling method java.io.FileOutputStream.<init>()


    public static void encodeToFile(byte[] p4, String p5)
    {
        if (p4 != null) {
            int v2 = 0;
            try {
                Exception v1_2 = new org.java_websocket.util.Base64$OutputStream(new java.io.FileOutputStream(p5), 1);
                try {
                    v1_2.write(p4);
                    try {
                        v1_2.close();
                    } catch (Exception v0) {
                    }
                    return;
                } catch (Exception v0_0) {
                    throw v0_0;
                }
            } catch (Exception v0_1) {
                try {
                    v2.close();
                } catch (Exception v1) {
                }
                throw v0_1;
            } catch (Exception v0_0) {
                v1_2 = 0;
            } catch (Exception v0_1) {
                v2 = v1_2;
            }
        } else {
            throw new NullPointerException("Data to encode was null.");
        }
    }

Method org.java_websocket.util.Base64.encodeFileToFile() calling method java.io.FileOutputStream.<init>()


    public static void encodeFileToFile(String p4, String p5)
    {
        Exception v0_0 = org.java_websocket.util.Base64.encodeFromFile(p4);
        try {
            Exception v1_0 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5));
            try {
                v1_0.write(v0_0.getBytes("US-ASCII"));
                try {
                    v1_0.close();
                } catch (Exception v0) {
                }
                return;
            } catch (Exception v0_2) {
                throw v0_2;
            }
        } catch (Exception v0_3) {
            v1_0 = 0;
            try {
                v1_0.close();
            } catch (Exception v1) {
            }
            throw v0_3;
        } catch (Exception v0_2) {
            v1_0 = 0;
        } catch (Exception v0_3) {
        }
    }

Method org.java_websocket.util.Base64.decodeToFile() calling method java.io.FileOutputStream.<init>()


    public static void decodeToFile(String p4, String p5)
    {
        try {
            Exception v1_1 = new org.java_websocket.util.Base64$OutputStream(new java.io.FileOutputStream(p5), 0);
            try {
                v1_1.write(p4.getBytes("US-ASCII"));
                try {
                    v1_1.close();
                } catch (Exception v0) {
                }
                return;
            } catch (Exception v0_2) {
                throw v0_2;
            }
        } catch (Exception v0_3) {
            v1_1 = 0;
            try {
                v1_1.close();
            } catch (Exception v1) {
            }
            throw v0_3;
        } catch (Exception v0_2) {
            v1_1 = 0;
        } catch (Exception v0_3) {
        }
    }

Method org.java_websocket.util.Base64.decodeFileToFile() calling method java.io.FileOutputStream.<init>()


    public static void decodeFileToFile(String p4, String p5)
    {
        Exception v0_0 = org.java_websocket.util.Base64.decodeFromFile(p4);
        int v2 = 0;
        try {
            Exception v1_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5));
            try {
                v1_1.write(v0_0);
                try {
                    v1_1.close();
                } catch (Exception v0) {
                }
                return;
            } catch (Exception v0_1) {
                throw v0_1;
            }
        } catch (Exception v0_2) {
            try {
                v2.close();
            } catch (Exception v1) {
            }
            throw v0_2;
        } catch (Exception v0_1) {
            v1_1 = 0;
        } catch (Exception v0_2) {
            v2 = v1_1;
        }
    }

Method net.hockeyapp.android.tasks.DownloadFileTask.doInBackground() calling method java.io.FileOutputStream.<init>()


    protected varargs Long doInBackground(Void[] p23)
    {
        java.io.BufferedInputStream v9 = 0;
        java.io.FileOutputStream v12 = 0;
        try {
            Long v18_4;
            java.net.URLConnection v2 = this.createConnection(new java.net.URL(this.getURLString()), 6);
            v2.connect();
            int v11 = v2.getContentLength();
            String v3 = v2.getContentType();
        } catch (Long v18_0) {
            try {
                if (v12 == null) {
                    if (v9 != null) {
                        v9.close();
                    }
                } else {
                    v12.close();
                }
            } catch (java.io.IOException v7_2) {
                v7_2.printStackTrace();
            }
            throw v18_0;
        } catch (java.io.IOException v7_0) {
            v7_0.printStackTrace();
            v18_4 = Long.valueOf(0);
            try {
                if (v12 != null) {
                    v12.close();
                }
            } catch (java.io.IOException v7_1) {
                v7_1.printStackTrace();
                return v18_4;
            }
            if (v9 == null) {
                return v18_4;
            } else {
                v9.close();
                return v18_4;
            }
        }
        if ((v3 == null) || (!v3.contains("text"))) {
            java.io.File v6_1 = new java.io.File(this.mFilePath);
            if ((v6_1.mkdirs()) || (v6_1.exists())) {
                java.io.File v8_1 = new java.io.File(v6_1, this.mFilename);
                java.io.BufferedInputStream v10_1 = new java.io.BufferedInputStream(v2.getInputStream());
                try {
                    java.io.FileOutputStream v13_1 = new java.io.FileOutputStream(v8_1);
                    try {
                        byte[] v5 = new byte[1024];
                        long v16 = 0;
                    } catch (Long v18_0) {
                        v12 = v13_1;
                        v9 = v10_1;
                    }
                    while(true) {
                        int v4 = v10_1.read(v5);
                        if (v4 == -1) {
                            break;
                        }
                        v16 += ((long) v4);
                        int v0_14 = new Integer[1];
                        Long v18_19 = v0_14;
                        v18_19[0] = Integer.valueOf(Math.round(((((float) v16) * 1120403456) / ((float) v11))));
                        this.publishProgress(v18_19);
                        v13_1.write(v5, 0, v4);
                    }
                    v13_1.flush();
                    v18_4 = Long.valueOf(v16);
                    try {
                        if (v13_1 == null) {
                            if (v10_1 != null) {
                                v10_1.close();
                            }
                        } else {
                            v13_1.close();
                        }
                    } catch (java.io.IOException v7_4) {
                        v7_4.printStackTrace();
                    }
                    v9 = v10_1;
                    return v18_4;
                } catch (Long v18_0) {
                    v9 = v10_1;
                } catch (java.io.IOException v7_0) {
                    v9 = v10_1;
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("Could not create the dir(s):").append(v6_1.getAbsolutePath()).toString());
            }
        } else {
            this.mDownloadErrorMessage = "The requested download does not appear to be a file.";
            v18_4 = Long.valueOf(0);
            try {
                if (0 != 0) {
                    0.close();
                }
            } catch (java.io.IOException v7_3) {
                v7_3.printStackTrace();
                return v18_4;
            }
            if (0 == 0) {
                return v18_4;
            } else {
                0.close();
                return v18_4;
            }
        }
    }

Method net.hockeyapp.android.tasks.AttachmentDownloader$DownloadTask.downloadAttachment() calling method java.io.FileOutputStream.<init>()


    private boolean downloadAttachment(String p21, String p22)
    {
        try {
            int v14_8;
            java.net.URLConnection v2 = this.createConnection(new java.net.URL(p21));
            v2.connect();
            int v8 = v2.getContentLength();
            String v10 = v2.getHeaderField("Status");
        } catch (java.io.IOException v5) {
            v5.printStackTrace();
            v14_8 = 0;
            return v14_8;
        }
        if ((v10 == null) || (v10.startsWith("200"))) {
            java.io.File v6_1 = new java.io.File(this.dropFolder, p22);
            java.io.BufferedInputStream v7_1 = new java.io.BufferedInputStream(v2.getInputStream());
            java.io.FileOutputStream v9_1 = new java.io.FileOutputStream(v6_1);
            byte[] v4 = new byte[1024];
            long v12 = 0;
            while(true) {
                int v3 = v7_1.read(v4);
                if (v3 == -1) {
                    break;
                }
                v12 += ((long) v3);
                int v14_11 = new Integer[1];
                v14_11[0] = Integer.valueOf(((int) ((100 * v12) / ((long) v8))));
                this.publishProgress(v14_11);
                v9_1.write(v4, 0, v3);
            }
            v9_1.flush();
            v9_1.close();
            v7_1.close();
            if (v12 <= 0) {
                v14_8 = 0;
                return v14_8;
            } else {
                v14_8 = 1;
                return v14_8;
            }
        } else {
            v14_8 = 0;
            return v14_8;
        }
    }

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


    protected boolean writeToDisk(String p11)
    {
        String v5 = java.util.UUID.randomUUID().toString();
        Boolean v2 = Boolean.valueOf(0);
        java.io.FileOutputStream v3 = 0;
        try {
            try {
                java.io.File v1_0 = new java.io.File(new StringBuilder().append(this.mTelemetryDirectory).append("/").append(v5).toString());
                java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(v1_0, 1);
                try {
                    v4_1.write(p11.getBytes());
                    android.util.Log.w("HA-MetricsPersistence", new StringBuilder().append("Saving data to: ").append(v1_0.toString()).toString());
                    try {
                        v2 = Boolean.valueOf(1);
                    } catch (Throwable v6_14) {
                        v3 = v4_1;
                        if (v3 != null) {
                            try {
                                v3.close();
                            } catch (java.io.IOException v0_2) {
                                v0_2.printStackTrace();
                            }
                        }
                        throw v6_14;
                    } catch (java.io.IOException v0_0) {
                        v3 = v4_1;
                        android.util.Log.w("HA-MetricsPersistence", new StringBuilder().append("Failed to save data with exception: ").append(v0_0.toString()).toString());
                        if (v3 == null) {
                            return v2.booleanValue();
                        } else {
                            try {
                                v3.close();
                            } catch (java.io.IOException v0_1) {
                                v0_1.printStackTrace();
                            }
                            return v2.booleanValue();
                        }
                    }
                    if (v4_1 == null) {
                        return v2.booleanValue();
                    } else {
                        try {
                            v4_1.close();
                        } catch (java.io.IOException v0_3) {
                            v0_3.printStackTrace();
                        }
                        return v2.booleanValue();
                    }
                } catch (Throwable v6_12) {
                    v3 = v4_1;
                    throw v6_12;
                }
            } catch (Throwable v6_12) {
            }
        } catch (Throwable v6_14) {
        } catch (java.io.IOException v0_0) {
        }
    }

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


    protected varargs Void doInBackground(java.io.File[] p6)
    {
        try {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p6[0]);
            this.val$bitmap.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v1_1);
            v1_1.close();
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            net.hockeyapp.android.utils.HockeyLog.error("Could not save image.", v0);
        }
        return 0;
    }

Method net.hockeyapp.android.FeedbackManager$2.doInBackground() calling method java.io.FileOutputStream.<init>()


    protected varargs Boolean doInBackground(java.io.File[] p7)
    {
        try {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p7[0]);
            this.val$bitmap.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v1_1);
            v1_1.close();
            Boolean v2_1 = Boolean.valueOf(1);
        } catch (java.io.IOException v0) {
            net.hockeyapp.android.utils.HockeyLog.error("Could not save screenshot.", v0);
            v2_1 = Boolean.valueOf(0);
        }
        return v2_1;
    }

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


    public io.fabric.sdk.android.services.network.HttpRequest receive(java.io.File p5)
    {
        try {
            return ((io.fabric.sdk.android.services.network.HttpRequest) new io.fabric.sdk.android.services.network.HttpRequest$3(this, new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5), this.bufferSize), this.ignoreCloseExceptions, new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5), this.bufferSize)).call());
        } catch (java.io.FileNotFoundException v0) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
        }
    }

Method io.fabric.sdk.android.services.events.GZIPQueueFileEventStorage.getMoveOutputStream() calling method java.io.FileOutputStream.<init>()


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

Method io.fabric.sdk.android.services.events.QueueFileEventStorage.getMoveOutputStream() calling method java.io.FileOutputStream.<init>()


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

Method com.journeyapps.barcodescanner.CaptureManager.getBarcodeImagePath() calling method java.io.FileOutputStream.<init>()


    private String getBarcodeImagePath(com.journeyapps.barcodescanner.BarcodeResult p9)
    {
        String v0 = 0;
        if (this.returnBarcodeImagePath) {
            android.graphics.Bitmap v2 = p9.getBitmap();
            try {
                java.io.File v1 = java.io.File.createTempFile("barcodeimage", ".jpg", this.activity.getCacheDir());
                java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(v1);
                v2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v4_1);
                v4_1.close();
                v0 = v1.getAbsolutePath();
            } catch (java.io.IOException v3) {
                android.util.Log.w(com.journeyapps.barcodescanner.CaptureManager.TAG, new StringBuilder().append("Unable to create temporary file and store bitmap! ").append(v3).toString());
            }
        }
        return v0;
    }

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


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

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


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

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


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

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


    private boolean zzb(java.io.File p9, String p10)
    {
        String v0 = 0;
        java.io.FileOutputStream v4_7 = new Object[2];
        v4_7[0] = p9;
        v4_7[1] = p10;
        byte[] v2_0 = new java.io.File(String.format("%s/%s.tmp", v4_7));
        if (v2_0.exists()) {
            int v5_1 = new Object[2];
            v5_1[0] = p9;
            v5_1[1] = p10;
            int v3_2 = new java.io.File(String.format("%s/%s.dex", v5_1));
            if (!v3_2.exists()) {
                java.io.FileOutputStream v4_3 = v2_0.length();
                if (v4_3 > 0) {
                    java.io.FileOutputStream v4_5 = new byte[((int) v4_3)];
                    if (new java.io.FileInputStream(v2_0).read(v4_5) > 0) {
                        java.io.FileOutputStream v4_6 = com.google.ads.afma.nano.Google3NanoAfmaSignals$Cache.parseFrom(v4_5);
                        if ((p10.equals(new String(v4_6.timestamp))) && ((java.util.Arrays.equals(v4_6.hash, com.google.android.gms.internal.zzai.zze(v4_6.data))) && (java.util.Arrays.equals(v4_6.osVersion, android.os.Build$VERSION.SDK.getBytes())))) {
                            byte[] v2_3 = this.zzoy.zzc(this.zzoz, new String(v4_6.data));
                            v3_2.createNewFile();
                            java.io.FileOutputStream v4_10 = new java.io.FileOutputStream(v3_2);
                            v4_10.write(v2_3, 0, v2_3.length);
                            v4_10.close();
                            v0 = 1;
                        } else {
                            this.zza(v2_0);
                        }
                    } else {
                        android.util.Log.d(com.google.android.gms.internal.zzav.TAG, "Cannot read the cache data.");
                        this.zza(v2_0);
                    }
                } else {
                    this.zza(v2_0);
                }
            }
        }
        return v0;
    }

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


    private void zza(java.io.File p10, String p11)
    {
        java.io.IOException v1_5 = new Object[2];
        v1_5[0] = p10;
        v1_5[1] = p11;
        int v2_0 = new java.io.File(String.format("%s/%s.tmp", v1_5));
        if (!v2_0.exists()) {
            java.io.IOException v1_0 = new Object[2];
            v1_0[0] = p10;
            v1_0[1] = p11;
            java.io.File v3_1 = new java.io.File(String.format("%s/%s.dex", v1_0));
            if (v3_1.exists()) {
                java.io.IOException v1_1 = 0;
                java.io.FileOutputStream v4_1 = v3_1.length();
                if (v4_1 > 0) {
                    java.io.FileOutputStream v4_2 = new byte[((int) v4_1)];
                    try {
                        java.io.IOException v0_7 = new java.io.FileInputStream(v3_1);
                        try {
                            if (v0_7.read(v4_2) > 0) {
                                java.io.IOException v1_4 = new com.google.ads.afma.nano.Google3NanoAfmaSignals$Cache();
                                v1_4.osVersion = android.os.Build$VERSION.SDK.getBytes();
                                v1_4.timestamp = p11.getBytes();
                                java.io.FileOutputStream v4_4 = this.zzoy.zzd(this.zzoz, v4_2).getBytes();
                                v1_4.data = v4_4;
                                v1_4.hash = com.google.android.gms.internal.zzai.zze(v4_4);
                                v2_0.createNewFile();
                                java.io.FileOutputStream v4_7 = new java.io.FileOutputStream(v2_0);
                                java.io.IOException v1_6 = com.google.android.gms.internal.zzamj.toByteArray(v1_4);
                                v4_7.write(v1_6, 0, v1_6.length);
                                v4_7.close();
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            } else {
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            }
                        } catch (java.io.IOException v1_7) {
                            v1_1 = v0_7;
                            java.io.IOException v0_9 = v1_7;
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            this.zza(v3_1);
                            throw v0_9;
                        } catch (java.io.IOException v1) {
                            if (v0_7 != null) {
                                try {
                                    v0_7.close();
                                } catch (java.io.IOException v0) {
                                }
                            }
                            this.zza(v3_1);
                        } catch (java.io.IOException v1) {
                        } catch (java.io.IOException v1) {
                        }
                    } catch (java.io.IOException v0_9) {
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    }
                }
            }
        }
        return;
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


    private java.io.FileOutputStream zzsQ()
    {
        if (this.zzaoW != null) {
            try {
                IllegalStateException v0_6 = java.io.File.createTempFile("teleporter", ".tmp", this.zzaoW);
                try {
                    String v1_2 = new java.io.FileOutputStream(v0_6);
                    this.zzMq = 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.zzMq = 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.facebook.internal.NativeAppCallAttachmentStore.processAttachmentFile() calling method java.io.FileOutputStream.<init>()


    private static void processAttachmentFile(android.net.Uri p4, boolean p5, java.io.File p6)
    {
        java.io.InputStream v0;
        java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(p6);
        try {
            if (p5) {
                v0 = com.facebook.FacebookSdk.getApplicationContext().getContentResolver().openInputStream(p4);
            } else {
                v0 = new java.io.FileInputStream(p4.getPath());
            }
        } catch (Throwable v3_1) {
            com.facebook.internal.Utility.closeQuietly(v2_1);
            throw v3_1;
        }
        com.facebook.internal.Utility.copyAndCloseInputStream(v0, v2_1);
        com.facebook.internal.Utility.closeQuietly(v2_1);
        return;
    }

Method com.facebook.internal.NativeAppCallAttachmentStore.processAttachmentBitmap() calling method java.io.FileOutputStream.<init>()


    private static void processAttachmentBitmap(android.graphics.Bitmap p3, java.io.File p4)
    {
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p4);
        try {
            p3.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v0_1);
            com.facebook.internal.Utility.closeQuietly(v0_1);
            return;
        } catch (Throwable v1_1) {
            com.facebook.internal.Utility.closeQuietly(v0_1);
            throw v1_1;
        }
    }

Method com.facebook.internal.FileLruCache.openPutStream() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream openPutStream(String p18, String p19)
    {
        java.io.File v6 = com.facebook.internal.FileLruCache$BufferFile.newFile(this.directory);
        v6.delete();
        if (v6.createNewFile()) {
            try {
                java.io.BufferedOutputStream v8_1 = new java.io.BufferedOutputStream(new com.facebook.internal.FileLruCache$CloseCallbackOutputStream(new java.io.FileOutputStream(v6), new com.facebook.internal.FileLruCache$1(this, System.currentTimeMillis(), v6, p18)), 8192);
                try {
                    org.json.JSONObject v12_1 = new org.json.JSONObject();
                    v12_1.put("key", p18);
                } catch (org.json.JSONException v10_1) {
                    com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.CACHE, 5, com.facebook.internal.FileLruCache.TAG, new StringBuilder().append("Error creating JSON header for cache file: ").append(v10_1).toString());
                    throw new java.io.IOException(v10_1.getMessage());
                } catch (java.io.IOException v3_13) {
                    if (0 == 0) {
                        v8_1.close();
                    }
                    throw v3_13;
                }
                if (!com.facebook.internal.Utility.isNullOrEmpty(p19)) {
                    v12_1.put("tag", p19);
                }
                com.facebook.internal.FileLruCache$StreamHeader.writeHeader(v8_1, v12_1);
                if (1 == 0) {
                    v8_1.close();
                }
                return v8_1;
            } catch (org.json.JSONException v10_0) {
                com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.CACHE, 5, com.facebook.internal.FileLruCache.TAG, new StringBuilder().append("Error creating buffer output stream: ").append(v10_0).toString());
                throw new java.io.IOException(v10_0.getMessage());
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("Could not create file at ").append(v6.getAbsolutePath()).toString());
        }
    }

Method com.deniz.dijitaldeniz.wallet.imageresizer.utils.ImageWriter.writeToFile() calling method java.io.FileOutputStream.<init>()


    public static boolean writeToFile(android.graphics.Bitmap p6, java.io.File p7)
    {
        java.io.ByteArrayOutputStream v0_1 = new java.io.ByteArrayOutputStream();
        p6.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v0_1);
        try {
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(p7);
            v2_1.write(v0_1.toByteArray());
            v2_1.close();
        } catch (java.io.IOException v1_1) {
            v1_1.printStackTrace();
        } catch (java.io.IOException v1_0) {
            v1_0.printStackTrace();
        }
        return 1;
    }

Method com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.rotateImage() calling method java.io.FileOutputStream.<init>()


    public static String rotateImage(int p12, String p13)
    {
        if (p12 > 0) {
            try {
                android.graphics.Bitmap v0 = android.graphics.BitmapFactory.decodeFile(p13);
                android.graphics.Matrix v5_1 = new android.graphics.Matrix();
            } catch (Exception v7) {
                v7.printStackTrace();
            }
            if (v0.getWidth() > v0.getHeight()) {
                v5_1.setRotate(((float) p12));
                v0 = android.graphics.Bitmap.createBitmap(v0, 0, 0, v0.getWidth(), v0.getHeight(), v5_1, 1);
            }
            java.io.FileOutputStream v8_1 = new java.io.FileOutputStream(p13);
            String v9 = p13.substring((p13.lastIndexOf("/") + 1));
            String v10 = v9.substring((v9.lastIndexOf(".") + 1));
            java.io.FileOutputStream v11_1 = new java.io.FileOutputStream(p13);
            if (!v10.equalsIgnoreCase("png")) {
                if ((v10.equalsIgnoreCase("jpeg")) || (v10.equalsIgnoreCase("jpg"))) {
                    v0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, v11_1);
                }
            } else {
                v0.compress(android.graphics.Bitmap$CompressFormat.PNG, 80, v11_1);
            }
            v8_1.flush();
            v8_1.close();
            if ((v0 != null) && (!v0.isRecycled())) {
                v0.recycle();
            }
        }
        return p13;
    }

Method com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.getTemporaryFileNameFromBitmap() calling method java.io.FileOutputStream.<init>()


    private static String getTemporaryFileNameFromBitmap(android.graphics.Bitmap p6)
    {
        String v3 = new StringBuilder().append(android.os.Environment.getExternalStorageDirectory().getAbsolutePath()).append("/temporaryPath").toString();
        java.io.File v0_1 = new java.io.File(v3);
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(new java.io.File(v0_1, "temporaryBitmap.png"));
        p6.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v1_1);
        v1_1.flush();
        v1_1.close();
        return v3;
    }

Method com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.getSmallImageFromSDCard() calling method java.io.FileOutputStream.<init>()


    public static final String getSmallImageFromSDCard(String p18, String p19, int p20, int p21)
    {
        android.graphics.BitmapFactory$Options v15_1 = new android.graphics.BitmapFactory$Options();
        v15_1.inPreferredConfig = android.graphics.Bitmap$Config.ARGB_8888;
        int v2 = android.graphics.BitmapFactory.decodeFile(p19, v15_1);
        int v13 = 0;
        try {
            if (new android.media.ExifInterface(p19).getAttributeInt("Orientation", 1) != 6) {
                v13 = v2;
                if (v13.getWidth() > v13.getHeight()) {
                    p21 = p20;
                    p20 = p21;
                }
            } else {
                android.graphics.Matrix v7_1 = new android.graphics.Matrix();
                v7_1.setRotate(1119092736);
                v13 = android.graphics.Bitmap.createBitmap(v2, 0, 0, v2.getWidth(), v2.getHeight(), v7_1, 1);
            }
        } catch (Exception v9) {
            v9.printStackTrace();
        }
        int v17 = android.graphics.Bitmap.createScaledBitmap(v13, p20, p21, 0);
        java.io.File v12 = com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.createImageFile(p18);
        try {
            java.io.FileOutputStream v11_1 = new java.io.FileOutputStream(v12);
            v17.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, v11_1);
            v11_1.flush();
            v11_1.close();
        } catch (Exception v9) {
            if (v2 != 0) {
                if (!v2.isRecycled()) {
                    v2.recycle();
                }
            }
            if (v13 != 0) {
                if (!v13.isRecycled()) {
                    v13.recycle();
                }
            }
            if (v17 == 0) {
                return p19;
            } else {
                if (v17.isRecycled()) {
                    return p19;
                } else {
                    v17.recycle();
                    return p19;
                }
            }
            p19 = v12.getAbsolutePath();
            return p19;
        }
        if ((v2 != 0) && (!v2.isRecycled())) {
            v2.recycle();
            v2 = 0;
        }
        if ((v13 != 0) && (!v13.isRecycled())) {
            v13.recycle();
            v13 = 0;
        }
        if ((v17 != 0) && (!v17.isRecycled())) {
            v17.recycle();
            v17 = 0;
        }
    }

Method com.deniz.dijitaldeniz.wallet.fragments.NativeCameraFragment$6.onPictureTaken() calling method java.io.FileOutputStream.<init>()


    public void onPictureTaken(byte[] p10, android.hardware.Camera p11)
    {
        java.io.File v3 = com.deniz.dijitaldeniz.wallet.fragments.NativeCameraFragment.access$400(this.this$0);
        if (v3 != null) {
            try {
                java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v3);
                v2_1.write(p10);
                v2_1.close();
                android.graphics.Bitmap v0 = android.graphics.BitmapFactory.decodeByteArray(p10, 0, p10.length);
                android.graphics.Bitmap.createBitmap(v0, 0, 0, v0.getWidth(), v0.getHeight());
                com.deniz.dijitaldeniz.wallet.fragments.NativeCameraFragment.access$200(this.this$0, com.deniz.dijitaldeniz.wallet.fragments.NativeCameraFragment.access$500(this.this$0));
            } catch (java.io.IOException v1_1) {
                v1_1.printStackTrace();
            } catch (java.io.IOException v1_0) {
                v1_0.printStackTrace();
            }
        } else {
            android.widget.Toast.makeText(this.this$0.getActivity(), this.this$0.getResources().getString(2131165409), 0).show();
        }
        return;
    }

Method com.deniz.dijitaldeniz.wallet.activities.CropCustomScaleActivity.cropAndSave() calling method java.io.FileOutputStream.<init>()


    private void cropAndSave()
    {
        this.croppedImage = this.cropImageView.getCroppedImage();
        int v4 = this.setImageSize(this.croppedImage);
        try {
            java.io.File v3 = java.io.File.createTempFile("preview_wallet", ".png", this.getApplicationContext().getCacheDir());
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(v3);
            v4.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v1_1);
            v1_1.flush();
            v1_1.close();
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            return;
        }
        if ((v4 != 0) && (!v4.isRecycled())) {
            v4.recycle();
        }
        android.content.Intent v5_1 = new android.content.Intent();
        v5_1.putExtra("EXTRA_IMAGE_URI", v3.getPath());
        this.setResult(1001, v5_1);
        this.finish();
        return;
    }

Method com.deniz.dijitaldeniz.helper.SocialShareActivity.getLocalBitmapUri() calling method java.io.FileOutputStream.<init>()


    public android.net.Uri getLocalBitmapUri(android.widget.ImageView p11)
    {
        android.net.Uri v1;
        if (!(p11.getDrawable() instanceof android.graphics.drawable.BitmapDrawable)) {
            v1 = 0;
        } else {
            android.graphics.Bitmap v0 = ((android.graphics.drawable.BitmapDrawable) p11.getDrawable()).getBitmap();
            try {
                java.io.File v4_1 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DOWNLOADS), new StringBuilder().append("share_image_").append(System.currentTimeMillis()).append(".png").toString());
                v4_1.getParentFile().mkdirs();
                java.io.FileOutputStream v5_1 = new java.io.FileOutputStream(v4_1);
                v0.compress(android.graphics.Bitmap$CompressFormat.PNG, 90, v5_1);
                v5_1.close();
                v1 = android.net.Uri.fromFile(v4_1);
            } catch (java.io.IOException v3) {
                v3.printStackTrace();
            }
        }
        return v1;
    }

Method com.deniz.dijitaldeniz.helper.SocialShareActivity$1.doInBackground() calling method java.io.FileOutputStream.<init>()


    protected varargs Void doInBackground(Integer[] p14)
    {
        String v3 = "";
        int v5 = com.deniz.dijitaldeniz.helper.SocialShareActivity.access$000(this.this$0).lastIndexOf(46);
        if (v5 > 0) {
            v3 = com.deniz.dijitaldeniz.helper.SocialShareActivity.access$000(this.this$0).substring((v5 + 1));
        }
        android.graphics.Bitmap v6;
        android.util.Log.i("", new StringBuilder().append("extension: ").append(v3).toString());
        if ((!v3.equals("jpg")) && ((!v3.equals("jpeg")) && ((!v3.equals("png")) && (!v3.equals("bmp"))))) {
            v6 = com.deniz.dijitaldeniz.helper.AppMethods.getBitmapFromProtectedURL(com.deniz.dijitaldeniz.helper.SocialShareActivity.access$000(this.this$0));
        } else {
            v6 = com.deniz.dijitaldeniz.helper.AppMethods.getBitmapFromURL(com.deniz.dijitaldeniz.helper.SocialShareActivity.access$000(this.this$0));
        }
        java.io.File v1_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), ".share-image.png");
        if (v1_1.exists()) {
            v1_1.delete();
        }
        try {
            java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v1_1);
            java.io.ByteArrayOutputStream v8_1 = new java.io.ByteArrayOutputStream();
            v6.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v7_1);
            v7_1.write(v8_1.toByteArray());
            v7_1.flush();
            v7_1.close();
        } catch (Exception v2) {
            v2.printStackTrace();
        }
        com.deniz.dijitaldeniz.helper.SocialShareActivity.access$102(this.this$0, android.net.Uri.parse(new StringBuilder().append("file://").append(v1_1.getAbsoluteFile().toString()).toString()));
        return 0;
    }

Method com.deniz.dijitaldeniz.helper.Base64.encodeToFile() calling method java.io.FileOutputStream.<init>()


    public static void encodeToFile(byte[] p5, String p6)
    {
        if (p5 != null) {
            com.deniz.dijitaldeniz.helper.Base64$OutputStream v0 = 0;
            try {
                com.deniz.dijitaldeniz.helper.Base64$OutputStream v1_1 = new com.deniz.dijitaldeniz.helper.Base64$OutputStream(new java.io.FileOutputStream(p6), 1);
                try {
                    v1_1.write(p5);
                    try {
                        v1_1.close();
                    } catch (Exception v3) {
                    }
                    return;
                } catch (Exception v3_0) {
                    v0 = v1_1;
                    try {
                        v0.close();
                    } catch (Exception v4) {
                    }
                    throw v3_0;
                } catch (java.io.IOException v2) {
                    v0 = v1_1;
                    throw v2;
                }
            } catch (Exception v3_0) {
            } catch (java.io.IOException v2) {
            }
        } else {
            throw new NullPointerException("Data to encode was null.");
        }
    }

Method com.deniz.dijitaldeniz.helper.Base64.encodeFileToFile() calling method java.io.FileOutputStream.<init>()


    public static void encodeFileToFile(String p6, String p7)
    {
        String v1 = com.deniz.dijitaldeniz.helper.Base64.encodeFromFile(p6);
        java.io.BufferedOutputStream v2 = 0;
        try {
            java.io.BufferedOutputStream v3_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p7));
            try {
                v3_1.write(v1.getBytes("US-ASCII"));
                try {
                    v3_1.close();
                } catch (Exception v4) {
                }
                return;
            } catch (Exception v4_1) {
                v2 = v3_1;
                try {
                    v2.close();
                } catch (Exception v5) {
                }
                throw v4_1;
            } catch (java.io.IOException v0) {
                v2 = v3_1;
                throw v0;
            }
        } catch (Exception v4_1) {
        } catch (java.io.IOException v0) {
        }
    }

Method com.deniz.dijitaldeniz.helper.Base64.decodeToFile() calling method java.io.FileOutputStream.<init>()


    public static void decodeToFile(String p5, String p6)
    {
        com.deniz.dijitaldeniz.helper.Base64$OutputStream v0 = 0;
        try {
            com.deniz.dijitaldeniz.helper.Base64$OutputStream v1_1 = new com.deniz.dijitaldeniz.helper.Base64$OutputStream(new java.io.FileOutputStream(p6), 0);
            try {
                v1_1.write(p5.getBytes("US-ASCII"));
                try {
                    v1_1.close();
                } catch (Exception v3) {
                }
                return;
            } catch (Exception v3_0) {
                v0 = v1_1;
                try {
                    v0.close();
                } catch (Exception v4) {
                }
                throw v3_0;
            } catch (java.io.IOException v2) {
                v0 = v1_1;
                throw v2;
            }
        } catch (Exception v3_0) {
        } catch (java.io.IOException v2) {
        }
    }

Method com.deniz.dijitaldeniz.helper.Base64.decodeFileToFile() calling method java.io.FileOutputStream.<init>()


    public static void decodeFileToFile(String p6, String p7)
    {
        byte[] v0 = com.deniz.dijitaldeniz.helper.Base64.decodeFromFile(p6);
        java.io.BufferedOutputStream v2 = 0;
        try {
            java.io.BufferedOutputStream v3_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p7));
            try {
                v3_1.write(v0);
                try {
                    v3_1.close();
                } catch (Exception v4) {
                }
                return;
            } catch (Exception v4_0) {
                v2 = v3_1;
                try {
                    v2.close();
                } catch (Exception v5) {
                }
                throw v4_0;
            } catch (java.io.IOException v1) {
                v2 = v3_1;
                throw v1;
            }
        } catch (Exception v4_0) {
        } catch (java.io.IOException v1) {
        }
    }

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


    public void writeUserData(String p9, com.crashlytics.android.core.UserMetaData p10)
    {
        java.io.File v1 = this.getUserDataFileForSession(p9);
        java.io.BufferedWriter v3 = 0;
        try {
            String v2 = com.crashlytics.android.core.MetaDataStore.userDataToJson(p10);
            java.io.BufferedWriter v4_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v1), com.crashlytics.android.core.MetaDataStore.UTF_8));
            try {
                v4_0.write(v2);
                v4_0.flush();
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v4_0, "Failed to close user metadata file.");
            } catch (Throwable v5_4) {
                v3 = v4_0;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3, "Failed to close user metadata file.");
                throw v5_4;
            } catch (Exception v0) {
                v3 = v4_0;
                io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error serializing user metadata.", v0);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3, "Failed to close user metadata file.");
            }
            return;
        } catch (Throwable v5_4) {
        } catch (Exception v0) {
        }
    }

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


    public void writeKeyData(String p9, java.util.Map p10)
    {
        java.io.File v1 = this.getKeysFileForSession(p9);
        java.io.BufferedWriter v3 = 0;
        try {
            String v2 = com.crashlytics.android.core.MetaDataStore.keysDataToJson(p10);
            java.io.BufferedWriter v4_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v1), com.crashlytics.android.core.MetaDataStore.UTF_8));
            try {
                v4_0.write(v2);
                v4_0.flush();
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v4_0, "Failed to close key/value metadata file.");
            } catch (Throwable v5_4) {
                v3 = v4_0;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3, "Failed to close key/value metadata file.");
                throw v5_4;
            } catch (Exception v0) {
                v3 = v4_0;
                io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error serializing key/value metadata.", v0);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3, "Failed to close key/value metadata file.");
            }
            return;
        } catch (Throwable v5_4) {
        } catch (Exception v0) {
        }
    }

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


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

Method com.android.volley.request.DownloadRequest.parseNetworkResponse() calling method java.io.FileOutputStream.<init>()


    protected com.android.volley.Response parseNetworkResponse(com.android.volley.NetworkResponse p8)
    {
        try {
            byte[] v0 = p8.data;
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(this.mDownloadPath);
            v2_1.write(v0);
            v2_1.close();
            String v3 = this.mDownloadPath;
        } catch (java.io.IOException v1) {
            String v4_1 = new String(p8.data);
            if (!android.text.TextUtils.isEmpty(v4_1)) {
                v3 = v4_1;
                return com.android.volley.Response.success(v3, com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders(p8));
            } else {
                v3 = "";
                return com.android.volley.Response.success(v3, com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders(p8));
            }
        } catch (java.io.IOException v1_1) {
            v1_1.printStackTrace();
            if (!android.text.TextUtils.isEmpty(v3)) {
                return com.android.volley.Response.success(v3, com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders(p8));
            } else {
                v3 = "";
                return com.android.volley.Response.success(v3, com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders(p8));
            }
        } catch (java.io.IOException v1_0) {
            v1_0.printStackTrace();
            if (!android.text.TextUtils.isEmpty(v3)) {
                return com.android.volley.Response.success(v3, com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders(p8));
            } else {
                v3 = "";
                return com.android.volley.Response.success(v3, com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders(p8));
            }
        } catch (boolean v5_5) {
            // Both branches of the condition point to the same code.
            // if (!android.text.TextUtils.isEmpty(v3)) {
                throw v5_5;
            // }
        }
        if (!android.text.TextUtils.isEmpty(v3)) {
            return com.android.volley.Response.success(v3, com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders(p8));
        } else {
            v3 = "";
            return com.android.volley.Response.success(v3, com.android.volley.toolbox.HttpHeaderParser.parseCacheHeaders(p8));
        }
    }

Method com.android.volley.misc.DiskLruCache.rebuildJournal() calling method java.io.FileOutputStream.<init>()


    private declared_synchronized void rebuildJournal()
    {
        try {
            if (this.journalWriter != null) {
                this.journalWriter.close();
            }
        } catch (java.io.BufferedWriter v3_38) {
            throw v3_38;
        }
        java.io.BufferedWriter v2_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFileTmp), com.android.volley.misc.Utils.US_ASCII));
        try {
            v2_0.write("libcore.io.DiskLruCache");
            v2_0.write("\n");
            v2_0.write("1");
            v2_0.write("\n");
            v2_0.write(Integer.toString(this.appVersion));
            v2_0.write("\n");
            v2_0.write(Integer.toString(this.valueCount));
            v2_0.write("\n");
            v2_0.write("\n");
            java.util.Iterator v1 = this.lruEntries.values().iterator();
        } catch (java.io.BufferedWriter v3_37) {
            v2_0.close();
            throw v3_37;
        }
        while (v1.hasNext()) {
            com.android.volley.misc.DiskLruCache$Entry v0_1 = ((com.android.volley.misc.DiskLruCache$Entry) v1.next());
            if (com.android.volley.misc.DiskLruCache$Entry.access$700(v0_1) == null) {
                v2_0.write(new StringBuilder().append("CLEAN ").append(com.android.volley.misc.DiskLruCache$Entry.access$1100(v0_1)).append(v0_1.getLengths()).append(10).toString());
            } else {
                v2_0.write(new StringBuilder().append("DIRTY ").append(com.android.volley.misc.DiskLruCache$Entry.access$1100(v0_1)).append(10).toString());
            }
        }
        v2_0.close();
        if (this.journalFile.exists()) {
            com.android.volley.misc.DiskLruCache.renameTo(this.journalFile, this.journalFileBackup, 1);
        }
        com.android.volley.misc.DiskLruCache.renameTo(this.journalFileTmp, this.journalFile, 0);
        this.journalFileBackup.delete();
        this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.android.volley.misc.Utils.US_ASCII));
        return;
    }

Method com.android.volley.misc.DiskLruCache.open() calling method java.io.FileOutputStream.<init>()


    public static com.android.volley.misc.DiskLruCache open(java.io.File p11, int p12, int p13, long p14)
    {
        if (p14 > 0) {
            if (p13 > 0) {
                java.io.File v6_1 = new java.io.File(p11, "journal.bkp");
                if (v6_1.exists()) {
                    java.io.File v8_1 = new java.io.File(p11, "journal");
                    if (!v8_1.exists()) {
                        com.android.volley.misc.DiskLruCache.renameTo(v6_1, v8_1, 0);
                    } else {
                        v6_1.delete();
                    }
                }
                void v7;
                void v0_1 = new com.android.volley.misc.DiskLruCache(p11, p12, p13, p14);
                if (!v0_1.journalFile.exists()) {
                    p11.mkdirs();
                    v7 = new com.android.volley.misc.DiskLruCache(p11, p12, p13, p14).rebuildJournal();
                } else {
                    try {
                        void v0_3 = v0_1.readJournal().processJournal();
                        v0_3.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_3.journalFile, 1), com.android.volley.misc.Utils.US_ASCII));
                        v7 = v0_3;
                    } catch (java.io.IOException v9) {
                        System.out.println(new StringBuilder().append("DiskLruCache ").append(p11).append(" is corrupt: ").append(v9.getMessage()).append(", removing").toString());
                        v0_3.delete();
                    }
                }
                return v7;
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

Method com.android.volley.misc.DiskLruCache$Editor.newOutputStream() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream newOutputStream(int p8)
    {
        try {
            if (com.android.volley.misc.DiskLruCache$Entry.access$700(this.entry) == this) {
                if (!com.android.volley.misc.DiskLruCache$Entry.access$600(this.entry)) {
                    this.written[p8] = 1;
                }
                java.io.File v0 = this.entry.getDirtyFile(p8);
                java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(v0);
                java.io.OutputStream v4_4 = new com.android.volley.misc.DiskLruCache$Editor$FaultHidingOutputStream(this, v3_1, 0);
                return v4_4;
            } else {
                throw new IllegalStateException();
            }
        } catch (java.io.OutputStream v4_9) {
            throw v4_9;
        }
    }

Method com.android.volley.cache.DiskBasedCache.put() calling method java.io.FileOutputStream.<init>()


    public declared_synchronized void put(String p10, com.android.volley.Cache$Entry p11)
    {
        try {
            this.pruneIfNeeded(p11.data.length);
            java.io.File v2 = this.getFileForKey(p10);
            try {
                java.io.BufferedOutputStream v3_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v2));
                com.android.volley.cache.DiskBasedCache$CacheHeader v1_0 = new com.android.volley.cache.DiskBasedCache$CacheHeader(p10, p11);
            } catch (String v5) {
                if (v2.delete()) {
                    return;
                } else {
                    Object[] v6_3 = new Object[1];
                    v6_3[0] = v2.getAbsolutePath();
                    com.android.volley.VolleyLog.d("Could not clean up file %s", v6_3);
                    return;
                }
            }
            if (v1_0.writeHeader(v3_1)) {
                v3_1.write(p11.data);
                v3_1.close();
                this.putEntry(p10, v1_0);
                return;
            } else {
                v3_1.close();
                Object[] v6_1 = new Object[1];
                v6_1[0] = v2.getAbsolutePath();
                com.android.volley.VolleyLog.d("Failed to write header for %s", v6_1);
                throw new java.io.IOException();
            }
        } catch (String v5_7) {
            throw v5_7;
        }
    }

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


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

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


    public void onWrite(android.print.PageRange[] p11, android.os.ParcelFileDescriptor p12, android.os.CancellationSignal p13, android.print.PrintDocumentAdapter$WriteResultCallback p14)
    {
        android.print.pdf.PrintedPdfDocument v5_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.mAttributes);
        android.graphics.Bitmap v3 = android.support.v4.print.PrintHelperKitkat.access$000(this.this$0, this.mBitmap, this.mAttributes.getColorMode());
        try {
            android.graphics.pdf.PdfDocument$Page v4 = v5_1.startPage(1);
            v4.getCanvas().drawBitmap(v3, android.support.v4.print.PrintHelperKitkat.access$100(this.this$0, this.mBitmap.getWidth(), this.mBitmap.getHeight(), new android.graphics.RectF(v4.getInfo().getContentRect()), this.val$fittingMode), 0);
            v5_1.finishPage(v4);
        } catch (java.io.IOException v6_14) {
            if (v5_1 != null) {
                v5_1.close();
            }
            if (p12 != null) {
                try {
                    p12.close();
                } catch (java.io.IOException v7) {
                }
            }
            if (v3 != this.mBitmap) {
                v3.recycle();
            }
            throw v6_14;
        }
        try {
            v5_1.writeTo(new java.io.FileOutputStream(p12.getFileDescriptor()));
            java.io.IOException v6_10 = new android.print.PageRange[1];
            v6_10[0] = android.print.PageRange.ALL_PAGES;
            p14.onWriteFinished(v6_10);
        } catch (java.io.IOException v1) {
            android.util.Log.e("PrintHelperKitkat", "Error writing printed content", v1);
            p14.onWriteFailed(0);
        }
        if (v5_1 != null) {
            v5_1.close();
        }
        if (p12 != null) {
            try {
                p12.close();
            } catch (java.io.IOException v6) {
            }
        }
        if (v3 != this.mBitmap) {
            v3.recycle();
        }
        return;
    }

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


    public void onWrite(android.print.PageRange[] p11, android.os.ParcelFileDescriptor p12, android.os.CancellationSignal p13, android.print.PrintDocumentAdapter$WriteResultCallback p14)
    {
        android.print.pdf.PrintedPdfDocument v5_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.mAttributes);
        android.graphics.Bitmap v3 = android.support.v4.print.PrintHelperKitkat.access$000(this.this$0, this.val$bitmap, this.mAttributes.getColorMode());
        try {
            android.graphics.pdf.PdfDocument$Page v4 = v5_1.startPage(1);
            v4.getCanvas().drawBitmap(v3, android.support.v4.print.PrintHelperKitkat.access$100(this.this$0, v3.getWidth(), v3.getHeight(), new android.graphics.RectF(v4.getInfo().getContentRect()), this.val$fittingMode), 0);
            v5_1.finishPage(v4);
        } catch (java.io.IOException v6_14) {
            if (v5_1 != null) {
                v5_1.close();
            }
            if (p12 != null) {
                try {
                    p12.close();
                } catch (java.io.IOException v7) {
                }
            }
            if (v3 != this.val$bitmap) {
                v3.recycle();
            }
            throw v6_14;
        }
        try {
            v5_1.writeTo(new java.io.FileOutputStream(p12.getFileDescriptor()));
            java.io.IOException v6_10 = new android.print.PageRange[1];
            v6_10[0] = android.print.PageRange.ALL_PAGES;
            p14.onWriteFinished(v6_10);
        } catch (java.io.IOException v1) {
            android.util.Log.e("PrintHelperKitkat", "Error writing printed content", v1);
            p14.onWriteFailed(0);
        }
        if (v5_1 != null) {
            v5_1.close();
        }
        if (p12 != null) {
            try {
                p12.close();
            } catch (java.io.IOException v6) {
            }
        }
        if (v3 != this.val$bitmap) {
            v3.recycle();
        }
        return;
    }

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


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

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


    public void writeCrashReport()
    {
        String v2 = new StringBuilder().append(net.hockeyapp.android.Constants.FILES_PATH).append("/").append(this.crashIdentifier).append(".stacktrace").toString();
        net.hockeyapp.android.utils.HockeyLog.debug(new StringBuilder().append("Writing unhandled exception to: ").append(v2).toString());
        java.io.BufferedWriter v3 = 0;
        try {
            java.io.BufferedWriter v4_1 = new java.io.BufferedWriter(new java.io.FileWriter(v2));
            try {
                this.writeHeader(v4_1, "Package", this.appPackage);
                this.writeHeader(v4_1, "Version Code", this.appVersionCode);
                this.writeHeader(v4_1, "Version Name", this.appVersionName);
                this.writeHeader(v4_1, "Android", this.osVersion);
                this.writeHeader(v4_1, "Android Build", this.osBuild);
                this.writeHeader(v4_1, "Manufacturer", this.deviceManufacturer);
                this.writeHeader(v4_1, "Model", this.deviceModel);
                this.writeHeader(v4_1, "Thread", this.threadName);
                this.writeHeader(v4_1, "CrashReporter Key", this.reporterKey);
                this.writeHeader(v4_1, "Start Date", net.hockeyapp.android.objects.CrashDetails.DATE_FORMAT.format(this.appStartDate));
                this.writeHeader(v4_1, "Date", net.hockeyapp.android.objects.CrashDetails.DATE_FORMAT.format(this.appCrashDate));
                v4_1.write("\n");
                v4_1.write(this.throwableStackTrace);
                v4_1.flush();
            } catch (String v5_27) {
                v3 = v4_1;
                if (v3 != null) {
                    try {
                        v3.close();
                    } catch (java.io.IOException v1_1) {
                        net.hockeyapp.android.utils.HockeyLog.error("Error saving crash report!", v1_1);
                    }
                }
                throw v5_27;
            } catch (java.io.IOException v0) {
                v3 = v4_1;
                net.hockeyapp.android.utils.HockeyLog.error("Error saving crash report!", v0);
                if (v3 == null) {
                    return;
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v1_0) {
                        net.hockeyapp.android.utils.HockeyLog.error("Error saving crash report!", v1_0);
                    }
                    return;
                }
            }
            if (v4_1 == null) {
                return;
            } else {
                try {
                    v4_1.close();
                } catch (java.io.IOException v1_2) {
                    net.hockeyapp.android.utils.HockeyLog.error("Error saving crash report!", v1_2);
                }
                return;
            }
        } catch (String v5_27) {
        } catch (java.io.IOException v0) {
        }
    }

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


    public void writeCachedSettings(long p8, org.json.JSONObject p10)
    {
        io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "Writing settings to cache file...");
        if (p10 != null) {
            java.io.FileWriter v1 = 0;
            try {
                p10.put("expires_at", p8);
                java.io.FileWriter v2_0 = new java.io.FileWriter(new java.io.File(new io.fabric.sdk.android.services.persistence.FileStoreImpl(this.kit).getFilesDir(), "com.crashlytics.settings.json"));
                try {
                    v2_0.write(p10.toString());
                    v2_0.flush();
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2_0, "Failed to close settings writer.");
                } catch (Throwable v3_7) {
                    v1 = v2_0;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Failed to close settings writer.");
                    throw v3_7;
                } catch (Exception v0) {
                    v1 = v2_0;
                    io.fabric.sdk.android.Fabric.getLogger().e("Fabric", "Failed to cache settings", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Failed to close settings writer.");
                }
            } catch (Throwable v3_7) {
            } catch (Exception v0) {
            }
        }
        return;
    }

Method net.hockeyapp.android.ExceptionHandler.writeValueToFile() calling method java.io.FileWriter.<init>()


    private static void writeValueToFile(String p5, String p6)
    {
        if (!android.text.TextUtils.isEmpty(p5)) {
            java.io.BufferedWriter v1 = 0;
            try {
                String v0 = new StringBuilder().append(net.hockeyapp.android.Constants.FILES_PATH).append("/").append(p6).toString();
            } catch (java.io.IOException v3_7) {
                if (v1 != null) {
                    v1.close();
                }
                throw v3_7;
            } catch (java.io.IOException v3) {
                if (v1 == null) {
                    return;
                } else {
                    v1.close();
                    return;
                }
                if (v1 != null) {
                    v1.close();
                }
            }
            if ((!android.text.TextUtils.isEmpty(p5)) && (android.text.TextUtils.getTrimmedLength(p5) > 0)) {
                java.io.BufferedWriter v2_1 = new java.io.BufferedWriter(new java.io.FileWriter(v0));
                try {
                    v2_1.write(p5);
                    v2_1.flush();
                    v1 = v2_1;
                } catch (java.io.IOException v3_7) {
                    v1 = v2_1;
                } catch (java.io.IOException v3) {
                    v1 = v2_1;
                }
            }
        }
        return;
    }

Method org.java_websocket.util.Base64.encodeFromFile() calling method java.io.FileInputStream.<init>()


    public static String encodeFromFile(String p8)
    {
        Exception v0_0 = 0;
        String v2_0 = 0;
        try {
            int v3_2 = new java.io.File(p8);
            byte[] v4_2 = new byte[Math.max(((int) ((((double) v3_2.length()) * 1.4) + 1.0)), 40)];
            Exception v1_3 = new org.java_websocket.util.Base64$InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(v3_2)), 1);
            try {
                while(true) {
                    String v2_2 = v1_3.read(v4_2, v0_0, 4096);
                    v0_0 += v2_2;
                }
                String v2_4 = new String(v4_2, 0, v0_0, "US-ASCII");
                try {
                    v1_3.close();
                } catch (Exception v0) {
                }
                return v2_4;
            } catch (Exception v0_1) {
                throw v0_1;
            }
            if (v2_2 >= null) {
            }
        } catch (Exception v0_2) {
            try {
                v2_0.close();
            } catch (Exception v1) {
            }
            throw v0_2;
        } catch (Exception v0_1) {
            v1_3 = 0;
        } catch (Exception v0_2) {
            v2_0 = v1_3;
        }
    }

Method org.java_websocket.util.Base64.decodeFromFile() calling method java.io.FileInputStream.<init>()


    public static byte[] decodeFromFile(String p8)
    {
        Exception v0_0 = 0;
        byte[] v1_0 = 0;
        try {
            int v3_3 = new java.io.File(p8);
        } catch (Exception v0_2) {
            try {
                v1_0.close();
            } catch (byte[] v1) {
            }
            throw v0_2;
        } catch (Exception v0_1) {
            throw v0_1;
        }
        if (v3_3.length() <= 2147483647) {
            byte[] v4_1 = new byte[((int) v3_3.length())];
            org.java_websocket.util.Base64$InputStream v2_2 = new org.java_websocket.util.Base64$InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(v3_3)), 0);
            try {
                while(true) {
                    byte[] v1_2 = v2_2.read(v4_1, v0_0, 4096);
                    v0_0 += v1_2;
                }
                byte[] v1_3 = new byte[v0_0];
                System.arraycopy(v4_1, 0, v1_3, 0, v0_0);
                try {
                    v2_2.close();
                } catch (Exception v0) {
                }
                return v1_3;
            } catch (Exception v0_2) {
                v1_0 = v2_2;
            } catch (Exception v0_1) {
                v1_0 = v2_2;
            }
            if (v1_2 >= null) {
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("File is too big for this convenience method (").append(v3_3.length()).append(" bytes).").toString());
        }
    }

Method net.hockeyapp.android.utils.SimpleMultipartEntity.addPart() calling method java.io.FileInputStream.<init>()


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

Method net.hockeyapp.android.utils.ImageUtils.determineOrientation() calling method java.io.FileInputStream.<init>()


    public static int determineOrientation(java.io.File p3)
    {
        java.io.FileInputStream v0 = 0;
        try {
            java.io.FileInputStream v1_1 = new java.io.FileInputStream(p3);
            try {
                Throwable v2_1 = net.hockeyapp.android.utils.ImageUtils.determineOrientation(v1_1);
            } catch (Throwable v2_0) {
                v0 = v1_1;
                if (v0 != null) {
                    v0.close();
                }
                throw v2_0;
            }
            if (v1_1 != null) {
                v1_1.close();
            }
            return v2_1;
        } catch (Throwable v2_0) {
        }
    }

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

Couldn't retrieve source code

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


    public org.json.JSONObject readCachedSettings()
    {
        io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "Reading cached settings...");
        java.io.FileInputStream v1 = 0;
        org.json.JSONObject v5 = 0;
        try {
            java.io.File v3_0 = new java.io.File(new io.fabric.sdk.android.services.persistence.FileStoreImpl(this.kit).getFilesDir(), "com.crashlytics.settings.json");
        } catch (Throwable v7_7) {
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
            throw v7_7;
        } catch (Exception v0) {
            io.fabric.sdk.android.Fabric.getLogger().e("Fabric", "Failed to fetch cached settings", v0);
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
            return v5;
        }
        if (!v3_0.exists()) {
            io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "No cached settings found.");
        } else {
            java.io.FileInputStream v2_1 = new java.io.FileInputStream(v3_0);
            try {
                v5 = new org.json.JSONObject(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v2_1));
                v1 = v2_1;
            } catch (Throwable v7_7) {
                v1 = v2_1;
            } catch (Exception v0) {
                v1 = v2_1;
            }
        }
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
        return v5;
    }

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


    public io.fabric.sdk.android.services.network.HttpRequest send(java.io.File p4)
    {
        try {
            return this.send(new java.io.BufferedInputStream(new java.io.FileInputStream(p4)));
        } catch (java.io.FileNotFoundException v0) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
        }
    }

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


    public io.fabric.sdk.android.services.network.HttpRequest part(String p6, String p7, String p8, java.io.File p9)
    {
        java.io.BufferedInputStream v1 = 0;
        try {
            java.io.BufferedInputStream v2_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p9));
            try {
                Throwable v3_5 = this.part(p6, p7, p8, v2_1);
            } catch (Throwable v3_2) {
                v1 = v2_1;
                if (v1 != null) {
                    try {
                        v1.close();
                    } catch (java.io.IOException v4) {
                    }
                }
                throw v3_2;
            } catch (java.io.IOException v0) {
                v1 = v2_1;
                throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
            }
            if (v2_1 != null) {
                try {
                    v2_1.close();
                } catch (java.io.IOException v4) {
                }
            }
            return v3_5;
        } catch (Throwable v3_2) {
        } catch (java.io.IOException v0) {
        }
    }

Method io.fabric.sdk.android.services.events.QueueFileEventStorage.move() calling method java.io.FileInputStream.<init>()


    private void move(java.io.File p6, java.io.File p7)
    {
        java.io.OutputStream v2 = 0;
        java.io.FileInputStream v0 = 0;
        try {
            java.io.FileInputStream v1_1 = new java.io.FileInputStream(p6);
            try {
                v2 = this.getMoveOutputStream(p7);
                Throwable v3_4 = new byte[1024];
                io.fabric.sdk.android.services.common.CommonUtils.copyStream(v1_1, v2, v3_4);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, "Failed to close file input stream");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close output stream");
                p6.delete();
                return;
            } catch (Throwable v3_2) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close file input stream");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close output stream");
                p6.delete();
                throw v3_2;
            }
        } catch (Throwable v3_2) {
        }
        v2 = this.getMoveOutputStream(p7);
        v3_4 = new byte[1024];
        io.fabric.sdk.android.services.common.CommonUtils.copyStream(v1_1, v2, v3_4);
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, "Failed to close file input stream");
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close output stream");
        p6.delete();
        return;
    }

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


    void zzKp()
    {
        if (this.zzbqr != null) {
            this.zzbqr.zzJt();
            com.google.android.gms.tagmanager.zzbn.v("Attempting to load resource from disk");
            if (((com.google.android.gms.tagmanager.zzci.zzKh().zzKi() != com.google.android.gms.tagmanager.zzci$zza.zzbqg) && (com.google.android.gms.tagmanager.zzci.zzKh().zzKi() != com.google.android.gms.tagmanager.zzci$zza.zzbqh)) || (!this.zzbnR.equals(com.google.android.gms.tagmanager.zzci.zzKh().getContainerId()))) {
                try {
                    String v1_5 = new java.io.FileInputStream(this.zzKq());
                    try {
                        String v0_10 = new java.io.ByteArrayOutputStream();
                        com.google.android.gms.internal.zzabt.zzc(v1_5, v0_10);
                        String v0_13 = com.google.android.gms.internal.zzabr$zza.zzD(v0_10.toByteArray());
                        this.zzd(v0_13);
                        this.zzbqr.onSuccess(v0_13);
                        try {
                            v1_5.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzbn.zzaW("Error closing stream for reading resource from disk");
                        }
                        com.google.android.gms.tagmanager.zzbn.v("The Disk resource was successfully read.");
                    } catch (String v0_20) {
                        try {
                            v1_5.close();
                        } catch (String v1) {
                            com.google.android.gms.tagmanager.zzbn.zzaW("Error closing stream for reading resource from disk");
                        }
                        throw v0_20;
                    } catch (String v0) {
                        this.zzbqr.zza(com.google.android.gms.tagmanager.zzbm$zza.zzbpG);
                        com.google.android.gms.tagmanager.zzbn.zzaW("Failed to read the resource from disk");
                        try {
                            v1_5.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzbn.zzaW("Error closing stream for reading resource from disk");
                        }
                    } catch (String v0) {
                        this.zzbqr.zza(com.google.android.gms.tagmanager.zzbm$zza.zzbpG);
                        com.google.android.gms.tagmanager.zzbn.zzaW("Failed to read the resource from disk. The resource is inconsistent");
                        try {
                            v1_5.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzbn.zzaW("Error closing stream for reading resource from disk");
                        }
                    }
                } catch (String v0) {
                    com.google.android.gms.tagmanager.zzbn.zzaU("Failed to find the resource in the disk");
                    this.zzbqr.zza(com.google.android.gms.tagmanager.zzbm$zza.zzbpF);
                }
            } else {
                this.zzbqr.zza(com.google.android.gms.tagmanager.zzbm$zza.zzbpF);
            }
            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 com.google.android.gms.internal.zzb$zza zza(String p9)
    {
        try {
            int v0_3;
            int v0_5 = ((com.google.android.gms.internal.zzv$zza) this.zzaw.get(p9));
        } catch (int v0_7) {
            throw v0_7;
        }
        if (v0_5 != 0) {
            int v3_2 = this.zzf(p9);
            try {
                int v2_0 = new com.google.android.gms.internal.zzv$zzb(new java.io.FileInputStream(v3_2), 0);
                try {
                    com.google.android.gms.internal.zzv$zza.zzf(v2_0);
                    v0_3 = v0_5.zzb(com.google.android.gms.internal.zzv.zza(v2_0, ((int) (v3_2.length() - ((long) com.google.android.gms.internal.zzv$zzb.zza(v2_0))))));
                } catch (int v0_1) {
                    Object[] v5_2 = new Object[2];
                    v5_2[0] = v3_2.getAbsolutePath();
                    v5_2[1] = v0_1.toString();
                    com.google.android.gms.internal.zzs.zzb("%s: %s", v5_2);
                    this.remove(p9);
                    if (v2_0 != 0) {
                        try {
                            v2_0.close();
                        } catch (int v0) {
                            v0_3 = 0;
                            return v0_3;
                        }
                    }
                    v0_3 = 0;
                }
                if (v2_0 != 0) {
                    try {
                        v2_0.close();
                    } catch (int v0) {
                        v0_3 = 0;
                    }
                }
            } catch (int v0_2) {
                v2_0 = 0;
                if (v2_0 != 0) {
                    try {
                        v2_0.close();
                    } catch (int v0) {
                        v0_3 = 0;
                        return v0_3;
                    }
                }
                throw v0_2;
            } catch (int v0_1) {
                v2_0 = 0;
            } catch (int v0_2) {
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

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


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

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


    private boolean zzb(java.io.File p9, String p10)
    {
        String v0 = 0;
        java.io.FileOutputStream v4_7 = new Object[2];
        v4_7[0] = p9;
        v4_7[1] = p10;
        byte[] v2_0 = new java.io.File(String.format("%s/%s.tmp", v4_7));
        if (v2_0.exists()) {
            int v5_1 = new Object[2];
            v5_1[0] = p9;
            v5_1[1] = p10;
            int v3_2 = new java.io.File(String.format("%s/%s.dex", v5_1));
            if (!v3_2.exists()) {
                java.io.FileOutputStream v4_3 = v2_0.length();
                if (v4_3 > 0) {
                    java.io.FileOutputStream v4_5 = new byte[((int) v4_3)];
                    if (new java.io.FileInputStream(v2_0).read(v4_5) > 0) {
                        java.io.FileOutputStream v4_6 = com.google.ads.afma.nano.Google3NanoAfmaSignals$Cache.parseFrom(v4_5);
                        if ((p10.equals(new String(v4_6.timestamp))) && ((java.util.Arrays.equals(v4_6.hash, com.google.android.gms.internal.zzai.zze(v4_6.data))) && (java.util.Arrays.equals(v4_6.osVersion, android.os.Build$VERSION.SDK.getBytes())))) {
                            byte[] v2_3 = this.zzoy.zzc(this.zzoz, new String(v4_6.data));
                            v3_2.createNewFile();
                            java.io.FileOutputStream v4_10 = new java.io.FileOutputStream(v3_2);
                            v4_10.write(v2_3, 0, v2_3.length);
                            v4_10.close();
                            v0 = 1;
                        } else {
                            this.zza(v2_0);
                        }
                    } else {
                        android.util.Log.d(com.google.android.gms.internal.zzav.TAG, "Cannot read the cache data.");
                        this.zza(v2_0);
                    }
                } else {
                    this.zza(v2_0);
                }
            }
        }
        return v0;
    }

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


    private void zza(java.io.File p10, String p11)
    {
        java.io.IOException v1_5 = new Object[2];
        v1_5[0] = p10;
        v1_5[1] = p11;
        int v2_0 = new java.io.File(String.format("%s/%s.tmp", v1_5));
        if (!v2_0.exists()) {
            java.io.IOException v1_0 = new Object[2];
            v1_0[0] = p10;
            v1_0[1] = p11;
            java.io.File v3_1 = new java.io.File(String.format("%s/%s.dex", v1_0));
            if (v3_1.exists()) {
                java.io.IOException v1_1 = 0;
                java.io.FileOutputStream v4_1 = v3_1.length();
                if (v4_1 > 0) {
                    java.io.FileOutputStream v4_2 = new byte[((int) v4_1)];
                    try {
                        java.io.IOException v0_7 = new java.io.FileInputStream(v3_1);
                        try {
                            if (v0_7.read(v4_2) > 0) {
                                java.io.IOException v1_4 = new com.google.ads.afma.nano.Google3NanoAfmaSignals$Cache();
                                v1_4.osVersion = android.os.Build$VERSION.SDK.getBytes();
                                v1_4.timestamp = p11.getBytes();
                                java.io.FileOutputStream v4_4 = this.zzoy.zzd(this.zzoz, v4_2).getBytes();
                                v1_4.data = v4_4;
                                v1_4.hash = com.google.android.gms.internal.zzai.zze(v4_4);
                                v2_0.createNewFile();
                                java.io.FileOutputStream v4_7 = new java.io.FileOutputStream(v2_0);
                                java.io.IOException v1_6 = com.google.android.gms.internal.zzamj.toByteArray(v1_4);
                                v4_7.write(v1_6, 0, v1_6.length);
                                v4_7.close();
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            } else {
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            }
                        } catch (java.io.IOException v1_7) {
                            v1_1 = v0_7;
                            java.io.IOException v0_9 = v1_7;
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            this.zza(v3_1);
                            throw v0_9;
                        } catch (java.io.IOException v1) {
                            if (v0_7 != null) {
                                try {
                                    v0_7.close();
                                } catch (java.io.IOException v0) {
                                }
                            }
                            this.zza(v3_1);
                        } catch (java.io.IOException v1) {
                        } catch (java.io.IOException v1) {
                        }
                    } catch (java.io.IOException v0_9) {
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    }
                }
            }
        }
        return;
    }

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


    void zzb(String p5, com.google.android.gms.internal.zzaap p6)
    {
        com.google.android.gms.internal.zzun.v("Starting to load a saved resource file from Disk.");
        try {
            String v0_7 = new java.io.FileInputStream(this.zzhl(p5));
        } catch (String v0) {
            String v0_3 = String.valueOf(this.zzhm(p5));
            if (v0_3.length() == 0) {
                String v0_5 = new String("Saved resource not found: ");
            } else {
                v0_5 = "Saved resource not found: ".concat(v0_3);
            }
            com.google.android.gms.internal.zzun.e(v0_5);
            p6.onFailure(0);
            return;
        }
        if (v0_7 == null) {
            p6.onFailure(0);
            return;
        } else {
            p6.zzA(this.zzm(v0_7));
            return;
        }
    }

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


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

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


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

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


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

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


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

Method com.facebook.internal.NativeAppCallAttachmentStore.processAttachmentFile() calling method java.io.FileInputStream.<init>()


    private static void processAttachmentFile(android.net.Uri p4, boolean p5, java.io.File p6)
    {
        java.io.InputStream v0;
        java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(p6);
        try {
            if (p5) {
                v0 = com.facebook.FacebookSdk.getApplicationContext().getContentResolver().openInputStream(p4);
            } else {
                v0 = new java.io.FileInputStream(p4.getPath());
            }
        } catch (Throwable v3_1) {
            com.facebook.internal.Utility.closeQuietly(v2_1);
            throw v3_1;
        }
        com.facebook.internal.Utility.copyAndCloseInputStream(v0, v2_1);
        com.facebook.internal.Utility.closeQuietly(v2_1);
        return;
    }

Method com.facebook.internal.FileLruCache.get() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream get(String p18, String p19)
    {
        java.io.File v6_1 = new java.io.File(this.directory, com.facebook.internal.Utility.md5hash(p18));
        try {
            com.facebook.LoggingBehavior v4_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(v6_1), 8192);
            int v12 = 0;
            try {
                org.json.JSONObject v8 = com.facebook.internal.FileLruCache$StreamHeader.readHeader(v4_0);
            } catch (com.facebook.LoggingBehavior v13_9) {
                if (v12 == 0) {
                    v4_0.close();
                }
                throw v13_9;
            }
            if (v8 != null) {
                String v7 = v8.optString("key");
                if ((v7 != null) && (v7.equals(p18))) {
                    String v9 = v8.optString("tag", 0);
                    if (((p19 != null) || (v9 == null)) && ((p19 == null) || (p19.equals(v9)))) {
                        long v2 = new java.util.Date().getTime();
                        com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.CACHE, com.facebook.internal.FileLruCache.TAG, new StringBuilder().append("Setting lastModified to ").append(Long.valueOf(v2)).append(" for ").append(v6_1.getName()).toString());
                        v6_1.setLastModified(v2);
                        v12 = 1;
                        if (1 != 0) {
                            return v4_0;
                        } else {
                            v4_0.close();
                            return v4_0;
                        }
                    } else {
                        if (0 == 0) {
                            v4_0.close();
                        }
                        v4_0 = 0;
                        return v4_0;
                    }
                } else {
                    if (0 == 0) {
                        v4_0.close();
                    }
                    v4_0 = 0;
                    return v4_0;
                }
            } else {
                if (0 == 0) {
                    v4_0.close();
                }
                v4_0 = 0;
                return v4_0;
            }
        } catch (java.io.IOException v5) {
            v4_0 = 0;
            return v4_0;
        }
    }

Method com.deniz.dijitaldeniz.helper.Base64.encodeFromFile() calling method java.io.FileInputStream.<init>()


    public static String encodeFromFile(String p12)
    {
        com.deniz.dijitaldeniz.helper.Base64$InputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(p12);
            byte[] v2 = new byte[Math.max(((int) ((((double) v5_1.length()) * 1.4) + 1.0)), 40)];
            int v6 = 0;
            com.deniz.dijitaldeniz.helper.Base64$InputStream v1_1 = new com.deniz.dijitaldeniz.helper.Base64$InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1)), 1);
            try {
                while(true) {
                    int v7 = v1_1.read(v2, v6, 4096);
                    v6 += v7;
                }
                String v4_1 = new String(v2, 0, v6, "US-ASCII");
                try {
                    v1_1.close();
                } catch (Exception v8) {
                }
                return v4_1;
            } catch (Exception v8_7) {
                v0 = v1_1;
                try {
                    v0.close();
                } catch (String v9) {
                }
                throw v8_7;
            } catch (java.io.IOException v3) {
                v0 = v1_1;
                throw v3;
            }
            if (v7 >= 0) {
            }
        } catch (Exception v8_7) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.deniz.dijitaldeniz.helper.Base64.decodeFromFile() calling method java.io.FileInputStream.<init>()


    public static byte[] decodeFromFile(String p12)
    {
        com.deniz.dijitaldeniz.helper.Base64$InputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(p12);
            int v6 = 0;
        } catch (Exception v8_7) {
            try {
                v0.close();
            } catch (int v9) {
            }
            throw v8_7;
        } catch (java.io.IOException v4) {
            throw v4;
        }
        if (v5_1.length() <= 2147483647) {
            byte[] v2 = new byte[((int) v5_1.length())];
            com.deniz.dijitaldeniz.helper.Base64$InputStream v1_1 = new com.deniz.dijitaldeniz.helper.Base64$InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1)), 0);
            try {
                while(true) {
                    int v7 = v1_1.read(v2, v6, 4096);
                    v6 += v7;
                }
                byte[] v3 = new byte[v6];
                System.arraycopy(v2, 0, v3, 0, v6);
                try {
                    v1_1.close();
                } catch (Exception v8) {
                }
                return v3;
            } catch (Exception v8_7) {
                v0 = v1_1;
            } catch (java.io.IOException v4) {
                v0 = v1_1;
            }
            if (v7 >= 0) {
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("File is too big for this convenience method (").append(v5_1.length()).append(" bytes).").toString());
        }
    }

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


    public com.crashlytics.android.core.UserMetaData readUserData(String p8)
    {
        Throwable v4_1;
        java.io.File v1 = this.getUserDataFileForSession(p8);
        if (v1.exists()) {
            java.io.FileInputStream v2 = 0;
            try {
                java.io.FileInputStream v3_1 = new java.io.FileInputStream(v1);
                try {
                    v4_1 = com.crashlytics.android.core.MetaDataStore.jsonToUserData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v3_1));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3_1, "Failed to close user metadata file.");
                } catch (Throwable v4_4) {
                    v2 = v3_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    throw v4_4;
                } catch (Exception v0) {
                    v2 = v3_1;
                    io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    v4_1 = com.crashlytics.android.core.UserMetaData.EMPTY;
                }
            } catch (Throwable v4_4) {
            } catch (Exception v0) {
            }
        } else {
            v4_1 = com.crashlytics.android.core.UserMetaData.EMPTY;
        }
        return v4_1;
    }

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


    public java.util.Map readKeyData(String p8)
    {
        Throwable v4_1;
        java.io.File v1 = this.getKeysFileForSession(p8);
        if (v1.exists()) {
            java.io.FileInputStream v2 = 0;
            try {
                java.io.FileInputStream v3_1 = new java.io.FileInputStream(v1);
                try {
                    v4_1 = com.crashlytics.android.core.MetaDataStore.jsonToKeysData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v3_1));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3_1, "Failed to close user metadata file.");
                } catch (Throwable v4_4) {
                    v2 = v3_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    throw v4_4;
                } catch (Exception v0) {
                    v2 = v3_1;
                    io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    v4_1 = java.util.Collections.emptyMap();
                }
            } catch (Throwable v4_4) {
            } catch (Exception v0) {
            }
        } else {
            v4_1 = java.util.Collections.emptyMap();
        }
        return v4_1;
    }

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


    private static void writeToCosFromFile(com.crashlytics.android.core.CodedOutputStream p6, java.io.File p7)
    {
        if (p7.exists()) {
            java.io.FileInputStream v0 = 0;
            try {
                java.io.FileInputStream v1_1 = new java.io.FileInputStream(p7);
                try {
                    com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.copyToCodedOutputStream(v1_1, p6, ((int) p7.length()));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, "Failed to close file input stream.");
                } catch (Throwable v2_2) {
                    v0 = v1_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close file input stream.");
                    throw v2_2;
                }
            } catch (Throwable v2_2) {
            }
        } else {
            io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", new StringBuilder().append("Tried to include a file that doesn\'t exist: ").append(p7.getName()).toString(), 0);
        }
        return;
    }

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


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

Method com.android.volley.toolbox.multipart.FilePart.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(java.io.OutputStream p5, com.android.volley.toolbox.multipart.Boundary p6)
    {
        p5.write(this.getHeader(p6));
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(this.file);
        try {
            byte[] v2 = new byte[4096];
        } catch (byte[] v3_2) {
            v0_1.close();
            throw v3_2;
        }
        while(true) {
            int v1 = v0_1.read(v2);
            if (v1 == -1) {
                break;
            }
            p5.write(v2, 0, v1);
        }
        v0_1.close();
        p5.write(com.android.volley.misc.MultipartUtils.CRLF_BYTES);
        return;
    }

Method com.android.volley.toolbox.HurlStack.setConnectionParametersForMultipartRequest() calling method java.io.FileInputStream.<init>()


    private static void setConnectionParametersForMultipartRequest(java.net.HttpURLConnection p34, com.android.volley.Request p35)
    {
        String v9 = ((com.android.volley.request.MultiPartRequest) p35).getProtocolCharset();
        int v11 = ((int) (System.currentTimeMillis() / 1000));
        String v6 = new StringBuilder().append("--").append(v11).toString();
        p34.setRequestMethod("POST");
        p34.setDoOutput(1);
        com.android.volley.Response$ProgressListener v0_33 = new Object[2];
        Object[] v31_11 = v0_33;
        v31_11[0] = v9;
        v31_11[1] = Integer.valueOf(v11);
        p34.setRequestProperty("Content-Type", String.format("multipart/form-data; charset=%s; boundary=%s", v31_11));
        java.util.Map v21 = ((com.android.volley.request.MultiPartRequest) p35).getMultipartParams();
        java.util.Map v15 = ((com.android.volley.request.MultiPartRequest) p35).getFilesToUpload();
        if (!((com.android.volley.request.MultiPartRequest) p35).isFixedStreamingMode()) {
            p34.setChunkedStreamingMode(0);
        } else {
            p34.setFixedLengthStreamingMode(com.android.volley.misc.MultipartUtils.getContentLengthForMultipartRequest(v6, v21, v15));
        }
        java.io.PrintWriter v27 = 0;
        try {
            java.io.OutputStream v22 = p34.getOutputStream();
            java.io.PrintWriter v29_53 = new java.io.OutputStreamWriter;
            v29_53(v22, v9);
            java.io.PrintWriter v28_1 = new java.io.PrintWriter(v29_53, 1);
            try {
                java.util.Iterator v17_0 = v21.keySet().iterator();
            } catch (java.io.PrintWriter v29_34) {
                v27 = v28_1;
                if (v27 != null) {
                    v27.close();
                }
                throw v29_34;
            } catch (Exception v12) {
                v27 = v28_1;
                v12.printStackTrace();
                if (v27 == null) {
                    return;
                } else {
                    v27.close();
                    return;
                }
            }
            while (v17_0.hasNext()) {
                String v20_3 = ((String) v17_0.next());
                com.android.volley.request.MultiPartRequest$MultiPartParam v23_1 = ((com.android.volley.request.MultiPartRequest$MultiPartParam) v21.get(v20_3));
                java.io.PrintWriter v29_36 = v28_1.append(v6).append("\r\n");
                com.android.volley.Response$ProgressListener v0_27 = new Object[1];
                Object[] v31_7 = v0_27;
                v31_7[0] = v20_3;
                v29_36.append(String.format("Content-Disposition: form-data; name=\"%s\"", v31_7)).append("\r\n").append(new StringBuilder().append("Content-Type: ").append(v23_1.contentType).toString()).append("\r\n").append("\r\n").append(v23_1.value).append("\r\n").flush();
            }
            java.util.Iterator v17_1 = v15.keySet().iterator();
            while (v17_1.hasNext()) {
                String v20_1 = ((String) v17_1.next());
                java.io.File v14_1 = new java.io.File(((String) v15.get(v20_1)));
                if (v14_1.exists()) {
                    if (!v14_1.isDirectory()) {
                        java.io.PrintWriter v29_13 = v28_1.append(v6).append("\r\n");
                        com.android.volley.Response$ProgressListener v0_4 = new Object[2];
                        Object[] v31_1 = v0_4;
                        v31_1[0] = v20_1;
                        v31_1[1] = v14_1.getName();
                        v29_13.append(String.format("Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"", v31_1)).append("\r\n").append("Content-Type: application/octet-stream").append("\r\n").append("Content-Transfer-Encoding: binary").append("\r\n").append("\r\n").flush();
                        java.io.BufferedInputStream v18 = 0;
                        try {
                            java.io.FileInputStream v16 = new java.io.FileInputStream;
                            v16(v14_1);
                            int v26 = 0;
                            int v25 = ((int) v14_1.length());
                            java.io.BufferedInputStream v19 = new java.io.BufferedInputStream;
                            v19(v16);
                            try {
                                byte[] v7 = new byte[1024];
                            } catch (java.io.PrintWriter v29_24) {
                                v18 = v19;
                                if (v18 != null) {
                                    v18.close();
                                }
                                throw v29_24;
                            }
                            while(true) {
                                int v8 = v19.read(v7);
                                if (v8 <= 0) {
                                    break;
                                }
                                v22.write(v7, 0, v8);
                                v26 += v8;
                                ((com.android.volley.Response$ProgressListener) p35).onProgress(((long) v26), ((long) v25));
                            }
                            v22.flush();
                            if (v19 != null) {
                                v19.close();
                            }
                            v28_1.append("\r\n").flush();
                        } catch (java.io.PrintWriter v29_24) {
                        }
                    } else {
                        com.android.volley.Response$ProgressListener v0_20 = new Object[1];
                        Object[] v31_3 = v0_20;
                        v31_3[0] = v14_1.getAbsolutePath();
                        throw new java.io.IOException(String.format("File is a directory: %s", v31_3));
                    }
                } else {
                    com.android.volley.Response$ProgressListener v0_22 = new Object[1];
                    Object[] v31_5 = v0_22;
                    v31_5[0] = v14_1.getAbsolutePath();
                    throw new java.io.IOException(String.format("File not found: %s", v31_5));
                }
            }
            v28_1.append(new StringBuilder().append(v6).append("--").toString()).append("\r\n").flush();
            if (v28_1 == null) {
                return;
            } else {
                v28_1.close();
                return;
            }
        } catch (java.io.PrintWriter v29_34) {
        } catch (Exception v12) {
        }
    }

Method com.android.volley.misc.DiskLruCache.get() calling method java.io.FileInputStream.<init>()


    public declared_synchronized com.android.volley.misc.DiskLruCache$Snapshot get(String p12)
    {
        com.android.volley.misc.DiskLruCache$Snapshot v1_0 = 0;
        try {
            this.checkNotClosed();
            this.validateKey(p12);
            com.android.volley.misc.DiskLruCache$Entry v9_1 = ((com.android.volley.misc.DiskLruCache$Entry) this.lruEntries.get(p12));
        } catch (com.android.volley.misc.DiskLruCache$Snapshot v1_6) {
            throw v1_6;
        }
        if ((v9_1 != null) && (com.android.volley.misc.DiskLruCache$Entry.access$600(v9_1))) {
            java.io.InputStream[] v6 = new java.io.InputStream[this.valueCount];
            int v10_0 = 0;
            try {
                while (v10_0 < this.valueCount) {
                    v6[v10_0] = new java.io.FileInputStream(v9_1.getCleanFile(v10_0));
                    v10_0++;
                }
            } catch (java.io.FileNotFoundException v0) {
                int v10_1 = 0;
            }
            this.redundantOpCount = (this.redundantOpCount + 1);
            this.journalWriter.append(new StringBuilder().append("READ ").append(p12).append(10).toString());
            if (this.journalRebuildRequired()) {
                this.executorService.submit(this.cleanupCallable);
            }
            v1_0 = new com.android.volley.misc.DiskLruCache$Snapshot(this, p12, com.android.volley.misc.DiskLruCache$Entry.access$1200(v9_1), v6, com.android.volley.misc.DiskLruCache$Entry.access$1000(v9_1), 0);
        }
        return v1_0;
    }

Method com.android.volley.misc.DiskLruCache.readJournal() calling method java.io.FileInputStream.<init>()


    private void readJournal()
    {
        com.android.volley.misc.StrictLineReader v5_1 = new com.android.volley.misc.StrictLineReader(new java.io.FileInputStream(this.journalFile), com.android.volley.misc.Utils.US_ASCII);
        try {
            String v4 = v5_1.readLine();
            String v7 = v5_1.readLine();
            String v0 = v5_1.readLine();
            String v6 = v5_1.readLine();
            String v1 = v5_1.readLine();
        } catch (int v8_20) {
            com.android.volley.misc.Utils.closeQuietly(v5_1);
            throw v8_20;
        }
        if (("libcore.io.DiskLruCache".equals(v4)) && (("1".equals(v7)) && ((Integer.toString(this.appVersion).equals(v0)) && ((Integer.toString(this.valueCount).equals(v6)) && ("".equals(v1)))))) {
            int v3 = 0;
            try {
                while(true) {
                    this.readJournalLine(v5_1.readLine());
                    v3++;
                }
            } catch (java.io.EOFException v2) {
                this.redundantOpCount = (v3 - this.lruEntries.size());
                com.android.volley.misc.Utils.closeQuietly(v5_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v4).append(", ").append(v7).append(", ").append(v6).append(", ").append(v1).append("]").toString());
        }
    }

Method com.android.volley.misc.DiskLruCache$Editor.newInputStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream newInputStream(int p6)
    {
        java.io.FileInputStream v1_0 = 0;
        try {
            if (com.android.volley.misc.DiskLruCache$Entry.access$700(this.entry) == this) {
                if (com.android.volley.misc.DiskLruCache$Entry.access$600(this.entry)) {
                    try {
                    } catch (java.io.FileNotFoundException v0) {
                    }
                    v1_0 = new java.io.FileInputStream(this.entry.getCleanFile(p6));
                } else {
                }
                return v1_0;
            } else {
                throw new IllegalStateException();
            }
        } catch (java.io.FileInputStream v1_3) {
            throw v1_3;
        }
    }

Method com.android.volley.cache.DiskBasedCache.get() calling method java.io.FileInputStream.<init>()


    public declared_synchronized com.android.volley.Cache$Entry get(String p15)
    {
        Throwable v7_0 = 0;
        try {
            com.android.volley.cache.DiskBasedCache$CacheHeader v4 = this.mEntries.get(p15);
        } catch (Throwable v7_1) {
            throw v7_1;
        }
        if (v4 != null) {
            java.io.File v5 = this.getFileForKey(p15);
            com.android.volley.misc.IOUtils$CountingInputStream v0 = 0;
            try {
                com.android.volley.misc.IOUtils$CountingInputStream v1_0 = new com.android.volley.misc.IOUtils$CountingInputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(v5)));
                try {
                    com.android.volley.cache.DiskBasedCache$CacheHeader.readHeader(v1_0);
                    Throwable v8_5 = v4.toCacheEntry(com.android.volley.misc.IOUtils.streamToBytes(v1_0, ((int) (v5.length() - v1_0.getBytesRead()))));
                } catch (Throwable v8_8) {
                    v0 = v1_0;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v6) {
                            return v7_0;
                        }
                    }
                    throw v8_8;
                } catch (OutOfMemoryError v3_1) {
                    v0 = v1_0;
                    Object[] v9_5 = new Object[2];
                    v9_5[0] = v5.getAbsolutePath();
                    v9_5[1] = v3_1.toString();
                    com.android.volley.VolleyLog.d("%s: %s", v9_5);
                    this.remove(p15);
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v6) {
                        }
                    }
                } catch (OutOfMemoryError v3_0) {
                    v0 = v1_0;
                    Object[] v9_3 = new Object[3];
                    v9_3[0] = Long.valueOf(v5.length());
                    v9_3[1] = v5.getAbsolutePath();
                    v9_3[2] = v3_0.toString();
                    com.android.volley.VolleyLog.e("Caught OOM for %d byte image, path=%s: %s", v9_3);
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v6) {
                        }
                    }
                }
                if (v1_0 != null) {
                    try {
                        v1_0.close();
                    } catch (java.io.IOException v6) {
                        return v7_0;
                    }
                }
                v7_0 = v8_5;
            } catch (Throwable v8_8) {
            } catch (OutOfMemoryError v3_1) {
            } catch (OutOfMemoryError v3_0) {
            }
        }
        return v7_0;
    }

Method com.android.volley.cache.DiskBasedCache$CacheContainer$HeaderParserCallable.call() calling method java.io.FileInputStream.<init>()


    public com.android.volley.cache.DiskBasedCache$CacheHeader call()
    {
        java.io.BufferedInputStream v2 = 0;
        try {
            java.io.BufferedInputStream v3_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(this.file));
            try {
                int v1 = com.android.volley.cache.DiskBasedCache$CacheHeader.readHeader(v3_1);
                v1.size = this.file.length();
                com.android.volley.cache.DiskBasedCache$CacheContainer.access$201(this.this$1, v1.key, v1);
                com.android.volley.cache.DiskBasedCache$CacheContainer.access$300(this.this$1).getAndAdd(v1.size);
            } catch (java.io.IOException v4_7) {
                v2 = v3_1;
                if (v2 != null) {
                    try {
                        v2.close();
                    } catch (String v5) {
                    }
                }
                com.android.volley.cache.DiskBasedCache$CacheContainer.access$400(this.this$1).remove(this.file.getName());
                throw v4_7;
            } catch (java.io.IOException v0) {
                v2 = v3_1;
                if (this.file != null) {
                    this.file.delete();
                }
                if (v2 != null) {
                    try {
                        v2.close();
                    } catch (java.io.IOException v4) {
                    }
                }
                com.android.volley.cache.DiskBasedCache$CacheContainer.access$400(this.this$1).remove(this.file.getName());
                v1 = 0;
                return v1;
            }
            if (v3_1 != null) {
                try {
                    v3_1.close();
                } catch (java.io.IOException v4) {
                }
            }
            com.android.volley.cache.DiskBasedCache$CacheContainer.access$400(this.this$1).remove(this.file.getName());
            return v1;
        } catch (java.io.IOException v4_7) {
        } catch (java.io.IOException v0) {
        }
    }

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 net.hockeyapp.android.objects.CrashDetails.fromFile() calling method java.io.FileReader.<init>()


    public static net.hockeyapp.android.objects.CrashDetails fromFile(java.io.File p5)
    {
        return net.hockeyapp.android.objects.CrashDetails.fromReader(p5.getName().substring(0, p5.getName().indexOf(".stacktrace")), new java.io.FileReader(p5));
    }

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


    public static String extractFieldFromSystemFile(java.io.File p11, String p12)
    {
        String v6 = 0;
        if (p11.exists()) {
            java.io.BufferedReader v0 = 0;
            try {
                java.io.BufferedReader v1_0 = new java.io.BufferedReader(new java.io.FileReader(p11), 1024);
                try {
                    do {
                        String v3 = v1_0.readLine();
                    } while((String[] v5.length <= 1) || (!v5[0].equals(p12)));
                    v6 = v5[1];
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_0, "Failed to close system file reader.");
                } catch (int v7_10) {
                    v0 = v1_0;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close system file reader.");
                    throw v7_10;
                } catch (Exception v2) {
                    v0 = v1_0;
                    io.fabric.sdk.android.Fabric.getLogger().e("Fabric", new StringBuilder().append("Error parsing ").append(p11).toString(), v2);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close system file reader.");
                }
                if (v3 != null) {
                    v5 = java.util.regex.Pattern.compile("\\s*:\\s*").split(v3, 2);
                    if ((v5.length > 1) && (v5[0].equals(p12))) {
                    }
                }
            } catch (int v7_10) {
            } catch (Exception v2) {
            }
        }
        return v6;
    }

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


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

Method org.java_websocket.util.Base64.encodeFromFile() calling method java.io.File.<init>()


    public static String encodeFromFile(String p8)
    {
        Exception v0_0 = 0;
        String v2_0 = 0;
        try {
            int v3_2 = new java.io.File(p8);
            byte[] v4_2 = new byte[Math.max(((int) ((((double) v3_2.length()) * 1.4) + 1.0)), 40)];
            Exception v1_3 = new org.java_websocket.util.Base64$InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(v3_2)), 1);
            try {
                while(true) {
                    String v2_2 = v1_3.read(v4_2, v0_0, 4096);
                    v0_0 += v2_2;
                }
                String v2_4 = new String(v4_2, 0, v0_0, "US-ASCII");
                try {
                    v1_3.close();
                } catch (Exception v0) {
                }
                return v2_4;
            } catch (Exception v0_1) {
                throw v0_1;
            }
            if (v2_2 >= null) {
            }
        } catch (Exception v0_2) {
            try {
                v2_0.close();
            } catch (Exception v1) {
            }
            throw v0_2;
        } catch (Exception v0_1) {
            v1_3 = 0;
        } catch (Exception v0_2) {
            v2_0 = v1_3;
        }
    }

Method org.java_websocket.util.Base64.decodeFromFile() calling method java.io.File.<init>()


    public static byte[] decodeFromFile(String p8)
    {
        Exception v0_0 = 0;
        byte[] v1_0 = 0;
        try {
            int v3_3 = new java.io.File(p8);
        } catch (Exception v0_2) {
            try {
                v1_0.close();
            } catch (byte[] v1) {
            }
            throw v0_2;
        } catch (Exception v0_1) {
            throw v0_1;
        }
        if (v3_3.length() <= 2147483647) {
            byte[] v4_1 = new byte[((int) v3_3.length())];
            org.java_websocket.util.Base64$InputStream v2_2 = new org.java_websocket.util.Base64$InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(v3_3)), 0);
            try {
                while(true) {
                    byte[] v1_2 = v2_2.read(v4_1, v0_0, 4096);
                    v0_0 += v1_2;
                }
                byte[] v1_3 = new byte[v0_0];
                System.arraycopy(v4_1, 0, v1_3, 0, v0_0);
                try {
                    v2_2.close();
                } catch (Exception v0) {
                }
                return v1_3;
            } catch (Exception v0_2) {
                v1_0 = v2_2;
            } catch (Exception v0_1) {
                v1_0 = v2_2;
            }
            if (v1_2 >= null) {
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("File is too big for this convenience method (").append(v3_3.length()).append(" bytes).").toString());
        }
    }

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


    public AttachmentView(android.content.Context p5, android.view.ViewGroup p6, net.hockeyapp.android.objects.FeedbackAttachment p7, boolean p8)
    {
        super(p5);
        super.mContext = p5;
        super.mParent = p6;
        super.mAttachment = p7;
        super.mAttachmentUri = android.net.Uri.fromFile(new java.io.File(net.hockeyapp.android.Constants.getHockeyAppStorageDir(), p7.getCacheId()));
        super.mFilename = p7.getFilename();
        super.calculateDimensions(30);
        super.initializeView(p5, p8);
        super.mOrientation = 0;
        super.mTextView.setText(net.hockeyapp.android.R$string.hockeyapp_feedback_attachment_loading);
        super.configureViewForPlaceholder(0);
        return;
    }

Method net.hockeyapp.android.utils.VersionHelper.isNewerThanLastUpdateTime() calling method java.io.File.<init>()


    public static boolean isNewerThanLastUpdateTime(android.content.Context p13, long p14)
    {
        int v6 = 0;
        try {
            if ((p13 != null) && (p14 > ((new java.io.File(p13.getPackageManager().getApplicationInfo(p13.getPackageName(), 0).sourceDir).lastModified() / 1000) + 1800))) {
                v6 = 1;
            }
        } catch (android.content.pm.PackageManager$NameNotFoundException v2) {
            v2.printStackTrace();
        }
        return v6;
    }

Method net.hockeyapp.android.tasks.SendFeedbackTask.clearTemporaryFolder() calling method java.io.File.<init>()


    private void clearTemporaryFolder(java.util.HashMap p10)
    {
        String v2_1 = ((String) p10.get("status"));
        if ((v2_1 != null) && ((v2_1.startsWith("2")) && (this.mContext != null))) {
            java.io.File v1_1 = new java.io.File(this.mContext.getCacheDir(), "HockeyApp");
            if ((v1_1 != null) && (v1_1.exists())) {
                java.io.File[] v5_1 = v1_1.listFiles();
                int v6 = v5_1.length;
                int v4_4 = 0;
                while (v4_4 < v6) {
                    java.io.File v0 = v5_1[v4_4];
                    if ((v0 != null) && (!Boolean.valueOf(v0.delete()).booleanValue())) {
                        net.hockeyapp.android.utils.HockeyLog.debug("SendFeedbackTask", "Error deleting file from temporary folder");
                    }
                    v4_4++;
                }
            }
        }
        return;
    }

Method net.hockeyapp.android.tasks.DownloadFileTask.onPostExecute() calling method java.io.File.<init>()


    protected void onPostExecute(Long p9)
    {
        if (this.mProgressDialog != null) {
            try {
                this.mProgressDialog.dismiss();
            } catch (android.app.AlertDialog v3) {
            }
        }
        if (p9.longValue() <= 0) {
            String v2;
            android.app.AlertDialog$Builder v0_1 = new android.app.AlertDialog$Builder(this.mContext);
            v0_1.setTitle(net.hockeyapp.android.R$string.hockeyapp_download_failed_dialog_title);
            if (this.mDownloadErrorMessage != null) {
                v2 = this.mDownloadErrorMessage;
            } else {
                v2 = this.mContext.getString(net.hockeyapp.android.R$string.hockeyapp_download_failed_dialog_message);
            }
            v0_1.setMessage(v2);
            v0_1.setNegativeButton(net.hockeyapp.android.R$string.hockeyapp_download_failed_dialog_negative_button, new net.hockeyapp.android.tasks.DownloadFileTask$1(this));
            v0_1.setPositiveButton(net.hockeyapp.android.R$string.hockeyapp_download_failed_dialog_positive_button, new net.hockeyapp.android.tasks.DownloadFileTask$2(this));
            v0_1.create().show();
        } else {
            this.mNotifier.downloadSuccessful(this);
            android.content.Intent v1_1 = new android.content.Intent("android.intent.action.VIEW");
            v1_1.setDataAndType(android.net.Uri.fromFile(new java.io.File(this.mFilePath, this.mFilename)), "application/vnd.android.package-archive");
            v1_1.setFlags(268435456);
            this.mContext.startActivity(v1_1);
        }
        return;
    }

Method net.hockeyapp.android.tasks.DownloadFileTask.doInBackground() calling method java.io.File.<init>()


    protected varargs Long doInBackground(Void[] p23)
    {
        java.io.BufferedInputStream v9 = 0;
        java.io.FileOutputStream v12 = 0;
        try {
            Long v18_4;
            java.net.URLConnection v2 = this.createConnection(new java.net.URL(this.getURLString()), 6);
            v2.connect();
            int v11 = v2.getContentLength();
            String v3 = v2.getContentType();
        } catch (Long v18_0) {
            try {
                if (v12 == null) {
                    if (v9 != null) {
                        v9.close();
                    }
                } else {
                    v12.close();
                }
            } catch (java.io.IOException v7_2) {
                v7_2.printStackTrace();
            }
            throw v18_0;
        } catch (java.io.IOException v7_0) {
            v7_0.printStackTrace();
            v18_4 = Long.valueOf(0);
            try {
                if (v12 != null) {
                    v12.close();
                }
            } catch (java.io.IOException v7_1) {
                v7_1.printStackTrace();
                return v18_4;
            }
            if (v9 == null) {
                return v18_4;
            } else {
                v9.close();
                return v18_4;
            }
        }
        if ((v3 == null) || (!v3.contains("text"))) {
            java.io.File v6_1 = new java.io.File(this.mFilePath);
            if ((v6_1.mkdirs()) || (v6_1.exists())) {
                java.io.File v8_1 = new java.io.File(v6_1, this.mFilename);
                java.io.BufferedInputStream v10_1 = new java.io.BufferedInputStream(v2.getInputStream());
                try {
                    java.io.FileOutputStream v13_1 = new java.io.FileOutputStream(v8_1);
                    try {
                        byte[] v5 = new byte[1024];
                        long v16 = 0;
                    } catch (Long v18_0) {
                        v12 = v13_1;
                        v9 = v10_1;
                    }
                    while(true) {
                        int v4 = v10_1.read(v5);
                        if (v4 == -1) {
                            break;
                        }
                        v16 += ((long) v4);
                        int v0_14 = new Integer[1];
                        Long v18_19 = v0_14;
                        v18_19[0] = Integer.valueOf(Math.round(((((float) v16) * 1120403456) / ((float) v11))));
                        this.publishProgress(v18_19);
                        v13_1.write(v5, 0, v4);
                    }
                    v13_1.flush();
                    v18_4 = Long.valueOf(v16);
                    try {
                        if (v13_1 == null) {
                            if (v10_1 != null) {
                                v10_1.close();
                            }
                        } else {
                            v13_1.close();
                        }
                    } catch (java.io.IOException v7_4) {
                        v7_4.printStackTrace();
                    }
                    v9 = v10_1;
                    return v18_4;
                } catch (Long v18_0) {
                    v9 = v10_1;
                } catch (java.io.IOException v7_0) {
                    v9 = v10_1;
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("Could not create the dir(s):").append(v6_1.getAbsolutePath()).toString());
            }
        } else {
            this.mDownloadErrorMessage = "The requested download does not appear to be a file.";
            v18_4 = Long.valueOf(0);
            try {
                if (0 != 0) {
                    0.close();
                }
            } catch (java.io.IOException v7_3) {
                v7_3.printStackTrace();
                return v18_4;
            }
            if (0 == 0) {
                return v18_4;
            } else {
                0.close();
                return v18_4;
            }
        }
    }

Method net.hockeyapp.android.tasks.AttachmentDownloader$DownloadTask.loadImageThumbnail() calling method java.io.File.<init>()


    private void loadImageThumbnail()
    {
        try {
            int v4;
            String v2 = this.downloadJob.getFeedbackAttachment().getCacheId();
            net.hockeyapp.android.views.AttachmentView v0 = this.downloadJob.getAttachmentView();
            this.bitmapOrientation = net.hockeyapp.android.utils.ImageUtils.determineOrientation(new java.io.File(this.dropFolder, v2));
        } catch (java.io.IOException v1) {
            v1.printStackTrace();
            this.bitmap = 0;
            return;
        }
        if (this.bitmapOrientation != 1) {
            v4 = v0.getWidthPortrait();
        } else {
            v4 = v0.getWidthLandscape();
        }
        int v3;
        if (this.bitmapOrientation != 1) {
            v3 = v0.getMaxHeightPortrait();
        } else {
            v3 = v0.getMaxHeightLandscape();
        }
        this.bitmap = net.hockeyapp.android.utils.ImageUtils.decodeSampledBitmap(new java.io.File(this.dropFolder, v2), v4, v3);
        return;
    }

Method net.hockeyapp.android.tasks.AttachmentDownloader$DownloadTask.downloadAttachment() calling method java.io.File.<init>()


    private boolean downloadAttachment(String p21, String p22)
    {
        try {
            int v14_8;
            java.net.URLConnection v2 = this.createConnection(new java.net.URL(p21));
            v2.connect();
            int v8 = v2.getContentLength();
            String v10 = v2.getHeaderField("Status");
        } catch (java.io.IOException v5) {
            v5.printStackTrace();
            v14_8 = 0;
            return v14_8;
        }
        if ((v10 == null) || (v10.startsWith("200"))) {
            java.io.File v6_1 = new java.io.File(this.dropFolder, p22);
            java.io.BufferedInputStream v7_1 = new java.io.BufferedInputStream(v2.getInputStream());
            java.io.FileOutputStream v9_1 = new java.io.FileOutputStream(v6_1);
            byte[] v4 = new byte[1024];
            long v12 = 0;
            while(true) {
                int v3 = v7_1.read(v4);
                if (v3 == -1) {
                    break;
                }
                v12 += ((long) v3);
                int v14_11 = new Integer[1];
                v14_11[0] = Integer.valueOf(((int) ((100 * v12) / ((long) v8))));
                this.publishProgress(v14_11);
                v9_1.write(v4, 0, v3);
            }
            v9_1.flush();
            v9_1.close();
            v7_1.close();
            if (v12 <= 0) {
                v14_8 = 0;
                return v14_8;
            } else {
                v14_8 = 1;
                return v14_8;
            }
        } else {
            v14_8 = 0;
            return v14_8;
        }
    }

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


    protected boolean writeToDisk(String p11)
    {
        String v5 = java.util.UUID.randomUUID().toString();
        Boolean v2 = Boolean.valueOf(0);
        java.io.FileOutputStream v3 = 0;
        try {
            try {
                java.io.File v1_0 = new java.io.File(new StringBuilder().append(this.mTelemetryDirectory).append("/").append(v5).toString());
                java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(v1_0, 1);
                try {
                    v4_1.write(p11.getBytes());
                    android.util.Log.w("HA-MetricsPersistence", new StringBuilder().append("Saving data to: ").append(v1_0.toString()).toString());
                    try {
                        v2 = Boolean.valueOf(1);
                    } catch (Throwable v6_14) {
                        v3 = v4_1;
                        if (v3 != null) {
                            try {
                                v3.close();
                            } catch (java.io.IOException v0_2) {
                                v0_2.printStackTrace();
                            }
                        }
                        throw v6_14;
                    } catch (java.io.IOException v0_0) {
                        v3 = v4_1;
                        android.util.Log.w("HA-MetricsPersistence", new StringBuilder().append("Failed to save data with exception: ").append(v0_0.toString()).toString());
                        if (v3 == null) {
                            return v2.booleanValue();
                        } else {
                            try {
                                v3.close();
                            } catch (java.io.IOException v0_1) {
                                v0_1.printStackTrace();
                            }
                            return v2.booleanValue();
                        }
                    }
                    if (v4_1 == null) {
                        return v2.booleanValue();
                    } else {
                        try {
                            v4_1.close();
                        } catch (java.io.IOException v0_3) {
                            v0_3.printStackTrace();
                        }
                        return v2.booleanValue();
                    }
                } catch (Throwable v6_12) {
                    v3 = v4_1;
                    throw v6_12;
                }
            } catch (Throwable v6_12) {
            }
        } catch (Throwable v6_14) {
        } catch (java.io.IOException v0_0) {
        }
    }

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


    protected Boolean isFreeSpaceAvailable()
    {
        Boolean v4_0 = 0;
        try {
            Boolean v4_2;
            android.content.Context v0 = this.getContext();
        } catch (Boolean v4_3) {
            throw v4_3;
        }
        if (v0.getFilesDir() == null) {
            v4_2 = Boolean.valueOf(0);
        } else {
            String v3 = new StringBuilder().append(v0.getFilesDir().getAbsolutePath()).append("/net.hockeyapp.android/telemetry/").toString();
            if (android.text.TextUtils.isEmpty(v3)) {
            } else {
                if (new java.io.File(v3).listFiles().length < net.hockeyapp.android.metrics.Persistence.MAX_FILE_COUNT.intValue()) {
                    v4_0 = 1;
                }
                v4_2 = Boolean.valueOf(v4_0);
            }
        }
        return v4_2;
    }

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


    protected Persistence(android.content.Context p4, net.hockeyapp.android.metrics.Sender p5)
    {
        this(p4, new java.io.File(new StringBuilder().append(p4.getFilesDir().getAbsolutePath()).append("/net.hockeyapp.android/telemetry/").toString()), 0);
        this.setSender(p5);
        return;
    }

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


    private void makeResult()
    {
        java.io.File v2_1 = new java.io.File(this.getCacheDir(), "HockeyApp");
        v2_1.mkdir();
        java.io.File v4_1 = new java.io.File(v2_1, new StringBuilder().append(this.mImageName).append(".jpg").toString());
        int v5 = 1;
        while (v4_1.exists()) {
            v4_1 = new java.io.File(v2_1, new StringBuilder().append(this.mImageName).append("_").append(v5).append(".jpg").toString());
            v5++;
        }
        this.mPaintView.setDrawingCacheEnabled(1);
        android.app.Activity v7_6 = new net.hockeyapp.android.PaintActivity$2(this, this.mPaintView.getDrawingCache());
        java.io.File[] v8_2 = new java.io.File[1];
        v8_2[0] = v4_1;
        v7_6.execute(v8_2);
        android.content.Intent v3_1 = new android.content.Intent();
        v3_1.putExtra("imageUri", android.net.Uri.fromFile(v4_1));
        if (this.getParent() != null) {
            this.getParent().setResult(-1, v3_1);
        } else {
            this.setResult(-1, v3_1);
        }
        this.finish();
        return;
    }

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


    private String determineFilename(android.net.Uri p9, String p10)
    {
        String[] v2 = new String[1];
        v2[0] = "_data";
        String v7 = 0;
        android.database.Cursor v6 = this.getApplicationContext().getContentResolver().query(p9, v2, 0, 0, 0);
        if (v6 != null) {
            try {
                if (v6.moveToFirst()) {
                    v7 = v6.getString(0);
                }
            } catch (java.io.File v1_3) {
                v6.close();
                throw v1_3;
            }
            v6.close();
        }
        if (v7 != null) {
            p10 = new java.io.File(v7).getName();
        }
        return p10;
    }

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


    public static void takeScreenshot(android.content.Context p12)
    {
        android.view.View v7 = net.hockeyapp.android.FeedbackManager.currentActivity.getWindow().getDecorView();
        v7.setDrawingCacheEnabled(1);
        android.graphics.Bitmap v0 = v7.getDrawingCache();
        String v4 = net.hockeyapp.android.FeedbackManager.currentActivity.getLocalClassName();
        java.io.File v3 = net.hockeyapp.android.Constants.getHockeyAppStorageDir();
        java.io.File v5_1 = new java.io.File(v3, new StringBuilder().append(v4).append(".jpg").toString());
        int v6 = 1;
        while (v5_1.exists()) {
            v5_1 = new java.io.File(v3, new StringBuilder().append(v4).append("_").append(v6).append(".jpg").toString());
            v6++;
        }
        android.widget.Toast v8_9 = new net.hockeyapp.android.FeedbackManager$2(v0, p12);
        String v9_1 = new java.io.File[1];
        v9_1[0] = v5_1;
        v8_9.execute(v9_1);
        net.hockeyapp.android.FeedbackManager$MediaScannerClient v1_1 = new net.hockeyapp.android.FeedbackManager$MediaScannerClient(v5_1.getAbsolutePath(), 0);
        android.media.MediaScannerConnection v2_1 = new android.media.MediaScannerConnection(net.hockeyapp.android.FeedbackManager.currentActivity, v1_1);
        v1_1.setConnection(v2_1);
        v2_1.connect();
        android.widget.Toast.makeText(p12, new StringBuilder().append("Screenshot \'").append(v5_1.getName()).append("\' is available in gallery.").toString(), 1).show();
        return;
    }

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


    private static String[] searchForStackTraces()
    {
        String[] v3_10;
        if (net.hockeyapp.android.Constants.FILES_PATH == null) {
            net.hockeyapp.android.utils.HockeyLog.debug("Can\'t search for exception as file path is null.");
            v3_10 = 0;
        } else {
            net.hockeyapp.android.utils.HockeyLog.debug(new StringBuilder().append("Looking for exceptions in: ").append(net.hockeyapp.android.Constants.FILES_PATH).toString());
            java.io.File v1_1 = new java.io.File(new StringBuilder().append(net.hockeyapp.android.Constants.FILES_PATH).append("/").toString());
            if ((v1_1.mkdir()) || (v1_1.exists())) {
                v3_10 = v1_1.list(new net.hockeyapp.android.CrashManager$6());
            } else {
                v3_10 = new String[0];
            }
        }
        return v3_10;
    }

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


    public static net.hockeyapp.android.objects.CrashDetails getLastCrashDetails()
    {
        if ((net.hockeyapp.android.Constants.FILES_PATH != null) && (net.hockeyapp.android.CrashManager.didCrashInLastSession())) {
            java.io.File[] v3 = new java.io.File(new StringBuilder().append(net.hockeyapp.android.Constants.FILES_PATH).append("/").toString()).listFiles(new net.hockeyapp.android.CrashManager$1());
            long v4 = 0;
            java.io.File v6 = 0;
            net.hockeyapp.android.objects.CrashDetails v7 = 0;
            int v9_1 = v3.length;
            RuntimeException v8_6 = 0;
            while (v8_6 < v9_1) {
                java.io.File v2 = v3[v8_6];
                if (v2.lastModified() > v4) {
                    v4 = v2.lastModified();
                    v6 = v2;
                }
                v8_6++;
            }
            if ((v6 != null) && (v6.exists())) {
                try {
                    v7 = net.hockeyapp.android.objects.CrashDetails.fromFile(v6);
                } catch (java.io.IOException v1) {
                    throw new RuntimeException(v1);
                }
            }
        } else {
            v7 = 0;
        }
        return v7;
    }

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


    public static java.io.File getHockeyAppStorageDir()
    {
        int v2;
        java.io.File v0_0 = new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory().getAbsolutePath()).append("/").append("HockeyApp").toString());
        if ((!v0_0.exists()) && (!v0_0.mkdirs())) {
            v2 = 0;
        } else {
            v2 = 1;
        }
        if (v2 == 0) {
            net.hockeyapp.android.utils.HockeyLog.warn("Couldn\'t create HockeyApp Storage dir");
        }
        return v0_0;
    }

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


    public void writeCachedSettings(long p8, org.json.JSONObject p10)
    {
        io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "Writing settings to cache file...");
        if (p10 != null) {
            java.io.FileWriter v1 = 0;
            try {
                p10.put("expires_at", p8);
                java.io.FileWriter v2_0 = new java.io.FileWriter(new java.io.File(new io.fabric.sdk.android.services.persistence.FileStoreImpl(this.kit).getFilesDir(), "com.crashlytics.settings.json"));
                try {
                    v2_0.write(p10.toString());
                    v2_0.flush();
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2_0, "Failed to close settings writer.");
                } catch (Throwable v3_7) {
                    v1 = v2_0;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Failed to close settings writer.");
                    throw v3_7;
                } catch (Exception v0) {
                    v1 = v2_0;
                    io.fabric.sdk.android.Fabric.getLogger().e("Fabric", "Failed to cache settings", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Failed to close settings writer.");
                }
            } catch (Throwable v3_7) {
            } catch (Exception v0) {
            }
        }
        return;
    }

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


    public org.json.JSONObject readCachedSettings()
    {
        io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "Reading cached settings...");
        java.io.FileInputStream v1 = 0;
        org.json.JSONObject v5 = 0;
        try {
            java.io.File v3_0 = new java.io.File(new io.fabric.sdk.android.services.persistence.FileStoreImpl(this.kit).getFilesDir(), "com.crashlytics.settings.json");
        } catch (Throwable v7_7) {
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
            throw v7_7;
        } catch (Exception v0) {
            io.fabric.sdk.android.Fabric.getLogger().e("Fabric", "Failed to fetch cached settings", v0);
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
            return v5;
        }
        if (!v3_0.exists()) {
            io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "No cached settings found.");
        } else {
            java.io.FileInputStream v2_1 = new java.io.FileInputStream(v3_0);
            try {
                v5 = new org.json.JSONObject(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v2_1));
                v1 = v2_1;
            } catch (Throwable v7_7) {
                v1 = v2_1;
            } catch (Exception v0) {
                v1 = v2_1;
            }
        }
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
        return v5;
    }

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


    public java.io.File getExternalFilesDir()
    {
        java.io.File v0_0 = 0;
        if (this.isExternalStorageAvailable()) {
            if (android.os.Build$VERSION.SDK_INT < 8) {
                v0_0 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), new StringBuilder().append(this.legacySupport).append("/files/").append(this.contentPath).toString());
            } else {
                v0_0 = this.context.getExternalFilesDir(0);
            }
        }
        return this.prepare(v0_0);
    }

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


    public java.io.File getExternalCacheDir()
    {
        java.io.File v0_0 = 0;
        if (this.isExternalStorageAvailable()) {
            if (android.os.Build$VERSION.SDK_INT < 8) {
                v0_0 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), new StringBuilder().append(this.legacySupport).append("/cache/").append(this.contentPath).toString());
            } else {
                v0_0 = this.context.getExternalCacheDir();
            }
        }
        return this.prepare(v0_0);
    }

Method io.fabric.sdk.android.services.events.QueueFileEventStorage.rollOver() calling method java.io.File.<init>()


    public void rollOver(String p4)
    {
        this.queueFile.close();
        this.move(this.workingFile, new java.io.File(this.targetDirectory, p4));
        this.queueFile = new io.fabric.sdk.android.services.common.QueueFile(this.workingFile);
        return;
    }

Method io.fabric.sdk.android.services.events.QueueFileEventStorage.createTargetDirectory() calling method java.io.File.<init>()


    private void createTargetDirectory()
    {
        this.targetDirectory = new java.io.File(this.workingDirectory, this.targetDirectoryName);
        if (!this.targetDirectory.exists()) {
            this.targetDirectory.mkdirs();
        }
        return;
    }

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


    public QueueFileEventStorage(android.content.Context p3, java.io.File p4, String p5, String p6)
    {
        this.context = p3;
        this.workingDirectory = p4;
        this.targetDirectoryName = p6;
        this.workingFile = new java.io.File(this.workingDirectory, p5);
        this.queueFile = new io.fabric.sdk.android.services.common.QueueFile(this.workingFile);
        this.createTargetDirectory();
        return;
    }

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


    private static void initialize(java.io.File p6)
    {
        java.io.File v2_1 = new java.io.File(new StringBuilder().append(p6.getPath()).append(".tmp").toString());
        java.io.RandomAccessFile v1 = io.fabric.sdk.android.services.common.QueueFile.open(v2_1);
        try {
            v1.setLength(4096);
            v1.seek(0);
            byte[] v0 = new byte[16];
            java.io.IOException v3_5 = new int[4];
            v3_5 = {4096, 0, 0, 0};
            io.fabric.sdk.android.services.common.QueueFile.writeInts(v0, v3_5);
            v1.write(v0);
            v1.close();
        } catch (java.io.IOException v3_7) {
            v1.close();
            throw v3_7;
        }
        if (v2_1.renameTo(p6)) {
            return;
        } else {
            throw new java.io.IOException("Rename failed!");
        }
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


    boolean zzGg()
    {
        this.zzkN();
        try {
            int v0_12;
            this.zzbeT = new java.io.RandomAccessFile(new java.io.File(this.getContext().getFilesDir(), this.zzbeG.zzmv()), "rw").getChannel();
            this.zzbeS = this.zzbeT.tryLock();
        } catch (int v0_14) {
            this.zzFm().zzFE().zzj("Failed to acquire storage lock", v0_14);
            v0_12 = 0;
            return v0_12;
        } catch (int v0_13) {
            this.zzFm().zzFE().zzj("Failed to access storage lock file", v0_13);
        }
        if (this.zzbeS == null) {
            this.zzFm().zzFE().log("Storage concurrent data access panic");
        } else {
            this.zzFm().zzFL().log("Storage concurrent access okay");
            v0_12 = 1;
            return v0_12;
        }
    }

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


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

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


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

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


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

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


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

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


    private boolean zzb(java.io.File p9, String p10)
    {
        String v0 = 0;
        java.io.FileOutputStream v4_7 = new Object[2];
        v4_7[0] = p9;
        v4_7[1] = p10;
        byte[] v2_0 = new java.io.File(String.format("%s/%s.tmp", v4_7));
        if (v2_0.exists()) {
            int v5_1 = new Object[2];
            v5_1[0] = p9;
            v5_1[1] = p10;
            int v3_2 = new java.io.File(String.format("%s/%s.dex", v5_1));
            if (!v3_2.exists()) {
                java.io.FileOutputStream v4_3 = v2_0.length();
                if (v4_3 > 0) {
                    java.io.FileOutputStream v4_5 = new byte[((int) v4_3)];
                    if (new java.io.FileInputStream(v2_0).read(v4_5) > 0) {
                        java.io.FileOutputStream v4_6 = com.google.ads.afma.nano.Google3NanoAfmaSignals$Cache.parseFrom(v4_5);
                        if ((p10.equals(new String(v4_6.timestamp))) && ((java.util.Arrays.equals(v4_6.hash, com.google.android.gms.internal.zzai.zze(v4_6.data))) && (java.util.Arrays.equals(v4_6.osVersion, android.os.Build$VERSION.SDK.getBytes())))) {
                            byte[] v2_3 = this.zzoy.zzc(this.zzoz, new String(v4_6.data));
                            v3_2.createNewFile();
                            java.io.FileOutputStream v4_10 = new java.io.FileOutputStream(v3_2);
                            v4_10.write(v2_3, 0, v2_3.length);
                            v4_10.close();
                            v0 = 1;
                        } else {
                            this.zza(v2_0);
                        }
                    } else {
                        android.util.Log.d(com.google.android.gms.internal.zzav.TAG, "Cannot read the cache data.");
                        this.zza(v2_0);
                    }
                } else {
                    this.zza(v2_0);
                }
            }
        }
        return v0;
    }

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


    private void zza(java.io.File p10, String p11)
    {
        java.io.IOException v1_5 = new Object[2];
        v1_5[0] = p10;
        v1_5[1] = p11;
        int v2_0 = new java.io.File(String.format("%s/%s.tmp", v1_5));
        if (!v2_0.exists()) {
            java.io.IOException v1_0 = new Object[2];
            v1_0[0] = p10;
            v1_0[1] = p11;
            java.io.File v3_1 = new java.io.File(String.format("%s/%s.dex", v1_0));
            if (v3_1.exists()) {
                java.io.IOException v1_1 = 0;
                java.io.FileOutputStream v4_1 = v3_1.length();
                if (v4_1 > 0) {
                    java.io.FileOutputStream v4_2 = new byte[((int) v4_1)];
                    try {
                        java.io.IOException v0_7 = new java.io.FileInputStream(v3_1);
                        try {
                            if (v0_7.read(v4_2) > 0) {
                                java.io.IOException v1_4 = new com.google.ads.afma.nano.Google3NanoAfmaSignals$Cache();
                                v1_4.osVersion = android.os.Build$VERSION.SDK.getBytes();
                                v1_4.timestamp = p11.getBytes();
                                java.io.FileOutputStream v4_4 = this.zzoy.zzd(this.zzoz, v4_2).getBytes();
                                v1_4.data = v4_4;
                                v1_4.hash = com.google.android.gms.internal.zzai.zze(v4_4);
                                v2_0.createNewFile();
                                java.io.FileOutputStream v4_7 = new java.io.FileOutputStream(v2_0);
                                java.io.IOException v1_6 = com.google.android.gms.internal.zzamj.toByteArray(v1_4);
                                v4_7.write(v1_6, 0, v1_6.length);
                                v4_7.close();
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            } else {
                                if (v0_7 != null) {
                                    try {
                                        v0_7.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                                this.zza(v3_1);
                            }
                        } catch (java.io.IOException v1_7) {
                            v1_1 = v0_7;
                            java.io.IOException v0_9 = v1_7;
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            this.zza(v3_1);
                            throw v0_9;
                        } catch (java.io.IOException v1) {
                            if (v0_7 != null) {
                                try {
                                    v0_7.close();
                                } catch (java.io.IOException v0) {
                                }
                            }
                            this.zza(v3_1);
                        } catch (java.io.IOException v1) {
                        } catch (java.io.IOException v1) {
                        }
                    } catch (java.io.IOException v0_9) {
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    } catch (java.io.IOException v0) {
                        v0_7 = 0;
                    }
                }
            }
        }
        return;
    }

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


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

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


    public static boolean isRooted(android.content.Context p5)
    {
        int v3 = 1;
        boolean v2 = io.fabric.sdk.android.services.common.CommonUtils.isEmulator(p5);
        String v0 = android.os.Build.TAGS;
        if (((v2) || ((v0 == null) || (!v0.contains("test-keys")))) && (!new java.io.File("/system/app/Superuser.apk").exists())) {
            java.io.File v1_3 = new java.io.File("/system/xbin/su");
            if ((v2) || (!v1_3.exists())) {
                v3 = 0;
            }
        }
        return v3;
    }

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


    public static declared_synchronized long getTotalRamInBytes()
    {
        try {
            if (io.fabric.sdk.android.services.common.CommonUtils.totalRamInBytes == -1) {
                long v0 = 0;
                String v3_0 = io.fabric.sdk.android.services.common.CommonUtils.extractFieldFromSystemFile(new java.io.File("/proc/meminfo"), "MemTotal");
                if (!android.text.TextUtils.isEmpty(v3_0)) {
                    String v3_1 = v3_0.toUpperCase(java.util.Locale.US);
                    try {
                        if (!v3_1.endsWith("KB")) {
                            if (!v3_1.endsWith("MB")) {
                                if (!v3_1.endsWith("GB")) {
                                    io.fabric.sdk.android.Fabric.getLogger().d("Fabric", new StringBuilder().append("Unexpected meminfo format while computing RAM: ").append(v3_1).toString());
                                } else {
                                    v0 = io.fabric.sdk.android.services.common.CommonUtils.convertMemInfoToBytes(v3_1, "GB", 1073741824);
                                }
                            } else {
                                v0 = io.fabric.sdk.android.services.common.CommonUtils.convertMemInfoToBytes(v3_1, "MB", 1048576);
                            }
                        } else {
                            v0 = io.fabric.sdk.android.services.common.CommonUtils.convertMemInfoToBytes(v3_1, "KB", 1024);
                        }
                    } catch (NumberFormatException v2) {
                        io.fabric.sdk.android.Fabric.getLogger().e("Fabric", new StringBuilder().append("Unexpected meminfo format while computing RAM: ").append(v3_1).toString(), v2);
                    }
                }
                io.fabric.sdk.android.services.common.CommonUtils.totalRamInBytes = v0;
            }
        } catch (io.fabric.sdk.android.Logger v4_15) {
            throw v4_15;
        }
        return io.fabric.sdk.android.services.common.CommonUtils.totalRamInBytes;
    }

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


    public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView p6, String p7)
    {
        if (this.zzSk != null) {
            this.zzSk.zzaI(p7);
        }
        try {
            android.webkit.WebResourceResponse v1_8;
            if ("mraid.js".equalsIgnoreCase(new java.io.File(p7).getName())) {
                if ((p6 instanceof com.google.android.gms.internal.zzla)) {
                    String v2_6;
                    ((com.google.android.gms.internal.zzla) p6).zzjD().zzgr();
                    if (!((com.google.android.gms.internal.zzla) p6).zzbi().zzvt) {
                        if (!((com.google.android.gms.internal.zzla) p6).zzjH()) {
                            v2_6 = ((String) com.google.android.gms.internal.zzcu.zzxC.get());
                        } else {
                            v2_6 = ((String) com.google.android.gms.internal.zzcu.zzxD.get());
                        }
                    } else {
                        v2_6 = ((String) com.google.android.gms.internal.zzcu.zzxE.get());
                    }
                    com.google.android.gms.internal.zzjw.v(new StringBuilder((String.valueOf(v2_6).length() + 24)).append("shouldInterceptRequest(").append(v2_6).append(")").toString());
                    v1_8 = this.zzd(((com.google.android.gms.internal.zzla) p6).getContext(), this.zzBb.zzjG().afmaVersion, v2_6);
                    return v1_8;
                } else {
                    com.google.android.gms.internal.zzjw.zzaW("Tried to intercept request from a WebView that wasn\'t an AdWebView.");
                    v1_8 = super.shouldInterceptRequest(p6, p7);
                    return v1_8;
                }
            } else {
                v1_8 = super.shouldInterceptRequest(p6, p7);
                return v1_8;
            }
        } catch (android.webkit.WebResourceResponse v1_11) {
        } catch (android.webkit.WebResourceResponse v1_11) {
        } catch (android.webkit.WebResourceResponse v1_11) {
        } catch (android.webkit.WebResourceResponse v1_11) {
        }
        android.webkit.WebResourceResponse v1_13 = String.valueOf(v1_11.getMessage());
        if (v1_13.length() == 0) {
            android.webkit.WebResourceResponse v1_15 = new String("Could not fetch MRAID JS. ");
        } else {
            v1_15 = "Could not fetch MRAID JS. ".concat(v1_13);
        }
        com.google.android.gms.internal.zzjw.zzaW(v1_15);
        v1_8 = super.shouldInterceptRequest(p6, p7);
        return v1_8;
    }

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


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

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


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

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


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

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


    public zzcw(android.content.Context p5, String p6, String p7, java.util.Map p8)
    {
        this.zzzQ = new java.util.LinkedHashMap();
        this.zzzR = new java.util.HashMap();
        this.mContext = p5;
        this.zztK = p6;
        this.zzzM = p7;
        this.zzzS = new java.util.concurrent.atomic.AtomicBoolean(0);
        this.zzzS.set(((Boolean) com.google.android.gms.internal.zzcu.zzxH.get()).booleanValue());
        if (this.zzzS.get()) {
            java.util.Map v0_10 = android.os.Environment.getExternalStorageDirectory();
            if (v0_10 != null) {
                this.zzzT = new java.io.File(v0_10, "sdk_csi_data.txt");
            }
        }
        com.google.android.gms.internal.zzcz v2_1 = p8.entrySet().iterator();
        while (v2_1.hasNext()) {
            java.util.Map v0_23 = ((java.util.Map$Entry) v2_1.next());
            this.zzzQ.put(((String) v0_23.getKey()), ((String) v0_23.getValue()));
        }
        this.zzzO = new java.util.concurrent.ArrayBlockingQueue(30);
        this.zzzP = java.util.concurrent.Executors.newSingleThreadExecutor();
        this.zzzP.execute(new com.google.android.gms.internal.zzcw$1(this));
        this.zzzR.put("action", com.google.android.gms.internal.zzcz.zzzW);
        this.zzzR.put("ad_format", com.google.android.gms.internal.zzcz.zzzW);
        this.zzzR.put("e", com.google.android.gms.internal.zzcz.zzzX);
        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 p6, com.google.android.gms.internal.zzy p7)
    {
        java.io.File v1_1 = new java.io.File(p6.getCacheDir(), "volley");
        try {
            com.google.android.gms.internal.zzl v2_7 = p6.getPackageName();
            android.net.http.AndroidHttpClient v0_1 = new StringBuilder((String.valueOf(v2_7).length() + 12)).append(v2_7).append("/").append(p6.getPackageManager().getPackageInfo(v2_7, 0).versionCode).toString();
        } catch (com.google.android.gms.internal.zzl v2) {
        }
        if (p7 == null) {
            if (android.os.Build$VERSION.SDK_INT < 9) {
                p7 = new com.google.android.gms.internal.zzw(android.net.http.AndroidHttpClient.newInstance(v0_1));
            } else {
                p7 = new com.google.android.gms.internal.zzz();
            }
        }
        com.google.android.gms.internal.zzl v2_6 = new com.google.android.gms.internal.zzl(new com.google.android.gms.internal.zzv(v1_1), new com.google.android.gms.internal.zzt(p7));
        v2_6.start();
        return v2_6;
    }

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


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

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


    private void zzeC(String p5)
    {
        String v1_6 = new java.io.File(new android.support.v4.content.ContextCompat().getNoBackupFilesDir(this.zzov), p5);
        try {
            if ((!v1_6.exists()) && ((v1_6.createNewFile()) && (!this.isEmpty()))) {
                android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                com.google.android.gms.iid.InstanceIDListenerService.zza(this.zzov, this);
            }
        } catch (String v0_4) {
            if (!android.util.Log.isLoggable("InstanceID/Store", 3)) {
            } else {
                String v0_6 = String.valueOf(v0_4.getMessage());
                if (v0_6.length() == 0) {
                    String v0_8 = new String("Error creating file in no backup dir: ");
                    android.util.Log.d("InstanceID/Store", v0_8);
                } else {
                    v0_8 = "Error creating file in no backup dir: ".concat(v0_6);
                }
            }
        }
        return;
    }

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


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

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


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

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


    public static com.facebook.GraphRequest newUploadVideoRequest(com.facebook.AccessToken p6, android.net.Uri p7, com.facebook.GraphRequest$Callback p8)
    {
        com.facebook.GraphRequest v0_2;
        if (!com.facebook.internal.Utility.isFileUri(p7)) {
            if (com.facebook.internal.Utility.isContentUri(p7)) {
                android.os.Bundle v3_1 = new android.os.Bundle(1);
                v3_1.putParcelable("picture", p7);
                v0_2 = new com.facebook.GraphRequest(p6, "me/photos", v3_1, com.facebook.HttpMethod.POST, p8);
            } else {
                throw new com.facebook.FacebookException("The video Uri must be either a file:// or content:// Uri");
            }
        } else {
            v0_2 = com.facebook.share.internal.ShareInternalUtility.newUploadVideoRequest(p6, new java.io.File(p7.getPath()), p8);
        }
        return v0_2;
    }

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


    public static com.facebook.GraphRequest newUploadStagingResourceWithImageRequest(com.facebook.AccessToken p7, android.net.Uri p8, com.facebook.GraphRequest$Callback p9)
    {
        com.facebook.GraphRequest v0_4;
        if (!com.facebook.internal.Utility.isFileUri(p8)) {
            if (com.facebook.internal.Utility.isContentUri(p8)) {
                com.facebook.GraphRequest$ParcelableResourceWithMimeType v6_1 = new com.facebook.GraphRequest$ParcelableResourceWithMimeType(p8, "image/png");
                android.os.Bundle v3_0 = new android.os.Bundle(1);
                v3_0.putParcelable("file", v6_1);
                v0_4 = new com.facebook.GraphRequest(p7, "me/staging_resources", v3_0, com.facebook.HttpMethod.POST, p9);
            } else {
                throw new com.facebook.FacebookException("The image Uri must be either a file:// or content:// Uri");
            }
        } else {
            v0_4 = com.facebook.share.internal.ShareInternalUtility.newUploadStagingResourceWithImageRequest(p7, new java.io.File(p8.getPath()), p9);
        }
        return v0_4;
    }

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


    public static com.facebook.GraphRequest newUploadPhotoRequest(com.facebook.AccessToken p6, android.net.Uri p7, com.facebook.GraphRequest$Callback p8)
    {
        com.facebook.GraphRequest v0_2;
        if (!com.facebook.internal.Utility.isFileUri(p7)) {
            if (com.facebook.internal.Utility.isContentUri(p7)) {
                android.os.Bundle v3_1 = new android.os.Bundle(1);
                v3_1.putParcelable("picture", p7);
                v0_2 = new com.facebook.GraphRequest(p6, "me/photos", v3_1, com.facebook.HttpMethod.POST, p8);
            } else {
                throw new com.facebook.FacebookException("The photo Uri must be either a file:// or content:// Uri");
            }
        } else {
            v0_2 = com.facebook.share.internal.ShareInternalUtility.newUploadPhotoRequest(p6, new java.io.File(p7.getPath()), p8);
        }
        return v0_2;
    }

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


    static java.io.File getAttachmentsDirectoryForCall(java.util.UUID p3, boolean p4)
    {
        java.io.File v0_0;
        if (com.facebook.internal.NativeAppCallAttachmentStore.attachmentsDirectory != null) {
            v0_0 = new java.io.File(com.facebook.internal.NativeAppCallAttachmentStore.attachmentsDirectory, p3.toString());
            if ((p4) && (!v0_0.exists())) {
                v0_0.mkdirs();
            }
        } else {
            v0_0 = 0;
        }
        return v0_0;
    }

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


    static declared_synchronized java.io.File getAttachmentsDirectory()
    {
        try {
            if (com.facebook.internal.NativeAppCallAttachmentStore.attachmentsDirectory == null) {
                com.facebook.internal.NativeAppCallAttachmentStore.attachmentsDirectory = new java.io.File(com.facebook.FacebookSdk.getApplicationContext().getCacheDir(), "com.facebook.NativeAppCallAttachmentStore.files");
            }
        } catch (java.io.File v0_1) {
            throw v0_1;
        }
        return com.facebook.internal.NativeAppCallAttachmentStore.attachmentsDirectory;
    }

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


    static java.io.File getAttachmentFile(java.util.UUID p5, String p6, boolean p7)
    {
        java.io.File v2 = 0;
        java.io.File v0 = com.facebook.internal.NativeAppCallAttachmentStore.getAttachmentsDirectoryForCall(p5, p7);
        if (v0 != null) {
            try {
                v2 = new java.io.File(v0, java.net.URLEncoder.encode(p6, "UTF-8"));
            } catch (java.io.UnsupportedEncodingException v1) {
            }
        }
        return v2;
    }

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


    public java.io.InputStream get(String p18, String p19)
    {
        java.io.File v6_1 = new java.io.File(this.directory, com.facebook.internal.Utility.md5hash(p18));
        try {
            com.facebook.LoggingBehavior v4_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(v6_1), 8192);
            int v12 = 0;
            try {
                org.json.JSONObject v8 = com.facebook.internal.FileLruCache$StreamHeader.readHeader(v4_0);
            } catch (com.facebook.LoggingBehavior v13_9) {
                if (v12 == 0) {
                    v4_0.close();
                }
                throw v13_9;
            }
            if (v8 != null) {
                String v7 = v8.optString("key");
                if ((v7 != null) && (v7.equals(p18))) {
                    String v9 = v8.optString("tag", 0);
                    if (((p19 != null) || (v9 == null)) && ((p19 == null) || (p19.equals(v9)))) {
                        long v2 = new java.util.Date().getTime();
                        com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.CACHE, com.facebook.internal.FileLruCache.TAG, new StringBuilder().append("Setting lastModified to ").append(Long.valueOf(v2)).append(" for ").append(v6_1.getName()).toString());
                        v6_1.setLastModified(v2);
                        v12 = 1;
                        if (1 != 0) {
                            return v4_0;
                        } else {
                            v4_0.close();
                            return v4_0;
                        }
                    } else {
                        if (0 == 0) {
                            v4_0.close();
                        }
                        v4_0 = 0;
                        return v4_0;
                    }
                } else {
                    if (0 == 0) {
                        v4_0.close();
                    }
                    v4_0 = 0;
                    return v4_0;
                }
            } else {
                if (0 == 0) {
                    v4_0.close();
                }
                v4_0 = 0;
                return v4_0;
            }
        } catch (java.io.IOException v5) {
            v4_0 = 0;
            return v4_0;
        }
    }

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


    private void renameToTargetAndTrim(String p4, java.io.File p5)
    {
        if (!p5.renameTo(new java.io.File(this.directory, com.facebook.internal.Utility.md5hash(p4)))) {
            p5.delete();
        }
        this.postTrim();
        return;
    }

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


    public FileLruCache(String p5, com.facebook.internal.FileLruCache$Limits p6)
    {
        this.lastClearCacheTime = new java.util.concurrent.atomic.AtomicLong(0);
        this.tag = p5;
        this.limits = p6;
        this.directory = new java.io.File(com.facebook.FacebookSdk.getCacheDir(), p5);
        this.lock = new Object();
        if ((this.directory.mkdirs()) || (this.directory.isDirectory())) {
            com.facebook.internal.FileLruCache$BufferFile.deleteAll(this.directory);
        }
        return;
    }

Method com.facebook.internal.FileLruCache$BufferFile.newFile() calling method java.io.File.<init>()


    static java.io.File newFile(java.io.File p4)
    {
        return new java.io.File(p4, new StringBuilder().append("buffer").append(Long.valueOf(com.facebook.internal.FileLruCache.access$300().incrementAndGet()).toString()).toString());
    }

Method com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.getTemporaryFileNameFromBitmap() calling method java.io.File.<init>()


    private static String getTemporaryFileNameFromBitmap(android.graphics.Bitmap p6)
    {
        String v3 = new StringBuilder().append(android.os.Environment.getExternalStorageDirectory().getAbsolutePath()).append("/temporaryPath").toString();
        java.io.File v0_1 = new java.io.File(v3);
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(new java.io.File(v0_1, "temporaryBitmap.png"));
        p6.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v1_1);
        v1_1.flush();
        v1_1.close();
        return v3;
    }

Method com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.getImageOrientation() calling method java.io.File.<init>()


    public static int getImageOrientation(String p7)
    {
        int v4 = 0;
        try {
            switch (new android.media.ExifInterface(new java.io.File(p7).getAbsolutePath()).getAttributeInt("Orientation", 1)) {
                case 3:
                    v4 = 180;
                case 4:
                case 5:
                case 7:
                default:
                    break;
                case 4:
                case 5:
                case 7:
                    break;
                case 6:
                    v4 = 90;
                case 4:
                case 5:
                case 7:
                    break;
                case 8:
                    v4 = 270;
                    break;
            }
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
        }
        return v4;
    }

Method com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.deleteTemporaryBitmapFolder() calling method java.io.File.<init>()


    private static void deleteTemporaryBitmapFolder()
    {
        com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.deleteRecursive(new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory().getAbsolutePath()).append("/temporaryPath").toString()));
        return;
    }

Method com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.deletePackageFolder() calling method java.io.File.<init>()


    public static void deletePackageFolder(android.content.Context p4)
    {
        com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.deleteRecursive(new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory()).append(java.io.File.separator).append(com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.getPackageName(p4)).toString()));
        return;
    }

Method com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.deleteLastImageFromGallery() calling method java.io.File.<init>()


    public static void deleteLastImageFromGallery(android.content.Context p11)
    {
        String[] v2 = new String[5];
        v2[0] = "_id";
        v2[1] = "_data";
        v2[2] = "bucket_display_name";
        v2[3] = "datetaken";
        v2[4] = "mime_type";
        android.database.Cursor v6 = p11.getContentResolver().query(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, v2, 0, 0, "datetaken DESC");
        if (v6.moveToFirst()) {
            String v7 = v6.getString(1);
            if (new java.io.File(v7).exists()) {
                android.content.ContentResolver v0_6 = p11.getContentResolver();
                String[] v4_1 = new String[1];
                v4_1[0] = v7;
                v0_6.delete(android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI, "_data=?", v4_1);
            }
        }
        return;
    }

Method com.deniz.dijitaldeniz.wallet.imageIntent.ImageUtils.createImageFile() calling method java.io.File.<init>()


    public static java.io.File createImageFile(String p8)
    {
        String v3 = new StringBuilder().append("IMG_").append(System.currentTimeMillis()).toString();
        java.io.File v0_1 = new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory()).append(java.io.File.separator).append(p8).toString());
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        try {
            java.io.File v2 = java.io.File.createTempFile(v3, ".jpg", v0_1);
        } catch (Exception v1) {
            v1.printStackTrace();
        }
        return v2;
    }

Method com.deniz.dijitaldeniz.wallet.fragments.NativeCameraFragment.getOutputMediaFile() calling method java.io.File.<init>()


    private java.io.File getOutputMediaFile()
    {
        int v0_1;
        java.io.File v1_1 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), "UltimateCameraGuideApp");
        if ((v1_1.exists()) || (v1_1.mkdirs())) {
            v0_1 = new java.io.File(new StringBuilder().append(v1_1.getPath()).append(java.io.File.separator).append("IMG_").append(new java.text.SimpleDateFormat("yyyyMMdd_HHmmss").format(new java.util.Date())).append(".jpg").toString());
        } else {
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.deniz.dijitaldeniz.wallet.activities.CroppedActivity.onActivityResult() calling method java.io.File.<init>()


    protected void onActivityResult(int p7, int p8, android.content.Intent p9)
    {
        if (p8 != -1) {
            this.isBackPhoto = Boolean.valueOf(0);
        } else {
            android.net.Uri v2 = this.getPickImageResultUri(p9);
            if (new java.io.File(com.deniz.dijitaldeniz.helper.ImageFilePath.getPath(this, v2)).exists()) {
                this.cropImageView.setImageUri(v2);
                this.setEnabledSaveCrop();
                new android.os.Handler().postDelayed(new com.deniz.dijitaldeniz.wallet.activities.CroppedActivity$2(this), 50);
            }
        }
        return;
    }

Method com.deniz.dijitaldeniz.wallet.activities.CroppedActivity.getCaptureImageOutputUri() calling method java.io.File.<init>()


    private android.net.Uri getCaptureImageOutputUri()
    {
        android.net.Uri v1 = 0;
        java.io.File v0 = this.getExternalCacheDir();
        if (v0 != null) {
            v1 = android.net.Uri.fromFile(new java.io.File(v0.getPath(), "pickImageResult.jpeg"));
        }
        return v1;
    }

Method com.deniz.dijitaldeniz.helper.cropper.util.ImageViewUtil.getFileFromUri() calling method java.io.File.<init>()


    public static java.io.File getFileFromUri(android.content.Context p11, android.net.Uri p12)
    {
        java.io.File v9_2;
        java.io.File v8_1 = new java.io.File(p12.getPath());
        if (!v8_1.exists()) {
            try {
                String[] v2 = new String[1];
                v2[0] = "_data";
                android.database.Cursor v7 = p11.getContentResolver().query(p12, v2, 0, 0, 0);
                int v6 = v7.getColumnIndexOrThrow("_data");
                v7.moveToFirst();
                java.io.File v9_1 = new java.io.File(v7.getString(v6));
            } catch (Exception v0_4) {
                if (v7 != null) {
                    v7.close();
                }
                throw v0_4;
            } catch (Exception v0) {
                if (v7 == null) {
                    v9_2 = v8_1;
                } else {
                    v7.close();
                }
            }
            if (v7 == null) {
                v8_1 = v9_1;
            } else {
                v7.close();
                v8_1 = v9_1;
            }
        } else {
            v9_2 = v8_1;
        }
        return v9_2;
    }

Method com.deniz.dijitaldeniz.helper.SocialShareActivity.onDestroy() calling method java.io.File.<init>()


    public void onDestroy()
    {
        super.onDestroy();
        try {
            android.util.Log.i("", "paylai\u015fim resmi silindi");
            new java.io.File(android.os.Environment.getExternalStorageDirectory(), ".share-image.png").delete();
        } catch (Exception v1) {
            v1.printStackTrace();
        }
        return;
    }

Method com.deniz.dijitaldeniz.helper.SocialShareActivity.getLocalBitmapUri() calling method java.io.File.<init>()


    public android.net.Uri getLocalBitmapUri(android.widget.ImageView p11)
    {
        android.net.Uri v1;
        if (!(p11.getDrawable() instanceof android.graphics.drawable.BitmapDrawable)) {
            v1 = 0;
        } else {
            android.graphics.Bitmap v0 = ((android.graphics.drawable.BitmapDrawable) p11.getDrawable()).getBitmap();
            try {
                java.io.File v4_1 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DOWNLOADS), new StringBuilder().append("share_image_").append(System.currentTimeMillis()).append(".png").toString());
                v4_1.getParentFile().mkdirs();
                java.io.FileOutputStream v5_1 = new java.io.FileOutputStream(v4_1);
                v0.compress(android.graphics.Bitmap$CompressFormat.PNG, 90, v5_1);
                v5_1.close();
                v1 = android.net.Uri.fromFile(v4_1);
            } catch (java.io.IOException v3) {
                v3.printStackTrace();
            }
        }
        return v1;
    }

Method com.deniz.dijitaldeniz.helper.SocialShareActivity$1.doInBackground() calling method java.io.File.<init>()


    protected varargs Void doInBackground(Integer[] p14)
    {
        String v3 = "";
        int v5 = com.deniz.dijitaldeniz.helper.SocialShareActivity.access$000(this.this$0).lastIndexOf(46);
        if (v5 > 0) {
            v3 = com.deniz.dijitaldeniz.helper.SocialShareActivity.access$000(this.this$0).substring((v5 + 1));
        }
        android.graphics.Bitmap v6;
        android.util.Log.i("", new StringBuilder().append("extension: ").append(v3).toString());
        if ((!v3.equals("jpg")) && ((!v3.equals("jpeg")) && ((!v3.equals("png")) && (!v3.equals("bmp"))))) {
            v6 = com.deniz.dijitaldeniz.helper.AppMethods.getBitmapFromProtectedURL(com.deniz.dijitaldeniz.helper.SocialShareActivity.access$000(this.this$0));
        } else {
            v6 = com.deniz.dijitaldeniz.helper.AppMethods.getBitmapFromURL(com.deniz.dijitaldeniz.helper.SocialShareActivity.access$000(this.this$0));
        }
        java.io.File v1_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), ".share-image.png");
        if (v1_1.exists()) {
            v1_1.delete();
        }
        try {
            java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v1_1);
            java.io.ByteArrayOutputStream v8_1 = new java.io.ByteArrayOutputStream();
            v6.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v7_1);
            v7_1.write(v8_1.toByteArray());
            v7_1.flush();
            v7_1.close();
        } catch (Exception v2) {
            v2.printStackTrace();
        }
        com.deniz.dijitaldeniz.helper.SocialShareActivity.access$102(this.this$0, android.net.Uri.parse(new StringBuilder().append("file://").append(v1_1.getAbsoluteFile().toString()).toString()));
        return 0;
    }

Method com.deniz.dijitaldeniz.helper.Base64.encodeFromFile() calling method java.io.File.<init>()


    public static String encodeFromFile(String p12)
    {
        com.deniz.dijitaldeniz.helper.Base64$InputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(p12);
            byte[] v2 = new byte[Math.max(((int) ((((double) v5_1.length()) * 1.4) + 1.0)), 40)];
            int v6 = 0;
            com.deniz.dijitaldeniz.helper.Base64$InputStream v1_1 = new com.deniz.dijitaldeniz.helper.Base64$InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1)), 1);
            try {
                while(true) {
                    int v7 = v1_1.read(v2, v6, 4096);
                    v6 += v7;
                }
                String v4_1 = new String(v2, 0, v6, "US-ASCII");
                try {
                    v1_1.close();
                } catch (Exception v8) {
                }
                return v4_1;
            } catch (Exception v8_7) {
                v0 = v1_1;
                try {
                    v0.close();
                } catch (String v9) {
                }
                throw v8_7;
            } catch (java.io.IOException v3) {
                v0 = v1_1;
                throw v3;
            }
            if (v7 >= 0) {
            }
        } catch (Exception v8_7) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.deniz.dijitaldeniz.helper.Base64.decodeFromFile() calling method java.io.File.<init>()


    public static byte[] decodeFromFile(String p12)
    {
        com.deniz.dijitaldeniz.helper.Base64$InputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(p12);
            int v6 = 0;
        } catch (Exception v8_7) {
            try {
                v0.close();
            } catch (int v9) {
            }
            throw v8_7;
        } catch (java.io.IOException v4) {
            throw v4;
        }
        if (v5_1.length() <= 2147483647) {
            byte[] v2 = new byte[((int) v5_1.length())];
            com.deniz.dijitaldeniz.helper.Base64$InputStream v1_1 = new com.deniz.dijitaldeniz.helper.Base64$InputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1)), 0);
            try {
                while(true) {
                    int v7 = v1_1.read(v2, v6, 4096);
                    v6 += v7;
                }
                byte[] v3 = new byte[v6];
                System.arraycopy(v2, 0, v3, 0, v6);
                try {
                    v1_1.close();
                } catch (Exception v8) {
                }
                return v3;
            } catch (Exception v8_7) {
                v0 = v1_1;
            } catch (java.io.IOException v4) {
                v0 = v1_1;
            }
            if (v7 >= 0) {
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("File is too big for this convenience method (").append(v5_1.length()).append(" bytes).").toString());
        }
    }

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


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

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


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

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


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

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


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

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


    void doCleanInvalidTempFiles(java.io.File[] p12)
    {
        java.util.HashSet v4_1 = new java.util.HashSet();
        int v5_1 = p12.length;
        int v1_1 = 0;
        while (v1_1 < v5_1) {
            java.io.File v2 = p12[v1_1];
            io.fabric.sdk.android.Fabric.getLogger().d("CrashlyticsCore", new StringBuilder().append("Found invalid session part file: ").append(v2).toString());
            v4_1.add(com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.getSessionIdFromSessionFile(v2));
            v1_1++;
        }
        if (!v4_1.isEmpty()) {
            if (!this.invalidFilesDir.exists()) {
                this.invalidFilesDir.mkdir();
            }
            java.io.File[] v0_0 = this.listFilesMatching(new com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$13(this, v4_1));
            int v5_0 = v0_0.length;
            int v1_0 = 0;
            while (v1_0 < v5_0) {
                java.io.File v6 = v0_0[v1_0];
                io.fabric.sdk.android.Fabric.getLogger().d("CrashlyticsCore", new StringBuilder().append("Moving session file: ").append(v6).toString());
                if (!v6.renameTo(new java.io.File(this.invalidFilesDir, v6.getName()))) {
                    io.fabric.sdk.android.Fabric.getLogger().d("CrashlyticsCore", new StringBuilder().append("Could not move session file. Deleting ").append(v6).toString());
                    v6.delete();
                }
                v1_0++;
            }
            this.trimInvalidSessionFiles();
        }
        return;
    }

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


    CrashlyticsUncaughtExceptionHandler(Thread$UncaughtExceptionHandler p8, com.crashlytics.android.core.CrashlyticsExecutorServiceWrapper p9, io.fabric.sdk.android.services.common.IdManager p10, com.crashlytics.android.core.UnityVersionProvider p11, io.fabric.sdk.android.services.persistence.FileStore p12, com.crashlytics.android.core.CrashlyticsCore p13)
    {
        this.eventCounter = new java.util.concurrent.atomic.AtomicInteger(0);
        this.defaultHandler = p8;
        this.executorServiceWrapper = p9;
        this.idManager = p10;
        this.crashlyticsCore = p13;
        this.unityVersion = p11.getUnityVersion();
        this.fileStore = p12;
        this.invalidFilesDir = new java.io.File(this.getFilesDir(), "invalidClsFiles");
        this.isHandlingException = new java.util.concurrent.atomic.AtomicBoolean(0);
        android.content.Context v0 = p13.getContext();
        this.logFileManager = new com.crashlytics.android.core.LogFileManager(v0, p12);
        this.devicePowerStateListener = new com.crashlytics.android.core.DevicePowerStateListener(v0);
        com.crashlytics.android.core.StackTraceTrimmingStrategy[] v3_2 = new com.crashlytics.android.core.StackTraceTrimmingStrategy[1];
        v3_2[0] = new com.crashlytics.android.core.RemoveRepeatsStrategy(10);
        this.stackTraceTrimmingStrategy = new com.crashlytics.android.core.MiddleOutFallbackStrategy(1024, v3_2);
        return;
    }

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


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

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


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

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


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

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


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

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


    protected boolean onPreExecute()
    {
        try {
            String v5;
            android.content.Context v2 = this.getContext();
            android.content.pm.PackageManager v10 = v2.getPackageManager();
            String v11 = v2.getPackageName();
            android.content.pm.PackageInfo v9 = v10.getPackageInfo(v11, 0);
            String v4 = Integer.toString(v9.versionCode);
        } catch (Exception v8) {
            io.fabric.sdk.android.Fabric.getLogger().e("Answers", "Error retrieving app properties", v8);
            int v1_9 = 0;
            return v1_9;
        }
        if (v9.versionName != null) {
            v5 = v9.versionName;
        } else {
            v5 = "0.0";
        }
        long v6;
        if (android.os.Build$VERSION.SDK_INT < 9) {
            v6 = new java.io.File(v10.getApplicationInfo(v11, 0).sourceDir).lastModified();
        } else {
            v6 = v9.firstInstallTime;
        }
        this.analyticsManager = com.crashlytics.android.answers.SessionAnalyticsManager.build(this, v2, this.getIdManager(), v4, v5, v6);
        this.analyticsManager.enable();
        v1_9 = 1;
        return v1_9;
    }

Method com.android.volley.toolbox.VolleyTickle.newRequestTickle() calling method java.io.File.<init>()


    public static com.android.volley.RequestTickle newRequestTickle(android.content.Context p5, com.android.volley.toolbox.HttpStack p6)
    {
        java.io.File v0_1 = new java.io.File(p5.getCacheDir(), "volley");
        if (p6 == null) {
            if (!com.android.volley.misc.Utils.hasHoneycomb()) {
                p6 = new com.android.volley.toolbox.HttpClientStack(android.net.http.AndroidHttpClient.newInstance(com.android.volley.misc.NetUtils.getUserAgent(p5)));
            } else {
                p6 = new com.android.volley.toolbox.HurlStack();
            }
        }
        return new com.android.volley.RequestTickle(new com.android.volley.cache.DiskBasedCache(v0_1), new com.android.volley.toolbox.BasicNetwork(p6));
    }

Method com.android.volley.toolbox.Volley.newRequestQueue() calling method java.io.File.<init>()


    public static com.android.volley.RequestQueue newRequestQueue(android.content.Context p5, com.android.volley.toolbox.HttpStack p6)
    {
        java.io.File v0_1 = new java.io.File(p5.getCacheDir(), "volley");
        if (p6 == null) {
            if (!com.android.volley.misc.Utils.hasHoneycomb()) {
                p6 = new com.android.volley.toolbox.HttpClientStack(android.net.http.AndroidHttpClient.newInstance(com.android.volley.misc.NetUtils.getUserAgent(p5)));
            } else {
                p6 = new com.android.volley.toolbox.HurlStack();
            }
        }
        com.android.volley.RequestQueue v2_1 = new com.android.volley.RequestQueue(new com.android.volley.cache.DiskBasedCache(v0_1), new com.android.volley.toolbox.BasicNetwork(p6));
        v2_1.start();
        return v2_1;
    }

Method com.android.volley.toolbox.HurlStack.setConnectionParametersForMultipartRequest() calling method java.io.File.<init>()


    private static void setConnectionParametersForMultipartRequest(java.net.HttpURLConnection p34, com.android.volley.Request p35)
    {
        String v9 = ((com.android.volley.request.MultiPartRequest) p35).getProtocolCharset();
        int v11 = ((int) (System.currentTimeMillis() / 1000));
        String v6 = new StringBuilder().append("--").append(v11).toString();
        p34.setRequestMethod("POST");
        p34.setDoOutput(1);
        com.android.volley.Response$ProgressListener v0_33 = new Object[2];
        Object[] v31_11 = v0_33;
        v31_11[0] = v9;
        v31_11[1] = Integer.valueOf(v11);
        p34.setRequestProperty("Content-Type", String.format("multipart/form-data; charset=%s; boundary=%s", v31_11));
        java.util.Map v21 = ((com.android.volley.request.MultiPartRequest) p35).getMultipartParams();
        java.util.Map v15 = ((com.android.volley.request.MultiPartRequest) p35).getFilesToUpload();
        if (!((com.android.volley.request.MultiPartRequest) p35).isFixedStreamingMode()) {
            p34.setChunkedStreamingMode(0);
        } else {
            p34.setFixedLengthStreamingMode(com.android.volley.misc.MultipartUtils.getContentLengthForMultipartRequest(v6, v21, v15));
        }
        java.io.PrintWriter v27 = 0;
        try {
            java.io.OutputStream v22 = p34.getOutputStream();
            java.io.PrintWriter v29_53 = new java.io.OutputStreamWriter;
            v29_53(v22, v9);
            java.io.PrintWriter v28_1 = new java.io.PrintWriter(v29_53, 1);
            try {
                java.util.Iterator v17_0 = v21.keySet().iterator();
            } catch (java.io.PrintWriter v29_34) {
                v27 = v28_1;
                if (v27 != null) {
                    v27.close();
                }
                throw v29_34;
            } catch (Exception v12) {
                v27 = v28_1;
                v12.printStackTrace();
                if (v27 == null) {
                    return;
                } else {
                    v27.close();
                    return;
                }
            }
            while (v17_0.hasNext()) {
                String v20_3 = ((String) v17_0.next());
                com.android.volley.request.MultiPartRequest$MultiPartParam v23_1 = ((com.android.volley.request.MultiPartRequest$MultiPartParam) v21.get(v20_3));
                java.io.PrintWriter v29_36 = v28_1.append(v6).append("\r\n");
                com.android.volley.Response$ProgressListener v0_27 = new Object[1];
                Object[] v31_7 = v0_27;
                v31_7[0] = v20_3;
                v29_36.append(String.format("Content-Disposition: form-data; name=\"%s\"", v31_7)).append("\r\n").append(new StringBuilder().append("Content-Type: ").append(v23_1.contentType).toString()).append("\r\n").append("\r\n").append(v23_1.value).append("\r\n").flush();
            }
            java.util.Iterator v17_1 = v15.keySet().iterator();
            while (v17_1.hasNext()) {
                String v20_1 = ((String) v17_1.next());
                java.io.File v14_1 = new java.io.File(((String) v15.get(v20_1)));
                if (v14_1.exists()) {
                    if (!v14_1.isDirectory()) {
                        java.io.PrintWriter v29_13 = v28_1.append(v6).append("\r\n");
                        com.android.volley.Response$ProgressListener v0_4 = new Object[2];
                        Object[] v31_1 = v0_4;
                        v31_1[0] = v20_1;
                        v31_1[1] = v14_1.getName();
                        v29_13.append(String.format("Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"", v31_1)).append("\r\n").append("Content-Type: application/octet-stream").append("\r\n").append("Content-Transfer-Encoding: binary").append("\r\n").append("\r\n").flush();
                        java.io.BufferedInputStream v18 = 0;
                        try {
                            java.io.FileInputStream v16 = new java.io.FileInputStream;
                            v16(v14_1);
                            int v26 = 0;
                            int v25 = ((int) v14_1.length());
                            java.io.BufferedInputStream v19 = new java.io.BufferedInputStream;
                            v19(v16);
                            try {
                                byte[] v7 = new byte[1024];
                            } catch (java.io.PrintWriter v29_24) {
                                v18 = v19;
                                if (v18 != null) {
                                    v18.close();
                                }
                                throw v29_24;
                            }
                            while(true) {
                                int v8 = v19.read(v7);
                                if (v8 <= 0) {
                                    break;
                                }
                                v22.write(v7, 0, v8);
                                v26 += v8;
                                ((com.android.volley.Response$ProgressListener) p35).onProgress(((long) v26), ((long) v25));
                            }
                            v22.flush();
                            if (v19 != null) {
                                v19.close();
                            }
                            v28_1.append("\r\n").flush();
                        } catch (java.io.PrintWriter v29_24) {
                        }
                    } else {
                        com.android.volley.Response$ProgressListener v0_20 = new Object[1];
                        Object[] v31_3 = v0_20;
                        v31_3[0] = v14_1.getAbsolutePath();
                        throw new java.io.IOException(String.format("File is a directory: %s", v31_3));
                    }
                } else {
                    com.android.volley.Response$ProgressListener v0_22 = new Object[1];
                    Object[] v31_5 = v0_22;
                    v31_5[0] = v14_1.getAbsolutePath();
                    throw new java.io.IOException(String.format("File not found: %s", v31_5));
                }
            }
            v28_1.append(new StringBuilder().append(v6).append("--").toString()).append("\r\n").flush();
            if (v28_1 == null) {
                return;
            } else {
                v28_1.close();
                return;
            }
        } catch (java.io.PrintWriter v29_34) {
        } catch (Exception v12) {
        }
    }

Method com.android.volley.toolbox.HttpClientStack.setEntityIfNonEmptyBody() calling method java.io.File.<init>()


    private static void setEntityIfNonEmptyBody(org.apache.http.client.methods.HttpEntityEnclosingRequestBase p17, com.android.volley.Request p18)
    {
        if (!(p18 instanceof com.android.volley.request.MultiPartRequest)) {
            p17.addHeader("Content-Type", p18.getBodyContentType());
            byte[] v1 = p18.getBody();
            if (v1 != null) {
                p17.setEntity(new org.apache.http.entity.ByteArrayEntity(v1));
            }
        } else {
            com.android.volley.Response$ProgressListener v11_0 = 0;
            if ((p18 instanceof com.android.volley.Response$ProgressListener)) {
                v11_0 = ((com.android.volley.Response$ProgressListener) p18);
            }
            com.android.volley.toolbox.multipart.MultipartProgressEntity v9_1 = new com.android.volley.toolbox.multipart.MultipartProgressEntity();
            v9_1.setListener(v11_0);
            Object[] v14_2 = new Object[2];
            v14_2[0] = ((com.android.volley.request.MultiPartRequest) p18).getProtocolCharset();
            v14_2[1] = v9_1.getBoundary();
            p17.addHeader("Content-Type", String.format("multipart/form-data; charset=%s; boundary=%s", v14_2));
            java.util.Map v10 = ((com.android.volley.request.MultiPartRequest) p18).getMultipartParams();
            java.util.Map v6 = ((com.android.volley.request.MultiPartRequest) p18).getFilesToUpload();
            java.util.Iterator v7_0 = v10.keySet().iterator();
            while (v7_0.hasNext()) {
                String v8_1 = ((String) v7_0.next());
                v9_1.addPart(new com.android.volley.toolbox.multipart.StringPart(v8_1, ((com.android.volley.request.MultiPartRequest$MultiPartParam) v10.get(v8_1)).value));
            }
            java.util.Iterator v7_1 = v6.keySet().iterator();
            while (v7_1.hasNext()) {
                String v8_3 = ((String) v7_1.next());
                java.io.File v4_1 = new java.io.File(((String) v6.get(v8_3)));
                if (v4_1.exists()) {
                    if (!v4_1.isDirectory()) {
                        v9_1.addPart(new com.android.volley.toolbox.multipart.FilePart(v8_3, v4_1, 0, 0));
                    } else {
                        Object[] v14_4 = new Object[1];
                        v14_4[0] = v4_1.getAbsolutePath();
                        throw new java.io.IOException(String.format("File is a directory: %s", v14_4));
                    }
                } else {
                    Object[] v14_0 = new Object[1];
                    v14_0[0] = v4_1.getAbsolutePath();
                    throw new java.io.IOException(String.format("File not found: %s", v14_0));
                }
            }
            p17.setEntity(v9_1);
        }
        return;
    }

Method com.android.volley.request.ImageRequest.doVideoFileParse() calling method java.io.File.<init>()


    private com.android.volley.Response doVideoFileParse()
    {
        com.android.volley.Response v9_18;
        String v7 = this.getUrl();
        java.io.File v3_0 = new java.io.File(v7.substring(8, v7.length()));
        if ((v3_0.exists()) && (v3_0.isFile())) {
            android.graphics.Bitmap v2;
            android.graphics.BitmapFactory$Options v4_1 = new android.graphics.BitmapFactory$Options();
            v4_1.inInputShareable = 1;
            v4_1.inPurgeable = 1;
            v4_1.inPreferredConfig = this.mDecodeConfig;
            if ((this.mMaxWidth != 0) || (this.mMaxHeight != 0)) {
                v4_1.inJustDecodeBounds = 1;
                int v1 = v4_1.outWidth;
                int v0 = v4_1.outHeight;
                int v6 = com.android.volley.request.ImageRequest.getResizedDimension(this.mMaxWidth, this.mMaxHeight, v1, v0, this.mScaleType);
                int v5 = com.android.volley.request.ImageRequest.getResizedDimension(this.mMaxHeight, this.mMaxWidth, v0, v1, this.mScaleType);
                v4_1.inJustDecodeBounds = 0;
                v4_1.inSampleSize = com.android.volley.misc.ImageUtils.findBestSampleSize(v1, v0, v6, v5);
                android.graphics.Bitmap v8 = this.getVideoFrame(v3_0.getAbsolutePath());
                Object[] v10_2 = new Object[1];
                v10_2[0] = Integer.valueOf(v4_1.inSampleSize);
                this.addMarker(String.format("read-from-file-scaled-times-%d", v10_2));
                if ((v8 == null) || ((v8.getWidth() <= v6) && (v8.getHeight() <= v5))) {
                    v2 = v8;
                } else {
                    v2 = android.graphics.Bitmap.createScaledBitmap(v8, v6, v5, 1);
                    v8.recycle();
                    this.addMarker("scaling-read-from-file-bitmap");
                }
            } else {
                v2 = this.getVideoFrame(v3_0.getAbsolutePath());
                this.addMarker("read-full-size-image-from-file");
            }
            if (v2 != null) {
                v9_18 = com.android.volley.Response.success(v2, com.android.volley.toolbox.HttpHeaderParser.parseBitmapCacheHeaders(v2));
            } else {
                v9_18 = com.android.volley.Response.error(new com.android.volley.error.ParseError());
            }
        } else {
            Object[] v12_1 = new Object[1];
            v12_1[0] = v3_0.getAbsolutePath();
            v9_18 = com.android.volley.Response.error(new com.android.volley.error.ParseError(new java.io.FileNotFoundException(String.format("File not found: %s", v12_1))));
        }
        return v9_18;
    }

Method com.android.volley.request.ImageRequest.doFileParse() calling method java.io.File.<init>()


    private com.android.volley.Response doFileParse()
    {
        com.android.volley.Response v9_0;
        String v7 = this.getUrl();
        java.io.File v3_0 = new java.io.File(v7.substring(7, v7.length()));
        if ((v3_0.exists()) && (v3_0.isFile())) {
            android.graphics.Bitmap v2;
            android.graphics.BitmapFactory$Options v4_1 = new android.graphics.BitmapFactory$Options();
            v4_1.inInputShareable = 1;
            v4_1.inPurgeable = 1;
            v4_1.inPreferredConfig = this.mDecodeConfig;
            if ((this.mMaxWidth != 0) || (this.mMaxHeight != 0)) {
                v4_1.inJustDecodeBounds = 1;
                android.graphics.BitmapFactory.decodeFile(v3_0.getAbsolutePath(), v4_1);
                int v1 = v4_1.outWidth;
                int v0 = v4_1.outHeight;
                int v6 = com.android.volley.request.ImageRequest.getResizedDimension(this.mMaxWidth, this.mMaxHeight, v1, v0, this.mScaleType);
                int v5 = com.android.volley.request.ImageRequest.getResizedDimension(this.mMaxHeight, this.mMaxWidth, v0, v1, this.mScaleType);
                v4_1.inJustDecodeBounds = 0;
                v4_1.inSampleSize = com.android.volley.misc.ImageUtils.findBestSampleSize(v1, v0, v6, v5);
                android.graphics.Bitmap v8 = android.graphics.BitmapFactory.decodeFile(v3_0.getAbsolutePath(), v4_1);
                Object[] v10_2 = new Object[1];
                v10_2[0] = Integer.valueOf(v4_1.inSampleSize);
                this.addMarker(String.format("read-from-file-scaled-times-%d", v10_2));
                if ((v8 == null) || ((v8.getWidth() <= v6) && (v8.getHeight() <= v5))) {
                    v2 = v8;
                } else {
                    v2 = android.graphics.Bitmap.createScaledBitmap(v8, v6, v5, 1);
                    v8.recycle();
                    this.addMarker("scaling-read-from-file-bitmap");
                }
            } else {
                v2 = android.graphics.BitmapFactory.decodeFile(v3_0.getAbsolutePath(), v4_1);
                this.addMarker("read-full-size-image-from-file");
            }
            if (v2 != null) {
                v9_0 = com.android.volley.Response.success(v2, com.android.volley.toolbox.HttpHeaderParser.parseBitmapCacheHeaders(v2));
            } else {
                v9_0 = com.android.volley.Response.error(new com.android.volley.error.ParseError());
            }
        } else {
            Object[] v12_1 = new Object[1];
            v12_1[0] = v3_0.getAbsolutePath();
            v9_0 = com.android.volley.Response.error(new com.android.volley.error.ParseError(new java.io.FileNotFoundException(String.format("File not found: %s", v12_1))));
        }
        return v9_0;
    }

Method com.android.volley.misc.Utils.getDiskCacheDir() calling method java.io.File.<init>()


    public static java.io.File getDiskCacheDir(android.content.Context p4, String p5)
    {
        if ((!com.android.volley.misc.Utils.isExternalMounted()) || (com.android.volley.misc.Utils.getExternalCacheDir(p4) == null)) {
            String v0 = p4.getCacheDir().getPath();
        } else {
            v0 = com.android.volley.misc.Utils.getExternalCacheDir(p4).getPath();
        }
        android.util.Log.i("Cache dir", new StringBuilder().append(v0).append(java.io.File.separator).append(p5).toString());
        return new java.io.File(new StringBuilder().append(v0).append(java.io.File.separator).append(p5).toString());
    }

Method com.android.volley.misc.MultipartUtils.getContentLengthForMultipartRequest() calling method java.io.File.<init>()


    public static int getContentLengthForMultipartRequest(String p13, java.util.Map p14, java.util.Map p15)
    {
        int v0 = p13.getBytes().length;
        int v1_0 = 0;
        java.util.Iterator v3_1 = p14.keySet().iterator();
        while (v3_1.hasNext()) {
            String v4_3 = ((String) v3_1.next());
            com.android.volley.request.MultiPartRequest$MultiPartParam v5_1 = ((com.android.volley.request.MultiPartRequest$MultiPartParam) p14.get(v4_3));
            int v7_36 = (((com.android.volley.misc.MultipartUtils.CRLF_LENGTH + v0) + com.android.volley.misc.MultipartUtils.HEADER_CONTENT_DISPOSITION_LENGTH) + com.android.volley.misc.MultipartUtils.COLON_SPACE_LENGTH);
            Object[] v9_2 = new Object[1];
            v9_2[0] = v4_3;
            v1_0 += (((((((((v7_36 + String.format("form-data; name=\"%s\"", v9_2).getBytes().length) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH) + com.android.volley.misc.MultipartUtils.HEADER_CONTENT_TYPE_LENGTH) + com.android.volley.misc.MultipartUtils.COLON_SPACE_LENGTH) + v5_1.contentType.getBytes().length) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH) + v5_1.value.getBytes().length) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH);
        }
        java.util.Iterator v3_0 = p15.keySet().iterator();
        while (v3_0.hasNext()) {
            String v4_1 = ((String) v3_0.next());
            java.io.File v2_1 = new java.io.File(((String) p15.get(v4_1)));
            int v7_19 = (((com.android.volley.misc.MultipartUtils.CRLF_LENGTH + v0) + com.android.volley.misc.MultipartUtils.HEADER_CONTENT_DISPOSITION_LENGTH) + com.android.volley.misc.MultipartUtils.COLON_SPACE_LENGTH);
            Object[] v9_1 = new Object[2];
            v9_1[0] = v4_1;
            v9_1[1] = v2_1.getName();
            v1_0 += (((((((((((((v7_19 + String.format("form-data; name=\"%s\"; filename=\"%s\"", v9_1).getBytes().length) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH) + com.android.volley.misc.MultipartUtils.HEADER_CONTENT_TYPE_LENGTH) + com.android.volley.misc.MultipartUtils.COLON_SPACE_LENGTH) + com.android.volley.misc.MultipartUtils.CONTENT_TYPE_OCTET_STREAM_LENGTH) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH) + com.android.volley.misc.MultipartUtils.HEADER_CONTENT_TRANSFER_ENCODING_LENGTH) + com.android.volley.misc.MultipartUtils.COLON_SPACE_LENGTH) + com.android.volley.misc.MultipartUtils.BINARY_LENGTH) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH) + ((int) v2_1.length())) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH);
        }
        return (v1_0 + ((com.android.volley.misc.MultipartUtils.BOUNDARY_PREFIX_LENGTH + v0) + com.android.volley.misc.MultipartUtils.CRLF_LENGTH));
    }

Method com.android.volley.misc.DiskLruCache.open() calling method java.io.File.<init>()


    public static com.android.volley.misc.DiskLruCache open(java.io.File p11, int p12, int p13, long p14)
    {
        if (p14 > 0) {
            if (p13 > 0) {
                java.io.File v6_1 = new java.io.File(p11, "journal.bkp");
                if (v6_1.exists()) {
                    java.io.File v8_1 = new java.io.File(p11, "journal");
                    if (!v8_1.exists()) {
                        com.android.volley.misc.DiskLruCache.renameTo(v6_1, v8_1, 0);
                    } else {
                        v6_1.delete();
                    }
                }
                void v7;
                void v0_1 = new com.android.volley.misc.DiskLruCache(p11, p12, p13, p14);
                if (!v0_1.journalFile.exists()) {
                    p11.mkdirs();
                    v7 = new com.android.volley.misc.DiskLruCache(p11, p12, p13, p14).rebuildJournal();
                } else {
                    try {
                        void v0_3 = v0_1.readJournal().processJournal();
                        v0_3.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_3.journalFile, 1), com.android.volley.misc.Utils.US_ASCII));
                        v7 = v0_3;
                    } catch (java.io.IOException v9) {
                        System.out.println(new StringBuilder().append("DiskLruCache ").append(p11).append(" is corrupt: ").append(v9.getMessage()).append(", removing").toString());
                        v0_3.delete();
                    }
                }
                return v7;
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

Method com.android.volley.misc.DiskLruCache.<init>() calling method java.io.File.<init>()


    private DiskLruCache(java.io.File p9, int p10, int p11, long p12)
    {
        this.size = 0;
        this.lruEntries = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.nextSequenceNumber = 0;
        this.executorService = new java.util.concurrent.ThreadPoolExecutor(0, 1, 60, java.util.concurrent.TimeUnit.SECONDS, new java.util.concurrent.LinkedBlockingQueue());
        this.cleanupCallable = new com.android.volley.misc.DiskLruCache$1(this);
        this.directory = p9;
        this.appVersion = p10;
        this.journalFile = new java.io.File(p9, "journal");
        this.journalFileTmp = new java.io.File(p9, "journal.tmp");
        this.journalFileBackup = new java.io.File(p9, "journal.bkp");
        this.valueCount = p11;
        this.maxSize = p12;
        return;
    }

Method com.android.volley.misc.DiskLruCache$Entry.getDirtyFile() calling method java.io.File.<init>()


    public java.io.File getDirtyFile(int p5)
    {
        return new java.io.File(com.android.volley.misc.DiskLruCache.access$1900(this.this$0), new StringBuilder().append(this.key).append(".").append(p5).append(".tmp").toString());
    }

Method com.android.volley.misc.DiskLruCache$Entry.getCleanFile() calling method java.io.File.<init>()


    public java.io.File getCleanFile(int p5)
    {
        return new java.io.File(com.android.volley.misc.DiskLruCache.access$1900(this.this$0), new StringBuilder().append(this.key).append(".").append(p5).toString());
    }

Method com.android.volley.cache.plus.ImageRequest.doVideoFileParse() calling method java.io.File.<init>()


    private com.android.volley.Response doVideoFileParse()
    {
        com.android.volley.Response v11_3;
        String v9 = this.getUrl();
        java.io.File v4_1 = new java.io.File(v9.substring(8, v9.length()));
        if ((v4_1.exists()) && (v4_1.isFile())) {
            android.graphics.Bitmap v3;
            android.graphics.BitmapFactory$Options v5_1 = new android.graphics.BitmapFactory$Options();
            v5_1.inInputShareable = 1;
            v5_1.inPurgeable = 1;
            v5_1.inPreferredConfig = this.mDecodeConfig;
            if ((this.mMaxWidth != 0) || (this.mMaxHeight != 0)) {
                v5_1.inJustDecodeBounds = 1;
                int v2 = v5_1.outWidth;
                int v1 = v5_1.outHeight;
                int v7 = com.android.volley.cache.plus.ImageRequest.getResizedDimension(this.mMaxWidth, this.mMaxHeight, v2, v1);
                int v6 = com.android.volley.cache.plus.ImageRequest.getResizedDimension(this.mMaxHeight, this.mMaxWidth, v1, v2);
                v5_1.inJustDecodeBounds = 0;
                v5_1.inSampleSize = com.android.volley.misc.ImageUtils.findBestSampleSize(v2, v1, v7, v6);
                android.graphics.Bitmap v10 = this.getVideoFrame(v4_1.getAbsolutePath());
                Object[] v12_6 = new Object[1];
                v12_6[0] = Integer.valueOf(v5_1.inSampleSize);
                this.addMarker(String.format("read-from-file-scaled-times-%d", v12_6));
                if ((v10 == null) || ((v10.getWidth() <= v7) && (v10.getHeight() <= v6))) {
                    v3 = v10;
                } else {
                    v3 = android.graphics.Bitmap.createScaledBitmap(v10, v7, v6, 1);
                    v10.recycle();
                    this.addMarker("scaling-read-from-file-bitmap");
                }
            } else {
                v3 = this.getVideoFrame(v4_1.getAbsolutePath());
                this.addMarker("read-full-size-image-from-file");
            }
            if (v3 != null) {
                com.android.volley.ui.RecyclingBitmapDrawable v8_1;
                if (!com.android.volley.misc.Utils.hasHoneycomb()) {
                    v8_1 = new com.android.volley.ui.RecyclingBitmapDrawable(this.mResources, v3);
                } else {
                    v8_1 = new android.graphics.drawable.BitmapDrawable(this.mResources, v3);
                }
                v11_3 = com.android.volley.Response.success(v8_1, com.android.volley.toolbox.HttpHeaderParser.parseBitmapCacheHeaders(v3));
            } else {
                v11_3 = com.android.volley.Response.error(new com.android.volley.error.ParseError());
            }
        } else {
            Integer v14_1 = new Object[1];
            v14_1[0] = v4_1.getAbsolutePath();
            v11_3 = com.android.volley.Response.error(new com.android.volley.error.ParseError(new java.io.FileNotFoundException(String.format("File not found: %s", v14_1))));
        }
        return v11_3;
    }

Method com.android.volley.cache.plus.ImageRequest.doFileParse() calling method java.io.File.<init>()


    private com.android.volley.Response doFileParse()
    {
        com.android.volley.Response v11_3;
        String v9 = this.getUrl();
        java.io.File v4_1 = new java.io.File(v9.substring(7, v9.length()));
        if ((v4_1.exists()) && (v4_1.isFile())) {
            android.graphics.Bitmap v3;
            android.graphics.BitmapFactory$Options v5_1 = new android.graphics.BitmapFactory$Options();
            v5_1.inInputShareable = 1;
            v5_1.inPurgeable = 1;
            v5_1.inPreferredConfig = this.mDecodeConfig;
            if ((this.mMaxWidth != 0) || (this.mMaxHeight != 0)) {
                v5_1.inJustDecodeBounds = 1;
                android.graphics.BitmapFactory.decodeFile(v4_1.getAbsolutePath(), v5_1);
                int v2 = v5_1.outWidth;
                int v1 = v5_1.outHeight;
                int v7 = com.android.volley.cache.plus.ImageRequest.getResizedDimension(this.mMaxWidth, this.mMaxHeight, v2, v1);
                int v6 = com.android.volley.cache.plus.ImageRequest.getResizedDimension(this.mMaxHeight, this.mMaxWidth, v1, v2);
                v5_1.inJustDecodeBounds = 0;
                v5_1.inSampleSize = com.android.volley.misc.ImageUtils.findBestSampleSize(v2, v1, v7, v6);
                android.graphics.Bitmap v10 = android.graphics.BitmapFactory.decodeFile(v4_1.getAbsolutePath(), v5_1);
                Object[] v12_6 = new Object[1];
                v12_6[0] = Integer.valueOf(v5_1.inSampleSize);
                this.addMarker(String.format("read-from-file-scaled-times-%d", v12_6));
                if ((v10 == null) || ((v10.getWidth() <= v7) && (v10.getHeight() <= v6))) {
                    v3 = v10;
                } else {
                    v3 = android.graphics.Bitmap.createScaledBitmap(v10, v7, v6, 1);
                    v10.recycle();
                    this.addMarker("scaling-read-from-file-bitmap");
                }
            } else {
                v3 = android.graphics.BitmapFactory.decodeFile(v4_1.getAbsolutePath(), v5_1);
                this.addMarker("read-full-size-image-from-file");
            }
            if (v3 != null) {
                com.android.volley.ui.RecyclingBitmapDrawable v8_0;
                if (!com.android.volley.misc.Utils.hasHoneycomb()) {
                    v8_0 = new com.android.volley.ui.RecyclingBitmapDrawable(this.mResources, v3);
                } else {
                    v8_0 = new android.graphics.drawable.BitmapDrawable(this.mResources, v3);
                }
                v11_3 = com.android.volley.Response.success(v8_0, com.android.volley.toolbox.HttpHeaderParser.parseBitmapCacheHeaders(v3));
            } else {
                v11_3 = com.android.volley.Response.error(new com.android.volley.error.ParseError());
            }
        } else {
            Integer v14_1 = new Object[1];
            v14_1[0] = v4_1.getAbsolutePath();
            v11_3 = com.android.volley.Response.error(new com.android.volley.error.ParseError(new java.io.FileNotFoundException(String.format("File not found: %s", v14_1))));
        }
        return v11_3;
    }

Method com.android.volley.cache.DiskLruImageCache.getDiskCacheDir() calling method java.io.File.<init>()


    private java.io.File getDiskCacheDir(android.content.Context p5, String p6)
    {
        return new java.io.File(new StringBuilder().append(p5.getCacheDir().getPath()).append(java.io.File.separator).append(p6).toString());
    }

Method com.android.volley.cache.DiskLruBasedCache.getFileForKey() calling method java.io.File.<init>()


    public java.io.File getFileForKey(String p5)
    {
        return new java.io.File(this.mCacheParams.diskCacheDir, new StringBuilder().append(p5).append(".0").toString());
    }

Method com.android.volley.cache.DiskBasedCache.getFileForKey() calling method java.io.File.<init>()


    public java.io.File getFileForKey(String p4)
    {
        return new java.io.File(this.mRootDirectory, this.getFilenameForKey(p4));
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


    private static java.util.List performExtractions(java.io.File p14, java.io.File p15)
    {
        String v4 = new StringBuilder().append(p14.getName()).append(".classes").toString();
        android.support.multidex.MultiDexExtractor.prepareDexDir(p15, v4);
        java.util.ArrayList v6_1 = new java.util.ArrayList();
        java.util.zip.ZipFile v0_1 = new java.util.zip.ZipFile(p14);
        int v9 = 2;
        try {
            java.util.zip.ZipEntry v1 = v0_1.getEntry(new StringBuilder().append("classes").append(2).append(".dex").toString());
        } catch (String v10_13) {
            try {
                v0_1.close();
            } catch (java.io.IOException v2_0) {
                android.util.Log.w("MultiDex", "Failed to close resource", v2_0);
            }
            throw v10_13;
        }
        while (v1 != null) {
            java.io.File v3_1 = new java.io.File(p15, new StringBuilder().append(v4).append(v9).append(".zip").toString());
            v6_1.add(v3_1);
            android.util.Log.i("MultiDex", new StringBuilder().append("Extraction is needed for file ").append(v3_1).toString());
            int v8 = 0;
            boolean v7 = 0;
            while ((v8 < 3) && (!v7)) {
                String v10_5;
                v8++;
                android.support.multidex.MultiDexExtractor.extract(v0_1, v1, v3_1, v4);
                v7 = android.support.multidex.MultiDexExtractor.verifyZipFile(v3_1);
                StringBuilder vtmp22 = new StringBuilder().append("Extraction ");
                if (!v7) {
                    v10_5 = "failed";
                } else {
                    v10_5 = "success";
                }
                android.util.Log.i("MultiDex", vtmp22.append(v10_5).append(" - length ").append(v3_1.getAbsolutePath()).append(": ").append(v3_1.length()).toString());
                if (!v7) {
                    v3_1.delete();
                    if (v3_1.exists()) {
                        android.util.Log.w("MultiDex", new StringBuilder().append("Failed to delete corrupted secondary dex \'").append(v3_1.getPath()).append("\'").toString());
                    }
                }
            }
            if (v7) {
                v9++;
                v1 = v0_1.getEntry(new StringBuilder().append("classes").append(v9).append(".dex").toString());
            } else {
                throw new java.io.IOException(new StringBuilder().append("Could not create zip file ").append(v3_1.getAbsolutePath()).append(" for secondary dex (").append(v9).append(")").toString());
            }
        }
        try {
            v0_1.close();
        } catch (java.io.IOException v2_1) {
            android.util.Log.w("MultiDex", "Failed to close resource", v2_1);
        }
        return v6_1;
    }

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


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

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


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

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


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

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


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

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


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

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


    boolean zzGg()
    {
        this.zzkN();
        try {
            int v0_12;
            this.zzbeT = new java.io.RandomAccessFile(new java.io.File(this.getContext().getFilesDir(), this.zzbeG.zzmv()), "rw").getChannel();
            this.zzbeS = this.zzbeT.tryLock();
        } catch (int v0_14) {
            this.zzFm().zzFE().zzj("Failed to acquire storage lock", v0_14);
            v0_12 = 0;
            return v0_12;
        } catch (int v0_13) {
            this.zzFm().zzFE().zzj("Failed to access storage lock file", v0_13);
        }
        if (this.zzbeS == null) {
            this.zzFm().zzFE().log("Storage concurrent data access panic");
        } else {
            this.zzFm().zzFL().log("Storage concurrent access okay");
            v0_12 = 1;
            return v0_12;
        }
    }

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


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

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


    public void run()
    {
        String v2_1 = new com.google.android.gms.internal.zzaji$zze();
        if (this.zzbTt != null) {
            v2_1.zzbTK = this.zza(this.zzbTt);
        }
        if (this.zzbTu != null) {
            v2_1.zzbTL = this.zza(this.zzbTu);
        }
        if (this.zzbTv != null) {
            v2_1.zzbTM = this.zza(this.zzbTv);
        }
        if (this.zzbTm != null) {
            int v0_8 = new com.google.android.gms.internal.zzaji$zzc();
            v0_8.zzbTG = this.zzbTm.getLastFetchStatus();
            v0_8.zzbTH = this.zzbTm.isDeveloperModeEnabled();
            v2_1.zzbTN = v0_8;
        }
        if ((this.zzbTm != null) && (this.zzbTm.zzUE() != null)) {
            int v3_1 = new java.util.ArrayList();
            java.util.Map v4 = this.zzbTm.zzUE();
            java.util.Iterator v5 = v4.keySet().iterator();
            while (v5.hasNext()) {
                int v0_24 = ((String) v5.next());
                if (v4.get(v0_24) != null) {
                    com.google.android.gms.internal.zzaji$zzf v6_1 = new com.google.android.gms.internal.zzaji$zzf();
                    v6_1.zzasB = v0_24;
                    v6_1.zzbTQ = ((com.google.android.gms.internal.zzajc) v4.get(v0_24)).zzUA();
                    v6_1.resourceId = ((com.google.android.gms.internal.zzajc) v4.get(v0_24)).zzUz();
                    v3_1.add(v6_1);
                }
            }
            int v0_17 = new com.google.android.gms.internal.zzaji$zzf[v3_1.size()];
            v2_1.zzbTO = ((com.google.android.gms.internal.zzaji$zzf[]) v3_1.toArray(v0_17));
        }
        int v0_20 = com.google.android.gms.internal.zzamj.toByteArray(v2_1);
        try {
            com.google.android.gms.internal.zzajc v1_5 = this.mContext.openFileOutput("persisted_config", 0);
            v1_5.write(v0_20);
            v1_5.close();
        } catch (int v0_22) {
            android.util.Log.e("AsyncPersisterTask", "Could not persist config.", v0_22);
        }
        return;
    }

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


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

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


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

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


    private void write()
    {
        java.io.ObjectOutputStream v1 = 0;
        try {
            java.io.ObjectOutputStream v2_1 = new java.io.ObjectOutputStream(new java.io.BufferedOutputStream(this.context.openFileOutput("AppEventsLogger.persistedevents", 0)));
            try {
                v2_1.writeObject(this.persistedEvents);
                com.facebook.internal.Utility.closeQuietly(v2_1);
            } catch (Throwable v3_3) {
                v1 = v2_1;
                com.facebook.internal.Utility.closeQuietly(v1);
                throw v3_3;
            } catch (Exception v0) {
                v1 = v2_1;
                android.util.Log.d(com.facebook.appevents.AppEventsLogger.access$1300(), new StringBuilder().append("Got unexpected exception: ").append(v0.toString()).toString());
                com.facebook.internal.Utility.closeQuietly(v1);
            }
            return;
        } catch (Throwable v3_3) {
        } catch (Exception v0) {
        }
    }

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


    static void saveAppSessionInformation(android.content.Context p7)
    {
        java.io.ObjectOutputStream v1 = 0;
        if (!com.facebook.appevents.AppEventsLogger$PersistedAppSessionInfo.hasChanges) {
            return;
        } else {
            try {
                java.io.ObjectOutputStream v2_0 = new java.io.ObjectOutputStream(new java.io.BufferedOutputStream(p7.openFileOutput("AppEventsLogger.persistedsessioninfo", 0)));
                try {
                    v2_0.writeObject(com.facebook.appevents.AppEventsLogger$PersistedAppSessionInfo.appSessionInfoMap);
                    com.facebook.appevents.AppEventsLogger$PersistedAppSessionInfo.hasChanges = 0;
                    com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.APP_EVENTS, "AppEvents", "App session info saved");
                    try {
                        com.facebook.internal.Utility.closeQuietly(v2_0);
                    } catch (Throwable v3_7) {
                    }
                    return;
                } catch (Throwable v3_6) {
                    v1 = v2_0;
                    com.facebook.internal.Utility.closeQuietly(v1);
                    throw v3_6;
                } catch (Exception v0) {
                    v1 = v2_0;
                    android.util.Log.d(com.facebook.appevents.AppEventsLogger.access$1300(), new StringBuilder().append("Got unexpected exception: ").append(v0.toString()).toString());
                    com.facebook.internal.Utility.closeQuietly(v1);
                    return;
                }
            } catch (Throwable v3_6) {
            } catch (Exception v0) {
            }
        }
        throw v3_7;
    }

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


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