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


    public byte[] a(d.a.a.a.j p10)
    {
        if (p10 != 0) {
            java.io.InputStream v0 = p10.getContent();
            Throwable v1_2 = (p10.getContentLength() + this.i);
            int v10_1 = new java.io.FileOutputStream(this.c(), this.j);
            if (v0 != null) {
                try {
                    byte[] v3_1 = new byte[4096];
                } catch (Throwable v1_0) {
                    v0.close();
                    v10_1.flush();
                    v10_1.close();
                    throw v1_0;
                }
                while (this.i < v1_2) {
                    long v4_2 = v0.read(v3_1);
                    if ((v4_2 == -1) || (Thread.currentThread().isInterrupted())) {
                        break;
                    }
                    this.i = (this.i + ((long) v4_2));
                    v10_1.write(v3_1, 0, v4_2);
                    this.b(this.i, v1_2);
                }
                v0.close();
                v10_1.flush();
                v10_1.close();
            }
        }
        return 0;
    }

Method c.g.a.c.h.e.doInBackground() calling method java.io.FileOutputStream.<init>()

Couldn't retrieve source code

Method c.d.a.d.b.a$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.d.a.a.b.m() calling method java.io.FileOutputStream.<init>()


    public final declared_synchronized void m()
    {
        try {
            if (this.i != null) {
                this.i.close();
            }
        } catch (java.io.BufferedWriter v0_11) {
            throw v0_11;
        }
        java.io.BufferedWriter v0_1 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c), c.d.a.a.e.a));
        try {
            v0_1.write("libcore.io.DiskLruCache");
            v0_1.write("\n");
            v0_1.write("1");
            v0_1.write("\n");
            v0_1.write(Integer.toString(this.e));
            v0_1.write("\n");
            v0_1.write(Integer.toString(this.g));
            v0_1.write("\n");
            v0_1.write("\n");
            java.nio.charset.Charset v1_14 = this.j.values().iterator();
        } catch (java.nio.charset.Charset v1_18) {
            v0_1.close();
            throw v1_18;
        }
        while (v1_14.hasNext()) {
            java.io.OutputStreamWriter v2_10;
            java.io.OutputStreamWriter v2_7 = ((<mark>c.d.a.a.bmark>$b) v1_14.next());
            if (v2_7.f == null) {
                java.io.FileOutputStream v3_6 = new StringBuilder();
                v3_6.append("CLEAN ");
                v3_6.append(v2_7.a);
                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(v2_7.a);
                v3_8.append(10);
                v2_10 = v3_8.toString();
            }
            v0_1.write(v2_10);
        }
        v0_1.close();
        if (this.b.exists()) {
            <mark>c.d.a.a.bmark>.a(this.b, this.d, 1);
        }
        <mark>c.d.a.a.bmark>.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.d.a.a.e.a));
        return;
    }

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


    public final void l()
    {
        c.d.a.a.d v1_1 = new c.d.a.a.d(new java.io.FileInputStream(this.b), c.d.a.a.e.a);
        try {
            java.io.OutputStreamWriter v2_6 = v1_1.j();
            java.io.FileOutputStream v3_0 = v1_1.j();
            java.nio.charset.Charset v4_0 = v1_1.j();
            java.io.File v5_0 = v1_1.j();
            String v6 = v1_1.j();
        } catch (java.io.BufferedWriter v0_6) {
            c.d.a.a.e.a(v1_1);
            throw v0_6;
        }
        if ((!"libcore.io.DiskLruCache".equals(v2_6)) || ((!"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_6);
            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;
            java.io.OutputStreamWriter v2_2 = 0;
            while(true) {
                this.c(v1_1.j());
                v2_2++;
            }
        }
    }

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

Couldn't retrieve source code

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


    public android.graphics.Typeface a(android.content.Context p18, a.b.e.b.a.b p19, android.content.res.Resources p20, int p21)
    {
        Object v1 = ark>a.b.e.c.eark>.a();
        a.b.e.b.a.c[] v2 = p19.a;
        int v3 = v2.length;
        int v5 = 0;
        while (v5 < v3) {
            Throwable v0_3;
            boolean v6_0 = v2[v5];
            Throwable v0_0 = v6_0.d;
            int v7_0 = a.b.b.a.a.e.a(p18);
            if (v7_0 != 0) {
                try {
                    if (a.b.b.a.a.e.a(v7_0, p20, v0_0)) {
                        try {
                            java.io.FileInputStream v10_1 = new java.io.FileInputStream(v7_0);
                            try {
                                Throwable v11_0 = v10_1.getChannel();
                                v0_3 = v11_0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v11_0.size());
                            } catch (Throwable v0_5) {
                                Throwable v11_1 = 0;
                                if (v11_1 == null) {
                                    v10_1.close();
                                } else {
                                    v10_1.close();
                                }
                                throw v0_5;
                            } catch (Throwable v0_4) {
                                v11_1 = v0_4;
                                try {
                                    throw v11_1;
                                } catch (Throwable v0_5) {
                                }
                            }
                            v10_1.close();
                            v7_0.delete();
                        } catch (java.io.IOException) {
                            v0_3 = 0;
                        }
                    } else {
                        v7_0.delete();
                        v0_3 = 0;
                    }
                } catch (Throwable v0_6) {
                    v7_0.delete();
                    throw v0_6;
                }
            }
            if (ark>a.b.e.c.eark>.a(v1, v0_3, 0, v6_0.b, v6_0.c)) {
                v5++;
            } else {
                return 0;
            }
        }
        return ark>a.b.e.c.eark>.a(v1);
    }

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


    public android.graphics.Typeface a(android.content.Context p5, android.os.CancellationSignal p6, a.b.e.g.f$b[] p7, int p8)
    {
        if (p7.length >= 1) {
            try {
                android.os.ParcelFileDescriptor v6_1 = p5.getContentResolver().openFileDescriptor(this.a(p7, p8).a, "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();
                v6_1.close();
                return v5_2;
            } catch (java.io.IOException) {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method c.f.a.a.t.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(java.io.OutputStream p11)
    {
        this.k = 0;
        java.io.FileInputStream v2_1 = ((long) this.h.size());
        int v4_2 = this.g.iterator();
        while (v4_2.hasNext()) {
            c.f.a.a.t v5_2 = ((c.f.a.a.t$a) v4_2.next());
            long v8_4 = (((long) v5_2.b.length) + (v5_2.a.length() + ((long) c.f.a.a.t.a.length)));
            if (v8_4 >= 0) {
                v2_1 += v8_4;
            } else {
                long v0_4 = -1;
            }
            this.l = ((long) ((int) v0_4));
            this.h.writeTo(p11);
            this.a(((long) this.h.size()));
            long v0_11 = this.g.iterator();
            while (v0_11.hasNext()) {
                c.f.a.a.t v1_3 = ((c.f.a.a.t$a) v0_11.next());
                p11.write(v1_3.b);
                c.f.a.a.t.a(v1_3.c, ((long) v1_3.b.length));
                java.io.FileInputStream v2_6 = new java.io.FileInputStream(v1_3.a);
                long v3_5 = new byte[4096];
                while(true) {
                    int v4_1 = v2_6.read(v3_5);
                    if (v4_1 == -1) {
                        break;
                    }
                    p11.write(v3_5, 0, v4_1);
                    c.f.a.a.t.a(v1_3.c, ((long) v4_1));
                }
                p11.write(c.f.a.a.t.a);
                c.f.a.a.t.a(v1_3.c, ((long) c.f.a.a.t.a.length));
                p11.flush();
                c.f.a.a.d.a(v2_6);
            }
            p11.write(this.f);
            this.a(((long) this.f.length));
            return;
        }
        v0_4 = (((long) this.f.length) + v2_1);
    }

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


    public final void a(java.io.OutputStream p11, c.f.a.a.q$a p12)
    {
        this.a(p11, p12.a.getName(), p12.b);
        long v0_3 = p12.a.length();
        java.io.FileInputStream v2_0 = new java.io.FileInputStream(p12.a);
        int v12_2 = new c.f.a.a.j(p11, 18);
        long v3_1 = 0;
        while(true) {
            c.f.a.a.f v5_1 = v2_0.read(this.j);
            if (v5_1 == -1) {
                break;
            }
            byte[] v6_1 = this.j;
            if (v5_1 > null) {
                int v7 = v12_2.e;
                if (v7 > 0) {
                    v12_2.a(v12_2.d, 0, v7, 0);
                    v12_2.e = 0;
                }
                v12_2.a(v6_1, 0, v5_1, 0);
            }
            v3_1 += ((long) v5_1);
            ((c.f.a.a.f) this.n).b(v3_1, v0_3);
        }
        c.f.a.a.d.a(v12_2);
        p11.write(34);
        c.f.a.a.d.a(v2_0);
        return;
    }

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


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

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


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

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


    public final void l()
    {
        c.d.a.a.d v1_1 = new c.d.a.a.d(new java.io.FileInputStream(this.b), c.d.a.a.e.a);
        try {
            java.io.OutputStreamWriter v2_6 = v1_1.j();
            java.io.FileOutputStream v3_0 = v1_1.j();
            java.nio.charset.Charset v4_0 = v1_1.j();
            java.io.File v5_0 = v1_1.j();
            String v6 = v1_1.j();
        } catch (java.io.BufferedWriter v0_6) {
            c.d.a.a.e.a(v1_1);
            throw v0_6;
        }
        if ((!"libcore.io.DiskLruCache".equals(v2_6)) || ((!"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_6);
            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;
            java.io.OutputStreamWriter v2_2 = 0;
            while(true) {
                this.c(v1_1.j());
                v2_2++;
            }
        }
    }

Method a.b.b.a.a.e.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);
            try {
                Throwable v9_4 = new java.io.FileInputStream(v8_2.getFileDescriptor());
                try {
                    Throwable v1_0 = v9_4.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_4.close();
                    } else {
                        v9_4.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_4.close();
                v8_2.close();
                return v10_1;
            } catch (Throwable v9_2) {
                Throwable v10_5 = 0;
                if (v8_2 != null) {
                    if (v10_5 == null) {
                        v8_2.close();
                    } else {
                        v8_2.close();
                    }
                }
                throw v9_2;
            } catch (Throwable v9_1) {
                try {
                    throw v9_1;
                } catch (Throwable v10_4) {
                    v10_5 = v9_1;
                    v9_2 = v10_4;
                }
            }
        } catch (java.io.IOException) {
            return 0;
        }
    }

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

Couldn't retrieve source code

Method com.sharadtechnologies.madhuvan.teacher.activities.TeacherProfileActivity.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        int v0_0 = this.j;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.l) || (p6 == null)) {
                if (p4 == this.k) {
                    this.q = e.C.a("image/*");
                    c.h.a.H v4_3 = c.h.a.z.a(this).a(this.p);
                    v4_3.c.a(new c.g.a.c.h.b());
                    v4_3.a(this.a, 0);
                }
            } else {
                this.q = e.C.a("image/*");
                c.h.a.H v4_5 = p6.getData();
                this.n = a.b.f.a.H.a(this, v4_5);
                c.h.a.H v4_6 = c.h.a.z.a(this).a(v4_5);
                v4_6.c.a(new c.g.a.c.h.b());
                v4_6.a(this.a, 0);
                c.h.a.H v4_7 = this.j;
                android.widget.ImageView v5_13 = c.a.a.a.a.a("mCurrentPhotoPath ");
                v5_13.append(this.n);
                android.util.Log.d(v4_7, v5_13.toString());
                this.m = new java.io.File(this.n);
            }
        }
        return;
    }

Method com.sharadtechnologies.madhuvan.teacher.activities.AllotAssignmentActivity.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.u;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.x) || (p6 == null)) {
                if ((p4 != this.w) || (p6 == null)) {
                    if (p4 != this.v) {
                        return;
                    } else {
                        this.C = e.C.a("image/*");
                        this.k.setText(this.y.getAbsolutePath());
                        return;
                    }
                } else {
                    this.C = e.C.a("image/*");
                    this.z = a.b.f.a.H.a(this, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.z, this.u);
                    this.k.setText(this.z);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.z);
                }
            } else {
                this.C = e.C.a("application/pdf");
                this.z = a.b.f.a.H.a(this, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.z, this.u);
                this.k.setText(this.z);
                v4_9 = new java.io.File(this.z);
            }
            this.y = v4_9;
        }
        return;
    }

Method com.sharadtechnologies.madhuvan.student.activities.SubmitHomeworkActivity.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.o;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.r) || (p6 == null)) {
                if ((p4 != this.q) || (p6 == null)) {
                    if (p4 != this.p) {
                        return;
                    } else {
                        this.w = e.C.a("image/*");
                        this.h.setText(this.s.getAbsolutePath());
                        return;
                    }
                } else {
                    this.w = e.C.a("image/*");
                    this.t = a.b.f.a.H.a(this, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.t, this.o);
                    this.h.setText(this.t);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.t);
                }
            } else {
                this.w = e.C.a("application/pdf");
                this.t = a.b.f.a.H.a(this, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.t, this.o);
                this.h.setText(this.t);
                v4_9 = new java.io.File(this.t);
            }
            this.s = v4_9;
        }
        return;
    }

Method com.sharadtechnologies.madhuvan.student.activities.StudentSubmitAssignmentActivity.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.u;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.x) || (p6 == null)) {
                if ((p4 != this.w) || (p6 == null)) {
                    if (p4 != this.v) {
                        return;
                    } else {
                        this.C = e.C.a("image/*");
                        this.i.setText(this.y.getAbsolutePath());
                        return;
                    }
                } else {
                    this.C = e.C.a("image/*");
                    this.z = a.b.f.a.H.a(this, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.z, this.u);
                    this.i.setText(this.z);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.z);
                }
            } else {
                this.C = e.C.a("application/pdf");
                this.z = a.b.f.a.H.a(this, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.z, this.u);
                this.i.setText(this.z);
                v4_9 = new java.io.File(this.z);
            }
            this.y = v4_9;
        }
        return;
    }

Method com.sharadtechnologies.madhuvan.student.activities.StudentSubmitAssignmentActivity.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.u;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.x) || (p6 == null)) {
                if ((p4 != this.w) || (p6 == null)) {
                    if (p4 == this.v) {
                        this.C = e.C.a("image/*");
                        this.i.setText(this.y.getAbsolutePath());
                    }
                    return;
                } else {
                    this.C = e.C.a("image/*");
                    this.z = a.b.f.a.H.a(this, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.z, this.u);
                    this.i.setText(this.z);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.z);
                }
            } else {
                this.C = e.C.a("application/pdf");
                this.z = a.b.f.a.H.a(this, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.z, this.u);
                this.i.setText(this.z);
                v4_9 = new java.io.File(this.z);
            }
            this.y = v4_9;
        }
        return;
    }

Method com.sharadtechnologies.madhuvan.schooladmin.activities.EditSellerActivity.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.h;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.l) || (p6 == null)) {
                if ((p4 != this.k) || (p6 == null)) {
                    if (p4 != this.j) {
                        return;
                    } else {
                        this.q = e.C.a("image/*");
                        this.f.setText(this.m.getAbsolutePath());
                        return;
                    }
                } else {
                    this.q = e.C.a("image/*");
                    this.n = a.b.f.a.H.a(this, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.n, this.h);
                    this.f.setText(this.n);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.n);
                }
            } else {
                this.q = e.C.a("application/pdf");
                this.n = a.b.f.a.H.a(this, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.n, this.h);
                this.f.setText(this.n);
                v4_9 = new java.io.File(this.n);
            }
            this.m = v4_9;
        }
        return;
    }

Method com.sharadtechnologies.madhuvan.schooladmin.activities.EditSellerActivity.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.h;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.l) || (p6 == null)) {
                if ((p4 != this.k) || (p6 == null)) {
                    if (p4 == this.j) {
                        this.q = e.C.a("image/*");
                        this.f.setText(this.m.getAbsolutePath());
                    }
                    return;
                } else {
                    this.q = e.C.a("image/*");
                    this.n = a.b.f.a.H.a(this, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.n, this.h);
                    this.f.setText(this.n);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.n);
                }
            } else {
                this.q = e.C.a("application/pdf");
                this.n = a.b.f.a.H.a(this, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.n, this.h);
                this.f.setText(this.n);
                v4_9 = new java.io.File(this.n);
            }
            this.m = v4_9;
        }
        return;
    }

Method com.sharadtechnologies.madhuvan.schooladmin.activities.AddSellerActivity.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.h;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.l) || (p6 == null)) {
                if ((p4 != this.k) || (p6 == null)) {
                    if (p4 != this.j) {
                        return;
                    } else {
                        this.q = e.C.a("image/*");
                        this.f.setText(this.m.getAbsolutePath());
                        return;
                    }
                } else {
                    this.q = e.C.a("image/*");
                    this.n = a.b.f.a.H.a(this, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.n, this.h);
                    this.f.setText(this.n);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.n);
                }
            } else {
                this.q = e.C.a("application/pdf");
                this.n = a.b.f.a.H.a(this, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.n, this.h);
                this.f.setText(this.n);
                v4_9 = new java.io.File(this.n);
            }
            this.m = v4_9;
        }
        return;
    }

Method com.sharadtechnologies.madhuvan.common.activities.ProfileActivity.onActivityResult() calling method java.io.File.<init>()


    public void onActivityResult(int p4, int p5, android.content.Intent p6)
    {
        int v0_0 = this.p;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.r) || (p6 == null)) {
                if (p4 == this.q) {
                    this.w = e.C.a("image/*");
                    c.h.a.H v4_3 = c.h.a.z.a(this).a(this.v);
                    v4_3.c.a(new c.g.a.c.h.b());
                    v4_3.a(this.a, 0);
                }
            } else {
                this.w = e.C.a("image/*");
                c.h.a.H v4_5 = p6.getData();
                this.t = a.b.f.a.H.a(this, v4_5);
                c.h.a.H v4_6 = c.h.a.z.a(this).a(v4_5);
                v4_6.c.a(new c.g.a.c.h.b());
                v4_6.a(this.a, 0);
                c.h.a.H v4_7 = this.p;
                android.widget.ImageView v5_13 = c.a.a.a.a.a("mCurrentPhotoPath ");
                v5_13.append(this.t);
                android.util.Log.d(v4_7, v5_13.toString());
                this.s = new java.io.File(this.t);
            }
        }
        return;
    }

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


    public void a(int p4, int p5, android.content.Intent p6)
    {
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(ark>c.g.a.f.c.sark>.fa, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.wa) || (p6 == null)) {
                if ((p4 != this.va) || (p6 == null)) {
                    if (p4 != this.ua) {
                        return;
                    } else {
                        this.Ba = e.C.a("image/*");
                        this.Ja.setText(this.xa.getAbsolutePath());
                        return;
                    }
                } else {
                    this.Ba = e.C.a("image/*");
                    this.ya = a.b.f.a.H.a(this.ha, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.ya, ark>c.g.a.f.c.sark>.fa);
                    this.Ja.setText(this.ya);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.ya);
                }
            } else {
                this.Ba = e.C.a("application/pdf");
                this.ya = a.b.f.a.H.a(this.ha, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.ya, ark>c.g.a.f.c.sark>.fa);
                this.Ja.setText(this.ya);
                v4_9 = new java.io.File(this.ya);
            }
            this.xa = v4_9;
        }
        return;
    }

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


    public void a(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.ma;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.sa) || (p6 == null)) {
                if ((p4 != this.ra) || (p6 == null)) {
                    if (p4 != this.qa) {
                        return;
                    } else {
                        this.ua = e.C.a("image/*");
                        this.ha.setText(this.pa.getAbsolutePath());
                        return;
                    }
                } else {
                    this.ua = e.C.a("image/*");
                    this.ta = a.b.f.a.H.a(this.ja, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.ta, this.ma);
                    this.ha.setText(this.ta);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.ta);
                }
            } else {
                this.ua = e.C.a("application/pdf");
                this.ta = a.b.f.a.H.a(this.ja, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.ta, this.ma);
                this.ha.setText(this.ta);
                v4_9 = new java.io.File(this.ta);
            }
            this.pa = v4_9;
        }
        return;
    }

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


    public void a(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.na;
        String v1_1 = new StringBuilder();
        v1_1.append("data ");
        v1_1.append(p6);
        android.util.Log.d(v0_0, v1_1.toString());
        if (p5 == -1) {
            if ((p4 != this.pa) || (p6 == null)) {
                if (p4 == this.oa) {
                    this.ua = e.C.a("image/*");
                    this.ha.setText(this.qa.getAbsolutePath());
                }
            } else {
                this.ua = e.C.a("image/*");
                this.ra = a.b.f.a.H.a(this.fa, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.ra, this.na);
                this.ha.setText(this.ra);
                this.qa = new java.io.File(this.ra);
            }
        }
        return;
    }

Method c.g.a.i.d.v.a() calling method java.io.File.<init>()


    public void a(int p4, int p5, android.content.Intent p6)
    {
        String v0_0 = this.u;
        String v1_2 = new StringBuilder();
        v1_2.append("data ");
        v1_2.append(p6);
        android.util.Log.d(v0_0, v1_2.toString());
        if (p5 == -1) {
            if ((p4 != this.C) || (p6 == null)) {
                if ((p4 != this.B) || (p6 == null)) {
                    if (p4 != this.A) {
                        return;
                    } else {
                        this.H = e.C.a("image/*");
                        this.m.setText(this.D.getAbsolutePath());
                        return;
                    }
                } else {
                    this.H = e.C.a("image/*");
                    this.E = a.b.f.a.H.a(this.f, p6.getData());
                    c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.E, this.u);
                    this.m.setText(this.E);
                    com.sharadtechnologies.madhuvan.common.views.RubikLight v4_9 = new java.io.File(this.E);
                }
            } else {
                this.H = e.C.a("application/pdf");
                this.E = a.b.f.a.H.a(this.f, p6.getData());
                c.a.a.a.a.b(c.a.a.a.a.a("mCurrentPhotoPath "), this.E, this.u);
                this.m.setText(this.E);
                v4_9 = new java.io.File(this.E);
            }
            this.D = v4_9;
        }
        return;
    }

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


    public java.io.File d()
    {
        String v0_1;
        a.b.f.a.H.a(this.b().isDirectory(), "Target file is not a directory, cannot proceed");
        if (this.a() == null) {
            v0_1 = 0;
        } else {
            v0_1 = 1;
        }
        a.b.f.a.H.a(v0_1, "RequestURI is null, cannot proceed");
        String v0_3 = this.a().toString();
        String v0_4 = v0_3.substring((v0_3.lastIndexOf(47) + 1), v0_3.length());
        int v3_5 = new java.io.File(this.b(), v0_4);
        if ((v3_5.exists()) && (this.g)) {
            String v0_7;
            if (v0_4.contains(".")) {
                int v3_9 = new StringBuilder();
                v3_9.append(v0_4.substring(0, v0_4.lastIndexOf(46)));
                v3_9.append(" (%d)");
                v3_9.append(v0_4.substring(v0_4.lastIndexOf(46), v0_4.length()));
                v0_7 = v3_9;
            } else {
                v0_7 = c.a.a.a.a.b(v0_4, " (%d)");
            }
            String v0_8 = v0_7.toString();
            int v3_10 = 0;
            while(true) {
                boolean v5_2 = this.b();
                String v6_2 = new Object[1];
                v6_2[0] = Integer.valueOf(v3_10);
                java.io.File v4_7 = new java.io.File(v5_2, String.format(v0_8, v6_2));
                if (!v4_7.exists()) {
                    break;
                }
                v3_10++;
            }
            v3_5 = v4_7;
        }
        return v3_5;
    }

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


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

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


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


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

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


    public c.d.a.d.b.b.a a()
    {
        if (this.b == null) {
            try {
                if (this.b == null) {
                    int v0_9 = ((c.d.a.d.b.b.e) this.a);
                    boolean v1_5 = ((c.d.a.d.b.b.g) v0_9.b);
                    java.io.File v2_0 = v1_5.a.getCacheDir();
                    c.d.a.d.b.b.a v3 = 0;
                    if (v2_0 != null) {
                        boolean v1_0 = v1_5.b;
                        if (v1_0) {
                            v2_0 = new java.io.File(v2_0, v1_0);
                        }
                    } else {
                        v2_0 = 0;
                    }
                    if (v2_0 != null) {
                        if (!v2_0.mkdirs()) {
                            if (!v2_0.exists()) {
                                this.b = v3;
                            } else {
                                if (!v2_0.isDirectory()) {
                                }
                            }
                        }
                        v3 = c.d.a.d.b.b.f.a(v2_0, v0_9.a);
                    } else {
                    }
                }
            } catch (int v0_6) {
                throw v0_6;
            }
            if (this.b == null) {
                this.b = new c.d.a.d.b.b.b();
            }
        }
        return this.b;
    }

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


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

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


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

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

Couldn't retrieve source code

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


    public a(android.content.Context p5)
    {
        String v1_3;
        this.b = p5;
        this.a = p5.getSharedPreferences("com.google.android.gms.appid", 0);
        String v5_1 = "com.google.android.gms.appid".concat("-no-backup");
        String v1_0 = this.b;
        if (!a.b.f.a.H.d()) {
            v1_3 = a.b.f.a.H.a(new java.io.File(v1_0.getApplicationInfo().dataDir, "no_backup"));
        } else {
            v1_3 = v1_0.getNoBackupFilesDir();
        }
        int v2_4 = new java.io.File(v1_3, v5_1);
        try {
            if ((!v2_4.exists()) && ((v2_4.createNewFile()) && (!this.c()))) {
                android.util.Log.i("FirebaseInstanceId", "App restored, clearing state");
                this.b();
                com.google.firebase.iid.FirebaseInstanceId.b().h();
            }
        } catch (String v5_5) {
            if (!android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
            } else {
                String v5_7 = String.valueOf(v5_5.getMessage());
                if (v5_7.length() == 0) {
                    String v5_9 = new String("Error creating file in no backup dir: ");
                    android.util.Log.d("FirebaseInstanceId", v5_9);
                } else {
                    v5_9 = "Error creating file in no backup dir: ".concat(v5_7);
                }
            }
        }
        return;
    }

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


    public final void f()
    {
        this.p().b();
        this.a();
        if (!this.A) {
            this.o().j.a("This instance being marked as an uploader");
            this.p().b();
            this.a();
            this.p().b();
            this.a();
            if (this.A) {
                this.p().b();
                int v0_2 = 0;
                try {
                    Integer v2_14;
                    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 (Integer v2_15) {
                    c.e.a.a.h.Aa v3_13 = this.o().f;
                    String v4_5 = "Failed to acquire storage lock";
                    v3_13.a(v4_5, v2_15);
                    v2_14 = 0;
                    if (v2_14 != null) {
                        Integer v2_2;
                        Integer v2_16 = this.E;
                        this.p().b();
                        if ((v2_16 != null) && (v2_16.isOpen())) {
                            c.e.a.a.h.Aa v7_4 = java.nio.ByteBuffer.allocate(4);
                            try {
                                v2_16.position(0);
                                Integer v2_17 = v2_16.read(v7_4);
                            } catch (Integer v2_19) {
                                this.o().f.a("Failed to read from channel", v2_19);
                                v2_2 = 0;
                            }
                            if (v2_17 == 4) {
                                v7_4.flip();
                                v2_2 = v7_4.getInt();
                            } else {
                                if (v2_17 == -1) {
                                } else {
                                    this.o().h.a("Unexpected data length. Bytes read", Integer.valueOf(v2_17));
                                }
                            }
                        } else {
                            this.o().f.a("Bad channel to read from");
                        }
                        c.e.a.a.h.Aa v3_6;
                        int v0_5;
                        String v4_3;
                        Integer v2_3;
                        c.e.a.a.h.Aa v7_1 = this.z();
                        v7_1.s();
                        c.e.a.a.h.Aa v7_2 = v7_1.e;
                        this.p().b();
                        if (v2_2 <= v7_2) {
                            if (v2_2 >= v7_2) {
                                this.A = 1;
                                this.k();
                                return;
                            } else {
                                java.nio.channels.FileChannel v8_2 = this.E;
                                this.p().b();
                                if ((v8_2 != null) && (v8_2.isOpen())) {
                                    Long v5_0 = java.nio.ByteBuffer.allocate(4);
                                    v5_0.putInt(v7_2);
                                    v5_0.flip();
                                    try {
                                        v8_2.truncate(0);
                                        v8_2.write(v5_0);
                                        v8_2.force(1);
                                    } catch (c.e.a.a.h.Aa v3_3) {
                                        this.o().f.a("Failed to write to channel", v3_3);
                                    }
                                    if (v8_2.size() != 4) {
                                        this.o().f.a("Error writing to channel. Bytes written", Long.valueOf(v8_2.size()));
                                    }
                                    v0_2 = 1;
                                } else {
                                    this.o().f.a("Bad channel to read from");
                                }
                                if (v0_2 == 0) {
                                    v0_5 = this.o().f;
                                    v2_3 = Integer.valueOf(v2_2);
                                    v3_6 = Integer.valueOf(v7_2);
                                    v4_3 = "Storage version upgrade failed. Previous, current version";
                                } else {
                                    v0_5 = this.o().l;
                                    v2_3 = Integer.valueOf(v2_2);
                                    v3_6 = Integer.valueOf(v7_2);
                                    v4_3 = "Storage version upgraded. Previous, current version";
                                }
                            }
                        } else {
                            v0_5 = this.o().f;
                            v2_3 = Integer.valueOf(v2_2);
                            v3_6 = Integer.valueOf(v7_2);
                            v4_3 = "Panic: can\'t downgrade version. Previous, current version";
                        }
                        v0_5.a(v4_3, v2_3, v3_6);
                    }
                } catch (Integer v2_15) {
                    v3_13 = this.o().f;
                    v4_5 = "Failed to access storage lock file";
                }
                if (this.D == null) {
                    this.o().f.a("Storage concurrent data access panic");
                } else {
                    this.o().l.a("Storage concurrent access okay");
                    v2_14 = 1;
                }
            }
        }
        return;
    }

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


    public static ark>c.d.a.a.bark> 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 {
                java.io.File 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.d.a.a.bark>.a(v0_2, v1_3, 0);
                    } else {
                        v0_2.delete();
                    }
                }
                java.io.File v0_3 = new ark>c.d.a.a.bark>;
                v0_3(p9, p10, p11, p12);
                if (v0_3.b.exists()) {
                    try {
                        v0_3.l();
                        v0_3.k();
                        return v0_3;
                    } catch (String v1_6) {
                        StringBuilder v3_2 = c.a.a.a.a.b("DiskLruCache ", p9, " is corrupt: ");
                        v3_2.append(v1_6.getMessage());
                        v3_2.append(", removing");
                        System.out.println(v3_2.toString());
                        v0_3.close();
                        c.d.a.a.e.a(v0_3.a);
                    }
                }
                p9.mkdirs();
                java.io.File v0_5 = new ark>c.d.a.a.bark>;
                v0_5(p9, p10, p11, p12);
                v0_5.m();
                return v0_5;
            }
        }
    }

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


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


    public synthetic b$b(c.d.a.a.b p6, String p7, c.d.a.a.a p8)
    {
        this.h = p6;
        this.a = p7;
        StringBuilder v8_5 = new long[c.d.a.a.b.c(p6)];
        this.b = v8_5;
        StringBuilder v8_7 = new java.io.File[c.d.a.a.b.c(p6)];
        this.c = v8_7;
        StringBuilder v8_1 = new java.io.File[c.d.a.a.b.c(p6)];
        this.d = v8_1;
        StringBuilder v8_3 = new StringBuilder(p7);
        v8_3.append(46);
        int v7_2 = v8_3.length();
        int v0 = 0;
        while (v0 < c.d.a.a.b.c(p6)) {
            v8_3.append(v0);
            this.c[v0] = new java.io.File(c.d.a.a.b.d(p6), v8_3.toString());
            v8_3.append(".tmp");
            this.d[v0] = new java.io.File(c.d.a.a.b.d(p6), v8_3.toString());
            v8_3.setLength(v7_2);
            v0++;
        }
        return;
    }

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


    public static android.support.v4.content.FileProvider$a b(android.content.Context p8, String p9)
    {
        String v0_1 = new android.support.v4.content.FileProvider$b(p9);
        IllegalArgumentException v9_1 = p8.getPackageManager().resolveContentProvider(p9, 128).loadXmlMetaData(p8.getPackageManager(), "android.support.FILE_PROVIDER_PATHS");
        if (v9_1 == null) {
            throw new IllegalArgumentException("Missing android.support.FILE_PROVIDER_PATHS meta-data");
        }
        while(true) {
            java.io.File[] v1_0 = v9_1.next();
            if (v1_0 == 1) {
                break;
            }
            if (v1_0 == 2) {
                java.io.File[] v1_1 = v9_1.getName();
                java.io.File v3_0 = 0;
                String v4_1 = v9_1.getAttributeValue(0, "name");
                String v5_1 = v9_1.getAttributeValue(0, "path");
                int v7 = 0;
                if (!"root-path".equals(v1_1)) {
                    if (!"files-path".equals(v1_1)) {
                        if (!"cache-path".equals(v1_1)) {
                            if (!"external-path".equals(v1_1)) {
                                if (!"external-files-path".equals(v1_1)) {
                                    if ("external-cache-path".equals(v1_1)) {
                                        java.io.File[] v1_4 = a.b.e.b.a.a(p8);
                                        if (v1_4.length > 0) {
                                            v3_0 = v1_4[0];
                                        }
                                    }
                                } else {
                                    java.io.File[] v1_5 = a.b.e.b.a.b(p8, 0);
                                    if (v1_5.length > 0) {
                                        v3_0 = v1_5[0];
                                    }
                                }
                            } else {
                                v3_0 = android.os.Environment.getExternalStorageDirectory();
                            }
                        } else {
                            v3_0 = p8.getCacheDir();
                        }
                    } else {
                        v3_0 = p8.getFilesDir();
                    }
                } else {
                    v3_0 = android.support.v4.content.FileProvider.b;
                }
                if (v3_0 != null) {
                    java.io.File[] v1_6 = new String[1];
                    v1_6[0] = v5_1;
                    while (v7 < v1_6.length) {
                        String v5_2 = v1_6[v7];
                        if (v5_2 != null) {
                            v3_0 = new java.io.File(v3_0, v5_2);
                        }
                        v7++;
                    }
                    if (android.text.TextUtils.isEmpty(v4_1)) {
                        throw new IllegalArgumentException("Name must not be empty");
                    } else {
                        try {
                            v0_1.b.put(v4_1, v3_0.getCanonicalFile());
                        } catch (java.io.IOException v8_5) {
                            throw new IllegalArgumentException(c.a.a.a.a.a("Failed to resolve canonical path for ", v3_0), v8_5);
                        }
                    }
                }
            }
        }
        return v0_1;
    }

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


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

Method c.e.a.a.h.Xa.f() calling method java.io.RandomAccessFile.<init>()


    public final void f()
    {
        this.p().b();
        this.a();
        if (!this.A) {
            this.o().j.a("This instance being marked as an uploader");
            this.p().b();
            this.a();
            this.p().b();
            this.a();
            if (this.A) {
                this.p().b();
                int v0_2 = 0;
                try {
                    Integer v2_14;
                    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 (Integer v2_15) {
                    c.e.a.a.h.Aa v3_13 = this.o().f;
                    String v4_5 = "Failed to acquire storage lock";
                    v3_13.a(v4_5, v2_15);
                    v2_14 = 0;
                    if (v2_14 != null) {
                        Integer v2_2;
                        Integer v2_16 = this.E;
                        this.p().b();
                        if ((v2_16 != null) && (v2_16.isOpen())) {
                            c.e.a.a.h.Aa v7_4 = java.nio.ByteBuffer.allocate(4);
                            try {
                                v2_16.position(0);
                                Integer v2_17 = v2_16.read(v7_4);
                            } catch (Integer v2_19) {
                                this.o().f.a("Failed to read from channel", v2_19);
                                v2_2 = 0;
                            }
                            if (v2_17 == 4) {
                                v7_4.flip();
                                v2_2 = v7_4.getInt();
                            } else {
                                if (v2_17 == -1) {
                                } else {
                                    this.o().h.a("Unexpected data length. Bytes read", Integer.valueOf(v2_17));
                                }
                            }
                        } else {
                            this.o().f.a("Bad channel to read from");
                        }
                        String v4_3;
                        Integer v2_3;
                        c.e.a.a.h.Aa v3_6;
                        int v0_5;
                        c.e.a.a.h.Aa v7_1 = this.z();
                        v7_1.s();
                        c.e.a.a.h.Aa v7_2 = v7_1.e;
                        this.p().b();
                        if (v2_2 <= v7_2) {
                            if (v2_2 >= v7_2) {
                                this.A = 1;
                                this.k();
                                return;
                            } else {
                                java.nio.channels.FileChannel v8_2 = this.E;
                                this.p().b();
                                if ((v8_2 != null) && (v8_2.isOpen())) {
                                    Long v5_0 = java.nio.ByteBuffer.allocate(4);
                                    v5_0.putInt(v7_2);
                                    v5_0.flip();
                                    try {
                                        v8_2.truncate(0);
                                        v8_2.write(v5_0);
                                        v8_2.force(1);
                                    } catch (c.e.a.a.h.Aa v3_3) {
                                        this.o().f.a("Failed to write to channel", v3_3);
                                    }
                                    if (v8_2.size() != 4) {
                                        this.o().f.a("Error writing to channel. Bytes written", Long.valueOf(v8_2.size()));
                                    }
                                    v0_2 = 1;
                                } else {
                                    this.o().f.a("Bad channel to read from");
                                }
                                if (v0_2 == 0) {
                                    v0_5 = this.o().f;
                                    v2_3 = Integer.valueOf(v2_2);
                                    v3_6 = Integer.valueOf(v7_2);
                                    v4_3 = "Storage version upgrade failed. Previous, current version";
                                } else {
                                    v0_5 = this.o().l;
                                    v2_3 = Integer.valueOf(v2_2);
                                    v3_6 = Integer.valueOf(v7_2);
                                    v4_3 = "Storage version upgraded. Previous, current version";
                                }
                            }
                        } else {
                            v0_5 = this.o().f;
                            v2_3 = Integer.valueOf(v2_2);
                            v3_6 = Integer.valueOf(v7_2);
                            v4_3 = "Panic: can\'t downgrade version. Previous, current version";
                        }
                        v0_5.a(v4_3, v2_3, v3_6);
                    }
                } catch (Integer v2_15) {
                    v3_13 = this.o().f;
                    v4_5 = "Failed to access storage lock file";
                }
                if (this.D == null) {
                    this.o().f.a("Storage concurrent data access panic");
                } else {
                    this.o().l.a("Storage concurrent access okay");
                    v2_14 = 1;
                }
            }
        }
        return;
    }

Method com.razorpay.BaseUtils.storeFileInInternal() calling method android.content.ContextWrapper.openFileOutput()


    public static boolean storeFileInInternal(android.app.Activity p2, String p3, String p4)
    {
        com.razorpay.BaseUtils.a_$P$ = ((com.razorpay.BaseUtils.d__1_ + 11) % 128);
        try {
            int v3_6;
            Exception v2_3 = p2.openFileOutput(p3, 0);
            v2_3.write(p4.getBytes());
            v2_3.close();
            int v3_2 = (com.razorpay.BaseUtils.a_$P$ + 115);
            com.razorpay.BaseUtils.d__1_ = (v3_2 % 128);
            int v3_3 = (v3_2 % 2);
        } catch (Exception v2_2) {
            com.razorpay.AnalyticsUtil.reportError(v2_2, "error", "Error in saving file: ".concat(String.valueOf(v3_3)));
            return 0;
        }
        if (v3_3 == 0) {
            v3_6 = 95;
        } else {
            v3_6 = 36;
        }
        // Both branches of the condition point to the same code.
        // if (v3_6 == 95) {
            return 1;
        // }
    }