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.rnfs.RNFSManager.writeFile() calling method java.io.FileOutputStream.<init>()


    public void writeFile(String p3, String p4, com.facebook.react.bridge.Promise p5)
    {
        try {
            Exception v4_1 = android.util.Base64.decode(p4, 0);
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p3, 0);
            v1_1.write(v4_1);
            v1_1.close();
            p5.a(0);
        } catch (Exception v4_3) {
            v4_3.printStackTrace();
            this.reject(p5, p3, v4_3);
        }
        return;
    }

Method com.rnfs.RNFSManager.write() calling method java.io.FileOutputStream.<init>()


    public void write(String p4, String p5, int p6, com.facebook.react.bridge.Promise p7)
    {
        try {
            int v5_3 = android.util.Base64.decode(p5, 0);
        } catch (int v5_1) {
            v5_1.printStackTrace();
            this.reject(p7, p4, v5_1);
            return;
        }
        if (p6 >= null) {
            java.io.RandomAccessFile v0_3 = new java.io.RandomAccessFile(p4, "rw");
            v0_3.seek(((long) p6));
            v0_3.write(v5_3);
            v0_3.close();
        } else {
            java.io.FileOutputStream v6_2 = new java.io.FileOutputStream(p4, 1);
            v6_2.write(v5_3);
            v6_2.close();
        }
        p7.a(0);
        return;
    }

Method com.rnfs.RNFSManager.appendFile() calling method java.io.FileOutputStream.<init>()


    public void appendFile(String p3, String p4, com.facebook.react.bridge.Promise p5)
    {
        try {
            Exception v4_2 = android.util.Base64.decode(p4, 0);
            java.io.FileOutputStream v0_2 = new java.io.FileOutputStream(p3, 1);
            v0_2.write(v4_2);
            v0_2.close();
            p5.a(0);
        } catch (Exception v4_1) {
            v4_1.printStackTrace();
            this.reject(p5, p3, v4_1);
        }
        return;
    }

Method com.rnfs.RNFSManager.copyInputStream() calling method java.io.FileOutputStream.<init>()

Couldn't retrieve source code

Method com.rnfs.RNFSManager.copyFile() calling method java.io.FileOutputStream.<init>()


    private void copyFile(String p4, String p5)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        java.io.FileOutputStream v4_2 = new java.io.FileOutputStream(p5);
        byte[] v5_2 = new byte[1024];
        while(true) {
            int v1 = v0_1.read(v5_2);
            if (v1 <= 0) {
                break;
            }
            v4_2.write(v5_2, 0, v1);
        }
        v0_1.close();
        v4_2.close();
        return;
    }

Method com.reactlibrary.RNReactNativeDocViewerModule.downloadFile() calling method java.io.FileOutputStream.<init>()


    private java.io.File downloadFile(String p19, String p20, Boolean p21, String p22, byte[] p23, com.facebook.react.bridge.Callback p24)
    {
        String v2_0 = p20;
        byte[] v4_3 = p22;
        try {
            java.io.PrintStream v10_1 = this.getReactApplicationContext().getBaseContext().getCacheDir();
        } catch (java.io.IOException v0_7) {
            v0_7.printStackTrace();
            java.io.PrintStream v1_14 = new Object[1];
            v1_14[0] = Integer.valueOf(2);
            p24.a(v1_14);
            return 0;
        } catch (java.io.IOException v0_6) {
            v0_6.printStackTrace();
            java.io.PrintStream v1_12 = new Object[1];
            v1_12[0] = Integer.valueOf(1);
            p24.a(v1_12);
            return 0;
        }
        if (p23.length <= 0) {
            int v5_2 = android.webkit.MimeTypeMap.getFileExtensionFromUrl(p19);
            long v12_7 = new StringBuilder();
            v12_7.append("Extensions DownloadFile ");
            v12_7.append(v5_2);
            System.out.println(v12_7.toString());
            if ((v5_2.equals("")) && (p22.equals(""))) {
                v5_2 = "pdf";
                long v12_10 = new StringBuilder();
                v12_10.append("extension (default): ");
                v12_10.append("pdf");
                System.out.println(v12_10.toString());
            }
            if ((p22 == "") || (!v5_2.equals(""))) {
                v4_3 = v5_2;
            } else {
                int v11_11 = new StringBuilder();
                v11_11.append("extension (default): ");
                v11_11.append(p22);
                System.out.println(v11_11.toString());
            }
            if (p20.indexOf("\\.") == -1) {
                int v5_8 = new StringBuilder();
                v5_8.append(p20);
                v5_8.append(46);
                v5_8.append(v4_3);
                v2_0 = v5_8.toString();
            }
            if ((p21 != null) && (p21.booleanValue())) {
                int v5_11 = new java.io.File(v10_1, v2_0);
                if (v5_11.exists()) {
                    return v5_11;
                }
            }
            int v5_13;
            int v5_12 = android.webkit.CookieManager.getInstance();
            if (v5_12.getCookie(p19) == null) {
                v5_13 = 0;
            } else {
                v5_13 = v5_12.getCookie(p19).toString();
            }
            java.io.PrintStream v1_16 = ((java.net.HttpURLConnection) new java.net.URL(p19).openConnection());
            int v11_18 = v1_16.getContentLength();
            if (v5_13 != 0) {
                v1_16.setRequestProperty("Cookie", v5_13);
            }
            java.io.File v3_4;
            java.io.PrintStream v1_1 = v1_16.getInputStream();
            if ((p21 == null) || (!p21.booleanValue())) {
                java.io.File v3_2 = new StringBuilder();
                v3_2.append(".");
                v3_2.append(v4_3);
                v3_4 = java.io.File.createTempFile("PP_", v3_2.toString(), v10_1);
            } else {
                v3_4 = new java.io.File(v10_1, v2_0);
            }
            v3_4.setReadable(1, 0);
            System.out.println(v3_4.getPath());
            String v2_4 = new java.io.FileOutputStream(v3_4);
            byte[] v4_2 = new byte[4096];
            long v12_1 = 0;
            int v5_1 = v1_1.read(v4_2);
            while (v5_1 > 0) {
                long v16 = (v12_1 + ((long) v5_1));
                if (v11_18 > 0) {
                    System.out.println(((int) ((100 * v16) / ((long) v11_18))));
                }
                v2_4.write(v4_2, 0, v5_1);
                v5_1 = v1_1.read(v4_2);
                v12_1 = v16;
            }
            v1_1.close();
            v2_4.close();
            if (!v3_4.exists()) {
                System.out.println("File doesn\'t exist");
            } else {
                System.out.println("File exists");
            }
            return v3_4;
        } else {
            if ((p21 == null) || (!p21.booleanValue())) {
                String v2_8 = new StringBuilder();
                v2_8.append(".");
                v2_8.append(p22);
                java.io.PrintStream v1_7 = java.io.File.createTempFile("PP_", v2_8.toString(), v10_1);
            } else {
                v1_7 = new java.io.File(v10_1, p20);
            }
            System.out.println("Bytes will be creating a file");
            java.io.File v3_9 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v1_7));
            try {
                v3_9.write(p23);
                try {
                    v3_9.close();
                } catch (java.io.IOException v0_5) {
                    v0_5.printStackTrace();
                }
                return v1_7;
            } catch (java.io.IOException v0_3) {
                java.io.PrintStream v1_10 = v0_3;
                try {
                    v3_9.close();
                } catch (java.io.IOException v0_4) {
                    v0_4.printStackTrace();
                }
                throw v1_10;
            } catch (java.io.IOException v0_1) {
                v0_1.printStackTrace();
                try {
                    v3_9.close();
                } catch (java.io.IOException v0_2) {
                    v0_2.printStackTrace();
                }
                return 0;
            }
        }
    }

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


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

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


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

Method org.reactnative.camera.tasks.ResolveTakenPictureAsyncTask.a() calling method java.io.FileOutputStream.<init>()


    protected varargs com.facebook.react.bridge.WritableMap a(Void[] p9)
    {
        java.io.IOException v9_0 = com.facebook.react.bridge.Arguments.b();
        if (!this.c.a("skipProcessing")) {
            java.io.IOException v0_0;
            if (this.e != null) {
                v0_0 = 0;
            } else {
                this.e = android.graphics.BitmapFactory.decodeByteArray(this.b, 0, this.b.length);
                v0_0 = new java.io.ByteArrayInputStream(this.b);
            }
            try {
                if (v0_0 == null) {
                    v9_0.putInt("width", this.e.getWidth());
                    v9_0.putInt("height", this.e.getHeight());
                    com.facebook.react.bridge.WritableMap v3_13 = new java.io.ByteArrayOutputStream();
                    this.e.compress(android.graphics.Bitmap$CompressFormat.JPEG, this.a(), v3_13);
                    v9_0.putString("uri", android.net.Uri.fromFile(new java.io.File(this.a(v3_13))).toString());
                    if ((this.c.a("base64")) && (this.c.c("base64"))) {
                        v9_0.putString("base64", android.util.Base64.encodeToString(v3_13.toByteArray(), 0));
                    }
                    v3_13.close();
                    if (v0_0 != null) {
                        v0_0.close();
                        v0_0 = 0;
                    }
                    if (v0_0 != null) {
                        try {
                            v0_0.close();
                        } catch (java.io.IOException v0_3) {
                            v0_3.printStackTrace();
                        }
                    }
                    return v9_0;
                } else {
                    com.facebook.react.bridge.WritableMap v3_8 = new android.support.media.ExifInterface(v0_0);
                    String v4_11 = v3_8.a("Orientation", 0);
                    if (this.c.a("width")) {
                        this.e = this.b(this.e, this.c.e("width"));
                    }
                    if ((this.c.a("fixOrientation")) && ((this.c.c("fixOrientation")) && (v4_11 != null))) {
                        this.e = this.a(this.e, this.a(v4_11));
                    }
                    if ((this.c.a("mirrorImage")) && (this.c.c("mirrorImage"))) {
                        this.e = this.a(this.e);
                    }
                    if ((!this.c.a("exif")) || (!this.c.c("exif"))) {
                    } else {
                        v9_0.a("exif", org.reactnative.camera.RNCameraViewHelper.a(v3_8));
                    }
                }
            } catch (java.io.IOException v9_4) {
                v9_4.printStackTrace();
            }
            return 0;
        } else {
            try {
                java.io.IOException v0_6 = new java.io.File(org.reactnative.camera.utils.RNFileUtils.a(this.d, ".jpg"));
                v0_6.createNewFile();
                new java.io.FileOutputStream(v0_6).write(this.b);
                v9_0.putString("uri", android.net.Uri.fromFile(v0_6).toString());
            } catch (java.io.IOException v0_11) {
                this.a.a("E_TAKING_PICTURE_FAILED", "Documents directory of the app could not be found.", v0_11);
                v0_11.printStackTrace();
            } catch (java.io.IOException v0_9) {
                this.a.a("E_TAKING_PICTURE_FAILED", "An unknown I/O exception has occurred.", v0_9);
                v0_9.printStackTrace();
            }
            return v9_0;
        }
    }

Method org.reactnative.camera.tasks.ResolveTakenPictureAsyncTask.a() calling method java.io.FileOutputStream.<init>()


    private String a(java.io.ByteArrayOutputStream p4)
    {
        java.io.IOException v0_0 = 0;
        try {
            int v1_1 = org.reactnative.camera.utils.RNFileUtils.a(this.d, ".jpg");
            try {
                java.io.IOException v2_0 = new java.io.FileOutputStream(v1_1);
                try {
                    p4.writeTo(v2_0);
                } catch (java.io.IOException v4_1) {
                    v0_0 = v4_1;
                    v0_0.printStackTrace();
                    if (v2_0 == null) {
                        if (v0_0 == null) {
                            return v1_1;
                        } else {
                            throw v0_0;
                        }
                    } else {
                        v2_0.close();
                    }
                }
                if (v2_0 == null) {
                } else {
                    v2_0.close();
                }
            } catch (java.io.IOException v4_1) {
                v2_0 = 0;
            }
        } catch (java.io.IOException v4_2) {
            if (v0_0 != null) {
                try {
                    v0_0.close();
                } catch (java.io.IOException v0_1) {
                    v0_1.printStackTrace();
                }
            }
            throw v4_2;
        } catch (java.io.IOException v4_1) {
            v1_1 = 0;
            v2_0 = 0;
        } catch (java.io.IOException v4_2) {
            v0_0 = v2_0;
        } catch (java.io.IOException v4_3) {
            v4_3.printStackTrace();
        }
    }

Method org.joda.time.tz.ZoneInfoCompiler.compile() calling method java.io.FileOutputStream.<init>()


    public java.util.Map compile(java.io.File p9, java.io.File[] p10)
    {
        if (p10 != null) {
            java.util.Comparator v1_4 = 0;
            while (v1_4 < p10.length) {
                int v2_7 = new java.io.BufferedReader(new java.io.FileReader(p10[v1_4]));
                this.parseDataFile(v2_7);
                v2_7.close();
                v1_4++;
            }
        }
        if (p9 != null) {
            if ((p9.exists()) || (p9.mkdirs())) {
                if (!p9.isDirectory()) {
                    java.io.DataOutputStream v0_1 = new StringBuilder();
                    v0_1.append("Destination is not a directory: ");
                    v0_1.append(p9);
                    throw new java.io.IOException(v0_1.toString());
                }
            } else {
                java.io.DataOutputStream v0_3 = new StringBuilder();
                v0_3.append("Destination directory doesn\'t exist and cannot be created: ");
                v0_3.append(p9);
                throw new java.io.IOException(v0_3.toString());
            }
        }
        java.io.IOException v10_4 = new java.util.TreeMap();
        System.out.println("Writing zoneinfo files");
        java.util.Comparator v1_1 = 0;
        while (v1_1 < this.iZones.size()) {
            int v2_15 = ((org.joda.time.tz.ZoneInfoCompiler$Zone) this.iZones.get(v1_1));
            String v3_16 = new org.joda.time.tz.DateTimeZoneBuilder();
            v2_15.addToBuilder(v3_16, this.iRuleSets);
            String v4_1 = v3_16.toDateTimeZone(v2_15.iName, 1);
            if (org.joda.time.tz.ZoneInfoCompiler.test(v4_1.getID(), v4_1)) {
                v10_4.put(v4_1.getID(), v4_1);
                if (p9 != null) {
                    if (org.joda.time.tz.ZoneInfoCompiler.verbose()) {
                        StringBuilder v6_1 = new StringBuilder();
                        v6_1.append("Writing ");
                        v6_1.append(v4_1.getID());
                        System.out.println(v6_1.toString());
                    }
                    java.io.PrintStream v5_7 = new java.io.File(p9, v4_1.getID());
                    if (!v5_7.getParentFile().exists()) {
                        v5_7.getParentFile().mkdirs();
                    }
                    StringBuilder v6_8 = new java.io.FileOutputStream(v5_7);
                    try {
                        v3_16.writeTo(v2_15.iName, v6_8);
                        v6_8.close();
                        int v2_2 = new java.io.FileInputStream(v5_7);
                        String v3_1 = org.joda.time.tz.DateTimeZoneBuilder.readFrom(v2_2, v4_1.getID());
                        v2_2.close();
                    } catch (Throwable v9_1) {
                        v6_8.close();
                        throw v9_1;
                    }
                    if (!v4_1.equals(v3_1)) {
                        String v3_3 = new StringBuilder();
                        v3_3.append("*e* Error in ");
                        v3_3.append(v4_1.getID());
                        v3_3.append(": Didn\'t read properly from file");
                        System.out.println(v3_3.toString());
                    }
                }
            }
            v1_1++;
        }
        java.util.Comparator v1_5 = 0;
        while (v1_5 < 2) {
            int v2_12 = 0;
            while (v2_12 < this.iLinks.size()) {
                String v3_11 = ((String) this.iLinks.get(v2_12));
                String v4_7 = ((String) this.iLinks.get((v2_12 + 1)));
                java.io.PrintStream v5_11 = ((org.joda.time.DateTimeZone) v10_4.get(v3_11));
                if (v5_11 != null) {
                    v10_4.put(v4_7, v5_11);
                } else {
                    if (v1_5 > null) {
                        StringBuilder v6_10 = new StringBuilder();
                        v6_10.append("Cannot find time zone \'");
                        v6_10.append(v3_11);
                        v6_10.append("\' to link alias \'");
                        v6_10.append(v4_7);
                        v6_10.append("\' to");
                        System.out.println(v6_10.toString());
                    }
                }
                v2_12 += 2;
            }
            v1_5++;
        }
        if (p9 != null) {
            System.out.println("Writing ZoneInfoMap");
            java.io.DataOutputStream v0_6 = new java.io.File(p9, "ZoneInfoMap");
            if (!v0_6.getParentFile().exists()) {
                v0_6.getParentFile().mkdirs();
            }
            java.io.DataOutputStream v0_8 = new java.io.DataOutputStream(new java.io.FileOutputStream(v0_6));
            try {
                Throwable v9_10 = new java.util.TreeMap(String.CASE_INSENSITIVE_ORDER);
                v9_10.putAll(v10_4);
                org.joda.time.tz.ZoneInfoCompiler.writeZoneInfoMap(v0_8, v9_10);
                v0_8.close();
            } catch (Throwable v9_11) {
                v0_8.close();
                throw v9_11;
            }
        }
        return v10_4;
    }

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


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

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


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

Method com.rnfs.Downloader.a() calling method java.io.FileOutputStream.<init>()


    private void a(com.rnfs.DownloadParams p27, com.rnfs.DownloadResult p28)
    {
        java.io.FileOutputStream v4_0 = 0;
        try {
            java.io.FileOutputStream v5_0 = ((java.net.HttpURLConnection) p27.a.openConnection());
            try {
                java.io.FileOutputStream v6_3 = p27.c.a();
            } catch (Throwable v0_4) {
                Throwable v2_1 = v0_4;
                java.io.BufferedInputStream v8_0 = 0;
                if (v4_0 != null) {
                    v4_0.close();
                }
                if (v8_0 != null) {
                    v8_0.close();
                }
                if (v5_0 != null) {
                    v5_0.disconnect();
                }
                throw v2_1;
            }
            while (v6_3.hasNextKey()) {
                int v7_1 = v6_3.nextKey();
                v5_0.setRequestProperty(v7_1, p27.c.f(v7_1));
            }
            java.io.BufferedInputStream v8_8;
            v5_0.setConnectTimeout(p27.f);
            v5_0.setReadTimeout(p27.e);
            v5_0.connect();
            java.io.FileOutputStream v6_0 = v5_0.getResponseCode();
            int v7_2 = v5_0.getContentLength();
            if ((v6_0 == 200) || ((v6_0 != 301) && ((v6_0 != 302) && ((v6_0 != 307) && (v6_0 != 308))))) {
                v8_8 = 0;
            } else {
                v8_8 = 1;
            }
            if (v8_8 == null) {
                try {
                    java.io.BufferedInputStream v8_9 = v5_0.getHeaderFields();
                    int[] v11_7 = new java.util.HashMap();
                    java.io.BufferedInputStream v8_11 = v8_9.entrySet().iterator();
                } catch (Throwable v0_4) {
                }
                while (v8_11.hasNext()) {
                    int v12_1 = ((java.util.Map$Entry) v8_11.next());
                    int v13_12 = ((String) v12_1.getKey());
                    int v12_5 = ((String) ((java.util.List) v12_1.getValue()).get(0));
                    if ((v13_12 != 0) && (v12_5 != 0)) {
                        v11_7.put(v13_12, v12_5);
                    }
                }
                this.b.h.a(v6_0, v7_2, v11_7);
                v8_0 = new java.io.BufferedInputStream(v5_0.getInputStream(), 8192);
                try {
                    int[] v11_5 = new java.io.FileOutputStream(p27.b);
                    try {
                        java.io.FileOutputStream v4_1 = new byte[8192];
                        int v14 = 0;
                        java.io.FileOutputStream v15 = 0;
                    } catch (Throwable v0_0) {
                        v6_0 = v5_0;
                        java.io.FileOutputStream v5_1 = v11_5;
                        v2_1 = v0_0;
                        v4_0 = v5_1;
                    }
                    while(true) {
                        int v12_8 = v8_0.read(v4_1);
                        if (v12_8 == -1) {
                            break;
                        }
                        try {
                            if (!this.c.get()) {
                                v14 += v12_8;
                                java.io.FileOutputStream v20;
                                java.io.FileOutputStream v24;
                                java.io.FileOutputStream v23_1;
                                if (p27.d > 0) {
                                    v20 = v11_5;
                                    v23_1 = v5_0;
                                    v24 = v6_0;
                                    try {
                                        java.io.FileOutputStream v5_4 = ((double) Math.round(((((double) v14) * 100.0) / ((double) v7_2))));
                                    } catch (Throwable v0_1) {
                                        v5_0 = v20;
                                        v2_1 = v0_1;
                                        v4_0 = v5_0;
                                        v5_0 = v23_1;
                                    }
                                    if (((v5_4 % ((double) p27.d)) == 0) && ((v5_4 != v15) || (v14 == v7_2))) {
                                        try {
                                            int[] v11_1 = new StringBuilder();
                                            v11_1.append("EMIT: ");
                                            v11_1.append(String.valueOf(v5_4));
                                            v11_1.append(", TOTAL:");
                                            v11_1.append(String.valueOf(v14));
                                            android.util.Log.d("Downloader", v11_1.toString());
                                            int[][] v10_9 = new int[][1];
                                            int[] v11_4 = new int[2];
                                            v11_4[0] = v7_2;
                                            v11_4[1] = v14;
                                            v10_9[0] = v11_4;
                                            this.publishProgress(v10_9);
                                            v15 = v5_4;
                                        } catch (Throwable v0_2) {
                                            v2_1 = v0_2;
                                            v4_0 = v20;
                                        }
                                    }
                                } else {
                                    int v13_10 = new int[][1];
                                    int[][] v10_10 = new int[2];
                                    v10_10[0] = v7_2;
                                    v10_10[1] = v14;
                                    v13_10[0] = v10_10;
                                    this.publishProgress(v13_10);
                                    v23_1 = v5_0;
                                    v24 = v6_0;
                                    v20 = v11_5;
                                }
                                java.io.FileOutputStream v5_5 = v20;
                                try {
                                    v5_5.write(v4_1, 0, v12_8);
                                    v11_5 = v5_5;
                                    v5_0 = v23_1;
                                    v6_0 = v24;
                                } catch (Throwable v0_1) {
                                }
                            } else {
                                throw new Exception("Download has been aborted");
                            }
                        } catch (Throwable v0_1) {
                            v23_1 = v5_0;
                            v5_0 = v11_5;
                        } catch (Throwable v0_3) {
                            v2_1 = v0_3;
                            v4_0 = v11_5;
                        }
                    }
                    java.io.FileOutputStream v23_0 = v5_0;
                    v5_1 = v11_5;
                    try {
                        v5_1.flush();
                        p28.a = v6_0;
                        p28.b = v14;
                    } catch (Throwable v0_0) {
                        v6_0 = v23_0;
                    }
                    if (v5_1 != null) {
                        v5_1.close();
                    }
                    if (v8_0 != null) {
                        v8_0.close();
                    }
                    if (v23_0 != null) {
                        v23_0.disconnect();
                    }
                    return;
                } catch (Throwable v0_7) {
                    v2_1 = v0_7;
                }
            } else {
                java.io.FileOutputStream v6_8 = v5_0.getHeaderField("Location");
                v5_0.disconnect();
                java.io.FileOutputStream v6_10 = ((java.net.HttpURLConnection) new java.net.URL(v6_8).openConnection());
                try {
                    v6_10.setConnectTimeout(5000);
                    v6_10.connect();
                    java.io.FileOutputStream v5_8 = v6_10.getResponseCode();
                    v7_2 = v6_10.getContentLength();
                    v6_0 = v5_8;
                    v5_0 = v6_10;
                } catch (Throwable v0_5) {
                    v2_1 = v0_5;
                    v8_0 = 0;
                }
            }
            v5_0 = v6_0;
        } catch (Throwable v0_6) {
            v2_1 = v0_6;
            v5_0 = 0;
            v8_0 = 0;
        }
    }

Method com.lwansbrough.RCTCamera.MutableImage.a() calling method java.io.FileOutputStream.<init>()


    public void a(java.io.File p6, com.facebook.react.bridge.ReadableMap p7, int p8)
    {
        java.util.Iterator v0_1 = new java.io.FileOutputStream(p6);
        v0_1.write(ark>com.lwansbrough.RCTCamera.MutableImageark>.a(this.b, p8));
        v0_1.close();
        try {
            String v8_1 = new android.support.media.ExifInterface(p6.getAbsolutePath());
            boolean v6_3 = this.e().a().iterator();
        } catch (boolean v6_8) {
            android.util.Log.e("RNCamera", "failed to save exif data", v6_8);
            return;
        }
        while (v6_3.hasNext()) {
            java.util.Iterator v0_7 = ((com.drew.metadata.Directory) v6_3.next());
            String v1_7 = v0_7.d().iterator();
            while (v1_7.hasNext()) {
                String v2_7 = ((com.drew.metadata.Tag) v1_7.next());
                v8_1.a(v2_7.c(), v0_7.m(v2_7.a()).toString());
            }
        }
        boolean v6_6 = ((com.drew.metadata.exif.ExifSubIFDDirectory) this.e().a(com.drew.metadata.exif.ExifSubIFDDirectory));
        java.util.Iterator v0_5 = v6_6.d().iterator();
        while (v0_5.hasNext()) {
            String v1_3 = ((com.drew.metadata.Tag) v0_5.next());
            String v2_0 = v1_3.a();
            String v1_5 = v1_3.c().replaceAll(" ", "");
            String v2_1 = v6_6.m(v2_0);
            if (!v1_5.equals("ExposureTime")) {
                v8_1.a(v1_5, v2_1.toString());
            } else {
                v8_1.a(v1_5, this.a(v2_1.toString()));
            }
        }
        this.a(p7, v8_1);
        if (this.d) {
            this.a(v8_1);
        }
        v8_1.a();
        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 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);
        } catch (Throwable v1_1) {
            if (v0_1 != null) {
                v0_1.close();
            }
            throw v1_1;
        }
        if (v0_1 != null) {
            v0_1.close();
        }
        return;
    }

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


    final boolean b(com.google.android.gms.internal.zzdiy p4)
    {
        String v0_0 = this.c();
        try {
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v0_0);
            try {
                v2_1.write(com.google.android.gms.internal.zzfjs.a(p4));
                try {
                    v2_1.close();
                } catch (java.io.IOException) {
                    com.google.android.gms.tagmanager.zzdj.b("error closing stream for writing resource to disk");
                }
                return 1;
            } catch (String v4_3) {
                try {
                    v2_1.close();
                } catch (java.io.IOException) {
                    com.google.android.gms.tagmanager.zzdj.b("error closing stream for writing resource to disk");
                }
                throw v4_3;
            }
        } catch (java.io.FileNotFoundException) {
            com.google.android.gms.tagmanager.zzdj.a("Error opening resource file for writing");
            return 0;
        }
    }

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


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

Method com.bumptech.glide.load.resource.bitmap.BitmapEncoder.a() calling method java.io.FileOutputStream.<init>()


    public boolean a(com.bumptech.glide.load.engine.Resource p8, java.io.File p9, com.bumptech.glide.load.Options p10)
    {
        String v8_2 = ((android.graphics.Bitmap) p8.d());
        com.bumptech.glide.load.Option v0_0 = this.a(v8_2, p10);
        com.bumptech.glide.util.pool.GlideTrace.a("encode: [%dx%d] %s", Integer.valueOf(v8_2.getWidth()), Integer.valueOf(v8_2.getHeight()), v0_0);
        try {
            long v1_0 = com.bumptech.glide.util.LogTime.a();
            StringBuilder v3_5 = ((Integer) p10.a(ark>com.bumptech.glide.load.resource.bitmap.BitmapEncoderark>.a)).intValue();
            int v4 = 0;
            String v5_0 = 0;
            try {
                String v6_1 = new java.io.FileOutputStream(p9);
                try {
                    if (this.c == null) {
                        v5_0 = v6_1;
                    } else {
                        v5_0 = new com.bumptech.glide.load.data.BufferedOutputStream(v6_1, this.c);
                    }
                } catch (String v8_3) {
                    v5_0 = v6_1;
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                    throw v8_3;
                } catch (String v9_2) {
                    v5_0 = v6_1;
                    if (android.util.Log.isLoggable("BitmapEncoder", 3)) {
                        android.util.Log.d("BitmapEncoder", "Failed to encode Bitmap", v9_2);
                    }
                    if (v5_0 == null) {
                        if (android.util.Log.isLoggable("BitmapEncoder", 2)) {
                            StringBuilder v3_11 = new StringBuilder();
                            v3_11.append("Compressed with type: ");
                            v3_11.append(v0_0);
                            v3_11.append(" of size ");
                            v3_11.append(com.bumptech.glide.util.Util.a(v8_2));
                            v3_11.append(" in ");
                            v3_11.append(com.bumptech.glide.util.LogTime.a(v1_0));
                            v3_11.append(", options format: ");
                            v3_11.append(p10.a(ark>com.bumptech.glide.load.resource.bitmap.BitmapEncoderark>.b));
                            v3_11.append(", hasAlpha: ");
                            v3_11.append(v8_2.hasAlpha());
                            android.util.Log.v("BitmapEncoder", v3_11.toString());
                        }
                        com.bumptech.glide.util.pool.GlideTrace.a();
                        return v4;
                    } else {
                        v5_0.close();
                    }
                }
                v8_2.compress(v0_0, v3_5, v5_0);
                v5_0.close();
                v4 = 1;
                if (v5_0 == null) {
                } else {
                }
            } catch (String v8_3) {
            } catch (String v9_2) {
            }
        } catch (String v8_6) {
            com.bumptech.glide.util.pool.GlideTrace.a();
            throw v8_6;
        }
    }

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


    public final declared_synchronized void a(String p20, com.google.android.gms.internal.zzc p21)
    {
        try {
            long v7_2 = ((long) p21.a.length);
        } catch (Throwable v0) {
            throw v0;
        }
        if ((this.b + v7_2) >= ((long) this.d)) {
            if (com.google.android.gms.internal.zzae.a) {
                long v9_0 = new Object[0];
                com.google.android.gms.internal.zzae.a("Pruning old cache entries.", v9_0);
            }
            long v9_1 = this.b;
            long v11_0 = android.os.SystemClock.elapsedRealtime();
            String v6_8 = this.a.entrySet().iterator();
            int v13 = 0;
            while (v6_8.hasNext()) {
                long v17;
                byte[] v16;
                int v14_4 = ((com.google.android.gms.internal.zzam) ((java.util.Map$Entry) v6_8.next()).getValue());
                if (!this.d(v14_4.b).delete()) {
                    v16 = v6_8;
                    v17 = v11_0;
                    float v4_11 = new Object[2];
                    v4_11[0] = v14_4.b;
                    v4_11[1] = ark>com.google.android.gms.internal.zzalark>.c(v14_4.b);
                    com.google.android.gms.internal.zzae.b("Could not delete cache entry for key=%s, filename=%s", v4_11);
                } else {
                    v16 = v6_8;
                    v17 = v11_0;
                    this.b = (this.b - v14_4.a);
                }
                com.google.android.gms.internal.zzc v3_5 = v16;
                v3_5.remove();
                v13++;
                if (((float) (this.b + v7_2)) >= (((float) this.d) * 1063675494)) {
                    v6_8 = v3_5;
                    v11_0 = v17;
                    int v5 = 0;
                } else {
                }
                if (com.google.android.gms.internal.zzae.a) {
                    float v4_17 = new Object[3];
                    v4_17[0] = Integer.valueOf(v13);
                    v4_17[1] = Long.valueOf((this.b - v9_1));
                    v4_17[2] = Long.valueOf((android.os.SystemClock.elapsedRealtime() - v17));
                    com.google.android.gms.internal.zzae.a("pruned %d files, %d bytes, %d ms", v4_17);
                }
            }
            v17 = v11_0;
        }
        com.google.android.gms.internal.zzc v3_0 = this.d(p20);
        float v4_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_0));
        int v5_5 = new com.google.android.gms.internal.zzam(p20, p21);
        if (v5_5.a(v4_1)) {
            v4_1.write(p21.a);
            v4_1.close();
            this.a(p20, v5_5);
            return;
        } else {
            v4_1.close();
            int v5_6 = new Object[1];
            v5_6[0] = v3_0.getAbsolutePath();
            com.google.android.gms.internal.zzae.b("Failed to write header for %s", v5_6);
            throw new java.io.IOException();
        }
    }

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


    protected varargs void a(Void[] p15)
    {
        java.io.IOException v15_8 = new java.io.File(this.b.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.c("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.c("ReactNative", "Could not close output channel", v0_5);
                    }
                }
            }
            throw v15_3;
        } catch (java.io.IOException v15_2) {
            v1_1 = 0;
            try {
                this.c.a(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.c("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.c("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.a;
                    String[] v4_6 = new String[1];
                    v4_6[0] = v2_1.getAbsolutePath();
                    android.media.MediaScannerConnection.scanFile(v3_4, v4_6, 0, new ark>com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRollark>$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.c("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.c.a("E_UNABLE_TO_LOAD", "External media storage directory not available");
            return;
        }
    }

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


    public void a(com.facebook.cache.common.WriterCallback p5, Object p6)
    {
        try {
            java.io.File v6_1 = new java.io.FileOutputStream(this.a);
            try {
                long v0_2 = new com.facebook.common.internal.CountingOutputStream(v6_1);
                p5.a(v0_2);
                v0_2.flush();
                long v0_3 = v0_2.a();
                v6_1.close();
            } catch (com.facebook.cache.disk.DefaultDiskStorage$IncompleteFileException v5_3) {
                v6_1.close();
                throw v5_3;
            }
            if (this.a.length() == v0_3) {
                return;
            } else {
                throw new com.facebook.cache.disk.DefaultDiskStorage$IncompleteFileException(v0_3, this.a.length());
            }
        } catch (com.facebook.cache.disk.DefaultDiskStorage$IncompleteFileException v5_5) {
            com.facebook.cache.disk.DefaultDiskStorage.d(this.b).a(com.facebook.cache.common.CacheErrorLogger$CacheErrorCategory.g, com.facebook.cache.disk.DefaultDiskStorage.f(), "updateResource", v5_5);
            throw v5_5;
        }
    }

Method com.coupa.android.coupamobile.models.ValueObject.saveJsonObjectToFile() calling method java.io.FileOutputStream.<init>()


    public void saveJsonObjectToFile(android.content.Context p3, org.json.JSONObject p4, String p5)
    {
        java.io.IOException v3_4 = p3.getFilesDir();
        StringBuilder v1_1 = new StringBuilder();
        v1_1.append(p5);
        v1_1.append(".txt");
        try {
            Throwable v5_2 = new java.io.FileOutputStream(new java.io.File(v3_4, v1_1.toString()));
            try {
                v5_2.write(p4.toString().getBytes());
            } catch (java.io.IOException v3_2) {
                v3_2.printStackTrace();
                if (v5_2 == null) {
                    return;
                } else {
                    v5_2.close();
                    return;
                }
            }
            if (v5_2 == null) {
                return;
            } else {
                v5_2.close();
                return;
            }
        } catch (java.io.IOException v4_2) {
            v5_2 = 0;
            java.io.IOException v3_3 = v4_2;
            if (v5_2 != null) {
                try {
                    v5_2.close();
                } catch (java.io.IOException v4_3) {
                    v4_3.printStackTrace();
                }
            }
            throw v3_3;
        } catch (java.io.IOException v4_1) {
            v5_2 = 0;
            v3_2 = v4_1;
        } catch (java.io.IOException v3_3) {
        } catch (java.io.IOException v3_7) {
            v3_7.printStackTrace();
            return;
        }
    }

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

Couldn't retrieve source code

Method com.airbnb.android.react.maps.AirMapModule$1$1.onSnapshotReady() calling method java.io.FileOutputStream.<init>()


    public void onSnapshotReady(android.graphics.Bitmap p8)
    {
        if (p8 != null) {
            if ((this.a.c.intValue() != 0) && ((this.a.d.intValue() != 0) && ((this.a.c.intValue() != p8.getWidth()) || (this.a.d.intValue() != p8.getHeight())))) {
                p8 = android.graphics.Bitmap.createScaledBitmap(p8, this.a.c.intValue(), this.a.d.intValue(), 1);
            }
            if (!this.a.e.equals("file")) {
                if (this.a.e.equals("base64")) {
                    com.facebook.react.bridge.Promise v0_22 = new java.io.ByteArrayOutputStream();
                    p8.compress(this.a.h, ((int) (this.a.i * 100.0)), v0_22);
                    com.airbnb.android.react.maps.AirMapModule.closeQuietly(v0_22);
                    this.a.b.a(android.util.Base64.encodeToString(v0_22.toByteArray(), 2));
                }
            } else {
                try {
                    android.graphics.Bitmap$CompressFormat v3_4 = new StringBuilder();
                    v3_4.append(".");
                    v3_4.append(this.a.f);
                    com.facebook.react.bridge.Promise v0_29 = java.io.File.createTempFile("AirMapSnapshot", v3_4.toString(), this.a.g.getCacheDir());
                    android.graphics.Bitmap$CompressFormat v3_7 = new java.io.FileOutputStream(v0_29);
                    p8.compress(this.a.h, ((int) (this.a.i * 100.0)), v3_7);
                    com.airbnb.android.react.maps.AirMapModule.closeQuietly(v3_7);
                    this.a.b.a(android.net.Uri.fromFile(v0_29).toString());
                } catch (String v8_1) {
                    this.a.b.a(v8_1);
                    return;
                }
            }
            return;
        } else {
            this.a.b.a("Failed to generate bitmap, snapshot = null");
            return;
        }
    }

Method com.RNFetchBlob.Response.RNFetchBlobFileResp.<init>() calling method java.io.FileOutputStream.<init>()


    public RNFetchBlobFileResp(com.facebook.react.bridge.ReactApplicationContext p3, String p4, okhttp3.ResponseBody p5, String p6, boolean p7)
    {
        this.d = 0;
        this.e = p3;
        this.a = p4;
        this.b = p5;
        if ((com.RNFetchBlob.Response.RNFetchBlobFileResp.g) || (p6 != null)) {
            this.c = p6;
            if (p6 != null) {
                IllegalStateException v3_1 = (p7 ^ 1);
                String v4_2 = p6.replace("?append=true", "");
                this.c = v4_2;
                java.io.FileOutputStream v5_3 = new java.io.File(v4_2);
                java.io.File v6_1 = v5_3.getParentFile();
                if ((v6_1.exists()) || (v6_1.mkdirs())) {
                    if (!v5_3.exists()) {
                        v5_3.createNewFile();
                    }
                    this.f = new java.io.FileOutputStream(new java.io.File(v4_2), v3_1);
                } else {
                    String v4_4 = new StringBuilder();
                    v4_4.append("Couldn\'t create dir: ");
                    v4_4.append(v6_1);
                    throw new IllegalStateException(v4_4.toString());
                }
            }
            return;
        } else {
            throw new AssertionError();
        }
    }

Method com.RNFetchBlob.RNFetchBlobBody.c() calling method java.io.FileOutputStream.<init>()


    private java.io.File c()
    {
        byte[] v0_1 = new StringBuilder();
        v0_1.append("RNFetchBlob-");
        v0_1.append(this.d);
        byte[] v0_5 = v0_1.toString();
        java.io.File v1_1 = java.io.File.createTempFile("rnfb-form-tmp", "", com.RNFetchBlob.RNFetchBlob.RCTContext.getCacheDir());
        java.io.FileOutputStream v2_2 = new java.io.FileOutputStream(v1_1);
        StringBuilder v3_1 = this.d();
        int v6 = 0;
        while (v6 < v3_1.size()) {
            String v7_22 = ((com.RNFetchBlob.RNFetchBlobBody$FormField) v3_1.get(v6));
            StringBuilder v8_9 = v7_22.d;
            String v9_8 = v7_22.a;
            if ((v9_8 != null) && (v8_9 != null)) {
                String v10_4 = new StringBuilder();
                v10_4.append("--");
                v10_4.append(v0_5);
                v10_4.append("\r\n");
                String v10_5 = v10_4.toString();
                if (v7_22.b == null) {
                    StringBuilder v8_11 = new StringBuilder();
                    v8_11.append(v10_5);
                    v8_11.append("Content-Disposition: form-data; name=\"");
                    v8_11.append(v9_8);
                    v8_11.append("\"\r\n");
                    StringBuilder v8_12 = v8_11.toString();
                    String v9_11 = new StringBuilder();
                    v9_11.append(v8_12);
                    v9_11.append("Content-Type: ");
                    v9_11.append(v7_22.c);
                    v9_11.append("\r\n\r\n");
                    v2_2.write(v9_11.toString().getBytes());
                    v2_2.write(v7_22.d.getBytes());
                } else {
                    StringBuilder v11_4 = new StringBuilder();
                    v11_4.append(v10_5);
                    v11_4.append("Content-Disposition: form-data; name=\"");
                    v11_4.append(v9_8);
                    v11_4.append("\"; filename=\"");
                    v11_4.append(v7_22.b);
                    v11_4.append("\"\r\n");
                    String v9_15 = v11_4.toString();
                    String v10_1 = new StringBuilder();
                    v10_1.append(v9_15);
                    v10_1.append("Content-Type: ");
                    v10_1.append(v7_22.c);
                    v10_1.append("\r\n\r\n");
                    v2_2.write(v10_1.toString().getBytes());
                    if (!v8_9.startsWith("RNFetchBlob-file://")) {
                        v2_2.write(android.util.Base64.decode(v8_9, 0));
                    } else {
                        String v7_10 = com.RNFetchBlob.RNFetchBlobFS.e(v8_9.substring("RNFetchBlob-file://".length()));
                        if (!com.RNFetchBlob.RNFetchBlobFS.d(v7_10)) {
                            StringBuilder v8_2 = new java.io.File(com.RNFetchBlob.RNFetchBlobFS.e(v7_10));
                            if (!v8_2.exists()) {
                                StringBuilder v8_4 = new StringBuilder();
                                v8_4.append("Failed to create form data from path :");
                                v8_4.append(v7_10);
                                v8_4.append(", file not exists.");
                                com.RNFetchBlob.RNFetchBlobUtils.b(v8_4.toString());
                            } else {
                                this.a(new java.io.FileInputStream(v8_2), v2_2);
                            }
                        } else {
                            try {
                                this.a(com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(v7_10.replace("bundle-assets://", "")), v2_2);
                            } catch (StringBuilder v8_8) {
                                String v9_7 = new StringBuilder();
                                v9_7.append("Failed to create form data asset :");
                                v9_7.append(v7_10);
                                v9_7.append(", ");
                                v9_7.append(v8_8.getLocalizedMessage());
                                com.RNFetchBlob.RNFetchBlobUtils.b(v9_7.toString());
                            }
                        }
                    }
                }
                v2_2.write("\r\n".getBytes());
            }
            v6++;
        }
        StringBuilder v3_3 = new StringBuilder();
        v3_3.append("--");
        v3_3.append(v0_5);
        v3_3.append("--\r\n");
        v2_2.write(v3_3.toString().getBytes());
        v2_2.flush();
        v2_2.close();
        return v1_1;
    }

Method com.j256.ormlite.android.apptools.OrmLiteConfigUtil.writeConfigFile() calling method java.io.FileOutputStream.<init>()


    public static void writeConfigFile(java.io.File p3, Class[] p4, boolean p5)
    {
        String v1_1 = new StringBuilder();
        v1_1.append("Writing configurations to ");
        v1_1.append(p3.getAbsolutePath());
        System.out.println(v1_1.toString());
        com.j256.ormlite.android.apptools.OrmLiteConfigUtil.writeConfigFile(new java.io.FileOutputStream(p3), p4, p5);
        return;
    }

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


    private static void a(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.a() calling method java.io.FileOutputStream.<init>()


    public static com.imagepicker.media.ImageConfig a(android.content.Context p10, com.facebook.react.bridge.ReadableMap p11, com.imagepicker.media.ImageConfig p12, int p13, int p14, int p15)
    {
        android.graphics.Bitmap v0_1 = new android.graphics.BitmapFactory$Options();
        int v1 = 0;
        v0_1.inScaled = 0;
        android.graphics.Bitmap v0_2 = android.graphics.BitmapFactory.decodeFile(p12.a.getAbsolutePath(), v0_1);
        if (v0_2 != null) {
            if ((p12.c != 0) && (p12.c <= p13)) {
                com.imagepicker.media.ImageConfig v2_2 = p12;
            } else {
                v2_2 = p12.a(p13);
            }
            if ((p12.d == 0) || (p12.c > p14)) {
                v2_2 = v2_2.b(p14);
            }
            int v3_4 = (((double) v2_2.c) / ((double) p13));
            int v13_3 = (((double) v2_2.d) / ((double) p14));
            if (v3_4 < v13_3) {
                v13_3 = v3_4;
            }
            android.graphics.Matrix v8_1 = new android.graphics.Matrix();
            v8_1.postRotate(((float) v2_2.f));
            v8_1.postScale(((float) v13_3), ((float) v13_3));
            try {
                int v13_7 = new android.media.ExifInterface(v2_2.a.getAbsolutePath()).getAttributeInt("Orientation", 0);
            } catch (int v13_11) {
                v13_11.printStackTrace();
                int v13_12 = android.graphics.Bitmap.createBitmap(v0_2, 0, 0, v0_2.getWidth(), v0_2.getHeight(), v8_1, 1);
                int v14_8 = new java.io.ByteArrayOutputStream();
                v13_12.compress(android.graphics.Bitmap$CompressFormat.JPEG, v2_2.e, v14_8);
                if (p15 == 13001) {
                    v1 = 1;
                }
                com.imagepicker.media.ImageConfig v10_2 = ark>com.imagepicker.utils.MediaUtilsark>.a(p10, p11, (v1 ^ 1));
                if (v10_2 != null) {
                    com.imagepicker.media.ImageConfig v10_3 = v2_2.b(v10_2);
                    try {
                        new java.io.FileOutputStream(v10_3.b).write(v14_8.toByteArray());
                    } catch (java.io.IOException v11_3) {
                        v11_3.printStackTrace();
                    }
                    if (v0_2 != null) {
                        v0_2.recycle();
                    }
                    if (v13_12 != 0) {
                        v13_12.recycle();
                    }
                    return v10_3;
                } else {
                    if (v0_2 != null) {
                        v0_2.recycle();
                    }
                    if (v13_12 != 0) {
                        v13_12.recycle();
                    }
                    return p12;
                }
            }
            if (v13_7 == 3) {
                v8_1.postRotate(1127481344);
            } else {
                if (v13_7 == 6) {
                    v8_1.postRotate(1119092736);
                } else {
                    if (v13_7 == 8) {
                        v8_1.postRotate(1132920832);
                    } else {
                    }
                }
            }
        } else {
            return 0;
        }
    }

Method com.flurry.sdk.mh.a() calling method java.io.FileOutputStream.<init>()


    public static void a(java.io.File p4, String p5)
    {
        if (p4 != null) {
            if (p5 != 0) {
                String v2_5 = new StringBuilder("Writing persistent data: ");
                v2_5.append(p4.getAbsolutePath());
                com.flurry.sdk.kx.a(4, ark>com.flurry.sdk.mhark>.a, v2_5.toString());
                java.io.FileOutputStream v0_1 = 0;
                try {
                    String v1_1 = new java.io.FileOutputStream(p4);
                    try {
                        v1_1.write(p5.getBytes());
                        com.flurry.sdk.mi.a(v1_1);
                        return;
                    } catch (Throwable v4_3) {
                        v0_1 = v1_1;
                        com.flurry.sdk.mi.a(v0_1);
                        throw v4_3;
                    } catch (Throwable v4_1) {
                        v0_1 = v1_1;
                        com.flurry.sdk.kx.a(6, ark>com.flurry.sdk.mhark>.a, "Error writing persistent file", v4_1);
                        com.flurry.sdk.mi.a(v0_1);
                        return;
                    }
                } catch (Throwable v4_3) {
                } catch (Throwable v4_1) {
                    com.flurry.sdk.kx.a(6, ark>com.flurry.sdk.mhark>.a, "Error writing persistent file", v4_1);
                    com.flurry.sdk.mi.a(v0_1);
                    return;
                }
                v1_1.write(p5.getBytes());
                com.flurry.sdk.mi.a(v1_1);
                return;
            } else {
                String v1_5 = new StringBuilder("No data specified; deleting persistent file: ");
                v1_5.append(p4.getAbsolutePath());
                com.flurry.sdk.kx.a(4, ark>com.flurry.sdk.mhark>.a, v1_5.toString());
                p4.delete();
                return;
            }
        } else {
            com.flurry.sdk.kx.a(4, ark>com.flurry.sdk.mhark>.a, "No persistent file specified.");
            return;
        }
    }

Method com.flurry.sdk.kp.a() calling method java.io.FileOutputStream.<init>()


    public final void a(Object p7)
    {
        int v0_0 = 1;
        if (p7 != null) {
            String v2_1 = 0;
            try {
                if (com.flurry.sdk.mh.a(this.b)) {
                    String v3_0 = new java.io.FileOutputStream(this.b);
                    try {
                        this.c.a(v3_0, p7);
                        com.flurry.sdk.mi.a(v3_0);
                        v0_0 = 0;
                    } catch (Exception v7_2) {
                        v2_1 = v3_0;
                    } catch (Exception v7_1) {
                        v2_1 = v3_0;
                        String v4_1 = new StringBuilder("Error writing data file:");
                        v4_1.append(this.b.getName());
                        com.flurry.sdk.kx.a(3, ark>com.flurry.sdk.kpark>.a, v4_1.toString(), v7_1);
                        com.flurry.sdk.mi.a(v2_1);
                    }
                    if (v0_0 != 0) {
                        int v0_2 = new StringBuilder("Deleting data file:");
                        v0_2.append(this.b.getName());
                        com.flurry.sdk.kx.a(3, ark>com.flurry.sdk.kpark>.a, v0_2.toString());
                        this.b.delete();
                    }
                    return;
                } else {
                    throw new java.io.IOException("Cannot create parent directory!");
                }
            } catch (Exception v7_2) {
            } catch (Exception v7_1) {
            }
            com.flurry.sdk.mi.a(v2_1);
            throw v7_2;
        } else {
            String v2_3 = new StringBuilder("No data to write for file:");
            v2_3.append(this.b.getName());
            com.flurry.sdk.kx.a(3, ark>com.flurry.sdk.kpark>.a, v2_3.toString());
        }
    }

Method com.flurry.sdk.jp.a() calling method java.io.FileOutputStream.<init>()


    private static void a(String p3, java.io.File p4)
    {
        java.io.DataOutputStream v0 = 0;
        try {
            String v1_2 = new java.io.DataOutputStream(new java.io.FileOutputStream(p4));
            try {
                v1_2.writeInt(1);
                v1_2.writeUTF(p3);
                com.flurry.sdk.mi.a(v1_2);
                return;
            } catch (Throwable v3_2) {
                v0 = v1_2;
                com.flurry.sdk.mi.a(v0);
                throw v3_2;
            } catch (Throwable v3_1) {
                v0 = v1_2;
                com.flurry.sdk.kx.a(6, ark>com.flurry.sdk.jpark>.c, "Error when saving deviceId", v3_1);
                com.flurry.sdk.mi.a(v0);
                return;
            }
        } catch (Throwable v3_2) {
        } catch (Throwable v3_1) {
            com.flurry.sdk.kx.a(6, ark>com.flurry.sdk.jpark>.c, "Error when saving deviceId", v3_1);
            com.flurry.sdk.mi.a(v0);
            return;
        }
        v1_2.writeInt(1);
        v1_2.writeUTF(p3);
        com.flurry.sdk.mi.a(v1_2);
        return;
    }

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


    private static java.io.InputStream a(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 = new java.net.URL(p9.toString()).openStream();
        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.react.devsupport.BundleDeltaClient.a() calling method java.io.FileOutputStream.<init>()


    public declared_synchronized boolean a(okio.BufferedSource p5, java.io.File p6)
    {
        try {
            byte[] v0_6 = new android.util.JsonReader(new java.io.InputStreamReader(p5.g()));
            v0_6.beginObject();
            int v1_3 = 0;
        } catch (int v5_1) {
            throw v5_1;
        }
        while (v0_6.hasNext()) {
            int v2_1 = v0_6.nextName();
            if (!v2_1.equals("id")) {
                if (!v2_1.equals("pre")) {
                    if (!v2_1.equals("post")) {
                        if (!v2_1.equals("delta")) {
                            v0_6.skipValue();
                        } else {
                            v1_3 += ark>com.facebook.react.devsupport.BundleDeltaClientark>.a(v0_6, this.b);
                        }
                    } else {
                        v1_3 += ark>com.facebook.react.devsupport.BundleDeltaClientark>.a(v0_6, this.c);
                    }
                } else {
                    v1_3 += ark>com.facebook.react.devsupport.BundleDeltaClientark>.a(v0_6, this.a);
                }
            } else {
                this.d = v0_6.nextString();
            }
        }
        v0_6.endObject();
        v0_6.close();
        if (v1_3 != 0) {
            int v5_3 = new java.io.FileOutputStream(p6);
            try {
                java.util.Iterator v6_3 = this.a.values().iterator();
            } catch (java.util.Iterator v6_10) {
                v5_3.flush();
                v5_3.close();
                throw v6_10;
            }
            while (v6_3.hasNext()) {
                v5_3.write(((byte[]) v6_3.next()));
                v5_3.write(10);
            }
            java.util.Iterator v6_6 = this.b.values().iterator();
            while (v6_6.hasNext()) {
                v5_3.write(((byte[]) v6_6.next()));
                v5_3.write(10);
            }
            java.util.Iterator v6_9 = this.c.values().iterator();
            while (v6_9.hasNext()) {
                v5_3.write(((byte[]) v6_9.next()));
                v5_3.write(10);
            }
            v5_3.flush();
            v5_3.close();
            return 1;
        } else {
            return 0;
        }
    }

Method com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.b() calling method java.io.FileOutputStream.<init>()


    private static java.io.OutputStream b()
    {
        try {
            if (com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.d == null) {
                try {
                    com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.d = new java.io.FileOutputStream(com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.a);
                } catch (java.io.IOException v1_5) {
                    String v3_0 = new StringBuilder();
                    v3_0.append("Failed to open ");
                    v3_0.append(com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.a);
                    v3_0.append(" for writing");
                    throw new SecurityException(v3_0.toString(), v1_5);
                }
            }
        } catch (java.io.IOException v1_2) {
            throw v1_2;
        }
        return com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.d;
    }

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


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

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


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

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.e = 0;
        String v0_3 = new StringBuilder();
        v0_3.append(p4);
        v0_3.append(java.io.File.separator);
        v0_3.append(p5);
        super.b = v0_3.toString();
        String v5_2 = new StringBuilder();
        v5_2.append(super.b);
        v5_2.append(".cls_temp");
        super.c = new java.io.File(v5_2.toString());
        return;
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.copyFileFromStream() calling method java.io.FileOutputStream.<init>()


    public void copyFileFromStream(java.io.InputStream p3, String p4, String p5)
    {
        if ((p5 != null) && (!p5.isEmpty())) {
            try {
                byte[] v5_6 = this.getFile(p5);
            } catch (Exception v3_1) {
                com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v3_1, 1);
                return;
            }
            if (!v5_6.exists()) {
                v5_6.mkdir();
            }
            int v1_1 = new StringBuilder();
            v1_1.append(v5_6.getAbsolutePath());
            v1_1.append("/");
            v1_1.append(p4);
            java.io.FileOutputStream v4_3 = new java.io.FileOutputStream(new java.io.File(v1_1.toString()));
            byte[] v5_4 = new byte[4096];
            int v0_3 = p3.read(v5_4);
            while (v0_3 > 0) {
                v4_3.write(v5_4, 0, v0_3);
                v0_3 = p3.read(v5_4);
            }
            v4_3.close();
            return;
        } else {
            this.copyFileFromStream(p3, p4);
            return;
        }
    }

Method com.coupa.android.coupamobile.core.utils.AdvPreferences.writeToFile() calling method java.io.FileOutputStream.<init>()


    private void writeToFile(String p5)
    {
        java.io.File v0_0 = android.os.Environment.getExternalStorageDirectory();
        String v2_4 = new StringBuilder();
        v2_4.append(v0_0.getAbsolutePath());
        v2_4.append("/.coupa");
        java.io.FileOutputStream v1_0 = new java.io.File(v2_4.toString());
        v1_0.mkdir();
        String v2_1 = new StringBuilder();
        v2_1.append(this.getClass().getSimpleName());
        v2_1.append(".htm");
        try {
            java.io.FileOutputStream v1_3 = new java.io.FileOutputStream(new java.io.File(v1_0, v2_1.toString()));
            v1_3.write(p5.getBytes());
            v1_3.close();
        } catch (int v5_4) {
            throw v5_4;
        } catch (int v5_2) {
            v5_2.printStackTrace();
            com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 10;
        }
        return;
    }

Method com.coupa.android.coupamobile.core.utils.AdvListInstance.writeToFile() calling method java.io.FileOutputStream.<init>()


    private static void writeToFile(String p6)
    {
        java.io.File v0_0 = android.os.Environment.getExternalStorageDirectory();
        java.io.FileOutputStream v2_10 = new StringBuilder();
        v2_10.append(v0_0.getAbsolutePath());
        v2_10.append("/.coupa");
        int v1_0 = new java.io.File(v2_10.toString());
        v1_0.mkdir();
        java.io.File v0_3 = new java.io.File(v1_0, "_adv_instance_list.txt");
        if (v0_3.exists()) {
            java.io.FileOutputStream v2_4 = com.coupa.android.coupamobile.utils.DateTimeUtil.formatDateWithCustomFormatAndIKnowWhatIDo(new java.util.Date(), "yyyyMMdd_HHmmss");
            StringBuilder v4_1 = new StringBuilder();
            v4_1.append("_adv_instance_list_");
            v4_1.append(v2_4);
            v4_1.append(".txt");
            v0_3.renameTo(new java.io.File(v1_0, v4_1.toString()));
        }
        try {
            java.io.FileOutputStream v2_9 = new java.io.FileOutputStream(v0_3);
            v2_9.write(p6.getBytes());
            v2_9.close();
        } catch (int v6_4) {
            com.coupa.android.coupamobile.core.utils.AdvListInstance.iDebugStop = 20;
            throw v6_4;
        } catch (int v6_2) {
            v6_2.printStackTrace();
            com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 10;
        }
        com.coupa.android.coupamobile.core.utils.AdvListInstance.iDebugStop = 20;
        return;
    }

Method com.coupa.android.coupamobile.core.utils.AdvDbList.writeToFile() calling method java.io.FileOutputStream.<init>()


    private void writeToFile(String p5)
    {
        java.io.File v0_0 = android.os.Environment.getExternalStorageDirectory();
        java.io.FileOutputStream v2_6 = new StringBuilder();
        v2_6.append(v0_0.getAbsolutePath());
        v2_6.append("/.coupa");
        int v1_0 = new java.io.File(v2_6.toString());
        v1_0.mkdir();
        java.io.FileOutputStream v2_1 = new StringBuilder();
        v2_1.append(this.getClass().getSimpleName());
        v2_1.append(".htm");
        try {
            java.io.FileOutputStream v2_4 = new java.io.FileOutputStream(new java.io.File(v1_0, v2_1.toString()));
            v2_4.write(p5.getBytes());
            v2_4.close();
        } catch (int v5_4) {
            com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 20;
            throw v5_4;
        } catch (int v5_2) {
            v5_2.printStackTrace();
            com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 10;
        }
        com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 20;
        return;
    }

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


    private declared_synchronized void d()
    {
        try {
            if (this.j != null) {
                this.j.close();
            }
        } catch (java.io.BufferedWriter v0_1) {
            throw v0_1;
        }
        java.io.BufferedWriter v0_2 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.d), com.bumptech.glide.disklrucache.Util.a));
        try {
            v0_2.write("libcore.io.DiskLruCache");
            v0_2.write("\n");
            v0_2.write("1");
            v0_2.write("\n");
            v0_2.write(Integer.toString(this.f));
            v0_2.write("\n");
            v0_2.write(Integer.toString(this.h));
            v0_2.write("\n");
            v0_2.write("\n");
            java.nio.charset.Charset v1_14 = this.k.values().iterator();
        } catch (java.nio.charset.Charset v1_18) {
            v0_2.close();
            throw v1_18;
        }
        while (v1_14.hasNext()) {
            java.io.OutputStreamWriter v2_7 = ((com.bumptech.glide.disklrucache.DiskLruCache$Entry) v1_14.next());
            if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.a(v2_7) == null) {
                java.io.FileOutputStream v3_6 = new StringBuilder();
                v3_6.append("CLEAN ");
                v3_6.append(com.bumptech.glide.disklrucache.DiskLruCache$Entry.c(v2_7));
                v3_6.append(v2_7.a());
                v3_6.append(10);
                v0_2.write(v3_6.toString());
            } else {
                java.io.FileOutputStream v3_8 = new StringBuilder();
                v3_8.append("DIRTY ");
                v3_8.append(com.bumptech.glide.disklrucache.DiskLruCache$Entry.c(v2_7));
                v3_8.append(10);
                v0_2.write(v3_8.toString());
            }
        }
        v0_2.close();
        if (this.c.exists()) {
            com.bumptech.glide.disklrucache.DiskLruCache.a(this.c, this.e, 1);
        }
        com.bumptech.glide.disklrucache.DiskLruCache.a(this.d, this.c, 0);
        this.e.delete();
        this.j = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c, 1), com.bumptech.glide.disklrucache.Util.a));
        return;
    }

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


    private void b()
    {
        com.bumptech.glide.disklrucache.StrictLineReader v0_1 = new com.bumptech.glide.disklrucache.StrictLineReader(new java.io.FileInputStream(this.c), com.bumptech.glide.disklrucache.Util.a);
        try {
            java.io.BufferedWriter v1_7 = v0_1.a();
            java.io.OutputStreamWriter v2_7 = v0_1.a();
            java.io.FileOutputStream v3_0 = v0_1.a();
            java.nio.charset.Charset v4_0 = v0_1.a();
            int v5_0 = v0_1.a();
        } catch (java.io.BufferedWriter v1_13) {
            com.bumptech.glide.disklrucache.Util.a(v0_1);
            throw v1_13;
        }
        if (("libcore.io.DiskLruCache".equals(v1_7)) && (("1".equals(v2_7)) && ((Integer.toString(this.f).equals(v3_0)) && ((Integer.toString(this.h).equals(v4_0)) && ("".equals(v5_0)))))) {
            java.io.BufferedWriter v1_2 = 0;
            while(true) {
                this.d(v0_1.a());
                v1_2++;
            }
        } else {
            String v6_7 = new StringBuilder();
            v6_7.append("unexpected journal header: [");
            v6_7.append(v1_7);
            v6_7.append(", ");
            v6_7.append(v2_7);
            v6_7.append(", ");
            v6_7.append(v4_0);
            v6_7.append(", ");
            v6_7.append(v5_0);
            v6_7.append("]");
            throw new java.io.IOException(v6_7.toString());
        }
    }

Method com.airbnb.android.react.maps.FileUtil.a() calling method java.io.FileOutputStream.<init>()


    private java.io.InputStream a(android.content.Context p9, android.net.Uri p10)
    {
        Throwable v9_6 = java.io.File.createTempFile("FileUtil", "temp", p9.getApplicationContext().getCacheDir());
        v9_6.deleteOnExit();
        java.io.InputStream v10_2 = new java.net.URL(p10.toString()).openStream();
        try {
            java.nio.channels.ReadableByteChannel v6 = java.nio.channels.Channels.newChannel(v10_2);
            try {
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v9_6);
                try {
                    v7_1.getChannel().transferFrom(v6, 0, nan);
                    java.io.FileInputStream v0_3 = new java.io.FileInputStream(v9_6);
                } catch (Throwable v9_2) {
                    v7_1.close();
                    throw v9_2;
                }
                v7_1.close();
                v6.close();
                v10_2.close();
                return v0_3;
            } catch (Throwable v9_4) {
                v6.close();
                throw v9_4;
            }
        } catch (Throwable v9_5) {
            v10_2.close();
            throw v9_5;
        }
    }

Method com.RNFetchBlob.Utils.PathResolver.a() calling method java.io.FileOutputStream.<init>()


    public static String a(android.content.Context p5, android.net.Uri p6)
    {
        boolean v0_18;
        if (android.os.Build$VERSION.SDK_INT < 19) {
            v0_18 = 0;
        } else {
            v0_18 = 1;
        }
        android.net.Uri v3_0 = 0;
        if ((!v0_18) || (!android.provider.DocumentsContract.isDocumentUri(p5, p6))) {
            if (!"content".equalsIgnoreCase(p6.getScheme())) {
                if ("file".equalsIgnoreCase(p6.getScheme())) {
                    return p6.getPath();
                }
            } else {
                if (!ark>com.RNFetchBlob.Utils.PathResolverark>.d(p6)) {
                    return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, p6, 0, 0);
                } else {
                    return p6.getLastPathSegment();
                }
            }
        } else {
            if (!ark>com.RNFetchBlob.Utils.PathResolverark>.a(p6)) {
                if (!ark>com.RNFetchBlob.Utils.PathResolverark>.b(p6)) {
                    if (!ark>com.RNFetchBlob.Utils.PathResolverark>.c(p6)) {
                        if (!"content".equalsIgnoreCase(p6.getScheme())) {
                            try {
                                boolean v0_20 = p5.getContentResolver().openInputStream(p6);
                            } catch (String v5_16) {
                                com.RNFetchBlob.RNFetchBlobUtils.b(v5_16.toString());
                                return 0;
                            }
                            if (v0_20) {
                                byte[] v6_11 = ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5.getContentResolver(), p6);
                                if (v6_11 != null) {
                                    java.io.File v1_6 = new java.io.File(p5.getCacheDir(), v6_11);
                                    String v5_14 = new java.io.FileOutputStream(v1_6);
                                    byte[] v6_13 = new byte[1024];
                                    while (v0_20.read(v6_13) > 0) {
                                        v5_14.write(v6_13);
                                    }
                                    v5_14.close();
                                    v0_20.close();
                                    return v1_6.getAbsolutePath();
                                }
                            }
                        } else {
                            if (!ark>com.RNFetchBlob.Utils.PathResolverark>.d(p6)) {
                                return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, p6, 0, 0);
                            } else {
                                return p6.getLastPathSegment();
                            }
                        }
                    } else {
                        byte[] v6_15 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                        boolean v0_23 = v6_15[0];
                        if (!"image".equals(v0_23)) {
                            if (!"video".equals(v0_23)) {
                                if ("audio".equals(v0_23)) {
                                    v3_0 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                }
                            } else {
                                v3_0 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                            }
                        } else {
                            v3_0 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                        }
                        boolean v0_3 = new String[1];
                        v0_3[0] = v6_15[1];
                        return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, v3_0, "_id=?", v0_3);
                    }
                } else {
                    return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, android.content.ContentUris.withAppendedId(android.net.Uri.parse("content://downloads/public_downloads"), Long.valueOf(android.provider.DocumentsContract.getDocumentId(p6)).longValue()), 0, 0);
                }
            } else {
                String v5_4 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                if ("primary".equalsIgnoreCase(v5_4[0])) {
                    byte[] v6_10 = new StringBuilder();
                    v6_10.append(android.os.Environment.getExternalStorageDirectory());
                    v6_10.append("/");
                    v6_10.append(v5_4[1]);
                    return v6_10.toString();
                }
            }
        }
        return 0;
    }

Method com.RNFetchBlob.RNFetchBlobReq.a() calling method java.io.FileOutputStream.<init>()


    private void a(okhttp3.Response p12)
    {
        String v0_0 = this.b(p12);
        this.a(this.a(p12, v0_0));
        switch (ark>com.RNFetchBlob.RNFetchBlobReqark>$4.b[this.s.ordinal()]) {
            case 1:
                try {
                    if ((v0_0 == null) || (!this.f.h.booleanValue())) {
                        String v0_12 = p12.body().bytes();
                        com.facebook.react.bridge.Callback v1_11 = java.nio.charset.Charset.forName("UTF-8").newEncoder();
                        if (this.t != ark>com.RNFetchBlob.RNFetchBlobReqark>$ResponseFormat.c) {
                            v1_11.encode(java.nio.ByteBuffer.wrap(v0_12).asCharBuffer());
                            com.facebook.react.bridge.Callback v1_14 = new String(v0_12);
                            String v7_9 = this.n;
                            Object[] v8_6 = new Object[3];
                            v8_6[0] = 0;
                            v8_6[1] = "utf8";
                            v8_6[2] = v1_14;
                            v7_9.a(v8_6);
                        } else {
                            com.facebook.react.bridge.Callback v1_18 = this.n;
                            Object[] v2_14 = new Object[3];
                            v2_14[0] = 0;
                            v2_14[1] = "base64";
                            v2_14[2] = android.util.Base64.encodeToString(v0_12, 2);
                            v1_18.a(v2_14);
                            return;
                        }
                    } else {
                        String v0_17 = com.RNFetchBlob.RNFetchBlobFS.a(this.e, this.g);
                        com.facebook.react.bridge.Callback v1_1 = p12.body().byteStream();
                        String v7_1 = new java.io.FileOutputStream(new java.io.File(v0_17));
                        Object[] v8_3 = new byte[10240];
                        while(true) {
                            int v9_0 = v1_1.read(v8_3);
                            if (v9_0 == -1) {
                                break;
                            }
                            v7_1.write(v8_3, 0, v9_0);
                        }
                        v1_1.close();
                        v7_1.flush();
                        v7_1.close();
                        com.facebook.react.bridge.Callback v1_2 = this.n;
                        Object[] v2_1 = new Object[3];
                        v2_1[0] = 0;
                        v2_1[1] = "path";
                        v2_1[2] = v0_17;
                        v1_2.a(v2_1);
                    }
                } catch (java.io.IOException) {
                    String v0_1 = this.n;
                    com.facebook.react.bridge.Callback v1_3 = new Object[2];
                    v1_3[0] = "RNFetchBlob failed to encode response data to BASE64 string.";
                    v1_3[1] = 0;
                    v0_1.a(v1_3);
                }
            case 2:
                try {
                    p12.body().bytes();
                } catch (Exception) {
                }
                this.k = this.k.replace("?append=true", "");
                String v0_7 = this.n;
                com.facebook.react.bridge.Callback v1_7 = new Object[3];
                v1_7[0] = 0;
                v1_7[1] = "path";
                v1_7[2] = this.k;
                v0_7.a(v1_7);
                break;
            default:
                String v0_2 = this.n;
                com.facebook.react.bridge.Callback v1_4 = new Object[3];
                v1_4[0] = 0;
                v1_4[1] = "utf8";
                v1_4[2] = new String(p12.body().bytes(), "UTF-8");
                v0_2.a(v1_4);
        }
        p12.body().close();
        this.a();
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileOutputStream.<init>()


    public void a(String p5, String p6, boolean p7, com.facebook.react.bridge.Callback p8)
    {
        StringBuilder v0_1 = new java.io.File(p5);
        if ((v0_1.exists()) && (!v0_1.isDirectory())) {
            try {
                StringBuilder v0_3 = new java.io.FileOutputStream(p5, p7);
                this.c = p6;
                this.d = p7;
                Exception v6_2 = java.util.UUID.randomUUID().toString();
                ark>com.RNFetchBlob.RNFetchBlobFSark>.f.put(v6_2, this);
                this.e = v0_3;
                Object[] v7_3 = new Object[2];
                v7_3[0] = 0;
                v7_3[1] = v6_2;
                p8.a(v7_3);
            } catch (Exception v6_3) {
                Object[] v7_4 = new Object[1];
                StringBuilder v0_6 = new StringBuilder();
                v0_6.append("write stream error: failed to create write stream at path `");
                v0_6.append(p5);
                v0_6.append("` ");
                v0_6.append(v6_3.getLocalizedMessage());
                v7_4[0] = v0_6.toString();
                p8.a(v7_4);
            }
            return;
        } else {
            Exception v6_4 = new Object[1];
            Object[] v7_6 = new StringBuilder();
            v7_6.append("write stream error: target path `");
            v7_6.append(p5);
            v7_6.append("` may not exists or it\'s a folder");
            v6_4[0] = v7_6.toString();
            p8.a(v6_4);
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.b() calling method java.io.FileOutputStream.<init>()


    static void b(String p5, String p6, com.facebook.react.bridge.Callback p7)
    {
        String v5_1 = com.RNFetchBlob.RNFetchBlobFS.e(p5);
        int v0_0 = 0;
        try {
            if (com.RNFetchBlob.RNFetchBlobFS.c(v5_1)) {
                if (!new java.io.File(p6).exists()) {
                    new java.io.File(p6).createNewFile();
                }
                String v5_3 = com.RNFetchBlob.RNFetchBlobFS.b(v5_1);
                try {
                    int v3_4 = new java.io.FileOutputStream(p6);
                    try {
                        Object[] v6_4 = new byte[10240];
                    } catch (Object[] v6_3) {
                        v0_0 = v5_3;
                        String v5_5 = v6_3;
                    } catch (Object[] v6_2) {
                        v0_0 = v5_3;
                        String v5_4 = v6_2;
                        try {
                            Object[] v6_7 = new Object[1];
                            v6_7[0] = v5_4.getLocalizedMessage();
                            p7.a(v6_7);
                        } catch (String v5_5) {
                        }
                        if (v0_0 != 0) {
                            v0_0.close();
                        }
                        if (v3_4 != 0) {
                            v3_4.close();
                        }
                        String v5_14 = new Object[0];
                        p7.a(v5_14);
                        return;
                    }
                    while(true) {
                        int v0_1 = v5_3.read(v6_4);
                        if (v0_1 <= 0) {
                            break;
                        }
                        v3_4.write(v6_4, 0, v0_1);
                    }
                    if (v5_3 != null) {
                        v5_3.close();
                    }
                    if (v3_4 != 0) {
                        v3_4.close();
                    }
                    String v5_8 = new Object[0];
                    p7.a(v5_8);
                    return;
                } catch (Object[] v6_3) {
                    v3_4 = 0;
                } catch (Object[] v6_2) {
                    v3_4 = 0;
                }
            } else {
                Object[] v6_6 = new Object[1];
                int v3_6 = new StringBuilder();
                v3_6.append("cp error: source file at path`");
                v3_6.append(v5_1);
                v3_6.append("` not exists");
                v6_6[0] = v3_6.toString();
                p7.a(v6_6);
                try {
                    String v5_15 = new Object[0];
                    p7.a(v5_15);
                } catch (String v5_16) {
                    Object[] v6_11 = new Object[1];
                    v6_11[0] = v5_16.getLocalizedMessage();
                    p7.a(v6_11);
                }
                return;
            }
        } catch (String v5_5) {
            v3_4 = 0;
        } catch (String v5_4) {
            v3_4 = 0;
        }
        if (v0_0 == 0) {
            if (v3_4 != 0) {
                v3_4.close();
            }
            Object[] v6_10 = new Object[0];
            p7.a(v6_10);
        } else {
            v0_0.close();
        }
        throw v5_5;
    }

Method com.RNFetchBlob.RNFetchBlobFS.b() calling method java.io.FileOutputStream.<init>()


    static void b(String p6, com.facebook.react.bridge.ReadableArray p7, com.facebook.react.bridge.Callback p8)
    {
        try {
            int v2_4 = new java.io.File(p6);
        } catch (String v6_5) {
            Object[] v7_5 = new Object[1];
            v7_5[0] = v6_5.getLocalizedMessage();
            p8.a(v7_5);
            return;
        }
        if (!v2_4.exists()) {
            if (v2_4.createNewFile()) {
                java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(v2_4);
                int v2_1 = new byte[p7.a()];
                int v4 = 0;
                while (v4 < p7.a()) {
                    v2_1[v4] = ((byte) p7.c(v4));
                    v4++;
                }
                v3_1.write(v2_1);
                Object[] v7_2 = new Object[2];
                v7_2[0] = 0;
                v7_2[1] = p6;
                p8.a(v7_2);
                return;
            } else {
                Object[] v7_3 = new Object[1];
                int v2_6 = new StringBuilder();
                v2_6.append("create file error: failed to create file at path `");
                v2_6.append(p6);
                v2_6.append("` for its parent path may not exists");
                v7_3[0] = v2_6.toString();
                p8.a(v7_3);
                return;
            }
        } else {
            Object[] v7_4 = new Object[1];
            int v2_8 = new StringBuilder();
            v2_8.append("create file error: failed to create file at path `");
            v2_8.append(p6);
            v2_8.append("`, file already exists.");
            v7_4[0] = v2_8.toString();
            p8.a(v7_4);
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileOutputStream.<init>()


    public static void a(String p2, String p3, String p4, boolean p5, com.facebook.react.bridge.Promise p6)
    {
        try {
            int v0_1 = new java.io.File(p2);
            Integer v2_1 = v0_1.getParentFile();
        } catch (Integer v2_3) {
            p6.a("RNFetchBlob writeFileError", v2_3.getLocalizedMessage());
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        int v0_2;
        Integer v2_6 = new java.io.FileOutputStream(v0_1, p5);
        if (!p3.equalsIgnoreCase("uri")) {
            java.io.FileInputStream v3_1 = ark>com.RNFetchBlob.RNFetchBlobFSark>.a(p4, p3);
            v2_6.write(v3_1);
            v0_2 = v3_1.length;
        } else {
            java.io.FileInputStream v3_2 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p4);
            byte[] v4_2 = new java.io.File(v3_2);
            if (v4_2.exists()) {
                java.io.FileInputStream v3_4 = new java.io.FileInputStream(v4_2);
                byte[] v4_4 = new byte[10240];
                v0_2 = 0;
                while(true) {
                    int v1_0 = v3_4.read(v4_4);
                    if (v1_0 <= 0) {
                        break;
                    }
                    v2_6.write(v4_4, 0, v1_0);
                    v0_2 += v1_0;
                }
                v3_4.close();
            } else {
                int v5_6 = new StringBuilder();
                v5_6.append("source file : ");
                v5_6.append(v3_2);
                v5_6.append("not exists");
                p6.a("RNfetchBlob writeFileError", v5_6.toString());
                v2_6.close();
                return;
            }
        }
        v2_6.close();
        p6.a(Integer.valueOf(v0_2));
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileOutputStream.<init>()


    static void a(String p6, String p7, String p8, com.facebook.react.bridge.Callback p9)
    {
        try {
            String v2_2 = new java.io.File(p6);
            int v3_6 = v2_2.createNewFile();
        } catch (String v6_4) {
            Object[] v7_8 = new Object[1];
            v7_8[0] = v6_4.getLocalizedMessage();
            p9.a(v7_8);
            return;
        }
        if (!p8.equals("uri")) {
            if (v3_6 != 0) {
                new java.io.FileOutputStream(v2_2).write(ark>com.RNFetchBlob.RNFetchBlobFSark>.a(p7, p8));
            } else {
                Object[] v7_2 = new Object[1];
                int v8_2 = new StringBuilder();
                v8_2.append("create file error: failed to create file at path `");
                v8_2.append(p6);
                v8_2.append("` for its parent path may not exists, or the file already exists. If you intended to overwrite the existing file use fs.writeFile instead.");
                v7_2[0] = v8_2.toString();
                p9.a(v7_2);
                return;
            }
        } else {
            int v3_4 = new java.io.File(p7.replace("RNFetchBlob-file://", ""));
            if (v3_4.exists()) {
                Object[] v7_4 = new java.io.FileInputStream(v3_4);
                int v8_7 = new java.io.FileOutputStream(v2_2);
                String v2_4 = new byte[10240];
                int v3_5 = v7_4.read(v2_4);
                while (v3_5 > 0) {
                    v8_7.write(v2_4, 0, v3_5);
                    v3_5 = v7_4.read(v2_4);
                }
                v7_4.close();
                v8_7.close();
            } else {
                String v6_3 = new Object[2];
                v6_3[0] = "RNfetchBlob writeFileError";
                int v8_11 = new StringBuilder();
                v8_11.append("source file : ");
                v8_11.append(p7);
                v8_11.append("not exists");
                v6_3[1] = v8_11.toString();
                p9.a(v6_3);
                return;
            }
        }
        Object[] v7_5 = new Object[2];
        v7_5[0] = 0;
        v7_5[1] = p6;
        p9.a(v7_5);
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileOutputStream.<init>()


    public static void a(String p18, String p19, int p20, int p21, String p22, com.facebook.react.bridge.Promise p23)
    {
        try {
            java.io.FileOutputStream v3_2 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p18);
            java.io.FileInputStream v4_5 = new java.io.File(v3_2);
        } catch (Exception v0) {
            String v1_2 = v0;
            v1_2.printStackTrace();
            p23.a(v1_2.getLocalizedMessage());
            return;
        }
        if (v4_5.exists()) {
            long v8 = (Math.min(v4_5.length(), ((long) p21)) - ((long) p20));
            java.io.FileInputStream v4_3 = new java.io.FileInputStream(new java.io.File(v3_2));
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(new java.io.File(p19));
            v4_3.skip(((long) p20));
            int v5_4 = 10240;
            byte[] v6_4 = new byte[10240];
            long v12 = 0;
            while (v12 < v8) {
                long v14_1 = ((long) v4_3.read(v6_4, 0, v5_4));
                if (v14_1 > 0) {
                    v3_1.write(v6_4, 0, ((int) Math.min((v8 - v12), v14_1)));
                    v12 += v14_1;
                    v5_4 = 10240;
                } else {
                    break;
                }
            }
            v4_3.close();
            v3_1.flush();
            v3_1.close();
            p23.a(p19);
            return;
        } else {
            java.io.FileInputStream v4_7 = new StringBuilder();
            v4_7.append("source file : ");
            v4_7.append(v3_2);
            v4_7.append(" not exists");
            p23.a("RNFetchBlob.slice error", v4_7.toString());
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileOutputStream.<init>()


    public static void a(String p2, com.facebook.react.bridge.ReadableArray p3, boolean p4, com.facebook.react.bridge.Promise p5)
    {
        try {
            int v0_1 = new java.io.File(p2);
            Integer v2_4 = v0_1.getParentFile();
        } catch (Integer v2_3) {
            p5.a("RNFetchBlob writeFileError", v2_3.getLocalizedMessage());
            return;
        }
        if (!v2_4.exists()) {
            v2_4.mkdirs();
        }
        Integer v2_7 = new java.io.FileOutputStream(v0_1, p4);
        byte[] v4_2 = new byte[p3.a()];
        int v0_2 = 0;
        while (v0_2 < p3.a()) {
            v4_2[v0_2] = ((byte) p3.c(v0_2));
            v0_2++;
        }
        v2_7.write(v4_2);
        v2_7.close();
        p5.a(Integer.valueOf(p3.a()));
        return;
    }

Method android.support.v4.print.PrintHelper$PrintHelperApi19$2.a() calling method java.io.FileOutputStream.<init>()


    protected varargs Throwable a(Void[] p9)
    {
        try {
            if (!this.a.isCanceled()) {
                android.graphics.Bitmap v9_10 = new android.print.pdf.PrintedPdfDocument(this.h.a, this.b);
                android.graphics.Bitmap v1_1 = android.support.v4.print.PrintHelper$PrintHelperApi19.a(this.h, this.c, this.b.getColorMode());
                if (!this.a.isCanceled()) {
                    try {
                        java.io.FileOutputStream v2_5;
                        java.io.FileDescriptor v3_2 = v9_10.startPage(1);
                    } catch (Throwable v0_1) {
                        v9_10.close();
                        if (this.f != null) {
                            this.f.close();
                        }
                        if (v1_1 != this.c) {
                            v1_1.recycle();
                        }
                        throw v0_1;
                    }
                    if (!this.h.d) {
                        android.graphics.Matrix v4_3 = new android.print.pdf.PrintedPdfDocument(this.h.a, this.d);
                        java.io.FileOutputStream v2_4 = v4_3.startPage(1);
                        android.graphics.Canvas v5_3 = new android.graphics.RectF(v2_4.getInfo().getContentRect());
                        v4_3.finishPage(v2_4);
                        v4_3.close();
                        v2_5 = v5_3;
                    } else {
                        v2_5 = new android.graphics.RectF(v3_2.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v4_7 = android.support.v4.print.PrintHelper$PrintHelperApi19.a(this.h, v1_1.getWidth(), v1_1.getHeight(), v2_5, this.e);
                    if (!this.h.d) {
                        v4_7.postTranslate(v2_5.left, v2_5.top);
                        v3_2.getCanvas().clipRect(v2_5);
                    } else {
                    }
                    v3_2.getCanvas().drawBitmap(v1_1, v4_7, 0);
                    v9_10.finishPage(v3_2);
                    if (!this.a.isCanceled()) {
                        v9_10.writeTo(new java.io.FileOutputStream(this.f.getFileDescriptor()));
                        v9_10.close();
                        if (this.f != null) {
                            this.f.close();
                        }
                        if (v1_1 != this.c) {
                            v1_1.recycle();
                        }
                        return 0;
                    } else {
                        v9_10.close();
                        if (this.f != null) {
                            this.f.close();
                        }
                        if (v1_1 != this.c) {
                            v1_1.recycle();
                        }
                        return 0;
                    }
                } else {
                    return 0;
                }
            } else {
                return 0;
            }
        } catch (android.graphics.Bitmap v9_4) {
            return v9_4;
        }
    }

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


    public static boolean a(java.io.File p4, java.io.InputStream p5)
    {
        int v1_0 = 0;
        try {
            StringBuilder v2_3 = new java.io.FileOutputStream(p4, 0);
            try {
                int v4_7 = new byte[1024];
            } catch (int v4_4) {
                v1_0 = v2_3;
                ark>android.support.v4.graphics.TypefaceCompatUtilark>.a(v1_0);
                throw v4_4;
            } catch (int v4_1) {
                v1_0 = v2_3;
                StringBuilder v2_1 = new StringBuilder();
                v2_1.append("Error copying resource contents to temp file: ");
                v2_1.append(v4_1.getMessage());
                android.util.Log.e("TypefaceCompatUtil", v2_1.toString());
                ark>android.support.v4.graphics.TypefaceCompatUtilark>.a(v1_0);
                return 0;
            }
            while(true) {
                int v1_1 = p5.read(v4_7);
                if (v1_1 == -1) {
                    break;
                }
                v2_3.write(v4_7, 0, v1_1);
            }
            ark>android.support.v4.graphics.TypefaceCompatUtilark>.a(v2_3);
            return 1;
        } catch (int v4_4) {
        } catch (int v4_1) {
            v2_1 = new StringBuilder();
            v2_1.append("Error copying resource contents to temp file: ");
            v2_1.append(v4_1.getMessage());
            android.util.Log.e("TypefaceCompatUtil", v2_1.toString());
            ark>android.support.v4.graphics.TypefaceCompatUtilark>.a(v1_0);
            return 0;
        }
    }

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


    private static void a(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)));
            try {
                String v1_8 = new java.util.zip.ZipEntry("classes.dex");
                v1_8.setTime(p5.getTime());
                v0_4.putNextEntry(v1_8);
                java.io.IOException v5_5 = new byte[16384];
                String v1_0 = v4_1.read(v5_5);
            } catch (java.io.IOException v5_2) {
                v0_4.close();
                throw v5_2;
            }
            while (v1_0 != -1) {
                v0_4.write(v5_5, 0, v1_0);
                v1_0 = v4_1.read(v5_5);
            }
            v0_4.closeEntry();
            v0_4.close();
            if (v7_1.setReadOnly()) {
                StringBuilder v0_6 = new StringBuilder();
                v0_6.append("Renaming to ");
                v0_6.append(p6.getPath());
                android.util.Log.i("MultiDex", v0_6.toString());
                if (v7_1.renameTo(p6)) {
                    ark>android.support.multidex.MultiDexExtractorark>.a(v4_1);
                    v7_1.delete();
                    return;
                } else {
                    StringBuilder v0_9 = new StringBuilder();
                    v0_9.append("Failed to rename \"");
                    v0_9.append(v7_1.getAbsolutePath());
                    v0_9.append("\" to \"");
                    v0_9.append(p6.getAbsolutePath());
                    v0_9.append("\"");
                    throw new java.io.IOException(v0_9.toString());
                }
            } else {
                StringBuilder v0_11 = new StringBuilder();
                v0_11.append("Failed to mark readonly \"");
                v0_11.append(v7_1.getAbsolutePath());
                v0_11.append("\" (tmp of \"");
                v0_11.append(p6.getAbsolutePath());
                v0_11.append("\")");
                throw new java.io.IOException(v0_11.toString());
            }
        } catch (java.io.IOException v5_3) {
            ark>android.support.multidex.MultiDexExtractorark>.a(v4_1);
            v7_1.delete();
            throw v5_3;
        }
    }

Method android.support.media.ExifInterface.a() calling method java.io.FileOutputStream.<init>()


    public void a()
    {
        if ((this.V) && (this.I == 4)) {
            if (this.G != null) {
                this.O = this.b();
                Throwable v1_1 = new StringBuilder();
                v1_1.append(this.G);
                v1_1.append(".tmp");
                String v0_2 = new java.io.File(v1_1.toString());
                if (new java.io.File(this.G).renameTo(v0_2)) {
                    Throwable v1_6 = 0;
                    try {
                        int v2_4 = new java.io.FileInputStream(v0_2);
                        try {
                            Throwable v3_2 = new java.io.FileOutputStream(this.G);
                            try {
                                this.a(v2_4, v3_2);
                                ark>android.support.media.ExifInterfaceark>.a(v2_4);
                                ark>android.support.media.ExifInterfaceark>.a(v3_2);
                                v0_2.delete();
                                this.O = 0;
                                return;
                            } catch (Throwable v1_8) {
                                Throwable v3_0 = v1_8;
                                v1_6 = v3_2;
                                ark>android.support.media.ExifInterfaceark>.a(v2_4);
                                ark>android.support.media.ExifInterfaceark>.a(v1_6);
                                v0_2.delete();
                                throw v3_0;
                            }
                        } catch (Throwable v3_0) {
                        }
                        this.a(v2_4, v3_2);
                        ark>android.support.media.ExifInterfaceark>.a(v2_4);
                        ark>android.support.media.ExifInterfaceark>.a(v3_2);
                        v0_2.delete();
                        this.O = 0;
                        return;
                    } catch (int v2_5) {
                        v3_0 = v2_5;
                        v2_4 = 0;
                    }
                } else {
                    int v2_7 = new StringBuilder();
                    v2_7.append("Could not rename to ");
                    v2_7.append(v0_2.getAbsolutePath());
                    throw new java.io.IOException(v2_7.toString());
                }
            } else {
                throw new java.io.IOException("ExifInterface does not support saving attributes for the current input.");
            }
        } else {
            throw new java.io.IOException("ExifInterface only supports saving attributes on JPEG formats.");
        }
    }

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


    public void a(long p4, org.json.JSONObject p6)
    {
        io.fabric.sdk.android.Fabric.h().a("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.a).a(), "com.crashlytics.settings.json"));
                try {
                    v4_1.write(p6.toString());
                    v4_1.flush();
                    io.fabric.sdk.android.services.common.CommonUtils.a(v4_1, "Failed to close settings writer.");
                } catch (Exception v5_5) {
                    v0_1 = v4_1;
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close settings writer.");
                    throw v5_5;
                } catch (Exception v5_2) {
                    v0_1 = v4_1;
                    io.fabric.sdk.android.Fabric.h().e("Fabric", "Failed to cache settings", v5_2);
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close settings writer.");
                }
            } catch (Exception v5_5) {
            } catch (Exception v5_2) {
            }
        }
        return;
    }

Method com.newrelic.agent.android.util.PersistentUUID.putUUIDToFileStore() calling method java.io.FileWriter.<init>()


    protected void putUUIDToFileStore(String p6)
    {
        String v0_0 = 0;
        try {
            com.newrelic.agent.android.logging.AgentLog v1_1 = new org.json.JSONObject();
            v1_1.put("nr_uuid", p6);
            String v6_9 = new java.io.BufferedWriter(new java.io.FileWriter(com.newrelic.agent.android.util.PersistentUUID.UUID_FILE));
            try {
                v6_9.write(v1_1.toString());
                v6_9.flush();
            } catch (String v0_4) {
                v0_0 = v6_9;
                String v6_5 = v0_4;
                if (v0_0 != null) {
                    try {
                        v0_0.close();
                    } catch (String v0_5) {
                        com.newrelic.agent.android.util.PersistentUUID.log.error(v0_5.getMessage());
                    }
                }
                throw v6_5;
            } catch (String v0_3) {
                v0_0 = v6_9;
                String v6_2 = v0_3;
                com.newrelic.agent.android.util.PersistentUUID.log.error(v6_2.getMessage());
                if (v0_0 == null) {
                    return;
                } else {
                    v0_0.close();
                    return;
                }
            } catch (String v0_2) {
                v0_0 = v6_9;
                String v6_1 = v0_2;
                com.newrelic.agent.android.util.PersistentUUID.log.error(v6_1.getMessage());
                if (v0_0 == null) {
                    return;
                } else {
                    v0_0.close();
                    return;
                }
            }
            if (v6_9 == null) {
                return;
            } else {
                v6_9.close();
                return;
            }
        } catch (String v6_5) {
        } catch (String v6_2) {
        } catch (String v6_1) {
        } catch (String v6_7) {
            com.newrelic.agent.android.util.PersistentUUID.log.error(v6_7.getMessage());
            return;
        }
    }

Method org.apache.http.entity.mime.content.FileBody.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(java.io.OutputStream p5)
    {
        if (p5 != null) {
            java.io.FileInputStream v0_2 = new java.io.FileInputStream(this.file);
            try {
                byte[] v1_2 = new byte[4096];
            } catch (Throwable v5_1) {
                v0_2.close();
                throw v5_1;
            }
            while(true) {
                int v2 = v0_2.read(v1_2);
                if (v2 == -1) {
                    break;
                }
                p5.write(v1_2, 0, v2);
            }
            p5.flush();
            v0_2.close();
            return;
        } else {
            throw new IllegalArgumentException("Output stream may not be null");
        }
    }

Method org.apache.http.entity.mime.content.FileBody.getInputStream() calling method java.io.FileInputStream.<init>()


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

Method com.rnfs.RNFSManager.readFile() calling method java.io.FileInputStream.<init>()


    public void readFile(String p5, com.facebook.react.bridge.Promise p6)
    {
        try {
            String v0_1 = new java.io.File(p5);
        } catch (String v0_5) {
            v0_5.printStackTrace();
            this.reject(p6, p5, v0_5);
            return;
        }
        if (!v0_1.isDirectory()) {
            if (v0_1.exists()) {
                String v0_3 = new byte[((int) v0_1.length())];
                new java.io.FileInputStream(p5).read(v0_3);
                p6.a(android.util.Base64.encodeToString(v0_3, 2));
                return;
            } else {
                this.rejectFileNotFound(p6, p5);
                return;
            }
        } else {
            this.rejectFileIsDirectory(p6);
            return;
        }
    }

Method com.rnfs.RNFSManager.read() calling method java.io.FileInputStream.<init>()


    public void read(String p5, int p6, int p7, com.facebook.react.bridge.Promise p8)
    {
        try {
            java.io.FileInputStream v0_1 = new java.io.File(p5);
        } catch (String v6_3) {
            v6_3.printStackTrace();
            this.reject(p8, p5, v6_3);
            return;
        }
        if (!v0_1.isDirectory()) {
            if (v0_1.exists()) {
                java.io.FileInputStream v0_4 = new java.io.FileInputStream(p5);
                byte[] v1_0 = new byte[p6];
                v0_4.skip(((long) p7));
                v0_4.read(v1_0, 0, p6);
                p8.a(android.util.Base64.encodeToString(v1_0, 2));
                return;
            } else {
                this.rejectFileNotFound(p8, p5);
                return;
            }
        } else {
            this.rejectFileIsDirectory(p8);
            return;
        }
    }

Method com.rnfs.RNFSManager.hash() calling method java.io.FileInputStream.<init>()


    public void hash(String p8, String p9, com.facebook.react.bridge.Promise p10)
    {
        try {
            StringBuilder v0_1 = new java.util.HashMap();
            v0_1.put("md5", "MD5");
            v0_1.put("sha1", "SHA-1");
            v0_1.put("sha224", "SHA-224");
            v0_1.put("sha256", "SHA-256");
            v0_1.put("sha384", "SHA-384");
            v0_1.put("sha512", "SHA-512");
        } catch (String v9_8) {
            v9_8.printStackTrace();
            this.reject(p10, p8, v9_8);
            return;
        }
        if (v0_1.containsKey(p9)) {
            int v1_6 = new java.io.File(p8);
            if (!v1_6.isDirectory()) {
                if (v1_6.exists()) {
                    String v9_3 = java.security.MessageDigest.getInstance(((String) v0_1.get(p9)));
                    StringBuilder v0_3 = new java.io.FileInputStream(p8);
                    int v1_9 = new byte[((int) v1_6.length())];
                    while(true) {
                        int v2_6 = v0_3.read(v1_9);
                        if (v2_6 == -1) {
                            break;
                        }
                        v9_3.update(v1_9, 0, v2_6);
                    }
                    StringBuilder v0_5 = new StringBuilder();
                    String v9_4 = v9_3.digest();
                    int v1_11 = v9_4.length;
                    int v2_7 = 0;
                    while (v2_7 < v1_11) {
                        Object[] v6_1 = new Object[1];
                        v6_1[0] = Byte.valueOf(v9_4[v2_7]);
                        v0_5.append(String.format("%02x", v6_1));
                        v2_7++;
                    }
                    p10.a(v0_5.toString());
                    return;
                } else {
                    this.rejectFileNotFound(p10, p8);
                    return;
                }
            } else {
                this.rejectFileIsDirectory(p10);
                return;
            }
        } else {
            throw new Exception("Invalid hash algorithm");
        }
    }

Method com.rnfs.RNFSManager.copyFile() calling method java.io.FileInputStream.<init>()


    private void copyFile(String p4, String p5)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        java.io.FileOutputStream v4_2 = new java.io.FileOutputStream(p5);
        byte[] v5_2 = new byte[1024];
        while(true) {
            int v1 = v0_1.read(v5_2);
            if (v1 <= 0) {
                break;
            }
            v4_2.write(v5_2, 0, v1);
        }
        v0_1.close();
        v4_2.close();
        return;
    }

Method com.lwansbrough.RCTCamera.RCTCameraModule.convertFileToByteArray() calling method java.io.FileInputStream.<init>()


    public static byte[] convertFileToByteArray(java.io.File p4)
    {
        try {
            java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
            byte[] v4_4 = new java.io.ByteArrayOutputStream();
            byte[] v1_1 = new byte[8192];
        } catch (byte[] v4_2) {
            v4_2.printStackTrace();
            byte[] v4_1 = 0;
            return v4_1;
        }
        while(true) {
            int v2 = v0_1.read(v1_1);
            if (v2 == -1) {
                break;
            }
            v4_4.write(v1_1, 0, v2);
        }
        v4_1 = v4_4.toByteArray();
        return v4_1;
    }

Method org.apache.http.entity.FileEntity.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(java.io.OutputStream p5)
    {
        if (p5 != null) {
            java.io.FileInputStream v0_2 = new java.io.FileInputStream(this.file);
            try {
                byte[] v1_2 = new byte[4096];
            } catch (Throwable v5_1) {
                v0_2.close();
                throw v5_1;
            }
            while(true) {
                int v2 = v0_2.read(v1_2);
                if (v2 == -1) {
                    break;
                }
                p5.write(v1_2, 0, v2);
            }
            p5.flush();
            v0_2.close();
            return;
        } else {
            throw new IllegalArgumentException("Output stream may not be null");
        }
    }

Method org.apache.http.entity.FileEntity.getContent() calling method java.io.FileInputStream.<init>()


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

Method org.joda.time.tz.ZoneInfoProvider.openResource() calling method java.io.FileInputStream.<init>()


    private java.io.InputStream openResource(String p4)
    {
        String v0_1;
        if (this.iFileDir == null) {
            java.io.IOException v4_7 = this.iResourcePath.concat(p4);
            if (this.iLoader == null) {
                v0_1 = ClassLoader.getSystemResourceAsStream(v4_7);
            } else {
                v0_1 = this.iLoader.getResourceAsStream(v4_7);
            }
            if (v0_1 == null) {
                java.io.IOException v4_3;
                String v0_3 = new StringBuilder(40);
                v0_3.append("Resource not found: \"");
                v0_3.append(v4_7);
                v0_3.append("\" ClassLoader: ");
                if (this.iLoader == null) {
                    v4_3 = "system";
                } else {
                    v4_3 = this.iLoader.toString();
                }
                v0_3.append(v4_3);
                throw new java.io.IOException(v0_3.toString());
            }
        } else {
            v0_1 = new java.io.FileInputStream(new java.io.File(this.iFileDir, p4));
        }
        return v0_1;
    }

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


    public org.json.JSONObject a()
    {
        io.fabric.sdk.android.Fabric.h().a("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.a).a(), "com.crashlytics.settings.json");
        } catch (Exception v1_4) {
            io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Error while closing settings cache file.");
            throw v1_4;
        } catch (Exception v1_3) {
            String v2_4 = 0;
            io.fabric.sdk.android.Fabric.h().e("Fabric", "Failed to fetch cached settings", v1_3);
            io.fabric.sdk.android.services.common.CommonUtils.a(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.h().a("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.a(v2_4));
                v0_1 = v2_4;
            } catch (Exception v1_3) {
            }
        }
        io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Error while closing settings cache file.");
        v0_1 = v3_2;
        return v0_1;
    }

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


    private void a(java.io.File p5, java.io.File p6)
    {
        Throwable v0_0 = 0;
        try {
            String v1_1 = new java.io.FileInputStream(p5);
            try {
                Throwable v6_2 = this.a(p6);
                v0_0 = 1024;
                try {
                    Throwable v0_4 = new byte[1024];
                    io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, v6_2, v0_4);
                    io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, "Failed to close file input stream");
                    io.fabric.sdk.android.services.common.CommonUtils.a(v6_2, "Failed to close output stream");
                    p5.delete();
                    return;
                } catch (Throwable v0_3) {
                    v0_0 = v6_2;
                    Throwable v6_1 = v0_3;
                    io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, "Failed to close file input stream");
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_0, "Failed to close output stream");
                    p5.delete();
                    throw v6_1;
                }
            } catch (Throwable v6_1) {
            }
            v0_4 = new byte[1024];
            io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, v6_2, v0_4);
            io.fabric.sdk.android.services.common.CommonUtils.a(v1_1, "Failed to close file input stream");
            io.fabric.sdk.android.services.common.CommonUtils.a(v6_2, "Failed to close output stream");
            p5.delete();
            return;
        } catch (Throwable v6_1) {
            v1_1 = 0;
        }
    }

Method org.joda.time.tz.ZoneInfoCompiler.compile() calling method java.io.FileInputStream.<init>()


    public java.util.Map compile(java.io.File p9, java.io.File[] p10)
    {
        if (p10 != null) {
            java.util.Comparator v1_4 = 0;
            while (v1_4 < p10.length) {
                int v2_7 = new java.io.BufferedReader(new java.io.FileReader(p10[v1_4]));
                this.parseDataFile(v2_7);
                v2_7.close();
                v1_4++;
            }
        }
        if (p9 != null) {
            if ((p9.exists()) || (p9.mkdirs())) {
                if (!p9.isDirectory()) {
                    java.io.DataOutputStream v0_1 = new StringBuilder();
                    v0_1.append("Destination is not a directory: ");
                    v0_1.append(p9);
                    throw new java.io.IOException(v0_1.toString());
                }
            } else {
                java.io.DataOutputStream v0_3 = new StringBuilder();
                v0_3.append("Destination directory doesn\'t exist and cannot be created: ");
                v0_3.append(p9);
                throw new java.io.IOException(v0_3.toString());
            }
        }
        java.io.IOException v10_4 = new java.util.TreeMap();
        System.out.println("Writing zoneinfo files");
        java.util.Comparator v1_1 = 0;
        while (v1_1 < this.iZones.size()) {
            int v2_15 = ((org.joda.time.tz.ZoneInfoCompiler$Zone) this.iZones.get(v1_1));
            String v3_16 = new org.joda.time.tz.DateTimeZoneBuilder();
            v2_15.addToBuilder(v3_16, this.iRuleSets);
            String v4_1 = v3_16.toDateTimeZone(v2_15.iName, 1);
            if (org.joda.time.tz.ZoneInfoCompiler.test(v4_1.getID(), v4_1)) {
                v10_4.put(v4_1.getID(), v4_1);
                if (p9 != null) {
                    if (org.joda.time.tz.ZoneInfoCompiler.verbose()) {
                        StringBuilder v6_1 = new StringBuilder();
                        v6_1.append("Writing ");
                        v6_1.append(v4_1.getID());
                        System.out.println(v6_1.toString());
                    }
                    java.io.PrintStream v5_7 = new java.io.File(p9, v4_1.getID());
                    if (!v5_7.getParentFile().exists()) {
                        v5_7.getParentFile().mkdirs();
                    }
                    StringBuilder v6_8 = new java.io.FileOutputStream(v5_7);
                    try {
                        v3_16.writeTo(v2_15.iName, v6_8);
                        v6_8.close();
                        int v2_2 = new java.io.FileInputStream(v5_7);
                        String v3_1 = org.joda.time.tz.DateTimeZoneBuilder.readFrom(v2_2, v4_1.getID());
                        v2_2.close();
                    } catch (Throwable v9_1) {
                        v6_8.close();
                        throw v9_1;
                    }
                    if (!v4_1.equals(v3_1)) {
                        String v3_3 = new StringBuilder();
                        v3_3.append("*e* Error in ");
                        v3_3.append(v4_1.getID());
                        v3_3.append(": Didn\'t read properly from file");
                        System.out.println(v3_3.toString());
                    }
                }
            }
            v1_1++;
        }
        java.util.Comparator v1_5 = 0;
        while (v1_5 < 2) {
            int v2_12 = 0;
            while (v2_12 < this.iLinks.size()) {
                String v3_11 = ((String) this.iLinks.get(v2_12));
                String v4_7 = ((String) this.iLinks.get((v2_12 + 1)));
                java.io.PrintStream v5_11 = ((org.joda.time.DateTimeZone) v10_4.get(v3_11));
                if (v5_11 != null) {
                    v10_4.put(v4_7, v5_11);
                } else {
                    if (v1_5 > null) {
                        StringBuilder v6_10 = new StringBuilder();
                        v6_10.append("Cannot find time zone \'");
                        v6_10.append(v3_11);
                        v6_10.append("\' to link alias \'");
                        v6_10.append(v4_7);
                        v6_10.append("\' to");
                        System.out.println(v6_10.toString());
                    }
                }
                v2_12 += 2;
            }
            v1_5++;
        }
        if (p9 != null) {
            System.out.println("Writing ZoneInfoMap");
            java.io.DataOutputStream v0_6 = new java.io.File(p9, "ZoneInfoMap");
            if (!v0_6.getParentFile().exists()) {
                v0_6.getParentFile().mkdirs();
            }
            java.io.DataOutputStream v0_8 = new java.io.DataOutputStream(new java.io.FileOutputStream(v0_6));
            try {
                Throwable v9_10 = new java.util.TreeMap(String.CASE_INSENSITIVE_ORDER);
                v9_10.putAll(v10_4);
                org.joda.time.tz.ZoneInfoCompiler.writeZoneInfoMap(v0_8, v9_10);
                v0_8.close();
            } catch (Throwable v9_11) {
                v0_8.close();
                throw v9_11;
            }
        }
        return v10_4;
    }

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


    public static okio.Source a(java.io.File p1)
    {
        if (p1 != null) {
            return ark>okio.Okioark>.a(new java.io.FileInputStream(p1));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

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

Couldn't retrieve source code

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 com.google.android.gms.tagmanager.zzey.a() calling method java.io.FileInputStream.<init>()


    final void a()
    {
        if (this.d != null) {
            com.google.android.gms.tagmanager.zzdj.e("Attempting to load resource from disk");
            if (((com.google.android.gms.tagmanager.zzei.a().b() != com.google.android.gms.tagmanager.zzei$zza.b) && (com.google.android.gms.tagmanager.zzei.a().b() != com.google.android.gms.tagmanager.zzei$zza.c)) || (!this.b.equals(com.google.android.gms.tagmanager.zzei.a().d()))) {
                try {
                    String v0_7 = new java.io.FileInputStream(this.c());
                    try {
                        IllegalArgumentException v1_6 = new java.io.ByteArrayOutputStream();
                        com.google.android.gms.internal.zzdja.a(v0_7, v1_6);
                        IllegalArgumentException v1_9 = ((com.google.android.gms.internal.zzdiy) com.google.android.gms.internal.zzfjs.a(new com.google.android.gms.internal.zzdiy(), v1_6.toByteArray()));
                    } catch (IllegalArgumentException v1_16) {
                        try {
                            v0_7.close();
                        } catch (java.io.IOException) {
                            com.google.android.gms.tagmanager.zzdj.b("Error closing stream for reading resource from disk");
                        }
                        throw v1_16;
                    }
                    if ((v1_9.b != null) || (v1_9.c != null)) {
                        this.d.a(v1_9);
                        try {
                            v0_7.close();
                        } catch (java.io.IOException) {
                            com.google.android.gms.tagmanager.zzdj.b("Error closing stream for reading resource from disk");
                        }
                        com.google.android.gms.tagmanager.zzdj.e("The Disk resource was successfully read.");
                        return;
                    } else {
                        throw new IllegalArgumentException("Resource and SupplementedResource are NULL.");
                    }
                } catch (java.io.FileNotFoundException) {
                    com.google.android.gms.tagmanager.zzdj.d("Failed to find the resource in the disk");
                    this.d.a(com.google.android.gms.tagmanager.zzda.d);
                    return;
                }
            } else {
                this.d.a(com.google.android.gms.tagmanager.zzda.d);
                return;
            }
        } else {
            throw new IllegalStateException("Callback must be set before execute");
        }
    }

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


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

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


    private com.facebook.imagepipeline.image.EncodedImage a(com.facebook.imagepipeline.common.ResizeOptions p5, int p6)
    {
        int v5_1 = ark>com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducerark>.b(p5);
        if (v5_1 != 0) {
            try {
                int v5_2 = android.provider.MediaStore$Images$Thumbnails.queryMiniThumbnail(this.f, ((long) p6), v5_1, ark>com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducerark>.c);
            } 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.b(new java.io.FileInputStream(v6_5), ark>com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducerark>.a(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.a() calling method java.io.FileInputStream.<init>()


    private com.facebook.imagepipeline.image.EncodedImage a(android.net.Uri p7)
    {
        android.database.Cursor v7_1 = this.b.query(p7, ark>com.facebook.imagepipeline.producers.LocalContentUriFetchProducerark>.a, 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.b(new java.io.FileInputStream(v1_3), ark>com.facebook.imagepipeline.producers.LocalContentUriFetchProducerark>.a(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.TypefaceCompatApi21Impl.a() calling method java.io.FileInputStream.<init>()


    public android.graphics.Typeface a(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.a(p7, p8).a(), "r", p6);
                try {
                    Throwable v7_1 = this.a(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.a(p5, v7_3);
                } catch (Throwable v5_4) {
                    Throwable v8_4 = 0;
                    if (v7_3 != null) {
                        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;
                    }
                }
                if (v7_3 != null) {
                    v7_3.close();
                }
                if (v6_1 != null) {
                    v6_1.close();
                }
                return v5_2;
            } catch (java.io.IOException) {
                return 0;
            }
        } else {
            return 0;
        }
    }

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


    private static java.io.InputStream a(java.io.File p1)
    {
        return new java.io.FileInputStream(p1);
    }

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) {
            if (v1_2 != null) {
                v1_2.close();
            }
            throw v0_1;
        }
    }

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


    protected varargs void a(Void[] p15)
    {
        java.io.IOException v15_8 = new java.io.File(this.b.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.c("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.c("ReactNative", "Could not close output channel", v0_5);
                    }
                }
            }
            throw v15_3;
        } catch (java.io.IOException v15_2) {
            v1_1 = 0;
            try {
                this.c.a(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.c("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.c("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.a;
                    String[] v4_6 = new String[1];
                    v4_6[0] = v2_1.getAbsolutePath();
                    android.media.MediaScannerConnection.scanFile(v3_4, v4_6, 0, new ark>com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRollark>$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.c("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.c.a("E_UNABLE_TO_LOAD", "External media storage directory not available");
            return;
        }
    }

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


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

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


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

Method com.coupa.android.coupamobile.models.ValueObject.fetchJsonObjectFromFile() calling method java.io.FileInputStream.<init>()


    public org.json.JSONObject fetchJsonObjectFromFile(android.content.Context p3, String p4)
    {
        java.io.IOException v3_5 = p3.getFilesDir();
        int v1_3 = new StringBuilder();
        v1_3.append(p4);
        v1_3.append(".txt");
        String v0_1 = new java.io.File(v3_5, v1_3.toString());
        java.io.IOException v3_3 = new byte[((int) v0_1.length())];
        java.io.IOException v4_1 = 0;
        try {
            int v1_1 = new java.io.FileInputStream(v0_1);
            try {
                if (v1_1.read(v3_3) != 0) {
                    v4_1 = new org.json.JSONObject(new String(v3_3));
                }
            } catch (java.io.IOException v3_6) {
                com.coupa.android.coupamobile.core.ApplicationBase.handleException("JSONException", v3_6);
                if (v1_1 == 0) {
                    return v4_1;
                } else {
                    v1_1.close();
                    return v4_1;
                }
            } catch (java.io.IOException v3_4) {
                v3_4.printStackTrace();
                if (v1_1 == 0) {
                    return v4_1;
                } else {
                    v1_1.close();
                    return v4_1;
                }
            }
            if (v1_1 == 0) {
                return v4_1;
            } else {
                v1_1.close();
                return v4_1;
            }
        } catch (java.io.IOException v3_7) {
            v1_1 = 0;
            if (v1_1 != 0) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v4_2) {
                    v4_2.printStackTrace();
                }
            }
            throw v3_7;
        } catch (java.io.IOException v3_6) {
            v1_1 = 0;
        } catch (java.io.IOException v3_4) {
            v1_1 = 0;
        } catch (java.io.IOException v3_7) {
        } catch (java.io.IOException v3_10) {
            v3_10.printStackTrace();
            return v4_1;
        }
    }

Method com.coupa.android.coupamobile.models.SynchronizationService.patchHTML() calling method java.io.FileInputStream.<init>()


    private void patchHTML()
    {
        try {
            com.coupa.android.coupamobile.core.utils.FileHelper v1_5 = new java.io.FileInputStream(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getFile("expense_line_form.html"));
            String v2_2 = new byte[1048576];
            int v3 = v1_5.read(v2_2);
            v1_5.close();
        } catch (byte[] v0_1) {
            com.coupa.android.coupamobile.core.ApplicationBase.handleException("patchHTML", v0_1);
            return;
        }
        if ((v3 <= 0) || (v3 >= 1048576)) {
            return;
        } else {
            com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().saveFile("expense_line_form.html", new String(v2_2).replace("type=\"number\"", "type=\"tel\"").getBytes());
            return;
        }
    }

Method com.bumptech.glide.load.model.FileLoader$StreamFactory$1.a() calling method java.io.FileInputStream.<init>()


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

Method com.rnfs.RNFSManager.mkdir() calling method java.io.File.<init>()


    public void mkdir(String p2, com.facebook.react.bridge.ReadableMap p3, com.facebook.react.bridge.Promise p4)
    {
        try {
            int v3_1 = new java.io.File(p2);
            v3_1.mkdirs();
        } catch (int v3_3) {
            v3_3.printStackTrace();
            this.reject(p4, p2, v3_3);
            return;
        }
        if (v3_1.exists()) {
            p4.a(0);
            return;
        } else {
            throw new Exception("Directory could not be created");
        }
    }

Method com.rnfs.RNFSManager.hash() calling method java.io.File.<init>()


    public void hash(String p8, String p9, com.facebook.react.bridge.Promise p10)
    {
        try {
            StringBuilder v0_1 = new java.util.HashMap();
            v0_1.put("md5", "MD5");
            v0_1.put("sha1", "SHA-1");
            v0_1.put("sha224", "SHA-224");
            v0_1.put("sha256", "SHA-256");
            v0_1.put("sha384", "SHA-384");
            v0_1.put("sha512", "SHA-512");
        } catch (String v9_8) {
            v9_8.printStackTrace();
            this.reject(p10, p8, v9_8);
            return;
        }
        if (v0_1.containsKey(p9)) {
            int v1_6 = new java.io.File(p8);
            if (!v1_6.isDirectory()) {
                if (v1_6.exists()) {
                    String v9_3 = java.security.MessageDigest.getInstance(((String) v0_1.get(p9)));
                    StringBuilder v0_3 = new java.io.FileInputStream(p8);
                    int v1_9 = new byte[((int) v1_6.length())];
                    while(true) {
                        int v2_6 = v0_3.read(v1_9);
                        if (v2_6 == -1) {
                            break;
                        }
                        v9_3.update(v1_9, 0, v2_6);
                    }
                    StringBuilder v0_5 = new StringBuilder();
                    String v9_4 = v9_3.digest();
                    int v1_11 = v9_4.length;
                    int v2_7 = 0;
                    while (v2_7 < v1_11) {
                        Object[] v6_1 = new Object[1];
                        v6_1[0] = Byte.valueOf(v9_4[v2_7]);
                        v0_5.append(String.format("%02x", v6_1));
                        v2_7++;
                    }
                    p10.a(v0_5.toString());
                    return;
                } else {
                    this.rejectFileNotFound(p10, p8);
                    return;
                }
            } else {
                this.rejectFileIsDirectory(p10);
                return;
            }
        } else {
            throw new Exception("Invalid hash algorithm");
        }
    }

Method com.rnfs.RNFSManager.exists() calling method java.io.File.<init>()


    public void exists(String p2, com.facebook.react.bridge.Promise p3)
    {
        try {
            p3.a(Boolean.valueOf(new java.io.File(p2).exists()));
        } catch (Exception v0_4) {
            v0_4.printStackTrace();
            this.reject(p3, p2, v0_4);
        }
        return;
    }

Method com.rnfs.RNFSManager.downloadFile() calling method java.io.File.<init>()


    public void downloadFile(com.facebook.react.bridge.ReadableMap p7, com.facebook.react.bridge.Promise p8)
    {
        try {
            Exception v0_10 = new java.io.File(p7.f("toFile"));
            String v1_7 = new java.net.URL(p7.f("fromUrl"));
            int v2_1 = p7.e("jobId");
            int v3_1 = p7.k("headers");
            int v4_1 = p7.e("progressDivider");
            com.rnfs.DownloadParams v5_1 = new com.rnfs.DownloadParams();
            v5_1.a = v1_7;
            v5_1.b = v0_10;
            v5_1.c = v3_1;
            v5_1.d = ((float) v4_1);
            v5_1.g = new com.rnfs.RNFSManager$1(this, v2_1, p8, p7);
            v5_1.h = new com.rnfs.RNFSManager$2(this, v2_1);
            v5_1.i = new com.rnfs.RNFSManager$3(this, v2_1);
            Exception v0_9 = new com.rnfs.Downloader();
            String v1_3 = new com.rnfs.DownloadParams[1];
            v1_3[0] = v5_1;
            v0_9.execute(v1_3);
            this.downloaders.put(v2_1, v0_9);
        } catch (Exception v0_11) {
            v0_11.printStackTrace();
            this.reject(p8, p7.f("toFile"), v0_11);
        }
        return;
    }

Method com.rnfs.RNFSManager.copyInputStream() calling method java.io.File.<init>()

Couldn't retrieve source code

Method com.reactlibrary.RNReactNativeDocViewerModule.downloadFile() calling method java.io.File.<init>()


    private java.io.File downloadFile(String p19, String p20, Boolean p21, String p22, byte[] p23, com.facebook.react.bridge.Callback p24)
    {
        String v2_0 = p20;
        byte[] v4_3 = p22;
        try {
            java.io.PrintStream v10_1 = this.getReactApplicationContext().getBaseContext().getCacheDir();
        } catch (java.io.IOException v0_7) {
            v0_7.printStackTrace();
            java.io.PrintStream v1_14 = new Object[1];
            v1_14[0] = Integer.valueOf(2);
            p24.a(v1_14);
            return 0;
        } catch (java.io.IOException v0_6) {
            v0_6.printStackTrace();
            java.io.PrintStream v1_12 = new Object[1];
            v1_12[0] = Integer.valueOf(1);
            p24.a(v1_12);
            return 0;
        }
        if (p23.length <= 0) {
            int v5_2 = android.webkit.MimeTypeMap.getFileExtensionFromUrl(p19);
            long v12_7 = new StringBuilder();
            v12_7.append("Extensions DownloadFile ");
            v12_7.append(v5_2);
            System.out.println(v12_7.toString());
            if ((v5_2.equals("")) && (p22.equals(""))) {
                v5_2 = "pdf";
                long v12_10 = new StringBuilder();
                v12_10.append("extension (default): ");
                v12_10.append("pdf");
                System.out.println(v12_10.toString());
            }
            if ((p22 == "") || (!v5_2.equals(""))) {
                v4_3 = v5_2;
            } else {
                int v11_11 = new StringBuilder();
                v11_11.append("extension (default): ");
                v11_11.append(p22);
                System.out.println(v11_11.toString());
            }
            if (p20.indexOf("\\.") == -1) {
                int v5_8 = new StringBuilder();
                v5_8.append(p20);
                v5_8.append(46);
                v5_8.append(v4_3);
                v2_0 = v5_8.toString();
            }
            if ((p21 != null) && (p21.booleanValue())) {
                int v5_11 = new java.io.File(v10_1, v2_0);
                if (v5_11.exists()) {
                    return v5_11;
                }
            }
            int v5_13;
            int v5_12 = android.webkit.CookieManager.getInstance();
            if (v5_12.getCookie(p19) == null) {
                v5_13 = 0;
            } else {
                v5_13 = v5_12.getCookie(p19).toString();
            }
            java.io.PrintStream v1_16 = ((java.net.HttpURLConnection) new java.net.URL(p19).openConnection());
            int v11_18 = v1_16.getContentLength();
            if (v5_13 != 0) {
                v1_16.setRequestProperty("Cookie", v5_13);
            }
            java.io.File v3_4;
            java.io.PrintStream v1_1 = v1_16.getInputStream();
            if ((p21 == null) || (!p21.booleanValue())) {
                java.io.File v3_2 = new StringBuilder();
                v3_2.append(".");
                v3_2.append(v4_3);
                v3_4 = java.io.File.createTempFile("PP_", v3_2.toString(), v10_1);
            } else {
                v3_4 = new java.io.File(v10_1, v2_0);
            }
            v3_4.setReadable(1, 0);
            System.out.println(v3_4.getPath());
            String v2_4 = new java.io.FileOutputStream(v3_4);
            byte[] v4_2 = new byte[4096];
            long v12_1 = 0;
            int v5_1 = v1_1.read(v4_2);
            while (v5_1 > 0) {
                long v16 = (v12_1 + ((long) v5_1));
                if (v11_18 > 0) {
                    System.out.println(((int) ((100 * v16) / ((long) v11_18))));
                }
                v2_4.write(v4_2, 0, v5_1);
                v5_1 = v1_1.read(v4_2);
                v12_1 = v16;
            }
            v1_1.close();
            v2_4.close();
            if (!v3_4.exists()) {
                System.out.println("File doesn\'t exist");
            } else {
                System.out.println("File exists");
            }
            return v3_4;
        } else {
            if ((p21 == null) || (!p21.booleanValue())) {
                String v2_8 = new StringBuilder();
                v2_8.append(".");
                v2_8.append(p22);
                java.io.PrintStream v1_7 = java.io.File.createTempFile("PP_", v2_8.toString(), v10_1);
            } else {
                v1_7 = new java.io.File(v10_1, p20);
            }
            System.out.println("Bytes will be creating a file");
            java.io.File v3_9 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v1_7));
            try {
                v3_9.write(p23);
                try {
                    v3_9.close();
                } catch (java.io.IOException v0_5) {
                    v0_5.printStackTrace();
                }
                return v1_7;
            } catch (java.io.IOException v0_3) {
                java.io.PrintStream v1_10 = v0_3;
                try {
                    v3_9.close();
                } catch (java.io.IOException v0_4) {
                    v0_4.printStackTrace();
                }
                throw v1_10;
            } catch (java.io.IOException v0_1) {
                v0_1.printStackTrace();
                try {
                    v3_9.close();
                } catch (java.io.IOException v0_2) {
                    v0_2.printStackTrace();
                }
                return 0;
            }
        }
    }

Method com.lwansbrough.RCTCamera.RCTCameraModule.releaseMediaRecorder() calling method java.io.File.<init>()


    private void releaseMediaRecorder()
    {
        android.net.Uri v4_6 = (System.currentTimeMillis() - this.MRStartTime);
        if (v4_6 < 1500) {
            try {
                Thread.sleep((1500 - v4_6));
            } catch (com.facebook.react.bridge.Promise v0_21) {
                android.util.Log.e("RCTCameraModule", "releaseMediaRecorder thread sleep error.", v0_21);
            }
        }
        if (this.mMediaRecorder != null) {
            try {
                this.mMediaRecorder.stop();
            } catch (com.facebook.react.bridge.Promise v0_10) {
                android.util.Log.e("RCTCameraModule", "Media recorder stop error.", v0_10);
            }
            this.mMediaRecorder.reset();
            this.mMediaRecorder.release();
            this.mMediaRecorder = 0;
        }
        if (this.mCamera != null) {
            this.mCamera.lock();
        }
        if (this.mRecordingPromise != null) {
            com.facebook.react.bridge.Promise v0_17 = new java.io.File(this.mVideoFile.getPath());
            if (v0_17.exists()) {
                v0_17.setReadable(1, 0);
                v0_17.setWritable(1, 0);
                com.facebook.react.bridge.WritableNativeMap v2_10 = new com.facebook.react.bridge.WritableNativeMap();
                switch (this.mRecordingOptions.e("target")) {
                    case 0:
                        v2_10.putString("data", new String(com.lwansbrough.RCTCamera.RCTCameraModule.convertFileToByteArray(this.mVideoFile), 0));
                        this.mRecordingPromise.a(v2_10);
                        v0_17.delete();
                        break;
                    case 1:
                    case 3:
                        v2_10.putString("path", android.net.Uri.fromFile(this.mVideoFile).toString());
                        this.mRecordingPromise.a(v2_10);
                        break;
                    case 2:
                        android.net.Uri v4_13;
                        com.facebook.react.bridge.Promise v0_20 = new android.content.ContentValues();
                        v0_20.put("_data", this.mVideoFile.getPath());
                        if (!this.mRecordingOptions.a("title")) {
                            v4_13 = "video";
                        } else {
                            v4_13 = this.mRecordingOptions.f("title");
                        }
                        v0_20.put("title", v4_13);
                        if (this.mRecordingOptions.a("description")) {
                            v0_20.put("description", Boolean.valueOf(this.mRecordingOptions.a("description")));
                        }
                        if (this.mRecordingOptions.a("latitude")) {
                            v0_20.put("latitude", this.mRecordingOptions.f("latitude"));
                        }
                        if (this.mRecordingOptions.a("longitude")) {
                            v0_20.put("longitude", this.mRecordingOptions.f("longitude"));
                        }
                        v0_20.put("mime_type", "video/mp4");
                        com.lwansbrough.RCTCamera.RCTCameraModule._reactContext.getContentResolver().insert(android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI, v0_20);
                        this.addToMediaStore(this.mVideoFile.getAbsolutePath());
                        v2_10.putString("path", android.net.Uri.fromFile(this.mVideoFile).toString());
                        this.mRecordingPromise.a(v2_10);
                        break;
                    default:
                }
                this.mRecordingPromise = 0;
                return;
            } else {
                this.mRecordingPromise.a(new RuntimeException("There is nothing recorded."));
                this.mRecordingPromise = 0;
                return;
            }
        } else {
            return;
        }
    }

Method com.lwansbrough.RCTCamera.RCTCameraModule.getOutputFile() calling method java.io.File.<init>()


    private java.io.File getOutputFile(int p7, java.io.File p8)
    {
        if ((p8.exists()) || (p8.mkdirs())) {
            String v7_3;
            int v3_1 = new Object[1];
            v3_1[0] = new java.text.SimpleDateFormat("yyyyMMdd_HHmmss").format(new java.util.Date());
            StringBuilder v0_1 = String.format("%s", v3_1);
            if (p7 != 1) {
                if (p7 != 2) {
                    StringBuilder v0_3 = new StringBuilder();
                    v0_3.append("Unsupported media type:");
                    v0_3.append(p7);
                    android.util.Log.e("RCTCameraModule", v0_3.toString());
                    return 0;
                } else {
                    Object[] v1_1 = new Object[1];
                    v1_1[0] = v0_1;
                    v7_3 = String.format("VID_%s.mp4", v1_1);
                }
            } else {
                Object[] v1_2 = new Object[1];
                v1_2[0] = v0_1;
                v7_3 = String.format("IMG_%s.jpg", v1_2);
            }
            Object[] v4_4 = new Object[3];
            v4_4[0] = p8.getPath();
            v4_4[1] = java.io.File.separator;
            v4_4[2] = v7_3;
            return new java.io.File(String.format("%s%s%s", v4_4));
        } else {
            StringBuilder v0_8 = new StringBuilder();
            v0_8.append("failed to create directory:");
            v0_8.append(p8.getAbsolutePath());
            android.util.Log.e("RCTCameraModule", v0_8.toString());
            return 0;
        }
    }

Method org.reactnative.camera.RNCameraView$1.a() calling method java.io.File.<init>()


    public void a(com.google.android.cameraview.CameraView p3, String p4)
    {
        if (org.reactnative.camera.RNCameraView.d(this.a) != null) {
            if (p4 == 0) {
                org.reactnative.camera.RNCameraView.d(this.a).a("E_RECORDING", "Couldn\'t stop recording - there is none in progress");
            } else {
                org.reactnative.camera.RNCameraView v3_1 = com.facebook.react.bridge.Arguments.b();
                v3_1.putString("uri", org.reactnative.camera.utils.RNFileUtils.b(new java.io.File(p4)).toString());
                org.reactnative.camera.RNCameraView.d(this.a).a(v3_1);
            }
            org.reactnative.camera.RNCameraView.a(this.a, 0);
        }
        return;
    }

Method org.joda.time.tz.ZoneInfoProvider.openResource() calling method java.io.File.<init>()


    private java.io.InputStream openResource(String p4)
    {
        String v0_1;
        if (this.iFileDir == null) {
            java.io.IOException v4_7 = this.iResourcePath.concat(p4);
            if (this.iLoader == null) {
                v0_1 = ClassLoader.getSystemResourceAsStream(v4_7);
            } else {
                v0_1 = this.iLoader.getResourceAsStream(v4_7);
            }
            if (v0_1 == null) {
                java.io.IOException v4_3;
                String v0_3 = new StringBuilder(40);
                v0_3.append("Resource not found: \"");
                v0_3.append(v4_7);
                v0_3.append("\" ClassLoader: ");
                if (this.iLoader == null) {
                    v4_3 = "system";
                } else {
                    v4_3 = this.iLoader.toString();
                }
                v0_3.append(v4_3);
                throw new java.io.IOException(v0_3.toString());
            }
        } else {
            v0_1 = new java.io.FileInputStream(new java.io.File(this.iFileDir, p4));
        }
        return v0_1;
    }

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


    public void a(long p4, org.json.JSONObject p6)
    {
        io.fabric.sdk.android.Fabric.h().a("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.a).a(), "com.crashlytics.settings.json"));
                try {
                    v4_1.write(p6.toString());
                    v4_1.flush();
                    io.fabric.sdk.android.services.common.CommonUtils.a(v4_1, "Failed to close settings writer.");
                } catch (Exception v5_5) {
                    v0_1 = v4_1;
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close settings writer.");
                    throw v5_5;
                } catch (Exception v5_2) {
                    v0_1 = v4_1;
                    io.fabric.sdk.android.Fabric.h().e("Fabric", "Failed to cache settings", v5_2);
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close settings writer.");
                }
            } catch (Exception v5_5) {
            } catch (Exception v5_2) {
            }
        }
        return;
    }

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


    public org.json.JSONObject a()
    {
        io.fabric.sdk.android.Fabric.h().a("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.a).a(), "com.crashlytics.settings.json");
        } catch (Exception v1_4) {
            io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Error while closing settings cache file.");
            throw v1_4;
        } catch (Exception v1_3) {
            String v2_4 = 0;
            io.fabric.sdk.android.Fabric.h().e("Fabric", "Failed to fetch cached settings", v1_3);
            io.fabric.sdk.android.services.common.CommonUtils.a(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.h().a("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.a(v2_4));
                v0_1 = v2_4;
            } catch (Exception v1_3) {
            }
        }
        io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Error while closing settings cache file.");
        v0_1 = v3_2;
        return v0_1;
    }

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


    public void a(String p4)
    {
        this.e.close();
        this.a(this.d, new java.io.File(this.f, p4));
        this.e = new io.fabric.sdk.android.services.common.QueueFile(this.d);
        return;
    }

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


    private void e()
    {
        this.f = new java.io.File(this.b, this.c);
        if (!this.f.exists()) {
            this.f.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.a = p1;
        this.b = p2;
        this.c = p4;
        this.d = new java.io.File(this.b, p3);
        this.e = new io.fabric.sdk.android.services.common.QueueFile(this.d);
        this.e();
        return;
    }

Method org.reactnative.facedetector.tasks.FileFaceDetectionAsyncTask.onPreExecute() calling method java.io.File.<init>()


    protected void onPreExecute()
    {
        if (this.a != null) {
            this.b = android.net.Uri.parse(this.a).getPath();
            if (this.b != null) {
                if ((!this.b.startsWith(this.f.getCacheDir().getPath())) && (!this.b.startsWith(this.f.getFilesDir().getPath()))) {
                    com.facebook.react.bridge.Promise v0_5 = 0;
                } else {
                    v0_5 = 1;
                }
                if (v0_5 != null) {
                    if (!new java.io.File(this.b).exists()) {
                        com.facebook.react.bridge.Promise v0_10 = this.c;
                        String v3_1 = new StringBuilder();
                        v3_1.append("The file does not exist. Given path: `");
                        v3_1.append(this.b);
                        v3_1.append("`.");
                        v0_10.a("E_FACE_DETECTION_FAILED", v3_1.toString());
                        this.cancel(1);
                    }
                    return;
                } else {
                    this.c.a("E_FACE_DETECTION_FAILED", "The image has to be in the local app\'s directories.");
                    this.cancel(1);
                    return;
                }
            } else {
                com.facebook.react.bridge.Promise v0_13 = this.c;
                String v3_5 = new StringBuilder();
                v3_5.append("Invalid URI provided: `");
                v3_5.append(this.a);
                v3_5.append("`.");
                v0_13.a("E_FACE_DETECTION_FAILED", v3_5.toString());
                this.cancel(1);
                return;
            }
        } else {
            this.c.a("E_FACE_DETECTION_FAILED", "You have to provide an URI of an image.");
            this.cancel(1);
            return;
        }
    }

Method org.reactnative.camera.utils.ScopedContext.a() calling method java.io.File.<init>()


    public void a(android.content.Context p3)
    {
        StringBuilder v1_1 = new StringBuilder();
        v1_1.append(p3.getCacheDir());
        v1_1.append("/Camera/");
        this.a = new java.io.File(v1_1.toString());
        return;
    }

Method org.reactnative.camera.tasks.ResolveTakenPictureAsyncTask.a() calling method java.io.File.<init>()


    protected varargs com.facebook.react.bridge.WritableMap a(Void[] p9)
    {
        java.io.IOException v9_0 = com.facebook.react.bridge.Arguments.b();
        if (!this.c.a("skipProcessing")) {
            java.io.IOException v0_0;
            if (this.e != null) {
                v0_0 = 0;
            } else {
                this.e = android.graphics.BitmapFactory.decodeByteArray(this.b, 0, this.b.length);
                v0_0 = new java.io.ByteArrayInputStream(this.b);
            }
            try {
                if (v0_0 == null) {
                    v9_0.putInt("width", this.e.getWidth());
                    v9_0.putInt("height", this.e.getHeight());
                    com.facebook.react.bridge.WritableMap v3_13 = new java.io.ByteArrayOutputStream();
                    this.e.compress(android.graphics.Bitmap$CompressFormat.JPEG, this.a(), v3_13);
                    v9_0.putString("uri", android.net.Uri.fromFile(new java.io.File(this.a(v3_13))).toString());
                    if ((this.c.a("base64")) && (this.c.c("base64"))) {
                        v9_0.putString("base64", android.util.Base64.encodeToString(v3_13.toByteArray(), 0));
                    }
                    v3_13.close();
                    if (v0_0 != null) {
                        v0_0.close();
                        v0_0 = 0;
                    }
                    if (v0_0 != null) {
                        try {
                            v0_0.close();
                        } catch (java.io.IOException v0_3) {
                            v0_3.printStackTrace();
                        }
                    }
                    return v9_0;
                } else {
                    com.facebook.react.bridge.WritableMap v3_8 = new android.support.media.ExifInterface(v0_0);
                    String v4_11 = v3_8.a("Orientation", 0);
                    if (this.c.a("width")) {
                        this.e = this.b(this.e, this.c.e("width"));
                    }
                    if ((this.c.a("fixOrientation")) && ((this.c.c("fixOrientation")) && (v4_11 != null))) {
                        this.e = this.a(this.e, this.a(v4_11));
                    }
                    if ((this.c.a("mirrorImage")) && (this.c.c("mirrorImage"))) {
                        this.e = this.a(this.e);
                    }
                    if ((!this.c.a("exif")) || (!this.c.c("exif"))) {
                    } else {
                        v9_0.a("exif", org.reactnative.camera.RNCameraViewHelper.a(v3_8));
                    }
                }
            } catch (java.io.IOException v9_4) {
                v9_4.printStackTrace();
            }
            return 0;
        } else {
            try {
                java.io.IOException v0_6 = new java.io.File(org.reactnative.camera.utils.RNFileUtils.a(this.d, ".jpg"));
                v0_6.createNewFile();
                new java.io.FileOutputStream(v0_6).write(this.b);
                v9_0.putString("uri", android.net.Uri.fromFile(v0_6).toString());
            } catch (java.io.IOException v0_11) {
                this.a.a("E_TAKING_PICTURE_FAILED", "Documents directory of the app could not be found.", v0_11);
                v0_11.printStackTrace();
            } catch (java.io.IOException v0_9) {
                this.a.a("E_TAKING_PICTURE_FAILED", "An unknown I/O exception has occurred.", v0_9);
                v0_9.printStackTrace();
            }
            return v9_0;
        }
    }

Method org.joda.time.tz.ZoneInfoCompiler.compile() calling method java.io.File.<init>()


    public java.util.Map compile(java.io.File p9, java.io.File[] p10)
    {
        if (p10 != null) {
            java.util.Comparator v1_4 = 0;
            while (v1_4 < p10.length) {
                int v2_7 = new java.io.BufferedReader(new java.io.FileReader(p10[v1_4]));
                this.parseDataFile(v2_7);
                v2_7.close();
                v1_4++;
            }
        }
        if (p9 != null) {
            if ((p9.exists()) || (p9.mkdirs())) {
                if (!p9.isDirectory()) {
                    java.io.DataOutputStream v0_1 = new StringBuilder();
                    v0_1.append("Destination is not a directory: ");
                    v0_1.append(p9);
                    throw new java.io.IOException(v0_1.toString());
                }
            } else {
                java.io.DataOutputStream v0_3 = new StringBuilder();
                v0_3.append("Destination directory doesn\'t exist and cannot be created: ");
                v0_3.append(p9);
                throw new java.io.IOException(v0_3.toString());
            }
        }
        java.io.IOException v10_4 = new java.util.TreeMap();
        System.out.println("Writing zoneinfo files");
        java.util.Comparator v1_1 = 0;
        while (v1_1 < this.iZones.size()) {
            int v2_15 = ((org.joda.time.tz.ZoneInfoCompiler$Zone) this.iZones.get(v1_1));
            String v3_16 = new org.joda.time.tz.DateTimeZoneBuilder();
            v2_15.addToBuilder(v3_16, this.iRuleSets);
            String v4_1 = v3_16.toDateTimeZone(v2_15.iName, 1);
            if (org.joda.time.tz.ZoneInfoCompiler.test(v4_1.getID(), v4_1)) {
                v10_4.put(v4_1.getID(), v4_1);
                if (p9 != null) {
                    if (org.joda.time.tz.ZoneInfoCompiler.verbose()) {
                        StringBuilder v6_1 = new StringBuilder();
                        v6_1.append("Writing ");
                        v6_1.append(v4_1.getID());
                        System.out.println(v6_1.toString());
                    }
                    java.io.PrintStream v5_7 = new java.io.File(p9, v4_1.getID());
                    if (!v5_7.getParentFile().exists()) {
                        v5_7.getParentFile().mkdirs();
                    }
                    StringBuilder v6_8 = new java.io.FileOutputStream(v5_7);
                    try {
                        v3_16.writeTo(v2_15.iName, v6_8);
                        v6_8.close();
                        int v2_2 = new java.io.FileInputStream(v5_7);
                        String v3_1 = org.joda.time.tz.DateTimeZoneBuilder.readFrom(v2_2, v4_1.getID());
                        v2_2.close();
                    } catch (Throwable v9_1) {
                        v6_8.close();
                        throw v9_1;
                    }
                    if (!v4_1.equals(v3_1)) {
                        String v3_3 = new StringBuilder();
                        v3_3.append("*e* Error in ");
                        v3_3.append(v4_1.getID());
                        v3_3.append(": Didn\'t read properly from file");
                        System.out.println(v3_3.toString());
                    }
                }
            }
            v1_1++;
        }
        java.util.Comparator v1_5 = 0;
        while (v1_5 < 2) {
            int v2_12 = 0;
            while (v2_12 < this.iLinks.size()) {
                String v3_11 = ((String) this.iLinks.get(v2_12));
                String v4_7 = ((String) this.iLinks.get((v2_12 + 1)));
                java.io.PrintStream v5_11 = ((org.joda.time.DateTimeZone) v10_4.get(v3_11));
                if (v5_11 != null) {
                    v10_4.put(v4_7, v5_11);
                } else {
                    if (v1_5 > null) {
                        StringBuilder v6_10 = new StringBuilder();
                        v6_10.append("Cannot find time zone \'");
                        v6_10.append(v3_11);
                        v6_10.append("\' to link alias \'");
                        v6_10.append(v4_7);
                        v6_10.append("\' to");
                        System.out.println(v6_10.toString());
                    }
                }
                v2_12 += 2;
            }
            v1_5++;
        }
        if (p9 != null) {
            System.out.println("Writing ZoneInfoMap");
            java.io.DataOutputStream v0_6 = new java.io.File(p9, "ZoneInfoMap");
            if (!v0_6.getParentFile().exists()) {
                v0_6.getParentFile().mkdirs();
            }
            java.io.DataOutputStream v0_8 = new java.io.DataOutputStream(new java.io.FileOutputStream(v0_6));
            try {
                Throwable v9_10 = new java.util.TreeMap(String.CASE_INSENSITIVE_ORDER);
                v9_10.putAll(v10_4);
                org.joda.time.tz.ZoneInfoCompiler.writeZoneInfoMap(v0_8, v9_10);
                v0_8.close();
            } catch (Throwable v9_11) {
                v0_8.close();
                throw v9_11;
            }
        }
        return v10_4;
    }

Method org.joda.time.tz.ZoneInfoCompiler.main() calling method java.io.File.<init>()


    public static void main(String[] p9)
    {
        if (p9.length != 0) {
            int v1 = 0;
            java.io.File v2_0 = 0;
            java.io.File v3_0 = 0;
            int v0_3 = 0;
            int v4 = 0;
            while (v0_3 < p9.length) {
                try {
                    if (!"-src".equals(p9[v0_3])) {
                        if (!"-dst".equals(p9[v0_3])) {
                            if (!"-verbose".equals(p9[v0_3])) {
                                if (!"-?".equals(p9[v0_3])) {
                                    break;
                                }
                                org.joda.time.tz.ZoneInfoCompiler.printUsage();
                                return;
                            } else {
                                v4 = 1;
                            }
                        } else {
                            v0_3++;
                            v3_0 = new java.io.File(p9[v0_3]);
                        }
                    } else {
                        v0_3++;
                        v2_0 = new java.io.File(p9[v0_3]);
                    }
                    v0_3++;
                } catch (IndexOutOfBoundsException) {
                    org.joda.time.tz.ZoneInfoCompiler.printUsage();
                    return;
                }
            }
            if (v0_3 < p9.length) {
                boolean v5_11 = new java.io.File[(p9.length - v0_3)];
                while (v0_3 < p9.length) {
                    java.io.File v7_6;
                    if (v2_0 != null) {
                        v7_6 = new java.io.File(v2_0, p9[v0_3]);
                    } else {
                        v7_6 = new java.io.File(p9[v0_3]);
                    }
                    v5_11[v1] = v7_6;
                    v0_3++;
                    v1++;
                }
                org.joda.time.tz.ZoneInfoCompiler.cVerbose.set(Boolean.valueOf(v4));
                new org.joda.time.tz.ZoneInfoCompiler().compile(v3_0, v5_11);
                return;
            } else {
                org.joda.time.tz.ZoneInfoCompiler.printUsage();
                return;
            }
        } else {
            org.joda.time.tz.ZoneInfoCompiler.printUsage();
            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.a() calling method java.io.File.<init>()


    private static void a(java.io.File p4)
    {
        java.io.RandomAccessFile v1_2 = new StringBuilder();
        v1_2.append(p4.getPath());
        v1_2.append(".tmp");
        String v0_1 = new java.io.File(v1_2.toString());
        java.io.RandomAccessFile v1_1 = ark>io.fabric.sdk.android.services.common.QueueFileark>.b(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 = {4096, 0, 0, 0};
            ark>io.fabric.sdk.android.services.common.QueueFileark>.a(v2_3, v3_1);
            v1_1.write(v2_3);
            v1_1.close();
        } catch (java.io.IOException v4_2) {
            v1_1.close();
            throw v4_2;
        }
        if (v0_1.renameTo(p4)) {
            return;
        } else {
            throw new java.io.IOException("Rename failed!");
        }
    }

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


    public static boolean g(android.content.Context p3)
    {
        int v3_1 = io.fabric.sdk.android.services.common.CommonUtils.f(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.b() calling method java.io.File.<init>()


    public static declared_synchronized long b()
    {
        try {
            if (io.fabric.sdk.android.services.common.CommonUtils.d == -1) {
                boolean v1_1 = 0;
                String v3_0 = io.fabric.sdk.android.services.common.CommonUtils.a(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 {
                        io.fabric.sdk.android.Logger v4_10;
                        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.h();
                                    String v6_1 = new StringBuilder();
                                    v6_1.append("Unexpected meminfo format while computing RAM: ");
                                    v6_1.append(v3_1);
                                    v4_8.a("Fabric", v6_1.toString());
                                    io.fabric.sdk.android.services.common.CommonUtils.d = v1_1;
                                    return io.fabric.sdk.android.services.common.CommonUtils.d;
                                } else {
                                    v4_10 = io.fabric.sdk.android.services.common.CommonUtils.a(v3_1, "GB", 1073741824);
                                }
                            } else {
                                v4_10 = io.fabric.sdk.android.services.common.CommonUtils.a(v3_1, "MB", 1048576);
                            }
                        } else {
                            v4_10 = io.fabric.sdk.android.services.common.CommonUtils.a(v3_1, "KB", 1024);
                        }
                    } catch (io.fabric.sdk.android.Logger v4_13) {
                        String v5_5 = io.fabric.sdk.android.Fabric.h();
                        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_13);
                    }
                    v1_1 = v4_10;
                }
            }
        } catch (boolean v1_2) {
            throw v1_2;
        }
        return io.fabric.sdk.android.services.common.CommonUtils.d;
    }

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.a);
    }

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.a);
    }

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.a);
    }

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.a);
        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.a);
    }

Method com.reactlibrary.RNReactNativeDocViewerModule$FileDownloaderAsyncTask.a() calling method java.io.File.<init>()


    protected varargs java.io.File a(Void[] p9)
    {
        if (this.c.startsWith("file://")) {
            return new java.io.File(this.c.replace("file://", ""));
        } else {
            String v0_3 = new StringBuilder();
            v0_3.append("Url to download");
            v0_3.append(this.c);
            System.out.println(v0_3.toString());
            return com.reactlibrary.RNReactNativeDocViewerModule.access$000(this.a, this.c, this.d, this.e, this.f, this.g, this.b);
        }
    }

Method com.newrelic.agent.android.util.PersistentUUID.<init>() calling method java.io.File.<init>()


    public PersistentUUID(android.content.Context p3)
    {
        com.newrelic.agent.android.util.PersistentUUID.UUID_FILE = new java.io.File(p3.getFilesDir(), "nr_installation");
        return;
    }

Method com.newrelic.agent.android.util.PersistentUUID.<clinit>() calling method java.io.File.<init>()


    static PersistentUUID()
    {
        com.newrelic.agent.android.util.PersistentUUID.UUID_FILE = new java.io.File(android.os.Environment.getDataDirectory(), "nr_installation");
        com.newrelic.agent.android.util.PersistentUUID.log = com.newrelic.agent.android.logging.AgentLogManager.getAgentLog();
        return;
    }

Method com.coupa.android.coupamobile.views.AddQuickReceiptActivity.onCreate() calling method java.io.File.<init>()


    public void onCreate(android.os.Bundle p7)
    {
        super.onCreate(p7);
        this.setContentView(2131427369);
        this.mQuickImage = ((android.widget.ImageView) this.findViewById(2131296851));
        String v7_2 = this.findViewById(2131296855);
        if (v7_2 != null) {
            v7_2.setOnClickListener(new com.coupa.android.coupamobile.views.AddQuickReceiptActivity$1(this));
        }
        int v0_9;
        String v7_7;
        String v7_13 = this.getIntent().getExtras();
        int v0_15 = v7_13.get("IMAGE_RECEIPT_BITMAP_BYTES");
        this.reportsList = ((android.widget.GridView) this.findViewById(2131296870));
        String v1_8 = ((com.coupa.android.coupamobile.controls.LoadMoreButton) this.findViewById(2131296761));
        v1_8.setFragmentName("DraftSelectionFragment - AddQuickReceiptActivity");
        if (v0_15 == 0) {
            int v0_17;
            if (v7_13 != null) {
                v0_17 = v7_13.get("IMAGE_RECEIPT_BITMAP_BYTES");
            } else {
                v0_17 = 0;
            }
            if (!(v0_17 instanceof byte[])) {
                String v7_19;
                if (v7_13 != null) {
                    v7_19 = v7_13.getString("FILE_RECEIPT_PATH");
                } else {
                    v7_19 = 0;
                }
                if ((v7_19 != null) && (!v7_19.isEmpty())) {
                    this.receiptEventAction = "add_receipt_from_other_application";
                    try {
                        String v3_10 = java.net.URLDecoder.decode(v7_19, "UTF-8").replace("file://", "");
                    } catch (String v7_23) {
                        com.coupa.android.coupamobile.core.ApplicationBase.handleException("URLDecoder", v7_23, 1);
                        this.finish();
                        return;
                    }
                    if (!com.coupa.android.coupamobile.core.utils.FileHelper.isImageAttachmentURL(v7_19)) {
                        String v7_26 = (v3_10.lastIndexOf("/") + 1);
                        if (v7_26 != v3_10.length()) {
                            String v7_6 = v3_10.substring(v7_26);
                            int v0_24 = new StringBuilder();
                            v0_24.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                            v0_24.append(v7_6);
                            int v0_7 = v0_24.toString();
                            com.coupa.android.coupamobile.core.utils.FileHelper v4_3 = new java.io.File(v0_7);
                            while (v4_3.exists()) {
                                String v7_5 = new StringBuilder();
                                v7_5.append("Copy_");
                                v7_5.append(v4_3.getName());
                                v7_6 = v7_5.toString();
                                int v0_5 = new StringBuilder();
                                v0_5.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                                v0_5.append(v7_6);
                                v0_7 = v0_5.toString();
                                v4_3 = new java.io.File(v0_7);
                            }
                            if (com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().copyFile(v3_10, v0_7)) {
                                v0_9 = v7_6;
                                v7_7 = 0;
                            } else {
                                String v1_1 = new StringBuilder();
                                v1_1.append("Cannot open attachment, path: ");
                                v1_1.append(v3_10);
                                com.coupa.android.coupamobile.helpers.ToastHelper.makeToast(this, 2131427513, "Error", v1_1.toString());
                                this.finish();
                                return;
                            }
                        } else {
                            this.finish();
                            return;
                        }
                    } else {
                        v7_7 = android.graphics.BitmapFactory.decodeFile(v3_10);
                        v0_9 = 0;
                    }
                } else {
                    this.finish();
                    return;
                }
            } else {
                v7_7 = com.coupa.android.coupamobile.helpers.ImageHelper.arrayToBitmap(((byte[]) v0_17));
            }
        } else {
            if (!(v0_15 instanceof byte[])) {
                v7_7 = 0;
                v0_9 = 0;
            } else {
                v7_7 = com.coupa.android.coupamobile.helpers.ImageHelper.arrayToBitmap(((byte[]) v0_15));
            }
        }
        if (v7_7 == null) {
            if (v0_9 != 0) {
                this.setFileImage();
            }
        } else {
            this.setImage(v7_7);
        }
        com.coupa.android.coupamobile.views.AddQuickReceiptActivity.controller = new com.coupa.android.coupamobile.controllers.ExpenseReportListController(this);
        com.coupa.android.coupamobile.views.AddQuickReceiptActivity.controller.setCustomDataItemClickListener(new com.coupa.android.coupamobile.views.AddQuickReceiptActivity$2(this, v7_7, v0_9));
        String v3_4 = this.findViewById(2131296288);
        if (v3_4 != null) {
            v3_4.setOnClickListener(new com.coupa.android.coupamobile.views.AddQuickReceiptActivity$3(this, v7_7, v0_9));
        }
        this.pdsDraftReports = new com.coupa.android.coupamobile.core.data.PagingDataSource(com.coupa.android.coupamobile.viewdata.ExpenseReportItem, com.coupa.android.coupamobile.views.AddQuickReceiptActivity.controller, "Draft");
        v1_8.setDataLoadWrapper(new com.coupa.android.coupamobile.controls.LoadMoreButton$ListViewLoadWrapper(this.pdsDraftReports, this.reportsList, new com.coupa.android.coupamobile.listadapters.ExpenseReportsListAdapter(this, 2131427461, 0)));
        v1_8.loadNext();
        com.coupa.android.coupamobile.helpers.ScrollHelper.setLoadMoreOnScroll(this.reportsList, v1_8, 2131296763);
        this.setTitle(this.getString(2131624116));
        return;
    }

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.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.a();
            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_7 = this.getRealPathFromURI(v11_31);
                        if ((android.text.TextUtils.isEmpty(v12_7)) || (!android.util.Patterns.WEB_URL.matcher(v12_7).matches())) {
                            v1_8 = 0;
                        } else {
                            v1_8 = 1;
                        }
                        if ((v12_7 == null) || (v1_8 != null)) {
                            try {
                                String v12_8 = this.createFileFromURI(v11_31);
                                v11_31 = android.net.Uri.fromFile(v12_8);
                                v12_7 = v12_8.getAbsolutePath();
                            } catch (Exception) {
                                this.responseHelper.a("error", "Could not read photo");
                                this.responseHelper.a("uri", v11_31.toString());
                                this.responseHelper.b(this.callback);
                                this.callback = 0;
                                return;
                            }
                        }
                        this.imageConfig = this.imageConfig.a(new java.io.File(v12_7));
                    case 13003:
                        this.responseHelper.a("uri", p12.getData().toString());
                        this.responseHelper.a("path", this.getRealPathFromURI(p12.getData()));
                        this.responseHelper.b(this.callback);
                        this.callback = 0;
                        return;
                    case 13004:
                        String v9_11 = this.getRealPathFromURI(p12.getData());
                        this.responseHelper.a("uri", p12.getData().toString());
                        this.responseHelper.a("path", v9_11);
                        com.imagepicker.utils.MediaUtils.a(this.reactContext, v9_11);
                        this.responseHelper.b(this.callback);
                        this.callback = 0;
                        return;
                    default:
                        v11_31 = 0;
                }
                String v12_1 = com.imagepicker.utils.MediaUtils.a(this.responseHelper, this.imageConfig);
                if (v12_1.b == null) {
                    com.imagepicker.media.ImageConfig v1_2 = new android.graphics.BitmapFactory$Options();
                    v1_2.inJustDecodeBounds = 1;
                    android.graphics.BitmapFactory.decodeFile(this.imageConfig.a.getAbsolutePath(), v1_2);
                    int v5 = v1_2.outWidth;
                    int v6 = v1_2.outHeight;
                    this.updatedResultResponse(v11_31, this.imageConfig.a.getAbsolutePath());
                    if (!this.imageConfig.a(v5, v6, v12_1.a)) {
                        this.imageConfig = com.imagepicker.utils.MediaUtils.a(this.reactContext, this.options, this.imageConfig, v5, v6, p10);
                        if (this.imageConfig.b != null) {
                            String v9_16 = android.net.Uri.fromFile(this.imageConfig.b);
                            android.graphics.BitmapFactory.decodeFile(this.imageConfig.b.getAbsolutePath(), v1_2);
                            this.responseHelper.a("width", v1_2.outWidth);
                            this.responseHelper.a("height", v1_2.outHeight);
                            this.updatedResultResponse(v9_16, this.imageConfig.b.getAbsolutePath());
                            com.imagepicker.utils.MediaUtils.a(this.reactContext, this.imageConfig.b.getAbsolutePath());
                        } else {
                            com.imagepicker.utils.MediaUtils.a(p10, this.imageConfig);
                            this.responseHelper.a("error", "Can\'t resize the image");
                        }
                    } else {
                        this.responseHelper.a("width", v5);
                        this.responseHelper.a("height", v6);
                        com.imagepicker.utils.MediaUtils.a(this.reactContext, this.imageConfig.a.getAbsolutePath());
                    }
                    if ((this.imageConfig.g) && (p10 == 13001)) {
                        String v9_27 = com.imagepicker.utils.MediaUtils.a(this.imageConfig);
                        if (v9_27.b != null) {
                            com.imagepicker.utils.MediaUtils.a(p10, this.imageConfig);
                            com.imagepicker.ResponseHelper v10_3 = new StringBuilder("Error moving image to camera roll: ");
                            v10_3.append(v9_27.b.getMessage());
                            this.responseHelper.a("error", v10_3.toString());
                            return;
                        } else {
                            this.imageConfig = v9_27.a;
                            this.updatedResultResponse(android.net.Uri.fromFile(this.imageConfig.a()), this.imageConfig.a().getAbsolutePath());
                        }
                    }
                    this.responseHelper.b(this.callback);
                    this.callback = 0;
                    this.options = 0;
                    return;
                } else {
                    com.imagepicker.utils.MediaUtils.a(p10, this.imageConfig);
                    this.responseHelper.b(this.callback, v12_1.b.getMessage());
                    this.callback = 0;
                    return;
                }
            } else {
                com.imagepicker.utils.MediaUtils.a(p10, this.imageConfig);
                this.responseHelper.a(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.a("fileSize", ((double) v0_1.length()));
            p6.a("fileName", v0_1.getName());
        } catch (String v0_2) {
            v0_2.printStackTrace();
        }
        String v5_1 = android.webkit.MimeTypeMap.getFileExtensionFromUrl(p5);
        if (v5_1 != null) {
            p6.a("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 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")) {
                android.content.ContentResolver v1_0 = p7.getContentResolver();
                String[] v3 = new String[1];
                v3[0] = "_data";
                int v7_3 = v1_0.query(p8, v3, 0, 0, 0);
                if (v7_3 != 0) {
                    try {
                        if (v7_3.moveToFirst()) {
                            String v8_2 = v7_3.getString(0);
                            if (!android.text.TextUtils.isEmpty(v8_2)) {
                                java.io.File v0_6 = new java.io.File(v8_2);
                                v7_3.close();
                                return v0_6;
                            }
                        }
                    } catch (String v8_3) {
                        v7_3.close();
                        throw v8_3;
                    }
                    v7_3.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 (!p3.getScheme().equals("file")) {
            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().a(com.facebook.react.devsupport.JSCHeapCapture$HeapCapture));
                if (v3_3 != null) {
                    this.mCaptureInProgress = p4;
                    v3_3.captureHeap(v0_1.getPath());
                    return;
                } else {
                    p4.a(new com.facebook.react.devsupport.JSCHeapCapture$CaptureException("Heap capture js module not registered."));
                    return;
                }
            } else {
                p4.a(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.a(new com.facebook.react.devsupport.JSCHeapCapture$CaptureException(p3));
                } else {
                    this.mCaptureInProgress.a(new java.io.File(p2));
                }
                this.mCaptureInProgress = 0;
            }
        } catch (int v2_2) {
            throw v2_2;
        }
        return;
    }

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


    private final java.io.File c()
    {
        String v0_1;
        String v0_2 = String.valueOf("resource_");
        java.io.File v1_4 = String.valueOf(this.b);
        if (v1_4.length() == 0) {
            v0_1 = new String(v0_2);
        } else {
            v0_1 = v0_2.concat(v1_4);
        }
        return new java.io.File(this.a.getDir("google_tagmanager", 0), v0_1);
    }

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


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

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 v1_6 = new StringBuilder();
                v1_6.append("not releasing dso store lock for ");
                v1_6.append(this.soDirectory);
                v1_6.append(" (syncer thread started)");
                android.util.Log.v("fb-UnpackingSoSource", v1_6.toString());
            } else {
                java.io.File v2_9 = new StringBuilder();
                v2_9.append("releasing dso store lock for ");
                v2_9.append(this.soDirectory);
                android.util.Log.v("fb-UnpackingSoSource", v2_9.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_6 = new StringBuilder();
            v0_6.append("not releasing dso store lock for ");
            v0_6.append(this.soDirectory);
            v0_6.append(" (syncer thread started)");
            android.util.Log.v("fb-UnpackingSoSource", v0_6.toString());
        } else {
            String v1_13 = new StringBuilder();
            v1_13.append("releasing dso store lock for ");
            v1_13.append(this.soDirectory);
            android.util.Log.v("fb-UnpackingSoSource", v1_13.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_1;
        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_2 = 0;
        try {
            if (p11 != 1) {
                v11_1 = 0;
            } else {
                try {
                    v11_1 = com.facebook.soloader.UnpackingSoSource$DsoManifest.read(v1_4);
                } catch (Throwable v11_2) {
                    android.util.Log.i("fb-UnpackingSoSource", "error reading existing DSO manifest", v11_2);
                }
            }
        } catch (Throwable v11_7) {
            if (v1_4 != null) {
                if (v2_2 == null) {
                    v1_4.close();
                } else {
                    try {
                        v1_4.close();
                    } catch (Throwable v12_6) {
                        v2_2.addSuppressed(v12_6);
                    }
                }
            }
            throw v11_7;
        } catch (Throwable v11_6) {
            v2_2 = v11_6;
            throw v2_2;
        }
        if (v11_1 == null) {
            com.facebook.soloader.UnpackingSoSource$InputDso v4_1 = new com.facebook.soloader.UnpackingSoSource$Dso[0];
            v11_1 = new com.facebook.soloader.UnpackingSoSource$DsoManifest(v4_1);
        }
        this.deleteUnmentionedFiles(p12.dsos);
        Throwable v12_3 = 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_1.dsos.length)) {
                if ((v11_1.dsos[v6].name.equals(v4_3.dso.name)) && (v11_1.dsos[v6].hash.equals(v4_3.dso.hash))) {
                    v5 = 0;
                }
                v6++;
            }
            if (v5 != 0) {
                this.extractDso(v4_3, v12_3);
            }
            if (v4_3 != null) {
                v4_3.close();
            }
        }
        if (v1_4 != null) {
            v1_4.close();
        }
        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 (v0_6 != null) {
                if (v1_0 == null) {
                    v0_6.close();
                } else {
                    try {
                        v0_6.close();
                    } catch (Thread v13_6) {
                        v1_0.addSuppressed(v13_6);
                    }
                }
            }
            throw v12_8;
        } catch (java.io.EOFException) {
            v3_0 = 0;
            if (v0_6 != null) {
                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 (v0_5 != null) {
                    if (v1_0 == null) {
                        v0_5.close();
                    } else {
                        try {
                            v0_5.close();
                        } catch (Thread 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) {
                v8_3 = 0;
            } else {
                android.util.Log.v("fb-UnpackingSoSource", "so store dirty: regenerating");
                com.facebook.soloader.UnpackingSoSource.writeState(v5_1, 0);
                Throwable v6_11 = this.makeUnpacker();
                try {
                    v8_3 = v6_11.getDsoManifest();
                    com.facebook.soloader.UnpackingSoSource$1 v9_2 = v6_11.openDsoIterator();
                    try {
                        this.regenerate(v3_0, v8_3, v9_2);
                    } catch (Throwable v12_10) {
                        Thread 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 (Thread v13_7) {
                            v13_8 = v12_9;
                            v12_10 = v13_7;
                        }
                    }
                    if (v9_2 != null) {
                        v9_2.close();
                    }
                    if (v6_11 != null) {
                        v6_11.close();
                    }
                } catch (Throwable v12_1) {
                    Thread v13_1 = 0;
                    if (v6_11 != null) {
                        if (v13_1 == null) {
                            v6_11.close();
                        } else {
                            try {
                                v6_11.close();
                            } catch (Throwable v14_1) {
                                v13_1.addSuppressed(v14_1);
                            }
                        }
                    }
                    throw v12_1;
                } catch (Throwable v12_11) {
                    try {
                        throw v12_11;
                    } catch (Thread v13_9) {
                        v13_1 = v12_11;
                        v12_1 = v13_9;
                    }
                }
            }
            if (v0_5 != null) {
                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 {
                    Thread 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());
        }
    }

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)
    {
        java.io.RandomAccessFile v1_5 = new StringBuilder();
        v1_5.append("extracting DSO ");
        v1_5.append(p8.dso.name);
        android.util.Log.i("fb-UnpackingSoSource", v1_5.toString());
        java.io.File v0_2 = new java.io.File(this.soDirectory, p8.dso.name);
        try {
            java.io.RandomAccessFile v1_3 = new java.io.RandomAccessFile(v0_2, "rw");
            try {
                String v2_7 = p8.content.available();
            } catch (java.io.IOException v8_7) {
                v1_3.close();
                throw v8_7;
            }
            if (v2_7 > 1) {
                com.facebook.soloader.SysUtil.fallocateIfSupported(v1_3.getFD(), ((long) v2_7));
            }
            com.facebook.soloader.SysUtil.copyBytes(v1_3, p8.content, 2147483647, p9);
            v1_3.setLength(v1_3.getFilePointer());
            if (v0_2.setExecutable(1, 0)) {
                v1_3.close();
                return;
            } else {
                String v9_2 = new StringBuilder();
                v9_2.append("cannot make file executable: ");
                v9_2.append(v0_2);
                throw new java.io.IOException(v9_2.toString());
            }
        } catch (java.io.RandomAccessFile v1_4) {
            int v3_1 = new StringBuilder();
            v3_1.append("error overwriting ");
            v3_1.append(v0_2);
            v3_1.append(" trying to delete and start over");
            android.util.Log.w("fb-UnpackingSoSource", v3_1.toString(), v1_4);
            v0_2.delete();
            v1_3 = new java.io.RandomAccessFile(v0_2, "rw");
        }
    }

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


    private void deleteUnmentionedFiles(com.facebook.soloader.UnpackingSoSource$Dso[] p8)
    {
        String v0_1 = this.soDirectory.list();
        if (v0_1 != null) {
            int v2 = 0;
            while (v2 < v0_1.length) {
                String v3_2 = v0_1[v2];
                if ((!v3_2.equals("dso_state")) && ((!v3_2.equals("dso_lock")) && ((!v3_2.equals("dso_deps")) && (!v3_2.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_2)) {
                            v4_8 = 1;
                        }
                        v5_0++;
                    }
                    if (v4_8 == 0) {
                        int v4_10 = new java.io.File(this.soDirectory, v3_2);
                        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;
        } else {
            String v0_3 = new StringBuilder();
            v0_3.append("unable to list directory ");
            v0_3.append(this.soDirectory);
            throw new java.io.IOException(v0_3.toString());
        }
    }

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


    protected boolean shouldExtract(java.util.zip.ZipEntry p10, String p11)
    {
        String v0_0 = p10.getName();
        if ((this.mFlags & 1) != 0) {
            String v1_7 = new java.io.File(this.mLibDir, p11);
            if (v1_7.isFile()) {
                long v6 = v1_7.length();
                String v10_1 = p10.getSize();
                if (v6 == v10_1) {
                    String v11_2 = new StringBuilder();
                    v11_2.append("not allowing consideration of ");
                    v11_2.append(v0_0);
                    v11_2.append(": deferring to libdir");
                    android.util.Log.d("ApkSoSource", v11_2.toString());
                    return 0;
                } else {
                    Object[] v8_1 = new Object[3];
                    v8_1[0] = v1_7;
                    v8_1[1] = Long.valueOf(v6);
                    v8_1[2] = Long.valueOf(v10_1);
                    android.util.Log.d("ApkSoSource", String.format("allowing consideration of %s: sysdir file length is %s, but the file is %s bytes long in the APK", v8_1));
                    return 1;
                }
            } else {
                String v3_3 = new Object[2];
                v3_3[0] = v0_0;
                v3_3[1] = p11;
                android.util.Log.d("ApkSoSource", String.format("allowing considering of %s: %s not in system lib dir", v3_3));
                return 1;
            }
        } else {
            String v11_6 = new StringBuilder();
            v11_6.append("allowing consideration of ");
            v11_6.append(v0_0);
            v11_6.append(": self-extraction preferred");
            android.util.Log.d("ApkSoSource", v11_6.toString());
            return 1;
        }
    }

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


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

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


    public boolean m()
    {
        int v1 = 0;
        if ((this.t) && (this.i.exists())) {
            try {
                long v0_9 = this.b.getPackageName();
            } catch (android.content.pm.PackageManager$NameNotFoundException) {
                com.facebook.common.logging.FLog.d("ReactNative", "DevSupport is unable to get current app info");
            }
            if (this.i.lastModified() > this.b.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.i.lastModified() > v2_5.lastModified()) {
                        v1 = 1;
                    }
                    return v1;
                }
            }
        }
        return 0;
    }

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


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


    private com.facebook.imagepipeline.image.EncodedImage a(com.facebook.imagepipeline.common.ResizeOptions p5, int p6)
    {
        int v5_1 = ark>com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducerark>.b(p5);
        if (v5_1 != 0) {
            try {
                int v5_2 = android.provider.MediaStore$Images$Thumbnails.queryMiniThumbnail(this.f, ((long) p6), v5_1, ark>com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducerark>.c);
            } 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.b(new java.io.FileInputStream(v6_5), ark>com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducerark>.a(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.a() calling method java.io.File.<init>()


    private static int a(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.a() calling method java.io.File.<init>()


    private static int a(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.coupa.android.coupamobile.models.value_objects.WorkConfirmation.getWorkConfirmationPath() calling method java.io.File.<init>()


    public String getWorkConfirmationPath()
    {
        java.io.File v1_1 = com.coupa.android.coupamobile.CoupaMobileApplication.AppContext.getFilesDir();
        String v2_2 = new StringBuilder();
        v2_2.append(this.getWorkConfirmationFileName());
        v2_2.append(".txt");
        return new java.io.File(v1_1, v2_2.toString()).getPath();
    }

Method com.coupa.android.coupamobile.models.value_objects.Receipt.getFile() calling method java.io.File.<init>()


    public java.io.File getFile()
    {
        boolean v0_5 = com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath();
        int v1_0 = new java.io.File(this.getImageFileName().replace("file://", ""));
        StringBuilder v3_1 = new StringBuilder();
        v3_1.append(v0_5);
        v3_1.append(this.getImageFileName());
        java.io.File v2_2 = new java.io.File(v3_1.toString());
        if (!v2_2.exists()) {
            if (!v1_0.exists()) {
                v1_0 = 0;
            }
        } else {
            v1_0 = v2_2;
        }
        return v1_0;
    }

Method com.coupa.android.coupamobile.models.value_objects.PurchaseOrderChange.getPurchaseOrderChangePath() calling method java.io.File.<init>()


    public String getPurchaseOrderChangePath()
    {
        java.io.File v1_1 = com.coupa.android.coupamobile.CoupaMobileApplication.AppContext.getFilesDir();
        String v2_2 = new StringBuilder();
        v2_2.append(this.getPurchaseOrderChangeFileName());
        v2_2.append(".txt");
        return new java.io.File(v1_1, v2_2.toString()).getPath();
    }

Method com.coupa.android.coupamobile.models.value_objects.PurchaseOrder.getPurchaseOrderFilePath() calling method java.io.File.<init>()


    public String getPurchaseOrderFilePath()
    {
        java.io.File v1_1 = com.coupa.android.coupamobile.CoupaMobileApplication.AppContext.getFilesDir();
        String v2_2 = new StringBuilder();
        v2_2.append(this.getPurchaseOrderFileName());
        v2_2.append(".txt");
        return new java.io.File(v1_1, v2_2.toString()).getPath();
    }

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


    private java.io.File a(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 com.j256.ormlite.logger.LocalLog.openLogFile() calling method java.io.File.<init>()


    public static void openLogFile(String p4)
    {
        if (p4 != null) {
            try {
                com.j256.ormlite.logger.LocalLog.printStream = new java.io.PrintStream(new java.io.File(p4));
            } catch (java.io.FileNotFoundException v0_2) {
                StringBuilder v2_1 = new StringBuilder();
                v2_1.append("Log file ");
                v2_1.append(p4);
                v2_1.append(" was not found");
                throw new IllegalArgumentException(v2_1.toString(), v0_2);
            }
        } else {
            com.j256.ormlite.logger.LocalLog.printStream = System.out;
        }
        return;
    }

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


    private final java.io.File d(String p3)
    {
        return new java.io.File(this.c, com.google.android.gms.internal.zzal.c(p3));
    }

Method com.google.android.cameraview.Camera2.H() calling method java.io.File.<init>()


    private void H()
    {
        this.t = 0;
        try {
            this.c.stopRepeating();
            this.c.abortCaptures();
            this.r.stop();
        } catch (int v0_7) {
            v0_7.printStackTrace();
        }
        this.r.reset();
        this.r.release();
        this.r = 0;
        if ((this.s != null) && (new java.io.File(this.s).exists())) {
            this.f.a(this.s);
            this.s = 0;
            return;
        } else {
            this.f.a(0);
            return;
        }
    }

Method com.google.android.cameraview.Camera1.x() calling method java.io.File.<init>()


    private void x()
    {
        this.l = 0;
        if (this.j != null) {
            try {
                this.j.stop();
            } catch (com.google.android.cameraview.CameraViewImpl$Callback v0_10) {
                v0_10.printStackTrace();
            }
            this.j.reset();
            this.j.release();
            this.j = 0;
        }
        if ((this.k != null) && (new java.io.File(this.k).exists())) {
            this.f.a(this.k);
            this.k = 0;
            return;
        } else {
            this.f.a(0);
            return;
        }
    }

Method com.flurry.sdk.jl.e() calling method java.io.File.<init>()

Couldn't retrieve source code

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


    ExoSoSource$ExoUnpacker(com.facebook.soloader.ExoSoSource p19)
    {
        this.this$0 = p19;
        RuntimeException v2_11 = p19.mContext;
        String v4_4 = new StringBuilder();
        v4_4.append("/data/local/tmp/exopackage/");
        v4_4.append(v2_11.getPackageName());
        v4_4.append("/native-libs/");
        String v3_2 = new java.io.File(v4_4.toString());
        RuntimeException v2_8 = new java.util.ArrayList();
        String v4_2 = com.facebook.soloader.SysUtil.getSupportedAbis();
        int v5_0 = v4_2.length;
        String v6_0 = 0;
        int v7 = 0;
        while (v7 < v5_0) {
            java.io.File v9_1 = new java.io.File(v3_2, v4_2[v7]);
            if (v9_1.isDirectory()) {
                com.facebook.soloader.ExoSoSource$FileDso v8_5 = new java.io.File(v9_1, "metadata.txt");
                if (v8_5.isFile()) {
                    java.io.FileReader v10_3 = new java.io.FileReader(v8_5);
                    try {
                        java.io.BufferedReader v11_1 = new java.io.BufferedReader(v10_3);
                        try {
                            while(true) {
                                java.io.File v12_0 = v11_1.readLine();
                                v6_0 = 0;
                            }
                            if (v11_1 != null) {
                                v11_1.close();
                            }
                            if (v10_3 != null) {
                                v10_3.close();
                            }
                        } catch (Throwable v0_2) {
                            RuntimeException v2_3 = v0_2;
                            com.facebook.soloader.ExoSoSource$FileDso v8_0 = 0;
                            if (v11_1 != null) {
                                if (v8_0 == null) {
                                    v11_1.close();
                                } else {
                                    try {
                                        v11_1.close();
                                    } catch (Throwable v0_3) {
                                        v8_0.addSuppressed(v0_3);
                                    }
                                }
                            }
                            throw v2_3;
                        } catch (Throwable v0_0) {
                            v8_0 = v0_0;
                            try {
                                throw v8_0;
                            } catch (Throwable v0_1) {
                                v2_3 = v0_1;
                            }
                        }
                        if (v12_0 == null) {
                        } else {
                            if (v12_0.length() != 0) {
                                int v13_2 = v12_0.indexOf(32);
                                if (v13_2 != -1) {
                                    String v14_2 = new StringBuilder();
                                    v14_2.append(v12_0.substring(v6_0, v13_2));
                                    v14_2.append(".so");
                                    String v14_3 = v14_2.toString();
                                    int v15_2 = v2_8.size();
                                    while (v6_0 < v15_2) {
                                        if (!((com.facebook.soloader.ExoSoSource$FileDso) v2_8.get(v6_0)).name.equals(v14_3)) {
                                            v6_0++;
                                        } else {
                                            String v6_1 = 1;
                                        }
                                        if (v6_1 == null) {
                                            String v6_2 = v12_0.substring((v13_2 + 1));
                                            v2_8.add(new com.facebook.soloader.ExoSoSource$FileDso(v14_3, v6_2, new java.io.File(v9_1, v6_2)));
                                        }
                                    }
                                    v6_1 = 0;
                                } else {
                                    String v3_0 = new StringBuilder();
                                    v3_0.append("illegal line in exopackage metadata: [");
                                    v3_0.append(v12_0);
                                    v3_0.append("]");
                                    throw new RuntimeException(v3_0.toString());
                                }
                            } else {
                            }
                        }
                    } catch (Throwable v0_6) {
                        RuntimeException v2_4 = v0_6;
                        com.facebook.soloader.ExoSoSource$FileDso v8_1 = 0;
                        if (v10_3 != null) {
                            if (v8_1 == null) {
                                v10_3.close();
                            } else {
                                try {
                                    v10_3.close();
                                } catch (Throwable v0_7) {
                                    v8_1.addSuppressed(v0_7);
                                }
                            }
                        }
                        throw v2_4;
                    } catch (Throwable v0_4) {
                        v8_1 = v0_4;
                        try {
                            throw v8_1;
                        } catch (Throwable v0_5) {
                            v2_4 = v0_5;
                        }
                    }
                }
            }
            v7++;
            v6_0 = 0;
        }
        String v3_4 = new com.facebook.soloader.ExoSoSource$FileDso[v2_8.size()];
        this.mDsos = ((com.facebook.soloader.ExoSoSource$FileDso[]) v2_8.toArray(v3_4));
        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)
    {
        java.io.File v0_1 = new java.io.File(p7, p5);
        int v7_1 = 0;
        if (v0_1.exists()) {
            if (((p6 & 1) == 0) || ((this.flags & 2) == 0)) {
                if ((this.flags & 1) != 0) {
                    String v5_4 = com.facebook.soloader.DirectorySoSource.getDependencies(v0_1);
                    while (v7_1 < v5_4.length) {
                        String v2_1 = v5_4[v7_1];
                        if (!v2_1.startsWith("/")) {
                            com.facebook.soloader.SoLoader.loadLibraryBySoName(v2_1, (p6 | 1));
                        }
                        v7_1++;
                    }
                }
                System.load(v0_1.getAbsolutePath());
                return 1;
            } else {
                return 2;
            }
        } else {
            return 0;
        }
    }

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


    protected varargs void a(Void[] p15)
    {
        java.io.IOException v15_8 = new java.io.File(this.b.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.c("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.c("ReactNative", "Could not close output channel", v0_5);
                    }
                }
            }
            throw v15_3;
        } catch (java.io.IOException v15_2) {
            v1_1 = 0;
            try {
                this.c.a(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.c("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.c("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.a;
                    String[] v4_6 = new String[1];
                    v4_6[0] = v2_1.getAbsolutePath();
                    android.media.MediaScannerConnection.scanFile(v3_4, v4_6, 0, new ark>com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRollark>$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.c("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.c.a("E_UNABLE_TO_LOAD", "External media storage directory not available");
            return;
        }
    }

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


    protected varargs void a(Void[] p15)
    {
        java.io.IOException v15_8 = new java.io.File(this.b.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.c("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.c("ReactNative", "Could not close output channel", v0_5);
                    }
                }
            }
            throw v15_3;
        } catch (java.io.IOException v15_2) {
            v1_1 = 0;
            try {
                this.c.a(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.c("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.c("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.a;
                    String[] v4_6 = new String[1];
                    v4_6[0] = v2_1.getAbsolutePath();
                    android.media.MediaScannerConnection.scanFile(v3_4, v4_6, 0, new ark>com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRollark>$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.c("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.c.a("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.a = p1;
        this.b = p2;
        this.c = p3;
        this.d = p4;
        if (p1 == null) {
            v1_1 = "";
        } else {
            v1_1 = new java.io.File(p1).getName();
        }
        this.e = v1_1;
        return;
    }

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


    private void h()
    {
        java.io.File v0_1 = new java.io.File(((java.io.File) this.d.b()), this.e);
        this.a(v0_1);
        this.a = new com.facebook.cache.disk.DynamicDefaultDiskStorage$State(v0_1, new com.facebook.cache.disk.DefaultDiskStorage(v0_1, this.c, this.f));
        return;
    }

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


    java.io.File a(String p2)
    {
        return new java.io.File(this.e(p2));
    }

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


    private java.io.File d(String p2)
    {
        return new java.io.File(this.c(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.a(p2);
        this.c = p2;
        this.d = com.facebook.cache.disk.DefaultDiskStorage.a(p2, p4);
        this.e = new java.io.File(this.c, com.facebook.cache.disk.DefaultDiskStorage.a(p3));
        this.f = p4;
        this.g();
        this.g = com.facebook.common.time.SystemClock.b();
        return;
    }

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


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

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


    protected boolean d_()
    {
        try {
            long v6_1;
            io.fabric.sdk.android.Logger v2_0 = this.r();
            com.crashlytics.android.answers.SessionAnalyticsManager v1_4 = v2_0.getPackageManager();
            io.fabric.sdk.android.services.common.IdManager v3_5 = v2_0.getPackageName();
            String v4_2 = v1_4.getPackageInfo(v3_5, 0);
            String v5_0 = Integer.toString(v4_2.versionCode);
        } catch (com.crashlytics.android.answers.SessionAnalyticsManager v1_2) {
            io.fabric.sdk.android.Fabric.h().e("Answers", "Error retrieving app properties", v1_2);
            return 0;
        }
        if (v4_2.versionName != null) {
            v6_1 = v4_2.versionName;
        } else {
            v6_1 = "0.0";
        }
        io.fabric.sdk.android.services.common.IdManager v3_2;
        if (android.os.Build$VERSION.SDK_INT < 9) {
            v3_2 = new java.io.File(v1_4.getApplicationInfo(v3_5, 0).sourceDir).lastModified();
        } else {
            v3_2 = v4_2.firstInstallTime;
        }
        this.a = com.crashlytics.android.answers.SessionAnalyticsManager.a(this, v2_0, this.q(), v5_0, v6_1, v3_2);
        this.a.b();
        return 1;
    }

Method com.coupa.android.coupamobile.models.ValueObject.saveJsonObjectToFile() calling method java.io.File.<init>()


    public void saveJsonObjectToFile(android.content.Context p3, org.json.JSONObject p4, String p5)
    {
        java.io.IOException v3_4 = p3.getFilesDir();
        StringBuilder v1_1 = new StringBuilder();
        v1_1.append(p5);
        v1_1.append(".txt");
        try {
            Throwable v5_2 = new java.io.FileOutputStream(new java.io.File(v3_4, v1_1.toString()));
            try {
                v5_2.write(p4.toString().getBytes());
            } catch (java.io.IOException v3_2) {
                v3_2.printStackTrace();
                if (v5_2 == null) {
                    return;
                } else {
                    v5_2.close();
                    return;
                }
            }
            if (v5_2 == null) {
                return;
            } else {
                v5_2.close();
                return;
            }
        } catch (java.io.IOException v4_2) {
            v5_2 = 0;
            java.io.IOException v3_3 = v4_2;
            if (v5_2 != null) {
                try {
                    v5_2.close();
                } catch (java.io.IOException v4_3) {
                    v4_3.printStackTrace();
                }
            }
            throw v3_3;
        } catch (java.io.IOException v4_1) {
            v5_2 = 0;
            v3_2 = v4_1;
        } catch (java.io.IOException v3_3) {
        } catch (java.io.IOException v3_7) {
            v3_7.printStackTrace();
            return;
        }
    }

Method com.coupa.android.coupamobile.models.ValueObject.fetchJsonObjectFromFile() calling method java.io.File.<init>()


    public org.json.JSONObject fetchJsonObjectFromFile(android.content.Context p3, String p4)
    {
        java.io.IOException v3_5 = p3.getFilesDir();
        int v1_3 = new StringBuilder();
        v1_3.append(p4);
        v1_3.append(".txt");
        String v0_1 = new java.io.File(v3_5, v1_3.toString());
        java.io.IOException v3_3 = new byte[((int) v0_1.length())];
        java.io.IOException v4_1 = 0;
        try {
            int v1_1 = new java.io.FileInputStream(v0_1);
            try {
                if (v1_1.read(v3_3) != 0) {
                    v4_1 = new org.json.JSONObject(new String(v3_3));
                }
            } catch (java.io.IOException v3_6) {
                com.coupa.android.coupamobile.core.ApplicationBase.handleException("JSONException", v3_6);
                if (v1_1 == 0) {
                    return v4_1;
                } else {
                    v1_1.close();
                    return v4_1;
                }
            } catch (java.io.IOException v3_4) {
                v3_4.printStackTrace();
                if (v1_1 == 0) {
                    return v4_1;
                } else {
                    v1_1.close();
                    return v4_1;
                }
            }
            if (v1_1 == 0) {
                return v4_1;
            } else {
                v1_1.close();
                return v4_1;
            }
        } catch (java.io.IOException v3_7) {
            v1_1 = 0;
            if (v1_1 != 0) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v4_2) {
                    v4_2.printStackTrace();
                }
            }
            throw v3_7;
        } catch (java.io.IOException v3_6) {
            v1_1 = 0;
        } catch (java.io.IOException v3_4) {
            v1_1 = 0;
        } catch (java.io.IOException v3_7) {
        } catch (java.io.IOException v3_10) {
            v3_10.printStackTrace();
            return v4_1;
        }
    }

Method com.coupa.android.coupamobile.models.ValueObject.deleteJsonObjectFromFile() calling method java.io.File.<init>()


    public void deleteJsonObjectFromFile(android.content.Context p3, String p4)
    {
        boolean v3_2 = p3.getFilesDir();
        StringBuilder v1_1 = new StringBuilder();
        v1_1.append(p4);
        v1_1.append(".txt");
        java.io.File v0_1 = new java.io.File(v3_2, v1_1.toString());
        if (v0_1.exists()) {
            v0_1.delete();
        }
        return;
    }

Method com.coupa.android.coupamobile.core.cs_api.CSApi.callAsync() calling method java.io.File.<init>()


    public void callAsync(String p7, String p8, Object p9, String p10, Boolean p11, org.apache.http.Header[] p12, com.coupa.android.coupamobile.core.cs_api.CSApiResponseCallback p13)
    {
        int v0_1 = new StringBuilder();
        v0_1.append("CSApi callAsync; ");
        v0_1.append(p8);
        v0_1.append("; ");
        v0_1.append(p7);
        com.coupa.android.coupamobile.utils.LogWrapper.d(v0_1.toString());
        com.coupa.android.coupamobile.core.cs_api.CSApi.method = p8;
        com.coupa.android.coupamobile.core.cs_api.CSApi.resource = p7;
        int v0_4 = this.createUrl(p7);
        int v1_4 = new org.apache.http.params.BasicHttpParams();
        v1_4.setParameter("http.protocol.handle-redirects", Boolean.valueOf(0));
        int v2_1 = 1;
        try {
            org.apache.http.client.methods.HttpPost v4_10;
            if (!p8.equals("GET")) {
                if (!p8.equals("DELETE")) {
                    if (!p8.equals("PUT")) {
                        if (!p8.equals("HEAD")) {
                            v4_10 = new org.apache.http.client.methods.HttpPost(v0_4.toURI());
                        } else {
                            v4_10 = new org.apache.http.client.methods.HttpHead(v0_4.toURI());
                            if (p9 != null) {
                                throw new RuntimeException("HTTP HEAD Request can not contains Data!");
                            }
                        }
                    } else {
                        v4_10 = new org.apache.http.client.methods.HttpPut(v0_4.toURI());
                    }
                } else {
                    v4_10 = new org.apache.http.client.methods.HttpDelete(v0_4.toURI());
                    if (p9 != null) {
                        throw new RuntimeException("HTTP DELETE Request can not contains Data!");
                    }
                }
            } else {
                if (p9 == null) {
                    v4_10 = new org.apache.http.client.methods.HttpGet(v0_4.toURI());
                } else {
                    throw new RuntimeException("HTTP GET Request can not contains Data!");
                }
            }
        } catch (int v7_13) {
            com.coupa.android.coupamobile.core.ApplicationBase.handleException("CSApi", v7_13, 1);
            if (p13 != null) {
                p13.onApiResponse(new com.coupa.android.coupamobile.core.cs_api.CSApiResponse(0, 0, com.coupa.android.coupamobile.core.cs_api.CSApiResponseStatus.BadRequest));
            }
            return;
        }
        v4_10.setParams(v1_4);
        if (p9 != null) {
            if (!(p9 instanceof org.json.JSONObject)) {
                if ((p9 instanceof java.nio.ByteBuffer)) {
                    ((org.apache.http.client.methods.HttpEntityEnclosingRequestBase) v4_10).setEntity(new org.apache.http.entity.ByteArrayEntity(((java.nio.ByteBuffer) p9).array()));
                }
            } else {
                int v0_16 = new org.apache.http.entity.mime.MultipartEntity(org.apache.http.entity.mime.HttpMultipartMode.BROWSER_COMPATIBLE);
                if (!((org.json.JSONObject) p9).has("file_input")) {
                    v2_1 = 0;
                } else {
                    try {
                        String v9_23 = ((org.json.JSONObject) p9).getString("file_input");
                        int v1_0 = new java.io.File(v9_23.replace("file://", ""));
                    } catch (int v7_1) {
                        com.coupa.android.coupamobile.core.ApplicationBase.handleException("JSONException", v7_1, 1);
                        return;
                    }
                    if (!v1_0.exists()) {
                        v1_0 = com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getFile(v9_23);
                    }
                    v0_16.addPart("file_input", new org.apache.http.entity.mime.content.FileBody(v1_0, "image/jpeg"));
                }
                if (v2_1 != 0) {
                    ((org.apache.http.client.methods.HttpEntityEnclosingRequestBase) v4_10).setEntity(v0_16);
                }
            }
        }
        v4_10.setHeader("Accept", "application/json");
        v4_10.setHeader("User-Agent", com.coupa.android.coupamobile.utils2.Utils2.c());
        if (p12 != null) {
            v4_10.setHeaders(p12);
        }
        if (p10 == null) {
            v4_10.setHeader("X-COUPA-API-KEY", com.coupa.android.coupamobile.core.LoginInfo.getInstance().getApiKey());
        } else {
            v4_10.setHeader("Cookie", p10);
        }
        if (com.coupa.android.coupamobile.core.ApplicationBase.DEBUG) {
            try {
                Thread.sleep(10);
            } catch (String v9_11) {
                StringBuilder v10_4 = new StringBuilder();
                v10_4.append("CSApi.callAsync ***InterruptedException*** pause");
                v10_4.append(v9_11.toString());
                com.coupa.android.coupamobile.utils.LogWrapper.e(v10_4.toString());
            }
        }
        String v9_15 = new StringBuilder();
        v9_15.append("CSApi request; ");
        v9_15.append(v4_10.getMethod());
        v9_15.append("; ");
        v9_15.append(v4_10.getURI().toString());
        com.coupa.android.coupamobile.utils.LogWrapper.d(v9_15.toString());
        if (com.coupa.android.coupamobile.core.ApplicationBase.ADVANCE_TEXT_BOX_ENABLED) {
            String v9_18 = com.coupa.android.coupamobile.core.utils.AdvLogQueue.getInstance();
            StringBuilder v10_11 = new StringBuilder();
            v10_11.append(new org.joda.time.DateTime().toString().substring(11, 23));
            v10_11.append(" ");
            v10_11.append(p8);
            v10_11.append("; ");
            v10_11.append(p7);
            v10_11.append(10);
            v9_18.addLog(v10_11.toString());
        }
        if ((com.coupa.android.coupamobile.core.ApplicationBase.DEBUG) && ((com.coupa.android.coupamobile.core.cs_api.CSApi.method.contains("PUT")) && (com.coupa.android.coupamobile.core.cs_api.CSApi.resource.contains("176")))) {
            this.iDebugstop = 100;
        }
        com.coupa.android.coupamobile.core.http.HttpNetworkQueue.getInstance().addRequestWithCallback(v4_10, new com.coupa.android.coupamobile.core.cs_api.CSApi$1(this, p11, p13, v4_10));
        return;
    }

Method com.coupa.android.coupamobile.controllers.EditExpenseLineController.openReceipt() calling method java.io.File.<init>()


    public void openReceipt(String p3, boolean p4)
    {
        com.coupa.android.coupamobile.utils.LogWrapper.v("EditExpenseLineController.openReceipt in");
        android.net.Uri v0_5 = new StringBuilder();
        v0_5.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
        v0_5.append(p3);
        android.net.Uri v0_2 = new java.io.File(v0_5.toString());
        if (!v0_2.exists()) {
            com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.controllers.EditExpenseLineController$3(this));
        } else {
            com.coupa.android.coupamobile.controllers.EditExpenseLineController$2 v3_6 = com.coupa.android.coupamobile.controllers.EditExpenseLineController.getReceiptApplicationType(v0_2, this.activityContext);
            if ((v3_6 != null) && (!v3_6.isEmpty())) {
                android.content.Intent v4_2;
                android.net.Uri v0_4 = android.net.Uri.fromFile(v0_2);
                if (p4 != null) {
                    v4_2 = new android.content.Intent();
                    v4_2.setAction("android.intent.action.SEND");
                    v4_2.putExtra("android.intent.extra.STREAM", v0_4);
                    v4_2.setType(v3_6);
                } else {
                    v4_2 = new android.content.Intent("android.intent.action.VIEW");
                    v4_2.setDataAndType(v0_4, v3_6);
                }
                try {
                    this.activityContext.startActivity(v4_2);
                } catch (com.coupa.android.coupamobile.controllers.EditExpenseLineController$2 v3_8) {
                    if ((v3_8 instanceof android.content.ActivityNotFoundException)) {
                        com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.controllers.EditExpenseLineController$2(this));
                    }
                }
            } else {
                com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.controllers.EditExpenseLineController$1(this));
                return;
            }
        }
        return;
    }

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


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

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


    public void loadData(com.bumptech.glide.Priority p7, com.bumptech.glide.load.data.DataFetcher$DataCallback p8)
    {
        java.io.File v7_6 = this.b.getContentResolver().query(this.c, com.bumptech.glide.load.model.MediaStoreFileLoader$FilePathFetcher.a, 0, 0, 0);
        String v0_0 = 0;
        if (v7_6 != null) {
            try {
                if (v7_6.moveToFirst()) {
                    v0_0 = v7_6.getString(v7_6.getColumnIndexOrThrow("_data"));
                }
            } catch (Throwable v8_1) {
                v7_6.close();
                throw v8_1;
            }
            v7_6.close();
        }
        if (!android.text.TextUtils.isEmpty(v0_0)) {
            p8.a(new java.io.File(v0_0));
        } else {
            String v0_5 = new StringBuilder();
            v0_5.append("Failed to find file path for: ");
            v0_5.append(this.c);
            p8.a(new java.io.FileNotFoundException(v0_5.toString()));
        }
        return;
    }

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


    public java.io.File a()
    {
        int v0_2 = this.a.getCacheDir();
        if (v0_2 != 0) {
            if (this.b == null) {
                return v0_2;
            } else {
                return new java.io.File(v0_2, this.b);
            }
        } else {
            return 0;
        }
    }

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


    public java.io.File a()
    {
        java.io.File v0_0 = this.b();
        if ((v0_0 == null) || (!v0_0.exists())) {
            java.io.File v1_2 = this.a.getExternalCacheDir();
            if ((v1_2 != null) && (v1_2.canWrite())) {
                if (this.b == null) {
                    return v1_2;
                } else {
                    return new java.io.File(v1_2, this.b);
                }
            } else {
                return v0_0;
            }
        } else {
            return v0_0;
        }
    }

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


    private java.io.File b()
    {
        int v0_2 = this.a.getCacheDir();
        if (v0_2 != 0) {
            if (this.b == null) {
                return v0_2;
            } else {
                return new java.io.File(v0_2, this.b);
            }
        } else {
            return 0;
        }
    }

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


    public java.io.File a()
    {
        int v0_2 = this.a.getExternalCacheDir();
        if (v0_2 != 0) {
            if (this.b == null) {
                return v0_2;
            } else {
                return new java.io.File(v0_2, this.b);
            }
        } else {
            return 0;
        }
    }

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


    public java.io.File a()
    {
        return new java.io.File(this.a, this.b);
    }

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


    public java.io.File a()
    {
        return new java.io.File(this.a);
    }

Method com.airbnb.android.react.maps.AirMapLocalTile$AIRMapLocalTileProvider.b() calling method java.io.File.<init>()

Couldn't retrieve source code

Method com.RNFetchBlob.Response.RNFetchBlobFileResp.<init>() calling method java.io.File.<init>()


    public RNFetchBlobFileResp(com.facebook.react.bridge.ReactApplicationContext p3, String p4, okhttp3.ResponseBody p5, String p6, boolean p7)
    {
        this.d = 0;
        this.e = p3;
        this.a = p4;
        this.b = p5;
        if ((com.RNFetchBlob.Response.RNFetchBlobFileResp.g) || (p6 != null)) {
            this.c = p6;
            if (p6 != null) {
                IllegalStateException v3_1 = (p7 ^ 1);
                String v4_2 = p6.replace("?append=true", "");
                this.c = v4_2;
                java.io.FileOutputStream v5_3 = new java.io.File(v4_2);
                java.io.File v6_1 = v5_3.getParentFile();
                if ((v6_1.exists()) || (v6_1.mkdirs())) {
                    if (!v5_3.exists()) {
                        v5_3.createNewFile();
                    }
                    this.f = new java.io.FileOutputStream(new java.io.File(v4_2), v3_1);
                } else {
                    String v4_4 = new StringBuilder();
                    v4_4.append("Couldn\'t create dir: ");
                    v4_4.append(v6_1);
                    throw new IllegalStateException(v4_4.toString());
                }
            }
            return;
        } else {
            throw new AssertionError();
        }
    }

Method com.RNFetchBlob.RNFetchBlobBody.d() calling method java.io.File.<init>()


    private java.util.ArrayList d()
    {
        java.util.ArrayList v0_1 = new java.util.ArrayList();
        long v6 = 0;
        int v5 = 0;
        while (v5 < this.c.a()) {
            String v8_1 = new com.RNFetchBlob.RNFetchBlobBody$FormField(this, this.c.i(v5));
            v0_1.add(v8_1);
            java.io.File v9_2 = v8_1.d;
            if (v9_2 != null) {
                long v10_1;
                if (v8_1.b == null) {
                    String v8_2;
                    if (v8_1.d == null) {
                        v8_2 = 0;
                    } else {
                        v8_2 = ((long) v8_1.d.getBytes().length);
                    }
                    v10_1 = (v6 + v8_2);
                } else {
                    if (!v9_2.startsWith("RNFetchBlob-file://")) {
                        v10_1 = (v6 + ((long) android.util.Base64.decode(v9_2, 0).length));
                    } else {
                        String v8_14 = com.RNFetchBlob.RNFetchBlobFS.e(v9_2.substring("RNFetchBlob-file://".length()));
                        if (!com.RNFetchBlob.RNFetchBlobFS.d(v8_14)) {
                            v10_1 = (v6 + new java.io.File(com.RNFetchBlob.RNFetchBlobFS.e(v8_14)).length());
                        } else {
                            try {
                                v10_1 = (v6 + ((long) com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(v8_14.replace("bundle-assets://", "")).available()));
                            } catch (String v8_22) {
                                com.RNFetchBlob.RNFetchBlobUtils.b(v8_22.getLocalizedMessage());
                                v10_1 = v6;
                            }
                        }
                    }
                }
                v6 = v10_1;
            } else {
                java.io.File v9_10 = new StringBuilder();
                v9_10.append("RNFetchBlob multipart request builder has found a field without `data` property, the field `");
                v9_10.append(v8_1.a);
                v9_10.append("` will be removed implicitly.");
                com.RNFetchBlob.RNFetchBlobUtils.b(v9_10.toString());
            }
            v5++;
        }
        this.b = v6;
        return v0_1;
    }

Method com.RNFetchBlob.RNFetchBlobBody.c() calling method java.io.File.<init>()


    private java.io.File c()
    {
        byte[] v0_1 = new StringBuilder();
        v0_1.append("RNFetchBlob-");
        v0_1.append(this.d);
        byte[] v0_5 = v0_1.toString();
        java.io.File v1_1 = java.io.File.createTempFile("rnfb-form-tmp", "", com.RNFetchBlob.RNFetchBlob.RCTContext.getCacheDir());
        java.io.FileOutputStream v2_2 = new java.io.FileOutputStream(v1_1);
        StringBuilder v3_1 = this.d();
        int v6 = 0;
        while (v6 < v3_1.size()) {
            String v7_22 = ((com.RNFetchBlob.RNFetchBlobBody$FormField) v3_1.get(v6));
            StringBuilder v8_9 = v7_22.d;
            String v9_8 = v7_22.a;
            if ((v9_8 != null) && (v8_9 != null)) {
                String v10_4 = new StringBuilder();
                v10_4.append("--");
                v10_4.append(v0_5);
                v10_4.append("\r\n");
                String v10_5 = v10_4.toString();
                if (v7_22.b == null) {
                    StringBuilder v8_11 = new StringBuilder();
                    v8_11.append(v10_5);
                    v8_11.append("Content-Disposition: form-data; name=\"");
                    v8_11.append(v9_8);
                    v8_11.append("\"\r\n");
                    StringBuilder v8_12 = v8_11.toString();
                    String v9_11 = new StringBuilder();
                    v9_11.append(v8_12);
                    v9_11.append("Content-Type: ");
                    v9_11.append(v7_22.c);
                    v9_11.append("\r\n\r\n");
                    v2_2.write(v9_11.toString().getBytes());
                    v2_2.write(v7_22.d.getBytes());
                } else {
                    StringBuilder v11_4 = new StringBuilder();
                    v11_4.append(v10_5);
                    v11_4.append("Content-Disposition: form-data; name=\"");
                    v11_4.append(v9_8);
                    v11_4.append("\"; filename=\"");
                    v11_4.append(v7_22.b);
                    v11_4.append("\"\r\n");
                    String v9_15 = v11_4.toString();
                    String v10_1 = new StringBuilder();
                    v10_1.append(v9_15);
                    v10_1.append("Content-Type: ");
                    v10_1.append(v7_22.c);
                    v10_1.append("\r\n\r\n");
                    v2_2.write(v10_1.toString().getBytes());
                    if (!v8_9.startsWith("RNFetchBlob-file://")) {
                        v2_2.write(android.util.Base64.decode(v8_9, 0));
                    } else {
                        String v7_10 = com.RNFetchBlob.RNFetchBlobFS.e(v8_9.substring("RNFetchBlob-file://".length()));
                        if (!com.RNFetchBlob.RNFetchBlobFS.d(v7_10)) {
                            StringBuilder v8_2 = new java.io.File(com.RNFetchBlob.RNFetchBlobFS.e(v7_10));
                            if (!v8_2.exists()) {
                                StringBuilder v8_4 = new StringBuilder();
                                v8_4.append("Failed to create form data from path :");
                                v8_4.append(v7_10);
                                v8_4.append(", file not exists.");
                                com.RNFetchBlob.RNFetchBlobUtils.b(v8_4.toString());
                            } else {
                                this.a(new java.io.FileInputStream(v8_2), v2_2);
                            }
                        } else {
                            try {
                                this.a(com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(v7_10.replace("bundle-assets://", "")), v2_2);
                            } catch (StringBuilder v8_8) {
                                String v9_7 = new StringBuilder();
                                v9_7.append("Failed to create form data asset :");
                                v9_7.append(v7_10);
                                v9_7.append(", ");
                                v9_7.append(v8_8.getLocalizedMessage());
                                com.RNFetchBlob.RNFetchBlobUtils.b(v9_7.toString());
                            }
                        }
                    }
                }
                v2_2.write("\r\n".getBytes());
            }
            v6++;
        }
        StringBuilder v3_3 = new StringBuilder();
        v3_3.append("--");
        v3_3.append(v0_5);
        v3_3.append("--\r\n");
        v2_2.write(v3_3.toString().getBytes());
        v2_2.flush();
        v2_2.close();
        return v1_1;
    }

Method com.RNFetchBlob.RNFetchBlobBody.b() calling method java.io.File.<init>()


    private java.io.InputStream b()
    {
        if (!this.e.startsWith("RNFetchBlob-file://")) {
            try {
                return new java.io.ByteArrayInputStream(android.util.Base64.decode(this.e, 0));
            } catch (java.io.FileInputStream v0_1) {
                StringBuilder v2_1 = new StringBuilder();
                v2_1.append("error when getting request stream: ");
                v2_1.append(v0_1.getLocalizedMessage());
                throw new Exception(v2_1.toString());
            }
        } else {
            java.io.FileInputStream v0_7 = com.RNFetchBlob.RNFetchBlobFS.e(this.e.substring("RNFetchBlob-file://".length()));
            if (!com.RNFetchBlob.RNFetchBlobFS.d(v0_7)) {
                Exception v1_8 = new java.io.File(com.RNFetchBlob.RNFetchBlobFS.e(v0_7));
                try {
                    if (!v1_8.exists()) {
                        v1_8.createNewFile();
                    }
                } catch (java.io.FileInputStream v0_10) {
                    StringBuilder v2_3 = new StringBuilder();
                    v2_3.append("error when getting request stream: ");
                    v2_3.append(v0_10.getLocalizedMessage());
                    throw new Exception(v2_3.toString());
                }
                return new java.io.FileInputStream(v1_8);
            } else {
                try {
                    return com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(v0_7.replace("bundle-assets://", ""));
                } catch (java.io.FileInputStream v0_18) {
                    StringBuilder v2_6 = new StringBuilder();
                    v2_6.append("error when getting request stream from asset : ");
                    v2_6.append(v0_18.getLocalizedMessage());
                    throw new Exception(v2_6.toString());
                }
            }
        }
    }

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


    public java.io.File a(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.b.get(v3_1));
        if (v1_2 != null) {
            try {
                String v0_3 = new java.io.File(v1_2, vtmp6).getCanonicalFile();
                SecurityException v5_4 = v0_3.getPath().startsWith(v1_2.getPath());
            } catch (java.io.IOException) {
                StringBuilder v1_6 = new StringBuilder();
                v1_6.append("Failed to resolve canonical path for ");
                v1_6.append(v5_4);
                throw new IllegalArgumentException(v1_6.toString());
            }
            if (v5_4 != null) {
                return v0_3;
            } else {
                throw new SecurityException("Resolved path jumped beyond configured root");
            }
        } else {
            StringBuilder v1_8 = new StringBuilder();
            v1_8.append("Unable to find configured root for ");
            v1_8.append(p5);
            throw new IllegalArgumentException(v1_8.toString());
        }
    }

Method org.joda.time.DateTimeZone.getDefaultProvider() calling method java.io.File.<init>()


    private static org.joda.time.tz.Provider getDefaultProvider()
    {
        Exception v0_5 = System.getProperty("org.joda.time.DateTimeZone.Provider");
        if (v0_5 == null) {
            Exception v0_4 = System.getProperty("org.joda.time.DateTimeZone.Folder");
        } else {
            try {
                return org.joda.time.DateTimeZone.validateProvider(((org.joda.time.tz.Provider) Class.forName(v0_5).newInstance()));
            } catch (Exception v0_2) {
                throw new RuntimeException(v0_2);
            }
        }
    }

Method com.j256.ormlite.android.apptools.OrmLiteConfigUtil.writeConfigFile() calling method java.io.File.<init>()


    public static void writeConfigFile(String p2, Class[] p3, boolean p4)
    {
        java.io.File v0_2 = com.j256.ormlite.android.apptools.OrmLiteConfigUtil.findRawDir(new java.io.File("."));
        if (v0_2 != null) {
            com.j256.ormlite.android.apptools.OrmLiteConfigUtil.writeConfigFile(new java.io.File(v0_2, p2), p3, p4);
        } else {
            System.err.println("Could not find raw directory which is typically in the res directory");
        }
        return;
    }

Method com.j256.ormlite.android.apptools.OrmLiteConfigUtil.writeConfigFile() calling method java.io.File.<init>()


    public static void writeConfigFile(String p3, boolean p4)
    {
        Class[] v0_1 = new java.util.ArrayList();
        com.j256.ormlite.android.apptools.OrmLiteConfigUtil.findAnnotatedClasses(v0_1, new java.io.File("."), 0);
        Class[] v1_3 = new Class[v0_1.size()];
        com.j256.ormlite.android.apptools.OrmLiteConfigUtil.writeConfigFile(p3, ((Class[]) v0_1.toArray(v1_3)), p4);
        return;
    }

Method com.j256.ormlite.android.apptools.OrmLiteConfigUtil.writeConfigFile() calling method java.io.File.<init>()


    public static void writeConfigFile(java.io.File p2, boolean p3)
    {
        com.j256.ormlite.android.apptools.OrmLiteConfigUtil.writeConfigFile(p2, new java.io.File("."), p3);
        return;
    }

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


    public static String c(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.a() calling method java.io.File.<init>()


    public static java.io.File a(android.content.Context p2, com.facebook.react.bridge.ReadableMap p3, boolean p4)
    {
        java.io.IOException v2_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.a(p3, "storageOptions")) || (p4)) {
            v2_1 = p2.getExternalFilesDir(android.os.Environment.DIRECTORY_PICTURES);
        } else {
            v2_1 = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES);
        }
        int v3_4 = new java.io.File(v2_1, v0_1);
        try {
            v2_1.mkdirs();
            v3_4.createNewFile();
        } catch (java.io.IOException v2_3) {
            v2_3.printStackTrace();
            v3_4 = 0;
        }
        return v3_4;
    }

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


    public static ark>com.imagepicker.utils.MediaUtilsark>$RolloutPhotoResult a(com.imagepicker.media.ImageConfig p4)
    {
        com.imagepicker.media.ImageConfig v0_3;
        if (p4.b != null) {
            v0_3 = p4.b;
        } else {
            v0_3 = p4.a;
        }
        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;
            ark>com.imagepicker.utils.MediaUtilsark>.a(v0_3, v2_0);
        } catch (com.imagepicker.media.ImageConfig v0_4) {
            v0_4.printStackTrace();
            ark>com.imagepicker.utils.MediaUtilsark>$RolloutPhotoResult v1_1 = new ark>com.imagepicker.utils.MediaUtilsark>$RolloutPhotoResult(p4, v0_4);
            return v1_1;
        }
        if (p4.b == null) {
            v0_2 = p4.a(v2_0);
        } else {
            v0_2 = p4.b(v2_0);
        }
        v1_1 = new ark>com.imagepicker.utils.MediaUtilsark>$RolloutPhotoResult(v0_2, 0);
        return v1_1;
    }

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


    private zzy(android.content.Context p3, String p4)
    {
        String v3_1;
        this.b = p3;
        this.a = p3.getSharedPreferences(p4, 0);
        String v3_13 = String.valueOf(p4);
        String v4_1 = String.valueOf("-no-backup");
        if (v4_1.length() == 0) {
            v3_1 = new String(v3_13);
        } else {
            v3_1 = v3_13.concat(v4_1);
        }
        String v0_3 = new java.io.File(com.google.android.gms.common.util.zzv.a(this.b), v3_1);
        if (!v0_3.exists()) {
            try {
                if ((v0_3.createNewFile()) && (!this.c())) {
                    android.util.Log.i("FirebaseInstanceId", "App restored, clearing state");
                    this.b();
                    com.google.firebase.iid.FirebaseInstanceId.a().h();
                }
            } catch (String v3_8) {
                if (!android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    return;
                } else {
                    String v3_10 = String.valueOf(v3_8.getMessage());
                    if (v3_10.length() == 0) {
                        String v3_12 = new String("Error creating file in no backup dir: ");
                    } else {
                        v3_12 = "Error creating file in no backup dir: ".concat(v3_10);
                    }
                    android.util.Log.d("FirebaseInstanceId", v3_12);
                    return;
                }
            }
            return;
        }
        return;
    }

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


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

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


    private final boolean K()
    {
        this.h().c();
        try {
            this.E = new java.io.RandomAccessFile(new java.io.File(this.b.getFilesDir(), "google_app_measurement.db"), "rw").getChannel();
            this.D = this.E.tryLock();
        } catch (int v0_12) {
            String v1_4 = this.f().y();
            String v2_0 = "Failed to acquire storage lock";
            v1_4.a(v2_0, v0_12);
            return 0;
        } catch (int v0_12) {
            v1_4 = this.f().y();
            v2_0 = "Failed to access storage lock file";
        }
        if (this.D == null) {
            this.f().y().a("Storage concurrent data access panic");
            return 0;
        } else {
            this.f().E().a("Storage concurrent access okay");
            return 1;
        }
    }

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


    public final void onCreate(android.database.sqlite.SQLiteDatabase p3)
    {
        int v3_1 = p3.getPath();
        if (com.google.android.gms.internal.zzark.a() >= 9) {
            java.io.File v0_2 = new java.io.File(v3_1);
            v0_2.setReadable(0, 0);
            v0_2.setWritable(0, 0);
            v0_2.setReadable(1, 1);
            v0_2.setWritable(1, 1);
        }
        return;
    }

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


    private zzo(android.content.Context p3, String p4)
    {
        String v3_1;
        this.b = p3;
        this.a = p3.getSharedPreferences(p4, 0);
        String v3_13 = String.valueOf(p4);
        String v4_1 = String.valueOf("-no-backup");
        if (v4_1.length() == 0) {
            v3_1 = new String(v3_13);
        } else {
            v3_1 = v3_13.concat(v4_1);
        }
        String v0_3 = new java.io.File(com.google.android.gms.common.util.zzv.a(this.b), v3_1);
        if (!v0_3.exists()) {
            try {
                if ((v0_3.createNewFile()) && (!this.a())) {
                    android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                    com.google.android.gms.iid.InstanceIDListenerService.zza(this.b, this);
                }
            } catch (String v3_7) {
                if (!android.util.Log.isLoggable("InstanceID/Store", 3)) {
                    return;
                } else {
                    String v3_10 = String.valueOf(v3_7.getMessage());
                    if (v3_10.length() == 0) {
                        String v3_12 = new String("Error creating file in no backup dir: ");
                    } else {
                        v3_12 = "Error creating file in no backup dir: ".concat(v3_10);
                    }
                    android.util.Log.d("InstanceID/Store", v3_12);
                    return;
                }
            }
            return;
        }
        return;
    }

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


    public static java.io.File a(android.content.Context p2)
    {
        if (!com.google.android.gms.common.util.zzq.f()) {
            return ark>com.google.android.gms.common.util.zzvark>.a(new java.io.File(p2.getApplicationInfo().dataDir, "no_backup"));
        } else {
            return p2.getNoBackupFilesDir();
        }
    }

Method com.flurry.sdk.mq.d() calling method java.io.File.<init>()


    private static void d(java.util.Map p10)
    {
        if (p10 != null) {
            java.util.regex.Pattern v0_1 = java.util.regex.Pattern.compile("^Vm(RSS|Size|Peak):\\s+(\\d+)\\s+kB$");
            int v2_6 = new StringBuilder("/proc/");
            v2_6.append(Integer.toString(android.os.Process.myPid()));
            String v1_2 = 0;
            try {
                String v3_3 = new java.io.FileInputStream(new java.io.File(new java.io.File(v2_6.toString()), "status"));
                try {
                    int v2_3 = new java.io.BufferedReader(new java.io.InputStreamReader(v3_3));
                    try {
                        String v1_0 = v2_3.readLine();
                    } catch (java.io.IOException v10_1) {
                        com.flurry.sdk.mi.a(v3_3);
                        com.flurry.sdk.mi.a(v2_3);
                        throw v10_1;
                    } catch (java.io.IOException v10_3) {
                        v1_2 = v3_3;
                        v10_3.printStackTrace();
                        com.flurry.sdk.mi.a(v1_2);
                        com.flurry.sdk.mi.a(v2_3);
                        return;
                    } catch (java.io.IOException v10_2) {
                        v1_2 = v3_3;
                        v10_2.printStackTrace();
                    }
                    while (v1_0 != null) {
                        String v1_4 = v0_1.matcher(v1_0);
                        if (v1_4.find()) {
                            String v4_3 = 1;
                            boolean v5_0 = v1_4.group(1);
                            String v1_5 = v1_4.group(2);
                            if (!android.text.TextUtils.isEmpty(v5_0)) {
                                if (!android.text.TextUtils.isEmpty(v1_5)) {
                                    int v8 = v5_0.hashCode();
                                    if (v8 == 81458) {
                                        if (!v5_0.equals("RSS")) {
                                            v4_3 = -1;
                                        } else {
                                            v4_3 = 0;
                                        }
                                    } else {
                                        if (v8 == 2483455) {
                                            if (!v5_0.equals("Peak")) {
                                            } else {
                                                v4_3 = 2;
                                            }
                                        } else {
                                            if (v8 == 2577441) {
                                                if (!v5_0.equals("Size")) {
                                                } else {
                                                }
                                            } else {
                                            }
                                        }
                                    }
                                    switch (v4_3) {
                                        case 0:
                                            p10.put("mem.rss", v1_5);
                                        case 1:
                                            p10.put("mem.virt", v1_5);
                                            break;
                                        case 2:
                                            p10.put("mem.virt.max", v1_5);
                                            break;
                                        default:
                                    }
                                } else {
                                }
                            }
                        }
                        v1_0 = v2_3.readLine();
                    }
                    com.flurry.sdk.mi.a(v3_3);
                    com.flurry.sdk.mi.a(v2_3);
                    return;
                } catch (java.io.IOException v10_1) {
                    v2_3 = 0;
                } catch (java.io.IOException v10_3) {
                    v2_3 = 0;
                } catch (java.io.IOException v10_2) {
                    v2_3 = 0;
                }
            } catch (java.io.IOException v10_1) {
                v2_3 = 0;
                v3_3 = 0;
            } catch (java.io.IOException v10_3) {
                v2_3 = 0;
            } catch (java.io.IOException v10_2) {
                v2_3 = 0;
            } catch (java.io.IOException v10_1) {
                v3_3 = v1_2;
            }
        } else {
            return;
        }
    }

Method com.flurry.sdk.mh.b() calling method java.io.File.<init>()


    public static boolean b(java.io.File p6)
    {
        if ((!p6) || (!p6.isDirectory())) {
            return 0;
        } else {
            String[] v1_1 = p6.list();
            int v3 = 0;
            while (v3 < v1_1.length) {
                if (com.flurry.sdk.mh.b(new java.io.File(p6, v1_1[v3]))) {
                    v3++;
                } else {
                    return 0;
                }
            }
            return p6.delete();
        }
    }

Method com.flurry.sdk.mh.a() calling method java.io.File.<init>()


    public static java.io.File a()
    {
        String v0_7;
        String v0_5 = com.flurry.sdk.kh.a().a;
        if (!com.flurry.sdk.mi.a(21)) {
            StringBuilder v2_3 = new StringBuilder();
            v2_3.append(v0_5.getFilesDir().getPath());
            v2_3.append(java.io.File.separator);
            v2_3.append("no_backup");
            v0_7 = new java.io.File(v2_3.toString());
        } else {
            v0_7 = v0_5.getNoBackupFilesDir();
        }
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(v0_7.getPath());
        v2_1.append(java.io.File.separator);
        v2_1.append(".flurryNoBackup");
        return new java.io.File(v2_1.toString());
    }

Method com.flurry.sdk.kb.b() calling method java.io.File.<init>()


    private static java.io.File b()
    {
        String v1_2 = new StringBuilder();
        v1_2.append(com.flurry.sdk.mh.a().getPath());
        v1_2.append(java.io.File.separator);
        v1_2.append("installationNum");
        return new java.io.File(v1_2.toString());
    }

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");
            Throwable 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 (v0_12 != null) {
                    if (v1_1 == null) {
                        v0_12.close();
                    } else {
                        try {
                            v0_12.close();
                        } catch (Throwable v0_1) {
                            v1_1.addSuppressed(v0_1);
                        }
                    }
                }
                throw v2_1;
            } catch (String v1_1) {
                throw v1_1;
            }
            if (v0_12 != null) {
                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 (Throwable v0_7) {
                if (v2_5 != null) {
                    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 (Throwable v0_6) {
                v1_1 = v0_6;
                throw v1_1;
            }
            if (v2_5 != null) {
                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 (Throwable 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 (Throwable v0_15) {
            throw new RuntimeException(v0_15);
        }
    }

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


    private static declared_synchronized void initImpl(android.content.Context p8, int p9)
    {
        try {
            if (com.facebook.soloader.SoLoader.sSoSources == null) {
                com.facebook.soloader.SoLoader.sFlags = p9;
                int v1_2 = new java.util.ArrayList();
                int v2_0 = System.getenv("LD_LIBRARY_PATH");
                if (v2_0 == 0) {
                    v2_0 = "/vendor/lib:/system/lib";
                }
                int v2_1 = v2_0.split(":");
                int v4_0 = 0;
                while (v4_0 < v2_1.length) {
                    v1_2.add(new com.facebook.soloader.DirectorySoSource(new java.io.File(v2_1[v4_0]), 2));
                    v4_0++;
                }
                if (p8 != null) {
                    int v2_2 = 1;
                    if ((p9 & 1) == 0) {
                        int v4_5;
                        String v9_2 = p8.getApplicationInfo();
                        if (((v9_2.flags & 1) == 0) || ((v9_2.flags & 128) != 0)) {
                            v4_5 = 0;
                        } else {
                            v4_5 = 1;
                        }
                        if (v4_5 == 0) {
                            int v4_7;
                            if (android.os.Build$VERSION.SDK_INT > 17) {
                                v4_7 = 0;
                            } else {
                                v4_7 = 1;
                            }
                            v1_2.add(0, new com.facebook.soloader.DirectorySoSource(new java.io.File(v9_2.nativeLibraryDir), v4_7));
                        } else {
                            v2_2 = 0;
                        }
                        v1_2.add(0, new com.facebook.soloader.ApkSoSource(p8, com.facebook.soloader.SoLoader.SO_STORE_NAME_MAIN, v2_2));
                    } else {
                        v1_2.add(0, new com.facebook.soloader.ExoSoSource(p8, com.facebook.soloader.SoLoader.SO_STORE_NAME_MAIN));
                    }
                }
                com.facebook.soloader.SoSource[] v8_2 = new com.facebook.soloader.SoSource[v1_2.size()];
                com.facebook.soloader.SoSource[] v8_4 = ((com.facebook.soloader.SoSource[]) v1_2.toArray(v8_2));
                String v9_8 = com.facebook.soloader.SoLoader.makePrepareFlags();
                int v1_3 = v8_4.length;
                while(true) {
                    int v2_5 = (v1_3 - 1);
                    if (v1_3 <= 0) {
                        break;
                    }
                    v8_4[v2_5].prepare(v9_8);
                    v1_3 = v2_5;
                }
                com.facebook.soloader.SoLoader.sSoSources = v8_4;
            }
        } catch (com.facebook.soloader.SoSource[] v8_5) {
            throw v8_5;
        }
        return;
    }

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


    private void a(String p2, int p3, okhttp3.Headers p4, okio.BufferedSource p5, java.io.File p6, ark>com.facebook.react.devsupport.BundleDownloaderark>$BundleInfo p7, com.facebook.react.devsupport.interfaces.DevBundleDownloadListener p8)
    {
        if (p3 == 200) {
            if (p7 != null) {
                ark>com.facebook.react.devsupport.BundleDownloaderark>.a(p2, p4, p7);
            }
            java.io.IOException v2_3;
            StringBuilder v4_6 = new StringBuilder();
            v4_6.append(p6.getPath());
            v4_6.append(".tmp");
            String v3_1 = new java.io.File(v4_6.toString());
            if (!com.facebook.react.devsupport.BundleDeltaClient.a(p2)) {
                this.b.a();
                v2_3 = ark>com.facebook.react.devsupport.BundleDownloaderark>.a(p5, v3_1);
            } else {
                v2_3 = this.b.a(p5, v3_1);
            }
            if ((v2_3 == null) || (v3_1.renameTo(p6))) {
                p8.a();
                return;
            } else {
                StringBuilder v4_3 = new StringBuilder();
                v4_3.append("Couldn\'t rename ");
                v4_3.append(v3_1);
                v4_3.append(" to ");
                v4_3.append(p6);
                throw new java.io.IOException(v4_3.toString());
            }
        } else {
            StringBuilder v4_4 = p5.r();
            String v5_2 = com.facebook.react.common.DebugServerException.a(v4_4);
            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_4);
                p8.a(new com.facebook.react.common.DebugServerException(v5_4.toString()));
            } else {
                p8.a(v5_2);
            }
            return;
        }
    }

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


    public declared_synchronized java.io.File o()
    {
        try {
            if (this.e == null) {
                this.e = new java.io.File(this.b.getPath());
            }
        } catch (java.io.File v0_4) {
            throw v0_4;
        }
        return this.e;
    }

Method com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.<clinit>() calling method java.io.File.<init>()


    static SecureRandomFix$LinuxPRNGSecureRandom()
    {
        com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.a = new java.io.File("/dev/urandom");
        com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.b = new Object();
        return;
    }

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


    private java.io.File d(String p4)
    {
        java.io.File v1 = this.b;
        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.MetaDataStore.c() calling method java.io.File.<init>()


    private java.io.File c(String p4)
    {
        java.io.File v1 = this.b;
        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.LogFileManager.b() calling method java.io.File.<init>()


    private java.io.File b(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.c.a(), v0_1.toString());
    }

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


    private java.io.File d()
    {
        return new java.io.File(this.b.a(), this.a);
    }

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


    java.io.File i()
    {
        return new java.io.File(this.f(), "invalidClsFiles");
    }

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


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

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


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

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


    void a(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.h();
            String v7_3 = new StringBuilder();
            v7_3.append("Found invalid session part file: ");
            v7_3.append(v4_5);
            v5_3.a("CrashlyticsCore", v7_3.toString());
            v0_1.add(ark>com.crashlytics.android.core.CrashlyticsControllerark>.a(v4_5));
            v3_1++;
        }
        if (!v0_1.isEmpty()) {
            java.io.File v10_1 = this.i();
            if (!v10_1.exists()) {
                v10_1.mkdir();
            }
            java.io.File[] v0_2 = this.a(new ark>com.crashlytics.android.core.CrashlyticsControllerark>$14(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.h();
                String v6_1 = new StringBuilder();
                v6_1.append("Moving session file: ");
                v6_1.append(v3_0);
                v4_0.a("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.h();
                    String v6_4 = new StringBuilder();
                    v6_4.append("Could not move session file. Deleting ");
                    v6_4.append(v3_0);
                    v4_4.a("CrashlyticsCore", v6_4.toString());
                    v3_0.delete();
                }
                v2++;
            }
            this.o();
            return;
        } else {
            return;
        }
    }

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


    public declared_synchronized void close()
    {
        try {
            if (!this.e) {
                this.e = 1;
                super.flush();
                super.close();
                String v1_6 = new StringBuilder();
                v1_6.append(this.b);
                v1_6.append(".cls");
                String v0_1 = new java.io.File(v1_6.toString());
                if (!this.c.renameTo(v0_1)) {
                    String v1_3 = "";
                    if (!v0_1.exists()) {
                        if (!this.c.exists()) {
                            v1_3 = " (source does not exist)";
                        }
                    } else {
                        v1_3 = " (target already exists)";
                    }
                    StringBuilder v3_1 = new StringBuilder();
                    v3_1.append("Could not rename temp file: ");
                    v3_1.append(this.c);
                    v3_1.append(" -> ");
                    v3_1.append(v0_1);
                    v3_1.append(v1_3);
                    throw new java.io.IOException(v3_1.toString());
                } else {
                    this.c = 0;
                    this.d = 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(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.e = 0;
        String v0_3 = new StringBuilder();
        v0_3.append(p4);
        v0_3.append(java.io.File.separator);
        v0_3.append(p5);
        super.b = v0_3.toString();
        String v5_2 = new StringBuilder();
        v5_2.append(super.b);
        v5_2.append(".cls_temp");
        super.c = new java.io.File(v5_2.toString());
        return;
    }

Method com.coupa.android.coupamobile.views.RequisitionLineActivity$2.onItemClick() calling method java.io.File.<init>()


    public void onItemClick(android.widget.AdapterView p4, android.view.View p5, int p6, long p7)
    {
        this.position = p6;
        com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_26 = ((com.coupa.android.coupamobile.models.value_objects.Attachment) com.coupa.android.coupamobile.views.RequisitionLineActivity.access$400(this.this$0).attachmentList.get(p6));
        String v5_36 = v4_26.getType();
        if (!com.coupa.android.coupamobile.core.data.DataItemBase.isNullOrEmpty(v5_36)) {
            if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentText.toString())) {
                if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentUrl.toString())) {
                    if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentFile.toString())) {
                        if (v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentImageScan.toString())) {
                            String v5_28 = v4_26.isFileExists(com.coupa.android.coupamobile.models.value_objects.RequisitionLine);
                            com.coupa.android.coupamobile.views.RequisitionLineActivity.access$508(this.this$0);
                            if (v5_28 != null) {
                                String v5_30 = new StringBuilder();
                                v5_30.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                                v5_30.append(v4_26.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.RequisitionLine));
                                String v5_32 = new java.io.File(v5_30.toString());
                                if (v5_32.exists()) {
                                    v5_32.setLastModified(new java.util.Date().getTime());
                                    com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_27 = android.net.Uri.fromFile(v5_32);
                                    String v5_34 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_27, this.this$0);
                                    android.content.Intent v6_39 = new android.content.Intent("android.intent.action.VIEW");
                                    v6_39.setDataAndType(v4_27, v5_34);
                                    try {
                                        this.this$0.startActivity(v6_39);
                                    } catch (com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_29) {
                                        if ((v4_29 instanceof android.content.ActivityNotFoundException)) {
                                            com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6(this));
                                        }
                                    }
                                }
                            } else {
                                String v5_37 = new android.app.ProgressDialog(this.this$0);
                                v5_37.setProgressStyle(0);
                                v5_37.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                                v5_37.setIndeterminate(1);
                                v5_37.setCanceledOnTouchOutside(1);
                                v5_37.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$4(this));
                                v5_37.show();
                                v4_26.getFileImageScanFromServer(new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$5(this, v5_37));
                            }
                        }
                    } else {
                        String v5_1 = v4_26.isFileExists(com.coupa.android.coupamobile.models.value_objects.RequisitionLine);
                        com.coupa.android.coupamobile.views.RequisitionLineActivity.access$508(this.this$0);
                        if (v5_1 != null) {
                            String v5_3 = new StringBuilder();
                            v5_3.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                            v5_3.append(v4_26.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.RequisitionLine));
                            String v5_5 = new java.io.File(v5_3.toString());
                            if (v5_5.exists()) {
                                v5_5.setLastModified(new java.util.Date().getTime());
                                com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_6 = android.net.Uri.fromFile(v5_5);
                                String v5_7 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_6, this.this$0);
                                android.content.Intent v6_11 = new android.content.Intent("android.intent.action.VIEW");
                                v6_11.setDataAndType(v4_6, v5_7);
                                try {
                                    this.this$0.startActivity(v6_11);
                                } catch (com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_8) {
                                    if ((v4_8 instanceof android.content.ActivityNotFoundException)) {
                                        com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$3(this));
                                    }
                                }
                            }
                        } else {
                            String v5_9 = new android.app.ProgressDialog(this.this$0);
                            v5_9.setProgressStyle(0);
                            v5_9.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                            v5_9.setIndeterminate(1);
                            v5_9.setCanceledOnTouchOutside(1);
                            v5_9.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$1(this));
                            v5_9.show();
                            v4_26.getFileAttachmentFromServer(com.coupa.android.coupamobile.models.value_objects.RequisitionLine, new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$2(this, v5_9));
                        }
                    }
                } else {
                    if (v4_26.getUrl() != null) {
                        com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_13 = v4_26.getUrl().trim();
                        if ((!v4_13.startsWith("http://")) && (!v4_13.startsWith("https://"))) {
                            String v5_17 = new StringBuilder();
                            v5_17.append("http://");
                            v5_17.append(v4_13);
                            v4_13 = v5_17.toString();
                        }
                        this.this$0.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v4_13)));
                    }
                }
            } else {
                if (v4_26.getText() != null) {
                    String v5_25 = new android.app.AlertDialog$Builder(this.this$0).setIcon(17301659).setTitle(2131624284).setMessage(v4_26.getText());
                    v5_25.setMessage(v4_26.getText());
                    v5_25.setPositiveButton(2131624344, 0);
                    v5_25.show();
                }
            }
        }
        return;
    }

Method com.coupa.android.coupamobile.views.EditRequisitionActivity$3.onItemClick() calling method java.io.File.<init>()


    public void onItemClick(android.widget.AdapterView p4, android.view.View p5, int p6, long p7)
    {
        this.position = p6;
        com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_26 = ((com.coupa.android.coupamobile.models.value_objects.Attachment) com.coupa.android.coupamobile.views.EditRequisitionActivity.access$500(this.this$0).attachmentList.get(p6));
        String v5_36 = v4_26.getType();
        if (!com.coupa.android.coupamobile.core.data.DataItemBase.isNullOrEmpty(v5_36)) {
            if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentText.toString())) {
                if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentUrl.toString())) {
                    if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentFile.toString())) {
                        if (v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentImageScan.toString())) {
                            String v5_28 = v4_26.isFileExists(com.coupa.android.coupamobile.models.value_objects.Requisition);
                            com.coupa.android.coupamobile.views.EditRequisitionActivity.access$608(this.this$0);
                            if (v5_28 != null) {
                                String v5_30 = new StringBuilder();
                                v5_30.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                                v5_30.append(v4_26.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.Requisition));
                                String v5_32 = new java.io.File(v5_30.toString());
                                if (v5_32.exists()) {
                                    v5_32.setLastModified(new java.util.Date().getTime());
                                    com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_27 = android.net.Uri.fromFile(v5_32);
                                    String v5_34 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_27, this.this$0);
                                    android.content.Intent v6_39 = new android.content.Intent("android.intent.action.VIEW");
                                    v6_39.setDataAndType(v4_27, v5_34);
                                    try {
                                        this.this$0.startActivity(v6_39);
                                    } catch (com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_29) {
                                        if ((v4_29 instanceof android.content.ActivityNotFoundException)) {
                                            com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6(this));
                                        }
                                    }
                                }
                            } else {
                                String v5_37 = new android.app.ProgressDialog(this.this$0);
                                v5_37.setProgressStyle(0);
                                v5_37.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                                v5_37.setIndeterminate(1);
                                v5_37.setCanceledOnTouchOutside(1);
                                v5_37.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$4(this));
                                v5_37.show();
                                v4_26.getFileImageScanFromServer(new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$5(this, v5_37));
                            }
                        }
                    } else {
                        String v5_1 = v4_26.isFileExists(com.coupa.android.coupamobile.models.value_objects.Requisition);
                        com.coupa.android.coupamobile.views.EditRequisitionActivity.access$608(this.this$0);
                        if (v5_1 != null) {
                            String v5_3 = new StringBuilder();
                            v5_3.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                            v5_3.append(v4_26.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.Requisition));
                            String v5_5 = new java.io.File(v5_3.toString());
                            if (v5_5.exists()) {
                                v5_5.setLastModified(new java.util.Date().getTime());
                                com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_6 = android.net.Uri.fromFile(v5_5);
                                String v5_7 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_6, this.this$0);
                                android.content.Intent v6_11 = new android.content.Intent("android.intent.action.VIEW");
                                v6_11.setDataAndType(v4_6, v5_7);
                                try {
                                    this.this$0.startActivity(v6_11);
                                } catch (com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_8) {
                                    if ((v4_8 instanceof android.content.ActivityNotFoundException)) {
                                        com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$3(this));
                                    }
                                }
                            }
                        } else {
                            String v5_9 = new android.app.ProgressDialog(this.this$0);
                            v5_9.setProgressStyle(0);
                            v5_9.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                            v5_9.setIndeterminate(1);
                            v5_9.setCanceledOnTouchOutside(1);
                            v5_9.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$1(this));
                            v5_9.show();
                            v4_26.getFileAttachmentFromServer(com.coupa.android.coupamobile.models.value_objects.Requisition, new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$2(this, v5_9));
                        }
                    }
                } else {
                    if (v4_26.getUrl() != null) {
                        com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_13 = v4_26.getUrl().trim();
                        if ((!v4_13.startsWith("http://")) && (!v4_13.startsWith("https://"))) {
                            String v5_17 = new StringBuilder();
                            v5_17.append("http://");
                            v5_17.append(v4_13);
                            v4_13 = v5_17.toString();
                        }
                        this.this$0.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v4_13)));
                    }
                }
            } else {
                if (v4_26.getText() != null) {
                    String v5_25 = new android.app.AlertDialog$Builder(this.this$0).setIcon(17301659).setTitle(2131624284).setMessage(v4_26.getText());
                    v5_25.setMessage(v4_26.getText());
                    v5_25.setPositiveButton(2131624344, 0);
                    v5_25.show();
                }
            }
        }
        return;
    }

Method com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3.onItemClick() calling method java.io.File.<init>()


    public void onItemClick(android.widget.AdapterView p4, android.view.View p5, int p6, long p7)
    {
        this.position = p6;
        com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_22 = ((com.coupa.android.coupamobile.models.value_objects.Attachment) com.coupa.android.coupamobile.views.EditInvoiceReportActivity.access$300(this.this$0).get(p6));
        String v5_35 = v4_22.getType();
        if (!com.coupa.android.coupamobile.core.data.DataItemBase.isNullOrEmpty(v5_35)) {
            if (!v5_35.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentText.toString())) {
                if (!v5_35.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentUrl.toString())) {
                    if (!v5_35.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentFile.toString())) {
                        if (v5_35.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentImageScan.toString())) {
                            String v5_28 = v4_22.isFileExists(com.coupa.android.coupamobile.models.value_objects.InvoiceReport);
                            com.coupa.android.coupamobile.views.EditInvoiceReportActivity.access$408(this.this$0);
                            if (v5_28 != null) {
                                String v5_30 = new StringBuilder();
                                v5_30.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                                v5_30.append(v4_22.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.InvoiceReport));
                                String v5_32 = new java.io.File(v5_30.toString());
                                if (v5_32.exists()) {
                                    v5_32.setLastModified(new java.util.Date().getTime());
                                    com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_26 = android.net.Uri.fromFile(v5_32);
                                    String v5_34 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_26, this.this$0);
                                    android.content.Intent v6_39 = new android.content.Intent("android.intent.action.VIEW");
                                    v6_39.setDataAndType(v4_26, v5_34);
                                    try {
                                        this.this$0.startActivity(v6_39);
                                    } catch (com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_28) {
                                        if ((v4_28 instanceof android.content.ActivityNotFoundException)) {
                                            com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6(this));
                                        }
                                    }
                                }
                            } else {
                                String v5_37 = new android.app.ProgressDialog(this.this$0);
                                v5_37.setProgressStyle(0);
                                v5_37.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                                v5_37.setIndeterminate(1);
                                v5_37.setCanceledOnTouchOutside(1);
                                v5_37.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$4(this));
                                v5_37.show();
                                v4_22.getFileImageScanFromServer(new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$5(this, v5_37));
                            }
                        }
                    } else {
                        String v5_1 = v4_22.isFileExists(com.coupa.android.coupamobile.models.value_objects.InvoiceReport);
                        com.coupa.android.coupamobile.views.EditInvoiceReportActivity.access$408(this.this$0);
                        if (v5_1 != null) {
                            String v5_3 = new StringBuilder();
                            v5_3.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                            v5_3.append(v4_22.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.InvoiceReport));
                            String v5_5 = new java.io.File(v5_3.toString());
                            if (v5_5.exists()) {
                                v5_5.setLastModified(new java.util.Date().getTime());
                                com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_6 = android.net.Uri.fromFile(v5_5);
                                String v5_7 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_6, this.this$0);
                                android.content.Intent v6_12 = new android.content.Intent("android.intent.action.VIEW");
                                v6_12.setDataAndType(v4_6, v5_7);
                                try {
                                    this.this$0.startActivity(v6_12);
                                } catch (com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_8) {
                                    if ((v4_8 instanceof android.content.ActivityNotFoundException)) {
                                        com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$3(this));
                                    }
                                }
                            }
                        } else {
                            String v5_9 = new android.app.ProgressDialog(this.this$0);
                            v5_9.setProgressStyle(0);
                            v5_9.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                            v5_9.setIndeterminate(1);
                            v5_9.setCanceledOnTouchOutside(1);
                            v5_9.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$1(this));
                            v5_9.show();
                            v4_22.getFileAttachmentFromServer(com.coupa.android.coupamobile.models.value_objects.InvoiceReport, new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$2(this, v5_9));
                        }
                    }
                } else {
                    if (v4_22.getUrl() != null) {
                        com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_13 = v4_22.getUrl().trim();
                        if ((!v4_13.startsWith("http://")) && (!v4_13.startsWith("https://"))) {
                            String v5_17 = new StringBuilder();
                            v5_17.append("http://");
                            v5_17.append(v4_13);
                            v4_13 = v5_17.toString();
                        }
                        this.this$0.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v4_13)));
                    }
                }
            } else {
                if (v4_22.getText() != null) {
                    String v5_25 = new android.app.AlertDialog$Builder(this.this$0).setIcon(17301659).setTitle(2131624284).setMessage(v4_22.getText());
                    v5_25.setMessage(v4_22.getText());
                    v5_25.setPositiveButton(2131624344, 0);
                    v5_25.show();
                }
            }
        }
        return;
    }

Method com.coupa.android.coupamobile.helpers.ImageHelper.getExifOrientation() calling method java.io.File.<init>()


    public static int getExifOrientation(android.net.Uri p3)
    {
        try {
            return new android.media.ExifInterface(new java.io.File(p3.toString()).getAbsolutePath()).getAttributeInt("Orientation", 1);
        } catch (Exception v3_2) {
            com.coupa.android.coupamobile.core.ApplicationBase.handleException("ImageHelper", v3_2);
            return 1;
        }
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.saveDataToFileStream() calling method java.io.File.<init>()


    public void saveDataToFileStream(String p3, com.coupa.android.coupamobile.core.utils.FileHelper$SaveDataCallback p4)
    {
        try {
            Exception v3_3 = this.context.openFileOutput(new java.io.File(p3).getName(), 0);
        } catch (Exception v3_1) {
            com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v3_1, 1);
            return;
        }
        if (p4 != null) {
            p4.onSaveDataStreamReady(v3_3);
        }
        v3_3.flush();
        v3_3.close();
        return;
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.getTempFile() calling method java.io.File.<init>()


    public java.io.File getTempFile(String p6)
    {
        if ((p6 != null) && (!p6.isEmpty())) {
            try {
                java.io.File v6_3;
                android.content.Context v2_8 = new StringBuilder();
                v2_8.append(p6);
                v2_8.append(".tmp");
            } catch (java.io.File v6_4) {
                com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v6_4, 1);
                return 0;
            }
            if (com.coupa.android.coupamobile.core.utils.FileHelper.isFileExists(v2_8.toString())) {
                StringBuilder v4_1 = new StringBuilder();
                v4_1.append(p6);
                v4_1.append(".tmp");
                v6_3 = com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().context.getFileStreamPath(v4_1.toString());
                v6_3.setWritable(1, 0);
            } else {
                v6_3 = java.io.File.createTempFile(p6, 0, new java.io.File(this.getDocPath()));
                v6_3.setWritable(1, 0);
            }
            return v6_3;
        } else {
            return 0;
        }
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.getFile() calling method java.io.File.<init>()


    public java.io.File getFile(String p2)
    {
        if ((p2 != null) && (!p2.isEmpty())) {
            return new java.io.File(this.getDocPath(p2));
        } else {
            return 0;
        }
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.deleteStaleFiles() calling method java.io.File.<init>()


    public void deleteStaleFiles(String p7, long p8)
    {
        if (p7 != null) {
            java.io.File v0_1 = new com.coupa.android.coupamobile.core.utils.FileHelper$1(this, p7);
            java.io.File[] v7_3 = new java.io.File(this.getDocPath());
            new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
            long v3 = (new java.util.Date().getTime() - p8);
            java.io.File[] v7_1 = v7_3.listFiles(v0_1);
            int v8_1 = v7_1.length;
            int v9 = 0;
            while (v9 < v8_1) {
                java.io.File v0_2 = v7_1[v9];
                if (!v0_2.isDirectory()) {
                    v0_2.getName();
                    if (v0_2.lastModified() < v3) {
                        v0_2.delete();
                    }
                }
                v9++;
            }
            return;
        } else {
            return;
        }
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.deleteFile() calling method java.io.File.<init>()


    public boolean deleteFile(String p2)
    {
        if ((p2 != 0) && (!p2.isEmpty())) {
            java.io.File v0_2 = new java.io.File(this.getDocPath(p2));
            if (!v0_2.exists()) {
                return 1;
            } else {
                return v0_2.delete();
            }
        } else {
            return 0;
        }
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.copyFileFromStream() calling method java.io.File.<init>()


    public void copyFileFromStream(java.io.InputStream p3, String p4, String p5)
    {
        if ((p5 != null) && (!p5.isEmpty())) {
            try {
                byte[] v5_6 = this.getFile(p5);
            } catch (Exception v3_1) {
                com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v3_1, 1);
                return;
            }
            if (!v5_6.exists()) {
                v5_6.mkdir();
            }
            int v1_1 = new StringBuilder();
            v1_1.append(v5_6.getAbsolutePath());
            v1_1.append("/");
            v1_1.append(p4);
            java.io.FileOutputStream v4_3 = new java.io.FileOutputStream(new java.io.File(v1_1.toString()));
            byte[] v5_4 = new byte[4096];
            int v0_3 = p3.read(v5_4);
            while (v0_3 > 0) {
                v4_3.write(v5_4, 0, v0_3);
                v0_3 = p3.read(v5_4);
            }
            v4_3.close();
            return;
        } else {
            this.copyFileFromStream(p3, p4);
            return;
        }
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.copyFile() calling method java.io.File.<init>()


    public boolean copyFile(String p5, String p6)
    {
        try {
            if (!p5.equals(p6)) {
                byte[] v2_5 = new java.io.File(p6);
                java.io.FileInputStream v6_4 = new java.io.FileInputStream(p5);
                java.io.FileOutputStream v5_1 = this.context.openFileOutput(v2_5.getName(), 0);
                byte[] v2_2 = new byte[1024];
                while(true) {
                    int v3 = v6_4.read(v2_2);
                    if (v3 <= 0) {
                        break;
                    }
                    v5_1.write(v2_2, 0, v3);
                }
                v6_4.close();
                v5_1.close();
                return 1;
            } else {
                throw new java.security.InvalidAlgorithmParameterException("targetLocation=sourceLocation");
            }
        } catch (java.io.FileOutputStream v5_4) {
            com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v5_4, 1);
            return 0;
        }
    }

Method com.coupa.android.coupamobile.core.utils.AdvPreferences.writeToFile() calling method java.io.File.<init>()


    private void writeToFile(String p5)
    {
        java.io.File v0_0 = android.os.Environment.getExternalStorageDirectory();
        String v2_4 = new StringBuilder();
        v2_4.append(v0_0.getAbsolutePath());
        v2_4.append("/.coupa");
        java.io.FileOutputStream v1_0 = new java.io.File(v2_4.toString());
        v1_0.mkdir();
        String v2_1 = new StringBuilder();
        v2_1.append(this.getClass().getSimpleName());
        v2_1.append(".htm");
        try {
            java.io.FileOutputStream v1_3 = new java.io.FileOutputStream(new java.io.File(v1_0, v2_1.toString()));
            v1_3.write(p5.getBytes());
            v1_3.close();
        } catch (int v5_4) {
            throw v5_4;
        } catch (int v5_2) {
            v5_2.printStackTrace();
            com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 10;
        }
        return;
    }

Method com.coupa.android.coupamobile.core.utils.AdvListInstance.writeToFile() calling method java.io.File.<init>()


    private static void writeToFile(String p6)
    {
        java.io.File v0_0 = android.os.Environment.getExternalStorageDirectory();
        java.io.FileOutputStream v2_10 = new StringBuilder();
        v2_10.append(v0_0.getAbsolutePath());
        v2_10.append("/.coupa");
        int v1_0 = new java.io.File(v2_10.toString());
        v1_0.mkdir();
        java.io.File v0_3 = new java.io.File(v1_0, "_adv_instance_list.txt");
        if (v0_3.exists()) {
            java.io.FileOutputStream v2_4 = com.coupa.android.coupamobile.utils.DateTimeUtil.formatDateWithCustomFormatAndIKnowWhatIDo(new java.util.Date(), "yyyyMMdd_HHmmss");
            StringBuilder v4_1 = new StringBuilder();
            v4_1.append("_adv_instance_list_");
            v4_1.append(v2_4);
            v4_1.append(".txt");
            v0_3.renameTo(new java.io.File(v1_0, v4_1.toString()));
        }
        try {
            java.io.FileOutputStream v2_9 = new java.io.FileOutputStream(v0_3);
            v2_9.write(p6.getBytes());
            v2_9.close();
        } catch (int v6_4) {
            com.coupa.android.coupamobile.core.utils.AdvListInstance.iDebugStop = 20;
            throw v6_4;
        } catch (int v6_2) {
            v6_2.printStackTrace();
            com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 10;
        }
        com.coupa.android.coupamobile.core.utils.AdvListInstance.iDebugStop = 20;
        return;
    }

Method com.coupa.android.coupamobile.core.utils.AdvListInstance.readListFromFile() calling method java.io.File.<init>()


    public static void readListFromFile()
    {
        String v0_0 = android.os.Environment.getExternalStorageDirectory();
        java.io.BufferedReader v2_4 = new StringBuilder();
        v2_4.append(v0_0.getAbsolutePath());
        v2_4.append("/.coupa");
        int v1_0 = new java.io.File(v2_4.toString());
        if (v1_0.exists()) {
            String v0_4 = new java.io.File(v1_0, "_adv_instance_list.txt");
            com.coupa.android.coupamobile.core.utils.AdvListInstance.instanceList = new java.util.ArrayList();
            if (v0_4.exists()) {
                new StringBuilder();
                try {
                    java.io.BufferedReader v2_3 = new java.io.BufferedReader(new java.io.FileReader(v0_4));
                } catch (String v0_7) {
                    com.coupa.android.coupamobile.core.utils.AdvListInstance.iDebugStop = 90;
                    throw v0_7;
                } catch (String v0_6) {
                    v0_6.printStackTrace();
                    com.coupa.android.coupamobile.core.utils.AdvListInstance.iDebugStop = 90;
                }
                while(true) {
                    String v0_5 = v2_3.readLine();
                    if (v0_5 == null) {
                        break;
                    }
                    com.coupa.android.coupamobile.core.utils.AdvListInstance.instanceList.add(v0_5);
                }
                v2_3.close();
            }
        } else {
            com.coupa.android.coupamobile.core.utils.AdvListInstance.instanceList = new java.util.ArrayList();
        }
        return;
    }

Method com.coupa.android.coupamobile.core.utils.AdvDbList.writeToFile() calling method java.io.File.<init>()


    private void writeToFile(String p5)
    {
        java.io.File v0_0 = android.os.Environment.getExternalStorageDirectory();
        java.io.FileOutputStream v2_6 = new StringBuilder();
        v2_6.append(v0_0.getAbsolutePath());
        v2_6.append("/.coupa");
        int v1_0 = new java.io.File(v2_6.toString());
        v1_0.mkdir();
        java.io.FileOutputStream v2_1 = new StringBuilder();
        v2_1.append(this.getClass().getSimpleName());
        v2_1.append(".htm");
        try {
            java.io.FileOutputStream v2_4 = new java.io.FileOutputStream(new java.io.File(v1_0, v2_1.toString()));
            v2_4.write(p5.getBytes());
            v2_4.close();
        } catch (int v5_4) {
            com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 20;
            throw v5_4;
        } catch (int v5_2) {
            v5_2.printStackTrace();
            com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 10;
        }
        com.coupa.android.coupamobile.core.utils.AdvDbList.iDebugStop = 20;
        return;
    }

Method com.bumptech.glide.load.resource.bitmap.HardwareConfigState.<clinit>() calling method java.io.File.<init>()


    static HardwareConfigState()
    {
        com.bumptech.glide.load.resource.bitmap.HardwareConfigState.a = new java.io.File("/proc/self/fd");
        return;
    }

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


    private static int b()
    {
        int v0_0 = android.os.StrictMode.allowThreadDiskReads();
        try {
            int v1_0 = new java.io.File("/sys/devices/system/cpu/").listFiles(new com.bumptech.glide.load.engine.executor.RuntimeCompat$1(java.util.regex.Pattern.compile("cpu[0-9]+")));
            android.os.StrictMode.setThreadPolicy(v0_0);
        } catch (int v1_3) {
            android.os.StrictMode.setThreadPolicy(v0_0);
            throw v1_3;
        } catch (int v1_1) {
            if (android.util.Log.isLoggable("GlideRuntimeCompat", 6)) {
                android.util.Log.e("GlideRuntimeCompat", "Failed to calculate accurate cpu count", v1_1);
            }
            android.os.StrictMode.setThreadPolicy(v0_0);
            v1_0 = 0;
        }
        int v1_4;
        if (v1_0 == 0) {
            v1_4 = 0;
        } else {
            v1_4 = v1_0.length;
        }
        return Math.max(1, v1_4);
    }

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


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

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


    public static ark>com.bumptech.glide.disklrucache.DiskLruCacheark> a(java.io.File p9, int p10, int p11, long p12)
    {
        if (p12 > 0) {
            if (p11 > 0) {
                void v0_7 = new java.io.File(p9, "journal.bkp");
                if (v0_7.exists()) {
                    String v1_1 = new java.io.File(p9, "journal");
                    if (!v1_1.exists()) {
                        ark>com.bumptech.glide.disklrucache.DiskLruCacheark>.a(v0_7, v1_1, 0);
                    } else {
                        v0_7.delete();
                    }
                }
                void v0_1 = new ark>com.bumptech.glide.disklrucache.DiskLruCacheark>;
                v0_1(p9, p10, p11, p12);
                if (v0_1.c.exists()) {
                    try {
                        void v0_3 = v0_1.b().c();
                        return v0_3;
                    } catch (String v1_4) {
                        StringBuilder v3_2 = new StringBuilder();
                        v3_2.append("DiskLruCache ");
                        v3_2.append(p9);
                        v3_2.append(" is corrupt: ");
                        v3_2.append(v1_4.getMessage());
                        v3_2.append(", removing");
                        System.out.println(v3_2.toString());
                        v0_3.a();
                    }
                }
                p9.mkdirs();
                void v0_5 = new ark>com.bumptech.glide.disklrucache.DiskLruCacheark>;
                v0_5(p9, p10, p11, p12);
                return v0_5.d();
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

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


    private DiskLruCache(java.io.File p17, int p18, int p19, long p20)
    {
        this.i = 0;
        this.k = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.m = 0;
        java.io.File v2_0 = new java.util.concurrent.ThreadPoolExecutor;
        v2_0(0, 1, 60, java.util.concurrent.TimeUnit.SECONDS, new java.util.concurrent.LinkedBlockingQueue(), new com.bumptech.glide.disklrucache.DiskLruCache$DiskLruCacheThreadFactory(0));
        this.a = v2_0;
        this.n = new com.bumptech.glide.disklrucache.DiskLruCache$1(this);
        this.b = p17;
        this.f = p18;
        this.c = new java.io.File(p17, "journal");
        this.d = new java.io.File(p17, "journal.tmp");
        this.e = new java.io.File(p17, "journal.bkp");
        this.h = p19;
        this.g = p20;
        return;
    }

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


    private DiskLruCache$Entry(com.bumptech.glide.disklrucache.DiskLruCache p7, String p8)
    {
        this.c = p7;
        this.d = p8;
        StringBuilder v0_5 = new long[com.bumptech.glide.disklrucache.DiskLruCache.e(p7)];
        this.e = v0_5;
        StringBuilder v0_7 = new java.io.File[com.bumptech.glide.disklrucache.DiskLruCache.e(p7)];
        this.a = v0_7;
        StringBuilder v0_1 = new java.io.File[com.bumptech.glide.disklrucache.DiskLruCache.e(p7)];
        this.b = v0_1;
        StringBuilder v0_3 = new StringBuilder(p8);
        v0_3.append(46);
        int v8_2 = v0_3.length();
        int v1 = 0;
        while (v1 < com.bumptech.glide.disklrucache.DiskLruCache.e(p7)) {
            v0_3.append(v1);
            this.a[v1] = new java.io.File(com.bumptech.glide.disklrucache.DiskLruCache.f(p7), v0_3.toString());
            v0_3.append(".tmp");
            this.b[v1] = new java.io.File(com.bumptech.glide.disklrucache.DiskLruCache.f(p7), v0_3.toString());
            v0_3.setLength(v8_2);
            v1++;
        }
        return;
    }

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


    public static java.io.File a(android.content.Context p2, String p3)
    {
        boolean v2_1 = p2.getCacheDir();
        if (!v2_1) {
            if (android.util.Log.isLoggable("Glide", 6)) {
                android.util.Log.e("Glide", "default disk cache dir is null");
            }
            return 0;
        } else {
            java.io.File v1_1 = new java.io.File(v2_1, p3);
            if ((v1_1.mkdirs()) || ((v1_1.exists()) && (v1_1.isDirectory()))) {
                return v1_1;
            } else {
                return 0;
            }
        }
    }

Method com.RNFetchBlob.Utils.PathResolver.a() calling method java.io.File.<init>()


    public static String a(android.content.Context p5, android.net.Uri p6)
    {
        boolean v0_18;
        if (android.os.Build$VERSION.SDK_INT < 19) {
            v0_18 = 0;
        } else {
            v0_18 = 1;
        }
        android.net.Uri v3_0 = 0;
        if ((!v0_18) || (!android.provider.DocumentsContract.isDocumentUri(p5, p6))) {
            if (!"content".equalsIgnoreCase(p6.getScheme())) {
                if ("file".equalsIgnoreCase(p6.getScheme())) {
                    return p6.getPath();
                }
            } else {
                if (!ark>com.RNFetchBlob.Utils.PathResolverark>.d(p6)) {
                    return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, p6, 0, 0);
                } else {
                    return p6.getLastPathSegment();
                }
            }
        } else {
            if (!ark>com.RNFetchBlob.Utils.PathResolverark>.a(p6)) {
                if (!ark>com.RNFetchBlob.Utils.PathResolverark>.b(p6)) {
                    if (!ark>com.RNFetchBlob.Utils.PathResolverark>.c(p6)) {
                        if (!"content".equalsIgnoreCase(p6.getScheme())) {
                            try {
                                boolean v0_20 = p5.getContentResolver().openInputStream(p6);
                            } catch (String v5_16) {
                                com.RNFetchBlob.RNFetchBlobUtils.b(v5_16.toString());
                                return 0;
                            }
                            if (v0_20) {
                                byte[] v6_11 = ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5.getContentResolver(), p6);
                                if (v6_11 != null) {
                                    java.io.File v1_6 = new java.io.File(p5.getCacheDir(), v6_11);
                                    String v5_14 = new java.io.FileOutputStream(v1_6);
                                    byte[] v6_13 = new byte[1024];
                                    while (v0_20.read(v6_13) > 0) {
                                        v5_14.write(v6_13);
                                    }
                                    v5_14.close();
                                    v0_20.close();
                                    return v1_6.getAbsolutePath();
                                }
                            }
                        } else {
                            if (!ark>com.RNFetchBlob.Utils.PathResolverark>.d(p6)) {
                                return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, p6, 0, 0);
                            } else {
                                return p6.getLastPathSegment();
                            }
                        }
                    } else {
                        byte[] v6_15 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                        boolean v0_23 = v6_15[0];
                        if (!"image".equals(v0_23)) {
                            if (!"video".equals(v0_23)) {
                                if ("audio".equals(v0_23)) {
                                    v3_0 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                }
                            } else {
                                v3_0 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                            }
                        } else {
                            v3_0 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                        }
                        boolean v0_3 = new String[1];
                        v0_3[0] = v6_15[1];
                        return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, v3_0, "_id=?", v0_3);
                    }
                } else {
                    return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, android.content.ContentUris.withAppendedId(android.net.Uri.parse("content://downloads/public_downloads"), Long.valueOf(android.provider.DocumentsContract.getDocumentId(p6)).longValue()), 0, 0);
                }
            } else {
                String v5_4 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                if ("primary".equalsIgnoreCase(v5_4[0])) {
                    byte[] v6_10 = new StringBuilder();
                    v6_10.append(android.os.Environment.getExternalStorageDirectory());
                    v6_10.append("/");
                    v6_10.append(v5_4[1]);
                    return v6_10.toString();
                }
            }
        }
        return 0;
    }

Method com.RNFetchBlob.RNFetchBlobReq.run() calling method java.io.File.<init>()


    public void run()
    {
        if ((this.f.d == null) || ((!this.f.d.a("useDownloadManager")) || (!this.f.d.c("useDownloadManager")))) {
            com.RNFetchBlob.RNFetchBlobReq$3 v2_7;
            okhttp3.Call v0_5 = this.g;
            if (!this.f.c.isEmpty()) {
                com.RNFetchBlob.RNFetchBlobReq$3 v2_5 = new StringBuilder();
                v2_5.append(".");
                v2_5.append(this.f.c);
                v2_7 = v2_5.toString();
            } else {
                v2_7 = "";
            }
            if (this.f.f != null) {
                v0_5 = com.RNFetchBlob.RNFetchBlobUtils.a(this.f.f);
                if (v0_5 == null) {
                    v0_5 = this.g;
                }
                com.RNFetchBlob.RNFetchBlobReq$RequestType v6_38 = new StringBuilder();
                v6_38.append(com.RNFetchBlob.RNFetchBlobFS.a(com.RNFetchBlob.RNFetchBlob.RCTContext, v0_5));
                v6_38.append(v2_7);
                String v3_69 = new java.io.File(v6_38.toString());
                if (v3_69.exists()) {
                    okhttp3.Call v0_14 = this.n;
                    com.RNFetchBlob.RNFetchBlobReq$3 v2_13 = new Object[3];
                    v2_13[0] = 0;
                    v2_13[1] = "path";
                    v2_13[2] = v3_69.getAbsolutePath();
                    v0_14.a(v2_13);
                    return;
                }
            }
            if (this.f.b == null) {
                if (this.f.a.booleanValue()) {
                    String v3_76 = new StringBuilder();
                    v3_76.append(com.RNFetchBlob.RNFetchBlobFS.a(com.RNFetchBlob.RNFetchBlob.RCTContext, v0_5));
                    v3_76.append(v2_7);
                    this.k = v3_76.toString();
                }
            } else {
                this.k = this.f.b;
            }
            try {
                okhttp3.Call v0_57;
                if (!this.f.e.booleanValue()) {
                    v0_57 = this.x.newBuilder();
                    com.RNFetchBlob.RNFetchBlobReq$3 v2_19 = new okhttp3.Request$Builder();
                    try {
                        v2_19.url(new java.net.URL(this.i));
                    } catch (String v3_79) {
                        v3_79.printStackTrace();
                    }
                    String v3_81 = new java.util.HashMap();
                    if (this.m != null) {
                        com.RNFetchBlob.RNFetchBlobReq$RequestType v6_1 = this.m.a();
                        while (v6_1.hasNextKey()) {
                            String v7_31 = v6_1.nextKey();
                            String v8_10 = this.m.f(v7_31);
                            if (!v7_31.equalsIgnoreCase("RNFB-Response")) {
                                v2_19.header(v7_31.toLowerCase(), v8_10);
                                v3_81.put(v7_31.toLowerCase(), v8_10);
                            } else {
                                if (!v8_10.equalsIgnoreCase("base64")) {
                                    if (v8_10.equalsIgnoreCase("utf8")) {
                                        this.t = com.RNFetchBlob.RNFetchBlobReq$ResponseFormat.b;
                                    }
                                } else {
                                    this.t = com.RNFetchBlob.RNFetchBlobReq$ResponseFormat.c;
                                }
                            }
                        }
                    }
                    if ((this.h.equalsIgnoreCase("post")) || (this.h.equalsIgnoreCase("put"))) {
                        com.RNFetchBlob.RNFetchBlobReq$RequestType v6_11 = this.a(v3_81, "Content-Type").toLowerCase();
                        if (this.l == null) {
                            if (v6_11.isEmpty()) {
                                v2_19.header("Content-Type", "application/octet-stream");
                                this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.b;
                            }
                        } else {
                            this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.a;
                        }
                        if (this.j != null) {
                            if (!this.j.startsWith("RNFetchBlob-file://")) {
                                if (!v6_11.toLowerCase().contains(";base64")) {
                                    if (!v6_11.toLowerCase().startsWith("application/octet")) {
                                        this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.c;
                                        com.RNFetchBlob.RNFetchBlobReq$RequestType v6_19 = this.a(v3_81, "Transfer-Encoding").equalsIgnoreCase("chunked");
                                        switch (com.RNFetchBlob.RNFetchBlobReq$4.a[this.r.ordinal()]) {
                                            case 1:
                                                this.q = new com.RNFetchBlob.RNFetchBlobBody(this.g).a(v6_19).a(this.r).a(this.j).a(okhttp3.MediaType.parse(this.a(v3_81, "content-type")));
                                                v2_19.method(this.h, this.q);
                                            case 2:
                                                this.q = new com.RNFetchBlob.RNFetchBlobBody(this.g).a(v6_19).a(this.r).a(this.j).a(okhttp3.MediaType.parse(this.a(v3_81, "content-type")));
                                                v2_19.method(this.h, this.q);
                                                break;
                                            case 3:
                                                String v3_9 = new StringBuilder();
                                                v3_9.append("RNFetchBlob-");
                                                v3_9.append(this.g);
                                                String v3_10 = v3_9.toString();
                                                okhttp3.RequestBody v4_7 = new com.RNFetchBlob.RNFetchBlobBody(this.g).a(v6_19).a(this.r).a(this.l);
                                                com.RNFetchBlob.RNFetchBlobReq$RequestType v6_27 = new StringBuilder();
                                                v6_27.append("multipart/form-data; boundary=");
                                                v6_27.append(v3_10);
                                                this.q = v4_7.a(okhttp3.MediaType.parse(v6_27.toString()));
                                                v2_19.method(this.h, this.q);
                                                break;
                                            case 4:
                                                if ((!this.h.equalsIgnoreCase("post")) && (!this.h.equalsIgnoreCase("put"))) {
                                                    if (!this.h.equalsIgnoreCase("patch")) {
                                                        v2_19.method(this.h, 0);
                                                    } else {
                                                    }
                                                }
                                                com.RNFetchBlob.RNFetchBlobReq$RequestType v6_23 = new byte[0];
                                                v2_19.method(this.h, okhttp3.RequestBody.create(0, v6_23));
                                                break;
                                            default:
                                        }
                                        com.RNFetchBlob.RNFetchBlobReq$3 v2_6 = v2_19.build();
                                        v0_57.addNetworkInterceptor(new com.RNFetchBlob.RNFetchBlobReq$1(this));
                                        v0_57.addInterceptor(new com.RNFetchBlob.RNFetchBlobReq$2(this, v2_6));
                                        if (this.f.j >= 0) {
                                            v0_57.connectTimeout(this.f.j, java.util.concurrent.TimeUnit.MILLISECONDS);
                                            v0_57.readTimeout(this.f.j, java.util.concurrent.TimeUnit.MILLISECONDS);
                                        }
                                        v0_57.connectionPool(com.RNFetchBlob.RNFetchBlobReq.d);
                                        v0_57.retryOnConnectionFailure(0);
                                        v0_57.followRedirects(this.f.l.booleanValue());
                                        v0_57.followSslRedirects(this.f.l.booleanValue());
                                        v0_57.retryOnConnectionFailure(1);
                                        okhttp3.Call v0_8 = com.RNFetchBlob.RNFetchBlobReq.a(v0_57).build().newCall(v2_6);
                                        com.RNFetchBlob.RNFetchBlobReq.a.put(this.g, v0_8);
                                        v0_8.enqueue(new com.RNFetchBlob.RNFetchBlobReq$3(this));
                                    } else {
                                    }
                                }
                                com.RNFetchBlob.RNFetchBlobReq$RequestType v6_14 = v6_11.replace(";base64", "").replace(";BASE64", "");
                                if (v3_81.containsKey("content-type")) {
                                    v3_81.put("content-type", v6_14);
                                }
                                if (v3_81.containsKey("Content-Type")) {
                                    v3_81.put("Content-Type", v6_14);
                                }
                                this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.b;
                            } else {
                                this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.b;
                            }
                        }
                    } else {
                        if (!this.h.equalsIgnoreCase("patch")) {
                            this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.d;
                        } else {
                        }
                    }
                } else {
                    v0_57 = com.RNFetchBlob.RNFetchBlobUtils.a(this.x);
                }
            } catch (okhttp3.Call v0_10) {
                v0_10.printStackTrace();
                this.a();
                com.RNFetchBlob.RNFetchBlobReq$3 v2_11 = this.n;
                android.content.IntentFilter v1_1 = new Object[1];
                String v3_47 = new StringBuilder();
                v3_47.append("RNFetchBlob request error: ");
                v3_47.append(v0_10.getMessage());
                v3_47.append(v0_10.getCause());
                v1_1[0] = v3_47.toString();
                v2_11.a(v1_1);
            }
            return;
        } else {
            com.RNFetchBlob.RNFetchBlobReq$3 v2_15 = new android.app.DownloadManager$Request(android.net.Uri.parse(this.i));
            v2_15.setNotificationVisibility(1);
            if (this.f.d.a("title")) {
                v2_15.setTitle(this.f.d.f("title"));
            }
            if (this.f.d.a("description")) {
                v2_15.setDescription(this.f.d.f("description"));
            }
            if (this.f.d.a("path")) {
                okhttp3.Call v0_34 = new StringBuilder();
                v0_34.append("file://");
                v0_34.append(this.f.d.f("path"));
                v2_15.setDestinationUri(android.net.Uri.parse(v0_34.toString()));
            }
            if (this.f.d.a("mime")) {
                v2_15.setMimeType(this.f.d.f("mime"));
            }
            okhttp3.Call v0_44 = this.m.a();
            if ((this.f.d.a("mediaScannable")) && (this.f.d.a("mediaScannable") == 1)) {
                v2_15.allowScanningByMediaScanner();
            }
            while (v0_44.hasNextKey()) {
                android.content.IntentFilter v1_10 = v0_44.nextKey();
                v2_15.addRequestHeader(v1_10, this.m.f(v1_10));
            }
            okhttp3.Call v0_46 = com.RNFetchBlob.RNFetchBlob.RCTContext.getApplicationContext();
            this.p = ((android.app.DownloadManager) v0_46.getSystemService("download")).enqueue(v2_15);
            v0_46.registerReceiver(this, new android.content.IntentFilter("android.intent.action.DOWNLOAD_COMPLETE"));
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobReq.onReceive() calling method java.io.File.<init>()


    public void onReceive(android.content.Context p13, android.content.Intent p14)
    {
        if ("android.intent.action.DOWNLOAD_COMPLETE".equals(p14.getAction())) {
            String v13_14 = com.RNFetchBlob.RNFetchBlob.RCTContext.getApplicationContext();
            if (p14.getExtras().getLong("extra_download_id") == this.p) {
                String v13_13;
                com.facebook.react.bridge.Callback v14_12 = new android.app.DownloadManager$Query();
                Object[] v1_4 = new long[1];
                v1_4[0] = this.p;
                v14_12.setFilterById(v1_4);
                Object[] v1_7 = ((android.app.DownloadManager) v13_14.getSystemService("download"));
                v1_7.query(v14_12);
                com.facebook.react.bridge.Callback v14_13 = v1_7.query(v14_12);
                if (!v14_13.moveToFirst()) {
                    v13_13 = 0;
                } else {
                    Object[] v1_11 = v14_13.getInt(v14_13.getColumnIndex("status"));
                    if (v1_11 != 16) {
                        com.facebook.react.bridge.Callback v14_14 = v14_13.getString(v14_13.getColumnIndex("local_uri"));
                        if ((v14_14 == null) || ((!this.f.d.a("mime")) || (!this.f.d.f("mime").contains("image")))) {
                        } else {
                            android.net.Uri v7 = android.net.Uri.parse(v14_14);
                            android.content.ContentResolver v6_7 = v13_14.getContentResolver();
                            String[] v8 = new String[1];
                            v8[0] = "_data";
                            String v13_12 = v6_7.query(v7, v8, 0, 0, 0);
                            if (v13_12 == null) {
                            } else {
                                v13_12.moveToFirst();
                                v13_13 = v13_12.getString(0);
                            }
                        }
                    } else {
                        String v13_8 = this.n;
                        com.facebook.react.bridge.Callback v14_9 = new Object[3];
                        String v2_2 = new StringBuilder();
                        v2_2.append("Download manager failed to download from  ");
                        v2_2.append(this.i);
                        v2_2.append(". Statu Code = ");
                        v2_2.append(v1_11);
                        v14_9[0] = v2_2.toString();
                        v14_9[1] = 0;
                        v14_9[2] = 0;
                        v13_8.a(v14_9);
                        return;
                    }
                }
                if (!this.f.d.a("path")) {
                    if (v13_13 != null) {
                        com.facebook.react.bridge.Callback v14_18 = this.n;
                        Object[] v1_22 = new Object[3];
                        v1_22[0] = 0;
                        v1_22[1] = "path";
                        v1_22[2] = v13_13;
                        v14_18.a(v1_22);
                    } else {
                        String v13_15 = this.n;
                        com.facebook.react.bridge.Callback v14_19 = new Object[3];
                        v14_19[0] = "Download manager could not resolve downloaded file path.";
                        v14_19[1] = "path";
                        v14_19[2] = 0;
                        v13_15.a(v14_19);
                    }
                } else {
                    try {
                        String v13_3 = this.f.d.f("path");
                    } catch (String v13_6) {
                        v13_6.printStackTrace();
                        com.facebook.react.bridge.Callback v14_8 = this.n;
                        Object[] v1_2 = new Object[2];
                        v1_2[0] = v13_6.getLocalizedMessage();
                        v1_2[1] = 0;
                        v14_8.a(v1_2);
                    }
                    if (new java.io.File(v13_3).exists()) {
                        com.facebook.react.bridge.Callback v14_6 = this.n;
                        Object[] v1_1 = new Object[3];
                        v1_1[0] = 0;
                        v1_1[1] = "path";
                        v1_1[2] = v13_3;
                        v14_6.a(v1_1);
                    } else {
                        throw new Exception("Download manager download failed, the file does not downloaded to destination.");
                    }
                }
            }
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlobReq.a() calling method java.io.File.<init>()


    private void a(okhttp3.Response p12)
    {
        String v0_0 = this.b(p12);
        this.a(this.a(p12, v0_0));
        switch (ark>com.RNFetchBlob.RNFetchBlobReqark>$4.b[this.s.ordinal()]) {
            case 1:
                try {
                    if ((v0_0 == null) || (!this.f.h.booleanValue())) {
                        String v0_12 = p12.body().bytes();
                        com.facebook.react.bridge.Callback v1_11 = java.nio.charset.Charset.forName("UTF-8").newEncoder();
                        if (this.t != ark>com.RNFetchBlob.RNFetchBlobReqark>$ResponseFormat.c) {
                            v1_11.encode(java.nio.ByteBuffer.wrap(v0_12).asCharBuffer());
                            com.facebook.react.bridge.Callback v1_14 = new String(v0_12);
                            String v7_9 = this.n;
                            Object[] v8_6 = new Object[3];
                            v8_6[0] = 0;
                            v8_6[1] = "utf8";
                            v8_6[2] = v1_14;
                            v7_9.a(v8_6);
                        } else {
                            com.facebook.react.bridge.Callback v1_18 = this.n;
                            Object[] v2_14 = new Object[3];
                            v2_14[0] = 0;
                            v2_14[1] = "base64";
                            v2_14[2] = android.util.Base64.encodeToString(v0_12, 2);
                            v1_18.a(v2_14);
                            return;
                        }
                    } else {
                        String v0_17 = com.RNFetchBlob.RNFetchBlobFS.a(this.e, this.g);
                        com.facebook.react.bridge.Callback v1_1 = p12.body().byteStream();
                        String v7_1 = new java.io.FileOutputStream(new java.io.File(v0_17));
                        Object[] v8_3 = new byte[10240];
                        while(true) {
                            int v9_0 = v1_1.read(v8_3);
                            if (v9_0 == -1) {
                                break;
                            }
                            v7_1.write(v8_3, 0, v9_0);
                        }
                        v1_1.close();
                        v7_1.flush();
                        v7_1.close();
                        com.facebook.react.bridge.Callback v1_2 = this.n;
                        Object[] v2_1 = new Object[3];
                        v2_1[0] = 0;
                        v2_1[1] = "path";
                        v2_1[2] = v0_17;
                        v1_2.a(v2_1);
                    }
                } catch (java.io.IOException) {
                    String v0_1 = this.n;
                    com.facebook.react.bridge.Callback v1_3 = new Object[2];
                    v1_3[0] = "RNFetchBlob failed to encode response data to BASE64 string.";
                    v1_3[1] = 0;
                    v0_1.a(v1_3);
                }
            case 2:
                try {
                    p12.body().bytes();
                } catch (Exception) {
                }
                this.k = this.k.replace("?append=true", "");
                String v0_7 = this.n;
                com.facebook.react.bridge.Callback v1_7 = new Object[3];
                v1_7[0] = 0;
                v1_7[1] = "path";
                v1_7[2] = this.k;
                v0_7.a(v1_7);
                break;
            default:
                String v0_2 = this.n;
                com.facebook.react.bridge.Callback v1_4 = new Object[3];
                v1_4[0] = 0;
                v1_4[1] = "utf8";
                v1_4[2] = new String(p12.body().bytes(), "UTF-8");
                v0_2.a(v1_4);
        }
        p12.body().close();
        this.a();
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.File.<init>()


    public void a(String p5, String p6, boolean p7, com.facebook.react.bridge.Callback p8)
    {
        StringBuilder v0_1 = new java.io.File(p5);
        if ((v0_1.exists()) && (!v0_1.isDirectory())) {
            try {
                StringBuilder v0_3 = new java.io.FileOutputStream(p5, p7);
                this.c = p6;
                this.d = p7;
                Exception v6_2 = java.util.UUID.randomUUID().toString();
                ark>com.RNFetchBlob.RNFetchBlobFSark>.f.put(v6_2, this);
                this.e = v0_3;
                Object[] v7_3 = new Object[2];
                v7_3[0] = 0;
                v7_3[1] = v6_2;
                p8.a(v7_3);
            } catch (Exception v6_3) {
                Object[] v7_4 = new Object[1];
                StringBuilder v0_6 = new StringBuilder();
                v0_6.append("write stream error: failed to create write stream at path `");
                v0_6.append(p5);
                v0_6.append("` ");
                v0_6.append(v6_3.getLocalizedMessage());
                v7_4[0] = v0_6.toString();
                p8.a(v7_4);
            }
            return;
        } else {
            Exception v6_4 = new Object[1];
            Object[] v7_6 = new StringBuilder();
            v7_6.append("write stream error: target path `");
            v7_6.append(p5);
            v7_6.append("` may not exists or it\'s a folder");
            v6_4[0] = v7_6.toString();
            p8.a(v6_4);
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.File.<init>()


    public void a(String p9, String p10, int p11, int p12, String p13)
    {
        byte[] v0_0 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p9);
        if (v0_0 != null) {
            p9 = v0_0;
        }
        try {
            String v1_18;
            if (!p10.equalsIgnoreCase("base64")) {
                v1_18 = 4096;
                if (p11 <= null) {
                    p11 = v1_18;
                } else {
                }
                if ((v0_0 == null) || (!p9.startsWith("bundle-assets://"))) {
                    if (v0_0 != null) {
                        java.io.FileInputStream v9_2 = new java.io.FileInputStream(new java.io.File(p9));
                    } else {
                        v9_2 = com.RNFetchBlob.RNFetchBlob.RCTContext.getContentResolver().openInputStream(android.net.Uri.parse(p9));
                    }
                } else {
                    v9_2 = com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(p9.replace("bundle-assets://", ""));
                }
                byte[] v0_8 = new byte[p11];
                int v3 = 0;
                if (!p10.equalsIgnoreCase("utf8")) {
                    if (!p10.equalsIgnoreCase("ascii")) {
                        if (!p10.equalsIgnoreCase("base64")) {
                            String v11_7 = new StringBuilder();
                            v11_7.append("unrecognized encoding `");
                            v11_7.append(p10);
                            v11_7.append("`");
                            this.a(p13, "error", v11_7.toString());
                            v3 = 1;
                            if (v3 == 0) {
                                this.a(p13, "end", "");
                            }
                            v9_2.close();
                        }
                        do {
                            String v1_15 = v9_2.read(v0_8);
                            if (v1_15 != -1) {
                                if (v1_15 >= p11) {
                                    this.a(p13, "data", android.util.Base64.encodeToString(v0_8, 2));
                                } else {
                                    byte[] v5_1 = new byte[v1_15];
                                    int v6 = 0;
                                    while (v6 < v1_15) {
                                        v5_1[v6] = v0_8[v6];
                                        v6++;
                                    }
                                    this.a(p13, "data", android.util.Base64.encodeToString(v5_1, 2));
                                }
                            }
                        } while(p12 <= null);
                        android.os.SystemClock.sleep(((long) p12));
                    }
                    do {
                        String v11_9 = v9_2.read(v0_8);
                        if (v11_9 != -1) {
                            String v1_19 = com.facebook.react.bridge.Arguments.a();
                            long v4_0 = 0;
                            while (v4_0 < v11_9) {
                                v1_19.pushInt(v0_8[v4_0]);
                                v4_0++;
                            }
                            this.a(p13, "data", v1_19);
                        }
                    } while(p12 <= null);
                    android.os.SystemClock.sleep(((long) p12));
                } else {
                    String v11_3 = java.nio.charset.Charset.forName("UTF-8").newEncoder();
                    do {
                        String v1_0 = v9_2.read(v0_8);
                        if (v1_0 != -1) {
                            v11_3.encode(java.nio.ByteBuffer.wrap(v0_8).asCharBuffer());
                            this.a(p13, "data", new String(v0_8, 0, v1_0));
                        }
                    } while(p12 <= null);
                    android.os.SystemClock.sleep(((long) p12));
                }
            } else {
                v1_18 = 4095;
            }
        } catch (java.io.FileInputStream v9_1) {
            String v12_3 = new StringBuilder();
            v12_3.append("Failed to convert data to ");
            v12_3.append(p10);
            v12_3.append(" encoded string, this might due to the source data is not able to convert using this encoding.");
            this.a(p13, "warn", v12_3.toString());
            v9_1.printStackTrace();
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.e() calling method java.io.File.<init>()


    static void e(String p6, com.facebook.react.bridge.Callback p7)
    {
        Object[] v6_1 = com.RNFetchBlob.RNFetchBlobFS.e(p6);
        com.facebook.react.bridge.WritableArray v0_5 = new java.io.File(v6_1);
        if ((v0_5.exists()) && (v0_5.isDirectory())) {
            Object[] v6_2 = new java.io.File(v6_1).list();
            com.facebook.react.bridge.WritableArray v0_3 = com.facebook.react.bridge.Arguments.a();
            int v1_0 = v6_2.length;
            int v4 = 0;
            while (v4 < v1_0) {
                v0_3.pushString(v6_2[v4]);
                v4++;
            }
            Object[] v6_4 = new Object[2];
            v6_4[0] = 0;
            v6_4[1] = v0_3;
            p7.a(v6_4);
            return;
        } else {
            com.facebook.react.bridge.WritableArray v0_6 = new Object[1];
            int v1_3 = new StringBuilder();
            v1_3.append("ls error: failed to list path `");
            v1_3.append(v6_1);
            v1_3.append("` for it is not exist or it is not a folder");
            v0_6[0] = v1_3.toString();
            p7.a(v0_6);
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.d() calling method java.io.File.<init>()


    static void d(String p5, com.facebook.react.bridge.Callback p6)
    {
        if (!com.RNFetchBlob.RNFetchBlobFS.d(p5)) {
            Object[] v5_6 = com.RNFetchBlob.RNFetchBlobFS.e(p5);
            Boolean v0_1 = new java.io.File(v5_6).exists();
            Object[] v5_1 = new java.io.File(v5_6).isDirectory();
            Object[] v1_0 = new Object[2];
            v1_0[0] = Boolean.valueOf(v0_1);
            v1_0[1] = Boolean.valueOf(v5_1);
            p6.a(v1_0);
        } else {
            try {
                com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().openFd(p5.replace("bundle-assets://", ""));
                Object[] v5_4 = new Object[2];
                v5_4[0] = Boolean.valueOf(1);
                v5_4[1] = Boolean.valueOf(0);
                p6.a(v5_4);
            } catch (java.io.IOException) {
                Object[] v5_5 = new Object[2];
                v5_5[0] = Boolean.valueOf(0);
                v5_5[1] = Boolean.valueOf(0);
                p6.a(v5_5);
            }
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.c() calling method java.io.File.<init>()


    static boolean c(String p3)
    {
        if (!p3.startsWith("bundle-assets://")) {
            return new java.io.File(p3).exists();
        } else {
            try {
                com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(p3.replace("bundle-assets://", ""));
                return 1;
            } catch (java.io.IOException) {
                return 0;
            }
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.c() calling method java.io.File.<init>()


    static void c(String p3, String p4, com.facebook.react.bridge.Callback p5)
    {
        StringBuilder v0_1 = new java.io.File(p3);
        if (v0_1.exists()) {
            v0_1.renameTo(new java.io.File(p4));
            Object[] v3_5 = new Object[0];
            p5.a(v3_5);
            return;
        } else {
            Object[] v4_2 = new Object[1];
            StringBuilder v0_3 = new StringBuilder();
            v0_3.append("mv error: source file at path `");
            v0_3.append(p3);
            v0_3.append("` does not exists");
            v4_2[0] = v0_3.toString();
            p5.a(v4_2);
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.c() calling method java.io.File.<init>()


    static void c(String p4, com.facebook.react.bridge.Callback p5)
    {
        Object[] v0_1 = new java.io.File(p4);
        if (!v0_1.exists()) {
            v0_1.mkdirs();
            Object[] v4_3 = new Object[0];
            p5.a(v4_3);
            return;
        } else {
            Object[] v0_3 = new Object[1];
            StringBuilder v1_1 = new StringBuilder();
            v1_1.append("mkdir error: failed to create folder at `");
            v1_1.append(p4);
            v1_1.append("` folder already exists");
            v0_3[0] = v1_1.toString();
            p5.a(v0_3);
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.b() calling method java.io.File.<init>()


    static void b(String p5, String p6, com.facebook.react.bridge.Callback p7)
    {
        String v5_1 = com.RNFetchBlob.RNFetchBlobFS.e(p5);
        int v0_0 = 0;
        try {
            if (com.RNFetchBlob.RNFetchBlobFS.c(v5_1)) {
                if (!new java.io.File(p6).exists()) {
                    new java.io.File(p6).createNewFile();
                }
                String v5_3 = com.RNFetchBlob.RNFetchBlobFS.b(v5_1);
                try {
                    int v3_4 = new java.io.FileOutputStream(p6);
                    try {
                        Object[] v6_4 = new byte[10240];
                    } catch (Object[] v6_3) {
                        v0_0 = v5_3;
                        String v5_5 = v6_3;
                    } catch (Object[] v6_2) {
                        v0_0 = v5_3;
                        String v5_4 = v6_2;
                        try {
                            Object[] v6_7 = new Object[1];
                            v6_7[0] = v5_4.getLocalizedMessage();
                            p7.a(v6_7);
                        } catch (String v5_5) {
                        }
                        if (v0_0 != 0) {
                            v0_0.close();
                        }
                        if (v3_4 != 0) {
                            v3_4.close();
                        }
                        String v5_14 = new Object[0];
                        p7.a(v5_14);
                        return;
                    }
                    while(true) {
                        int v0_1 = v5_3.read(v6_4);
                        if (v0_1 <= 0) {
                            break;
                        }
                        v3_4.write(v6_4, 0, v0_1);
                    }
                    if (v5_3 != null) {
                        v5_3.close();
                    }
                    if (v3_4 != 0) {
                        v3_4.close();
                    }
                    String v5_8 = new Object[0];
                    p7.a(v5_8);
                    return;
                } catch (Object[] v6_3) {
                    v3_4 = 0;
                } catch (Object[] v6_2) {
                    v3_4 = 0;
                }
            } else {
                Object[] v6_6 = new Object[1];
                int v3_6 = new StringBuilder();
                v3_6.append("cp error: source file at path`");
                v3_6.append(v5_1);
                v3_6.append("` not exists");
                v6_6[0] = v3_6.toString();
                p7.a(v6_6);
                try {
                    String v5_15 = new Object[0];
                    p7.a(v5_15);
                } catch (String v5_16) {
                    Object[] v6_11 = new Object[1];
                    v6_11[0] = v5_16.getLocalizedMessage();
                    p7.a(v6_11);
                }
                return;
            }
        } catch (String v5_5) {
            v3_4 = 0;
        } catch (String v5_4) {
            v3_4 = 0;
        }
        if (v0_0 == 0) {
            if (v3_4 != 0) {
                v3_4.close();
            }
            Object[] v6_10 = new Object[0];
            p7.a(v6_10);
        } else {
            v0_0.close();
        }
        throw v5_5;
    }

Method com.RNFetchBlob.RNFetchBlobFS.b() calling method java.io.File.<init>()


    static void b(String p6, com.facebook.react.bridge.ReadableArray p7, com.facebook.react.bridge.Callback p8)
    {
        try {
            int v2_4 = new java.io.File(p6);
        } catch (String v6_5) {
            Object[] v7_5 = new Object[1];
            v7_5[0] = v6_5.getLocalizedMessage();
            p8.a(v7_5);
            return;
        }
        if (!v2_4.exists()) {
            if (v2_4.createNewFile()) {
                java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(v2_4);
                int v2_1 = new byte[p7.a()];
                int v4 = 0;
                while (v4 < p7.a()) {
                    v2_1[v4] = ((byte) p7.c(v4));
                    v4++;
                }
                v3_1.write(v2_1);
                Object[] v7_2 = new Object[2];
                v7_2[0] = 0;
                v7_2[1] = p6;
                p8.a(v7_2);
                return;
            } else {
                Object[] v7_3 = new Object[1];
                int v2_6 = new StringBuilder();
                v2_6.append("create file error: failed to create file at path `");
                v2_6.append(p6);
                v2_6.append("` for its parent path may not exists");
                v7_3[0] = v2_6.toString();
                p8.a(v7_3);
                return;
            }
        } else {
            Object[] v7_4 = new Object[1];
            int v2_8 = new StringBuilder();
            v2_8.append("create file error: failed to create file at path `");
            v2_8.append(p6);
            v2_8.append("`, file already exists.");
            v7_4[0] = v2_8.toString();
            p8.a(v7_4);
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.b() calling method java.io.File.<init>()


    static void b(String p4, com.facebook.react.bridge.Callback p5)
    {
        try {
            com.RNFetchBlob.RNFetchBlobFS.a(new java.io.File(p4));
            Boolean v4_4 = new Object[2];
            v4_4[0] = 0;
            v4_4[1] = Boolean.valueOf(1);
            p5.a(v4_4);
        } catch (Boolean v4_1) {
            if (v4_1 == null) {
            } else {
                Object[] v0_1 = new Object[2];
                v0_1[0] = v4_1.getLocalizedMessage();
                v0_1[1] = Boolean.valueOf(0);
                p5.a(v0_1);
            }
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.b() calling method java.io.File.<init>()


    static java.io.InputStream b(String p3)
    {
        if (!p3.startsWith("bundle-assets://")) {
            return new java.io.FileInputStream(new java.io.File(p3));
        } else {
            return com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(p3.replace("bundle-assets://", ""));
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.File.<init>()


    public static void a(String p2, String p3, String p4, boolean p5, com.facebook.react.bridge.Promise p6)
    {
        try {
            int v0_1 = new java.io.File(p2);
            Integer v2_1 = v0_1.getParentFile();
        } catch (Integer v2_3) {
            p6.a("RNFetchBlob writeFileError", v2_3.getLocalizedMessage());
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        int v0_2;
        Integer v2_6 = new java.io.FileOutputStream(v0_1, p5);
        if (!p3.equalsIgnoreCase("uri")) {
            java.io.FileInputStream v3_1 = ark>com.RNFetchBlob.RNFetchBlobFSark>.a(p4, p3);
            v2_6.write(v3_1);
            v0_2 = v3_1.length;
        } else {
            java.io.FileInputStream v3_2 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p4);
            byte[] v4_2 = new java.io.File(v3_2);
            if (v4_2.exists()) {
                java.io.FileInputStream v3_4 = new java.io.FileInputStream(v4_2);
                byte[] v4_4 = new byte[10240];
                v0_2 = 0;
                while(true) {
                    int v1_0 = v3_4.read(v4_4);
                    if (v1_0 <= 0) {
                        break;
                    }
                    v2_6.write(v4_4, 0, v1_0);
                    v0_2 += v1_0;
                }
                v3_4.close();
            } else {
                int v5_6 = new StringBuilder();
                v5_6.append("source file : ");
                v5_6.append(v3_2);
                v5_6.append("not exists");
                p6.a("RNfetchBlob writeFileError", v5_6.toString());
                v2_6.close();
                return;
            }
        }
        v2_6.close();
        p6.a(Integer.valueOf(v0_2));
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.File.<init>()


    static void a(String p6, String p7, String p8, com.facebook.react.bridge.Callback p9)
    {
        try {
            String v2_2 = new java.io.File(p6);
            int v3_6 = v2_2.createNewFile();
        } catch (String v6_4) {
            Object[] v7_8 = new Object[1];
            v7_8[0] = v6_4.getLocalizedMessage();
            p9.a(v7_8);
            return;
        }
        if (!p8.equals("uri")) {
            if (v3_6 != 0) {
                new java.io.FileOutputStream(v2_2).write(ark>com.RNFetchBlob.RNFetchBlobFSark>.a(p7, p8));
            } else {
                Object[] v7_2 = new Object[1];
                int v8_2 = new StringBuilder();
                v8_2.append("create file error: failed to create file at path `");
                v8_2.append(p6);
                v8_2.append("` for its parent path may not exists, or the file already exists. If you intended to overwrite the existing file use fs.writeFile instead.");
                v7_2[0] = v8_2.toString();
                p9.a(v7_2);
                return;
            }
        } else {
            int v3_4 = new java.io.File(p7.replace("RNFetchBlob-file://", ""));
            if (v3_4.exists()) {
                Object[] v7_4 = new java.io.FileInputStream(v3_4);
                int v8_7 = new java.io.FileOutputStream(v2_2);
                String v2_4 = new byte[10240];
                int v3_5 = v7_4.read(v2_4);
                while (v3_5 > 0) {
                    v8_7.write(v2_4, 0, v3_5);
                    v3_5 = v7_4.read(v2_4);
                }
                v7_4.close();
                v8_7.close();
            } else {
                String v6_3 = new Object[2];
                v6_3[0] = "RNfetchBlob writeFileError";
                int v8_11 = new StringBuilder();
                v8_11.append("source file : ");
                v8_11.append(p7);
                v8_11.append("not exists");
                v6_3[1] = v8_11.toString();
                p9.a(v6_3);
                return;
            }
        }
        Object[] v7_5 = new Object[2];
        v7_5[0] = 0;
        v7_5[1] = p6;
        p9.a(v7_5);
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.File.<init>()


    public static void a(String p5, String p6, com.facebook.react.bridge.Promise p7)
    {
        byte v0_0 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p5);
        if (v0_0 != 0) {
            p5 = v0_0;
        }
        byte[] v2_1;
        int v1 = 0;
        if ((v0_0 == 0) || (!v0_0.startsWith("bundle-assets://"))) {
            if (v0_0 != 0) {
                byte v0_2 = new java.io.File(p5);
                v2_1 = new byte[((int) v0_2.length())];
                String v5_5 = new java.io.FileInputStream(v0_2);
                v5_5.read(v2_1);
                v5_5.close();
                String v5_12;
                String v5_10 = p6.toLowerCase();
                byte v0_11 = v5_10.hashCode();
                if (v0_11 == -1396204209) {
                    if (!v5_10.equals("base64")) {
                        v5_12 = -1;
                    } else {
                        v5_12 = 0;
                    }
                } else {
                    if (v0_11 == 3600241) {
                        if (!v5_10.equals("utf8")) {
                        } else {
                            v5_12 = 2;
                        }
                    } else {
                        if (v0_11 == 93106001) {
                            if (!v5_10.equals("ascii")) {
                            } else {
                                v5_12 = 1;
                            }
                        } else {
                        }
                    }
                }
                switch (v5_12) {
                    case 0:
                        p7.a(android.util.Base64.encodeToString(v2_1, 2));
                        break;
                    case 1:
                        String v5_17 = com.facebook.react.bridge.Arguments.a();
                        int v6_1 = v2_1.length;
                        while (v1 < v6_1) {
                            v5_17.pushInt(v2_1[v1]);
                            v1++;
                        }
                        p7.a(v5_17);
                        break;
                    case 2:
                        p7.a(new String(v2_1));
                        break;
                    default:
                        p7.a(new String(v2_1));
                }
            } else {
                String v5_7 = com.RNFetchBlob.RNFetchBlob.RCTContext.getContentResolver().openInputStream(android.net.Uri.parse(p5));
                v2_1 = new byte[v5_7.available()];
                v5_7.read(v2_1);
                v5_7.close();
            }
        } else {
            String v5_8 = p5.replace("bundle-assets://", "");
            byte v0_10 = ((int) com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().openFd(v5_8).getLength());
            v2_1 = new byte[v0_10];
            String v5_9 = com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(v5_8);
            v5_9.read(v2_1, 0, v0_10);
            v5_9.close();
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.File.<init>()


    public static void a(String p18, String p19, int p20, int p21, String p22, com.facebook.react.bridge.Promise p23)
    {
        try {
            java.io.FileOutputStream v3_2 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p18);
            java.io.FileInputStream v4_5 = new java.io.File(v3_2);
        } catch (Exception v0) {
            String v1_2 = v0;
            v1_2.printStackTrace();
            p23.a(v1_2.getLocalizedMessage());
            return;
        }
        if (v4_5.exists()) {
            long v8 = (Math.min(v4_5.length(), ((long) p21)) - ((long) p20));
            java.io.FileInputStream v4_3 = new java.io.FileInputStream(new java.io.File(v3_2));
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(new java.io.File(p19));
            v4_3.skip(((long) p20));
            int v5_4 = 10240;
            byte[] v6_4 = new byte[10240];
            long v12 = 0;
            while (v12 < v8) {
                long v14_1 = ((long) v4_3.read(v6_4, 0, v5_4));
                if (v14_1 > 0) {
                    v3_1.write(v6_4, 0, ((int) Math.min((v8 - v12), v14_1)));
                    v12 += v14_1;
                    v5_4 = 10240;
                } else {
                    break;
                }
            }
            v4_3.close();
            v3_1.flush();
            v3_1.close();
            p23.a(p19);
            return;
        } else {
            java.io.FileInputStream v4_7 = new StringBuilder();
            v4_7.append("source file : ");
            v4_7.append(v3_2);
            v4_7.append(" not exists");
            p23.a("RNFetchBlob.slice error", v4_7.toString());
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.File.<init>()


    public static void a(String p2, com.facebook.react.bridge.ReadableArray p3, boolean p4, com.facebook.react.bridge.Promise p5)
    {
        try {
            int v0_1 = new java.io.File(p2);
            Integer v2_4 = v0_1.getParentFile();
        } catch (Integer v2_3) {
            p5.a("RNFetchBlob writeFileError", v2_3.getLocalizedMessage());
            return;
        }
        if (!v2_4.exists()) {
            v2_4.mkdirs();
        }
        Integer v2_7 = new java.io.FileOutputStream(v0_1, p4);
        byte[] v4_2 = new byte[p3.a()];
        int v0_2 = 0;
        while (v0_2 < p3.a()) {
            v4_2[v0_2] = ((byte) p3.c(v0_2));
            v0_2++;
        }
        v2_7.write(v4_2);
        v2_7.close();
        p5.a(Integer.valueOf(p3.a()));
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.File.<init>()


    static com.facebook.react.bridge.WritableMap a(String p5)
    {
        try {
            String v5_4 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p5);
            com.facebook.react.bridge.WritableMap v1 = com.facebook.react.bridge.Arguments.b();
        } catch (Exception) {
            return 0;
        }
        if (!ark>com.RNFetchBlob.RNFetchBlobFSark>.d(v5_4)) {
            String v2_11 = new java.io.File(v5_4);
            if (v2_11.exists()) {
                String v3_3;
                v1.putString("filename", v2_11.getName());
                v1.putString("path", v2_11.getPath());
                if (!v2_11.isDirectory()) {
                    v3_3 = "file";
                } else {
                    v3_3 = "directory";
                }
                v1.putString("type", v3_3);
                v1.putString("size", String.valueOf(v2_11.length()));
                v1.putString("lastModified", String.valueOf(v2_11.lastModified()));
            } else {
                return 0;
            }
        } else {
            String v2_3 = v5_4.replace("bundle-assets://", "");
            String v3_9 = com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().openFd(v2_3);
            v1.putString("filename", v2_3);
            v1.putString("path", v5_4);
            v1.putString("type", "asset");
            v1.putString("size", String.valueOf(v3_9.getLength()));
            v1.putInt("lastModified", 0);
        }
        return v1;
    }

Method com.RNFetchBlob.RNFetchBlobFS$3.a() calling method java.io.File.<init>()


    protected varargs Integer a(com.facebook.react.bridge.ReadableArray[] p6)
    {
        int v1_0 = 0;
        try {
            while (v1_0 < p6[0].a()) {
                Object[] v3_1 = new java.io.File(p6[0].d(v1_0));
                if (v3_1.exists()) {
                    v3_1.delete();
                }
                v1_0++;
            }
        } catch (int v1_1) {
            Object[] v3_2 = this.a;
            Object[] v2_1 = new Object[1];
            v2_1[0] = v1_1.getLocalizedMessage();
            v3_2.a(v2_1);
            return Integer.valueOf(p6[0].a());
        }
        int v1_3 = this.a;
        Object[] v3_6 = new Object[2];
        v3_6[0] = 0;
        v3_6[1] = Boolean.valueOf(1);
        v1_3.a(v3_6);
        return Integer.valueOf(p6[0].a());
    }

Method com.RNFetchBlob.RNFetchBlobFS$1.a() calling method java.io.File.<init>()


    protected varargs Integer a(String[] p10)
    {
        com.facebook.react.bridge.Callback v0_0 = com.facebook.react.bridge.Arguments.a();
        if (p10[0] != null) {
            Object[] v2_6 = new java.io.File(p10[0]);
            if (v2_6.exists()) {
                if (!v2_6.isDirectory()) {
                    v0_0.a(com.RNFetchBlob.RNFetchBlobFS.a(v2_6.getAbsolutePath()));
                } else {
                    Integer v10_4 = v2_6.list();
                    int v4_1 = v10_4.length;
                    int v5 = 0;
                    while (v5 < v4_1) {
                        com.facebook.react.bridge.WritableMap v6_0 = v10_4[v5];
                        StringBuilder v7_1 = new StringBuilder();
                        v7_1.append(v2_6.getPath());
                        v7_1.append("/");
                        v7_1.append(v6_0);
                        v0_0.a(com.RNFetchBlob.RNFetchBlobFS.a(v7_1.toString()));
                        v5++;
                    }
                }
                Integer v10_5 = this.a;
                Object[] v2_1 = new Object[2];
                v2_1[0] = 0;
                v2_1[1] = v0_0;
                v10_5.a(v2_1);
                return Integer.valueOf(0);
            } else {
                com.facebook.react.bridge.Callback v0_1 = this.a;
                Object[] v2_3 = new Object[1];
                StringBuilder v3_2 = new StringBuilder();
                v3_2.append("lstat error: failed to list path `");
                v3_2.append(p10[0]);
                v3_2.append("` for it is not exist or it is not a folder");
                v2_3[0] = v3_2.toString();
                v0_1.a(v2_3);
                return Integer.valueOf(0);
            }
        } else {
            Integer v10_11 = this.a;
            com.facebook.react.bridge.Callback v0_2 = new Object[1];
            v0_2[0] = "lstat error: the path specified for lstat is either `null` or `undefined`.";
            v10_11.a(v0_2);
            return Integer.valueOf(0);
        }
    }

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


    public static java.io.File a(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.a() calling method java.io.File.<init>()


    private static varargs java.io.File a(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()
    {
        java.util.HashMap v0_1 = new String[2];
        v0_1[0] = "_display_name";
        v0_1[1] = "_size";
        android.support.v4.content.FileProvider.a = v0_1;
        android.support.v4.content.FileProvider.b = new java.io.File("/");
        android.support.v4.content.FileProvider.c = new java.util.HashMap();
        return;
    }

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


    MultiDexExtractor(java.io.File p4, java.io.File p5)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("MultiDexExtractor(");
        v1_2.append(p4.getPath());
        v1_2.append(", ");
        v1_2.append(p5.getPath());
        v1_2.append(")");
        android.util.Log.i("MultiDex", v1_2.toString());
        this.a = p4;
        this.c = p5;
        this.b = android.support.multidex.MultiDexExtractor.b(p4);
        String v4_2 = new java.io.File(p5, "MultiDex.lock");
        this.d = new java.io.RandomAccessFile(v4_2, "rw");
        try {
            this.e = this.d.getChannel();
        } catch (String v4_7) {
            android.support.multidex.MultiDexExtractor.a(this.d);
            throw v4_7;
        }
        StringBuilder v0_5 = new StringBuilder();
        v0_5.append("Blocking on lock ");
        v0_5.append(v4_2.getPath());
        android.util.Log.i("MultiDex", v0_5.toString());
        this.f = this.e.lock();
        StringBuilder v0_8 = new StringBuilder();
        v0_8.append(v4_2.getPath());
        v0_8.append(" locked");
        android.util.Log.i("MultiDex", v0_8.toString());
        return;
    }

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.a = -1;
        return;
    }

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


    private static void c(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 android.support.multidex.MultiDex.a() calling method java.io.File.<init>()


    public static void a(android.content.Context p6)
    {
        android.util.Log.i("MultiDex", "Installing application");
        if (!ark>android.support.multidex.MultiDexark>.b) {
            if (android.os.Build$VERSION.SDK_INT >= 4) {
                try {
                    String v0_14 = ark>android.support.multidex.MultiDexark>.b(p6);
                } catch (String v6_3) {
                    android.util.Log.e("MultiDex", "MultiDex installation failure", v6_3);
                    java.io.File v1_5 = new StringBuilder();
                    v1_5.append("MultiDex installation failed (");
                    v1_5.append(v6_3.getMessage());
                    v1_5.append(").");
                    throw new RuntimeException(v1_5.toString());
                }
                if (v0_14 != null) {
                    ark>android.support.multidex.MultiDexark>.a(p6, new java.io.File(v0_14.sourceDir), new java.io.File(v0_14.dataDir), "secondary-dexes", "", 1);
                    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 {
                String v0_11 = new StringBuilder();
                v0_11.append("MultiDex installation failed. SDK ");
                v0_11.append(android.os.Build$VERSION.SDK_INT);
                v0_11.append(" is unsupported. Min SDK version is ");
                v0_11.append(4);
                v0_11.append(".");
                throw new RuntimeException(v0_11.toString());
            }
        } else {
            android.util.Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
            return;
        }
    }

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


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

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


    private static String a(java.io.File p4)
    {
        java.io.File v0 = p4.getParentFile();
        String v4_5 = p4.getName();
        java.io.File v1_3 = new StringBuilder();
        v1_3.append(v4_5.substring(0, (v4_5.length() - ark>android.support.multidex.MultiDex$V14ark>.a)));
        v1_3.append(".dex");
        return new java.io.File(v0, v1_3.toString()).getPath();
    }

Method android.support.media.ExifInterface.a() calling method java.io.File.<init>()


    public void a()
    {
        if ((this.V) && (this.I == 4)) {
            if (this.G != null) {
                this.O = this.b();
                Throwable v1_1 = new StringBuilder();
                v1_1.append(this.G);
                v1_1.append(".tmp");
                String v0_2 = new java.io.File(v1_1.toString());
                if (new java.io.File(this.G).renameTo(v0_2)) {
                    Throwable v1_6 = 0;
                    try {
                        int v2_4 = new java.io.FileInputStream(v0_2);
                        try {
                            Throwable v3_2 = new java.io.FileOutputStream(this.G);
                            try {
                                this.a(v2_4, v3_2);
                                ark>android.support.media.ExifInterfaceark>.a(v2_4);
                                ark>android.support.media.ExifInterfaceark>.a(v3_2);
                                v0_2.delete();
                                this.O = 0;
                                return;
                            } catch (Throwable v1_8) {
                                Throwable v3_0 = v1_8;
                                v1_6 = v3_2;
                                ark>android.support.media.ExifInterfaceark>.a(v2_4);
                                ark>android.support.media.ExifInterfaceark>.a(v1_6);
                                v0_2.delete();
                                throw v3_0;
                            }
                        } catch (Throwable v3_0) {
                        }
                        this.a(v2_4, v3_2);
                        ark>android.support.media.ExifInterfaceark>.a(v2_4);
                        ark>android.support.media.ExifInterfaceark>.a(v3_2);
                        v0_2.delete();
                        this.O = 0;
                        return;
                    } catch (int v2_5) {
                        v3_0 = v2_5;
                        v2_4 = 0;
                    }
                } else {
                    int v2_7 = new StringBuilder();
                    v2_7.append("Could not rename to ");
                    v2_7.append(v0_2.getAbsolutePath());
                    throw new java.io.IOException(v2_7.toString());
                }
            } else {
                throw new java.io.IOException("ExifInterface does not support saving attributes for the current input.");
            }
        } else {
            throw new java.io.IOException("ExifInterface only supports saving attributes on JPEG formats.");
        }
    }

Method com.rnfs.RNFSManager.write() calling method java.io.RandomAccessFile.<init>()


    public void write(String p4, String p5, int p6, com.facebook.react.bridge.Promise p7)
    {
        try {
            int v5_3 = android.util.Base64.decode(p5, 0);
        } catch (int v5_1) {
            v5_1.printStackTrace();
            this.reject(p7, p4, v5_1);
            return;
        }
        if (p6 >= null) {
            java.io.RandomAccessFile v0_3 = new java.io.RandomAccessFile(p4, "rw");
            v0_3.seek(((long) p6));
            v0_3.write(v5_3);
            v0_3.close();
        } else {
            java.io.FileOutputStream v6_2 = new java.io.FileOutputStream(p4, 1);
            v6_2.write(v5_3);
            v6_2.close();
        }
        p7.a(0);
        return;
    }

Method com.newrelic.agent.android.sample.Sampler.sampleCpu() calling method java.io.RandomAccessFile.<init>()


    public com.newrelic.agent.android.tracing.Sample sampleCpu()
    {
        if (!com.newrelic.agent.android.sample.Sampler.cpuSamplingDisabled) {
            try {
                if (this.procStatFile == null) {
                    this.procStatFile = new java.io.RandomAccessFile("/proc/stat", "r");
                    Long v2_12 = new StringBuilder();
                    v2_12.append("/proc/");
                    v2_12.append(com.newrelic.agent.android.sample.Sampler.PID[0]);
                    v2_12.append("/stat");
                    this.appStatFile = new java.io.RandomAccessFile(v2_12.toString(), "r");
                } else {
                    if (this.appStatFile != null) {
                        this.procStatFile.seek(0);
                        this.appStatFile.seek(0);
                    } else {
                    }
                }
            } catch (Long v0_6) {
                com.newrelic.agent.android.sample.Sampler.cpuSamplingDisabled = 1;
                long v3_1 = new StringBuilder();
                v3_1.append("Exception hit while CPU sampling: ");
                v3_1.append(v0_6.getMessage());
                com.newrelic.agent.android.sample.Sampler.log.debug(v3_1.toString());
                com.newrelic.agent.android.harvest.AgentHealth.noticeException(v0_6);
                return 0;
            }
            Long v0_12 = this.procStatFile.readLine();
            Long v2_15 = this.appStatFile.readLine();
            Long v0_13 = v0_12.split(" ");
            Long v2_16 = v2_15.split(" ");
            long v5_5 = ((((((Long.parseLong(v0_13[2]) + Long.parseLong(v0_13[3])) + Long.parseLong(v0_13[4])) + Long.parseLong(v0_13[5])) + Long.parseLong(v0_13[6])) + Long.parseLong(v0_13[7])) + Long.parseLong(v0_13[8]));
            long v9 = (Long.parseLong(v2_16[13]) + Long.parseLong(v2_16[14]));
            if ((this.lastCpuTime != null) || (this.lastAppCpuTime != null)) {
                Long v0_2 = new com.newrelic.agent.android.tracing.Sample(com.newrelic.agent.android.tracing.Sample$SampleType.CPU);
                v0_2.setSampleValue(((((double) (v9 - this.lastAppCpuTime.longValue())) / ((double) (v5_5 - this.lastCpuTime.longValue()))) * 100.0));
                this.lastCpuTime = Long.valueOf(v5_5);
                this.lastAppCpuTime = Long.valueOf(v9);
                return v0_2;
            } else {
                this.lastCpuTime = Long.valueOf(v5_5);
                this.lastAppCpuTime = Long.valueOf(v9);
                return 0;
            }
        } else {
            return 0;
        }
    }

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");
        okhttp3.internal.cache2.Relay v10_5 = new okhttp3.internal.cache2.FileOperator(v1_1.getChannel());
        okhttp3.internal.cache2.Relay v0_7 = new okio.Buffer();
        v10_5.read(0, v0_7, 32);
        if (v0_7.d(((long) okhttp3.internal.cache2.Relay.PREFIX_CLEAN.h())).equals(okhttp3.internal.cache2.Relay.PREFIX_CLEAN)) {
            long v8 = v0_7.l();
            long v6_1 = v0_7.l();
            okhttp3.internal.cache2.Relay v0_2 = new okio.Buffer();
            v10_5.read((v8 + 32), v0_2, v6_1);
            okhttp3.internal.cache2.Relay v10_2 = new okhttp3.internal.cache2.Relay;
            v10_2(v1_1, 0, v8, v0_2.q(), 0);
            return v10_2;
        } else {
            throw new java.io.IOException("unreadable cache file");
        }
    }

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


    public static okhttp3.internal.cache2.Relay edit(java.io.File 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.b() calling method java.io.RandomAccessFile.<init>()


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

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();
        } catch (Throwable v4_2) {
            if (v0_1 != null) {
                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;
        }
        if (v0_1 != null) {
            v0_1.close();
        }
        return;
    }

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_1;
        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_2 = 0;
        try {
            if (p11 != 1) {
                v11_1 = 0;
            } else {
                try {
                    v11_1 = com.facebook.soloader.UnpackingSoSource$DsoManifest.read(v1_4);
                } catch (Throwable v11_2) {
                    android.util.Log.i("fb-UnpackingSoSource", "error reading existing DSO manifest", v11_2);
                }
            }
        } catch (Throwable v11_7) {
            if (v1_4 != null) {
                if (v2_2 == null) {
                    v1_4.close();
                } else {
                    try {
                        v1_4.close();
                    } catch (Throwable v12_6) {
                        v2_2.addSuppressed(v12_6);
                    }
                }
            }
            throw v11_7;
        } catch (Throwable v11_6) {
            v2_2 = v11_6;
            throw v2_2;
        }
        if (v11_1 == null) {
            com.facebook.soloader.UnpackingSoSource$InputDso v4_1 = new com.facebook.soloader.UnpackingSoSource$Dso[0];
            v11_1 = new com.facebook.soloader.UnpackingSoSource$DsoManifest(v4_1);
        }
        this.deleteUnmentionedFiles(p12.dsos);
        Throwable v12_3 = 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_1.dsos.length)) {
                if ((v11_1.dsos[v6].name.equals(v4_3.dso.name)) && (v11_1.dsos[v6].hash.equals(v4_3.dso.hash))) {
                    v5 = 0;
                }
                v6++;
            }
            if (v5 != 0) {
                this.extractDso(v4_3, v12_3);
            }
            if (v4_3 != null) {
                v4_3.close();
            }
            if (v4_3 != null) {
                if (Throwable v12_4 == null) {
                    v4_3.close();
                } else {
                    try {
                        v4_3.close();
                    } catch (Throwable v13_1) {
                        v12_4.addSuppressed(v13_1);
                    }
                }
            }
            throw Throwable v11_4;
        }
        if (v1_4 != null) {
            v1_4.close();
        }
        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 (v0_6 != null) {
                if (v1_0 == null) {
                    v0_6.close();
                } else {
                    try {
                        v0_6.close();
                    } catch (Thread v13_6) {
                        v1_0.addSuppressed(v13_6);
                    }
                }
            }
            throw v12_8;
        } catch (java.io.EOFException) {
            v3_0 = 0;
            if (v0_6 != null) {
                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 (v0_5 != null) {
                    if (v1_0 == null) {
                        v0_5.close();
                    } else {
                        try {
                            v0_5.close();
                        } catch (Thread 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) {
                v8_3 = 0;
            } else {
                android.util.Log.v("fb-UnpackingSoSource", "so store dirty: regenerating");
                com.facebook.soloader.UnpackingSoSource.writeState(v5_1, 0);
                Throwable v6_11 = this.makeUnpacker();
                try {
                    v8_3 = v6_11.getDsoManifest();
                    com.facebook.soloader.UnpackingSoSource$1 v9_2 = v6_11.openDsoIterator();
                    try {
                        this.regenerate(v3_0, v8_3, v9_2);
                    } catch (Throwable v12_10) {
                        Thread 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 (Thread v13_7) {
                            v13_8 = v12_9;
                            v12_10 = v13_7;
                        }
                    }
                    if (v9_2 != null) {
                        v9_2.close();
                    }
                    if (v6_11 != null) {
                        v6_11.close();
                    }
                } catch (Throwable v12_1) {
                    Thread v13_1 = 0;
                    if (v6_11 != null) {
                        if (v13_1 == null) {
                            v6_11.close();
                        } else {
                            try {
                                v6_11.close();
                            } catch (Throwable v14_1) {
                                v13_1.addSuppressed(v14_1);
                            }
                        }
                    }
                    throw v12_1;
                } catch (Throwable v12_11) {
                    try {
                        throw v12_11;
                    } catch (Thread v13_9) {
                        v13_1 = v12_11;
                        v12_1 = v13_9;
                    }
                }
            }
            if (v0_5 != null) {
                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 {
                    Thread 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());
        }
    }

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


    private void extractDso(com.facebook.soloader.UnpackingSoSource$InputDso p8, byte[] p9)
    {
        java.io.RandomAccessFile v1_5 = new StringBuilder();
        v1_5.append("extracting DSO ");
        v1_5.append(p8.dso.name);
        android.util.Log.i("fb-UnpackingSoSource", v1_5.toString());
        java.io.File v0_2 = new java.io.File(this.soDirectory, p8.dso.name);
        try {
            java.io.RandomAccessFile v1_3 = new java.io.RandomAccessFile(v0_2, "rw");
            try {
                String v2_7 = p8.content.available();
            } catch (java.io.IOException v8_7) {
                v1_3.close();
                throw v8_7;
            }
            if (v2_7 > 1) {
                com.facebook.soloader.SysUtil.fallocateIfSupported(v1_3.getFD(), ((long) v2_7));
            }
            com.facebook.soloader.SysUtil.copyBytes(v1_3, p8.content, 2147483647, p9);
            v1_3.setLength(v1_3.getFilePointer());
            if (v0_2.setExecutable(1, 0)) {
                v1_3.close();
                return;
            } else {
                String v9_2 = new StringBuilder();
                v9_2.append("cannot make file executable: ");
                v9_2.append(v0_2);
                throw new java.io.IOException(v9_2.toString());
            }
        } catch (java.io.RandomAccessFile v1_4) {
            int v3_1 = new StringBuilder();
            v3_1.append("error overwriting ");
            v3_1.append(v0_2);
            v3_1.append(" trying to delete and start over");
            android.util.Log.w("fb-UnpackingSoSource", v3_1.toString(), v1_4);
            v0_2.delete();
            v1_3 = new java.io.RandomAccessFile(v0_2, "rw");
        }
    }

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


    private final boolean K()
    {
        this.h().c();
        try {
            this.E = new java.io.RandomAccessFile(new java.io.File(this.b.getFilesDir(), "google_app_measurement.db"), "rw").getChannel();
            this.D = this.E.tryLock();
        } catch (int v0_12) {
            String v1_4 = this.f().y();
            String v2_0 = "Failed to acquire storage lock";
            v1_4.a(v2_0, v0_12);
            return 0;
        } catch (int v0_12) {
            v1_4 = this.f().y();
            v2_0 = "Failed to access storage lock file";
        }
        if (this.D == null) {
            this.f().y().a("Storage concurrent data access panic");
            return 0;
        } else {
            this.f().E().a("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");
            Throwable 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 (v0_12 != null) {
                    if (v1_1 == null) {
                        v0_12.close();
                    } else {
                        try {
                            v0_12.close();
                        } catch (Throwable v0_1) {
                            v1_1.addSuppressed(v0_1);
                        }
                    }
                }
                throw v2_1;
            } catch (String v1_1) {
                throw v1_1;
            }
            if (v0_12 != null) {
                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 (Throwable v0_7) {
                if (v2_5 != null) {
                    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 (Throwable v0_6) {
                v1_1 = v0_6;
                throw v1_1;
            }
            if (v2_5 != null) {
                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 (Throwable 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 (Throwable 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();
                } catch (Throwable v1_2) {
                    if (v0_1 != null) {
                        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;
                }
                if (v0_1 != null) {
                    v0_1.close();
                }
            }
        } else {
            Throwable v0_3 = p3.listFiles();
            if (v0_3 != null) {
                Throwable v3_2 = 0;
                while (v3_2 < v0_3.length) {
                    com.facebook.soloader.SysUtil.fsyncRecursive(v0_3[v3_2]);
                    v3_2++;
                }
            } else {
                Throwable v1_6 = new StringBuilder();
                v1_6.append("cannot list directory ");
                v1_6.append(p3);
                throw new java.io.IOException(v1_6.toString());
            }
        }
        return;
    }

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

Couldn't retrieve source code

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


    static long a(java.io.File p3)
    {
        java.io.RandomAccessFile v0_1 = new java.io.RandomAccessFile(p3, "r");
        try {
            long v1_1 = ark>android.support.multidex.ZipUtilark>.a(v0_1, ark>android.support.multidex.ZipUtilark>.a(v0_1));
            v0_1.close();
            return v1_1;
        } catch (Throwable v3_2) {
            v0_1.close();
            throw v3_2;
        }
    }

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


    MultiDexExtractor(java.io.File p4, java.io.File p5)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("MultiDexExtractor(");
        v1_2.append(p4.getPath());
        v1_2.append(", ");
        v1_2.append(p5.getPath());
        v1_2.append(")");
        android.util.Log.i("MultiDex", v1_2.toString());
        this.a = p4;
        this.c = p5;
        this.b = android.support.multidex.MultiDexExtractor.b(p4);
        String v4_2 = new java.io.File(p5, "MultiDex.lock");
        this.d = new java.io.RandomAccessFile(v4_2, "rw");
        try {
            this.e = this.d.getChannel();
        } catch (String v4_7) {
            android.support.multidex.MultiDexExtractor.a(this.d);
            throw v4_7;
        }
        StringBuilder v0_5 = new StringBuilder();
        v0_5.append("Blocking on lock ");
        v0_5.append(v4_2.getPath());
        android.util.Log.i("MultiDex", v0_5.toString());
        this.f = this.e.lock();
        StringBuilder v0_8 = new StringBuilder();
        v0_8.append(v4_2.getPath());
        v0_8.append(" locked");
        android.util.Log.i("MultiDex", v0_8.toString());
        return;
    }

Method com.google.android.gms.internal.zzaqu.a() calling method android.content.Context.openFileOutput()


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

Method com.google.android.gms.internal.zzapq.g() calling method android.content.Context.openFileOutput()


    private final boolean g(String p4)
    {
        try {
            java.io.IOException v4_3 = com.google.android.gms.internal.zzapq.a(p4);
            this.b("Storing hashed adid.");
            String v1_3 = this.j().openFileOutput("gaClientIdData", 0);
            v1_3.write(v4_3.getBytes());
            v1_3.close();
            this.d = v4_3;
            return 1;
        } catch (java.io.IOException v4_2) {
            this.e("Error creating hash file", v4_2);
            return 0;
        }
    }

Method com.flurry.sdk.z.a() calling method android.content.Context.openFileOutput()


    public static declared_synchronized void a(android.content.Context p4, org.json.JSONObject p5)
    {
        if (p5 != null) {
            String v1 = 0;
            try {
                Throwable v4_3 = p4.openFileOutput(ark>com.flurry.sdk.zark>.c(p4), 0);
                try {
                    v4_3.write(p5.toString().getBytes());
                } catch (java.io.IOException v5_4) {
                    v1 = v4_3;
                    if (v1 != null) {
                        v1.close();
                    }
                    throw v5_4;
                } catch (java.io.IOException v5_3) {
                    v1 = v4_3;
                    com.flurry.sdk.kx.a(ark>com.flurry.sdk.zark>.b, "Error in writing data to file", v5_3);
                    if (v1 == null) {
                        return;
                    } else {
                        try {
                            v1.close();
                            return;
                        } catch (java.io.IOException) {
                            return;
                        }
                    }
                }
                if (v4_3 == null) {
                    return;
                } else {
                    try {
                        v4_3.close();
                        return;
                    } catch (java.io.IOException) {
                        return;
                    }
                }
            } catch (java.io.IOException v5_4) {
            } catch (java.io.IOException v5_3) {
            } catch (Throwable v4_2) {
                throw v4_2;
            }
        } else {
            return;
        }
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.saveFile() calling method android.content.Context.openFileOutput()


    public boolean saveFile(String p4, byte[] p5)
    {
        if (p5 != null) {
            try {
                Exception v4_2 = this.context.openFileOutput(p4, 0);
                v4_2.write(p5);
                v4_2.flush();
                v4_2.close();
                return 1;
            } catch (Exception v4_1) {
                com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v4_1, 1);
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.saveDataToFileStream() calling method android.content.Context.openFileOutput()


    public void saveDataToFileStream(String p3, com.coupa.android.coupamobile.core.utils.FileHelper$SaveDataCallback p4)
    {
        try {
            Exception v3_3 = this.context.openFileOutput(new java.io.File(p3).getName(), 0);
        } catch (Exception v3_1) {
            com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v3_1, 1);
            return;
        }
        if (p4 != null) {
            p4.onSaveDataStreamReady(v3_3);
        }
        v3_3.flush();
        v3_3.close();
        return;
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.copyFileFromStream() calling method android.content.Context.openFileOutput()


    public void copyFileFromStream(java.io.InputStream p4, String p5)
    {
        try {
            String v5_2 = this.context.openFileOutput(p5, 0);
            int v0_3 = new byte[4096];
            int v2 = p4.read(v0_3);
        } catch (Exception v4_1) {
            com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v4_1, 1);
            return;
        }
        while (v2 > 0) {
            v5_2.write(v0_3, 0, v2);
            v2 = p4.read(v0_3);
        }
        v5_2.close();
        return;
    }

Method com.coupa.android.coupamobile.core.utils.FileHelper.copyFile() calling method android.content.Context.openFileOutput()


    public boolean copyFile(String p5, String p6)
    {
        try {
            if (!p5.equals(p6)) {
                byte[] v2_5 = new java.io.File(p6);
                java.io.FileInputStream v6_4 = new java.io.FileInputStream(p5);
                java.io.FileOutputStream v5_1 = this.context.openFileOutput(v2_5.getName(), 0);
                byte[] v2_2 = new byte[1024];
                while(true) {
                    int v3 = v6_4.read(v2_2);
                    if (v3 <= 0) {
                        break;
                    }
                    v5_1.write(v2_2, 0, v3);
                }
                v6_4.close();
                v5_1.close();
                return 1;
            } else {
                throw new java.security.InvalidAlgorithmParameterException("targetLocation=sourceLocation");
            }
        } catch (java.io.FileOutputStream v5_4) {
            com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v5_4, 1);
            return 0;
        }
    }

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

Couldn't retrieve source code

Method com.airbnb.android.react.maps.AirMapLocalTile$AIRMapLocalTileProvider.b() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

Method com.RNFetchBlob.RNFetchBlobBody.a() calling method java.io.FileInputStream.<init>()


    ark>com.RNFetchBlob.RNFetchBlobBodyark> a(com.facebook.react.bridge.ReadableArray p3)
    {
        this.c = p3;
        try {
            this.h = this.c();
            this.a = new java.io.FileInputStream(this.h);
            this.b = this.h.length();
        } catch (String v3_1) {
            v3_1.printStackTrace();
            StringBuilder v0_2 = new StringBuilder();
            v0_2.append("RNFetchBlob failed to create request multipart body :");
            v0_2.append(v3_1.getLocalizedMessage());
            com.RNFetchBlob.RNFetchBlobUtils.b(v0_2.toString());
        }
        return this;
    }

Method com.RNFetchBlob.RNFetchBlobBody.c() calling method java.io.FileInputStream.<init>()


    private java.io.File c()
    {
        byte[] v0_1 = new StringBuilder();
        v0_1.append("RNFetchBlob-");
        v0_1.append(this.d);
        byte[] v0_5 = v0_1.toString();
        java.io.File v1_1 = java.io.File.createTempFile("rnfb-form-tmp", "", com.RNFetchBlob.RNFetchBlob.RCTContext.getCacheDir());
        java.io.FileOutputStream v2_2 = new java.io.FileOutputStream(v1_1);
        StringBuilder v3_1 = this.d();
        int v6 = 0;
        while (v6 < v3_1.size()) {
            String v7_22 = ((com.RNFetchBlob.RNFetchBlobBody$FormField) v3_1.get(v6));
            StringBuilder v8_9 = v7_22.d;
            String v9_8 = v7_22.a;
            if ((v9_8 != null) && (v8_9 != null)) {
                String v10_4 = new StringBuilder();
                v10_4.append("--");
                v10_4.append(v0_5);
                v10_4.append("\r\n");
                String v10_5 = v10_4.toString();
                if (v7_22.b == null) {
                    StringBuilder v8_11 = new StringBuilder();
                    v8_11.append(v10_5);
                    v8_11.append("Content-Disposition: form-data; name=\"");
                    v8_11.append(v9_8);
                    v8_11.append("\"\r\n");
                    StringBuilder v8_12 = v8_11.toString();
                    String v9_11 = new StringBuilder();
                    v9_11.append(v8_12);
                    v9_11.append("Content-Type: ");
                    v9_11.append(v7_22.c);
                    v9_11.append("\r\n\r\n");
                    v2_2.write(v9_11.toString().getBytes());
                    v2_2.write(v7_22.d.getBytes());
                } else {
                    StringBuilder v11_4 = new StringBuilder();
                    v11_4.append(v10_5);
                    v11_4.append("Content-Disposition: form-data; name=\"");
                    v11_4.append(v9_8);
                    v11_4.append("\"; filename=\"");
                    v11_4.append(v7_22.b);
                    v11_4.append("\"\r\n");
                    String v9_15 = v11_4.toString();
                    String v10_1 = new StringBuilder();
                    v10_1.append(v9_15);
                    v10_1.append("Content-Type: ");
                    v10_1.append(v7_22.c);
                    v10_1.append("\r\n\r\n");
                    v2_2.write(v10_1.toString().getBytes());
                    if (!v8_9.startsWith("RNFetchBlob-file://")) {
                        v2_2.write(android.util.Base64.decode(v8_9, 0));
                    } else {
                        String v7_10 = com.RNFetchBlob.RNFetchBlobFS.e(v8_9.substring("RNFetchBlob-file://".length()));
                        if (!com.RNFetchBlob.RNFetchBlobFS.d(v7_10)) {
                            StringBuilder v8_2 = new java.io.File(com.RNFetchBlob.RNFetchBlobFS.e(v7_10));
                            if (!v8_2.exists()) {
                                StringBuilder v8_4 = new StringBuilder();
                                v8_4.append("Failed to create form data from path :");
                                v8_4.append(v7_10);
                                v8_4.append(", file not exists.");
                                com.RNFetchBlob.RNFetchBlobUtils.b(v8_4.toString());
                            } else {
                                this.a(new java.io.FileInputStream(v8_2), v2_2);
                            }
                        } else {
                            try {
                                this.a(com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(v7_10.replace("bundle-assets://", "")), v2_2);
                            } catch (StringBuilder v8_8) {
                                String v9_7 = new StringBuilder();
                                v9_7.append("Failed to create form data asset :");
                                v9_7.append(v7_10);
                                v9_7.append(", ");
                                v9_7.append(v8_8.getLocalizedMessage());
                                com.RNFetchBlob.RNFetchBlobUtils.b(v9_7.toString());
                            }
                        }
                    }
                }
                v2_2.write("\r\n".getBytes());
            }
            v6++;
        }
        StringBuilder v3_3 = new StringBuilder();
        v3_3.append("--");
        v3_3.append(v0_5);
        v3_3.append("--\r\n");
        v2_2.write(v3_3.toString().getBytes());
        v2_2.flush();
        v2_2.close();
        return v1_1;
    }

Method com.RNFetchBlob.RNFetchBlobBody.b() calling method java.io.FileInputStream.<init>()


    private java.io.InputStream b()
    {
        if (!this.e.startsWith("RNFetchBlob-file://")) {
            try {
                return new java.io.ByteArrayInputStream(android.util.Base64.decode(this.e, 0));
            } catch (java.io.FileInputStream v0_1) {
                StringBuilder v2_1 = new StringBuilder();
                v2_1.append("error when getting request stream: ");
                v2_1.append(v0_1.getLocalizedMessage());
                throw new Exception(v2_1.toString());
            }
        } else {
            java.io.FileInputStream v0_7 = com.RNFetchBlob.RNFetchBlobFS.e(this.e.substring("RNFetchBlob-file://".length()));
            if (!com.RNFetchBlob.RNFetchBlobFS.d(v0_7)) {
                Exception v1_8 = new java.io.File(com.RNFetchBlob.RNFetchBlobFS.e(v0_7));
                try {
                    if (!v1_8.exists()) {
                        v1_8.createNewFile();
                    }
                } catch (java.io.FileInputStream v0_10) {
                    StringBuilder v2_3 = new StringBuilder();
                    v2_3.append("error when getting request stream: ");
                    v2_3.append(v0_10.getLocalizedMessage());
                    throw new Exception(v2_3.toString());
                }
                return new java.io.FileInputStream(v1_8);
            } else {
                try {
                    return com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(v0_7.replace("bundle-assets://", ""));
                } catch (java.io.FileInputStream v0_18) {
                    StringBuilder v2_6 = new StringBuilder();
                    v2_6.append("error when getting request stream from asset : ");
                    v2_6.append(v0_18.getLocalizedMessage());
                    throw new Exception(v2_6.toString());
                }
            }
        }
    }

Method com.j256.ormlite.android.apptools.OrmLiteSqliteOpenHelper.openFile() calling method java.io.FileInputStream.<init>()


    private static java.io.InputStream openFile(java.io.File p4)
    {
        if (p4 != null) {
            try {
                return new java.io.FileInputStream(p4);
            } catch (java.io.FileNotFoundException v0_2) {
                StringBuilder v2_1 = new StringBuilder();
                v2_1.append("Could not open config file ");
                v2_1.append(p4);
                throw new IllegalArgumentException(v2_1.toString(), v0_2);
            }
        } else {
            return 0;
        }
    }

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


    private static void a(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.flurry.sdk.mq.d() calling method java.io.FileInputStream.<init>()


    private static void d(java.util.Map p10)
    {
        if (p10 != null) {
            java.util.regex.Pattern v0_1 = java.util.regex.Pattern.compile("^Vm(RSS|Size|Peak):\\s+(\\d+)\\s+kB$");
            int v2_6 = new StringBuilder("/proc/");
            v2_6.append(Integer.toString(android.os.Process.myPid()));
            String v1_2 = 0;
            try {
                String v3_3 = new java.io.FileInputStream(new java.io.File(new java.io.File(v2_6.toString()), "status"));
                try {
                    int v2_3 = new java.io.BufferedReader(new java.io.InputStreamReader(v3_3));
                    try {
                        String v1_0 = v2_3.readLine();
                    } catch (java.io.IOException v10_1) {
                        com.flurry.sdk.mi.a(v3_3);
                        com.flurry.sdk.mi.a(v2_3);
                        throw v10_1;
                    } catch (java.io.IOException v10_3) {
                        v1_2 = v3_3;
                        v10_3.printStackTrace();
                        com.flurry.sdk.mi.a(v1_2);
                        com.flurry.sdk.mi.a(v2_3);
                        return;
                    } catch (java.io.IOException v10_2) {
                        v1_2 = v3_3;
                        v10_2.printStackTrace();
                    }
                    while (v1_0 != null) {
                        String v1_4 = v0_1.matcher(v1_0);
                        if (v1_4.find()) {
                            String v4_3 = 1;
                            boolean v5_0 = v1_4.group(1);
                            String v1_5 = v1_4.group(2);
                            if (!android.text.TextUtils.isEmpty(v5_0)) {
                                if (!android.text.TextUtils.isEmpty(v1_5)) {
                                    int v8 = v5_0.hashCode();
                                    if (v8 == 81458) {
                                        if (!v5_0.equals("RSS")) {
                                            v4_3 = -1;
                                        } else {
                                            v4_3 = 0;
                                        }
                                    } else {
                                        if (v8 == 2483455) {
                                            if (!v5_0.equals("Peak")) {
                                            } else {
                                                v4_3 = 2;
                                            }
                                        } else {
                                            if (v8 == 2577441) {
                                                if (!v5_0.equals("Size")) {
                                                } else {
                                                }
                                            } else {
                                            }
                                        }
                                    }
                                    switch (v4_3) {
                                        case 0:
                                            p10.put("mem.rss", v1_5);
                                        case 1:
                                            p10.put("mem.virt", v1_5);
                                            break;
                                        case 2:
                                            p10.put("mem.virt.max", v1_5);
                                            break;
                                        default:
                                    }
                                } else {
                                }
                            }
                        }
                        v1_0 = v2_3.readLine();
                    }
                    com.flurry.sdk.mi.a(v3_3);
                    com.flurry.sdk.mi.a(v2_3);
                    return;
                } catch (java.io.IOException v10_1) {
                    v2_3 = 0;
                } catch (java.io.IOException v10_3) {
                    v2_3 = 0;
                } catch (java.io.IOException v10_2) {
                    v2_3 = 0;
                }
            } catch (java.io.IOException v10_1) {
                v2_3 = 0;
                v3_3 = 0;
            } catch (java.io.IOException v10_3) {
                v2_3 = 0;
            } catch (java.io.IOException v10_2) {
                v2_3 = 0;
            } catch (java.io.IOException v10_1) {
                v3_3 = v1_2;
            }
        } else {
            return;
        }
    }

Method com.flurry.sdk.mp.<init>() calling method java.io.FileInputStream.<init>()


    public mp(java.io.File p11)
    {
        int v1_2 = java.util.Locale.getDefault();
        int v3_1 = 1;
        String v4_8 = new Object[1];
        v4_8[0] = p11.getAbsolutePath();
        com.flurry.sdk.kx.a(6, com.flurry.sdk.mp.a, String.format(v1_2, "YCrashBreadcrumbs from %s", v4_8));
        this.j = java.nio.ByteBuffer.allocate(com.flurry.sdk.mp.d);
        if (p11.length() == ((long) this.j.capacity())) {
            try {
                String v4_7 = new java.io.FileInputStream(p11);
                byte v11_8 = v4_7.getChannel();
                try {
                    Short v5_7 = v11_8.read(this.j);
                } catch (java.io.IOException) {
                    com.flurry.sdk.kx.a(6, com.flurry.sdk.mp.a, "Issue reading breadcrumbs from file.");
                    v5_7 = 0;
                }
                com.flurry.sdk.mi.a(v11_8);
                com.flurry.sdk.mi.a(v4_7);
                if (v5_7 == this.j.capacity()) {
                    this.j.position(0);
                    byte v11_16 = this.j.asCharBuffer().limit(com.flurry.sdk.mp.b.length).toString();
                    if (v11_16.equals(com.flurry.sdk.mp.c)) {
                        this.h = this.j.getShort(com.flurry.sdk.mp.e);
                        if ((this.h >= 0) && (this.h < 207)) {
                            if (this.j.get(com.flurry.sdk.mp.f) != 1) {
                                v3_1 = 0;
                            }
                            this.i = v3_1;
                            return;
                        } else {
                            int v0_16 = java.util.Locale.getDefault();
                            int v3_2 = new Object[1];
                            v3_2[0] = Short.valueOf(this.h);
                            com.flurry.sdk.kx.a(6, com.flurry.sdk.mp.a, String.format(v0_16, "YCrashBreadcrumbs invalid index: \'%s\'", v3_2));
                            this.j = 0;
                            return;
                        }
                    } else {
                        String v4_0 = java.util.Locale.getDefault();
                        int v3_0 = new Object[1];
                        v3_0[0] = v11_16;
                        com.flurry.sdk.kx.a(6, com.flurry.sdk.mp.a, String.format(v4_0, "YCrashBreadcrumbs invalid magic string: \'%s\'", v3_0));
                        this.j = 0;
                        return;
                    }
                } else {
                    String v4_1 = java.util.Locale.getDefault();
                    int v0_1 = new Object[2];
                    v0_1[0] = Integer.valueOf(v5_7);
                    v0_1[1] = Integer.valueOf(this.j.capacity());
                    com.flurry.sdk.kx.a(6, com.flurry.sdk.mp.a, String.format(v4_1, "YCrashBreadcrumbs unexpected read size %s != %s", v0_1));
                    this.j = 0;
                    return;
                }
            } catch (java.io.FileNotFoundException) {
                com.flurry.sdk.kx.a(6, com.flurry.sdk.mp.a, "Issue reading breadcrumbs file.");
                this.j = 0;
                return;
            }
        } else {
            Short v5_5 = java.util.Locale.getDefault();
            int v0_3 = new Object[2];
            v0_3[0] = Long.valueOf(p11.length());
            v0_3[1] = Integer.valueOf(this.j.capacity());
            com.flurry.sdk.kx.a(6, com.flurry.sdk.mp.a, String.format(v5_5, "Crash breadcrumbs invalid file length %s != %s", v0_3));
            this.j = 0;
            return;
        }
    }

Method com.flurry.sdk.mh.c() calling method java.io.FileInputStream.<init>()


    public static String c(java.io.File p6)
    {
        if ((p6 != null) && (p6.exists())) {
            String v3_4 = new StringBuilder("Loading persistent data: ");
            v3_4.append(p6.getAbsolutePath());
            com.flurry.sdk.kx.a(4, com.flurry.sdk.mh.a, v3_4.toString());
            try {
                int v0_2 = new java.io.FileInputStream(p6);
                try {
                    String v6_4 = new StringBuilder();
                    int v2_1 = new byte[1024];
                } catch (String v6_1) {
                    com.flurry.sdk.kx.a(6, com.flurry.sdk.mh.a, "Error when loading persistent file", v6_1);
                    com.flurry.sdk.mi.a(v0_2);
                    v6_4 = 0;
                    if (v6_4 == null) {
                        return 0;
                    } else {
                        return v6_4.toString();
                    }
                }
                while(true) {
                    String v3_1 = v0_2.read(v2_1);
                    if (v3_1 <= null) {
                        break;
                    }
                    v6_4.append(new String(v2_1, 0, v3_1));
                }
                com.flurry.sdk.mi.a(v0_2);
            } catch (String v6_2) {
                v0_2 = 0;
                com.flurry.sdk.mi.a(v0_2);
                throw v6_2;
            } catch (String v6_1) {
                v0_2 = 0;
            } catch (String v6_2) {
            }
        } else {
            com.flurry.sdk.kx.a(4, com.flurry.sdk.mh.a, "Persistent file doesn\'t exist.");
            return 0;
        }
    }

Method com.flurry.sdk.lm.i() calling method java.io.FileInputStream.<init>()


    private static byte[] i(String p6)
    {
        byte[] v6_2;
        com.flurry.sdk.mi.b();
        Throwable v1_6 = new StringBuilder("Reading block File for ");
        v1_6.append(p6);
        v1_6.append(" file name:");
        int v3_1 = new StringBuilder(".flurrydatasenderblock.");
        v3_1.append(p6);
        v1_6.append(com.flurry.sdk.kh.a().a.getFileStreamPath(v3_1.toString()));
        com.flurry.sdk.kx.a(5, com.flurry.sdk.lm.d, v1_6.toString());
        Throwable v1_3 = new StringBuilder(".flurrydatasenderblock.");
        v1_3.append(p6);
        int v0_3 = com.flurry.sdk.kh.a().a.getFileStreamPath(v1_3.toString());
        int v3_4 = 0;
        if (!v0_3.exists()) {
            com.flurry.sdk.kx.a(4, com.flurry.sdk.lm.d, "Agent cache file doesn\'t exist.");
            v6_2 = 0;
        } else {
            String v4_2 = new StringBuilder("Reading Index File for ");
            v4_2.append(p6);
            v4_2.append(" Found file.");
            com.flurry.sdk.kx.a(5, com.flurry.sdk.lm.d, v4_2.toString());
            try {
                int v0_6 = new java.io.DataInputStream(new java.io.FileInputStream(v0_3));
                try {
                    byte[] v6_7 = v0_6.readUnsignedShort();
                } catch (byte[] v6_8) {
                    v3_4 = v0_6;
                    com.flurry.sdk.mi.a(v3_4);
                    throw v6_8;
                } catch (Throwable v1_9) {
                    v6_2 = 0;
                    v3_4 = v0_6;
                    com.flurry.sdk.kx.a(6, com.flurry.sdk.lm.d, "Error when loading persistent file", v1_9);
                    com.flurry.sdk.mi.a(v3_4);
                }
                if (v6_7 != null) {
                    v6_2 = new byte[v6_7];
                    try {
                        v0_6.readFully(v6_2);
                        v0_6.readUnsignedShort();
                        com.flurry.sdk.mi.a(v0_6);
                    } catch (Throwable v1_9) {
                    }
                } else {
                    com.flurry.sdk.mi.a(v0_6);
                    return 0;
                }
            } catch (byte[] v6_8) {
            } catch (Throwable v1_9) {
                v6_2 = 0;
            }
        }
        return v6_2;
    }

Method com.flurry.sdk.lm.d() calling method java.io.FileInputStream.<init>()


    private declared_synchronized java.util.List d(String p9)
    {
        try {
            java.util.ArrayList v1_7;
            com.flurry.sdk.mi.b();
            java.util.ArrayList v1_6 = new StringBuilder("Reading Index File for ");
            v1_6.append(p9);
            v1_6.append(" file name:");
            byte[] v3_1 = new StringBuilder(".FlurrySenderIndex.info.");
            v3_1.append(p9);
            v1_6.append(com.flurry.sdk.kh.a().a.getFileStreamPath(v3_1.toString()));
            com.flurry.sdk.kx.a(5, com.flurry.sdk.lm.d, v1_6.toString());
            java.util.ArrayList v1_3 = new StringBuilder(".FlurrySenderIndex.info.");
            v1_3.append(p9);
            int v0_3 = com.flurry.sdk.kh.a().a.getFileStreamPath(v1_3.toString());
            byte[] v3_4 = 0;
        } catch (Throwable v9_2) {
            throw v9_2;
        }
        if (!v0_3.exists()) {
            com.flurry.sdk.kx.a(5, com.flurry.sdk.lm.d, "Agent cache file doesn\'t exist.");
            v1_7 = 0;
        } else {
            String v4_2 = new StringBuilder("Reading Index File for ");
            v4_2.append(p9);
            v4_2.append(" Found file.");
            com.flurry.sdk.kx.a(5, com.flurry.sdk.lm.d, v4_2.toString());
            try {
                int v0_6 = new java.io.DataInputStream(new java.io.FileInputStream(v0_3));
                try {
                    Throwable v9_9 = v0_6.readUnsignedShort();
                } catch (Throwable v9_1) {
                    com.flurry.sdk.mi.a(v0_6);
                    throw v9_1;
                } catch (Throwable v9_8) {
                    v1_7 = 0;
                    v3_4 = v0_6;
                    com.flurry.sdk.kx.a(6, com.flurry.sdk.lm.d, "Error when loading persistent file", v9_8);
                    com.flurry.sdk.mi.a(v3_4);
                }
                if (v9_9 != null) {
                    v1_7 = new java.util.ArrayList(v9_9);
                    int v2_5 = 0;
                    while (v2_5 < v9_9) {
                        byte[] v3_5 = v0_6.readUnsignedShort();
                        String v6_1 = new StringBuilder("read iter ");
                        v6_1.append(v2_5);
                        v6_1.append(" dataLength = ");
                        v6_1.append(v3_5);
                        com.flurry.sdk.kx.a(4, com.flurry.sdk.lm.d, v6_1.toString());
                        byte[] v3_6 = new byte[v3_5];
                        v0_6.readFully(v3_6);
                        v1_7.add(new String(v3_6));
                        v2_5++;
                    }
                    v0_6.readUnsignedShort();
                    com.flurry.sdk.mi.a(v0_6);
                } else {
                    com.flurry.sdk.mi.a(v0_6);
                    return 0;
                }
            } catch (Throwable v9_1) {
                v0_6 = v3_4;
            } catch (Throwable v9_8) {
                v1_7 = 0;
            }
        }
        return v1_7;
    }

Method com.flurry.sdk.kp.a() calling method java.io.FileInputStream.<init>()


    public final Object a()
    {
        Object v1 = 0;
        if (this.b != null) {
            if (this.b.exists()) {
                java.io.File v0_4 = 0;
                try {
                    String v3_0 = new java.io.FileInputStream(this.b);
                    try {
                        String v4_2 = this.c.a(v3_0);
                        com.flurry.sdk.mi.a(v3_0);
                        v1 = v4_2;
                    } catch (java.io.File v0_1) {
                        String v5_1 = new StringBuilder("Error reading data file:");
                        v5_1.append(this.b.getName());
                        com.flurry.sdk.kx.a(3, ark>com.flurry.sdk.kpark>.a, v5_1.toString(), v0_1);
                        v0_4 = 1;
                        com.flurry.sdk.mi.a(v3_0);
                    }
                    if (v0_4 != null) {
                        String v3_2 = new StringBuilder("Deleting data file:");
                        v3_2.append(this.b.getName());
                        com.flurry.sdk.kx.a(3, ark>com.flurry.sdk.kpark>.a, v3_2.toString());
                        this.b.delete();
                    }
                    return v1;
                } catch (java.io.File v0_2) {
                    v3_0 = 0;
                    com.flurry.sdk.mi.a(v3_0);
                    throw v0_2;
                } catch (java.io.File v0_1) {
                    v3_0 = 0;
                } catch (java.io.File v0_2) {
                }
            } else {
                String v3_5 = new StringBuilder("No data to read for file:");
                v3_5.append(this.b.getName());
                com.flurry.sdk.kx.a(5, ark>com.flurry.sdk.kpark>.a, v3_5.toString());
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.flurry.sdk.jp.j() calling method java.io.FileInputStream.<init>()


    private String j()
    {
        String v0_9 = com.flurry.sdk.kh.a().a.getFilesDir();
        String v1 = 0;
        if (v0_9 != null) {
            String v0_1 = v0_9.list(new com.flurry.sdk.jp$5(this));
            if ((v0_1 != null) && (v0_1.length != 0)) {
                String v0_4 = com.flurry.sdk.kh.a().a.getFileStreamPath(v0_1[0]);
                if ((v0_4 != null) && (v0_4.exists())) {
                    try {
                        int v2_6 = new java.io.DataInputStream(new java.io.FileInputStream(v0_4));
                        try {
                            if (46586 == v2_6.readUnsignedShort()) {
                                if (2 == v2_6.readUnsignedShort()) {
                                    v2_6.readUTF();
                                    v1 = v2_6.readUTF();
                                    com.flurry.sdk.mi.a(v2_6);
                                    return v1;
                                } else {
                                    com.flurry.sdk.mi.a(v2_6);
                                    return v1;
                                }
                            } else {
                                com.flurry.sdk.mi.a(v2_6);
                                return v1;
                            }
                        } catch (String v0_6) {
                            com.flurry.sdk.kx.a(6, com.flurry.sdk.jp.c, "Error when loading deviceId", v0_6);
                            com.flurry.sdk.mi.a(v2_6);
                            return v1;
                        }
                    } catch (String v0_7) {
                        v2_6 = 0;
                        com.flurry.sdk.mi.a(v2_6);
                        throw v0_7;
                    } catch (String v0_6) {
                        v2_6 = 0;
                    } catch (String v0_7) {
                    }
                } else {
                    return 0;
                }
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.flurry.sdk.jp.i() calling method java.io.FileInputStream.<init>()


    private static String i()
    {
        String v0_6 = com.flurry.sdk.kh.a().a.getFileStreamPath(".flurryb.");
        String v1_0 = 0;
        if ((v0_6 != null) && (v0_6.exists())) {
            try {
                int v2_1 = new java.io.DataInputStream(new java.io.FileInputStream(v0_6));
                try {
                    if (1 == v2_1.readInt()) {
                        v1_0 = v2_1.readUTF();
                        com.flurry.sdk.mi.a(v2_1);
                        return v1_0;
                    } else {
                        com.flurry.sdk.mi.a(v2_1);
                        return v1_0;
                    }
                } catch (String v0_2) {
                    com.flurry.sdk.kx.a(6, com.flurry.sdk.jp.c, "Error when loading deviceId", v0_2);
                    com.flurry.sdk.mi.a(v2_1);
                    return v1_0;
                }
            } catch (String v0_3) {
                v2_1 = 0;
                com.flurry.sdk.mi.a(v2_1);
                throw v0_3;
            } catch (String v0_2) {
                v2_1 = 0;
            } catch (String v0_3) {
            }
        } else {
            return 0;
        }
    }

Method com.flurry.sdk.hx.a() calling method java.io.FileInputStream.<init>()


    public static com.flurry.sdk.jm a(java.io.File p9)
    {
        com.flurry.sdk.jm v0_0 = 0;
        if ((p9 != null) && (p9.exists())) {
            com.flurry.sdk.jm v1_7 = new com.flurry.sdk.jm$a();
            try {
                Throwable v3_0 = new java.io.FileInputStream(p9);
                try {
                    Throwable v9_1 = new java.io.DataInputStream(v3_0);
                    try {
                        if (v9_1.readUnsignedShort() == 46586) {
                            String v4_1 = v9_1.readUnsignedShort();
                            if (v4_1 == 2) {
                                com.flurry.sdk.jm v1_3 = ((com.flurry.sdk.jm) v1_7.a(v9_1));
                                com.flurry.sdk.mi.a(v9_1);
                                com.flurry.sdk.mi.a(v3_0);
                                v0_0 = v1_3;
                                return v0_0;
                            } else {
                                StringBuilder v6_1 = new StringBuilder("Unknown agent file version: ");
                                v6_1.append(v4_1);
                                com.flurry.sdk.kx.a(6, ark>com.flurry.sdk.hxark>.a, v6_1.toString());
                            }
                        } else {
                            com.flurry.sdk.kx.a(3, ark>com.flurry.sdk.hxark>.a, "Unexpected file type");
                        }
                    } catch (com.flurry.sdk.jm v1_0) {
                        com.flurry.sdk.kx.a(3, ark>com.flurry.sdk.hxark>.a, "Error loading legacy agent data.", v1_0);
                        com.flurry.sdk.mi.a(v9_1);
                        com.flurry.sdk.mi.a(v3_0);
                        return v0_0;
                    }
                    com.flurry.sdk.mi.a(v9_1);
                    com.flurry.sdk.mi.a(v3_0);
                    return 0;
                } catch (Throwable v9_4) {
                    com.flurry.sdk.jm v0_1 = v9_4;
                    v9_1 = 0;
                    com.flurry.sdk.mi.a(v9_1);
                    com.flurry.sdk.mi.a(v3_0);
                    throw v0_1;
                } catch (com.flurry.sdk.jm v1_0) {
                    v9_1 = 0;
                }
            } catch (Throwable v9_2) {
                v3_0 = 0;
                v0_1 = v9_2;
                v9_1 = 0;
            } catch (com.flurry.sdk.jm v1_0) {
                v9_1 = 0;
                v3_0 = 0;
            } catch (com.flurry.sdk.jm v0_1) {
            }
        } 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 p7)
    {
        this.a = new java.io.FileInputStream(p7);
        this.b = (System.currentTimeMillis() + 30000);
        return;
    }

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


    private static java.io.InputStream a(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 = new java.net.URL(p9.toString()).openStream();
        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.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom.a() calling method java.io.FileInputStream.<init>()


    private static java.io.DataInputStream a()
    {
        try {
            if (ark>com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandomark>.c == null) {
                try {
                    ark>com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandomark>.c = new java.io.DataInputStream(new java.io.FileInputStream(ark>com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandomark>.a));
                } catch (java.io.IOException v1_5) {
                    String v3_1 = new StringBuilder();
                    v3_1.append("Failed to open ");
                    v3_1.append(ark>com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandomark>.a);
                    v3_1.append(" for reading");
                    throw new SecurityException(v3_1.toString(), v1_5);
                }
            }
        } catch (java.io.IOException v1_2) {
            throw v1_2;
        }
        return ark>com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandomark>.c;
    }

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


    public java.util.Map b(String p5)
    {
        Exception v5_1 = this.d(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.f(io.fabric.sdk.android.services.common.CommonUtils.a(v1_3));
                    io.fabric.sdk.android.services.common.CommonUtils.a(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.a(v0_1, "Failed to close user metadata file.");
                    throw v5_7;
                } catch (Exception v5_4) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.Fabric.h().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                    io.fabric.sdk.android.services.common.CommonUtils.a(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.h().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close user metadata file.");
                return java.util.Collections.emptyMap();
            }
            v5_3 = com.crashlytics.android.core.MetaDataStore.f(io.fabric.sdk.android.services.common.CommonUtils.a(v1_3));
            io.fabric.sdk.android.services.common.CommonUtils.a(v1_3, "Failed to close user metadata file.");
            return v5_3;
        } else {
            return java.util.Collections.emptyMap();
        }
    }

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


    public com.crashlytics.android.core.UserMetaData a(String p5)
    {
        Exception v5_1 = this.c(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 = ark>com.crashlytics.android.core.MetaDataStoreark>.e(io.fabric.sdk.android.services.common.CommonUtils.a(v1_3));
                    io.fabric.sdk.android.services.common.CommonUtils.a(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.a(v0_1, "Failed to close user metadata file.");
                    throw v5_7;
                } catch (Exception v5_4) {
                    v0_1 = v1_3;
                    io.fabric.sdk.android.Fabric.h().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close user metadata file.");
                    return com.crashlytics.android.core.UserMetaData.a;
                }
            } catch (Exception v5_7) {
            } catch (Exception v5_4) {
                io.fabric.sdk.android.Fabric.h().e("CrashlyticsCore", "Error deserializing user metadata.", v5_4);
                io.fabric.sdk.android.services.common.CommonUtils.a(v0_1, "Failed to close user metadata file.");
                return com.crashlytics.android.core.UserMetaData.a;
            }
            v5_3 = ark>com.crashlytics.android.core.MetaDataStoreark>.e(io.fabric.sdk.android.services.common.CommonUtils.a(v1_3));
            io.fabric.sdk.android.services.common.CommonUtils.a(v1_3, "Failed to close user metadata file.");
            return v5_3;
        } else {
            return com.crashlytics.android.core.UserMetaData.a;
        }
    }

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


    private static void a(com.crashlytics.android.core.CodedOutputStream p4, java.io.File p5)
    {
        if (p5.exists()) {
            try {
                int v0_3 = new java.io.FileInputStream(p5);
                try {
                    ark>com.crashlytics.android.core.CrashlyticsControllerark>.a(v0_3, p4, ((int) p5.length()));
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_3, "Failed to close file input stream.");
                    return;
                } catch (Throwable v4_2) {
                    io.fabric.sdk.android.services.common.CommonUtils.a(v0_3, "Failed to close file input stream.");
                    throw v4_2;
                }
            } catch (Throwable v4_2) {
                v0_3 = 0;
            }
            ark>com.crashlytics.android.core.CrashlyticsControllerark>.a(v0_3, p4, ((int) p5.length()));
            io.fabric.sdk.android.services.common.CommonUtils.a(v0_3, "Failed to close file input stream.");
            return;
        } else {
            Throwable v4_3 = io.fabric.sdk.android.Fabric.h();
            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 com.coupa.android.coupamobile.core.utils.FileHelper.copyFile() calling method java.io.FileInputStream.<init>()


    public boolean copyFile(String p5, String p6)
    {
        try {
            if (!p5.equals(p6)) {
                byte[] v2_5 = new java.io.File(p6);
                java.io.FileInputStream v6_4 = new java.io.FileInputStream(p5);
                java.io.FileOutputStream v5_1 = this.context.openFileOutput(v2_5.getName(), 0);
                byte[] v2_2 = new byte[1024];
                while(true) {
                    int v3 = v6_4.read(v2_2);
                    if (v3 <= 0) {
                        break;
                    }
                    v5_1.write(v2_2, 0, v3);
                }
                v6_4.close();
                v5_1.close();
                return 1;
            } else {
                throw new java.security.InvalidAlgorithmParameterException("targetLocation=sourceLocation");
            }
        } catch (java.io.FileOutputStream v5_4) {
            com.coupa.android.coupamobile.core.ApplicationBase.handleException("FileHelper", v5_4, 1);
            return 0;
        }
    }

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


    private void b()
    {
        com.bumptech.glide.disklrucache.StrictLineReader v0_1 = new com.bumptech.glide.disklrucache.StrictLineReader(new java.io.FileInputStream(this.c), com.bumptech.glide.disklrucache.Util.a);
        try {
            java.io.BufferedWriter v1_7 = v0_1.a();
            java.io.OutputStreamWriter v2_7 = v0_1.a();
            java.io.FileOutputStream v3_0 = v0_1.a();
            java.nio.charset.Charset v4_0 = v0_1.a();
            int v5_0 = v0_1.a();
        } catch (java.io.BufferedWriter v1_13) {
            com.bumptech.glide.disklrucache.Util.a(v0_1);
            throw v1_13;
        }
        if (("libcore.io.DiskLruCache".equals(v1_7)) && (("1".equals(v2_7)) && ((Integer.toString(this.f).equals(v3_0)) && ((Integer.toString(this.h).equals(v4_0)) && ("".equals(v5_0)))))) {
            java.io.BufferedWriter v1_2 = 0;
            while(true) {
                this.d(v0_1.a());
                v1_2++;
            }
        } else {
            String v6_7 = new StringBuilder();
            v6_7.append("unexpected journal header: [");
            v6_7.append(v1_7);
            v6_7.append(", ");
            v6_7.append(v2_7);
            v6_7.append(", ");
            v6_7.append(v4_0);
            v6_7.append(", ");
            v6_7.append(v5_0);
            v6_7.append("]");
            throw new java.io.IOException(v6_7.toString());
        }
    }

Method com.airbnb.android.react.maps.FileUtil.a() calling method java.io.FileInputStream.<init>()


    private java.io.InputStream a(android.content.Context p9, android.net.Uri p10)
    {
        Throwable v9_6 = java.io.File.createTempFile("FileUtil", "temp", p9.getApplicationContext().getCacheDir());
        v9_6.deleteOnExit();
        java.io.InputStream v10_2 = new java.net.URL(p10.toString()).openStream();
        try {
            java.nio.channels.ReadableByteChannel v6 = java.nio.channels.Channels.newChannel(v10_2);
            try {
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v9_6);
                try {
                    v7_1.getChannel().transferFrom(v6, 0, nan);
                    java.io.FileInputStream v0_3 = new java.io.FileInputStream(v9_6);
                } catch (Throwable v9_2) {
                    v7_1.close();
                    throw v9_2;
                }
                v7_1.close();
                v6.close();
                v10_2.close();
                return v0_3;
            } catch (Throwable v9_4) {
                v6.close();
                throw v9_4;
            }
        } catch (Throwable v9_5) {
            v10_2.close();
            throw v9_5;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileInputStream.<init>()


    public void a(String p9, String p10, int p11, int p12, String p13)
    {
        byte[] v0_0 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p9);
        if (v0_0 != null) {
            p9 = v0_0;
        }
        try {
            String v1_18;
            if (!p10.equalsIgnoreCase("base64")) {
                v1_18 = 4096;
                if (p11 <= null) {
                    p11 = v1_18;
                } else {
                }
                if ((v0_0 == null) || (!p9.startsWith("bundle-assets://"))) {
                    if (v0_0 != null) {
                        java.io.FileInputStream v9_2 = new java.io.FileInputStream(new java.io.File(p9));
                    } else {
                        v9_2 = com.RNFetchBlob.RNFetchBlob.RCTContext.getContentResolver().openInputStream(android.net.Uri.parse(p9));
                    }
                } else {
                    v9_2 = com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(p9.replace("bundle-assets://", ""));
                }
                byte[] v0_8 = new byte[p11];
                int v3 = 0;
                if (!p10.equalsIgnoreCase("utf8")) {
                    if (!p10.equalsIgnoreCase("ascii")) {
                        if (!p10.equalsIgnoreCase("base64")) {
                            String v11_7 = new StringBuilder();
                            v11_7.append("unrecognized encoding `");
                            v11_7.append(p10);
                            v11_7.append("`");
                            this.a(p13, "error", v11_7.toString());
                            v3 = 1;
                            if (v3 == 0) {
                                this.a(p13, "end", "");
                            }
                            v9_2.close();
                        }
                        while(true) {
                            String v1_15 = v9_2.read(v0_8);
                            if (v1_15 != -1) {
                                if (v1_15 >= p11) {
                                    this.a(p13, "data", android.util.Base64.encodeToString(v0_8, 2));
                                } else {
                                    byte[] v5_1 = new byte[v1_15];
                                    int v6 = 0;
                                    while (v6 < v1_15) {
                                        v5_1[v6] = v0_8[v6];
                                        v6++;
                                    }
                                    this.a(p13, "data", android.util.Base64.encodeToString(v5_1, 2));
                                }
                                if (p12 > null) {
                                    android.os.SystemClock.sleep(((long) p12));
                                }
                            }
                        }
                    }
                    do {
                        String v11_9 = v9_2.read(v0_8);
                        if (v11_9 != -1) {
                            String v1_19 = com.facebook.react.bridge.Arguments.a();
                            long v4_0 = 0;
                            while (v4_0 < v11_9) {
                                v1_19.pushInt(v0_8[v4_0]);
                                v4_0++;
                            }
                            this.a(p13, "data", v1_19);
                        }
                    } while(p12 <= null);
                    android.os.SystemClock.sleep(((long) p12));
                } else {
                    String v11_3 = java.nio.charset.Charset.forName("UTF-8").newEncoder();
                    do {
                        String v1_0 = v9_2.read(v0_8);
                        if (v1_0 != -1) {
                            v11_3.encode(java.nio.ByteBuffer.wrap(v0_8).asCharBuffer());
                            this.a(p13, "data", new String(v0_8, 0, v1_0));
                        }
                    } while(p12 <= null);
                    android.os.SystemClock.sleep(((long) p12));
                }
            } else {
                v1_18 = 4095;
            }
        } catch (java.io.FileInputStream v9_1) {
            String v12_3 = new StringBuilder();
            v12_3.append("Failed to convert data to ");
            v12_3.append(p10);
            v12_3.append(" encoded string, this might due to the source data is not able to convert using this encoding.");
            this.a(p13, "warn", v12_3.toString());
            v9_1.printStackTrace();
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.b() calling method java.io.FileInputStream.<init>()


    static java.io.InputStream b(String p3)
    {
        if (!p3.startsWith("bundle-assets://")) {
            return new java.io.FileInputStream(new java.io.File(p3));
        } else {
            return com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(p3.replace("bundle-assets://", ""));
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileInputStream.<init>()


    public static void a(String p2, String p3, String p4, boolean p5, com.facebook.react.bridge.Promise p6)
    {
        try {
            int v0_1 = new java.io.File(p2);
            Integer v2_1 = v0_1.getParentFile();
        } catch (Integer v2_3) {
            p6.a("RNFetchBlob writeFileError", v2_3.getLocalizedMessage());
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        int v0_2;
        Integer v2_6 = new java.io.FileOutputStream(v0_1, p5);
        if (!p3.equalsIgnoreCase("uri")) {
            java.io.FileInputStream v3_1 = ark>com.RNFetchBlob.RNFetchBlobFSark>.a(p4, p3);
            v2_6.write(v3_1);
            v0_2 = v3_1.length;
        } else {
            java.io.FileInputStream v3_2 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p4);
            byte[] v4_2 = new java.io.File(v3_2);
            if (v4_2.exists()) {
                java.io.FileInputStream v3_4 = new java.io.FileInputStream(v4_2);
                byte[] v4_4 = new byte[10240];
                v0_2 = 0;
                while(true) {
                    int v1_0 = v3_4.read(v4_4);
                    if (v1_0 <= 0) {
                        break;
                    }
                    v2_6.write(v4_4, 0, v1_0);
                    v0_2 += v1_0;
                }
                v3_4.close();
            } else {
                int v5_6 = new StringBuilder();
                v5_6.append("source file : ");
                v5_6.append(v3_2);
                v5_6.append("not exists");
                p6.a("RNfetchBlob writeFileError", v5_6.toString());
                v2_6.close();
                return;
            }
        }
        v2_6.close();
        p6.a(Integer.valueOf(v0_2));
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileInputStream.<init>()


    static void a(String p6, String p7, String p8, com.facebook.react.bridge.Callback p9)
    {
        try {
            String v2_2 = new java.io.File(p6);
            int v3_6 = v2_2.createNewFile();
        } catch (String v6_4) {
            Object[] v7_8 = new Object[1];
            v7_8[0] = v6_4.getLocalizedMessage();
            p9.a(v7_8);
            return;
        }
        if (!p8.equals("uri")) {
            if (v3_6 != 0) {
                new java.io.FileOutputStream(v2_2).write(ark>com.RNFetchBlob.RNFetchBlobFSark>.a(p7, p8));
            } else {
                Object[] v7_2 = new Object[1];
                int v8_2 = new StringBuilder();
                v8_2.append("create file error: failed to create file at path `");
                v8_2.append(p6);
                v8_2.append("` for its parent path may not exists, or the file already exists. If you intended to overwrite the existing file use fs.writeFile instead.");
                v7_2[0] = v8_2.toString();
                p9.a(v7_2);
                return;
            }
        } else {
            int v3_4 = new java.io.File(p7.replace("RNFetchBlob-file://", ""));
            if (v3_4.exists()) {
                Object[] v7_4 = new java.io.FileInputStream(v3_4);
                int v8_7 = new java.io.FileOutputStream(v2_2);
                String v2_4 = new byte[10240];
                int v3_5 = v7_4.read(v2_4);
                while (v3_5 > 0) {
                    v8_7.write(v2_4, 0, v3_5);
                    v3_5 = v7_4.read(v2_4);
                }
                v7_4.close();
                v8_7.close();
            } else {
                String v6_3 = new Object[2];
                v6_3[0] = "RNfetchBlob writeFileError";
                int v8_11 = new StringBuilder();
                v8_11.append("source file : ");
                v8_11.append(p7);
                v8_11.append("not exists");
                v6_3[1] = v8_11.toString();
                p9.a(v6_3);
                return;
            }
        }
        Object[] v7_5 = new Object[2];
        v7_5[0] = 0;
        v7_5[1] = p6;
        p9.a(v7_5);
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileInputStream.<init>()


    public static void a(String p5, String p6, com.facebook.react.bridge.Promise p7)
    {
        byte v0_0 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p5);
        if (v0_0 != 0) {
            p5 = v0_0;
        }
        byte[] v2_1;
        int v1 = 0;
        if ((v0_0 == 0) || (!v0_0.startsWith("bundle-assets://"))) {
            if (v0_0 != 0) {
                byte v0_2 = new java.io.File(p5);
                v2_1 = new byte[((int) v0_2.length())];
                String v5_5 = new java.io.FileInputStream(v0_2);
                v5_5.read(v2_1);
                v5_5.close();
                String v5_12;
                String v5_10 = p6.toLowerCase();
                byte v0_11 = v5_10.hashCode();
                if (v0_11 == -1396204209) {
                    if (!v5_10.equals("base64")) {
                        v5_12 = -1;
                    } else {
                        v5_12 = 0;
                    }
                } else {
                    if (v0_11 == 3600241) {
                        if (!v5_10.equals("utf8")) {
                        } else {
                            v5_12 = 2;
                        }
                    } else {
                        if (v0_11 == 93106001) {
                            if (!v5_10.equals("ascii")) {
                            } else {
                                v5_12 = 1;
                            }
                        } else {
                        }
                    }
                }
                switch (v5_12) {
                    case 0:
                        p7.a(android.util.Base64.encodeToString(v2_1, 2));
                        break;
                    case 1:
                        String v5_17 = com.facebook.react.bridge.Arguments.a();
                        int v6_1 = v2_1.length;
                        while (v1 < v6_1) {
                            v5_17.pushInt(v2_1[v1]);
                            v1++;
                        }
                        p7.a(v5_17);
                        break;
                    case 2:
                        p7.a(new String(v2_1));
                        break;
                    default:
                        p7.a(new String(v2_1));
                }
            } else {
                String v5_7 = com.RNFetchBlob.RNFetchBlob.RCTContext.getContentResolver().openInputStream(android.net.Uri.parse(p5));
                v2_1 = new byte[v5_7.available()];
                v5_7.read(v2_1);
                v5_7.close();
            }
        } else {
            String v5_8 = p5.replace("bundle-assets://", "");
            byte v0_10 = ((int) com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().openFd(v5_8).getLength());
            v2_1 = new byte[v0_10];
            String v5_9 = com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(v5_8);
            v5_9.read(v2_1, 0, v0_10);
            v5_9.close();
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method java.io.FileInputStream.<init>()


    public static void a(String p18, String p19, int p20, int p21, String p22, com.facebook.react.bridge.Promise p23)
    {
        try {
            java.io.FileOutputStream v3_2 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p18);
            java.io.FileInputStream v4_5 = new java.io.File(v3_2);
        } catch (Exception v0) {
            String v1_2 = v0;
            v1_2.printStackTrace();
            p23.a(v1_2.getLocalizedMessage());
            return;
        }
        if (v4_5.exists()) {
            long v8 = (Math.min(v4_5.length(), ((long) p21)) - ((long) p20));
            java.io.FileInputStream v4_3 = new java.io.FileInputStream(new java.io.File(v3_2));
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(new java.io.File(p19));
            v4_3.skip(((long) p20));
            int v5_4 = 10240;
            byte[] v6_4 = new byte[10240];
            long v12 = 0;
            while (v12 < v8) {
                long v14_1 = ((long) v4_3.read(v6_4, 0, v5_4));
                if (v14_1 > 0) {
                    v3_1.write(v6_4, 0, ((int) Math.min((v8 - v12), v14_1)));
                    v12 += v14_1;
                    v5_4 = 10240;
                } else {
                    break;
                }
            }
            v4_3.close();
            v3_1.flush();
            v3_1.close();
            p23.a(p19);
            return;
        } else {
            java.io.FileInputStream v4_7 = new StringBuilder();
            v4_7.append("source file : ");
            v4_7.append(v3_2);
            v4_7.append(" not exists");
            p23.a("RNFetchBlob.slice error", v4_7.toString());
            return;
        }
    }

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


    private static java.nio.ByteBuffer a(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 (v1_1 != null) {
                    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;
                }
            }
            if (v1_1 != null) {
                v1_1.close();
            }
            return v9_1;
        } catch (java.io.IOException) {
            return 0;
        }
    }

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


    public static java.nio.ByteBuffer a(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 (v9_1 != null) {
                        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;
                    }
                }
                if (v9_1 != null) {
                    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 android.support.media.ExifInterface.c() calling method java.io.FileInputStream.<init>()


    public byte[] c()
    {
        if (this.L) {
            if (this.O == null) {
                try {
                    Throwable v0_2;
                    if (this.H == null) {
                        if (this.G == null) {
                            v0_2 = 0;
                            if (v0_2 != null) {
                                if (v0_2.skip(((long) this.M)) == ((long) this.M)) {
                                    java.io.IOException v2_8 = new byte[this.N];
                                    if (v0_2.read(v2_8) == this.N) {
                                        this.O = v2_8;
                                        android.support.media.ExifInterface.a(v0_2);
                                        return v2_8;
                                    } else {
                                        throw new java.io.IOException("Corrupted image");
                                    }
                                } else {
                                    throw new java.io.IOException("Corrupted image");
                                }
                            } else {
                                throw new java.io.FileNotFoundException();
                            }
                        } else {
                            v0_2 = new java.io.FileInputStream(this.G);
                        }
                    } else {
                        v0_2 = this.H;
                        if (!v0_2.markSupported()) {
                            android.util.Log.d("ExifInterface", "Cannot read thumbnail from inputstream without mark/reset support");
                            android.support.media.ExifInterface.a(v0_2);
                            return 0;
                        } else {
                            v0_2.reset();
                        }
                    }
                } catch (Throwable v0_3) {
                    Throwable v1_1 = v0_3;
                    v0_2 = 0;
                } catch (java.io.IOException v2_1) {
                    v0_2 = 0;
                    android.util.Log.d("ExifInterface", "Encountered exception while getting thumbnail", v2_1);
                    android.support.media.ExifInterface.a(v0_2);
                    return 0;
                } catch (Throwable v1_1) {
                } catch (java.io.IOException v2_1) {
                    android.util.Log.d("ExifInterface", "Encountered exception while getting thumbnail", v2_1);
                    android.support.media.ExifInterface.a(v0_2);
                    return 0;
                }
                android.support.media.ExifInterface.a(v0_2);
                throw v1_1;
            } else {
                return this.O;
            }
        } else {
            return 0;
        }
    }

Method android.support.media.ExifInterface.a() calling method java.io.FileInputStream.<init>()


    public void a()
    {
        if ((this.V) && (this.I == 4)) {
            if (this.G != null) {
                this.O = this.b();
                Throwable v1_1 = new StringBuilder();
                v1_1.append(this.G);
                v1_1.append(".tmp");
                String v0_2 = new java.io.File(v1_1.toString());
                if (new java.io.File(this.G).renameTo(v0_2)) {
                    Throwable v1_6 = 0;
                    try {
                        int v2_4 = new java.io.FileInputStream(v0_2);
                        try {
                            Throwable v3_2 = new java.io.FileOutputStream(this.G);
                            try {
                                this.a(v2_4, v3_2);
                                ark>android.support.media.ExifInterfaceark>.a(v2_4);
                                ark>android.support.media.ExifInterfaceark>.a(v3_2);
                                v0_2.delete();
                                this.O = 0;
                                return;
                            } catch (Throwable v1_8) {
                                Throwable v3_0 = v1_8;
                                v1_6 = v3_2;
                                ark>android.support.media.ExifInterfaceark>.a(v2_4);
                                ark>android.support.media.ExifInterfaceark>.a(v1_6);
                                v0_2.delete();
                                throw v3_0;
                            }
                        } catch (Throwable v3_0) {
                        }
                        this.a(v2_4, v3_2);
                        ark>android.support.media.ExifInterfaceark>.a(v2_4);
                        ark>android.support.media.ExifInterfaceark>.a(v3_2);
                        v0_2.delete();
                        this.O = 0;
                        return;
                    } catch (int v2_5) {
                        v3_0 = v2_5;
                        v2_4 = 0;
                    }
                } else {
                    int v2_7 = new StringBuilder();
                    v2_7.append("Could not rename to ");
                    v2_7.append(v0_2.getAbsolutePath());
                    throw new java.io.IOException(v2_7.toString());
                }
            } else {
                throw new java.io.IOException("ExifInterface does not support saving attributes for the current input.");
            }
        } else {
            throw new java.io.IOException("ExifInterface only supports saving attributes on JPEG formats.");
        }
    }

Method android.support.media.ExifInterface.<init>() calling method java.io.FileInputStream.<init>()


    public ExifInterface(String p3)
    {
        java.io.FileInputStream v0_4 = new java.util.HashMap[android.support.media.ExifInterface.g.length];
        this.J = v0_4;
        this.K = java.nio.ByteOrder.BIG_ENDIAN;
        if (p3 != null) {
            java.io.FileInputStream v0_1 = 0;
            this.H = 0;
            this.G = p3;
            try {
                java.io.FileInputStream v1_1 = new java.io.FileInputStream(p3);
                try {
                    this.a(v1_1);
                    android.support.media.ExifInterface.a(v1_1);
                    return;
                } catch (Throwable v3_1) {
                    v0_1 = v1_1;
                    android.support.media.ExifInterface.a(v0_1);
                    throw v3_1;
                }
            } catch (Throwable v3_1) {
            }
            this.a(v1_1);
            android.support.media.ExifInterface.a(v1_1);
            return;
        } else {
            throw new IllegalArgumentException("filename cannot be null");
        }
    }

Method org.joda.time.tz.ZoneInfoCompiler.compile() calling method java.io.FileReader.<init>()


    public java.util.Map compile(java.io.File p9, java.io.File[] p10)
    {
        if (p10 != null) {
            java.util.Comparator v1_4 = 0;
            while (v1_4 < p10.length) {
                int v2_7 = new java.io.BufferedReader(new java.io.FileReader(p10[v1_4]));
                this.parseDataFile(v2_7);
                v2_7.close();
                v1_4++;
            }
        }
        if (p9 != null) {
            if ((p9.exists()) || (p9.mkdirs())) {
                if (!p9.isDirectory()) {
                    java.io.DataOutputStream v0_1 = new StringBuilder();
                    v0_1.append("Destination is not a directory: ");
                    v0_1.append(p9);
                    throw new java.io.IOException(v0_1.toString());
                }
            } else {
                java.io.DataOutputStream v0_3 = new StringBuilder();
                v0_3.append("Destination directory doesn\'t exist and cannot be created: ");
                v0_3.append(p9);
                throw new java.io.IOException(v0_3.toString());
            }
        }
        java.io.IOException v10_4 = new java.util.TreeMap();
        System.out.println("Writing zoneinfo files");
        java.util.Comparator v1_1 = 0;
        while (v1_1 < this.iZones.size()) {
            int v2_15 = ((org.joda.time.tz.ZoneInfoCompiler$Zone) this.iZones.get(v1_1));
            String v3_16 = new org.joda.time.tz.DateTimeZoneBuilder();
            v2_15.addToBuilder(v3_16, this.iRuleSets);
            String v4_1 = v3_16.toDateTimeZone(v2_15.iName, 1);
            if (org.joda.time.tz.ZoneInfoCompiler.test(v4_1.getID(), v4_1)) {
                v10_4.put(v4_1.getID(), v4_1);
                if (p9 != null) {
                    if (org.joda.time.tz.ZoneInfoCompiler.verbose()) {
                        StringBuilder v6_1 = new StringBuilder();
                        v6_1.append("Writing ");
                        v6_1.append(v4_1.getID());
                        System.out.println(v6_1.toString());
                    }
                    java.io.PrintStream v5_7 = new java.io.File(p9, v4_1.getID());
                    if (!v5_7.getParentFile().exists()) {
                        v5_7.getParentFile().mkdirs();
                    }
                    StringBuilder v6_8 = new java.io.FileOutputStream(v5_7);
                    try {
                        v3_16.writeTo(v2_15.iName, v6_8);
                        v6_8.close();
                        int v2_2 = new java.io.FileInputStream(v5_7);
                        String v3_1 = org.joda.time.tz.DateTimeZoneBuilder.readFrom(v2_2, v4_1.getID());
                        v2_2.close();
                    } catch (Throwable v9_1) {
                        v6_8.close();
                        throw v9_1;
                    }
                    if (!v4_1.equals(v3_1)) {
                        String v3_3 = new StringBuilder();
                        v3_3.append("*e* Error in ");
                        v3_3.append(v4_1.getID());
                        v3_3.append(": Didn\'t read properly from file");
                        System.out.println(v3_3.toString());
                    }
                }
            }
            v1_1++;
        }
        java.util.Comparator v1_5 = 0;
        while (v1_5 < 2) {
            int v2_12 = 0;
            while (v2_12 < this.iLinks.size()) {
                String v3_11 = ((String) this.iLinks.get(v2_12));
                String v4_7 = ((String) this.iLinks.get((v2_12 + 1)));
                java.io.PrintStream v5_11 = ((org.joda.time.DateTimeZone) v10_4.get(v3_11));
                if (v5_11 != null) {
                    v10_4.put(v4_7, v5_11);
                } else {
                    if (v1_5 > null) {
                        StringBuilder v6_10 = new StringBuilder();
                        v6_10.append("Cannot find time zone \'");
                        v6_10.append(v3_11);
                        v6_10.append("\' to link alias \'");
                        v6_10.append(v4_7);
                        v6_10.append("\' to");
                        System.out.println(v6_10.toString());
                    }
                }
                v2_12 += 2;
            }
            v1_5++;
        }
        if (p9 != null) {
            System.out.println("Writing ZoneInfoMap");
            java.io.DataOutputStream v0_6 = new java.io.File(p9, "ZoneInfoMap");
            if (!v0_6.getParentFile().exists()) {
                v0_6.getParentFile().mkdirs();
            }
            java.io.DataOutputStream v0_8 = new java.io.DataOutputStream(new java.io.FileOutputStream(v0_6));
            try {
                Throwable v9_10 = new java.util.TreeMap(String.CASE_INSENSITIVE_ORDER);
                v9_10.putAll(v10_4);
                org.joda.time.tz.ZoneInfoCompiler.writeZoneInfoMap(v0_8, v9_10);
                v0_8.close();
            } catch (Throwable v9_11) {
                v0_8.close();
                throw v9_11;
            }
        }
        return v10_4;
    }

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


    public static String a(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];
                    ark>io.fabric.sdk.android.services.common.CommonUtilsark>.a(v0_1, "Failed to close system file reader.");
                } catch (String v7_1) {
                    String[] v2_2 = io.fabric.sdk.android.Fabric.h();
                    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;
                ark>io.fabric.sdk.android.services.common.CommonUtilsark>.a(v0_1, "Failed to close system file reader.");
                throw v6_1;
            } catch (String v7_1) {
                v0_1 = 0;
            } catch (String v6_1) {
            }
        }
        return v1;
    }

Method com.newrelic.agent.android.util.PersistentUUID.getUUIDFromFileStore() calling method java.io.FileReader.<init>()


    protected String getUUIDFromFileStore()
    {
        String v0_0 = "";
        if (com.newrelic.agent.android.util.PersistentUUID.UUID_FILE.exists()) {
            try {
                com.newrelic.agent.android.logging.AgentLog v2_0 = new java.io.BufferedReader(new java.io.FileReader(com.newrelic.agent.android.util.PersistentUUID.UUID_FILE));
                try {
                    String v1_8 = new org.json.JSONObject(v2_0.readLine()).getString("nr_uuid");
                } catch (String v1_4) {
                    com.newrelic.agent.android.util.PersistentUUID.log.error(v1_4.getMessage());
                    if (v2_0 != null) {
                        v2_0.close();
                    }
                } catch (String v1_3) {
                    com.newrelic.agent.android.util.PersistentUUID.log.error(v1_3.getMessage());
                    if (v2_0 != null) {
                        v2_0.close();
                    }
                } catch (String v1_2) {
                    com.newrelic.agent.android.util.PersistentUUID.log.error(v1_2.getMessage());
                    if (v2_0 != null) {
                        v2_0.close();
                    }
                } catch (String v1_1) {
                    com.newrelic.agent.android.util.PersistentUUID.log.error(v1_1.getMessage());
                    if (v2_0 != null) {
                        v2_0.close();
                    }
                }
                if (v2_0 != null) {
                    try {
                        v2_0.close();
                    } catch (String v0_2) {
                        com.newrelic.agent.android.util.PersistentUUID.log.error(v0_2.getMessage());
                    }
                }
                v0_0 = v1_8;
            } catch (String v0_1) {
                v2_0 = 0;
                if (v2_0 != null) {
                    try {
                        v2_0.close();
                    } catch (String v1_16) {
                        com.newrelic.agent.android.util.PersistentUUID.log.error(v1_16.getMessage());
                    }
                }
                throw v0_1;
            } catch (com.newrelic.agent.android.logging.AgentLog v2_4) {
                v2_0 = 0;
                v1_4 = v2_4;
            } catch (com.newrelic.agent.android.logging.AgentLog v2_3) {
                v2_0 = 0;
                v1_3 = v2_3;
            } catch (com.newrelic.agent.android.logging.AgentLog v2_2) {
                v2_0 = 0;
                v1_2 = v2_2;
            } catch (com.newrelic.agent.android.logging.AgentLog v2_1) {
                v2_0 = 0;
                v1_1 = v2_1;
            } catch (String v0_1) {
            } catch (String v1_14) {
                com.newrelic.agent.android.util.PersistentUUID.log.error(v1_14.getMessage());
            }
        }
        return v0_0;
    }

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


    ExoSoSource$ExoUnpacker(com.facebook.soloader.ExoSoSource p19)
    {
        this.this$0 = p19;
        RuntimeException v2_11 = p19.mContext;
        String v4_4 = new StringBuilder();
        v4_4.append("/data/local/tmp/exopackage/");
        v4_4.append(v2_11.getPackageName());
        v4_4.append("/native-libs/");
        String v3_2 = new java.io.File(v4_4.toString());
        RuntimeException v2_8 = new java.util.ArrayList();
        String v4_2 = com.facebook.soloader.SysUtil.getSupportedAbis();
        int v5_0 = v4_2.length;
        String v6_0 = 0;
        int v7 = 0;
        while (v7 < v5_0) {
            java.io.File v9_1 = new java.io.File(v3_2, v4_2[v7]);
            if (v9_1.isDirectory()) {
                com.facebook.soloader.ExoSoSource$FileDso v8_5 = new java.io.File(v9_1, "metadata.txt");
                if (v8_5.isFile()) {
                    java.io.FileReader v10_3 = new java.io.FileReader(v8_5);
                    try {
                        java.io.BufferedReader v11_1 = new java.io.BufferedReader(v10_3);
                        try {
                            while(true) {
                                java.io.File v12_0 = v11_1.readLine();
                                v6_0 = 0;
                            }
                            if (v11_1 != null) {
                                v11_1.close();
                            }
                            if (v10_3 != null) {
                                v10_3.close();
                            }
                        } catch (Throwable v0_2) {
                            RuntimeException v2_3 = v0_2;
                            com.facebook.soloader.ExoSoSource$FileDso v8_0 = 0;
                            if (v11_1 != null) {
                                if (v8_0 == null) {
                                    v11_1.close();
                                } else {
                                    try {
                                        v11_1.close();
                                    } catch (Throwable v0_3) {
                                        v8_0.addSuppressed(v0_3);
                                    }
                                }
                            }
                            throw v2_3;
                        } catch (Throwable v0_0) {
                            v8_0 = v0_0;
                            try {
                                throw v8_0;
                            } catch (Throwable v0_1) {
                                v2_3 = v0_1;
                            }
                        }
                        if (v12_0 == null) {
                        } else {
                            if (v12_0.length() != 0) {
                                int v13_2 = v12_0.indexOf(32);
                                if (v13_2 != -1) {
                                    String v14_2 = new StringBuilder();
                                    v14_2.append(v12_0.substring(v6_0, v13_2));
                                    v14_2.append(".so");
                                    String v14_3 = v14_2.toString();
                                    int v15_2 = v2_8.size();
                                    while (v6_0 < v15_2) {
                                        if (!((com.facebook.soloader.ExoSoSource$FileDso) v2_8.get(v6_0)).name.equals(v14_3)) {
                                            v6_0++;
                                        } else {
                                            String v6_1 = 1;
                                        }
                                        if (v6_1 == null) {
                                            String v6_2 = v12_0.substring((v13_2 + 1));
                                            v2_8.add(new com.facebook.soloader.ExoSoSource$FileDso(v14_3, v6_2, new java.io.File(v9_1, v6_2)));
                                        }
                                    }
                                    v6_1 = 0;
                                } else {
                                    String v3_0 = new StringBuilder();
                                    v3_0.append("illegal line in exopackage metadata: [");
                                    v3_0.append(v12_0);
                                    v3_0.append("]");
                                    throw new RuntimeException(v3_0.toString());
                                }
                            } else {
                            }
                        }
                    } catch (Throwable v0_6) {
                        RuntimeException v2_4 = v0_6;
                        com.facebook.soloader.ExoSoSource$FileDso v8_1 = 0;
                        if (v10_3 != null) {
                            if (v8_1 == null) {
                                v10_3.close();
                            } else {
                                try {
                                    v10_3.close();
                                } catch (Throwable v0_7) {
                                    v8_1.addSuppressed(v0_7);
                                }
                            }
                        }
                        throw v2_4;
                    } catch (Throwable v0_4) {
                        v8_1 = v0_4;
                        try {
                            throw v8_1;
                        } catch (Throwable v0_5) {
                            v2_4 = v0_5;
                        }
                    }
                }
            }
            v7++;
            v6_0 = 0;
        }
        String v3_4 = new com.facebook.soloader.ExoSoSource$FileDso[v2_8.size()];
        this.mDsos = ((com.facebook.soloader.ExoSoSource$FileDso[]) v2_8.toArray(v3_4));
        return;
    }

Method com.j256.ormlite.android.apptools.OrmLiteConfigUtil.getPackageOfClass() calling method java.io.FileReader.<init>()


    private static String getPackageOfClass(java.io.File p4)
    {
        java.io.BufferedReader v0_1 = new java.io.BufferedReader(new java.io.FileReader(p4));
        try {
            do {
                String v4_5 = v0_1.readLine();
            } while((String v4_1.length <= 1) || (!v4_1[0].equals("package")));
            String v4_3 = v4_1[1];
            v0_1.close();
            return v4_3;
        } catch (String v4_2) {
            v0_1.close();
            throw v4_2;
        }
        if (v4_5 != null) {
            if (v4_5.contains("package")) {
                v4_1 = v4_5.split("[ \t;]");
                if ((v4_1.length > 1) && (v4_1[0].equals("package"))) {
                }
            }
        } else {
            v0_1.close();
            return 0;
        }
        v4_3 = v4_1[1];
        v0_1.close();
        return v4_3;
    }

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

Couldn't retrieve source code

Method com.coupa.android.coupamobile.core.utils.AdvListInstance.readListFromFile() calling method java.io.FileReader.<init>()


    public static void readListFromFile()
    {
        String v0_0 = android.os.Environment.getExternalStorageDirectory();
        java.io.BufferedReader v2_4 = new StringBuilder();
        v2_4.append(v0_0.getAbsolutePath());
        v2_4.append("/.coupa");
        int v1_0 = new java.io.File(v2_4.toString());
        if (v1_0.exists()) {
            String v0_4 = new java.io.File(v1_0, "_adv_instance_list.txt");
            com.coupa.android.coupamobile.core.utils.AdvListInstance.instanceList = new java.util.ArrayList();
            if (v0_4.exists()) {
                new StringBuilder();
                try {
                    java.io.BufferedReader v2_3 = new java.io.BufferedReader(new java.io.FileReader(v0_4));
                } catch (String v0_7) {
                    com.coupa.android.coupamobile.core.utils.AdvListInstance.iDebugStop = 90;
                    throw v0_7;
                } catch (String v0_6) {
                    v0_6.printStackTrace();
                    com.coupa.android.coupamobile.core.utils.AdvListInstance.iDebugStop = 90;
                }
                while(true) {
                    String v0_5 = v2_3.readLine();
                    if (v0_5 == null) {
                        break;
                    }
                    com.coupa.android.coupamobile.core.utils.AdvListInstance.instanceList.add(v0_5);
                }
                v2_3.close();
            }
        } else {
            com.coupa.android.coupamobile.core.utils.AdvListInstance.instanceList = new java.util.ArrayList();
        }
        return;
    }

Method com.rnfs.RNFSManager.unlink() calling method java.io.File.<init>()


    public void unlink(String p3, com.facebook.react.bridge.Promise p4)
    {
        try {
            int v0_1 = new java.io.File(p3);
        } catch (int v0_3) {
            v0_3.printStackTrace();
            this.reject(p4, p3, v0_3);
            return;
        }
        if (v0_1.exists()) {
            this.DeleteRecursive(v0_1);
            p4.a(0);
            return;
        } else {
            throw new Exception("File does not exist");
        }
    }

Method com.rnfs.RNFSManager.touch() calling method java.io.File.<init>()


    public void touch(String p1, double p2, double p4, com.facebook.react.bridge.Promise p6)
    {
        try {
            p6.a(Boolean.valueOf(new java.io.File(p1).setLastModified(((long) p2))));
        } catch (Exception v2_4) {
            v2_4.printStackTrace();
            this.reject(p6, p1, v2_4);
        }
        return;
    }

Method com.rnfs.RNFSManager.stat() calling method java.io.File.<init>()


    public void stat(String p8, com.facebook.react.bridge.Promise p9)
    {
        try {
            boolean v0_1 = new java.io.File(p8);
        } catch (boolean v0_5) {
            v0_5.printStackTrace();
            this.reject(p9, p8, v0_5);
            return;
        }
        if (v0_1.exists()) {
            com.facebook.react.bridge.WritableMap v1_2 = com.facebook.react.bridge.Arguments.b();
            v1_2.putInt("ctime", ((int) (v0_1.lastModified() / 1000)));
            v1_2.putInt("mtime", ((int) (v0_1.lastModified() / 1000)));
            v1_2.putInt("size", ((int) v0_1.length()));
            v1_2.putInt("type", v0_1.isDirectory());
            p9.a(v1_2);
            return;
        } else {
            throw new Exception("File does not exist");
        }
    }

Method com.rnfs.RNFSManager.readFile() calling method java.io.File.<init>()


    public void readFile(String p5, com.facebook.react.bridge.Promise p6)
    {
        try {
            String v0_1 = new java.io.File(p5);
        } catch (String v0_5) {
            v0_5.printStackTrace();
            this.reject(p6, p5, v0_5);
            return;
        }
        if (!v0_1.isDirectory()) {
            if (v0_1.exists()) {
                String v0_3 = new byte[((int) v0_1.length())];
                new java.io.FileInputStream(p5).read(v0_3);
                p6.a(android.util.Base64.encodeToString(v0_3, 2));
                return;
            } else {
                this.rejectFileNotFound(p6, p5);
                return;
            }
        } else {
            this.rejectFileIsDirectory(p6);
            return;
        }
    }

Method com.rnfs.RNFSManager.readDir() calling method java.io.File.<init>()


    public void readDir(String p10, com.facebook.react.bridge.Promise p11)
    {
        try {
            java.io.File[] v0_1 = new java.io.File(p10);
        } catch (java.io.File[] v0_4) {
            v0_4.printStackTrace();
            this.reject(p11, p10, v0_4);
            return;
        }
        if (v0_1.exists()) {
            java.io.File[] v0_5 = v0_1.listFiles();
            com.facebook.react.bridge.WritableArray v1_2 = com.facebook.react.bridge.Arguments.a();
            int v2 = v0_5.length;
            int v3 = 0;
            while (v3 < v2) {
                boolean v4_0 = v0_5[v3];
                com.facebook.react.bridge.WritableMap v5 = com.facebook.react.bridge.Arguments.b();
                v5.putInt("mtime", ((int) v4_0.lastModified()));
                v5.putString("name", v4_0.getName());
                v5.putString("path", v4_0.getAbsolutePath());
                v5.putInt("size", ((int) v4_0.length()));
                v5.putInt("type", v4_0.isDirectory());
                v1_2.a(v5);
                v3++;
            }
            p11.a(v1_2);
            return;
        } else {
            throw new Exception("Folder does not exist");
        }
    }

Method com.rnfs.RNFSManager.read() calling method java.io.File.<init>()


    public void read(String p5, int p6, int p7, com.facebook.react.bridge.Promise p8)
    {
        try {
            java.io.FileInputStream v0_1 = new java.io.File(p5);
        } catch (String v6_3) {
            v6_3.printStackTrace();
            this.reject(p8, p5, v6_3);
            return;
        }
        if (!v0_1.isDirectory()) {
            if (v0_1.exists()) {
                java.io.FileInputStream v0_4 = new java.io.FileInputStream(p5);
                byte[] v1_0 = new byte[p6];
                v0_4.skip(((long) p7));
                v0_4.read(v1_0, 0, p6);
                p8.a(android.util.Base64.encodeToString(v1_0, 2));
                return;
            } else {
                this.rejectFileNotFound(p8, p5);
                return;
            }
        } else {
            this.rejectFileIsDirectory(p8);
            return;
        }
    }

Method com.rnfs.RNFSManager.moveFile() calling method java.io.File.<init>()


    public void moveFile(String p3, String p4, com.facebook.react.bridge.Promise p5)
    {
        try {
            java.io.File v0_1 = new java.io.File(p3);
        } catch (Boolean v4_3) {
            v4_3.printStackTrace();
            this.reject(p5, p3, v4_3);
            return;
        }
        if (!v0_1.renameTo(new java.io.File(p4))) {
            this.copyFile(p3, p4);
            v0_1.delete();
        }
        p5.a(Boolean.valueOf(1));
        return;
    }