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.digitalticks.trade.Activities.VerifyIdentityActivity.c() calling method java.io.FileOutputStream.<init>()


    private void c(android.net.Uri p8)
    {
        android.graphics.Bitmap v0_1;
        this.U = 0;
        if (!this.T) {
            v0_1 = android.graphics.BitmapFactory.decodeFile(this.a(p8));
        } else {
            try {
                v0_1 = android.provider.MediaStore$Images$Media.getBitmap(this.getContentResolver(), android.net.Uri.parse(p8.toString()));
            } catch (android.widget.ImageView v8_3) {
                v8_3.printStackTrace();
                android.widget.Toast.makeText(this, "Error in getting image file without crop, please crop the image.", 0).show();
            }
        }
        if (v0_1 == null) {
            android.widget.Toast.makeText(this, "Error in saving Image", 0).show();
        } else {
            try {
                android.widget.ImageView v3_1 = new StringBuilder();
                v3_1.append(android.os.Environment.getExternalStorageDirectory());
                v3_1.append("/DT/images/");
                android.widget.ImageView v3_2 = v3_1.toString();
                String v4_3 = new StringBuilder();
                v4_3.append(String.valueOf(System.currentTimeMillis()));
                v4_3.append(".jpg");
                android.widget.Toast v1_3 = new java.io.File(v3_2, v4_3.toString());
                android.widget.ImageView v3_4 = new java.io.FileOutputStream(v1_3);
                v0_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 75, v3_4);
                v3_4.flush();
                v3_4.close();
            } catch (android.widget.Toast v1_6) {
                v1_6.printStackTrace();
                android.widget.Toast.makeText(this, "Error in saving Image", 0).show();
                this.t.setImageBitmap(v0_1);
            }
            if (!v1_3.exists()) {
                android.widget.Toast.makeText(this, "Error in saving Image", 0).show();
            } else {
                this.U = v1_3.getPath();
                android.util.Log.d("Imagepath", this.U);
                c.a.a.i.a(this).a(v1_3).a(this.t);
            }
        }
        return;
    }

Method d.a.a.a.a.d.i.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 pl.droidsonroids.gif.q.b() calling method java.io.FileOutputStream.<init>()

Couldn't retrieve source code

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


    private void a(byte[] p4, java.io.File p5)
    {
        java.util.zip.GZIPOutputStream v0 = 0;
        try {
            java.util.zip.GZIPOutputStream v1_1 = new java.util.zip.GZIPOutputStream(new java.io.FileOutputStream(p5));
            try {
                v1_1.write(p4);
                v1_1.finish();
                d.a.a.a.a.b.o.a(v1_1);
                return;
            } catch (Throwable v4_1) {
                v0 = v1_1;
                d.a.a.a.a.b.o.a(v0);
                throw v4_1;
            }
        } catch (Throwable v4_1) {
        }
        v1_1.write(p4);
        v1_1.finish();
        d.a.a.a.a.b.o.a(v1_1);
        return;
    }

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


    private void a(String p8, String p9, com.crashlytics.android.c.ba p10)
    {
        java.io.FileOutputStream v2 = 0;
        try {
            java.io.File v5 = this.d();
            StringBuilder v6_1 = new StringBuilder();
            v6_1.append(p8);
            v6_1.append(p9);
            java.io.FileOutputStream v3_0 = new java.io.FileOutputStream(new java.io.File(v5, v6_1.toString()));
            try {
                p10.a(v3_0);
                Throwable v8_4 = new StringBuilder();
                v8_4.append("Failed to close ");
                v8_4.append(p9);
                v8_4.append(" file.");
                d.a.a.a.a.b.o.a(v3_0, v8_4.toString());
                return;
            } catch (Throwable v8_2) {
                v2 = v3_0;
                StringBuilder v10_2 = new StringBuilder();
                v10_2.append("Failed to close ");
                v10_2.append(p9);
                v10_2.append(" file.");
                d.a.a.a.a.b.o.a(v2, v10_2.toString());
                throw v8_2;
            }
        } catch (Throwable v8_2) {
        }
        p10.a(v3_0);
        v8_4 = new StringBuilder();
        v8_4.append("Failed to close ");
        v8_4.append(p9);
        v8_4.append(" file.");
        d.a.a.a.a.b.o.a(v3_0, v8_4.toString());
        return;
    }

Method com.crashlytics.android.c.h.<init>() calling method java.io.FileOutputStream.<init>()


    public h(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.crashlytics.android.c.Ra.a() calling method java.io.FileOutputStream.<init>()


    public void a(String p6, com.crashlytics.android.c.sb p7)
    {
        Exception v6_3 = this.b(p6);
        String v1 = 0;
        try {
            d.a.a.a.t v7_2 = ark>com.crashlytics.android.c.Raark>.a(p7);
            String v2_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v6_3), ark>com.crashlytics.android.c.Raark>.a));
            try {
                v2_0.write(v7_2);
                v2_0.flush();
                d.a.a.a.a.b.o.a(v2_0, "Failed to close user metadata file.");
            } catch (Exception v6_4) {
                v1 = v2_0;
                d.a.a.a.a.b.o.a(v1, "Failed to close user metadata file.");
                throw v6_4;
            } catch (Exception v6_2) {
                v1 = v2_0;
                d.a.a.a.i.e().b("CrashlyticsCore", "Error serializing user metadata.", v6_2);
                d.a.a.a.a.b.o.a(v1, "Failed to close user metadata file.");
            }
            return;
        } catch (Exception v6_4) {
        } catch (Exception v6_2) {
        }
    }

Method c.a.a.d.b.b.a() calling method java.io.FileOutputStream.<init>()


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

Method c.a.a.a.e.p() calling method java.io.FileOutputStream.<init>()


    private declared_synchronized void p()
    {
        try {
            if (this.i != null) {
                this.i.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.c), c.a.a.a.h.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.e));
            v0_2.write("\n");
            v0_2.write(Integer.toString(this.g));
            v0_2.write("\n");
            v0_2.write("\n");
            java.nio.charset.Charset v1_14 = this.j.values().iterator();
        } catch (java.nio.charset.Charset v1_18) {
            v0_2.close();
            throw v1_18;
        }
        while (v1_14.hasNext()) {
            java.io.OutputStreamWriter v2_10;
            java.io.OutputStreamWriter v2_7 = ((c.a.a.a.c) v1_14.next());
            if (c.a.a.a.c.e(v2_7) == null) {
                java.io.FileOutputStream v3_6 = new StringBuilder();
                v3_6.append("CLEAN ");
                v3_6.append(c.a.a.a.c.b(v2_7));
                v3_6.append(v2_7.a());
                v3_6.append(10);
                v2_10 = v3_6.toString();
            } else {
                java.io.FileOutputStream v3_8 = new StringBuilder();
                v3_8.append("DIRTY ");
                v3_8.append(c.a.a.a.c.b(v2_7));
                v3_8.append(10);
                v2_10 = v3_8.toString();
            }
            v0_2.write(v2_10);
        }
        v0_2.close();
        if (this.b.exists()) {
            c.a.a.a.e.a(this.b, this.d, 1);
        }
        c.a.a.a.e.a(this.c, this.b, 0);
        this.d.delete();
        this.i = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.b, 1), c.a.a.a.h.a));
        return;
    }

Method c.a.a.a.e.o() calling method java.io.FileOutputStream.<init>()


    private void o()
    {
        c.a.a.a.g v1_1 = new c.a.a.a.g(new java.io.FileInputStream(this.b), c.a.a.a.h.a);
        try {
            java.io.OutputStreamWriter v2_7 = v1_1.l();
            java.io.FileOutputStream v3_0 = v1_1.l();
            java.nio.charset.Charset v4_0 = v1_1.l();
            int v5_0 = v1_1.l();
            String v6 = v1_1.l();
        } catch (java.io.BufferedWriter v0_8) {
            c.a.a.a.h.a(v1_1);
            throw v0_8;
        }
        if ((!"libcore.io.DiskLruCache".equals(v2_7)) || ((!"1".equals(v3_0)) || ((!Integer.toString(this.e).equals(v4_0)) || ((!Integer.toString(this.g).equals(v5_0)) || (!"".equals(v6)))))) {
            String v7_7 = new StringBuilder();
            v7_7.append("unexpected journal header: [");
            v7_7.append(v2_7);
            v7_7.append(", ");
            v7_7.append(v3_0);
            v7_7.append(", ");
            v7_7.append(v5_0);
            v7_7.append(", ");
            v7_7.append(v6);
            v7_7.append("]");
            throw new java.io.IOException(v7_7.toString());
        } else {
            java.io.BufferedWriter v0_3 = 0;
            while(true) {
                this.e(v1_1.l());
                v0_3++;
            }
        }
    }

Method a.b.f.b.n.a() calling method java.io.FileOutputStream.<init>()


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

Method d.a.a.a.a.g.j.a() calling method java.io.FileWriter.<init>()


    public void a(long p6, org.json.JSONObject p8)
    {
        d.a.a.a.i.e().d("Fabric", "Writing settings to cache file...");
        if (p8 != null) {
            d.a.a.a.t v1_1 = 0;
            try {
                p8.put("expires_at", p6);
                d.a.a.a.t v6_2 = new java.io.FileWriter(new java.io.File(new d.a.a.a.a.f.b(this.a).a(), "com.crashlytics.settings.json"));
                try {
                    v6_2.write(p8.toString());
                    v6_2.flush();
                    d.a.a.a.a.b.o.a(v6_2, "Failed to close settings writer.");
                } catch (Exception v7_4) {
                    v1_1 = v6_2;
                    d.a.a.a.a.b.o.a(v1_1, "Failed to close settings writer.");
                    throw v7_4;
                } catch (Exception v7_2) {
                    v1_1 = v6_2;
                    d.a.a.a.i.e().b("Fabric", "Failed to cache settings", v7_2);
                    d.a.a.a.a.b.o.a(v1_1, "Failed to close settings writer.");
                }
            } catch (Exception v7_4) {
            } catch (Exception v7_2) {
            }
        }
        return;
    }

Method g.a.a.c.c.b.a() calling method java.io.FileInputStream.<init>()


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

Method d.a.a.a.a.g.j.a() calling method java.io.FileInputStream.<init>()


    public org.json.JSONObject a()
    {
        d.a.a.a.i.e().d("Fabric", "Reading cached settings...");
        String v1_1 = 0;
        try {
            org.json.JSONObject v5_1;
            Exception v3_0 = new java.io.File(new d.a.a.a.a.f.b(this.a).a(), "com.crashlytics.settings.json");
        } catch (Throwable v2_0) {
            d.a.a.a.a.b.o.a(v1_1, "Error while closing settings cache file.");
            throw v2_0;
        } catch (Exception v3_2) {
            String v4_5 = 0;
            d.a.a.a.i.e().b("Fabric", "Failed to fetch cached settings", v3_2);
            d.a.a.a.a.b.o.a(v4_5, "Error while closing settings cache file.");
            return v1_1;
        } catch (String v1_2) {
            v2_0 = v1_2;
            v1_1 = v4_5;
        }
        if (!v3_0.exists()) {
            d.a.a.a.i.e().d("Fabric", "No cached settings found.");
            v5_1 = 0;
        } else {
            v4_5 = new java.io.FileInputStream(v3_0);
            try {
                v5_1 = new org.json.JSONObject(d.a.a.a.a.b.o.b(v4_5));
                v1_1 = v4_5;
            } catch (Exception v3_2) {
            }
        }
        d.a.a.a.a.b.o.a(v1_1, "Error while closing settings cache file.");
        v1_1 = v5_1;
        return v1_1;
    }

Method d.a.a.a.a.d.j.a() calling method java.io.FileInputStream.<init>()


    private void a(java.io.File p5, java.io.File p6)
    {
        java.io.OutputStream v2 = 0;
        try {
            int v3_1 = new java.io.FileInputStream(p5);
            try {
                v2 = this.a(p6);
                Throwable v6_1 = new byte[1024];
                d.a.a.a.a.b.o.a(v3_1, v2, v6_1);
                d.a.a.a.a.b.o.a(v3_1, "Failed to close file input stream");
                d.a.a.a.a.b.o.a(v2, "Failed to close output stream");
                p5.delete();
                return;
            } catch (Throwable v6_2) {
                d.a.a.a.a.b.o.a(v3_1, "Failed to close file input stream");
                d.a.a.a.a.b.o.a(v2, "Failed to close output stream");
                p5.delete();
                throw v6_2;
            }
        } catch (Throwable v6_2) {
            v3_1 = 0;
        }
        v2 = this.a(p6);
        v6_1 = new byte[1024];
        d.a.a.a.a.b.o.a(v3_1, v2, v6_1);
        d.a.a.a.a.b.o.a(v3_1, "Failed to close file input stream");
        d.a.a.a.a.b.o.a(v2, "Failed to close output stream");
        p5.delete();
        return;
    }

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


    private static String a(String p3)
    {
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p3));
            try {
                Throwable v3_2 = d.a.a.a.a.b.o.a(v1_1);
                d.a.a.a.a.b.o.a(v1_1);
                return v3_2;
            } catch (Throwable v3_1) {
                v0 = v1_1;
                d.a.a.a.a.b.o.a(v0);
                throw v3_1;
            }
        } catch (Throwable v3_1) {
        }
        v3_2 = d.a.a.a.a.b.o.a(v1_1);
        d.a.a.a.a.b.o.a(v1_1);
        return v3_2;
    }

Method a.b.f.b.f.a() calling method java.io.FileInputStream.<init>()


    public android.graphics.Typeface a(android.content.Context p5, android.os.CancellationSignal p6, a.b.f.f.g[] p7, int p8)
    {
        if (p7.length >= 1) {
            try {
                android.os.ParcelFileDescriptor v6_1 = p5.getContentResolver().openFileDescriptor(this.a(p7, p8).c(), "r", p6);
                try {
                    android.graphics.Typeface v7_1 = this.a(v6_1);
                } catch (Throwable v5_6) {
                    android.graphics.Typeface v7_5 = 0;
                    if (v6_1 != null) {
                        if (v7_5 == null) {
                            v6_1.close();
                        } else {
                            v6_1.close();
                        }
                    }
                    throw v5_6;
                } catch (Throwable v5_5) {
                    try {
                        throw v5_5;
                    } catch (android.graphics.Typeface v7_4) {
                        v7_5 = v5_5;
                        v5_6 = v7_4;
                    }
                }
                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 {
                    }
                }
                android.graphics.Typeface 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 (v8_4 == null) {
                        v7_3.close();
                    } else {
                        v7_3.close();
                    }
                    throw v5_4;
                } catch (Throwable v5_3) {
                    try {
                        throw v5_3;
                    } catch (Throwable v8_3) {
                        v8_4 = v5_3;
                        v5_4 = v8_3;
                    }
                }
                v7_3.close();
                if (v6_1 != null) {
                    v6_1.close();
                }
                return v5_2;
            } catch (java.io.IOException) {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method f.u.a() calling method java.io.FileInputStream.<init>()


    public static f.D a(java.io.File p1)
    {
        if (p1 == null) {
            throw new IllegalArgumentException("file == null");
        } else {
            return ark>f.uark>.a(new java.io.FileInputStream(p1));
        }
    }

Method d.a.a.a.a.e.l.a() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

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


    private final com.google.firebase.iid.ea a(java.io.File p10)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p10);
        Throwable v10_1 = 0;
        try {
            java.nio.channels.FileChannel v7 = v0_1.getChannel();
            try {
                v7.lock(0, nan, 1);
                Throwable v1_0 = ark>com.google.firebase.iid.daark>.a(v7);
            } catch (Throwable v1_2) {
                Throwable v2_1 = 0;
                if (v7 != null) {
                    ark>com.google.firebase.iid.daark>.a(v2_1, v7);
                }
                throw v1_2;
            } catch (Throwable v1_1) {
                try {
                    throw v1_1;
                } catch (Throwable v2_0) {
                    v2_1 = v1_1;
                    v1_2 = v2_0;
                }
            }
            if (v7 != null) {
                ark>com.google.firebase.iid.daark>.a(0, v7);
            }
            ark>com.google.firebase.iid.daark>.a(0, v0_1);
            return v1_0;
        } catch (Throwable v1_3) {
            ark>com.google.firebase.iid.daark>.a(v10_1, v0_1);
            throw v1_3;
        } catch (Throwable v10_1) {
            throw v10_1;
        }
    }

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


    private static void a(com.crashlytics.android.c.j p4, java.io.File p5)
    {
        if (p5.exists()) {
            try {
                int v1_3 = new java.io.FileInputStream(p5);
                try {
                    ark>com.crashlytics.android.c.laark>.a(v1_3, p4, ((int) p5.length()));
                    d.a.a.a.a.b.o.a(v1_3, "Failed to close file input stream.");
                    return;
                } catch (Throwable v4_1) {
                    d.a.a.a.a.b.o.a(v1_3, "Failed to close file input stream.");
                    throw v4_1;
                }
            } catch (Throwable v4_1) {
                v1_3 = 0;
            }
            ark>com.crashlytics.android.c.laark>.a(v1_3, p4, ((int) p5.length()));
            d.a.a.a.a.b.o.a(v1_3, "Failed to close file input stream.");
            return;
        } else {
            Throwable v4_2 = d.a.a.a.i.e();
            String v0_2 = new StringBuilder();
            v0_2.append("Tried to include a file that doesn\'t exist: ");
            v0_2.append(p5.getName());
            v4_2.b("CrashlyticsCore", v0_2.toString(), 0);
            return;
        }
    }

Method com.crashlytics.android.c.Va.c() calling method java.io.FileInputStream.<init>()

Couldn't retrieve source code

Method com.crashlytics.android.c.Ra.c() calling method java.io.FileInputStream.<init>()


    public com.crashlytics.android.c.sb c(String p6)
    {
        Exception v6_4 = this.b(p6);
        if (v6_4.exists()) {
            d.a.a.a.t v1_0 = 0;
            try {
                d.a.a.a.t v2_2 = new java.io.FileInputStream(v6_4);
                try {
                    Exception v6_2 = com.crashlytics.android.c.Ra.d(d.a.a.a.a.b.o.b(v2_2));
                    d.a.a.a.a.b.o.a(v2_2, "Failed to close user metadata file.");
                    return v6_2;
                } catch (Exception v6_6) {
                    v1_0 = v2_2;
                    d.a.a.a.a.b.o.a(v1_0, "Failed to close user metadata file.");
                    throw v6_6;
                } catch (Exception v6_3) {
                    v1_0 = v2_2;
                    d.a.a.a.i.e().b("CrashlyticsCore", "Error deserializing user metadata.", v6_3);
                    d.a.a.a.a.b.o.a(v1_0, "Failed to close user metadata file.");
                    return com.crashlytics.android.c.sb.a;
                }
            } catch (Exception v6_6) {
            } catch (Exception v6_3) {
                d.a.a.a.i.e().b("CrashlyticsCore", "Error deserializing user metadata.", v6_3);
                d.a.a.a.a.b.o.a(v1_0, "Failed to close user metadata file.");
                return com.crashlytics.android.c.sb.a;
            }
            v6_2 = com.crashlytics.android.c.Ra.d(d.a.a.a.a.b.o.b(v2_2));
            d.a.a.a.a.b.o.a(v2_2, "Failed to close user metadata file.");
            return v6_2;
        } else {
            return com.crashlytics.android.c.sb.a;
        }
    }

Method c.a.a.d.d.c.c.a() calling method java.io.FileInputStream.<init>()


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

Method c.a.a.a.e.o() calling method java.io.FileInputStream.<init>()


    private void o()
    {
        c.a.a.a.g v1_1 = new c.a.a.a.g(new java.io.FileInputStream(this.b), c.a.a.a.h.a);
        try {
            java.io.OutputStreamWriter v2_7 = v1_1.l();
            java.io.FileOutputStream v3_0 = v1_1.l();
            java.nio.charset.Charset v4_0 = v1_1.l();
            int v5_0 = v1_1.l();
            String v6 = v1_1.l();
        } catch (java.io.BufferedWriter v0_8) {
            c.a.a.a.h.a(v1_1);
            throw v0_8;
        }
        if ((!"libcore.io.DiskLruCache".equals(v2_7)) || ((!"1".equals(v3_0)) || ((!Integer.toString(this.e).equals(v4_0)) || ((!Integer.toString(this.g).equals(v5_0)) || (!"".equals(v6)))))) {
            String v7_7 = new StringBuilder();
            v7_7.append("unexpected journal header: [");
            v7_7.append(v2_7);
            v7_7.append(", ");
            v7_7.append(v3_0);
            v7_7.append(", ");
            v7_7.append(v5_0);
            v7_7.append(", ");
            v7_7.append(v6);
            v7_7.append("]");
            throw new java.io.IOException(v7_7.toString());
        } else {
            java.io.BufferedWriter v0_3 = 0;
            while(true) {
                this.e(v1_1.l());
                v0_3++;
            }
        }
    }

Method a.b.f.b.n.a() calling method java.io.FileInputStream.<init>()


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

Method a.b.f.b.n.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 {
            android.os.ParcelFileDescriptor v8_2 = p8.getContentResolver().openFileDescriptor(p10, "r", p9);
        } catch (java.io.IOException) {
            return 0;
        }
        if (v8_2 != null) {
            try {
                Throwable v9_1 = new java.io.FileInputStream(v8_2.getFileDescriptor());
                try {
                    Throwable v1_0 = v9_1.getChannel();
                    Throwable v10_1 = v1_0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v1_0.size());
                } catch (Throwable v10_3) {
                    Throwable v1_2 = 0;
                    if (v1_2 == null) {
                        v9_1.close();
                    } else {
                        v9_1.close();
                    }
                    throw v10_3;
                } catch (Throwable v10_2) {
                    try {
                        throw v10_2;
                    } catch (Throwable v1_1) {
                        v1_2 = v10_2;
                        v10_3 = v1_1;
                    }
                }
                v9_1.close();
                if (v8_2 != null) {
                    v8_2.close();
                }
                return v10_1;
            } catch (Throwable v9_3) {
                Throwable v10_5 = 0;
                if (v8_2 != null) {
                    if (v10_5 == null) {
                        v8_2.close();
                    } else {
                        v8_2.close();
                    }
                }
                throw v9_3;
            } catch (Throwable v9_2) {
                try {
                    throw v9_2;
                } catch (Throwable v10_4) {
                    v10_5 = v9_2;
                    v9_3 = v10_4;
                }
            }
        } else {
            if (v8_2 != null) {
                v8_2.close();
            }
            return 0;
        }
    }

Method d.a.a.a.a.b.o.a() calling method java.io.FileReader.<init>()


    public static String a(java.io.File p7, String p8)
    {
        String v2 = 0;
        if (p7.exists()) {
            try {
                int v1_0 = new java.io.BufferedReader(new java.io.FileReader(p7), 1024);
                try {
                    do {
                        String[] v3_0 = v1_0.readLine();
                    } while((String[] v3_1.length <= 1) || (!v3_1[0].equals(p8)));
                    v2 = v3_1[1];
                    ark>d.a.a.a.a.b.oark>.a(v1_0, "Failed to close system file reader.");
                } catch (Exception v8_1) {
                    String[] v3_2 = d.a.a.a.i.e();
                    int v5_3 = new StringBuilder();
                    v5_3.append("Error parsing ");
                    v5_3.append(p7);
                    v3_2.b("Fabric", v5_3.toString(), v8_1);
                }
                if (v3_0 == null) {
                } else {
                    v3_1 = java.util.regex.Pattern.compile("\\s*:\\s*").split(v3_0, 2);
                    if ((v3_1.length > 1) && (v3_1[0].equals(p8))) {
                    }
                }
            } catch (String v7_1) {
                v1_0 = 0;
                ark>d.a.a.a.a.b.oark>.a(v1_0, "Failed to close system file reader.");
                throw v7_1;
            } catch (Exception v8_1) {
                v1_0 = 0;
            } catch (String v7_1) {
            }
        }
        return v2;
    }

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


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

Method com.crashlytics.android.c.Va.c() calling method java.io.FileReader.<init>()


    private static byte[] c(java.io.File p3, android.content.Context p4)
    {
        if (p3.exists()) {
            try {
                int v0_2 = new java.io.BufferedReader(new java.io.FileReader(p3));
                try {
                    Throwable v3_3 = new com.crashlytics.android.c.d(p4, new com.crashlytics.android.c.ob()).a(v0_2);
                    d.a.a.a.a.b.o.a(v0_2);
                    return v3_3;
                } catch (Throwable v3_4) {
                    d.a.a.a.a.b.o.a(v0_2);
                    throw v3_4;
                }
            } catch (Throwable v3_4) {
                v0_2 = 0;
            }
            v3_3 = new com.crashlytics.android.c.d(p4, new com.crashlytics.android.c.ob()).a(v0_2);
            d.a.a.a.a.b.o.a(v0_2);
            return v3_3;
        } else {
            return 0;
        }
    }

Method g.a.a.c.c.c.e() calling method java.io.File.<init>()


    protected declared_synchronized void e()
    {
        try {
            super.e();
            this.o = 0;
            this.m = 0;
            this.l = 0;
            this.n = 0;
            String v2_0 = this.e;
            String v1_0 = (this.e.indexOf("!/") + 2);
            this.p = v2_0.substring(0, v1_0);
            this.q = this.e.substring(v1_0);
        } catch (java.io.File v0_1) {
            throw v0_1;
        }
        if (this.q.length() == 0) {
            this.q = 0;
        }
        this.l = this.j.getJarFile();
        this.m = new java.io.File(this.l.getName());
        return;
    }

Method com.digitalticks.trade.Activities.VerifyIdentityActivity.c() calling method java.io.File.<init>()


    private void c(android.net.Uri p8)
    {
        android.graphics.Bitmap v0_1;
        this.U = 0;
        if (!this.T) {
            v0_1 = android.graphics.BitmapFactory.decodeFile(this.a(p8));
        } else {
            try {
                v0_1 = android.provider.MediaStore$Images$Media.getBitmap(this.getContentResolver(), android.net.Uri.parse(p8.toString()));
            } catch (android.widget.ImageView v8_3) {
                v8_3.printStackTrace();
                android.widget.Toast.makeText(this, "Error in getting image file without crop, please crop the image.", 0).show();
            }
        }
        if (v0_1 == null) {
            android.widget.Toast.makeText(this, "Error in saving Image", 0).show();
        } else {
            try {
                android.widget.ImageView v3_1 = new StringBuilder();
                v3_1.append(android.os.Environment.getExternalStorageDirectory());
                v3_1.append("/DT/images/");
                android.widget.ImageView v3_2 = v3_1.toString();
                String v4_3 = new StringBuilder();
                v4_3.append(String.valueOf(System.currentTimeMillis()));
                v4_3.append(".jpg");
                android.widget.Toast v1_3 = new java.io.File(v3_2, v4_3.toString());
                android.widget.ImageView v3_4 = new java.io.FileOutputStream(v1_3);
                v0_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 75, v3_4);
                v3_4.flush();
                v3_4.close();
            } catch (android.widget.Toast v1_6) {
                v1_6.printStackTrace();
                android.widget.Toast.makeText(this, "Error in saving Image", 0).show();
                this.t.setImageBitmap(v0_1);
            }
            if (!v1_3.exists()) {
                android.widget.Toast.makeText(this, "Error in saving Image", 0).show();
            } else {
                this.U = v1_3.getPath();
                android.util.Log.d("Imagepath", this.U);
                c.a.a.i.a(this).a(v1_3).a(this.t);
            }
        }
        return;
    }

Method com.digitalticks.trade.Activities.VerifyIdentityActivity.a() calling method java.io.File.<init>()


    private void a(boolean p7)
    {
        String v1_4 = new StringBuilder();
        v1_4.append(android.os.Environment.getExternalStorageDirectory());
        v1_4.append("/DT/Images");
        int v0_1 = new java.io.File(v1_4.toString());
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        android.content.Intent v7_2;
        int v0_5;
        String v1_3 = new StringBuilder();
        v1_3.append(android.os.Environment.getExternalStorageDirectory());
        v1_3.append("/DT/Images");
        String v1_5 = v1_3.toString();
        String v2_1 = new StringBuilder();
        v2_1.append(String.valueOf(System.currentTimeMillis()));
        v2_1.append(".jpg");
        this.R = new java.io.File(v1_5, v2_1.toString());
        if (p7 == null) {
            v7_2 = new android.content.Intent("android.intent.action.PICK", android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI);
            v0_5 = 201;
        } else {
            v7_2 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
            String v1_8 = new StringBuilder();
            v1_8.append(android.os.Environment.getExternalStorageDirectory());
            v1_8.append("/DT/CameraImages/");
            String v1_9 = v1_8.toString();
            String v2_7 = new StringBuilder();
            v2_7.append(String.valueOf(System.currentTimeMillis()));
            v2_7.append(".jpg");
            int v0_8 = new java.io.File(v1_9, v2_7.toString());
            String v1_11 = new StringBuilder();
            v1_11.append(this.getPackageName());
            v1_11.append(".CommonCode.GenericFileProvider");
            this.S = a.b.f.a.d.a(this, v1_11.toString(), v0_8);
            v7_2.putExtra("output", this.S);
            v0_5 = 101;
        }
        this.startActivityForResult(v7_2, v0_5);
        return;
    }

Method com.digitalticks.trade.Activities.VerifyIdentityActivity.a() calling method java.io.File.<init>()


    private void a(boolean p7)
    {
        String v1_4 = new StringBuilder();
        v1_4.append(android.os.Environment.getExternalStorageDirectory());
        v1_4.append("/DT/Images");
        int v0_1 = new java.io.File(v1_4.toString());
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        int v0_5;
        android.content.Intent v7_2;
        String v1_3 = new StringBuilder();
        v1_3.append(android.os.Environment.getExternalStorageDirectory());
        v1_3.append("/DT/Images");
        String v1_5 = v1_3.toString();
        String v2_1 = new StringBuilder();
        v2_1.append(String.valueOf(System.currentTimeMillis()));
        v2_1.append(".jpg");
        this.R = new java.io.File(v1_5, v2_1.toString());
        if (p7 == null) {
            v7_2 = new android.content.Intent("android.intent.action.PICK", android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI);
            v0_5 = 201;
        } else {
            v7_2 = new android.content.Intent("android.media.action.IMAGE_CAPTURE");
            String v1_8 = new StringBuilder();
            v1_8.append(android.os.Environment.getExternalStorageDirectory());
            v1_8.append("/DT/CameraImages/");
            String v1_9 = v1_8.toString();
            String v2_7 = new StringBuilder();
            v2_7.append(String.valueOf(System.currentTimeMillis()));
            v2_7.append(".jpg");
            int v0_8 = new java.io.File(v1_9, v2_7.toString());
            String v1_11 = new StringBuilder();
            v1_11.append(this.getPackageName());
            v1_11.append(".CommonCode.GenericFileProvider");
            this.S = a.b.f.a.d.a(this, v1_11.toString(), v0_8);
            v7_2.putExtra("output", this.S);
            v0_5 = 101;
        }
        this.startActivityForResult(v7_2, v0_5);
        return;
    }

Method com.digitalticks.trade.Activities.VerifyIdentityActivity.a() calling method java.io.File.<init>()


    private e.Q a(String p2, android.net.Uri p3)
    {
        String v0_2 = new java.io.File(p3.getPath());
        return e.Q.a(p2, v0_2.getName(), e.fa.a(e.O.b("image/jpeg"), v0_2));
    }

Method com.digitalticks.trade.Activities.SettingsActivity.a() calling method java.io.File.<init>()


    public static boolean a(java.io.File p5)
    {
        if ((!p5) || (!p5.isDirectory())) {
            if ((!p5) || (!p5.isFile())) {
                return 0;
            } else {
                return p5.delete();
            }
        } else {
            boolean v1_0 = p5.list();
            int v2 = 0;
            while (v2 < v1_0.length) {
                if (ark>com.digitalticks.trade.Activities.SettingsActivityark>.a(new java.io.File(p5, v1_0[v2]))) {
                    v2++;
                } else {
                    return 0;
                }
            }
            return p5.delete();
        }
    }

Method c.c.a.c.c.b.t.b() calling method java.io.File.<init>()


    protected Object b(String p5, c.c.a.c.j p6)
    {
        switch (this.c) {
            case 1:
                return new java.io.File(p5);
            case 2:
                return new java.net.URL(p5);
            case 3:
                return java.net.URI.create(p5);
            case 4:
                try {
                    String v5_1 = p6.c(p5);
                    return v5_1;
                } catch (int v0_1) {
                    return p6.a(this.b, v5_1, c.c.a.c.m.s.a(v0_1));
                }
            case 5:
                return p6.b().c(p5);
            case 6:
                return java.util.Currency.getInstance(p5);
            case 7:
                return java.util.regex.Pattern.compile(p5);
            case 8:
                int v6_12 = this.h(p5);
                if (v6_12 >= 0) {
                    int v0_13 = p5.substring(0, v6_12);
                    String v5_11 = p5.substring((v6_12 + 1));
                    int v6_14 = this.h(v5_11);
                    if (v6_14 >= 0) {
                        return new java.util.Locale(v0_13, v5_11.substring(0, v6_14), v5_11.substring((v6_14 + 1)));
                    } else {
                        return new java.util.Locale(v0_13, v5_11);
                    }
                } else {
                    return new java.util.Locale(p5);
                }
            case 9:
                return java.nio.charset.Charset.forName(p5);
            case 10:
                return java.util.TimeZone.getTimeZone(p5);
            case 11:
                return java.net.InetAddress.getByName(p5);
            case 12:
                if (!p5.startsWith("[")) {
                    int v6_20 = p5.indexOf(58);
                    if (v6_20 >= 0) {
                        int v0_3 = (v6_20 + 1);
                        if (p5.indexOf(58, v0_3) < 0) {
                            return new java.net.InetSocketAddress(p5.substring(0, v6_20), Integer.parseInt(p5.substring(v0_3)));
                        }
                    }
                    return new java.net.InetSocketAddress(p5, 0);
                } else {
                    int v0_7 = p5.lastIndexOf(93);
                    if (v0_7 == -1) {
                        throw new c.c.a.c.d.b(p6.l(), "Bracketed IPv6 address must contain closing bracket", p5, java.net.InetSocketAddress);
                    } else {
                        int v6_9;
                        int v6_8 = p5.indexOf(58, v0_7);
                        if (v6_8 <= -1) {
                            v6_9 = 0;
                        } else {
                            v6_9 = Integer.parseInt(p5.substring((v6_8 + 1)));
                        }
                        return new java.net.InetSocketAddress(p5.substring(0, (v0_7 + 1)), v6_9);
                    }
                }
            default:
                throw new IllegalArgumentException();
        }
    }

Method g.a.a.c.c.b.<init>() calling method java.io.File.<init>()


    public b(java.net.URL p6)
    {
        super(p6, 0);
        super.l = 0;
        super.m = 0;
        try {
            super.k = new java.io.File(new java.net.URI(p6.toString()));
        } catch (String v6_2) {
            throw v6_2;
        } catch (int v1_1) {
            g.a.a.c.c.b.i.b(v1_1);
            try {
                int v1_3 = new StringBuilder();
                v1_3.append("file:");
                v1_3.append(g.a.a.c.r.c(p6.toString().substring(5)));
                String v2_6 = new java.net.URI(v1_3.toString());
            } catch (int v1_10) {
                g.a.a.c.c.b.i.b(v1_10);
                super.c();
                int v1_12 = super.f.getPermission();
                if (v1_12 != 0) {
                    String v6_1 = v1_12.getName();
                } else {
                    v6_1 = p6.getFile();
                }
                super.k = new java.io.File(v6_1);
                String v6_8;
                if (!super.k.isDirectory()) {
                    if (super.e.endsWith("/")) {
                        String v6_7 = super.e;
                        v6_8 = v6_7.substring(0, (v6_7.length() - 1));
                        super.e = v6_8;
                    }
                } else {
                    if (!super.e.endsWith("/")) {
                        String v6_12 = new StringBuilder();
                        v6_12.append(super.e);
                        v6_12.append("/");
                        v6_8 = v6_12.toString();
                    }
                }
                return;
            }
            if (v2_6.getAuthority() != null) {
                StringBuilder v3_2 = new StringBuilder();
                v3_2.append("//");
                v3_2.append(v2_6.getAuthority());
                v3_2.append(g.a.a.c.r.a(p6.getFile()));
                int v1_7 = new java.io.File(v3_2.toString());
            } else {
                v1_7 = new java.io.File(v2_6);
            }
            super.k = v1_7;
        }
    }

Method c.e.a.a.a.e.a.f.a() calling method java.io.File.<init>()


    private void a(android.widget.ImageView p6, android.view.View p7, String p8)
    {
        if ((p6 == null) || ((p7 == null) || (p8 == null))) {
            throw new IllegalStateException();
        } else {
            java.io.File v0_0 = c.e.a.a.a.a.g.a.c.a("preview", new java.io.File(p8));
            c.e.a.a.a.a.b.d.a.b v1_1 = c.e.a.a.a.a.b.d.a.c.a(v0_0.b(), v0_0.c());
            if ((v1_1 == null) || (v1_1 != c.e.a.a.a.a.b.d.a.b.a)) {
                p6.setVisibility(8);
                p7.setVisibility(0);
                c.e.a.a.a.a.b.d.a.c.a(p7, v1_1, v0_0.c());
            } else {
                p6.setVisibility(0);
                p7.setVisibility(8);
                c.e.a.a.a.a.g.l.a(this.ta(), p6, new java.io.File(p8), 0, 0);
            }
            return;
        }
    }

Method g.a.a.c.c.f.a() calling method java.io.File.<init>()


    public static ark>g.a.a.c.c.fark> a(String p3, boolean p4)
    {
        try {
            java.io.File v3_2 = ark>g.a.a.c.c.fark>.a(new java.net.URL(p3));
            return v3_2;
        } catch (java.net.MalformedURLException v0_2) {
            if (!v3_2.startsWith("ftp:")) {
                if (!v3_2.startsWith("file:")) {
                    if (!v3_2.startsWith("jar:")) {
                        try {
                            if (v3_2.startsWith("./")) {
                                v3_2 = v3_2.substring(2);
                            }
                        } catch (java.io.File v3_3) {
                            ark>g.a.a.c.c.fark>.a.b("EXCEPTION ", v3_3);
                            throw v0_2;
                        }
                        java.io.File v3_4 = new java.io.File(v3_2).getCanonicalFile();
                        java.net.URL v1_14 = ark>g.a.a.c.c.fark>.a(v3_4);
                        java.net.URLConnection v2_1 = v1_14.openConnection();
                        v2_1.setUseCaches(p4);
                        return new g.a.a.c.c.b(v1_14, v2_1, v3_4);
                    }
                }
            }
            java.net.URL v1_5 = new StringBuilder();
            v1_5.append("Bad Resource: ");
            v1_5.append(v3_2);
            java.net.URL v1_7 = new Object[0];
            ark>g.a.a.c.c.fark>.a.a(v1_5.toString(), v1_7);
            throw v0_2;
        }
    }

Method d.a.a.a.a.g.j.a() calling method java.io.File.<init>()


    public void a(long p6, org.json.JSONObject p8)
    {
        d.a.a.a.i.e().d("Fabric", "Writing settings to cache file...");
        if (p8 != null) {
            d.a.a.a.t v1_1 = 0;
            try {
                p8.put("expires_at", p6);
                d.a.a.a.t v6_2 = new java.io.FileWriter(new java.io.File(new d.a.a.a.a.f.b(this.a).a(), "com.crashlytics.settings.json"));
                try {
                    v6_2.write(p8.toString());
                    v6_2.flush();
                    d.a.a.a.a.b.o.a(v6_2, "Failed to close settings writer.");
                } catch (Exception v7_4) {
                    v1_1 = v6_2;
                    d.a.a.a.a.b.o.a(v1_1, "Failed to close settings writer.");
                    throw v7_4;
                } catch (Exception v7_2) {
                    v1_1 = v6_2;
                    d.a.a.a.i.e().b("Fabric", "Failed to cache settings", v7_2);
                    d.a.a.a.a.b.o.a(v1_1, "Failed to close settings writer.");
                }
            } catch (Exception v7_4) {
            } catch (Exception v7_2) {
            }
        }
        return;
    }

Method d.a.a.a.a.g.j.a() calling method java.io.File.<init>()


    public org.json.JSONObject a()
    {
        d.a.a.a.i.e().d("Fabric", "Reading cached settings...");
        String v1_1 = 0;
        try {
            org.json.JSONObject v5_1;
            Exception v3_0 = new java.io.File(new d.a.a.a.a.f.b(this.a).a(), "com.crashlytics.settings.json");
        } catch (Throwable v2_0) {
            d.a.a.a.a.b.o.a(v1_1, "Error while closing settings cache file.");
            throw v2_0;
        } catch (Exception v3_2) {
            String v4_5 = 0;
            d.a.a.a.i.e().b("Fabric", "Failed to fetch cached settings", v3_2);
            d.a.a.a.a.b.o.a(v4_5, "Error while closing settings cache file.");
            return v1_1;
        } catch (String v1_2) {
            v2_0 = v1_2;
            v1_1 = v4_5;
        }
        if (!v3_0.exists()) {
            d.a.a.a.i.e().d("Fabric", "No cached settings found.");
            v5_1 = 0;
        } else {
            v4_5 = new java.io.FileInputStream(v3_0);
            try {
                v5_1 = new org.json.JSONObject(d.a.a.a.a.b.o.b(v4_5));
                v1_1 = v4_5;
            } catch (Exception v3_2) {
            }
        }
        d.a.a.a.a.b.o.a(v1_1, "Error while closing settings cache file.");
        v1_1 = v5_1;
        return v1_1;
    }

Method d.a.a.a.a.d.j.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 d.a.a.a.a.b.J(this.d);
        return;
    }

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


    public j(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 d.a.a.a.a.b.J(this.d);
        this.e();
        return;
    }

Method com.crashlytics.android.c.da.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.a.b.u() calling method java.io.File.<init>()


    protected boolean u()
    {
        try {
            String v5_1;
            android.content.Context v8 = this.l();
            boolean v1_5 = v8.getPackageManager();
            android.content.Context v2_4 = v8.getPackageName();
            d.a.a.a.a.b.C v3_2 = v1_5.getPackageInfo(v2_4, 0);
            String v4_0 = Integer.toString(v3_2.versionCode);
        } catch (boolean v1_3) {
            d.a.a.a.i.e().b("Answers", "Error retrieving app properties", v1_3);
            return 0;
        }
        if (v3_2.versionName != null) {
            v5_1 = v3_2.versionName;
        } else {
            v5_1 = "0.0";
        }
        boolean v1_2;
        if (android.os.Build$VERSION.SDK_INT < 9) {
            v1_2 = new java.io.File(v1_5.getApplicationInfo(v2_4, 0).sourceDir).lastModified();
        } else {
            v1_2 = v3_2.firstInstallTime;
        }
        this.h = com.crashlytics.android.a.H.a(this, v8, this.o(), v4_0, v5_1, v1_2);
        this.h.c();
        this.g = new d.a.a.a.a.b.A().c(v8);
        return 1;
    }

Method c.a.a.d.c.w.a() calling method java.io.File.<init>()


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

Method c.a.a.d.b.b.l.a() calling method java.io.File.<init>()


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

Method a.b.f.b.f.a() calling method java.io.File.<init>()


    private java.io.File a(android.os.ParcelFileDescriptor p4)
    {
        try {
            java.io.File v1_5 = new StringBuilder();
            v1_5.append("/proc/self/fd/");
            v1_5.append(p4.getFd());
            String v4_1 = android.system.Os.readlink(v1_5.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 a.b.f.a.c.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) {
            StringBuilder v1_5 = new StringBuilder();
            v1_5.append("Unable to find configured root for ");
            v1_5.append(p5);
            throw new IllegalArgumentException(v1_5.toString());
        } else {
            try {
                SecurityException v5_4 = new java.io.File(v1_2, vtmp6).getCanonicalFile();
            } catch (java.io.IOException) {
                StringBuilder v1_8 = new StringBuilder();
                v1_8.append("Failed to resolve canonical path for ");
                v1_8.append(v5_4);
                throw new IllegalArgumentException(v1_8.toString());
            }
            if (!v5_4.getPath().startsWith(v1_2.getPath())) {
                throw new SecurityException("Resolved path jumped beyond configured root");
            } else {
                return v5_4;
            }
        }
    }

Method pl.droidsonroids.gif.q.b() calling method java.io.File.<init>()

Couldn't retrieve source code

Method d.a.a.a.j.getFilesDir() calling method java.io.File.<init>()


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

Method d.a.a.a.j.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 d.a.a.a.j.getExternalCacheDir() calling method java.io.File.<init>()


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

Method d.a.a.a.j.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 d.a.a.a.j.getCacheDir() calling method java.io.File.<init>()


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

Method d.a.a.a.a.b.o.m() calling method java.io.File.<init>()


    public static boolean m(android.content.Context p3)
    {
        int v3_1 = <mark>d.a.a.a.a.b.omark>.l(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 d.a.a.a.a.b.o.b() calling method java.io.File.<init>()


    public static declared_synchronized long b()
    {
        try {
            if (d.a.a.a.a.b.o.c == -1) {
                long v1_1 = 0;
                String v3_0 = d.a.a.a.a.b.o.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 {
                        if (!v3_1.endsWith("KB")) {
                            if (!v3_1.endsWith("MB")) {
                                if (!v3_1.endsWith("GB")) {
                                    d.a.a.a.t v4_8 = d.a.a.a.i.e();
                                    String v6_1 = new StringBuilder();
                                    v6_1.append("Unexpected meminfo format while computing RAM: ");
                                    v6_1.append(v3_1);
                                    v4_8.d("Fabric", v6_1.toString());
                                } else {
                                    v1_1 = d.a.a.a.a.b.o.a(v3_1, "GB", 1073741824);
                                }
                            } else {
                                v1_1 = d.a.a.a.a.b.o.a(v3_1, "MB", 1048576);
                            }
                        } else {
                            v1_1 = d.a.a.a.a.b.o.a(v3_1, "KB", 1024);
                        }
                    } catch (d.a.a.a.t v4_12) {
                        String v5_5 = d.a.a.a.i.e();
                        String v7_2 = new StringBuilder();
                        v7_2.append("Unexpected meminfo format while computing RAM: ");
                        v7_2.append(v3_1);
                        v5_5.b("Fabric", v7_2.toString(), v4_12);
                    }
                }
                d.a.a.a.a.b.o.c = v1_1;
            }
        } catch (long v1_2) {
            throw v1_2;
        }
        return d.a.a.a.a.b.o.c;
    }

Method d.a.a.a.a.b.J.a() calling method java.io.File.<init>()


    private static void a(java.io.File p6)
    {
        java.io.RandomAccessFile v1_2 = new StringBuilder();
        v1_2.append(p6.getPath());
        v1_2.append(".tmp");
        String v0_1 = new java.io.File(v1_2.toString());
        java.io.RandomAccessFile v1_1 = ark>d.a.a.a.a.b.Jark>.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[0] = 4096;
            v3_1[1] = 0;
            v3_1[2] = 0;
            v3_1[3] = 0;
            ark>d.a.a.a.a.b.Jark>.a(v2_3, v3_1);
            v1_1.write(v2_3);
            v1_1.close();
        } catch (java.io.IOException v6_2) {
            v1_1.close();
            throw v6_2;
        }
        if (!v0_1.renameTo(p6)) {
            throw new java.io.IOException("Rename failed!");
        } else {
            return;
        }
    }

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


    private z(android.content.Context p4, com.google.firebase.iid.da p5)
    {
        this.d = new a.b.f.h.b();
        this.b = p4;
        this.a = p4.getSharedPreferences("com.google.android.gms.appid", 0);
        this.c = p5;
        String v5_2 = new java.io.File(a.b.f.a.a.b(this.b), "com.google.android.gms.appid-no-backup");
        if (!v5_2.exists()) {
            try {
                if ((v5_2.createNewFile()) && (!this.c())) {
                    android.util.Log.i("FirebaseInstanceId", "App restored, clearing state");
                    this.b();
                    com.google.firebase.iid.FirebaseInstanceId.a().g();
                }
            } catch (String v4_8) {
                if (!android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                    return;
                } else {
                    String v4_10 = String.valueOf(v4_8.getMessage());
                    if (v4_10.length() == 0) {
                        String v4_12 = new String("Error creating file in no backup dir: ");
                    } else {
                        v4_12 = "Error creating file in no backup dir: ".concat(v4_10);
                    }
                    android.util.Log.d("FirebaseInstanceId", v4_12);
                    return;
                }
            }
            return;
        }
        return;
    }

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


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

Method com.google.android.gms.vision.EngineManager.zzc() calling method java.io.File.<init>()


    public static java.io.File zzc(android.content.Context p1)
    {
        return new java.io.File("assets/");
    }

Method com.crashlytics.android.c.sa.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.c.la.f() calling method java.io.File.<init>()


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

Method com.crashlytics.android.c.la.e() calling method java.io.File.<init>()


    java.io.File e()
    {
        return new java.io.File(this.d(), "invalidClsFiles");
    }

Method com.crashlytics.android.c.la.c() calling method java.io.File.<init>()


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

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


    void a(java.io.File[] p10)
    {
        java.io.File[] v0_1 = new java.util.HashSet();
        int v1_3 = p10.length;
        int v2 = 0;
        java.io.File v3_1 = 0;
        while (v3_1 < v1_3) {
            d.a.a.a.t v5_5 = p10[v3_1];
            String v6_7 = d.a.a.a.i.e();
            String v7_3 = new StringBuilder();
            v7_3.append("Found invalid session part file: ");
            v7_3.append(v5_5);
            v6_7.d("CrashlyticsCore", v7_3.toString());
            v0_1.add(ark>com.crashlytics.android.c.laark>.a(v5_5));
            v3_1++;
        }
        if (!v0_1.isEmpty()) {
            java.io.File v10_1 = this.e();
            if (!v10_1.exists()) {
                v10_1.mkdir();
            }
            java.io.File[] v0_2 = this.a(new com.crashlytics.android.c.z(this, v0_1));
            int v1_4 = v0_2.length;
            while (v2 < v1_4) {
                java.io.File v3_0 = v0_2[v2];
                d.a.a.a.t v5_0 = d.a.a.a.i.e();
                String v6_1 = new StringBuilder();
                v6_1.append("Moving session file: ");
                v6_1.append(v3_0);
                v5_0.d("CrashlyticsCore", v6_1.toString());
                if (!v3_0.renameTo(new java.io.File(v10_1, v3_0.getName()))) {
                    d.a.a.a.t v5_4 = d.a.a.a.i.e();
                    String v6_5 = new StringBuilder();
                    v6_5.append("Could not move session file. Deleting ");
                    v6_5.append(v3_0);
                    v5_4.d("CrashlyticsCore", v6_5.toString());
                    v3_0.delete();
                }
                v2++;
            }
            this.r();
            return;
        } else {
            return;
        }
    }

Method com.crashlytics.android.c.la.b() calling method java.io.File.<init>()


    private byte[] b(String p4, String p5)
    {
        java.io.File v1 = this.d();
        StringBuilder v2_1 = new StringBuilder();
        v2_1.append(p4);
        v2_1.append(p5);
        return com.crashlytics.android.c.Va.c(new java.io.File(v1, v2_1.toString()));
    }

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


    private void a(String p8, String p9, com.crashlytics.android.c.ba p10)
    {
        java.io.FileOutputStream v2 = 0;
        try {
            java.io.File v5 = this.d();
            StringBuilder v6_1 = new StringBuilder();
            v6_1.append(p8);
            v6_1.append(p9);
            java.io.FileOutputStream v3_0 = new java.io.FileOutputStream(new java.io.File(v5, v6_1.toString()));
            try {
                p10.a(v3_0);
                Throwable v8_4 = new StringBuilder();
                v8_4.append("Failed to close ");
                v8_4.append(p9);
                v8_4.append(" file.");
                d.a.a.a.a.b.o.a(v3_0, v8_4.toString());
                return;
            } catch (Throwable v8_2) {
                v2 = v3_0;
                StringBuilder v10_2 = new StringBuilder();
                v10_2.append("Failed to close ");
                v10_2.append(p9);
                v10_2.append(" file.");
                d.a.a.a.a.b.o.a(v2, v10_2.toString());
                throw v8_2;
            }
        } catch (Throwable v8_2) {
        }
        p10.a(v3_0);
        v8_4 = new StringBuilder();
        v8_4.append("Failed to close ");
        v8_4.append(p9);
        v8_4.append(" file.");
        d.a.a.a.a.b.o.a(v3_0, v8_4.toString());
        return;
    }

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


    private void a(android.content.Context p12, java.io.File p13, String p14)
    {
        String v0_0 = com.crashlytics.android.c.Va.b(p13);
        byte[] v1 = com.crashlytics.android.c.Va.a(p13);
        java.io.File v12_2 = com.crashlytics.android.c.Va.a(p13, p12);
        if ((v0_0 != null) && (v0_0.length != 0)) {
            ark>com.crashlytics.android.c.laark>.c(p14, "<native-crash: minidump>");
            String v13_5 = this.b(p14, "BeginSession.json");
            byte[] v3_1 = this.b(p14, "SessionApp.json");
            byte[] v4_1 = this.b(p14, "SessionDevice.json");
            byte[] v5_1 = this.b(p14, "SessionOS.json");
            byte[] v6_3 = com.crashlytics.android.c.Va.c(new com.crashlytics.android.c.Ra(this.d()).b(p14));
            byte[] v7_2 = new com.crashlytics.android.c.Oa(this.j.l(), this.q, p14);
            byte[] v8_2 = v7_2.c();
            v7_2.a();
            byte[] v7_6 = com.crashlytics.android.c.Va.c(new com.crashlytics.android.c.Ra(this.d()).a(p14));
            java.io.File v9_3 = new java.io.File(this.o.a(), p14);
            if (v9_3.mkdir()) {
                this.b(v0_0, new java.io.File(v9_3, "minidump"));
                this.b(v1, new java.io.File(v9_3, "metadata"));
                this.b(v12_2, new java.io.File(v9_3, "binaryImages"));
                this.b(v13_5, new java.io.File(v9_3, "session"));
                this.b(v3_1, new java.io.File(v9_3, "app"));
                this.b(v4_1, new java.io.File(v9_3, "device"));
                this.b(v5_1, new java.io.File(v9_3, "os"));
                this.b(v6_3, new java.io.File(v9_3, "user"));
                this.b(v8_2, new java.io.File(v9_3, "logs"));
                this.b(v7_6, new java.io.File(v9_3, "keys"));
                return;
            } else {
                d.a.a.a.i.e().d("CrashlyticsCore", "Couldn\'t create native sessions directory");
                return;
            }
        } else {
            java.io.File v12_1 = d.a.a.a.i.e();
            String v14_2 = new StringBuilder();
            v14_2.append("No minidump data found in directory ");
            v14_2.append(p13);
            v12_1.a("CrashlyticsCore", v14_2.toString());
            return;
        }
    }

Method com.crashlytics.android.c.h.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()) {
                        v1_3 = " (target already exists)";
                    } else {
                        if (!this.c.exists()) {
                            v1_3 = " (source does not exist)";
                        }
                    }
                    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.c.h.<init>() calling method java.io.File.<init>()


    public h(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.crashlytics.android.c.d.b() calling method java.io.File.<init>()


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

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


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

Method com.crashlytics.android.c.Ra.b() calling method java.io.File.<init>()


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


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


    public static java.io.File a(c.e.a.a.a.a.g.a.b p1)
    {
        return new java.io.File(p1.d());
    }

Method c.e.a.a.a.a.g.a.b.<init>() calling method java.io.File.<init>()


    public b(String p1, String p2)
    {
        this.a = p1;
        this.b = p2;
        if (!new java.io.File(p2).exists()) {
            throw new AssertionError("File does not exist!");
        } else {
            return;
        }
    }

Method c.a.a.a.e.a() calling method java.io.File.<init>()


    public static ark>c.a.a.a.eark> a(java.io.File p9, int p10, int p11, long p12)
    {
        if (p12 <= 0) {
            throw new IllegalArgumentException("maxSize <= 0");
        } else {
            if (p11 <= 0) {
                throw new IllegalArgumentException("valueCount <= 0");
            } else {
                void v0_2 = new java.io.File(p9, "journal.bkp");
                if (v0_2.exists()) {
                    String v1_3 = new java.io.File(p9, "journal");
                    if (!v1_3.exists()) {
                        ark>c.a.a.a.eark>.a(v0_2, v1_3, 0);
                    } else {
                        v0_2.delete();
                    }
                }
                void v0_3 = new ark>c.a.a.a.eark>;
                v0_3(p9, p10, p11, p12);
                if (v0_3.b.exists()) {
                    try {
                        void v0_5 = v0_3.o().n();
                        return v0_5;
                    } catch (String v1_6) {
                        StringBuilder v3_2 = new StringBuilder();
                        v3_2.append("DiskLruCache ");
                        v3_2.append(p9);
                        v3_2.append(" is corrupt: ");
                        v3_2.append(v1_6.getMessage());
                        v3_2.append(", removing");
                        System.out.println(v3_2.toString());
                        v0_5.k();
                    }
                }
                p9.mkdirs();
                void v0_6 = new ark>c.a.a.a.eark>;
                v0_6(p9, p10, p11, p12);
                return v0_6.p();
            }
        }
    }

Method c.a.a.a.e.<init>() calling method java.io.File.<init>()


    private e(java.io.File p16, int p17, int p18, long p19)
    {
        this.h = 0;
        this.j = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.l = 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());
        this.m = v2_0;
        this.n = new c.a.a.a.a(this);
        this.a = p16;
        this.e = p17;
        this.b = new java.io.File(p16, "journal");
        this.c = new java.io.File(p16, "journal.tmp");
        this.d = new java.io.File(p16, "journal.bkp");
        this.g = p18;
        this.f = p19;
        return;
    }

Method c.a.a.a.c.<init>() calling method java.io.File.<init>()


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

Method a.b.f.b.n.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_0 = 0;
        while (v1_0 < 100) {
            boolean v3_0 = p5.getCacheDir();
            String v4_1 = new StringBuilder();
            v4_1.append(v0_2);
            v4_1.append(v1_0);
            java.io.File v2_3 = new java.io.File(v3_0, v4_1.toString());
            try {
                if (!v2_3.createNewFile()) {
                    v1_0++;
                } else {
                    return v2_3;
                }
            } catch (java.io.IOException) {
            }
        }
        return 0;
    }

Method a.b.f.a.d.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 a.b.f.a.d.<clinit>() calling method java.io.File.<init>()


    static d()
    {
        java.util.HashMap v0_1 = new String[2];
        v0_1[0] = "_display_name";
        v0_1[1] = "_size";
        a.b.f.a.d.a = v0_1;
        a.b.f.a.d.b = new java.io.File("/");
        a.b.f.a.d.c = new java.util.HashMap();
        return;
    }

Method a.b.f.a.a.b() calling method java.io.File.<init>()


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

Method d.a.a.a.a.b.J.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.google.firebase.iid.da.a() calling method java.io.RandomAccessFile.<init>()


    private final com.google.firebase.iid.ea a(android.content.Context p10, String p11, com.google.firebase.iid.ea p12, boolean p13)
    {
        if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
            android.util.Log.d("FirebaseInstanceId", "Writing key to properties file");
        }
        java.util.Properties v2_3 = new java.util.Properties();
        v2_3.setProperty("pub", com.google.firebase.iid.ea.a(p12));
        v2_3.setProperty("pri", com.google.firebase.iid.ea.b(p12));
        v2_3.setProperty("cre", String.valueOf(com.google.firebase.iid.ea.c(p12)));
        Throwable v10_2 = ark>com.google.firebase.iid.daark>.e(p10, p11);
        try {
            v10_2.createNewFile();
            java.io.RandomAccessFile v3_5 = new java.io.RandomAccessFile(v10_2, "rw");
            try {
                Throwable v10_3 = v3_5.getChannel();
                try {
                    v10_3.lock();
                } catch (Throwable v12_5) {
                    String v13_8 = 0;
                    if (v10_3 != null) {
                        ark>com.google.firebase.iid.daark>.a(v13_8, v10_3);
                    }
                    throw v12_5;
                } catch (Throwable v12_4) {
                    try {
                        throw v12_4;
                    } catch (String v13_7) {
                        v13_8 = v12_4;
                        v12_5 = v13_7;
                    }
                }
                if ((p13 != null) && (v10_3.size() > 0)) {
                    try {
                        v10_3.position(0);
                        p12 = ark>com.google.firebase.iid.daark>.a(v10_3);
                    } catch (String v13_4) {
                        if (android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                            String v13_5 = String.valueOf(v13_4);
                            StringBuilder v6_2 = new StringBuilder((String.valueOf(v13_5).length() + 64));
                            v6_2.append("Tried reading key pair before writing new one, but failed with: ");
                            v6_2.append(v13_5);
                            android.util.Log.d("FirebaseInstanceId", v6_2.toString());
                        }
                    } catch (String v13_4) {
                    }
                    if (v10_3 != null) {
                        ark>com.google.firebase.iid.daark>.a(0, v10_3);
                    }
                    ark>com.google.firebase.iid.daark>.a(0, v3_5);
                    return p12;
                }
                v10_3.position(0);
                v2_3.store(java.nio.channels.Channels.newOutputStream(v10_3), 0);
                if (v10_3 != null) {
                    ark>com.google.firebase.iid.daark>.a(0, v10_3);
                }
                ark>com.google.firebase.iid.daark>.a(0, v3_5);
                return p12;
            } catch (Throwable v10_5) {
                Throwable v12_7 = 0;
                ark>com.google.firebase.iid.daark>.a(v12_7, v3_5);
                throw v10_5;
            } catch (Throwable v10_4) {
                try {
                    throw v10_4;
                } catch (Throwable v12_6) {
                    v12_7 = v10_4;
                    v10_5 = v12_6;
                }
            }
        } catch (Throwable v10_6) {
            Throwable v10_7 = String.valueOf(v10_6);
            String v13_2 = new StringBuilder((String.valueOf(v10_7).length() + 21));
            v13_2.append("Failed to write key: ");
            v13_2.append(v10_7);
            android.util.Log.w("FirebaseInstanceId", v13_2.toString());
            return 0;
        }
    }

Method c.e.a.a.a.a.g.a.e.a() calling method android.content.Context.openFileOutput()


    public static java.io.File a(android.content.Context p7, android.net.Uri p8, String p9)
    {
        try {
            java.io.IOException v8_1 = p7.getContentResolver().openInputStream(p8);
            try {
                java.io.IOException v9_2 = ark>c.e.a.a.a.a.g.a.eark>.b(ark>c.e.a.a.a.a.g.a.eark>.a(p9));
                int v3 = p7.openFileOutput(v9_2, 0);
                try {
                    byte[] v4_1 = new byte[4096];
                } catch (java.io.IOException v7_1) {
                    c.e.a.a.a.b.d.b("FileStorageUtil", v7_1);
                    if (v3 != 0) {
                        try {
                            v3.close();
                        } catch (java.io.IOException v7_4) {
                            c.e.a.a.a.b.d.b("FileStorageUtil", v7_4);
                        }
                    }
                    if (v8_1 != null) {
                        try {
                            v8_1.close();
                        } catch (java.io.IOException v7_5) {
                            c.e.a.a.a.b.d.b("FileStorageUtil", v7_5);
                        }
                    }
                    return 0;
                }
                while(true) {
                    int v5 = v8_1.read(v4_1);
                    if (v5 == -1) {
                        break;
                    }
                    v3.write(v4_1, 0, v5);
                }
                java.io.IOException v7_3 = p7.getFileStreamPath(v9_2);
                if (v3 != 0) {
                    try {
                        v3.close();
                    } catch (java.io.IOException v9_3) {
                        c.e.a.a.a.b.d.b("FileStorageUtil", v9_3);
                    }
                }
                if (v8_1 != null) {
                    try {
                        v8_1.close();
                    } catch (java.io.IOException v8_2) {
                        c.e.a.a.a.b.d.b("FileStorageUtil", v8_2);
                    }
                }
                return v7_3;
            } catch (java.io.IOException v7_2) {
                v3 = 0;
                if (v3 != 0) {
                    try {
                        v3.close();
                    } catch (java.io.IOException v9_4) {
                        c.e.a.a.a.b.d.b("FileStorageUtil", v9_4);
                    }
                }
                if (v8_1 != null) {
                    try {
                        v8_1.close();
                    } catch (java.io.IOException v8_3) {
                        c.e.a.a.a.b.d.b("FileStorageUtil", v8_3);
                    }
                }
                throw v7_2;
            } catch (java.io.IOException v7_1) {
                v3 = 0;
            }
        } catch (java.io.IOException v7_2) {
            v8_1 = 0;
            v3 = 0;
        } catch (java.io.IOException v7_1) {
            v8_1 = 0;
            v3 = 0;
        } catch (java.io.IOException v7_2) {
        }
    }