Info Call to External Storage API

Description

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

Recommendation

This entry is informative, no recommendations applicable.

Technical details

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


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

Method com.oblador.vectoricons.VectorIconsModule.getImageForFont() calling method java.io.FileOutputStream.<init>()


    public void getImageForFont(String p9, String p10, Integer p11, Integer p12, com.facebook.react.bridge.Callback p13)
    {
        int v4_2;
        android.graphics.Canvas v0_0 = this.getReactApplicationContext();
        String v1_1 = v0_0.getCacheDir();
        float v2_9 = new StringBuilder();
        v2_9.append(v1_1.getAbsolutePath());
        v2_9.append("/");
        String v1_0 = v2_9.toString();
        float v2_6 = v0_0.getResources().getDisplayMetrics().density;
        java.io.File v3_1 = new StringBuilder();
        v3_1.append("@");
        int v4_1 = ((int) v2_6);
        if (v2_6 != ((float) v4_1)) {
            v4_2 = Float.toString(v2_6);
        } else {
            v4_2 = Integer.toString(v4_1);
        }
        v3_1.append(v4_2);
        v3_1.append("x");
        java.io.File v3_2 = v3_1.toString();
        float v2_8 = Math.round((((float) p11.intValue()) * v2_6));
        int v4_8 = new StringBuilder();
        v4_8.append(p9);
        v4_8.append(":");
        v4_8.append(p10);
        v4_8.append(":");
        v4_8.append(p12);
        int v4_11 = Integer.toString(v4_8.toString().hashCode(), 32);
        java.io.FileNotFoundException v5_7 = new StringBuilder();
        v5_7.append(v1_0);
        v5_7.append(v4_11);
        v5_7.append("_");
        v5_7.append(Integer.toString(p11.intValue()));
        v5_7.append(v3_2);
        v5_7.append(".png");
        int v11_5 = v5_7.toString();
        String v1_5 = new StringBuilder();
        v1_5.append("file://");
        v1_5.append(v11_5);
        String v1_6 = v1_5.toString();
        java.io.File v3_5 = new java.io.File(v11_5);
        java.io.FileNotFoundException v5_0 = 0;
        if (!v3_5.exists()) {
            java.io.IOException v9_17 = com.facebook.react.views.text.ReactFontManager.getInstance().getTypeface(p9, 0, v0_0.getAssets());
            int v11_9 = new android.graphics.Paint();
            v11_9.setTypeface(v9_17);
            v11_9.setColor(p12.intValue());
            v11_9.setTextSize(((float) v2_8));
            v11_9.setAntiAlias(1);
            java.io.IOException v9_3 = new android.graphics.Rect();
            v11_9.getTextBounds(p10, 0, p10.length(), v9_3);
            android.graphics.Bitmap v12_3 = android.graphics.Bitmap.createBitmap(v9_3.width(), v9_3.height(), android.graphics.Bitmap$Config.ARGB_8888);
            new android.graphics.Canvas(v12_3).drawText(p10, ((float) (- v9_3.left)), ((float) (- v9_3.top)), v11_9);
            try {
                java.io.IOException v9_8 = new java.io.FileOutputStream(v3_5);
                try {
                    v12_3.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v9_8);
                    v9_8.flush();
                    v9_8.close();
                } catch (java.io.IOException v10_4) {
                    v5_0 = v9_8;
                    java.io.IOException v9_11 = v10_4;
                    if (v5_0 != null) {
                        try {
                            v5_0.close();
                        } catch (java.io.IOException v10_7) {
                            v10_7.printStackTrace();
                        }
                    }
                    throw v9_11;
                } catch (java.io.IOException v10_3) {
                    v5_0 = v9_8;
                    java.io.IOException v9_10 = v10_3;
                    java.io.IOException v10_6 = new Object[1];
                    v10_6[0] = v9_10.getMessage();
                    p13.invoke(v10_6);
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                } catch (java.io.IOException v10_2) {
                    v5_0 = v9_8;
                    java.io.IOException v9_9 = v10_2;
                    java.io.IOException v10_5 = new Object[1];
                    v10_5[0] = v9_9.getMessage();
                    p13.invoke(v10_5);
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                }
                java.io.IOException v9_12 = new Object[2];
                v9_12[0] = 0;
                v9_12[1] = v1_6;
                p13.invoke(v9_12);
            } catch (java.io.IOException v9_11) {
            } catch (java.io.IOException v9_10) {
            } catch (java.io.IOException v9_9) {
            } catch (java.io.IOException v9_15) {
                v9_15.printStackTrace();
            }
        } else {
            java.io.IOException v9_16 = new Object[2];
            v9_16[0] = 0;
            v9_16[1] = v1_6;
            p13.invoke(v9_16);
        }
        return;
    }

Method com.imagepicker.ImagePickerModule.createFileFromURI() calling method java.io.FileOutputStream.<init>()


    private java.io.File createFileFromURI(android.net.Uri p6)
    {
        java.io.FileOutputStream v1_5 = this.reactContext.getExternalCacheDir();
        byte[] v2_4 = new StringBuilder();
        v2_4.append("photo-");
        v2_4.append(p6.getLastPathSegment());
        Throwable v0_1 = new java.io.File(v1_5, v2_4.toString());
        java.io.InputStream v6_1 = this.reactContext.getContentResolver().openInputStream(p6);
        java.io.FileOutputStream v1_4 = new java.io.FileOutputStream(v0_1);
        try {
            byte[] v2_2 = new byte[4096];
        } catch (Throwable v0_2) {
            v1_4.close();
            v6_1.close();
            throw v0_2;
        }
        while(true) {
            int v3_0 = v6_1.read(v2_2);
            if (v3_0 == -1) {
                break;
            }
            v1_4.write(v2_2, 0, v3_0);
        }
        v1_4.flush();
        v1_4.close();
        v6_1.close();
        return v0_1;
    }

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


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

Method io.invertase.firebase.storage.RNFirebaseStorage$13.doInBackground() calling method java.io.FileOutputStream.<init>()


    public void doInBackground(com.google.firebase.storage.StreamDownloadTask$TaskSnapshot p5, java.io.InputStream p6)
    {
        byte[] v1_0;
        java.io.FileOutputStream v5_3 = this.val$localPath.lastIndexOf("/");
        if (v5_3 <= null) {
            v1_0 = "/";
        } else {
            byte[] v1_4 = new StringBuilder();
            v1_4.append(this.val$localPath.substring(0, v5_3));
            v1_4.append("/");
            v1_0 = v1_4.toString();
        }
        java.io.FileOutputStream v5_1;
        if (v5_3 <= null) {
            v5_1 = this.val$localPath;
        } else {
            v5_1 = this.val$localPath.substring((v5_3 + 1));
        }
        Boolean.valueOf(new java.io.File(v1_0).mkdirs());
        java.io.FileOutputStream v5_5 = new java.io.FileOutputStream(new java.io.File(v1_0, v5_1));
        byte[] v1_2 = new byte[1024];
        while(true) {
            int v2_8 = p6.read(v1_2);
            if (v2_8 == -1) {
                break;
            }
            v5_5.write(v1_2, 0, v2_8);
        }
        v5_5.close();
        return;
    }

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


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

Method com.google.common.io.Files$FileByteSink.openStream() calling method java.io.FileOutputStream.<init>()


    public java.io.FileOutputStream openStream()
    {
        return new java.io.FileOutputStream(this.file, this.modes.contains(com.google.common.io.FileWriteMode.APPEND));
    }

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


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

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


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

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


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

Method com.microsoft.codepush.react.FileUtils.unzipFile() calling method java.io.FileOutputStream.<init>()


    public static void unzipFile(java.io.File p9, String p10)
    {
        try {
            int v1_1 = new java.io.FileInputStream(p9);
            try {
                java.io.IOException v9_1 = new java.io.BufferedInputStream(v1_1);
                try {
                    int v2_0 = new java.util.zip.ZipInputStream(v9_1);
                    try {
                        String v0_2 = new java.io.File(p10);
                    } catch (Throwable v10_1) {
                        if (v2_0 != 0) {
                            v2_0.close();
                        }
                        if (v9_1 != null) {
                            v9_1.close();
                        }
                        if (v1_1 != 0) {
                            v1_1.close();
                        }
                        throw v10_1;
                    }
                    if (v0_2.exists()) {
                        com.microsoft.codepush.react.FileUtils.deleteFileOrFolderSilently(v0_2);
                    }
                    v0_2.mkdirs();
                    Throwable v10_4 = new byte[8192];
                    do {
                        long v3_0 = v2_0.getNextEntry();
                        if (v3_0 == 0) {
                            try {
                                v2_0.close();
                                v9_1.close();
                                v1_1.close();
                                return;
                            } catch (java.io.IOException v9_2) {
                                throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v9_2);
                            }
                        } else {
                            java.io.File v5_1 = new java.io.File(v0_2, v3_0.getName());
                            if (!v3_0.isDirectory()) {
                                java.io.FileOutputStream v4_2 = v5_1.getParentFile();
                                if (!v4_2.exists()) {
                                    v4_2.mkdirs();
                                }
                                java.io.FileOutputStream v4_4 = new java.io.FileOutputStream(v5_1);
                                while(true) {
                                    int v6_1 = v2_0.read(v10_4);
                                    if (v6_1 == -1) {
                                        break;
                                    }
                                    v4_4.write(v10_4, 0, v6_1);
                                }
                                v4_4.close();
                            } else {
                                v5_1.mkdirs();
                            }
                            long v3_1 = v3_0.getTime();
                        }
                    } while(v3_1 <= 0);
                    v5_1.setLastModified(v3_1);
                } catch (Throwable v10_1) {
                    v2_0 = 0;
                }
            } catch (Throwable v10_1) {
                v9_1 = 0;
                v2_0 = 0;
            }
        } catch (Throwable v10_1) {
            v9_1 = 0;
            v1_1 = 0;
            v2_0 = 0;
        }
    }

Method com.microsoft.codepush.react.FileUtils.copyDirectoryContents() calling method java.io.FileOutputStream.<init>()


    public static void copyDirectoryContents(String p11, String p12)
    {
        String v0_1 = new java.io.File(p11);
        java.io.File v1_1 = new java.io.File(p12);
        if (!v1_1.exists()) {
            v1_1.mkdir();
        }
        String v0_4 = v0_1.listFiles();
        int v2_0 = v0_4.length;
        int v4 = 0;
        while (v4 < v2_0) {
            int v5_0 = v0_4[v4];
            if (!v5_0.isDirectory()) {
                int v6_2 = new java.io.File(v1_1, v5_0.getName());
                byte[] v7_2 = new byte[8192];
                java.io.FileOutputStream v8 = 0;
                try {
                    int v9_1 = new java.io.FileInputStream(v5_0);
                    try {
                        int v5_1 = new java.io.BufferedInputStream(v9_1);
                        try {
                            java.io.FileOutputStream v10_1 = new java.io.FileOutputStream(v6_2);
                            try {
                                while(true) {
                                    int v6_3 = v5_1.read(v7_2);
                                    v10_1.write(v7_2, 0, v6_3);
                                }
                                try {
                                    v9_1.close();
                                    v5_1.close();
                                    v10_1.close();
                                } catch (java.io.IOException v11_3) {
                                    throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v11_3);
                                }
                            } catch (java.io.IOException v11_1) {
                                v8 = v10_1;
                                if (v9_1 != 0) {
                                    v9_1.close();
                                }
                                if (v5_1 != 0) {
                                    v5_1.close();
                                }
                                if (v8 != null) {
                                    v8.close();
                                }
                                throw v11_1;
                            }
                            if (v6_3 <= 0) {
                            }
                        } catch (java.io.IOException v11_1) {
                        }
                    } catch (java.io.IOException v11_1) {
                        v5_1 = 0;
                    }
                } catch (java.io.IOException v11_1) {
                    v5_1 = 0;
                    v9_1 = 0;
                }
            } else {
                com.microsoft.codepush.react.FileUtils.copyDirectoryContents(com.microsoft.codepush.react.CodePushUtils.appendPathComponent(p11, v5_0.getName()), com.microsoft.codepush.react.CodePushUtils.appendPathComponent(p12, v5_0.getName()));
            }
            v4++;
        }
        return;
    }

Method com.microsoft.codepush.react.CodePushUpdateManager.downloadPackage() calling method java.io.FileOutputStream.<init>()


    public void downloadPackage(org.json.JSONObject p24, String p25, com.microsoft.codepush.react.DownloadProgressCallback p26, String p27)
    {
        StringBuilder v2 = p27;
        org.json.JSONObject v3_4 = p24.optString("packageHash", 0);
        String v6 = this.getPackageFolderPath(v3_4);
        String v7_1 = com.microsoft.codepush.react.CodePushUtils.appendPathComponent(v6, "app.json");
        if (com.microsoft.codepush.react.FileUtils.fileAtPathExists(v6)) {
            com.microsoft.codepush.react.FileUtils.deleteDirectoryAtPath(v6);
        }
        byte[] v8_2 = p24.optString("downloadUrl", 0);
        try {
            int v9_3 = ((java.net.HttpURLConnection) ((java.net.HttpURLConnection) ((java.net.URLConnection) com.google.firebase.perf.network.FirebasePerfUrlConnection.instrument(new java.net.URL(v8_2).openConnection()))));
            try {
                v9_3.setRequestProperty("Accept-Encoding", "identity");
                int v10_2 = new java.io.BufferedInputStream(v9_3.getInputStream());
                try {
                    long v11_3 = ((long) v9_3.getContentLength());
                    int v15_4 = new java.io.File(this.getCodePushPath());
                    v15_4.mkdirs();
                    String v4_9 = new java.io.File(v15_4, "download.zip");
                    int v13_2 = new java.io.FileOutputStream(v4_9);
                    try {
                        java.io.BufferedOutputStream v14_1 = new java.io.BufferedOutputStream(v13_2, 262144);
                        try {
                            String v5_2 = new byte[262144];
                            String v20 = v8_2;
                            try {
                                byte[] v8_3 = new byte[4];
                                String v21 = v3_4;
                                StringBuilder v2_7 = 0;
                            } catch (String v0_16) {
                                String v4_5 = v9_3;
                                byte v16_1 = v14_1;
                                try {
                                    throw new com.microsoft.codepush.react.CodePushMalformedDataException(v20, v0_16);
                                } catch (String v0_17) {
                                    v9_3 = v4_5;
                                    if (v16_1 != 0) {
                                        v16_1.close();
                                    }
                                    if (v13_2 != 0) {
                                        v13_2.close();
                                    }
                                    if (v10_2 != 0) {
                                        v10_2.close();
                                    }
                                    if (v9_3 != 0) {
                                        v9_3.disconnect();
                                    }
                                    throw v0_17;
                                }
                            }
                            while(true) {
                                String v17 = v7_1;
                                String v7_2 = v10_2.read(v5_2, 0, 262144);
                                if (v7_2 < null) {
                                    break;
                                }
                                if (v2_7 < 4) {
                                    String v0_11 = 0;
                                    while (v0_11 < v7_2) {
                                        int v15_2 = (((int) v2_7) + v0_11);
                                        if (v15_2 < 4) {
                                            v8_3[v15_2] = v5_2[v0_11];
                                            v0_11++;
                                            int v15 = 0;
                                        } else {
                                            break;
                                        }
                                    }
                                }
                                v2_7 += ((long) v7_2);
                                v14_1.write(v5_2, 0, v7_2);
                                p26.call(new com.microsoft.codepush.react.DownloadProgress(v11_3, v2_7));
                                v7_1 = v17;
                                String v1 = p25;
                            }
                            if (v11_3 != v2_7) {
                                String v1_26 = new StringBuilder();
                                v1_26.append("Received ");
                                v1_26.append(v2_7);
                                v1_26.append(" bytes, expected ");
                                v1_26.append(v11_3);
                                throw new com.microsoft.codepush.react.CodePushUnknownException(v1_26.toString());
                            } else {
                                String v1_3;
                                int v15_0 = 1;
                                if (java.nio.ByteBuffer.wrap(v8_3).getInt() != 1347093252) {
                                    v1_3 = 0;
                                } else {
                                    v1_3 = 1;
                                }
                                try {
                                    v14_1.close();
                                    v13_2.close();
                                    v10_2.close();
                                } catch (String v0_2) {
                                    throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v0_2);
                                }
                                if (v9_3 != 0) {
                                    v9_3.disconnect();
                                }
                                org.json.JSONObject v3_0;
                                String v5_0;
                                if (v1_3 == null) {
                                    v5_0 = v17;
                                    v3_0 = p24;
                                    com.microsoft.codepush.react.FileUtils.moveFile(v4_9, v6, p25);
                                } else {
                                    String v1_7 = this.getUnzippedFolderPath();
                                    com.microsoft.codepush.react.FileUtils.unzipFile(v4_9, v1_7);
                                    com.microsoft.codepush.react.FileUtils.deleteFileOrFolderSilently(v4_9);
                                    StringBuilder v2_3 = com.microsoft.codepush.react.CodePushUtils.appendPathComponent(v1_7, "hotcodepush.json");
                                    org.json.JSONObject v3_1 = com.microsoft.codepush.react.FileUtils.fileAtPathExists(v2_3);
                                    if (v3_1 != null) {
                                        com.microsoft.codepush.react.CodePushUpdateUtils.copyNecessaryFilesFromCurrentPackage(v2_3, this.getCurrentPackageFolderPath(), v6);
                                        new java.io.File(v2_3).delete();
                                    }
                                    com.microsoft.codepush.react.FileUtils.copyDirectoryContents(v1_7, v6);
                                    com.microsoft.codepush.react.FileUtils.deleteFileAtPathSilently(v1_7);
                                    StringBuilder v2_4 = com.microsoft.codepush.react.CodePushUpdateUtils.findJSBundleInUpdateContents(v6, p25);
                                    if (v2_4 == null) {
                                        StringBuilder v2_6 = new StringBuilder();
                                        v2_6.append("Update is invalid - A JS bundle file named \"");
                                        v2_6.append(p25);
                                        v2_6.append("\" could not be found within the downloaded contents. Please check that you are releasing your CodePush updates using the exact same JS bundle file name that was shipped with your app\'s binary.");
                                        throw new com.microsoft.codepush.react.CodePushInvalidUpdateException(v2_6.toString());
                                    } else {
                                        if (!com.microsoft.codepush.react.FileUtils.fileAtPathExists(v17)) {
                                            v5_0 = v17;
                                        } else {
                                            v5_0 = v17;
                                            new java.io.File(v5_0).delete();
                                        }
                                        String v1_15;
                                        if (v3_1 == null) {
                                            com.microsoft.codepush.react.CodePushUtils.log("Applying full update.");
                                            v1_15 = p27;
                                        } else {
                                            com.microsoft.codepush.react.CodePushUtils.log("Applying diff update.");
                                            v1_15 = p27;
                                        }
                                        if (v1_15 == null) {
                                            v15_0 = 0;
                                        }
                                        String v0_6 = com.microsoft.codepush.react.FileUtils.fileAtPathExists(com.microsoft.codepush.react.CodePushUpdateUtils.getSignatureFilePath(v6));
                                        if (v15_0 == 0) {
                                            String v4_3 = v21;
                                            if (v0_6 == null) {
                                                if (v3_1 != null) {
                                                    com.microsoft.codepush.react.CodePushUpdateUtils.verifyFolderHash(v6, v4_3);
                                                }
                                            } else {
                                                com.microsoft.codepush.react.CodePushUtils.log("Warning! JWT signature exists in codepush update but code integrity check couldn\'t be performed because there is no public key configured. Please ensure that public key is properly configured within your application.");
                                                com.microsoft.codepush.react.CodePushUpdateUtils.verifyFolderHash(v6, v4_3);
                                            }
                                        } else {
                                            if (v0_6 == null) {
                                                throw new com.microsoft.codepush.react.CodePushInvalidUpdateException("Error! Public key was provided but there is no JWT signature within app bundle to verify. Possible reasons, why that might happen: \n1. You\'ve been released CodePush bundle update using version of CodePush CLI that is not support code signing.\n2. You\'ve been released CodePush bundle update without providing --privateKeyPath option.");
                                            } else {
                                                String v4_4 = v21;
                                                com.microsoft.codepush.react.CodePushUpdateUtils.verifyFolderHash(v6, v4_4);
                                                com.microsoft.codepush.react.CodePushUpdateUtils.verifyUpdateSignature(v6, v4_4, v1_15);
                                            }
                                        }
                                        v3_0 = p24;
                                        com.microsoft.codepush.react.CodePushUtils.setJSONValueForKey(p24, "bundlePath", v2_4);
                                    }
                                }
                                com.microsoft.codepush.react.CodePushUtils.writeJsonToFile(v3_0, v5_0);
                                return;
                            }
                        } catch (String v0_17) {
                            v16_1 = v14_1;
                        } catch (String v0_16) {
                            v20 = v8_2;
                        }
                    } catch (String v0_17) {
                        v16_1 = 0;
                    } catch (String v0_16) {
                        v20 = v8_2;
                        v4_5 = v9_3;
                        v16_1 = 0;
                    }
                } catch (String v0_17) {
                    v13_2 = 0;
                } catch (String v0_16) {
                    v20 = v8_2;
                    v4_5 = v9_3;
                    v13_2 = 0;
                }
            } catch (String v0_17) {
                v10_2 = 0;
            } catch (String v0_16) {
                v20 = v8_2;
                v4_5 = v9_3;
                v10_2 = 0;
            }
        } catch (String v0_17) {
            v9_3 = 0;
        } catch (String v0_16) {
            v20 = v8_2;
            v4_5 = 0;
        }
    }

Method com.microsoft.codepush.react.CodePushUpdateManager.downloadAndReplaceCurrentBundle() calling method java.io.FileOutputStream.<init>()


    public void downloadAndReplaceCurrentBundle(String p9, String p10)
    {
        String v0_0 = 0;
        try {
            com.microsoft.codepush.react.CodePushUnknownException v1_2 = ((java.net.HttpURLConnection) ((java.net.HttpURLConnection) ((java.net.URLConnection) com.google.firebase.perf.network.FirebasePerfUrlConnection.instrument(new java.net.URL(p9).openConnection()))));
            try {
                int v2_0 = new java.io.BufferedInputStream(v1_2.getInputStream());
                try {
                    java.io.BufferedOutputStream v3_3 = new java.io.File(this.getCurrentPackageBundlePath(p10));
                    v3_3.delete();
                    com.microsoft.codepush.react.CodePushUnknownException v10_2 = new java.io.FileOutputStream(v3_3);
                    try {
                        java.io.BufferedOutputStream v3_0 = new java.io.BufferedOutputStream(v10_2, 262144);
                        try {
                            String v0_1 = new byte[262144];
                        } catch (java.io.IOException v9_1) {
                            v0_0 = v3_0;
                            if (v0_0 != null) {
                                v0_0.close();
                            }
                            if (v10_2 != null) {
                                v10_2.close();
                            }
                            if (v2_0 != 0) {
                                v2_0.close();
                            }
                            if (v1_2 != null) {
                                v1_2.disconnect();
                            }
                            throw v9_1;
                        } catch (String v0_2) {
                            java.net.MalformedURLException v7 = v1_2;
                            com.microsoft.codepush.react.CodePushUnknownException v1_1 = v10_2;
                            com.microsoft.codepush.react.CodePushUnknownException v10_1 = v0_2;
                            v0_0 = v7;
                            try {
                                throw new com.microsoft.codepush.react.CodePushMalformedDataException(p9, v10_1);
                            } catch (java.io.IOException v9_1) {
                                v10_2 = v1_1;
                                v1_2 = v0_0;
                            }
                        }
                        while(true) {
                            int v6 = v2_0.read(v0_1, 0, 262144);
                            if (v6 < 0) {
                                break;
                            }
                            v3_0.write(v0_1, 0, v6);
                        }
                        try {
                            v3_0.close();
                            v10_2.close();
                            v2_0.close();
                        } catch (java.io.IOException v9_3) {
                            throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v9_3);
                        }
                        if (v1_2 != null) {
                            v1_2.disconnect();
                        }
                        return;
                    } catch (java.io.IOException v9_1) {
                    } catch (java.io.BufferedOutputStream v3_5) {
                        v7 = v1_2;
                        v1_1 = v10_2;
                        v10_1 = v3_5;
                        v3_0 = 0;
                    }
                } catch (java.io.IOException v9_1) {
                    v10_2 = 0;
                } catch (com.microsoft.codepush.react.CodePushUnknownException v10_1) {
                    v3_0 = 0;
                    v0_0 = v1_2;
                    v1_1 = v3_0;
                }
            } catch (java.io.IOException v9_1) {
                v10_2 = 0;
                v2_0 = 0;
            } catch (com.microsoft.codepush.react.CodePushUnknownException v10_1) {
                v2_0 = 0;
                v3_0 = 0;
            }
        } catch (java.io.IOException v9_1) {
            v10_2 = 0;
            v1_2 = 0;
            v2_0 = 0;
        } catch (com.microsoft.codepush.react.CodePushUnknownException v10_1) {
            v1_1 = 0;
            v2_0 = 0;
            v3_0 = 0;
        }
    }

Method com.imagepicker.utils.MediaUtils.moveFile() calling method java.io.FileOutputStream.<init>()


    private static void moveFile(java.io.File p8, java.io.File p9)
    {
        java.nio.channels.FileChannel v0 = 0;
        try {
            int v1_2 = new java.io.FileInputStream(p8).getChannel();
            try {
                java.io.IOException v9_1 = new java.io.FileOutputStream(p9).getChannel();
                try {
                    v1_2.transferTo(0, v1_2.size(), v9_1);
                    p8.delete();
                } catch (java.io.IOException v8_1) {
                    v0 = v9_1;
                    if (v1_2 == 0) {
                        if (v0 != null) {
                            v0.close();
                        }
                    } else {
                        v1_2.close();
                    }
                    throw v8_1;
                }
                if (v1_2 == 0) {
                    if (v9_1 != null) {
                        v9_1.close();
                    }
                } else {
                    v1_2.close();
                }
                return;
            } catch (java.io.IOException v8_1) {
            }
        } catch (java.io.IOException v8_1) {
            v1_2 = 0;
        }
    }

Method com.imagepicker.utils.MediaUtils.getResizedImage() calling method java.io.FileOutputStream.<init>()


    public static com.imagepicker.media.ImageConfig getResizedImage(android.content.Context p16, com.facebook.react.bridge.ReadableMap p17, com.imagepicker.media.ImageConfig p18, int p19, int p20, int p21)
    {
        int v4_0;
        int v5_1;
        Throwable v0_5 = new android.graphics.BitmapFactory$Options();
        Throwable v2_0 = 0;
        v0_5.inScaled = 0;
        v0_5.inSampleSize = 1;
        if ((p18.maxWidth == 0) && (p18.maxHeight == 0)) {
            v4_0 = p19;
            v5_1 = p20;
        } else {
            v4_0 = p19;
            v5_1 = p20;
            while (((p18.maxWidth == 0) || (v4_0 > (p18.maxWidth * 2))) && ((p18.maxHeight == 0) || (v5_1 > (p18.maxHeight * 2)))) {
                com.facebook.react.bridge.ReadableMap v9 = p17;
                v0_5.inSampleSize = (v0_5.inSampleSize * 2);
                v5_1 /= 2;
                v4_0 /= 2;
            }
        }
        int v6_10 = android.graphics.BitmapFactory.decodeFile(p18.original.getAbsolutePath(), v0_5);
        Throwable v14 = 0;
        if (v6_10 != 0) {
            if ((p18.maxWidth != 0) && (p18.maxWidth <= v4_0)) {
                Throwable v0_8 = p18;
            } else {
                v0_8 = p18.withMaxWidth(v4_0);
            }
            if ((p18.maxHeight != 0) && (p18.maxWidth <= v5_1)) {
                com.imagepicker.media.ImageConfig v15 = v0_8;
            } else {
                v15 = v0_8.withMaxHeight(v5_1);
            }
            int v7_5 = (((double) v15.maxWidth) / ((double) v4_0));
            int v4_2 = (((double) v15.maxHeight) / ((double) v5_1));
            if (v7_5 < v4_2) {
                v4_2 = v7_5;
            }
            android.graphics.Matrix v12_1 = new android.graphics.Matrix();
            v12_1.postRotate(((float) v15.rotation));
            v12_1.postScale(((float) v4_2), ((float) v4_2));
            try {
                Throwable v0_18 = new android.media.ExifInterface(v15.original.getAbsolutePath()).getAttributeInt("Orientation", 0);
            } catch (Throwable v0_22) {
                v0_22.printStackTrace();
                int v4_11 = android.graphics.Bitmap.createBitmap(v6_10, 0, 0, v6_10.getWidth(), v6_10.getHeight(), v12_1, 1);
                Throwable v0_24 = new java.io.ByteArrayOutputStream();
                v4_11.compress(android.graphics.Bitmap$CompressFormat.JPEG, v15.quality, v0_24);
                if (p21 == 13001) {
                    v2_0 = 1;
                }
                Throwable v2_2 = com.imagepicker.utils.MediaUtils.createNewFile(p16, p17, (v2_0 ^ 1));
                if (v2_2 != null) {
                    com.imagepicker.media.ImageConfig v1_1 = v15.withResizedFile(v2_2);
                    try {
                        Throwable v2_4 = new java.io.FileOutputStream(v1_1.resized);
                        try {
                            v0_24.writeTo(v2_4);
                        } catch (Throwable v0_2) {
                            Throwable v3_1 = v0_2;
                            if (v14 == null) {
                                v2_4.close();
                            } else {
                                try {
                                    v2_4.close();
                                } catch (Throwable v0_3) {
                                    v14.addSuppressed(v0_3);
                                }
                            }
                            throw v3_1;
                        } catch (Throwable v0_1) {
                            v14 = v0_1;
                            throw v14;
                        }
                        v2_4.close();
                        if (v6_10 != 0) {
                            v6_10.recycle();
                        }
                        if (v4_11 != 0) {
                            v4_11.recycle();
                        }
                        return v1_1;
                    } catch (Throwable v0_4) {
                        v0_4.printStackTrace();
                    }
                } else {
                    if (v6_10 != 0) {
                        v6_10.recycle();
                    }
                    if (v4_11 != 0) {
                        v4_11.recycle();
                    }
                    return p18;
                }
            }
            if (v0_18 == 3) {
                v12_1.postRotate(1127481344);
            } else {
                if (v0_18 == 6) {
                    v12_1.postRotate(1119092736);
                } else {
                    if (v0_18 == 8) {
                        v12_1.postRotate(1132920832);
                    } else {
                    }
                }
            }
        } else {
            return 0;
        }
    }

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


    private static void zza(android.content.Context p3, String p4, com.google.firebase.iid.zzx p5)
    {
        try {
            if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                android.util.Log.d("FirebaseInstanceId", "Writing key to properties file");
            }
        } catch (Throwable v3_2) {
            Throwable v3_3 = String.valueOf(v3_2);
            String v0_6 = new StringBuilder((String.valueOf(v3_3).length() + 21));
            v0_6.append("Failed to write key: ");
            v0_6.append(v3_3);
            android.util.Log.w("FirebaseInstanceId", v0_6.toString());
            return;
        }
        Throwable v3_5 = com.google.firebase.iid.zzw.zzf(p3, p4);
        v3_5.createNewFile();
        Throwable v4_2 = new java.util.Properties();
        v4_2.setProperty("pub", com.google.firebase.iid.zzx.zza(p5));
        v4_2.setProperty("pri", com.google.firebase.iid.zzx.zzb(p5));
        v4_2.setProperty("cre", String.valueOf(com.google.firebase.iid.zzx.zzc(p5)));
        java.io.FileOutputStream v5_3 = new java.io.FileOutputStream(v3_5);
        Throwable v3_1 = 0;
        try {
            v4_2.store(v5_3, 0);
        } catch (Throwable v4_3) {
            com.google.firebase.iid.zzw.zza(v3_1, v5_3);
            throw v4_3;
        } catch (Throwable v3_1) {
            throw v3_1;
        }
        com.google.firebase.iid.zzw.zza(0, v5_3);
        return;
    }

Method com.google.common.io.Files.newWriter() calling method java.io.FileOutputStream.<init>()


    public static java.io.BufferedWriter newWriter(java.io.File p3, java.nio.charset.Charset p4)
    {
        com.google.common.base.Preconditions.checkNotNull(p3);
        com.google.common.base.Preconditions.checkNotNull(p4);
        return new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(p3), p4));
    }

Method com.google.common.io.FileBackedOutputStream.update() calling method java.io.FileOutputStream.<init>()


    private void update(int p6)
    {
        if ((this.file == null) && ((this.memory.getCount() + p6) > this.fileThreshold)) {
            java.io.File v6_1 = java.io.File.createTempFile("FileBackedOutputStream", 0);
            if (this.resetOnFinalize) {
                v6_1.deleteOnExit();
            }
            java.io.FileOutputStream v1_2 = new java.io.FileOutputStream(v6_1);
            v1_2.write(this.memory.getBuffer(), 0, this.memory.getCount());
            v1_2.flush();
            this.out = v1_2;
            this.file = v6_1;
            this.memory = 0;
        }
        return;
    }

Method com.facebook.react.modules.camera.ImageEditingManager.writeCompressedBitmapToFile() calling method java.io.FileOutputStream.<init>()


    private static void writeCompressedBitmapToFile(android.graphics.Bitmap p1, String p2, java.io.File p3)
    {
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p3);
        try {
            p1.compress(com.facebook.react.modules.camera.ImageEditingManager.getCompressFormatForType(p2), 90, v0_1);
            v0_1.close();
            return;
        } catch (Throwable v1_1) {
            v0_1.close();
            throw v1_1;
        }
    }

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


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

Method com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll.doInBackgroundGuarded() calling method java.io.FileOutputStream.<init>()


    protected varargs void doInBackgroundGuarded(Void[] p15)
    {
        java.io.IOException v15_8 = new java.io.File(this.mUri.getPath());
        String v0_7 = 0;
        try {
            java.io.IOException v1_11 = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DCIM);
            v1_11.mkdirs();
        } catch (java.io.IOException v15_3) {
            java.io.IOException v1_1 = 0;
            if (v0_7 != null) {
                if (v0_7.isOpen()) {
                    try {
                        v0_7.close();
                    } catch (String v0_3) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v0_3);
                    }
                }
            }
            if (v1_1 != null) {
                if (v1_1.isOpen()) {
                    try {
                        v1_1.close();
                    } catch (String v0_5) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close output channel", v0_5);
                    }
                }
            }
            throw v15_3;
        } catch (java.io.IOException v15_2) {
            v1_1 = 0;
            try {
                this.mPromise.reject(v15_2);
            } catch (java.io.IOException v15_3) {
            }
            if (v0_7 != null) {
                if (v0_7.isOpen()) {
                    try {
                        v0_7.close();
                    } catch (java.io.IOException v15_5) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v15_5);
                    }
                }
            }
            if (v1_1 == null) {
                return;
            } else {
                if (!v1_1.isOpen()) {
                    return;
                } else {
                    v1_1.close();
                    return;
                }
            }
        } catch (java.io.IOException v15_7) {
            com.facebook.common.logging.FLog.e("ReactNative", "Could not close output channel", v15_7);
            return;
        }
        if (v1_11.isDirectory()) {
            String v5_1;
            String[] v4_1;
            String v2_1 = new java.io.File(v1_11, v15_8.getName());
            android.content.Context v3_2 = v15_8.getName();
            if (v3_2.indexOf(46) < 0) {
                v5_1 = "";
                v4_1 = 0;
            } else {
                v4_1 = 0;
                v5_1 = v3_2.substring(v3_2.lastIndexOf(46));
                v3_2 = v3_2.substring(0, v3_2.lastIndexOf(46));
            }
            while (!v2_1.createNewFile()) {
                java.io.IOException v7_1 = new StringBuilder();
                v7_1.append(v3_2);
                v7_1.append("_");
                java.io.IOException v8_1 = (v4_1 + 1);
                v7_1.append(v4_1);
                v7_1.append(v5_1);
                v2_1 = new java.io.File(v1_11, v7_1.toString());
                v4_1 = v8_1;
            }
            java.io.IOException v15_9 = new java.io.FileInputStream(v15_8).getChannel();
            try {
                v1_1 = new java.io.FileOutputStream(v2_1).getChannel();
                try {
                    v1_1.transferFrom(v15_9, 0, v15_9.size());
                    v15_9.close();
                    v1_1.close();
                    android.content.Context v3_4 = this.mContext;
                    String[] v4_6 = new String[1];
                    v4_6[0] = v2_1.getAbsolutePath();
                    android.media.MediaScannerConnection.scanFile(v3_4, v4_6, 0, new com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll$1(this));
                } catch (String v0_9) {
                    v0_7 = v15_9;
                    v15_3 = v0_9;
                } catch (String v0_8) {
                    v0_7 = v15_9;
                    v15_2 = v0_8;
                }
                if ((v15_9 != null) && (v15_9.isOpen())) {
                    try {
                        v15_9.close();
                    } catch (java.io.IOException v15_10) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v15_10);
                    }
                }
                if ((v1_1 == null) || (!v1_1.isOpen())) {
                    return;
                } else {
                    v1_1.close();
                    return;
                }
            } catch (java.io.IOException v1_9) {
                v0_7 = v15_9;
                v15_3 = v1_9;
                v1_1 = 0;
            } catch (java.io.IOException v1_8) {
                v0_7 = v15_9;
                v15_2 = v1_8;
                v1_1 = 0;
            }
        } else {
            this.mPromise.reject("E_UNABLE_TO_LOAD", "External media storage directory not available");
            return;
        }
    }

Method com.facebook.react.devsupport.BundleDeltaClient$BundleDeltaJavaClient.processDelta() calling method java.io.FileOutputStream.<init>()


    public declared_synchronized android.util.Pair processDelta(okio.BufferedSource p4, java.io.File p5)
    {
        try {
            int v0_2 = new android.util.JsonReader(new java.io.InputStreamReader(p4.inputStream()));
            v0_2.beginObject();
            android.util.Pair v4_8 = 0;
        } catch (android.util.Pair v4_9) {
            throw v4_9;
        }
        while (v0_2.hasNext()) {
            byte[] v1_11 = v0_2.nextName();
            if (!v1_11.equals("pre")) {
                if (!v1_11.equals("post")) {
                    if (!v1_11.equals("delta")) {
                        v0_2.skipValue();
                    } else {
                        v4_8 += com.facebook.react.devsupport.BundleDeltaClient$BundleDeltaJavaClient.patchDelta(v0_2, this.mDeltaModules);
                    }
                } else {
                    v4_8 += com.facebook.react.devsupport.BundleDeltaClient$BundleDeltaJavaClient.patchDelta(v0_2, this.mPostModules);
                }
            } else {
                v4_8 += com.facebook.react.devsupport.BundleDeltaClient$BundleDeltaJavaClient.patchDelta(v0_2, this.mPreModules);
            }
        }
        v0_2.endObject();
        v0_2.close();
        if (v4_8 != null) {
            android.util.Pair v4_2 = new java.io.FileOutputStream(p5);
            try {
                java.util.Iterator v5_3 = this.mPreModules.values().iterator();
            } catch (java.util.Iterator v5_10) {
                v4_2.flush();
                v4_2.close();
                throw v5_10;
            }
            while (v5_3.hasNext()) {
                v4_2.write(((byte[]) v5_3.next()));
                v4_2.write(10);
            }
            java.util.Iterator v5_6 = this.mDeltaModules.values().iterator();
            while (v5_6.hasNext()) {
                v4_2.write(((byte[]) v5_6.next()));
                v4_2.write(10);
            }
            java.util.Iterator v5_9 = this.mPostModules.values().iterator();
            while (v5_9.hasNext()) {
                v4_2.write(((byte[]) v5_9.next()));
                v4_2.write(10);
            }
            v4_2.flush();
            v4_2.close();
            return android.util.Pair.create(Boolean.TRUE, 0);
        } else {
            return android.util.Pair.create(Boolean.FALSE, 0);
        }
    }

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


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

Method com.facebook.soloader.FileLocker.<init>() calling method java.io.FileOutputStream.<init>()


    private FileLocker(java.io.File p2)
    {
        this.mLockFileOutputStream = new java.io.FileOutputStream(p2);
        try {
            Throwable v2_4 = this.mLockFileOutputStream.getChannel().lock();
        } catch (Throwable v2_1) {
            this.mLockFileOutputStream.close();
            throw v2_1;
        }
        if (v2_4 == null) {
            this.mLockFileOutputStream.close();
        }
        this.mLock = v2_4;
        return;
    }

Method com.facebook.react.modules.network.RequestBodyUtil.getDownloadFileInputStream() calling method java.io.FileOutputStream.<init>()


    private static java.io.InputStream getDownloadFileInputStream(android.content.Context p8, android.net.Uri p9)
    {
        Throwable v8_6 = java.io.File.createTempFile("RequestBodyUtil", "temp", p8.getApplicationContext().getCacheDir());
        v8_6.deleteOnExit();
        java.io.InputStream v9_2 = com.google.firebase.perf.network.FirebasePerfUrlConnection.openStream(new java.net.URL(p9.toString()));
        try {
            java.nio.channels.ReadableByteChannel v6 = java.nio.channels.Channels.newChannel(v9_2);
            try {
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v8_6);
                try {
                    v7_1.getChannel().transferFrom(v6, 0, nan);
                    java.io.FileInputStream v0_3 = new java.io.FileInputStream(v8_6);
                } catch (Throwable v8_2) {
                    v7_1.close();
                    throw v8_2;
                }
                v7_1.close();
                v6.close();
                v9_2.close();
                return v0_3;
            } catch (Throwable v8_4) {
                v6.close();
                throw v8_4;
            }
        } catch (Throwable v8_5) {
            v9_2.close();
            throw v8_5;
        }
    }

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


    private static void processAttachmentFile(android.net.Uri p1, boolean p2, java.io.File p3)
    {
        java.io.InputStream v2_1;
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p3);
        try {
            if (p2 != null) {
                v2_1 = com.facebook.FacebookSdk.getApplicationContext().getContentResolver().openInputStream(p1);
            } else {
                v2_1 = new java.io.FileInputStream(p1.getPath());
            }
        } catch (Throwable v1_2) {
            com.facebook.internal.Utility.closeQuietly(v0_1);
            throw v1_2;
        }
        com.facebook.internal.Utility.copyAndCloseInputStream(v2_1, v0_1);
        com.facebook.internal.Utility.closeQuietly(v0_1);
        return;
    }

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


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

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


    public java.io.OutputStream openPutStream(String p10, String p11)
    {
        java.io.File v5 = com.facebook.internal.FileLruCache$BufferFile.newFile(this.directory);
        v5.delete();
        if (!v5.createNewFile()) {
            java.io.IOException v11_9 = new StringBuilder();
            v11_9.append("Could not create file at ");
            v11_9.append(v5.getAbsolutePath());
            throw new java.io.IOException(v11_9.toString());
        } else {
            try {
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v5);
                com.facebook.internal.FileLruCache$1 v8 = new com.facebook.internal.FileLruCache$1;
                v8(this, System.currentTimeMillis(), v5, p10);
                String v2_2 = new java.io.BufferedOutputStream(new com.facebook.internal.FileLruCache$CloseCallbackOutputStream(v7_1, v8), 8192);
                try {
                    String v1_5 = new org.json.JSONObject();
                    v1_5.put("key", p10);
                } catch (String v10_9) {
                    v2_2.close();
                    throw v10_9;
                } catch (String v10_6) {
                    String v3_5 = new StringBuilder();
                    v3_5.append("Error creating JSON header for cache file: ");
                    v3_5.append(v10_6);
                    com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.CACHE, 5, com.facebook.internal.FileLruCache.TAG, v3_5.toString());
                    throw new java.io.IOException(v10_6.getMessage());
                }
                if (!com.facebook.internal.Utility.isNullOrEmpty(p11)) {
                    v1_5.put("tag", p11);
                }
                com.facebook.internal.FileLruCache$StreamHeader.writeHeader(v2_2, v1_5);
                return v2_2;
            } catch (String v10_2) {
                String v2_4 = new StringBuilder();
                v2_4.append("Error creating buffer output stream: ");
                v2_4.append(v10_2);
                com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.CACHE, 5, com.facebook.internal.FileLruCache.TAG, v2_4.toString());
                throw new java.io.IOException(v10_2.getMessage());
            }
        }
    }

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


    public void writeUserData(String p5, com.crashlytics.android.core.UserMetaData p6)
    {
        Exception v5_1 = this.getUserDataFileForSession(p5);
        String v0 = 0;
        try {
            io.fabric.sdk.android.Logger v6_3 = com.crashlytics.android.core.MetaDataStore.userDataToJson(p6);
            String v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v5_1), com.crashlytics.android.core.MetaDataStore.UTF_8));
            try {
                v1_0.write(v6_3);
                v1_0.flush();
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_0, "Failed to close user metadata file.");
            } catch (Exception v5_5) {
                v0 = v1_0;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close user metadata file.");
                throw v5_5;
            } catch (Exception v5_2) {
                v0 = v1_0;
                io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error serializing user metadata.", v5_2);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close user metadata file.");
            }
            return;
        } catch (Exception v5_5) {
        } catch (Exception v5_2) {
        }
    }

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


    public void writeKeyData(String p5, java.util.Map p6)
    {
        Exception v5_1 = this.getKeysFileForSession(p5);
        String v0 = 0;
        try {
            io.fabric.sdk.android.Logger v6_3 = com.crashlytics.android.core.MetaDataStore.keysDataToJson(p6);
            String v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v5_1), com.crashlytics.android.core.MetaDataStore.UTF_8));
            try {
                v1_0.write(v6_3);
                v1_0.flush();
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_0, "Failed to close key/value metadata file.");
            } catch (Exception v5_5) {
                v0 = v1_0;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close key/value metadata file.");
                throw v5_5;
            } catch (Exception v5_2) {
                v0 = v1_0;
                io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error serializing key/value metadata.", v5_2);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close key/value metadata file.");
            }
            return;
        } catch (Exception v5_5) {
        } catch (Exception v5_2) {
        }
    }

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


    private void writeFile(String p6, String p7, com.crashlytics.android.core.CrashlyticsController$FileOutputStreamWriteAction p8)
    {
        String v0 = 0;
        try {
            java.io.File v3 = this.getFilesDir();
            StringBuilder v4_1 = new StringBuilder();
            v4_1.append(p6);
            v4_1.append(p7);
            String v1_1 = new java.io.FileOutputStream(new java.io.File(v3, v4_1.toString()));
            try {
                p8.writeTo(v1_1);
                Throwable v6_4 = new StringBuilder();
                v6_4.append("Failed to close ");
                v6_4.append(p7);
                p7 = " file.";
                v6_4.append(" file.");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, v6_4.toString());
                return;
            } catch (Throwable v6_2) {
                v0 = v1_1;
                StringBuilder v8_3 = new StringBuilder();
                v8_3.append("Failed to close ");
                v8_3.append(p7);
                v8_3.append(" file.");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, v8_3.toString());
                throw v6_2;
            }
        } catch (Throwable v6_2) {
        }
        p8.writeTo(v1_1);
        v6_4 = new StringBuilder();
        v6_4.append("Failed to close ");
        v6_4.append(p7);
        p7 = " file.";
        v6_4.append(" file.");
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, v6_4.toString());
        return;
    }

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


    private void gzip(byte[] p4, java.io.File p5)
    {
        java.util.zip.GZIPOutputStream v0 = 0;
        try {
            java.util.zip.GZIPOutputStream v1_1 = new java.util.zip.GZIPOutputStream(new java.io.FileOutputStream(p5));
            try {
                v1_1.write(p4);
                v1_1.finish();
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
                return;
            } catch (Throwable v4_1) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0);
                throw v4_1;
            }
        } catch (Throwable v4_1) {
        }
        v1_1.write(p4);
        v1_1.finish();
        io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
        return;
    }

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


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

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

Couldn't retrieve source code

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


    protected varargs Throwable doInBackground(Void[] p8)
    {
        try {
            if (!this.val$cancellationSignal.isCanceled()) {
                android.graphics.Bitmap v8_10 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$pdfAttributes);
                android.graphics.Bitmap v1_1 = android.support.v4.print.PrintHelper.convertBitmapForColorMode(this.val$bitmap, this.val$pdfAttributes.getColorMode());
                if (!this.val$cancellationSignal.isCanceled()) {
                    try {
                        java.io.FileOutputStream v2_6;
                        java.io.FileDescriptor v3_0 = v8_10.startPage(1);
                    } catch (Throwable v0_1) {
                        v8_10.close();
                        if (this.val$fileDescriptor != null) {
                            this.val$fileDescriptor.close();
                        }
                        if (v1_1 != this.val$bitmap) {
                            v1_1.recycle();
                        }
                        throw v0_1;
                    }
                    if (!android.support.v4.print.PrintHelper.IS_MIN_MARGINS_HANDLING_CORRECT) {
                        android.graphics.Matrix v4_2 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$attributes);
                        java.io.FileOutputStream v2_5 = v4_2.startPage(1);
                        android.graphics.Canvas v5_3 = new android.graphics.RectF(v2_5.getInfo().getContentRect());
                        v4_2.finishPage(v2_5);
                        v4_2.close();
                        v2_6 = v5_3;
                    } else {
                        v2_6 = new android.graphics.RectF(v3_0.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v4_6 = android.support.v4.print.PrintHelper.getMatrix(v1_1.getWidth(), v1_1.getHeight(), v2_6, this.val$fittingMode);
                    if (!android.support.v4.print.PrintHelper.IS_MIN_MARGINS_HANDLING_CORRECT) {
                        v4_6.postTranslate(v2_6.left, v2_6.top);
                        v3_0.getCanvas().clipRect(v2_6);
                    } else {
                    }
                    v3_0.getCanvas().drawBitmap(v1_1, v4_6, 0);
                    v8_10.finishPage(v3_0);
                    if (!this.val$cancellationSignal.isCanceled()) {
                        v8_10.writeTo(new java.io.FileOutputStream(this.val$fileDescriptor.getFileDescriptor()));
                        v8_10.close();
                        if (this.val$fileDescriptor != null) {
                            this.val$fileDescriptor.close();
                        }
                        if (v1_1 != this.val$bitmap) {
                            v1_1.recycle();
                        }
                        return 0;
                    } else {
                        v8_10.close();
                        if (this.val$fileDescriptor != null) {
                            this.val$fileDescriptor.close();
                        }
                        if (v1_1 != this.val$bitmap) {
                            v1_1.recycle();
                        }
                        return 0;
                    }
                } else {
                    return 0;
                }
            } else {
                return 0;
            }
        } catch (android.graphics.Bitmap v8_2) {
            return v8_2;
        }
    }

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


    public static boolean copyToFile(java.io.File p5, java.io.InputStream p6)
    {
        android.os.StrictMode$ThreadPolicy v0 = android.os.StrictMode.allowThreadDiskWrites();
        int v2_1 = 0;
        try {
            StringBuilder v3_3 = new java.io.FileOutputStream(p5, 0);
            try {
                int v5_7 = new byte[1024];
            } catch (int v5_4) {
                v2_1 = v3_3;
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2_1);
                android.os.StrictMode.setThreadPolicy(v0);
                throw v5_4;
            } catch (int v5_1) {
                v2_1 = v3_3;
                StringBuilder v3_1 = new StringBuilder();
                v3_1.append("Error copying resource contents to temp file: ");
                v3_1.append(v5_1.getMessage());
                android.util.Log.e("TypefaceCompatUtil", v3_1.toString());
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2_1);
                android.os.StrictMode.setThreadPolicy(v0);
                return 0;
            }
            while(true) {
                int v2_0 = p6.read(v5_7);
                if (v2_0 == -1) {
                    break;
                }
                v3_3.write(v5_7, 0, v2_0);
            }
            android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v3_3);
            android.os.StrictMode.setThreadPolicy(v0);
            return 1;
        } catch (int v5_4) {
        } catch (int v5_1) {
            v3_1 = new StringBuilder();
            v3_1.append("Error copying resource contents to temp file: ");
            v3_1.append(v5_1.getMessage());
            android.util.Log.e("TypefaceCompatUtil", v3_1.toString());
            android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2_1);
            android.os.StrictMode.setThreadPolicy(v0);
            return 0;
        }
    }

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


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

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


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

Method com.imagepicker.ImagePickerModule.getBase64StringFromFile() calling method java.io.FileInputStream.<init>()


    private String getBase64StringFromFile(String p5)
    {
        try {
            int v0_2 = new java.io.FileInputStream(new java.io.File(p5));
        } catch (String v5_4) {
            v5_4.printStackTrace();
            v0_2 = 0;
        }
        String v5_6 = new byte[8192];
        java.io.ByteArrayOutputStream v1_1 = new java.io.ByteArrayOutputStream();
        try {
            while(true) {
                int v2 = v0_2.read(v5_6);
                v1_1.write(v5_6, 0, v2);
            }
            return android.util.Base64.encodeToString(v1_1.toByteArray(), 2);
        } catch (String v5_1) {
            v5_1.printStackTrace();
            return android.util.Base64.encodeToString(v1_1.toByteArray(), 2);
        }
        if (v2 != -1) {
        }
        return android.util.Base64.encodeToString(v1_1.toByteArray(), 2);
    }

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


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

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


    private void move(java.io.File p4, java.io.File p5)
    {
        java.io.OutputStream v0 = 0;
        try {
            String v1_2 = new java.io.FileInputStream(p4);
            try {
                v0 = this.getMoveOutputStream(p5);
                Throwable v5_5 = new byte[1024];
                io.fabric.sdk.android.services.common.CommonUtils.copyStream(v1_2, v0, v5_5);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_2, "Failed to close file input stream");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close output stream");
                p4.delete();
                return;
            } catch (Throwable v5_3) {
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_2, "Failed to close file input stream");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close output stream");
                p4.delete();
                throw v5_3;
            }
        } catch (Throwable v5_3) {
            v1_2 = 0;
        }
        v0 = this.getMoveOutputStream(p5);
        v5_5 = new byte[1024];
        io.fabric.sdk.android.services.common.CommonUtils.copyStream(v1_2, v0, v5_5);
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_2, "Failed to close file input stream");
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close output stream");
        p4.delete();
        return;
    }

Method com.google.common.io.Files$FileByteSource.openStream() calling method java.io.FileInputStream.<init>()


    public java.io.FileInputStream openStream()
    {
        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 p1)
    {
        if (p1 == null) {
            throw new IllegalArgumentException("file == null");
        } else {
            return okio.Okio.source(new java.io.FileInputStream(p1));
        }
    }

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


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

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

Couldn't retrieve source code

Method com.nimbusds.jose.util.IOUtils.readFileToString() calling method java.io.FileInputStream.<init>()


    public static String readFileToString(java.io.File p1, java.nio.charset.Charset p2)
    {
        return com.nimbusds.jose.util.IOUtils.readInputStreamToString(new java.io.FileInputStream(p1), p2);
    }

Method com.microsoft.codepush.react.FileUtils.unzipFile() calling method java.io.FileInputStream.<init>()


    public static void unzipFile(java.io.File p9, String p10)
    {
        try {
            int v1_1 = new java.io.FileInputStream(p9);
            try {
                java.io.IOException v9_1 = new java.io.BufferedInputStream(v1_1);
                try {
                    int v2_0 = new java.util.zip.ZipInputStream(v9_1);
                    try {
                        String v0_2 = new java.io.File(p10);
                    } catch (Throwable v10_1) {
                        if (v2_0 != 0) {
                            v2_0.close();
                        }
                        if (v9_1 != null) {
                            v9_1.close();
                        }
                        if (v1_1 != 0) {
                            v1_1.close();
                        }
                        throw v10_1;
                    }
                    if (v0_2.exists()) {
                        com.microsoft.codepush.react.FileUtils.deleteFileOrFolderSilently(v0_2);
                    }
                    v0_2.mkdirs();
                    Throwable v10_4 = new byte[8192];
                    while(true) {
                        long v3_0 = v2_0.getNextEntry();
                        if (v3_0 == 0) {
                            break;
                        }
                        java.io.File v5_1 = new java.io.File(v0_2, v3_0.getName());
                        if (!v3_0.isDirectory()) {
                            java.io.FileOutputStream v4_2 = v5_1.getParentFile();
                            if (!v4_2.exists()) {
                                v4_2.mkdirs();
                            }
                            java.io.FileOutputStream v4_4 = new java.io.FileOutputStream(v5_1);
                            while(true) {
                                int v6_1 = v2_0.read(v10_4);
                                if (v6_1 == -1) {
                                    break;
                                }
                                v4_4.write(v10_4, 0, v6_1);
                            }
                            v4_4.close();
                        } else {
                            v5_1.mkdirs();
                        }
                        long v3_1 = v3_0.getTime();
                        if (v3_1 > 0) {
                            v5_1.setLastModified(v3_1);
                        }
                    }
                    try {
                        v2_0.close();
                        v9_1.close();
                        v1_1.close();
                        return;
                    } catch (java.io.IOException v9_2) {
                        throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v9_2);
                    }
                } catch (Throwable v10_1) {
                    v2_0 = 0;
                }
            } catch (Throwable v10_1) {
                v9_1 = 0;
                v2_0 = 0;
            }
        } catch (Throwable v10_1) {
            v9_1 = 0;
            v1_1 = 0;
            v2_0 = 0;
        }
    }

Method com.microsoft.codepush.react.FileUtils.readFileToString() calling method java.io.FileInputStream.<init>()


    public static String readFileToString(String p4)
    {
        try {
            int v4_2 = new java.io.FileInputStream(new java.io.File(p4));
            try {
                Throwable v1_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v4_2));
                try {
                    String v0_3 = new StringBuilder();
                } catch (String v0_1) {
                    if (v1_1 != null) {
                        v1_1.close();
                    }
                    if (v4_2 != 0) {
                        v4_2.close();
                    }
                    throw v0_1;
                }
                while(true) {
                    String v2_2 = v1_1.readLine();
                    if (v2_2 == null) {
                        break;
                    }
                    v0_3.append(v2_2);
                    v0_3.append("\n");
                }
                String v0_4 = v0_3.toString();
                v1_1.close();
                v4_2.close();
                return v0_4;
            } catch (Throwable v1_2) {
                v1_1 = 0;
                v0_1 = v1_2;
            }
        } catch (int v4_3) {
            v1_1 = 0;
            v0_1 = v4_3;
            v4_2 = 0;
        }
    }

Method com.microsoft.codepush.react.FileUtils.copyDirectoryContents() calling method java.io.FileInputStream.<init>()


    public static void copyDirectoryContents(String p11, String p12)
    {
        String v0_1 = new java.io.File(p11);
        java.io.File v1_1 = new java.io.File(p12);
        if (!v1_1.exists()) {
            v1_1.mkdir();
        }
        String v0_4 = v0_1.listFiles();
        int v2_0 = v0_4.length;
        int v4 = 0;
        while (v4 < v2_0) {
            int v5_0 = v0_4[v4];
            if (!v5_0.isDirectory()) {
                int v6_2 = new java.io.File(v1_1, v5_0.getName());
                byte[] v7_2 = new byte[8192];
                java.io.FileOutputStream v8 = 0;
                try {
                    int v9_1 = new java.io.FileInputStream(v5_0);
                    try {
                        int v5_1 = new java.io.BufferedInputStream(v9_1);
                        try {
                            java.io.FileOutputStream v10_1 = new java.io.FileOutputStream(v6_2);
                            try {
                                while(true) {
                                    int v6_3 = v5_1.read(v7_2);
                                    v10_1.write(v7_2, 0, v6_3);
                                }
                                try {
                                    v9_1.close();
                                    v5_1.close();
                                    v10_1.close();
                                } catch (java.io.IOException v11_3) {
                                    throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v11_3);
                                }
                            } catch (java.io.IOException v11_1) {
                                v8 = v10_1;
                                if (v9_1 != 0) {
                                    v9_1.close();
                                }
                                if (v5_1 != 0) {
                                    v5_1.close();
                                }
                                if (v8 != null) {
                                    v8.close();
                                }
                                throw v11_1;
                            }
                            if (v6_3 <= 0) {
                            }
                        } catch (java.io.IOException v11_1) {
                        }
                    } catch (java.io.IOException v11_1) {
                        v5_1 = 0;
                    }
                } catch (java.io.IOException v11_1) {
                    v5_1 = 0;
                    v9_1 = 0;
                }
            } else {
                com.microsoft.codepush.react.FileUtils.copyDirectoryContents(com.microsoft.codepush.react.CodePushUtils.appendPathComponent(p11, v5_0.getName()), com.microsoft.codepush.react.CodePushUtils.appendPathComponent(p12, v5_0.getName()));
            }
            v4++;
        }
        return;
    }

Method com.microsoft.codepush.react.CodePushUpdateUtils.addContentsOfFolderToManifest() calling method java.io.FileInputStream.<init>()


    private static void addContentsOfFolderToManifest(String p8, String p9, java.util.ArrayList p10)
    {
        java.io.FileNotFoundException v8_1 = new java.io.File(p8).listFiles();
        int v0_2 = v8_1.length;
        int v1 = 0;
        while (v1 < v0_2) {
            String v6_3;
            String v2_2 = v8_1[v1];
            java.io.FileInputStream v3_0 = v2_2.getName();
            StringBuilder v4_0 = v2_2.getAbsolutePath();
            boolean v5_1 = new StringBuilder();
            if (!p9.isEmpty()) {
                String v6_2 = new StringBuilder();
                v6_2.append(p9);
                v6_2.append("/");
                v6_3 = v6_2.toString();
            } else {
                v6_3 = "";
            }
            v5_1.append(v6_3);
            v5_1.append(v3_0);
            java.io.FileInputStream v3_1 = v5_1.toString();
            if (!com.microsoft.codepush.react.CodePushUpdateUtils.isHashIgnored(v3_1)) {
                if (!v2_2.isDirectory()) {
                    try {
                        StringBuilder v4_2 = new StringBuilder();
                        v4_2.append(v3_1);
                        v4_2.append(":");
                        v4_2.append(com.microsoft.codepush.react.CodePushUpdateUtils.computeHash(new java.io.FileInputStream(v2_2)));
                        p10.add(v4_2.toString());
                    } catch (java.io.FileNotFoundException v8_2) {
                        throw new com.microsoft.codepush.react.CodePushUnknownException("Unable to compute hash of update contents.", v8_2);
                    }
                } else {
                    com.microsoft.codepush.react.CodePushUpdateUtils.addContentsOfFolderToManifest(v4_0, v3_1, p10);
                }
            }
            v1++;
        }
        return;
    }

Method com.imagepicker.utils.MediaUtils.moveFile() calling method java.io.FileInputStream.<init>()


    private static void moveFile(java.io.File p8, java.io.File p9)
    {
        java.nio.channels.FileChannel v0 = 0;
        try {
            int v1_2 = new java.io.FileInputStream(p8).getChannel();
            try {
                java.io.IOException v9_1 = new java.io.FileOutputStream(p9).getChannel();
                try {
                    v1_2.transferTo(0, v1_2.size(), v9_1);
                    p8.delete();
                } catch (java.io.IOException v8_1) {
                    v0 = v9_1;
                    if (v1_2 == 0) {
                        if (v0 != null) {
                            v0.close();
                        }
                    } else {
                        v1_2.close();
                    }
                    throw v8_1;
                }
                if (v1_2 == 0) {
                    if (v9_1 != null) {
                        v9_1.close();
                    }
                } else {
                    v1_2.close();
                }
                return;
            } catch (java.io.IOException v8_1) {
            }
        } catch (java.io.IOException v8_1) {
            v1_2 = 0;
        }
    }

Method com.google.firebase.iid.zzw.zza() calling method java.io.FileInputStream.<init>()


    private static com.google.firebase.iid.zzx zza(java.io.File p5)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p5);
        Throwable v5_1 = 0;
        try {
            com.google.firebase.iid.zzx v1_6 = new java.util.Properties();
            v1_6.load(v0_1);
            com.google.firebase.iid.zzy v2_4 = v1_6.getProperty("pub");
            long v3_0 = v1_6.getProperty("pri");
        } catch (com.google.firebase.iid.zzx v1_5) {
            com.google.firebase.iid.zzw.zza(v5_1, v0_1);
            throw v1_5;
        } catch (Throwable v5_1) {
            throw v5_1;
        }
        if (v2_4 != null) {
            if (v3_0 != 0) {
                try {
                } catch (com.google.firebase.iid.zzx v1_1) {
                    throw new com.google.firebase.iid.zzy(v1_1);
                }
                com.google.firebase.iid.zzx v1_3 = new com.google.firebase.iid.zzx(com.google.firebase.iid.zzw.zzb(v2_4, v3_0), Long.parseLong(v1_6.getProperty("cre")));
                com.google.firebase.iid.zzw.zza(0, v0_1);
                return v1_3;
            } else {
            }
        }
        com.google.firebase.iid.zzw.zza(0, v0_1);
        return 0;
    }

Method com.google.common.io.Files.newReader() calling method java.io.FileInputStream.<init>()


    public static java.io.BufferedReader newReader(java.io.File p3, java.nio.charset.Charset p4)
    {
        com.google.common.base.Preconditions.checkNotNull(p3);
        com.google.common.base.Preconditions.checkNotNull(p4);
        return new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(p3), p4));
    }

Method com.google.common.io.FileBackedOutputStream.openInputStream() calling method java.io.FileInputStream.<init>()


    private declared_synchronized java.io.InputStream openInputStream()
    {
        try {
            if (this.file == null) {
                return new java.io.ByteArrayInputStream(this.memory.getBuffer(), 0, this.memory.getCount());
            } else {
                return new java.io.FileInputStream(this.file);
            }
        } catch (java.io.ByteArrayInputStream v0_2) {
            throw v0_2;
        }
    }

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


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

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


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

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


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

Method android.support.v4.graphics.drawable.IconCompat.loadDrawableInner() calling method java.io.FileInputStream.<init>()


    private android.graphics.drawable.Drawable loadDrawableInner(android.content.Context p7)
    {
        switch (this.mType) {
            case 1:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), ((android.graphics.Bitmap) this.mObj1));
            case 2:
                android.graphics.Bitmap v0_14 = this.getResPackage();
                if (android.text.TextUtils.isEmpty(v0_14)) {
                    v0_14 = p7.getPackageName();
                }
                try {
                    return android.support.v4.content.res.ResourcesCompat.getDrawable(android.support.v4.graphics.drawable.IconCompat.getResources(p7, v0_14), this.mInt1, p7.getTheme());
                } catch (android.content.res.Resources v7_7) {
                    StringBuilder v4_7 = new Object[2];
                    v4_7[0] = Integer.valueOf(this.mInt1);
                    v4_7[1] = this.mObj1;
                    android.util.Log.e("IconCompat", String.format("Unable to load resource 0x%08x from pkg=%s", v4_7), v7_7);
                }
            case 3:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.graphics.BitmapFactory.decodeByteArray(((byte[]) this.mObj1), this.mInt1, this.mInt2));
            case 4:
                android.graphics.Bitmap v0_7;
                android.graphics.Bitmap v0_6 = android.net.Uri.parse(((String) this.mObj1));
                android.graphics.drawable.BitmapDrawable v1_6 = v0_6.getScheme();
                if ((!"content".equals(v1_6)) && (!"file".equals(v1_6))) {
                    try {
                        v0_7 = new java.io.FileInputStream(new java.io.File(((String) this.mObj1)));
                    } catch (android.graphics.drawable.BitmapDrawable v1_10) {
                        StringBuilder v4_3 = new StringBuilder();
                        v4_3.append("Unable to load image from path: ");
                        v4_3.append(v0_7);
                        android.util.Log.w("IconCompat", v4_3.toString(), v1_10);
                        v0_7 = 0;
                    }
                } else {
                    try {
                        v0_7 = p7.getContentResolver().openInputStream(v0_6);
                    } catch (android.graphics.drawable.BitmapDrawable v1_12) {
                        StringBuilder v4_5 = new StringBuilder();
                        v4_5.append("Unable to load image from URI: ");
                        v4_5.append(v0_7);
                        android.util.Log.w("IconCompat", v4_5.toString(), v1_12);
                    }
                }
                if (v0_7 == null) {
                } else {
                    return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.graphics.BitmapFactory.decodeStream(v0_7));
                }
            case 5:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.support.v4.graphics.drawable.IconCompat.createLegacyIconFromAdaptiveIcon(((android.graphics.Bitmap) this.mObj1), 0));
            default:
        }
        return 0;
    }

Method com.facebook.soloader.SoLoader$1.getLibHash() calling method java.io.FileInputStream.<init>()


    private String getLibHash(String p8)
    {
        try {
            Throwable v0_1 = new java.io.File(p8);
            String v8_8 = java.security.MessageDigest.getInstance("MD5");
            Throwable v1_2 = new java.io.FileInputStream(v0_1);
            Throwable v0_2 = 0;
            try {
                String v2_2 = new byte[4096];
            } catch (String v8_5) {
                if (v0_2 == null) {
                    v1_2.close();
                } else {
                    try {
                        v1_2.close();
                    } catch (Throwable v1_0) {
                        v0_2.addSuppressed(v1_0);
                    }
                }
                throw v8_5;
            } catch (String v8_4) {
                v0_2 = v8_4;
                throw v0_2;
            }
            while(true) {
                int v3_0 = v1_2.read(v2_2);
                if (v3_0 <= 0) {
                    break;
                }
                v8_8.update(v2_2, 0, v3_0);
            }
            Object[] v5 = new Object[1];
            v5[0] = new java.math.BigInteger(1, v8_8.digest());
            String v8_3 = String.format("%32x", v5);
            v1_2.close();
            return v8_3;
        } catch (String v8_7) {
            v8_3 = v8_7.toString();
            return v8_3;
        } catch (String v8_6) {
            v8_3 = v8_6.toString();
            return v8_3;
        }
    }

Method com.facebook.soloader.ExoSoSource$ExoUnpacker$FileBackedInputDsoIterator.next() calling method java.io.FileInputStream.<init>()


    public com.facebook.soloader.UnpackingSoSource$InputDso next()
    {
        Throwable v0_2 = com.facebook.soloader.ExoSoSource$ExoUnpacker.access$100(this.this$1);
        java.io.FileInputStream v1_0 = this.mCurrentDso;
        this.mCurrentDso = (v1_0 + 1);
        Throwable v0_3 = v0_2[v1_0];
        java.io.FileInputStream v1_2 = new java.io.FileInputStream(v0_3.backingFile);
        try {
            return new com.facebook.soloader.UnpackingSoSource$InputDso(v0_3, v1_2);
        } catch (Throwable v0_1) {
            v1_2.close();
            throw v0_1;
        }
    }

Method com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll.doInBackgroundGuarded() calling method java.io.FileInputStream.<init>()


    protected varargs void doInBackgroundGuarded(Void[] p15)
    {
        java.io.IOException v15_8 = new java.io.File(this.mUri.getPath());
        String v0_7 = 0;
        try {
            java.io.IOException v1_11 = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DCIM);
            v1_11.mkdirs();
        } catch (java.io.IOException v15_3) {
            java.io.IOException v1_1 = 0;
            if (v0_7 != null) {
                if (v0_7.isOpen()) {
                    try {
                        v0_7.close();
                    } catch (String v0_3) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v0_3);
                    }
                }
            }
            if (v1_1 != null) {
                if (v1_1.isOpen()) {
                    try {
                        v1_1.close();
                    } catch (String v0_5) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close output channel", v0_5);
                    }
                }
            }
            throw v15_3;
        } catch (java.io.IOException v15_2) {
            v1_1 = 0;
            try {
                this.mPromise.reject(v15_2);
            } catch (java.io.IOException v15_3) {
            }
            if (v0_7 != null) {
                if (v0_7.isOpen()) {
                    try {
                        v0_7.close();
                    } catch (java.io.IOException v15_5) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v15_5);
                    }
                }
            }
            if (v1_1 == null) {
                return;
            } else {
                if (!v1_1.isOpen()) {
                    return;
                } else {
                    v1_1.close();
                    return;
                }
            }
        } catch (java.io.IOException v15_7) {
            com.facebook.common.logging.FLog.e("ReactNative", "Could not close output channel", v15_7);
            return;
        }
        if (v1_11.isDirectory()) {
            String[] v4_1;
            String v5_1;
            String v2_1 = new java.io.File(v1_11, v15_8.getName());
            android.content.Context v3_2 = v15_8.getName();
            if (v3_2.indexOf(46) < 0) {
                v5_1 = "";
                v4_1 = 0;
            } else {
                v4_1 = 0;
                v5_1 = v3_2.substring(v3_2.lastIndexOf(46));
                v3_2 = v3_2.substring(0, v3_2.lastIndexOf(46));
            }
            while (!v2_1.createNewFile()) {
                java.io.IOException v7_1 = new StringBuilder();
                v7_1.append(v3_2);
                v7_1.append("_");
                java.io.IOException v8_1 = (v4_1 + 1);
                v7_1.append(v4_1);
                v7_1.append(v5_1);
                v2_1 = new java.io.File(v1_11, v7_1.toString());
                v4_1 = v8_1;
            }
            java.io.IOException v15_9 = new java.io.FileInputStream(v15_8).getChannel();
            try {
                v1_1 = new java.io.FileOutputStream(v2_1).getChannel();
                try {
                    v1_1.transferFrom(v15_9, 0, v15_9.size());
                    v15_9.close();
                    v1_1.close();
                    android.content.Context v3_4 = this.mContext;
                    String[] v4_6 = new String[1];
                    v4_6[0] = v2_1.getAbsolutePath();
                    android.media.MediaScannerConnection.scanFile(v3_4, v4_6, 0, new com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll$1(this));
                } catch (String v0_9) {
                    v0_7 = v15_9;
                    v15_3 = v0_9;
                } catch (String v0_8) {
                    v0_7 = v15_9;
                    v15_2 = v0_8;
                }
                if ((v15_9 != null) && (v15_9.isOpen())) {
                    try {
                        v15_9.close();
                    } catch (java.io.IOException v15_10) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v15_10);
                    }
                }
                if ((v1_1 == null) || (!v1_1.isOpen())) {
                    return;
                } else {
                    v1_1.close();
                    return;
                }
            } catch (java.io.IOException v1_9) {
                v0_7 = v15_9;
                v15_3 = v1_9;
                v1_1 = 0;
            } catch (java.io.IOException v1_8) {
                v0_7 = v15_9;
                v15_2 = v1_8;
                v1_1 = 0;
            }
        } else {
            this.mPromise.reject("E_UNABLE_TO_LOAD", "External media storage directory not available");
            return;
        }
    }

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


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

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


    private static String getFileSHA(String p3)
    {
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p3));
            try {
                Throwable v3_2 = io.fabric.sdk.android.services.common.CommonUtils.sha1(v1_1);
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
                return v3_2;
            } catch (Throwable v3_1) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0);
                throw v3_1;
            }
        } catch (Throwable v3_1) {
        }
        v3_2 = io.fabric.sdk.android.services.common.CommonUtils.sha1(v1_1);
        io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
        return v3_2;
    }

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


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

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


    public android.graphics.Typeface createFromFontInfo(android.content.Context p5, android.os.CancellationSignal p6, android.support.v4.provider.FontsContractCompat$FontInfo[] p7, int p8)
    {
        if (p7.length >= 1) {
            try {
                Throwable v6_1 = p5.getContentResolver().openFileDescriptor(this.findBestInfo(p7, p8).getUri(), "r", p6);
                try {
                    Throwable v7_1 = this.getFile(v6_1);
                } catch (Throwable v5_6) {
                    Throwable v7_7 = 0;
                    if (v6_1 != null) {
                        if (v7_7 == null) {
                            v6_1.close();
                        } else {
                            try {
                                v6_1.close();
                            } catch (Throwable v6_2) {
                                v7_7.addSuppressed(v6_2);
                            }
                        }
                    }
                    throw v5_6;
                } catch (Throwable v5_5) {
                    try {
                        throw v5_5;
                    } catch (Throwable v7_5) {
                        v7_7 = v5_5;
                        v5_6 = v7_5;
                    }
                }
                if (v7_1 != null) {
                    if (v7_1.canRead()) {
                        Throwable v5_1 = android.graphics.Typeface.createFromFile(v7_1);
                        if (v6_1 != null) {
                            v6_1.close();
                        }
                        return v5_1;
                    } else {
                    }
                }
                Throwable v7_3 = new java.io.FileInputStream(v6_1.getFileDescriptor());
                try {
                    Throwable v5_2 = super.createFromInputStream(p5, v7_3);
                } catch (Throwable v5_4) {
                    Throwable v8_4 = 0;
                    if (v8_4 == null) {
                        v7_3.close();
                    } else {
                        try {
                            v7_3.close();
                        } catch (Throwable v7_4) {
                            v8_4.addSuppressed(v7_4);
                        }
                    }
                    throw v5_4;
                } catch (Throwable v5_3) {
                    try {
                        throw v5_3;
                    } catch (Throwable v8_3) {
                        v8_4 = v5_3;
                        v5_4 = v8_3;
                    }
                }
                v7_3.close();
                if (v6_1 != null) {
                    v6_1.close();
                }
                return v5_2;
            } catch (java.io.IOException) {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.soloader.MinElf.extract_DT_NEEDED() calling method java.io.FileInputStream.<init>()


    public static String[] extract_DT_NEEDED(java.io.File p1)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p1);
        try {
            Throwable v1_2 = com.facebook.soloader.MinElf.extract_DT_NEEDED(v0_1.getChannel());
            v0_1.close();
            return v1_2;
        } catch (Throwable v1_3) {
            v0_1.close();
            throw v1_3;
        }
    }

Method com.facebook.react.packagerconnection.FileIoHandler$TtlFileInputStream.<init>() calling method java.io.FileInputStream.<init>()


    public FileIoHandler$TtlFileInputStream(String p5)
    {
        this.mStream = new java.io.FileInputStream(p5);
        this.mTtl = (System.currentTimeMillis() + 30000);
        return;
    }

Method com.facebook.react.modules.network.RequestBodyUtil.getDownloadFileInputStream() calling method java.io.FileInputStream.<init>()


    private static java.io.InputStream getDownloadFileInputStream(android.content.Context p8, android.net.Uri p9)
    {
        Throwable v8_6 = java.io.File.createTempFile("RequestBodyUtil", "temp", p8.getApplicationContext().getCacheDir());
        v8_6.deleteOnExit();
        java.io.InputStream v9_2 = com.google.firebase.perf.network.FirebasePerfUrlConnection.openStream(new java.net.URL(p9.toString()));
        try {
            java.nio.channels.ReadableByteChannel v6 = java.nio.channels.Channels.newChannel(v9_2);
            try {
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v8_6);
                try {
                    v7_1.getChannel().transferFrom(v6, 0, nan);
                    java.io.FileInputStream v0_3 = new java.io.FileInputStream(v8_6);
                } catch (Throwable v8_2) {
                    v7_1.close();
                    throw v8_2;
                }
                v7_1.close();
                v6.close();
                v9_2.close();
                return v0_3;
            } catch (Throwable v8_4) {
                v6.close();
                throw v8_4;
            }
        } catch (Throwable v8_5) {
            v9_2.close();
            throw v8_5;
        }
    }

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


    private static void processAttachmentFile(android.net.Uri p1, boolean p2, java.io.File p3)
    {
        java.io.InputStream v2_1;
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p3);
        try {
            if (p2 != null) {
                v2_1 = com.facebook.FacebookSdk.getApplicationContext().getContentResolver().openInputStream(p1);
            } else {
                v2_1 = new java.io.FileInputStream(p1.getPath());
            }
        } catch (Throwable v1_2) {
            com.facebook.internal.Utility.closeQuietly(v0_1);
            throw v1_2;
        }
        com.facebook.internal.Utility.copyAndCloseInputStream(v2_1, v0_1);
        com.facebook.internal.Utility.closeQuietly(v0_1);
        return;
    }

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


    public java.io.InputStream get(String p7, String p8)
    {
        java.io.File v0_1 = new java.io.File(this.directory, com.facebook.internal.Utility.md5hash(p7));
        try {
            java.io.BufferedInputStream v3_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(v0_1), 8192);
            try {
                String v2_0 = com.facebook.internal.FileLruCache$StreamHeader.readHeader(v3_0);
            } catch (long v7_8) {
                v3_0.close();
                throw v7_8;
            }
            if (v2_0 != null) {
                String v4_1 = v2_0.optString("key");
                if (v4_1 != null) {
                    if (v4_1.equals(p7)) {
                        long v7_3 = v2_0.optString("tag", 0);
                        if (((p8 != null) || (v7_3 == 0)) && ((p8 == null) || (p8.equals(v7_3)))) {
                            long v7_7 = new java.util.Date().getTime();
                            String v4_3 = new StringBuilder();
                            v4_3.append("Setting lastModified to ");
                            v4_3.append(Long.valueOf(v7_7));
                            v4_3.append(" for ");
                            v4_3.append(v0_1.getName());
                            com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.CACHE, com.facebook.internal.FileLruCache.TAG, v4_3.toString());
                            v0_1.setLastModified(v7_7);
                            return v3_0;
                        } else {
                            v3_0.close();
                            return 0;
                        }
                    } else {
                    }
                }
                v3_0.close();
                return 0;
            } else {
                v3_0.close();
                return 0;
            }
        } catch (java.io.IOException) {
            return 0;
        }
    }

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


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

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


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

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

Couldn't retrieve source code

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


    public com.crashlytics.android.core.UserMetaData readUserData(String p5)
    {
        Exception v5_1 = this.getUserDataFileForSession(p5);
        if (v5_1.exists()) {
            io.fabric.sdk.android.Logger v0_1 = 0;
            try {
                io.fabric.sdk.android.Logger v1_3 = new java.io.FileInputStream(v5_1);
                try {
                    Exception v5_3 = com.crashlytics.android.core.MetaDataStore.jsonToUserData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v1_3));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_3, "Failed to close user metadata file.");
                    return v5_3;
                } catch (Exception v5_7) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0_1, "Failed to close user metadata file.");
                    throw v5_7;
                } catch (Exception v5_4) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0_1, "Failed to close user metadata file.");
                    return com.crashlytics.android.core.UserMetaData.EMPTY;
                }
            } catch (Exception v5_7) {
            } catch (Exception v5_4) {
                io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0_1, "Failed to close user metadata file.");
                return com.crashlytics.android.core.UserMetaData.EMPTY;
            }
            v5_3 = com.crashlytics.android.core.MetaDataStore.jsonToUserData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v1_3));
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_3, "Failed to close user metadata file.");
            return v5_3;
        } else {
            return com.crashlytics.android.core.UserMetaData.EMPTY;
        }
    }

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


    public java.util.Map readKeyData(String p5)
    {
        Exception v5_1 = this.getKeysFileForSession(p5);
        if (v5_1.exists()) {
            io.fabric.sdk.android.Logger v0_1 = 0;
            try {
                io.fabric.sdk.android.Logger v1_3 = new java.io.FileInputStream(v5_1);
                try {
                    Exception v5_3 = com.crashlytics.android.core.MetaDataStore.jsonToKeysData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v1_3));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_3, "Failed to close user metadata file.");
                    return v5_3;
                } catch (Exception v5_7) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0_1, "Failed to close user metadata file.");
                    throw v5_7;
                } catch (Exception v5_4) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0_1, "Failed to close user metadata file.");
                    return java.util.Collections.emptyMap();
                }
            } catch (Exception v5_7) {
            } catch (Exception v5_4) {
                io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0_1, "Failed to close user metadata file.");
                return java.util.Collections.emptyMap();
            }
            v5_3 = com.crashlytics.android.core.MetaDataStore.jsonToKeysData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v1_3));
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_3, "Failed to close user metadata file.");
            return v5_3;
        } else {
            return java.util.Collections.emptyMap();
        }
    }

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


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

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


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

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


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

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


    public static java.nio.ByteBuffer mmap(android.content.Context p8, android.os.CancellationSignal p9, android.net.Uri p10)
    {
        try {
            Throwable v8_3 = p8.getContentResolver().openFileDescriptor(p10, "r", p9);
        } catch (java.io.IOException) {
            return 0;
        }
        if (v8_3 != null) {
            try {
                Throwable v9_1 = new java.io.FileInputStream(v8_3.getFileDescriptor());
                try {
                    Throwable v1_0 = v9_1.getChannel();
                    Throwable v10_1 = v1_0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v1_0.size());
                } catch (Throwable v10_3) {
                    Throwable v1_2 = 0;
                    if (v1_2 == null) {
                        v9_1.close();
                    } else {
                        try {
                            v9_1.close();
                        } catch (Throwable v9_2) {
                            v1_2.addSuppressed(v9_2);
                        }
                    }
                    throw v10_3;
                } catch (Throwable v10_2) {
                    try {
                        throw v10_2;
                    } catch (Throwable v1_1) {
                        v1_2 = v10_2;
                        v10_3 = v1_1;
                    }
                }
                v9_1.close();
                if (v8_3 != null) {
                    v8_3.close();
                }
                return v10_1;
            } catch (Throwable v9_4) {
                Throwable v10_5 = 0;
                if (v8_3 != null) {
                    if (v10_5 == null) {
                        v8_3.close();
                    } else {
                        try {
                            v8_3.close();
                        } catch (Throwable v8_2) {
                            v10_5.addSuppressed(v8_2);
                        }
                    }
                }
                throw v9_4;
            } catch (Throwable v9_3) {
                try {
                    throw v9_3;
                } catch (Throwable v10_4) {
                    v10_5 = v9_3;
                    v9_4 = v10_4;
                }
            }
        } else {
            if (v8_3 != null) {
                v8_3.close();
            }
            return 0;
        }
    }

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


    public static String extractFieldFromSystemFile(java.io.File p6, String p7)
    {
        String v1 = 0;
        if (p6.exists()) {
            try {
                int v0_1 = new java.io.BufferedReader(new java.io.FileReader(p6), 1024);
                try {
                    do {
                        String[] v2_0 = v0_1.readLine();
                    } while((String[] v2_1.length <= 1) || (!v2_1[0].equals(p7)));
                    v1 = v2_1[1];
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0_1, "Failed to close system file reader.");
                } catch (Exception v7_1) {
                    String[] v2_2 = io.fabric.sdk.android.Fabric.getLogger();
                    int v4_3 = new StringBuilder();
                    v4_3.append("Error parsing ");
                    v4_3.append(p6);
                    v2_2.e("Fabric", v4_3.toString(), v7_1);
                }
                if (v2_0 == null) {
                } else {
                    v2_1 = java.util.regex.Pattern.compile("\\s*:\\s*").split(v2_0, 2);
                    if ((v2_1.length > 1) && (v2_1[0].equals(p7))) {
                    }
                }
            } catch (String v6_1) {
                v0_1 = 0;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0_1, "Failed to close system file reader.");
                throw v6_1;
            } catch (Exception v7_1) {
                v0_1 = 0;
            } catch (String v6_1) {
            }
        }
        return v1;
    }

Method com.facebook.soloader.ExoSoSource$ExoUnpacker.<init>() calling method java.io.FileReader.<init>()


    ExoSoSource$ExoUnpacker(com.facebook.soloader.ExoSoSource p18, com.facebook.soloader.UnpackingSoSource p19)
    {
        this.this$0 = p18;
        Throwable v0_14 = p18.mContext;
        Throwable v3_6 = new StringBuilder();
        v3_6.append("/data/local/tmp/exopackage/");
        v3_6.append(v0_14.getPackageName());
        v3_6.append("/native-libs/");
        String v2_2 = new java.io.File(v3_6.toString());
        Throwable v0_13 = new java.util.ArrayList();
        Throwable v3_3 = new java.util.LinkedHashSet();
        String[] v4_0 = com.facebook.soloader.SysUtil.getSupportedAbis();
        int v5 = v4_0.length;
        int v6_0 = 0;
        int v7 = 0;
        while (v7 < v5) {
            com.facebook.soloader.ExoSoSource$FileDso v8_8 = v4_0[v7];
            java.io.File v9_1 = new java.io.File(v2_2, v8_8);
            if (v9_1.isDirectory()) {
                v3_3.add(v8_8);
                com.facebook.soloader.ExoSoSource$FileDso v8_10 = new java.io.File(v9_1, "metadata.txt");
                if (v8_10.isFile()) {
                    java.io.FileReader v10_4 = new java.io.FileReader(v8_10);
                    try {
                        java.io.BufferedReader v11_1 = new java.io.BufferedReader(v10_4);
                        try {
                            while(true) {
                                java.io.File v12_2 = v11_1.readLine();
                                int v6_2 = v12_2.substring((int v13_3 + 1));
                                v0_13.add(new com.facebook.soloader.ExoSoSource$FileDso(String v14_3, v6_2, new java.io.File(v9_1, v6_2)));
                                v6_0 = 0;
                            }
                            v11_1.close();
                            v10_4.close();
                        } catch (Throwable v0_4) {
                            String v2_0 = v0_4;
                            com.facebook.soloader.ExoSoSource$FileDso v8_6 = 0;
                            if (v8_6 == null) {
                                v11_1.close();
                            } else {
                                try {
                                    v11_1.close();
                                } catch (Throwable v0_6) {
                                    v8_6.addSuppressed(v0_6);
                                }
                            }
                            throw v2_0;
                        } catch (Throwable v0_2) {
                            v8_6 = v0_2;
                            try {
                                throw v8_6;
                            } catch (Throwable v0_3) {
                                v2_0 = v0_3;
                            }
                        }
                        if (v12_2 == null) {
                        } else {
                            if (v12_2.length() != 0) {
                                v13_3 = v12_2.indexOf(32);
                                if (v13_3 == -1) {
                                    String v2_11 = new StringBuilder();
                                    v2_11.append("illegal line in exopackage metadata: [");
                                    v2_11.append(v12_2);
                                    v2_11.append("]");
                                    throw new RuntimeException(v2_11.toString());
                                } else {
                                    String v14_2 = new StringBuilder();
                                    v14_2.append(v12_2.substring(v6_0, v13_3));
                                    v14_2.append(".so");
                                    v14_3 = v14_2.toString();
                                    int v15_2 = v0_13.size();
                                    while (v6_0 < v15_2) {
                                        if (!((com.facebook.soloader.ExoSoSource$FileDso) v0_13.get(v6_0)).name.equals(v14_3)) {
                                            v6_0++;
                                        } else {
                                            int v6_1 = 1;
                                        }
                                        if (v6_1 == 0) {
                                        } else {
                                            v6_0 = 0;
                                        }
                                    }
                                    v6_1 = 0;
                                }
                            } else {
                            }
                        }
                    } catch (Throwable v0_9) {
                        String v2_1 = v0_9;
                        com.facebook.soloader.ExoSoSource$FileDso v8_7 = 0;
                        if (v8_7 == null) {
                            v10_4.close();
                        } else {
                            try {
                                v10_4.close();
                            } catch (Throwable v0_10) {
                                v8_7.addSuppressed(v0_10);
                            }
                        }
                        throw v2_1;
                    } catch (Throwable v0_7) {
                        v8_7 = v0_7;
                        try {
                            throw v8_7;
                        } catch (Throwable v0_8) {
                            v2_1 = v0_8;
                        }
                    }
                }
            }
            v7++;
            v6_0 = 0;
        }
        String v2_4 = new String[v3_3.size()];
        p19.setSoSourceAbis(((String[]) v3_3.toArray(v2_4)));
        String v2_8 = new com.facebook.soloader.ExoSoSource$FileDso[v0_13.size()];
        this.mDsos = ((com.facebook.soloader.ExoSoSource$FileDso[]) v0_13.toArray(v2_8));
        return;
    }

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


    private static java.io.BufferedReader zzj(String p3)
    {
        android.os.StrictMode$ThreadPolicy v0 = android.os.StrictMode.allowThreadDiskReads();
        try {
            java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(p3));
            android.os.StrictMode.setThreadPolicy(v0);
            return v1_1;
        } catch (Throwable v3_1) {
            android.os.StrictMode.setThreadPolicy(v0);
            throw v3_1;
        }
    }

Method com.crashlytics.android.core.NativeFileUtils.binaryImagesJsonFromMapsFile() calling method java.io.FileReader.<init>()


    private static byte[] binaryImagesJsonFromMapsFile(java.io.File p3, android.content.Context p4)
    {
        if (p3.exists()) {
            try {
                int v0_2 = new java.io.BufferedReader(new java.io.FileReader(p3));
                try {
                    Throwable v3_3 = new com.crashlytics.android.core.BinaryImagesConverter(p4, new com.crashlytics.android.core.Sha1FileIdStrategy()).convert(v0_2);
                    io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0_2);
                    return v3_3;
                } catch (Throwable v3_4) {
                    io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0_2);
                    throw v3_4;
                }
            } catch (Throwable v3_4) {
                v0_2 = 0;
            }
            v3_3 = new com.crashlytics.android.core.BinaryImagesConverter(p4, new com.crashlytics.android.core.Sha1FileIdStrategy()).convert(v0_2);
            io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0_2);
            return v3_3;
        } else {
            return 0;
        }
    }

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


    final void run()
    {
        if (this.zzk == null) {
            if (!this.zza(4, 0)) {
                return;
            }
            do {
                this.zzh = 0;
                this.zzk = 0;
                this.zzf.reset();
                long v7_6;
                int v6_9 = com.google.android.gms.internal.firebase_storage.zzp.zzb(this.zzd.getStorage().getApp()).zza(this.zzd.zze(), this.zzl);
                this.zzf.zza(v6_9, 0);
                this.zzm = v6_9.getResultCode();
                if (v6_9.getException() == null) {
                    v7_6 = this.zzk;
                } else {
                    v7_6 = v6_9.getException();
                }
                long v7_8;
                this.zzk = v7_6;
                long v7_7 = this.zzm;
                int v9 = 1;
                if ((v7_7 != 308) && ((v7_7 < 200) || (v7_7 >= 300))) {
                    v7_8 = 0;
                } else {
                    v7_8 = 1;
                }
                if ((v7_8 == 0) || ((this.zzk != null) || (this.zzg() != 4))) {
                    long v7_11 = 0;
                } else {
                    v7_11 = 1;
                }
                if (v7_11 != 0) {
                    this.zzi = ((long) v6_9.zzac());
                    String v8_6 = v6_9.zzg("ETag");
                    if (!android.text.TextUtils.isEmpty(v8_6)) {
                        String v10_2 = this.zzj;
                        if ((v10_2 != null) && (!v10_2.equals(v8_6))) {
                            android.util.Log.w("FileDownloadTask", "The file at the server has changed.  Restarting from the beginning.");
                            this.zzl = 0;
                            this.zzj = 0;
                            v6_9.zzw();
                            this.schedule();
                            return;
                        }
                    }
                    this.zzj = v8_6;
                    try {
                        v7_11 = this.zza(v6_9);
                    } catch (long v5_6) {
                        android.util.Log.e("FileDownloadTask", "Exception occurred during file write.  Aborting.", v5_6);
                        this.zzk = v5_6;
                    }
                }
                v6_9.zzw();
                if ((v7_11 == 0) || ((this.zzk != null) || (this.zzg() != 4))) {
                    v9 = 0;
                }
                if (v9 == 0) {
                    long v5_1 = new java.io.File(this.zzg.getPath());
                    if (!v5_1.exists()) {
                        this.zzl = 0;
                    } else {
                        this.zzl = v5_1.length();
                    }
                    if (this.zzg() != 8) {
                        if (this.zzg() != 32) {
                        } else {
                            if (!this.zza(256, 0)) {
                                String v1_1 = this.zzg();
                                StringBuilder v3_1 = new StringBuilder(62);
                                v3_1.append("Unable to change download task to final state from ");
                                v3_1.append(v1_1);
                                android.util.Log.w("FileDownloadTask", v3_1.toString());
                            }
                            return;
                        }
                    } else {
                        this.zza(16, 0);
                        return;
                    }
                } else {
                    this.zza(128, 0);
                    return;
                }
            } while(this.zzh > 0);
            this.zza(64, 0);
            return;
        } else {
            this.zza(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.firebase_storage.zzq p10)
    {
        IllegalStateException v10_1 = p10.getStream();
        String v0_6 = 0;
        if (v10_1 == null) {
            this.zzk = new IllegalStateException("Unable to open Firebase Storage stream.");
        } else {
            byte[] v1_1 = new java.io.File(this.zzg.getPath());
            if (!v1_1.exists()) {
                if (this.zzl <= 0) {
                    if (!v1_1.createNewFile()) {
                        Exception v5_2;
                        String v6_1 = String.valueOf(v1_1.getAbsolutePath());
                        if (v6_1.length() == 0) {
                            v5_2 = new String("unable to create file:");
                        } else {
                            v5_2 = "unable to create file:".concat(v6_1);
                        }
                        android.util.Log.w("FileDownloadTask", v5_2);
                    }
                } else {
                    IllegalStateException v10_3;
                    String v0_1 = String.valueOf(v1_1.getAbsolutePath());
                    if (v0_1.length() == 0) {
                        v10_3 = new String("The file downloading to has been deleted:");
                    } else {
                        v10_3 = "The file downloading to has been deleted:".concat(v0_1);
                    }
                    android.util.Log.e("FileDownloadTask", v10_3);
                    throw new IllegalStateException("expected a file to resume from.");
                }
            }
            java.io.FileOutputStream v3_2;
            int v2_0 = 1;
            if (this.zzl <= 0) {
                v3_2 = new java.io.FileOutputStream(v1_1);
            } else {
                boolean v4_0 = v1_1.getAbsolutePath();
                Exception v5_4 = this.zzl;
                StringBuilder v8_1 = new StringBuilder((String.valueOf(v4_0).length() + 47));
                v8_1.append("Resuming download file ");
                v8_1.append(v4_0);
                v8_1.append(" at ");
                v8_1.append(v5_4);
                android.util.Log.d("FileDownloadTask", v8_1.toString());
                v3_2 = new java.io.FileOutputStream(v1_1, 1);
            }
            try {
                byte[] v1_4 = new byte[262144];
            } catch (String v0_7) {
                v3_2.flush();
                v3_2.close();
                v10_1.close();
                throw v0_7;
            }
            while (v2_0 != 0) {
                boolean v4_3 = this.zza(v10_1, v1_4);
                if (v4_3 == -1) {
                    break;
                }
                v3_2.write(v1_4, 0, v4_3);
                this.zzh = (this.zzh + ((long) v4_3));
                if (this.zzk != null) {
                    android.util.Log.d("FileDownloadTask", "Exception occurred during file download. Retrying.", this.zzk);
                    this.zzk = 0;
                    v2_0 = 0;
                }
                if (!this.zza(4, 0)) {
                    v2_0 = 0;
                }
            }
            v3_2.flush();
            v3_2.close();
            v10_1.close();
            v0_6 = v2_0;
        }
        return v0_6;
    }

Method com.oblador.vectoricons.VectorIconsModule.getImageForFont() calling method java.io.File.<init>()


    public void getImageForFont(String p9, String p10, Integer p11, Integer p12, com.facebook.react.bridge.Callback p13)
    {
        int v4_2;
        android.graphics.Canvas v0_0 = this.getReactApplicationContext();
        String v1_1 = v0_0.getCacheDir();
        float v2_9 = new StringBuilder();
        v2_9.append(v1_1.getAbsolutePath());
        v2_9.append("/");
        String v1_0 = v2_9.toString();
        float v2_6 = v0_0.getResources().getDisplayMetrics().density;
        java.io.File v3_1 = new StringBuilder();
        v3_1.append("@");
        int v4_1 = ((int) v2_6);
        if (v2_6 != ((float) v4_1)) {
            v4_2 = Float.toString(v2_6);
        } else {
            v4_2 = Integer.toString(v4_1);
        }
        v3_1.append(v4_2);
        v3_1.append("x");
        java.io.File v3_2 = v3_1.toString();
        float v2_8 = Math.round((((float) p11.intValue()) * v2_6));
        int v4_8 = new StringBuilder();
        v4_8.append(p9);
        v4_8.append(":");
        v4_8.append(p10);
        v4_8.append(":");
        v4_8.append(p12);
        int v4_11 = Integer.toString(v4_8.toString().hashCode(), 32);
        java.io.FileNotFoundException v5_7 = new StringBuilder();
        v5_7.append(v1_0);
        v5_7.append(v4_11);
        v5_7.append("_");
        v5_7.append(Integer.toString(p11.intValue()));
        v5_7.append(v3_2);
        v5_7.append(".png");
        int v11_5 = v5_7.toString();
        String v1_5 = new StringBuilder();
        v1_5.append("file://");
        v1_5.append(v11_5);
        String v1_6 = v1_5.toString();
        java.io.File v3_5 = new java.io.File(v11_5);
        java.io.FileNotFoundException v5_0 = 0;
        if (!v3_5.exists()) {
            java.io.IOException v9_17 = com.facebook.react.views.text.ReactFontManager.getInstance().getTypeface(p9, 0, v0_0.getAssets());
            int v11_9 = new android.graphics.Paint();
            v11_9.setTypeface(v9_17);
            v11_9.setColor(p12.intValue());
            v11_9.setTextSize(((float) v2_8));
            v11_9.setAntiAlias(1);
            java.io.IOException v9_3 = new android.graphics.Rect();
            v11_9.getTextBounds(p10, 0, p10.length(), v9_3);
            android.graphics.Bitmap v12_3 = android.graphics.Bitmap.createBitmap(v9_3.width(), v9_3.height(), android.graphics.Bitmap$Config.ARGB_8888);
            new android.graphics.Canvas(v12_3).drawText(p10, ((float) (- v9_3.left)), ((float) (- v9_3.top)), v11_9);
            try {
                java.io.IOException v9_8 = new java.io.FileOutputStream(v3_5);
                try {
                    v12_3.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v9_8);
                    v9_8.flush();
                    v9_8.close();
                } catch (java.io.IOException v10_4) {
                    v5_0 = v9_8;
                    java.io.IOException v9_11 = v10_4;
                    if (v5_0 != null) {
                        try {
                            v5_0.close();
                        } catch (java.io.IOException v10_7) {
                            v10_7.printStackTrace();
                        }
                    }
                    throw v9_11;
                } catch (java.io.IOException v10_3) {
                    v5_0 = v9_8;
                    java.io.IOException v9_10 = v10_3;
                    java.io.IOException v10_6 = new Object[1];
                    v10_6[0] = v9_10.getMessage();
                    p13.invoke(v10_6);
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                } catch (java.io.IOException v10_2) {
                    v5_0 = v9_8;
                    java.io.IOException v9_9 = v10_2;
                    java.io.IOException v10_5 = new Object[1];
                    v10_5[0] = v9_9.getMessage();
                    p13.invoke(v10_5);
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                }
                java.io.IOException v9_12 = new Object[2];
                v9_12[0] = 0;
                v9_12[1] = v1_6;
                p13.invoke(v9_12);
            } catch (java.io.IOException v9_11) {
            } catch (java.io.IOException v9_10) {
            } catch (java.io.IOException v9_9) {
            } catch (java.io.IOException v9_15) {
                v9_15.printStackTrace();
            }
        } else {
            java.io.IOException v9_16 = new Object[2];
            v9_16[0] = 0;
            v9_16[1] = v1_6;
            p13.invoke(v9_16);
        }
        return;
    }

Method com.imagepicker.ImagePickerModule.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(android.app.Activity p9, int p10, int p11, android.content.Intent p12)
    {
        if (!this.passResult(p10)) {
            this.responseHelper.cleanResponse();
            if (p11 == -1) {
                String v11_31;
                switch (p10) {
                    case 13001:
                        v11_31 = this.cameraCaptureURI;
                        break;
                    case 13002:
                        com.imagepicker.media.ImageConfig v1_8;
                        v11_31 = p12.getData();
                        String v12_6 = this.getRealPathFromURI(v11_31);
                        if ((android.text.TextUtils.isEmpty(v12_6)) || (!android.util.Patterns.WEB_URL.matcher(v12_6).matches())) {
                            v1_8 = 0;
                        } else {
                            v1_8 = 1;
                        }
                        if ((v12_6 == null) || (v1_8 != null)) {
                            try {
                                String v12_7 = this.createFileFromURI(v11_31);
                                com.imagepicker.media.ImageConfig v1_9 = v12_7.getAbsolutePath();
                                v11_31 = android.net.Uri.fromFile(v12_7);
                                v12_6 = v1_9;
                            } catch (Exception) {
                                this.responseHelper.putString("error", "Could not read photo");
                                this.responseHelper.putString("uri", v11_31.toString());
                                this.responseHelper.invokeResponse(this.callback);
                                this.callback = 0;
                                return;
                            }
                        }
                        this.imageConfig = this.imageConfig.withOriginalFile(new java.io.File(v12_6));
                    case 13003:
                        this.responseHelper.putString("uri", p12.getData().toString());
                        this.responseHelper.putString("path", this.getRealPathFromURI(p12.getData()));
                        this.responseHelper.invokeResponse(this.callback);
                        this.callback = 0;
                        return;
                    case 13004:
                        String v9_12 = this.getRealPathFromURI(p12.getData());
                        this.responseHelper.putString("uri", p12.getData().toString());
                        this.responseHelper.putString("path", v9_12);
                        com.imagepicker.utils.MediaUtils.fileScan(this.reactContext, v9_12);
                        this.responseHelper.invokeResponse(this.callback);
                        this.callback = 0;
                        return;
                    default:
                        v11_31 = 0;
                }
                String v12_11 = com.imagepicker.utils.MediaUtils.readExifInterface(this.responseHelper, this.imageConfig);
                if (v12_11.error == null) {
                    com.imagepicker.media.ImageConfig v1_2 = new android.graphics.BitmapFactory$Options();
                    v1_2.inJustDecodeBounds = 1;
                    android.graphics.BitmapFactory.decodeFile(this.imageConfig.original.getAbsolutePath(), v1_2);
                    int v5 = v1_2.outWidth;
                    int v6 = v1_2.outHeight;
                    this.updatedResultResponse(v11_31, this.imageConfig.original.getAbsolutePath());
                    if (!this.imageConfig.useOriginal(v5, v6, v12_11.currentRotation)) {
                        this.imageConfig = com.imagepicker.utils.MediaUtils.getResizedImage(this.reactContext, this.options, this.imageConfig, v5, v6, p10);
                        if (this.imageConfig.resized != null) {
                            String v9_16 = android.net.Uri.fromFile(this.imageConfig.resized);
                            android.graphics.BitmapFactory.decodeFile(this.imageConfig.resized.getAbsolutePath(), v1_2);
                            this.responseHelper.putInt("width", v1_2.outWidth);
                            this.responseHelper.putInt("height", v1_2.outHeight);
                            this.updatedResultResponse(v9_16, this.imageConfig.resized.getAbsolutePath());
                            com.imagepicker.utils.MediaUtils.fileScan(this.reactContext, this.imageConfig.resized.getAbsolutePath());
                        } else {
                            com.imagepicker.utils.MediaUtils.removeUselessFiles(p10, this.imageConfig);
                            this.responseHelper.putString("error", "Can\'t resize the image");
                        }
                    } else {
                        this.responseHelper.putInt("width", v5);
                        this.responseHelper.putInt("height", v6);
                        com.imagepicker.utils.MediaUtils.fileScan(this.reactContext, this.imageConfig.original.getAbsolutePath());
                    }
                    if ((this.imageConfig.saveToCameraRoll) && (p10 == 13001)) {
                        String v9_27 = com.imagepicker.utils.MediaUtils.rolloutPhotoFromCamera(this.imageConfig);
                        if (v9_27.error != null) {
                            com.imagepicker.utils.MediaUtils.removeUselessFiles(p10, this.imageConfig);
                            com.imagepicker.ResponseHelper v10_3 = new StringBuilder("Error moving image to camera roll: ");
                            v10_3.append(v9_27.error.getMessage());
                            this.responseHelper.putString("error", v10_3.toString());
                            return;
                        } else {
                            this.imageConfig = v9_27.imageConfig;
                            this.updatedResultResponse(android.net.Uri.fromFile(this.imageConfig.getActualFile()), this.imageConfig.getActualFile().getAbsolutePath());
                        }
                    }
                    this.responseHelper.invokeResponse(this.callback);
                    this.callback = 0;
                    this.options = 0;
                    return;
                } else {
                    com.imagepicker.utils.MediaUtils.removeUselessFiles(p10, this.imageConfig);
                    this.responseHelper.invokeError(this.callback, v12_11.error.getMessage());
                    this.callback = 0;
                    return;
                }
            } else {
                com.imagepicker.utils.MediaUtils.removeUselessFiles(p10, this.imageConfig);
                this.responseHelper.invokeCancel(this.callback);
                this.callback = 0;
                return;
            }
        } else {
            return;
        }
    }

Method com.imagepicker.ImagePickerModule.putExtraFileInfo() calling method java.io.File.<init>()


    private void putExtraFileInfo(String p5, com.imagepicker.ResponseHelper p6)
    {
        try {
            String v0_1 = new java.io.File(p5);
            p6.putDouble("fileSize", ((double) v0_1.length()));
            p6.putString("fileName", v0_1.getName());
        } catch (String v0_2) {
            v0_2.printStackTrace();
        }
        String v5_1 = android.webkit.MimeTypeMap.getFileExtensionFromUrl(p5);
        if (v5_1 != null) {
            p6.putString("type", android.webkit.MimeTypeMap.getSingleton().getMimeTypeFromExtension(v5_1));
        }
        return;
    }

Method com.imagepicker.ImagePickerModule.getBase64StringFromFile() calling method java.io.File.<init>()


    private String getBase64StringFromFile(String p5)
    {
        try {
            int v0_2 = new java.io.FileInputStream(new java.io.File(p5));
        } catch (String v5_4) {
            v5_4.printStackTrace();
            v0_2 = 0;
        }
        String v5_6 = new byte[8192];
        java.io.ByteArrayOutputStream v1_1 = new java.io.ByteArrayOutputStream();
        try {
            while(true) {
                int v2 = v0_2.read(v5_6);
                v1_1.write(v5_6, 0, v2);
            }
            return android.util.Base64.encodeToString(v1_1.toByteArray(), 2);
        } catch (String v5_1) {
            v5_1.printStackTrace();
            return android.util.Base64.encodeToString(v1_1.toByteArray(), 2);
        }
        if (v2 != -1) {
        }
        return android.util.Base64.encodeToString(v1_1.toByteArray(), 2);
    }

Method com.imagepicker.ImagePickerModule.createFileFromURI() calling method java.io.File.<init>()


    private java.io.File createFileFromURI(android.net.Uri p6)
    {
        java.io.FileOutputStream v1_5 = this.reactContext.getExternalCacheDir();
        byte[] v2_4 = new StringBuilder();
        v2_4.append("photo-");
        v2_4.append(p6.getLastPathSegment());
        Throwable v0_1 = new java.io.File(v1_5, v2_4.toString());
        java.io.InputStream v6_1 = this.reactContext.getContentResolver().openInputStream(p6);
        java.io.FileOutputStream v1_4 = new java.io.FileOutputStream(v0_1);
        try {
            byte[] v2_2 = new byte[4096];
        } catch (Throwable v0_2) {
            v1_4.close();
            v6_1.close();
            throw v0_2;
        }
        while(true) {
            int v3_0 = v6_1.read(v2_2);
            if (v3_0 == -1) {
                break;
            }
            v1_4.write(v2_2, 0, v3_0);
        }
        v1_4.flush();
        v1_4.close();
        v6_1.close();
        return v0_1;
    }

Method io.invertase.firebase.storage.RNFirebaseStorage$13.doInBackground() calling method java.io.File.<init>()


    public void doInBackground(com.google.firebase.storage.StreamDownloadTask$TaskSnapshot p5, java.io.InputStream p6)
    {
        byte[] v1_0;
        java.io.FileOutputStream v5_3 = this.val$localPath.lastIndexOf("/");
        if (v5_3 <= null) {
            v1_0 = "/";
        } else {
            byte[] v1_4 = new StringBuilder();
            v1_4.append(this.val$localPath.substring(0, v5_3));
            v1_4.append("/");
            v1_0 = v1_4.toString();
        }
        java.io.FileOutputStream v5_1;
        if (v5_3 <= null) {
            v5_1 = this.val$localPath;
        } else {
            v5_1 = this.val$localPath.substring((v5_3 + 1));
        }
        Boolean.valueOf(new java.io.File(v1_0).mkdirs());
        java.io.FileOutputStream v5_5 = new java.io.FileOutputStream(new java.io.File(v1_0, v5_1));
        byte[] v1_2 = new byte[1024];
        while(true) {
            int v2_8 = p6.read(v1_2);
            if (v2_8 == -1) {
                break;
            }
            v5_5.write(v1_2, 0, v2_8);
        }
        v5_5.close();
        return;
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


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

Method com.microsoft.codepush.react.CodePush.clearDebugCacheIfNeeded() calling method java.io.File.<init>()


    public void clearDebugCacheIfNeeded(com.facebook.react.ReactInstanceManager p3)
    {
        java.io.File v3_4;
        if (p3 == null) {
            v3_4 = 0;
        } else {
            java.io.File v3_2 = p3.getDevSupportManager();
            if (v3_2 == null) {
            } else {
                v3_4 = ((com.facebook.react.devsupport.DevInternalSettings) v3_2.getDevSettings()).isReloadOnJSChangeEnabled();
            }
        }
        if ((this.mIsDebugMode) && ((this.mSettingsManager.isPendingUpdate(0)) && (v3_4 == null))) {
            java.io.File v3_3 = new java.io.File(this.mContext.getFilesDir(), "ReactNativeDevBundle.js");
            if (v3_3.exists()) {
                v3_3.delete();
            }
        }
        return;
    }

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


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

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


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

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


    private static void initialize(java.io.File p6)
    {
        java.io.RandomAccessFile v1_2 = new StringBuilder();
        v1_2.append(p6.getPath());
        v1_2.append(".tmp");
        String v0_1 = new java.io.File(v1_2.toString());
        java.io.RandomAccessFile v1_1 = io.fabric.sdk.android.services.common.QueueFile.open(v0_1);
        try {
            v1_1.setLength(4096);
            v1_1.seek(0);
            byte[] v2_3 = new byte[16];
            int[] v3_1 = new int[4];
            v3_1[0] = 4096;
            v3_1[1] = 0;
            v3_1[2] = 0;
            v3_1[3] = 0;
            io.fabric.sdk.android.services.common.QueueFile.writeInts(v2_3, v3_1);
            v1_1.write(v2_3);
            v1_1.close();
        } catch (java.io.IOException v6_2) {
            v1_1.close();
            throw v6_2;
        }
        if (!v0_1.renameTo(p6)) {
            throw new java.io.IOException("Rename failed!");
        } else {
            return;
        }
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


    private DiskLruCache$Entry(com.squareup.okhttp.internal.DiskLruCache p7, String p8)
    {
        this.this$0 = p7;
        this.key = p8;
        StringBuilder v0_5 = new long[com.squareup.okhttp.internal.DiskLruCache.access$2300(p7)];
        this.lengths = v0_5;
        StringBuilder v0_7 = new java.io.File[com.squareup.okhttp.internal.DiskLruCache.access$2300(p7)];
        this.cleanFiles = v0_7;
        StringBuilder v0_1 = new java.io.File[com.squareup.okhttp.internal.DiskLruCache.access$2300(p7)];
        this.dirtyFiles = v0_1;
        StringBuilder v0_3 = new StringBuilder(p8);
        v0_3.append(46);
        int v8_2 = v0_3.length();
        int v1 = 0;
        while (v1 < com.squareup.okhttp.internal.DiskLruCache.access$2300(p7)) {
            v0_3.append(v1);
            this.cleanFiles[v1] = new java.io.File(com.squareup.okhttp.internal.DiskLruCache.access$2800(p7), v0_3.toString());
            v0_3.append(".tmp");
            this.dirtyFiles[v1] = new java.io.File(com.squareup.okhttp.internal.DiskLruCache.access$2800(p7), v0_3.toString());
            v0_3.setLength(v8_2);
            v1++;
        }
        return;
    }

Method com.microsoft.codepush.react.FileUtils.unzipFile() calling method java.io.File.<init>()


    public static void unzipFile(java.io.File p9, String p10)
    {
        try {
            int v1_1 = new java.io.FileInputStream(p9);
            try {
                java.io.IOException v9_1 = new java.io.BufferedInputStream(v1_1);
                try {
                    int v2_0 = new java.util.zip.ZipInputStream(v9_1);
                    try {
                        String v0_2 = new java.io.File(p10);
                    } catch (Throwable v10_1) {
                        if (v2_0 != 0) {
                            v2_0.close();
                        }
                        if (v9_1 != null) {
                            v9_1.close();
                        }
                        if (v1_1 != 0) {
                            v1_1.close();
                        }
                        throw v10_1;
                    }
                    if (v0_2.exists()) {
                        com.microsoft.codepush.react.FileUtils.deleteFileOrFolderSilently(v0_2);
                    }
                    v0_2.mkdirs();
                    Throwable v10_4 = new byte[8192];
                    do {
                        long v3_0 = v2_0.getNextEntry();
                        if (v3_0 == 0) {
                            try {
                                v2_0.close();
                                v9_1.close();
                                v1_1.close();
                                return;
                            } catch (java.io.IOException v9_2) {
                                throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v9_2);
                            }
                        } else {
                            java.io.File v5_1 = new java.io.File(v0_2, v3_0.getName());
                            if (!v3_0.isDirectory()) {
                                java.io.FileOutputStream v4_2 = v5_1.getParentFile();
                                if (!v4_2.exists()) {
                                    v4_2.mkdirs();
                                }
                                java.io.FileOutputStream v4_4 = new java.io.FileOutputStream(v5_1);
                                while(true) {
                                    int v6_1 = v2_0.read(v10_4);
                                    if (v6_1 == -1) {
                                        break;
                                    }
                                    v4_4.write(v10_4, 0, v6_1);
                                }
                                v4_4.close();
                            } else {
                                v5_1.mkdirs();
                            }
                            long v3_1 = v3_0.getTime();
                        }
                    } while(v3_1 <= 0);
                    v5_1.setLastModified(v3_1);
                } catch (Throwable v10_1) {
                    v2_0 = 0;
                }
            } catch (Throwable v10_1) {
                v9_1 = 0;
                v2_0 = 0;
            }
        } catch (Throwable v10_1) {
            v9_1 = 0;
            v1_1 = 0;
            v2_0 = 0;
        }
    }

Method com.microsoft.codepush.react.FileUtils.readFileToString() calling method java.io.File.<init>()


    public static String readFileToString(String p4)
    {
        try {
            int v4_2 = new java.io.FileInputStream(new java.io.File(p4));
            try {
                Throwable v1_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v4_2));
                try {
                    String v0_3 = new StringBuilder();
                } catch (String v0_1) {
                    if (v1_1 != null) {
                        v1_1.close();
                    }
                    if (v4_2 != 0) {
                        v4_2.close();
                    }
                    throw v0_1;
                }
                while(true) {
                    String v2_2 = v1_1.readLine();
                    if (v2_2 == null) {
                        break;
                    }
                    v0_3.append(v2_2);
                    v0_3.append("\n");
                }
                String v0_4 = v0_3.toString();
                v1_1.close();
                v4_2.close();
                return v0_4;
            } catch (Throwable v1_2) {
                v1_1 = 0;
                v0_1 = v1_2;
            }
        } catch (int v4_3) {
            v1_1 = 0;
            v0_1 = v4_3;
            v4_2 = 0;
        }
    }

Method com.microsoft.codepush.react.FileUtils.moveFile() calling method java.io.File.<init>()


    public static void moveFile(java.io.File p2, String p3, String p4)
    {
        java.io.File v0_1 = new java.io.File(p3);
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        java.io.File v0_3 = new java.io.File(p3, p4);
        if (!p2.renameTo(v0_3)) {
            StringBuilder v4_2 = new StringBuilder();
            v4_2.append("Unable to move file from ");
            v4_2.append(p2.getAbsolutePath());
            v4_2.append(" to ");
            v4_2.append(v0_3.getAbsolutePath());
            v4_2.append(".");
            throw new com.microsoft.codepush.react.CodePushUnknownException(v4_2.toString());
        } else {
            return;
        }
    }

Method com.microsoft.codepush.react.FileUtils.fileAtPathExists() calling method java.io.File.<init>()


    public static boolean fileAtPathExists(String p1)
    {
        return new java.io.File(p1).exists();
    }

Method com.microsoft.codepush.react.FileUtils.deleteFileAtPathSilently() calling method java.io.File.<init>()


    public static void deleteFileAtPathSilently(String p1)
    {
        com.microsoft.codepush.react.FileUtils.deleteFileOrFolderSilently(new java.io.File(p1));
        return;
    }

Method com.microsoft.codepush.react.FileUtils.deleteDirectoryAtPath() calling method java.io.File.<init>()


    public static void deleteDirectoryAtPath(String p1)
    {
        if (p1) {
            java.io.File v0_1 = new java.io.File(p1);
            if (v0_1.exists()) {
                com.microsoft.codepush.react.FileUtils.deleteFileOrFolderSilently(v0_1);
            }
            return;
        } else {
            com.microsoft.codepush.react.CodePushUtils.log("deleteDirectoryAtPath attempted with null directoryPath");
            return;
        }
    }

Method com.microsoft.codepush.react.FileUtils.copyDirectoryContents() calling method java.io.File.<init>()


    public static void copyDirectoryContents(String p11, String p12)
    {
        String v0_1 = new java.io.File(p11);
        java.io.File v1_1 = new java.io.File(p12);
        if (!v1_1.exists()) {
            v1_1.mkdir();
        }
        String v0_4 = v0_1.listFiles();
        int v2_0 = v0_4.length;
        int v4 = 0;
        while (v4 < v2_0) {
            int v5_0 = v0_4[v4];
            if (!v5_0.isDirectory()) {
                int v6_2 = new java.io.File(v1_1, v5_0.getName());
                byte[] v7_2 = new byte[8192];
                java.io.FileOutputStream v8 = 0;
                try {
                    int v9_1 = new java.io.FileInputStream(v5_0);
                    try {
                        int v5_1 = new java.io.BufferedInputStream(v9_1);
                        try {
                            java.io.FileOutputStream v10_1 = new java.io.FileOutputStream(v6_2);
                            try {
                                while(true) {
                                    int v6_3 = v5_1.read(v7_2);
                                    v10_1.write(v7_2, 0, v6_3);
                                }
                                try {
                                    v9_1.close();
                                    v5_1.close();
                                    v10_1.close();
                                } catch (java.io.IOException v11_3) {
                                    throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v11_3);
                                }
                            } catch (java.io.IOException v11_1) {
                                v8 = v10_1;
                                if (v9_1 != 0) {
                                    v9_1.close();
                                }
                                if (v5_1 != 0) {
                                    v5_1.close();
                                }
                                if (v8 != null) {
                                    v8.close();
                                }
                                throw v11_1;
                            }
                            if (v6_3 <= 0) {
                            }
                        } catch (java.io.IOException v11_1) {
                        }
                    } catch (java.io.IOException v11_1) {
                        v5_1 = 0;
                    }
                } catch (java.io.IOException v11_1) {
                    v5_1 = 0;
                    v9_1 = 0;
                }
            } else {
                com.microsoft.codepush.react.FileUtils.copyDirectoryContents(com.microsoft.codepush.react.CodePushUtils.appendPathComponent(p11, v5_0.getName()), com.microsoft.codepush.react.CodePushUtils.appendPathComponent(p12, v5_0.getName()));
            }
            v4++;
        }
        return;
    }

Method com.microsoft.codepush.react.CodePushUtils.appendPathComponent() calling method java.io.File.<init>()


    public static String appendPathComponent(String p1, String p2)
    {
        return new java.io.File(p1, p2).getAbsolutePath();
    }

Method com.microsoft.codepush.react.CodePushUpdateUtils.findJSBundleInUpdateContents() calling method java.io.File.<init>()


    public static String findJSBundleInUpdateContents(String p6, String p7)
    {
        java.io.File[] v0_2 = new java.io.File(p6).listFiles();
        int v1 = v0_2.length;
        int v2 = 0;
        while (v2 < v1) {
            String v3_1 = v0_2[v2];
            boolean v4_1 = com.microsoft.codepush.react.CodePushUtils.appendPathComponent(p6, v3_1.getName());
            if (!v3_1.isDirectory()) {
                String v3_0 = v3_1.getName();
                if (v3_0.equals(p7)) {
                    return v3_0;
                }
            } else {
                boolean v4_3 = com.microsoft.codepush.react.CodePushUpdateUtils.findJSBundleInUpdateContents(v4_1, p7);
                if (v4_3) {
                    return com.microsoft.codepush.react.CodePushUtils.appendPathComponent(v3_1.getName(), v4_3);
                }
            }
            v2++;
        }
        return 0;
    }

Method com.microsoft.codepush.react.CodePushUpdateUtils.copyNecessaryFilesFromCurrentPackage() calling method java.io.File.<init>()


    public static void copyNecessaryFilesFromCurrentPackage(String p2, String p3, String p4)
    {
        com.microsoft.codepush.react.FileUtils.copyDirectoryContents(p3, p4);
        try {
            org.json.JSONException v2_3 = com.microsoft.codepush.react.CodePushUtils.getJsonObjectFromFile(p2).getJSONArray("deletedFiles");
            int v3_3 = 0;
        } catch (org.json.JSONException v2_1) {
            throw new com.microsoft.codepush.react.CodePushUnknownException("Unable to copy files from current package during diff update", v2_1);
        }
        while (v3_3 < v2_3.length()) {
            java.io.File v1_1 = new java.io.File(p4, v2_3.getString(v3_3));
            if (v1_1.exists()) {
                v1_1.delete();
            }
            v3_3++;
        }
        return;
    }

Method com.microsoft.codepush.react.CodePushUpdateUtils.addContentsOfFolderToManifest() calling method java.io.File.<init>()


    private static void addContentsOfFolderToManifest(String p8, String p9, java.util.ArrayList p10)
    {
        java.io.FileNotFoundException v8_1 = new java.io.File(p8).listFiles();
        int v0_2 = v8_1.length;
        int v1 = 0;
        while (v1 < v0_2) {
            String v6_3;
            String v2_2 = v8_1[v1];
            java.io.FileInputStream v3_0 = v2_2.getName();
            StringBuilder v4_0 = v2_2.getAbsolutePath();
            boolean v5_1 = new StringBuilder();
            if (!p9.isEmpty()) {
                String v6_2 = new StringBuilder();
                v6_2.append(p9);
                v6_2.append("/");
                v6_3 = v6_2.toString();
            } else {
                v6_3 = "";
            }
            v5_1.append(v6_3);
            v5_1.append(v3_0);
            java.io.FileInputStream v3_1 = v5_1.toString();
            if (!com.microsoft.codepush.react.CodePushUpdateUtils.isHashIgnored(v3_1)) {
                if (!v2_2.isDirectory()) {
                    try {
                        StringBuilder v4_2 = new StringBuilder();
                        v4_2.append(v3_1);
                        v4_2.append(":");
                        v4_2.append(com.microsoft.codepush.react.CodePushUpdateUtils.computeHash(new java.io.FileInputStream(v2_2)));
                        p10.add(v4_2.toString());
                    } catch (java.io.FileNotFoundException v8_2) {
                        throw new com.microsoft.codepush.react.CodePushUnknownException("Unable to compute hash of update contents.", v8_2);
                    }
                } else {
                    com.microsoft.codepush.react.CodePushUpdateUtils.addContentsOfFolderToManifest(v4_0, v3_1, p10);
                }
            }
            v1++;
        }
        return;
    }

Method com.microsoft.codepush.react.CodePushUpdateManager.downloadPackage() calling method java.io.File.<init>()


    public void downloadPackage(org.json.JSONObject p24, String p25, com.microsoft.codepush.react.DownloadProgressCallback p26, String p27)
    {
        StringBuilder v2 = p27;
        org.json.JSONObject v3_4 = p24.optString("packageHash", 0);
        String v6 = this.getPackageFolderPath(v3_4);
        String v7_1 = com.microsoft.codepush.react.CodePushUtils.appendPathComponent(v6, "app.json");
        if (com.microsoft.codepush.react.FileUtils.fileAtPathExists(v6)) {
            com.microsoft.codepush.react.FileUtils.deleteDirectoryAtPath(v6);
        }
        byte[] v8_2 = p24.optString("downloadUrl", 0);
        try {
            int v9_3 = ((java.net.HttpURLConnection) ((java.net.HttpURLConnection) ((java.net.URLConnection) com.google.firebase.perf.network.FirebasePerfUrlConnection.instrument(new java.net.URL(v8_2).openConnection()))));
            try {
                v9_3.setRequestProperty("Accept-Encoding", "identity");
                int v10_2 = new java.io.BufferedInputStream(v9_3.getInputStream());
                try {
                    long v11_3 = ((long) v9_3.getContentLength());
                    int v15_4 = new java.io.File(this.getCodePushPath());
                    v15_4.mkdirs();
                    String v4_9 = new java.io.File(v15_4, "download.zip");
                    int v13_2 = new java.io.FileOutputStream(v4_9);
                    try {
                        java.io.BufferedOutputStream v14_1 = new java.io.BufferedOutputStream(v13_2, 262144);
                        try {
                            String v5_2 = new byte[262144];
                            String v20 = v8_2;
                            try {
                                byte[] v8_3 = new byte[4];
                                String v21 = v3_4;
                                StringBuilder v2_7 = 0;
                            } catch (String v0_16) {
                                String v4_5 = v9_3;
                                byte v16_1 = v14_1;
                                try {
                                    throw new com.microsoft.codepush.react.CodePushMalformedDataException(v20, v0_16);
                                } catch (String v0_17) {
                                    v9_3 = v4_5;
                                    if (v16_1 != 0) {
                                        v16_1.close();
                                    }
                                    if (v13_2 != 0) {
                                        v13_2.close();
                                    }
                                    if (v10_2 != 0) {
                                        v10_2.close();
                                    }
                                    if (v9_3 != 0) {
                                        v9_3.disconnect();
                                    }
                                    throw v0_17;
                                }
                            }
                            while(true) {
                                String v17 = v7_1;
                                String v7_2 = v10_2.read(v5_2, 0, 262144);
                                if (v7_2 < null) {
                                    break;
                                }
                                if (v2_7 < 4) {
                                    String v0_11 = 0;
                                    while (v0_11 < v7_2) {
                                        int v15_2 = (((int) v2_7) + v0_11);
                                        if (v15_2 < 4) {
                                            v8_3[v15_2] = v5_2[v0_11];
                                            v0_11++;
                                            int v15 = 0;
                                        } else {
                                            break;
                                        }
                                    }
                                }
                                v2_7 += ((long) v7_2);
                                v14_1.write(v5_2, 0, v7_2);
                                p26.call(new com.microsoft.codepush.react.DownloadProgress(v11_3, v2_7));
                                v7_1 = v17;
                                String v1 = p25;
                            }
                            if (v11_3 != v2_7) {
                                String v1_26 = new StringBuilder();
                                v1_26.append("Received ");
                                v1_26.append(v2_7);
                                v1_26.append(" bytes, expected ");
                                v1_26.append(v11_3);
                                throw new com.microsoft.codepush.react.CodePushUnknownException(v1_26.toString());
                            } else {
                                String v1_3;
                                int v15_0 = 1;
                                if (java.nio.ByteBuffer.wrap(v8_3).getInt() != 1347093252) {
                                    v1_3 = 0;
                                } else {
                                    v1_3 = 1;
                                }
                                try {
                                    v14_1.close();
                                    v13_2.close();
                                    v10_2.close();
                                } catch (String v0_2) {
                                    throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v0_2);
                                }
                                if (v9_3 != 0) {
                                    v9_3.disconnect();
                                }
                                org.json.JSONObject v3_0;
                                String v5_0;
                                if (v1_3 == null) {
                                    v5_0 = v17;
                                    v3_0 = p24;
                                    com.microsoft.codepush.react.FileUtils.moveFile(v4_9, v6, p25);
                                } else {
                                    String v1_7 = this.getUnzippedFolderPath();
                                    com.microsoft.codepush.react.FileUtils.unzipFile(v4_9, v1_7);
                                    com.microsoft.codepush.react.FileUtils.deleteFileOrFolderSilently(v4_9);
                                    StringBuilder v2_3 = com.microsoft.codepush.react.CodePushUtils.appendPathComponent(v1_7, "hotcodepush.json");
                                    org.json.JSONObject v3_1 = com.microsoft.codepush.react.FileUtils.fileAtPathExists(v2_3);
                                    if (v3_1 != null) {
                                        com.microsoft.codepush.react.CodePushUpdateUtils.copyNecessaryFilesFromCurrentPackage(v2_3, this.getCurrentPackageFolderPath(), v6);
                                        new java.io.File(v2_3).delete();
                                    }
                                    com.microsoft.codepush.react.FileUtils.copyDirectoryContents(v1_7, v6);
                                    com.microsoft.codepush.react.FileUtils.deleteFileAtPathSilently(v1_7);
                                    StringBuilder v2_4 = com.microsoft.codepush.react.CodePushUpdateUtils.findJSBundleInUpdateContents(v6, p25);
                                    if (v2_4 == null) {
                                        StringBuilder v2_6 = new StringBuilder();
                                        v2_6.append("Update is invalid - A JS bundle file named \"");
                                        v2_6.append(p25);
                                        v2_6.append("\" could not be found within the downloaded contents. Please check that you are releasing your CodePush updates using the exact same JS bundle file name that was shipped with your app\'s binary.");
                                        throw new com.microsoft.codepush.react.CodePushInvalidUpdateException(v2_6.toString());
                                    } else {
                                        if (!com.microsoft.codepush.react.FileUtils.fileAtPathExists(v17)) {
                                            v5_0 = v17;
                                        } else {
                                            v5_0 = v17;
                                            new java.io.File(v5_0).delete();
                                        }
                                        String v1_15;
                                        if (v3_1 == null) {
                                            com.microsoft.codepush.react.CodePushUtils.log("Applying full update.");
                                            v1_15 = p27;
                                        } else {
                                            com.microsoft.codepush.react.CodePushUtils.log("Applying diff update.");
                                            v1_15 = p27;
                                        }
                                        if (v1_15 == null) {
                                            v15_0 = 0;
                                        }
                                        String v0_6 = com.microsoft.codepush.react.FileUtils.fileAtPathExists(com.microsoft.codepush.react.CodePushUpdateUtils.getSignatureFilePath(v6));
                                        if (v15_0 == 0) {
                                            String v4_3 = v21;
                                            if (v0_6 == null) {
                                                if (v3_1 != null) {
                                                    com.microsoft.codepush.react.CodePushUpdateUtils.verifyFolderHash(v6, v4_3);
                                                }
                                            } else {
                                                com.microsoft.codepush.react.CodePushUtils.log("Warning! JWT signature exists in codepush update but code integrity check couldn\'t be performed because there is no public key configured. Please ensure that public key is properly configured within your application.");
                                                com.microsoft.codepush.react.CodePushUpdateUtils.verifyFolderHash(v6, v4_3);
                                            }
                                        } else {
                                            if (v0_6 == null) {
                                                throw new com.microsoft.codepush.react.CodePushInvalidUpdateException("Error! Public key was provided but there is no JWT signature within app bundle to verify. Possible reasons, why that might happen: \n1. You\'ve been released CodePush bundle update using version of CodePush CLI that is not support code signing.\n2. You\'ve been released CodePush bundle update without providing --privateKeyPath option.");
                                            } else {
                                                String v4_4 = v21;
                                                com.microsoft.codepush.react.CodePushUpdateUtils.verifyFolderHash(v6, v4_4);
                                                com.microsoft.codepush.react.CodePushUpdateUtils.verifyUpdateSignature(v6, v4_4, v1_15);
                                            }
                                        }
                                        v3_0 = p24;
                                        com.microsoft.codepush.react.CodePushUtils.setJSONValueForKey(p24, "bundlePath", v2_4);
                                    }
                                }
                                com.microsoft.codepush.react.CodePushUtils.writeJsonToFile(v3_0, v5_0);
                                return;
                            }
                        } catch (String v0_17) {
                            v16_1 = v14_1;
                        } catch (String v0_16) {
                            v20 = v8_2;
                        }
                    } catch (String v0_17) {
                        v16_1 = 0;
                    } catch (String v0_16) {
                        v20 = v8_2;
                        v4_5 = v9_3;
                        v16_1 = 0;
                    }
                } catch (String v0_17) {
                    v13_2 = 0;
                } catch (String v0_16) {
                    v20 = v8_2;
                    v4_5 = v9_3;
                    v13_2 = 0;
                }
            } catch (String v0_17) {
                v10_2 = 0;
            } catch (String v0_16) {
                v20 = v8_2;
                v4_5 = v9_3;
                v10_2 = 0;
            }
        } catch (String v0_17) {
            v9_3 = 0;
        } catch (String v0_16) {
            v20 = v8_2;
            v4_5 = 0;
        }
    }

Method com.microsoft.codepush.react.CodePushUpdateManager.downloadPackage() calling method java.io.File.<init>()


    public void downloadPackage(org.json.JSONObject p24, String p25, com.microsoft.codepush.react.DownloadProgressCallback p26, String p27)
    {
        StringBuilder v2 = p27;
        org.json.JSONObject v3_4 = p24.optString("packageHash", 0);
        String v6 = this.getPackageFolderPath(v3_4);
        String v7_1 = com.microsoft.codepush.react.CodePushUtils.appendPathComponent(v6, "app.json");
        if (com.microsoft.codepush.react.FileUtils.fileAtPathExists(v6)) {
            com.microsoft.codepush.react.FileUtils.deleteDirectoryAtPath(v6);
        }
        byte[] v8_2 = p24.optString("downloadUrl", 0);
        try {
            int v9_3 = ((java.net.HttpURLConnection) ((java.net.HttpURLConnection) ((java.net.URLConnection) com.google.firebase.perf.network.FirebasePerfUrlConnection.instrument(new java.net.URL(v8_2).openConnection()))));
            try {
                v9_3.setRequestProperty("Accept-Encoding", "identity");
                int v10_2 = new java.io.BufferedInputStream(v9_3.getInputStream());
                try {
                    long v11_3 = ((long) v9_3.getContentLength());
                    int v15_4 = new java.io.File(this.getCodePushPath());
                    v15_4.mkdirs();
                    String v4_9 = new java.io.File(v15_4, "download.zip");
                    int v13_2 = new java.io.FileOutputStream(v4_9);
                    try {
                        java.io.BufferedOutputStream v14_1 = new java.io.BufferedOutputStream(v13_2, 262144);
                        try {
                            String v5_2 = new byte[262144];
                            String v20 = v8_2;
                            try {
                                byte[] v8_3 = new byte[4];
                                String v21 = v3_4;
                                StringBuilder v2_7 = 0;
                            } catch (String v0_16) {
                                String v4_5 = v9_3;
                                byte v16_1 = v14_1;
                                try {
                                    throw new com.microsoft.codepush.react.CodePushMalformedDataException(v20, v0_16);
                                } catch (String v0_17) {
                                    v9_3 = v4_5;
                                    if (v16_1 != 0) {
                                        v16_1.close();
                                    }
                                    if (v13_2 != 0) {
                                        v13_2.close();
                                    }
                                    if (v10_2 != 0) {
                                        v10_2.close();
                                    }
                                    if (v9_3 != 0) {
                                        v9_3.disconnect();
                                    }
                                    throw v0_17;
                                }
                            }
                            while(true) {
                                String v17 = v7_1;
                                String v7_2 = v10_2.read(v5_2, 0, 262144);
                                if (v7_2 < null) {
                                    break;
                                }
                                if (v2_7 < 4) {
                                    String v0_11 = 0;
                                    while (v0_11 < v7_2) {
                                        int v15_2 = (((int) v2_7) + v0_11);
                                        if (v15_2 < 4) {
                                            v8_3[v15_2] = v5_2[v0_11];
                                            v0_11++;
                                            int v15 = 0;
                                        } else {
                                            break;
                                        }
                                    }
                                }
                                v2_7 += ((long) v7_2);
                                v14_1.write(v5_2, 0, v7_2);
                                p26.call(new com.microsoft.codepush.react.DownloadProgress(v11_3, v2_7));
                                v7_1 = v17;
                                String v1 = p25;
                            }
                            if (v11_3 != v2_7) {
                                String v1_26 = new StringBuilder();
                                v1_26.append("Received ");
                                v1_26.append(v2_7);
                                v1_26.append(" bytes, expected ");
                                v1_26.append(v11_3);
                                throw new com.microsoft.codepush.react.CodePushUnknownException(v1_26.toString());
                            } else {
                                String v1_3;
                                int v15_0 = 1;
                                if (java.nio.ByteBuffer.wrap(v8_3).getInt() != 1347093252) {
                                    v1_3 = 0;
                                } else {
                                    v1_3 = 1;
                                }
                                try {
                                    v14_1.close();
                                    v13_2.close();
                                    v10_2.close();
                                } catch (String v0_2) {
                                    throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v0_2);
                                }
                                if (v9_3 != 0) {
                                    v9_3.disconnect();
                                }
                                String v5_0;
                                org.json.JSONObject v3_0;
                                if (v1_3 == null) {
                                    v5_0 = v17;
                                    v3_0 = p24;
                                    com.microsoft.codepush.react.FileUtils.moveFile(v4_9, v6, p25);
                                } else {
                                    String v1_7 = this.getUnzippedFolderPath();
                                    com.microsoft.codepush.react.FileUtils.unzipFile(v4_9, v1_7);
                                    com.microsoft.codepush.react.FileUtils.deleteFileOrFolderSilently(v4_9);
                                    StringBuilder v2_3 = com.microsoft.codepush.react.CodePushUtils.appendPathComponent(v1_7, "hotcodepush.json");
                                    org.json.JSONObject v3_1 = com.microsoft.codepush.react.FileUtils.fileAtPathExists(v2_3);
                                    if (v3_1 != null) {
                                        com.microsoft.codepush.react.CodePushUpdateUtils.copyNecessaryFilesFromCurrentPackage(v2_3, this.getCurrentPackageFolderPath(), v6);
                                        new java.io.File(v2_3).delete();
                                    }
                                    com.microsoft.codepush.react.FileUtils.copyDirectoryContents(v1_7, v6);
                                    com.microsoft.codepush.react.FileUtils.deleteFileAtPathSilently(v1_7);
                                    StringBuilder v2_4 = com.microsoft.codepush.react.CodePushUpdateUtils.findJSBundleInUpdateContents(v6, p25);
                                    if (v2_4 == null) {
                                        StringBuilder v2_6 = new StringBuilder();
                                        v2_6.append("Update is invalid - A JS bundle file named \"");
                                        v2_6.append(p25);
                                        v2_6.append("\" could not be found within the downloaded contents. Please check that you are releasing your CodePush updates using the exact same JS bundle file name that was shipped with your app\'s binary.");
                                        throw new com.microsoft.codepush.react.CodePushInvalidUpdateException(v2_6.toString());
                                    } else {
                                        if (!com.microsoft.codepush.react.FileUtils.fileAtPathExists(v17)) {
                                            v5_0 = v17;
                                        } else {
                                            v5_0 = v17;
                                            new java.io.File(v5_0).delete();
                                        }
                                        String v1_15;
                                        if (v3_1 == null) {
                                            com.microsoft.codepush.react.CodePushUtils.log("Applying full update.");
                                            v1_15 = p27;
                                        } else {
                                            com.microsoft.codepush.react.CodePushUtils.log("Applying diff update.");
                                            v1_15 = p27;
                                        }
                                        if (v1_15 == null) {
                                            v15_0 = 0;
                                        }
                                        String v0_6 = com.microsoft.codepush.react.FileUtils.fileAtPathExists(com.microsoft.codepush.react.CodePushUpdateUtils.getSignatureFilePath(v6));
                                        if (v15_0 == 0) {
                                            String v4_3 = v21;
                                            if (v0_6 == null) {
                                                if (v3_1 != null) {
                                                    com.microsoft.codepush.react.CodePushUpdateUtils.verifyFolderHash(v6, v4_3);
                                                }
                                            } else {
                                                com.microsoft.codepush.react.CodePushUtils.log("Warning! JWT signature exists in codepush update but code integrity check couldn\'t be performed because there is no public key configured. Please ensure that public key is properly configured within your application.");
                                                com.microsoft.codepush.react.CodePushUpdateUtils.verifyFolderHash(v6, v4_3);
                                            }
                                        } else {
                                            if (v0_6 == null) {
                                                throw new com.microsoft.codepush.react.CodePushInvalidUpdateException("Error! Public key was provided but there is no JWT signature within app bundle to verify. Possible reasons, why that might happen: \n1. You\'ve been released CodePush bundle update using version of CodePush CLI that is not support code signing.\n2. You\'ve been released CodePush bundle update without providing --privateKeyPath option.");
                                            } else {
                                                String v4_4 = v21;
                                                com.microsoft.codepush.react.CodePushUpdateUtils.verifyFolderHash(v6, v4_4);
                                                com.microsoft.codepush.react.CodePushUpdateUtils.verifyUpdateSignature(v6, v4_4, v1_15);
                                            }
                                        }
                                        v3_0 = p24;
                                        com.microsoft.codepush.react.CodePushUtils.setJSONValueForKey(p24, "bundlePath", v2_4);
                                    }
                                }
                                com.microsoft.codepush.react.CodePushUtils.writeJsonToFile(v3_0, v5_0);
                                return;
                            }
                        } catch (String v0_17) {
                            v16_1 = v14_1;
                        } catch (String v0_16) {
                            v20 = v8_2;
                        }
                    } catch (String v0_17) {
                        v16_1 = 0;
                    } catch (String v0_16) {
                        v20 = v8_2;
                        v4_5 = v9_3;
                        v16_1 = 0;
                    }
                } catch (String v0_17) {
                    v13_2 = 0;
                } catch (String v0_16) {
                    v20 = v8_2;
                    v4_5 = v9_3;
                    v13_2 = 0;
                }
            } catch (String v0_17) {
                v10_2 = 0;
            } catch (String v0_16) {
                v20 = v8_2;
                v4_5 = v9_3;
                v10_2 = 0;
            }
        } catch (String v0_17) {
            v9_3 = 0;
        } catch (String v0_16) {
            v20 = v8_2;
            v4_5 = 0;
        }
    }

Method com.microsoft.codepush.react.CodePushUpdateManager.downloadAndReplaceCurrentBundle() calling method java.io.File.<init>()


    public void downloadAndReplaceCurrentBundle(String p9, String p10)
    {
        String v0_0 = 0;
        try {
            com.microsoft.codepush.react.CodePushUnknownException v1_2 = ((java.net.HttpURLConnection) ((java.net.HttpURLConnection) ((java.net.URLConnection) com.google.firebase.perf.network.FirebasePerfUrlConnection.instrument(new java.net.URL(p9).openConnection()))));
            try {
                int v2_0 = new java.io.BufferedInputStream(v1_2.getInputStream());
                try {
                    java.io.BufferedOutputStream v3_3 = new java.io.File(this.getCurrentPackageBundlePath(p10));
                    v3_3.delete();
                    com.microsoft.codepush.react.CodePushUnknownException v10_2 = new java.io.FileOutputStream(v3_3);
                    try {
                        java.io.BufferedOutputStream v3_0 = new java.io.BufferedOutputStream(v10_2, 262144);
                        try {
                            String v0_1 = new byte[262144];
                        } catch (java.io.IOException v9_1) {
                            v0_0 = v3_0;
                            if (v0_0 != null) {
                                v0_0.close();
                            }
                            if (v10_2 != null) {
                                v10_2.close();
                            }
                            if (v2_0 != 0) {
                                v2_0.close();
                            }
                            if (v1_2 != null) {
                                v1_2.disconnect();
                            }
                            throw v9_1;
                        } catch (String v0_2) {
                            java.net.MalformedURLException v7 = v1_2;
                            com.microsoft.codepush.react.CodePushUnknownException v1_1 = v10_2;
                            com.microsoft.codepush.react.CodePushUnknownException v10_1 = v0_2;
                            v0_0 = v7;
                            try {
                                throw new com.microsoft.codepush.react.CodePushMalformedDataException(p9, v10_1);
                            } catch (java.io.IOException v9_1) {
                                v10_2 = v1_1;
                                v1_2 = v0_0;
                            }
                        }
                        while(true) {
                            int v6 = v2_0.read(v0_1, 0, 262144);
                            if (v6 < 0) {
                                break;
                            }
                            v3_0.write(v0_1, 0, v6);
                        }
                        try {
                            v3_0.close();
                            v10_2.close();
                            v2_0.close();
                        } catch (java.io.IOException v9_3) {
                            throw new com.microsoft.codepush.react.CodePushUnknownException("Error closing IO resources.", v9_3);
                        }
                        if (v1_2 != null) {
                            v1_2.disconnect();
                        }
                        return;
                    } catch (java.io.IOException v9_1) {
                    } catch (java.io.BufferedOutputStream v3_5) {
                        v7 = v1_2;
                        v1_1 = v10_2;
                        v10_1 = v3_5;
                        v3_0 = 0;
                    }
                } catch (java.io.IOException v9_1) {
                    v10_2 = 0;
                } catch (com.microsoft.codepush.react.CodePushUnknownException v10_1) {
                    v3_0 = 0;
                    v0_0 = v1_2;
                    v1_1 = v3_0;
                }
            } catch (java.io.IOException v9_1) {
                v10_2 = 0;
                v2_0 = 0;
            } catch (com.microsoft.codepush.react.CodePushUnknownException v10_1) {
                v2_0 = 0;
                v3_0 = 0;
            }
        } catch (java.io.IOException v9_1) {
            v10_2 = 0;
            v1_2 = 0;
            v2_0 = 0;
        } catch (com.microsoft.codepush.react.CodePushUnknownException v10_1) {
            v1_1 = 0;
            v2_0 = 0;
            v3_0 = 0;
        }
    }

Method com.imagepicker.utils.RealPathUtil.getFileProviderPath() calling method java.io.File.<init>()


    public static String getFileProviderPath(android.content.Context p1, android.net.Uri p2)
    {
        int v1_1;
        java.io.File v0_2 = new java.io.File(p1.getExternalFilesDir(android.os.Environment.DIRECTORY_PICTURES), p2.getLastPathSegment());
        if (!v0_2.exists()) {
            v1_1 = 0;
        } else {
            v1_1 = v0_2.toString();
        }
        return v1_1;
    }

Method com.imagepicker.utils.MediaUtils.rolloutPhotoFromCamera() calling method java.io.File.<init>()


    public static com.imagepicker.utils.MediaUtils$RolloutPhotoResult rolloutPhotoFromCamera(com.imagepicker.media.ImageConfig p4)
    {
        com.imagepicker.media.ImageConfig v0_3;
        if (p4.resized != null) {
            v0_3 = p4.resized;
        } else {
            v0_3 = p4.original;
        }
        int v2_0 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DCIM).getPath(), v0_3.getName());
        try {
            com.imagepicker.media.ImageConfig v0_2;
            com.imagepicker.utils.MediaUtils.moveFile(v0_3, v2_0);
        } catch (com.imagepicker.media.ImageConfig v0_4) {
            v0_4.printStackTrace();
            com.imagepicker.utils.MediaUtils$RolloutPhotoResult v1_1 = new com.imagepicker.utils.MediaUtils$RolloutPhotoResult(p4, v0_4);
            return v1_1;
        }
        if (p4.resized == null) {
            v0_2 = p4.withOriginalFile(v2_0);
        } else {
            v0_2 = p4.withResizedFile(v2_0);
        }
        v1_1 = new com.imagepicker.utils.MediaUtils$RolloutPhotoResult(v0_2, 0);
        return v1_1;
    }

Method com.imagepicker.utils.MediaUtils.createNewFile() calling method java.io.File.<init>()


    public static java.io.File createNewFile(android.content.Context p3, com.facebook.react.bridge.ReadableMap p4, boolean p5)
    {
        java.io.IOException v3_1;
        String v0_2 = new StringBuilder("image-");
        v0_2.append(java.util.UUID.randomUUID().toString());
        v0_2.append(".jpg");
        String v0_1 = v0_2.toString();
        if ((!com.imagepicker.utils.ReadableMapUtils.hasAndNotNullReadableMap(p4, "storageOptions")) || (!com.imagepicker.utils.ReadableMapUtils.hasAndNotEmptyString(p4.getMap("storageOptions"), "path"))) {
            if (p5 != null) {
                v3_1 = p3.getExternalFilesDir(android.os.Environment.DIRECTORY_PICTURES);
            } else {
                v3_1 = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES);
            }
        } else {
            v3_1 = new java.io.File(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES), p4.getMap("storageOptions").getString("path"));
        }
        int v4_5 = new java.io.File(v3_1, v0_1);
        try {
            v3_1.mkdirs();
            v4_5.createNewFile();
        } catch (java.io.IOException v3_4) {
            v3_4.printStackTrace();
            v4_5 = 0;
        }
        return v4_5;
    }

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


    private static java.io.File zzf(android.content.Context p2, String p3)
    {
        AssertionError v3_2;
        if (!android.text.TextUtils.isEmpty(p3)) {
            try {
                AssertionError v3_6 = android.util.Base64.encodeToString(p3.getBytes("UTF-8"), 11);
                StringBuilder v1_1 = new StringBuilder((String.valueOf(v3_6).length() + 33));
                v1_1.append("com.google.InstanceId_");
                v1_1.append(v3_6);
                v1_1.append(".properties");
                v3_2 = v1_1.toString();
            } catch (java.io.UnsupportedEncodingException v2_1) {
                throw new AssertionError(v2_1);
            }
        } else {
            v3_2 = "com.google.InstanceId.properties";
        }
        return new java.io.File(com.google.firebase.iid.zzw.zzb(p2), v3_2);
    }

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


    private zzau(android.content.Context p3, com.google.firebase.iid.zzw p4)
    {
        this.zzcv = new android.support.v4.util.ArrayMap();
        this.zzv = p3;
        this.zzct = p3.getSharedPreferences("com.google.android.gms.appid", 0);
        this.zzcu = p4;
        String v0_2 = new java.io.File(android.support.v4.content.ContextCompat.getNoBackupFilesDir(this.zzv), "com.google.android.gms.appid-no-backup");
        if (!v0_2.exists()) {
            try {
                if ((v0_2.createNewFile()) && (!this.isEmpty())) {
                    android.util.Log.i("FirebaseInstanceId", "App restored, clearing state");
                    this.zzak();
                    com.google.firebase.iid.FirebaseInstanceId.getInstance().zzl();
                }
            } catch (String v3_7) {
                if (!android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    return;
                } else {
                    String v3_9 = String.valueOf(v3_7.getMessage());
                    if (v3_9.length() == 0) {
                        String v3_11 = new String("Error creating file in no backup dir: ");
                    } else {
                        v3_11 = "Error creating file in no backup dir: ".concat(v3_9);
                    }
                    android.util.Log.d("FirebaseInstanceId", v3_11);
                    return;
                }
            }
            return;
        }
        return;
    }

Method com.google.common.reflect.ClassPath$Scanner.getClassPathFromManifest() calling method java.io.File.<init>()


    static com.google.common.collect.ImmutableSet getClassPathFromManifest(java.io.File p5, java.util.jar.Manifest p6)
    {
        if (p6 != null) {
            com.google.common.collect.ImmutableSet$Builder v0 = com.google.common.collect.ImmutableSet.builder();
            java.util.Iterator v6_4 = p6.getMainAttributes().getValue(java.util.jar.Attributes$Name.CLASS_PATH.toString());
            if (v6_4 != null) {
                java.util.Iterator v6_2 = com.google.common.reflect.ClassPath.access$200().split(v6_4).iterator();
                while (v6_2.hasNext()) {
                    try {
                        String v1_4 = com.google.common.reflect.ClassPath$Scanner.getClassPathEntry(p5, ((String) v6_2.next()));
                    } catch (java.net.MalformedURLException) {
                        java.io.File v2_2 = com.google.common.reflect.ClassPath.access$100();
                        StringBuilder v3_2 = new StringBuilder();
                        v3_2.append("Invalid Class-Path entry: ");
                        v3_2.append(v1_4);
                        v2_2.warning(v3_2.toString());
                    }
                    if (v1_4.getProtocol().equals("file")) {
                        v0.add(new java.io.File(v1_4.getFile()));
                    }
                }
            }
            return v0.build();
        } else {
            return com.google.common.collect.ImmutableSet.of();
        }
    }

Method com.google.common.reflect.ClassPath$Scanner.getClassPathEntries() calling method java.io.File.<init>()


    static com.google.common.collect.ImmutableMap getClassPathEntries(ClassLoader p7)
    {
        java.util.LinkedHashMap v0 = com.google.common.collect.Maps.newLinkedHashMap();
        java.net.URL[] v1_3 = p7.getParent();
        if (v1_3 != null) {
            v0.putAll(com.google.common.reflect.ClassPath$Scanner.getClassPathEntries(v1_3));
        }
        if ((p7 instanceof java.net.URLClassLoader)) {
            java.net.URL[] v1_2 = ((java.net.URLClassLoader) p7).getURLs();
            int v2 = v1_2.length;
            int v3 = 0;
            while (v3 < v2) {
                boolean v4_0 = v1_2[v3];
                if (v4_0.getProtocol().equals("file")) {
                    java.io.File v5_3 = new java.io.File(v4_0.getFile());
                    if (!v0.containsKey(v5_3)) {
                        v0.put(v5_3, p7);
                    }
                }
                v3++;
            }
        }
        return com.google.common.collect.ImmutableMap.copyOf(v0);
    }

Method com.google.common.io.Files.getNameWithoutExtension() calling method java.io.File.<init>()


    public static String getNameWithoutExtension(String p2)
    {
        com.google.common.base.Preconditions.checkNotNull(p2);
        String v2_1 = new java.io.File(p2).getName();
        int v0_3 = v2_1.lastIndexOf(46);
        if (v0_3 != -1) {
            v2_1 = v2_1.substring(0, v0_3);
        }
        return v2_1;
    }

Method com.google.common.io.Files.getFileExtension() calling method java.io.File.<init>()


    public static String getFileExtension(String p2)
    {
        String v2_1;
        com.google.common.base.Preconditions.checkNotNull(p2);
        String v2_2 = new java.io.File(p2).getName();
        int v0_4 = v2_2.lastIndexOf(46);
        if (v0_4 != -1) {
            v2_1 = v2_2.substring((v0_4 + 1));
        } else {
            v2_1 = "";
        }
        return v2_1;
    }

Method com.google.common.io.Files.createTempDir() calling method java.io.File.<init>()


    public static java.io.File createTempDir()
    {
        IllegalStateException v0_3 = new java.io.File(System.getProperty("java.io.tmpdir"));
        String v1_7 = new StringBuilder();
        v1_7.append(System.currentTimeMillis());
        v1_7.append("-");
        String v1_1 = v1_7.toString();
        int v2_1 = 0;
        while (v2_1 < 10000) {
            boolean v4_1 = new StringBuilder();
            v4_1.append(v1_1);
            v4_1.append(v2_1);
            String v3_4 = new java.io.File(v0_3, v4_1.toString());
            if (!v3_4.mkdir()) {
                v2_1++;
            } else {
                return v3_4;
            }
        }
        int v2_3 = new StringBuilder();
        v2_3.append("Failed to create directory within 10000 attempts (tried ");
        v2_3.append(v1_1);
        v2_3.append("0 to ");
        v2_3.append(v1_1);
        v2_3.append(9999);
        v2_3.append(41);
        throw new IllegalStateException(v2_3.toString());
    }

Method com.facebook.soloader.ApkSoSource.getDepsBlock() calling method java.io.File.<init>()


    protected byte[] getDepsBlock()
    {
        byte[] v0_5 = this.mZipFileName.getCanonicalFile();
        android.os.Parcel v1 = android.os.Parcel.obtain();
        try {
            v1.writeByte(2);
            v1.writeString(v0_5.getPath());
            v1.writeLong(v0_5.lastModified());
            v1.writeInt(com.facebook.soloader.SysUtil.getAppVersionCode(this.mContext));
        } catch (byte[] v0_11) {
            v1.recycle();
            throw v0_11;
        }
        if ((this.mFlags & 1) != 0) {
            byte[] v0_8 = this.mContext.getApplicationInfo().nativeLibraryDir;
            if (v0_8 != null) {
                byte[] v0_9 = new java.io.File(v0_8).getCanonicalFile();
                if (v0_9.exists()) {
                    v1.writeByte(2);
                    v1.writeString(v0_9.getPath());
                    v1.writeLong(v0_9.lastModified());
                    byte[] v0_10 = v1.marshall();
                    v1.recycle();
                    return v0_10;
                } else {
                    v1.writeByte(1);
                    byte[] v0_12 = v1.marshall();
                    v1.recycle();
                    return v0_12;
                }
            } else {
                v1.writeByte(1);
                byte[] v0_13 = v1.marshall();
                v1.recycle();
                return v0_13;
            }
        } else {
            v1.writeByte(0);
            byte[] v0_15 = v1.marshall();
            v1.recycle();
            return v0_15;
        }
    }

Method com.facebook.soloader.ApkSoSource.<init>() calling method java.io.File.<init>()


    public ApkSoSource(android.content.Context p3, String p4, int p5)
    {
        super(p3, p4, new java.io.File(p3.getApplicationInfo().sourceDir), "^lib/([^/]+)/([^/]+\\.so)$");
        super.mFlags = p5;
        return;
    }

Method com.facebook.react.modules.camera.ImageEditingManager.getFileFromUri() calling method java.io.File.<init>()


    private static java.io.File getFileFromUri(android.content.Context p7, android.net.Uri p8)
    {
        if (!p8.getScheme().equals("file")) {
            if (p8.getScheme().equals("content")) {
                int v7_2 = p7.getContentResolver().query(p8, new String[] {"_data"}), 0, 0, 0);
                if (v7_2 != 0) {
                    try {
                        if (v7_2.moveToFirst()) {
                            String v8_3 = v7_2.getString(0);
                            if (!android.text.TextUtils.isEmpty(v8_3)) {
                                java.io.File v0_5 = new java.io.File(v8_3);
                                v7_2.close();
                                return v0_5;
                            }
                        }
                    } catch (String v8_4) {
                        v7_2.close();
                        throw v8_4;
                    }
                    v7_2.close();
                }
            }
            return 0;
        } else {
            return new java.io.File(p8.getPath());
        }
    }

Method com.facebook.react.modules.blob.BlobModule.getLastModifiedFromUri() calling method java.io.File.<init>()


    private long getLastModifiedFromUri(android.net.Uri p3)
    {
        if (!"file".equals(p3.getScheme())) {
            return 0;
        } else {
            return new java.io.File(p3.toString()).lastModified();
        }
    }

Method com.facebook.react.devsupport.JSCHeapCapture.captureHeap() calling method java.io.File.<init>()


    public declared_synchronized void captureHeap(String p3, com.facebook.react.devsupport.JSCHeapCapture$CaptureCallback p4)
    {
        try {
            if (this.mCaptureInProgress == null) {
                Class v1_2 = new StringBuilder();
                v1_2.append(p3);
                v1_2.append("/capture.json");
                String v0_1 = new java.io.File(v1_2.toString());
                v0_1.delete();
                com.facebook.react.devsupport.JSCHeapCapture$CaptureException v3_3 = ((com.facebook.react.devsupport.JSCHeapCapture$HeapCapture) this.getReactApplicationContext().getJSModule(com.facebook.react.devsupport.JSCHeapCapture$HeapCapture));
                if (v3_3 != null) {
                    this.mCaptureInProgress = p4;
                    v3_3.captureHeap(v0_1.getPath());
                    return;
                } else {
                    p4.onFailure(new com.facebook.react.devsupport.JSCHeapCapture$CaptureException("Heap capture js module not registered."));
                    return;
                }
            } else {
                p4.onFailure(new com.facebook.react.devsupport.JSCHeapCapture$CaptureException("Heap capture already in progress."));
                return;
            }
        } catch (com.facebook.react.devsupport.JSCHeapCapture$CaptureException v3_4) {
            throw v3_4;
        }
    }

Method com.facebook.react.devsupport.JSCHeapCapture.captureComplete() calling method java.io.File.<init>()


    public declared_synchronized void captureComplete(String p2, String p3)
    {
        try {
            if (this.mCaptureInProgress != null) {
                if (p3 != null) {
                    this.mCaptureInProgress.onFailure(new com.facebook.react.devsupport.JSCHeapCapture$CaptureException(p3));
                } else {
                    this.mCaptureInProgress.onSuccess(new java.io.File(p2));
                }
                this.mCaptureInProgress = 0;
            }
        } catch (int v2_2) {
            throw v2_2;
        }
        return;
    }

Method com.facebook.soloader.UnpackingSoSource.prepare() calling method java.io.File.<init>()


    protected void prepare(int p5)
    {
        com.facebook.soloader.SysUtil.mkdirOrThrow(this.soDirectory);
        String v0_2 = com.facebook.soloader.FileLocker.lock(new java.io.File(this.soDirectory, "dso_lock"));
        try {
            java.io.File v2_0 = new StringBuilder();
            v2_0.append("locked dso store ");
            v2_0.append(this.soDirectory);
            android.util.Log.v("fb-UnpackingSoSource", v2_0.toString());
        } catch (String v5_3) {
            if (v0_2 == null) {
                String v0_4 = new StringBuilder();
                v0_4.append("not releasing dso store lock for ");
                v0_4.append(this.soDirectory);
                v0_4.append(" (syncer thread started)");
                android.util.Log.v("fb-UnpackingSoSource", v0_4.toString());
            } else {
                String v1_10 = new StringBuilder();
                v1_10.append("releasing dso store lock for ");
                v1_10.append(this.soDirectory);
                android.util.Log.v("fb-UnpackingSoSource", v1_10.toString());
                v0_2.close();
            }
            throw v5_3;
        }
        if (!this.refreshLocked(v0_2, p5, this.getDepsBlock())) {
            String v1_2 = new StringBuilder();
            v1_2.append("dso store is up-to-date: ");
            v1_2.append(this.soDirectory);
            android.util.Log.i("fb-UnpackingSoSource", v1_2.toString());
        } else {
            v0_2 = 0;
        }
        if (v0_2 == null) {
            String v0_8 = new StringBuilder();
            v0_8.append("not releasing dso store lock for ");
            v0_8.append(this.soDirectory);
            v0_8.append(" (syncer thread started)");
            android.util.Log.v("fb-UnpackingSoSource", v0_8.toString());
        } else {
            String v1_16 = new StringBuilder();
            v1_16.append("releasing dso store lock for ");
            v1_16.append(this.soDirectory);
            android.util.Log.v("fb-UnpackingSoSource", v1_16.toString());
            v0_2.close();
        }
        return;
    }

Method com.facebook.soloader.UnpackingSoSource.regenerate() calling method java.io.File.<init>()


    private void regenerate(byte p11, com.facebook.soloader.UnpackingSoSource$DsoManifest p12, com.facebook.soloader.UnpackingSoSource$InputDsoIterator p13)
    {
        Throwable v11_3;
        java.io.RandomAccessFile v1_5 = new StringBuilder();
        v1_5.append("regenerating DSO store ");
        v1_5.append(this.getClass().getName());
        android.util.Log.v("fb-UnpackingSoSource", v1_5.toString());
        java.io.RandomAccessFile v1_4 = new java.io.RandomAccessFile(new java.io.File(this.soDirectory, "dso_manifest"), "rw");
        Throwable v2_0 = 0;
        try {
            if (p11 != 1) {
                v11_3 = 0;
            } else {
                try {
                    v11_3 = com.facebook.soloader.UnpackingSoSource$DsoManifest.read(v1_4);
                } catch (Throwable v11_4) {
                    android.util.Log.i("fb-UnpackingSoSource", "error reading existing DSO manifest", v11_4);
                }
            }
        } catch (Throwable v11_2) {
            if (v2_0 == null) {
                v1_4.close();
            } else {
                try {
                    v1_4.close();
                } catch (Throwable v12_1) {
                    v2_0.addSuppressed(v12_1);
                }
            }
            throw v11_2;
        } catch (Throwable v11_1) {
            v2_0 = v11_1;
            throw v2_0;
        }
        if (v11_3 == null) {
            com.facebook.soloader.UnpackingSoSource$InputDso v4_1 = new com.facebook.soloader.UnpackingSoSource$Dso[0];
            v11_3 = new com.facebook.soloader.UnpackingSoSource$DsoManifest(v4_1);
        }
        this.deleteUnmentionedFiles(p12.dsos);
        Throwable v12_4 = new byte[32768];
        while (p13.hasNext()) {
            com.facebook.soloader.UnpackingSoSource$InputDso v4_3 = p13.next();
            int v5 = 1;
            int v6 = 0;
            while ((v5 != 0) && (v6 < v11_3.dsos.length)) {
                if ((v11_3.dsos[v6].name.equals(v4_3.dso.name)) && (v11_3.dsos[v6].hash.equals(v4_3.dso.hash))) {
                    v5 = 0;
                }
                v6++;
            }
            if (v5 != 0) {
                this.extractDso(v4_3, v12_4);
            }
            if (v4_3 != null) {
                v4_3.close();
            }
        }
        v1_4.close();
        Throwable v12_6 = new StringBuilder();
        v12_6.append("Finished regenerating DSO store ");
        v12_6.append(this.getClass().getName());
        android.util.Log.v("fb-UnpackingSoSource", v12_6.toString());
        return;
    }

Method com.facebook.soloader.UnpackingSoSource.refreshLocked() calling method java.io.File.<init>()


    private boolean refreshLocked(com.facebook.soloader.FileLocker p12, int p13, byte[] p14)
    {
        java.io.File v5_1 = new java.io.File(this.soDirectory, "dso_state");
        com.facebook.soloader.UnpackingSoSource$1 v0_6 = new java.io.RandomAccessFile(v5_1, "rw");
        com.facebook.soloader.UnpackingSoSource v1_0 = 0;
        try {
            byte[] v3_0 = v0_6.readByte();
        } catch (Throwable v12_8) {
            if (v1_0 == null) {
                v0_6.close();
            } else {
                try {
                    v0_6.close();
                } catch (Throwable v13_6) {
                    v1_0.addSuppressed(v13_6);
                }
            }
            throw v12_8;
        } catch (java.io.EOFException) {
            v3_0 = 0;
            v0_6.close();
            com.facebook.soloader.UnpackingSoSource$DsoManifest v4_5 = new java.io.File(this.soDirectory, "dso_deps");
            com.facebook.soloader.UnpackingSoSource$1 v0_5 = new java.io.RandomAccessFile(v4_5, "rw");
            try {
                Throwable v6_7 = new byte[((int) v0_5.length())];
            } catch (Throwable v12_3) {
                if (v1_0 == null) {
                    v0_5.close();
                } else {
                    try {
                        v0_5.close();
                    } catch (Throwable v13_2) {
                        v1_0.addSuppressed(v13_2);
                    }
                }
                throw v12_3;
            } catch (Throwable v12_2) {
                v1_0 = v12_2;
                throw v1_0;
            }
            if (v0_5.read(v6_7) != v6_7.length) {
                android.util.Log.v("fb-UnpackingSoSource", "short read of so store deps file: marking unclean");
                v3_0 = 0;
            }
            if (!java.util.Arrays.equals(v6_7, p14)) {
                android.util.Log.v("fb-UnpackingSoSource", "deps mismatch on deps store: regenerating");
                v3_0 = 0;
            }
            com.facebook.soloader.UnpackingSoSource$DsoManifest v8_3;
            if (v3_0 == null) {
                android.util.Log.v("fb-UnpackingSoSource", "so store dirty: regenerating");
                com.facebook.soloader.UnpackingSoSource.writeState(v5_1, 0);
                Throwable v6_12 = this.makeUnpacker();
                try {
                    v8_3 = v6_12.getDsoManifest();
                    com.facebook.soloader.UnpackingSoSource$1 v9_2 = v6_12.openDsoIterator();
                    try {
                        this.regenerate(v3_0, v8_3, v9_2);
                    } catch (Throwable v12_10) {
                        Throwable v13_8 = 0;
                        if (v9_2 != null) {
                            if (v13_8 == null) {
                                v9_2.close();
                            } else {
                                try {
                                    v9_2.close();
                                } catch (Throwable v14_5) {
                                    v13_8.addSuppressed(v14_5);
                                }
                            }
                        }
                        throw v12_10;
                    } catch (Throwable v12_9) {
                        try {
                            throw v12_9;
                        } catch (Throwable v13_7) {
                            v13_8 = v12_9;
                            v12_10 = v13_7;
                        }
                    }
                    if (v9_2 != null) {
                        v9_2.close();
                    }
                    if (v6_12 != null) {
                        v6_12.close();
                    }
                } catch (Throwable v12_1) {
                    Throwable v13_1 = 0;
                    if (v6_12 != null) {
                        if (v13_1 == null) {
                            v6_12.close();
                        } else {
                            try {
                                v6_12.close();
                            } catch (Throwable v14_1) {
                                v13_1.addSuppressed(v14_1);
                            }
                        }
                    }
                    throw v12_1;
                } catch (Throwable v12_11) {
                    try {
                        throw v12_11;
                    } catch (Throwable v13_9) {
                        v13_1 = v12_11;
                        v12_1 = v13_9;
                    }
                }
            } else {
                if ((p13 & 2) == 0) {
                    v8_3 = 0;
                } else {
                }
            }
            v0_5.close();
            if (v8_3 != null) {
                com.facebook.soloader.UnpackingSoSource$1 v9_0 = new com.facebook.soloader.UnpackingSoSource$1;
                v9_0(this, v4_5, p14, v8_3, v5_1, p12);
                if ((p13 & 1) == 0) {
                    v9_0.run();
                } else {
                    Throwable v13_4 = new StringBuilder();
                    v13_4.append("SoSync:");
                    v13_4.append(this.soDirectory.getName());
                    new Thread(v9_0, v13_4.toString()).start();
                }
                return 1;
            } else {
                return 0;
            }
        } catch (Throwable v12_4) {
            v1_0 = v12_4;
            throw v1_0;
        }
        if (v3_0 == 1) {
        } else {
            com.facebook.soloader.UnpackingSoSource$DsoManifest v4_2 = new StringBuilder();
            v4_2.append("dso store ");
            v4_2.append(this.soDirectory);
            v4_2.append(" regeneration interrupted: wiping clean");
            android.util.Log.v("fb-UnpackingSoSource", v4_2.toString());
            v3_0 = 0;
        }
    }

Method com.facebook.soloader.UnpackingSoSource.getSoStorePath() calling method java.io.File.<init>()


    public static java.io.File getSoStorePath(android.content.Context p2, String p3)
    {
        StringBuilder v1_1 = new StringBuilder();
        v1_1.append(p2.getApplicationInfo().dataDir);
        v1_1.append("/");
        v1_1.append(p3);
        return new java.io.File(v1_1.toString());
    }

Method com.facebook.soloader.UnpackingSoSource.extractDso() calling method java.io.File.<init>()


    private void extractDso(com.facebook.soloader.UnpackingSoSource$InputDso p8, byte[] p9)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("extracting DSO ");
        v1_2.append(p8.dso.name);
        android.util.Log.i("fb-UnpackingSoSource", v1_2.toString());
        if (!this.soDirectory.setWritable(1, 1)) {
            String v9_2 = new StringBuilder();
            v9_2.append("cannot make directory writable for us: ");
            v9_2.append(this.soDirectory);
            throw new java.io.IOException(v9_2.toString());
        } else {
            java.io.File v0_6 = new java.io.File(this.soDirectory, p8.dso.name);
            try {
                java.io.RandomAccessFile v2_3 = new java.io.RandomAccessFile(v0_6, "rw");
                try {
                    int v3_6 = p8.content.available();
                } catch (java.io.IOException v8_10) {
                    v2_3.close();
                    throw v8_10;
                } catch (java.io.IOException v8_9) {
                    com.facebook.soloader.SysUtil.dumbDeleteRecursive(v0_6);
                    throw v8_9;
                }
                if (v3_6 > 1) {
                    com.facebook.soloader.SysUtil.fallocateIfSupported(v2_3.getFD(), ((long) v3_6));
                }
                com.facebook.soloader.SysUtil.copyBytes(v2_3, p8.content, 2147483647, p9);
                v2_3.setLength(v2_3.getFilePointer());
                if (!v0_6.setExecutable(1, 0)) {
                    String v9_5 = new StringBuilder();
                    v9_5.append("cannot make file executable: ");
                    v9_5.append(v0_6);
                    throw new java.io.IOException(v9_5.toString());
                } else {
                    v2_3.close();
                    return;
                }
            } catch (java.io.RandomAccessFile v2_4) {
                java.io.FileDescriptor v4_1 = new StringBuilder();
                v4_1.append("error overwriting ");
                v4_1.append(v0_6);
                v4_1.append(" trying to delete and start over");
                android.util.Log.w("fb-UnpackingSoSource", v4_1.toString(), v2_4);
                com.facebook.soloader.SysUtil.dumbDeleteRecursive(v0_6);
                v2_3 = new java.io.RandomAccessFile(v0_6, "rw");
            }
        }
    }

Method com.facebook.soloader.UnpackingSoSource.deleteUnmentionedFiles() calling method java.io.File.<init>()


    private void deleteUnmentionedFiles(com.facebook.soloader.UnpackingSoSource$Dso[] p8)
    {
        String v0_2 = this.soDirectory.list();
        if (v0_2 == null) {
            String v0_4 = new StringBuilder();
            v0_4.append("unable to list directory ");
            v0_4.append(this.soDirectory);
            throw new java.io.IOException(v0_4.toString());
        } else {
            int v2 = 0;
            while (v2 < v0_2.length) {
                String v3_1 = v0_2[v2];
                if ((!v3_1.equals("dso_state")) && ((!v3_1.equals("dso_lock")) && ((!v3_1.equals("dso_deps")) && (!v3_1.equals("dso_manifest"))))) {
                    int v4_8 = 0;
                    int v5_0 = 0;
                    while ((v4_8 == 0) && (v5_0 < p8.length)) {
                        if (p8[v5_0].name.equals(v3_1)) {
                            v4_8 = 1;
                        }
                        v5_0++;
                    }
                    if (v4_8 == 0) {
                        int v4_10 = new java.io.File(this.soDirectory, v3_1);
                        int v5_3 = new StringBuilder();
                        v5_3.append("deleting unaccounted-for file ");
                        v5_3.append(v4_10);
                        android.util.Log.v("fb-UnpackingSoSource", v5_3.toString());
                        com.facebook.soloader.SysUtil.dumbDeleteRecursive(v4_10);
                    }
                }
                v2++;
            }
            return;
        }
    }

Method com.facebook.soloader.ApkSoSource$ApkUnpacker.shouldExtract() calling method java.io.File.<init>()


    protected boolean shouldExtract(java.util.zip.ZipEntry p9, String p10)
    {
        String v9_4;
        String v0_0 = p9.getName();
        int v3 = 1;
        if (!p10.equals(this.this$0.mCorruptedLib)) {
            if ((this.mFlags & 1) != 0) {
                Long v1_2 = new java.io.File(this.mLibDir, p10);
                if (v1_2.isFile()) {
                    long v6 = v1_2.length();
                    String v9_1 = p9.getSize();
                    if (v6 == v9_1) {
                        String v9_3 = new StringBuilder();
                        v9_3.append("not allowing consideration of ");
                        v9_3.append(v0_0);
                        v9_3.append(": deferring to libdir");
                        v9_4 = v9_3.toString();
                        v3 = 0;
                    } else {
                        Object[] v4_4 = new Object[3];
                        v4_4[0] = v1_2;
                        v4_4[1] = Long.valueOf(v6);
                        v4_4[2] = Long.valueOf(v9_1);
                        v9_4 = String.format("allowing consideration of %s: sysdir file length is %s, but the file is %s bytes long in the APK", v4_4);
                    }
                } else {
                    Long v1_6 = new Object[2];
                    v1_6[0] = v0_0;
                    v1_6[1] = p10;
                    v9_4 = String.format("allowing considering of %s: %s not in system lib dir", v1_6);
                }
            } else {
                String v9_8 = new StringBuilder();
                v9_8.append("allowing consideration of ");
                v9_8.append(v0_0);
                v9_8.append(": self-extraction preferred");
                v9_4 = v9_8.toString();
            }
        } else {
            this.this$0.mCorruptedLib = 0;
            String v0_3 = new Object[1];
            v0_3[0] = p10;
            v9_4 = String.format("allowing consideration of corrupted lib %s", v0_3);
        }
        android.util.Log.d("ApkSoSource", v9_4);
        return v3;
    }

Method com.facebook.soloader.ApkSoSource$ApkUnpacker.<init>() calling method java.io.File.<init>()


    ApkSoSource$ApkUnpacker(com.facebook.soloader.ApkSoSource p2, com.facebook.soloader.ExtractFromZipSoSource p3)
    {
        this.this$0 = p2;
        super(p2, p3);
        super.mLibDir = new java.io.File(p2.mContext.getApplicationInfo().nativeLibraryDir);
        super.mFlags = com.facebook.soloader.ApkSoSource.access$000(p2);
        return;
    }

Method com.facebook.react.devsupport.DevSupportManagerImpl.hasUpToDateJSBundleInCache() calling method java.io.File.<init>()


    public boolean hasUpToDateJSBundleInCache()
    {
        int v1 = 0;
        if ((this.mIsDevSupportEnabled) && (this.mJSBundleTempFile.exists())) {
            try {
                long v0_9 = this.mApplicationContext.getPackageName();
            } catch (android.content.pm.PackageManager$NameNotFoundException) {
                com.facebook.common.logging.FLog.e("ReactNative", "DevSupport is unable to get current app info");
            }
            if (this.mJSBundleTempFile.lastModified() > this.mApplicationContext.getPackageManager().getPackageInfo(v0_9, 0).lastUpdateTime) {
                long v6_0 = new Object[1];
                v6_0[0] = v0_9;
                java.io.File v2_5 = new java.io.File(String.format(java.util.Locale.US, "/data/local/tmp/exopackage/%s//secondary-dex", v6_0));
                if (!v2_5.exists()) {
                    return 1;
                } else {
                    if (this.mJSBundleTempFile.lastModified() > v2_5.lastModified()) {
                        v1 = 1;
                    }
                    return v1;
                }
            }
        }
        return 0;
    }

Method com.facebook.react.devsupport.DevSupportManagerImpl.<init>() calling method java.io.File.<init>()


    public DevSupportManagerImpl(android.content.Context p4, com.facebook.react.devsupport.ReactInstanceManagerDevHelper p5, String p6, boolean p7, com.facebook.react.devsupport.RedBoxHandler p8, com.facebook.react.devsupport.interfaces.DevBundleDownloadListener p9, int p10, java.util.Map p11)
    {
        this.mExceptionLoggers = new java.util.ArrayList();
        this.mCustomDevOptions = new java.util.LinkedHashMap();
        this.mDevLoadingViewVisible = 0;
        this.mIsReceiverRegistered = 0;
        this.mIsShakeDetectorStarted = 0;
        this.mIsDevSupportEnabled = 0;
        this.mLastErrorCookie = 0;
        this.mReactInstanceManagerHelper = p5;
        this.mApplicationContext = p4;
        this.mJSAppBundleName = p6;
        this.mDevSettings = new com.facebook.react.devsupport.DevInternalSettings(p4, this);
        this.mBundleStatus = new com.facebook.react.devsupport.InspectorPackagerConnection$BundleStatus();
        this.mDevServerHelper = new com.facebook.react.devsupport.DevServerHelper(this.mDevSettings, this.mApplicationContext.getPackageName(), new com.facebook.react.devsupport.DevSupportManagerImpl$1(this));
        this.mBundleDownloadListener = p9;
        this.mShakeDetector = new com.facebook.react.common.ShakeDetector(new com.facebook.react.devsupport.DevSupportManagerImpl$2(this), p10);
        this.mCustomPackagerCommandHandlers = p11;
        this.mReloadAppBroadcastReceiver = new com.facebook.react.devsupport.DevSupportManagerImpl$3(this);
        this.mJSBundleTempFile = new java.io.File(p4.getFilesDir(), "ReactNativeDevBundle.js");
        this.mDefaultNativeModuleCallExceptionHandler = new com.facebook.react.bridge.DefaultNativeModuleCallExceptionHandler();
        this.setDevSupportEnabled(p7);
        this.mRedBoxHandler = p8;
        this.mDevLoadingViewController = new com.facebook.react.devsupport.DevLoadingViewController(p4, p5);
        this.mExceptionLoggers.add(new com.facebook.react.devsupport.DevSupportManagerImpl$JSExceptionLogger(this, 0));
        return;
    }

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


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

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


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

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


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

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


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

Method android.support.v4.graphics.drawable.IconCompat.loadDrawableInner() calling method java.io.File.<init>()


    private android.graphics.drawable.Drawable loadDrawableInner(android.content.Context p7)
    {
        switch (this.mType) {
            case 1:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), ((android.graphics.Bitmap) this.mObj1));
            case 2:
                android.graphics.Bitmap v0_14 = this.getResPackage();
                if (android.text.TextUtils.isEmpty(v0_14)) {
                    v0_14 = p7.getPackageName();
                }
                try {
                    return android.support.v4.content.res.ResourcesCompat.getDrawable(android.support.v4.graphics.drawable.IconCompat.getResources(p7, v0_14), this.mInt1, p7.getTheme());
                } catch (android.content.res.Resources v7_7) {
                    StringBuilder v4_7 = new Object[2];
                    v4_7[0] = Integer.valueOf(this.mInt1);
                    v4_7[1] = this.mObj1;
                    android.util.Log.e("IconCompat", String.format("Unable to load resource 0x%08x from pkg=%s", v4_7), v7_7);
                }
            case 3:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.graphics.BitmapFactory.decodeByteArray(((byte[]) this.mObj1), this.mInt1, this.mInt2));
            case 4:
                android.graphics.Bitmap v0_7;
                android.graphics.Bitmap v0_6 = android.net.Uri.parse(((String) this.mObj1));
                android.graphics.drawable.BitmapDrawable v1_6 = v0_6.getScheme();
                if ((!"content".equals(v1_6)) && (!"file".equals(v1_6))) {
                    try {
                        v0_7 = new java.io.FileInputStream(new java.io.File(((String) this.mObj1)));
                    } catch (android.graphics.drawable.BitmapDrawable v1_10) {
                        StringBuilder v4_3 = new StringBuilder();
                        v4_3.append("Unable to load image from path: ");
                        v4_3.append(v0_7);
                        android.util.Log.w("IconCompat", v4_3.toString(), v1_10);
                        v0_7 = 0;
                    }
                } else {
                    try {
                        v0_7 = p7.getContentResolver().openInputStream(v0_6);
                    } catch (android.graphics.drawable.BitmapDrawable v1_12) {
                        StringBuilder v4_5 = new StringBuilder();
                        v4_5.append("Unable to load image from URI: ");
                        v4_5.append(v0_7);
                        android.util.Log.w("IconCompat", v4_5.toString(), v1_12);
                    }
                }
                if (v0_7 == null) {
                } else {
                    return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.graphics.BitmapFactory.decodeStream(v0_7));
                }
            case 5:
                return new android.graphics.drawable.BitmapDrawable(p7.getResources(), android.support.v4.graphics.drawable.IconCompat.createLegacyIconFromAdaptiveIcon(((android.graphics.Bitmap) this.mObj1), 0));
            default:
        }
        return 0;
    }

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


    private final boolean zzli()
    {
        this.zzab();
        try {
            this.zzasi = new java.io.RandomAccessFile(new java.io.File(this.zzacv.getContext().getFilesDir(), "google_app_measurement.db"), "rw").getChannel();
            this.zzash = this.zzasi.tryLock();
        } catch (int v0_13) {
            String v1_7 = this.zzacv.zzgi().zziv();
            String v2_0 = "Failed to acquire storage lock";
            v1_7.zzg(v2_0, v0_13);
            return 0;
        } catch (int v0_13) {
            v1_7 = this.zzacv.zzgi().zziv();
            v2_0 = "Failed to access storage lock file";
        }
        if (this.zzash == null) {
            this.zzacv.zzgi().zziv().log("Storage concurrent data access panic");
            return 0;
        } else {
            this.zzacv.zzgi().zzjc().log("Storage concurrent access okay");
            return 1;
        }
    }

Method com.facebook.soloader.SoLoader$1.getLibHash() calling method java.io.File.<init>()


    private String getLibHash(String p8)
    {
        try {
            Throwable v0_1 = new java.io.File(p8);
            String v8_8 = java.security.MessageDigest.getInstance("MD5");
            Throwable v1_2 = new java.io.FileInputStream(v0_1);
            Throwable v0_2 = 0;
            try {
                String v2_2 = new byte[4096];
            } catch (String v8_5) {
                if (v0_2 == null) {
                    v1_2.close();
                } else {
                    try {
                        v1_2.close();
                    } catch (Throwable v1_0) {
                        v0_2.addSuppressed(v1_0);
                    }
                }
                throw v8_5;
            } catch (String v8_4) {
                v0_2 = v8_4;
                throw v0_2;
            }
            while(true) {
                int v3_0 = v1_2.read(v2_2);
                if (v3_0 <= 0) {
                    break;
                }
                v8_8.update(v2_2, 0, v3_0);
            }
            Object[] v5 = new Object[1];
            v5[0] = new java.math.BigInteger(1, v8_8.digest());
            String v8_3 = String.format("%32x", v5);
            v1_2.close();
            return v8_3;
        } catch (String v8_7) {
            v8_3 = v8_7.toString();
            return v8_3;
        } catch (String v8_6) {
            v8_3 = v8_6.toString();
            return v8_3;
        }
    }

Method com.facebook.soloader.ExoSoSource$ExoUnpacker.<init>() calling method java.io.File.<init>()


    ExoSoSource$ExoUnpacker(com.facebook.soloader.ExoSoSource p18, com.facebook.soloader.UnpackingSoSource p19)
    {
        this.this$0 = p18;
        Throwable v0_14 = p18.mContext;
        Throwable v3_6 = new StringBuilder();
        v3_6.append("/data/local/tmp/exopackage/");
        v3_6.append(v0_14.getPackageName());
        v3_6.append("/native-libs/");
        String v2_2 = new java.io.File(v3_6.toString());
        Throwable v0_13 = new java.util.ArrayList();
        Throwable v3_3 = new java.util.LinkedHashSet();
        String[] v4_0 = com.facebook.soloader.SysUtil.getSupportedAbis();
        int v5 = v4_0.length;
        int v6_0 = 0;
        int v7 = 0;
        while (v7 < v5) {
            com.facebook.soloader.ExoSoSource$FileDso v8_8 = v4_0[v7];
            java.io.File v9_1 = new java.io.File(v2_2, v8_8);
            if (v9_1.isDirectory()) {
                v3_3.add(v8_8);
                com.facebook.soloader.ExoSoSource$FileDso v8_10 = new java.io.File(v9_1, "metadata.txt");
                if (v8_10.isFile()) {
                    java.io.FileReader v10_4 = new java.io.FileReader(v8_10);
                    try {
                        java.io.BufferedReader v11_1 = new java.io.BufferedReader(v10_4);
                        try {
                            while(true) {
                                java.io.File v12_2 = v11_1.readLine();
                                v6_0 = 0;
                            }
                            v11_1.close();
                            v10_4.close();
                        } catch (Throwable v0_4) {
                            String v2_0 = v0_4;
                            com.facebook.soloader.ExoSoSource$FileDso v8_6 = 0;
                            if (v8_6 == null) {
                                v11_1.close();
                            } else {
                                try {
                                    v11_1.close();
                                } catch (Throwable v0_6) {
                                    v8_6.addSuppressed(v0_6);
                                }
                            }
                            throw v2_0;
                        } catch (Throwable v0_2) {
                            v8_6 = v0_2;
                            try {
                                throw v8_6;
                            } catch (Throwable v0_3) {
                                v2_0 = v0_3;
                            }
                        }
                        if (v12_2 == null) {
                        } else {
                            if (v12_2.length() != 0) {
                                int v13_3 = v12_2.indexOf(32);
                                if (v13_3 == -1) {
                                    String v2_11 = new StringBuilder();
                                    v2_11.append("illegal line in exopackage metadata: [");
                                    v2_11.append(v12_2);
                                    v2_11.append("]");
                                    throw new RuntimeException(v2_11.toString());
                                } else {
                                    String v14_2 = new StringBuilder();
                                    v14_2.append(v12_2.substring(v6_0, v13_3));
                                    v14_2.append(".so");
                                    String v14_3 = v14_2.toString();
                                    int v15_2 = v0_13.size();
                                    while (v6_0 < v15_2) {
                                        if (!((com.facebook.soloader.ExoSoSource$FileDso) v0_13.get(v6_0)).name.equals(v14_3)) {
                                            v6_0++;
                                        } else {
                                            int v6_1 = 1;
                                        }
                                        if (v6_1 == 0) {
                                            int v6_2 = v12_2.substring((v13_3 + 1));
                                            v0_13.add(new com.facebook.soloader.ExoSoSource$FileDso(v14_3, v6_2, new java.io.File(v9_1, v6_2)));
                                            v6_0 = 0;
                                        }
                                    }
                                    v6_1 = 0;
                                }
                            } else {
                            }
                        }
                    } catch (Throwable v0_9) {
                        String v2_1 = v0_9;
                        com.facebook.soloader.ExoSoSource$FileDso v8_7 = 0;
                        if (v8_7 == null) {
                            v10_4.close();
                        } else {
                            try {
                                v10_4.close();
                            } catch (Throwable v0_10) {
                                v8_7.addSuppressed(v0_10);
                            }
                        }
                        throw v2_1;
                    } catch (Throwable v0_7) {
                        v8_7 = v0_7;
                        try {
                            throw v8_7;
                        } catch (Throwable v0_8) {
                            v2_1 = v0_8;
                        }
                    }
                }
            }
            v7++;
            v6_0 = 0;
        }
        String v2_4 = new String[v3_3.size()];
        p19.setSoSourceAbis(((String[]) v3_3.toArray(v2_4)));
        String v2_8 = new com.facebook.soloader.ExoSoSource$FileDso[v0_13.size()];
        this.mDsos = ((com.facebook.soloader.ExoSoSource$FileDso[]) v0_13.toArray(v2_8));
        return;
    }

Method com.facebook.soloader.ExoSoSource$ExoUnpacker.<init>() calling method java.io.File.<init>()


    ExoSoSource$ExoUnpacker(com.facebook.soloader.ExoSoSource p18, com.facebook.soloader.UnpackingSoSource p19)
    {
        this.this$0 = p18;
        Throwable v0_14 = p18.mContext;
        Throwable v3_6 = new StringBuilder();
        v3_6.append("/data/local/tmp/exopackage/");
        v3_6.append(v0_14.getPackageName());
        v3_6.append("/native-libs/");
        String v2_2 = new java.io.File(v3_6.toString());
        Throwable v0_13 = new java.util.ArrayList();
        Throwable v3_3 = new java.util.LinkedHashSet();
        String[] v4_0 = com.facebook.soloader.SysUtil.getSupportedAbis();
        int v5 = v4_0.length;
        int v6_0 = 0;
        int v7 = 0;
        while (v7 < v5) {
            com.facebook.soloader.ExoSoSource$FileDso v8_8 = v4_0[v7];
            java.io.File v9_1 = new java.io.File(v2_2, v8_8);
            if (v9_1.isDirectory()) {
                v3_3.add(v8_8);
                com.facebook.soloader.ExoSoSource$FileDso v8_10 = new java.io.File(v9_1, "metadata.txt");
                if (v8_10.isFile()) {
                    java.io.FileReader v10_4 = new java.io.FileReader(v8_10);
                    try {
                        java.io.BufferedReader v11_1 = new java.io.BufferedReader(v10_4);
                        try {
                            while(true) {
                                java.io.File v12_2 = v11_1.readLine();
                                int v6_2 = v12_2.substring((int v13_3 + 1));
                                v0_13.add(new com.facebook.soloader.ExoSoSource$FileDso(String v14_3, v6_2, new java.io.File(v9_1, v6_2)));
                                v6_0 = 0;
                            }
                            v11_1.close();
                            v10_4.close();
                        } catch (Throwable v0_4) {
                            String v2_0 = v0_4;
                            com.facebook.soloader.ExoSoSource$FileDso v8_6 = 0;
                            if (v8_6 == null) {
                                v11_1.close();
                            } else {
                                try {
                                    v11_1.close();
                                } catch (Throwable v0_6) {
                                    v8_6.addSuppressed(v0_6);
                                }
                            }
                            throw v2_0;
                        } catch (Throwable v0_2) {
                            v8_6 = v0_2;
                            try {
                                throw v8_6;
                            } catch (Throwable v0_3) {
                                v2_0 = v0_3;
                            }
                        }
                        if (v12_2 == null) {
                        } else {
                            if (v12_2.length() != 0) {
                                v13_3 = v12_2.indexOf(32);
                                if (v13_3 == -1) {
                                    String v2_11 = new StringBuilder();
                                    v2_11.append("illegal line in exopackage metadata: [");
                                    v2_11.append(v12_2);
                                    v2_11.append("]");
                                    throw new RuntimeException(v2_11.toString());
                                } else {
                                    String v14_2 = new StringBuilder();
                                    v14_2.append(v12_2.substring(v6_0, v13_3));
                                    v14_2.append(".so");
                                    v14_3 = v14_2.toString();
                                    int v15_2 = v0_13.size();
                                    while (v6_0 < v15_2) {
                                        if (!((com.facebook.soloader.ExoSoSource$FileDso) v0_13.get(v6_0)).name.equals(v14_3)) {
                                            v6_0++;
                                        } else {
                                            int v6_1 = 1;
                                        }
                                        if (v6_1 == 0) {
                                        } else {
                                            v6_0 = 0;
                                        }
                                    }
                                    v6_1 = 0;
                                }
                            } else {
                            }
                        }
                    } catch (Throwable v0_9) {
                        String v2_1 = v0_9;
                        com.facebook.soloader.ExoSoSource$FileDso v8_7 = 0;
                        if (v8_7 == null) {
                            v10_4.close();
                        } else {
                            try {
                                v10_4.close();
                            } catch (Throwable v0_10) {
                                v8_7.addSuppressed(v0_10);
                            }
                        }
                        throw v2_1;
                    } catch (Throwable v0_7) {
                        v8_7 = v0_7;
                        try {
                            throw v8_7;
                        } catch (Throwable v0_8) {
                            v2_1 = v0_8;
                        }
                    }
                }
            }
            v7++;
            v6_0 = 0;
        }
        String v2_4 = new String[v3_3.size()];
        p19.setSoSourceAbis(((String[]) v3_3.toArray(v2_4)));
        String v2_8 = new com.facebook.soloader.ExoSoSource$FileDso[v0_13.size()];
        this.mDsos = ((com.facebook.soloader.ExoSoSource$FileDso[]) v0_13.toArray(v2_8));
        return;
    }

Method com.facebook.soloader.DirectorySoSource.unpackLibrary() calling method java.io.File.<init>()


    public java.io.File unpackLibrary(String p3)
    {
        java.io.File v0_1 = new java.io.File(this.soDirectory, p3);
        if (!v0_1.exists()) {
            return 0;
        } else {
            return v0_1;
        }
    }

Method com.facebook.soloader.DirectorySoSource.loadLibraryFrom() calling method java.io.File.<init>()


    protected int loadLibraryFrom(String p5, int p6, java.io.File p7, android.os.StrictMode$ThreadPolicy p8)
    {
        java.io.File v0_1 = new java.io.File(p7, p5);
        if (v0_1.exists()) {
            String v2_2 = new StringBuilder();
            v2_2.append(p5);
            v2_2.append(" found on ");
            v2_2.append(p7.getCanonicalPath());
            android.util.Log.d("SoLoader", v2_2.toString());
            if (((p6 & 1) == 0) || ((this.flags & 2) == 0)) {
                if ((this.flags & 1) == 0) {
                    StringBuilder v8_2 = new StringBuilder();
                    v8_2.append("Not resolving dependencies for ");
                    v8_2.append(p5);
                    android.util.Log.d("SoLoader", v8_2.toString());
                } else {
                    this.loadDependencies(v0_1, p6, p8);
                }
                try {
                    com.facebook.soloader.SoLoader.sSoFileLoader.load(v0_1.getAbsolutePath(), p6);
                    return 1;
                } catch (int v5_3) {
                    if (!v5_3.getMessage().contains("bad ELF magic")) {
                        throw v5_3;
                    } else {
                        android.util.Log.d("SoLoader", "Corrupted lib file detected");
                        return 3;
                    }
                }
            } else {
                String v7_12 = new StringBuilder();
                v7_12.append(p5);
                v7_12.append(" loaded implicitly");
                android.util.Log.d("SoLoader", v7_12.toString());
                return 2;
            }
        } else {
            StringBuilder v8_4 = new StringBuilder();
            v8_4.append(p5);
            v8_4.append(" not found on ");
            v8_4.append(p7.getCanonicalPath());
            android.util.Log.d("SoLoader", v8_4.toString());
            return 0;
        }
    }

Method com.facebook.soloader.ApplicationSoSource.checkAndMaybeUpdate() calling method java.io.File.<init>()


    public boolean checkAndMaybeUpdate()
    {
        try {
            com.facebook.soloader.DirectorySoSource v0_1 = this.soSource.soDirectory;
            RuntimeException v1_3 = this.applicationContext.createPackageContext(this.applicationContext.getPackageName(), 0);
            int v2_0 = new java.io.File(v1_3.getApplicationInfo().nativeLibraryDir);
        } catch (com.facebook.soloader.DirectorySoSource v0_2) {
            throw new RuntimeException(v0_2);
        }
        if (v0_1.equals(v2_0)) {
            return 0;
        } else {
            int v4_4 = new StringBuilder();
            v4_4.append("Native library directory updated from ");
            v4_4.append(v0_1);
            v4_4.append(" to ");
            v4_4.append(v2_0);
            android.util.Log.d("SoLoader", v4_4.toString());
            this.flags = (this.flags | 1);
            this.soSource = new com.facebook.soloader.DirectorySoSource(v2_0, this.flags);
            this.soSource.prepare(this.flags);
            this.applicationContext = v1_3;
            return 1;
        }
    }

Method com.facebook.soloader.ApplicationSoSource.<init>() calling method java.io.File.<init>()


    public ApplicationSoSource(android.content.Context p3, int p4)
    {
        this.applicationContext = p3.getApplicationContext();
        if (this.applicationContext == null) {
            android.util.Log.w("SoLoader", "context.getApplicationContext returned null, holding reference to original context.");
            this.applicationContext = p3;
        }
        this.flags = p4;
        this.soSource = new com.facebook.soloader.DirectorySoSource(new java.io.File(this.applicationContext.getApplicationInfo().nativeLibraryDir), p4);
        return;
    }

Method com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll.doInBackgroundGuarded() calling method java.io.File.<init>()


    protected varargs void doInBackgroundGuarded(Void[] p15)
    {
        java.io.IOException v15_8 = new java.io.File(this.mUri.getPath());
        String v0_7 = 0;
        try {
            java.io.IOException v1_11 = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DCIM);
            v1_11.mkdirs();
        } catch (java.io.IOException v15_3) {
            java.io.IOException v1_1 = 0;
            if (v0_7 != null) {
                if (v0_7.isOpen()) {
                    try {
                        v0_7.close();
                    } catch (String v0_3) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v0_3);
                    }
                }
            }
            if (v1_1 != null) {
                if (v1_1.isOpen()) {
                    try {
                        v1_1.close();
                    } catch (String v0_5) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close output channel", v0_5);
                    }
                }
            }
            throw v15_3;
        } catch (java.io.IOException v15_2) {
            v1_1 = 0;
            try {
                this.mPromise.reject(v15_2);
            } catch (java.io.IOException v15_3) {
            }
            if (v0_7 != null) {
                if (v0_7.isOpen()) {
                    try {
                        v0_7.close();
                    } catch (java.io.IOException v15_5) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v15_5);
                    }
                }
            }
            if (v1_1 == null) {
                return;
            } else {
                if (!v1_1.isOpen()) {
                    return;
                } else {
                    v1_1.close();
                    return;
                }
            }
        } catch (java.io.IOException v15_7) {
            com.facebook.common.logging.FLog.e("ReactNative", "Could not close output channel", v15_7);
            return;
        }
        if (v1_11.isDirectory()) {
            String v5_1;
            String[] v4_1;
            String v2_1 = new java.io.File(v1_11, v15_8.getName());
            android.content.Context v3_2 = v15_8.getName();
            if (v3_2.indexOf(46) < 0) {
                v5_1 = "";
                v4_1 = 0;
            } else {
                v4_1 = 0;
                v5_1 = v3_2.substring(v3_2.lastIndexOf(46));
                v3_2 = v3_2.substring(0, v3_2.lastIndexOf(46));
            }
            while (!v2_1.createNewFile()) {
                java.io.IOException v7_1 = new StringBuilder();
                v7_1.append(v3_2);
                v7_1.append("_");
                java.io.IOException v8_1 = (v4_1 + 1);
                v7_1.append(v4_1);
                v7_1.append(v5_1);
                v2_1 = new java.io.File(v1_11, v7_1.toString());
                v4_1 = v8_1;
            }
            java.io.IOException v15_9 = new java.io.FileInputStream(v15_8).getChannel();
            try {
                v1_1 = new java.io.FileOutputStream(v2_1).getChannel();
                try {
                    v1_1.transferFrom(v15_9, 0, v15_9.size());
                    v15_9.close();
                    v1_1.close();
                    android.content.Context v3_4 = this.mContext;
                    String[] v4_6 = new String[1];
                    v4_6[0] = v2_1.getAbsolutePath();
                    android.media.MediaScannerConnection.scanFile(v3_4, v4_6, 0, new com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll$1(this));
                } catch (String v0_9) {
                    v0_7 = v15_9;
                    v15_3 = v0_9;
                } catch (String v0_8) {
                    v0_7 = v15_9;
                    v15_2 = v0_8;
                }
                if ((v15_9 != null) && (v15_9.isOpen())) {
                    try {
                        v15_9.close();
                    } catch (java.io.IOException v15_10) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v15_10);
                    }
                }
                if ((v1_1 == null) || (!v1_1.isOpen())) {
                    return;
                } else {
                    v1_1.close();
                    return;
                }
            } catch (java.io.IOException v1_9) {
                v0_7 = v15_9;
                v15_3 = v1_9;
                v1_1 = 0;
            } catch (java.io.IOException v1_8) {
                v0_7 = v15_9;
                v15_2 = v1_8;
                v1_1 = 0;
            }
        } else {
            this.mPromise.reject("E_UNABLE_TO_LOAD", "External media storage directory not available");
            return;
        }
    }

Method com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll.doInBackgroundGuarded() calling method java.io.File.<init>()


    protected varargs void doInBackgroundGuarded(Void[] p15)
    {
        java.io.IOException v15_8 = new java.io.File(this.mUri.getPath());
        String v0_7 = 0;
        try {
            java.io.IOException v1_11 = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DCIM);
            v1_11.mkdirs();
        } catch (java.io.IOException v15_3) {
            java.io.IOException v1_1 = 0;
            if (v0_7 != null) {
                if (v0_7.isOpen()) {
                    try {
                        v0_7.close();
                    } catch (String v0_3) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v0_3);
                    }
                }
            }
            if (v1_1 != null) {
                if (v1_1.isOpen()) {
                    try {
                        v1_1.close();
                    } catch (String v0_5) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close output channel", v0_5);
                    }
                }
            }
            throw v15_3;
        } catch (java.io.IOException v15_2) {
            v1_1 = 0;
            try {
                this.mPromise.reject(v15_2);
            } catch (java.io.IOException v15_3) {
            }
            if (v0_7 != null) {
                if (v0_7.isOpen()) {
                    try {
                        v0_7.close();
                    } catch (java.io.IOException v15_5) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v15_5);
                    }
                }
            }
            if (v1_1 == null) {
                return;
            } else {
                if (!v1_1.isOpen()) {
                    return;
                } else {
                    v1_1.close();
                    return;
                }
            }
        } catch (java.io.IOException v15_7) {
            com.facebook.common.logging.FLog.e("ReactNative", "Could not close output channel", v15_7);
            return;
        }
        if (v1_11.isDirectory()) {
            String[] v4_1;
            String v5_1;
            String v2_1 = new java.io.File(v1_11, v15_8.getName());
            android.content.Context v3_2 = v15_8.getName();
            if (v3_2.indexOf(46) < 0) {
                v5_1 = "";
                v4_1 = 0;
            } else {
                v4_1 = 0;
                v5_1 = v3_2.substring(v3_2.lastIndexOf(46));
                v3_2 = v3_2.substring(0, v3_2.lastIndexOf(46));
            }
            while (!v2_1.createNewFile()) {
                java.io.IOException v7_1 = new StringBuilder();
                v7_1.append(v3_2);
                v7_1.append("_");
                java.io.IOException v8_1 = (v4_1 + 1);
                v7_1.append(v4_1);
                v7_1.append(v5_1);
                v2_1 = new java.io.File(v1_11, v7_1.toString());
                v4_1 = v8_1;
            }
            java.io.IOException v15_9 = new java.io.FileInputStream(v15_8).getChannel();
            try {
                v1_1 = new java.io.FileOutputStream(v2_1).getChannel();
                try {
                    v1_1.transferFrom(v15_9, 0, v15_9.size());
                    v15_9.close();
                    v1_1.close();
                    android.content.Context v3_4 = this.mContext;
                    String[] v4_6 = new String[1];
                    v4_6[0] = v2_1.getAbsolutePath();
                    android.media.MediaScannerConnection.scanFile(v3_4, v4_6, 0, new com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll$1(this));
                } catch (String v0_9) {
                    v0_7 = v15_9;
                    v15_3 = v0_9;
                } catch (String v0_8) {
                    v0_7 = v15_9;
                    v15_2 = v0_8;
                }
                if ((v15_9 != null) && (v15_9.isOpen())) {
                    try {
                        v15_9.close();
                    } catch (java.io.IOException v15_10) {
                        com.facebook.common.logging.FLog.e("ReactNative", "Could not close input channel", v15_10);
                    }
                }
                if ((v1_1 == null) || (!v1_1.isOpen())) {
                    return;
                } else {
                    v1_1.close();
                    return;
                }
            } catch (java.io.IOException v1_9) {
                v0_7 = v15_9;
                v15_3 = v1_9;
                v1_1 = 0;
            } catch (java.io.IOException v1_8) {
                v0_7 = v15_9;
                v15_2 = v1_8;
                v1_1 = 0;
            }
        } else {
            this.mPromise.reject("E_UNABLE_TO_LOAD", "External media storage directory not available");
            return;
        }
    }

Method com.facebook.react.devsupport.StackTraceHelper$StackFrameImpl.<init>() calling method java.io.File.<init>()


    private StackTraceHelper$StackFrameImpl(String p1, String p2, int p3, int p4)
    {
        String v1_1;
        this.mFile = p1;
        this.mMethod = p2;
        this.mLine = p3;
        this.mColumn = p4;
        if (p1 == null) {
            v1_1 = "";
        } else {
            v1_1 = new java.io.File(p1).getName();
        }
        this.mFileName = v1_1;
        return;
    }

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


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

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


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

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


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

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


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

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


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

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


    protected boolean onPreExecute()
    {
        try {
            String v5_1;
            android.content.Context v8 = this.getContext();
            boolean v1_6 = v8.getPackageManager();
            android.content.Context v2_4 = v8.getPackageName();
            io.fabric.sdk.android.services.common.IdManager v3_2 = v1_6.getPackageInfo(v2_4, 0);
            String v4_0 = Integer.toString(v3_2.versionCode);
        } catch (boolean v1_4) {
            io.fabric.sdk.android.Fabric.getLogger().e("Answers", "Error retrieving app properties", v1_4);
            return 0;
        }
        if (v3_2.versionName != null) {
            v5_1 = v3_2.versionName;
        } else {
            v5_1 = "0.0";
        }
        long v6_1;
        if (android.os.Build$VERSION.SDK_INT < 9) {
            v6_1 = new java.io.File(v1_6.getApplicationInfo(v2_4, 0).sourceDir).lastModified();
        } else {
            v6_1 = v3_2.firstInstallTime;
        }
        this.analyticsManager = com.crashlytics.android.answers.SessionAnalyticsManager.build(this, v8, this.getIdManager(), v4_0, v5_1, v6_1);
        this.analyticsManager.enable();
        this.firebaseEnabled = new io.fabric.sdk.android.services.common.FirebaseInfo().isFirebaseCrashlyticsEnabled(v8);
        return 1;
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


    private final java.net.Socket createSocket()
    {
        com.google.android.gms.internal.firebase_database.zzjx v0_11;
        com.google.android.gms.internal.firebase_database.zzjx v0_4 = this.zztc.getScheme();
        String v1_12 = this.zztc.getHost();
        String v2_9 = this.zztc.getPort();
        try {
            if ((v0_4 == null) || (!v0_4.equals("ws"))) {
                if ((v0_4 == null) || (!v0_4.equals("wss"))) {
                    com.google.android.gms.internal.firebase_database.zzjx v0_7;
                    com.google.android.gms.internal.firebase_database.zzjx v0_5 = String.valueOf(v0_4);
                    if (v0_5.length() == 0) {
                        v0_7 = new String("unsupported protocol: ");
                    } else {
                        v0_7 = "unsupported protocol: ".concat(v0_5);
                    }
                    throw new com.google.android.gms.internal.firebase_database.zzjx(v0_7);
                } else {
                    if (v2_9 == -1) {
                        v2_9 = 443;
                    }
                    com.google.android.gms.internal.firebase_database.zzjx v0_8 = 0;
                    try {
                        if (this.zzcs != null) {
                            v0_8 = new android.net.SSLSessionCache(new java.io.File(this.zzcs));
                        }
                    } catch (String v3_8) {
                        Object[] v6_1 = new Object[0];
                        this.zzbs.zza("Failed to initialize SSL session cache", v3_8, v6_1);
                    }
                    v0_11 = ((javax.net.ssl.SSLSocket) android.net.SSLCertificateSocketFactory.getDefault(60000, v0_8).createSocket(v1_12, v2_9));
                    if (!javax.net.ssl.HttpsURLConnection.getDefaultHostnameVerifier().verify(v1_12, v0_11.getSession())) {
                        String v2_14 = String.valueOf(this.zztc);
                        StringBuilder v4_12 = new StringBuilder((String.valueOf(v2_14).length() + 39));
                        v4_12.append("Error while verifying secure socket to ");
                        v4_12.append(v2_14);
                        throw new com.google.android.gms.internal.firebase_database.zzjx(v4_12.toString());
                    }
                }
            } else {
                if (v2_9 == -1) {
                    v2_9 = 80;
                }
                try {
                    v0_11 = new java.net.Socket(v1_12, v2_9);
                } catch (com.google.android.gms.internal.firebase_database.zzjx v0_15) {
                    String v2_17 = String.valueOf(this.zztc);
                    StringBuilder v4_14 = new StringBuilder((String.valueOf(v2_17).length() + 31));
                    v4_14.append("error while creating socket to ");
                    v4_14.append(v2_17);
                    throw new com.google.android.gms.internal.firebase_database.zzjx(v4_14.toString(), v0_15);
                } catch (com.google.android.gms.internal.firebase_database.zzjx v0_1) {
                    String v1_1 = String.valueOf(v1_12);
                    if (v1_1.length() == 0) {
                        String v1_3 = new String("unknown host: ");
                    } else {
                        v1_3 = "unknown host: ".concat(v1_1);
                    }
                    throw new com.google.android.gms.internal.firebase_database.zzjx(v1_3, v0_1);
                }
            }
        } catch (com.google.android.gms.internal.firebase_database.zzjx v0_2) {
            String v2_4 = String.valueOf(this.zztc);
            StringBuilder v4_4 = new StringBuilder((String.valueOf(v2_4).length() + 38));
            v4_4.append("error while creating secure socket to ");
            v4_4.append(v2_4);
            throw new com.google.android.gms.internal.firebase_database.zzjx(v4_4.toString(), v0_2);
        } catch (com.google.android.gms.internal.firebase_database.zzjx v0_3) {
            String v1_6 = String.valueOf(v1_12);
            if (v1_6.length() == 0) {
                String v1_8 = new String("unknown host: ");
            } else {
                v1_8 = "unknown host: ".concat(v1_6);
            }
            throw new com.google.android.gms.internal.firebase_database.zzjx(v1_8, v0_3);
        }
        return v0_11;
    }

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


    public static void publishWorldReadableSharedPreferences(android.content.Context p3, android.content.SharedPreferences$Editor p4, String p5)
    {
        java.io.File v0_1 = new java.io.File(p3.getApplicationInfo().dataDir, "shared_prefs");
        java.io.File v3_5 = v0_1.getParentFile();
        if (v3_5 != null) {
            v3_5.setExecutable(1, 0);
        }
        v0_1.setExecutable(1, 0);
        p4.commit();
        new java.io.File(v0_1, String.valueOf(p5).concat(".xml")).setReadable(1, 0);
        return;
    }

Method com.facebook.soloader.UnpackingSoSource$1.run() calling method java.io.File.<init>()


    public void run()
    {
        try {
            android.util.Log.v("fb-UnpackingSoSource", "starting syncer worker");
            com.facebook.soloader.FileLocker v0_12 = new java.io.RandomAccessFile(this.val$depsFileName, "rw");
            String v1_1 = 0;
            try {
                v0_12.write(this.val$deps);
                v0_12.setLength(v0_12.getFilePointer());
            } catch (Throwable v2_1) {
                if (v1_1 == null) {
                    v0_12.close();
                } else {
                    try {
                        v0_12.close();
                    } catch (com.facebook.soloader.FileLocker v0_1) {
                        v1_1.addSuppressed(v0_1);
                    }
                }
                throw v2_1;
            } catch (String v1_1) {
                throw v1_1;
            }
            v0_12.close();
            Throwable v2_5 = new java.io.RandomAccessFile(new java.io.File(this.this$0.soDirectory, "dso_manifest"), "rw");
            try {
                this.val$manifest.write(v2_5);
            } catch (com.facebook.soloader.FileLocker v0_7) {
                if (v1_1 == null) {
                    v2_5.close();
                } else {
                    try {
                        v2_5.close();
                    } catch (Throwable v2_6) {
                        v1_1.addSuppressed(v2_6);
                    }
                }
                throw v0_7;
            } catch (com.facebook.soloader.FileLocker v0_6) {
                v1_1 = v0_6;
                throw v1_1;
            }
            v2_5.close();
            com.facebook.soloader.SysUtil.fsyncRecursive(this.this$0.soDirectory);
            com.facebook.soloader.UnpackingSoSource.access$000(this.val$stateFileName, 1);
            String v1_7 = new StringBuilder();
            v1_7.append("releasing dso store lock for ");
            v1_7.append(this.this$0.soDirectory);
            v1_7.append(" (from syncer thread)");
            android.util.Log.v("fb-UnpackingSoSource", v1_7.toString());
            this.val$lock.close();
            return;
        } catch (com.facebook.soloader.FileLocker v0_11) {
            Throwable v2_9 = new StringBuilder();
            v2_9.append("releasing dso store lock for ");
            v2_9.append(this.this$0.soDirectory);
            v2_9.append(" (from syncer thread)");
            android.util.Log.v("fb-UnpackingSoSource", v2_9.toString());
            this.val$lock.close();
            throw v0_11;
        } catch (com.facebook.soloader.FileLocker v0_15) {
            throw new RuntimeException(v0_15);
        }
    }

Method com.facebook.soloader.SoLoader.initSoSources() calling method java.io.File.<init>()


    private static void initSoSources(android.content.Context p6, int p7, com.facebook.soloader.SoFileLoader p8)
    {
        com.facebook.soloader.SoLoader.sSoSourcesLock.writeLock().lock();
        try {
            if (com.facebook.soloader.SoLoader.sSoSources == null) {
                android.util.Log.d("SoLoader", "init start");
                com.facebook.soloader.SoLoader.sFlags = p7;
                String v8_3 = new java.util.ArrayList();
                int v0_1 = System.getenv("LD_LIBRARY_PATH");
                if (v0_1 == 0) {
                    v0_1 = "/vendor/lib:/system/lib";
                }
                int v0_2 = v0_1.split(":");
                String v2_3 = 0;
                while (v2_3 < v0_2.length) {
                    com.facebook.soloader.DirectorySoSource v4_1 = new StringBuilder();
                    v4_1.append("adding system library source: ");
                    v4_1.append(v0_2[v2_3]);
                    android.util.Log.d("SoLoader", v4_1.toString());
                    v8_3.add(new com.facebook.soloader.DirectorySoSource(new java.io.File(v0_2[v2_3]), 2));
                    v2_3++;
                }
                if (p6 != null) {
                    if ((p7 & 1) == 0) {
                        int v7_12;
                        int v7_9 = p6.getApplicationInfo();
                        if (((v7_9.flags & 1) == 0) || ((v7_9.flags & 128) != 0)) {
                            v7_12 = 0;
                        } else {
                            v7_12 = 1;
                        }
                        int v7_17;
                        if (v7_12 == 0) {
                            int v7_14;
                            if (android.os.Build$VERSION.SDK_INT > 17) {
                                v7_14 = 0;
                            } else {
                                v7_14 = 1;
                            }
                            com.facebook.soloader.SoLoader.sApplicationSoSource = new com.facebook.soloader.ApplicationSoSource(p6, v7_14);
                            String v2_10 = new StringBuilder();
                            v2_10.append("adding application source: ");
                            v2_10.append(com.facebook.soloader.SoLoader.sApplicationSoSource.toString());
                            android.util.Log.d("SoLoader", v2_10.toString());
                            v8_3.add(0, com.facebook.soloader.SoLoader.sApplicationSoSource);
                            v7_17 = 1;
                        } else {
                            v7_17 = 0;
                        }
                        com.facebook.soloader.SoLoader.sBackupSoSource = new com.facebook.soloader.ApkSoSource(p6, "lib-main", v7_17);
                        int v7_19 = new StringBuilder();
                        v7_19.append("adding backup  source: ");
                        v7_19.append(com.facebook.soloader.SoLoader.sBackupSoSource.toString());
                        android.util.Log.d("SoLoader", v7_19.toString());
                        v8_3.add(0, com.facebook.soloader.SoLoader.sBackupSoSource);
                    } else {
                        com.facebook.soloader.SoLoader.sBackupSoSource = 0;
                        android.util.Log.d("SoLoader", "adding exo package source: lib-main");
                        v8_3.add(0, new com.facebook.soloader.ExoSoSource(p6, "lib-main"));
                    }
                }
                com.facebook.soloader.UnpackingSoSource v6_11 = new com.facebook.soloader.SoSource[v8_3.size()];
                com.facebook.soloader.UnpackingSoSource v6_13 = ((com.facebook.soloader.SoSource[]) v8_3.toArray(v6_11));
                int v7_25 = com.facebook.soloader.SoLoader.makePrepareFlags();
                String v8_9 = v6_13.length;
                while(true) {
                    int v1_2 = (v8_9 - 1);
                    if (v8_9 <= null) {
                        break;
                    }
                    String v2_1 = new StringBuilder();
                    v2_1.append("Preparing SO source: ");
                    v2_1.append(v6_13[v1_2]);
                    android.util.Log.d("SoLoader", v2_1.toString());
                    v6_13[v1_2].prepare(v7_25);
                    v8_9 = v1_2;
                }
                com.facebook.soloader.SoLoader.sSoSources = v6_13;
                com.facebook.soloader.SoLoader.sSoSourcesVersion = (com.facebook.soloader.SoLoader.sSoSourcesVersion + 1);
                int v7_2 = new StringBuilder();
                v7_2.append("init finish: ");
                v7_2.append(com.facebook.soloader.SoLoader.sSoSources.length);
                v7_2.append(" SO sources prepared");
                android.util.Log.d("SoLoader", v7_2.toString());
            }
        } catch (com.facebook.soloader.UnpackingSoSource v6_7) {
            android.util.Log.d("SoLoader", "init exiting");
            com.facebook.soloader.SoLoader.sSoSourcesLock.writeLock().unlock();
            throw v6_7;
        }
        android.util.Log.d("SoLoader", "init exiting");
        com.facebook.soloader.SoLoader.sSoSourcesLock.writeLock().unlock();
        return;
    }

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 {
                com.facebook.FacebookException v0_10 = android.os.ParcelFileDescriptor.open(new java.io.File(this.videoUri.getPath()), 268435456);
                this.videoSize = v0_10.getStatSize();
                this.videoStream = new android.os.ParcelFileDescriptor$AutoCloseInputStream(v0_10);
            }
        } catch (com.facebook.FacebookException v0_11) {
            com.facebook.internal.Utility.closeQuietly(this.videoStream);
            throw v0_11;
        }
        return;
    }

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


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

Method com.facebook.react.devsupport.BundleDownloader.processBundleResult() calling method java.io.File.<init>()


    private void processBundleResult(String p2, int p3, okhttp3.Headers p4, okio.BufferedSource p5, java.io.File p6, com.facebook.react.devsupport.BundleDownloader$BundleInfo p7, com.facebook.react.devsupport.BundleDeltaClient$ClientType p8, com.facebook.react.devsupport.interfaces.DevBundleDownloadListener p9)
    {
        if (p3 == 200) {
            if (p7 != null) {
                com.facebook.react.devsupport.BundleDownloader.populateBundleInfo(p2, p4, p8, p7);
            }
            StringBuilder v4_1;
            com.facebook.react.bridge.NativeDeltaClient v7_5 = new StringBuilder();
            v7_5.append(p6.getPath());
            v7_5.append(".tmp");
            String v3_1 = new java.io.File(v7_5.toString());
            com.facebook.react.bridge.NativeDeltaClient v7_2 = 0;
            if (!com.facebook.react.devsupport.BundleDeltaClient.isDeltaUrl(p2)) {
                this.mBundleDeltaClient = 0;
                v4_1 = com.facebook.react.devsupport.BundleDownloader.storePlainJSInFile(p5, v3_1);
            } else {
                java.io.IOException v2_2 = this.getBundleDeltaClient(p8);
                com.facebook.infer.annotation.Assertions.assertNotNull(v2_2);
                java.io.IOException v2_3 = v2_2.processDelta(p4, p5, v3_1);
                v4_1 = ((Boolean) v2_3.first).booleanValue();
                v7_2 = ((com.facebook.react.bridge.NativeDeltaClient) v2_3.second);
            }
            if ((v4_1 != null) && (!v3_1.renameTo(p6))) {
                StringBuilder v4_5 = new StringBuilder();
                v4_5.append("Couldn\'t rename ");
                v4_5.append(v3_1);
                v4_5.append(" to ");
                v4_5.append(p6);
                throw new java.io.IOException(v4_5.toString());
            } else {
                p9.onSuccess(v7_2);
                return;
            }
        } else {
            StringBuilder v4_6 = p5.readUtf8();
            String v5_2 = com.facebook.react.common.DebugServerException.parse(v4_6);
            if (v5_2 == null) {
                String v5_4 = new StringBuilder();
                v5_4.append("The development server returned response error code: ");
                v5_4.append(p3);
                v5_4.append("\n\n");
                v5_4.append("URL: ");
                v5_4.append(p2);
                v5_4.append("\n\n");
                v5_4.append("Body:\n");
                v5_4.append(v4_6);
                p9.onFailure(new com.facebook.react.common.DebugServerException(v5_4.toString()));
            } else {
                p9.onFailure(v5_2);
            }
            return;
        }
    }

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


    private static int refreshBestGuessNumberOfCPUCores()
    {
        int v0_0 = com.facebook.internal.Utility.numCPUCores;
        if (v0_0 <= 0) {
            try {
                int v0_9 = new java.io.File("/sys/devices/system/cpu/").listFiles(new com.facebook.internal.Utility$2());
            } catch (Exception) {
                if (com.facebook.internal.Utility.numCPUCores <= 0) {
                    com.facebook.internal.Utility.numCPUCores = Math.max(Runtime.getRuntime().availableProcessors(), 1);
                }
                return com.facebook.internal.Utility.numCPUCores;
            }
            if (v0_9 == 0) {
            } else {
                com.facebook.internal.Utility.numCPUCores = v0_9.length;
            }
        } else {
            return v0_0;
        }
    }

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


    static java.io.File getAttachmentsDirectoryForCall(java.util.UUID p2, boolean p3)
    {
        java.io.File v0 = com.facebook.internal.NativeAppCallAttachmentStore.attachmentsDirectory;
        if (v0 != null) {
            java.io.File v1_1 = new java.io.File(v0, p2.toString());
            if ((p3) && (!v1_1.exists())) {
                v1_1.mkdirs();
            }
            return v1_1;
        } else {
            return 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 v1_1) {
            throw v1_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 p2, String p3, boolean p4)
    {
        java.io.File v2_1 = com.facebook.internal.NativeAppCallAttachmentStore.getAttachmentsDirectoryForCall(p2, p4);
        if (v2_1 != null) {
            try {
                return new java.io.File(v2_1, java.net.URLEncoder.encode(p3, "UTF-8"));
            } catch (java.io.UnsupportedEncodingException) {
                return 0;
            }
        } else {
            return 0;
        }
    }

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


    public java.io.InputStream get(String p7, String p8)
    {
        java.io.File v0_1 = new java.io.File(this.directory, com.facebook.internal.Utility.md5hash(p7));
        try {
            java.io.BufferedInputStream v3_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(v0_1), 8192);
            try {
                String v2_0 = com.facebook.internal.FileLruCache$StreamHeader.readHeader(v3_0);
            } catch (long v7_8) {
                v3_0.close();
                throw v7_8;
            }
            if (v2_0 != null) {
                String v4_1 = v2_0.optString("key");
                if (v4_1 != null) {
                    if (v4_1.equals(p7)) {
                        long v7_3 = v2_0.optString("tag", 0);
                        if (((p8 != null) || (v7_3 == 0)) && ((p8 == null) || (p8.equals(v7_3)))) {
                            long v7_7 = new java.util.Date().getTime();
                            String v4_3 = new StringBuilder();
                            v4_3.append("Setting lastModified to ");
                            v4_3.append(Long.valueOf(v7_7));
                            v4_3.append(" for ");
                            v4_3.append(v0_1.getName());
                            com.facebook.internal.Logger.log(com.facebook.LoggingBehavior.CACHE, com.facebook.internal.FileLruCache.TAG, v4_3.toString());
                            v0_1.setLastModified(v7_7);
                            return v3_0;
                        } else {
                            v3_0.close();
                            return 0;
                        }
                    } else {
                    }
                }
                v3_0.close();
                return 0;
            } else {
                v3_0.close();
                return 0;
            }
        } catch (java.io.IOException) {
            return 0;
        }
    }

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


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

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


    public FileLruCache(String p4, com.facebook.internal.FileLruCache$Limits p5)
    {
        this.lastClearCacheTime = new java.util.concurrent.atomic.AtomicLong(0);
        this.tag = p4;
        this.limits = p5;
        this.directory = new java.io.File(com.facebook.FacebookSdk.getCacheDir(), p4);
        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 p3)
    {
        String v0_1 = new StringBuilder();
        v0_1.append("buffer");
        v0_1.append(Long.valueOf(com.facebook.internal.FileLruCache.access$300().incrementAndGet()).toString());
        return new java.io.File(p3, v0_1.toString());
    }

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


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

Method 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)
    {
        java.io.File v2_0 = com.facebook.GraphRequest.getDefaultPhotoPathIfNull(p7);
        if (!com.facebook.internal.Utility.isFileUri(p8)) {
            if (!com.facebook.internal.Utility.isContentUri(p8)) {
                throw new com.facebook.FacebookException("The photo Uri must be either a file:// or content:// Uri");
            } else {
                android.os.Bundle v3_1 = new android.os.Bundle();
                if (p10 != null) {
                    v3_1.putAll(p10);
                }
                v3_1.putParcelable("picture", p8);
                if ((p9 != null) && (!p9.isEmpty())) {
                    v3_1.putString("caption", p9);
                }
                String v7_4 = new com.facebook.GraphRequest;
                v7_4(p6, v2_0, v3_1, com.facebook.HttpMethod.POST, p11);
                return v7_4;
            }
        } else {
            return com.facebook.GraphRequest.newUploadPhotoRequest(p6, v2_0, new java.io.File(p8.getPath()), p9, p10, p11);
        }
    }

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


    public java.io.File getUserDataFileForSession(String p4)
    {
        java.io.File v1 = this.filesDir;
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(p4);
        v2_1.append("user");
        v2_1.append(".meta");
        return new java.io.File(v1, v2_1.toString());
    }

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


    public java.io.File getKeysFileForSession(String p4)
    {
        java.io.File v1 = this.filesDir;
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(p4);
        v2_1.append("keys");
        v2_1.append(".meta");
        return new java.io.File(v1, v2_1.toString());
    }

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


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

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


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

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


    java.io.File getNonFatalSessionFilesDir()
    {
        return new java.io.File(this.getFilesDir(), "nonfatal-sessions");
    }

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


    java.io.File getInvalidFilesDir()
    {
        return new java.io.File(this.getFilesDir(), "invalidClsFiles");
    }

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


    java.io.File getFatalSessionFilesDir()
    {
        return new java.io.File(this.getFilesDir(), "fatal-sessions");
    }

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


    void doCleanInvalidTempFiles(java.io.File[] p10)
    {
        java.io.File[] v0_1 = new java.util.HashSet();
        int v1_4 = p10.length;
        int v2 = 0;
        java.io.File v3_1 = 0;
        while (v3_1 < v1_4) {
            io.fabric.sdk.android.Logger v4_5 = p10[v3_1];
            String v5_3 = io.fabric.sdk.android.Fabric.getLogger();
            String v7_3 = new StringBuilder();
            v7_3.append("Found invalid session part file: ");
            v7_3.append(v4_5);
            v5_3.d("CrashlyticsCore", v7_3.toString());
            v0_1.add(com.crashlytics.android.core.CrashlyticsController.getSessionIdFromSessionFile(v4_5));
            v3_1++;
        }
        if (!v0_1.isEmpty()) {
            java.io.File v10_1 = this.getInvalidFilesDir();
            if (!v10_1.exists()) {
                v10_1.mkdir();
            }
            java.io.File[] v0_2 = this.listFilesMatching(new com.crashlytics.android.core.CrashlyticsController$15(this, v0_1));
            int v1_3 = v0_2.length;
            while (v2 < v1_3) {
                java.io.File v3_0 = v0_2[v2];
                io.fabric.sdk.android.Logger v4_0 = io.fabric.sdk.android.Fabric.getLogger();
                String v6_1 = new StringBuilder();
                v6_1.append("Moving session file: ");
                v6_1.append(v3_0);
                v4_0.d("CrashlyticsCore", v6_1.toString());
                if (!v3_0.renameTo(new java.io.File(v10_1, v3_0.getName()))) {
                    io.fabric.sdk.android.Logger v4_4 = io.fabric.sdk.android.Fabric.getLogger();
                    String v6_4 = new StringBuilder();
                    v6_4.append("Could not move session file. Deleting ");
                    v6_4.append(v3_0);
                    v4_4.d("CrashlyticsCore", v6_4.toString());
                    v3_0.delete();
                }
                v2++;
            }
            this.trimInvalidSessionFiles();
            return;
        } else {
            return;
        }
    }

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


    private void writeFile(String p6, String p7, com.crashlytics.android.core.CrashlyticsController$FileOutputStreamWriteAction p8)
    {
        String v0 = 0;
        try {
            java.io.File v3 = this.getFilesDir();
            StringBuilder v4_1 = new StringBuilder();
            v4_1.append(p6);
            v4_1.append(p7);
            String v1_1 = new java.io.FileOutputStream(new java.io.File(v3, v4_1.toString()));
            try {
                p8.writeTo(v1_1);
                Throwable v6_4 = new StringBuilder();
                v6_4.append("Failed to close ");
                v6_4.append(p7);
                p7 = " file.";
                v6_4.append(" file.");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, v6_4.toString());
                return;
            } catch (Throwable v6_2) {
                v0 = v1_1;
                StringBuilder v8_3 = new StringBuilder();
                v8_3.append("Failed to close ");
                v8_3.append(p7);
                v8_3.append(" file.");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, v8_3.toString());
                throw v6_2;
            }
        } catch (Throwable v6_2) {
        }
        p8.writeTo(v1_1);
        v6_4 = new StringBuilder();
        v6_4.append("Failed to close ");
        v6_4.append(p7);
        p7 = " file.";
        v6_4.append(" file.");
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, v6_4.toString());
        return;
    }

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


    private byte[] readFile(String p4, String p5)
    {
        java.io.File v1 = this.getFilesDir();
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(p4);
        v2_1.append(p5);
        return com.crashlytics.android.core.NativeFileUtils.readFile(new java.io.File(v1, v2_1.toString()));
    }

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


    private void finalizeMostRecentNativeCrash(android.content.Context p11, java.io.File p12, String p13)
    {
        String v0_0 = com.crashlytics.android.core.NativeFileUtils.minidumpFromDirectory(p12);
        String v1_1 = com.crashlytics.android.core.NativeFileUtils.metadataJsonFromDirectory(p12);
        java.io.File v11_2 = com.crashlytics.android.core.NativeFileUtils.binaryImagesJsonFromDirectory(p12, p11);
        if ((v0_0 != null) && (v0_0.length != 0)) {
            com.crashlytics.android.core.CrashlyticsController.recordFatalExceptionAnswersEvent(p13, "<native-crash: minidump>");
            String v12_3 = this.readFile(p13, "BeginSession.json");
            byte[] v2_1 = this.readFile(p13, "SessionApp.json");
            byte[] v3_1 = this.readFile(p13, "SessionDevice.json");
            byte[] v4_1 = this.readFile(p13, "SessionOS.json");
            byte[] v5_3 = com.crashlytics.android.core.NativeFileUtils.readFile(new com.crashlytics.android.core.MetaDataStore(this.getFilesDir()).getUserDataFileForSession(p13));
            byte[] v6_2 = new com.crashlytics.android.core.LogFileManager(this.crashlyticsCore.getContext(), this.logFileDirectoryProvider, p13);
            byte[] v7_2 = v6_2.getBytesForLog();
            v6_2.clearLog();
            byte[] v6_6 = com.crashlytics.android.core.NativeFileUtils.readFile(new com.crashlytics.android.core.MetaDataStore(this.getFilesDir()).getKeysFileForSession(p13));
            java.io.File v8_3 = new java.io.File(this.fileStore.getFilesDir(), p13);
            if (v8_3.mkdir()) {
                this.gzipIfNotEmpty(v0_0, new java.io.File(v8_3, "minidump"));
                this.gzipIfNotEmpty(v1_1, new java.io.File(v8_3, "metadata"));
                this.gzipIfNotEmpty(v11_2, new java.io.File(v8_3, "binaryImages"));
                this.gzipIfNotEmpty(v12_3, new java.io.File(v8_3, "session"));
                this.gzipIfNotEmpty(v2_1, new java.io.File(v8_3, "app"));
                this.gzipIfNotEmpty(v3_1, new java.io.File(v8_3, "device"));
                this.gzipIfNotEmpty(v4_1, new java.io.File(v8_3, "os"));
                this.gzipIfNotEmpty(v5_3, new java.io.File(v8_3, "user"));
                this.gzipIfNotEmpty(v7_2, new java.io.File(v8_3, "logs"));
                this.gzipIfNotEmpty(v6_6, new java.io.File(v8_3, "keys"));
                return;
            } else {
                io.fabric.sdk.android.Fabric.getLogger().d("CrashlyticsCore", "Couldn\'t create native sessions directory");
                return;
            }
        } else {
            java.io.File v11_1 = io.fabric.sdk.android.Fabric.getLogger();
            String v0_2 = new StringBuilder();
            v0_2.append("No minidump data found in directory ");
            v0_2.append(p12);
            v11_1.w("CrashlyticsCore", v0_2.toString());
            return;
        }
    }

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


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

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


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

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


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

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


    private java.io.File getLibraryFile(String p2)
    {
        java.io.File v0_1 = new java.io.File(p2);
        if (!v0_1.exists()) {
            v0_1 = this.correctDataPath(v0_1);
        }
        return v0_1;
    }

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


    private java.io.File correctDataPath(java.io.File p5)
    {
        if (android.os.Build$VERSION.SDK_INT >= 9) {
            if (p5.getAbsolutePath().startsWith("/data")) {
                try {
                    p5 = new java.io.File(this.context.getPackageManager().getApplicationInfo(this.context.getPackageName(), 0).nativeLibraryDir, p5.getName());
                } catch (android.content.pm.PackageManager$NameNotFoundException v0_4) {
                    io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error getting ApplicationInfo", v0_4);
                }
            }
            return p5;
        } else {
            return p5;
        }
    }

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


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

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


    public static java.io.File getTempFile(android.content.Context p5)
    {
        String v0_1 = new StringBuilder();
        v0_1.append(".font");
        v0_1.append(android.os.Process.myPid());
        v0_1.append("-");
        v0_1.append(android.os.Process.myTid());
        v0_1.append("-");
        String v0_2 = v0_1.toString();
        int v1_2 = 0;
        while (v1_2 < 100) {
            boolean v3_0 = p5.getCacheDir();
            String v4_1 = new StringBuilder();
            v4_1.append(v0_2);
            v4_1.append(v1_2);
            java.io.File v2_2 = new java.io.File(v3_0, v4_1.toString());
            try {
                if (!v2_2.createNewFile()) {
                    v1_2++;
                } else {
                    return v2_2;
                }
            } catch (java.io.IOException) {
            }
        }
        return 0;
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


    static java.util.List load(android.content.Context p14, java.io.File p15, java.io.File p16, String p17, boolean p18)
    {
        String v3_11 = new StringBuilder();
        v3_11.append("MultiDexExtractor.load(");
        v3_11.append(p15.getPath());
        v3_11.append(", ");
        v3_11.append(p18);
        v3_11.append(", ");
        v3_11.append(p17);
        v3_11.append(")");
        android.util.Log.i("MultiDex", v3_11.toString());
        long v5 = android.support.multidex.MultiDexExtractor.getZipCrc(p15);
        java.io.File v8_1 = new java.io.File(p16, "MultiDex.lock");
        java.io.RandomAccessFile v9_1 = new java.io.RandomAccessFile(v8_1, "rw");
        try {
            int v11 = v9_1.getChannel();
            try {
                String v4_6 = new StringBuilder();
                v4_6.append("Blocking on lock ");
                v4_6.append(v8_1.getPath());
                android.util.Log.i("MultiDex", v4_6.toString());
                int v12 = v11.lock();
                try {
                    android.content.Context v1_1;
                    String v4_10 = new StringBuilder();
                    v4_10.append(v8_1.getPath());
                    v4_10.append(" locked");
                    android.util.Log.i("MultiDex", v4_10.toString());
                } catch (String v0_3) {
                    if (v12 != 0) {
                        try {
                            v12.release();
                        } catch (java.io.IOException) {
                            String v2_2 = new StringBuilder();
                            v2_2.append("Failed to release lock on ");
                            v2_2.append(v8_1.getPath());
                            android.util.Log.e("MultiDex", v2_2.toString());
                        }
                    }
                    if (v11 != 0) {
                        android.support.multidex.MultiDexExtractor.closeQuietly(v11);
                    }
                    android.support.multidex.MultiDexExtractor.closeQuietly(v9_1);
                    throw v0_3;
                }
                if (p18) {
                    String v4 = p15;
                    android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
                    String v0_6 = android.support.multidex.MultiDexExtractor.performExtractions(p15, p16);
                    android.support.multidex.MultiDexExtractor.putStoredApkInfo(p14, p17, android.support.multidex.MultiDexExtractor.getTimeStamp(p15), v5, v0_6);
                    v1_1 = v0_6;
                } else {
                    v4 = p15;
                    if (android.support.multidex.MultiDexExtractor.isModified(p14, p15, v5, p17)) {
                    } else {
                        try {
                            String v0_7 = android.support.multidex.MultiDexExtractor.loadExistingExtractions(p14, p15, p16, p17);
                        } catch (String v0_8) {
                            android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v0_8);
                            v0_7 = android.support.multidex.MultiDexExtractor.performExtractions(p15, p16);
                            android.support.multidex.MultiDexExtractor.putStoredApkInfo(p14, p17, android.support.multidex.MultiDexExtractor.getTimeStamp(p15), v5, v0_7);
                        }
                        v1_1 = v0_7;
                    }
                }
                if (v12 == 0) {
                    String v0_1 = 0;
                } else {
                    try {
                        v12.release();
                    } catch (String v0_1) {
                        String v3_3 = new StringBuilder();
                        v3_3.append("Failed to release lock on ");
                        v3_3.append(v8_1.getPath());
                        android.util.Log.e("MultiDex", v3_3.toString());
                    }
                }
                if (v11 != 0) {
                    android.support.multidex.MultiDexExtractor.closeQuietly(v11);
                }
                android.support.multidex.MultiDexExtractor.closeQuietly(v9_1);
                if (v0_1 != null) {
                    throw v0_1;
                } else {
                    String v2_6 = new StringBuilder();
                    v2_6.append("load found ");
                    v2_6.append(v1_1.size());
                    v2_6.append(" secondary dex files");
                    android.util.Log.i("MultiDex", v2_6.toString());
                    return v1_1;
                }
            } catch (String v0_3) {
                v12 = 0;
            }
        } catch (String v0_3) {
            v11 = 0;
            v12 = 0;
        }
    }

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

Method com.google.common.io.Files.map() calling method java.io.RandomAccessFile.<init>()


    public static java.nio.MappedByteBuffer map(java.io.File p3, java.nio.channels.FileChannel$MapMode p4, long p5)
    {
        com.google.common.base.Preconditions.checkNotNull(p3);
        com.google.common.base.Preconditions.checkNotNull(p4);
        com.google.common.io.Closer v0 = com.google.common.io.Closer.create();
        try {
            String v2_1;
            if (p4 != java.nio.channels.FileChannel$MapMode.READ_ONLY) {
                v2_1 = "rw";
            } else {
                v2_1 = "r";
            }
        } catch (java.nio.MappedByteBuffer v3_2) {
            v0.close();
            throw v3_2;
        } catch (java.nio.MappedByteBuffer v3_6) {
            throw v0.rethrow(v3_6);
        }
        java.nio.MappedByteBuffer v3_5 = com.google.common.io.Files.map(((java.io.RandomAccessFile) v0.register(new java.io.RandomAccessFile(p3, v2_1))), p4, p5);
        v0.close();
        return v3_5;
    }

Method com.facebook.soloader.UnpackingSoSource.writeState() calling method java.io.RandomAccessFile.<init>()


    private static void writeState(java.io.File p3, byte p4)
    {
        Throwable v0_1 = new java.io.RandomAccessFile(p3, "rw");
        Throwable v3_1 = 0;
        try {
            v0_1.seek(0);
            v0_1.write(p4);
            v0_1.setLength(v0_1.getFilePointer());
            v0_1.getFD().sync();
            v0_1.close();
            return;
        } catch (Throwable v4_2) {
            if (v3_1 == null) {
                v0_1.close();
            } else {
                try {
                    v0_1.close();
                } catch (Throwable v0_2) {
                    v3_1.addSuppressed(v0_2);
                }
            }
            throw v4_2;
        } catch (Throwable v3_1) {
            throw v3_1;
        }
    }

Method com.facebook.soloader.UnpackingSoSource.regenerate() calling method java.io.RandomAccessFile.<init>()


    private void regenerate(byte p11, com.facebook.soloader.UnpackingSoSource$DsoManifest p12, com.facebook.soloader.UnpackingSoSource$InputDsoIterator p13)
    {
        Throwable v11_3;
        java.io.RandomAccessFile v1_5 = new StringBuilder();
        v1_5.append("regenerating DSO store ");
        v1_5.append(this.getClass().getName());
        android.util.Log.v("fb-UnpackingSoSource", v1_5.toString());
        java.io.RandomAccessFile v1_4 = new java.io.RandomAccessFile(new java.io.File(this.soDirectory, "dso_manifest"), "rw");
        Throwable v2_0 = 0;
        try {
            if (p11 != 1) {
                v11_3 = 0;
            } else {
                try {
                    v11_3 = com.facebook.soloader.UnpackingSoSource$DsoManifest.read(v1_4);
                } catch (Throwable v11_4) {
                    android.util.Log.i("fb-UnpackingSoSource", "error reading existing DSO manifest", v11_4);
                }
            }
        } catch (Throwable v11_2) {
            if (v2_0 == null) {
                v1_4.close();
            } else {
                try {
                    v1_4.close();
                } catch (Throwable v12_1) {
                    v2_0.addSuppressed(v12_1);
                }
            }
            throw v11_2;
        } catch (Throwable v11_1) {
            v2_0 = v11_1;
            throw v2_0;
        }
        if (v11_3 == null) {
            com.facebook.soloader.UnpackingSoSource$InputDso v4_1 = new com.facebook.soloader.UnpackingSoSource$Dso[0];
            v11_3 = new com.facebook.soloader.UnpackingSoSource$DsoManifest(v4_1);
        }
        this.deleteUnmentionedFiles(p12.dsos);
        Throwable v12_4 = new byte[32768];
        while (p13.hasNext()) {
            com.facebook.soloader.UnpackingSoSource$InputDso v4_3 = p13.next();
            int v5 = 1;
            int v6 = 0;
            while ((v5 != 0) && (v6 < v11_3.dsos.length)) {
                if ((v11_3.dsos[v6].name.equals(v4_3.dso.name)) && (v11_3.dsos[v6].hash.equals(v4_3.dso.hash))) {
                    v5 = 0;
                }
                v6++;
            }
            if (v5 != 0) {
                this.extractDso(v4_3, v12_4);
            }
            if (v4_3 != null) {
                v4_3.close();
            }
            if (v4_3 != null) {
                if (Throwable v12_8 == null) {
                    v4_3.close();
                } else {
                    try {
                        v4_3.close();
                    } catch (Throwable v13_4) {
                        v12_8.addSuppressed(v13_4);
                    }
                }
            }
            throw Throwable v11_7;
        }
        v1_4.close();
        Throwable v12_6 = new StringBuilder();
        v12_6.append("Finished regenerating DSO store ");
        v12_6.append(this.getClass().getName());
        android.util.Log.v("fb-UnpackingSoSource", v12_6.toString());
        return;
    }

Method com.facebook.soloader.UnpackingSoSource.refreshLocked() calling method java.io.RandomAccessFile.<init>()


    private boolean refreshLocked(com.facebook.soloader.FileLocker p12, int p13, byte[] p14)
    {
        java.io.File v5_1 = new java.io.File(this.soDirectory, "dso_state");
        com.facebook.soloader.UnpackingSoSource$1 v0_6 = new java.io.RandomAccessFile(v5_1, "rw");
        com.facebook.soloader.UnpackingSoSource v1_0 = 0;
        try {
            byte[] v3_0 = v0_6.readByte();
        } catch (Throwable v12_8) {
            if (v1_0 == null) {
                v0_6.close();
            } else {
                try {
                    v0_6.close();
                } catch (Throwable v13_6) {
                    v1_0.addSuppressed(v13_6);
                }
            }
            throw v12_8;
        } catch (java.io.EOFException) {
            v3_0 = 0;
            v0_6.close();
            com.facebook.soloader.UnpackingSoSource$DsoManifest v4_5 = new java.io.File(this.soDirectory, "dso_deps");
            com.facebook.soloader.UnpackingSoSource$1 v0_5 = new java.io.RandomAccessFile(v4_5, "rw");
            try {
                Throwable v6_7 = new byte[((int) v0_5.length())];
            } catch (Throwable v12_3) {
                if (v1_0 == null) {
                    v0_5.close();
                } else {
                    try {
                        v0_5.close();
                    } catch (Throwable v13_2) {
                        v1_0.addSuppressed(v13_2);
                    }
                }
                throw v12_3;
            } catch (Throwable v12_2) {
                v1_0 = v12_2;
                throw v1_0;
            }
            if (v0_5.read(v6_7) != v6_7.length) {
                android.util.Log.v("fb-UnpackingSoSource", "short read of so store deps file: marking unclean");
                v3_0 = 0;
            }
            if (!java.util.Arrays.equals(v6_7, p14)) {
                android.util.Log.v("fb-UnpackingSoSource", "deps mismatch on deps store: regenerating");
                v3_0 = 0;
            }
            com.facebook.soloader.UnpackingSoSource$DsoManifest v8_3;
            if (v3_0 == null) {
                android.util.Log.v("fb-UnpackingSoSource", "so store dirty: regenerating");
                com.facebook.soloader.UnpackingSoSource.writeState(v5_1, 0);
                Throwable v6_12 = this.makeUnpacker();
                try {
                    v8_3 = v6_12.getDsoManifest();
                    com.facebook.soloader.UnpackingSoSource$1 v9_2 = v6_12.openDsoIterator();
                    try {
                        this.regenerate(v3_0, v8_3, v9_2);
                    } catch (Throwable v12_10) {
                        Throwable v13_8 = 0;
                        if (v9_2 != null) {
                            if (v13_8 == null) {
                                v9_2.close();
                            } else {
                                try {
                                    v9_2.close();
                                } catch (Throwable v14_5) {
                                    v13_8.addSuppressed(v14_5);
                                }
                            }
                        }
                        throw v12_10;
                    } catch (Throwable v12_9) {
                        try {
                            throw v12_9;
                        } catch (Throwable v13_7) {
                            v13_8 = v12_9;
                            v12_10 = v13_7;
                        }
                    }
                    if (v9_2 != null) {
                        v9_2.close();
                    }
                    if (v6_12 != null) {
                        v6_12.close();
                    }
                } catch (Throwable v12_1) {
                    Throwable v13_1 = 0;
                    if (v6_12 != null) {
                        if (v13_1 == null) {
                            v6_12.close();
                        } else {
                            try {
                                v6_12.close();
                            } catch (Throwable v14_1) {
                                v13_1.addSuppressed(v14_1);
                            }
                        }
                    }
                    throw v12_1;
                } catch (Throwable v12_11) {
                    try {
                        throw v12_11;
                    } catch (Throwable v13_9) {
                        v13_1 = v12_11;
                        v12_1 = v13_9;
                    }
                }
            } else {
                if ((p13 & 2) == 0) {
                    v8_3 = 0;
                } else {
                }
            }
            v0_5.close();
            if (v8_3 != null) {
                com.facebook.soloader.UnpackingSoSource$1 v9_0 = new com.facebook.soloader.UnpackingSoSource$1;
                v9_0(this, v4_5, p14, v8_3, v5_1, p12);
                if ((p13 & 1) == 0) {
                    v9_0.run();
                } else {
                    Throwable v13_4 = new StringBuilder();
                    v13_4.append("SoSync:");
                    v13_4.append(this.soDirectory.getName());
                    new Thread(v9_0, v13_4.toString()).start();
                }
                return 1;
            } else {
                return 0;
            }
        } catch (Throwable v12_4) {
            v1_0 = v12_4;
            throw v1_0;
        }
        if (v3_0 == 1) {
        } else {
            com.facebook.soloader.UnpackingSoSource$DsoManifest v4_2 = new StringBuilder();
            v4_2.append("dso store ");
            v4_2.append(this.soDirectory);
            v4_2.append(" regeneration interrupted: wiping clean");
            android.util.Log.v("fb-UnpackingSoSource", v4_2.toString());
            v3_0 = 0;
        }
    }

Method com.facebook.soloader.UnpackingSoSource.extractDso() calling method java.io.RandomAccessFile.<init>()


    private void extractDso(com.facebook.soloader.UnpackingSoSource$InputDso p8, byte[] p9)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("extracting DSO ");
        v1_2.append(p8.dso.name);
        android.util.Log.i("fb-UnpackingSoSource", v1_2.toString());
        if (!this.soDirectory.setWritable(1, 1)) {
            String v9_2 = new StringBuilder();
            v9_2.append("cannot make directory writable for us: ");
            v9_2.append(this.soDirectory);
            throw new java.io.IOException(v9_2.toString());
        } else {
            java.io.File v0_6 = new java.io.File(this.soDirectory, p8.dso.name);
            try {
                java.io.RandomAccessFile v2_3 = new java.io.RandomAccessFile(v0_6, "rw");
                try {
                    int v3_6 = p8.content.available();
                } catch (java.io.IOException v8_10) {
                    v2_3.close();
                    throw v8_10;
                } catch (java.io.IOException v8_9) {
                    com.facebook.soloader.SysUtil.dumbDeleteRecursive(v0_6);
                    throw v8_9;
                }
                if (v3_6 > 1) {
                    com.facebook.soloader.SysUtil.fallocateIfSupported(v2_3.getFD(), ((long) v3_6));
                }
                com.facebook.soloader.SysUtil.copyBytes(v2_3, p8.content, 2147483647, p9);
                v2_3.setLength(v2_3.getFilePointer());
                if (!v0_6.setExecutable(1, 0)) {
                    String v9_5 = new StringBuilder();
                    v9_5.append("cannot make file executable: ");
                    v9_5.append(v0_6);
                    throw new java.io.IOException(v9_5.toString());
                } else {
                    v2_3.close();
                    return;
                }
            } catch (java.io.RandomAccessFile v2_4) {
                java.io.FileDescriptor v4_1 = new StringBuilder();
                v4_1.append("error overwriting ");
                v4_1.append(v0_6);
                v4_1.append(" trying to delete and start over");
                android.util.Log.w("fb-UnpackingSoSource", v4_1.toString(), v2_4);
                com.facebook.soloader.SysUtil.dumbDeleteRecursive(v0_6);
                v2_3 = new java.io.RandomAccessFile(v0_6, "rw");
            }
        }
    }

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


    private final boolean zzli()
    {
        this.zzab();
        try {
            this.zzasi = new java.io.RandomAccessFile(new java.io.File(this.zzacv.getContext().getFilesDir(), "google_app_measurement.db"), "rw").getChannel();
            this.zzash = this.zzasi.tryLock();
        } catch (int v0_13) {
            String v1_7 = this.zzacv.zzgi().zziv();
            String v2_0 = "Failed to acquire storage lock";
            v1_7.zzg(v2_0, v0_13);
            return 0;
        } catch (int v0_13) {
            v1_7 = this.zzacv.zzgi().zziv();
            v2_0 = "Failed to access storage lock file";
        }
        if (this.zzash == null) {
            this.zzacv.zzgi().zziv().log("Storage concurrent data access panic");
            return 0;
        } else {
            this.zzacv.zzgi().zzjc().log("Storage concurrent access okay");
            return 1;
        }
    }

Method com.facebook.soloader.UnpackingSoSource$1.run() calling method java.io.RandomAccessFile.<init>()


    public void run()
    {
        try {
            android.util.Log.v("fb-UnpackingSoSource", "starting syncer worker");
            com.facebook.soloader.FileLocker v0_12 = new java.io.RandomAccessFile(this.val$depsFileName, "rw");
            String v1_1 = 0;
            try {
                v0_12.write(this.val$deps);
                v0_12.setLength(v0_12.getFilePointer());
            } catch (Throwable v2_1) {
                if (v1_1 == null) {
                    v0_12.close();
                } else {
                    try {
                        v0_12.close();
                    } catch (com.facebook.soloader.FileLocker v0_1) {
                        v1_1.addSuppressed(v0_1);
                    }
                }
                throw v2_1;
            } catch (String v1_1) {
                throw v1_1;
            }
            v0_12.close();
            Throwable v2_5 = new java.io.RandomAccessFile(new java.io.File(this.this$0.soDirectory, "dso_manifest"), "rw");
            try {
                this.val$manifest.write(v2_5);
            } catch (com.facebook.soloader.FileLocker v0_7) {
                if (v1_1 == null) {
                    v2_5.close();
                } else {
                    try {
                        v2_5.close();
                    } catch (Throwable v2_6) {
                        v1_1.addSuppressed(v2_6);
                    }
                }
                throw v0_7;
            } catch (com.facebook.soloader.FileLocker v0_6) {
                v1_1 = v0_6;
                throw v1_1;
            }
            v2_5.close();
            com.facebook.soloader.SysUtil.fsyncRecursive(this.this$0.soDirectory);
            com.facebook.soloader.UnpackingSoSource.access$000(this.val$stateFileName, 1);
            String v1_7 = new StringBuilder();
            v1_7.append("releasing dso store lock for ");
            v1_7.append(this.this$0.soDirectory);
            v1_7.append(" (from syncer thread)");
            android.util.Log.v("fb-UnpackingSoSource", v1_7.toString());
            this.val$lock.close();
            return;
        } catch (com.facebook.soloader.FileLocker v0_11) {
            Throwable v2_9 = new StringBuilder();
            v2_9.append("releasing dso store lock for ");
            v2_9.append(this.this$0.soDirectory);
            v2_9.append(" (from syncer thread)");
            android.util.Log.v("fb-UnpackingSoSource", v2_9.toString());
            this.val$lock.close();
            throw v0_11;
        } catch (com.facebook.soloader.FileLocker v0_15) {
            throw new RuntimeException(v0_15);
        }
    }

Method com.facebook.soloader.SysUtil.fsyncRecursive() calling method java.io.RandomAccessFile.<init>()


    static void fsyncRecursive(java.io.File p3)
    {
        if (!p3.isDirectory()) {
            if (!p3.getPath().endsWith("_lock")) {
                Throwable v0_1 = new java.io.RandomAccessFile(p3, "r");
                Throwable v3_1 = 0;
                try {
                    v0_1.getFD().sync();
                    v0_1.close();
                } catch (Throwable v1_2) {
                    if (v3_1 == null) {
                        v0_1.close();
                    } else {
                        try {
                            v0_1.close();
                        } catch (Throwable v0_2) {
                            v3_1.addSuppressed(v0_2);
                        }
                    }
                    throw v1_2;
                } catch (Throwable v3_1) {
                    throw v3_1;
                }
            }
        } else {
            Throwable v0_3 = p3.listFiles();
            if (v0_3 == null) {
                Throwable v1_4 = new StringBuilder();
                v1_4.append("cannot list directory ");
                v1_4.append(p3);
                throw new java.io.IOException(v1_4.toString());
            } else {
                Throwable v3_3 = 0;
                while (v3_3 < v0_3.length) {
                    com.facebook.soloader.SysUtil.fsyncRecursive(v0_3[v3_3]);
                    v3_3++;
                }
            }
        }
        return;
    }

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


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

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


    static java.util.List load(android.content.Context p14, java.io.File p15, java.io.File p16, String p17, boolean p18)
    {
        String v3_11 = new StringBuilder();
        v3_11.append("MultiDexExtractor.load(");
        v3_11.append(p15.getPath());
        v3_11.append(", ");
        v3_11.append(p18);
        v3_11.append(", ");
        v3_11.append(p17);
        v3_11.append(")");
        android.util.Log.i("MultiDex", v3_11.toString());
        long v5 = android.support.multidex.MultiDexExtractor.getZipCrc(p15);
        java.io.File v8_1 = new java.io.File(p16, "MultiDex.lock");
        java.io.RandomAccessFile v9_1 = new java.io.RandomAccessFile(v8_1, "rw");
        try {
            int v11 = v9_1.getChannel();
            try {
                String v4_6 = new StringBuilder();
                v4_6.append("Blocking on lock ");
                v4_6.append(v8_1.getPath());
                android.util.Log.i("MultiDex", v4_6.toString());
                int v12 = v11.lock();
                try {
                    android.content.Context v1_1;
                    String v4_10 = new StringBuilder();
                    v4_10.append(v8_1.getPath());
                    v4_10.append(" locked");
                    android.util.Log.i("MultiDex", v4_10.toString());
                } catch (String v0_3) {
                    if (v12 != 0) {
                        try {
                            v12.release();
                        } catch (java.io.IOException) {
                            String v2_2 = new StringBuilder();
                            v2_2.append("Failed to release lock on ");
                            v2_2.append(v8_1.getPath());
                            android.util.Log.e("MultiDex", v2_2.toString());
                        }
                    }
                    if (v11 != 0) {
                        android.support.multidex.MultiDexExtractor.closeQuietly(v11);
                    }
                    android.support.multidex.MultiDexExtractor.closeQuietly(v9_1);
                    throw v0_3;
                }
                if (p18) {
                    String v4 = p15;
                    android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
                    String v0_6 = android.support.multidex.MultiDexExtractor.performExtractions(p15, p16);
                    android.support.multidex.MultiDexExtractor.putStoredApkInfo(p14, p17, android.support.multidex.MultiDexExtractor.getTimeStamp(p15), v5, v0_6);
                    v1_1 = v0_6;
                } else {
                    v4 = p15;
                    if (android.support.multidex.MultiDexExtractor.isModified(p14, p15, v5, p17)) {
                    } else {
                        try {
                            String v0_7 = android.support.multidex.MultiDexExtractor.loadExistingExtractions(p14, p15, p16, p17);
                        } catch (String v0_8) {
                            android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v0_8);
                            v0_7 = android.support.multidex.MultiDexExtractor.performExtractions(p15, p16);
                            android.support.multidex.MultiDexExtractor.putStoredApkInfo(p14, p17, android.support.multidex.MultiDexExtractor.getTimeStamp(p15), v5, v0_7);
                        }
                        v1_1 = v0_7;
                    }
                }
                if (v12 == 0) {
                    String v0_1 = 0;
                } else {
                    try {
                        v12.release();
                    } catch (String v0_1) {
                        String v3_3 = new StringBuilder();
                        v3_3.append("Failed to release lock on ");
                        v3_3.append(v8_1.getPath());
                        android.util.Log.e("MultiDex", v3_3.toString());
                    }
                }
                if (v11 != 0) {
                    android.support.multidex.MultiDexExtractor.closeQuietly(v11);
                }
                android.support.multidex.MultiDexExtractor.closeQuietly(v9_1);
                if (v0_1 != null) {
                    throw v0_1;
                } else {
                    String v2_6 = new StringBuilder();
                    v2_6.append("load found ");
                    v2_6.append(v1_1.size());
                    v2_6.append(" secondary dex files");
                    android.util.Log.i("MultiDex", v2_6.toString());
                    return v1_1;
                }
            } catch (String v0_3) {
                v12 = 0;
            }
        } catch (String v0_3) {
            v11 = 0;
            v12 = 0;
        }
    }

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


    public final void run()
    {
        java.io.IOException v0_1 = new com.google.android.gms.internal.config.zzaw();
        String v1_5 = this.zzat;
        if (v1_5 != null) {
            v0_1.zzbp = com.google.android.gms.internal.config.zzan.zza(v1_5);
        }
        String v1_18 = this.zzau;
        if (v1_18 != null) {
            v0_1.zzbq = com.google.android.gms.internal.config.zzan.zza(v1_18);
        }
        String v1_1 = this.zzav;
        if (v1_1 != null) {
            v0_1.zzbr = com.google.android.gms.internal.config.zzan.zza(v1_1);
        }
        if (this.zzaj != null) {
            String v1_6 = new com.google.android.gms.internal.config.zzau();
            v1_6.zzbk = this.zzaj.getLastFetchStatus();
            v1_6.zzbl = this.zzaj.isDeveloperModeEnabled();
            v0_1.zzbs = v1_6;
        }
        String v1_7 = this.zzaj;
        if ((v1_7 != null) && (v1_7.zzr() != null)) {
            String v1_10 = new java.util.ArrayList();
            String v2_5 = this.zzaj.zzr();
            java.util.Iterator v3_1 = v2_5.keySet().iterator();
            while (v3_1.hasNext()) {
                int v4_2 = ((String) v3_1.next());
                if (v2_5.get(v4_2) != null) {
                    com.google.android.gms.internal.config.zzax v5_2 = new com.google.android.gms.internal.config.zzax();
                    v5_2.namespace = v4_2;
                    v5_2.zzbv = ((com.google.android.gms.internal.config.zzal) v2_5.get(v4_2)).zzo();
                    v5_2.resourceId = ((com.google.android.gms.internal.config.zzal) v2_5.get(v4_2)).getResourceId();
                    v1_10.add(v5_2);
                }
            }
            String v2_7 = new com.google.android.gms.internal.config.zzax[v1_10.size()];
            v0_1.zzbt = ((com.google.android.gms.internal.config.zzax[]) v1_10.toArray(v2_7));
        }
        String v1_15 = new byte[v0_1.zzah()];
        try {
            String v2_9 = com.google.android.gms.internal.config.zzaz.zzb(v1_15, 0, v1_15.length);
            v0_1.zza(v2_9);
            v2_9.zzac();
            try {
                java.io.IOException v0_4 = this.mContext.openFileOutput("persisted_config", 0);
                v0_4.write(v1_15);
                v0_4.close();
                return;
            } catch (java.io.IOException v0_5) {
                android.util.Log.e("AsyncPersisterTask", "Could not persist config.", v0_5);
                return;
            }
        } catch (java.io.IOException v0_2) {
            throw new RuntimeException("Serializing to a byte array threw an IOException (should never happen).", v0_2);
        }
        v0_4 = this.mContext.openFileOutput("persisted_config", 0);
        v0_4.write(v1_15);
        v0_4.close();
        return;
    }

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


    static void saveAppSessionInformation(android.content.Context p6)
    {
        try {
            if (com.facebook.appevents.AppEventsLogger$PersistedAppSessionInfo.hasChanges) {
                String v1_2 = 0;
                try {
                    String v2_0 = new java.io.ObjectOutputStream(new java.io.BufferedOutputStream(p6.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");
                    } catch (Exception v6_6) {
                        v1_2 = v2_0;
                        com.facebook.internal.Utility.closeQuietly(v1_2);
                        throw v6_6;
                    } catch (Exception v6_1) {
                        v1_2 = v2_0;
                        String v2_1 = com.facebook.appevents.AppEventsLogger.access$200();
                        StringBuilder v3_3 = new StringBuilder();
                        v3_3.append("Got unexpected exception while writing app session info: ");
                        v3_3.append(v6_1.toString());
                        android.util.Log.w(v2_1, v3_3.toString());
                        com.facebook.internal.Utility.closeQuietly(v1_2);
                    }
                    com.facebook.internal.Utility.closeQuietly(v2_0);
                } catch (Exception v6_6) {
                } catch (Exception v6_1) {
                }
            }
        } catch (Exception v6_7) {
            throw v6_7;
        }
        return;
    }

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


    private static void saveEventsToDisk(com.facebook.appevents.PersistedEvents p6)
    {
        android.content.Context v0 = com.facebook.FacebookSdk.getApplicationContext();
        String v1 = 0;
        try {
            String v2_0 = new java.io.ObjectOutputStream(new java.io.BufferedOutputStream(v0.openFileOutput("AppEventsLogger.persistedevents", 0)));
            try {
                v2_0.writeObject(p6);
                com.facebook.internal.Utility.closeQuietly(v2_0);
            } catch (java.io.File v6_4) {
                v1 = v2_0;
                com.facebook.internal.Utility.closeQuietly(v1);
                throw v6_4;
            } catch (java.io.File v6_1) {
                v1 = v2_0;
                android.util.Log.w(com.facebook.appevents.AppEventStore.TAG, "Got unexpected exception while persisting events: ", v6_1);
                try {
                    v0.getFileStreamPath("AppEventsLogger.persistedevents").delete();
                } catch (Exception) {
                }
                com.facebook.internal.Utility.closeQuietly(v1);
            }
            return;
        } catch (java.io.File v6_4) {
        } catch (java.io.File v6_1) {
        }
    }

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

Couldn't retrieve source code

Method io.invertase.firebase.storage.RNFirebaseStorage.getURI() calling method java.io.File.<init>()


    private android.net.Uri getURI(String p3)
    {
        java.io.File v0_0 = android.net.Uri.parse(p3);
        if ((v0_0.getScheme() != null) && (!v0_0.getScheme().isEmpty())) {
            return v0_0;
        } else {
            return android.net.Uri.fromFile(new java.io.File(p3));
        }
    }