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 okio.Okio.sink() calling method java.io.FileOutputStream.<init>()


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

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


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

Method com.squareup.okhttp.internal.DiskLruCache.rebuildJournal() calling method java.io.FileOutputStream.<init>()


    private declared_synchronized void rebuildJournal()
    {
        try {
            if (this.journalWriter != null) {
                this.journalWriter.close();
            }
        } catch (okio.BufferedSink v3_37) {
            throw v3_37;
        }
        okio.BufferedSink v2 = okio.Okio.buffer(okio.Okio.sink(new java.io.FileOutputStream(this.journalFileTmp)));
        try {
            v2.writeUtf8("libcore.io.DiskLruCache").writeByte(10);
            v2.writeUtf8("1").writeByte(10);
            v2.writeUtf8(Integer.toString(this.appVersion)).writeByte(10);
            v2.writeUtf8(Integer.toString(this.valueCount)).writeByte(10);
            v2.writeByte(10);
            java.util.Iterator v1 = this.lruEntries.values().iterator();
        } catch (okio.BufferedSink v3_36) {
            v2.close();
            throw v3_36;
        }
        while (v1.hasNext()) {
            com.squareup.okhttp.internal.DiskLruCache$Entry v0_1 = ((com.squareup.okhttp.internal.DiskLruCache$Entry) v1.next());
            if (com.squareup.okhttp.internal.DiskLruCache$Entry.access$700(v0_1) == null) {
                v2.writeUtf8("CLEAN").writeByte(32);
                v2.writeUtf8(com.squareup.okhttp.internal.DiskLruCache$Entry.access$1100(v0_1));
                v2.writeUtf8(v0_1.getLengths());
                v2.writeByte(10);
            } else {
                v2.writeUtf8("DIRTY").writeByte(32);
                v2.writeUtf8(com.squareup.okhttp.internal.DiskLruCache$Entry.access$1100(v0_1));
                v2.writeByte(10);
            }
        }
        v2.close();
        if (this.journalFile.exists()) {
            com.squareup.okhttp.internal.DiskLruCache.renameTo(this.journalFile, this.journalFileBackup, 1);
        }
        com.squareup.okhttp.internal.DiskLruCache.renameTo(this.journalFileTmp, this.journalFile, 0);
        this.journalFileBackup.delete();
        this.journalWriter = okio.Okio.buffer(okio.Okio.sink(new java.io.FileOutputStream(this.journalFile, 1)));
        return;
    }

Method com.squareup.okhttp.internal.DiskLruCache.open() calling method java.io.FileOutputStream.<init>()


    public static com.squareup.okhttp.internal.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.squareup.okhttp.internal.DiskLruCache.renameTo(v6_1, v8_1, 0);
                    } else {
                        v6_1.delete();
                    }
                }
                void v7;
                void v0_1 = new com.squareup.okhttp.internal.DiskLruCache(p11, p12, p13, p14);
                if (!v0_1.journalFile.exists()) {
                    p11.mkdirs();
                    v7 = new com.squareup.okhttp.internal.DiskLruCache(p11, p12, p13, p14).rebuildJournal();
                } else {
                    try {
                        void v0_3 = v0_1.readJournal().processJournal();
                        v0_3.journalWriter = okio.Okio.buffer(okio.Okio.sink(new java.io.FileOutputStream(v0_3.journalFile, 1)));
                        v7 = v0_3;
                    } catch (java.io.IOException v9) {
                        com.squareup.okhttp.internal.Platform.get().logW(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.squareup.okhttp.internal.DiskLruCache$Editor.newOutputStream() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream newOutputStream(int p8)
    {
        try {
            if (com.squareup.okhttp.internal.DiskLruCache$Entry.access$700(this.entry) == this) {
                if (!com.squareup.okhttp.internal.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.squareup.okhttp.internal.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.kbeanie.imagechooser.threads.VideoProcessorThread.createThumbnailOfVideo() calling method java.io.FileOutputStream.<init>()


    private String createThumbnailOfVideo()
    {
        String v5 = 0;
        android.graphics.Bitmap v0 = android.media.ThumbnailUtils.createVideoThumbnail(this.filePath, 1);
        if (v0 != null) {
            v5 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(".jpg").toString();
            java.io.FileOutputStream v3 = 0;
            try {
                java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(new java.io.File(v5));
                try {
                    v0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v4_1);
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v4_1);
                } catch (Throwable v6_8) {
                    v3 = v4_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v3);
                    throw v6_8;
                } catch (java.io.IOException v1) {
                    v3 = v4_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v1);
                }
            } catch (Throwable v6_8) {
            } catch (java.io.IOException v1) {
            }
        }
        return v5;
    }

Method com.kbeanie.imagechooser.threads.VideoProcessorThread.createPreviewImage() calling method java.io.FileOutputStream.<init>()


    private String createPreviewImage(String p11)
    {
        String v3 = 0;
        android.graphics.Bitmap v0 = android.media.ThumbnailUtils.createVideoThumbnail(p11, 2);
        if (v0 != null) {
            v3 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(".jpg").toString();
            java.io.FileOutputStream v4 = 0;
            try {
                java.io.FileOutputStream v5_1 = new java.io.FileOutputStream(new java.io.File(v3));
                try {
                    v0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v5_1);
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v5_1);
                } catch (Throwable v6_8) {
                    v4 = v5_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v4);
                    throw v6_8;
                } catch (java.io.IOException v1) {
                    v4 = v5_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v1);
                }
            } catch (Throwable v6_8) {
            } catch (java.io.IOException v1) {
            }
        }
        return v3;
    }

Method com.kbeanie.imagechooser.threads.VideoProcessorThread.createPreviewImage() calling method java.io.FileOutputStream.<init>()


    private String createPreviewImage()
    {
        this.previewImage = 0;
        android.graphics.Bitmap v0 = android.media.ThumbnailUtils.createVideoThumbnail(this.filePath, 2);
        if (v0 != null) {
            this.previewImage = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(".jpg").toString();
            java.io.FileOutputStream v3 = 0;
            try {
                java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(new java.io.File(this.previewImage));
                try {
                    v0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v4_1);
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v4_1);
                } catch (Throwable v5_11) {
                    v3 = v4_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v3);
                    throw v5_11;
                } catch (java.io.IOException v1) {
                    v3 = v4_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v1);
                }
            } catch (Throwable v5_11) {
            } catch (java.io.IOException v1) {
            }
        }
        return this.previewImage;
    }

Method com.kbeanie.imagechooser.threads.FileProcessorThread.processFileDetails() calling method java.io.FileOutputStream.<init>()


    protected void processFileDetails(String p13)
    {
        if (!this.filePath.startsWith("content:")) {
            if (this.filePath.startsWith("file:")) {
                this.filePath = this.filePath.substring(7);
            }
        } else {
            java.io.BufferedOutputStream v5 = 0;
            try {
                java.io.InputStream v3 = this.context.getContentResolver().openInputStream(android.net.Uri.parse(this.filePath));
                com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(this.filePath, v3);
            } catch (long v8_4) {
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v3);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v5);
                throw v8_4;
            } catch (java.io.IOException v1) {
                throw new com.kbeanie.imagechooser.exceptions.ChooserException(v1);
            }
            if (this.fileDisplayName == null) {
                this.fileDisplayName = new StringBuilder().append("").append(java.util.Calendar.getInstance().getTimeInMillis()).append(this.mediaExtension).toString();
            }
            if ((!this.fileDisplayName.contains(".")) && ((this.mediaExtension != null) && (this.mediaExtension.length() > 0))) {
                this.fileDisplayName = new StringBuilder().append(this.fileDisplayName).append(this.mediaExtension).toString();
            }
            this.filePath = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(this.fileDisplayName).toString();
            java.io.BufferedOutputStream v6_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(this.filePath));
            try {
                byte[] v0 = new byte[2048];
            } catch (long v8_4) {
                v5 = v6_1;
            } catch (java.io.IOException v1) {
                v5 = v6_1;
            }
            while(true) {
                int v4 = v3.read(v0);
                if (v4 <= 0) {
                    break;
                }
                v6_1.write(v0, 0, v4);
            }
            this.fileSize = new java.io.File(this.filePath).length();
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v3);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v6_1);
        }
        return;
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processPicasaMediaNewVideo() calling method java.io.FileOutputStream.<init>()


    protected com.kbeanie.imagechooser.api.ChosenVideo processPicasaMediaNewVideo(String p17, String p18)
    {
        java.io.BufferedOutputStream v9 = 0;
        java.io.BufferedInputStream v2 = 0;
        try {
            java.io.BufferedInputStream v3_1 = new java.io.BufferedInputStream(this.context.getContentResolver().openInputStream(android.net.Uri.parse(p17)));
            try {
                com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p17, v3_1);
                String v8 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p18).toString();
                java.io.BufferedOutputStream v10_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v8));
                try {
                    byte[] v4 = new byte[2048];
                } catch (int v12_10) {
                    v2 = v3_1;
                    v9 = v10_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v2);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v9);
                    throw v12_10;
                } catch (java.io.IOException v5) {
                    v2 = v3_1;
                    v9 = v10_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v5);
                }
                while(true) {
                    int v7 = v3_1.read(v4);
                    if (v7 <= 0) {
                        break;
                    }
                    v10_1.write(v4, 0, v7);
                }
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v10_1);
                com.kbeanie.imagechooser.api.ChosenVideo v11 = this.processVideo(v8);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v3_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v10_1);
                return v11;
            } catch (int v12_10) {
                v2 = v3_1;
            } catch (java.io.IOException v5) {
                v2 = v3_1;
            }
        } catch (int v12_10) {
        } catch (java.io.IOException v5) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processPicasaMediaNew() calling method java.io.FileOutputStream.<init>()


    protected com.kbeanie.imagechooser.api.ChosenImage processPicasaMediaNew(String p17, String p18)
    {
        java.io.BufferedOutputStream v10 = 0;
        java.io.BufferedInputStream v2 = 0;
        try {
            java.io.BufferedInputStream v3_1 = new java.io.BufferedInputStream(this.context.getContentResolver().openInputStream(android.net.Uri.parse(p17)));
            try {
                com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p17, v3_1);
                java.io.BufferedOutputStream v11_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p18).toString()));
                try {
                    byte[] v4 = new byte[2048];
                } catch (int v12_10) {
                    v2 = v3_1;
                    v10 = v11_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v2);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v10);
                    throw v12_10;
                } catch (java.io.IOException v5) {
                    v2 = v3_1;
                    v10 = v11_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v5);
                }
                while(true) {
                    int v8 = v3_1.read(v4);
                    if (v8 <= 0) {
                        break;
                    }
                    v11_1.write(v4, 0, v8);
                }
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v11_1);
                com.kbeanie.imagechooser.api.ChosenImage v6 = this.processImage(p17);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v3_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v11_1);
                return v6;
            } catch (int v12_10) {
                v2 = v3_1;
            } catch (java.io.IOException v5) {
                v2 = v3_1;
            }
        } catch (int v12_10) {
        } catch (java.io.IOException v5) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processPicasaMedia() calling method java.io.FileOutputStream.<init>()


    protected void processPicasaMedia(String p13, String p14)
    {
        java.io.BufferedOutputStream v6 = 0;
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.BufferedInputStream v1_0 = new java.io.BufferedInputStream(this.context.getContentResolver().openInputStream(android.net.Uri.parse(p13)));
            try {
                com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p13, v1_0);
                this.filePath = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p14).toString();
                java.io.BufferedOutputStream v7_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(this.filePath));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v8_12) {
                    v0 = v1_0;
                    v6 = v7_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v0);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v6);
                    throw v8_12;
                } catch (java.io.IOException v3) {
                    v0 = v1_0;
                    v6 = v7_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v3);
                }
                while(true) {
                    int v5 = v1_0.read(v2);
                    if (v5 <= 0) {
                        break;
                    }
                    v7_1.write(v2, 0, v5);
                }
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v7_1);
                this.process();
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v1_0);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v7_1);
                return;
            } catch (int v8_12) {
                v0 = v1_0;
            } catch (java.io.IOException v3) {
                v0 = v1_0;
            }
        } catch (int v8_12) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processGooglePhotosMediaNewVideo() calling method java.io.FileOutputStream.<init>()


    protected com.kbeanie.imagechooser.api.ChosenVideo processGooglePhotosMediaNewVideo(String p19, String p20)
    {
        String v13 = this.checkExtension(android.net.Uri.parse(p19));
        if ((v13 != null) && (!android.text.TextUtils.isEmpty(v13))) {
            p20 = new StringBuilder().append(".").append(v13).toString();
        }
        java.io.BufferedInputStream v5 = 0;
        java.io.BufferedOutputStream v9 = 0;
        try {
            String v8 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p20).toString();
            android.os.ParcelFileDescriptor v11 = this.context.getContentResolver().openFileDescriptor(android.net.Uri.parse(p19), "r");
            com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p19, v11);
            java.io.BufferedInputStream v6_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v11.getFileDescriptor()));
            try {
                java.io.BufferedInputStream v12_1 = new java.io.BufferedInputStream(v6_1);
                java.io.BufferedOutputStream v10_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v8));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v15_18) {
                    v9 = v10_1;
                    v5 = v6_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v9);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v9);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v5);
                    throw v15_18;
                } catch (java.io.IOException v3) {
                    v9 = v10_1;
                    v5 = v6_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v3);
                }
                while(true) {
                    int v7 = v12_1.read(v2);
                    if (v7 <= 0) {
                        break;
                    }
                    v10_1.write(v2, 0, v7);
                }
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v10_1);
                com.kbeanie.imagechooser.api.ChosenVideo v14 = this.processVideo(v8);
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v10_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v10_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v6_1);
                return v14;
            } catch (int v15_18) {
                v5 = v6_1;
            } catch (java.io.IOException v3) {
                v5 = v6_1;
            }
        } catch (int v15_18) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processGooglePhotosMediaNew() calling method java.io.FileOutputStream.<init>()


    protected com.kbeanie.imagechooser.api.ChosenImage processGooglePhotosMediaNew(String p19, String p20)
    {
        String v14 = this.checkExtension(android.net.Uri.parse(p19));
        if ((v14 != null) && (!android.text.TextUtils.isEmpty(v14))) {
            p20 = new StringBuilder().append(".").append(v14).toString();
        }
        java.io.BufferedInputStream v6 = 0;
        java.io.BufferedOutputStream v10 = 0;
        try {
            String v9 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p20).toString();
            android.os.ParcelFileDescriptor v12 = this.context.getContentResolver().openFileDescriptor(android.net.Uri.parse(p19), "r");
            com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p19, v12);
            java.io.BufferedInputStream v7_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v12.getFileDescriptor()));
            try {
                java.io.BufferedInputStream v13_1 = new java.io.BufferedInputStream(v7_1);
                java.io.BufferedOutputStream v11_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v9));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v15_18) {
                    v10 = v11_1;
                    v6 = v7_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v10);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v10);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v6);
                    throw v15_18;
                } catch (java.io.IOException v3) {
                    v10 = v11_1;
                    v6 = v7_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v3);
                }
                while(true) {
                    int v8 = v13_1.read(v2);
                    if (v8 <= 0) {
                        break;
                    }
                    v11_1.write(v2, 0, v8);
                }
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v11_1);
                com.kbeanie.imagechooser.api.ChosenImage v5 = this.processImage(v9);
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v11_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v11_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v7_1);
                return v5;
            } catch (int v15_18) {
                v6 = v7_1;
            } catch (java.io.IOException v3) {
                v6 = v7_1;
            }
        } catch (int v15_18) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processGooglePhotosMedia() calling method java.io.FileOutputStream.<init>()


    protected void processGooglePhotosMedia(String p17, String p18)
    {
        String v12 = this.checkExtension(android.net.Uri.parse(p17));
        if ((v12 != null) && (!android.text.TextUtils.isEmpty(v12))) {
            p18 = new StringBuilder().append(".").append(v12).toString();
        }
        java.io.BufferedInputStream v5 = 0;
        java.io.BufferedOutputStream v8 = 0;
        try {
            this.filePath = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p18).toString();
            android.os.ParcelFileDescriptor v10 = this.context.getContentResolver().openFileDescriptor(android.net.Uri.parse(p17), "r");
            com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p17, v10);
            java.io.BufferedInputStream v6_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v10.getFileDescriptor()));
            try {
                java.io.BufferedInputStream v11_1 = new java.io.BufferedInputStream(v6_1);
                java.io.BufferedOutputStream v9_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(this.filePath));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v13_19) {
                    v8 = v9_1;
                    v5 = v6_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v8);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v8);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v5);
                    throw v13_19;
                } catch (java.io.IOException v3) {
                    v8 = v9_1;
                    v5 = v6_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v3);
                }
                while(true) {
                    int v7 = v11_1.read(v2);
                    if (v7 <= 0) {
                        break;
                    }
                    v9_1.write(v2, 0, v7);
                }
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v9_1);
                this.process();
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v9_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v9_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v6_1);
                return;
            } catch (int v13_19) {
                v5 = v6_1;
            } catch (java.io.IOException v3) {
                v5 = v6_1;
            }
        } catch (int v13_19) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processContentProviderMediaNewVideo() calling method java.io.FileOutputStream.<init>()


    protected com.kbeanie.imagechooser.api.ChosenVideo processContentProviderMediaNewVideo(String p17, String p18)
    {
        this.checkExtension(android.net.Uri.parse(p17));
        java.io.InputStream v6 = 0;
        java.io.BufferedOutputStream v9 = 0;
        java.io.BufferedInputStream v2 = 0;
        try {
            java.io.BufferedInputStream v3_1 = new java.io.BufferedInputStream(this.context.getContentResolver().openInputStream(android.net.Uri.parse(p17)));
            try {
                com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p17, v3_1);
                java.io.BufferedOutputStream v10_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p18).toString()));
                try {
                    byte[] v4 = new byte[2048];
                } catch (int v12_11) {
                    v2 = v3_1;
                    v9 = v10_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v2);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v9);
                    throw v12_11;
                } catch (java.io.IOException v5) {
                    v2 = v3_1;
                    v9 = v10_1;
                    android.util.Log.e(com.kbeanie.imagechooser.threads.MediaProcessorThread.TAG, v5.getMessage(), v5);
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v5);
                }
                while(true) {
                    int v7 = v3_1.read(v4);
                    if (v7 <= 0) {
                        break;
                    }
                    v10_1.write(v4, 0, v7);
                }
                com.kbeanie.imagechooser.api.ChosenVideo v11 = this.processVideo(p17);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v3_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v10_1);
                return v11;
            } catch (int v12_11) {
                v2 = v3_1;
            } catch (java.io.IOException v5) {
                v2 = v3_1;
            }
        } catch (int v12_11) {
        } catch (java.io.IOException v5) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processContentProviderMedia() calling method java.io.FileOutputStream.<init>()


    protected void processContentProviderMedia(String p13, String p14)
    {
        this.checkExtension(android.net.Uri.parse(p13));
        java.io.BufferedOutputStream v6 = 0;
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(this.context.getContentResolver().openInputStream(android.net.Uri.parse(p13)));
            try {
                com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p13, v1_1);
                this.filePath = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p14).toString();
                java.io.BufferedOutputStream v7_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(this.filePath));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v8_11) {
                    v0 = v1_1;
                    v6 = v7_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v0);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v6);
                    throw v8_11;
                } catch (java.io.IOException v3) {
                    v0 = v1_1;
                    v6 = v7_1;
                    android.util.Log.e(com.kbeanie.imagechooser.threads.MediaProcessorThread.TAG, v3.getMessage(), v3);
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v3);
                }
                while(true) {
                    int v5 = v1_1.read(v2);
                    if (v5 <= 0) {
                        break;
                    }
                    v7_1.write(v2, 0, v5);
                }
                this.process();
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v1_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v7_1);
                return;
            } catch (int v8_11) {
                v0 = v1_1;
            } catch (java.io.IOException v3) {
                v0 = v1_1;
            }
        } catch (int v8_11) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.downloadFile() calling method java.io.FileOutputStream.<init>()


    protected String downloadFile(String p15)
    {
        try {
            java.io.BufferedInputStream v0_1 = new java.io.BufferedInputStream(new java.io.BufferedInputStream(((java.net.HttpURLConnection) new java.net.URL(p15).openConnection()).getInputStream()));
            String v6 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(".").append(this.mediaExtension).toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(new java.io.File(v6));
            byte[] v1 = new byte[1024];
        } catch (Exception v2_1) {
            v2_1.printStackTrace();
            return v6;
        } catch (Exception v2_0) {
            v2_0.printStackTrace();
            return v6;
        }
        while(true) {
            int v4 = v0_1.read(v1);
            if (v4 <= 0) {
                break;
            }
            v3_1.write(v1, 0, v4);
        }
        v3_1.flush();
        v3_1.close();
        v0_1.close();
        return v6;
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.copyFileToDir() calling method java.io.FileOutputStream.<init>()


    private void copyFileToDir()
    {
        java.io.BufferedOutputStream v7 = 0;
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(android.net.Uri.parse(this.filePath).getPath());
            java.io.File v3_0 = new java.io.File(new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(v5_1.getName()).toString());
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1));
            try {
                java.io.BufferedOutputStream v8_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_0));
                try {
                    byte[] v2 = new byte[2048];
                } catch (String v9_12) {
                    v0 = v1_1;
                    v7 = v8_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v7);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v0);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v7);
                    throw v9_12;
                } catch (java.io.IOException v4) {
                    v0 = v1_1;
                    v7 = v8_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v4);
                }
                while(true) {
                    int v6 = v1_1.read(v2);
                    if (v6 <= 0) {
                        break;
                    }
                    v8_1.write(v2, 0, v6);
                }
                this.filePath = v3_0.getAbsolutePath();
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v8_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v1_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v8_1);
                return;
            } catch (String v9_12) {
                v0 = v1_1;
            } catch (java.io.IOException v4) {
                v0 = v1_1;
            }
        } catch (String v9_12) {
        } catch (java.io.IOException v4) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.copyFileToDir() calling method java.io.FileOutputStream.<init>()


    private String copyFileToDir(String p12)
    {
        java.io.BufferedOutputStream v7 = 0;
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(android.net.Uri.parse(p12).getPath());
            java.io.File v3_0 = new java.io.File(new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(v5_1.getName()).toString());
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1));
            try {
                java.io.BufferedOutputStream v8_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_0));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v9_10) {
                    v0 = v1_1;
                    v7 = v8_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v7);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v0);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v7);
                    throw v9_10;
                } catch (java.io.IOException v4) {
                    v0 = v1_1;
                    v7 = v8_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v4);
                }
                while(true) {
                    int v6 = v1_1.read(v2);
                    if (v6 <= 0) {
                        break;
                    }
                    v8_1.write(v2, 0, v6);
                }
                String v12_1 = v3_0.getAbsolutePath();
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v8_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v1_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v8_1);
                return v12_1;
            } catch (int v9_10) {
                v0 = v1_1;
            } catch (java.io.IOException v4) {
                v0 = v1_1;
            }
        } catch (int v9_10) {
        } catch (java.io.IOException v4) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.compressAndSaveImage() calling method java.io.FileOutputStream.<init>()


    private String compressAndSaveImage(String p26, int p27)
    {
        java.io.FileOutputStream v21 = 0;
        try {
            android.graphics.BitmapFactory$Options v16_1 = new android.graphics.BitmapFactory$Options();
            v16_1.inJustDecodeBounds = 1;
            java.io.BufferedInputStream v9_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(p26));
            android.graphics.Bitmap v2_1 = android.graphics.BitmapFactory.decodeStream(v9_0, 0, v16_1);
        } catch (int v3_10) {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v21);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v21);
            throw v3_10;
        } catch (Exception v11) {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v21);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v21);
            return p26;
        } catch (Exception v11) {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v21);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v21);
            return p26;
        }
        if (v2_1 != null) {
            v2_1.recycle();
        }
        if (v9_0 != null) {
            v9_0.close();
        }
        int v23 = v16_1.outWidth;
        int v14 = v16_1.outHeight;
        int v19 = 0;
        switch (new android.media.ExifInterface(p26).getAttributeInt("Orientation", 1)) {
            case 3:
                v19 = 180;
            case 4:
            case 5:
            case 7:
            default:
                break;
            case 4:
            case 5:
            case 7:
                break;
            case 6:
                v19 = 90;
            case 4:
            case 5:
            case 7:
                break;
            case 8:
                v19 = -90;
                break;
        }
        int v24;
        if (v23 <= v14) {
            v24 = v14;
        } else {
            v24 = v23;
        }
        android.graphics.BitmapFactory$Options v15_1 = new android.graphics.BitmapFactory$Options();
        if (v24 <= 3000) {
            if ((v24 <= 2000) || (v24 > 3000)) {
                if ((v24 <= 1500) || (v24 > 2000)) {
                    if ((v24 <= 1000) || (v24 > 1500)) {
                        if ((v24 <= 400) || (v24 > 1000)) {
                            v15_1.inSampleSize = p27;
                        } else {
                            v15_1.inSampleSize = (p27 * 2);
                        }
                    } else {
                        v15_1.inSampleSize = (p27 * 3);
                    }
                } else {
                    v15_1.inSampleSize = (p27 * 4);
                }
            } else {
                v15_1.inSampleSize = (p27 * 5);
            }
        } else {
            v15_1.inSampleSize = (p27 * 6);
        }
        v15_1.inJustDecodeBounds = 0;
        java.io.BufferedInputStream v20 = new java.io.BufferedInputStream;
        v20(new java.io.FileInputStream(p26));
        android.graphics.Bitmap v2_0 = android.graphics.BitmapFactory.decodeStream(v20, 0, v15_1);
        v20.close();
        if (v2_0 != null) {
            java.io.File v18 = new java.io.File;
            v18(p26);
            java.io.File v13_1 = new java.io.File(new StringBuilder().append(v18.getParent()).append(java.io.File.separator).append(v18.getName().replace(".", new StringBuilder().append("_fact_").append(p27).append(".").toString())).toString());
            java.io.FileOutputStream v22 = new java.io.FileOutputStream;
            v22(v13_1);
            if (v19 != 0) {
                try {
                    android.graphics.Matrix v7_1 = new android.graphics.Matrix();
                    v7_1.setRotate(((float) v19));
                    v2_0 = android.graphics.Bitmap.createBitmap(v2_0, 0, 0, v2_0.getWidth(), v2_0.getHeight(), v7_1, 0);
                } catch (int v3_10) {
                    v21 = v22;
                } catch (Exception v11) {
                    v21 = v22;
                } catch (Exception v11) {
                    v21 = v22;
                }
            }
            v2_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v22);
            p26 = v13_1.getAbsolutePath();
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v22);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v22);
            return p26;
        } else {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            return p26;
        }
    }

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


    private final boolean zza(com.google.android.gms.internal.acf p11)
    {
        String v0_0;
        java.io.InputStream v4 = p11.getStream();
        if (v4 == null) {
            this.zzbMj = new IllegalStateException("Unable to open Firebase Storage stream.");
            v0_0 = 0;
        } else {
            java.io.FileOutputStream v3_2 = new java.io.File(this.zzcoh.getPath());
            if (!v3_2.exists()) {
                if (this.zzcok <= 0) {
                    if (!v3_2.createNewFile()) {
                        String v0_16;
                        String v0_14 = String.valueOf(v3_2.getAbsolutePath());
                        if (v0_14.length() == 0) {
                            v0_16 = new String("unable to create file:");
                        } else {
                            v0_16 = "unable to create file:".concat(v0_14);
                        }
                        android.util.Log.w("FileDownloadTask", v0_16);
                    }
                } else {
                    String v0_6;
                    String v0_3 = String.valueOf(v3_2.getAbsolutePath());
                    if (v0_3.length() == 0) {
                        v0_6 = new String("The file downloading to has been deleted:");
                    } else {
                        v0_6 = "The file downloading to has been deleted:".concat(v0_3);
                    }
                    android.util.Log.e("FileDownloadTask", v0_6);
                    throw new IllegalStateException("expected a file to resume from.");
                }
            }
            java.io.FileOutputStream v3_3;
            if (this.zzcok <= 0) {
                v3_3 = new java.io.FileOutputStream(v3_2);
            } else {
                byte[] v5_2 = String.valueOf(v3_2.getAbsolutePath());
                android.util.Log.d("FileDownloadTask", new StringBuilder((String.valueOf(v5_2).length() + 47)).append("Resuming download file ").append(v5_2).append(" at ").append(this.zzcok).toString());
                v3_3 = new java.io.FileOutputStream(v3_2, 1);
            }
            try {
                byte[] v5_7 = new byte[262144];
                v0_0 = 1;
            } catch (String v0_1) {
                v3_3.flush();
                v3_3.close();
                v4.close();
                throw v0_1;
            }
            while (v0_0 != null) {
                boolean v2_5 = this.zza(v4, v5_7);
                if (v2_5 == -1) {
                    break;
                }
                v3_3.write(v5_7, 0, v2_5);
                this.zzcoi = (this.zzcoi + ((long) v2_5));
                if (this.zzbMj != null) {
                    android.util.Log.d("FileDownloadTask", "Exception occurred during file download. Retrying.", this.zzbMj);
                    this.zzbMj = 0;
                    v0_0 = 0;
                }
                if (!this.zzj(4, 0)) {
                    v0_0 = 0;
                }
            }
            v3_3.flush();
            v3_3.close();
            v4.close();
        }
        return v0_0;
    }

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


    final boolean zzb(com.google.android.gms.internal.ee p5)
    {
        int v0_0 = 0;
        String v1_1 = this.zzBJ();
        try {
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v1_1);
            try {
                v2_1.write(com.google.android.gms.internal.adp.zzc(p5));
                try {
                    v2_1.close();
                } catch (int v0) {
                    com.google.android.gms.tagmanager.zzdj.zzaT("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.zzdj.zzaT("error closing stream for writing resource to disk");
                }
                throw v0_1;
            } catch (String v3) {
                com.google.android.gms.tagmanager.zzdj.zzaT("Error writing resource to disk. Removing resource from disk.");
                v1_1.delete();
                try {
                    v2_1.close();
                } catch (String v1) {
                    com.google.android.gms.tagmanager.zzdj.zzaT("error closing stream for writing resource to disk");
                }
                return v0_0;
            }
        } catch (String v1) {
            com.google.android.gms.tagmanager.zzdj.e("Error opening resource file for writing");
            return v0_0;
        }
    }

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


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

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


    private final void zza(java.io.File p12, String p13)
    {
        java.io.IOException v1_0 = 0;
        java.io.IOException v2_3 = new Object[2];
        v2_3[0] = p12;
        v2_3[1] = p13;
        int v3_0 = new java.io.File(String.format("%s/%s.tmp", v2_3));
        if (!v3_0.exists()) {
            java.io.IOException v2_0 = new Object[2];
            v2_0[0] = p12;
            v2_0[1] = p13;
            java.io.File v4_1 = new java.io.File(String.format("%s/%s.dex", v2_0));
            if (v4_1.exists()) {
                com.google.android.gms.internal.zzcw v6_1 = v4_1.length();
                if (v6_1 > 0) {
                    java.io.IOException v0_8 = new byte[((int) v6_1)];
                    try {
                        java.io.IOException v2_2 = new java.io.FileInputStream(v4_1);
                        try {
                            if (v2_2.read(v0_8) > 0) {
                                int v5_3 = new com.google.android.gms.internal.zzbc();
                                v5_3.zzcG = android.os.Build$VERSION.SDK.getBytes();
                                v5_3.zzcF = p13.getBytes();
                                java.io.IOException v0_12 = this.zzqH.zzc(this.zzqI, v0_8).getBytes();
                                v5_3.data = v0_12;
                                v5_3.zzcE = com.google.android.gms.internal.zzbv.zzb(v0_12);
                                v3_0.createNewFile();
                                java.io.IOException v0_9 = new java.io.FileOutputStream(v3_0);
                                try {
                                    java.io.IOException v1_1 = com.google.android.gms.internal.adp.zzc(v5_3);
                                    v0_9.write(v1_1, 0, v1_1.length);
                                    v0_9.close();
                                    try {
                                        v2_2.close();
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                        com.google.android.gms.internal.zzdb.zza(v4_1);
                                    } catch (java.io.IOException v1) {
                                    }
                                } catch (java.io.IOException v1_2) {
                                    v1_0 = v0_9;
                                    java.io.IOException v0_1 = v1_2;
                                    if (v2_2 != null) {
                                        try {
                                            v2_2.close();
                                        } catch (java.io.IOException v2) {
                                        }
                                    }
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    com.google.android.gms.internal.zzdb.zza(v4_1);
                                    throw v0_1;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    if (v0_9 != null) {
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                    }
                                    com.google.android.gms.internal.zzdb.zza(v4_1);
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                }
                            } else {
                                try {
                                    v2_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                com.google.android.gms.internal.zzdb.zza(v4_1);
                            }
                        } catch (java.io.IOException v0_1) {
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_2 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    }
                }
            }
        }
        return;
    }

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


    public static com.google.android.gms.internal.zzdb zza(android.content.Context p9, String p10, String p11, boolean p12)
    {
        int v0_0 = 1;
        void v3_0 = new com.google.android.gms.internal.zzdb(p9);
        v3_0.zzqF = java.util.concurrent.Executors.newCachedThreadPool();
        v3_0.zzqk = p12;
        if (p12) {
            v3_0.zzqK = v3_0.zzqF.submit(new com.google.android.gms.internal.zzdc(v3_0));
        }
        v3_0.zzqF.execute(new com.google.android.gms.internal.zzde(v3_0));
        try {
            String v2_5;
            com.google.android.gms.internal.zzdb.zzqS = com.google.android.gms.common.zze.zzoW();
        } catch (int v0) {
            v3_0.zza(0, 1);
            if ((!com.google.android.gms.internal.zzdg.zzS()) || (!((Boolean) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzFa)).booleanValue())) {
                v3_0.zzqH = new com.google.android.gms.internal.zzcw(0);
                v3_0.zzqI = v3_0.zzqH.zzl(p10);
                try {
                    int v0_38 = v3_0.zzqD.getCacheDir();
                } catch (int v0_17) {
                    throw new com.google.android.gms.internal.zzcy(v0_17);
                } catch (int v0_16) {
                    throw new com.google.android.gms.internal.zzcy(v0_16);
                }
                if (v0_38 == 0) {
                    v0_38 = v3_0.zzqD.getDir("dex", 0);
                    if (v0_38 == 0) {
                        throw new com.google.android.gms.internal.zzcy();
                    }
                }
                String v1_21 = v0_38;
                Object[] v5_8 = new Object[2];
                v5_8[0] = v1_21;
                v5_8[1] = "1489418796403";
                String v4_9 = new java.io.File(String.format("%s/%s.jar", v5_8));
                if (!v4_9.exists()) {
                    int v0_3 = v3_0.zzqH.zza(v3_0.zzqI, p11);
                    v4_9.createNewFile();
                    Object[] v5_2 = new java.io.FileOutputStream(v4_9);
                    v5_2.write(v0_3, 0, v0_3.length);
                    v5_2.close();
                }
                v3_0.zzb(v1_21, "1489418796403");
                try {
                    v3_0.zzqG = new dalvik.system.DexClassLoader(v4_9.getAbsolutePath(), v1_21.getAbsolutePath(), 0, v3_0.zzqD.getClassLoader());
                } catch (int v0_6) {
                    com.google.android.gms.internal.zzdb.zza(v4_9);
                    v3_0 = v3_0.zza(v1_21, "1489418796403");
                    Object[] v5_5 = new Object[2];
                    v5_5[0] = v1_21;
                    v5_5[1] = "1489418796403";
                    com.google.android.gms.internal.zzdb.zzm(String.format("%s/%s.dex", v5_5));
                    throw v0_6;
                }
                com.google.android.gms.internal.zzdb.zza(v4_9);
                v3_0 = v3_0.zza(v1_21, "1489418796403");
                String v4_4 = new Object[2];
                v4_4[0] = v1_21;
                v4_4[1] = "1489418796403";
                com.google.android.gms.internal.zzdb.zzm(String.format("%s/%s.dex", v4_4));
                v3_0.zzqN = new com.google.android.gms.internal.zzcn(v3_0);
                v3_0.zzqV = 1;
                return v3_0;
            } else {
                throw new IllegalStateException("Task Context initialization must not be called from the UI thread.");
            }
        }
        if (com.google.android.gms.common.zze.zzau(v3_0.zzqD) <= 0) {
            v2_5 = 0;
        } else {
            v2_5 = 1;
        }
        v3_0.zzqP = v2_5;
        if (com.google.android.gms.internal.zzdb.zzqS.isGooglePlayServicesAvailable(v3_0.zzqD) != 0) {
            v0_0 = 0;
        }
        v3_0.zzqR = v0_0;
        if (v3_0.zzqD.getApplicationContext() == null) {
        } else {
            v3_0.zzqO = new com.google.android.gms.common.api.GoogleApiClient$Builder(v3_0.zzqD).addApi(com.google.android.gms.internal.zzazn.API).build();
        }
    }

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


    public final boolean zzU(String p28)
    {
        com.google.android.gms.internal.zzsc v2_40;
        if (this.zzJZ != null) {
            do {
                com.google.android.gms.internal.zzsh v3_2;
                if (this.zzJZ != null) {
                    String v4_0 = this.zzJZ.listFiles();
                    com.google.android.gms.internal.zzsc v2_14 = 0;
                    com.google.android.gms.internal.zzsh v3_0 = 0;
                    while (v3_0 < v4_0.length) {
                        if (!v4_0[v3_0].getName().endsWith(".done")) {
                            v2_14++;
                        }
                        v3_0++;
                    }
                    v3_2 = v2_14;
                } else {
                    v3_2 = 0;
                }
                if (v3_2 <= ((Integer) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCm)).intValue()) {
                    com.google.android.gms.internal.zzji.zzds();
                    java.io.File v13_1 = new java.io.File(this.zzJZ, com.google.android.gms.internal.zzaiy.zzaR(p28));
                    java.io.File v14 = this.zzb(v13_1);
                    if ((!v13_1.isFile()) || (!v14.isFile())) {
                        String v9_1;
                        com.google.android.gms.internal.zzsh v3_39 = String.valueOf(this.zzJZ.getAbsolutePath());
                        com.google.android.gms.internal.zzsc v2_128 = String.valueOf(p28);
                        if (v2_128.length() == 0) {
                            v9_1 = new String(v3_39);
                        } else {
                            v9_1 = v3_39.concat(v2_128);
                        }
                        try {
                            if (!com.google.android.gms.internal.zzsh.zzJX.contains(v9_1)) {
                                com.google.android.gms.internal.zzsh.zzJX.add(v9_1);
                                String v5_5 = 0;
                                com.google.android.gms.internal.zzsh v3_20;
                                String v4_12;
                                com.google.android.gms.ads.internal.zzbs.zzbM();
                                com.google.android.gms.internal.zzsh v3_46 = com.google.android.gms.internal.zzajo.zzb(p28, ((Integer) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCs)).intValue());
                                if ((v3_46 instanceof java.net.HttpURLConnection)) {
                                    com.google.android.gms.internal.zzsc v2_145 = ((java.net.HttpURLConnection) v3_46).getResponseCode();
                                    if (v2_145 >= 400) {
                                        v4_12 = "badUrl";
                                        try {
                                            com.google.android.gms.internal.zzsh v3_34 = String.valueOf(Integer.toString(v2_145));
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                            v3_20 = 0;
                                            if ((v2_59 instanceof RuntimeException)) {
                                                com.google.android.gms.ads.internal.zzbs.zzbD().zza(v2_59, "VideoStreamFullFileCache.preload");
                                            }
                                            try {
                                                v5_5.close();
                                            } catch (String v5) {
                                            } catch (String v5) {
                                            }
                                            if (!this.zzKa) {
                                                com.google.android.gms.internal.zzafr.zzc(new StringBuilder((String.valueOf(p28).length() + 25)).append("Preload failed for URL \"").append(p28).append("\"").toString(), v2_59);
                                            } else {
                                                com.google.android.gms.internal.zzafr.zzaS(new StringBuilder((String.valueOf(p28).length() + 26)).append("Preload aborted for URL \"").append(p28).append("\"").toString());
                                            }
                                            if (v13_1.exists()) {
                                                if (!v13_1.delete()) {
                                                    com.google.android.gms.internal.zzsc v2_103 = String.valueOf(v13_1.getAbsolutePath());
                                                    if (v2_103.length() == 0) {
                                                        com.google.android.gms.internal.zzsc v2_105 = new String("Could not delete partial cache file at ");
                                                    } else {
                                                        v2_105 = "Could not delete partial cache file at ".concat(v2_103);
                                                    }
                                                    com.google.android.gms.internal.zzafr.zzaT(v2_105);
                                                }
                                            }
                                            this.zza(p28, v13_1.getAbsolutePath(), v4_12, v3_20);
                                            com.google.android.gms.internal.zzsh.zzJX.remove(v9_1);
                                            v2_40 = 0;
                                            return v2_40;
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                            v3_20 = 0;
                                        }
                                        if (v3_34.length() == 0) {
                                            v3_20 = new String("HTTP request failed. Code: ");
                                        } else {
                                            v3_20 = "HTTP request failed. Code: ".concat(v3_34);
                                        }
                                        try {
                                            throw new java.io.IOException(new StringBuilder((String.valueOf(p28).length() + 32)).append("HTTP status code ").append(v2_145).append(" at ").append(p28).toString());
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                        }
                                    }
                                }
                                String v7_0 = v3_46.getContentLength();
                                if (v7_0 >= null) {
                                    String v4_2 = com.google.android.gms.internal.zzsh.zzJY.format(((long) v7_0));
                                    int v15 = ((Integer) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCn)).intValue();
                                    if (v7_0 <= v15) {
                                        com.google.android.gms.internal.zzafr.zzaC(new StringBuilder(((String.valueOf(v4_2).length() + 20) + String.valueOf(p28).length())).append("Caching ").append(v4_2).append(" bytes from ").append(p28).toString());
                                        java.nio.channels.ReadableByteChannel v16_1 = java.nio.channels.Channels.newChannel(v3_46.getInputStream());
                                        java.io.FileOutputStream v12_1 = new java.io.FileOutputStream(v13_1);
                                        try {
                                            java.nio.channels.FileChannel v17 = v12_1.getChannel();
                                            java.nio.ByteBuffer v18 = java.nio.ByteBuffer.allocate(1048576);
                                            com.google.android.gms.common.util.zze v19 = com.google.android.gms.ads.internal.zzbs.zzbF();
                                            int v6_5 = 0;
                                            long v20 = v19.currentTimeMillis();
                                            com.google.android.gms.internal.zzair v22 = new com.google.android.gms.internal.zzair;
                                            v22(((Long) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCr)).longValue());
                                            long v24 = ((Long) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCq)).longValue();
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                            v3_20 = 0;
                                            v4_12 = "error";
                                            v5_5 = v12_1;
                                        }
                                        do {
                                            com.google.android.gms.internal.zzsc v2_26 = v16_1.read(v18);
                                            if (v2_26 < null) {
                                                v12_1.close();
                                                if (com.google.android.gms.internal.zzafr.zzz(3)) {
                                                    com.google.android.gms.internal.zzsc v2_30 = com.google.android.gms.internal.zzsh.zzJY.format(((long) v6_5));
                                                    com.google.android.gms.internal.zzafr.zzaC(new StringBuilder(((String.valueOf(v2_30).length() + 22) + String.valueOf(p28).length())).append("Preloaded ").append(v2_30).append(" bytes from ").append(p28).toString());
                                                }
                                                v13_1.setReadable(1, 0);
                                                if (!v14.isFile()) {
                                                    try {
                                                        v14.createNewFile();
                                                    } catch (com.google.android.gms.internal.zzsc v2) {
                                                    }
                                                } else {
                                                    v14.setLastModified(System.currentTimeMillis());
                                                }
                                                this.zza(p28, v13_1.getAbsolutePath(), v6_5);
                                                com.google.android.gms.internal.zzsh.zzJX.remove(v9_1);
                                                v2_40 = 1;
                                            } else {
                                                v6_5 += v2_26;
                                                try {
                                                    if (v6_5 <= v15) {
                                                        v18.flip();
                                                        while (v17.write(v18) > 0) {
                                                        }
                                                        v18.clear();
                                                        if ((v19.currentTimeMillis() - v20) <= (1000 * v24)) {
                                                            if (!this.zzKa) {
                                                            } else {
                                                                v4_12 = "externalAbort";
                                                                throw new java.io.IOException("abort requested");
                                                            }
                                                        } else {
                                                            v4_12 = "downloadTimeout";
                                                            com.google.android.gms.internal.zzsc v2_53 = String.valueOf(Long.toString(v24));
                                                            v3_20 = new StringBuilder((String.valueOf(v2_53).length() + 29)).append("Timeout exceeded. Limit: ").append(v2_53).append(" sec").toString();
                                                            throw new java.io.IOException("stream cache time limit exceeded");
                                                        }
                                                    } else {
                                                        v4_12 = "sizeExceeded";
                                                        com.google.android.gms.internal.zzsh v3_22 = String.valueOf(Integer.toString(v6_5));
                                                        if (v3_22.length() == 0) {
                                                            v3_20 = new String("File too big for full file cache. Size: ");
                                                        } else {
                                                            v3_20 = "File too big for full file cache. Size: ".concat(v3_22);
                                                        }
                                                        throw new java.io.IOException("stream cache file size limit exceeded");
                                                    }
                                                } catch (com.google.android.gms.internal.zzsc v2_59) {
                                                    v3_20 = 0;
                                                    v5_5 = v12_1;
                                                } catch (com.google.android.gms.internal.zzsc v2_59) {
                                                    v3_20 = 0;
                                                    v5_5 = v12_1;
                                                } catch (com.google.android.gms.internal.zzsc v2_59) {
                                                    v5_5 = v12_1;
                                                } catch (com.google.android.gms.internal.zzsc v2_59) {
                                                    v5_5 = v12_1;
                                                }
                                            }
                                        } while(!v22.tryAcquire());
                                        com.google.android.gms.internal.zzaiy.zzaaH.post(new com.google.android.gms.internal.zzsc(this, p28, v13_1.getAbsolutePath(), v6_5, v7_0, 0));
                                    } else {
                                        com.google.android.gms.internal.zzsc v2_78;
                                        com.google.android.gms.internal.zzafr.zzaT(new StringBuilder(((String.valueOf(v4_2).length() + 33) + String.valueOf(p28).length())).append("Content length ").append(v4_2).append(" exceeds limit at ").append(p28).toString());
                                        com.google.android.gms.internal.zzsc v2_76 = String.valueOf(v4_2);
                                        if (v2_76.length() == 0) {
                                            v2_78 = new String("File too big for full file cache. Size: ");
                                        } else {
                                            v2_78 = "File too big for full file cache. Size: ".concat(v2_76);
                                        }
                                        this.zza(p28, v13_1.getAbsolutePath(), "sizeExceeded", v2_78);
                                        com.google.android.gms.internal.zzsh.zzJX.remove(v9_1);
                                        v2_40 = 0;
                                    }
                                } else {
                                    com.google.android.gms.internal.zzsc v2_82;
                                    com.google.android.gms.internal.zzsc v2_80 = String.valueOf(p28);
                                    if (v2_80.length() == 0) {
                                        v2_82 = new String("Stream cache aborted, missing content-length header at ");
                                    } else {
                                        v2_82 = "Stream cache aborted, missing content-length header at ".concat(v2_80);
                                    }
                                    com.google.android.gms.internal.zzafr.zzaT(v2_82);
                                    this.zza(p28, v13_1.getAbsolutePath(), "contentLengthMissing", 0);
                                    com.google.android.gms.internal.zzsh.zzJX.remove(v9_1);
                                    v2_40 = 0;
                                }
                            } else {
                                com.google.android.gms.internal.zzsc v2_111;
                                com.google.android.gms.internal.zzsc v2_109 = String.valueOf(p28);
                                if (v2_109.length() == 0) {
                                    v2_111 = new String("Stream cache already in progress at ");
                                } else {
                                    v2_111 = "Stream cache already in progress at ".concat(v2_109);
                                }
                                com.google.android.gms.internal.zzafr.zzaT(v2_111);
                                this.zza(p28, v13_1.getAbsolutePath(), "inProgress", 0);
                                v2_40 = 0;
                            }
                        } catch (com.google.android.gms.internal.zzsc v2_113) {
                            throw v2_113;
                        }
                    } else {
                        com.google.android.gms.internal.zzsc v2_118;
                        com.google.android.gms.internal.zzsh v3_37 = ((int) v13_1.length());
                        com.google.android.gms.internal.zzsc v2_116 = String.valueOf(p28);
                        if (v2_116.length() == 0) {
                            v2_118 = new String("Stream cache hit at ");
                        } else {
                            v2_118 = "Stream cache hit at ".concat(v2_116);
                        }
                        com.google.android.gms.internal.zzafr.zzaC(v2_118);
                        this.zza(p28, v13_1.getAbsolutePath(), v3_37);
                        v2_40 = 1;
                    }
                } else {
                    com.google.android.gms.internal.zzsc v2_124;
                    if (this.zzJZ != null) {
                        String v7_10 = 0;
                        String v4_21 = nan;
                        String v9_0 = this.zzJZ.listFiles();
                        int v10_0 = v9_0.length;
                        int v8_3 = 0;
                        while (v8_3 < v10_0) {
                            String v4_23;
                            com.google.android.gms.internal.zzsc v2_127;
                            int v6_18 = v9_0[v8_3];
                            if (v6_18.getName().endsWith(".done")) {
                                v2_127 = v4_21;
                                v4_23 = v7_10;
                            } else {
                                v2_127 = v6_18.lastModified();
                                if (v2_127 >= v4_21) {
                                } else {
                                    v4_23 = v6_18;
                                }
                            }
                            v8_3++;
                            v7_10 = v4_23;
                            v4_21 = v2_127;
                        }
                        v2_124 = 0;
                        if (v7_10 != null) {
                            v2_124 = v7_10.delete();
                            com.google.android.gms.internal.zzsh v3_38 = this.zzb(v7_10);
                            if (v3_38.isFile()) {
                                v2_124 &= v3_38.delete();
                            }
                        }
                    } else {
                        v2_124 = 0;
                    }
                }
            } while(v2_124 != null);
            com.google.android.gms.internal.zzafr.zzaT("Unable to expire stream cache");
            this.zza(p28, 0, "expireFailed", 0);
            v2_40 = 0;
        } else {
            this.zza(p28, 0, "noCacheDir", 0);
            v2_40 = 0;
        }
        return v2_40;
    }

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


    private final void zzdO()
    {
        try {
            do {
                java.io.IOException v0_6 = ((com.google.android.gms.internal.zznb) this.zzGL.take());
                String v2_1 = v0_6.zzdU();
            } while(String v1_12 == null);
            try {
                v1_12.close();
            } catch (java.io.IOException v0_15) {
                com.google.android.gms.internal.zzafr.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v0_15);
            }
        } catch (java.io.IOException v0_19) {
            com.google.android.gms.internal.zzafr.zzc("CsiReporter:reporter interrupted", v0_19);
            return;
        }
        if (!android.text.TextUtils.isEmpty(v2_1)) {
            java.io.IOException v0_2 = this.zza(this.zzGN, v0_6.zzdV());
            java.io.File v3_0 = android.net.Uri.parse(this.zzGJ).buildUpon();
            int v4_0 = v0_2.entrySet().iterator();
            while (v4_0.hasNext()) {
                java.io.IOException v0_18 = ((java.util.Map$Entry) v4_0.next());
                v3_0.appendQueryParameter(((String) v0_18.getKey()), ((String) v0_18.getValue()));
            }
            java.io.IOException v0_8 = new StringBuilder(v3_0.build().toString());
            v0_8.append("&it=").append(v2_1);
            java.io.IOException v0_9 = v0_8.toString();
            if (!this.zzGP.get()) {
                com.google.android.gms.ads.internal.zzbs.zzbz();
                com.google.android.gms.internal.zzagz.zzd(this.mContext, this.zzwH, v0_9);
            } else {
                java.io.File v3_1 = this.zzGQ;
                if (v3_1 == null) {
                    com.google.android.gms.internal.zzafr.zzaT("CsiReporter: File doesn\'t exists. Cannot write CSI data to file.");
                } else {
                    try {
                        v1_12 = new java.io.FileOutputStream(v3_1, 1);
                        try {
                            v1_12.write(v0_9.getBytes());
                            v1_12.write(10);
                            try {
                                v1_12.close();
                            } catch (java.io.IOException v0_16) {
                                com.google.android.gms.internal.zzafr.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v0_16);
                            }
                        } catch (java.io.IOException v0_11) {
                            com.google.android.gms.internal.zzafr.zzc("CsiReporter: Cannot write to file: sdk_csi_data.txt.", v0_11);
                            if (v1_12 != null) {
                            }
                        }
                    } catch (java.io.IOException v0_12) {
                        v1_12 = 0;
                        if (v1_12 != null) {
                            try {
                                v1_12.close();
                            } catch (String v1_15) {
                                com.google.android.gms.internal.zzafr.zzc("CsiReporter: Cannot close file: sdk_csi_data.txt.", v1_15);
                            }
                        }
                        throw v0_12;
                    } catch (java.io.IOException v0_11) {
                        v1_12 = 0;
                    } catch (java.io.IOException v0_12) {
                    }
                }
            }
        }
    }

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


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

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


    final void zze(String p4, byte[] p5)
    {
        String v0_0 = this.zzfS(p4);
        try {
            String v1_4 = new java.io.FileOutputStream(v0_0);
            try {
                v1_4.write(p5);
                try {
                    v1_4.close();
                    com.google.android.gms.internal.zzcvk.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.zzcvk.e("Error closing stream for writing resource to disk");
                }
                return;
            } catch (String v0_10) {
                try {
                    v1_4.close();
                    com.google.android.gms.internal.zzcvk.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.zzcvk.e("Error closing stream for writing resource to disk");
                }
                throw v0_10;
            } catch (String v2) {
                com.google.android.gms.internal.zzcvk.e("Error writing resource to disk. Removing resource from disk");
                v0_0.delete();
                try {
                    v1_4.close();
                    com.google.android.gms.internal.zzcvk.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.zzcvk.e("Error closing stream for writing resource to disk");
                }
                return;
            }
        } catch (String v0) {
            com.google.android.gms.internal.zzcvk.e("Error opening resource file for writing");
            return;
        }
    }

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


    private final 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.zzbo.zza(v0_8, "Must provide a previously opened SnapshotContents");
        String v4_1 = new java.io.FileOutputStream(this.zzaOg.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.zzc.getOutputStream() calling method java.io.FileOutputStream.<init>()


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

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


    private final java.io.FileOutputStream zzqP()
    {
        if (this.zzaFt != null) {
            try {
                IllegalStateException v0_6 = java.io.File.createTempFile("teleporter", ".tmp", this.zzaFt);
                try {
                    String v1_2 = new java.io.FileOutputStream(v0_6);
                    this.zzTP = 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.zzTP = 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.bumptech.glide.load.resource.bitmap.BitmapEncoder.encode() calling method java.io.FileOutputStream.<init>()


    public boolean encode(com.bumptech.glide.load.engine.Resource p17, java.io.File p18, com.bumptech.glide.load.Options p19)
    {
        android.graphics.Bitmap v2_1 = ((android.graphics.Bitmap) p17.get());
        android.graphics.Bitmap$CompressFormat v4 = this.getFormat(v2_1, p19);
        android.support.v4.os.TraceCompat.beginSection(new StringBuilder().append("encode: [").append(v2_1.getWidth()).append("x").append(v2_1.getHeight()).append("] ").append(v4).toString());
        try {
            long v8 = com.bumptech.glide.util.LogTime.getLogTime();
            int v7 = ((Integer) p19.get(com.bumptech.glide.load.resource.bitmap.BitmapEncoder.COMPRESSION_QUALITY)).intValue();
            int v10 = 0;
            java.io.FileOutputStream v5 = 0;
            try {
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p18);
                try {
                    v2_1.compress(v4, v7, v6_1);
                    v6_1.close();
                    v10 = 1;
                } catch (java.io.IOException v11_14) {
                    v5 = v6_1;
                    if (v5 != null) {
                        try {
                            v5.close();
                        } catch (String v12) {
                        }
                    }
                    throw v11_14;
                } catch (java.io.IOException v3) {
                    v5 = v6_1;
                    if (android.util.Log.isLoggable("BitmapEncoder", 3)) {
                        android.util.Log.d("BitmapEncoder", "Failed to encode Bitmap", v3);
                    }
                    if (v5 == null) {
                        if (android.util.Log.isLoggable("BitmapEncoder", 2)) {
                            android.util.Log.v("BitmapEncoder", new StringBuilder().append("Compressed with type: ").append(v4).append(" of size ").append(com.bumptech.glide.util.Util.getBitmapByteSize(v2_1)).append(" in ").append(com.bumptech.glide.util.LogTime.getElapsedMillis(v8)).append(", options format: ").append(p19.get(com.bumptech.glide.load.resource.bitmap.BitmapEncoder.COMPRESSION_FORMAT)).append(", hasAlpha: ").append(v2_1.hasAlpha()).toString());
                        }
                        android.support.v4.os.TraceCompat.endSection();
                        return v10;
                    } else {
                        try {
                            v5.close();
                        } catch (java.io.IOException v11) {
                        }
                    }
                }
                if (v6_1 == null) {
                } else {
                    try {
                        v6_1.close();
                    } catch (java.io.IOException v11) {
                    }
                }
            } catch (java.io.IOException v11_14) {
            } catch (java.io.IOException v3) {
            }
        } catch (java.io.IOException v11_1) {
            android.support.v4.os.TraceCompat.endSection();
            throw v11_1;
        }
    }

Method com.bumptech.glide.load.model.StreamEncoder.encode() calling method java.io.FileOutputStream.<init>()


    public boolean encode(java.io.InputStream p10, java.io.File p11, com.bumptech.glide.load.Options p12)
    {
        byte[] v0_1 = ((byte[]) this.byteArrayPool.get(65536, byte[]));
        int v5 = 0;
        java.io.FileOutputStream v2 = 0;
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p11);
            try {
                while(true) {
                    int v4 = p10.read(v0_1);
                    v3_1.write(v0_1, 0, v4);
                }
                v3_1.close();
                v5 = 1;
                if (v3_1 != null) {
                    try {
                        v3_1.close();
                    } catch (java.io.IOException v6) {
                    }
                }
                this.byteArrayPool.put(v0_1, byte[]);
                return v5;
            } catch (java.io.IOException v6_5) {
                v2 = v3_1;
                if (v2 != null) {
                    try {
                        v2.close();
                    } catch (Class v7) {
                    }
                }
                this.byteArrayPool.put(v0_1, byte[]);
                throw v6_5;
            } catch (java.io.IOException v1) {
                v2 = v3_1;
                if (android.util.Log.isLoggable("StreamEncoder", 3)) {
                    android.util.Log.d("StreamEncoder", "Failed to encode data onto the OutputStream", v1);
                }
                if (v2 != null) {
                    try {
                        v2.close();
                    } catch (java.io.IOException v6) {
                    }
                }
                this.byteArrayPool.put(v0_1, byte[]);
                return v5;
            }
            if (v4 != -1) {
            }
        } catch (java.io.IOException v6_5) {
        } catch (java.io.IOException v1) {
        }
    }

Method com.bumptech.glide.disklrucache.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 v2_26) {
            throw v2_26;
        }
        java.io.BufferedWriter v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFileTmp), com.bumptech.glide.disklrucache.Util.US_ASCII));
        try {
            v1_0.write("libcore.io.DiskLruCache");
            v1_0.write("\n");
            v1_0.write("1");
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.appVersion));
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.valueCount));
            v1_0.write("\n");
            v1_0.write("\n");
            java.io.BufferedWriter v2_16 = this.lruEntries.values().iterator();
        } catch (java.io.BufferedWriter v2_25) {
            v1_0.close();
            throw v2_25;
        }
        while (v2_16.hasNext()) {
            com.bumptech.glide.disklrucache.DiskLruCache$Entry v0_1 = ((com.bumptech.glide.disklrucache.DiskLruCache$Entry) v2_16.next());
            if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$800(v0_1) == null) {
                v1_0.write(new StringBuilder().append("CLEAN ").append(com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$1200(v0_1)).append(v0_1.getLengths()).append(10).toString());
            } else {
                v1_0.write(new StringBuilder().append("DIRTY ").append(com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$1200(v0_1)).append(10).toString());
            }
        }
        v1_0.close();
        if (this.journalFile.exists()) {
            com.bumptech.glide.disklrucache.DiskLruCache.renameTo(this.journalFile, this.journalFileBackup, 1);
        }
        com.bumptech.glide.disklrucache.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.bumptech.glide.disklrucache.Util.US_ASCII));
        return;
    }

Method com.bumptech.glide.disklrucache.DiskLruCache.readJournal() calling method java.io.FileOutputStream.<init>()


    private void readJournal()
    {
        com.bumptech.glide.disklrucache.StrictLineReader v5_1 = new com.bumptech.glide.disklrucache.StrictLineReader(new java.io.FileInputStream(this.journalFile), com.bumptech.glide.disklrucache.Util.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 (java.io.BufferedWriter v8_23) {
            com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
            throw v8_23;
        }
        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());
                if (!v5_1.hasUnterminatedLine()) {
                    this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.bumptech.glide.disklrucache.Util.US_ASCII));
                } else {
                    this.rebuildJournal();
                }
                com.bumptech.glide.disklrucache.Util.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.bumptech.glide.disklrucache.DiskLruCache$Editor.set() calling method java.io.FileOutputStream.<init>()


    public void set(int p5, String p6)
    {
        java.io.OutputStreamWriter v1 = 0;
        try {
            java.io.OutputStreamWriter v2_1 = new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.getFile(p5)), com.bumptech.glide.disklrucache.Util.UTF_8);
            try {
                v2_1.write(p6);
                com.bumptech.glide.disklrucache.Util.closeQuietly(v2_1);
                return;
            } catch (Throwable v3_0) {
                v1 = v2_1;
                com.bumptech.glide.disklrucache.Util.closeQuietly(v1);
                throw v3_0;
            }
        } catch (Throwable v3_0) {
        }
        v2_1.write(p6);
        com.bumptech.glide.disklrucache.Util.closeQuietly(v2_1);
        return;
    }

Method com.app.helpers.UIHelper.saveImage() calling method java.io.FileOutputStream.<init>()


    protected static boolean saveImage(android.graphics.Bitmap p4, String p5, String p6, String p7)
    {
        java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(new StringBuilder().append(p7).append(p6).append("/").append(p5).toString());
        boolean v0 = p4.compress(android.graphics.Bitmap$CompressFormat.JPEG, 50, v1_1);
        v1_1.close();
        return v0;
    }

Method com.app.helpers.InputHelper.persistImage() calling method java.io.FileOutputStream.<init>()


    public static java.io.File persistImage(android.graphics.Bitmap p6, String p7, android.content.Context p8)
    {
        java.io.File v2_0 = new java.io.File(p8.getFilesDir(), new StringBuilder().append(p7).append(".png").toString());
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(v2_0);
            p6.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v3_1);
            v3_1.flush();
            v3_1.close();
        } catch (Exception v0) {
            android.util.Log.e("Error", "Error writing bitmap", v0);
        }
        return v2_0;
    }

Method com.app.helpers.Funcs.saveImage() calling method java.io.FileOutputStream.<init>()


    protected static boolean saveImage(android.graphics.Bitmap p4, String p5, String p6, String p7)
    {
        java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(new StringBuilder().append(p7).append(p6).append("/").append(p5).toString());
        boolean v0 = p4.compress(android.graphics.Bitmap$CompressFormat.JPEG, 50, v1_1);
        v1_1.close();
        return v0;
    }

Method com.app.helpers.Funcs.replace() calling method java.io.FileOutputStream.<init>()


    public static String replace(android.app.Activity p7, android.graphics.Bitmap p8, String p9)
    {
        java.io.ByteArrayOutputStream v0_1 = new java.io.ByteArrayOutputStream();
        p8.compress(android.graphics.Bitmap$CompressFormat.JPEG, 70, v0_1);
        java.io.File v2_1 = new java.io.File(p9);
        try {
            v2_1.createNewFile();
            java.io.FileOutputStream v3_0 = new java.io.FileOutputStream(v2_1);
            v3_0.write(v0_1.toByteArray());
            v3_0.close();
        } catch (Exception v1) {
            v1.printStackTrace();
        }
        return p9;
    }

Method com.app.helpers.CameraHelper.createImageFile() calling method java.io.FileOutputStream.<init>()


    public static String createImageFile(android.graphics.Bitmap p9, android.content.Context p10)
    {
        java.io.File v4 = 0;
        try {
            java.io.File v5_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory().toString(), "myfile");
            try {
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(v5_1);
                p9.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v6_1);
                v6_1.close();
                v4 = v5_1;
            } catch (Exception v2) {
                v4 = v5_1;
                android.widget.Toast.makeText(p10, "Image can\'t be taken due to low memory.", 1).show();
            }
            String v1;
            if (v4 == null) {
                v1 = "";
            } else {
                v1 = new StringBuilder().append("file:").append(v4.getAbsolutePath()).toString();
            }
            return v1;
        } catch (Exception v2) {
        }
    }

Method com.app.helpers.BitmapHelper.replace() calling method java.io.FileOutputStream.<init>()


    public static String replace(android.app.Activity p7, android.graphics.Bitmap p8, String p9)
    {
        java.io.ByteArrayOutputStream v0_1 = new java.io.ByteArrayOutputStream();
        p8.compress(android.graphics.Bitmap$CompressFormat.JPEG, 70, v0_1);
        java.io.File v2_1 = new java.io.File(p9);
        try {
            v2_1.createNewFile();
            java.io.FileOutputStream v3_0 = new java.io.FileOutputStream(v2_1);
            v3_0.write(v0_1.toByteArray());
            v3_0.close();
        } catch (Exception v1) {
            v1.printStackTrace();
        }
        return p9;
    }

Method com.app.helpers.BitmapHelper.convertBitmapToFile() calling method java.io.FileOutputStream.<init>()


    public static java.io.File convertBitmapToFile(android.content.Context p8, android.graphics.Bitmap p9)
    {
        java.io.File v4_1 = new java.io.File(p8.getCacheDir(), "temp");
        try {
            v4_1.createNewFile();
            java.io.ByteArrayOutputStream v2_1 = new java.io.ByteArrayOutputStream();
            p9.compress(android.graphics.Bitmap$CompressFormat.PNG, 0, v2_1);
            byte[] v1 = v2_1.toByteArray();
            java.io.FileOutputStream v5_1 = new java.io.FileOutputStream(v4_1);
            v5_1.write(v1);
            v5_1.flush();
            v5_1.close();
        } catch (java.io.IOException v3) {
            v3.printStackTrace();
        }
        return v4_1;
    }

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.PrintHelper$PrintHelperApi19$2.doInBackground() calling method java.io.FileOutputStream.<init>()


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

Method android.support.v4.graphics.TypefaceCompatUtil.copyToFile() calling method java.io.FileOutputStream.<init>()


    public static boolean copyToFile(java.io.File p9, java.io.InputStream p10)
    {
        int v5_0 = 0;
        java.io.FileOutputStream v2 = 0;
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p9, 0);
            try {
                byte[] v0 = new byte[1024];
            } catch (int v5_1) {
                v2 = v3_1;
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2);
                throw v5_1;
            } catch (java.io.IOException v1) {
                v2 = v3_1;
                android.util.Log.e("TypefaceCompatUtil", new StringBuilder().append("Error copying resource contents to temp file: ").append(v1.getMessage()).toString());
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2);
                return v5_0;
            }
            while(true) {
                int v4 = p10.read(v0);
                if (v4 == -1) {
                    break;
                }
                v3_1.write(v0, 0, v4);
            }
            v5_0 = 1;
            android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v3_1);
            return v5_0;
        } catch (int v5_1) {
        } catch (java.io.IOException v1) {
        }
    }

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


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

Method com.splunk.mint.DataSaver.saveLastSavedName() calling method java.io.FileWriter.<init>()


    private declared_synchronized void saveLastSavedName(String p7)
    {
        try {
            java.io.File v3_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/Mint-lastsavedfile").toString());
        } catch (Throwable v4_11) {
            throw v4_11;
        }
        if ((v3_1 != null) && (!v3_1.exists())) {
            try {
                v3_1.delete();
                v3_1.createNewFile();
            } catch (java.io.IOException v2_0) {
                v2_0.printStackTrace();
            }
        }
        java.io.BufferedWriter v0 = 0;
        try {
            java.io.BufferedWriter v1_1 = new java.io.BufferedWriter(new java.io.FileWriter(v3_1));
            try {
                v1_1.write(p7.trim());
                v1_1.flush();
                v1_1.close();
            } catch (Throwable v4_9) {
                v0 = v1_1;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2_3) {
                        v2_3.printStackTrace();
                    }
                }
                throw v4_9;
            } catch (java.io.IOException v2_1) {
                v0 = v1_1;
                com.splunk.mint.Logger.logWarning("There was a problem saving the last saved file name");
                if (com.splunk.mint.Mint.DEBUG) {
                    v2_1.printStackTrace();
                }
                if (v0 == null) {
                    return;
                } else {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2_2) {
                        v2_2.printStackTrace();
                    }
                    return;
                }
            }
            if (v1_1 == null) {
                return;
            } else {
                try {
                    v1_1.close();
                } catch (java.io.IOException v2_4) {
                    v2_4.printStackTrace();
                }
                return;
            }
        } catch (Throwable v4_9) {
        } catch (java.io.IOException v2_1) {
        }
    }

Method com.splunk.mint.DataSaver$1.run() calling method java.io.FileWriter.<init>()


    public void run()
    {
        if (!com.splunk.mint.Properties.USER_OPTEDOUT) {
            java.io.File v4_1;
            String v6 = com.splunk.mint.DataSaver.access$000(this.this$0);
            if ((v6 != null) && (v6.length() != 0)) {
                v4_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append(v6).toString());
            } else {
                v4_1 = new java.io.File(com.splunk.mint.SplunkFileFilter.createNewFile());
            }
            int v5 = 0;
            if (v4_1.length() >= 140000) {
                v4_1 = new java.io.File(com.splunk.mint.SplunkFileFilter.createNewFile());
                v5 = 1;
            }
            com.splunk.mint.DataSaverResponse v2_1 = new com.splunk.mint.DataSaverResponse(this.val$jsonData, v4_1.getAbsolutePath());
            if ((v4_1 != null) && (!v4_1.exists())) {
                try {
                    v4_1.createNewFile();
                } catch (java.io.IOException v3_2) {
                    v3_2.printStackTrace();
                }
            }
            java.io.BufferedWriter v0 = 0;
            try {
                java.io.BufferedWriter v1_1 = new java.io.BufferedWriter(new java.io.FileWriter(v4_1, 1));
                try {
                    v1_1.append(this.val$jsonData);
                    v1_1.flush();
                    v1_1.close();
                    com.splunk.mint.DataSaver.access$100(this.this$0, v4_1.getName());
                } catch (com.splunk.mint.DataFlusher v7_26) {
                    v0 = v1_1;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_0) {
                            v3_0.printStackTrace();
                        }
                    }
                    v2_1.setSavedSuccessfully(Boolean.valueOf(1));
                    if (com.splunk.mint.Mint.mintCallback != null) {
                        com.splunk.mint.Mint.mintCallback.dataSaverResponse(v2_1);
                    }
                    if (v5 != 0) {
                        new com.splunk.mint.DataFlusher().send();
                    }
                    throw v7_26;
                } catch (java.io.IOException v3_3) {
                    v0 = v1_1;
                    v3_3.printStackTrace();
                    v2_1.setException(v3_3);
                    v2_1.setSavedSuccessfully(Boolean.valueOf(0));
                    if (com.splunk.mint.Mint.mintCallback != null) {
                        com.splunk.mint.Mint.mintCallback.dataSaverResponse(v2_1);
                    }
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_4) {
                            v3_4.printStackTrace();
                        }
                    }
                    v2_1.setSavedSuccessfully(Boolean.valueOf(1));
                    if (com.splunk.mint.Mint.mintCallback != null) {
                        com.splunk.mint.Mint.mintCallback.dataSaverResponse(v2_1);
                    }
                    if (v5 != 0) {
                        new com.splunk.mint.DataFlusher().send();
                    }
                }
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v3_1) {
                        v3_1.printStackTrace();
                    }
                }
                v2_1.setSavedSuccessfully(Boolean.valueOf(1));
                if (com.splunk.mint.Mint.mintCallback != null) {
                    com.splunk.mint.Mint.mintCallback.dataSaverResponse(v2_1);
                }
                if (v5 != 0) {
                    new com.splunk.mint.DataFlusher().send();
                }
            } catch (com.splunk.mint.DataFlusher v7_26) {
            } catch (java.io.IOException v3_3) {
            }
        }
        return;
    }

Method com.splunk.mint.CrashInfo$3.run() calling method java.io.FileWriter.<init>()


    public void run()
    {
        java.io.File v3_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("lastCrashID").toString());
        if ((v3_1 != null) && (!v3_1.exists())) {
            try {
                v3_1.createNewFile();
            } catch (java.io.IOException v2_0) {
                v2_0.printStackTrace();
            }
        }
        java.io.BufferedWriter v0 = 0;
        try {
            java.io.BufferedWriter v1_1 = new java.io.BufferedWriter(new java.io.FileWriter(v3_1));
            try {
                v1_1.write(this.val$lastID);
                v1_1.newLine();
                v1_1.flush();
                v1_1.close();
            } catch (Throwable v4_10) {
                v0 = v1_1;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2_3) {
                        v2_3.printStackTrace();
                    }
                }
                throw v4_10;
            } catch (java.io.IOException v2_1) {
                v0 = v1_1;
                com.splunk.mint.Logger.logWarning("There was a problem saving the last crash id");
                if (com.splunk.mint.Mint.DEBUG) {
                    v2_1.printStackTrace();
                }
                if (v0 == null) {
                    return;
                } else {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2_2) {
                        v2_2.printStackTrace();
                    }
                    return;
                }
            }
            if (v1_1 == null) {
                return;
            } else {
                try {
                    v1_1.close();
                } catch (java.io.IOException v2_4) {
                    v2_4.printStackTrace();
                }
                return;
            }
        } catch (Throwable v4_10) {
        } catch (java.io.IOException v2_1) {
        }
    }

Method com.splunk.mint.CrashInfo$2.run() calling method java.io.FileWriter.<init>()


    public void run()
    {
        java.io.File v6_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("crashCounter").toString());
        if ((v6_1 != null) && (!v6_1.exists())) {
            try {
                v6_1.createNewFile();
            } catch (java.io.IOException v5_1) {
                v5_1.printStackTrace();
            }
        }
        java.io.BufferedReader v0 = 0;
        java.io.BufferedWriter v2 = 0;
        try {
            java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(v6_1));
            try {
                Integer.valueOf(0);
                try {
                    Integer v4_0 = Integer.valueOf(Integer.parseInt(v1_1.readLine().trim()));
                } catch (java.io.IOException v5) {
                    v4_0 = Integer.valueOf(0);
                }
                Integer v4_1 = Integer.valueOf((v4_0.intValue() + 1));
                java.io.BufferedWriter v3_1 = new java.io.BufferedWriter(new java.io.FileWriter(v6_1));
                try {
                    v3_1.write(String.valueOf(v4_1));
                    v3_1.newLine();
                    v3_1.flush();
                    v3_1.close();
                } catch (Throwable v7_17) {
                    v2 = v3_1;
                    v0 = v1_1;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v5_5) {
                            v5_5.printStackTrace();
                        }
                    }
                    if (v2 != null) {
                        try {
                            v2.close();
                        } catch (java.io.IOException v5_6) {
                            v5_6.printStackTrace();
                        }
                    }
                    throw v7_17;
                } catch (java.io.IOException v5_2) {
                    v2 = v3_1;
                    v0 = v1_1;
                    com.splunk.mint.Logger.logWarning("There was a problem saving the crash counter");
                    if (com.splunk.mint.Mint.DEBUG) {
                        v5_2.printStackTrace();
                    }
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v5_3) {
                            v5_3.printStackTrace();
                        }
                    }
                    if (v2 == null) {
                        return;
                    } else {
                        try {
                            v2.close();
                        } catch (java.io.IOException v5_4) {
                            v5_4.printStackTrace();
                        }
                        return;
                    }
                }
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v5_7) {
                        v5_7.printStackTrace();
                    }
                }
                if (v3_1 == null) {
                    v0 = v1_1;
                    return;
                } else {
                    try {
                        v3_1.close();
                        v0 = v1_1;
                    } catch (java.io.IOException v5_0) {
                        v5_0.printStackTrace();
                        v0 = v1_1;
                    }
                    return;
                }
            } catch (Throwable v7_17) {
                v0 = v1_1;
            } catch (java.io.IOException v5_2) {
                v0 = v1_1;
            }
        } catch (Throwable v7_17) {
        } catch (java.io.IOException v5_2) {
        }
    }

Method com.app.helpers.UIHelper.generateNoteOnSD() calling method java.io.FileWriter.<init>()


    public void generateNoteOnSD(android.content.Context p7, String p8, String p9)
    {
        try {
            java.io.File v2_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "Notes");
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        java.io.FileWriter v3_1 = new java.io.FileWriter(new java.io.File(v2_1, p8));
        v3_1.append(p9);
        v3_1.flush();
        v3_1.close();
        android.widget.Toast.makeText(p7, "Saved", 0).show();
        return;
    }

Method retrofit.mime.TypedFile.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(java.io.OutputStream p5)
    {
        byte[] v0 = new byte[4096];
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(this.file);
        try {
            while(true) {
                int v2 = v1_1.read(v0);
                p5.write(v0, 0, v2);
            }
            v1_1.close();
            return;
        } catch (int v3_4) {
            v1_1.close();
            throw v3_4;
        }
        if (v2 != -1) {
        }
        v1_1.close();
        return;
    }

Method retrofit.mime.TypedFile.in() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream in()
    {
        return new java.io.FileInputStream(this.file);
    }

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


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

Method com.squareup.okhttp.internal.DiskLruCache.get() calling method java.io.FileInputStream.<init>()


    public declared_synchronized com.squareup.okhttp.internal.DiskLruCache$Snapshot get(String p12)
    {
        com.squareup.okhttp.internal.DiskLruCache$Snapshot v1_0 = 0;
        try {
            this.checkNotClosed();
            this.validateKey(p12);
            com.squareup.okhttp.internal.DiskLruCache$Entry v9_1 = ((com.squareup.okhttp.internal.DiskLruCache$Entry) this.lruEntries.get(p12));
        } catch (com.squareup.okhttp.internal.DiskLruCache$Snapshot v1_9) {
            throw v1_9;
        }
        if ((v9_1 != null) && (com.squareup.okhttp.internal.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.writeUtf8("READ").writeByte(32).writeUtf8(p12).writeByte(10);
            if (this.journalRebuildRequired()) {
                this.executorService.execute(this.cleanupRunnable);
            }
            v1_0 = new com.squareup.okhttp.internal.DiskLruCache$Snapshot(this, p12, com.squareup.okhttp.internal.DiskLruCache$Entry.access$1200(v9_1), v6, com.squareup.okhttp.internal.DiskLruCache$Entry.access$1000(v9_1), 0);
        }
        return v1_0;
    }

Method com.squareup.okhttp.internal.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.squareup.okhttp.internal.DiskLruCache$Entry.access$700(this.entry) == this) {
                if (com.squareup.okhttp.internal.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.kbeanie.imagechooser.threads.FileProcessorThread.setContext() calling method java.io.FileInputStream.<init>()


    public void setContext(android.content.Context p15)
    {
        this.context = p15;
        if (!this.filePath.startsWith("content")) {
            if (this.filePath.startsWith("file")) {
                String v8_0 = 0;
                java.io.FileInputStream v12_1 = 0;
                try {
                    java.io.FileInputStream v13_1 = new java.io.FileInputStream(new java.io.File(android.net.Uri.parse(this.filePath).getPath()));
                    try {
                        this.mimeType = java.net.URLConnection.guessContentTypeFromStream(v13_1);
                        this.cr = p15.getContentResolver();
                        this.mimeType = this.cr.getType(android.net.Uri.parse(this.filePath));
                    } catch (String v0_58) {
                        v12_1 = v13_1;
                        com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_1);
                        throw v0_58;
                    } catch (java.io.IOException v7_1) {
                        v12_1 = v13_1;
                        android.util.Log.e("FileProcessorThread", v7_1.getMessage(), v7_1);
                        com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_1);
                        if (this.mimeType == null) {
                            this.mimeType = "application/octet-steam";
                        }
                        if (v8_0 == null) {
                            int v10 = this.filePath.lastIndexOf(46);
                            if (v10 > 0) {
                                v8_0 = this.filePath.substring((v10 + 1));
                            }
                            if ((v8_0 != null) && (!android.text.TextUtils.isEmpty(v8_0))) {
                                this.setMediaExtension(new StringBuilder().append(".").append(v8_0).toString());
                            }
                        }
                        if ((this.fileDisplayName == null) || (!android.text.TextUtils.isEmpty(this.fileDisplayName))) {
                            this.fileDisplayName = new java.io.File(this.filePath).getName();
                        }
                    }
                    if (this.mimeType != null) {
                        v8_0 = android.webkit.MimeTypeMap.getSingleton().getExtensionFromMimeType(this.mimeType);
                        if (v8_0 != null) {
                            this.setMediaExtension(new StringBuilder().append(".").append(v8_0).toString());
                        }
                    }
                    com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v13_1);
                } catch (String v0_58) {
                } catch (java.io.IOException v7_1) {
                }
            }
        } else {
            this.cr = p15.getContentResolver();
            this.mimeType = 0;
            try {
                java.io.FileInputStream v12_0 = this.cr.openInputStream(android.net.Uri.parse(this.filePath));
                com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(this.filePath, v12_0);
                this.mimeType = java.net.URLConnection.guessContentTypeFromStream(v12_0);
                com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_0);
            } catch (String v0_11) {
                com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_0);
                throw v0_11;
            } catch (String v0_9) {
                java.io.IOException v7_0 = v0_9;
                android.util.Log.e("FileProcessorThread", v7_0.getMessage(), v7_0);
                com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_0);
            } catch (String v0_8) {
                v7_0 = v0_8;
            }
            if (this.mimeType == null) {
                this.mimeType = this.cr.getType(android.net.Uri.parse(this.filePath));
            }
            try {
                android.database.Cursor v6 = this.cr.query(android.net.Uri.parse(this.filePath), 0, 0, 0, 0);
            } catch (String v0_21) {
                com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v6);
                throw v0_21;
            }
            if ((v6 != null) && (v6.moveToFirst())) {
                this.fileDisplayName = v6.getString(v6.getColumnIndex("_display_name"));
            }
            com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v6);
            String v8_1 = android.webkit.MimeTypeMap.getSingleton().getExtensionFromMimeType(this.mimeType);
            android.util.Log.i("FileProcessorThread", new StringBuilder().append("Extension: ").append(v8_1).toString());
            if (v8_1 != null) {
                this.setMediaExtension(new StringBuilder().append(".").append(v8_1).toString());
            } else {
                if (!this.mimeType.contains("/")) {
                    this.setMediaExtension(new StringBuilder().append(".").append(this.mimeType).toString());
                } else {
                    this.setMediaExtension(new StringBuilder().append(".").append(this.mimeType.split("/")[1]).toString());
                }
            }
        }
        return;
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processGooglePhotosMediaNewVideo() calling method java.io.FileInputStream.<init>()


    protected com.kbeanie.imagechooser.api.ChosenVideo processGooglePhotosMediaNewVideo(String p19, String p20)
    {
        String v13 = this.checkExtension(android.net.Uri.parse(p19));
        if ((v13 != null) && (!android.text.TextUtils.isEmpty(v13))) {
            p20 = new StringBuilder().append(".").append(v13).toString();
        }
        java.io.BufferedInputStream v5 = 0;
        java.io.BufferedOutputStream v9 = 0;
        try {
            String v8 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p20).toString();
            android.os.ParcelFileDescriptor v11 = this.context.getContentResolver().openFileDescriptor(android.net.Uri.parse(p19), "r");
            com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p19, v11);
            java.io.BufferedInputStream v6_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v11.getFileDescriptor()));
            try {
                java.io.BufferedInputStream v12_1 = new java.io.BufferedInputStream(v6_1);
                java.io.BufferedOutputStream v10_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v8));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v15_18) {
                    v9 = v10_1;
                    v5 = v6_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v9);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v9);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v5);
                    throw v15_18;
                } catch (java.io.IOException v3) {
                    v9 = v10_1;
                    v5 = v6_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v3);
                }
                while(true) {
                    int v7 = v12_1.read(v2);
                    if (v7 <= 0) {
                        break;
                    }
                    v10_1.write(v2, 0, v7);
                }
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v10_1);
                com.kbeanie.imagechooser.api.ChosenVideo v14 = this.processVideo(v8);
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v10_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v10_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v6_1);
                return v14;
            } catch (int v15_18) {
                v5 = v6_1;
            } catch (java.io.IOException v3) {
                v5 = v6_1;
            }
        } catch (int v15_18) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processGooglePhotosMediaNew() calling method java.io.FileInputStream.<init>()


    protected com.kbeanie.imagechooser.api.ChosenImage processGooglePhotosMediaNew(String p19, String p20)
    {
        String v14 = this.checkExtension(android.net.Uri.parse(p19));
        if ((v14 != null) && (!android.text.TextUtils.isEmpty(v14))) {
            p20 = new StringBuilder().append(".").append(v14).toString();
        }
        java.io.BufferedInputStream v6 = 0;
        java.io.BufferedOutputStream v10 = 0;
        try {
            String v9 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p20).toString();
            android.os.ParcelFileDescriptor v12 = this.context.getContentResolver().openFileDescriptor(android.net.Uri.parse(p19), "r");
            com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p19, v12);
            java.io.BufferedInputStream v7_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v12.getFileDescriptor()));
            try {
                java.io.BufferedInputStream v13_1 = new java.io.BufferedInputStream(v7_1);
                java.io.BufferedOutputStream v11_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v9));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v15_18) {
                    v10 = v11_1;
                    v6 = v7_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v10);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v10);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v6);
                    throw v15_18;
                } catch (java.io.IOException v3) {
                    v10 = v11_1;
                    v6 = v7_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v3);
                }
                while(true) {
                    int v8 = v13_1.read(v2);
                    if (v8 <= 0) {
                        break;
                    }
                    v11_1.write(v2, 0, v8);
                }
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v11_1);
                com.kbeanie.imagechooser.api.ChosenImage v5 = this.processImage(v9);
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v11_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v11_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v7_1);
                return v5;
            } catch (int v15_18) {
                v6 = v7_1;
            } catch (java.io.IOException v3) {
                v6 = v7_1;
            }
        } catch (int v15_18) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.processGooglePhotosMedia() calling method java.io.FileInputStream.<init>()


    protected void processGooglePhotosMedia(String p17, String p18)
    {
        String v12 = this.checkExtension(android.net.Uri.parse(p17));
        if ((v12 != null) && (!android.text.TextUtils.isEmpty(v12))) {
            p18 = new StringBuilder().append(".").append(v12).toString();
        }
        java.io.BufferedInputStream v5 = 0;
        java.io.BufferedOutputStream v8 = 0;
        try {
            this.filePath = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(p18).toString();
            android.os.ParcelFileDescriptor v10 = this.context.getContentResolver().openFileDescriptor(android.net.Uri.parse(p17), "r");
            com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(p17, v10);
            java.io.BufferedInputStream v6_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v10.getFileDescriptor()));
            try {
                java.io.BufferedInputStream v11_1 = new java.io.BufferedInputStream(v6_1);
                java.io.BufferedOutputStream v9_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(this.filePath));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v13_19) {
                    v8 = v9_1;
                    v5 = v6_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v8);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v8);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v5);
                    throw v13_19;
                } catch (java.io.IOException v3) {
                    v8 = v9_1;
                    v5 = v6_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v3);
                }
                while(true) {
                    int v7 = v11_1.read(v2);
                    if (v7 <= 0) {
                        break;
                    }
                    v9_1.write(v2, 0, v7);
                }
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v9_1);
                this.process();
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v9_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v9_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v6_1);
                return;
            } catch (int v13_19) {
                v5 = v6_1;
            } catch (java.io.IOException v3) {
                v5 = v6_1;
            }
        } catch (int v13_19) {
        } catch (java.io.IOException v3) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.copyFileToDir() calling method java.io.FileInputStream.<init>()


    private void copyFileToDir()
    {
        java.io.BufferedOutputStream v7 = 0;
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(android.net.Uri.parse(this.filePath).getPath());
            java.io.File v3_0 = new java.io.File(new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(v5_1.getName()).toString());
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1));
            try {
                java.io.BufferedOutputStream v8_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_0));
                try {
                    byte[] v2 = new byte[2048];
                } catch (String v9_12) {
                    v0 = v1_1;
                    v7 = v8_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v7);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v0);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v7);
                    throw v9_12;
                } catch (java.io.IOException v4) {
                    v0 = v1_1;
                    v7 = v8_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v4);
                }
                while(true) {
                    int v6 = v1_1.read(v2);
                    if (v6 <= 0) {
                        break;
                    }
                    v8_1.write(v2, 0, v6);
                }
                this.filePath = v3_0.getAbsolutePath();
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v8_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v1_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v8_1);
                return;
            } catch (String v9_12) {
                v0 = v1_1;
            } catch (java.io.IOException v4) {
                v0 = v1_1;
            }
        } catch (String v9_12) {
        } catch (java.io.IOException v4) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.copyFileToDir() calling method java.io.FileInputStream.<init>()


    private String copyFileToDir(String p12)
    {
        java.io.BufferedOutputStream v7 = 0;
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(android.net.Uri.parse(p12).getPath());
            java.io.File v3_0 = new java.io.File(new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(v5_1.getName()).toString());
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1));
            try {
                java.io.BufferedOutputStream v8_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_0));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v9_10) {
                    v0 = v1_1;
                    v7 = v8_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v7);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v0);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v7);
                    throw v9_10;
                } catch (java.io.IOException v4) {
                    v0 = v1_1;
                    v7 = v8_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v4);
                }
                while(true) {
                    int v6 = v1_1.read(v2);
                    if (v6 <= 0) {
                        break;
                    }
                    v8_1.write(v2, 0, v6);
                }
                String v12_1 = v3_0.getAbsolutePath();
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v8_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v1_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v8_1);
                return v12_1;
            } catch (int v9_10) {
                v0 = v1_1;
            } catch (java.io.IOException v4) {
                v0 = v1_1;
            }
        } catch (int v9_10) {
        } catch (java.io.IOException v4) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.compressAndSaveImage() calling method java.io.FileInputStream.<init>()


    private String compressAndSaveImage(String p26, int p27)
    {
        java.io.FileOutputStream v21 = 0;
        try {
            android.graphics.BitmapFactory$Options v16_1 = new android.graphics.BitmapFactory$Options();
            v16_1.inJustDecodeBounds = 1;
            java.io.BufferedInputStream v9_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(p26));
            android.graphics.Bitmap v2_1 = android.graphics.BitmapFactory.decodeStream(v9_0, 0, v16_1);
        } catch (int v3_10) {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v21);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v21);
            throw v3_10;
        } catch (Exception v11) {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v21);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v21);
            return p26;
        } catch (Exception v11) {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v21);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v21);
            return p26;
        }
        if (v2_1 != null) {
            v2_1.recycle();
        }
        if (v9_0 != null) {
            v9_0.close();
        }
        int v23 = v16_1.outWidth;
        int v14 = v16_1.outHeight;
        int v19 = 0;
        switch (new android.media.ExifInterface(p26).getAttributeInt("Orientation", 1)) {
            case 3:
                v19 = 180;
            case 4:
            case 5:
            case 7:
            default:
                break;
            case 4:
            case 5:
            case 7:
                break;
            case 6:
                v19 = 90;
            case 4:
            case 5:
            case 7:
                break;
            case 8:
                v19 = -90;
                break;
        }
        int v24;
        if (v23 <= v14) {
            v24 = v14;
        } else {
            v24 = v23;
        }
        android.graphics.BitmapFactory$Options v15_1 = new android.graphics.BitmapFactory$Options();
        if (v24 <= 3000) {
            if ((v24 <= 2000) || (v24 > 3000)) {
                if ((v24 <= 1500) || (v24 > 2000)) {
                    if ((v24 <= 1000) || (v24 > 1500)) {
                        if ((v24 <= 400) || (v24 > 1000)) {
                            v15_1.inSampleSize = p27;
                        } else {
                            v15_1.inSampleSize = (p27 * 2);
                        }
                    } else {
                        v15_1.inSampleSize = (p27 * 3);
                    }
                } else {
                    v15_1.inSampleSize = (p27 * 4);
                }
            } else {
                v15_1.inSampleSize = (p27 * 5);
            }
        } else {
            v15_1.inSampleSize = (p27 * 6);
        }
        v15_1.inJustDecodeBounds = 0;
        java.io.BufferedInputStream v20 = new java.io.BufferedInputStream;
        v20(new java.io.FileInputStream(p26));
        android.graphics.Bitmap v2_0 = android.graphics.BitmapFactory.decodeStream(v20, 0, v15_1);
        v20.close();
        if (v2_0 != null) {
            java.io.File v18 = new java.io.File;
            v18(p26);
            java.io.File v13_1 = new java.io.File(new StringBuilder().append(v18.getParent()).append(java.io.File.separator).append(v18.getName().replace(".", new StringBuilder().append("_fact_").append(p27).append(".").toString())).toString());
            java.io.FileOutputStream v22 = new java.io.FileOutputStream;
            v22(v13_1);
            if (v19 != 0) {
                try {
                    android.graphics.Matrix v7_1 = new android.graphics.Matrix();
                    v7_1.setRotate(((float) v19));
                    v2_0 = android.graphics.Bitmap.createBitmap(v2_0, 0, 0, v2_0.getWidth(), v2_0.getHeight(), v7_1, 0);
                } catch (int v3_10) {
                    v21 = v22;
                } catch (Exception v11) {
                    v21 = v22;
                } catch (Exception v11) {
                    v21 = v22;
                }
            }
            v2_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v22);
            p26 = v13_1.getAbsolutePath();
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v22);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v22);
            return p26;
        } else {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            return p26;
        }
    }

Method com.kbeanie.imagechooser.api.ChosenMedia.getBitmap() calling method java.io.FileInputStream.<init>()


    protected ref.SoftReference getBitmap(String p6)
    {
        try {
            ref.SoftReference v0 = new ref.SoftReference(android.graphics.BitmapFactory.decodeStream(new java.io.FileInputStream(new java.io.File(p6))));
        } catch (java.io.FileNotFoundException v2) {
            v2.printStackTrace();
        }
        return v0;
    }

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


    final void zzBI()
    {
        if (this.zzbFV != null) {
            com.google.android.gms.tagmanager.zzdj.v("Attempting to load resource from disk");
            if (((com.google.android.gms.tagmanager.zzei.zzBD().zzBE() != com.google.android.gms.tagmanager.zzei$zza.zzbFK) && (com.google.android.gms.tagmanager.zzei.zzBD().zzBE() != com.google.android.gms.tagmanager.zzei$zza.zzbFL)) || (!this.zzbDw.equals(com.google.android.gms.tagmanager.zzei.zzBD().getContainerId()))) {
                try {
                    String v1_4 = new java.io.FileInputStream(this.zzBJ());
                    try {
                        String v0_10 = new java.io.ByteArrayOutputStream();
                        com.google.android.gms.internal.eg.zzb(v1_4, v0_10);
                        String v0_13 = ((com.google.android.gms.internal.ee) com.google.android.gms.internal.adp.zza(new com.google.android.gms.internal.ee(), v0_10.toByteArray()));
                    } catch (String v0_26) {
                        try {
                            v1_4.close();
                        } catch (String v1) {
                            com.google.android.gms.tagmanager.zzdj.zzaT("Error closing stream for reading resource from disk");
                        }
                        throw v0_26;
                    } catch (String v0) {
                        this.zzbFV.zzbw(com.google.android.gms.tagmanager.zzda.zzbFi);
                        com.google.android.gms.tagmanager.zzdj.zzaT("Failed to read the resource from disk");
                        try {
                            v1_4.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzdj.zzaT("Error closing stream for reading resource from disk");
                        }
                        com.google.android.gms.tagmanager.zzdj.v("The Disk resource was successfully read.");
                    } catch (String v0) {
                        this.zzbFV.zzbw(com.google.android.gms.tagmanager.zzda.zzbFi);
                        com.google.android.gms.tagmanager.zzdj.zzaT("Failed to read the resource from disk. The resource is inconsistent");
                        try {
                            v1_4.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzdj.zzaT("Error closing stream for reading resource from disk");
                        }
                    }
                    if ((v0_13.zzlB != null) || (v0_13.zzbLH != null)) {
                        this.zzbFV.onSuccess(v0_13);
                        try {
                            v1_4.close();
                        } catch (String v0) {
                            com.google.android.gms.tagmanager.zzdj.zzaT("Error closing stream for reading resource from disk");
                        }
                    } else {
                        throw new IllegalArgumentException("Resource and SupplementedResource are NULL.");
                    }
                } catch (String v0) {
                    com.google.android.gms.tagmanager.zzdj.zzaC("Failed to find the resource in the disk");
                    this.zzbFV.zzbw(com.google.android.gms.tagmanager.zzda.zzbFh);
                }
            } else {
                this.zzbFV.zzbw(com.google.android.gms.tagmanager.zzda.zzbFh);
            }
            return;
        } else {
            throw new IllegalStateException("Callback must be set before execute");
        }
    }

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


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

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


    private final void zza(java.io.File p12, String p13)
    {
        java.io.IOException v1_0 = 0;
        java.io.IOException v2_3 = new Object[2];
        v2_3[0] = p12;
        v2_3[1] = p13;
        int v3_0 = new java.io.File(String.format("%s/%s.tmp", v2_3));
        if (!v3_0.exists()) {
            java.io.IOException v2_0 = new Object[2];
            v2_0[0] = p12;
            v2_0[1] = p13;
            java.io.File v4_1 = new java.io.File(String.format("%s/%s.dex", v2_0));
            if (v4_1.exists()) {
                com.google.android.gms.internal.zzcw v6_1 = v4_1.length();
                if (v6_1 > 0) {
                    java.io.IOException v0_8 = new byte[((int) v6_1)];
                    try {
                        java.io.IOException v2_2 = new java.io.FileInputStream(v4_1);
                        try {
                            if (v2_2.read(v0_8) > 0) {
                                int v5_3 = new com.google.android.gms.internal.zzbc();
                                v5_3.zzcG = android.os.Build$VERSION.SDK.getBytes();
                                v5_3.zzcF = p13.getBytes();
                                java.io.IOException v0_12 = this.zzqH.zzc(this.zzqI, v0_8).getBytes();
                                v5_3.data = v0_12;
                                v5_3.zzcE = com.google.android.gms.internal.zzbv.zzb(v0_12);
                                v3_0.createNewFile();
                                java.io.IOException v0_9 = new java.io.FileOutputStream(v3_0);
                                try {
                                    java.io.IOException v1_1 = com.google.android.gms.internal.adp.zzc(v5_3);
                                    v0_9.write(v1_1, 0, v1_1.length);
                                    v0_9.close();
                                    try {
                                        v2_2.close();
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                        com.google.android.gms.internal.zzdb.zza(v4_1);
                                    } catch (java.io.IOException v1) {
                                    }
                                } catch (java.io.IOException v1_2) {
                                    v1_0 = v0_9;
                                    java.io.IOException v0_1 = v1_2;
                                    if (v2_2 != null) {
                                        try {
                                            v2_2.close();
                                        } catch (java.io.IOException v2) {
                                        }
                                    }
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    com.google.android.gms.internal.zzdb.zza(v4_1);
                                    throw v0_1;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    if (v0_9 != null) {
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                    }
                                    com.google.android.gms.internal.zzdb.zza(v4_1);
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                }
                            } else {
                                try {
                                    v2_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                com.google.android.gms.internal.zzdb.zza(v4_1);
                            }
                        } catch (java.io.IOException v0_1) {
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_2 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    }
                }
            }
        }
        return;
    }

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


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

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


    public final declared_synchronized void initialize()
    {
        try {
            if (this.zzax.exists()) {
                String v3_2 = this.zzax.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.zzai.zzf(v0_2);
                                v1_2.size = v5.length();
                                this.zza(v1_2.key, v1_2);
                                try {
                                    v0_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                v2_0++;
                            } catch (java.io.IOException v1) {
                                if (v5 != null) {
                                    v5.delete();
                                }
                                if (v0_2 == null) {
                                } else {
                                    try {
                                        v0_2.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                            }
                        } catch (java.io.IOException v0_3) {
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            throw v0_3;
                        } catch (java.io.IOException v0) {
                            v0_2 = 0;
                        } catch (java.io.IOException v1_4) {
                            v1_1 = v0_2;
                            v0_3 = v1_4;
                        }
                    }
                }
            } else {
                if (!this.zzax.mkdirs()) {
                    java.io.IOException v1_7 = new Object[1];
                    v1_7[0] = this.zzax.getAbsolutePath();
                    com.google.android.gms.internal.zzab.zzc("Unable to create cache dir %s", v1_7);
                }
            }
        } catch (java.io.IOException v0_8) {
            throw v0_8;
        }
        return;
    }

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


    final void zzb(String p4, com.google.android.gms.internal.cc p5)
    {
        com.google.android.gms.internal.zzcvk.v("Starting to load a saved resource file from Disk.");
        try {
            p5.zzv(com.google.android.gms.internal.co.zzj(new java.io.FileInputStream(this.zzfS(p4))));
        } catch (int v0) {
            int v0_2 = String.valueOf(com.google.android.gms.internal.co.zzfT(p4));
            if (v0_2.length() == 0) {
                int v0_4 = new String("Saved resource not found: ");
            } else {
                v0_4 = "Saved resource not found: ".concat(v0_2);
            }
            com.google.android.gms.internal.zzcvk.e(v0_4);
            p5.zzk(0, 1);
        }
        return;
    }

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


    public final byte[] readFully()
    {
        java.io.IOException v0_0 = 0;
        if (!this.isClosed()) {
            v0_0 = 1;
        }
        com.google.android.gms.common.internal.zzbo.zza(v0_0, "Must provide a previously opened Snapshot");
        try {
            String v2_1 = new java.io.FileInputStream(this.zzaOg.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.zzn.zza(v0_4, 0);
        v2_1.getChannel().position(0);
        return v0_5;
    }

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


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

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


    public final java.io.InputStream getModifiedContentsInputStream()
    {
        java.io.FileInputStream v0_1;
        this.zzsY();
        if (this.zzaMX != null) {
            if (!this.zzaNc) {
                this.zzaNc = 1;
                v0_1 = new java.io.FileInputStream(this.zzaMX.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 final java.io.InputStream getBaseContentsInputStream()
    {
        java.io.FileInputStream v0_1;
        this.zzsY();
        if (this.zzaMW != null) {
            if (!this.zzaNb) {
                this.zzaNb = 1;
                v0_1 = new java.io.FileInputStream(this.zzaMW.getFileDescriptor());
            } else {
                throw new IllegalStateException("getBaseInputStream() can only be called once per CompletionEvent instance.");
            }
        } else {
            v0_1 = 0;
        }
        return v0_1;
    }

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.bumptech.glide.load.model.FileLoader$StreamFactory$1.open() calling method java.io.FileInputStream.<init>()


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

Method com.bumptech.glide.disklrucache.DiskLruCache.readJournal() calling method java.io.FileInputStream.<init>()


    private void readJournal()
    {
        com.bumptech.glide.disklrucache.StrictLineReader v5_1 = new com.bumptech.glide.disklrucache.StrictLineReader(new java.io.FileInputStream(this.journalFile), com.bumptech.glide.disklrucache.Util.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 (java.io.BufferedWriter v8_23) {
            com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
            throw v8_23;
        }
        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());
                if (!v5_1.hasUnterminatedLine()) {
                    this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.bumptech.glide.disklrucache.Util.US_ASCII));
                } else {
                    this.rebuildJournal();
                }
                com.bumptech.glide.disklrucache.Util.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.bumptech.glide.disklrucache.DiskLruCache$Value.getString() calling method java.io.FileInputStream.<init>()


    public String getString(int p3)
    {
        return com.bumptech.glide.disklrucache.DiskLruCache.access$1800(new java.io.FileInputStream(this.files[p3]));
    }

Method com.bumptech.glide.disklrucache.DiskLruCache$Editor.newInputStream() calling method java.io.FileInputStream.<init>()


    private java.io.InputStream newInputStream(int p6)
    {
        java.io.FileInputStream v1_0 = 0;
        try {
            if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$800(this.entry) == this) {
                if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$700(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 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 android.support.v4.graphics.TypefaceCompatUtil.mmap() calling method java.io.FileInputStream.<init>()


    private static java.nio.ByteBuffer mmap(java.io.File p11)
    {
        java.io.FileInputStream v7_1 = new java.io.FileInputStream(p11);
        try {
            java.nio.channels.FileChannel v0 = v7_1.getChannel();
            Throwable v1_0 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0.size());
        } catch (Throwable v1_2) {
            Throwable v2_1 = 0;
            if (v7_1 != null) {
                if (v2_1 == null) {
                    v7_1.close();
                } else {
                    v7_1.close();
                }
            }
            throw v1_2;
        } catch (Throwable v1_1) {
            try {
                throw v1_1;
            } catch (Throwable v2_0) {
                v2_1 = v1_1;
                v1_2 = v2_0;
            }
        }
        if (v7_1 == null) {
            return v1_0;
        } else {
            if (0 == 0) {
                v7_1.close();
                return v1_0;
            } else {
                try {
                    v7_1.close();
                } catch (Throwable v2_2) {
                    0.addSuppressed(v2_2);
                }
                return v1_0;
            }
        }
    }

Method android.support.v4.graphics.TypefaceCompatUtil.mmap() calling method java.io.FileInputStream.<init>()


    public static java.nio.ByteBuffer mmap(android.content.Context p13, android.os.CancellationSignal p14, android.net.Uri p15)
    {
        try {
            android.os.ParcelFileDescriptor v8 = p13.getContentResolver().openFileDescriptor(p15, "r", p14);
            try {
                java.io.FileInputStream v7_1 = new java.io.FileInputStream(v8.getFileDescriptor());
                try {
                    java.nio.channels.FileChannel v0 = v7_1.getChannel();
                    Throwable v1_1 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0.size());
                } catch (Throwable v1_4) {
                    Throwable v2_2 = 0;
                    if (v7_1 != null) {
                        if (v2_2 == null) {
                            v7_1.close();
                        } else {
                            v7_1.close();
                        }
                    }
                    throw v1_4;
                } catch (Throwable v1_3) {
                    try {
                        throw v1_3;
                    } catch (Throwable v2_1) {
                        v2_2 = v1_3;
                        v1_4 = v2_1;
                    }
                }
                if (v7_1 != null) {
                    if (0 == 0) {
                        v7_1.close();
                    } else {
                        try {
                            v7_1.close();
                        } catch (Throwable v2_3) {
                            0.addSuppressed(v2_3);
                        }
                    }
                }
                if (v8 == null) {
                    return v1_1;
                } else {
                    if (0 == 0) {
                        v8.close();
                        return v1_1;
                    } else {
                        try {
                            v8.close();
                        } catch (Throwable v2_6) {
                            0.addSuppressed(v2_6);
                        }
                        return v1_1;
                    }
                }
            } catch (Throwable v1_6) {
                Throwable v2_5 = 0;
                if (v8 != null) {
                    if (v2_5 == null) {
                        v8.close();
                    } else {
                        try {
                            v8.close();
                        } catch (Throwable v3_1) {
                            v2_5.addSuppressed(v3_1);
                        }
                    }
                }
                throw v1_6;
            } catch (Throwable v1_5) {
                try {
                    throw v1_5;
                } catch (Throwable v2_4) {
                    v2_5 = v1_5;
                    v1_6 = v2_4;
                }
            }
        } catch (java.io.IOException v6) {
            v1_1 = 0;
            return v1_1;
        }
    }

Method android.support.v4.graphics.TypefaceCompatApi21Impl.createFromFontInfo() calling method java.io.FileInputStream.<init>()


    public android.graphics.Typeface createFromFontInfo(android.content.Context p12, android.os.CancellationSignal p13, android.support.v4.provider.FontsContractCompat$FontInfo[] p14, int p15)
    {
        Throwable v6_2;
        if (p14.length >= 1) {
            try {
                android.os.ParcelFileDescriptor v4 = p12.getContentResolver().openFileDescriptor(this.findBestInfo(p14, p15).getUri(), "r", p13);
                try {
                    java.io.File v2 = this.getFile(v4);
                } catch (Throwable v6_6) {
                    Throwable v7_4 = 0;
                    if (v4 != null) {
                        if (v7_4 == null) {
                            v4.close();
                        } else {
                            v4.close();
                        }
                    }
                    throw v6_6;
                } catch (Throwable v6_5) {
                    try {
                        throw v6_5;
                    } catch (Throwable v7_3) {
                        v7_4 = v6_5;
                        v6_6 = v7_3;
                    }
                }
                if ((v2 != null) && (v2.canRead())) {
                    v6_2 = android.graphics.Typeface.createFromFile(v2);
                    if (v4 != null) {
                        if (0 == 0) {
                            v4.close();
                        } else {
                            try {
                                v4.close();
                            } catch (Throwable v7_1) {
                                0.addSuppressed(v7_1);
                            }
                        }
                    }
                } else {
                    java.io.FileInputStream v3_1 = new java.io.FileInputStream(v4.getFileDescriptor());
                    Throwable v7_2 = 0;
                    try {
                        v6_2 = super.createFromInputStream(p12, v3_1);
                    } catch (Throwable v7_2) {
                        throw v7_2;
                    } catch (Throwable v6_4) {
                        if (v3_1 != null) {
                            if (v7_2 == null) {
                                v3_1.close();
                            } else {
                                v3_1.close();
                            }
                        }
                        throw v6_4;
                    }
                    if (v3_1 != null) {
                        if (0 == 0) {
                            v3_1.close();
                        } else {
                            try {
                                v3_1.close();
                            } catch (Throwable v9_1) {
                                0.addSuppressed(v9_1);
                            }
                        }
                    }
                    if (v4 != null) {
                        if (0 == 0) {
                            v4.close();
                        } else {
                            try {
                                v4.close();
                            } catch (Throwable v7_5) {
                                0.addSuppressed(v7_5);
                            }
                        }
                    }
                }
            } catch (java.io.IOException v1) {
                v6_2 = 0;
            }
        } else {
            v6_2 = 0;
        }
        return v6_2;
    }

Method com.splunk.mint.Utils.readFile() calling method java.io.FileReader.<init>()


    protected static String readFile(String p7)
    {
        if (p7 != null) {
            StringBuilder v4_1 = new StringBuilder();
            java.io.BufferedReader v1 = 0;
            try {
                java.io.BufferedReader v2_1 = new java.io.BufferedReader(new java.io.FileReader(p7));
                try {
                    while(true) {
                        String v3 = v2_1.readLine();
                        v4_1.append(v3);
                    }
                    if (v2_1 != null) {
                        try {
                            v2_1.close();
                        } catch (java.io.IOException v0_2) {
                            throw v0_2;
                        }
                    }
                    return v4_1.toString();
                } catch (String v5_0) {
                    v1 = v2_1;
                    if (v1 != null) {
                        try {
                            v1.close();
                        } catch (java.io.IOException v0_1) {
                            throw v0_1;
                        }
                    }
                    throw v5_0;
                } catch (java.io.IOException v0_0) {
                    v1 = v2_1;
                    throw v0_0;
                }
                if (v3 != null) {
                }
            } catch (String v5_0) {
            } catch (java.io.IOException v0_0) {
            }
        } else {
            throw new IllegalArgumentException("filePath Argument is null");
        }
    }

Method com.splunk.mint.CrashInfo.getTotalCrashesNum() calling method java.io.FileReader.<init>()


    protected static int getTotalCrashesNum()
    {
        int v5_0 = 0;
        Integer v2_0 = Integer.valueOf(0);
        if (com.splunk.mint.Properties.FILES_PATH != null) {
            java.io.File v4_0 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("crashCounter").toString());
            if ((v4_0 != null) && (!v4_0.exists())) {
                try {
                    v4_0.createNewFile();
                    v5_0 = v2_0.intValue();
                } catch (java.io.IOException v3_0) {
                    v3_0.printStackTrace();
                }
                return v5_0;
            }
            java.io.BufferedReader v0 = 0;
            try {
                java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(v4_0));
                try {
                    Integer v2_1 = Integer.valueOf(Integer.parseInt(v1_1.readLine().trim()));
                } catch (int v5_1) {
                    v0 = v1_1;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_3) {
                            v3_3.printStackTrace();
                        }
                    }
                    throw v5_1;
                } catch (java.io.IOException v3) {
                    v2_1 = Integer.valueOf(0);
                } catch (java.io.IOException v3_1) {
                    v0 = v1_1;
                    com.splunk.mint.Logger.logWarning("There was a problem getting the crash counter");
                    if (com.splunk.mint.Mint.DEBUG) {
                        v3_1.printStackTrace();
                    }
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_2) {
                            v3_2.printStackTrace();
                        }
                    }
                }
                v5_0 = v2_1.intValue();
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v3_4) {
                        v3_4.printStackTrace();
                    }
                }
            } catch (int v5_1) {
            } catch (java.io.IOException v3_1) {
            }
        } else {
            com.splunk.mint.Logger.logWarning("Please use getTotalCrashesNum after initializing the plugin! Returning 0.");
        }
        return v5_0;
    }

Method com.splunk.mint.CrashInfo.getLastCrashID() calling method java.io.FileReader.<init>()


    protected static String getLastCrashID()
    {
        Throwable v2;
        java.io.File v4_0 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("lastCrashID").toString());
        if ((v4_0 == null) || (v4_0.exists())) {
            java.io.BufferedReader v0 = 0;
            try {
                java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(v4_0));
                try {
                    v2 = v1_1.readLine().trim();
                } catch (Throwable v5_1) {
                    v0 = v1_1;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_4) {
                            v3_4.printStackTrace();
                        }
                    }
                    throw v5_1;
                } catch (java.io.IOException v3_2) {
                    try {
                        v3_2.printStackTrace();
                        v2 = 0;
                    } catch (java.io.IOException v3_1) {
                        v0 = v1_1;
                        com.splunk.mint.Logger.logWarning("There was a problem getting the last crash id");
                        if (com.splunk.mint.Mint.DEBUG) {
                            v3_1.printStackTrace();
                        }
                        if (v0 != null) {
                            try {
                                v0.close();
                            } catch (java.io.IOException v3_3) {
                                v3_3.printStackTrace();
                            }
                        }
                        v2 = 0;
                    }
                }
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v3_5) {
                        v3_5.printStackTrace();
                    }
                }
            } catch (Throwable v5_1) {
            } catch (java.io.IOException v3_1) {
            }
        } else {
            try {
                v4_0.createNewFile();
                v2 = 0;
            } catch (java.io.IOException v3_0) {
                v3_0.printStackTrace();
            }
        }
        return v2;
    }

Method com.splunk.mint.CrashInfo$2.run() calling method java.io.FileReader.<init>()


    public void run()
    {
        java.io.File v6_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("crashCounter").toString());
        if ((v6_1 != null) && (!v6_1.exists())) {
            try {
                v6_1.createNewFile();
            } catch (java.io.IOException v5_1) {
                v5_1.printStackTrace();
            }
        }
        java.io.BufferedReader v0 = 0;
        java.io.BufferedWriter v2 = 0;
        try {
            java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(v6_1));
            try {
                Integer.valueOf(0);
                try {
                    Integer v4_0 = Integer.valueOf(Integer.parseInt(v1_1.readLine().trim()));
                } catch (java.io.IOException v5) {
                    v4_0 = Integer.valueOf(0);
                }
                Integer v4_1 = Integer.valueOf((v4_0.intValue() + 1));
                java.io.BufferedWriter v3_1 = new java.io.BufferedWriter(new java.io.FileWriter(v6_1));
                try {
                    v3_1.write(String.valueOf(v4_1));
                    v3_1.newLine();
                    v3_1.flush();
                    v3_1.close();
                } catch (Throwable v7_17) {
                    v2 = v3_1;
                    v0 = v1_1;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v5_5) {
                            v5_5.printStackTrace();
                        }
                    }
                    if (v2 != null) {
                        try {
                            v2.close();
                        } catch (java.io.IOException v5_6) {
                            v5_6.printStackTrace();
                        }
                    }
                    throw v7_17;
                } catch (java.io.IOException v5_2) {
                    v2 = v3_1;
                    v0 = v1_1;
                    com.splunk.mint.Logger.logWarning("There was a problem saving the crash counter");
                    if (com.splunk.mint.Mint.DEBUG) {
                        v5_2.printStackTrace();
                    }
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v5_3) {
                            v5_3.printStackTrace();
                        }
                    }
                    if (v2 == null) {
                        return;
                    } else {
                        try {
                            v2.close();
                        } catch (java.io.IOException v5_4) {
                            v5_4.printStackTrace();
                        }
                        return;
                    }
                }
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v5_7) {
                        v5_7.printStackTrace();
                    }
                }
                if (v3_1 == null) {
                    v0 = v1_1;
                    return;
                } else {
                    try {
                        v3_1.close();
                        v0 = v1_1;
                    } catch (java.io.IOException v5_0) {
                        v5_0.printStackTrace();
                        v0 = v1_1;
                    }
                    return;
                }
            } catch (Throwable v7_17) {
                v0 = v1_1;
            } catch (java.io.IOException v5_2) {
                v0 = v1_1;
            }
        } catch (Throwable v7_17) {
        } catch (java.io.IOException v5_2) {
        }
    }

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


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

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


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

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


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

Method com.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.squareup.okhttp.internal.DiskLruCache.open() calling method java.io.File.<init>()


    public static com.squareup.okhttp.internal.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.squareup.okhttp.internal.DiskLruCache.renameTo(v6_1, v8_1, 0);
                    } else {
                        v6_1.delete();
                    }
                }
                void v7;
                void v0_1 = new com.squareup.okhttp.internal.DiskLruCache(p11, p12, p13, p14);
                if (!v0_1.journalFile.exists()) {
                    p11.mkdirs();
                    v7 = new com.squareup.okhttp.internal.DiskLruCache(p11, p12, p13, p14).rebuildJournal();
                } else {
                    try {
                        void v0_3 = v0_1.readJournal().processJournal();
                        v0_3.journalWriter = okio.Okio.buffer(okio.Okio.sink(new java.io.FileOutputStream(v0_3.journalFile, 1)));
                        v7 = v0_3;
                    } catch (java.io.IOException v9) {
                        com.squareup.okhttp.internal.Platform.get().logW(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.squareup.okhttp.internal.DiskLruCache.<init>() calling method java.io.File.<init>()


    private DiskLruCache(java.io.File p11, int p12, int p13, long p14)
    {
        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(), com.squareup.okhttp.internal.Util.threadFactory("OkHttp DiskLruCache", 1));
        this.cleanupRunnable = new com.squareup.okhttp.internal.DiskLruCache$1(this);
        this.directory = p11;
        this.appVersion = p12;
        this.journalFile = new java.io.File(p11, "journal");
        this.journalFileTmp = new java.io.File(p11, "journal.tmp");
        this.journalFileBackup = new java.io.File(p11, "journal.bkp");
        this.valueCount = p13;
        this.maxSize = p14;
        return;
    }

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


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

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


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

Method com.splunk.mint.Utils.shouldSendPing() calling method java.io.File.<init>()


    protected static declared_synchronized boolean shouldSendPing(android.content.Context p14)
    {
        try {
            int v6;
            java.io.File v0_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append(".setForceSendPingOnNextStart").toString());
        } catch (long v7_11) {
            throw v7_11;
        }
        if ((v0_1 == null) || (!v0_1.exists())) {
            v6 = 1;
            if (p14 != null) {
                android.content.SharedPreferences v1 = p14.getSharedPreferences("Mint", 0);
                if (v1 != null) {
                    if ((System.currentTimeMillis() - v1.getLong("LASTPINGTIME", 0)) <= ((long) (com.splunk.mint.Properties$RemoteSettingsProps.sessionTime.intValue() * 1000))) {
                        v6 = 0;
                    } else {
                        v6 = 1;
                    }
                    if (v6 != 0) {
                        com.splunk.mint.Utils.setLastPingSentTime(p14);
                    }
                }
            }
        } else {
            v0_1.delete();
            v6 = 1;
        }
        return v6;
    }

Method com.splunk.mint.Utils.checkForRoot() calling method java.io.File.<init>()


    protected static boolean checkForRoot()
    {
        int v4 = 0;
        String[] v2 = new String[8];
        v2[0] = "/sbin/";
        v2[1] = "/system/bin/";
        v2[2] = "/system/xbin/";
        v2[3] = "/data/local/xbin/";
        v2[4] = "/data/local/bin/";
        v2[5] = "/system/sd/xbin/";
        v2[6] = "/system/bin/failsafe/";
        v2[7] = "/data/local/";
        String[] v0 = v2;
        int v5 = 0;
        while (v5 < v0.length) {
            if (!new java.io.File(new StringBuilder().append(v0[v5]).append("su").toString()).exists()) {
                v5++;
            } else {
                v4 = 1;
                break;
            }
        }
        return v4;
    }

Method com.splunk.mint.Utils$1.run() calling method java.io.File.<init>()


    public void run()
    {
        java.io.File v1_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append(".setForceSendPingOnNextStart").toString());
        if ((v1_1 != null) && (!v1_1.exists())) {
            try {
                v1_1.createNewFile();
            } catch (java.io.IOException v0) {
                v0.printStackTrace();
            }
        }
        return;
    }

Method com.splunk.mint.DataSaver.saveLastSavedName() calling method java.io.File.<init>()


    private declared_synchronized void saveLastSavedName(String p7)
    {
        try {
            java.io.File v3_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/Mint-lastsavedfile").toString());
        } catch (Throwable v4_11) {
            throw v4_11;
        }
        if ((v3_1 != null) && (!v3_1.exists())) {
            try {
                v3_1.delete();
                v3_1.createNewFile();
            } catch (java.io.IOException v2_0) {
                v2_0.printStackTrace();
            }
        }
        java.io.BufferedWriter v0 = 0;
        try {
            java.io.BufferedWriter v1_1 = new java.io.BufferedWriter(new java.io.FileWriter(v3_1));
            try {
                v1_1.write(p7.trim());
                v1_1.flush();
                v1_1.close();
            } catch (Throwable v4_9) {
                v0 = v1_1;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2_3) {
                        v2_3.printStackTrace();
                    }
                }
                throw v4_9;
            } catch (java.io.IOException v2_1) {
                v0 = v1_1;
                com.splunk.mint.Logger.logWarning("There was a problem saving the last saved file name");
                if (com.splunk.mint.Mint.DEBUG) {
                    v2_1.printStackTrace();
                }
                if (v0 == null) {
                    return;
                } else {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2_2) {
                        v2_2.printStackTrace();
                    }
                    return;
                }
            }
            if (v1_1 == null) {
                return;
            } else {
                try {
                    v1_1.close();
                } catch (java.io.IOException v2_4) {
                    v2_4.printStackTrace();
                }
                return;
            }
        } catch (Throwable v4_9) {
        } catch (java.io.IOException v2_1) {
        }
    }

Method com.splunk.mint.DataSaver.getLastSavedName() calling method java.io.File.<init>()


    private declared_synchronized String getLastSavedName()
    {
        try {
            try {
                int v2_4 = com.splunk.mint.Utils.readFile(new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/Mint-lastsavedfile").toString()).getAbsolutePath()).trim();
            } catch (Exception v0) {
                v2_4 = 0;
            }
            return v2_4;
        } catch (int v2_6) {
            throw v2_6;
        }
    }

Method com.splunk.mint.DataSaver$1.run() calling method java.io.File.<init>()


    public void run()
    {
        if (!com.splunk.mint.Properties.USER_OPTEDOUT) {
            java.io.File v4_1;
            String v6 = com.splunk.mint.DataSaver.access$000(this.this$0);
            if ((v6 != null) && (v6.length() != 0)) {
                v4_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append(v6).toString());
            } else {
                v4_1 = new java.io.File(com.splunk.mint.SplunkFileFilter.createNewFile());
            }
            int v5 = 0;
            if (v4_1.length() >= 140000) {
                v4_1 = new java.io.File(com.splunk.mint.SplunkFileFilter.createNewFile());
                v5 = 1;
            }
            com.splunk.mint.DataSaverResponse v2_1 = new com.splunk.mint.DataSaverResponse(this.val$jsonData, v4_1.getAbsolutePath());
            if ((v4_1 != null) && (!v4_1.exists())) {
                try {
                    v4_1.createNewFile();
                } catch (java.io.IOException v3_2) {
                    v3_2.printStackTrace();
                }
            }
            java.io.BufferedWriter v0 = 0;
            try {
                java.io.BufferedWriter v1_1 = new java.io.BufferedWriter(new java.io.FileWriter(v4_1, 1));
                try {
                    v1_1.append(this.val$jsonData);
                    v1_1.flush();
                    v1_1.close();
                    com.splunk.mint.DataSaver.access$100(this.this$0, v4_1.getName());
                } catch (com.splunk.mint.DataFlusher v7_26) {
                    v0 = v1_1;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_0) {
                            v3_0.printStackTrace();
                        }
                    }
                    v2_1.setSavedSuccessfully(Boolean.valueOf(1));
                    if (com.splunk.mint.Mint.mintCallback != null) {
                        com.splunk.mint.Mint.mintCallback.dataSaverResponse(v2_1);
                    }
                    if (v5 != 0) {
                        new com.splunk.mint.DataFlusher().send();
                    }
                    throw v7_26;
                } catch (java.io.IOException v3_3) {
                    v0 = v1_1;
                    v3_3.printStackTrace();
                    v2_1.setException(v3_3);
                    v2_1.setSavedSuccessfully(Boolean.valueOf(0));
                    if (com.splunk.mint.Mint.mintCallback != null) {
                        com.splunk.mint.Mint.mintCallback.dataSaverResponse(v2_1);
                    }
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_4) {
                            v3_4.printStackTrace();
                        }
                    }
                    v2_1.setSavedSuccessfully(Boolean.valueOf(1));
                    if (com.splunk.mint.Mint.mintCallback != null) {
                        com.splunk.mint.Mint.mintCallback.dataSaverResponse(v2_1);
                    }
                    if (v5 != 0) {
                        new com.splunk.mint.DataFlusher().send();
                    }
                }
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v3_1) {
                        v3_1.printStackTrace();
                    }
                }
                v2_1.setSavedSuccessfully(Boolean.valueOf(1));
                if (com.splunk.mint.Mint.mintCallback != null) {
                    com.splunk.mint.Mint.mintCallback.dataSaverResponse(v2_1);
                }
                if (v5 != 0) {
                    new com.splunk.mint.DataFlusher().send();
                }
            } catch (com.splunk.mint.DataFlusher v7_26) {
            } catch (java.io.IOException v3_3) {
            }
        }
        return;
    }

Method com.splunk.mint.DataFlusher$1.run() calling method java.io.File.<init>()


    public void run()
    {
        if (com.splunk.mint.Utils.allowedToSendData()) {
            if ((com.splunk.mint.Properties.FILES_PATH != null) && (!com.splunk.mint.Properties.USER_OPTEDOUT)) {
                java.io.File[] v0 = new java.io.File(com.splunk.mint.Properties.FILES_PATH).listFiles(com.splunk.mint.SplunkFileFilter.getInstance());
                int v7 = v0.length;
                int v5 = 0;
                while (v5 < v7) {
                    java.io.File v2 = v0[v5];
                    com.splunk.mint.NetSenderResponse v8_1 = new com.splunk.mint.NetSenderResponse(com.splunk.mint.MintUrls.getURL(), 0);
                    if (v2.exists()) {
                        if (v2.length() <= 3000000) {
                            try {
                                String v6 = com.splunk.mint.Utils.readFile(v2.getAbsolutePath());
                            } catch (Exception v1) {
                                v8_1.setException(v1);
                                v8_1.setSentSuccessfully(Boolean.valueOf(0));
                                v1.printStackTrace();
                                if (com.splunk.mint.Mint.mintCallback == null) {
                                } else {
                                    com.splunk.mint.Mint.mintCallback.netSenderResponse(v8_1);
                                }
                            }
                            if ((v6 != null) && (v6.length() != 0)) {
                                if (new com.splunk.mint.NetSender().sendBlocking(0, v6, 0).getSentSuccessfully().booleanValue()) {
                                    v2.delete();
                                }
                            } else {
                                if (com.splunk.mint.Mint.mintCallback != null) {
                                    com.splunk.mint.Mint.mintCallback.netSenderResponse(v8_1);
                                }
                            }
                        } else {
                            v2.delete();
                            v8_1.setException(new Exception("File was too big, this shouldn\'t have happened since we split the data."));
                            v8_1.setSentSuccessfully(Boolean.valueOf(0));
                        }
                    } else {
                        v8_1.setException(new Exception("There is no data to be sent. This is not an error."));
                        v8_1.setSentSuccessfully(Boolean.valueOf(0));
                    }
                    v5++;
                }
            }
        } else {
            com.splunk.mint.Logger.logInfo("You have enabled the FlushOnlyOverWiFi option and there is no WiFi connection, data will not be sent now.");
        }
        return;
    }

Method com.splunk.mint.CrashInfo.getTotalCrashesNum() calling method java.io.File.<init>()


    protected static int getTotalCrashesNum()
    {
        int v5_0 = 0;
        Integer v2_0 = Integer.valueOf(0);
        if (com.splunk.mint.Properties.FILES_PATH != null) {
            java.io.File v4_0 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("crashCounter").toString());
            if ((v4_0 != null) && (!v4_0.exists())) {
                try {
                    v4_0.createNewFile();
                    v5_0 = v2_0.intValue();
                } catch (java.io.IOException v3_0) {
                    v3_0.printStackTrace();
                }
                return v5_0;
            }
            java.io.BufferedReader v0 = 0;
            try {
                java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(v4_0));
                try {
                    Integer v2_1 = Integer.valueOf(Integer.parseInt(v1_1.readLine().trim()));
                } catch (int v5_1) {
                    v0 = v1_1;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_3) {
                            v3_3.printStackTrace();
                        }
                    }
                    throw v5_1;
                } catch (java.io.IOException v3) {
                    v2_1 = Integer.valueOf(0);
                } catch (java.io.IOException v3_1) {
                    v0 = v1_1;
                    com.splunk.mint.Logger.logWarning("There was a problem getting the crash counter");
                    if (com.splunk.mint.Mint.DEBUG) {
                        v3_1.printStackTrace();
                    }
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_2) {
                            v3_2.printStackTrace();
                        }
                    }
                }
                v5_0 = v2_1.intValue();
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v3_4) {
                        v3_4.printStackTrace();
                    }
                }
            } catch (int v5_1) {
            } catch (java.io.IOException v3_1) {
            }
        } else {
            com.splunk.mint.Logger.logWarning("Please use getTotalCrashesNum after initializing the plugin! Returning 0.");
        }
        return v5_0;
    }

Method com.splunk.mint.CrashInfo.getLastCrashID() calling method java.io.File.<init>()


    protected static String getLastCrashID()
    {
        Throwable v2;
        java.io.File v4_0 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("lastCrashID").toString());
        if ((v4_0 == null) || (v4_0.exists())) {
            java.io.BufferedReader v0 = 0;
            try {
                java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(v4_0));
                try {
                    v2 = v1_1.readLine().trim();
                } catch (Throwable v5_1) {
                    v0 = v1_1;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v3_4) {
                            v3_4.printStackTrace();
                        }
                    }
                    throw v5_1;
                } catch (java.io.IOException v3_2) {
                    try {
                        v3_2.printStackTrace();
                        v2 = 0;
                    } catch (java.io.IOException v3_1) {
                        v0 = v1_1;
                        com.splunk.mint.Logger.logWarning("There was a problem getting the last crash id");
                        if (com.splunk.mint.Mint.DEBUG) {
                            v3_1.printStackTrace();
                        }
                        if (v0 != null) {
                            try {
                                v0.close();
                            } catch (java.io.IOException v3_3) {
                                v3_3.printStackTrace();
                            }
                        }
                        v2 = 0;
                    }
                }
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v3_5) {
                        v3_5.printStackTrace();
                    }
                }
            } catch (Throwable v5_1) {
            } catch (java.io.IOException v3_1) {
            }
        } else {
            try {
                v4_0.createNewFile();
                v2 = 0;
            } catch (java.io.IOException v3_0) {
                v3_0.printStackTrace();
            }
        }
        return v2;
    }

Method com.splunk.mint.CrashInfo$3.run() calling method java.io.File.<init>()


    public void run()
    {
        java.io.File v3_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("lastCrashID").toString());
        if ((v3_1 != null) && (!v3_1.exists())) {
            try {
                v3_1.createNewFile();
            } catch (java.io.IOException v2_0) {
                v2_0.printStackTrace();
            }
        }
        java.io.BufferedWriter v0 = 0;
        try {
            java.io.BufferedWriter v1_1 = new java.io.BufferedWriter(new java.io.FileWriter(v3_1));
            try {
                v1_1.write(this.val$lastID);
                v1_1.newLine();
                v1_1.flush();
                v1_1.close();
            } catch (Throwable v4_10) {
                v0 = v1_1;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2_3) {
                        v2_3.printStackTrace();
                    }
                }
                throw v4_10;
            } catch (java.io.IOException v2_1) {
                v0 = v1_1;
                com.splunk.mint.Logger.logWarning("There was a problem saving the last crash id");
                if (com.splunk.mint.Mint.DEBUG) {
                    v2_1.printStackTrace();
                }
                if (v0 == null) {
                    return;
                } else {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2_2) {
                        v2_2.printStackTrace();
                    }
                    return;
                }
            }
            if (v1_1 == null) {
                return;
            } else {
                try {
                    v1_1.close();
                } catch (java.io.IOException v2_4) {
                    v2_4.printStackTrace();
                }
                return;
            }
        } catch (Throwable v4_10) {
        } catch (java.io.IOException v2_1) {
        }
    }

Method com.splunk.mint.CrashInfo$2.run() calling method java.io.File.<init>()


    public void run()
    {
        java.io.File v6_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("crashCounter").toString());
        if ((v6_1 != null) && (!v6_1.exists())) {
            try {
                v6_1.createNewFile();
            } catch (java.io.IOException v5_1) {
                v5_1.printStackTrace();
            }
        }
        java.io.BufferedReader v0 = 0;
        java.io.BufferedWriter v2 = 0;
        try {
            java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(v6_1));
            try {
                Integer.valueOf(0);
                try {
                    Integer v4_0 = Integer.valueOf(Integer.parseInt(v1_1.readLine().trim()));
                } catch (java.io.IOException v5) {
                    v4_0 = Integer.valueOf(0);
                }
                Integer v4_1 = Integer.valueOf((v4_0.intValue() + 1));
                java.io.BufferedWriter v3_1 = new java.io.BufferedWriter(new java.io.FileWriter(v6_1));
                try {
                    v3_1.write(String.valueOf(v4_1));
                    v3_1.newLine();
                    v3_1.flush();
                    v3_1.close();
                } catch (Throwable v7_17) {
                    v2 = v3_1;
                    v0 = v1_1;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v5_5) {
                            v5_5.printStackTrace();
                        }
                    }
                    if (v2 != null) {
                        try {
                            v2.close();
                        } catch (java.io.IOException v5_6) {
                            v5_6.printStackTrace();
                        }
                    }
                    throw v7_17;
                } catch (java.io.IOException v5_2) {
                    v2 = v3_1;
                    v0 = v1_1;
                    com.splunk.mint.Logger.logWarning("There was a problem saving the crash counter");
                    if (com.splunk.mint.Mint.DEBUG) {
                        v5_2.printStackTrace();
                    }
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v5_3) {
                            v5_3.printStackTrace();
                        }
                    }
                    if (v2 == null) {
                        return;
                    } else {
                        try {
                            v2.close();
                        } catch (java.io.IOException v5_4) {
                            v5_4.printStackTrace();
                        }
                        return;
                    }
                }
                if (v1_1 != null) {
                    try {
                        v1_1.close();
                    } catch (java.io.IOException v5_7) {
                        v5_7.printStackTrace();
                    }
                }
                if (v3_1 == null) {
                    v0 = v1_1;
                    return;
                } else {
                    try {
                        v3_1.close();
                        v0 = v1_1;
                    } catch (java.io.IOException v5_0) {
                        v5_0.printStackTrace();
                        v0 = v1_1;
                    }
                    return;
                }
            } catch (Throwable v7_17) {
                v0 = v1_1;
            } catch (java.io.IOException v5_2) {
                v0 = v1_1;
            }
        } catch (Throwable v7_17) {
        } catch (java.io.IOException v5_2) {
        }
    }

Method com.splunk.mint.CrashInfo$1.run() calling method java.io.File.<init>()


    public void run()
    {
        java.io.File v0_1 = new java.io.File(new StringBuilder().append(com.splunk.mint.Properties.FILES_PATH).append("/").append("crashCounter").toString());
        if ((v0_1 != null) && (v0_1.exists())) {
            v0_1.delete();
        }
        return;
    }

Method com.kbeanie.imagechooser.threads.VideoProcessorThread.createThumbnailOfVideo() calling method java.io.File.<init>()


    private String createThumbnailOfVideo()
    {
        String v5 = 0;
        android.graphics.Bitmap v0 = android.media.ThumbnailUtils.createVideoThumbnail(this.filePath, 1);
        if (v0 != null) {
            v5 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(".jpg").toString();
            java.io.FileOutputStream v3 = 0;
            try {
                java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(new java.io.File(v5));
                try {
                    v0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v4_1);
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v4_1);
                } catch (Throwable v6_8) {
                    v3 = v4_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v3);
                    throw v6_8;
                } catch (java.io.IOException v1) {
                    v3 = v4_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v1);
                }
            } catch (Throwable v6_8) {
            } catch (java.io.IOException v1) {
            }
        }
        return v5;
    }

Method com.kbeanie.imagechooser.threads.VideoProcessorThread.createPreviewImage() calling method java.io.File.<init>()


    private String createPreviewImage(String p11)
    {
        String v3 = 0;
        android.graphics.Bitmap v0 = android.media.ThumbnailUtils.createVideoThumbnail(p11, 2);
        if (v0 != null) {
            v3 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(".jpg").toString();
            java.io.FileOutputStream v4 = 0;
            try {
                java.io.FileOutputStream v5_1 = new java.io.FileOutputStream(new java.io.File(v3));
                try {
                    v0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v5_1);
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v5_1);
                } catch (Throwable v6_8) {
                    v4 = v5_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v4);
                    throw v6_8;
                } catch (java.io.IOException v1) {
                    v4 = v5_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v1);
                }
            } catch (Throwable v6_8) {
            } catch (java.io.IOException v1) {
            }
        }
        return v3;
    }

Method com.kbeanie.imagechooser.threads.VideoProcessorThread.createPreviewImage() calling method java.io.File.<init>()


    private String createPreviewImage()
    {
        this.previewImage = 0;
        android.graphics.Bitmap v0 = android.media.ThumbnailUtils.createVideoThumbnail(this.filePath, 2);
        if (v0 != null) {
            this.previewImage = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(".jpg").toString();
            java.io.FileOutputStream v3 = 0;
            try {
                java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(new java.io.File(this.previewImage));
                try {
                    v0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v4_1);
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v4_1);
                } catch (Throwable v5_11) {
                    v3 = v4_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v3);
                    throw v5_11;
                } catch (java.io.IOException v1) {
                    v3 = v4_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v1);
                }
            } catch (Throwable v5_11) {
            } catch (java.io.IOException v1) {
            }
        }
        return this.previewImage;
    }

Method com.kbeanie.imagechooser.threads.FileProcessorThread.setContext() calling method java.io.File.<init>()


    public void setContext(android.content.Context p15)
    {
        this.context = p15;
        if (!this.filePath.startsWith("content")) {
            if (this.filePath.startsWith("file")) {
                String v8_0 = 0;
                java.io.FileInputStream v12_1 = 0;
                try {
                    java.io.FileInputStream v13_1 = new java.io.FileInputStream(new java.io.File(android.net.Uri.parse(this.filePath).getPath()));
                    try {
                        this.mimeType = java.net.URLConnection.guessContentTypeFromStream(v13_1);
                        this.cr = p15.getContentResolver();
                        this.mimeType = this.cr.getType(android.net.Uri.parse(this.filePath));
                    } catch (String v0_58) {
                        v12_1 = v13_1;
                        com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_1);
                        throw v0_58;
                    } catch (java.io.IOException v7_1) {
                        v12_1 = v13_1;
                        android.util.Log.e("FileProcessorThread", v7_1.getMessage(), v7_1);
                        com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_1);
                        if (this.mimeType == null) {
                            this.mimeType = "application/octet-steam";
                        }
                        if (v8_0 == null) {
                            int v10 = this.filePath.lastIndexOf(46);
                            if (v10 > 0) {
                                v8_0 = this.filePath.substring((v10 + 1));
                            }
                            if ((v8_0 != null) && (!android.text.TextUtils.isEmpty(v8_0))) {
                                this.setMediaExtension(new StringBuilder().append(".").append(v8_0).toString());
                            }
                        }
                        if ((this.fileDisplayName == null) || (!android.text.TextUtils.isEmpty(this.fileDisplayName))) {
                            this.fileDisplayName = new java.io.File(this.filePath).getName();
                        }
                    }
                    if (this.mimeType != null) {
                        v8_0 = android.webkit.MimeTypeMap.getSingleton().getExtensionFromMimeType(this.mimeType);
                        if (v8_0 != null) {
                            this.setMediaExtension(new StringBuilder().append(".").append(v8_0).toString());
                        }
                    }
                    com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v13_1);
                } catch (String v0_58) {
                } catch (java.io.IOException v7_1) {
                }
            }
        } else {
            this.cr = p15.getContentResolver();
            this.mimeType = 0;
            try {
                java.io.FileInputStream v12_0 = this.cr.openInputStream(android.net.Uri.parse(this.filePath));
                com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(this.filePath, v12_0);
                this.mimeType = java.net.URLConnection.guessContentTypeFromStream(v12_0);
                com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_0);
            } catch (String v0_11) {
                com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_0);
                throw v0_11;
            } catch (String v0_9) {
                java.io.IOException v7_0 = v0_9;
                android.util.Log.e("FileProcessorThread", v7_0.getMessage(), v7_0);
                com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v12_0);
            } catch (String v0_8) {
                v7_0 = v0_8;
            }
            if (this.mimeType == null) {
                this.mimeType = this.cr.getType(android.net.Uri.parse(this.filePath));
            }
            try {
                android.database.Cursor v6 = this.cr.query(android.net.Uri.parse(this.filePath), 0, 0, 0, 0);
            } catch (String v0_21) {
                com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v6);
                throw v0_21;
            }
            if ((v6 != null) && (v6.moveToFirst())) {
                this.fileDisplayName = v6.getString(v6.getColumnIndex("_display_name"));
            }
            com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v6);
            String v8_1 = android.webkit.MimeTypeMap.getSingleton().getExtensionFromMimeType(this.mimeType);
            android.util.Log.i("FileProcessorThread", new StringBuilder().append("Extension: ").append(v8_1).toString());
            if (v8_1 != null) {
                this.setMediaExtension(new StringBuilder().append(".").append(v8_1).toString());
            } else {
                if (!this.mimeType.contains("/")) {
                    this.setMediaExtension(new StringBuilder().append(".").append(this.mimeType).toString());
                } else {
                    this.setMediaExtension(new StringBuilder().append(".").append(this.mimeType.split("/")[1]).toString());
                }
            }
        }
        return;
    }

Method com.kbeanie.imagechooser.threads.FileProcessorThread.processFileDetails() calling method java.io.File.<init>()


    protected void processFileDetails(String p13)
    {
        if (!this.filePath.startsWith("content:")) {
            if (this.filePath.startsWith("file:")) {
                this.filePath = this.filePath.substring(7);
            }
        } else {
            java.io.BufferedOutputStream v5 = 0;
            try {
                java.io.InputStream v3 = this.context.getContentResolver().openInputStream(android.net.Uri.parse(this.filePath));
                com.kbeanie.imagechooser.helpers.StreamHelper.verifyStream(this.filePath, v3);
            } catch (long v8_4) {
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v3);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v5);
                throw v8_4;
            } catch (java.io.IOException v1) {
                throw new com.kbeanie.imagechooser.exceptions.ChooserException(v1);
            }
            if (this.fileDisplayName == null) {
                this.fileDisplayName = new StringBuilder().append("").append(java.util.Calendar.getInstance().getTimeInMillis()).append(this.mediaExtension).toString();
            }
            if ((!this.fileDisplayName.contains(".")) && ((this.mediaExtension != null) && (this.mediaExtension.length() > 0))) {
                this.fileDisplayName = new StringBuilder().append(this.fileDisplayName).append(this.mediaExtension).toString();
            }
            this.filePath = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(this.fileDisplayName).toString();
            java.io.BufferedOutputStream v6_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(this.filePath));
            try {
                byte[] v0 = new byte[2048];
            } catch (long v8_4) {
                v5 = v6_1;
            } catch (java.io.IOException v1) {
                v5 = v6_1;
            }
            while(true) {
                int v4 = v3.read(v0);
                if (v4 <= 0) {
                    break;
                }
                v6_1.write(v0, 0, v4);
            }
            this.fileSize = new java.io.File(this.filePath).length();
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v3);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v6_1);
        }
        return;
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.manageDirectoryCache() calling method java.io.File.<init>()


    protected void manageDirectoryCache(String p15)
    {
        if (this.clearOldFiles) {
            java.io.File v3_1 = new java.io.File(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername));
            java.io.File[] v5 = v3_1.listFiles();
            long v0 = 0;
            if (v5 != null) {
                String v11_0 = v5.length;
                String v10_1 = 0;
                while (v10_1 < v11_0) {
                    v0 += v5[v10_1].length();
                    v10_1++;
                }
                if (v0 > 524288000) {
                    java.io.File[] v7 = v3_1.listFiles(new com.kbeanie.imagechooser.threads.MediaProcessorThread$1(this, java.util.Calendar.getInstance().getTimeInMillis(), p15));
                    int v2 = 0;
                    String v11_1 = v7.length;
                    String v10_5 = 0;
                    while (v10_5 < v11_1) {
                        v2++;
                        v7[v10_5].delete();
                        v10_5++;
                    }
                    android.util.Log.i(com.kbeanie.imagechooser.threads.MediaProcessorThread.TAG, new StringBuilder().append("Deleted ").append(v2).append(" files").toString());
                }
            }
        }
        return;
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.downloadFile() calling method java.io.File.<init>()


    protected String downloadFile(String p15)
    {
        try {
            java.io.BufferedInputStream v0_1 = new java.io.BufferedInputStream(new java.io.BufferedInputStream(((java.net.HttpURLConnection) new java.net.URL(p15).openConnection()).getInputStream()));
            String v6 = new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(java.util.Calendar.getInstance().getTimeInMillis()).append(".").append(this.mediaExtension).toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(new java.io.File(v6));
            byte[] v1 = new byte[1024];
        } catch (Exception v2_1) {
            v2_1.printStackTrace();
            return v6;
        } catch (Exception v2_0) {
            v2_0.printStackTrace();
            return v6;
        }
        while(true) {
            int v4 = v0_1.read(v1);
            if (v4 <= 0) {
                break;
            }
            v3_1.write(v1, 0, v4);
        }
        v3_1.flush();
        v3_1.close();
        v0_1.close();
        return v6;
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.copyFileToDir() calling method java.io.File.<init>()


    private void copyFileToDir()
    {
        java.io.BufferedOutputStream v7 = 0;
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(android.net.Uri.parse(this.filePath).getPath());
            java.io.File v3_0 = new java.io.File(new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(v5_1.getName()).toString());
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1));
            try {
                java.io.BufferedOutputStream v8_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_0));
                try {
                    byte[] v2 = new byte[2048];
                } catch (String v9_12) {
                    v0 = v1_1;
                    v7 = v8_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v7);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v0);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v7);
                    throw v9_12;
                } catch (java.io.IOException v4) {
                    v0 = v1_1;
                    v7 = v8_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v4);
                }
                while(true) {
                    int v6 = v1_1.read(v2);
                    if (v6 <= 0) {
                        break;
                    }
                    v8_1.write(v2, 0, v6);
                }
                this.filePath = v3_0.getAbsolutePath();
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v8_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v1_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v8_1);
                return;
            } catch (String v9_12) {
                v0 = v1_1;
            } catch (java.io.IOException v4) {
                v0 = v1_1;
            }
        } catch (String v9_12) {
        } catch (java.io.IOException v4) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.copyFileToDir() calling method java.io.File.<init>()


    private String copyFileToDir(String p12)
    {
        java.io.BufferedOutputStream v7 = 0;
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.File v5_1 = new java.io.File(android.net.Uri.parse(p12).getPath());
            java.io.File v3_0 = new java.io.File(new StringBuilder().append(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername)).append(java.io.File.separator).append(v5_1.getName()).toString());
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v5_1));
            try {
                java.io.BufferedOutputStream v8_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_0));
                try {
                    byte[] v2 = new byte[2048];
                } catch (int v9_10) {
                    v0 = v1_1;
                    v7 = v8_1;
                    com.kbeanie.imagechooser.helpers.StreamHelper.flush(v7);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v0);
                    com.kbeanie.imagechooser.helpers.StreamHelper.close(v7);
                    throw v9_10;
                } catch (java.io.IOException v4) {
                    v0 = v1_1;
                    v7 = v8_1;
                    throw new com.kbeanie.imagechooser.exceptions.ChooserException(v4);
                }
                while(true) {
                    int v6 = v1_1.read(v2);
                    if (v6 <= 0) {
                        break;
                    }
                    v8_1.write(v2, 0, v6);
                }
                String v12_1 = v3_0.getAbsolutePath();
                com.kbeanie.imagechooser.helpers.StreamHelper.flush(v8_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v1_1);
                com.kbeanie.imagechooser.helpers.StreamHelper.close(v8_1);
                return v12_1;
            } catch (int v9_10) {
                v0 = v1_1;
            } catch (java.io.IOException v4) {
                v0 = v1_1;
            }
        } catch (int v9_10) {
        } catch (java.io.IOException v4) {
        }
    }

Method com.kbeanie.imagechooser.threads.MediaProcessorThread.compressAndSaveImage() calling method java.io.File.<init>()


    private String compressAndSaveImage(String p26, int p27)
    {
        java.io.FileOutputStream v21 = 0;
        try {
            android.graphics.BitmapFactory$Options v16_1 = new android.graphics.BitmapFactory$Options();
            v16_1.inJustDecodeBounds = 1;
            java.io.BufferedInputStream v9_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(p26));
            android.graphics.Bitmap v2_1 = android.graphics.BitmapFactory.decodeStream(v9_0, 0, v16_1);
        } catch (int v3_10) {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v21);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v21);
            throw v3_10;
        } catch (Exception v11) {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v21);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v21);
            return p26;
        } catch (Exception v11) {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v21);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v21);
            return p26;
        }
        if (v2_1 != null) {
            v2_1.recycle();
        }
        if (v9_0 != null) {
            v9_0.close();
        }
        int v23 = v16_1.outWidth;
        int v14 = v16_1.outHeight;
        int v19 = 0;
        switch (new android.media.ExifInterface(p26).getAttributeInt("Orientation", 1)) {
            case 3:
                v19 = 180;
            case 4:
            case 5:
            case 7:
            default:
                break;
            case 4:
            case 5:
            case 7:
                break;
            case 6:
                v19 = 90;
            case 4:
            case 5:
            case 7:
                break;
            case 8:
                v19 = -90;
                break;
        }
        int v24;
        if (v23 <= v14) {
            v24 = v14;
        } else {
            v24 = v23;
        }
        android.graphics.BitmapFactory$Options v15_1 = new android.graphics.BitmapFactory$Options();
        if (v24 <= 3000) {
            if ((v24 <= 2000) || (v24 > 3000)) {
                if ((v24 <= 1500) || (v24 > 2000)) {
                    if ((v24 <= 1000) || (v24 > 1500)) {
                        if ((v24 <= 400) || (v24 > 1000)) {
                            v15_1.inSampleSize = p27;
                        } else {
                            v15_1.inSampleSize = (p27 * 2);
                        }
                    } else {
                        v15_1.inSampleSize = (p27 * 3);
                    }
                } else {
                    v15_1.inSampleSize = (p27 * 4);
                }
            } else {
                v15_1.inSampleSize = (p27 * 5);
            }
        } else {
            v15_1.inSampleSize = (p27 * 6);
        }
        v15_1.inJustDecodeBounds = 0;
        java.io.BufferedInputStream v20 = new java.io.BufferedInputStream;
        v20(new java.io.FileInputStream(p26));
        android.graphics.Bitmap v2_0 = android.graphics.BitmapFactory.decodeStream(v20, 0, v15_1);
        v20.close();
        if (v2_0 != null) {
            java.io.File v18 = new java.io.File;
            v18(p26);
            java.io.File v13_1 = new java.io.File(new StringBuilder().append(v18.getParent()).append(java.io.File.separator).append(v18.getName().replace(".", new StringBuilder().append("_fact_").append(p27).append(".").toString())).toString());
            java.io.FileOutputStream v22 = new java.io.FileOutputStream;
            v22(v13_1);
            if (v19 != 0) {
                try {
                    android.graphics.Matrix v7_1 = new android.graphics.Matrix();
                    v7_1.setRotate(((float) v19));
                    v2_0 = android.graphics.Bitmap.createBitmap(v2_0, 0, 0, v2_0.getWidth(), v2_0.getHeight(), v7_1, 0);
                } catch (int v3_10) {
                    v21 = v22;
                } catch (Exception v11) {
                    v21 = v22;
                } catch (Exception v11) {
                    v21 = v22;
                }
            }
            v2_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v22);
            p26 = v13_1.getAbsolutePath();
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(v22);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(v22);
            return p26;
        } else {
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.flush(0);
            com.kbeanie.imagechooser.helpers.StreamHelper.close(0);
            return p26;
        }
    }

Method com.kbeanie.imagechooser.api.FileUtils.getDirectory() calling method java.io.File.<init>()


    public static String getDirectory(String p3)
    {
        java.io.File v0_1 = new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory().getAbsolutePath()).append(java.io.File.separator).append(p3).toString());
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        return v0_1.getAbsolutePath();
    }

Method com.kbeanie.imagechooser.api.ChosenMedia.getBitmap() calling method java.io.File.<init>()


    protected ref.SoftReference getBitmap(String p6)
    {
        try {
            ref.SoftReference v0 = new ref.SoftReference(android.graphics.BitmapFactory.decodeStream(new java.io.FileInputStream(new java.io.File(p6))));
        } catch (java.io.FileNotFoundException v2) {
            v2.printStackTrace();
        }
        return v0;
    }

Method com.ingic.tripcrasher.fragments.ProfileFragment.uploadPicture() calling method java.io.File.<init>()


    public void uploadPicture(String p6)
    {
        this.activityReference.showSweetLoader();
        retrofit.mime.TypedFile v0 = 0;
        if (p6 != null) {
            v0 = this.activityReference.convertFile(new java.io.File(p6));
        }
        com.app.retrofit.WebServiceFactory.getInstance(this.activityReference).uploadImage(String.valueOf(this.user.getId()), "1", v0, new com.ingic.tripcrasher.fragments.ProfileFragment$8(this));
        return;
    }

Method com.ingic.tripcrasher.fragments.GetCrashFragment.onResume() calling method java.io.File.<init>()


    public void onResume()
    {
        super.onResume();
        android.util.Log.i(com.ingic.tripcrasher.fragments.GetCrashFragment.TAG, "onResume");
        this.interestImgs.removeAllViews();
        int v0_0 = 0;
        while (v0_0 < this.interestList_.size()) {
            if (!com.ingic.tripcrasher.fragments.GetCrashFragment.isNumeric(((String) this.interestList_.get(v0_0)))) {
                if (!com.ingic.tripcrasher.fragments.GetCrashFragment.isNumeric(((String) this.interestList_.get(v0_0)))) {
                    this.addinterestLayout(((String) this.interestList_.get(v0_0)));
                }
            } else {
                this.createInterestImages(this.setInterestValues(((String) this.interestList_.get(v0_0))));
            }
            v0_0++;
        }
        if (this.destinationList.size() > 0) {
            this.destinationHorizontal.removeAllViews();
            int v0_1 = 0;
            while (v0_1 < this.destinationList.size()) {
                this.addDestinations(((String) this.destinationList.get(v0_1)));
                v0_1++;
            }
        }
        if (this.destList.size() > 0) {
            this.destinationHorizontal.removeAllViews();
            int v0_2 = 0;
            while (v0_2 < this.destList.size()) {
                this.addDestinations(((String) this.destList.get(v0_2)));
                v0_2++;
            }
        }
        if (!com.app.helpers.Utils.isEmptyOrNull(this.selectedGender)) {
            this.crashImg.setBackgroundResource(this.setGenderImage(this.selectedGender));
            this.crashImg.setBackgroundResource(this.setGenderImage(this.selectedGender));
        }
        if ((!com.app.helpers.Utils.isEmptyOrNull(this.age_lower)) && (!com.app.helpers.Utils.isEmptyOrNull(this.age_upper))) {
            this.txtAgeValue.setText(new StringBuilder().append(this.age_lower).append("-").append(this.age_upper).toString());
        }
        if ((!com.app.helpers.Utils.isEmptyOrNull(this.startDate)) && ((!com.app.helpers.Utils.isEmptyOrNull(this.endDate)) && (!com.app.helpers.Utils.isEmptyOrNull(this.total)))) {
            this.txtStartOnValue.setText(this.startDate);
            this.txtEndOnValue.setText(this.endDate);
            this.txtTotalValue.setText(this.total);
        }
        if ((!com.app.helpers.Utils.isEmptyOrNull(this.tripName)) && (this.flag == 1)) {
            this.txtTripName.setText(this.tripName);
        }
        if ((!com.app.helpers.Utils.isEmptyOrNull(this.description)) && (this.descFlag == 1)) {
            this.txtDescriptionValue.setText(this.description);
        }
        if ((this.imageList.size() > 0) && (this.imageList.size() == 1)) {
            if (((String) this.imageList.get(0)).substring(0, 4).equals("http")) {
                this.activityReference.getImageSquare(this.imgTrip, ((String) this.imageList.get(0)), this.activityReference);
            } else {
                this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
                this.setBitamp(new java.io.File(((String) this.imageList.get(0))), this.imgTrip);
            }
            this.imgTripDelete.setVisibility(0);
        }
        if (this.imageList.size() == 2) {
            if (((String) this.imageList.get(0)).substring(0, 4).equals("http")) {
                this.activityReference.getImageSquare(this.imgTrip, ((String) this.imageList.get(0)), this.activityReference);
            } else {
                this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
                this.setBitamp(new java.io.File(((String) this.imageList.get(0))), this.imgTrip);
            }
            if (((String) this.imageList.get(1)).substring(0, 4).equals("http")) {
                this.activityReference.getImageSquare(this.imgTrip2, ((String) this.imageList.get(1)), this.activityReference);
            } else {
                this.picture2 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(1))));
                this.setBitamp(new java.io.File(((String) this.imageList.get(1))), this.imgTrip2);
            }
            this.imgTripDelete.setVisibility(0);
            this.imgTrip2Delete.setVisibility(0);
        }
        if (this.imageList.size() != 3) {
            if (this.imageList.size() > 3) {
                if (((String) this.imageList.get(0)).substring(0, 4).equals("http")) {
                    this.activityReference.getImageSquare(this.imgTrip, ((String) this.imageList.get(0)), this.activityReference);
                } else {
                    this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
                    this.setBitamp(new java.io.File(((String) this.imageList.get(0))), this.imgTrip);
                }
                if (((String) this.imageList.get(1)).substring(0, 4).equals("http")) {
                    this.activityReference.getImageSquare(this.imgTrip2, ((String) this.imageList.get(1)), this.activityReference);
                } else {
                    this.picture2 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(1))));
                    this.setBitamp(new java.io.File(((String) this.imageList.get(1))), this.imgTrip2);
                }
                if (((String) this.imageList.get(2)).substring(0, 4).equals("http")) {
                    this.activityReference.getImageSquare(this.imgTrip3, ((String) this.imageList.get(2)), this.activityReference);
                } else {
                    this.picture3 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(2))));
                    this.setBitamp(new java.io.File(((String) this.imageList.get(2))), this.imgTrip3);
                }
                this.imgTripDelete.setVisibility(0);
                this.imgTrip2Delete.setVisibility(0);
                this.imgTrip3Delete.setVisibility(0);
            }
        } else {
            if (((String) this.imageList.get(0)).substring(0, 4).equals("http")) {
                this.activityReference.getImageSquare(this.imgTrip, ((String) this.imageList.get(0)), this.activityReference);
            } else {
                this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
                this.setBitamp(new java.io.File(((String) this.imageList.get(0))), this.imgTrip);
            }
            if (((String) this.imageList.get(1)).substring(0, 4).equals("http")) {
                this.activityReference.getImageSquare(this.imgTrip2, ((String) this.imageList.get(1)), this.activityReference);
            } else {
                this.picture2 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(1))));
                this.setBitamp(new java.io.File(((String) this.imageList.get(1))), this.imgTrip2);
            }
            if (((String) this.imageList.get(2)).substring(0, 4).equals("http")) {
                this.activityReference.getImageSquare(this.imgTrip3, ((String) this.imageList.get(2)), this.activityReference);
            } else {
                this.picture3 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(2))));
                this.setBitamp(new java.io.File(((String) this.imageList.get(2))), this.imgTrip3);
            }
            this.imgTripDelete.setVisibility(0);
            this.imgTrip2Delete.setVisibility(0);
            this.imgTrip3Delete.setVisibility(0);
        }
        return;
    }

Method com.ingic.tripcrasher.fragments.GetCrashFragment.onClicked() calling method java.io.File.<init>()


    public void onClicked(java.util.ArrayList p12)
    {
        this.imageList.add(p12.get((p12.size() - 1)));
        this.imgTrip.setImageDrawable(0);
        this.imgTrip2.setImageDrawable(0);
        this.imgTrip3.setImageDrawable(0);
        if (this.imageList.size() == 1) {
            java.io.File v0_3 = new java.io.File(((String) this.imageList.get(0)));
            this.picture1 = this.activityReference.convertFile(v0_3);
            this.setBitamp(v0_3, this.imgTrip);
            this.imgTripDelete.setVisibility(0);
            this.picture2 = 0;
            this.picture3 = 0;
        }
        if (this.imageList.size() == 2) {
            java.io.File v0_5 = new java.io.File(((String) this.imageList.get(0)));
            this.picture1 = this.activityReference.convertFile(v0_5);
            java.io.File v1_1 = new java.io.File(((String) this.imageList.get(1)));
            this.picture2 = this.activityReference.convertFile(v1_1);
            this.imgTripDelete.setVisibility(0);
            this.imgTrip2Delete.setVisibility(0);
            this.setBitamp(v0_5, this.imgTrip);
            this.setBitamp(v1_1, this.imgTrip2);
            this.picture3 = 0;
        }
        if (this.imageList.size() != 3) {
            if (this.imageList.size() > 3) {
                java.io.File v0_7 = new java.io.File(((String) this.imageList.get(0)));
                this.picture1 = this.activityReference.convertFile(v0_7);
                java.io.File v2_3 = new java.io.File(((String) this.imageList.get(1)));
                this.picture2 = this.activityReference.convertFile(v2_3);
                java.io.File v3_0 = new java.io.File(((String) this.imageList.get(2)));
                this.picture3 = this.activityReference.convertFile(v3_0);
                this.imgTripDelete.setVisibility(0);
                this.imgTrip2Delete.setVisibility(0);
                this.imgTrip3Delete.setVisibility(0);
                this.setBitamp(v0_7, this.imgTrip);
                this.setBitamp(v2_3, this.imgTrip2);
                this.setBitamp(v3_0, this.imgTrip3);
                this.imageList.remove((this.imageList.size() - 1));
                com.app.helpers.UIHelper.showShortToastInCenter(this.activityReference, "You can only upload 3 images.");
            }
        } else {
            java.io.File v0_1 = new java.io.File(((String) this.imageList.get(0)));
            this.picture1 = this.activityReference.convertFile(v0_1);
            java.io.File v2_1 = new java.io.File(((String) this.imageList.get(1)));
            this.picture2 = this.activityReference.convertFile(v2_1);
            java.io.File v3_2 = new java.io.File(((String) this.imageList.get(2)));
            this.picture3 = this.activityReference.convertFile(v3_2);
            this.imgTripDelete.setVisibility(0);
            this.imgTrip2Delete.setVisibility(0);
            this.imgTrip3Delete.setVisibility(0);
            this.setBitamp(v0_1, this.imgTrip);
            this.setBitamp(v2_1, this.imgTrip2);
            this.setBitamp(v3_2, this.imgTrip3);
        }
        return;
    }

Method com.ingic.tripcrasher.fragments.GetCrashFragment$11.onClick() calling method java.io.File.<init>()


    public void onClick(android.content.DialogInterface p11, int p12)
    {
        if (this.this$0.imageList.size() != 3) {
            if (this.this$0.imageList.size() != 2) {
                this.this$0.picture1 = 0;
                this.this$0.imgTrip.setImageDrawable(0);
                this.this$0.imgTripDelete.setVisibility(8);
            } else {
                this.this$0.picture1 = com.ingic.tripcrasher.fragments.GetCrashFragment.access$2000(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(1))));
                com.ingic.tripcrasher.fragments.GetCrashFragment.access$1700(this.this$0, new java.io.File(((String) this.this$0.imageList.get(1))), this.this$0.imgTrip);
                this.this$0.picture2 = 0;
                this.this$0.imgTrip2.setImageDrawable(0);
                this.this$0.imgTrip2Delete.setVisibility(8);
            }
        } else {
            this.this$0.picture2 = com.ingic.tripcrasher.fragments.GetCrashFragment.access$1800(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(2))));
            com.ingic.tripcrasher.fragments.GetCrashFragment.access$1700(this.this$0, new java.io.File(((String) this.this$0.imageList.get(2))), this.this$0.imgTrip2);
            this.this$0.picture1 = com.ingic.tripcrasher.fragments.GetCrashFragment.access$1900(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(1))));
            com.ingic.tripcrasher.fragments.GetCrashFragment.access$1700(this.this$0, new java.io.File(((String) this.this$0.imageList.get(1))), this.this$0.imgTrip);
            this.this$0.picture3 = 0;
            this.this$0.imgTrip3.setImageDrawable(0);
            this.this$0.imgTrip3Delete.setVisibility(8);
        }
        this.this$0.imageList.remove(this.this$0.imageList.get(0));
        android.util.Log.e("picture1", new StringBuilder().append(this.this$0.picture1).append("").toString());
        android.util.Log.e("picture2", new StringBuilder().append(this.this$0.picture2).append("").toString());
        android.util.Log.e("picture3", new StringBuilder().append(this.this$0.picture3).append("").toString());
        int v1 = 0;
        while (v1 < this.this$0.imageList.size()) {
            android.util.Log.e(new StringBuilder().append("id").append(v1).toString(), ((String) this.this$0.imageList.get(v1)));
            v1++;
        }
        return;
    }

Method com.ingic.tripcrasher.activities.MainActivity.loadImageSqaure() calling method java.io.File.<init>()


    public void loadImageSqaure(android.widget.ImageView p4, String p5, android.content.Context p6)
    {
        com.squareup.picasso.Picasso.with(p6).load(android.net.Uri.fromFile(new java.io.File(p5))).skipMemoryCache().transform(com.app.helpers.TransformationHelper.getTransformation(com.app.transformations.TransformationType.CropSquare, p6, 0)).fit().into(p4);
        return;
    }

Method com.ingic.tripcrasher.activities.MainActivity.loadImage() calling method java.io.File.<init>()


    public void loadImage(android.widget.ImageView p4, String p5, android.content.Context p6)
    {
        com.squareup.picasso.Picasso.with(p6).load(android.net.Uri.fromFile(new java.io.File(p5))).transform(com.app.helpers.TransformationHelper.getTransformation(com.app.transformations.TransformationType.CropCircle, p6, 0)).fit().into(p4);
        return;
    }

Method com.ingic.tripcrasher.activities.MainActivity.LoadImageGlide() calling method java.io.File.<init>()


    public void LoadImageGlide(android.widget.ImageView p3, String p4, android.content.Context p5)
    {
        com.bumptech.glide.Glide.with(p5).load(android.net.Uri.fromFile(new java.io.File(p4))).into(p3);
        return;
    }

Method com.ingic.tripcrasher.activities.BaseActivity.loadImage() calling method java.io.File.<init>()


    protected void loadImage(android.widget.ImageView p4, String p5, android.content.Context p6)
    {
        com.squareup.picasso.Picasso.with(p6).load(android.net.Uri.fromFile(new java.io.File(p5))).transform(com.app.helpers.TransformationHelper.getTransformation(com.app.transformations.TransformationType.CropCircle, p6, 0)).fit().into(p4);
        return;
    }

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


    final void run()
    {
        if (this.zzbMj == null) {
            if (!this.zzj(4, 0)) {
                return;
            }
            do {
                this.zzcoi = 0;
                this.zzbMj = 0;
                this.zzcog.reset();
                String v0_21;
                StringBuilder v3_8 = com.google.android.gms.internal.ace.zzg(this.zzcoe.getStorage().getApp()).zza(this.zzcoe.zzKP(), this.zzcok);
                this.zzcog.zza(v3_8, 0);
                this.mResultCode = v3_8.getResultCode();
                if (v3_8.getException() == null) {
                    v0_21 = this.zzbMj;
                } else {
                    v0_21 = v3_8.getException();
                }
                String v0_24;
                this.zzbMj = v0_21;
                String v0_22 = this.mResultCode;
                if ((v0_22 != 308) && ((v0_22 < 200) || (v0_22 >= 300))) {
                    v0_24 = 0;
                } else {
                    v0_24 = 1;
                }
                if ((v0_24 == null) || ((this.zzbMj != null) || (this.zzKR() != 4))) {
                    String v0_27 = 0;
                } else {
                    v0_27 = 1;
                }
                if (v0_27 != null) {
                    this.zzaNq = ((long) v3_8.zzLl());
                    long v4_9 = v3_8.zzhO("ETag");
                    if ((android.text.TextUtils.isEmpty(v4_9)) || ((this.zzcoj == null) || (this.zzcoj.equals(v4_9)))) {
                        this.zzcoj = v4_9;
                        try {
                            v0_27 = this.zza(v3_8);
                        } catch (long v4_10) {
                            android.util.Log.e("FileDownloadTask", "Exception occurred during file write.  Aborting.", v4_10);
                            this.zzbMj = v4_10;
                        }
                    } else {
                        android.util.Log.w("FileDownloadTask", "The file at the server has changed.  Restarting from the beginning.");
                        this.zzcok = 0;
                        this.zzcoj = 0;
                        v3_8.zzLf();
                        this.schedule();
                        return;
                    }
                }
                String v0_31;
                v3_8.zzLf();
                if ((v0_27 == null) || ((this.zzbMj != null) || (this.zzKR() != 4))) {
                    v0_31 = 0;
                } else {
                    v0_31 = 1;
                }
                if (v0_31 == null) {
                    String v0_0 = new java.io.File(this.zzcoh.getPath());
                    if (!v0_0.exists()) {
                        this.zzcok = 0;
                    } else {
                        this.zzcok = v0_0.length();
                    }
                    if (this.zzKR() != 8) {
                        if (this.zzKR() != 32) {
                        } else {
                            if (!this.zzj(256, 0)) {
                                android.util.Log.w("FileDownloadTask", new StringBuilder(62).append("Unable to change download task to final state from ").append(this.zzKR()).toString());
                            }
                        }
                    } else {
                        this.zzj(16, 0);
                    }
                } else {
                    this.zzj(128, 0);
                }
            } while(this.zzcoi > 0);
            this.zzj(64, 0);
        } else {
            this.zzj(64, 0);
        }
        return;
    }

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


    private final boolean zza(com.google.android.gms.internal.acf p11)
    {
        String v0_0;
        java.io.InputStream v4 = p11.getStream();
        if (v4 == null) {
            this.zzbMj = new IllegalStateException("Unable to open Firebase Storage stream.");
            v0_0 = 0;
        } else {
            java.io.FileOutputStream v3_2 = new java.io.File(this.zzcoh.getPath());
            if (!v3_2.exists()) {
                if (this.zzcok <= 0) {
                    if (!v3_2.createNewFile()) {
                        String v0_16;
                        String v0_14 = String.valueOf(v3_2.getAbsolutePath());
                        if (v0_14.length() == 0) {
                            v0_16 = new String("unable to create file:");
                        } else {
                            v0_16 = "unable to create file:".concat(v0_14);
                        }
                        android.util.Log.w("FileDownloadTask", v0_16);
                    }
                } else {
                    String v0_6;
                    String v0_3 = String.valueOf(v3_2.getAbsolutePath());
                    if (v0_3.length() == 0) {
                        v0_6 = new String("The file downloading to has been deleted:");
                    } else {
                        v0_6 = "The file downloading to has been deleted:".concat(v0_3);
                    }
                    android.util.Log.e("FileDownloadTask", v0_6);
                    throw new IllegalStateException("expected a file to resume from.");
                }
            }
            java.io.FileOutputStream v3_3;
            if (this.zzcok <= 0) {
                v3_3 = new java.io.FileOutputStream(v3_2);
            } else {
                byte[] v5_2 = String.valueOf(v3_2.getAbsolutePath());
                android.util.Log.d("FileDownloadTask", new StringBuilder((String.valueOf(v5_2).length() + 47)).append("Resuming download file ").append(v5_2).append(" at ").append(this.zzcok).toString());
                v3_3 = new java.io.FileOutputStream(v3_2, 1);
            }
            try {
                byte[] v5_7 = new byte[262144];
                v0_0 = 1;
            } catch (String v0_1) {
                v3_3.flush();
                v3_3.close();
                v4.close();
                throw v0_1;
            }
            while (v0_0 != null) {
                boolean v2_5 = this.zza(v4, v5_7);
                if (v2_5 == -1) {
                    break;
                }
                v3_3.write(v5_7, 0, v2_5);
                this.zzcoi = (this.zzcoi + ((long) v2_5));
                if (this.zzbMj != null) {
                    android.util.Log.d("FileDownloadTask", "Exception occurred during file download. Retrying.", this.zzbMj);
                    this.zzbMj = 0;
                    v0_0 = 0;
                }
                if (!this.zzj(4, 0)) {
                    v0_0 = 0;
                }
            }
            v3_3.flush();
            v3_3.close();
            v4.close();
        }
        return v0_0;
    }

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


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

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


    public final void run()
    {
        if (android.util.Log.isLoggable("WearableClient", 2)) {
            android.util.Log.v("WearableClient", "Executing sendFileToChannelTask");
        }
        if ("file".equals(this.zzbzR.getScheme())) {
            java.io.IOException v0_3 = new java.io.File(this.zzbzR.getPath());
            try {
                String v3_0 = android.os.ParcelFileDescriptor.open(v0_3, 268435456);
                try {
                    ((com.google.android.gms.wearable.internal.zzdn) this.zzbTr.zzrf()).zza(new com.google.android.gms.wearable.internal.zzfs(this.zzbTq), this.zzakq, v3_0, this.zzbSm, this.zzbSn);
                    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.zzbTq.zzr(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.zzbTq.zzr(new com.google.android.gms.common.api.Status(13));
            }
        } else {
            android.util.Log.w("WearableClient", "Channel.sendFile used with non-file URI");
            this.zzbTq.zzr(new com.google.android.gms.common.api.Status(10, "Channel.sendFile used with non-file URI"));
        }
        return;
    }

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


    public final void run()
    {
        if (android.util.Log.isLoggable("WearableClient", 2)) {
            android.util.Log.v("WearableClient", "Executing receiveFileFromChannelTask");
        }
        if ("file".equals(this.zzbzR.getScheme())) {
            java.io.IOException v0_5;
            String v1_3 = new java.io.File(this.zzbzR.getPath());
            if (!this.zzbSl) {
                v0_5 = 0;
            } else {
                v0_5 = 33554432;
            }
            try {
                String v1_4 = android.os.ParcelFileDescriptor.open(v1_3, (v0_5 | 671088640));
                try {
                    ((com.google.android.gms.wearable.internal.zzdn) this.zzbTr.zzrf()).zza(new com.google.android.gms.wearable.internal.zzfv(this.zzbTq), this.zzakq, 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.zzbTq.zzr(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.zzbTq.zzr(new com.google.android.gms.common.api.Status(13));
            }
        } else {
            android.util.Log.w("WearableClient", "Channel.receiveFile used with non-file URI");
            this.zzbTq.zzr(new com.google.android.gms.common.api.Status(10, "Channel.receiveFile used with non-file URI"));
        }
        return;
    }

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


    private final java.io.File zzBJ()
    {
        String v0_1;
        java.io.File v1_2 = String.valueOf("resource_");
        String v0_3 = String.valueOf(this.zzbDw);
        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.zzbs.zzfk() calling method java.io.File.<init>()


    static boolean zzfk(String p4)
    {
        int v0 = 0;
        if (com.google.android.gms.tagmanager.zzbs.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.zzdb.zzm() calling method java.io.File.<init>()


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

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


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

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


    private final void zza(java.io.File p12, String p13)
    {
        java.io.IOException v1_0 = 0;
        java.io.IOException v2_3 = new Object[2];
        v2_3[0] = p12;
        v2_3[1] = p13;
        int v3_0 = new java.io.File(String.format("%s/%s.tmp", v2_3));
        if (!v3_0.exists()) {
            java.io.IOException v2_0 = new Object[2];
            v2_0[0] = p12;
            v2_0[1] = p13;
            java.io.File v4_1 = new java.io.File(String.format("%s/%s.dex", v2_0));
            if (v4_1.exists()) {
                com.google.android.gms.internal.zzcw v6_1 = v4_1.length();
                if (v6_1 > 0) {
                    java.io.IOException v0_8 = new byte[((int) v6_1)];
                    try {
                        java.io.IOException v2_2 = new java.io.FileInputStream(v4_1);
                        try {
                            if (v2_2.read(v0_8) > 0) {
                                int v5_3 = new com.google.android.gms.internal.zzbc();
                                v5_3.zzcG = android.os.Build$VERSION.SDK.getBytes();
                                v5_3.zzcF = p13.getBytes();
                                java.io.IOException v0_12 = this.zzqH.zzc(this.zzqI, v0_8).getBytes();
                                v5_3.data = v0_12;
                                v5_3.zzcE = com.google.android.gms.internal.zzbv.zzb(v0_12);
                                v3_0.createNewFile();
                                java.io.IOException v0_9 = new java.io.FileOutputStream(v3_0);
                                try {
                                    java.io.IOException v1_1 = com.google.android.gms.internal.adp.zzc(v5_3);
                                    v0_9.write(v1_1, 0, v1_1.length);
                                    v0_9.close();
                                    try {
                                        v2_2.close();
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                        com.google.android.gms.internal.zzdb.zza(v4_1);
                                    } catch (java.io.IOException v1) {
                                    }
                                } catch (java.io.IOException v1_2) {
                                    v1_0 = v0_9;
                                    java.io.IOException v0_1 = v1_2;
                                    if (v2_2 != null) {
                                        try {
                                            v2_2.close();
                                        } catch (java.io.IOException v2) {
                                        }
                                    }
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    com.google.android.gms.internal.zzdb.zza(v4_1);
                                    throw v0_1;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                    if (v1_0 != null) {
                                        try {
                                            v1_0.close();
                                        } catch (java.io.IOException v1) {
                                        }
                                    }
                                    if (v0_9 != null) {
                                        try {
                                            v0_9.close();
                                        } catch (java.io.IOException v0) {
                                        }
                                    }
                                    com.google.android.gms.internal.zzdb.zza(v4_1);
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                } catch (java.io.IOException v1) {
                                    v1_0 = v2_2;
                                }
                            } else {
                                try {
                                    v2_2.close();
                                } catch (java.io.IOException v0) {
                                }
                                com.google.android.gms.internal.zzdb.zza(v4_1);
                            }
                        } catch (java.io.IOException v0_1) {
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        } catch (java.io.IOException v0) {
                            v0_9 = 0;
                            v1_0 = v2_2;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_2 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    } catch (java.io.IOException v0) {
                        v0_9 = 0;
                    }
                }
            }
        }
        return;
    }

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


    public static com.google.android.gms.internal.zzdb zza(android.content.Context p9, String p10, String p11, boolean p12)
    {
        int v0_0 = 1;
        void v3_0 = new com.google.android.gms.internal.zzdb(p9);
        v3_0.zzqF = java.util.concurrent.Executors.newCachedThreadPool();
        v3_0.zzqk = p12;
        if (p12) {
            v3_0.zzqK = v3_0.zzqF.submit(new com.google.android.gms.internal.zzdc(v3_0));
        }
        v3_0.zzqF.execute(new com.google.android.gms.internal.zzde(v3_0));
        try {
            String v2_5;
            com.google.android.gms.internal.zzdb.zzqS = com.google.android.gms.common.zze.zzoW();
        } catch (int v0) {
            v3_0.zza(0, 1);
            if ((!com.google.android.gms.internal.zzdg.zzS()) || (!((Boolean) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzFa)).booleanValue())) {
                v3_0.zzqH = new com.google.android.gms.internal.zzcw(0);
                v3_0.zzqI = v3_0.zzqH.zzl(p10);
                try {
                    int v0_38 = v3_0.zzqD.getCacheDir();
                } catch (int v0_17) {
                    throw new com.google.android.gms.internal.zzcy(v0_17);
                } catch (int v0_16) {
                    throw new com.google.android.gms.internal.zzcy(v0_16);
                }
                if (v0_38 == 0) {
                    v0_38 = v3_0.zzqD.getDir("dex", 0);
                    if (v0_38 == 0) {
                        throw new com.google.android.gms.internal.zzcy();
                    }
                }
                String v1_21 = v0_38;
                Object[] v5_8 = new Object[2];
                v5_8[0] = v1_21;
                v5_8[1] = "1489418796403";
                String v4_9 = new java.io.File(String.format("%s/%s.jar", v5_8));
                if (!v4_9.exists()) {
                    int v0_3 = v3_0.zzqH.zza(v3_0.zzqI, p11);
                    v4_9.createNewFile();
                    Object[] v5_2 = new java.io.FileOutputStream(v4_9);
                    v5_2.write(v0_3, 0, v0_3.length);
                    v5_2.close();
                }
                v3_0.zzb(v1_21, "1489418796403");
                try {
                    v3_0.zzqG = new dalvik.system.DexClassLoader(v4_9.getAbsolutePath(), v1_21.getAbsolutePath(), 0, v3_0.zzqD.getClassLoader());
                } catch (int v0_6) {
                    com.google.android.gms.internal.zzdb.zza(v4_9);
                    v3_0 = v3_0.zza(v1_21, "1489418796403");
                    Object[] v5_5 = new Object[2];
                    v5_5[0] = v1_21;
                    v5_5[1] = "1489418796403";
                    com.google.android.gms.internal.zzdb.zzm(String.format("%s/%s.dex", v5_5));
                    throw v0_6;
                }
                com.google.android.gms.internal.zzdb.zza(v4_9);
                v3_0 = v3_0.zza(v1_21, "1489418796403");
                String v4_4 = new Object[2];
                v4_4[0] = v1_21;
                v4_4[1] = "1489418796403";
                com.google.android.gms.internal.zzdb.zzm(String.format("%s/%s.dex", v4_4));
                v3_0.zzqN = new com.google.android.gms.internal.zzcn(v3_0);
                v3_0.zzqV = 1;
                return v3_0;
            } else {
                throw new IllegalStateException("Task Context initialization must not be called from the UI thread.");
            }
        }
        if (com.google.android.gms.common.zze.zzau(v3_0.zzqD) <= 0) {
            v2_5 = 0;
        } else {
            v2_5 = 1;
        }
        v3_0.zzqP = v2_5;
        if (com.google.android.gms.internal.zzdb.zzqS.isGooglePlayServicesAvailable(v3_0.zzqD) != 0) {
            v0_0 = 0;
        }
        v3_0.zzqR = v0_0;
        if (v3_0.zzqD.getApplicationContext() == null) {
        } else {
            v3_0.zzqO = new com.google.android.gms.common.api.GoogleApiClient$Builder(v3_0.zzqD).addApi(com.google.android.gms.internal.zzazn.API).build();
        }
    }

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


    public final void onCreate(android.database.sqlite.SQLiteDatabase p6)
    {
        String v0 = p6.getPath();
        if (com.google.android.gms.internal.zzcuv.version() >= 9) {
            java.io.File v1_2 = new java.io.File(v0);
            v1_2.setReadable(0, 0);
            v1_2.setWritable(0, 0);
            v1_2.setReadable(1, 1);
            v1_2.setWritable(1, 1);
        }
        return;
    }

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


    static com.google.android.gms.nearby.connection.Payload zza(com.google.android.gms.internal.zzcoo p8)
    {
        String v0_0;
        Object[] v2_0 = p8.getId();
        switch (p8.getType()) {
            case 1:
                v0_0 = com.google.android.gms.nearby.connection.Payload.zza(p8.getBytes(), v2_0);
                break;
            case 2:
                int v4_0 = p8.zzzO();
                if (v4_0 != 0) {
                    try {
                        v0_0 = com.google.android.gms.nearby.connection.Payload.zza(com.google.android.gms.nearby.connection.Payload$File.zza(new java.io.File(v4_0), p8.zzzP()), v2_0);
                    } catch (String v0_4) {
                        java.io.FileNotFoundException v1_0 = v0_4;
                        String v0_5 = String.valueOf(v4_0);
                        if (v0_5.length() == 0) {
                            String v0_8 = new String("Failed to create Payload from ParcelablePayload: Java file not found at ");
                        } else {
                            v0_8 = "Failed to create Payload from ParcelablePayload: Java file not found at ".concat(v0_5);
                        }
                        android.util.Log.w("NearbyConnections", v0_8, v1_0);
                    }
                }
                v0_0 = com.google.android.gms.nearby.connection.Payload.zza(com.google.android.gms.nearby.connection.Payload$File.zzb(p8.zzzN()), v2_0);
                break;
            case 3:
                v0_0 = com.google.android.gms.nearby.connection.Payload.zza(com.google.android.gms.nearby.connection.Payload$Stream.zzc(p8.zzzN()), v2_0);
                break;
            default:
                Object[] v2_2 = new Object[2];
                v2_2[0] = Long.valueOf(p8.getId());
                v2_2[1] = Integer.valueOf(p8.getType());
                android.util.Log.w("NearbyConnections", String.format("Incoming ParcelablePayload %d has unknown type %d", v2_2));
                v0_0 = 0;
        }
        return v0_0;
    }

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


    private final boolean zzyX()
    {
        this.zzwE().zzjC();
        try {
            int v0_11;
            this.zzbsN = new java.io.RandomAccessFile(new java.io.File(this.mContext.getFilesDir(), com.google.android.gms.internal.zzcem.zzxC()), "rw").getChannel();
            this.zzbsM = this.zzbsN.tryLock();
        } catch (int v0_14) {
            this.zzwF().zzyx().zzj("Failed to acquire storage lock", v0_14);
            v0_11 = 0;
            return v0_11;
        } catch (int v0_12) {
            this.zzwF().zzyx().zzj("Failed to access storage lock file", v0_12);
        }
        if (this.zzbsM == null) {
            this.zzwF().zzyx().log("Storage concurrent data access panic");
        } else {
            this.zzwF().zzyD().log("Storage concurrent access okay");
            v0_11 = 1;
            return v0_11;
        }
    }

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


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

Method org.apache.commons.lang3.SystemUtils.getUserHome() calling method java.io.File.<init>()


    public static java.io.File getUserHome()
    {
        return new java.io.File(System.getProperty("user.home"));
    }

Method org.apache.commons.lang3.SystemUtils.getUserDir() calling method java.io.File.<init>()


    public static java.io.File getUserDir()
    {
        return new java.io.File(System.getProperty("user.dir"));
    }

Method org.apache.commons.lang3.SystemUtils.getJavaIoTmpDir() calling method java.io.File.<init>()


    public static java.io.File getJavaIoTmpDir()
    {
        return new java.io.File(System.getProperty("java.io.tmpdir"));
    }

Method org.apache.commons.lang3.SystemUtils.getJavaHome() calling method java.io.File.<init>()


    public static java.io.File getJavaHome()
    {
        return new java.io.File(System.getProperty("java.home"));
    }

Method com.kbeanie.imagechooser.api.BChooser.queryProbableFileSize() calling method java.io.File.<init>()


    public long queryProbableFileSize(android.net.Uri p13, android.content.Context p14)
    {
        long v0_1;
        if (!p13.toString().startsWith("file")) {
            if (!p13.toString().startsWith("content")) {
                v0_1 = 0;
            } else {
                try {
                    android.database.Cursor v6 = p14.getContentResolver().query(p13, 0, 0, 0, 0);
                    com.kbeanie.imagechooser.helpers.StreamHelper.verifyCursor(p13, v6);
                } catch (long v0_5) {
                    com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v6);
                    throw v0_5;
                } catch (com.kbeanie.imagechooser.exceptions.ChooserException v7) {
                    com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v6);
                    v0_1 = 0;
                }
                if (!v6.moveToFirst()) {
                    com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v6);
                    v0_1 = 0;
                } else {
                    v0_1 = v6.getLong(v6.getColumnIndex("_size"));
                    com.kbeanie.imagechooser.helpers.StreamHelper.closeSilent(v6);
                }
            }
        } else {
            v0_1 = new java.io.File(p13.getPath()).length();
        }
        return v0_1;
    }

Method com.kbeanie.imagechooser.api.BChooser.checkDirectory() calling method java.io.File.<init>()


    protected void checkDirectory()
    {
        java.io.File v0_1 = new java.io.File(com.kbeanie.imagechooser.api.FileUtils.getDirectory(this.foldername));
        if ((v0_1.exists()) || ((v0_1.mkdirs()) || (v0_1.isDirectory()))) {
            return;
        } else {
            throw new com.kbeanie.imagechooser.exceptions.ChooserException(new StringBuilder().append("Error creating directory: ").append(v0_1).toString());
        }
    }

Method com.kbeanie.imagechooser.api.BChooser.buildCaptureUri() calling method java.io.File.<init>()


    protected android.net.Uri buildCaptureUri(String p2)
    {
        return android.net.Uri.fromFile(new java.io.File(p2));
    }

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


    public final boolean zzU(String p28)
    {
        com.google.android.gms.internal.zzsc v2_40;
        if (this.zzJZ != null) {
            do {
                com.google.android.gms.internal.zzsh v3_2;
                if (this.zzJZ != null) {
                    String v4_0 = this.zzJZ.listFiles();
                    com.google.android.gms.internal.zzsc v2_14 = 0;
                    com.google.android.gms.internal.zzsh v3_0 = 0;
                    while (v3_0 < v4_0.length) {
                        if (!v4_0[v3_0].getName().endsWith(".done")) {
                            v2_14++;
                        }
                        v3_0++;
                    }
                    v3_2 = v2_14;
                } else {
                    v3_2 = 0;
                }
                if (v3_2 <= ((Integer) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCm)).intValue()) {
                    com.google.android.gms.internal.zzji.zzds();
                    java.io.File v13_1 = new java.io.File(this.zzJZ, com.google.android.gms.internal.zzaiy.zzaR(p28));
                    java.io.File v14 = this.zzb(v13_1);
                    if ((!v13_1.isFile()) || (!v14.isFile())) {
                        String v9_1;
                        com.google.android.gms.internal.zzsh v3_39 = String.valueOf(this.zzJZ.getAbsolutePath());
                        com.google.android.gms.internal.zzsc v2_128 = String.valueOf(p28);
                        if (v2_128.length() == 0) {
                            v9_1 = new String(v3_39);
                        } else {
                            v9_1 = v3_39.concat(v2_128);
                        }
                        try {
                            if (!com.google.android.gms.internal.zzsh.zzJX.contains(v9_1)) {
                                com.google.android.gms.internal.zzsh.zzJX.add(v9_1);
                                String v5_5 = 0;
                                String v4_12;
                                com.google.android.gms.internal.zzsh v3_20;
                                com.google.android.gms.ads.internal.zzbs.zzbM();
                                com.google.android.gms.internal.zzsh v3_46 = com.google.android.gms.internal.zzajo.zzb(p28, ((Integer) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCs)).intValue());
                                if ((v3_46 instanceof java.net.HttpURLConnection)) {
                                    com.google.android.gms.internal.zzsc v2_145 = ((java.net.HttpURLConnection) v3_46).getResponseCode();
                                    if (v2_145 >= 400) {
                                        v4_12 = "badUrl";
                                        try {
                                            com.google.android.gms.internal.zzsh v3_34 = String.valueOf(Integer.toString(v2_145));
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                            v3_20 = 0;
                                            if ((v2_59 instanceof RuntimeException)) {
                                                com.google.android.gms.ads.internal.zzbs.zzbD().zza(v2_59, "VideoStreamFullFileCache.preload");
                                            }
                                            try {
                                                v5_5.close();
                                            } catch (String v5) {
                                            } catch (String v5) {
                                            }
                                            if (!this.zzKa) {
                                                com.google.android.gms.internal.zzafr.zzc(new StringBuilder((String.valueOf(p28).length() + 25)).append("Preload failed for URL \"").append(p28).append("\"").toString(), v2_59);
                                            } else {
                                                com.google.android.gms.internal.zzafr.zzaS(new StringBuilder((String.valueOf(p28).length() + 26)).append("Preload aborted for URL \"").append(p28).append("\"").toString());
                                            }
                                            if (v13_1.exists()) {
                                                if (!v13_1.delete()) {
                                                    com.google.android.gms.internal.zzsc v2_103 = String.valueOf(v13_1.getAbsolutePath());
                                                    if (v2_103.length() == 0) {
                                                        com.google.android.gms.internal.zzsc v2_105 = new String("Could not delete partial cache file at ");
                                                    } else {
                                                        v2_105 = "Could not delete partial cache file at ".concat(v2_103);
                                                    }
                                                    com.google.android.gms.internal.zzafr.zzaT(v2_105);
                                                }
                                            }
                                            this.zza(p28, v13_1.getAbsolutePath(), v4_12, v3_20);
                                            com.google.android.gms.internal.zzsh.zzJX.remove(v9_1);
                                            v2_40 = 0;
                                            return v2_40;
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                            v3_20 = 0;
                                        }
                                        if (v3_34.length() == 0) {
                                            v3_20 = new String("HTTP request failed. Code: ");
                                        } else {
                                            v3_20 = "HTTP request failed. Code: ".concat(v3_34);
                                        }
                                        try {
                                            throw new java.io.IOException(new StringBuilder((String.valueOf(p28).length() + 32)).append("HTTP status code ").append(v2_145).append(" at ").append(p28).toString());
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                        }
                                    }
                                }
                                String v7_0 = v3_46.getContentLength();
                                if (v7_0 >= null) {
                                    String v4_2 = com.google.android.gms.internal.zzsh.zzJY.format(((long) v7_0));
                                    int v15 = ((Integer) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCn)).intValue();
                                    if (v7_0 <= v15) {
                                        com.google.android.gms.internal.zzafr.zzaC(new StringBuilder(((String.valueOf(v4_2).length() + 20) + String.valueOf(p28).length())).append("Caching ").append(v4_2).append(" bytes from ").append(p28).toString());
                                        java.nio.channels.ReadableByteChannel v16_1 = java.nio.channels.Channels.newChannel(v3_46.getInputStream());
                                        java.io.FileOutputStream v12_1 = new java.io.FileOutputStream(v13_1);
                                        try {
                                            java.nio.channels.FileChannel v17 = v12_1.getChannel();
                                            java.nio.ByteBuffer v18 = java.nio.ByteBuffer.allocate(1048576);
                                            com.google.android.gms.common.util.zze v19 = com.google.android.gms.ads.internal.zzbs.zzbF();
                                            int v6_5 = 0;
                                            long v20 = v19.currentTimeMillis();
                                            com.google.android.gms.internal.zzair v22 = new com.google.android.gms.internal.zzair;
                                            v22(((Long) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCr)).longValue());
                                            long v24 = ((Long) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCq)).longValue();
                                        } catch (com.google.android.gms.internal.zzsc v2_59) {
                                            v3_20 = 0;
                                            v4_12 = "error";
                                            v5_5 = v12_1;
                                        }
                                        do {
                                            com.google.android.gms.internal.zzsc v2_26 = v16_1.read(v18);
                                            if (v2_26 < null) {
                                                v12_1.close();
                                                if (com.google.android.gms.internal.zzafr.zzz(3)) {
                                                    com.google.android.gms.internal.zzsc v2_30 = com.google.android.gms.internal.zzsh.zzJY.format(((long) v6_5));
                                                    com.google.android.gms.internal.zzafr.zzaC(new StringBuilder(((String.valueOf(v2_30).length() + 22) + String.valueOf(p28).length())).append("Preloaded ").append(v2_30).append(" bytes from ").append(p28).toString());
                                                }
                                                v13_1.setReadable(1, 0);
                                                if (!v14.isFile()) {
                                                    try {
                                                        v14.createNewFile();
                                                    } catch (com.google.android.gms.internal.zzsc v2) {
                                                    }
                                                } else {
                                                    v14.setLastModified(System.currentTimeMillis());
                                                }
                                                this.zza(p28, v13_1.getAbsolutePath(), v6_5);
                                                com.google.android.gms.internal.zzsh.zzJX.remove(v9_1);
                                                v2_40 = 1;
                                            } else {
                                                v6_5 += v2_26;
                                                try {
                                                    if (v6_5 <= v15) {
                                                        v18.flip();
                                                        while (v17.write(v18) > 0) {
                                                        }
                                                        v18.clear();
                                                        if ((v19.currentTimeMillis() - v20) <= (1000 * v24)) {
                                                            if (!this.zzKa) {
                                                            } else {
                                                                v4_12 = "externalAbort";
                                                                throw new java.io.IOException("abort requested");
                                                            }
                                                        } else {
                                                            v4_12 = "downloadTimeout";
                                                            com.google.android.gms.internal.zzsc v2_53 = String.valueOf(Long.toString(v24));
                                                            v3_20 = new StringBuilder((String.valueOf(v2_53).length() + 29)).append("Timeout exceeded. Limit: ").append(v2_53).append(" sec").toString();
                                                            throw new java.io.IOException("stream cache time limit exceeded");
                                                        }
                                                    } else {
                                                        v4_12 = "sizeExceeded";
                                                        com.google.android.gms.internal.zzsh v3_22 = String.valueOf(Integer.toString(v6_5));
                                                        if (v3_22.length() == 0) {
                                                            v3_20 = new String("File too big for full file cache. Size: ");
                                                        } else {
                                                            v3_20 = "File too big for full file cache. Size: ".concat(v3_22);
                                                        }
                                                        throw new java.io.IOException("stream cache file size limit exceeded");
                                                    }
                                                } catch (com.google.android.gms.internal.zzsc v2_59) {
                                                    v3_20 = 0;
                                                    v5_5 = v12_1;
                                                } catch (com.google.android.gms.internal.zzsc v2_59) {
                                                    v3_20 = 0;
                                                    v5_5 = v12_1;
                                                } catch (com.google.android.gms.internal.zzsc v2_59) {
                                                    v5_5 = v12_1;
                                                } catch (com.google.android.gms.internal.zzsc v2_59) {
                                                    v5_5 = v12_1;
                                                }
                                            }
                                        } while(!v22.tryAcquire());
                                        com.google.android.gms.internal.zzaiy.zzaaH.post(new com.google.android.gms.internal.zzsc(this, p28, v13_1.getAbsolutePath(), v6_5, v7_0, 0));
                                    } else {
                                        com.google.android.gms.internal.zzsc v2_78;
                                        com.google.android.gms.internal.zzafr.zzaT(new StringBuilder(((String.valueOf(v4_2).length() + 33) + String.valueOf(p28).length())).append("Content length ").append(v4_2).append(" exceeds limit at ").append(p28).toString());
                                        com.google.android.gms.internal.zzsc v2_76 = String.valueOf(v4_2);
                                        if (v2_76.length() == 0) {
                                            v2_78 = new String("File too big for full file cache. Size: ");
                                        } else {
                                            v2_78 = "File too big for full file cache. Size: ".concat(v2_76);
                                        }
                                        this.zza(p28, v13_1.getAbsolutePath(), "sizeExceeded", v2_78);
                                        com.google.android.gms.internal.zzsh.zzJX.remove(v9_1);
                                        v2_40 = 0;
                                    }
                                } else {
                                    com.google.android.gms.internal.zzsc v2_82;
                                    com.google.android.gms.internal.zzsc v2_80 = String.valueOf(p28);
                                    if (v2_80.length() == 0) {
                                        v2_82 = new String("Stream cache aborted, missing content-length header at ");
                                    } else {
                                        v2_82 = "Stream cache aborted, missing content-length header at ".concat(v2_80);
                                    }
                                    com.google.android.gms.internal.zzafr.zzaT(v2_82);
                                    this.zza(p28, v13_1.getAbsolutePath(), "contentLengthMissing", 0);
                                    com.google.android.gms.internal.zzsh.zzJX.remove(v9_1);
                                    v2_40 = 0;
                                }
                            } else {
                                com.google.android.gms.internal.zzsc v2_111;
                                com.google.android.gms.internal.zzsc v2_109 = String.valueOf(p28);
                                if (v2_109.length() == 0) {
                                    v2_111 = new String("Stream cache already in progress at ");
                                } else {
                                    v2_111 = "Stream cache already in progress at ".concat(v2_109);
                                }
                                com.google.android.gms.internal.zzafr.zzaT(v2_111);
                                this.zza(p28, v13_1.getAbsolutePath(), "inProgress", 0);
                                v2_40 = 0;
                            }
                        } catch (com.google.android.gms.internal.zzsc v2_113) {
                            throw v2_113;
                        }
                    } else {
                        com.google.android.gms.internal.zzsc v2_118;
                        com.google.android.gms.internal.zzsh v3_37 = ((int) v13_1.length());
                        com.google.android.gms.internal.zzsc v2_116 = String.valueOf(p28);
                        if (v2_116.length() == 0) {
                            v2_118 = new String("Stream cache hit at ");
                        } else {
                            v2_118 = "Stream cache hit at ".concat(v2_116);
                        }
                        com.google.android.gms.internal.zzafr.zzaC(v2_118);
                        this.zza(p28, v13_1.getAbsolutePath(), v3_37);
                        v2_40 = 1;
                    }
                } else {
                    com.google.android.gms.internal.zzsc v2_124;
                    if (this.zzJZ != null) {
                        String v7_10 = 0;
                        String v4_21 = nan;
                        String v9_0 = this.zzJZ.listFiles();
                        int v10_0 = v9_0.length;
                        int v8_3 = 0;
                        while (v8_3 < v10_0) {
                            com.google.android.gms.internal.zzsc v2_127;
                            String v4_23;
                            int v6_18 = v9_0[v8_3];
                            if (v6_18.getName().endsWith(".done")) {
                                v2_127 = v4_21;
                                v4_23 = v7_10;
                            } else {
                                v2_127 = v6_18.lastModified();
                                if (v2_127 >= v4_21) {
                                } else {
                                    v4_23 = v6_18;
                                }
                            }
                            v8_3++;
                            v7_10 = v4_23;
                            v4_21 = v2_127;
                        }
                        v2_124 = 0;
                        if (v7_10 != null) {
                            v2_124 = v7_10.delete();
                            com.google.android.gms.internal.zzsh v3_38 = this.zzb(v7_10);
                            if (v3_38.isFile()) {
                                v2_124 &= v3_38.delete();
                            }
                        }
                    } else {
                        v2_124 = 0;
                    }
                }
            } while(v2_124 != null);
            com.google.android.gms.internal.zzafr.zzaT("Unable to expire stream cache");
            this.zza(p28, 0, "expireFailed", 0);
            v2_40 = 0;
        } else {
            this.zza(p28, 0, "noCacheDir", 0);
            v2_40 = 0;
        }
        return v2_40;
    }

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


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

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


    public zzsh(com.google.android.gms.internal.zzaka p7)
    {
        super(p7);
        String v0_20 = super.mContext.getCacheDir();
        if (v0_20 != null) {
            super.zzJZ = new java.io.File(v0_20, "admobVideoStreams");
            if ((super.zzJZ.isDirectory()) || (super.zzJZ.mkdirs())) {
                if ((!super.zzJZ.setReadable(1, 0)) || (!super.zzJZ.setExecutable(1, 0))) {
                    String v0_12;
                    String v0_10 = String.valueOf(super.zzJZ.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.zzafr.zzaT(v0_12);
                    super.zzJZ = 0;
                }
            } else {
                String v0_18;
                String v0_16 = String.valueOf(super.zzJZ.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.zzafr.zzaT(v0_18);
                super.zzJZ = 0;
            }
        } else {
            com.google.android.gms.internal.zzafr.zzaT("Context.getCacheDir() returned null");
        }
        return;
    }

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


    public zzmr(android.content.Context p5, String p6, String p7, java.util.Map p8)
    {
        this.zzGN = new java.util.LinkedHashMap();
        this.zzGO = new java.util.HashMap();
        this.mContext = p5;
        this.zzwH = p6;
        this.zzGJ = p7;
        this.zzGP = new java.util.concurrent.atomic.AtomicBoolean(0);
        this.zzGP.set(((Boolean) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCS)).booleanValue());
        if (this.zzGP.get()) {
            java.util.Map v0_10 = android.os.Environment.getExternalStorageDirectory();
            if (v0_10 != null) {
                this.zzGQ = new java.io.File(v0_10, "sdk_csi_data.txt");
            }
        }
        com.google.android.gms.internal.zzmv v2_2 = p8.entrySet().iterator();
        while (v2_2.hasNext()) {
            java.util.Map v0_23 = ((java.util.Map$Entry) v2_2.next());
            this.zzGN.put(((String) v0_23.getKey()), ((String) v0_23.getValue()));
        }
        this.zzGL = new java.util.concurrent.ArrayBlockingQueue(30);
        this.zzGM = java.util.concurrent.Executors.newSingleThreadExecutor();
        this.zzGM.execute(new com.google.android.gms.internal.zzms(this));
        this.zzGO.put("action", com.google.android.gms.internal.zzmv.zzGT);
        this.zzGO.put("ad_format", com.google.android.gms.internal.zzmv.zzGT);
        this.zzGO.put("e", com.google.android.gms.internal.zzmv.zzGU);
        return;
    }

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


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

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


    public final void onCreate(android.database.sqlite.SQLiteDatabase p6)
    {
        String v0 = p6.getPath();
        if (com.google.android.gms.internal.zzanr.version() >= 9) {
            java.io.File v1_2 = new java.io.File(v0);
            v1_2.setReadable(0, 0);
            v1_2.setWritable(0, 0);
            v1_2.setReadable(1, 1);
            v1_2.setWritable(1, 1);
        }
        return;
    }

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


    protected final android.webkit.WebResourceResponse zza(android.webkit.WebView p8, String p9, java.util.Map p10)
    {
        int v0_2;
        if ((p8 instanceof com.google.android.gms.internal.zzaka)) {
            if (this.zztr != null) {
                this.zztr.zza(p9, p10, 1);
            }
            if ("mraid.js".equalsIgnoreCase(new java.io.File(p9).getName())) {
                if (((com.google.android.gms.internal.zzaka) p8).zziw() != null) {
                    ((com.google.android.gms.internal.zzaka) p8).zziw().zzfL();
                }
                String v1_11;
                if (!((com.google.android.gms.internal.zzaka) p8).zzam().zzAt) {
                    if (!((com.google.android.gms.internal.zzaka) p8).zziA()) {
                        v1_11 = ((String) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCN));
                    } else {
                        v1_11 = ((String) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCO));
                    }
                } else {
                    v1_11 = ((String) com.google.android.gms.ads.internal.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzCP));
                }
                try {
                    int v3_4 = ((com.google.android.gms.internal.zzaka) p8).getContext();
                    int v0_7 = ((com.google.android.gms.internal.zzaka) p8).zziz().zzaP;
                    String v4_1 = new java.util.HashMap();
                    v4_1.put("User-Agent", com.google.android.gms.ads.internal.zzbs.zzbz().zzs(v3_4, v0_7));
                    v4_1.put("Cache-Control", "max-stale=3600");
                    int v0_14 = ((String) new com.google.android.gms.internal.zzaie(v3_4).zzb(v1_11, v4_1).get(60, java.util.concurrent.TimeUnit.SECONDS));
                } catch (int v0_16) {
                    int v0_18 = String.valueOf(v0_16.getMessage());
                    if (v0_18.length() == 0) {
                        int v0_1 = new String("Could not fetch MRAID JS. ");
                    } else {
                        v0_1 = "Could not fetch MRAID JS. ".concat(v0_18);
                    }
                    com.google.android.gms.internal.zzafr.zzaT(v0_1);
                    v0_2 = 0;
                } catch (int v0_16) {
                } catch (int v0_16) {
                } catch (int v0_16) {
                }
                if (v0_14 != 0) {
                    v0_2 = new android.webkit.WebResourceResponse("application/javascript", "UTF-8", new java.io.ByteArrayInputStream(v0_14.getBytes("UTF-8")));
                } else {
                    v0_2 = 0;
                }
            } else {
                v0_2 = super.shouldInterceptRequest(p8, p9);
            }
        } else {
            com.google.android.gms.internal.zzafr.zzaT("Tried to intercept request from a WebView that wasn\'t an AdWebView.");
            v0_2 = 0;
        }
        return v0_2;
    }

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


    public final void zzR(android.content.Context p10)
    {
        com.google.android.gms.internal.zzafk v0_0 = com.google.android.gms.internal.zzaiu.zzif();
        com.google.android.gms.internal.zzafr.v("Updating user agent.");
        String v1_1 = android.webkit.WebSettings.getDefaultUserAgent(p10);
        if (!v1_1.equals(v0_0.zzJP)) {
            String v2_1 = com.google.android.gms.common.zzo.getRemoteContext(p10);
            if (v2_1 == null) {
                java.io.File v3_1 = p10.getSharedPreferences("admob_user_agent", 0).edit().putString("user_agent", android.webkit.WebSettings.getDefaultUserAgent(p10));
                if (v2_1 != null) {
                    java.io.File v4_4 = new java.io.File(p10.getApplicationInfo().dataDir, "shared_prefs");
                    String v5_3 = v4_4.getParentFile();
                    if (v5_3 != null) {
                        v5_3.setExecutable(1, 0);
                    }
                    v4_4.setExecutable(1, 0);
                    v3_1.commit();
                    new java.io.File(v4_4, String.valueOf("admob_user_agent").concat(".xml")).setReadable(1, 0);
                } else {
                    v3_1.apply();
                }
            }
            v0_0.zzJP = v1_1;
        }
        com.google.android.gms.internal.zzafr.v("User agent is updated.");
        com.google.android.gms.ads.internal.zzbs.zzbD().zzhH();
        return;
    }

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


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

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


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

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


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

Method com.google.android.gms.common.util.zzu.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.zzq.zzse()) {
            v0_1 = com.google.android.gms.common.util.zzu.zzd(new java.io.File(p3.getApplicationInfo().dataDir, "no_backup"));
        } else {
            v0_1 = p3.getNoBackupFilesDir();
        }
        return v0_1;
    }

Method com.facebook.share.internal.VideoUploader$UploadContext.initialize() calling method java.io.File.<init>()


    private void initialize()
    {
        try {
            if (!com.facebook.internal.Utility.isFileUri(this.videoUri)) {
                if (!com.facebook.internal.Utility.isContentUri(this.videoUri)) {
                    throw new com.facebook.FacebookException("Uri must be a content:// or file:// uri");
                } else {
                    this.videoSize = com.facebook.internal.Utility.getContentSize(this.videoUri);
                    this.videoStream = com.facebook.FacebookSdk.getApplicationContext().getContentResolver().openInputStream(this.videoUri);
                }
            } else {
                android.os.ParcelFileDescriptor v1 = android.os.ParcelFileDescriptor.open(new java.io.File(this.videoUri.getPath()), 268435456);
                this.videoSize = v1.getStatSize();
                this.videoStream = new android.os.ParcelFileDescriptor$AutoCloseInputStream(v1);
            }
        } catch (java.io.FileNotFoundException v0) {
            com.facebook.internal.Utility.closeQuietly(this.videoStream);
            throw v0;
        }
        return;
    }

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.internal.Utility.refreshBestGuessNumberOfCPUCores() calling method java.io.File.<init>()


    private static int refreshBestGuessNumberOfCPUCores()
    {
        int v3_6;
        if (com.facebook.internal.Utility.numCPUCores <= 0) {
            try {
                java.io.File[] v1 = new java.io.File("/sys/devices/system/cpu/").listFiles(new com.facebook.internal.Utility$3());
            } catch (int v3) {
                if (com.facebook.internal.Utility.numCPUCores <= 0) {
                    com.facebook.internal.Utility.numCPUCores = Math.max(Runtime.getRuntime().availableProcessors(), 1);
                }
                v3_6 = com.facebook.internal.Utility.numCPUCores;
            }
            if (v1 == null) {
            } else {
                com.facebook.internal.Utility.numCPUCores = v1.length;
            }
        } else {
            v3_6 = com.facebook.internal.Utility.numCPUCores;
        }
        return v3_6;
    }

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.facebook.GraphRequest.newUploadPhotoRequest() calling method java.io.File.<init>()


    public static com.facebook.GraphRequest newUploadPhotoRequest(com.facebook.AccessToken p6, String p7, android.net.Uri p8, String p9, android.os.Bundle p10, com.facebook.GraphRequest$Callback p11)
    {
        com.facebook.GraphRequest v0_2;
        String v7_1 = com.facebook.GraphRequest.getDefaultPhotoPathIfNull(p7);
        if (!com.facebook.internal.Utility.isFileUri(p8)) {
            if (com.facebook.internal.Utility.isContentUri(p8)) {
                android.os.Bundle v3_2 = new android.os.Bundle();
                if (p10 != null) {
                    v3_2.putAll(p10);
                }
                v3_2.putParcelable("picture", p8);
                v0_2 = new com.facebook.GraphRequest(p6, v7_1, v3_2, com.facebook.HttpMethod.POST, p11);
            } else {
                throw new com.facebook.FacebookException("The photo Uri must be either a file:// or content:// Uri");
            }
        } else {
            v0_2 = com.facebook.GraphRequest.newUploadPhotoRequest(p6, v7_1, new java.io.File(p8.getPath()), p9, p10, p11);
        }
        return v0_2;
    }

Method com.bumptech.glide.load.model.StringLoader.toFileUri() calling method java.io.File.<init>()


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

Method com.bumptech.glide.load.model.MediaStoreFileLoader$FilePathFetcher.loadData() calling method java.io.File.<init>()


    public void loadData(com.bumptech.glide.Priority p9, com.bumptech.glide.load.data.DataFetcher$DataCallback p10)
    {
        android.database.Cursor v6 = this.context.getContentResolver().query(this.uri, com.bumptech.glide.load.model.MediaStoreFileLoader$FilePathFetcher.PROJECTION, 0, 0, 0);
        String v7 = 0;
        if (v6 != null) {
            try {
                if (v6.moveToFirst()) {
                    v7 = v6.getString(v6.getColumnIndexOrThrow("_data"));
                }
            } catch (java.io.File v0_2) {
                v6.close();
                throw v0_2;
            }
            v6.close();
        }
        if (!android.text.TextUtils.isEmpty(v7)) {
            p10.onDataReady(new java.io.File(v7));
        } else {
            p10.onLoadFailed(new java.io.FileNotFoundException(new StringBuilder().append("Failed to find file path for: ").append(this.uri).toString()));
        }
        return;
    }

Method com.bumptech.glide.load.engine.executor.GlideExecutor.calculateBestThreadCount() calling method java.io.File.<init>()


    public static int calculateBestThreadCount()
    {
        android.os.StrictMode$ThreadPolicy v5 = android.os.StrictMode.allowThreadDiskReads();
        try {
            java.io.File[] v4 = new java.io.File("/sys/devices/system/cpu/").listFiles(new com.bumptech.glide.load.engine.executor.GlideExecutor$1(java.util.regex.Pattern.compile("cpu[0-9]+")));
            android.os.StrictMode.setThreadPolicy(v5);
        } catch (int v7_4) {
            android.os.StrictMode.setThreadPolicy(v5);
            throw v7_4;
        } catch (Throwable v6) {
            if (android.util.Log.isLoggable("GlideExecutor", 6)) {
                android.util.Log.e("GlideExecutor", "Failed to calculate accurate cpu count", v6);
            }
            android.os.StrictMode.setThreadPolicy(v5);
        }
        int v1;
        if (v4 == null) {
            v1 = 0;
        } else {
            v1 = v4.length;
        }
        return Math.min(4, Math.max(Math.max(1, Runtime.getRuntime().availableProcessors()), v1));
    }

Method com.bumptech.glide.load.engine.cache.InternalCacheDiskCacheFactory$1.getCacheDirectory() calling method java.io.File.<init>()


    public java.io.File getCacheDirectory()
    {
        java.io.File v0 = this.val$context.getCacheDir();
        if (v0 != null) {
            if (this.val$diskCacheName != null) {
                v0 = new java.io.File(v0, this.val$diskCacheName);
            }
        } else {
            v0 = 0;
        }
        return v0;
    }

Method com.bumptech.glide.load.engine.cache.ExternalCacheDiskCacheFactory$1.getCacheDirectory() calling method java.io.File.<init>()


    public java.io.File getCacheDirectory()
    {
        java.io.File v0 = this.val$context.getExternalCacheDir();
        if (v0 != null) {
            if (this.val$diskCacheName != null) {
                v0 = new java.io.File(v0, this.val$diskCacheName);
            }
        } else {
            v0 = 0;
        }
        return v0;
    }

Method com.bumptech.glide.load.engine.cache.DiskLruCacheFactory$2.getCacheDirectory() calling method java.io.File.<init>()


    public java.io.File getCacheDirectory()
    {
        return new java.io.File(this.val$diskCacheFolder, this.val$diskCacheName);
    }

Method com.bumptech.glide.load.engine.cache.DiskLruCacheFactory$1.getCacheDirectory() calling method java.io.File.<init>()


    public java.io.File getCacheDirectory()
    {
        return new java.io.File(this.val$diskCacheFolder);
    }

Method com.bumptech.glide.load.data.mediastore.FileService.get() calling method java.io.File.<init>()


    public java.io.File get(String p2)
    {
        return new java.io.File(p2);
    }

Method com.bumptech.glide.disklrucache.DiskLruCache.open() calling method java.io.File.<init>()


    public static com.bumptech.glide.disklrucache.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.bumptech.glide.disklrucache.DiskLruCache.renameTo(v6_1, v8_1, 0);
                    } else {
                        v6_1.delete();
                    }
                }
                void v7;
                void v0_1 = new com.bumptech.glide.disklrucache.DiskLruCache(p11, p12, p13, p14);
                if (!v0_1.journalFile.exists()) {
                    p11.mkdirs();
                    v7 = new com.bumptech.glide.disklrucache.DiskLruCache(p11, p12, p13, p14).rebuildJournal();
                } else {
                    try {
                        void v0_3 = v0_1.readJournal().processJournal();
                        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.bumptech.glide.disklrucache.DiskLruCache.<init>() calling method java.io.File.<init>()


    private DiskLruCache(java.io.File p11, int p12, int p13, long p14)
    {
        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(), new com.bumptech.glide.disklrucache.DiskLruCache$DiskLruCacheThreadFactory(0));
        this.cleanupCallable = new com.bumptech.glide.disklrucache.DiskLruCache$1(this);
        this.directory = p11;
        this.appVersion = p12;
        this.journalFile = new java.io.File(p11, "journal");
        this.journalFileTmp = new java.io.File(p11, "journal.tmp");
        this.journalFileBackup = new java.io.File(p11, "journal.bkp");
        this.valueCount = p13;
        this.maxSize = p14;
        return;
    }

Method com.bumptech.glide.disklrucache.DiskLruCache$Entry.<init>() calling method java.io.File.<init>()


    private DiskLruCache$Entry(com.bumptech.glide.disklrucache.DiskLruCache p8, String p9)
    {
        this.this$0 = p8;
        this.key = p9;
        java.io.File[] v3_9 = new long[com.bumptech.glide.disklrucache.DiskLruCache.access$1900(p8)];
        this.lengths = v3_9;
        java.io.File[] v3_11 = new java.io.File[com.bumptech.glide.disklrucache.DiskLruCache.access$1900(p8)];
        this.cleanFiles = v3_11;
        java.io.File[] v3_1 = new java.io.File[com.bumptech.glide.disklrucache.DiskLruCache.access$1900(p8)];
        this.dirtyFiles = v3_1;
        StringBuilder v0 = new StringBuilder(p9).append(46);
        int v2 = v0.length();
        int v1 = 0;
        while (v1 < com.bumptech.glide.disklrucache.DiskLruCache.access$1900(p8)) {
            v0.append(v1);
            this.cleanFiles[v1] = new java.io.File(com.bumptech.glide.disklrucache.DiskLruCache.access$2000(p8), v0.toString());
            v0.append(".tmp");
            this.dirtyFiles[v1] = new java.io.File(com.bumptech.glide.disklrucache.DiskLruCache.access$2000(p8), v0.toString());
            v0.setLength(v2);
            v1++;
        }
        return;
    }

Method com.bumptech.glide.Glide.getPhotoCacheDir() calling method java.io.File.<init>()


    public static java.io.File getPhotoCacheDir(android.content.Context p5, String p6)
    {
        int v1_0;
        java.io.File v0 = p5.getCacheDir();
        if (v0 == null) {
            if (android.util.Log.isLoggable("Glide", 6)) {
                android.util.Log.e("Glide", "default disk cache dir is null");
            }
            v1_0 = 0;
        } else {
            v1_0 = new java.io.File(v0, p6);
            if ((!v1_0.mkdirs()) && ((!v1_0.exists()) || (!v1_0.isDirectory()))) {
                v1_0 = 0;
            }
        }
        return v1_0;
    }

Method com.app.views.TitleBar.loadImage() calling method java.io.File.<init>()


    private void loadImage(android.widget.ImageView p3, String p4)
    {
        com.squareup.picasso.Picasso.with(this.context).load(android.net.Uri.fromFile(new java.io.File(p4))).fit().centerInside().into(p3);
        return;
    }

Method com.app.helpers.UIHelper.generateNoteOnSD() calling method java.io.File.<init>()


    public void generateNoteOnSD(android.content.Context p7, String p8, String p9)
    {
        try {
            java.io.File v2_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "Notes");
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        java.io.FileWriter v3_1 = new java.io.FileWriter(new java.io.File(v2_1, p8));
        v3_1.append(p9);
        v3_1.flush();
        v3_1.close();
        android.widget.Toast.makeText(p7, "Saved", 0).show();
        return;
    }

Method com.app.helpers.UIHelper.saveImage() calling method java.io.File.<init>()


    public static boolean saveImage(android.content.Context p10, android.graphics.Bitmap p11, String p12)
    {
        boolean v5 = 0;
        try {
            String[] v2 = com.app.helpers.UIHelper.getDirList();
            int v6 = 0;
        } catch (java.io.IOException v3) {
            v3.printStackTrace();
            return v5;
        }
        while (v6 < v2.length) {
            if (v2[v6].contains("sdcard")) {
                String v4 = new StringBuilder().append("/mnt/").append(v2[v6]).toString();
                java.io.File v7_1 = new java.io.File(new StringBuilder().append(v4).append("/Whistle").toString());
                if (!v7_1.isDirectory()) {
                    boolean v1 = v7_1.mkdir();
                    if ((v1) && (v1)) {
                        v5 = com.app.helpers.UIHelper.saveImage(p11, p12, "/Whistle", v4);
                        break;
                    }
                } else {
                    v5 = com.app.helpers.UIHelper.saveImage(p11, p12, "/Whistle", v4);
                    break;
                }
            }
            v6++;
        }
        return v5;
    }

Method com.app.helpers.UIHelper.getDirList() calling method java.io.File.<init>()


    protected static String[] getDirList()
    {
        int v0;
        java.io.File v1_1 = new java.io.File("/mnt/");
        if (!v1_1.isDirectory()) {
            v0 = 0;
        } else {
            v0 = v1_1.list();
        }
        return v0;
    }

Method com.app.helpers.UIHelper.deleteAllFiles() calling method java.io.File.<init>()


    public static boolean deleteAllFiles()
    {
        java.io.File v1_1 = new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory()).append("/Whistle").toString());
        if (v1_1.exists()) {
            java.io.File[] v4_0 = v1_1.listFiles();
            int v5 = v4_0.length;
            int v2_4 = 0;
            while (v2_4 < v5) {
                v4_0[v2_4].delete();
                v2_4++;
            }
        }
        return 0;
    }

Method com.app.helpers.OSHelper.getFullImagePathAudio() calling method java.io.File.<init>()


    public static String getFullImagePathAudio(String p8)
    {
        String[] v1 = com.app.helpers.OSHelper.getDirList();
        int v5 = 0;
        while (v5 < v1.length) {
            if (!v1[v5].contains("sdcard")) {
                v5++;
            } else {
                java.io.File v2_1 = new java.io.File(new StringBuilder().append(new StringBuilder().append("/mnt/").append(v1[v5]).append("/StoryTelling").toString()).append("/AudioStoryRecordings").toString());
                v2_1.mkdirs();
                String v4 = new StringBuilder().append(v2_1).append("/").append(p8).toString();
            }
            return v4;
        }
        v4 = 0;
        return v4;
    }

Method com.app.helpers.OSHelper.getDirList() calling method java.io.File.<init>()


    protected static String[] getDirList()
    {
        int v0;
        java.io.File v1_1 = new java.io.File("/mnt/");
        if (!v1_1.isDirectory()) {
            v0 = 0;
        } else {
            v0 = v1_1.list();
        }
        return v0;
    }

Method com.app.helpers.InputHelper.persistImage() calling method java.io.File.<init>()


    public static java.io.File persistImage(android.graphics.Bitmap p6, String p7, android.content.Context p8)
    {
        java.io.File v2_0 = new java.io.File(p8.getFilesDir(), new StringBuilder().append(p7).append(".png").toString());
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(v2_0);
            p6.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v3_1);
            v3_1.flush();
            v3_1.close();
        } catch (Exception v0) {
            android.util.Log.e("Error", "Error writing bitmap", v0);
        }
        return v2_0;
    }

Method com.app.helpers.Funcs.saveImage() calling method java.io.File.<init>()


    public static boolean saveImage(android.content.Context p10, android.graphics.Bitmap p11, String p12)
    {
        boolean v5 = 0;
        try {
            String[] v2 = com.app.helpers.Funcs.getDirList();
            int v6 = 0;
        } catch (java.io.IOException v3) {
            v3.printStackTrace();
            return v5;
        }
        while (v6 < v2.length) {
            if (v2[v6].contains("sdcard")) {
                String v4 = new StringBuilder().append("/mnt/").append(v2[v6]).toString();
                java.io.File v7_1 = new java.io.File(new StringBuilder().append(v4).append("/Tipriciate").toString());
                if (!v7_1.isDirectory()) {
                    boolean v1 = v7_1.mkdir();
                    if ((v1) && (v1)) {
                        v5 = com.app.helpers.Funcs.saveImage(p11, p12, "/Tipriciate", v4);
                        break;
                    }
                } else {
                    v5 = com.app.helpers.Funcs.saveImage(p11, p12, "/Tipriciate", v4);
                    break;
                }
            }
            v6++;
        }
        return v5;
    }

Method com.app.helpers.Funcs.replace() calling method java.io.File.<init>()


    public static String replace(android.app.Activity p7, android.graphics.Bitmap p8, String p9)
    {
        java.io.ByteArrayOutputStream v0_1 = new java.io.ByteArrayOutputStream();
        p8.compress(android.graphics.Bitmap$CompressFormat.JPEG, 70, v0_1);
        java.io.File v2_1 = new java.io.File(p9);
        try {
            v2_1.createNewFile();
            java.io.FileOutputStream v3_0 = new java.io.FileOutputStream(v2_1);
            v3_0.write(v0_1.toByteArray());
            v3_0.close();
        } catch (Exception v1) {
            v1.printStackTrace();
        }
        return p9;
    }

Method com.app.helpers.Funcs.getImage() calling method java.io.File.<init>()


    public static android.graphics.Bitmap getImage(String p8)
    {
        String[] v1 = com.app.helpers.Funcs.getDirList();
        int v5 = 0;
        while (v5 < v1.length) {
            if (v1[v5].contains("sdcard")) {
                String v4 = new StringBuilder().append(new StringBuilder().append("/mnt/").append(v1[v5]).append("/Poice").toString()).append("/").append(p8).toString();
                if (new java.io.File(v4).exists()) {
                    android.graphics.Bitmap v6_12 = android.graphics.BitmapFactory.decodeFile(v4);
                    return v6_12;
                }
            }
            v5++;
        }
        v6_12 = 0;
        return v6_12;
    }

Method com.app.helpers.Funcs.getDirList() calling method java.io.File.<init>()


    protected static String[] getDirList()
    {
        int v0;
        java.io.File v1_1 = new java.io.File("/mnt/");
        if (!v1_1.isDirectory()) {
            v0 = 0;
        } else {
            v0 = v1_1.list();
        }
        return v0;
    }

Method com.app.helpers.Funcs.deleteFile() calling method java.io.File.<init>()


    public static boolean deleteFile(String p2)
    {
        int v1_1;
        java.io.File v0_1 = new java.io.File(p2);
        if (!v0_1.exists()) {
            v1_1 = 0;
        } else {
            v1_1 = v0_1.delete();
        }
        return v1_1;
    }

Method com.app.helpers.Funcs.createImageDirectory() calling method java.io.File.<init>()


    public static void createImageDirectory()
    {
        java.io.File v0_1 = new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory().getAbsolutePath()).append("/iTravel/").toString());
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        return;
    }

Method com.app.helpers.CameraHelper.createImageFile() calling method java.io.File.<init>()


    public static String createImageFile(android.graphics.Bitmap p9, android.content.Context p10)
    {
        java.io.File v4 = 0;
        try {
            java.io.File v5_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory().toString(), "myfile");
            try {
                java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(v5_1);
                p9.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v6_1);
                v6_1.close();
                v4 = v5_1;
            } catch (Exception v2) {
                v4 = v5_1;
                android.widget.Toast.makeText(p10, "Image can\'t be taken due to low memory.", 1).show();
            }
            String v1;
            if (v4 == null) {
                v1 = "";
            } else {
                v1 = new StringBuilder().append("file:").append(v4.getAbsolutePath()).toString();
            }
            return v1;
        } catch (Exception v2) {
        }
    }

Method com.app.helpers.BitmapHelper.replace() calling method java.io.File.<init>()


    public static String replace(android.app.Activity p7, android.graphics.Bitmap p8, String p9)
    {
        java.io.ByteArrayOutputStream v0_1 = new java.io.ByteArrayOutputStream();
        p8.compress(android.graphics.Bitmap$CompressFormat.JPEG, 70, v0_1);
        java.io.File v2_1 = new java.io.File(p9);
        try {
            v2_1.createNewFile();
            java.io.FileOutputStream v3_0 = new java.io.FileOutputStream(v2_1);
            v3_0.write(v0_1.toByteArray());
            v3_0.close();
        } catch (Exception v1) {
            v1.printStackTrace();
        }
        return p9;
    }

Method com.app.helpers.BitmapHelper.convertBitmapToFile() calling method java.io.File.<init>()


    public static java.io.File convertBitmapToFile(android.content.Context p8, android.graphics.Bitmap p9)
    {
        java.io.File v4_1 = new java.io.File(p8.getCacheDir(), "temp");
        try {
            v4_1.createNewFile();
            java.io.ByteArrayOutputStream v2_1 = new java.io.ByteArrayOutputStream();
            p9.compress(android.graphics.Bitmap$CompressFormat.PNG, 0, v2_1);
            byte[] v1 = v2_1.toByteArray();
            java.io.FileOutputStream v5_1 = new java.io.FileOutputStream(v4_1);
            v5_1.write(v1);
            v5_1.flush();
            v5_1.close();
        } catch (java.io.IOException v3) {
            v3.printStackTrace();
        }
        return v4_1;
    }

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


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

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


    public boolean renameTo(String p3)
    {
        int 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.graphics.TypefaceCompatUtil.getTempFile() calling method java.io.File.<init>()


    public static java.io.File getTempFile(android.content.Context p5)
    {
        String v2 = new StringBuilder().append(".font").append(android.os.Process.myPid()).append("-").append(android.os.Process.myTid()).append("-").toString();
        int v1 = 0;
        while (v1 < 100) {
            int v0_0 = new java.io.File(p5.getCacheDir(), new StringBuilder().append(v2).append(v1).toString());
            try {
                if (v0_0.createNewFile()) {
                    return v0_0;
                }
                v1++;
            } catch (java.io.IOException v3) {
            }
        }
        v0_0 = 0;
        return v0_0;
    }

Method android.support.v4.graphics.TypefaceCompatApi21Impl.getFile() calling method java.io.File.<init>()


    private java.io.File getFile(android.os.ParcelFileDescriptor p6)
    {
        try {
            int v2_6;
            String v1 = android.system.Os.readlink(new StringBuilder().append("/proc/self/fd/").append(p6.getFd()).toString());
        } catch (android.system.ErrnoException v0) {
            v2_6 = 0;
            return v2_6;
        }
        if (!android.system.OsConstants.S_ISREG(android.system.Os.stat(v1).st_mode)) {
            v2_6 = 0;
            return v2_6;
        } else {
            v2_6 = new java.io.File(v1);
            return v2_6;
        }
    }

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


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

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


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

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


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

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


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

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


    public static java.io.File getDataDir(android.content.Context p3)
    {
        int v1_1;
        if (android.os.Build$VERSION.SDK_INT < 24) {
            String v0 = p3.getApplicationInfo().dataDir;
            if (v0 == null) {
                v1_1 = 0;
            } else {
                v1_1 = new java.io.File(v0);
            }
        } else {
            v1_1 = p3.getDataDir();
        }
        return v1_1;
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


    private final boolean zzyX()
    {
        this.zzwE().zzjC();
        try {
            int v0_11;
            this.zzbsN = new java.io.RandomAccessFile(new java.io.File(this.mContext.getFilesDir(), com.google.android.gms.internal.zzcem.zzxC()), "rw").getChannel();
            this.zzbsM = this.zzbsN.tryLock();
        } catch (int v0_14) {
            this.zzwF().zzyx().zzj("Failed to acquire storage lock", v0_14);
            v0_11 = 0;
            return v0_11;
        } catch (int v0_12) {
            this.zzwF().zzyx().zzj("Failed to access storage lock file", v0_12);
        }
        if (this.zzbsM == null) {
            this.zzwF().zzyx().log("Storage concurrent data access panic");
        } else {
            this.zzwF().zzyD().log("Storage concurrent access okay");
            v0_11 = 1;
            return v0_11;
        }
    }

Method com.bumptech.glide.util.ByteBufferUtil.toFile() calling method java.io.RandomAccessFile.<init>()


    public static void toFile(java.nio.ByteBuffer p5, java.io.File p6)
    {
        java.io.RandomAccessFile v1 = 0;
        java.nio.channels.FileChannel v0 = 0;
        try {
            java.io.RandomAccessFile v2_1 = new java.io.RandomAccessFile(p6, "rw");
            try {
                v0 = v2_1.getChannel();
                v0.write(p5);
                v0.force(0);
                v0.close();
                v2_1.close();
            } catch (java.io.IOException v3_0) {
                v1 = v2_1;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v4) {
                    }
                }
                if (v1 != null) {
                    try {
                        v1.close();
                    } catch (java.io.IOException v4) {
                    }
                }
                throw v3_0;
            }
            if (v0 != null) {
                try {
                    v0.close();
                } catch (java.io.IOException v3) {
                }
            }
            if (v2_1 != null) {
                try {
                    v2_1.close();
                } catch (java.io.IOException v3) {
                }
            }
            return;
        } catch (java.io.IOException v3_0) {
        }
    }

Method com.bumptech.glide.util.ByteBufferUtil.fromFile() calling method java.io.RandomAccessFile.<init>()


    public static java.nio.ByteBuffer fromFile(java.io.File p8)
    {
        java.io.RandomAccessFile v6 = 0;
        java.nio.channels.FileChannel v0 = 0;
        try {
            java.io.RandomAccessFile v7_1 = new java.io.RandomAccessFile(p8, "r");
            try {
                v0 = v7_1.getChannel();
                Throwable v1_1 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, p8.length()).load();
            } catch (Throwable v1_2) {
                v6 = v7_1;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v2) {
                    }
                }
                if (v6 != null) {
                    try {
                        v6.close();
                    } catch (java.io.IOException v2) {
                    }
                }
                throw v1_2;
            }
            if (v0 != null) {
                try {
                    v0.close();
                } catch (java.io.IOException v2) {
                }
            }
            if (v7_1 != null) {
                try {
                    v7_1.close();
                } catch (java.io.IOException v2) {
                }
            }
            return v1_1;
        } catch (Throwable v1_2) {
        }
    }

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


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

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


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

Method com.app.helpers.UIHelper.WriteFile() calling method android.app.Activity.openFileOutput()


    public static void WriteFile(android.app.Activity p5, String p6, String p7)
    {
        try {
            java.io.OutputStreamWriter v2_1 = new java.io.OutputStreamWriter(p5.openFileOutput("mytextfile.txt", 0));
            v2_1.write(p6);
            v2_1.close();
            android.widget.Toast.makeText(p5, "File saved successfully!", 0).show();
        } catch (Exception v0) {
            v0.printStackTrace();
        }
        return;
    }

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


    private final boolean zzv(android.content.Context p5, String p6)
    {
        java.io.IOException v0_0 = 0;
        com.google.android.gms.common.internal.zzbo.zzcF(p6);
        com.google.android.gms.common.internal.zzbo.zzcG("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.internal.zzalx.zzbn() calling method android.content.Context.openFileOutput()


    private final boolean zzbn(String p6)
    {
        try {
            java.io.IOException v1_1 = com.google.android.gms.internal.zzalx.zzbm(p6);
            this.zzbo("Storing hashed adid.");
            String v2_0 = this.getContext().openFileOutput("gaClientIdData", 0);
            v2_0.write(v1_1.getBytes());
            v2_0.close();
            this.zzafy = v1_1;
        } catch (java.io.IOException v1_0) {
            this.zze("Error creating hash file", v1_0);
        }
        return 1;
    }

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


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

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


    public final void run()
    {
        String v2_1 = new com.google.android.gms.internal.abp();
        if (this.zzcnE != null) {
            v2_1.zzcnX = com.google.android.gms.internal.abg.zza(this.zzcnE);
        }
        if (this.zzcnF != null) {
            v2_1.zzcnY = com.google.android.gms.internal.abg.zza(this.zzcnF);
        }
        if (this.zzcnG != null) {
            v2_1.zzcnZ = com.google.android.gms.internal.abg.zza(this.zzcnG);
        }
        if (this.zzcnw != null) {
            int v0_8 = new com.google.android.gms.internal.abn();
            v0_8.zzcnS = this.zzcnw.getLastFetchStatus();
            v0_8.zzcnT = this.zzcnw.isDeveloperModeEnabled();
            v0_8.zzcnU = this.zzcnw.zzKI();
            v2_1.zzcoa = v0_8;
        }
        if ((this.zzcnw != null) && (this.zzcnw.zzKG() != null)) {
            int v3_1 = new java.util.ArrayList();
            java.util.Map v4_1 = this.zzcnw.zzKG();
            java.util.Iterator v5 = v4_1.keySet().iterator();
            while (v5.hasNext()) {
                int v0_24 = ((String) v5.next());
                if (v4_1.get(v0_24) != null) {
                    com.google.android.gms.internal.abq v6_1 = new com.google.android.gms.internal.abq();
                    v6_1.zzbxU = v0_24;
                    v6_1.zzcod = ((com.google.android.gms.internal.abe) v4_1.get(v0_24)).zzKD();
                    v6_1.resourceId = ((com.google.android.gms.internal.abe) v4_1.get(v0_24)).zzKC();
                    v3_1.add(v6_1);
                }
            }
            int v0_17 = new com.google.android.gms.internal.abq[v3_1.size()];
            v2_1.zzcob = ((com.google.android.gms.internal.abq[]) v3_1.toArray(v0_17));
        }
        int v0_21 = com.google.android.gms.internal.adp.zzc(v2_1);
        try {
            com.google.android.gms.internal.abe v1_6 = this.mContext.openFileOutput("persisted_config", 0);
            v1_6.write(v0_21);
            v1_6.close();
        } catch (int v0_22) {
            android.util.Log.e("AsyncPersisterTask", "Could not persist config.", v0_22);
        }
        return;
    }

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.w(com.facebook.appevents.AppEventsLogger.access$400(), new StringBuilder().append("Got unexpected exception while writing app session info: ").append(v0.toString()).toString());
                    com.facebook.internal.Utility.closeQuietly(v1);
                    return;
                }
            } catch (Throwable v3_6) {
            } catch (Exception v0) {
            }
        }
        throw v3_7;
    }

Method com.facebook.appevents.AppEventStore.saveEventsToDisk() calling method android.content.Context.openFileOutput()


    private static void saveEventsToDisk(com.facebook.appevents.PersistedEvents p7)
    {
        java.io.ObjectOutputStream v2 = 0;
        try {
            java.io.ObjectOutputStream v3_0 = new java.io.ObjectOutputStream(new java.io.BufferedOutputStream(com.facebook.appevents.AppEventsLogger.getApplicationContext().openFileOutput("AppEventsLogger.persistedevents", 0)));
            try {
                v3_0.writeObject(p7);
                com.facebook.internal.Utility.closeQuietly(v3_0);
            } catch (Throwable v4_1) {
                v2 = v3_0;
                com.facebook.internal.Utility.closeQuietly(v2);
                throw v4_1;
            } catch (Exception v1) {
                v2 = v3_0;
                android.util.Log.w(com.facebook.appevents.AppEventStore.TAG, new StringBuilder().append("Got unexpected exception while persisting events: ").append(v1.toString()).toString());
                com.facebook.internal.Utility.closeQuietly(v2);
            }
            return;
        } catch (Throwable v4_1) {
        } catch (Exception v1) {
        }
    }

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


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

Method com.ingic.tripcrasher.fragments.GetCrashFragment$10.onClick() calling method java.io.File.<init>()


    public void onClick(android.content.DialogInterface p10, int p11)
    {
        if (this.this$0.imageList.size() != 3) {
            this.this$0.picture2 = 0;
            this.this$0.imgTrip2.setImageDrawable(0);
            this.this$0.imgTrip2Delete.setVisibility(8);
        } else {
            this.this$0.picture2 = com.ingic.tripcrasher.fragments.GetCrashFragment.access$1600(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(2))));
            com.ingic.tripcrasher.fragments.GetCrashFragment.access$1700(this.this$0, new java.io.File(((String) this.this$0.imageList.get(2))), this.this$0.imgTrip2);
            this.this$0.picture3 = 0;
            this.this$0.imgTrip3.setImageDrawable(0);
            this.this$0.imgTrip3Delete.setVisibility(8);
        }
        this.this$0.imageList.remove(this.this$0.imageList.get(1));
        android.util.Log.e("picture1", new StringBuilder().append(this.this$0.picture1).append("").toString());
        android.util.Log.e("picture2", new StringBuilder().append(this.this$0.picture2).append("").toString());
        android.util.Log.e("picture3", new StringBuilder().append(this.this$0.picture3).append("").toString());
        int v1 = 0;
        while (v1 < this.this$0.imageList.size()) {
            android.util.Log.e(new StringBuilder().append("id").append(v1).toString(), ((String) this.this$0.imageList.get(v1)));
            v1++;
        }
        return;
    }

Method com.ingic.tripcrasher.fragments.EditTripFragment.onClicked() calling method java.io.File.<init>()


    public void onClicked(java.util.ArrayList p13)
    {
        this.imageList.add(p13.get((p13.size() - 1)));
        this.imgTrip.setImageDrawable(0);
        this.imgTrip2.setImageDrawable(0);
        this.imgTrip3.setImageDrawable(0);
        if (this.imageList.size() == 1) {
            java.io.File v0_4 = new java.io.File(((String) this.imageList.get(0)));
            this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
            this.setBitamp(v0_4, this.imgTrip);
            this.imgTripDelete.setVisibility(0);
            this.picture2 = 0;
            this.picture3 = 0;
        }
        if (this.imageList.size() == 2) {
            java.io.File v0_6 = new java.io.File(((String) this.imageList.get(0)));
            this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
            java.io.File v1_1 = new java.io.File(((String) this.imageList.get(1)));
            this.picture2 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(1))));
            this.imgTripDelete.setVisibility(0);
            this.imgTrip2Delete.setVisibility(0);
            this.setBitamp(v0_6, this.imgTrip);
            this.setBitamp(v1_1, this.imgTrip2);
            this.picture3 = 0;
        }
        if (this.imageList.size() != 3) {
            if (this.imageList.size() > 3) {
                java.io.File v0_0 = new java.io.File(((String) this.imageList.get(0)));
                this.picture1 = this.activityReference.convertFile(v0_0);
                java.io.File v2_1 = new java.io.File(((String) this.imageList.get(1)));
                this.picture2 = this.activityReference.convertFile(v2_1);
                java.io.File v3_1 = new java.io.File(((String) this.imageList.get(2)));
                this.picture3 = this.activityReference.convertFile(v3_1);
                this.setBitamp(v0_0, this.imgTrip);
                this.setBitamp(v2_1, this.imgTrip2);
                this.setBitamp(v3_1, this.imgTrip3);
                this.imgTripDelete.setVisibility(0);
                this.imgTrip2Delete.setVisibility(0);
                this.imgTrip3Delete.setVisibility(0);
                com.app.helpers.UIHelper.showShortToastInCenter(this.activityReference, "You can only upload 3 images.");
            }
        } else {
            java.io.File v0_2 = new java.io.File(((String) this.imageList.get(0)));
            this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
            java.io.File v2_3 = new java.io.File(((String) this.imageList.get(1)));
            this.picture2 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(1))));
            java.io.File v3_3 = new java.io.File(((String) this.imageList.get(2)));
            this.picture3 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(2))));
            this.imgTripDelete.setVisibility(0);
            this.imgTrip2Delete.setVisibility(0);
            this.imgTrip3Delete.setVisibility(0);
            this.setBitamp(v0_2, this.imgTrip);
            this.setBitamp(v2_3, this.imgTrip2);
            this.setBitamp(v3_3, this.imgTrip3);
        }
        return;
    }

Method com.ingic.tripcrasher.fragments.EditTripFragment.setValuesForEdit() calling method java.io.File.<init>()


    private void setValuesForEdit()
    {
        this.interestImgs.removeAllViews();
        if (!com.app.helpers.Utils.isEmptyOrNull(this.interestValue)) {
            this.items = java.util.Arrays.asList(this.interestValue.split("\\s*,\\s*"));
            this.interestList_ = new java.util.ArrayList(this.items);
            if (this.interestList_.size() > 0) {
                int v0_0 = 0;
                while (v0_0 < this.interestList_.size()) {
                    if (!com.ingic.tripcrasher.fragments.EditTripFragment.isNumeric(((String) this.interestList_.get(v0_0)))) {
                        if (!com.ingic.tripcrasher.fragments.EditTripFragment.isNumeric(((String) this.interestList_.get(v0_0)))) {
                            this.addinterestLayout(((String) this.interestList_.get(v0_0)));
                        }
                    } else {
                        this.createInterestImages(this.setInterestValues(((String) this.interestList_.get(v0_0))));
                    }
                    v0_0++;
                }
            }
        }
        if ((com.app.helpers.Utils.isEmptyOrNull(this.destination)) || (this.edit != 1)) {
            if ((this.destList.size() > 0) && (this.edit == 0)) {
                this.destinationHorizontal.removeAllViews();
                int v0_1 = 0;
                while (v0_1 < this.destList.size()) {
                    this.addDestinations(((String) this.destList.get(v0_1)));
                    v0_1++;
                }
            }
        } else {
            this.desti = java.util.Arrays.asList(this.destination.split("\\s*,\\s*"));
            this.destList = new java.util.ArrayList(this.desti);
            if (this.destList.size() > 0) {
                this.destinationHorizontal.removeAllViews();
                int v0_2 = 0;
                while (v0_2 < this.destList.size()) {
                    this.addDestinations(((String) this.destList.get(v0_2)));
                    v0_2++;
                }
            }
        }
        if (!com.app.helpers.Utils.isEmptyOrNull(this.selectedGender)) {
            this.crashImg.setBackgroundResource(this.setGenderImage(this.selectedGender));
            this.crashImg.setBackgroundResource(this.setGenderImage(this.selectedGender));
        }
        if (!com.app.helpers.Utils.isEmptyOrNull(this.age)) {
            this.txtAgeValue.setText(new StringBuilder().append("").append(this.age).toString());
            this.ageRange = java.util.Arrays.asList(this.age.split("-"));
            this.age_lower = ((String) this.ageRange.get(0));
            this.age_upper = ((String) this.ageRange.get(1));
        }
        if ((com.app.helpers.Utils.isEmptyOrNull(this.start_)) || ((com.app.helpers.Utils.isEmptyOrNull(this.end_)) || (this.edit != 1))) {
            if ((!com.app.helpers.Utils.isEmptyOrNull(this.startDate)) && ((!com.app.helpers.Utils.isEmptyOrNull(this.endDate)) && ((!com.app.helpers.Utils.isEmptyOrNull(this.total)) && (this.edit == 0)))) {
                this.txtStartOnValue.setText(this.startDate);
                this.txtEndOnValue.setText(this.endDate);
                this.txtTotalValue.setText(this.total);
            }
        } else {
            this.txtStartOnValue.setText(com.app.helpers.Utils.formatDate2(this.start_));
            this.txtEndOnValue.setText(com.app.helpers.Utils.formatDate2(this.end_));
            if ((com.app.helpers.DateHelper.differenceDaysBetweenDates(this.start_, this.end_) <= 0) || (com.app.helpers.DateHelper.differenceDaysBetweenDates(this.start_, this.end_) >= 2)) {
                if (com.app.helpers.DateHelper.differenceDaysBetweenDates(this.start_, this.end_) <= 1) {
                    this.txtTotalValue.setText("0\n Night");
                } else {
                    this.txtTotalValue.setText(new StringBuilder().append(com.app.helpers.DateHelper.differenceDaysBetweenDates(this.start_, this.end_)).append("\n Nights").toString());
                }
            } else {
                this.txtTotalValue.setText(new StringBuilder().append(com.app.helpers.DateHelper.differenceDaysBetweenDates(this.start_, this.end_)).append("\n Night").toString());
            }
        }
        if (!com.app.helpers.Utils.isEmptyOrNull(this.tripName)) {
            this.txtTripName.setText(this.tripName);
        }
        if (!com.app.helpers.Utils.isEmptyOrNull(this.description)) {
            this.txtDescriptionValue.setText(this.description);
        }
        if (this.imageList.size() > 0) {
            if (this.imageList.size() == 1) {
                this.imgTrip.setVisibility(0);
                if (((String) this.imageList.get(0)).substring(0, 4).equals("http")) {
                    this.activityReference.getImageSquare(this.imgTrip, ((String) this.imageList.get(0)), this.activityReference);
                } else {
                    this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
                    this.setBitamp(new java.io.File(((String) this.imageList.get(0))), this.imgTrip);
                }
                this.imgTripDelete.setVisibility(0);
            }
            if (this.imageList.size() == 2) {
                if (((String) this.imageList.get(0)).substring(0, 4).equals("http")) {
                    this.activityReference.getImageSquare(this.imgTrip, ((String) this.imageList.get(0)), this.activityReference);
                } else {
                    this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
                    this.setBitamp(new java.io.File(((String) this.imageList.get(0))), this.imgTrip);
                }
                if (((String) this.imageList.get(1)).substring(0, 4).equals("http")) {
                    this.activityReference.getImageSquare(this.imgTrip2, ((String) this.imageList.get(1)), this.activityReference);
                } else {
                    this.picture2 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(1))));
                    this.setBitamp(new java.io.File(((String) this.imageList.get(1))), this.imgTrip2);
                }
                this.imgTripDelete.setVisibility(0);
                this.imgTrip2Delete.setVisibility(0);
            }
            if (this.imageList.size() != 3) {
                if (this.imageList.size() > 3) {
                    if (((String) this.imageList.get(0)).substring(0, 4).equals("http")) {
                        this.activityReference.getImageSquare(this.imgTrip, ((String) this.imageList.get(0)), this.activityReference);
                    } else {
                        this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
                        this.setBitamp(new java.io.File(((String) this.imageList.get(0))), this.imgTrip);
                    }
                    if (((String) this.imageList.get(1)).substring(0, 4).equals("http")) {
                        this.activityReference.getImageSquare(this.imgTrip2, ((String) this.imageList.get(1)), this.activityReference);
                    } else {
                        this.picture2 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(1))));
                        this.setBitamp(new java.io.File(((String) this.imageList.get(1))), this.imgTrip2);
                    }
                    if (((String) this.imageList.get(2)).substring(0, 4).equals("http")) {
                        this.activityReference.getImageSquare(this.imgTrip3, ((String) this.imageList.get(2)), this.activityReference);
                    } else {
                        this.picture3 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(2))));
                        this.setBitamp(new java.io.File(((String) this.imageList.get(2))), this.imgTrip3);
                    }
                    this.imgTripDelete.setVisibility(0);
                    this.imgTrip2Delete.setVisibility(0);
                    this.imgTrip3Delete.setVisibility(0);
                }
            } else {
                if (((String) this.imageList.get(0)).substring(0, 4).equals("http")) {
                    this.activityReference.getImageSquare(this.imgTrip, ((String) this.imageList.get(0)), this.activityReference);
                } else {
                    this.picture1 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(0))));
                    this.setBitamp(new java.io.File(((String) this.imageList.get(0))), this.imgTrip);
                }
                if (((String) this.imageList.get(1)).substring(0, 4).equals("http")) {
                    this.activityReference.getImageSquare(this.imgTrip2, ((String) this.imageList.get(1)), this.activityReference);
                } else {
                    this.picture2 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(1))));
                    this.setBitamp(new java.io.File(((String) this.imageList.get(1))), this.imgTrip2);
                }
                if (((String) this.imageList.get(2)).substring(0, 4).equals("http")) {
                    this.activityReference.getImageSquare(this.imgTrip3, ((String) this.imageList.get(2)), this.activityReference);
                } else {
                    this.picture3 = this.activityReference.convertFile(new java.io.File(((String) this.imageList.get(2))));
                    this.setBitamp(new java.io.File(((String) this.imageList.get(2))), this.imgTrip3);
                }
                this.imgTripDelete.setVisibility(0);
                this.imgTrip2Delete.setVisibility(0);
                this.imgTrip3Delete.setVisibility(0);
            }
        }
        this.edit = 0;
        return;
    }

Method com.ingic.tripcrasher.fragments.EditTripFragment$1.onSuccess() calling method java.io.File.<init>()


    public void onSuccess(com.app.retrofit.WebResponse p12, retrofit.client.Response p13)
    {
        if (p12.getResponse().equals(com.app.retrofit.WebServiceFactory.statusValue)) {
            com.ingic.tripcrasher.fragments.EditTripFragment.access$000(this.this$0).hideSweetLoader();
            int v0 = 0;
            while (v0 < this.this$0.imageList.size()) {
                if (((String) this.this$0.imageList.get(v0)).equals(this.val$picture_id)) {
                    this.this$0.selIndex = v0;
                }
                v0++;
            }
            switch (this.this$0.selIndex) {
                case 0:
                    if (this.this$0.imageList.size() != 3) {
                        if (this.this$0.imageList.size() != 2) {
                            this.this$0.picture1 = 0;
                            this.this$0.imgTrip.setImageDrawable(0);
                            this.this$0.imgTripDelete.setVisibility(8);
                        } else {
                            if (((String) this.this$0.imageList.get(1)).substring(0, 4).equals("http")) {
                                com.ingic.tripcrasher.fragments.EditTripFragment.access$1000(this.this$0).getImageSquare(this.this$0.imgTrip, ((String) this.this$0.imageList.get(1)), com.ingic.tripcrasher.fragments.EditTripFragment.access$900(this.this$0));
                            } else {
                                this.this$0.picture1 = com.ingic.tripcrasher.fragments.EditTripFragment.access$800(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(1))));
                                com.ingic.tripcrasher.fragments.EditTripFragment.access$200(this.this$0, new java.io.File(((String) this.this$0.imageList.get(1))), this.this$0.imgTrip);
                            }
                            this.this$0.picture2 = 0;
                            this.this$0.imgTrip2.setImageDrawable(0);
                            this.this$0.imgTrip2Delete.setVisibility(8);
                        }
                    } else {
                        if (((String) this.this$0.imageList.get(2)).substring(0, 4).equals("http")) {
                            com.ingic.tripcrasher.fragments.EditTripFragment.access$400(this.this$0).getImageSquare(this.this$0.imgTrip2, ((String) this.this$0.imageList.get(2)), com.ingic.tripcrasher.fragments.EditTripFragment.access$300(this.this$0));
                        } else {
                            this.this$0.picture2 = com.ingic.tripcrasher.fragments.EditTripFragment.access$100(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(2))));
                            com.ingic.tripcrasher.fragments.EditTripFragment.access$200(this.this$0, new java.io.File(((String) this.this$0.imageList.get(2))), this.this$0.imgTrip2);
                        }
                        if (((String) this.this$0.imageList.get(1)).substring(0, 4).equals("http")) {
                            com.ingic.tripcrasher.fragments.EditTripFragment.access$700(this.this$0).getImageSquare(this.this$0.imgTrip, ((String) this.this$0.imageList.get(1)), com.ingic.tripcrasher.fragments.EditTripFragment.access$600(this.this$0));
                        } else {
                            this.this$0.picture1 = com.ingic.tripcrasher.fragments.EditTripFragment.access$500(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(1))));
                            com.ingic.tripcrasher.fragments.EditTripFragment.access$200(this.this$0, new java.io.File(((String) this.this$0.imageList.get(1))), this.this$0.imgTrip);
                        }
                        this.this$0.picture3 = 0;
                        this.this$0.imgTrip3.setImageDrawable(0);
                        this.this$0.imgTrip3Delete.setVisibility(8);
                    }
                    this.this$0.imageList.remove(this.this$0.imageList.get(0));
                case 1:
                default:
                    break;
                case 2:
                    this.this$0.imageList.remove(this.this$0.imageList.get(2));
                    this.this$0.picture3 = 0;
                    this.this$0.imgTrip3.setImageDrawable(0);
                    this.this$0.imgTrip3Delete.setVisibility(8);
                    break;
            }
        }
        return;
    }

Method com.ingic.tripcrasher.fragments.EditTripFragment$11.onClick() calling method java.io.File.<init>()


    public void onClick(android.content.DialogInterface p12, int p13)
    {
        if (((String) this.this$0.imageList.get(0)).substring(0, 4).equals("http")) {
            this.this$0.deletePictures = new StringBuilder().append(((String) this.this$0.imageList.get(0))).append(",").toString();
        }
        if (this.this$0.imageList.size() != 3) {
            if (this.this$0.imageList.size() != 2) {
                this.this$0.picture1 = 0;
                this.this$0.imgTrip.setImageDrawable(0);
                this.this$0.imgTripDelete.setVisibility(8);
            } else {
                if (((String) this.this$0.imageList.get(1)).substring(0, 4).equals("http")) {
                    com.ingic.tripcrasher.fragments.EditTripFragment.access$3600(this.this$0).getImageSquare(this.this$0.imgTrip, ((String) this.this$0.imageList.get(1)), com.ingic.tripcrasher.fragments.EditTripFragment.access$3500(this.this$0));
                } else {
                    this.this$0.picture1 = com.ingic.tripcrasher.fragments.EditTripFragment.access$3400(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(1))));
                    com.ingic.tripcrasher.fragments.EditTripFragment.access$200(this.this$0, new java.io.File(((String) this.this$0.imageList.get(1))), this.this$0.imgTrip);
                }
                this.this$0.picture2 = 0;
                this.this$0.imgTrip2.setImageDrawable(0);
                this.this$0.imgTrip2Delete.setVisibility(8);
            }
        } else {
            if (((String) this.this$0.imageList.get(2)).substring(0, 4).equals("http")) {
                com.ingic.tripcrasher.fragments.EditTripFragment.access$3000(this.this$0).getImageSquare(this.this$0.imgTrip2, ((String) this.this$0.imageList.get(2)), com.ingic.tripcrasher.fragments.EditTripFragment.access$2900(this.this$0));
            } else {
                this.this$0.picture2 = com.ingic.tripcrasher.fragments.EditTripFragment.access$2800(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(2))));
                com.ingic.tripcrasher.fragments.EditTripFragment.access$200(this.this$0, new java.io.File(((String) this.this$0.imageList.get(2))), this.this$0.imgTrip2);
            }
            if (((String) this.this$0.imageList.get(1)).substring(0, 4).equals("http")) {
                com.ingic.tripcrasher.fragments.EditTripFragment.access$3300(this.this$0).getImageSquare(this.this$0.imgTrip, ((String) this.this$0.imageList.get(1)), com.ingic.tripcrasher.fragments.EditTripFragment.access$3200(this.this$0));
            } else {
                this.this$0.picture1 = com.ingic.tripcrasher.fragments.EditTripFragment.access$3100(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(1))));
                com.ingic.tripcrasher.fragments.EditTripFragment.access$200(this.this$0, new java.io.File(((String) this.this$0.imageList.get(1))), this.this$0.imgTrip);
            }
            this.this$0.picture3 = 0;
            this.this$0.imgTrip3.setImageDrawable(0);
            this.this$0.imgTrip3Delete.setVisibility(8);
        }
        this.this$0.imageList.remove(this.this$0.imageList.get(0));
        android.util.Log.e("picture1", new StringBuilder().append(this.this$0.picture1).append("").toString());
        android.util.Log.e("picture2", new StringBuilder().append(this.this$0.picture2).append("").toString());
        android.util.Log.e("picture3", new StringBuilder().append(this.this$0.picture3).append("").toString());
        int v1 = 0;
        while (v1 < this.this$0.imageList.size()) {
            android.util.Log.e(new StringBuilder().append("id").append(v1).toString(), ((String) this.this$0.imageList.get(v1)));
            v1++;
        }
        return;
    }

Method com.ingic.tripcrasher.fragments.EditTripFragment$10.onClick() calling method java.io.File.<init>()


    public void onClick(android.content.DialogInterface p11, int p12)
    {
        if (((String) this.this$0.imageList.get(1)).substring(0, 4).equals("http")) {
            this.this$0.deletePictures = new StringBuilder().append(((String) this.this$0.imageList.get(1))).append(",").toString();
        }
        if (this.this$0.imageList.size() != 3) {
            this.this$0.picture2 = 0;
            this.this$0.imgTrip2.setImageDrawable(0);
            this.this$0.imgTrip2Delete.setVisibility(8);
        } else {
            if (((String) this.this$0.imageList.get(2)).substring(0, 4).equals("http")) {
                com.ingic.tripcrasher.fragments.EditTripFragment.access$2700(this.this$0).getImageSquare(this.this$0.imgTrip2, ((String) this.this$0.imageList.get(2)), com.ingic.tripcrasher.fragments.EditTripFragment.access$2600(this.this$0));
            } else {
                this.this$0.picture2 = com.ingic.tripcrasher.fragments.EditTripFragment.access$2500(this.this$0).convertFile(new java.io.File(((String) this.this$0.imageList.get(2))));
                com.ingic.tripcrasher.fragments.EditTripFragment.access$200(this.this$0, new java.io.File(((String) this.this$0.imageList.get(2))), this.this$0.imgTrip2);
            }
            this.this$0.picture3 = 0;
            this.this$0.imgTrip3.setImageDrawable(0);
            this.this$0.imgTrip3Delete.setVisibility(8);
        }
        this.this$0.imageList.remove(this.this$0.imageList.get(1));
        android.util.Log.e("picture1", new StringBuilder().append(this.this$0.picture1).append("").toString());
        android.util.Log.e("picture2", new StringBuilder().append(this.this$0.picture2).append("").toString());
        android.util.Log.e("picture3", new StringBuilder().append(this.this$0.picture3).append("").toString());
        int v1 = 0;
        while (v1 < this.this$0.imageList.size()) {
            android.util.Log.e(new StringBuilder().append("id").append(v1).toString(), ((String) this.this$0.imageList.get(v1)));
            v1++;
        }
        return;
    }

Method com.ingic.tripcrasher.fragments.EditProfileFragment.uploadPicture() calling method java.io.File.<init>()


    public void uploadPicture(String p6)
    {
        retrofit.mime.TypedFile v0 = 0;
        if (p6 != null) {
            v0 = this.activityReference.convertFile(new java.io.File(p6));
        }
        com.app.retrofit.WebServiceFactory.getInstance(this.activityReference).uploadImage(String.valueOf(this.user.getId()), "1", v0, new com.ingic.tripcrasher.fragments.EditProfileFragment$13(this));
        return;
    }

Method com.ingic.tripcrasher.fragments.EditProfileFragment.updateUser() calling method java.io.File.<init>()


    public void updateUser()
    {
        com.andreabaccega.widget.FormEditText[] v12 = new com.andreabaccega.widget.FormEditText[1];
        v12[0] = this.txtPhoneNo;
        boolean v13 = 1;
        String v2_0 = 0;
        while (v2_0 < v12.length) {
            if ((!v12[v2_0].testValidity()) || (!v13)) {
                v13 = 0;
            } else {
                v13 = 1;
            }
            v2_0++;
        }
        if (v13) {
            this.city = this.txtCity.getText().toString();
            this.mobileNum = this.txtPhoneNo.getText().toString();
            if (!com.app.helpers.Utils.isEmptyOrNull(this.age)) {
                if (!com.app.helpers.Utils.isEmptyOrNull(this.gender)) {
                    if (!com.app.helpers.Utils.isEmptyOrNull(this.city)) {
                        if (!com.app.helpers.Utils.isEmptyOrNull(this.country)) {
                            if (!com.app.helpers.Utils.isEmptyOrNull(this.nationality)) {
                                if (!com.app.helpers.Utils.isEmptyOrNull(this.iSpeak)) {
                                    if ((this.mobileNum != null) && (this.mobileNum.length() >= 11)) {
                                        if (this.activityReference.filePath != null) {
                                            this.picture = this.activityReference.convertFile(new java.io.File(this.activityReference.filePath));
                                        }
                                        this.activityReference.showSweetLoader();
                                        com.app.retrofit.WebServiceFactory.getInstance(this.activityReference).updateUser(String.valueOf(this.user.getId()), this.mobileNum, this.country, this.city, 0, this.interest, this.gender, this.nationality, this.iSpeak, this.age, new com.ingic.tripcrasher.fragments.EditProfileFragment$10(this));
                                    } else {
                                        com.app.helpers.UIHelper.showShortToastInCenter(this.activityReference, this.getString(2131755198));
                                    }
                                } else {
                                    com.app.helpers.UIHelper.showShortToastInCenter(this.activityReference, this.getString(2131755269));
                                }
                            } else {
                                com.app.helpers.UIHelper.showShortToastInCenter(this.activityReference, this.getString(2131755224));
                            }
                        } else {
                            com.app.helpers.UIHelper.showShortToastInCenter(this.activityReference, this.getString(2131755134));
                        }
                    } else {
                        com.app.helpers.UIHelper.showShortToastInCenter(this.activityReference, this.getString(2131755097));
                    }
                } else {
                    com.app.helpers.UIHelper.showShortToastInCenter(this.activityReference, this.getString(2131755170));
                }
            } else {
                com.app.helpers.UIHelper.showShortToastInCenter(this.activityReference, this.getString(2131755046));
            }
        }
        return;
    }