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 ru.yandex.searchlib.network.BlobLoader.a() calling method java.io.FileOutputStream.<init>()


    private static void a(android.content.Context p7, android.net.Uri p8, java.io.File p9, ark>ru.yandex.searchlib.network.BlobLoaderark>$b p10, ark>ru.yandex.searchlib.network.BlobLoaderark>$a p11)
    {
        Throwable v3_0 = 0;
        if (ru.yandex.searchlib.util.p.b(p7)) {
            try {
                java.io.IOException v0_0 = ((java.net.HttpURLConnection) new java.net.URL(p8.toString()).openConnection());
                try {
                    int v2_2;
                    v0_0.connect();
                } catch (int v1_6) {
                    int v1_1 = v0_0;
                    java.io.IOException v0_2 = v1_6;
                    if (v1_1 != 0) {
                        v1_1.disconnect();
                    }
                    ru.yandex.searchlib.util.ab.a(v3_0);
                    throw v0_2;
                } catch (int v1_5) {
                    int v1_0 = 0;
                    v3_0 = v0_0;
                    java.io.IOException v0_1 = v1_5;
                    try {
                        p11.a(new ark>ru.yandex.searchlib.network.BlobLoaderark>$DownloadException(v0_1));
                    } catch (java.io.IOException v0_2) {
                        v1_1 = v3_0;
                        v3_0 = v1_0;
                    }
                    if (v3_0 != null) {
                        v3_0.disconnect();
                    }
                    ru.yandex.searchlib.util.ab.a(v1_0);
                }
                if (v0_0.getResponseCode() != 200) {
                    p11.a(new ark>ru.yandex.searchlib.network.BlobLoaderark>$DownloadException("Bad response code"));
                    v2_2 = 0;
                } else {
                    int v1_8 = new java.io.BufferedInputStream(v0_0.getInputStream());
                    v2_2 = new java.io.FileOutputStream(p9);
                    try {
                        Throwable v3_2 = new byte[8192];
                    } catch (int v1_11) {
                        v3_0 = v2_2;
                        v1_1 = v0_0;
                        v0_2 = v1_11;
                    } catch (int v1_9) {
                        v3_0 = v0_0;
                        v0_1 = v1_9;
                        v1_0 = v2_2;
                    }
                    while(true) {
                        int v4 = v1_8.read(v3_2);
                        if (v4 == -1) {
                            break;
                        }
                        v2_2.write(v3_2, 0, v4);
                    }
                    ark>ru.yandex.searchlib.network.BlobLoaderark>.a(p9, p10, p11);
                }
                if (v0_0 != null) {
                    v0_0.disconnect();
                }
                ru.yandex.searchlib.util.ab.a(v2_2);
            } catch (java.io.IOException v0_2) {
                v1_1 = 0;
            } catch (java.io.IOException v0_1) {
                v1_0 = 0;
            }
        } else {
            p11.a(new ark>ru.yandex.searchlib.network.BlobLoaderark>$DownloadException("No internet connection"));
        }
        return;
    }

Method ru.yandex.searchlib.a.a.a() calling method java.io.FileOutputStream.<init>()


    public void a(String p7, Object p8, ru.yandex.searchlib.json.f p9)
    {
        String v0_0 = this.c(p7);
        java.io.IOException v1_0 = 0;
        try {
            if ((this.a.exists()) || (this.a.mkdirs())) {
                StringBuilder v3_1 = new java.io.File(new StringBuilder().append(v0_0.getAbsolutePath()).append(".tmp").toString());
                java.io.IOException v2_6 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_1));
                p9.a(p8, v2_6);
                if (v3_1.renameTo(v0_0)) {
                    ru.yandex.searchlib.util.ab.a(v2_6);
                    return;
                } else {
                    throw new java.io.IOException(new StringBuilder().append("Couldn\'t rename file from:").append(v3_1).append("; to:").append(v0_0).toString());
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("Couldn\'t create dirs for ").append(v0_0).toString());
            }
        } catch (String v0_4) {
        }
        ru.yandex.searchlib.util.ab.a(v1_0);
        throw v0_4;
    }

Method ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesController.a() calling method java.io.FileOutputStream.<init>()


    private void a(String p5, String p6)
    {
        ark>ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesControllerark>$BadFileNameException v0_1 = new java.io.File(new StringBuilder().append(this.d.k.m()).append("/").append(this.d.e()).append("/").append(p5).toString());
        String v1_6 = v0_1.getParentFile();
        if ((v1_6.exists()) || (v1_6.mkdirs())) {
            try {
                String v1_10 = new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_1));
                v1_10.write(p6);
                v1_10.close();
                ru.yandex.mail.ui.PutToDiskActivity.a(this.d, v0_1.getAbsolutePath());
                return;
            } catch (ark>ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesControllerark>$BadFileNameException v0_3) {
                ru.yandex.disk.Log.a("PutToDiskActivity", v0_3);
                throw new ark>ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesControllerark>$BadFileNameException(0);
            }
        } else {
            throw new ark>ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesControllerark>$BadFileNameException(0);
        }
    }

Method ru.yandex.disk.util.ak.a() calling method java.io.FileOutputStream.<init>()


    public static java.io.File a(java.io.File p9, java.util.List p10)
    {
        byte[] v1 = new byte[2048];
        java.util.zip.ZipOutputStream v2_1 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(new java.io.FileOutputStream(p9)));
        java.util.Iterator v3_0 = p10.iterator();
        while (v3_0.hasNext()) {
            int v0_2 = ((java.io.File) v3_0.next());
            java.io.BufferedInputStream v4_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v0_2));
            v2_1.putNextEntry(new java.util.zip.ZipEntry(new com.yandex.b.a(v0_2.getPath()).c()));
            while(true) {
                int v0_5 = v4_1.read(v1, 0, 2048);
                if (v0_5 == -1) {
                    break;
                }
                v2_1.write(v1, 0, v0_5);
            }
        }
        v2_1.close();
        return p9;
    }

Method ru.yandex.disk.pub.v.a() calling method java.io.FileOutputStream.<init>()


    private void a(okhttp3.Call p9, ru.yandex.disk.df p10)
    {
        long v0_0 = p9.execute();
        if (v0_0.code() == 200) {
            String v1_7 = this.j.a(this.b);
            this.c.a(com.yandex.b.a.a(this.b));
            this.g.b(this.c);
            if ((!v1_7.exists()) || (v1_7.delete())) {
                java.io.FileOutputStream v2_5 = new java.io.FileOutputStream(v1_7);
                long v0_1 = v0_0.body();
                if (v0_1 != 0) {
                    this.h = p10.j();
                    String v1_2 = v0_1.contentType();
                    if ((android.text.TextUtils.isEmpty(this.h)) && (v1_2 != null)) {
                        this.h = v1_2.toString();
                    }
                    java.io.InputStream v3_5 = v0_1.byteStream();
                    byte[] v4 = new byte[4096];
                    long v0_3 = 0;
                    try {
                        while (!this.a.c()) {
                            com.yandex.disk.client.k v5_2 = v3_5.read(v4);
                            if (v5_2 >= null) {
                                v2_5.write(v4, 0, v5_2);
                                v0_3 += ((long) v5_2);
                                this.a.a(v0_3, this.c.h());
                            } else {
                                v2_5.close();
                                v3_5.close();
                            }
                        }
                    } catch (long v0_6) {
                        v2_5.close();
                        v3_5.close();
                        throw v0_6;
                    }
                    throw new com.yandex.disk.client.exceptions.CancelledDownloadException();
                } else {
                    throw new java.io.IOException("No content in response");
                }
            } else {
                throw new java.io.IOException("Cannot delete old file");
            }
        }
        return;
    }

Method ru.yandex.disk.g.h.a() calling method java.io.FileOutputStream.<init>()


    public static String a(android.net.Uri p10, android.content.Context p11, String p12)
    {
        String v7_0 = 1;
        String v3_7 = 0;
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("ImportUtils", new StringBuilder().append("obtainFileNameFromGalleryUri: ").append(p10).append(", ").append(p12).toString());
        }
        int v0_15 = p11.getContentResolver();
        StringBuilder v5_6 = v0_15.query(p10, ark>ru.yandex.disk.g.hark>.a, 0, 0, 0);
        try {
            String v2_22;
            int v1_5;
            if (!v5_6.moveToFirst()) {
                v2_22 = 0;
                v1_5 = 0;
            } else {
                int v1_10;
                int v1_9 = v5_6.getString(0);
                android.graphics.Bitmap$CompressFormat v4_1 = v5_6.getString(1);
                String vtmp11 = v5_6.getString(2);
                if (v1_9 == 0) {
                    v1_10 = 1;
                } else {
                    v3_7 = v1_9;
                    v1_10 = 0;
                }
                v7_0 = v1_10;
                v1_5 = v3_7;
                v3_7 = vtmp11;
                v2_22 = v4_1;
            }
        } catch (int v0_17) {
            if (v5_6 != null) {
                v5_6.close();
            }
            throw v0_17;
        }
        if (v5_6 != null) {
            v5_6.close();
        }
        if (v7_0 != null) {
            StringBuilder v5_7 = ru.yandex.disk.Storage.a(p11);
            try {
                String v3_10;
                android.graphics.Bitmap$CompressFormat v4_2;
                android.graphics.Bitmap v6_1 = android.provider.MediaStore$Images$Media.getBitmap(v0_15, p10);
            } catch (int v0_14) {
                ru.yandex.disk.Log.c("ImportUtils", "uploadImageFromGallery", v0_14);
            }
            if ((v3_7 == null) || (!"image/png".equalsIgnoreCase(v3_7))) {
                v4_2 = android.graphics.Bitmap$CompressFormat.JPEG;
                v3_10 = ".jpg";
            } else {
                v4_2 = android.graphics.Bitmap$CompressFormat.PNG;
                v3_10 = ".png";
            }
            int v0_0;
            if (v2_22 == null) {
                v0_0 = new StringBuilder().append("photo-").append(System.currentTimeMillis()).append(v3_10).toString();
            } else {
                if (!v2_22.endsWith(v3_10)) {
                    v0_0 = new StringBuilder().append(v2_22).append(v3_10).toString();
                } else {
                    v0_0 = v2_22;
                }
            }
            String v7_2 = new java.io.File(new StringBuilder().append(v5_7.m()).append(p12).toString());
            if (!v7_2.exists()) {
                v7_2.mkdirs();
            }
            String v2_7 = new java.io.File(v7_2, v0_0);
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("ImportUtils", new StringBuilder().append("createNewFile: ").append(v2_7.getAbsolutePath()).toString());
            }
            int v0_3 = v2_7.createNewFile();
            if (v0_3 == 0) {
                v2_7 = new java.io.File(new StringBuilder().append(v5_7.m()).append(p12).toString(), new StringBuilder().append("photo-").append(System.currentTimeMillis()).append(v3_10).toString());
                v0_3 = v2_7.createNewFile();
            }
            if (v0_3 == 0) {
                ru.yandex.disk.Log.c("ImportUtils", new StringBuilder().append("Error creating file ").append(v1_5).toString());
            } else {
                int v0_13;
                int v0_11 = new java.io.FileOutputStream(v2_7, 0);
                if (!v6_1.compress(v4_2, 100, v0_11)) {
                    ru.yandex.disk.Log.c("ImportUtils", new StringBuilder().append("Error saving bitmap to ").append(v1_5).toString());
                    v0_13 = v1_5;
                } else {
                    v0_11.close();
                    v0_13 = v2_7.getAbsolutePath();
                }
                v1_5 = v0_13;
            }
            v6_1.recycle();
        }
        return v1_5;
    }

Method ru.yandex.disk.g.g.a() calling method java.io.FileOutputStream.<init>()


    private String a(ark>ru.yandex.disk.g.gark>$a p6, java.util.List p7)
    {
        int v0_2;
        if (p6.a == null) {
            v0_2 = 0;
        } else {
            v0_2 = this.e.a(p6.b, this.c, p7);
            try {
                ru.yandex.disk.util.an.a(p6.a, new java.io.FileOutputStream(v0_2));
            } catch (int v0_1) {
                ru.yandex.disk.Log.c("ImportHelper", new StringBuilder().append("loadFile ").append(p6.b).toString(), v0_1);
                v0_2 = 0;
            }
        }
        return v0_2;
    }

Method ru.yandex.disk.download.t$2$1.<init>() calling method java.io.FileOutputStream.<init>()


    t$2$1(ru.yandex.disk.download.t$2 p1, java.io.FileDescriptor p2)
    {
        this.a = p1;
        super(p2);
        return;
    }

Method ru.yandex.disk.download.t$1.a() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream a(boolean p3)
    {
        if (ru.yandex.disk.download.t.a(this.b) == null) {
            throw new java.io.IOException("bad server response, etag not found");
        } else {
            return new java.io.FileOutputStream(ru.yandex.disk.download.t.a(this.b), p3);
        }
    }

Method ru.yandex.disk.download.d.a() calling method java.io.FileOutputStream.<init>()


    public void a()
    {
        int v10 = 0;
        Throwable v0_0 = 0;
        long v2 = this.a.length();
        if (!this.a.getAbsolutePath().equals(this.b.getAbsolutePath())) {
            long v6 = 0;
            java.io.FileInputStream v11_1 = new java.io.FileInputStream(this.a);
            try {
                java.io.FileOutputStream v12_1 = new java.io.FileOutputStream(this.b);
                try {
                    while (!this.c.c()) {
                        v12_1.write(this.d, 0, v0_0);
                        v6 += ((long) v0_0);
                        this.c.a(this.a.getName(), v6, v2);
                        v0_0 = v11_1.read(this.d);
                        if (v0_0 == -1) {
                            if (v12_1 != null) {
                                if (0 == 0) {
                                    v12_1.close();
                                } else {
                                    try {
                                        v12_1.close();
                                    } catch (Throwable v0) {
                                    }
                                }
                            }
                            if (v11_1 == null) {
                                return;
                            } else {
                                if (0 == 0) {
                                    v11_1.close();
                                    return;
                                } else {
                                    try {
                                        v11_1.close();
                                    } catch (Throwable v0) {
                                    }
                                    return;
                                }
                            }
                        }
                        if (v12_1 != null) {
                            if (Throwable v1_10 == null) {
                                v12_1.close();
                            } else {
                                try {
                                    v12_1.close();
                                } catch (Throwable v1) {
                                }
                            }
                        }
                        throw Throwable v0_7;
                    }
                } catch (Throwable v0_7) {
                    v1_10 = 0;
                } catch (Throwable v0_6) {
                    try {
                        throw v0_6;
                    } catch (Throwable v1_9) {
                        v1_10 = v0_6;
                        v0_7 = v1_9;
                    }
                }
                throw new com.yandex.disk.client.exceptions.CancelledDownloadException();
            } catch (Throwable v0_9) {
                try {
                    throw v0_9;
                } catch (Throwable v1_12) {
                    v10 = v0_9;
                    Throwable v0_8 = v1_12;
                    if (v11_1 != null) {
                        if (v10 == 0) {
                            v11_1.close();
                        } else {
                            try {
                                v11_1.close();
                            } catch (Throwable v1) {
                            }
                        }
                    }
                    throw v0_8;
                }
            }
        } else {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("CopyFileWithProgress", new StringBuilder().append("source is same as destination: ").append(this.a.getAbsolutePath()).toString());
            }
            this.c.a(this.a.getName(), v2, v2);
        }
        return;
    }

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


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

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


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

Method it.sephiroth.android.library.ab.ABFilePreference.createFile() calling method java.io.FileOutputStream.<init>()


    private String createFile(java.io.File p4)
    {
        String v0_1 = this.generateNew().toString();
        p4.createNewFile();
        java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p4);
        v1_1.write(v0_1.getBytes());
        v1_1.flush();
        v1_1.close();
        return v0_1;
    }

Method com.yandex.sslpinning.core.e.a() calling method java.io.FileOutputStream.<init>()


    private declared_synchronized void a(java.util.Map p6)
    {
        try {
            String v1_1 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c)));
            try {
                String v2_1 = p6.keySet().iterator();
            } catch (String v0_11) {
                android.util.Log.e(ark>com.yandex.sslpinning.core.eark>.a, v0_11.getMessage());
                if (v1_1 == null) {
                    return;
                } else {
                    try {
                        v1_1.close();
                    } catch (String v0_13) {
                        android.util.Log.e(ark>com.yandex.sslpinning.core.eark>.a, v0_13.getMessage());
                    }
                    return;
                }
            }
            while (v2_1.hasNext()) {
                String v0_7 = ((String) v2_1.next());
                v1_1.write(this.b(v0_7));
                v1_1.newLine();
                java.util.Iterator v3_2 = ((java.util.Set) p6.get(v0_7)).iterator();
                while (v3_2.hasNext()) {
                    v1_1.write(((String) v3_2.next()));
                    v1_1.newLine();
                }
            }
            if (v1_1 == null) {
                return;
            } else {
                try {
                    v1_1.close();
                } catch (String v0_4) {
                    android.util.Log.e(ark>com.yandex.sslpinning.core.eark>.a, v0_4.getMessage());
                }
                return;
            }
        } catch (String v0_0) {
            v1_1 = 0;
            if (v1_1 != null) {
                try {
                    v1_1.close();
                } catch (String v1_4) {
                    android.util.Log.e(ark>com.yandex.sslpinning.core.eark>.a, v1_4.getMessage());
                }
            }
            throw v0_0;
        } catch (String v0_11) {
            v1_1 = 0;
        } catch (String v0_0) {
        } catch (String v0_16) {
            throw v0_16;
        }
    }

Method com.yandex.metrica.impl.s.b() calling method java.io.FileOutputStream.<init>()


    public static void b(android.content.Context p2, String p3, String p4)
    {
        java.io.File v1_1 = new java.io.File(p2.getNoBackupFilesDir(), p3);
        try {
            com.yandex.metrica.impl.s.a(p4, new java.io.FileOutputStream(v1_1));
            com.yandex.metrica.impl.s.c(p2, v1_1);
        } catch (java.io.FileNotFoundException v0) {
        }
        return;
    }

Method com.yandex.metrica.impl.ob.gd.a() calling method java.io.FileOutputStream.<init>()


    private declared_synchronized void a(java.util.Map p6)
    {
        try {
            String v1_1 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c)));
            try {
                String v2_1 = p6.keySet().iterator();
            } catch (String v0_11) {
                android.util.Log.e(ark>com.yandex.metrica.impl.ob.gdark>.a, v0_11.getMessage());
                if (v1_1 == null) {
                    return;
                } else {
                    try {
                        v1_1.close();
                    } catch (String v0_13) {
                        android.util.Log.e(ark>com.yandex.metrica.impl.ob.gdark>.a, v0_13.getMessage());
                    }
                    return;
                }
            }
            while (v2_1.hasNext()) {
                String v0_7 = ((String) v2_1.next());
                v1_1.write(new StringBuilder("type-").append(v0_7).toString());
                v1_1.newLine();
                java.util.Iterator v3_5 = ((java.util.Set) p6.get(v0_7)).iterator();
                while (v3_5.hasNext()) {
                    v1_1.write(((String) v3_5.next()));
                    v1_1.newLine();
                }
            }
            try {
                v1_1.close();
            } catch (String v0_4) {
                android.util.Log.e(ark>com.yandex.metrica.impl.ob.gdark>.a, v0_4.getMessage());
            }
            return;
        } catch (String v0_0) {
            v1_1 = 0;
            if (v1_1 != null) {
                try {
                    v1_1.close();
                } catch (String v1_4) {
                    android.util.Log.e(ark>com.yandex.metrica.impl.ob.gdark>.a, v1_4.getMessage());
                }
            }
            throw v0_0;
        } catch (String v0_11) {
            v1_1 = 0;
        } catch (String v0_0) {
        } catch (String v0_16) {
            throw v0_16;
        }
    }

Method com.yandex.disk.rest.FileDownloadListener.getOutputStream() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream getOutputStream(boolean p3)
    {
        return new java.io.FileOutputStream(this.saveTo, p3);
    }

Method ru.yandex.disk.util.ap.b() calling method java.io.FileOutputStream.<init>()


    private void b(java.io.File p5)
    {
        Throwable v0_3 = this.c.c();
        if (android.text.TextUtils.isEmpty(v0_3)) {
            v0_3 = java.util.UUID.randomUUID().toString();
        }
        java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(p5);
        Throwable v1_0 = 0;
        try {
            v2_1.write(v0_3.getBytes());
        } catch (Throwable v0_4) {
            if (v2_1 != null) {
                if (v1_0 == null) {
                    v2_1.close();
                } else {
                    try {
                        v2_1.close();
                    } catch (Throwable v1) {
                    }
                }
            }
            throw v0_4;
        } catch (Throwable v0_2) {
            try {
                throw v0_2;
            } catch (Throwable v1_1) {
                v1_0 = v0_2;
                v0_4 = v1_1;
            }
        }
        if (v2_1 != null) {
            if (0 == 0) {
                v2_1.close();
            } else {
                try {
                    v2_1.close();
                } catch (Throwable v0) {
                }
            }
        }
        return;
    }

Method ru.yandex.disk.commonactions.cz.a() calling method java.io.FileOutputStream.<init>()


    private java.io.File a(String p4, String p5)
    {
        try {
            int v0_2 = new java.io.File(this.g.i(), p5);
        } catch (int v0_1) {
            if (!ru.yandex.disk.gs.c) {
                v0_2 = 0;
                return v0_2;
            } else {
                ru.yandex.disk.Log.b("Save report error", v0_1.getMessage(), v0_1);
            }
        }
        if (!v0_2.createNewFile()) {
        } else {
            String v1_0 = new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_2));
            v1_0.write(p4);
            v1_0.close();
            return v0_2;
        }
    }

Method ru.yandex.disk.asyncbitmap.t.a() calling method java.io.FileOutputStream.<init>()


    private void a(String p5, java.io.InputStream p6)
    {
        Throwable v2 = 0;
        java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(((java.io.File) ru.yandex.disk.util.bm.a(this.b(p5))));
        try {
            ru.yandex.disk.util.an.a(p6, v3_1);
        } catch (Throwable v0_0) {
            Throwable v1_0 = 0;
            if (p6 != null) {
                if (v1_0 == null) {
                    p6.close();
                } else {
                    try {
                        p6.close();
                    } catch (Throwable v1) {
                    }
                }
            }
            throw v0_0;
        } catch (Throwable v1_0) {
            try {
                throw v1_0;
            } catch (Throwable v0_0) {
            }
        } catch (Throwable v0_3) {
            try {
                throw v0_3;
            } catch (Throwable v1_1) {
                v2 = v0_3;
                Throwable v0_2 = v1_1;
                if (v3_1 != null) {
                    if (v2 == null) {
                        v3_1.close();
                    } else {
                        try {
                            v3_1.close();
                        } catch (Throwable v1) {
                        }
                    }
                }
                throw v0_2;
            }
        }
        if (p6 != null) {
            if (0 == 0) {
                p6.close();
            } else {
                try {
                    p6.close();
                } catch (Throwable v0) {
                }
            }
        }
        if (v3_1 != null) {
            if (0 == 0) {
                v3_1.close();
            } else {
                try {
                    v3_1.close();
                } catch (Throwable v0) {
                }
            }
        }
        return;
    }

Method it.sephiroth.android.library.exif2.ExifInterface.writeExif() calling method java.io.FileOutputStream.<init>()


    public void writeExif(String p11, String p12)
    {
        android.util.Log.i("ExifInterface", new StringBuilder().append("writeExif: ").append(p12).toString());
        if (!p11.equals(p12)) {
            java.io.FileInputStream v0_3 = new java.io.FileInputStream(p11);
            java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(p12);
            long v4_0 = it.sephiroth.android.library.exif2.ExifInterface.writeExif_internal(v0_3, v7_1, this.mData);
            java.nio.channels.FileChannel v1_3 = v0_3.getChannel();
            v1_3.transferTo(((long) v4_0), (v1_3.size() - ((long) v4_0)), v7_1.getChannel());
            v7_1.flush();
            org.apache.commons.io.IOUtils.closeQuietly(v0_3);
            org.apache.commons.io.IOUtils.closeQuietly(v7_1);
        }
        return;
    }

Method it.sephiroth.android.library.exif2.ExifInterface.writeExif() calling method java.io.FileOutputStream.<init>()


    public void writeExif(java.io.InputStream p4, String p5)
    {
        android.util.Log.i("ExifInterface", new StringBuilder().append("writeExif: ").append(p5).toString());
        java.io.FileOutputStream v0_2 = new java.io.FileOutputStream(p5);
        it.sephiroth.android.library.exif2.ExifInterface.writeExif_internal(p4, v0_2, this.mData);
        org.apache.commons.io.IOUtils.copy(p4, v0_2);
        v0_2.flush();
        v0_2.close();
        return;
    }

Method com.localytics.android.Utils.decompressZipFile() calling method java.io.FileOutputStream.<init>()


    static boolean decompressZipFile(String p8, String p9, String p10)
    {
        java.io.IOException v0 = 0;
        try {
            String v2_0 = new java.util.zip.ZipInputStream(new java.io.FileInputStream(new StringBuilder().append(p8).append(java.io.File.separator).append(p10).toString()));
            try {
                String v3_1 = new byte[8192];
            } catch (java.io.IOException v1_1) {
                com.localytics.android.Localytics$Log.w("Caught IOException", v1_1);
                if (v2_0 == null) {
                    return v0;
                } else {
                    try {
                        v2_0.close();
                    } catch (java.io.IOException v1_4) {
                        com.localytics.android.Localytics$Log.w("Caught IOException", v1_4);
                    }
                    return v0;
                }
            }
            while(true) {
                String v4_1 = v2_0.getNextEntry();
                if (v4_1 == null) {
                    if (v2_0 != null) {
                        try {
                            v2_0.close();
                        } catch (java.io.IOException v1_3) {
                            com.localytics.android.Localytics$Log.w("Caught IOException", v1_3);
                            return v0;
                        }
                    }
                    v0 = 1;
                    return v0;
                } else {
                    int v5_8 = new StringBuilder().append(p9).append(java.io.File.separator).append(v4_1.getName()).toString();
                    if (!v4_1.isDirectory()) {
                        String v4_5 = new java.io.FileOutputStream(v5_8);
                        while(true) {
                            int v5_11 = v2_0.read(v3_1, 0, v3_1.length);
                            if (v5_11 <= 0) {
                                break;
                            }
                        }
                        v4_5.close();
                        v2_0.closeEntry();
                    } else {
                        if (new java.io.File(v5_8).mkdir()) {
                        } else {
                            int v6_5 = new Object[1];
                            v6_5[0] = v5_8;
                            com.localytics.android.Localytics$Log.w(String.format("Could not create directory %s", v6_5));
                        }
                    }
                }
            }
            v4_5.write(v3_1, 0, v5_11);
        } catch (java.io.IOException v1_2) {
            v2_0 = 8192;
            if (v2_0 != null) {
                try {
                    v2_0.close();
                } catch (java.io.IOException v1_5) {
                    com.localytics.android.Localytics$Log.w("Caught IOException", v1_5);
                    return v0;
                }
            }
            throw v1_2;
        } catch (java.io.IOException v1_1) {
            v2_0 = 8192;
        } catch (java.io.IOException v1_2) {
        }
    }

Method com.localytics.android.Utils.copyFile() calling method java.io.FileOutputStream.<init>()


    static void copyFile(java.io.File p11, java.io.File p12)
    {
        String v2_0 = 0;
        com.localytics.android.Utils.validateFileRequirements(p11, p12);
        java.io.IOException v0_8 = p12.getParentFile();
        if ((v0_8 == null) || ((v0_8.mkdirs()) || (v0_8.isDirectory()))) {
            try {
                java.io.FileInputStream v7_1 = new java.io.FileInputStream(p11);
                try {
                    java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p12);
                    try {
                        String v1_14 = v7_1.getChannel();
                        try {
                            java.io.IOException v0_7 = v6_1.getChannel();
                            String v2_3 = 0;
                            try {
                                while(true) {
                                    java.io.FileOutputStream v4_2 = v0_7.transferFrom(v1_14, v2_3, 1048576);
                                    v2_3 += v4_2;
                                }
                                if (v1_14 != null) {
                                    v1_14.close();
                                }
                                if (v0_7 != null) {
                                    v0_7.close();
                                }
                                if (v7_1 != null) {
                                    v7_1.close();
                                }
                                if (v6_1 != null) {
                                    v6_1.close();
                                }
                                java.io.IOException v0_9 = com.localytics.android.Utils.getMD5CheckSum(p11);
                                String v1_16 = com.localytics.android.Utils.getMD5CheckSum(p12);
                                if (!android.text.TextUtils.isEmpty(v0_9)) {
                                    if (!android.text.TextUtils.isEmpty(v1_16)) {
                                        if (v0_9.equals(v1_16)) {
                                            return;
                                        } else {
                                            throw new java.io.IOException(new StringBuilder().append(p11).append(" and ").append(p12).append(" have different checksum").toString());
                                        }
                                    } else {
                                        throw new java.io.IOException(new StringBuilder().append("Failed to get checksum for destination file ").append(p12).toString());
                                    }
                                } else {
                                    throw new java.io.IOException(new StringBuilder().append("Failed to get checksum for source file ").append(p11).toString());
                                }
                            } catch (String v2_8) {
                                Throwable v3_1 = v0_7;
                                java.io.FileOutputStream v4_0 = v1_14;
                                java.io.IOException v0_6 = v2_8;
                                String v1_13 = v6_1;
                                v2_0 = v7_1;
                                if (v4_0 != null) {
                                    v4_0.close();
                                }
                                if (v3_1 != null) {
                                    v3_1.close();
                                }
                                if (v2_0 != null) {
                                    v2_0.close();
                                }
                                if (v1_13 != null) {
                                    v1_13.close();
                                }
                                throw v0_6;
                            }
                            if (v4_2 > 0) {
                            }
                        } catch (java.io.IOException v0_6) {
                            v3_1 = 0;
                            v4_0 = v1_14;
                            v1_13 = v6_1;
                            v2_0 = v7_1;
                        }
                    } catch (java.io.IOException v0_6) {
                        v1_13 = v6_1;
                        v3_1 = 0;
                        v4_0 = 0;
                        v2_0 = v7_1;
                    }
                } catch (java.io.IOException v0_6) {
                    v1_13 = 0;
                    v3_1 = 0;
                    v4_0 = 0;
                    v2_0 = v7_1;
                }
            } catch (java.io.IOException v0_6) {
                v1_13 = 0;
                v3_1 = 0;
                v4_0 = 0;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("Parent directory ").append(v0_8).append("cannot be created").toString());
        }
    }

Method com.localytics.android.CreativeDownloadTask.downloadFile() calling method java.io.FileOutputStream.<init>()


    boolean downloadFile(String p10, String p11, boolean p12, java.net.Proxy p13)
    {
        String v0_0 = 1;
        boolean v2_3 = new java.io.File(p11);
        if ((!v2_3.exists()) || (p12)) {
            String v3_5 = v2_3.getParentFile();
            if ((v3_5.mkdirs()) || (v3_5.isDirectory())) {
                java.io.BufferedInputStream v5_1 = new Object[2];
                v5_1[0] = p11;
                v5_1[1] = Long.valueOf(this.mLocalyticsDao.getCurrentTimeMillis());
                String v3_3 = new java.io.File(String.format("%s_%s_temp", v5_1));
                try {
                    if (!v3_3.createNewFile()) {
                        if ((v3_3.exists()) && (!v3_3.delete())) {
                            com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                        }
                    } else {
                        java.io.BufferedInputStream v5_3 = new java.io.BufferedInputStream(com.localytics.android.BaseUploadThread.createURLConnection(new java.net.URL(p10), p13).getInputStream(), 16384);
                        java.io.FileOutputStream v4_11 = new java.io.FileOutputStream(v3_3.getPath());
                        byte[] v6_6 = new byte[8192];
                        while(true) {
                            int v7 = v5_3.read(v6_6);
                            if (v7 == -1) {
                                break;
                            }
                            v4_11.write(v6_6, 0, v7);
                        }
                        v4_11.close();
                        if (v3_3.renameTo(v2_3)) {
                            if ((v3_3.exists()) && (!v3_3.delete())) {
                                com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                            }
                        } else {
                            com.localytics.android.Localytics$Log.e("Failed to create permanent file for campaign");
                            if ((v3_3.exists()) && (!v3_3.delete())) {
                                com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                            }
                            v0_0 = 0;
                        }
                        return v0_0;
                    }
                } catch (String v0_8) {
                    com.localytics.android.Localytics$Log.e("Failed to download campaign creative", v0_8);
                    if (v3_3.exists()) {
                        if (!v3_3.delete()) {
                            com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                        }
                    }
                } catch (String v0_12) {
                    if (v3_3.exists()) {
                        if (!v3_3.delete()) {
                            com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                        }
                    }
                    throw v0_12;
                }
                v0_0 = 0;
            } else {
                String v0_3 = new Object[1];
                v0_3[0] = v3_5.getAbsolutePath();
                com.localytics.android.Localytics$Log.w(String.format("Could not create the directory %s for saving file.", v0_3));
                v0_0 = 0;
            }
        } else {
            java.io.FileOutputStream v4_1 = new Object[1];
            v4_1[0] = v2_3.getAbsolutePath();
            com.localytics.android.Localytics$Log.w(String.format("The file %s does exist and overwrite is turned off.", v4_1));
        }
        return v0_0;
    }

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


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

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


    public declared_synchronized void zza(String p6, com.google.android.gms.internal.zzb$zza p7)
    {
        try {
            this.zzc(p7.data.length);
            String v0_3 = this.zzf(p6);
            try {
                String v1_6 = new java.io.FileOutputStream(v0_3);
                Object[] v2_5 = new com.google.android.gms.internal.zzv$zza(p6, p7);
            } catch (String v1) {
                if (v0_3.delete()) {
                    return;
                } else {
                    Object[] v2_3 = new Object[1];
                    v2_3[0] = v0_3.getAbsolutePath();
                    com.google.android.gms.internal.zzs.zzb("Could not clean up file %s", v2_3);
                    return;
                }
            }
            if (v2_5.zza(v1_6)) {
                v1_6.write(p7.data);
                v1_6.close();
                this.zza(p6, v2_5);
                return;
            } else {
                v1_6.close();
                Object[] v2_1 = new Object[1];
                v2_1[0] = v0_3.getAbsolutePath();
                com.google.android.gms.internal.zzs.zzb("Failed to write header for %s", v2_1);
                throw new java.io.IOException();
            }
        } catch (String v0_4) {
            throw v0_4;
        }
    }

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


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

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


    private declared_synchronized void j()
    {
        try {
            if (this.k != null) {
                this.k.close();
            }
        } catch (java.io.BufferedWriter v0_36) {
            throw v0_36;
        }
        java.io.OutputStreamWriter v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.e), com.d.a.c.a));
        try {
            v1_0.write("libcore.io.DiskLruCache");
            v1_0.write("\n");
            v1_0.write("1");
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.g));
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.i));
            v1_0.write("\n");
            v1_0.write("\n");
            java.io.FileOutputStream v2_0 = this.l.values().iterator();
        } catch (java.io.BufferedWriter v0_35) {
            v1_0.close();
            throw v0_35;
        }
        while (v2_0.hasNext()) {
            java.io.BufferedWriter v0_30 = ((com.d.a.a$b) v2_0.next());
            if (com.d.a.a$b.a(v0_30) == null) {
                v1_0.write(new StringBuilder().append("CLEAN ").append(com.d.a.a$b.c(v0_30)).append(v0_30.a()).append(10).toString());
            } else {
                v1_0.write(new StringBuilder().append("DIRTY ").append(com.d.a.a$b.c(v0_30)).append(10).toString());
            }
        }
        v1_0.close();
        if (this.d.exists()) {
            com.d.a.a.a(this.d, this.f, 1);
        }
        com.d.a.a.a(this.e, this.d, 0);
        this.f.delete();
        this.k = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.d, 1), com.d.a.c.a));
        return;
    }

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


    public static ark>com.d.a.aark> a(java.io.File p7, int p8, int p9, long p10)
    {
        if (p10 > 0) {
            if (p9 > 0) {
                void v0_7 = new java.io.File(p7, "journal.bkp");
                if (v0_7.exists()) {
                    String v1_1 = new java.io.File(p7, "journal");
                    if (!v1_1.exists()) {
                        ark>com.d.a.aark>.a(v0_7, v1_1, 0);
                    } else {
                        v0_7.delete();
                    }
                }
                void v0_5;
                void v0_3 = new ark>com.d.a.aark>(p7, p8, p9, p10);
                if (!v0_3.d.exists()) {
                    p7.mkdirs();
                    v0_5 = new ark>com.d.a.aark>(p7, p8, p9, p10).j();
                } else {
                    try {
                        v0_5 = v0_3.h().i();
                        v0_5.k = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_5.d, 1), com.d.a.c.a));
                    } catch (String v1_7) {
                        System.out.println(new StringBuilder().append("DiskLruCache ").append(p7).append(" is corrupt: ").append(v1_7.getMessage()).append(", removing").toString());
                        v0_5.f();
                    }
                }
                return v0_5;
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

Method com.d.a.a$a.a() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream a(int p5)
    {
        try {
            if (com.d.a.a$b.a(this.b) == this) {
                if (!com.d.a.a$b.d(this.b)) {
                    this.c[p5] = 1;
                }
                java.io.FileOutputStream v1_2 = new java.io.FileOutputStream(this.b.b(p5));
                java.io.OutputStream v0_8 = new ark>com.d.a.a$aark>$a(this, v1_2, 0);
                return v0_8;
            } else {
                throw new IllegalStateException();
            }
        } catch (java.io.OutputStream v0_13) {
            throw v0_13;
        }
    }

Method com.bumptech.glide.load.engine.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 com.bumptech.glide.a.a.g() calling method java.io.FileOutputStream.<init>()


    private declared_synchronized void g()
    {
        try {
            if (this.j != null) {
                this.j.close();
            }
        } catch (java.io.BufferedWriter v0_36) {
            throw v0_36;
        }
        java.io.OutputStreamWriter v1_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.d), com.bumptech.glide.a.c.a));
        try {
            v1_0.write("libcore.io.DiskLruCache");
            v1_0.write("\n");
            v1_0.write("1");
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.f));
            v1_0.write("\n");
            v1_0.write(Integer.toString(this.h));
            v1_0.write("\n");
            v1_0.write("\n");
            java.io.FileOutputStream v2_0 = this.k.values().iterator();
        } catch (java.io.BufferedWriter v0_35) {
            v1_0.close();
            throw v0_35;
        }
        while (v2_0.hasNext()) {
            java.io.BufferedWriter v0_30 = ((com.bumptech.glide.a.a$b) v2_0.next());
            if (com.bumptech.glide.a.a$b.a(v0_30) == null) {
                v1_0.write(new StringBuilder().append("CLEAN ").append(com.bumptech.glide.a.a$b.c(v0_30)).append(v0_30.a()).append(10).toString());
            } else {
                v1_0.write(new StringBuilder().append("DIRTY ").append(com.bumptech.glide.a.a$b.c(v0_30)).append(10).toString());
            }
        }
        v1_0.close();
        if (this.c.exists()) {
            com.bumptech.glide.a.a.a(this.c, this.e, 1);
        }
        com.bumptech.glide.a.a.a(this.d, this.c, 0);
        this.e.delete();
        this.j = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c, 1), com.bumptech.glide.a.c.a));
        return;
    }

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


    private void e()
    {
        com.bumptech.glide.a.b v1_1 = new com.bumptech.glide.a.b(new java.io.FileInputStream(this.c), com.bumptech.glide.a.c.a);
        try {
            java.io.BufferedWriter v0_7 = v1_1.a();
            java.io.OutputStreamWriter v2_9 = v1_1.a();
            java.io.FileOutputStream v3_0 = v1_1.a();
            java.nio.charset.Charset v4_0 = v1_1.a();
            int v5_0 = v1_1.a();
        } catch (java.io.BufferedWriter v0_17) {
            com.bumptech.glide.a.c.a(v1_1);
            throw v0_17;
        }
        if (("libcore.io.DiskLruCache".equals(v0_7)) && (("1".equals(v2_9)) && ((Integer.toString(this.f).equals(v3_0)) && ((Integer.toString(this.h).equals(v4_0)) && ("".equals(v5_0)))))) {
            java.io.BufferedWriter v0_2 = 0;
            try {
                while(true) {
                    this.d(v1_1.a());
                    v0_2++;
                }
            } catch (java.io.OutputStreamWriter v2) {
                this.l = (v0_2 - this.k.size());
                if (!v1_1.b()) {
                    this.j = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c, 1), com.bumptech.glide.a.c.a));
                } else {
                    this.g();
                }
                com.bumptech.glide.a.c.a(v1_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v0_7).append(", ").append(v2_9).append(", ").append(v4_0).append(", ").append(v5_0).append("]").toString());
        }
    }

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


    public declared_synchronized void a(String p6, com.android.volley.a$a p7)
    {
        try {
            this.a(p7.a.length);
            String v0_3 = this.c(p6);
            try {
                String v1_6 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v0_3));
                Object[] v2_0 = new ark>com.android.volley.toolbox.cark>$a(p6, p7);
            } catch (String v1) {
                if (v0_3.delete()) {
                    return;
                } else {
                    Object[] v2_4 = new Object[1];
                    v2_4[0] = v0_3.getAbsolutePath();
                    com.android.volley.l.b("Could not clean up file %s", v2_4);
                    return;
                }
            }
            if (v2_0.a(v1_6)) {
                v1_6.write(p7.a);
                v1_6.close();
                this.a(p6, v2_0);
                return;
            } else {
                v1_6.close();
                Object[] v2_2 = new Object[1];
                v2_2[0] = v0_3.getAbsolutePath();
                com.android.volley.l.b("Failed to write header for %s", v2_2);
                throw new java.io.IOException();
            }
        } catch (String v0_4) {
            throw v0_4;
        }
    }

Method com.adobe.creativesdk.foundation.internal.utils.CreativeSDKButton.createTypeface() calling method java.io.FileOutputStream.<init>()


    private void createTypeface()
    {
        try {
            android.graphics.Typeface v0_5 = this.getResources().openRawResource(com.adobe.creativesdk.foundation.auth.R$raw.adobecleanlight);
            int v1_4 = java.io.File.createTempFile("temp", 0);
            String v2_0 = new java.io.FileOutputStream(v1_4);
            org.apache.commons.io.IOUtils.copy(v0_5, v2_0);
            v2_0.close();
            com.adobe.creativesdk.foundation.internal.utils.CreativeSDKButton._csdkadobeCleanFont = android.graphics.Typeface.createFromFile(v1_4);
        } catch (android.graphics.Typeface v0_2) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.utils.CreativeSDKButton.getName(), "Error during io operation", v0_2);
            com.adobe.creativesdk.foundation.internal.utils.CreativeSDKButton._csdkadobeCleanFont = android.graphics.Typeface.create("sans-serif", 0);
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.utils.CreativeSDKTextView.createTypeface() calling method java.io.FileOutputStream.<init>()


    private void createTypeface()
    {
        try {
            android.graphics.Typeface v0_5 = this.getResources().openRawResource(com.adobe.creativesdk.foundation.auth.R$raw.adobecleanlight);
            int v1_4 = java.io.File.createTempFile("temp", 0);
            String v2_0 = new java.io.FileOutputStream(v1_4);
            org.apache.commons.io.IOUtils.copy(v0_5, v2_0);
            v2_0.close();
            com.adobe.creativesdk.foundation.internal.utils.CreativeSDKTextView._csdkadobeCleanFont = android.graphics.Typeface.createFromFile(v1_4);
        } catch (android.graphics.Typeface v0_2) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.utils.CreativeSDKTextView.getName(), "Error during io operation", v0_2);
            com.adobe.creativesdk.foundation.internal.utils.CreativeSDKTextView._csdkadobeCleanFont = android.graphics.Typeface.create("sans-serif", 0);
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.utils.AdobeCreativeSDKActionBar.setActionBarTheme() calling method java.io.FileOutputStream.<init>()


    public static void setActionBarTheme(com.adobe.creativesdk.foundation.internal.base.AdobeCSDKBaseActivity p5)
    {
        android.support.v7.app.a v1 = p5.getSupportActionBar();
        try {
            android.graphics.drawable.ColorDrawable v0_10 = p5.getResources().openRawResource(com.adobe.creativesdk.foundation.auth.R$raw.adobecleanlight);
            int v2_0 = java.io.File.createTempFile("temp", 0);
            int v3_1 = new java.io.FileOutputStream(v2_0);
            org.apache.commons.io.IOUtils.copy(v0_10, v3_1);
            v3_1.close();
            com.adobe.creativesdk.foundation.internal.utils.AdobeCreativeSDKActionBar._csdkadobeCleanFont = android.graphics.Typeface.createFromFile(v2_0);
        } catch (android.graphics.drawable.ColorDrawable v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.utils.AdobeCreativeSDKActionBar.getName(), "Error during io operation", v0_1);
            com.adobe.creativesdk.foundation.internal.utils.AdobeCreativeSDKActionBar._csdkadobeCleanFont = android.graphics.Typeface.create("sans-serif", 0);
        }
        android.graphics.drawable.ColorDrawable v0_8 = ((android.widget.TextView) p5.getWindow().findViewById(android.content.res.Resources.getSystem().getIdentifier("action_bar_title", "id", "android")));
        if (v0_8 != null) {
            v0_8.setTypeface(com.adobe.creativesdk.foundation.internal.utils.AdobeCreativeSDKActionBar._csdkadobeCleanFont);
            v0_8.setTextColor(p5.getResources().getColor(com.adobe.creativesdk.foundation.auth.R$color.adobe_csdk_asset_browser_dark_text));
            v0_8.setTextSize(p5.getResources().getDimension(com.adobe.creativesdk.foundation.auth.R$dimen.adobe_csdk_actionbar_text_size));
        }
        android.graphics.drawable.ColorDrawable v0_11 = new android.graphics.drawable.ColorDrawable(p5.getResources().getColor(com.adobe.creativesdk.foundation.auth.R$color.adobe_csdk_actionbar_background_color));
        if (v1 != null) {
            v1.a(v0_11);
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkMockHttpService.fWrite() calling method java.io.FileOutputStream.<init>()


    private static Boolean fWrite(String p4, String p5)
    {
        try {
            Boolean v0_1 = new java.io.File(p4);
        } catch (Boolean v0_8) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v0_8);
            Boolean v0_3 = Boolean.valueOf(0);
            return v0_3;
        }
        if (!v0_1.exists()) {
            v0_1.createNewFile();
        }
        Boolean v0_6 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_1), "UTF-8"));
        v0_6.write(p5);
        v0_6.close();
        v0_3 = Boolean.valueOf(1);
        return v0_3;
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpFileDownloadTask.captureInputStream() calling method java.io.FileOutputStream.<init>()


    protected void captureInputStream()
    {
        int v1_0 = 0;
        try {
            java.io.IOException v0_0;
            if (this.response.getStatusCode() != 200) {
                v0_0 = 0;
                org.apache.commons.io.IOUtils.closeQuietly(v0_0);
                org.apache.commons.io.IOUtils.closeQuietly(v1_0);
            } else {
                v0_0 = this.urlConnection.getInputStream();
                try {
                    int v4_0 = this.urlConnection.getContentLength();
                } catch (java.io.BufferedOutputStream v2_7) {
                    java.io.BufferedOutputStream v2_0 = 0;
                    v1_0 = v0_0;
                    java.io.IOException v0_4 = v2_7;
                    org.apache.commons.io.IOUtils.closeQuietly(v1_0);
                    org.apache.commons.io.IOUtils.closeQuietly(v2_0);
                    throw v0_4;
                } catch (java.io.BufferedOutputStream v2_6) {
                    v2_0 = 0;
                    v1_0 = v0_0;
                    java.io.IOException v0_3 = v2_6;
                    try {
                        this.response.setHasFileError(1);
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpDataDownloadTask.getName(), "Error during io operation", v0_3);
                        org.apache.commons.io.IOUtils.closeQuietly(v1_0);
                        org.apache.commons.io.IOUtils.closeQuietly(v2_0);
                    } catch (java.io.IOException v0_4) {
                    }
                }
                if (!new java.io.File(this._destinationPath).exists()) {
                    com.adobe.creativesdk.foundation.internal.utils.AdobeNetworkFileUtils.touch(this._destinationPath);
                }
                v2_0 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(this._destinationPath), 32768);
                try {
                    byte[] v5_3 = new byte[32768];
                    int v1_2 = 0;
                } catch (int v1_4) {
                    v1_0 = v0_0;
                    v0_4 = v1_4;
                } catch (int v1_3) {
                    v1_0 = v0_0;
                    v0_3 = v1_3;
                }
                while(true) {
                    Integer v3_1 = v0_0.read(v5_3);
                    if (v3_1 == -1) {
                        break;
                    }
                    if (!this.requestHandler.isCancelled()) {
                        v2_0.write(v5_3, 0, v3_1);
                        v1_2 += v3_1;
                        this.onProgressUpdate(Integer.valueOf(((int) ((((float) v1_2) / ((float) v4_0)) * 1120403456))));
                    } else {
                        org.apache.commons.io.IOUtils.closeQuietly(v0_0);
                        org.apache.commons.io.IOUtils.closeQuietly(v2_0);
                        org.apache.commons.io.IOUtils.closeQuietly(v0_0);
                        org.apache.commons.io.IOUtils.closeQuietly(v2_0);
                    }
                }
                this.response.setBytesReceived(v1_2);
                v1_0 = v2_0;
            }
        } catch (java.io.IOException v0_4) {
            v2_0 = 0;
        } catch (java.io.IOException v0_3) {
            v2_0 = 0;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.setObjectToDisk() calling method java.io.FileOutputStream.<init>()


    private void setObjectToDisk(Object p8, String p9, String p10)
    {
        java.util.Date v2_0 = 0;
        if ((!this.cacheFrozen) && (((p8 instanceof java.io.Serializable)) && (this.useDiskCaching))) {
            try {
                this.diskReadWriteLock.writeLock().lock();
                java.util.concurrent.ScheduledFuture v0_5 = new java.io.File(this.getCacheDirectoryForGuid(p9), p10);
                java.util.Date v3_3 = new java.io.FileOutputStream(v0_5);
                try {
                    String v1_16 = new java.io.ObjectOutputStream(v3_3);
                    try {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Adding ").append(p10).append(" to disk cache").toString());
                        v1_16.writeObject(p8);
                        this.addEntryToCacheMetadata(v0_5, this.getCacheKey(p9, p10));
                        try {
                            if (v1_16 != null) {
                                v1_16.close();
                            }
                        } catch (java.util.concurrent.ScheduledFuture v0_19) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error closing stream", v0_19);
                            this.diskReadWriteLock.writeLock().unlock();
                            if (this.cacheFrozen) {
                                return;
                            } else {
                                if (this.currentDiskCacheSize <= ((long) this.getNormalEvictionThreshold())) {
                                    return;
                                } else {
                                    this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                    this.cacheEviction();
                                    if (this.repeatingTimer != null) {
                                        return;
                                    } else {
                                        this.startRepeatingTimer();
                                        return;
                                    }
                                }
                            }
                            this.diskReadWriteLock.writeLock().unlock();
                            if ((!this.cacheFrozen) && (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold()))) {
                                this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                this.cacheEviction();
                                if (this.repeatingTimer == null) {
                                    this.startRepeatingTimer();
                                }
                            }
                        } catch (java.util.concurrent.ScheduledFuture v0_32) {
                            this.diskReadWriteLock.writeLock().unlock();
                            if (!this.cacheFrozen) {
                                if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                    this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                    this.cacheEviction();
                                    if (this.repeatingTimer == null) {
                                        this.startRepeatingTimer();
                                    }
                                }
                            }
                            throw v0_32;
                        }
                        if (v3_3 != null) {
                            v3_3.close();
                        }
                    } catch (java.util.concurrent.ScheduledFuture v0_17) {
                        try {
                            if (v1_16 == null) {
                                if (v3_3 != null) {
                                    v3_3.close();
                                }
                                this.diskReadWriteLock.writeLock().unlock();
                                if (!this.cacheFrozen) {
                                    if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                        this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                        this.cacheEviction();
                                        if (this.repeatingTimer == null) {
                                            this.startRepeatingTimer();
                                        }
                                    }
                                }
                            } else {
                                v1_16.close();
                            }
                        } catch (String v1_15) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error closing stream", v1_15);
                            this.diskReadWriteLock.writeLock().unlock();
                            if (this.cacheFrozen) {
                            } else {
                                if (this.currentDiskCacheSize <= ((long) this.getNormalEvictionThreshold())) {
                                } else {
                                    this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                    this.cacheEviction();
                                    if (this.repeatingTimer != null) {
                                    } else {
                                        this.startRepeatingTimer();
                                    }
                                }
                            }
                        } catch (java.util.concurrent.ScheduledFuture v0_18) {
                            this.diskReadWriteLock.writeLock().unlock();
                            if (!this.cacheFrozen) {
                                if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                    this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                    this.cacheEviction();
                                    if (this.repeatingTimer == null) {
                                        this.startRepeatingTimer();
                                    }
                                }
                            }
                            throw v0_18;
                        }
                        throw v0_17;
                    } catch (java.util.concurrent.ScheduledFuture v0_16) {
                        v2_0 = v3_3;
                        try {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error serializing map", v0_16);
                            try {
                                if (v1_16 != null) {
                                    v1_16.close();
                                }
                            } catch (java.util.concurrent.ScheduledFuture v0_45) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error closing stream", v0_45);
                                this.diskReadWriteLock.writeLock().unlock();
                                if (this.cacheFrozen) {
                                    return;
                                } else {
                                    if (this.currentDiskCacheSize <= ((long) this.getNormalEvictionThreshold())) {
                                        return;
                                    } else {
                                        this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                        this.cacheEviction();
                                        if (this.repeatingTimer != null) {
                                            return;
                                        } else {
                                            this.startRepeatingTimer();
                                            return;
                                        }
                                    }
                                }
                                this.diskReadWriteLock.writeLock().unlock();
                                if (!this.cacheFrozen) {
                                    if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                        this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                        this.cacheEviction();
                                        if (this.repeatingTimer == null) {
                                            this.startRepeatingTimer();
                                        }
                                    }
                                }
                            } catch (java.util.concurrent.ScheduledFuture v0_2) {
                                this.diskReadWriteLock.writeLock().unlock();
                                if (!this.cacheFrozen) {
                                    if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                        this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                        this.cacheEviction();
                                        if (this.repeatingTimer == null) {
                                            this.startRepeatingTimer();
                                        }
                                    }
                                }
                                throw v0_2;
                            }
                            if (v2_0 != null) {
                                v2_0.close();
                            }
                        } catch (java.util.concurrent.ScheduledFuture v0_17) {
                            v3_3 = v2_0;
                        }
                    }
                } catch (java.util.concurrent.ScheduledFuture v0_17) {
                    v1_16 = 0;
                } catch (java.util.concurrent.ScheduledFuture v0_16) {
                    v1_16 = 0;
                    v2_0 = v3_3;
                }
            } catch (java.util.concurrent.ScheduledFuture v0_17) {
                v1_16 = 0;
                v3_3 = 0;
            } catch (java.util.concurrent.ScheduledFuture v0_16) {
                v1_16 = 0;
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance$7.run() calling method java.io.FileOutputStream.<init>()


    public void run()
    {
        if (!com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$1400(this.this$0)) {
            String v2_2 = 0;
            try {
                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).writeLock().lock();
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_3 = new java.io.FileOutputStream(new java.io.File(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$100(this.this$0, this.val$guid), this.val$key));
                try {
                    this.val$image.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v1_3);
                    v1_3.flush();
                    v1_3.close();
                    com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).writeLock().unlock();
                } catch (java.io.IOException v0_4) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error writing file to disk cache", v0_4);
                    com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).writeLock().unlock();
                    if (v1_3 != null) {
                        try {
                            v1_3.close();
                        } catch (java.io.IOException v0_14) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error writing file to disk cache", v0_14);
                        }
                    }
                }
                if (v1_3 != null) {
                    try {
                        v1_3.close();
                    } catch (java.io.IOException v0_16) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error writing file to disk cache", v0_16);
                    }
                }
            } catch (java.io.IOException v0_5) {
                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).writeLock().unlock();
                if (v2_2 != null) {
                    try {
                        v2_2.close();
                    } catch (com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_8) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error writing file to disk cache", v1_8);
                    }
                }
                throw v0_5;
            } catch (java.io.IOException v0_4) {
                v1_3 = 0;
            } catch (java.io.IOException v0_5) {
                v2_2 = v1_3;
            }
        }
        return;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksIconsConsumer.updatePackIcon() calling method java.io.FileOutputStream.<init>()


    private int updatePackIcon(long p14, long p16, java.io.File p18, String p19, java.io.InputStream p20)
    {
        com.adobe.creativesdk.aviary.internal.utils.SystemUtils.throwIfUiThread();
        junit.framework.Assert.assertNotNull("iconDir is null", p18);
        int v2_3;
        p18.mkdirs();
        com.adobe.android.common.io.FileUtils.createNoMediaFile(p18);
        junit.framework.Assert.assertTrue("iconDir is not a valid directory", p18.isDirectory());
        if (p19 == null) {
            v2_3 = java.io.File.createTempFile("icon-", ".png", p18);
        } else {
            v2_3 = new java.io.File(p18, p19);
        }
        int v5_3 = new java.io.FileOutputStream(v2_3, 1);
        int v2_11;
        org.apache.commons.io.IOUtils.copy(p20, v5_3);
        com.adobe.android.common.util.IOUtils.closeSilently(v5_3);
        int v5_5 = new android.content.ContentValues();
        v5_5.put("content_iconPath", v2_3.getAbsolutePath());
        v5_5.put("content_iconNeedDownload", Integer.valueOf(0));
        int v5_6 = this.mContext.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(this.mContext, new StringBuilder().append("pack/id/").append(p16).append("/content/id/").append(p14).append("/update").toString()), v5_5, 0, 0);
        if (v5_6 <= 0) {
            v2_11 = 0;
        } else {
            v2_11 = 1;
        }
        junit.framework.Assert.assertTrue("!(result > 0)", v2_11);
        return v5_6;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory$MessageDownloader.download() calling method java.io.FileOutputStream.<init>()


    public String download(android.content.Context p11, long p12, boolean p14)
    {
        String v0_10;
        String v1_13;
        junit.framework.Assert.assertNotNull("null context", p11);
        String v0_9 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getManifestVersion(p11);
        junit.framework.Assert.assertNotNull("null manifest", v0_9);
        String v8 = v0_9.getAssetsBaseURL();
        junit.framework.Assert.assertNotNull("null baseUrl", v8);
        String v0_1 = p11.getContentResolver();
        String v1_11 = com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("message/id/").append(p12).append("/content").toString());
        String v2_6 = new String[6];
        v2_6[0] = "msg_id";
        v2_6[1] = "msg_identifier";
        v2_6[2] = "msg_type";
        v2_6[3] = "msgcnt_id";
        v2_6[4] = "msgcnt_messageId";
        v2_6[5] = "msgcnt_contentURL";
        String v2_7 = v0_1.query(v1_11, v2_6, 0, 0, 0);
        if (v2_7 == null) {
            v0_10 = 0;
            v1_13 = 0;
        } else {
            try {
                if (!v2_7.moveToFirst()) {
                    v0_10 = 0;
                    v1_13 = 0;
                } else {
                    v1_13 = com.adobe.creativesdk.aviary.internal.cds.MessageColumns$CursorWrapper.create(v2_7);
                    v0_10 = com.adobe.creativesdk.aviary.internal.cds.MessageContentColumn$CursorWrapper.create(v2_7);
                }
            } catch (String v0_12) {
                com.adobe.android.common.util.IOUtils.closeSilently(v2_7);
                throw v0_12;
            }
            com.adobe.android.common.util.IOUtils.closeSilently(v2_7);
        }
        junit.framework.Assert.assertNotNull("message is null", v1_13);
        junit.framework.Assert.assertNotNull("messageContent is null", v0_10);
        String v2_10 = v0_10.getContentURL();
        if ((!android.text.TextUtils.isEmpty(v2_10)) && ((!v2_10.startsWith("http://")) && (!v2_10.startsWith("https://")))) {
            v2_10 = new StringBuilder().append(v8).append(v2_10).toString();
        }
        String v0_7;
        StringBuilder v3_23 = v1_13.getIdentifier();
        int v4_14 = com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.getCacheDir(p11, this.getCacheDirName());
        junit.framework.Assert.assertNotNull("destination directory is null", v4_14);
        v4_14.setReadable(1, 0);
        java.io.File v5_3 = new java.io.File(v4_14, new StringBuilder().append(v3_23).append(".jpg").toString());
        String v2_0 = com.adobe.android.common.util.HttpUtils.download(v2_10, 0);
        StringBuilder v3_5 = new java.io.FileOutputStream(v5_3);
        org.apache.commons.io.IOUtils.copy(v2_0, v3_5);
        com.adobe.android.common.util.IOUtils.closeSilently(v2_0);
        com.adobe.android.common.util.IOUtils.closeSilently(v3_5);
        String v2_2 = new android.content.ContentValues();
        v2_2.put("msgcnt_contentPath", v5_3.getAbsolutePath());
        if (p11.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("message/id/").append(v1_13.getId()).append("/content/id/").append(v0_10.getId()).append("/update").toString()), v2_2, 0, 0) <= 0) {
            v0_7 = 0;
        } else {
            v0_7 = 1;
        }
        junit.framework.Assert.assertTrue("failed to update the provider", v0_7);
        if (p14) {
            com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyMessageContentUpdate(p11, p12);
        }
        return v5_3.getAbsolutePath();
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory$DetailImageDownloader.download() calling method java.io.FileOutputStream.<init>()


    public String download(android.content.Context p11, long p12, boolean p14)
    {
        String v0_17;
        String v1_15;
        junit.framework.Assert.assertNotNull("null context", p11);
        String v0_16 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getManifestVersion(p11);
        junit.framework.Assert.assertNotNull("null manifest", v0_16);
        String v8 = v0_16.getAssetsBaseURL();
        junit.framework.Assert.assertNotNull("null baseUrl", v8);
        String v0_2 = p11.getContentResolver();
        String v1_13 = com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("pack/id/").append(p12).append("/content").toString());
        String v2_15 = new String[6];
        v2_15[0] = "pack_id";
        v2_15[1] = "pack_identifier";
        v2_15[2] = "content_id";
        v2_15[3] = "content_packId";
        v2_15[4] = this.getRemoteUrlColumnName();
        v2_15[5] = this.getLocalPathColumnName();
        String v2_16 = v0_2.query(v1_13, v2_15, 0, 0, 0);
        if (v2_16 == null) {
            v0_17 = 0;
            v1_15 = 0;
        } else {
            try {
                if (!v2_16.moveToFirst()) {
                    v0_17 = 0;
                    v1_15 = 0;
                } else {
                    v1_15 = com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper.create(v2_16);
                    v0_17 = com.adobe.creativesdk.aviary.internal.cds.PacksContentColumns$CursorWrapper.create(v2_16);
                }
            } catch (String v0_19) {
                com.adobe.android.common.util.IOUtils.closeSilently(v2_16);
                throw v0_19;
            }
            com.adobe.android.common.util.IOUtils.closeSilently(v2_16);
        }
        String v0_15;
        junit.framework.Assert.assertNotNull("null pack", v1_15);
        junit.framework.Assert.assertNotNull("null content", v0_17);
        String v2_1 = this.getRemotePath(v0_17);
        StringBuilder v3_21 = this.getLocalPath(v0_17);
        if (android.text.TextUtils.isEmpty(v3_21)) {
            if ((!android.text.TextUtils.isEmpty(v2_1)) && ((!v2_1.startsWith("http://")) && ((!v2_1.startsWith("https://")) && (!v2_1.startsWith("file://"))))) {
                v2_1 = new StringBuilder().append(v8).append(v2_1).toString();
            }
            String v0_14;
            String v1_0 = v1_15.getIdentifier();
            int v4_0 = v0_17.getId();
            String v0_1 = this.getCacheDirName();
            StringBuilder v3_9 = com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.getCacheDir(p11, v0_1);
            junit.framework.Assert.assertNotNull(new StringBuilder().append("destination directory is null: ").append(v0_1).toString(), v3_9);
            java.io.File v6_5 = new java.io.File(v3_9, new StringBuilder().append(v1_0).append(".jpg").toString());
            String v0_10 = com.adobe.android.common.util.IOUtils.hunt(p11, v2_1);
            String v1_5 = new java.io.FileOutputStream(v6_5);
            org.apache.commons.io.IOUtils.copy(v0_10, v1_5);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_10);
            com.adobe.android.common.util.IOUtils.closeSilently(v1_5);
            String v0_12 = new android.content.ContentValues();
            v0_12.put(this.getLocalPathColumnName(), v6_5.getAbsolutePath());
            if (p11.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("pack/id/").append(p12).append("/content/id/").append(v4_0).append("/update").toString()), v0_12, 0, 0) <= 0) {
                v0_14 = 0;
            } else {
                v0_14 = 1;
            }
            junit.framework.Assert.assertTrue("failed to update the provider", v0_14);
            if (p14) {
                com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackContentUpdate(p11, p12);
            }
            v0_15 = v6_5.getAbsolutePath();
        } else {
            int v4_11 = new java.io.File(v3_21);
            java.io.File v6_7 = new Object[1];
            v6_7[0] = Boolean.valueOf(v4_11.exists());
            com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.LOGGER.log("localPath exists: %b", v6_7);
            if (!v4_11.exists()) {
            } else {
                v0_15 = v4_11.getAbsolutePath();
            }
        }
        return v0_15;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.extractIcon() calling method java.io.FileOutputStream.<init>()


    private void extractIcon(android.database.sqlite.SQLiteDatabase p9, String p10, String p11, long p12)
    {
        int v5 = 0;
        Throwable v2_3 = new Object[1];
        v2_3[0] = p11;
        com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.info("extractIcon: %s", v2_3);
        int v0_0 = this.mContext.getResources().getAssets();
        junit.framework.Assert.assertTrue("Not a local file", p10.startsWith("file:///android_asset/"));
        android.database.sqlite.SQLiteDatabase v1_3 = p10.substring("file:///android_asset/".length());
        Throwable v2_2 = android.net.Uri.parse(p10);
        Object[] v7 = new Object[1];
        v7[0] = v1_3;
        com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.verbose("filePath: %s", v7);
        int v0_2 = v0_0.open(v1_3);
        android.database.sqlite.SQLiteDatabase v1_10 = new StringBuilder().append(this.mContext.getFilesDir()).append("/").append(com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackIconPath(p11)).toString();
        java.io.File v3_6 = new java.io.File(v1_10);
        v3_6.mkdirs();
        junit.framework.Assert.assertTrue(v3_6.isDirectory());
        java.io.File v3_9 = new java.io.File(new StringBuilder().append(v1_10).append("/").append(v2_2.getLastPathSegment()).append(".png").toString());
        com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.log(new StringBuilder().append("iconFilePath: ").append(v3_9.getAbsolutePath()).toString());
        android.database.sqlite.SQLiteDatabase v1_18 = new java.io.FileOutputStream(v3_9, 1);
        try {
            org.apache.commons.io.IOUtils.copy(v0_2, v1_18);
            com.adobe.android.common.util.IOUtils.closeSilently(v1_18);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_2);
            int v0_6 = this.updateIconPath(p9, p12, v3_9.getAbsolutePath(), 0);
        } catch (Throwable v2_12) {
            com.adobe.android.common.util.IOUtils.closeSilently(p9);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_6);
            throw v2_12;
        }
        if (v0_6 > 0) {
            v5 = 1;
        }
        junit.framework.Assert.assertTrue(v5);
        return;
    }

Method com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract$SaveHiResImageTask.saveInBackgroundLowRes() calling method java.io.FileOutputStream.<init>()


    private boolean saveInBackgroundLowRes()
    {
        this.logger.info("saveInBackgroundLowRes");
        try {
            int v0_8 = new java.io.FileOutputStream(this.mDestFile);
            this.mBitmap.compress(this.mCompressFormat, this.mCompressQuality, v0_8);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_8);
            this.mDestWidth = this.mBitmap.getWidth();
            this.mDestHeight = this.mBitmap.getHeight();
            int v0_5 = 1;
        } catch (int v0_6) {
            this.logger.error(v0_6.getMessage());
            this.mErrorString = v0_6.getMessage();
            v0_6.printStackTrace();
            v0_5 = 0;
        }
        return v0_5;
    }

Method com.adobe.android.common.util.IOUtils.unzipEntry() calling method java.io.FileOutputStream.<init>()


    private static void unzipEntry(java.util.zip.ZipEntry p3, java.util.zip.ZipInputStream p4, java.io.File p5)
    {
        if (!p3.isDirectory()) {
            java.io.File v0_3 = new java.io.File(p5, p3.getName());
            if (!v0_3.getParentFile().exists()) {
                v0_3.getParentFile().mkdirs();
            }
            java.io.BufferedOutputStream v1_3 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v0_3));
            org.apache.commons.io.IOUtils.copy(p4, v1_3);
            v1_3.flush();
            com.adobe.android.common.util.IOUtils.closeSilently(v1_3);
        } else {
            com.adobe.android.common.util.IOUtils.mkdirs(p5, p3.getName());
        }
        return;
    }

Method com.adobe.android.common.util.IOUtils.copyFile() calling method java.io.FileOutputStream.<init>()


    public static void copyFile(java.io.File p2, java.io.File p3)
    {
        if (p2.exists()) {
            java.io.FileInputStream v0_2 = new java.io.FileInputStream(p2);
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p3);
            org.apache.commons.io.IOUtils.copy(v0_2, v1_1);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_2);
            com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
        }
        return;
    }

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


    protected varargs Throwable a(Void[] p10)
    {
        Throwable v0_0 = 0;
        try {
            if (!this.a.isCanceled()) {
                android.print.pdf.PrintedPdfDocument v2_1 = new android.print.pdf.PrintedPdfDocument(this.h.a, this.b);
                android.graphics.Bitmap v3_1 = android.support.v4.print.a$b.a(this.h, this.c, this.b.getColorMode());
                if (!this.a.isCanceled()) {
                    try {
                        java.io.IOException v1_15;
                        java.io.FileDescriptor v4_2 = v2_1.startPage(1);
                    } catch (Throwable v0_1) {
                        v2_1.close();
                        if (this.f != null) {
                            try {
                                this.f.close();
                            } catch (java.io.IOException v1) {
                            }
                        }
                        if (v3_1 != this.c) {
                            v3_1.recycle();
                        }
                        throw v0_1;
                    }
                    if (!this.h.d) {
                        android.graphics.Matrix v5_1 = new android.print.pdf.PrintedPdfDocument(this.h.a, this.d);
                        android.graphics.Canvas v6_1 = v5_1.startPage(1);
                        v1_15 = new android.graphics.RectF(v6_1.getInfo().getContentRect());
                        v5_1.finishPage(v6_1);
                        v5_1.close();
                    } else {
                        v1_15 = new android.graphics.RectF(v4_2.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v5_5 = android.support.v4.print.a$b.a(this.h, v3_1.getWidth(), v3_1.getHeight(), v1_15, this.e);
                    if (!this.h.d) {
                        v5_5.postTranslate(v1_15.left, v1_15.top);
                        v4_2.getCanvas().clipRect(v1_15);
                    }
                    v4_2.getCanvas().drawBitmap(v3_1, v5_5, 0);
                    v2_1.finishPage(v4_2);
                    if (!this.a.isCanceled()) {
                        v2_1.writeTo(new java.io.FileOutputStream(this.f.getFileDescriptor()));
                        v2_1.close();
                        if (this.f != null) {
                            try {
                                this.f.close();
                            } catch (java.io.IOException v1) {
                            }
                        }
                        if (v3_1 != this.c) {
                            v3_1.recycle();
                        }
                    } else {
                        v2_1.close();
                        if (this.f != null) {
                            try {
                                this.f.close();
                            } catch (java.io.IOException v1) {
                            }
                        }
                        if (v3_1 != this.c) {
                            v3_1.recycle();
                        }
                    }
                }
            }
        } catch (Throwable v0_0) {
        }
        return v0_0;
    }

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


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

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


    private static void a(java.util.zip.ZipFile p6, java.util.zip.ZipEntry p7, java.io.File p8, String p9)
    {
        java.io.InputStream v1 = p6.getInputStream(p7);
        java.io.File v2_1 = java.io.File.createTempFile(p9, ".zip", p8.getParentFile());
        android.util.Log.i("MultiDex", new StringBuilder().append("Extracting ").append(v2_1.getPath()).toString());
        try {
            String v3_4 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(new java.io.FileOutputStream(v2_1)));
            try {
                java.io.IOException v0_4 = new java.util.zip.ZipEntry("classes.dex");
                v0_4.setTime(p7.getTime());
                v3_4.putNextEntry(v0_4);
                String v4_6 = new byte[16384];
                java.io.IOException v0_6 = v1.read(v4_6);
            } catch (java.io.IOException v0_12) {
                v3_4.close();
                throw v0_12;
            }
            while (v0_6 != -1) {
                v3_4.write(v4_6, 0, v0_6);
                v0_6 = v1.read(v4_6);
            }
            v3_4.closeEntry();
            v3_4.close();
            android.util.Log.i("MultiDex", new StringBuilder().append("Renaming to ").append(p8.getPath()).toString());
            if (v2_1.renameTo(p8)) {
                ark>android.support.multidex.bark>.a(v1);
                v2_1.delete();
                return;
            } else {
                throw new java.io.IOException(new StringBuilder().append("Failed to rename \"").append(v2_1.getAbsolutePath()).append("\" to \"").append(p8.getAbsolutePath()).append("\"").toString());
            }
        } catch (java.io.IOException v0_13) {
            ark>android.support.multidex.bark>.a(v1);
            v2_1.delete();
            throw v0_13;
        }
    }

Method ru.yandex.mail.disk.g.d() calling method java.io.FileWriter.<init>()


    private void d(java.io.File p3)
    {
        try {
            int v0_1 = new java.io.FileWriter(p3);
            try {
                v0_1.write("Test");
                v0_1.flush();
                v0_1.close();
            } catch (java.io.IOException v1) {
                ru.yandex.disk.util.an.a(v0_1);
            }
            return;
        } catch (int v0) {
            v0_1 = 0;
        }
    }

Method ru.yandex.searchlib.util.ab.b() calling method java.io.FileInputStream.<init>()


    private static String b()
    {
        String v0_0 = 0;
        try {
            java.io.IOException v2_2 = new java.io.File(new StringBuilder().append("/proc/").append(android.os.Process.myPid()).append("/cmdline").toString());
        } catch (java.io.BufferedReader v1_7) {
            java.io.BufferedReader v1_6 = 0;
            String v0_1 = v1_7;
            ru.yandex.searchlib.util.ab.a(v1_6);
            throw v0_1;
        } catch (java.io.BufferedReader v1) {
            v1_6 = 0;
            ru.yandex.searchlib.util.ab.a(v1_6);
            return v0_0;
        }
        if (v2_2.exists()) {
            v1_6 = new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(v2_2), "UTF-8"));
            try {
                java.io.IOException v2_5 = v1_6.readLine();
            } catch (String v0_1) {
            } catch (java.io.IOException v2) {
            }
            if (v2_5 == null) {
                ru.yandex.searchlib.util.ab.a(v1_6);
                return v0_0;
            } else {
                v0_0 = v2_5.trim();
                ru.yandex.searchlib.util.ab.a(v1_6);
                return v0_0;
            }
        } else {
            ru.yandex.searchlib.util.ab.a(0);
            return v0_0;
        }
    }

Method ru.yandex.searchlib.network.BlobLoader.a() calling method java.io.FileInputStream.<init>()


    private static void a(java.io.File p1, ark>ru.yandex.searchlib.network.BlobLoaderark>$b p2, ark>ru.yandex.searchlib.network.BlobLoaderark>$a p3)
    {
        try {
            p3.a(p2.a(new java.io.FileInputStream(p1)));
        } catch (OutOfMemoryError v0_3) {
            p3.a(v0_3);
        }
        return;
    }

Method ru.yandex.searchlib.informers.at.b() calling method java.io.FileInputStream.<init>()


    private android.graphics.Bitmap b(android.content.Context p7)
    {
        OutOfMemoryError v0_0 = 0;
        if (this.c()) {
            try {
                java.io.IOException v1_15 = this.a.b();
                String v3_1 = p7.getContentResolver().openFileDescriptor(android.net.Uri.parse(v1_15), "r");
            } catch (java.io.IOException v1_6) {
                android.graphics.Bitmap v2_1 = 0;
                OutOfMemoryError v0_3 = v1_6;
                ru.yandex.searchlib.util.ab.a(v2_1);
                throw v0_3;
            } catch (java.io.IOException v1_4) {
                android.graphics.Bitmap v2_2 = 0;
                OutOfMemoryError v0_2 = v1_4;
                java.io.IOException v1_5 = 0;
                v0_0 = v2_2;
                v2_1 = v1_5;
                java.io.IOException v1_13 = v0_2;
                ru.yandex.searchlib.util.o.a("[YSearchLib:WeatherInformerViewRenderer]", "", v1_13);
                ru.yandex.searchlib.util.ab.a(v2_1);
            } catch (java.io.IOException v1_1) {
                v2_1 = 0;
                java.io.IOException v1_3 = 0;
                OutOfMemoryError v0_1 = v1_1;
                v0_0 = v1_3;
                v1_13 = v0_1;
            } catch (OutOfMemoryError v0_3) {
            }
            if (v3_1 != null) {
                v2_1 = new java.io.FileInputStream(v3_1.getFileDescriptor());
                try {
                    v0_0 = android.graphics.BitmapFactory.decodeStream(v2_1);
                } catch (java.io.IOException v1_8) {
                    v1_5 = v2_1;
                    v2_2 = v0_0;
                    v0_2 = v1_8;
                } catch (java.io.IOException v1_7) {
                    v1_3 = v0_0;
                    v0_1 = v1_7;
                }
                if (v0_0 != null) {
                    try {
                        v0_0 = ru.yandex.searchlib.informers.h.a(v0_0, android.support.v4.content.c.c(p7, ru.yandex.searchlib.b.b$c.searchlib_bar_text));
                    } catch (java.io.IOException v1_14) {
                        v1_5 = v2_1;
                        v2_2 = v0_0;
                        v0_2 = v1_14;
                    } catch (java.io.IOException v1_12) {
                        v1_3 = v0_0;
                        v0_1 = v1_12;
                    }
                }
                ru.yandex.searchlib.util.ab.a(v2_1);
            } else {
                ru.yandex.searchlib.util.o.d("[YSearchLib:WeatherInformerViewRenderer]", new StringBuilder().append(" Could not open file descriptor for URI: ").append(v1_15).toString());
                ru.yandex.searchlib.util.ab.a(0);
            }
        }
        return v0_0;
    }

Method ru.yandex.searchlib.a.a.a() calling method java.io.FileInputStream.<init>()


    public Object a(String p6, ru.yandex.searchlib.json.f p7)
    {
        ru.yandex.searchlib.json.JsonException v0_0 = 0;
        java.io.IOException v2_2 = this.c(p6);
        if (v2_2.exists()) {
            try {
                int v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v2_2));
                try {
                    v0_0 = p7.a(v1_1);
                    ru.yandex.searchlib.util.ab.a(v1_1);
                } catch (ru.yandex.searchlib.json.JsonException v0_1) {
                    ru.yandex.searchlib.util.ab.a(v1_1);
                    throw v0_1;
                } catch (ru.yandex.searchlib.json.JsonException v0_2) {
                    throw new java.io.IOException(v0_2);
                }
            } catch (int v1_0) {
                v1_1 = 0;
                v0_1 = v1_0;
            }
        }
        return v0_0;
    }

Method ru.yandex.disk.util.ak.a() calling method java.io.FileInputStream.<init>()


    public static java.io.File a(java.io.File p9, java.util.List p10)
    {
        byte[] v1 = new byte[2048];
        java.util.zip.ZipOutputStream v2_1 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(new java.io.FileOutputStream(p9)));
        java.util.Iterator v3_0 = p10.iterator();
        while (v3_0.hasNext()) {
            int v0_2 = ((java.io.File) v3_0.next());
            java.io.BufferedInputStream v4_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(v0_2));
            v2_1.putNextEntry(new java.util.zip.ZipEntry(new com.yandex.b.a(v0_2.getPath()).c()));
            while(true) {
                int v0_5 = v4_1.read(v1, 0, 2048);
                if (v0_5 == -1) {
                    break;
                }
                v2_1.write(v1, 0, v0_5);
            }
        }
        v2_1.close();
        return p9;
    }

Method ru.yandex.disk.download.d.a() calling method java.io.FileInputStream.<init>()


    public void a()
    {
        int v10 = 0;
        Throwable v0_0 = 0;
        long v2 = this.a.length();
        if (!this.a.getAbsolutePath().equals(this.b.getAbsolutePath())) {
            long v6 = 0;
            java.io.FileInputStream v11_1 = new java.io.FileInputStream(this.a);
            try {
                java.io.FileOutputStream v12_1 = new java.io.FileOutputStream(this.b);
                try {
                    while (!this.c.c()) {
                        v12_1.write(this.d, 0, v0_0);
                        v6 += ((long) v0_0);
                        this.c.a(this.a.getName(), v6, v2);
                        v0_0 = v11_1.read(this.d);
                        if (v0_0 == -1) {
                            if (v12_1 != null) {
                                if (0 == 0) {
                                    v12_1.close();
                                } else {
                                    try {
                                        v12_1.close();
                                    } catch (Throwable v0) {
                                    }
                                }
                            }
                            if (v11_1 == null) {
                                return;
                            } else {
                                if (0 == 0) {
                                    v11_1.close();
                                    return;
                                } else {
                                    try {
                                        v11_1.close();
                                    } catch (Throwable v0) {
                                    }
                                    return;
                                }
                            }
                        }
                        if (v12_1 != null) {
                            if (Throwable v1_10 == null) {
                                v12_1.close();
                            } else {
                                try {
                                    v12_1.close();
                                } catch (Throwable v1) {
                                }
                            }
                        }
                        throw Throwable v0_7;
                    }
                } catch (Throwable v0_7) {
                    v1_10 = 0;
                } catch (Throwable v0_6) {
                    try {
                        throw v0_6;
                    } catch (Throwable v1_9) {
                        v1_10 = v0_6;
                        v0_7 = v1_9;
                    }
                }
                throw new com.yandex.disk.client.exceptions.CancelledDownloadException();
            } catch (Throwable v0_9) {
                try {
                    throw v0_9;
                } catch (Throwable v1_12) {
                    v10 = v0_9;
                    Throwable v0_8 = v1_12;
                    if (v11_1 != null) {
                        if (v10 == 0) {
                            v11_1.close();
                        } else {
                            try {
                                v11_1.close();
                            } catch (Throwable v1) {
                            }
                        }
                    }
                    throw v0_8;
                }
            }
        } else {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("CopyFileWithProgress", new StringBuilder().append("source is same as destination: ").append(this.a.getAbsolutePath()).toString());
            }
            this.c.a(this.a.getName(), v2, v2);
        }
        return;
    }

Method ru.yandex.disk.asyncbitmap.ay.a() calling method java.io.FileInputStream.<init>()


    private static android.graphics.BitmapFactory$Options a(java.io.File p6)
    {
        Throwable v1_0 = 0;
        Throwable v0_2 = new android.graphics.BitmapFactory$Options();
        v0_2.inJustDecodeBounds = 1;
        String v2_3 = new java.io.FileInputStream(p6);
        try {
            if (!ru.yandex.disk.gs.c) {
                android.graphics.BitmapFactory.decodeStream(v2_3, 0, v0_2);
                if (ru.yandex.disk.gs.c) {
                    ru.yandex.disk.Log.b("Thumbnails", "BitmapFactory.decodeStream(is1, null, options1); end");
                }
                if (v2_3 != null) {
                    if (0 == 0) {
                        v2_3.close();
                    } else {
                        try {
                            v2_3.close();
                        } catch (Throwable v1) {
                        }
                    }
                }
                if (ru.yandex.disk.gs.c) {
                    ru.yandex.disk.Log.b("Thumbnails", "is1.close();");
                }
                return v0_2;
            } else {
                ru.yandex.disk.Log.b("Thumbnails", "BitmapFactory.decodeStream(is1, null, options1); start");
            }
        } catch (Throwable v0_3) {
        } catch (Throwable v0_1) {
            try {
                throw v0_1;
            } catch (Throwable v1_1) {
                v1_0 = v0_1;
                v0_3 = v1_1;
                if (v2_3 != null) {
                    if (v1_0 == null) {
                        v2_3.close();
                    } else {
                        try {
                            v2_3.close();
                        } catch (Throwable v1) {
                        }
                    }
                }
                throw v0_3;
            }
        }
    }

Method ru.yandex.disk.asyncbitmap.ay.a() calling method java.io.FileInputStream.<init>()


    private static android.graphics.Bitmap a(java.io.File p6, int p7, int p8)
    {
        Throwable v1_0 = 0;
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("Thumbnails", new StringBuilder().append("width = ").append(p7).append(" height= ").append(p8).toString());
        }
        Throwable v0_9;
        Throwable v0_1 = ark>ru.yandex.disk.asyncbitmap.ayark>.a(p6);
        if ((v0_1.outMimeType != null) && (v0_1.outMimeType.startsWith("image/"))) {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("Thumbnails", "continue");
            }
            String v2_10 = new android.graphics.BitmapFactory$Options();
            v2_10.inSampleSize = Math.min((v0_1.outWidth / p7), (v0_1.outHeight / p8));
            java.io.FileInputStream v3_6 = new java.io.FileInputStream(p6);
            try {
                if (!ru.yandex.disk.gs.c) {
                    v0_9 = android.graphics.BitmapFactory.decodeStream(v3_6, 0, v2_10);
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.b("Thumbnails", "bitmap = BitmapFactory.decodeStream(is2, null, options2); end");
                    }
                    if (v3_6 != null) {
                        if (0 == 0) {
                            v3_6.close();
                        } else {
                            try {
                                v3_6.close();
                            } catch (Throwable v1) {
                            }
                        }
                    }
                    return v0_9;
                } else {
                    ru.yandex.disk.Log.b("Thumbnails", "bitmap = BitmapFactory.decodeStream(is2, null, options2); start");
                }
            } catch (Throwable v0_11) {
            } catch (Throwable v0_10) {
                try {
                    throw v0_10;
                } catch (Throwable v1_1) {
                    v1_0 = v0_10;
                    v0_11 = v1_1;
                    if (v3_6 != null) {
                        if (v1_0 == null) {
                            v3_6.close();
                        } else {
                            try {
                                v3_6.close();
                            } catch (Throwable v1) {
                            }
                        }
                    }
                    throw v0_11;
                }
            }
        } else {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("Thumbnails", new StringBuilder().append("options1.outMimeType = ").append(v0_1.outMimeType).toString());
            }
            v0_9 = 0;
        }
        return v0_9;
    }

Method org.apache.commons.io.FileUtils.openInputStream() calling method java.io.FileInputStream.<init>()


    public static java.io.FileInputStream openInputStream(java.io.File p3)
    {
        if (!p3.exists()) {
            throw new java.io.FileNotFoundException(new StringBuilder().append("File \'").append(p3).append("\' does not exist").toString());
        } else {
            if (!p3.isDirectory()) {
                if (p3.canRead()) {
                    return new java.io.FileInputStream(p3);
                } else {
                    throw new java.io.IOException(new StringBuilder().append("File \'").append(p3).append("\' cannot be read").toString());
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("File \'").append(p3).append("\' exists but is a directory").toString());
            }
        }
    }

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


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

Method it.sephiroth.android.library.ab.ABFilePreference.readFile() calling method java.io.FileInputStream.<init>()


    private String readFile(java.io.File p3)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p3);
        String v1 = this.readStream(v0_1);
        v0_1.close();
        return v1;
    }

Method com.yandex.sslpinning.core.e.c() calling method java.io.FileInputStream.<init>()


    private declared_synchronized java.util.Map c()
    {
        java.util.HashSet v2_0 = 0;
        try {
            java.util.HashMap v3_1 = new java.util.HashMap();
            try {
                String v1_0 = new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(this.c)));
                try {
                    String v0_1 = v1_0.readLine();
                } catch (String v0_0) {
                    if (v1_0 != null) {
                        try {
                            v1_0.close();
                        } catch (String v1_3) {
                            android.util.Log.e(com.yandex.sslpinning.core.e.a, v1_3.getMessage());
                        }
                    }
                    throw v0_0;
                }
                while (v0_1 != null) {
                    if (!v0_1.contains("type-")) {
                        if (!android.text.TextUtils.isEmpty(v0_1)) {
                            v2_0.add(v0_1);
                        }
                    } else {
                        String v0_4 = v0_1.substring("type-".length());
                        v2_0 = new java.util.HashSet();
                        v3_1.put(v0_4, v2_0);
                    }
                    v0_1 = v1_0.readLine();
                }
                if (v1_0 != null) {
                    try {
                        v1_0.close();
                    } catch (String v0_2) {
                        android.util.Log.e(com.yandex.sslpinning.core.e.a, v0_2.getMessage());
                    }
                }
                return v3_1;
            } catch (String v0_0) {
                v1_0 = 0;
            }
        } catch (String v0_6) {
            throw v0_6;
        }
    }

Method com.yandex.metrica.impl.s.a() calling method java.io.FileInputStream.<init>()


    public static String a(String p3)
    {
        try {
            int v1_1 = new java.io.FileInputStream(p3);
            try {
                Throwable v0_1 = ark>com.yandex.metrica.impl.sark>.a(v1_1);
                com.yandex.metrica.impl.bl.a(v1_1);
                return v0_1;
            } catch (Throwable v0_0) {
                com.yandex.metrica.impl.bl.a(v1_1);
                throw v0_0;
            }
        } catch (Throwable v0_0) {
            v1_1 = 0;
        }
        v0_1 = ark>com.yandex.metrica.impl.sark>.a(v1_1);
        com.yandex.metrica.impl.bl.a(v1_1);
        return v0_1;
    }

Method com.yandex.metrica.impl.ob.gd.c() calling method java.io.FileInputStream.<init>()


    private declared_synchronized java.util.Map c()
    {
        java.util.HashSet v2_0 = 0;
        try {
            java.util.HashMap v3_1 = new java.util.HashMap();
            try {
                String v1_0 = new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(this.c)));
                try {
                    String v0_1 = v1_0.readLine();
                } catch (String v0_0) {
                    if (v1_0 != null) {
                        try {
                            v1_0.close();
                        } catch (String v1_3) {
                            android.util.Log.e(com.yandex.metrica.impl.ob.gd.a, v1_3.getMessage());
                        }
                    }
                    throw v0_0;
                }
                while (v0_1 != null) {
                    if (!v0_1.contains("type-")) {
                        if (!android.text.TextUtils.isEmpty(v0_1)) {
                            v2_0.add(v0_1);
                        }
                    } else {
                        String v0_4 = v0_1.substring(5);
                        v2_0 = new java.util.HashSet();
                        v3_1.put(v0_4, v2_0);
                    }
                    v0_1 = v1_0.readLine();
                }
                try {
                    v1_0.close();
                } catch (String v0_2) {
                    android.util.Log.e(com.yandex.metrica.impl.ob.gd.a, v0_2.getMessage());
                }
                return v3_1;
            } catch (String v0_0) {
                v1_0 = 0;
            }
        } catch (String v0_6) {
            throw v0_6;
        }
    }

Method com.yandex.disk.rest.util.Hash.getHash() calling method java.io.FileInputStream.<init>()


    public static com.yandex.disk.rest.util.Hash getHash(java.io.File p4)
    {
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(p4);
        try {
            Throwable v0_0 = com.yandex.disk.rest.util.Hash.getHash(v1_1, p4.length());
            com.yandex.disk.rest.util.Hash.close(v1_1);
            return v0_0;
        } catch (Throwable v0_1) {
            com.yandex.disk.rest.util.Hash.close(v1_1);
            throw v0_1;
        }
    }

Method com.yandex.disk.rest.RequestBodyProgress$1.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(okio.d p11)
    {
        String v2_0 = 0;
        okio.t v1 = 0;
        java.io.FileInputStream v4_1 = new java.io.FileInputStream(this.val$file);
        try {
            if ((this.val$startOffset <= 0) || (v4_1.skip(this.val$startOffset) == this.val$startOffset)) {
                this.updateProgress(0);
                v1 = okio.l.a(v4_1);
                org.slf4j.b v0_2 = new okio.c();
                while(true) {
                    String v6_3 = v1.read(v0_2, 2048);
                    if (v6_3 == -1) {
                        break;
                    }
                    p11.write(v0_2, v6_3);
                    v2_0 += v6_3;
                    this.updateProgress(v2_0);
                }
                com.yandex.disk.rest.RequestBodyProgress.access$000().a(new StringBuilder().append("loaded: ").append(v2_0).toString());
                okhttp3.internal.Util.closeQuietly(v1);
                okhttp3.internal.Util.closeQuietly(v4_1);
                return;
            } else {
                throw new java.io.IOException("RequestBodyProgress: inputStream.skip() failed");
            }
        } catch (org.slf4j.b v0_7) {
            okhttp3.internal.Util.closeQuietly(v1);
            okhttp3.internal.Util.closeQuietly(v4_1);
            throw v0_7;
        }
    }

Method com.yandex.disk.client.n.a() calling method java.io.FileInputStream.<init>()


    private void a(java.io.File p5, com.yandex.disk.client.g p6)
    {
        try {
            java.io.BufferedInputStream v2_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p5));
            Throwable v1_1 = 0;
        } catch (Throwable v0_3) {
            if (!p5.delete()) {
                p5.deleteOnExit();
            }
            throw v0_3;
        }
        try {
            new com.yandex.disk.client.IndexParser().a(v2_1, p6);
        } catch (Throwable v0_1) {
            if (v2_1 != null) {
                if (v1_1 == null) {
                    v2_1.close();
                } else {
                    try {
                        v2_1.close();
                    } catch (Throwable v1) {
                    }
                }
            }
            throw v0_1;
        } catch (Throwable v0_7) {
            try {
                throw v0_7;
            } catch (Throwable v1_0) {
                v1_1 = v0_7;
                v0_1 = v1_0;
            }
        }
        if (v2_1 != null) {
            if (0 == 0) {
                v2_1.close();
            } else {
                try {
                    v2_1.close();
                } catch (Throwable v0) {
                }
            }
        }
        if (!p5.delete()) {
            p5.deleteOnExit();
        }
        return;
    }

Method com.yandex.disk.client.e.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(okio.d p9)
    {
        String v1_1 = new java.io.FileInputStream(this.a);
        if ((this.b <= 0) || (v1_1.skip(this.b) == this.b)) {
            this.d = 0;
            this.a(this.d);
            try {
                Throwable v0_2 = new byte[16384];
            } catch (Throwable v0_4) {
                v1_1.close();
                throw v0_4;
            }
            while(true) {
                long v2_1 = v1_1.read(v0_2);
                if (v2_1 == -1) {
                    break;
                }
                p9.c(v0_2, 0, v2_1);
                this.d = (((long) v2_1) + this.d);
                this.a(this.d);
            }
            p9.flush();
            v1_1.close();
            return;
        } else {
            throw new java.io.IOException("problem during skip");
        }
    }

Method com.yandex.disk.client.Hash.b() calling method java.io.FileInputStream.<init>()


    public static String b(java.io.File p2)
    {
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(p2);
        try {
            Throwable v0_2 = com.yandex.disk.client.Hash.a(v1_1, 1).a();
            com.yandex.disk.client.Hash.a(v1_1);
            return v0_2;
        } catch (Throwable v0_3) {
            com.yandex.disk.client.Hash.a(v1_1);
            throw v0_3;
        }
    }

Method com.yandex.disk.client.Hash.a() calling method java.io.FileInputStream.<init>()


    public static ark>com.yandex.disk.client.Hashark> a(java.io.File p2)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p2);
        try {
            Throwable v1_1 = ark>com.yandex.disk.client.Hashark>.a(v0_1, 0);
            ark>com.yandex.disk.client.Hashark>.a(v0_1);
            return v1_1;
        } catch (Throwable v1_2) {
            ark>com.yandex.disk.client.Hashark>.a(v0_1);
            throw v1_2;
        }
    }

Method ru.yandex.disk.util.be.a() calling method java.io.FileInputStream.<init>()


    public long a(java.io.File p7)
    {
        Throwable v1 = 0;
        String v3_1 = new java.io.FileInputStream(p7);
        try {
            java.io.IOException v0_9 = new it.sephiroth.android.library.exif2.ExifInterface();
            v0_9.readExif(v3_1, 0);
            try {
                java.io.IOException v0_3;
                Throwable v2_9 = v0_9.getTagStringValue(it.sephiroth.android.library.exif2.ExifInterface.TAG_DATE_TIME);
            } catch (java.io.IOException v0_4) {
                if (ru.yandex.disk.gs.c) {
                    ru.yandex.disk.Log.b("AviaryEtimeGetter", "extractExifTime", v0_4);
                }
                Throwable v2_4 = 0;
                if (v3_1 != null) {
                    try {
                        if (0 == 0) {
                            v3_1.close();
                        } else {
                            try {
                                v3_1.close();
                            } catch (java.io.IOException v0) {
                            }
                        }
                    } catch (java.io.IOException v0_8) {
                        v1 = v2_4;
                        if (!ru.yandex.disk.gs.c) {
                            java.io.IOException v0_10;
                            if (v1 == null) {
                                v0_10 = 0;
                            } else {
                                v0_10 = v1.getTime();
                            }
                            return v0_10;
                        } else {
                            ru.yandex.disk.Log.b("AviaryEtimeGetter", "saveExif", v0_8);
                        }
                    }
                }
                v1 = v2_4;
            }
            if (v2_9 != null) {
                v0_3 = ((java.text.SimpleDateFormat) ark>ru.yandex.disk.util.beark>.a.get()).parse(v2_9);
            } else {
                v0_3 = 0;
            }
            v2_4 = v0_3;
        } catch (java.io.IOException v0_6) {
            Throwable v2_3 = 0;
            if (v3_1 != null) {
                if (v2_3 == null) {
                    v3_1.close();
                } else {
                    try {
                        v3_1.close();
                    } catch (Throwable v2) {
                    }
                }
            }
            throw v0_6;
        } catch (java.io.IOException v0_5) {
            try {
                throw v0_5;
            } catch (Throwable v2_2) {
                v2_3 = v0_5;
                v0_6 = v2_2;
            }
        }
    }

Method ru.yandex.disk.feed.ed.a() calling method java.io.FileInputStream.<init>()


    static synthetic rx.a a(java.io.File p6)
    {
        try {
            java.io.FileInputStream v2_1 = new java.io.FileInputStream(p6);
            Throwable v1_0 = 0;
            try {
                Throwable v0_8 = ru.yandex.disk.asyncbitmap.k.a(v2_1);
                Throwable v0_4 = rx.a.a(Integer.valueOf(((int) ((((float) v0_8.outWidth) * 1120403456) / ((float) v0_8.outHeight)))));
            } catch (Throwable v0_6) {
                if (v2_1 != null) {
                    if (v1_0 == null) {
                        v2_1.close();
                    } else {
                        try {
                            v2_1.close();
                        } catch (Throwable v1) {
                        }
                    }
                }
                throw v0_6;
            } catch (Throwable v0_5) {
                try {
                    throw v0_5;
                } catch (Throwable v1_1) {
                    v1_0 = v0_5;
                    v0_6 = v1_1;
                }
            }
            if (v2_1 == null) {
                return v0_4;
            } else {
                if (0 == 0) {
                    v2_1.close();
                    return v0_4;
                } else {
                    try {
                        v2_1.close();
                    } catch (Throwable v1) {
                    }
                    return v0_4;
                }
            }
        } catch (Throwable v0_7) {
            v0_4 = rx.a.a(v0_7);
            return v0_4;
        }
    }

Method ru.yandex.disk.commonactions.cz.e() calling method java.io.FileInputStream.<init>()


    private String e(java.io.File p7)
    {
        try {
            int v1_1 = new java.io.FileInputStream(p7);
            try {
                String v0_3;
                String v0_1 = new byte[((int) Math.min(p7.length(), 1024))];
            } catch (String v0_4) {
                v0_3 = v0_4.getMessage();
                ru.yandex.disk.util.an.a(v1_1);
                return v0_3;
            }
            if (v1_1.read(v0_1) <= 0) {
                v0_3 = "cannot read";
            } else {
                v0_3 = "OK";
            }
            ru.yandex.disk.util.an.a(v1_1);
            return v0_3;
        } catch (String v0_5) {
            v1_1 = 0;
            ru.yandex.disk.util.an.a(v1_1);
            throw v0_5;
        } catch (String v0_4) {
            v1_1 = 0;
        } catch (String v0_5) {
        }
    }

Method ru.yandex.disk.asyncbitmap.t.a() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream a(String p4)
    {
        java.io.FileInputStream v0 = 0;
        try {
            java.io.File v2 = this.b(p4);
        } catch (java.io.FileInputStream v1) {
            return v0;
        }
        if (v2 != null) {
            v0 = new java.io.FileInputStream(v2);
            return v0;
        } else {
            return v0;
        }
    }

Method it.sephiroth.android.library.exif2.ExifInterface.writeExif() calling method java.io.FileInputStream.<init>()


    public void writeExif(String p11, String p12)
    {
        android.util.Log.i("ExifInterface", new StringBuilder().append("writeExif: ").append(p12).toString());
        if (!p11.equals(p12)) {
            java.io.FileInputStream v0_3 = new java.io.FileInputStream(p11);
            java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(p12);
            long v4_0 = it.sephiroth.android.library.exif2.ExifInterface.writeExif_internal(v0_3, v7_1, this.mData);
            java.nio.channels.FileChannel v1_3 = v0_3.getChannel();
            v1_3.transferTo(((long) v4_0), (v1_3.size() - ((long) v4_0)), v7_1.getChannel());
            v7_1.flush();
            org.apache.commons.io.IOUtils.closeQuietly(v0_3);
            org.apache.commons.io.IOUtils.closeQuietly(v7_1);
        }
        return;
    }

Method it.sephiroth.android.library.exif2.ExifInterface.readExif() calling method java.io.FileInputStream.<init>()


    public void readExif(String p4, int p5)
    {
        if (p4 != null) {
            try {
                int v1_2 = new java.io.BufferedInputStream(new java.io.FileInputStream(p4));
                try {
                    this.readExif(v1_2, p5);
                    v1_2.close();
                    return;
                } catch (java.io.IOException v0_0) {
                    it.sephiroth.android.library.exif2.ExifInterface.closeSilently(v1_2);
                    throw v0_0;
                }
            } catch (java.io.IOException v0_0) {
                v1_2 = 0;
            }
            this.readExif(v1_2, p5);
            v1_2.close();
            return;
        } else {
            throw new IllegalArgumentException("Argument is null");
        }
    }

Method com.localytics.android.Utils.getFileCheckSum() calling method java.io.FileInputStream.<init>()


    private static String getFileCheckSum(java.security.MessageDigest p5, java.io.File p6)
    {
        String v0_0 = 0;
        try {
            java.io.IOException v1_3 = new java.io.FileInputStream(p6);
            try {
                String v2_7 = new byte[16384];
            } catch (String v0_1) {
                com.localytics.android.Localytics$Log.w("Caught IOException", v0_1);
                String v0_2 = "";
                if (v1_3 == null) {
                    return v0_2;
                } else {
                    try {
                        v1_3.close();
                    } catch (java.io.IOException v1_1) {
                        com.localytics.android.Localytics$Log.w("Caught IOException", v1_1);
                    }
                    return v0_2;
                }
            }
            while(true) {
                String v3_0 = v1_3.read(v2_7);
                if (v3_0 == -1) {
                    break;
                }
                p5.update(v2_7, 0, v3_0);
            }
            if (v1_3 != null) {
                try {
                    v1_3.close();
                } catch (java.io.IOException v1_4) {
                    com.localytics.android.Localytics$Log.w("Caught IOException", v1_4);
                }
            }
            java.io.IOException v1_5 = p5.digest();
            String v2_5 = new StringBuilder();
            while (v0_0 < v1_5.length) {
                v2_5.append(Integer.toString(((v1_5[v0_0] & 255) + 256), 16).substring(1));
                v0_0++;
            }
            v0_2 = v2_5.toString();
            return v0_2;
        } catch (String v0_3) {
            v1_3 = 16384;
            if (v1_3 != null) {
                try {
                    v1_3.close();
                } catch (java.io.IOException v1_2) {
                    com.localytics.android.Localytics$Log.w("Caught IOException", v1_2);
                }
            }
            throw v0_3;
        } catch (String v0_1) {
            v1_3 = 16384;
        } catch (String v0_3) {
        }
    }

Method com.localytics.android.Utils.decompressZipFile() calling method java.io.FileInputStream.<init>()


    static boolean decompressZipFile(String p8, String p9, String p10)
    {
        java.io.IOException v0 = 0;
        try {
            String v2_0 = new java.util.zip.ZipInputStream(new java.io.FileInputStream(new StringBuilder().append(p8).append(java.io.File.separator).append(p10).toString()));
            try {
                String v3_1 = new byte[8192];
            } catch (java.io.IOException v1_1) {
                com.localytics.android.Localytics$Log.w("Caught IOException", v1_1);
                if (v2_0 == null) {
                    return v0;
                } else {
                    try {
                        v2_0.close();
                    } catch (java.io.IOException v1_4) {
                        com.localytics.android.Localytics$Log.w("Caught IOException", v1_4);
                    }
                    return v0;
                }
            }
            while(true) {
                String v4_1 = v2_0.getNextEntry();
                if (v4_1 == null) {
                    if (v2_0 != null) {
                        try {
                            v2_0.close();
                        } catch (java.io.IOException v1_3) {
                            com.localytics.android.Localytics$Log.w("Caught IOException", v1_3);
                            return v0;
                        }
                    }
                    v0 = 1;
                    return v0;
                } else {
                    int v5_8 = new StringBuilder().append(p9).append(java.io.File.separator).append(v4_1.getName()).toString();
                    if (!v4_1.isDirectory()) {
                        String v4_5 = new java.io.FileOutputStream(v5_8);
                        while(true) {
                            int v5_11 = v2_0.read(v3_1, 0, v3_1.length);
                            if (v5_11 <= 0) {
                                break;
                            }
                        }
                        v4_5.close();
                        v2_0.closeEntry();
                    } else {
                        if (new java.io.File(v5_8).mkdir()) {
                        } else {
                            int v6_5 = new Object[1];
                            v6_5[0] = v5_8;
                            com.localytics.android.Localytics$Log.w(String.format("Could not create directory %s", v6_5));
                        }
                    }
                }
            }
            v4_5.write(v3_1, 0, v5_11);
        } catch (java.io.IOException v1_2) {
            v2_0 = 8192;
            if (v2_0 != null) {
                try {
                    v2_0.close();
                } catch (java.io.IOException v1_5) {
                    com.localytics.android.Localytics$Log.w("Caught IOException", v1_5);
                    return v0;
                }
            }
            throw v1_2;
        } catch (java.io.IOException v1_1) {
            v2_0 = 8192;
        } catch (java.io.IOException v1_2) {
        }
    }

Method com.localytics.android.Utils.copyFile() calling method java.io.FileInputStream.<init>()


    static void copyFile(java.io.File p11, java.io.File p12)
    {
        String v2_0 = 0;
        com.localytics.android.Utils.validateFileRequirements(p11, p12);
        java.io.IOException v0_8 = p12.getParentFile();
        if ((v0_8 == null) || ((v0_8.mkdirs()) || (v0_8.isDirectory()))) {
            try {
                java.io.FileInputStream v7_1 = new java.io.FileInputStream(p11);
                try {
                    java.io.FileOutputStream v6_1 = new java.io.FileOutputStream(p12);
                    try {
                        String v1_14 = v7_1.getChannel();
                        try {
                            java.io.IOException v0_7 = v6_1.getChannel();
                            String v2_3 = 0;
                            try {
                                while(true) {
                                    java.io.FileOutputStream v4_2 = v0_7.transferFrom(v1_14, v2_3, 1048576);
                                    v2_3 += v4_2;
                                }
                                if (v1_14 != null) {
                                    v1_14.close();
                                }
                                if (v0_7 != null) {
                                    v0_7.close();
                                }
                                if (v7_1 != null) {
                                    v7_1.close();
                                }
                                if (v6_1 != null) {
                                    v6_1.close();
                                }
                                java.io.IOException v0_9 = com.localytics.android.Utils.getMD5CheckSum(p11);
                                String v1_16 = com.localytics.android.Utils.getMD5CheckSum(p12);
                                if (!android.text.TextUtils.isEmpty(v0_9)) {
                                    if (!android.text.TextUtils.isEmpty(v1_16)) {
                                        if (v0_9.equals(v1_16)) {
                                            return;
                                        } else {
                                            throw new java.io.IOException(new StringBuilder().append(p11).append(" and ").append(p12).append(" have different checksum").toString());
                                        }
                                    } else {
                                        throw new java.io.IOException(new StringBuilder().append("Failed to get checksum for destination file ").append(p12).toString());
                                    }
                                } else {
                                    throw new java.io.IOException(new StringBuilder().append("Failed to get checksum for source file ").append(p11).toString());
                                }
                            } catch (String v2_8) {
                                Throwable v3_1 = v0_7;
                                java.io.FileOutputStream v4_0 = v1_14;
                                java.io.IOException v0_6 = v2_8;
                                String v1_13 = v6_1;
                                v2_0 = v7_1;
                                if (v4_0 != null) {
                                    v4_0.close();
                                }
                                if (v3_1 != null) {
                                    v3_1.close();
                                }
                                if (v2_0 != null) {
                                    v2_0.close();
                                }
                                if (v1_13 != null) {
                                    v1_13.close();
                                }
                                throw v0_6;
                            }
                            if (v4_2 > 0) {
                            }
                        } catch (java.io.IOException v0_6) {
                            v3_1 = 0;
                            v4_0 = v1_14;
                            v1_13 = v6_1;
                            v2_0 = v7_1;
                        }
                    } catch (java.io.IOException v0_6) {
                        v1_13 = v6_1;
                        v3_1 = 0;
                        v4_0 = 0;
                        v2_0 = v7_1;
                    }
                } catch (java.io.IOException v0_6) {
                    v1_13 = 0;
                    v3_1 = 0;
                    v4_0 = 0;
                    v2_0 = v7_1;
                }
            } catch (java.io.IOException v0_6) {
                v1_13 = 0;
                v3_1 = 0;
                v4_0 = 0;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("Parent directory ").append(v0_8).append("cannot be created").toString());
        }
    }

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


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

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


    public declared_synchronized com.google.android.gms.internal.zzb$zza zza(String p9)
    {
        try {
            int v0_3;
            int v0_5 = ((com.google.android.gms.internal.zzv$zza) this.zzbw.get(p9));
        } catch (int v0_7) {
            throw v0_7;
        }
        if (v0_5 != 0) {
            int v3_2 = this.zzf(p9);
            try {
                int v2_0 = new com.google.android.gms.internal.zzv$zzb(new java.io.FileInputStream(v3_2), 0);
                try {
                    com.google.android.gms.internal.zzv$zza.zzf(v2_0);
                    v0_3 = v0_5.zzb(com.google.android.gms.internal.zzv.zza(v2_0, ((int) (v3_2.length() - ((long) com.google.android.gms.internal.zzv$zzb.zza(v2_0))))));
                } catch (int v0_1) {
                    Object[] v5_2 = new Object[2];
                    v5_2[0] = v3_2.getAbsolutePath();
                    v5_2[1] = v0_1.toString();
                    com.google.android.gms.internal.zzs.zzb("%s: %s", v5_2);
                    this.remove(p9);
                    if (v2_0 != 0) {
                        try {
                            v2_0.close();
                        } catch (int v0) {
                            v0_3 = 0;
                            return v0_3;
                        }
                    }
                    v0_3 = 0;
                }
                if (v2_0 != 0) {
                    try {
                        v2_0.close();
                    } catch (int v0) {
                        v0_3 = 0;
                    }
                }
            } catch (int v0_2) {
                v2_0 = 0;
                if (v2_0 != 0) {
                    try {
                        v2_0.close();
                    } catch (int v0) {
                        v0_3 = 0;
                        return v0_3;
                    }
                }
                throw v0_2;
            } catch (int v0_1) {
                v2_0 = 0;
            } catch (int v0_2) {
            }
        } else {
            v0_3 = 0;
        }
        return v0_3;
    }

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


    public declared_synchronized void initialize()
    {
        try {
            if (this.zzby.exists()) {
                String v3_2 = this.zzby.listFiles();
                if (v3_2 != null) {
                    int v4 = v3_2.length;
                    int v2_0 = 0;
                    while (v2_0 < v4) {
                        String v5 = v3_2[v2_0];
                        java.io.IOException v1_1 = 0;
                        try {
                            java.io.IOException v0_2 = new java.io.BufferedInputStream(new java.io.FileInputStream(v5));
                            try {
                                java.io.IOException v1_2 = com.google.android.gms.internal.zzv$zza.zzf(v0_2);
                                v1_2.zzca = v5.length();
                                this.zza(v1_2.zzcb, v1_2);
                            } catch (java.io.IOException v1) {
                                if (v5 != null) {
                                    v5.delete();
                                }
                                if (v0_2 == null) {
                                    v2_0++;
                                } else {
                                    try {
                                        v0_2.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                            }
                            if (v0_2 == null) {
                            } else {
                                try {
                                    v0_2.close();
                                } catch (java.io.IOException v0) {
                                }
                            }
                        } catch (java.io.IOException v0_3) {
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            throw v0_3;
                        } catch (java.io.IOException v0) {
                            v0_2 = 0;
                        } catch (java.io.IOException v1_4) {
                            v1_1 = v0_2;
                            v0_3 = v1_4;
                        }
                    }
                }
            } else {
                if (!this.zzby.mkdirs()) {
                    java.io.IOException v1_7 = new Object[1];
                    v1_7[0] = this.zzby.getAbsolutePath();
                    com.google.android.gms.internal.zzs.zzc("Unable to create cache dir %s", v1_7);
                }
            }
        } catch (java.io.IOException v0_8) {
            throw v0_8;
        }
        return;
    }

Method com.google.android.exoplayer.upstream.ContentDataSource.a() calling method java.io.FileInputStream.<init>()


    public long a(com.google.android.exoplayer.upstream.d p7)
    {
        try {
            this.d = p7.a.toString();
            this.c = new java.io.FileInputStream(this.a.openAssetFileDescriptor(p7.a, "r").getFileDescriptor());
        } catch (long v0_21) {
            throw new ark>com.google.android.exoplayer.upstream.ContentDataSourceark>$ContentDataSourceException(v0_21);
        }
        if (this.c.skip(p7.d) >= p7.d) {
            if (p7.e == -1) {
                this.e = ((long) this.c.available());
                if (this.e == 0) {
                    this.e = -1;
                }
            } else {
                this.e = p7.e;
            }
            this.f = 1;
            if (this.b != null) {
                this.b.a();
            }
            return this.e;
        } else {
            throw new java.io.EOFException();
        }
    }

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


    public declared_synchronized ark>com.d.a.aark>$c a(String p10)
    {
        ark>com.d.a.aark>$c v1_0 = 0;
        try {
            this.l();
            this.e(p10);
            int v0_4 = ((ark>com.d.a.aark>$b) this.l.get(p10));
        } catch (int v0_2) {
            throw v0_2;
        }
        if ((v0_4 != 0) && (ark>com.d.a.aark>$b.d(v0_4))) {
            java.io.InputStream[] v6 = new java.io.InputStream[this.i];
            String v3_2 = 0;
            try {
                while (v3_2 < this.i) {
                    v6[v3_2] = new java.io.FileInputStream(v0_4.a(v3_2));
                    v3_2++;
                }
            } catch (int v0) {
                int v0_0 = 0;
            }
            this.m = (this.m + 1);
            this.k.append(new StringBuilder().append("READ ").append(p10).append(10).toString());
            if (this.k()) {
                this.b.submit(this.o);
            }
            v1_0 = new ark>com.d.a.aark>$c(this, p10, ark>com.d.a.aark>$b.e(v0_4), v6, ark>com.d.a.aark>$b.b(v0_4), 0);
        }
        return v1_0;
    }

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


    private void h()
    {
        com.d.a.b v1_1 = new com.d.a.b(new java.io.FileInputStream(this.d), com.d.a.c.a);
        try {
            int v0_8 = v1_1.a();
            int v2_8 = v1_1.a();
            boolean v3_0 = v1_1.a();
            String v4 = v1_1.a();
            String v5 = v1_1.a();
        } catch (int v0_14) {
            com.d.a.c.a(v1_1);
            throw v0_14;
        }
        if (("libcore.io.DiskLruCache".equals(v0_8)) && (("1".equals(v2_8)) && ((Integer.toString(this.g).equals(v3_0)) && ((Integer.toString(this.i).equals(v4)) && ("".equals(v5)))))) {
            int v0_2 = 0;
            try {
                while(true) {
                    this.d(v1_1.a());
                    v0_2++;
                }
            } catch (int v2) {
                this.m = (v0_2 - this.l.size());
                com.d.a.c.a(v1_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v0_8).append(", ").append(v2_8).append(", ").append(v4).append(", ").append(v5).append("]").toString());
        }
    }

Method com.bumptech.glide.load.resource.b.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 com.bumptech.glide.a.a.e() calling method java.io.FileInputStream.<init>()


    private void e()
    {
        com.bumptech.glide.a.b v1_1 = new com.bumptech.glide.a.b(new java.io.FileInputStream(this.c), com.bumptech.glide.a.c.a);
        try {
            java.io.BufferedWriter v0_7 = v1_1.a();
            java.io.OutputStreamWriter v2_9 = v1_1.a();
            java.io.FileOutputStream v3_0 = v1_1.a();
            java.nio.charset.Charset v4_0 = v1_1.a();
            int v5_0 = v1_1.a();
        } catch (java.io.BufferedWriter v0_17) {
            com.bumptech.glide.a.c.a(v1_1);
            throw v0_17;
        }
        if (("libcore.io.DiskLruCache".equals(v0_7)) && (("1".equals(v2_9)) && ((Integer.toString(this.f).equals(v3_0)) && ((Integer.toString(this.h).equals(v4_0)) && ("".equals(v5_0)))))) {
            java.io.BufferedWriter v0_2 = 0;
            try {
                while(true) {
                    this.d(v1_1.a());
                    v0_2++;
                }
            } catch (java.io.OutputStreamWriter v2) {
                this.l = (v0_2 - this.k.size());
                if (!v1_1.b()) {
                    this.j = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.c, 1), com.bumptech.glide.a.c.a));
                } else {
                    this.g();
                }
                com.bumptech.glide.a.c.a(v1_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v0_7).append(", ").append(v2_9).append(", ").append(v4_0).append(", ").append(v5_0).append("]").toString());
        }
    }

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


    public static int b()
    {
        int v4 = 0;
        int v0_1 = -1;
        while (v4 < com.b.a.a.a.a()) {
            int v5_3 = new java.io.File(new StringBuilder().append("/sys/devices/system/cpu/cpu").append(v4).append("/cpufreq/cpuinfo_max_freq").toString());
            if (v5_3.exists()) {
                byte[] v6 = new byte[128];
                java.io.FileInputStream v7_1 = new java.io.FileInputStream(v5_3);
                v7_1.read(v6);
                int v2_11 = 0;
                while ((v6[v2_11] >= 48) && ((v6[v2_11] <= 57) && (v2_11 < v6.length))) {
                    v2_11++;
                }
                int v2_14 = Integer.valueOf(Integer.parseInt(new String(v6, 0, v2_11)));
                if (v2_14.intValue() > v0_1) {
                    v0_1 = v2_14.intValue();
                }
                v7_1.close();
            }
            v4++;
        }
        if (v0_1 == -1) {
            java.io.FileInputStream v3_1 = new java.io.FileInputStream("/proc/cpuinfo");
            int v2_2 = (com.b.a.a.a.a("cpu MHz", v3_1) * 1000);
            if (v2_2 > v0_1) {
                v0_1 = v2_2;
            }
            v3_1.close();
        }
        return v0_1;
    }

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


    public static long a(android.content.Context p5)
    {
        Throwable v0_2;
        java.io.IOException v2 = -1;
        if (android.os.Build$VERSION.SDK_INT < 16) {
            try {
                java.io.FileInputStream v4_1 = new java.io.FileInputStream("/proc/meminfo");
                try {
                    v2 = 1024;
                    v0_2 = (((long) ark>com.b.a.a.aark>.a("MemTotal", v4_1)) * 1024);
                    try {
                        v4_1.close();
                    } catch (java.io.IOException v2) {
                    }
                } catch (Throwable v0_3) {
                    v4_1.close();
                    throw v0_3;
                }
            } catch (Throwable v0) {
                v0_2 = v2;
            }
        } else {
            android.app.ActivityManager$MemoryInfo v1_2 = new android.app.ActivityManager$MemoryInfo();
            ((android.app.ActivityManager) p5.getSystemService("activity")).getMemoryInfo(v1_2);
            if (v1_2 == null) {
                v0_2 = -1;
            } else {
                v0_2 = v1_2.totalMem;
            }
        }
        return v0_2;
    }

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


    public declared_synchronized void a()
    {
        try {
            if (this.c.exists()) {
                String v3_2 = this.c.listFiles();
                if (v3_2 != null) {
                    int v4 = v3_2.length;
                    int v2_0 = 0;
                    while (v2_0 < v4) {
                        String v5 = v3_2[v2_0];
                        java.io.IOException v1_1 = 0;
                        try {
                            java.io.IOException v0_2 = new java.io.BufferedInputStream(new java.io.FileInputStream(v5));
                            try {
                                java.io.IOException v1_2 = ark>com.android.volley.toolbox.cark>$a.a(v0_2);
                                v1_2.a = v5.length();
                                this.a(v1_2.b, v1_2);
                            } catch (java.io.IOException v1) {
                                if (v5 != null) {
                                    v5.delete();
                                }
                                if (v0_2 == null) {
                                    v2_0++;
                                } else {
                                    try {
                                        v0_2.close();
                                    } catch (java.io.IOException v0) {
                                    }
                                }
                            }
                            if (v0_2 == null) {
                            } else {
                                try {
                                    v0_2.close();
                                } catch (java.io.IOException v0) {
                                }
                            }
                        } catch (java.io.IOException v0_3) {
                            if (v1_1 != null) {
                                try {
                                    v1_1.close();
                                } catch (java.io.IOException v1) {
                                }
                            }
                            throw v0_3;
                        } catch (java.io.IOException v0) {
                            v0_2 = 0;
                        } catch (java.io.IOException v1_4) {
                            v1_1 = v0_2;
                            v0_3 = v1_4;
                        }
                    }
                }
            } else {
                if (!this.c.mkdirs()) {
                    java.io.IOException v1_7 = new Object[1];
                    v1_7[0] = this.c.getAbsolutePath();
                    com.android.volley.l.c("Unable to create cache dir %s", v1_7);
                }
            }
        } catch (java.io.IOException v0_8) {
            throw v0_8;
        }
        return;
    }

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


    public declared_synchronized com.android.volley.a$a a(String p9)
    {
        try {
            int v0_4;
            int v0_5 = ((ark>com.android.volley.toolbox.cark>$a) this.a.get(p9));
        } catch (int v0_7) {
            throw v0_7;
        }
        if (v0_5 != 0) {
            int v3_2 = this.c(p9);
            try {
                int v2_0 = new ark>com.android.volley.toolbox.cark>$b(new java.io.BufferedInputStream(new java.io.FileInputStream(v3_2)), 0);
                try {
                    ark>com.android.volley.toolbox.cark>$a.a(v2_0);
                    v0_4 = v0_5.a(ark>com.android.volley.toolbox.cark>.a(v2_0, ((int) (v3_2.length() - ((long) ark>com.android.volley.toolbox.cark>$b.a(v2_0))))));
                } catch (int v0_1) {
                    Object[] v5_4 = new Object[2];
                    v5_4[0] = v3_2.getAbsolutePath();
                    v5_4[1] = v0_1.toString();
                    com.android.volley.l.b("%s: %s", v5_4);
                    this.b(p9);
                    if (v2_0 != 0) {
                        try {
                            v2_0.close();
                        } catch (int v0) {
                            v0_4 = 0;
                            return v0_4;
                        }
                    }
                    v0_4 = 0;
                }
                if (v2_0 != 0) {
                    try {
                        v2_0.close();
                    } catch (int v0) {
                        v0_4 = 0;
                    }
                }
            } catch (int v0_2) {
                v2_0 = 0;
                if (v2_0 != 0) {
                    try {
                        v2_0.close();
                    } catch (int v0) {
                        v0_4 = 0;
                        return v0_4;
                    }
                }
                throw v0_2;
            } catch (int v0_1) {
                v2_0 = 0;
            } catch (int v0_2) {
            }
        } else {
            v0_4 = 0;
        }
        return v0_4;
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkMockHttpService.getResponseForUploadRequest() calling method java.io.FileInputStream.<init>()


    public com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle getResponseForUploadRequest(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequest p8, String p9, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkRequestPriority p10, com.adobe.creativesdk.foundation.internal.net.IAdobeNetworkCompletionHandler p11, android.os.Handler p12)
    {
        java.io.IOException v0_0 = 0;
        com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_0 = this.logRequest(p8);
        if (v2_0 != null) {
            if (new java.io.File(p9).exists()) {
                try {
                    java.io.IOException v1_1 = new java.io.FileInputStream(new java.io.File(p9));
                    try {
                        com.adobe.creativesdk.foundation.internal.utils.logging.Level v3_3 = new StringBuilder("");
                    } catch (java.io.IOException v0_4) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v0_4);
                        v0_0 = new com.adobe.creativesdk.foundation.network.AdobeNetworkException(com.adobe.creativesdk.foundation.network.AdobeNetworkException$AdobeNetworkErrorCode.AdobeNetworkErrorBadRequest);
                        if (v1_1 != null) {
                            try {
                                v1_1.close();
                            } catch (java.io.IOException v1_9) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v1_9);
                            }
                        }
                    } catch (java.io.IOException v0_3) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v0_3);
                        v0_0 = new com.adobe.creativesdk.foundation.network.AdobeNetworkException(com.adobe.creativesdk.foundation.network.AdobeNetworkException$AdobeNetworkErrorCode.AdobeNetworkErrorBadRequest);
                        if (v1_1 != null) {
                            try {
                                v1_1.close();
                            } catch (java.io.IOException v1_7) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v1_7);
                            }
                        }
                    }
                    while(true) {
                        String v4_1 = v1_1.read();
                        if (v4_1 == -1) {
                            break;
                        }
                        v3_3.append(((char) v4_1));
                    }
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, this.getClass().getSimpleName(), v3_3.toString());
                    v1_1.close();
                    if (v1_1 != null) {
                        try {
                            v1_1.close();
                        } catch (java.io.IOException v1_12) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v1_12);
                        }
                    }
                } catch (java.io.IOException v1_4) {
                    v1_1 = 0;
                    java.io.IOException v0_5 = v1_4;
                    if (v1_1 != null) {
                        try {
                            v1_1.close();
                        } catch (java.io.IOException v1_10) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v1_10);
                        }
                    }
                    throw v0_5;
                } catch (java.io.IOException v1_3) {
                    v1_1 = 0;
                    v0_4 = v1_3;
                } catch (java.io.IOException v1_2) {
                    v1_1 = 0;
                    v0_3 = v1_2;
                } catch (java.io.IOException v0_5) {
                }
            } else {
                v0_0 = new com.adobe.creativesdk.foundation.network.AdobeNetworkException(com.adobe.creativesdk.foundation.network.AdobeNetworkException$AdobeNetworkErrorCode.AdobeNetworkErrorBadRequest);
            }
        }
        return this.scheduleResponse(v2_0, p11, p12, v0_0);
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequest.setBodyStreamFromFile() calling method java.io.FileInputStream.<init>()


    public void setBodyStreamFromFile(String p4)
    {
        org.apache.commons.io.IOUtils.closeQuietly(this._body);
        this._body = new java.io.BufferedInputStream(new java.io.FileInputStream(new java.io.File(p4)), 32768);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpMultiPartTask.writeToOutputStream() calling method java.io.FileInputStream.<init>()


    protected boolean writeToOutputStream()
    {
        String v4_0 = 0;
        try {
            this.urlConnection.setDoOutput(1);
            this.urlConnection.setDoInput(1);
            int v3_0 = this.urlConnection.getOutputStream();
        } catch (int v0_6) {
            v3_0 = 0;
            org.apache.commons.io.IOUtils.closeQuietly(v4_0);
            org.apache.commons.io.IOUtils.closeQuietly(v3_0);
            this.retryEnabled = 0;
            throw v0_6;
        } catch (int v0_3) {
            v3_0 = 0;
            v0_3.printStackTrace();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpDataDownloadTask.getName(), "Error during io operation", v0_3);
            this.response.setHasFileError(1);
            org.apache.commons.io.IOUtils.closeQuietly(v4_0);
            org.apache.commons.io.IOUtils.closeQuietly(v3_0);
            this.retryEnabled = 0;
            int v0_5 = 0;
            return v0_5;
        } catch (int v0_3) {
            v3_0 = 0;
        } catch (int v0_3) {
            String v2_1 = 0;
            v3_0 = v2_1;
        } catch (int v0_6) {
        } catch (int v0_3) {
        }
        java.util.Iterator v8 = this.multiPartDataList.iterator();
        while (v8.hasNext()) {
            int v0_15 = ((com.adobe.creativesdk.foundation.internal.net.AdobeMultiPartData) v8.next());
            if (!Thread.currentThread().isInterrupted()) {
                if ((v0_15.getSourcePath() == null) && (v0_15.getInputStream() == null)) {
                    if (v0_15.getData() != null) {
                        byte[] v5_13 = this.generateMultiPartMixedData(v0_15, this._boundaryID);
                        this.logNw(v5_13);
                        v3_0.write(v5_13.getBytes(java.nio.charset.Charset.defaultCharset()));
                        v3_0.write(v0_15.getData());
                    }
                } else {
                    byte[] v5_17;
                    if (v0_15.getInputStream() == null) {
                        v5_17 = new java.io.BufferedInputStream(new java.io.FileInputStream(v0_15.getSourcePath()), 32768);
                    } else {
                        v5_17 = new java.io.BufferedInputStream(v0_15.getInputStream());
                    }
                    try {
                        int v6_10 = this.generateMultiPartMixedData(v0_15, this._boundaryID);
                        this.logNw(v6_10);
                        v3_0.write(v6_10.getBytes(java.nio.charset.Charset.defaultCharset()));
                        byte[] v9 = new byte[32768];
                        int v10 = v5_17.available();
                        int v7_1 = v5_17.read(v9, 0, 32768);
                        int v6_2 = 0;
                    } catch (int v0_6) {
                        v4_0 = v5_17;
                    } catch (int v0_3) {
                        v4_0 = v5_17;
                    } catch (int v0_3) {
                        v2_1 = v3_0;
                        v4_0 = v5_17;
                    }
                    while (v7_1 > 0) {
                        if ((!this.requestHandler.isCancelled()) && (!Thread.currentThread().isInterrupted())) {
                            v3_0.write(v9, 0, v7_1);
                            v6_2 += v7_1;
                            v7_1 = v5_17.read(v9, 0, 32768);
                            this.issueProgressCallback(v0_15, v6_2, v10);
                        } else {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, "MultiPartTask", "thread interrupted or cancelled.");
                            org.apache.commons.io.IOUtils.closeQuietly(v5_17);
                            org.apache.commons.io.IOUtils.closeQuietly(v3_0);
                            this.retryEnabled = 0;
                            v0_5 = 0;
                            return v0_5;
                        }
                    }
                    this.response.setBytesSent(v6_2);
                    org.apache.commons.io.IOUtils.closeQuietly(v5_17);
                }
                v3_0.write("\r\n".getBytes());
            } else {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, "MultiPartTask", "thread interrupted or cancelled.");
                org.apache.commons.io.IOUtils.closeQuietly(0);
                org.apache.commons.io.IOUtils.closeQuietly(v3_0);
                this.retryEnabled = 0;
                v0_5 = 0;
                return v0_5;
            }
        }
        byte[] v5_4 = new Object[1];
        v5_4[0] = this._boundaryID;
        int v0_13 = String.format("--%s--\r\n", v5_4);
        v3_0.write(v0_13.getBytes(java.nio.charset.Charset.defaultCharset()));
        this.logNw(v0_13);
        org.apache.commons.io.IOUtils.closeQuietly(0);
        org.apache.commons.io.IOUtils.closeQuietly(v3_0);
        this.retryEnabled = 0;
        v0_5 = 1;
        return v0_5;
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpFileUploadTask.writeToOutputStream() calling method java.io.FileInputStream.<init>()


    protected boolean writeToOutputStream()
    {
        int v2_0 = 0;
        java.io.IOException v0_1 = 0;
        try {
            this.urlConnection.setDoOutput(1);
            this.urlConnection.setDoInput(1);
            String v6_1 = new java.io.File(this._sourcePath).length();
            this.urlConnection.setFixedLengthStreamingMode(((int) v6_1));
            this.urlConnection.setRequestProperty("file", org.apache.commons.io.FilenameUtils.getName(java.net.URLDecoder.decode(this.request.getUrl().getPath(), "UTF-8")));
            this.urlConnection.setRequestProperty("Content-Transfer-Encoding", "binary");
        } catch (java.io.IOException v0_0) {
            int v4_4 = 0;
            org.apache.commons.io.IOUtils.closeQuietly(v4_4);
            org.apache.commons.io.IOUtils.closeQuietly(v2_0);
            throw v0_0;
        } catch (java.io.IOException v1_5) {
            int v3_6 = 0;
            try {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpDataDownloadTask.getName(), "Error during io operation", v1_5);
                this.response.setHasFileError(1);
                org.apache.commons.io.IOUtils.closeQuietly(v3_6);
                org.apache.commons.io.IOUtils.closeQuietly(v2_0);
            } catch (java.io.IOException v0_0) {
                v4_4 = v3_6;
            }
            return v0_1;
        } catch (java.io.IOException v1_3) {
            v4_4 = 0;
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpDataDownloadTask.getName(), "Error during io operation", v1_3);
            this.response.setHasFileError(1);
            org.apache.commons.io.IOUtils.closeQuietly(v4_4);
            org.apache.commons.io.IOUtils.closeQuietly(v2_0);
            return v0_1;
        } catch (java.io.IOException v1_1) {
            v4_4 = 0;
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpDataDownloadTask.getName(), "Error during io operation", v1_1);
            this.response.setHasFileError(1);
            org.apache.commons.io.IOUtils.closeQuietly(v4_4);
            org.apache.commons.io.IOUtils.closeQuietly(v2_0);
            return v0_1;
        } catch (java.io.IOException v0_0) {
        }
        if (v6_1 > 0) {
            this.urlConnection.setRequestProperty("Content-Length", new StringBuilder().append("").append(v6_1).toString());
        }
        int v3_17 = this.urlConnection.getOutputStream();
        try {
            v4_4 = new java.io.BufferedInputStream(new java.io.FileInputStream(this._sourcePath), 32768);
            try {
                byte[] v8_3 = new byte[32768];
                int v5_1 = v4_4.read(v8_3, 0, 32768);
                int v2_1 = 0;
            } catch (java.io.IOException v0_0) {
                v2_0 = v3_17;
            } catch (java.io.IOException v1_5) {
                v2_0 = v3_17;
                v3_6 = v4_4;
            } catch (java.io.IOException v1_3) {
                v2_0 = v3_17;
            } catch (java.io.IOException v1_1) {
                v2_0 = v3_17;
            }
            while (v5_1 > 0) {
                if (!this.requestHandler.isCancelled()) {
                    v3_17.write(v8_3, 0, v5_1);
                    v3_17.flush();
                    v2_1 += v5_1;
                    v5_1 = v4_4.read(v8_3, 0, 32768);
                    this.onProgressUpdate(Integer.valueOf(((int) ((((float) v2_1) / ((float) v6_1)) * 1120403456))));
                } else {
                    org.apache.commons.io.IOUtils.closeQuietly(v4_4);
                    org.apache.commons.io.IOUtils.closeQuietly(v3_17);
                    org.apache.commons.io.IOUtils.closeQuietly(v4_4);
                    org.apache.commons.io.IOUtils.closeQuietly(v3_17);
                    return v0_1;
                }
            }
            this.response.setBytesSent(v2_1);
            org.apache.commons.io.IOUtils.closeQuietly(v4_4);
            org.apache.commons.io.IOUtils.closeQuietly(v3_17);
            v0_1 = 1;
            return v0_1;
        } catch (java.io.IOException v0_0) {
            v4_4 = 32768;
            v2_0 = v3_17;
        } catch (java.io.IOException v1_5) {
            v3_6 = 32768;
            v2_0 = v3_17;
        } catch (java.io.IOException v1_3) {
            v4_4 = 32768;
            v2_0 = v3_17;
        } catch (java.io.IOException v1_1) {
            v4_4 = 32768;
            v2_0 = v3_17;
        }
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getObjectFromDiskWithGUID() calling method java.io.FileInputStream.<init>()


    private Object getObjectFromDiskWithGUID(String p12, String p13, java.util.EnumSet p14)
    {
        java.io.IOException v0_11;
        java.io.IOException v1_0 = 0;
        String v4_11 = new java.util.Date();
        if (!this.useDiskCaching) {
            v0_11 = 0;
            v1_0 = v0_11;
        } else {
            try {
                this.diskReadWriteLock.readLock().lock();
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Got Read lock in getObjectFromDiskWithGUID.Current lock count ").append(this.diskReadWriteLock.getReadLockCount()).toString());
                String v5_8 = new java.io.File(this.getCacheDirectoryForGuid(p12), p13);
            } catch (java.io.IOException v0_2) {
                this.diskReadWriteLock.readLock().unlock();
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(this.diskReadWriteLock.getReadLockCount()).toString());
                throw v0_2;
            }
            if (v5_8.exists()) {
                try {
                    String v3_34 = new java.io.FileInputStream(v5_8);
                    try {
                        com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_14 = new java.io.ObjectInputStream(v3_34);
                        try {
                            v0_11 = v2_14.readObject();
                            this.logDiskCacheHit(p12, p13, (new java.util.Date().getTime() - v4_11.getTime()));
                            this.addEntryToCacheMetadata(v5_8, this.getCacheKey(p12, p13));
                            try {
                                if ((p14.contains(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheOptions.AdobeCommonCacheKeepInMemoryCache)) && (this.memCacheSize > 0)) {
                                    this.memCache.put(this.getCacheKey(p12, p13), v0_11);
                                }
                                try {
                                    if (v3_34 != null) {
                                        v3_34.close();
                                    }
                                } catch (java.io.IOException v1_5) {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_5.getMessage(), v1_5);
                                    this.diskReadWriteLock.readLock().unlock();
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(this.diskReadWriteLock.getReadLockCount()).toString());
                                }
                                if (v2_14 == null) {
                                } else {
                                    v2_14.close();
                                }
                            } catch (java.io.IOException v1_2) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Unable to read map from cache", v1_2);
                                try {
                                    if (v3_34 != null) {
                                        v3_34.close();
                                    }
                                } catch (java.io.IOException v1_3) {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_3.getMessage(), v1_3);
                                }
                                if (v2_14 == null) {
                                } else {
                                    v2_14.close();
                                }
                            } catch (java.io.IOException v1_12) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Unable to read map from cache", v1_12);
                                try {
                                    if (v3_34 != null) {
                                        v3_34.close();
                                    }
                                } catch (java.io.IOException v1_1) {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_1.getMessage(), v1_1);
                                }
                                if (v2_14 == null) {
                                } else {
                                    v2_14.close();
                                }
                            }
                        } catch (java.io.IOException v0_18) {
                            v0_11 = 0;
                            v1_2 = v0_18;
                        } catch (java.io.IOException v0_16) {
                            v0_11 = 0;
                            v1_12 = v0_16;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_14 = 0;
                        try {
                            if (v3_34 == null) {
                                if (v2_14 != null) {
                                    v2_14.close();
                                }
                            } else {
                                v3_34.close();
                            }
                        } catch (java.io.IOException v1_4) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_4.getMessage(), v1_4);
                        }
                        throw v0_1;
                    } catch (java.io.IOException v0_14) {
                        v2_14 = 0;
                        v0_11 = 0;
                        v1_2 = v0_14;
                    } catch (java.io.IOException v0_13) {
                        v2_14 = 0;
                        v0_11 = 0;
                        v1_12 = v0_13;
                    }
                } catch (java.io.IOException v0_1) {
                    v2_14 = 0;
                    v3_34 = 0;
                } catch (java.io.IOException v0_12) {
                    v2_14 = 0;
                    v3_34 = 0;
                    v0_11 = 0;
                    v1_2 = v0_12;
                } catch (java.io.IOException v0_10) {
                    v2_14 = 0;
                    v3_34 = 0;
                    v0_11 = 0;
                    v1_12 = v0_10;
                } catch (java.io.IOException v0_1) {
                }
            } else {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Disk Miss for key ").append(p13).toString());
                this.diskReadWriteLock.readLock().unlock();
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(this.diskReadWriteLock.getReadLockCount()).toString());
            }
        }
        return v1_0;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance$4.run() calling method java.io.FileInputStream.<init>()


    public void run()
    {
        String v2_0 = 0;
        try {
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().lock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Got Read lock in getObjectFromDiskWithGUID.Current lock count ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
            java.io.IOException v0_22 = new java.io.File(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$100(this.this$0, this.val$guid), this.val$key);
        } catch (java.io.IOException v0_9) {
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().unlock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
            throw v0_9;
        }
        if (v0_22.exists()) {
            try {
                String v3_5 = new java.io.FileInputStream(v0_22);
                try {
                    com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_19 = new java.io.ObjectInputStream(v3_5);
                    try {
                        String v2_28 = v1_19.readObject();
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$300(this.this$0, this.val$guid, this.val$key, (new java.util.Date().getTime() - this.val$startTime.getTime()));
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$500(this.this$0, v0_22, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$400(this.this$0, this.val$guid, this.val$key));
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$600(this.this$0, this.val$callback, this.val$handler, v2_28, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheHitLocation.AdobeCommonCacheHitLocationDisk);
                    } catch (java.io.IOException v0_4) {
                        v2_0 = v3_5;
                        try {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Unable to read map from cache", v0_4);
                            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$200(this.this$0, this.val$callback, this.val$handler);
                            try {
                                if (v2_0 != null) {
                                    v2_0.close();
                                }
                            } catch (java.io.IOException v0_7) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v0_7.getMessage(), v0_7);
                                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().unlock();
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
                            }
                            if (v1_19 == null) {
                            } else {
                                v1_19.close();
                            }
                            try {
                                if (v3_5 != null) {
                                    v3_5.close();
                                }
                            } catch (java.io.IOException v0_8) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v0_8.getMessage(), v0_8);
                            }
                            if (v1_19 == null) {
                            } else {
                                v1_19.close();
                            }
                        } catch (java.io.IOException v0_6) {
                            v3_5 = v2_0;
                            try {
                                if (v3_5 == null) {
                                    if (v1_19 != null) {
                                        v1_19.close();
                                    }
                                } else {
                                    v3_5.close();
                                }
                            } catch (com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_3) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_3.getMessage(), v1_3);
                            }
                            throw v0_6;
                        }
                    } catch (java.io.IOException v0_1) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Unable to read map from cache", v0_1);
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$200(this.this$0, this.val$callback, this.val$handler);
                        try {
                            if (v3_5 != null) {
                                v3_5.close();
                            }
                        } catch (java.io.IOException v0_3) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v0_3.getMessage(), v0_3);
                        }
                        if (v1_19 == null) {
                        } else {
                            v1_19.close();
                        }
                    }
                    if ((this.val$options.contains(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheOptions.AdobeCommonCacheKeepInMemoryCache)) && (com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$700(this.this$0) > 0)) {
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$800(this.this$0).put(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$400(this.this$0, this.val$guid, this.val$key), v2_28);
                    }
                } catch (java.io.IOException v0_6) {
                    v1_19 = 0;
                } catch (java.io.IOException v0_4) {
                    v1_19 = 0;
                    v2_0 = v3_5;
                } catch (java.io.IOException v0_1) {
                    v1_19 = 0;
                }
            } catch (java.io.IOException v0_6) {
                v1_19 = 0;
                v3_5 = 0;
            } catch (java.io.IOException v0_4) {
                v1_19 = 0;
            } catch (java.io.IOException v0_1) {
                v1_19 = 0;
                v3_5 = 0;
            } catch (java.io.IOException v0_6) {
            }
        } else {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Disk Miss for key ").append(this.val$key).toString());
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$200(this.this$0, this.val$callback, this.val$handler);
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().unlock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
        }
        return;
    }

Method com.adobe.creativesdk.aviary.internal.utils.DecodeUtils.openFileInputStream() calling method java.io.FileInputStream.<init>()


    static java.io.InputStream openFileInputStream(String p4)
    {
        Object[] v2_1 = new Object[1];
        v2_1[0] = p4;
        com.adobe.creativesdk.aviary.internal.utils.DecodeUtils.logger.info("openFileInputStream: %s", v2_1);
        try {
            int v0_1 = new java.io.FileInputStream(p4);
        } catch (int v0_3) {
            v0_3.printStackTrace();
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.aviary.internal.headless.moa.moalite.MoaLitePack$MoaLiteItem.loadContentFromZip() calling method java.io.FileInputStream.<init>()


    public boolean loadContentFromZip(java.io.File p2, java.io.OutputStream p3)
    {
        return this.loadContentFromZip(new java.io.FileInputStream(p2), p3);
    }

Method com.adobe.creativesdk.aviary.internal.headless.moa.moalite.MoaLitePack$MoaLiteItem.loadContent() calling method java.io.FileInputStream.<init>()


    public byte[] loadContent(java.io.File p2)
    {
        return this.loadContent(new java.io.FileInputStream(p2));
    }

Method com.adobe.creativesdk.aviary.internal.headless.moa.moalite.MoaLitePack$MoaLiteItem.loadContent() calling method java.io.FileInputStream.<init>()


    public boolean loadContent(java.io.File p2, java.io.OutputStream p3)
    {
        return this.loadContent(new java.io.FileInputStream(p2), p3);
    }

Method com.adobe.creativesdk.aviary.internal.content.SessionDatabaseHelper$ActionWrapper.getRecipeActionList() calling method java.io.FileInputStream.<init>()


    private String getRecipeActionList()
    {
        Throwable v0_5;
        if (android.text.TextUtils.isEmpty(this.recipe)) {
            v0_5 = 0;
        } else {
            java.io.ByteArrayOutputStream v1_1 = new java.io.ByteArrayOutputStream();
            java.util.zip.ZipInputStream v2_0 = new java.util.zip.ZipInputStream(new java.io.FileInputStream(new java.io.File(this.recipe)));
            try {
                com.adobe.android.common.util.IOUtils.readFileFromZip(v2_0, "actionlist.json", v1_1);
                v0_5 = new String(v1_1.toByteArray(), "UTF-8");
                com.adobe.android.common.util.IOUtils.closeSilently(v2_0);
                com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
            } catch (Throwable v0_6) {
                com.adobe.android.common.util.IOUtils.closeSilently(v2_0);
                com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
                throw v0_6;
            }
        }
        return v0_5;
    }

Method com.adobe.creativesdk.aviary.internal.cds.PackInstaller.installFromDir() calling method java.io.FileInputStream.<init>()


    public static void installFromDir(android.content.Context p12, java.io.File p13)
    {
        String v0_0 = 2;
        String v2_16 = 0;
        if ((p13 != null) && ((p13.isDirectory()) && (p13.exists()))) {
            StringBuilder v3_1 = new String[4];
            v3_1[0] = "status.json";
            v3_1[1] = "index.json";
            v3_1[2] = "icon.png";
            v3_1[3] = "content.zip";
            String v4_2 = new java.util.ArrayList(java.util.Arrays.asList(v3_1));
            StringBuilder v5_9 = p13.listFiles();
            String v6_1 = v5_9.length;
            StringBuilder v3_6 = 0;
            while (v3_6 < v6_1) {
                v4_2.remove(v5_9[v3_6].getName());
                v3_6++;
            }
            if (v4_2.size() == 0) {
                String v4_6 = new java.io.FileInputStream(new java.io.File(p13, "index.json"));
                StringBuilder v5_13 = new com.adobe.creativesdk.aviary.internal.cds.json.CdsContentParser();
                v5_13.parse(v4_6);
                com.adobe.android.common.util.IOUtils.closeSilently(v4_6);
                StringBuilder v3_10 = v5_13.getIdentifier();
                String v4_7 = v5_13.getDisplayName();
                StringBuilder v7_13 = v5_13.getItems().size();
                String v6_3 = v5_13.getPackType();
                android.util.Log.d("PackInstaller", new StringBuilder().append("identifier: ").append(v3_10).toString());
                android.util.Log.d("PackInstaller", new StringBuilder().append("displayName: ").append(v4_7).toString());
                android.util.Log.d("PackInstaller", new StringBuilder().append("count: ").append(v7_13).toString());
                android.util.Log.d("PackInstaller", new StringBuilder().append("packType: ").append(v6_3).toString());
                String v4_13 = new java.util.ArrayList();
                StringBuilder v7_0 = new android.content.ContentValues();
                v7_0.put("pack_identifier", v3_10);
                v7_0.put("pack_type", v6_3);
                v7_0.put("pack_versionKey", v5_13.getVersionKey());
                v7_0.put("pack_visible", Integer.valueOf(1));
                v7_0.put("pack_displayOrder", Integer.valueOf(0));
                v7_0.put("pack_previouslyInstalled", Integer.valueOf(1));
                v4_13.add(v7_0);
                StringBuilder v7_2 = new android.content.ContentValues();
                v7_2.put("content_displayName", v5_13.getDisplayName());
                v7_2.put("content_displayDescription", v5_13.getDisplayDescription());
                v7_2.put("content_contentURL", v5_13.getContentURL());
                v7_2.put("content_contentVersion", v5_13.getContentVersion());
                v7_2.put("content_iconUrl", v5_13.getIconURL());
                v7_2.put("content_iconVersion", v5_13.getIconVersion());
                v7_2.put("content_previewURL", v5_13.getPreviewURL());
                v7_2.put("content_previewVersion", v5_13.getPreviewVersion());
                if (!v5_13.isFreeWithLogin()) {
                    if (!v5_13.isFree()) {
                        v0_0 = 0;
                    } else {
                        v0_0 = 1;
                    }
                }
                v7_2.put("content_isFree", Integer.valueOf(v0_0));
                v7_2.put("content_purchased", Integer.valueOf(1));
                v4_13.add(v7_2);
                android.database.sqlite.SQLiteDatabase v1_1 = v5_13.getItems();
                while (v2_16 < v1_1.size()) {
                    String v0_24 = ((com.adobe.creativesdk.aviary.internal.cds.json.CdsContentParser$ContentItem) v1_1.get(v2_16));
                    StringBuilder v5_11 = new android.content.ContentValues();
                    v5_11.put("item_identifier", v0_24.getIdentifier());
                    v5_11.put("item_displayName", v0_24.getDisplayName());
                    if (v0_24.getOptions() != null) {
                        v5_11.put("item_options", v0_24.getOptions());
                    }
                    v4_13.add(v5_11);
                    v2_16++;
                }
                String v0_5 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackByIdentifier(p12, v3_10, 0);
                if (v0_5 != null) {
                    android.util.Log.d("PackInstaller", "pack already exists. trying to uninstall");
                    android.util.Log.d("PackInstaller", new StringBuilder().append("remove result: ").append(p12.getContentResolver().delete(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p12, new StringBuilder().append("pack/id/").append(v0_5.getId()).append("/remove").toString()), 0, 0)).toString());
                    android.util.Log.d("PackInstaller", "now trying to delete old contents");
                    com.adobe.creativesdk.aviary.internal.cds.CdsUtils.uninstallPack(p12, v0_5.getId());
                }
                String v0_8 = new android.content.ContentValues[v4_13.size()];
                String v0_10 = ((android.content.ContentValues[]) v4_13.toArray(v0_8));
                android.database.sqlite.SQLiteDatabase v1_10 = com.adobe.creativesdk.aviary.internal.cds.CdsDatabaseHelper.getInstance(p12).getWritableDatabase();
                v1_10.beginTransaction();
                try {
                    String v4_1 = com.adobe.creativesdk.aviary.internal.cds.PackInstaller.insertNewPackContentAndItems(p12, v1_10, v0_10);
                } catch (String v0_22) {
                    v1_10.endTransaction();
                    throw v0_22;
                }
                if (v4_1 > -1) {
                    android.util.Log.d("PackInstaller", new StringBuilder().append("icon result: ").append(com.adobe.creativesdk.aviary.internal.cds.PackInstaller.extractIcon(p12, v1_10, new java.io.File(p13, "icon.png"), v3_10, v4_1)).toString());
                    android.util.Log.d("PackInstaller", new StringBuilder().append("content result: ").append(com.adobe.creativesdk.aviary.internal.cds.PackInstaller.extractContent(p12, v1_10, new java.io.File(p13, "content.zip"), v3_10, v4_1, v6_3)).toString());
                    v1_10.setTransactionSuccessful();
                }
                v1_10.endTransaction();
                return;
            } else {
                throw new java.io.IOException("Pack is not valid");
            }
        } else {
            android.util.Log.w("PackInstaller", "dir does not exists");
            throw new java.io.IOException("Target directory doesn\'t exist or is invalid");
        }
    }

Method com.adobe.creativesdk.aviary.internal.cds.PackInstaller.extractContent() calling method java.io.FileInputStream.<init>()


    private static int extractContent(android.content.Context p6, android.database.sqlite.SQLiteDatabase p7, java.io.File p8, String p9, long p10, String p12)
    {
        int v0_3;
        int v1_0 = 1;
        android.util.Log.i("PackInstaller", new StringBuilder().append("extractContent: ").append(p9).append(", packId: ").append(p10).append(", packType: ").append(p12).toString());
        junit.framework.Assert.assertNotNull(p8);
        junit.framework.Assert.assertNotNull(p9);
        junit.framework.Assert.assertNotNull(p6);
        junit.framework.Assert.assertNotNull(p12);
        junit.framework.Assert.assertNotNull(p7);
        junit.framework.Assert.assertTrue(p8.exists());
        if (p10 <= -1) {
            v0_3 = 0;
        } else {
            v0_3 = 1;
        }
        int v0_12;
        junit.framework.Assert.assertTrue(v0_3);
        String v3_8 = new java.io.File(new StringBuilder().append(p6.getFilesDir()).append("/").append(com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackItemsContentPath(p9)).toString());
        v3_8.mkdirs();
        if ((!v3_8.exists()) || (!v3_8.isDirectory())) {
            v0_12 = 0;
        } else {
            v0_12 = 1;
        }
        junit.framework.Assert.assertTrue("failed to create output dir", v0_12);
        v3_8.setReadable(1, 0);
        int v0_14 = new java.io.FileInputStream(p8);
        try {
            com.adobe.android.common.util.IOUtils.unzip(v0_14, v3_8);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_14);
            int v0_16 = com.adobe.creativesdk.aviary.internal.cds.PackInstaller.updateContentPath(p6, p7, p10, v3_8.getAbsolutePath());
            android.util.Log.d("PackInstaller", new StringBuilder().append("updateContentPath result: ").append(v0_16).toString());
        } catch (int v1_1) {
            com.adobe.android.common.util.IOUtils.closeSilently(v0_16);
            throw v1_1;
        }
        if (v0_16 <= 0) {
            v1_0 = 0;
        }
        junit.framework.Assert.assertTrue(v1_0);
        return v0_16;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.unpackZipFile() calling method java.io.FileInputStream.<init>()


    private java.io.File unpackZipFile(java.io.File p2, android.content.Context p3, String p4)
    {
        return this.unpackZipFile(new java.io.FileInputStream(p2), p3, p4);
    }

Method com.adobe.android.common.util.IOUtils.copyFile() calling method java.io.FileInputStream.<init>()


    public static void copyFile(java.io.File p2, java.io.File p3)
    {
        if (p2.exists()) {
            java.io.FileInputStream v0_2 = new java.io.FileInputStream(p2);
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p3);
            org.apache.commons.io.IOUtils.copy(v0_2, v1_1);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_2);
            com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
        }
        return;
    }

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


    private static java.nio.ByteBuffer a(java.io.File p10)
    {
        java.io.FileInputStream v7_1 = new java.io.FileInputStream(p10);
        try {
            Throwable v0_3 = v7_1.getChannel();
            Throwable v0_0 = v0_3.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0_3.size());
        } catch (Throwable v0_2) {
            Throwable v1_1 = 0;
            if (v7_1 != null) {
                if (v1_1 == null) {
                    v7_1.close();
                } else {
                    v7_1.close();
                }
            }
            throw v0_2;
        } catch (Throwable v0_1) {
            try {
                throw v0_1;
            } catch (Throwable v1_0) {
                v1_1 = v0_1;
                v0_2 = v1_0;
            }
        }
        if (v7_1 == null) {
            return v0_0;
        } else {
            if (0 == 0) {
                v7_1.close();
                return v0_0;
            } else {
                try {
                    v7_1.close();
                } catch (Throwable v1_2) {
                    0.addSuppressed(v1_2);
                }
                return v0_0;
            }
        }
    }

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


    public static java.nio.ByteBuffer a(android.content.Context p12, android.os.CancellationSignal p13, android.net.Uri p14)
    {
        try {
            android.os.ParcelFileDescriptor v7 = p12.getContentResolver().openFileDescriptor(p14, "r", p13);
            try {
                java.io.FileInputStream v9_0 = new java.io.FileInputStream(v7.getFileDescriptor());
                try {
                    Throwable v0_0 = v9_0.getChannel();
                    Throwable v0_1 = v0_0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0_0.size());
                } catch (Throwable v0_4) {
                    Throwable v1_2 = 0;
                    if (v9_0 != null) {
                        if (v1_2 == null) {
                            v9_0.close();
                        } else {
                            v9_0.close();
                        }
                    }
                    throw v0_4;
                } catch (Throwable v0_3) {
                    try {
                        throw v0_3;
                    } catch (Throwable v1_1) {
                        v1_2 = v0_3;
                        v0_4 = v1_1;
                    }
                }
                if (v9_0 != null) {
                    if (0 == 0) {
                        v9_0.close();
                    } else {
                        try {
                            v9_0.close();
                        } catch (Throwable v1_4) {
                            0.addSuppressed(v1_4);
                        }
                    }
                }
                if (v7 == null) {
                    return v0_1;
                } else {
                    if (0 == 0) {
                        v7.close();
                        return v0_1;
                    } else {
                        try {
                            v7.close();
                        } catch (Throwable v1_7) {
                            0.addSuppressed(v1_7);
                        }
                        return v0_1;
                    }
                }
            } catch (Throwable v0_6) {
                Throwable v1_6 = 0;
                if (v7 != null) {
                    if (v1_6 == null) {
                        v7.close();
                    } else {
                        try {
                            v7.close();
                        } catch (Throwable v2_2) {
                            v1_6.addSuppressed(v2_2);
                        }
                    }
                }
                throw v0_6;
            } catch (Throwable v0_5) {
                try {
                    throw v0_5;
                } catch (Throwable v1_5) {
                    v1_6 = v0_5;
                    v0_6 = v1_5;
                }
            }
        } catch (Throwable v0) {
            v0_1 = 0;
            return v0_1;
        }
    }

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


    public android.graphics.Typeface a(android.content.Context p8, android.os.CancellationSignal p9, android.support.v4.d.b$b[] p10, int p11)
    {
        Throwable v0 = 0;
        if (p10.length >= 1) {
            try {
                Throwable v3_1 = p8.getContentResolver().openFileDescriptor(this.a(p10, p11).a(), "r", p9);
                try {
                    Throwable v1_1 = this.a(v3_1);
                } catch (Throwable v1_8) {
                    Throwable v2_4 = 0;
                    if (v3_1 != null) {
                        if (v2_4 == null) {
                            v3_1.close();
                        } else {
                            v3_1.close();
                        }
                    }
                    throw v1_8;
                } catch (Throwable v1_7) {
                    try {
                        throw v1_7;
                    } catch (Throwable v2_3) {
                        v2_4 = v1_7;
                        v1_8 = v2_3;
                    }
                }
                if ((v1_1 != null) && (v1_1.canRead())) {
                    Throwable v1_2 = android.graphics.Typeface.createFromFile(v1_1);
                    if (v3_1 != null) {
                        if (0 == 0) {
                            v3_1.close();
                        } else {
                            try {
                                v3_1.close();
                            } catch (Throwable v3_2) {
                                0.addSuppressed(v3_2);
                            }
                        }
                    }
                    v0 = v1_2;
                } else {
                    Throwable v4_2 = new java.io.FileInputStream(v3_1.getFileDescriptor());
                    try {
                        Throwable v1_4 = super.a(p8, v4_2);
                    } catch (Throwable v1_5) {
                        Throwable v2_2 = 0;
                        if (v4_2 != null) {
                            if (v2_2 == null) {
                                v4_2.close();
                            } else {
                                v4_2.close();
                            }
                        }
                        throw v1_5;
                    } catch (Throwable v2_2) {
                        try {
                            throw v2_2;
                        } catch (Throwable v1_5) {
                        }
                    }
                    if (v4_2 != null) {
                        if (0 == 0) {
                            v4_2.close();
                        } else {
                            try {
                                v4_2.close();
                            } catch (Throwable v4_4) {
                                0.addSuppressed(v4_4);
                            }
                        }
                    }
                    if (v3_1 != null) {
                        if (0 == 0) {
                            v3_1.close();
                        } else {
                            try {
                                v3_1.close();
                            } catch (Throwable v3_4) {
                                0.addSuppressed(v3_4);
                            }
                        }
                    }
                    v0 = v1_4;
                }
            } catch (Throwable v1) {
            }
        }
        return v0;
    }

Method com.localytics.android.DatapointHelper.getAndroidIdOrNull() calling method java.io.FileReader.<init>()


    static String getAndroidIdOrNull(android.content.Context p6)
    {
        java.io.IOException v0_6;
        java.io.IOException v0_1 = new java.io.File(new StringBuilder().append(p6.getFilesDir()).append("/localytics/device_id").toString());
        if ((!v0_1.exists()) || (v0_1.length() <= 0)) {
            v0_6 = android.provider.Settings$Secure.getString(p6.getContentResolver(), "android_id");
            if ((v0_6 == null) || (v0_6.toLowerCase().equals("9774d56d682e549c"))) {
                v0_6 = 0;
            }
        } else {
            try {
                String v3_0 = new char[100];
                String v2_8 = new java.io.BufferedReader(new java.io.FileReader(v0_1), 128);
                try {
                    v0_6 = String.copyValueOf(v3_0, 0, v2_8.read(v3_0));
                    v2_8.close();
                } catch (java.io.IOException v0_3) {
                    com.localytics.android.Localytics$Log.w("Caught exception", v0_3);
                    if (v2_8 == null) {
                    } else {
                        v2_8.close();
                    }
                }
                if (v2_8 != null) {
                    v2_8.close();
                }
            } catch (java.io.IOException v0_4) {
                v2_8 = 0;
                if (v2_8 != null) {
                    v2_8.close();
                }
                throw v0_4;
            } catch (java.io.IOException v0_3) {
                v2_8 = 0;
            } catch (java.io.IOException v0_4) {
            } catch (java.io.IOException v0_7) {
                com.localytics.android.Localytics$Log.w("Caught exception", v0_7);
            }
        }
        return v0_6;
    }

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


    private static String zzhc(int p5)
    {
        Throwable v0_0 = 0;
        try {
            String v2_1 = new java.io.BufferedReader(new java.io.FileReader(new StringBuilder(25).append("/proc/").append(p5).append("/cmdline").toString()));
            try {
                v0_0 = v2_1.readLine().trim();
            } catch (Exception v1_1) {
                android.util.Log.e("ProcessUtils", v1_1.getMessage(), v1_1);
                if (v2_1 == null) {
                    return v0_0;
                } else {
                    try {
                        v2_1.close();
                    } catch (Exception v1_5) {
                        android.util.Log.w("ProcessUtils", v1_5.getMessage(), v1_5);
                    }
                    return v0_0;
                }
            }
            if (v2_1 == null) {
                return v0_0;
            } else {
                try {
                    v2_1.close();
                } catch (Exception v1_7) {
                    android.util.Log.w("ProcessUtils", v1_7.getMessage(), v1_7);
                }
                return v0_0;
            }
        } catch (Exception v1_3) {
            v2_1 = 0;
            Throwable v0_1 = v1_3;
            if (v2_1 != null) {
                try {
                    v2_1.close();
                } catch (Exception v1_6) {
                    android.util.Log.w("ProcessUtils", v1_6.getMessage(), v1_6);
                }
            }
            throw v0_1;
        } catch (Exception v1_1) {
            v2_1 = 0;
        } catch (Throwable v0_1) {
        }
    }

Method com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.readFromFile() calling method java.io.FileReader.<init>()


    public static String readFromFile()
    {
        java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.logFile));
        try {
            StringBuilder v2_2 = new StringBuilder();
            String v0_5 = v1_1.readLine();
        } catch (String v0_6) {
            v1_1.close();
            throw v0_6;
        }
        while (v0_5 != null) {
            v2_2.append(new StringBuilder().append(v0_5).append(10).toString());
            v0_5 = v1_1.readLine();
        }
        String v0_1 = v2_2.toString();
        v1_1.close();
        return v0_1;
    }

Method com.adobe.creativesdk.aviary.internal.utils.SystemUtils.readValues() calling method java.io.FileReader.<init>()


    private static void readValues(java.util.HashMap p4, String p5)
    {
        int v2 = 0;
        try {
            android.util.Log.i("SystemUtils", new StringBuilder().append("readValues: ").append(p5).toString());
            int v1_2 = new java.io.BufferedReader(new java.io.FileReader(new java.io.File(p5)));
            try {
                while(true) {
                    java.io.IOException v0_5 = v1_2.readLine();
                    com.adobe.creativesdk.aviary.internal.utils.SystemUtils.parseLine(v0_5, p4);
                }
                com.adobe.android.common.util.IOUtils.closeSilently(v1_2);
                return;
            } catch (java.io.IOException v0_3) {
                v0_3.printStackTrace();
                com.adobe.android.common.util.IOUtils.closeSilently(v1_2);
                return;
            }
            if (v0_5 != null) {
            }
        } catch (java.io.IOException v0_4) {
            com.adobe.android.common.util.IOUtils.closeSilently(v2);
            throw v0_4;
        } catch (java.io.IOException v0_3) {
            v1_2 = 0;
        } catch (java.io.IOException v0_4) {
            v2 = v1_2;
        }
    }

Method ru.yandex.searchlib.util.r.a() calling method java.io.File.<init>()


    public static java.io.File a(android.content.Context p5, String p6)
    {
        try {
            java.io.File v0_0 = p5.getClass();
            String v2_8 = new Class[1];
            v2_8[0] = String;
            java.io.File v0_5 = v0_0.getMethod("getSharedPrefsFile", v2_8);
            java.io.File v1_1 = new Object[1];
            v1_1[0] = p6;
            java.io.File v0_2 = ((java.io.File) v0_5.invoke(p5, v1_1));
        } catch (java.io.File v0_3) {
            ru.yandex.searchlib.y.a(v0_3);
            v0_2 = new java.io.File(p5.getFilesDir(), new StringBuilder().append("../shared_prefs/").append(p6).append(".xml").toString());
        }
        return v0_2;
    }

Method ru.yandex.searchlib.util.ab.b() calling method java.io.File.<init>()


    private static String b()
    {
        String v0_0 = 0;
        try {
            java.io.IOException v2_2 = new java.io.File(new StringBuilder().append("/proc/").append(android.os.Process.myPid()).append("/cmdline").toString());
        } catch (java.io.BufferedReader v1_7) {
            java.io.BufferedReader v1_6 = 0;
            String v0_1 = v1_7;
            ru.yandex.searchlib.util.ab.a(v1_6);
            throw v0_1;
        } catch (java.io.BufferedReader v1) {
            v1_6 = 0;
            ru.yandex.searchlib.util.ab.a(v1_6);
            return v0_0;
        }
        if (v2_2.exists()) {
            v1_6 = new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(v2_2), "UTF-8"));
            try {
                java.io.IOException v2_5 = v1_6.readLine();
            } catch (String v0_1) {
            } catch (java.io.IOException v2) {
            }
            if (v2_5 == null) {
                ru.yandex.searchlib.util.ab.a(v1_6);
                return v0_0;
            } else {
                v0_0 = v2_5.trim();
                ru.yandex.searchlib.util.ab.a(v1_6);
                return v0_0;
            }
        } else {
            ru.yandex.searchlib.util.ab.a(0);
            return v0_0;
        }
    }

Method ru.yandex.searchlib.network.BlobLoader.a() calling method java.io.File.<init>()


    private static java.io.File a(android.content.Context p3, android.net.Uri p4)
    {
        return new java.io.File(ark>ru.yandex.searchlib.network.BlobLoaderark>.a(p3), ru.yandex.searchlib.util.l.a(p4.toString()));
    }

Method ru.yandex.searchlib.network.BlobLoader.a() calling method java.io.File.<init>()


    private static java.io.File a(android.content.Context p3)
    {
        java.io.File v0_1 = new java.io.File(p3.getCacheDir(), "imageCache");
        if (!v0_1.exists()) {
            v0_1.mkdirs();
        }
        return v0_1;
    }

Method ru.yandex.searchlib.a.a.a() calling method java.io.File.<init>()


    public void a(String p7, Object p8, ru.yandex.searchlib.json.f p9)
    {
        String v0_0 = this.c(p7);
        java.io.IOException v1_0 = 0;
        try {
            if ((this.a.exists()) || (this.a.mkdirs())) {
                StringBuilder v3_1 = new java.io.File(new StringBuilder().append(v0_0.getAbsolutePath()).append(".tmp").toString());
                java.io.IOException v2_6 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_1));
                p9.a(p8, v2_6);
                if (v3_1.renameTo(v0_0)) {
                    ru.yandex.searchlib.util.ab.a(v2_6);
                    return;
                } else {
                    throw new java.io.IOException(new StringBuilder().append("Couldn\'t rename file from:").append(v3_1).append("; to:").append(v0_0).toString());
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("Couldn\'t create dirs for ").append(v0_0).toString());
            }
        } catch (String v0_4) {
        }
        ru.yandex.searchlib.util.ab.a(v1_0);
        throw v0_4;
    }

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


    private java.io.File c(String p4)
    {
        return new java.io.File(this.a, ru.yandex.searchlib.util.l.a(p4));
    }

Method ru.yandex.searchlib.a.a.<init>() calling method java.io.File.<init>()


    public a(android.content.Context p4)
    {
        this.a = new java.io.File(p4.getCacheDir(), "searchlib-json");
        return;
    }

Method ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesController.a() calling method java.io.File.<init>()


    private void a(String p5, String p6)
    {
        ark>ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesControllerark>$BadFileNameException v0_1 = new java.io.File(new StringBuilder().append(this.d.k.m()).append("/").append(this.d.e()).append("/").append(p5).toString());
        String v1_6 = v0_1.getParentFile();
        if ((v1_6.exists()) || (v1_6.mkdirs())) {
            try {
                String v1_10 = new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_1));
                v1_10.write(p6);
                v1_10.close();
                ru.yandex.mail.ui.PutToDiskActivity.a(this.d, v0_1.getAbsolutePath());
                return;
            } catch (ark>ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesControllerark>$BadFileNameException v0_3) {
                ru.yandex.disk.Log.a("PutToDiskActivity", v0_3);
                throw new ark>ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesControllerark>$BadFileNameException(0);
            }
        } else {
            throw new ark>ru.yandex.mail.ui.PutToDiskActivity$CreateNewTextFilesControllerark>$BadFileNameException(0);
        }
    }

Method ru.yandex.mail.disk.g.a() calling method java.io.File.<init>()


    public ru.yandex.mail.disk.f a()
    {
        int v0_7;
        int v0_2;
        String v1_0 = 1;
        boolean v3_1 = new java.io.File(this.a);
        if (!this.c) {
            v0_2 = 1;
            v1_0 = 0;
            v0_7 = ru.yandex.mail.disk.e.f().a(this.a).a(this.a(v3_1)).a(this.b).b(v0_2).c(v1_0).a();
        } else {
            if ((!v3_1.canWrite()) || (!this.c(v3_1))) {
                v0_2 = 0;
            } else {
                v0_2 = 1;
            }
            if (v0_2 == 0) {
                if (ru.yandex.disk.gs.c) {
                    ru.yandex.disk.Log.b("LocalFileListLoader", new StringBuilder().append("Cannot write to ").append(v3_1.getAbsolutePath()).toString());
                }
                java.io.File v4_2 = this.b(v3_1);
                if ((this.b) || (v4_2 == null)) {
                    if ((this.d) && ((this.b) && (v4_2 != null))) {
                        this.d = 0;
                    }
                } else {
                    this.d = 1;
                    this.f.c(v4_2.getParent());
                    v0_7 = 0;
                    return v0_7;
                }
            }
            v1_0 = 0;
        }
        return v0_7;
    }

Method ru.yandex.mail.disk.g.c() calling method java.io.File.<init>()


    private boolean c(java.io.File p3)
    {
        int v0_1;
        int v0_2 = new java.io.File(p3, "ru.yandex.disk.test");
        this.d(v0_2);
        if (!v0_2.exists()) {
            v0_1 = 0;
        } else {
            if (!v0_2.delete()) {
                v0_2.deleteOnExit();
            }
            v0_1 = 1;
        }
        return v0_1;
    }

Method ru.yandex.mail.disk.g$1.accept() calling method java.io.File.<init>()


    public boolean accept(java.io.File p5, String p6)
    {
        int v0 = 0;
        boolean v2_8 = new java.io.File(p5, p6);
        if (((v2_8.isDirectory()) || (v2_8.isFile())) && ((ru.yandex.mail.disk.g.a(this.a) == null) || ((ru.yandex.mail.disk.g.a(this.a).length() < 1) || (p6.toLowerCase().contains(ru.yandex.mail.disk.g.a(this.a).toLowerCase()))))) {
            v0 = 1;
        }
        return v0;
    }

Method ru.yandex.mail.disk.FileManagerActivity2$a.a() calling method java.io.File.<init>()


    public void a(android.support.v4.content.e p7, ru.yandex.mail.disk.f p8)
    {
        if (p8 != null) {
            ru.yandex.mail.disk.FileManagerActivity2 v0_0 = p8.c();
            ru.yandex.mail.disk.FileManagerActivity2.a(this.a, new java.io.File(v0_0));
            android.os.Handler v2_7 = p8.a();
            this.a.uploadButton.setEnabled(p8.d());
            if (p8.e()) {
                android.widget.Toast.makeText(this.a, 2131428551, 1).show();
            }
            if (v2_7 != null) {
                ru.yandex.mail.disk.FileManagerActivity2 v0_2;
                ru.yandex.mail.disk.FileManagerActivity2.c(this.a).a(v2_7, ru.yandex.mail.disk.FileManagerActivity2.b(this.a));
                this.a.getSupportActionBar().a(v0_0);
                if (!p8.b()) {
                    v0_2 = 0;
                } else {
                    if (ru.yandex.mail.disk.FileManagerActivity2.d(this.a).isEmpty()) {
                        v0_2 = 0;
                    } else {
                        v0_2 = ((android.os.Parcelable) ru.yandex.mail.disk.FileManagerActivity2.d(this.a).pop());
                    }
                }
                ru.yandex.mail.disk.FileManagerActivity2.e(this.a).post(ru.yandex.mail.disk.c.a(this, v0_2));
                ru.yandex.mail.disk.FileManagerActivity2.c(this.a).notifyDataSetChanged();
                ru.yandex.mail.disk.FileManagerActivity2.a(this.a, 0);
            } else {
                if (ru.yandex.disk.gs.c) {
                    ru.yandex.disk.Log.b("FileManagerActivity2", "onLoadFinished: files null");
                }
                if (!"/storage/emulated".equals(v0_0)) {
                    android.widget.Toast.makeText(this.a, 2131428120, 0).show();
                } else {
                    if (!p8.b()) {
                        this.a.c("/storage/emulated/0");
                    } else {
                        ru.yandex.mail.disk.FileManagerActivity2.a(this.a);
                    }
                }
            }
        } else {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("FileManagerActivity2", "onLoadFinished: null");
            }
        }
        return;
    }

Method ru.yandex.disk.video.VideoPlayerPresenter.a() calling method java.io.File.<init>()


    private boolean a(ru.yandex.disk.FileItem p4)
    {
        int v0_1;
        if (p4 == null) {
            v0_1 = 0;
        } else {
            int v0_3 = new java.io.File(this.e.h(), p4.e());
            if (!v0_3.exists()) {
            } else {
                this.f.a(p4, v0_3.getAbsolutePath());
                v0_1 = 1;
            }
        }
        return v0_1;
    }

Method ru.yandex.disk.util.cl$1.b() calling method java.io.File.<init>()


    private void b(Throwable p5)
    {
        try {
            String v0_4 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "DiskMemoryDump.hprof").getAbsolutePath();
            android.os.Debug.dumpHprofData(v0_4);
        } catch (String v0_3) {
            ru.yandex.disk.Log.c("UExceptionHandlerChain", "Dump data saving was failed", v0_3);
            return;
        }
        if (!ru.yandex.disk.gs.c) {
            return;
        } else {
            ru.yandex.disk.Log.b("UExceptionHandlerChain", new StringBuilder().append("Dump data saving was finished successfully to ").append(v0_4).toString(), p5);
            return;
        }
    }

Method ru.yandex.disk.util.ak.c() calling method java.io.File.<init>()


    public static java.io.File c(java.io.File p4)
    {
        try {
            String v0_7 = java.io.File.createTempFile(p4.getName(), 0, new java.io.File(p4.getParent()));
        } catch (String v0_1) {
            ru.yandex.disk.Log.c("Files", "renameCacheToDrop", v0_1);
            return p4;
        }
        if (v0_7.delete()) {
            if (p4.renameTo(v0_7)) {
                p4 = new java.io.File(v0_7.getAbsolutePath());
                return p4;
            } else {
                ru.yandex.disk.Log.c("Files", new StringBuilder().append("renameCacheToDrop: renameTo failed: ").append(p4).append(" to ").append(v0_7).toString());
                return p4;
            }
        } else {
            ru.yandex.disk.Log.c("Files", new StringBuilder().append("renameCacheToDrop: delete failed: ").append(v0_7).toString());
            return p4;
        }
    }

Method ru.yandex.disk.util.ak.b() calling method java.io.File.<init>()


    public static void b(java.io.File p3, String p4)
    {
        new java.io.File(p3.getParent()).mkdirs();
        try {
            p3.createNewFile();
            com.google.common.io.Files.a(p4, p3, java.nio.charset.Charset.defaultCharset());
        } catch (String v0) {
            ru.yandex.disk.Log.c("Files", new StringBuilder().append("writing failed: ").append(p3.getPath()).toString());
        }
        return;
    }

Method ru.yandex.disk.util.ak.a() calling method java.io.File.<init>()


    public static void a(java.io.File p11, java.io.File p12, java.util.Set p13, ark>ru.yandex.disk.util.akark>$a p14)
    {
        String v4 = p11.getAbsolutePath();
        java.util.Iterator v5 = com.google.common.io.Files.a().d(p11).iterator();
        String v2_3 = 0;
        while (v5.hasNext()) {
            String v0_4 = ((java.io.File) v5.next());
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("Files", new StringBuilder().append("copyTo: from: ").append(v0_4).toString());
            }
            java.io.File v6_7 = new java.io.File(p12, v0_4.getAbsolutePath().replaceFirst(v4, ""));
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("Files", new StringBuilder().append("copyTo: to: ").append(v6_7).toString());
            }
            if ((p13 == null) || ((!p13.contains(v6_7)) && (!p13.contains(v0_4)))) {
                String v0_6;
                if (!v0_4.isDirectory()) {
                    String v8_1 = v0_4.length();
                    v2_3 += v8_1;
                    if (p14 != null) {
                        p14.a(v2_3);
                        if (ru.yandex.disk.gs.c) {
                            ru.yandex.disk.Log.b("Files", new StringBuilder().append("copyTo: from: ").append(v0_4).append(" length=").append(v8_1).append(" progressLength=").append(v2_3).toString());
                        }
                    }
                    com.google.common.io.Files.a(v0_4, v6_7);
                    v0_6 = v2_3;
                } else {
                    if (v6_7.exists()) {
                    } else {
                        if (v6_7.mkdir()) {
                            v0_6 = v2_3;
                        } else {
                            throw new java.io.IOException(new StringBuilder().append("Unable to create folder ").append(v6_7).toString());
                        }
                    }
                }
                v2_3 = v0_6;
            }
        }
        return;
    }

Method ru.yandex.disk.util.ak.a() calling method java.io.File.<init>()


    public static void a(java.io.File p4, java.io.File p5, String p6, java.util.Set p7, ark>ru.yandex.disk.util.akark>$a p8)
    {
        if (p4.exists()) {
            String v0_5 = new java.io.File(p5, p6);
            if (((v0_5.exists()) || (v0_5.mkdirs())) && (v0_5.isDirectory())) {
                ark>ru.yandex.disk.util.akark>.a(p4, v0_5, p7, p8);
            } else {
                throw new java.io.IOException(new StringBuilder().append("moveDir: ").append(v0_5).append(" exists = ").append(v0_5.exists()).append(" isDir").append(v0_5.isDirectory()).toString());
            }
        }
        return;
    }

Method ru.yandex.disk.util.FileSystem.a() calling method java.io.File.<init>()


    public java.io.File a(String p2)
    {
        java.io.File v0_2;
        if (!ru.yandex.disk.gs.c) {
            v0_2 = new java.io.File(p2);
        } else {
            v0_2 = new ark>ru.yandex.disk.util.FileSystemark>$LoggingFile(p2);
        }
        return v0_2;
    }

Method ru.yandex.disk.util.FileSystem.a() calling method java.io.File.<init>()


    public java.io.File a(java.io.File p2, String p3)
    {
        java.io.File v0_2;
        if (!ru.yandex.disk.gs.c) {
            v0_2 = new java.io.File(p2, p3);
        } else {
            v0_2 = new ark>ru.yandex.disk.util.FileSystemark>$LoggingFile(p2, p3);
        }
        return v0_2;
    }

Method ru.yandex.disk.util.FileSystem$LoggingFile.<init>() calling method java.io.File.<init>()


    public FileSystem$LoggingFile(String p1)
    {
        super(p1);
        return;
    }

Method ru.yandex.disk.util.FileSystem$LoggingFile.<init>() calling method java.io.File.<init>()


    public FileSystem$LoggingFile(java.io.File p1, String p2)
    {
        super(p1, p2);
        return;
    }

Method ru.yandex.disk.upload.l.f() calling method java.io.File.<init>()


    public long f()
    {
        return new java.io.File(this.e()).lastModified();
    }

Method ru.yandex.disk.upload.UploadCommand$a.<init>() calling method java.io.File.<init>()


    private UploadCommand$a(ru.yandex.disk.upload.UploadCommand p3, ru.yandex.disk.upload.k p4)
    {
        this.a = p3;
        this.e = 0;
        this.f = 0;
        this.b = p4;
        this.c = new java.io.File(p4.k());
        return;
    }

Method ru.yandex.disk.provider.at.f() calling method java.io.File.<init>()


    public long f()
    {
        return new java.io.File(this.e()).lastModified();
    }

Method ru.yandex.disk.provider.CacheContentProvider.query() calling method java.io.File.<init>()


    public android.database.Cursor query(android.net.Uri p10, String[] p11, String p12, String[] p13, String p14)
    {
        if (p11 == null) {
            p11 = ru.yandex.disk.provider.CacheContentProvider$a$a.a();
        }
        int v0_14;
        String v2_2 = this.a(p10);
        java.io.File v3_1 = new java.io.File(v2_2.getPath());
        int v0_3 = ru.yandex.disk.Storage.a(((android.content.Context) ru.yandex.disk.util.bm.a(this.getContext())));
        v0_3.a();
        if (v3_1.getAbsolutePath().startsWith(new StringBuilder().append(v0_3.h()).append("/").toString())) {
            Object[] v4_4 = new Object[p11.length];
            int v0_10 = 0;
            while (v0_10 < p11.length) {
                String v5_1 = p11[v0_10];
                if (!"_display_name".equals(v5_1)) {
                    if (!"_data".equals(v5_1)) {
                        if (!"_size".equals(v5_1)) {
                            ru.yandex.disk.Log.c("CacheContentProvider", new StringBuilder().append("unknown column in projection: ").append(v5_1).toString());
                            v4_4[v0_10] = 0;
                        } else {
                            v4_4[v0_10] = Long.valueOf(v3_1.length());
                        }
                    } else {
                        v4_4[v0_10] = v2_2.getPath();
                    }
                } else {
                    v4_4[v0_10] = v2_2.getLastPathSegment();
                }
                v0_10++;
            }
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("CacheContentProvider", new StringBuilder().append("row: ").append(java.util.Arrays.toString(v4_4)).toString());
            }
            v0_14 = new android.database.MatrixCursor(p11);
            v0_14.addRow(v4_4);
        } else {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("CacheContentProvider", "access denied");
            }
            v0_14 = 0;
        }
        return v0_14;
    }

Method ru.yandex.disk.provider.CacheContentProvider.a() calling method java.io.File.<init>()


    private android.net.Uri a(android.net.Uri p3)
    {
        if ((!new java.io.File(p3.getPath()).exists()) && (this.c(p3))) {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("CacheContentProvider", "validateUri: not found, get complete");
            }
            p3 = this.b(p3);
        }
        return p3;
    }

Method ru.yandex.disk.g.h.a() calling method java.io.File.<init>()


    public static String a(android.net.Uri p10, android.content.Context p11, String p12)
    {
        String v7_0 = 1;
        String v3_7 = 0;
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("ImportUtils", new StringBuilder().append("obtainFileNameFromGalleryUri: ").append(p10).append(", ").append(p12).toString());
        }
        int v0_15 = p11.getContentResolver();
        StringBuilder v5_6 = v0_15.query(p10, ark>ru.yandex.disk.g.hark>.a, 0, 0, 0);
        try {
            int v1_5;
            String v2_22;
            if (!v5_6.moveToFirst()) {
                v2_22 = 0;
                v1_5 = 0;
            } else {
                int v1_10;
                int v1_9 = v5_6.getString(0);
                android.graphics.Bitmap$CompressFormat v4_1 = v5_6.getString(1);
                String vtmp11 = v5_6.getString(2);
                if (v1_9 == 0) {
                    v1_10 = 1;
                } else {
                    v3_7 = v1_9;
                    v1_10 = 0;
                }
                v7_0 = v1_10;
                v1_5 = v3_7;
                v3_7 = vtmp11;
                v2_22 = v4_1;
            }
        } catch (int v0_17) {
            if (v5_6 != null) {
                v5_6.close();
            }
            throw v0_17;
        }
        if (v5_6 != null) {
            v5_6.close();
        }
        if (v7_0 != null) {
            StringBuilder v5_7 = ru.yandex.disk.Storage.a(p11);
            try {
                String v3_10;
                android.graphics.Bitmap$CompressFormat v4_2;
                android.graphics.Bitmap v6_1 = android.provider.MediaStore$Images$Media.getBitmap(v0_15, p10);
            } catch (int v0_14) {
                ru.yandex.disk.Log.c("ImportUtils", "uploadImageFromGallery", v0_14);
            }
            if ((v3_7 == null) || (!"image/png".equalsIgnoreCase(v3_7))) {
                v4_2 = android.graphics.Bitmap$CompressFormat.JPEG;
                v3_10 = ".jpg";
            } else {
                v4_2 = android.graphics.Bitmap$CompressFormat.PNG;
                v3_10 = ".png";
            }
            int v0_0;
            if (v2_22 == null) {
                v0_0 = new StringBuilder().append("photo-").append(System.currentTimeMillis()).append(v3_10).toString();
            } else {
                if (!v2_22.endsWith(v3_10)) {
                    v0_0 = new StringBuilder().append(v2_22).append(v3_10).toString();
                } else {
                    v0_0 = v2_22;
                }
            }
            String v7_2 = new java.io.File(new StringBuilder().append(v5_7.m()).append(p12).toString());
            if (!v7_2.exists()) {
                v7_2.mkdirs();
            }
            String v2_7 = new java.io.File(v7_2, v0_0);
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("ImportUtils", new StringBuilder().append("createNewFile: ").append(v2_7.getAbsolutePath()).toString());
            }
            int v0_3 = v2_7.createNewFile();
            if (v0_3 == 0) {
                v2_7 = new java.io.File(new StringBuilder().append(v5_7.m()).append(p12).toString(), new StringBuilder().append("photo-").append(System.currentTimeMillis()).append(v3_10).toString());
                v0_3 = v2_7.createNewFile();
            }
            if (v0_3 == 0) {
                ru.yandex.disk.Log.c("ImportUtils", new StringBuilder().append("Error creating file ").append(v1_5).toString());
            } else {
                int v0_13;
                int v0_11 = new java.io.FileOutputStream(v2_7, 0);
                if (!v6_1.compress(v4_2, 100, v0_11)) {
                    ru.yandex.disk.Log.c("ImportUtils", new StringBuilder().append("Error saving bitmap to ").append(v1_5).toString());
                    v0_13 = v1_5;
                } else {
                    v0_11.close();
                    v0_13 = v2_7.getAbsolutePath();
                }
                v1_5 = v0_13;
            }
            v6_1.recycle();
        }
        return v1_5;
    }

Method ru.yandex.disk.g.h.a() calling method java.io.File.<init>()


    public static String a(android.net.Uri p10, android.content.Context p11, String p12)
    {
        String v7_0 = 1;
        String v3_7 = 0;
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("ImportUtils", new StringBuilder().append("obtainFileNameFromGalleryUri: ").append(p10).append(", ").append(p12).toString());
        }
        int v0_15 = p11.getContentResolver();
        StringBuilder v5_6 = v0_15.query(p10, ark>ru.yandex.disk.g.hark>.a, 0, 0, 0);
        try {
            String v2_22;
            int v1_5;
            if (!v5_6.moveToFirst()) {
                v2_22 = 0;
                v1_5 = 0;
            } else {
                int v1_10;
                int v1_9 = v5_6.getString(0);
                android.graphics.Bitmap$CompressFormat v4_1 = v5_6.getString(1);
                String vtmp11 = v5_6.getString(2);
                if (v1_9 == 0) {
                    v1_10 = 1;
                } else {
                    v3_7 = v1_9;
                    v1_10 = 0;
                }
                v7_0 = v1_10;
                v1_5 = v3_7;
                v3_7 = vtmp11;
                v2_22 = v4_1;
            }
        } catch (int v0_17) {
            if (v5_6 != null) {
                v5_6.close();
            }
            throw v0_17;
        }
        if (v5_6 != null) {
            v5_6.close();
        }
        if (v7_0 != null) {
            StringBuilder v5_7 = ru.yandex.disk.Storage.a(p11);
            try {
                android.graphics.Bitmap$CompressFormat v4_2;
                String v3_10;
                android.graphics.Bitmap v6_1 = android.provider.MediaStore$Images$Media.getBitmap(v0_15, p10);
            } catch (int v0_14) {
                ru.yandex.disk.Log.c("ImportUtils", "uploadImageFromGallery", v0_14);
            }
            if ((v3_7 == null) || (!"image/png".equalsIgnoreCase(v3_7))) {
                v4_2 = android.graphics.Bitmap$CompressFormat.JPEG;
                v3_10 = ".jpg";
            } else {
                v4_2 = android.graphics.Bitmap$CompressFormat.PNG;
                v3_10 = ".png";
            }
            int v0_0;
            if (v2_22 == null) {
                v0_0 = new StringBuilder().append("photo-").append(System.currentTimeMillis()).append(v3_10).toString();
            } else {
                if (!v2_22.endsWith(v3_10)) {
                    v0_0 = new StringBuilder().append(v2_22).append(v3_10).toString();
                } else {
                    v0_0 = v2_22;
                }
            }
            String v7_2 = new java.io.File(new StringBuilder().append(v5_7.m()).append(p12).toString());
            if (!v7_2.exists()) {
                v7_2.mkdirs();
            }
            String v2_7 = new java.io.File(v7_2, v0_0);
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("ImportUtils", new StringBuilder().append("createNewFile: ").append(v2_7.getAbsolutePath()).toString());
            }
            int v0_3 = v2_7.createNewFile();
            if (v0_3 == 0) {
                v2_7 = new java.io.File(new StringBuilder().append(v5_7.m()).append(p12).toString(), new StringBuilder().append("photo-").append(System.currentTimeMillis()).append(v3_10).toString());
                v0_3 = v2_7.createNewFile();
            }
            if (v0_3 == 0) {
                ru.yandex.disk.Log.c("ImportUtils", new StringBuilder().append("Error creating file ").append(v1_5).toString());
            } else {
                int v0_13;
                int v0_11 = new java.io.FileOutputStream(v2_7, 0);
                if (!v6_1.compress(v4_2, 100, v0_11)) {
                    ru.yandex.disk.Log.c("ImportUtils", new StringBuilder().append("Error saving bitmap to ").append(v1_5).toString());
                    v0_13 = v1_5;
                } else {
                    v0_11.close();
                    v0_13 = v2_7.getAbsolutePath();
                }
                v1_5 = v0_13;
            }
            v6_1.recycle();
        }
        return v1_5;
    }

Method ru.yandex.disk.g.h.a() calling method java.io.File.<init>()


    public static String a(android.net.Uri p10, android.content.Context p11, String p12)
    {
        String v7_0 = 1;
        String v3_7 = 0;
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("ImportUtils", new StringBuilder().append("obtainFileNameFromGalleryUri: ").append(p10).append(", ").append(p12).toString());
        }
        int v0_15 = p11.getContentResolver();
        StringBuilder v5_6 = v0_15.query(p10, ark>ru.yandex.disk.g.hark>.a, 0, 0, 0);
        try {
            int v1_5;
            String v2_22;
            if (!v5_6.moveToFirst()) {
                v2_22 = 0;
                v1_5 = 0;
            } else {
                int v1_10;
                int v1_9 = v5_6.getString(0);
                android.graphics.Bitmap$CompressFormat v4_1 = v5_6.getString(1);
                String vtmp11 = v5_6.getString(2);
                if (v1_9 == 0) {
                    v1_10 = 1;
                } else {
                    v3_7 = v1_9;
                    v1_10 = 0;
                }
                v7_0 = v1_10;
                v1_5 = v3_7;
                v3_7 = vtmp11;
                v2_22 = v4_1;
            }
        } catch (int v0_17) {
            if (v5_6 != null) {
                v5_6.close();
            }
            throw v0_17;
        }
        if (v5_6 != null) {
            v5_6.close();
        }
        if (v7_0 != null) {
            StringBuilder v5_7 = ru.yandex.disk.Storage.a(p11);
            try {
                android.graphics.Bitmap$CompressFormat v4_2;
                String v3_10;
                android.graphics.Bitmap v6_1 = android.provider.MediaStore$Images$Media.getBitmap(v0_15, p10);
            } catch (int v0_14) {
                ru.yandex.disk.Log.c("ImportUtils", "uploadImageFromGallery", v0_14);
            }
            if ((v3_7 == null) || (!"image/png".equalsIgnoreCase(v3_7))) {
                v4_2 = android.graphics.Bitmap$CompressFormat.JPEG;
                v3_10 = ".jpg";
            } else {
                v4_2 = android.graphics.Bitmap$CompressFormat.PNG;
                v3_10 = ".png";
            }
            int v0_0;
            if (v2_22 == null) {
                v0_0 = new StringBuilder().append("photo-").append(System.currentTimeMillis()).append(v3_10).toString();
            } else {
                if (!v2_22.endsWith(v3_10)) {
                    v0_0 = new StringBuilder().append(v2_22).append(v3_10).toString();
                } else {
                    v0_0 = v2_22;
                }
            }
            String v7_2 = new java.io.File(new StringBuilder().append(v5_7.m()).append(p12).toString());
            if (!v7_2.exists()) {
                v7_2.mkdirs();
            }
            String v2_7 = new java.io.File(v7_2, v0_0);
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("ImportUtils", new StringBuilder().append("createNewFile: ").append(v2_7.getAbsolutePath()).toString());
            }
            int v0_3 = v2_7.createNewFile();
            if (v0_3 == 0) {
                v2_7 = new java.io.File(new StringBuilder().append(v5_7.m()).append(p12).toString(), new StringBuilder().append("photo-").append(System.currentTimeMillis()).append(v3_10).toString());
                v0_3 = v2_7.createNewFile();
            }
            if (v0_3 == 0) {
                ru.yandex.disk.Log.c("ImportUtils", new StringBuilder().append("Error creating file ").append(v1_5).toString());
            } else {
                int v0_13;
                int v0_11 = new java.io.FileOutputStream(v2_7, 0);
                if (!v6_1.compress(v4_2, 100, v0_11)) {
                    ru.yandex.disk.Log.c("ImportUtils", new StringBuilder().append("Error saving bitmap to ").append(v1_5).toString());
                    v0_13 = v1_5;
                } else {
                    v0_11.close();
                    v0_13 = v2_7.getAbsolutePath();
                }
                v1_5 = v0_13;
            }
            v6_1.recycle();
        }
        return v1_5;
    }

Method ru.yandex.disk.export.ExportedFileInfo.<init>() calling method java.io.File.<init>()


    protected ExportedFileInfo(android.os.Parcel p7)
    {
        byte v0_3;
        int v1 = 1;
        this.a = ((ru.yandex.disk.FileItem) p7.readValue(ru.yandex.disk.FileItem.getClassLoader()));
        this.b = new java.io.File(p7.readString());
        if (p7.readByte() == 0) {
            v0_3 = 0;
        } else {
            v0_3 = 1;
        }
        byte v0_5;
        this.c = v0_3;
        this.d = p7.readLong();
        if (p7.readByte() == 0) {
            v0_5 = 0;
        } else {
            v0_5 = 1;
        }
        this.e = v0_5;
        if (p7.readByte() == 0) {
            v1 = 0;
        }
        this.f = v1;
        return;
    }

Method ru.yandex.disk.download.t.a() calling method java.io.File.<init>()


    private String a(com.yandex.b.a p4)
    {
        String v0 = 0;
        if ((p4 != null) && (new java.io.File(p4.d()).exists())) {
            v0 = p4.d();
        }
        return v0;
    }

Method ru.yandex.disk.download.t$1.a() calling method java.io.File.<init>()


    public long a()
    {
        long v0_1;
        if (ru.yandex.disk.download.t.a(this.b) == null) {
            v0_1 = -1;
        } else {
            v0_1 = new java.io.File(ru.yandex.disk.download.t.a(this.b)).length();
        }
        return v0_1;
    }

Method ru.yandex.disk.download.r.a() calling method java.io.File.<init>()


    private void a(int p17, boolean p18)
    {
        long v4_3 = this.d.a();
        if (v4_3 != 0) {
            if (!ru.yandex.disk.download.o.a(v4_3, this.e)) {
                com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_6 = this.d.j().iterator();
                while (v3_6.hasNext()) {
                    ru.yandex.disk.ProgressValues v2_16 = ((ru.yandex.disk.download.DownloadQueueItem) v3_6.next());
                    String v5_20 = v2_16.e();
                    if ((v5_20 != null) && (this.a(v4_3, v2_16))) {
                        v4_3.a(v5_20);
                        this.d.d(v4_3);
                    }
                    if (ark>ru.yandex.disk.download.rark>.e(v4_3)) {
                        this.a(v5_20);
                        this.d.a(v2_16);
                    }
                }
                if (v4_3.e() == null) {
                    this.c(v4_3);
                }
                long v10_1;
                this.a.a(v4_3.f());
                this.m.a();
                String v12 = this.a(v4_3);
                com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_49 = v4_3.a().c();
                if (v4_3.b() == null) {
                    v10_1 = 0;
                } else {
                    v10_1 = 1;
                }
                String v9_1;
                if (v10_1 == 0) {
                    v9_1 = new StringBuilder().append(this.g.m()).append(v12).toString();
                } else {
                    v9_1 = new StringBuilder().append(v4_3.b()).append("/").append(v3_49).toString();
                }
                java.io.File v11_1 = new java.io.File(v9_1);
                java.io.File v13 = v11_1.getParentFile();
                v13.mkdirs();
                this.g.b(v13);
                String v5_24 = this.d.b(v4_3.f());
                byte[] v6_20 = this.d.c(v4_3.d());
                ru.yandex.disk.ProgressValues v2_1 = new ru.yandex.disk.download.o(this.d, v4_3, v5_24, v6_20, this.a, this.e);
                try {
                    if (this.a.f() != null) {
                        if ((p18) && (v4_3.c() == ru.yandex.disk.download.DownloadQueueItem$Type.SYNC)) {
                            v2_1.a(this.l);
                        }
                        com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_5 = this.a(v4_3, v9_1, v2_1, this.a(v12));
                        if (v3_5 != null) {
                            if ((!v3_5.a()) && (v10_1 != 0)) {
                                if (ru.yandex.disk.gs.c) {
                                    ru.yandex.disk.Log.b("DownloadQueueProcessor", "File etag was checked but file is located in cache directory. Copy it.");
                                }
                                String v5_5 = new java.io.File(new StringBuilder().append(this.g.m()).append(v12).toString());
                                byte[] v6_7 = v5_5.length();
                                if (v5_5.length() <= this.g.a(v13, v6_7)) {
                                    byte[] v6_9 = new byte[ru.yandex.disk.download.d.a(v6_7)];
                                    new ru.yandex.disk.download.d(v5_5, v11_1, v6_9, v2_1).a();
                                } else {
                                    throw new com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException(v13.getPath(), v6_7);
                                }
                            }
                            this.g.b(v11_1);
                            if (v10_1 != 0) {
                                this.a(v11_1);
                            } else {
                                this.a(v12, com.yandex.disk.client.Hash.b(v11_1), v3_5.b(), v11_1.length());
                            }
                            this.b(v4_3);
                            this.a.a(v4_3);
                            this.a().d.a(v4_3.d(), v2_1.a());
                            return;
                        } else {
                            if (ru.yandex.disk.gs.c) {
                                ru.yandex.disk.Log.b("DownloadQueueProcessor", "Failed to create download helper. Looks like User not logged in, finished.");
                            }
                            this.m.b();
                            this.d.a(v4_3.d(), v2_1.a());
                            return;
                        }
                    } else {
                        v2_1.a(v6_20.c(), v6_20.b());
                    }
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_45) {
                    this.d.a(v4_3.d(), v2_1.a());
                    throw v3_45;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3) {
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.b("DownloadQueueProcessor", "run: CancelledDownloadException");
                    }
                    this.a(v4_3.e());
                    this.a.a();
                    this.a().d.a(v4_3.d(), v2_1.a());
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_38) {
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.a("DownloadQueueProcessor", v3_38);
                    }
                    this.a(v4_3, p17, v2_1.a(), v3_38);
                    this.d.a(v4_3.d(), v2_1.a());
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_36) {
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.a("DownloadQueueProcessor", v3_36);
                    }
                    if (v2_1.b()) {
                        p17 = Math.max(p17, 1);
                    }
                    this.a(v4_3, p17, v2_1.a(), v3_36);
                    this.d.a(v4_3.d(), v2_1.a());
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_23) {
                    String v5_9 = v3_23;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_22) {
                    v5_9 = v3_22;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_21) {
                    v5_9 = v3_21;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_20) {
                    v5_9 = v3_20;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_19) {
                    v5_9 = v3_19;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_18) {
                    v5_9 = v3_18;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_17) {
                    v5_9 = v3_17;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_16) {
                    v5_9 = v3_16;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_15) {
                    v5_9 = v3_15;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_14) {
                    v5_9 = v3_14;
                } catch (com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException v3_13) {
                    v5_9 = v3_13;
                }
                if (ru.yandex.disk.gs.c) {
                    ru.yandex.disk.Log.a("DownloadQueueProcessor", v5_9);
                }
                if (!(v5_9 instanceof com.yandex.disk.client.exceptions.DownloadNoSpaceAvailableException)) {
                    if (!(v5_9 instanceof ru.yandex.disk.download.StorageNameException)) {
                        if (!(v5_9 instanceof com.yandex.disk.client.exceptions.RemoteFileNotFoundException)) {
                            this.a.a(0);
                        } else {
                            this.b(v4_3);
                            this.a.g();
                        }
                    } else {
                        this.a.a(((ru.yandex.disk.download.StorageNameException) v5_9));
                    }
                } else {
                    this.a.b();
                }
                this.d(v4_3);
                this.a(v4_3.e());
                this.m.b();
                this.a(v5_9);
                this.d.a(v4_3.d(), v2_1.a());
            } else {
                if (ru.yandex.disk.gs.c) {
                    ru.yandex.disk.Log.b("DownloadQueueProcessor", "offline download switched off");
                }
                this.m.b();
            }
        } else {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("DownloadQueueProcessor", "No items in download queue, finished.");
            }
            if (this.a.f() != null) {
                this.a.a(-1);
                this.a.a();
                this.a.h();
            }
            this.m.b();
        }
        return;
    }

Method ru.yandex.disk.download.r.a() calling method java.io.File.<init>()


    private String a(String p5)
    {
        String v0_5;
        boolean v2_1 = new java.io.File(new StringBuilder().append(this.g.m()).append(p5).toString());
        String v0_3 = this.c.m(new com.yandex.b.a(p5));
        if (v0_3 == null) {
            v0_5 = ark>ru.yandex.disk.download.rark>.b(v2_1);
        } else {
            v0_5 = ((String) v0_3.o().d());
            if (v0_5 != null) {
                if (!v2_1.exists()) {
                    this.a(p5, 0);
                    v0_5 = 0;
                }
            } else {
                String v1_1 = ark>ru.yandex.disk.download.rark>.b(v2_1);
                if (v1_1 != null) {
                    this.a(p5, v1_1);
                    v0_5 = v1_1;
                }
            }
        }
        return v0_5;
    }

Method ru.yandex.disk.commonactions.en.I() calling method java.io.File.<init>()


    private boolean I()
    {
        int v0_3;
        int v0_1 = new java.io.File(ru.yandex.disk.Storage.a(this.r()).h(), this.d.e());
        if ((this.d.n() == ru.yandex.disk.FileItem$OfflineMark.NOT_MARKED) || (!v0_1.exists())) {
            v0_3 = 0;
        } else {
            v0_3 = 1;
        }
        return v0_3;
    }

Method ru.yandex.disk.commonactions.co.a() calling method java.io.File.<init>()


    static synthetic ru.yandex.disk.export.ExportedFileInfo a(String p7, ru.yandex.disk.FileItem p8)
    {
        return new ru.yandex.disk.export.ExportedFileInfo(p8, new java.io.File(new StringBuilder().append(p7).append(p8.e()).toString()), p8.r(), 1);
    }

Method ru.yandex.disk.campaign.photounlim.b.b.<init>() calling method java.io.File.<init>()


    public b(android.content.Context p4)
    {
        this.b = new java.util.ArrayList();
        java.io.File v1_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "api_interceptor.cfg");
        if (v1_1.exists()) {
            this.a(v1_1);
        }
        return;
    }

Method ru.yandex.disk.asyncbitmap.k.b() calling method java.io.File.<init>()


    private static int b(String p4)
    {
        int v0 = 0;
        try {
            switch (new android.media.ExifInterface(new java.io.File(p4).getAbsolutePath()).getAttributeInt("Orientation", 1)) {
                case 3:
                    v0 = 180;
                case 4:
                case 5:
                case 7:
                default:
                    break;
                case 4:
                case 5:
                case 7:
                    break;
                case 6:
                    v0 = 90;
                case 4:
                case 5:
                case 7:
                    break;
                case 8:
                    v0 = 270;
                    break;
            }
        } catch (java.io.IOException v1) {
        }
        return v0;
    }

Method ru.yandex.disk.asyncbitmap.aq.a() calling method java.io.File.<init>()


    protected java.io.InputStream a(ru.yandex.disk.asyncbitmap.BitmapRequest p5)
    {
        java.io.InputStream v0_6;
        if (!p5.g()) {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.b("RemoteBitmapLoader", new StringBuilder().append("loadBitmap: ").append(p5).toString());
            }
            String v1_5 = p5.b();
            if (p5.e()) {
                java.io.InputStream v0_5 = new java.io.File(this.f.h(), v1_5);
                if (v0_5.exists()) {
                    v0_6 = this.a(v0_5, v1_5, this.i());
                    return v0_6;
                }
            }
            v0_6 = 0;
            if (!p5.d()) {
                if (ru.yandex.disk.gs.c) {
                    ru.yandex.disk.Log.b("RemoteBitmapLoader", "loading from server blocked");
                }
            } else {
                java.io.InputStream v0_7 = p5.k();
                if (v0_7 != null) {
                    v0_7.h();
                }
                v0_6 = this.a(v1_5, this.a(this.h()), p5.i());
            }
        } else {
            v0_6 = this.d.a(p5.h());
            if (v0_6 == null) {
            } else {
                if (ru.yandex.disk.gs.c) {
                    ru.yandex.disk.Log.b("RemoteBitmapLoader", new StringBuilder().append("loaded from Golden cache: ").append(p5).toString());
                }
            }
        }
        return v0_6;
    }

Method ru.yandex.disk.asyncbitmap.ad.a() calling method java.io.File.<init>()


    protected java.io.InputStream a(ru.yandex.disk.asyncbitmap.BitmapRequest p5)
    {
        java.io.InputStream v1_3;
        java.io.InputStream v0 = 0;
        ru.yandex.disk.Log.b("LocalFileThumbLoader", new StringBuilder().append("loadBitmap: ").append(p5).toString());
        String v2_1 = p5.c();
        if (v2_1 == null) {
            v1_3 = 0;
        } else {
            java.io.InputStream v1_1 = -1;
            switch (v2_1.hashCode()) {
                case 100313435:
                    if (!v2_1.equals("image")) {
                    } else {
                        v1_1 = 0;
                    }
                    break;
                case 112202875:
                    if (!v2_1.equals("video")) {
                    } else {
                        v1_1 = 1;
                    }
                    break;
            }
            switch (v1_1) {
                case 0:
                    try {
                        v1_3 = this.a(new java.io.File(p5.b()));
                    } catch (java.io.InputStream v1_6) {
                        ru.yandex.disk.Log.a("LocalFileThumbLoader", v1_6);
                        v1_3 = 0;
                    }
                    break;
                case 1:
                    v1_3 = this.a(p5.b());
                    break;
                default:
            }
        }
        if (v1_3 != null) {
            v0 = this.a(v1_3);
        }
        return v0;
    }

Method ru.yandex.disk.DiskItemFactory$DiskItemImpl.<init>() calling method java.io.File.<init>()


    DiskItemFactory$DiskItemImpl(String p2)
    {
        this(p2, new java.io.File(p2).getName());
        return;
    }

Method org.apache.commons.io.filefilter.AbstractFileFilter.accept() calling method java.io.File.<init>()


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

Method org.apache.commons.io.FileUtils.isSymlink() calling method java.io.File.<init>()


    public static boolean isSymlink(java.io.File p4)
    {
        if (p4 != null) {
            int v0_4;
            if (!org.apache.commons.io.FilenameUtils.isSystemWindows()) {
                if (p4.getParent() != null) {
                    p4 = new java.io.File(p4.getParentFile().getCanonicalFile(), p4.getName());
                }
                if (!p4.getCanonicalFile().equals(p4.getAbsoluteFile())) {
                    v0_4 = 1;
                } else {
                    v0_4 = 0;
                }
            } else {
                v0_4 = 0;
            }
            return v0_4;
        } else {
            throw new NullPointerException("File must not be null");
        }
    }

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


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

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


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

Method it.sephiroth.android.library.picasso.Utils.createDefaultCacheDir() calling method java.io.File.<init>()


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

Method it.sephiroth.android.library.disklrumulticache.DiskLruMultiCache.getCacheDir() calling method java.io.File.<init>()


    public static java.io.File getCacheDir(android.content.Context p4, String p5)
    {
        if (it.sephiroth.android.library.disklrumulticache.DiskLruMultiCache.DEBUG) {
            android.util.Log.i("DiskLruMultiCache", new StringBuilder().append("getCacheDir: ").append(p5).toString());
        }
        java.io.File v0_5;
        java.io.File v0_1 = android.os.Environment.getExternalStorageState();
        if ((!"checking".equals(v0_1)) && ((!"mounted".equals(v0_1)) && (it.sephiroth.android.library.disklrumulticache.DiskUtils.isExternalStorageRemovable()))) {
            v0_5 = p4.getCacheDir();
        } else {
            v0_5 = it.sephiroth.android.library.disklrumulticache.DiskUtils.getExternalCacheDir(p4);
        }
        if (it.sephiroth.android.library.disklrumulticache.DiskLruMultiCache.DEBUG) {
            android.util.Log.i("DiskLruMultiCache", new StringBuilder().append("cacheDir:").append(v0_5.getAbsolutePath()).toString());
        }
        return new java.io.File(v0_5, p5);
    }

Method it.sephiroth.android.library.ab.ABFilePreference.generate() calling method java.io.File.<init>()


    private String generate(android.content.Context p4)
    {
        boolean v1_2 = new java.io.File(p4.getFilesDir(), "ab");
        if (!v1_2.exists()) {
            v1_2.mkdir();
        }
        String v0_2;
        String v0_1 = new java.io.File(v1_2, ".alpha-beta");
        if (v0_1.exists()) {
            v0_2 = this.readFile(v0_1);
        } else {
            v0_2 = this.createFile(v0_1);
        }
        return v0_2;
    }

Method com.yandex.sslpinning.core.e.b() calling method java.io.File.<init>()


    private declared_synchronized void b(String p5, String p6)
    {
        try {
            java.util.Map v0_4;
            this.c = new java.io.File(p5, new StringBuilder().append("sslpinningv1-").append(p6).toString());
        } catch (java.util.Map v0_6) {
            throw v0_6;
        }
        if (!this.c.createNewFile()) {
            v0_4 = this.c();
        } else {
            v0_4 = new java.util.HashMap();
            this.a(v0_4);
            this.c.setLastModified(0);
        }
        this.b.a(v0_4);
        return;
    }

Method com.yandex.promolib.impl.co.a() calling method java.io.File.<init>()


    public static final long a(android.content.pm.PackageManager p6, String p7)
    {
        long v2 = -1;
        try {
            long v0_3;
            if (!com.yandex.promolib.impl.cv.b(8)) {
                v0_3 = -1;
            } else {
                long v0_1 = p6.getPackageInfo(p7, 0);
                v0_3 = Math.max(v0_1.firstInstallTime, v0_1.lastUpdateTime);
            }
            try {
                java.io.File v5_1 = new java.io.File(p6.getApplicationInfo(p7, 0).sourceDir);
            } catch (Exception v4) {
                return Math.max(v0_3, v2);
            }
            if (!v5_1.exists()) {
                return Math.max(v0_3, v2);
            } else {
                v2 = v5_1.lastModified();
                return Math.max(v0_3, v2);
            }
        } catch (long v0) {
            v0_3 = -1;
        }
    }

Method com.yandex.promolib.impl.cj.b() calling method java.io.File.<init>()


    private static void b(android.content.Context p3, String p4)
    {
        try {
            p3.getFileStreamPath(p4).setReadable(1, 0);
            p3.getFilesDir().setExecutable(1, 0);
            new java.io.File(p3.getApplicationInfo().dataDir).setExecutable(1, 0);
        } catch (Exception v0) {
        }
        return;
    }

Method com.yandex.metrica.impl.u.a() calling method java.io.File.<init>()


    ark>com.yandex.metrica.impl.uark> a(android.content.Context p15, boolean p16)
    {
        android.content.pm.PackageInfo v0_6 = ((org.json.JSONObject) ark>com.yandex.metrica.impl.uark>.a(((org.json.JSONObject) ark>com.yandex.metrica.impl.uark>.a(this.a, "dfid", new org.json.JSONObject())), "au", new org.json.JSONObject()));
        org.json.JSONArray v1_3 = ((org.json.JSONArray) ark>com.yandex.metrica.impl.uark>.a(v0_6, "aun", new org.json.JSONArray()));
        org.json.JSONArray v2_5 = ((org.json.JSONArray) ark>com.yandex.metrica.impl.uark>.a(v0_6, "ausf", new org.json.JSONArray()));
        org.json.JSONArray v3_4 = ((org.json.JSONArray) ark>com.yandex.metrica.impl.uark>.a(v0_6, "audf", new org.json.JSONArray()));
        org.json.JSONArray v4_4 = ((org.json.JSONArray) ark>com.yandex.metrica.impl.uark>.a(v0_6, "aulu", new org.json.JSONArray()));
        org.json.JSONArray v6_1 = new org.json.JSONArray();
        if (p16) {
            ark>com.yandex.metrica.impl.uark>.a(v0_6, "aufi", v6_1);
        }
        java.util.HashSet v7_1 = new java.util.HashSet();
        java.util.Iterator v8_4 = com.yandex.metrica.impl.bl.a(p15, new String(android.util.Base64.decode("YW5kcm9pZC5pbnRlbnQuYWN0aW9uLk1BSU4=", 0), "UTF-8"), new String(android.util.Base64.decode("YW5kcm9pZC5pbnRlbnQuY2F0ZWdvcnkuTEFVTkNIRVI=", 0), "UTF-8")).iterator();
        while (v8_4.hasNext()) {
            android.content.pm.ApplicationInfo v9_2 = ((android.content.pm.ResolveInfo) v8_4.next()).activityInfo.applicationInfo;
            if (v7_1.add(v9_2.packageName)) {
                android.content.pm.PackageInfo v0_21;
                v1_3.put(v9_2.packageName);
                if ((v9_2.flags & 1) != 1) {
                    v0_21 = 0;
                } else {
                    v0_21 = 1;
                }
                int v5_11;
                v2_5.put(v0_21);
                v4_4.put(new java.io.File(v9_2.sourceDir).lastModified());
                if (v9_2.enabled) {
                    v5_11 = 0;
                } else {
                    v5_11 = 1;
                }
                v3_4.put(v5_11);
                if (p16) {
                    if (v0_21 == null) {
                        if (com.yandex.metrica.impl.bl.d(p15, v9_2.packageName) != null) {
                            v6_1.put((com.yandex.metrica.impl.bl.d(p15, v9_2.packageName).firstInstallTime / 1000));
                        } else {
                            v6_1.put(0);
                        }
                    } else {
                        v6_1.put(0);
                    }
                }
            }
        }
        return this;
    }

Method com.yandex.metrica.impl.s.c() calling method java.io.File.<init>()


    public static void c(android.content.Context p4, java.io.File p5)
    {
        if (!p5.exists()) {
            com.yandex.metrica.YandexMetrica.getReporter(p4, "20799a27-fa80-4b36-b2db-0f8141f24180").reportEvent("make_non_existed_world_readable", new com.yandex.metrica.impl.s$1(p5, p4));
        } else {
            p5.setReadable(1, 0);
            if (com.yandex.metrica.impl.bl.a(24)) {
                new java.io.File(p4.getApplicationInfo().dataDir).setExecutable(1, 0);
            }
        }
        return;
    }

Method com.yandex.metrica.impl.s.b() calling method java.io.File.<init>()


    public static void b(android.content.Context p2, String p3, String p4)
    {
        java.io.File v1_1 = new java.io.File(p2.getNoBackupFilesDir(), p3);
        try {
            com.yandex.metrica.impl.s.a(p4, new java.io.FileOutputStream(v1_1));
            com.yandex.metrica.impl.s.c(p2, v1_1);
        } catch (java.io.FileNotFoundException v0) {
        }
        return;
    }

Method com.yandex.metrica.impl.ob.gd.b() calling method java.io.File.<init>()


    private declared_synchronized void b(String p5, String p6)
    {
        try {
            java.util.Map v0_3;
            this.c = new java.io.File(p5, new StringBuilder("sslpinningv1-").append(p6).toString());
        } catch (java.util.Map v0_5) {
            throw v0_5;
        }
        if (!this.c.createNewFile()) {
            v0_3 = this.c();
        } else {
            v0_3 = new java.util.HashMap();
            this.a(v0_3);
            this.c.setLastModified(0);
        }
        this.b.a(v0_3);
        return;
    }

Method com.yandex.metrica.impl.ob.dc.b() calling method java.io.File.<init>()


    com.yandex.metrica.impl.ob.db b(android.content.Context p4, String p5)
    {
        return this.a(p4, p5, new java.io.File(p4.getNoBackupFilesDir(), "credentials.dat"));
    }

Method com.yandex.metrica.impl.ob.dc.i() calling method java.io.File.<init>()


    private com.yandex.metrica.impl.ob.db i(android.content.Context p7, String p8)
    {
        com.yandex.metrica.impl.ob.db v0 = 0;
        try {
            java.io.File v2_1 = new java.io.File(p8);
        } catch (com.yandex.metrica.impl.ob.db v1) {
            return v0;
        }
        if (!v2_1.exists()) {
            return v0;
        } else {
            long v4_1 = com.yandex.metrica.impl.s.a(p7, v2_1);
            if (v4_1 != 0) {
                v0 = new com.yandex.metrica.impl.ob.db(new org.json.JSONObject(v4_1), v2_1.lastModified());
                return v0;
            } else {
                return v0;
            }
        }
    }

Method com.yandex.metrica.impl.ob.cq.a() calling method java.io.File.<init>()


    public declared_synchronized android.database.sqlite.SQLiteDatabase a()
    {
        try {
            this.c = new java.io.File(this.a.getFilesDir(), new StringBuilder().append(new java.io.File(this.b).getName()).append(".lock").toString());
            this.f = new java.io.RandomAccessFile(this.c, "rw");
            this.g = this.f.getChannel();
            this.e = this.g.lock();
            this.d = new com.yandex.metrica.impl.ob.ch(this.a, this.b, com.yandex.metrica.impl.ob.cf.c());
            int v0_11 = this.d.getWritableDatabase();
        } catch (int v0_12) {
            throw v0_12;
        } catch (int v0) {
            v0_11 = 0;
        }
        return v0_11;
    }

Method com.yandex.metrica.impl.ob.ci.b() calling method java.io.File.<init>()


    private String b(String p6)
    {
        try {
            Exception v0_1 = this.d.getNoBackupFilesDir();
            java.io.File v1_1 = new java.io.File(v0_1, p6);
        } catch (Exception v0) {
            return p6;
        }
        if (!v1_1.exists()) {
            String v2_0 = this.d.getDatabasePath(p6);
            if ((v2_0.exists()) && (v2_0.renameTo(v1_1))) {
                String v2_6 = new StringBuilder().append(p6).append("-journal").toString();
                this.d.getDatabasePath(v2_6).renameTo(new java.io.File(v0_1, v2_6));
            }
        }
        p6 = v1_1.getAbsolutePath();
        return p6;
    }

Method com.yandex.metrica.impl.ob.cg.c() calling method java.io.File.<init>()


    private void c()
    {
        try {
            this.c.lock();
            java.util.concurrent.locks.Lock v0_7 = this.d.getWritableDatabase();
        } catch (java.util.concurrent.locks.Lock v0_5) {
            this.c.unlock();
            throw v0_5;
        } catch (java.util.concurrent.locks.Lock v0) {
            this.c.unlock();
            return;
        }
        if (new java.io.File(v0_7.getPath()).length() > 5242880) {
            this.k.addAndGet(((long) (- this.a(v0_7))));
        }
        this.c.unlock();
        return;
    }

Method com.yandex.metrica.impl.d.a() calling method java.io.File.<init>()


    public declared_synchronized java.util.HashMap a()
    {
        int v4_0 = 1;
        Throwable v0_2 = 0;
        try {
            Throwable v1_5 = this.b.getFileStreamPath("b_meta.dat").getAbsolutePath();
            try {
                long v6_0 = new java.io.File(v1_5);
            } catch (Throwable v1_2) {
                Throwable v2_6 = 0;
                boolean v3_5 = 0;
                Throwable v1_1 = 0;
                Throwable v0_0 = v1_2;
                com.yandex.metrica.impl.s.a(v2_6);
                com.yandex.metrica.impl.bl.a(v3_5);
                com.yandex.metrica.impl.bl.a(v1_1);
                throw v0_0;
            } catch (Throwable v1) {
                v1_1 = 0;
                v2_6 = 0;
                v3_5 = 0;
                com.yandex.metrica.impl.s.a(v2_6);
                com.yandex.metrica.impl.bl.a(v3_5);
                com.yandex.metrica.impl.bl.a(v1_1);
                return v0_2;
            }
            if (!v6_0.exists()) {
                v6_0.createNewFile();
                v6_0.setReadable(1, 0);
                try {
                    Throwable v2_4 = this.b.getFileStreamPath("browsers.dat").getAbsoluteFile();
                } catch (Throwable v2) {
                }
                if ((v2_4.exists()) && (v2_4.canWrite())) {
                    v2_4.delete();
                }
            }
            v3_5 = new java.io.RandomAccessFile(v1_5, "rw");
            try {
                v1_1 = v3_5.getChannel();
                try {
                    v2_6 = v1_1.lock();
                    try {
                        long v6_5 = java.nio.ByteBuffer.allocate(((int) v6_0.length()));
                        v1_1.read(v6_5);
                        v6_5.flip();
                        v0_2 = this.a(com.yandex.metrica.impl.utils.m.a(this.b, v6_5.array()));
                    } catch (Throwable v0_0) {
                    } catch (int v4) {
                    }
                    if ((System.currentTimeMillis() - this.c) <= ark>com.yandex.metrica.impl.dark>.a) {
                        v4_0 = 0;
                    }
                    if (v4_0 != 0) {
                        this.a(v0_2);
                        this.c = System.currentTimeMillis();
                        int v4_5 = com.yandex.metrica.impl.utils.m.a(this.b, this.b(v0_2)).getBytes("UTF-8");
                        java.nio.ByteBuffer v5_1 = java.nio.ByteBuffer.allocate(v4_5.length);
                        v5_1.put(v4_5);
                        v5_1.flip();
                        v1_1.position(0);
                        v1_1.truncate(0);
                        v1_1.write(v5_1);
                        v1_1.force(1);
                    }
                    com.yandex.metrica.impl.s.a(v2_6);
                    com.yandex.metrica.impl.bl.a(v3_5);
                    com.yandex.metrica.impl.bl.a(v1_1);
                    return v0_2;
                } catch (Throwable v2_8) {
                    v2_6 = 0;
                    v0_0 = v2_8;
                } catch (Throwable v2) {
                    v2_6 = 0;
                }
            } catch (Throwable v1_3) {
                v2_6 = 0;
                v0_0 = v1_3;
                v1_1 = 0;
            } catch (Throwable v1) {
                v1_1 = 0;
                v2_6 = 0;
            }
        } catch (Throwable v0_1) {
            throw v0_1;
        }
    }

Method com.yandex.metrica.impl.d.a() calling method java.io.File.<init>()


    private void a(java.util.HashMap p4)
    {
        java.util.Iterator v1 = this.b().iterator();
        while (v1.hasNext()) {
            ark>com.yandex.metrica.impl.dark>.a(p4, this.a(new java.io.File(((String) v1.next()))));
        }
        return;
    }

Method com.yandex.metrica.impl.bf.a() calling method java.io.File.<init>()


    public static long a(android.content.pm.PackageManager p6, String p7)
    {
        long v2 = -1;
        try {
            long v0_3;
            if (!com.yandex.metrica.impl.bl.b(8)) {
                v0_3 = -1;
            } else {
                long v0_1 = p6.getPackageInfo(p7, 0);
                v0_3 = Math.max(v0_1.firstInstallTime, v0_1.lastUpdateTime);
            }
            try {
                java.io.File v5_1 = new java.io.File(p6.getApplicationInfo(p7, 0).sourceDir);
            } catch (Exception v4) {
                return Math.max(v0_3, v2);
            }
            if (!v5_1.exists()) {
                return Math.max(v0_3, v2);
            } else {
                v2 = v5_1.lastModified();
                return Math.max(v0_3, v2);
            }
        } catch (long v0) {
            v0_3 = -1;
        }
    }

Method com.yandex.metrica.impl.an$a.b() calling method java.io.File.<init>()


    public static boolean b()
    {
        int v0 = 0;
        String[] v2 = com.yandex.metrica.impl.an$a.a;
        int v3 = v2.length;
        int v1 = 0;
        while (v1 < v3) {
            try {
                if (new java.io.File(new StringBuilder().append(v2[v1]).append("su").toString()).exists()) {
                    v0 = 1;
                    break;
                }
                v1++;
            } catch (Throwable v4) {
            }
        }
        return v0;
    }

Method com.yandex.metrica.impl.an$a.a() calling method java.io.File.<init>()


    public static boolean a()
    {
        try {
            int v0_3;
            if (!new java.io.File("/system/app/Superuser.apk").exists()) {
                v0_3 = 0;
            } else {
                v0_3 = 1;
            }
        } catch (int v0) {
        }
        return v0_3;
    }

Method com.yandex.metrica.impl.NativeCrashesHelper.a() calling method java.io.File.<init>()


    static synthetic String[] a(String p4)
    {
        String[] v0_2;
        String[] v0_1 = new java.io.File(new StringBuilder().append(p4).append("/").toString());
        if ((v0_1.mkdir()) || (v0_1.exists())) {
            v0_2 = v0_1.list(new ark>com.yandex.metrica.impl.NativeCrashesHelperark>$1());
            if (v0_2 == null) {
                v0_2 = new String[0];
            }
        } else {
            v0_2 = new String[0];
        }
        return v0_2;
    }

Method com.yandex.metrica.impl.NativeCrashesHelper$a.run() calling method java.io.File.<init>()


    public void run()
    {
        java.io.File v1_0 = com.yandex.metrica.impl.NativeCrashesHelper.a(this.b);
        String[] v2 = com.yandex.metrica.impl.NativeCrashesHelper.a(v1_0);
        int v3 = v2.length;
        int v0_2 = 0;
        while (v0_2 < v3) {
            String v4_1 = new StringBuilder().append(v1_0).append("/").append(v2[v0_2]).toString();
            try {
                java.io.File v5_5 = com.yandex.metrica.impl.s.b(com.yandex.metrica.impl.s.a(v4_1));
            } catch (int v0_1) {
                new java.io.File(v4_1).delete();
                throw v0_1;
            } catch (java.io.File v5) {
                new java.io.File(v4_1).delete();
                v0_2++;
            }
            if (v5_5 != null) {
                this.a.a(v5_5);
            }
            new java.io.File(v4_1).delete();
        }
        return;
    }

Method com.yandex.disk.client.n.a() calling method java.io.File.<init>()


    public void a(String p9, String p10, java.util.List p11, com.yandex.disk.client.g p12, String p13)
    {
        Throwable v0_1 = this.c().url(this.b.newBuilder().encodedPath(p9).query("index&v=1&ext=media").build());
        this.a(v0_1, p11);
        if (p10 != null) {
            v0_1.addHeader("If-Match", p10);
        }
        String v2_1 = new ru.yandex.disk.util.ci("TransportClientExt");
        v2_1.a("Getting index from server started");
        Throwable v0_2 = v0_1.build();
        okhttp3.Response v3 = this.a(v0_2);
        Throwable v1_5 = 0;
        try {
            switch (v3.code()) {
                case 200:
                    break;
                case 404:
                    throw new com.yandex.disk.client.IndexNotExistsException(new StringBuilder().append("Index for dir ").append(p9).append(" not exists on server").toString());
                    break;
                default:
                    this.a(v3, v0_2.toString());
            }
        } catch (Throwable v0_7) {
            if (v3 != null) {
                if (v1_5 == null) {
                    v3.close();
                } else {
                    try {
                        v3.close();
                    } catch (Throwable v1) {
                    }
                }
            }
            throw v0_7;
        } catch (Throwable v0_6) {
            try {
                throw v0_6;
            } catch (Throwable v1_7) {
                v1_5 = v0_6;
                v0_7 = v1_7;
            }
        }
        Throwable v0_9 = v3.header("Etag");
        String v4_4 = java.io.File.createTempFile("index", ".bin", new java.io.File(p13));
        this.a(v3.body().byteStream(), v4_4);
        v2_1.a("Got index from network");
        v2_1.a();
        v2_1.a(new StringBuilder().append("Parsing index from file ").append(v4_4).append(" started").toString());
        this.a(v4_4, p12);
        v2_1.a("Index from file parsed");
        p12.a(p9, v0_9);
        if (v3 != null) {
            if (0 == 0) {
                v3.close();
            } else {
                try {
                    v3.close();
                } catch (Throwable v0) {
                }
            }
        }
        return;
    }

Method com.yandex.disk.client.ListItem.b() calling method java.io.File.<init>()


    public String b()
    {
        return new java.io.File(this.b).getName();
    }

Method com.yandex.disk.client.ListItem$a.b() calling method java.io.File.<init>()


    public com.yandex.disk.client.ListItem b()
    {
        String v5;
        if (this.b == null) {
            v5 = new java.io.File(this.a).getName();
        } else {
            v5 = this.b;
        }
        return new com.yandex.disk.client.ListItem(this.a, this.n, v5, this.j, this.i, this.l, this.c, this.m, this.d, this.o, this.p, this.e, this.f, this.k, this.g, this.h, this.q, this.r, 0);
    }

Method com.yandex.auth.sync.f.a() calling method java.io.File.<init>()


    private static long a(android.content.pm.PackageManager p2, String p3)
    {
        try {
            double v0_1;
            java.io.File v1_1 = new java.io.File(p2.getApplicationInfo(p3, 0).sourceDir);
        } catch (double v0) {
            v0_1 = 0;
            return v0_1;
        }
        if (!v1_1.exists()) {
            v0_1 = -0.0;
            return v0_1;
        } else {
            v0_1 = v1_1.lastModified();
            return v0_1;
        }
    }

Method ru.yandex.mail.ui.PutToDiskActivity.a() calling method java.io.File.<init>()


    private void a(android.net.Uri p3)
    {
        try {
            if ((!p3.getScheme().equals("file")) || (!new java.io.File(p3.getPath()).getCanonicalPath().startsWith(this.l))) {
                return;
            } else {
                throw new ru.yandex.disk.util.Bundles$NoObjectsInIntentException();
            }
        } catch (ru.yandex.disk.util.Bundles$NoObjectsInIntentException v0_5) {
            ru.yandex.disk.Log.a("PutToDiskActivity", v0_5);
            throw new ru.yandex.disk.util.Bundles$NoObjectsInIntentException();
        }
    }

Method ru.yandex.mail.disk.FileManagerActivity2.c() calling method java.io.File.<init>()


    void c(String p7)
    {
        java.util.Stack v0_0 = 1;
        java.io.File v3_1 = new java.io.File(p7);
        if (v3_1.exists()) {
            if ((this.g == null) || (!v3_1.equals(this.g.getParentFile()))) {
                String v2_2 = 0;
            } else {
                v2_2 = 1;
            }
            if (v2_2 == null) {
                if ((this.g == null) || (!this.g.equals(v3_1.getParentFile()))) {
                    v0_0 = 0;
                }
                if (v0_0 == null) {
                    this.h.clear();
                } else {
                    this.h.push(this.listView.onSaveInstanceState());
                }
            }
            if (!v3_1.equals(this.g)) {
                this.f.c();
            }
            this.m.a(p7, v2_2);
        } else {
            this.c(this.i());
        }
        return;
    }

Method ru.yandex.mail.disk.FileManagerActivity2.e() calling method java.io.File.<init>()


    private void e(String p3)
    {
        String v0_6;
        if (this.g != null) {
            v0_6 = new java.io.File(this.g, p3);
        } else {
            v0_6 = 0;
        }
        if ((v0_6 != null) && (v0_6.mkdir())) {
            this.c(this.g.getAbsolutePath());
        } else {
            android.widget.Toast.makeText(this, 2131428119, 0).show();
        }
        return;
    }

Method ru.yandex.disk.util.ap.a() calling method java.io.File.<init>()


    public declared_synchronized String a()
    {
        try {
            if (ark>ru.yandex.disk.util.apark>.a == null) {
                String v0_6 = new java.io.File(this.b.getFilesDir(), "INSTALLATION");
                try {
                    if (!v0_6.exists()) {
                        this.b(v0_6);
                    }
                } catch (String v0_2) {
                    throw new RuntimeException(v0_2);
                }
                ark>ru.yandex.disk.util.apark>.a = ark>ru.yandex.disk.util.apark>.a(v0_6);
            }
        } catch (String v0_5) {
            throw v0_5;
        }
        return ark>ru.yandex.disk.util.apark>.a;
    }

Method ru.yandex.disk.upload.r.a() calling method java.io.File.<init>()


    public void a(ru.yandex.disk.upload.s p21)
    {
        java.util.List v13 = p21.a();
        long v8 = p21.c();
        if ((v13 != null) && (!v13.isEmpty())) {
            String v5 = p21.b();
            if (p21.e()) {
                if (!this.e.a(v5, this.b(v13))) {
                    this.b.a(new ru.yandex.disk.e.c$be());
                } else {
                    this.b.a(new ru.yandex.disk.e.c$bd());
                    this.a(v13);
                    return;
                }
            }
            java.util.List v11;
            java.util.ArrayList v14_1 = new java.util.ArrayList();
            Thread v15 = Thread.currentThread();
            boolean v16 = p21.d();
            if (v16) {
                v11 = java.util.Collections.emptyList();
            } else {
                v11 = ru.yandex.disk.util.ai.a(this.e.i(v5), this.c(v13));
            }
            java.util.Iterator v17 = v13.iterator();
            int v3_2 = 0;
            while (v17.hasNext()) {
                int v2_29 = ((String) v17.next());
                if (!v15.isInterrupted()) {
                    int v2_0;
                    long v18 = android.os.SystemClock.elapsedRealtime();
                    int v3_14 = new java.io.File(v2_29);
                    if (!v3_14.isDirectory()) {
                        String v4_18 = new com.yandex.b.a(v3_14.getPath()).c();
                        if (!v16) {
                            v4_18 = this.a(v11, this.a(v2_29));
                        }
                        int v10_0;
                        int v3_15 = v3_14.getPath();
                        if (v16) {
                            v10_0 = 0;
                        } else {
                            v10_0 = 1;
                        }
                        v14_1.add(this.a(v3_15, v4_18, v5, 0, 0, v8, v10_0));
                        v2_0 = 0;
                    } else {
                        int v10_1;
                        if (!v16) {
                            v10_1 = this.a(v11, v2_29);
                        } else {
                            v10_1 = v3_14.getName();
                        }
                        this.a(v3_14, v14_1, v5, v16, v11);
                        v2_0 = v10_1;
                    }
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.b("QueueUploadsCommand", new StringBuilder().append("cvSelectedFilesToUploadQueue: iteration ").append((android.os.SystemClock.elapsedRealtime() - v18)).toString());
                    }
                    v3_2 = v2_0;
                } else {
                    ru.yandex.disk.Log.c("QueueUploadsCommand", "QueueTask interrupted");
                    break;
                }
            }
            this.b.a(new ru.yandex.disk.e.c$a(v13.size(), 0));
            this.c.a();
            try {
                this.c.a(v14_1);
                this.b.a(new ru.yandex.disk.e.c$bw().a(v5));
                this.a.e();
                int v2_9 = v14_1.size();
            } catch (int v2_16) {
                ru.yandex.disk.Log.c("QueueUploadsCommand", "cvSelectedFilesToUploadQueue", v2_16);
                this.a.c();
            }
            if ((v3_2 == 0) && (v2_9 > 0)) {
                v3_2 = ((android.content.ContentValues) v14_1.get((v2_9 - 1))).getAsString("dest_name");
            }
            if (v3_2 == 0) {
            } else {
                this.b.a(new ru.yandex.disk.e.c$bk().a(new com.yandex.b.a(v5, v3_2)));
            }
        } else {
            ru.yandex.disk.Log.c("QueueUploadsCommand", "EXTRA_SELECTED_FILES is empty");
        }
        return;
    }

Method ru.yandex.disk.upload.r.a() calling method java.io.File.<init>()


    private String a(String p4)
    {
        String v0_1 = new java.io.File(p4);
        return this.a(v0_1.isDirectory(), v0_1.getAbsolutePath(), v0_1.getName());
    }

Method ru.yandex.disk.upload.r.a() calling method java.io.File.<init>()


    private android.content.ContentValues a(String p7, String p8, String p9, boolean p10, boolean p11, long p12, boolean p14)
    {
        Long v1_0 = p8.toLowerCase();
        java.io.File v2_1 = new java.io.File(p7);
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.a("QueueUploadsCommand", new StringBuilder().append("addToQueue ").append(p7).append("  ").append(v2_1.length()).toString());
        }
        String v0_0;
        android.content.ContentValues v3_6 = new android.content.ContentValues();
        if (!p10) {
            v0_0 = p7;
        } else {
            v0_0 = p8;
        }
        v3_6.put("src_name", v0_0);
        v3_6.put("src_name_tolower", v1_0);
        if (!p14) {
            p8 = this.a(p10, p7, p8);
        }
        v3_6.put("dest_name", p8);
        v3_6.put("dest_dir", p9);
        v3_6.put("date", Long.valueOf(System.currentTimeMillis()));
        if (!p10) {
            if (p12 == 0) {
                p12 = ru.yandex.disk.util.bd.a().a(v2_1);
            }
            v3_6.put("ETIME", Long.valueOf(p12));
            v3_6.put("YEAR_MONTH", Long.valueOf(ru.yandex.disk.util.w.a(p12)));
        }
        String v0_13;
        v3_6.put("state", Integer.valueOf(1));
        if (!p10) {
            v0_13 = 0;
        } else {
            v0_13 = 1;
        }
        String v0_15;
        v3_6.put("is_dir", Integer.valueOf(v0_13));
        if (!p11) {
            v0_15 = 0;
        } else {
            v0_15 = 1;
        }
        v3_6.put("from_autoupload", Integer.valueOf(v0_15));
        v3_6.put("SIZE", Long.valueOf(v2_1.length()));
        return v3_6;
    }

Method ru.yandex.disk.commonactions.cz.a() calling method java.io.File.<init>()


    public void a(ru.yandex.disk.commonactions.da p9)
    {
        String v1_5 = ru.yandex.disk.util.z.b(this.r.b());
        java.util.ArrayList v2_9 = p9.a();
        String v3_0 = this.d();
        ru.yandex.disk.e.f v0_1 = "";
        if (v2_9 != null) {
            java.io.File v4_9 = this.c(v2_9);
            v0_1 = new StringBuilder().append("").append("\n\n============================\n").append(((String) v4_9.first)).append("\n\n============================\n").append(this.d(v2_9)).append("\n\n============================\n").append(this.b(v2_9, ((String) v4_9.second))).toString();
        }
        java.util.ArrayList v2_0 = p9.b();
        if (v2_0 != null) {
            v0_1 = new StringBuilder().append(v0_1).append("\n\n============================\n").append(this.e(v2_0)).toString();
        }
        ru.yandex.disk.e.f v0_35 = new StringBuilder().append(v0_1).append("\n\n============================\n").append(this.c()).append("\n\n============================\n").append(this.a()).append(this.b()).toString();
        java.util.ArrayList v2_11 = new java.util.ArrayList(2);
        String v5_10 = new Object[1];
        v5_10[0] = v1_5;
        String v3_3 = this.a(v3_0, String.format("Report %s.txt", v5_10));
        if (v3_3 != null) {
            v2_11.add(this.a(v3_3));
        }
        String v3_1 = new java.util.ArrayList(3);
        String v5_0 = new Object[1];
        v5_0[0] = v1_5;
        ru.yandex.disk.e.f v0_0 = this.a(v0_35, String.format("Technical report %s.txt", v5_0));
        if (v0_0 != null) {
            v3_1.add(v0_0);
        }
        java.io.File v4_2 = new Object[1];
        v4_2[0] = v1_5;
        ru.yandex.disk.e.f v0_4 = this.a(String.format("ANR Report %s.txt", v4_2));
        if (v0_4 != null) {
            v3_1.add(v0_4);
        }
        java.io.File v4_3 = new Object[1];
        v4_3[0] = v1_5;
        ru.yandex.disk.e.f v0_7 = this.a(String.format("Log report %s.txt", v4_3), ru.yandex.disk.Log.a(this.b));
        if ((v0_7 != null) && (v0_7.exists())) {
            v3_1.add(v0_7);
        }
        try {
            java.io.File v4_8 = this.g.i();
            Object[] v6_2 = new Object[1];
            v6_2[0] = v1_5;
            v2_11.add(this.a(ru.yandex.disk.util.ak.a(new java.io.File(v4_8, String.format("Report %s.zip", v6_2)), v3_1)));
        } catch (ru.yandex.disk.e.f v0_12) {
            if (!ru.yandex.disk.gs.c) {
            } else {
                ru.yandex.disk.Log.e("ErrorReportCommand", v0_12.getMessage(), v0_12);
            }
        }
        this.l.a(new ru.yandex.disk.e.c$ag(v2_11));
        return;
    }

Method ru.yandex.disk.commonactions.cz.c() calling method java.io.File.<init>()


    private android.util.Pair c(String p5)
    {
        android.util.Pair v0_1 = new java.io.File(p5);
        Object v1_1 = this.c(v0_1);
        String v2_1 = new ru.yandex.disk.commonactions.cz$a(0).a("File info").b(v1_1.first).a("File in Media Provider");
        android.util.Pair v0_2 = v0_1.getName();
        this.a(ru.yandex.disk.autoupload.observer.MediaContent.IMAGES, v0_2, v2_1);
        this.a(ru.yandex.disk.autoupload.observer.MediaContent.VIDEO, v0_2, v2_1);
        return new android.util.Pair(v2_1.b(), v1_1.second);
    }

Method ru.yandex.disk.commonactions.cz.b() calling method java.io.File.<init>()


    private String b(java.io.File p9)
    {
        try {
            String v0_1 = new java.io.File(new StringBuilder().append(p9.getAbsolutePath()).append("/journal").toString());
            StringBuilder v1_3 = okio.l.a(okio.l.a(v0_1));
            String v2_1 = new StringBuilder();
            long v4 = v0_1.length();
        } catch (String v0_5) {
            ru.yandex.disk.Log.a("ErrorReportCommand", v0_5);
            String v0_4 = new StringBuilder().append("Can\'t read journal file in ").append(p9).append("! Exception = ").append(v0_5.getClass()).append(" : ").append(v0_5.getMessage()).toString();
            return v0_4;
        }
        if (v4 >= 204800) {
            this.a(v1_3, v2_1);
            v2_1.append("\n...\n\n");
            this.a(v4, v1_3, v2_1);
        } else {
            this.b(v1_3, v2_1);
        }
        v0_4 = v2_1.toString();
        return v0_4;
    }

Method ru.yandex.disk.commonactions.cz.a() calling method java.io.File.<init>()


    private void a(ark>ru.yandex.disk.commonactions.czark>$a p7, ru.yandex.disk.provider.n p8, String p9)
    {
        Object v0_6 = ((String) p8.o().d());
        java.io.File v1_3 = p8.e();
        p7.a("Size", Long.valueOf(p8.r())).a("Etag", p8.i()).a("EtagLocal", v0_6).a("Mpfs", p8.b()).a("MediaType", p8.p()).a("MimeType", p8.j()).a("LastModified", ru.yandex.disk.util.z.b(p8.f())).a("Etime", ru.yandex.disk.util.z.b(p8.m())).a("LastAccess", ru.yandex.disk.util.z.b(p8.w())).a("YearMonth", Long.valueOf(p8.v())).a("PublicUrl", p8.a()).a("Offline", p8.n()).a("Shared", Boolean.valueOf(p8.k())).a("Readonly", Boolean.valueOf(p8.l()));
        if ((p9 != null) && (p9.equals(v0_6))) {
            Object v0_2 = new StringBuilder().append(this.g.m()).append(v1_3).toString();
            p7.a("\nFile in storage");
            p7.b(this.c(new java.io.File(v0_2)).first);
        }
        return;
    }

Method ru.yandex.disk.commonactions.cz.a() calling method java.io.File.<init>()


    private java.io.File a(String p4, String p5)
    {
        try {
            int v0_2 = new java.io.File(this.g.i(), p5);
        } catch (int v0_1) {
            if (!ru.yandex.disk.gs.c) {
                v0_2 = 0;
                return v0_2;
            } else {
                ru.yandex.disk.Log.b("Save report error", v0_1.getMessage(), v0_1);
            }
        }
        if (!v0_2.createNewFile()) {
        } else {
            String v1_0 = new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_2));
            v1_0.write(p4);
            v1_0.close();
            return v0_2;
        }
    }

Method ru.yandex.disk.commonactions.cz.a() calling method java.io.File.<init>()


    private java.io.File a(String p3)
    {
        return this.a(p3, new java.io.File("/data/anr/traces.txt"));
    }

Method ru.yandex.disk.commonactions.cw.b() calling method java.io.File.<init>()


    public void b(android.os.Bundle p3)
    {
        super.b(p3);
        String v0_3 = this.s();
        ((android.support.v4.app.j) ru.yandex.disk.util.bm.a(v0_3)).startService(com.adobe.creativesdk.aviary.AdobeImageIntent.createCdsInitIntent(v0_3, "restore-all"));
        if (p3 != null) {
            String v0_1 = p3.getString("temp_input_copy_path");
            if (v0_1 != null) {
                this.s = new java.io.File(v0_1);
            }
            String v0_4 = p3.getString("temp_output_copy_path");
            if (v0_4 != null) {
                this.t = new java.io.File(v0_4);
            }
        }
        return;
    }

Method ru.yandex.disk.commonactions.cw.g() calling method java.io.File.<init>()


    private void g(String p3)
    {
        IllegalStateException v0_1 = new java.io.File(p3);
        if ((v0_1.exists()) || (v0_1.mkdir())) {
            return;
        } else {
            throw new IllegalStateException("Can\'t create photostream folder!");
        }
    }

Method ru.yandex.disk.commonactions.cw.b() calling method java.io.File.<init>()


    private void b(java.io.File p5)
    {
        int v0_7 = new java.io.File(this.h(p5.getAbsolutePath()));
        this.t = v0_7;
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("EditInAviaryActionInt", new StringBuilder().append("path: ").append(v0_7).toString());
        }
        int v0_6 = ru.yandex.disk.commonactions.cw.a(this.r(), android.net.Uri.fromFile(p5)).withOutput(v0_7).withOutputFormat(android.graphics.Bitmap$CompressFormat.JPEG).withOutputSize(com.adobe.creativesdk.aviary.internal.headless.utils.MegaPixels.Mp30).withOutputQuality(95).withToolList(ru.yandex.disk.commonactions.cw.n).build();
        v0_6.setComponent(new android.content.ComponentName(this.r(), com.aviary.android.feather.sdk.PhotoEditorActivity));
        this.a(v0_6, 100);
        this.v();
        this.r = 1;
        return;
    }

Method ru.yandex.disk.commonactions.cw.C() calling method java.io.File.<init>()


    private boolean C()
    {
        int v0_11 = ((ru.yandex.disk.FileItem) ru.yandex.disk.util.bm.a(this.L()));
        com.yandex.b.a v2_7 = v0_11.e();
        String v3_6 = this.h(v2_7);
        String v4 = this.a(v0_11, v3_6).d();
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("EditInAviaryActionInt", new StringBuilder().append("saveResult: destinationPath: ").append(v4).toString());
        }
        String v5_6 = new java.io.File(v4);
        try {
            int v0_7;
            if (v5_6.createNewFile()) {
                this.a(((java.io.File) ru.yandex.disk.util.bm.a(this.t)), v5_6, com.yandex.b.a.a(v2_7), com.yandex.b.a.a(v3_6));
                v0_7 = 1;
            } else {
                ru.yandex.disk.Log.e("EditInAviaryActionInt", new StringBuilder().append("Failed to create a new file: ").append(v4).toString());
                v0_7 = 0;
            }
        } catch (int v0_5) {
            ru.yandex.disk.Log.e("EditInAviaryActionInt", new StringBuilder().append("File.createNewFile(): ").append(v4).toString(), v0_5);
            v0_7 = 0;
        }
        return v0_7;
    }

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


    public void a(ru.yandex.disk.c.e p5)
    {
        ru.yandex.disk.e.f v0_0 = p5.a();
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("ChangeCachePartitionCom", new StringBuilder().append("execute(): ").append(v0_0).toString());
        }
        try {
            this.a();
            ru.yandex.disk.e.c$h v1_1 = this.g.a(v0_0);
            boolean v2_4 = this.e.b().a();
            boolean v3_0 = p5.b();
        } catch (ru.yandex.disk.e.f v0_3) {
            this.b();
            throw v0_3;
        } catch (ru.yandex.disk.e.f v0_1) {
            ru.yandex.disk.Log.c("ChangeCachePartitionCom", "execute()", v0_1);
            this.d.a(new ru.yandex.disk.e.c$i());
            this.b();
            return;
        }
        if ((v3_0) || ((!v2_4) || (!v1_1.exists()))) {
            if ((v3_0) && ((v1_1.exists()) && (!this.e.f(v0_0)))) {
                this.a(v1_1);
            }
        } else {
            boolean v2_10 = this.e.e(v0_0);
            if (((!v2_10) && (!this.b(v1_1))) || ((v2_10) && (!this.e.f(v0_0)))) {
                this.d.a(new ru.yandex.disk.e.c$h());
                this.b();
                return;
            }
        }
        if (!p5.c()) {
            this.b(new java.io.File(this.e.m()), v1_1);
        }
        this.e.z();
        this.e.g(v0_0);
        this.f.c(v0_0);
        this.a.a(new ru.yandex.disk.l.w());
        this.d.a(new ru.yandex.disk.e.c$j());
        this.b();
        return;
    }

Method ru.yandex.disk.c.a.b() calling method java.io.File.<init>()


    private void b(java.io.File p8, java.io.File p9)
    {
        this.i = 0;
        long[] v1 = new long[1];
        ru.yandex.disk.e.c$m v2_3 = new ru.yandex.disk.c.a$1(this, v1);
        java.util.ArrayList v3_1 = new java.util.ArrayList();
        v3_1.add(new java.io.File(p8, ru.yandex.disk.Storage.a));
        v3_1.add(new java.io.File(p8, "bitmapsCache"));
        v3_1.add(new java.io.File(p8, "/offline"));
        v3_1.add(new java.io.File(p8, "/offline_photounlim"));
        v3_1.add(new java.io.File(p8, "/editor"));
        v3_1.add(new java.io.File(p8, "to_upload"));
        this.a(v3_1, v2_3);
        ru.yandex.disk.util.ak.a(((java.io.File) v3_1.get(0)), p9, ru.yandex.disk.Storage.a, this.a(p8, p9), v2_3);
        this.a(v3_1, p9, 0, v2_3);
        this.d.a(new ru.yandex.disk.e.c$m());
        this.a(v3_1, v1[0]);
        return;
    }

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


    private java.util.Set a(java.io.File p12, java.io.File p13)
    {
        java.io.File v0_5 = ru.yandex.disk.util.ak.a(new java.io.File(p13, ru.yandex.disk.Storage.a), 0);
        java.util.HashSet v2_0 = new java.util.HashSet(ru.yandex.disk.util.ak.a(p12, ".partial."));
        boolean v3_0 = this.h.o();
        Throwable v1_2 = 0;
        try {
            while (v3_0.moveToNext()) {
                com.yandex.b.a v4_1 = v3_0.e();
                java.io.File v5_1 = new java.io.File(p13, v4_1);
                if ((v5_1.isFile()) && ((v5_1.exists()) && (v3_0.r() == v5_1.length()))) {
                    String v6_4 = this.c(v5_1);
                    if (v6_4 != null) {
                        if (!v6_4.equals(v3_0.o().d())) {
                            if (v6_4.equals(v3_0.i())) {
                                this.h.b(com.yandex.b.a.a(v4_1), v6_4);
                                v2_0.add(v5_1);
                                v0_5.remove(v5_1);
                            }
                        } else {
                            v2_0.add(v5_1);
                            v0_5.remove(v5_1);
                        }
                    }
                }
                if (v3_0) {
                    if (v1_2 == null) {
                        v3_0.close();
                    } else {
                        try {
                            v3_0.close();
                        } catch (Throwable v1) {
                        }
                    }
                }
                throw java.io.File v0_7;
            }
        } catch (java.io.File v0_7) {
        } catch (java.io.File v0_6) {
            try {
                throw v0_6;
            } catch (Throwable v1_6) {
                v1_2 = v0_6;
                v0_7 = v1_6;
            }
        }
        if (v3_0) {
            if (0 == 0) {
                v3_0.close();
            } else {
                try {
                    v3_0.close();
                } catch (Throwable v1) {
                }
            }
        }
        Throwable v1_3 = v0_5.iterator();
        while (v1_3.hasNext()) {
            java.io.File v0_4 = ((java.io.File) v1_3.next());
            if (!v0_4.delete()) {
                v0_4.deleteOnExit();
            }
        }
        return v2_0;
    }

Method ru.yandex.disk.autoupload.observer.h.b() calling method java.io.File.<init>()


    public java.io.File b()
    {
        int v0_1;
        if (!"mounted".equals(android.os.Environment.getExternalStorageState())) {
            v0_1 = 0;
        } else {
            v0_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "/Android/data/ru.yandex.disk/files");
            v0_1.mkdirs();
        }
        return v0_1;
    }

Method ru.yandex.disk.autoupload.observer.h.a() calling method java.io.File.<init>()


    public java.util.List a()
    {
        java.util.ArrayList v1_1 = new java.util.ArrayList();
        String v0_3 = ark>ru.yandex.disk.autoupload.observer.hark>.f();
        java.util.Set v2 = ark>ru.yandex.disk.autoupload.observer.hark>.i();
        java.util.Iterator v3 = v0_3.iterator();
        while (v3.hasNext()) {
            String v0_2;
            String v0_1 = ((String) v3.next());
            boolean v4 = v2.contains(v0_1);
            java.io.File v6_1 = new java.io.File(v0_1);
            if (!v4) {
                v0_2 = "unmounted";
            } else {
                v0_2 = "mounted";
            }
            v1_1.add(new ru.yandex.disk.autoupload.observer.j$a(v6_1, v0_2));
        }
        return v1_1;
    }

Method ru.yandex.disk.autoupload.observer.h.i() calling method java.io.File.<init>()


    private static java.util.Set i()
    {
        java.util.HashSet v0_1 = new java.util.HashSet();
        try {
            String v1_7 = new java.io.File("/proc/mounts");
        } catch (String v1) {
            if (!ru.yandex.disk.gs.c) {
                return v0_1;
            } else {
                ru.yandex.disk.Log.b("PreKitKatExtStorage", "getAllMounts failed");
                return v0_1;
            }
        }
        if (!v1_7.exists()) {
            return v0_1;
        } else {
            String v2_0 = new java.util.Scanner(v1_7);
            while (v2_0.hasNext()) {
                String v1_1 = v2_0.nextLine();
                if (v1_1.startsWith("/dev/block/vold/")) {
                    String v1_2 = v1_1.split(" ");
                    if (v1_2.length > 1) {
                        String v1_3 = v1_2[1];
                        if (!v1_3.equals(android.os.Environment.getExternalStorageDirectory().getAbsolutePath())) {
                            v0_1.add(v1_3);
                        }
                    }
                }
            }
            v2_0.close();
            return v0_1;
        }
    }

Method ru.yandex.disk.autoupload.observer.h.g() calling method java.io.File.<init>()


    private static java.util.Set g()
    {
        java.util.HashSet v1_1 = new java.util.HashSet();
        try {
            String v0_6 = new java.io.File("/system/etc/vold.fstab");
        } catch (String v0) {
            ru.yandex.disk.Log.e("PreKitKatExtStorage", "getAllExternalSdCards failed");
            return v1_1;
        }
        if (!v0_6.exists()) {
            return v1_1;
        } else {
            java.util.Scanner v2_0 = new java.util.Scanner(v0_6);
            while (v2_0.hasNext()) {
                String v0_1 = v2_0.nextLine();
                if (v0_1.startsWith("dev_mount")) {
                    String v0_2 = v0_1.split(" ");
                    if (v0_2.length > 2) {
                        String v0_3 = v0_2[2];
                        if (v0_3.contains(":")) {
                            v0_3 = v0_3.substring(0, v0_3.indexOf(":"));
                        }
                        if (!v0_3.equals(android.os.Environment.getExternalStorageDirectory().getAbsolutePath())) {
                            v1_1.add(v0_3);
                        }
                    }
                }
            }
            v2_0.close();
            return v1_1;
        }
    }

Method ru.yandex.disk.autoupload.observer.a.a() calling method java.io.File.<init>()


    private void a(java.util.ArrayList p7, java.util.Set p8)
    {
        int v0_2 = this.b.a("SECONDARY_STORAGE");
        if (v0_2 != 0) {
            String[] v1_2 = v0_2.split(":");
            int v2 = v1_2.length;
            int v0_1 = 0;
            while (v0_1 < v2) {
                ru.yandex.disk.autoupload.observer.j$a v3_0 = v1_2[v0_1];
                if (v3_0.length() > 0) {
                    p8.add(v3_0);
                    java.io.File v4_2 = new java.io.File(v3_0);
                    p7.add(new ru.yandex.disk.autoupload.observer.j$a(v4_2, this.a(v4_2)));
                }
                v0_1++;
            }
        }
        return;
    }

Method ru.yandex.disk.asyncbitmap.t.c() calling method java.io.File.<init>()


    private void c()
    {
        String v2_0 = this.b();
        if (v2_0 != null) {
            boolean v0_5 = v2_0.list();
            if (v0_5) {
                java.io.File v3_3 = new java.util.ArrayList(java.util.Arrays.asList(v0_5));
                int v4_0 = this.a.c();
                Throwable v1_0 = 0;
                try {
                    if (v3_3.size() != v4_0.getCount()) {
                        while (v4_0.moveToNext()) {
                            v3_3.remove(v4_0.f());
                        }
                        if (v4_0 != 0) {
                            if (0 == 0) {
                                v4_0.close();
                            } else {
                                try {
                                    v4_0.close();
                                } catch (boolean v0) {
                                }
                            }
                        }
                        if (ru.yandex.disk.gs.c) {
                            ru.yandex.disk.Log.b("GoldenCache", new StringBuilder().append("collectGarbage: ").append(v3_3.size()).toString());
                        }
                        Throwable v1_6 = v3_3.iterator();
                        while (v1_6.hasNext()) {
                            java.io.File v3_1 = new java.io.File(v2_0, ((String) v1_6.next()));
                            if (!v3_1.delete()) {
                                v3_1.deleteOnExit();
                            }
                        }
                        return;
                    } else {
                        if (ru.yandex.disk.gs.c) {
                            ru.yandex.disk.Log.b("GoldenCache", "collectGarbage: nothing");
                        }
                        if (v4_0 != 0) {
                            if (0 == 0) {
                                v4_0.close();
                            } else {
                                try {
                                    v4_0.close();
                                } catch (boolean v0) {
                                }
                            }
                        }
                        return;
                    }
                } catch (boolean v0_14) {
                } catch (boolean v0_13) {
                    try {
                        throw v0_13;
                    } catch (Throwable v1_7) {
                        v1_0 = v0_13;
                        v0_14 = v1_7;
                        if (v4_0 != 0) {
                            if (v1_0 == null) {
                                v4_0.close();
                            } else {
                                try {
                                    v4_0.close();
                                } catch (Throwable v1) {
                                }
                            }
                        }
                        throw v0_14;
                    }
                }
            } else {
                ru.yandex.disk.Log.c("GoldenCache", "collectGarbage: files is null");
            }
        }
        return;
    }

Method ru.yandex.disk.asyncbitmap.t.b() calling method java.io.File.<init>()


    private java.io.File b(String p3)
    {
        java.io.File v0_1;
        java.io.File v1 = this.b();
        if (v1 != null) {
            v0_1 = new java.io.File(v1, p3);
        } else {
            v0_1 = 0;
        }
        return v0_1;
    }

Method ru.yandex.disk.Storage.z() calling method java.io.File.<init>()


    public void z()
    {
        new java.io.File(this.g(), ".storageId").delete();
        return;
    }

Method ru.yandex.disk.Storage.y() calling method java.io.File.<init>()


    public String y()
    {
        String v0_3 = new StringBuilder().append(this.h().getAbsolutePath()).append("/editor").toString();
        java.io.File v1_1 = new java.io.File(v0_3);
        if (!v1_1.exists()) {
            v1_1.mkdirs();
        }
        return v0_3;
    }

Method ru.yandex.disk.Storage.t() calling method java.io.File.<init>()


    public boolean t()
    {
        java.io.File v3 = this.n();
        java.io.File v4 = this.J();
        java.io.File v0_6 = this.O();
        v0_6.addAll(ru.yandex.disk.download.p.a(this.c).h());
        java.io.File v5_0 = v4.getPath();
        java.io.File v6_0 = v0_6.iterator();
        while (v6_0.hasNext()) {
            boolean v2_2;
            java.io.File v0_8 = ((String) v6_0.next());
            java.io.File v7_1 = new java.io.File(v0_8);
            boolean v8 = v7_1.getPath().startsWith(v5_0);
            if (!v8) {
                v2_2 = ru.yandex.disk.Storage.a;
            } else {
                v2_2 = ru.yandex.disk.provider.l.d;
            }
            java.io.File v1_11;
            if (!v8) {
                v1_11 = "/offline";
            } else {
                v1_11 = "/offline_photounlim";
            }
            java.io.File v1_13 = new java.io.File(v0_8.replaceFirst(v2_2, v1_11));
            java.io.File v0_10 = v1_13.getParentFile();
            if (!v0_10.exists()) {
                v0_10.mkdirs();
            }
            v7_1.renameTo(v1_13);
        }
        java.io.File v0_1 = this.I();
        java.io.File v1_2 = this.i("/offline_photounlim");
        boolean v2_1 = ru.yandex.disk.util.ak.c(this.n());
        java.io.File v5_2 = ru.yandex.disk.util.ak.c(this.o());
        java.io.File v6_1 = ru.yandex.disk.util.ak.c(v4);
        v0_1.renameTo(v3);
        v1_2.renameTo(v4);
        java.io.File v0_5 = (((ru.yandex.disk.util.ak.b(v2_1) | ru.yandex.disk.util.ak.b(v5_2)) | ru.yandex.disk.util.ak.b(v6_1)) | this.u());
        this.f.k();
        this.N();
        return v0_5;
    }

Method ru.yandex.disk.Storage.r() calling method java.io.File.<init>()


    public long r()
    {
        long v2_2 = new java.util.ArrayList();
        v2_2.addAll(this.O());
        v2_2.addAll(ru.yandex.disk.download.p.a(this.c).h());
        java.util.Iterator v4 = v2_2.iterator();
        long v2_1 = 0;
        while (v4.hasNext()) {
            v2_1 = (new java.io.File(((String) v4.next())).length() + v2_1);
        }
        return v2_1;
    }

Method ru.yandex.disk.Storage.k() calling method java.io.File.<init>()


    public java.io.File k()
    {
        boolean v0_1 = this.j.b();
        if ((!v0_1) || (!"mounted".equals(android.os.Environment.getExternalStorageState()))) {
            v0_1 = this.H();
        }
        java.io.File v1_1 = new java.io.File(v0_1, "goldenCache");
        if (!v1_1.exists()) {
            v1_1.mkdir();
        }
        return v1_1;
    }

Method ru.yandex.disk.Storage.i() calling method java.io.File.<init>()


    public java.io.File i()
    {
        java.io.File v1_1 = new java.io.File(this.h(), "Reports");
        if (!v1_1.exists()) {
            v1_1.mkdir();
        }
        return v1_1;
    }

Method ru.yandex.disk.Storage.g() calling method java.io.File.<init>()


    public void g(String p3)
    {
        if (p3 != null) {
            java.io.File v0_1 = new java.io.File(p3, ".storageId");
            String v1_1 = this.Q();
            if (v1_1 != null) {
                ru.yandex.disk.util.ak.b(v0_1, v1_1.l());
            }
        }
        return;
    }

Method ru.yandex.disk.Storage.f() calling method java.io.File.<init>()


    public boolean f(String p3)
    {
        int v0_2;
        int v0_3 = new java.io.File(p3, ".storageId");
        String v1_1 = this.Q();
        if (v1_1 == null) {
            v0_2 = 0;
        } else {
            v0_2 = v1_1.l().equals(ru.yandex.disk.util.ak.d(v0_3));
        }
        return v0_2;
    }

Method ru.yandex.disk.Storage.f() calling method java.io.File.<init>()


    public void f(java.io.File p4)
    {
        java.io.File v0_0 = this.g();
        if (!p4.getAbsolutePath().startsWith(v0_0.getAbsolutePath())) {
            v0_0 = new java.io.File(this.H(), "/Android/data/ru.yandex.disk/files");
        }
        ru.yandex.disk.Storage.a(p4, v0_0);
        return;
    }

Method ru.yandex.disk.Storage.e() calling method java.io.File.<init>()


    public boolean e(String p3)
    {
        return new java.io.File(p3, ".storageId").exists();
    }

Method ru.yandex.disk.Storage.e() calling method java.io.File.<init>()


    public void e()
    {
        boolean v0_0 = this.b();
        if ((!v0_0.a()) && (!new java.io.File(v0_0.b()).exists())) {
            this.G();
        }
        return;
    }

Method ru.yandex.disk.Storage.b() calling method java.io.File.<init>()


    public boolean b(String p4)
    {
        if ((!new java.io.File(new java.io.File(this.H(), "/Android/data/ru.yandex.disk/files"), p4).exists()) && (!new java.io.File(this.g(), p4).exists())) {
            int v0_4 = 0;
        } else {
            v0_4 = 1;
        }
        return v0_4;
    }

Method ru.yandex.disk.Storage.b() calling method java.io.File.<init>()


    public boolean b(java.io.File p10)
    {
        int v2 = 0;
        int v0_3 = this.n().getAbsolutePath();
        int v3_2 = p10.getAbsolutePath();
        if (v3_2.startsWith(v0_3)) {
            String[] v5 = v3_2.substring(v0_3.length()).split("/");
            int v6 = v5.length;
            int v3_1 = 0;
            String v4_2 = v0_3;
            int v0_0 = 1;
            while (v3_1 < v6) {
                v4_2 = new StringBuilder().append(v4_2).append("/").append(v5[v3_1]).toString();
                java.io.File v7_2 = new java.io.File(v4_2);
                if ((v0_0 == 0) || (!ru.yandex.disk.Storage.a(v7_2))) {
                    v0_0 = 0;
                } else {
                    v0_0 = 1;
                }
                v3_1++;
            }
            v2 = v0_0;
        }
        return v2;
    }

Method ru.yandex.disk.Storage.a() calling method java.io.File.<init>()


    public void a(String p5, String p6)
    {
        new java.io.File(new StringBuilder().append(this.m()).append(p5).toString()).renameTo(new java.io.File(new StringBuilder().append(this.m()).append(p6).toString()));
        return;
    }

Method ru.yandex.disk.Storage.a() calling method java.io.File.<init>()


    public void a(String p4)
    {
        ark>ru.yandex.disk.Storageark>.a(p4, new java.io.File(this.H(), "/Android/data/ru.yandex.disk/files"));
        ark>ru.yandex.disk.Storageark>.a(p4, this.g());
        this.a(new com.yandex.b.a(p4));
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("Storage", new StringBuilder().append("deleteFileOrFolder(").append(p4).append(")").toString());
        }
        return;
    }

Method ru.yandex.disk.Storage.A() calling method java.io.File.<init>()


    public java.io.File A()
    {
        return new java.io.File(this.h(), "to_upload");
    }

Method ru.yandex.disk.Storage.i() calling method java.io.File.<init>()


    private static void i(java.io.File p4)
    {
        if (p4 != null) {
            try {
                if ((p4.exists()) || (p4.mkdirs())) {
                    if (p4.isDirectory()) {
                        String v0_1 = new java.io.File(p4, ".nomedia");
                        if (v0_1.exists()) {
                            if (ru.yandex.disk.gs.c) {
                                ru.yandex.disk.Log.b("Storage", ".nomedia exists");
                            }
                        } else {
                            if (!v0_1.createNewFile()) {
                                throw new java.io.IOException(new StringBuilder().append("nomedia.createNewFile() = false, nomedia = ").append(v0_1).toString());
                            }
                        }
                        ru.yandex.disk.Storage.a(p4);
                    } else {
                        throw new java.io.IOException(new StringBuilder().append("Is NOT a dir: ").append(p4).toString());
                    }
                } else {
                    throw new java.io.IOException(new StringBuilder().append("dir.mkdirs() = false, dir: ").append(p4).toString());
                }
            } catch (String v0_12) {
                throw new ru.yandex.disk.Storage$StorageInitException(v0_12);
            }
        }
        return;
    }

Method ru.yandex.disk.Storage.i() calling method java.io.File.<init>()


    private java.io.File i(String p3)
    {
        java.io.File v0_1 = new java.io.File(this.h(), p3);
        if (!v0_1.exists()) {
            v0_1.mkdir();
        }
        return v0_1;
    }

Method ru.yandex.disk.Storage.h() calling method java.io.File.<init>()


    private ru.yandex.disk.Storage$b h(String p2)
    {
        return this.g(new java.io.File(p2));
    }

Method ru.yandex.disk.Storage.b() calling method java.io.File.<init>()


    private void b(android.content.Intent p5)
    {
        if (!this.k.f()) {
            java.util.Map v0_2 = new java.io.File(p5.getData().getPath(), "/Android/data/ru.yandex.disk/files").getPath();
            if (this.f(v0_2)) {
                this.k.b(1);
                if (v0_2.equals(this.g().getAbsolutePath())) {
                    ru.yandex.disk.util.y.a(this.c, "isCorrectCacheSwitch() has lagged state", java.util.Collections.singletonMap("path", v0_2));
                } else {
                    this.l.a(new ru.yandex.disk.c.e(v0_2, 1));
                }
            }
        }
        return;
    }

Method ru.yandex.disk.Storage.D() calling method java.io.File.<init>()


    private java.io.File D()
    {
        java.io.File v0_1;
        String v1 = this.C();
        if (v1 != null) {
            v0_1 = new java.io.File(v1);
        } else {
            v0_1 = 0;
        }
        return v0_1;
    }

Method ru.yandex.disk.StatusActivity$a.a() calling method java.io.File.<init>()


    private void a(java.io.File p3, java.io.File p4)
    {
        java.io.IOException v0_1 = new java.io.File(p4, p3.getName());
        if (!p3.exists()) {
            throw new java.io.IOException();
        } else {
            com.google.common.io.Files.a(p3, v0_1);
            return;
        }
    }

Method ru.yandex.disk.Log.a() calling method java.io.File.<init>()


    public static java.io.File a(android.content.Context p3)
    {
        return new java.io.File(p3.getFilesDir(), "logs.txt");
    }

Method ru.yandex.disk.DiskApplication.D() calling method java.io.File.<init>()


    private void D()
    {
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("DiskApplication", new StringBuilder().append("startMethodTracing: ").append(this.e).append(", ").append(this.k.k()).toString());
        }
        this.E();
        if ((this.e <= 0) && (this.k.k())) {
            this.b.postDelayed(this.o, 600000);
            android.widget.Toast v0_11 = ((ru.yandex.disk.Storage) ru.yandex.disk.util.bm.a(this.a(ru.yandex.disk.Storage)));
            String v1_11 = new StringBuilder().append(android.os.Environment.getExternalStorageDirectory()).append("/Android/data/ru.yandex.disk/files").append("/methodTracing").toString();
            if (!v0_11.f()) {
                ru.yandex.disk.Log.c("DiskApplication", new StringBuilder().append("SD card is unmounted caused error creating dir (mkdirs): ").append(v1_11).toString());
                android.widget.Toast v0_15 = new Object[1];
                v0_15[0] = v1_11;
                android.widget.Toast.makeText(this, this.getString(2131428103, v0_15), 1).show();
            } else {
                android.widget.Toast v0_19 = new java.io.File(v1_11);
                if ((v0_19.exists()) || (v0_19.mkdirs())) {
                    this.n = new ru.yandex.disk.util.bf(new StringBuilder().append(v1_11).append("/trace").toString());
                } else {
                    ru.yandex.disk.Log.c("DiskApplication", new StringBuilder().append("Error creating dir (mkdirs): ").append(v1_11).toString());
                    android.widget.Toast v0_0 = new Object[1];
                    v0_0[0] = v1_11;
                    android.widget.Toast.makeText(this, this.getString(2131428103, v0_0), 1).show();
                }
            }
        }
        return;
    }

Method it.sephiroth.android.library.picasso.RequestCreator.<init>() calling method java.io.File.<init>()


    RequestCreator(it.sephiroth.android.library.picasso.Picasso p3, android.net.Uri p4, int p5)
    {
        this.fadeTime = 200;
        this.setPlaceholder = 1;
        if (!p3.shutdown) {
            if ((p4 != null) && (p4.getScheme() == null)) {
                p4 = android.net.Uri.fromFile(new java.io.File(p4.getPath()));
            }
            this.picasso = p3;
            this.data = new it.sephiroth.android.library.picasso.Request$Builder(p4, p5, p3.defaultBitmapConfig);
            this.data.setCache(p3.getCache());
            return;
        } else {
            throw new IllegalStateException("Picasso instance already shut down. Cannot submit new requests.");
        }
    }

Method it.sephiroth.android.library.exif2.ExifInterface.writeExif() calling method java.io.File.<init>()


    public void writeExif(String p5)
    {
        android.util.Log.i("ExifInterface", new StringBuilder().append("writeExif: ").append(p5).toString());
        java.io.IOException v0_2 = new java.io.File(p5);
        java.io.File v1_3 = new java.io.File(new StringBuilder().append(p5).append(".t").toString());
        v1_3.delete();
        try {
            this.writeExif(v0_2.getAbsolutePath(), v1_3.getAbsolutePath());
            v1_3.renameTo(v0_2);
            v1_3.delete();
            return;
        } catch (java.io.IOException v0_4) {
            v1_3.delete();
            throw v0_4;
        } catch (java.io.IOException v0_3) {
            throw v0_3;
        }
    }

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


    public static ark>com.squareup.okhttp.internal.aark> a(java.io.File p7, int p8, int p9, long p10)
    {
        if (p10 > 0) {
            if (p9 > 0) {
                void v0_8 = new java.io.File(p7, "journal.bkp");
                if (v0_8.exists()) {
                    String v1_1 = new java.io.File(p7, "journal");
                    if (!v1_1.exists()) {
                        ark>com.squareup.okhttp.internal.aark>.a(v0_8, v1_1, 0);
                    } else {
                        v0_8.delete();
                    }
                }
                void v0_5;
                void v0_3 = new ark>com.squareup.okhttp.internal.aark>(p7, p8, p9, p10);
                if (!v0_3.d.exists()) {
                    p7.mkdirs();
                    v0_5 = new ark>com.squareup.okhttp.internal.aark>(p7, p8, p9, p10).e();
                } else {
                    try {
                        v0_5 = v0_3.c().d();
                    } catch (String v1_5) {
                        com.squareup.okhttp.internal.f.a().a(new StringBuilder().append("DiskLruCache ").append(p7).append(" is corrupt: ").append(v1_5.getMessage()).append(", removing").toString());
                        v0_5.a();
                    }
                }
                return v0_5;
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

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


    private a(java.io.File p11, int p12, int p13, long p14)
    {
        this.j = 0;
        this.l = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.n = 0;
        this.b = new java.util.concurrent.ThreadPoolExecutor(0, 1, 60, java.util.concurrent.TimeUnit.SECONDS, new java.util.concurrent.LinkedBlockingQueue(), com.squareup.okhttp.internal.h.a("OkHttp DiskLruCache", 1));
        this.o = new com.squareup.okhttp.internal.a$1(this);
        this.c = p11;
        this.g = p12;
        this.d = new java.io.File(p11, "journal");
        this.e = new java.io.File(p11, "journal.tmp");
        this.f = new java.io.File(p11, "journal.bkp");
        this.i = p13;
        this.h = p14;
        return;
    }

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


    private a$b(com.squareup.okhttp.internal.a p8, String p9)
    {
        this.a = p8;
        this.b = p9;
        int v0_6 = new long[com.squareup.okhttp.internal.a.e(p8)];
        this.c = v0_6;
        int v0_8 = new java.io.File[com.squareup.okhttp.internal.a.e(p8)];
        this.d = v0_8;
        int v0_1 = new java.io.File[com.squareup.okhttp.internal.a.e(p8)];
        this.e = v0_1;
        StringBuilder v1_1 = new StringBuilder(p9).append(46);
        int v2 = v1_1.length();
        int v0_4 = 0;
        while (v0_4 < com.squareup.okhttp.internal.a.e(p8)) {
            v1_1.append(v0_4);
            this.d[v0_4] = new java.io.File(com.squareup.okhttp.internal.a.f(p8), v1_1.toString());
            v1_1.append(".tmp");
            this.e[v0_4] = new java.io.File(com.squareup.okhttp.internal.a.f(p8), v1_1.toString());
            v1_1.setLength(v2);
            v0_4++;
        }
        return;
    }

Method com.localytics.android.Utils.decompressZipFile() calling method java.io.File.<init>()


    static boolean decompressZipFile(String p8, String p9, String p10)
    {
        java.io.IOException v0 = 0;
        try {
            String v2_0 = new java.util.zip.ZipInputStream(new java.io.FileInputStream(new StringBuilder().append(p8).append(java.io.File.separator).append(p10).toString()));
            try {
                String v3_1 = new byte[8192];
            } catch (java.io.IOException v1_1) {
                com.localytics.android.Localytics$Log.w("Caught IOException", v1_1);
                if (v2_0 == null) {
                    return v0;
                } else {
                    try {
                        v2_0.close();
                    } catch (java.io.IOException v1_4) {
                        com.localytics.android.Localytics$Log.w("Caught IOException", v1_4);
                    }
                    return v0;
                }
            }
            while(true) {
                String v4_1 = v2_0.getNextEntry();
                if (v4_1 == null) {
                    if (v2_0 != null) {
                        try {
                            v2_0.close();
                        } catch (java.io.IOException v1_3) {
                            com.localytics.android.Localytics$Log.w("Caught IOException", v1_3);
                            return v0;
                        }
                    }
                    v0 = 1;
                    return v0;
                } else {
                    int v5_8 = new StringBuilder().append(p9).append(java.io.File.separator).append(v4_1.getName()).toString();
                    if (!v4_1.isDirectory()) {
                        String v4_5 = new java.io.FileOutputStream(v5_8);
                        while(true) {
                            int v5_11 = v2_0.read(v3_1, 0, v3_1.length);
                            if (v5_11 <= 0) {
                                break;
                            }
                        }
                        v4_5.close();
                        v2_0.closeEntry();
                    } else {
                        if (new java.io.File(v5_8).mkdir()) {
                        } else {
                            int v6_5 = new Object[1];
                            v6_5[0] = v5_8;
                            com.localytics.android.Localytics$Log.w(String.format("Could not create directory %s", v6_5));
                        }
                    }
                }
            }
            v4_5.write(v3_1, 0, v5_11);
        } catch (java.io.IOException v1_2) {
            v2_0 = 8192;
            if (v2_0 != null) {
                try {
                    v2_0.close();
                } catch (java.io.IOException v1_5) {
                    com.localytics.android.Localytics$Log.w("Caught IOException", v1_5);
                    return v0;
                }
            }
            throw v1_2;
        } catch (java.io.IOException v1_1) {
            v2_0 = 8192;
        } catch (java.io.IOException v1_2) {
        }
    }

Method com.localytics.android.Utils.copyDirectory() calling method java.io.File.<init>()


    static void copyDirectory(java.io.File p6, java.io.File p7)
    {
        com.localytics.android.Utils.validateDirectoryRequirements(p6, p7);
        String v1_5 = p6.listFiles();
        if (v1_5 != null) {
            if (p7.exists()) {
                if (!p7.isDirectory()) {
                    throw new java.io.IOException(new StringBuilder().append(p7).append(" exists but it\'s not a directory").toString());
                }
            } else {
                if ((!p7.mkdirs()) && (!p7.isDirectory())) {
                    throw new java.io.IOException(new StringBuilder().append("Failed to create directory ").append(p7).toString());
                }
            }
            String v2_1 = v1_5.length;
            int v0_4 = 0;
            while (v0_4 < v2_1) {
                String v3 = v1_5[v0_4];
                java.io.File v4_1 = new java.io.File(p7, v3.getName());
                if (!v3.isFile()) {
                    com.localytics.android.Utils.copyDirectory(v3, v4_1);
                } else {
                    com.localytics.android.Utils.copyFile(v3, v4_1);
                }
                v0_4++;
            }
            return;
        } else {
            throw new java.io.IOException(new StringBuilder().append("Failed to list files from ").append(p6).toString());
        }
    }

Method com.localytics.android.ProfileProvider.canAddToDB() calling method java.io.File.<init>()


    boolean canAddToDB()
    {
        int v0_1;
        if (new java.io.File(this.mDb.getPath()).length() >= this.maxSiloDbSize()) {
            v0_1 = 0;
        } else {
            v0_1 = 1;
        }
        return v0_1;
    }

Method com.localytics.android.MarketingWebViewManager.isPathWithinCreativeDir() calling method java.io.File.<init>()


    private boolean isPathWithinCreativeDir(String p5)
    {
        int v0_8;
        if (android.text.TextUtils.isEmpty(p5)) {
            v0_8 = 0;
        } else {
            try {
                int v0_10 = new java.io.File(p5).getCanonicalFile();
                java.io.File v1 = v0_10;
            } catch (java.io.File v1) {
                v1 = v0_10.getAbsoluteFile();
            }
            boolean v2_1 = new java.io.File(((String) this.mCampaign.getWebViewAttributes().get("base_path")));
            int v0_6 = 0;
            if (v2_1) {
                try {
                    v0_6 = v2_1.getCanonicalFile();
                } catch (int v0) {
                    v0_6 = v2_1.getAbsoluteFile();
                }
            }
            while ((v1 != null) && (v1.exists())) {
                if (!v1.equals(v0_6)) {
                    v1 = v1.getParentFile();
                } else {
                    v0_8 = 1;
                }
            }
        }
        return v0_8;
    }

Method com.localytics.android.MarketingProvider.moveCreativesIfNecessary() calling method java.io.File.<init>()


    void moveCreativesIfNecessary(int p5)
    {
        if (p5 < 21) {
            com.localytics.android.Localytics$Log.v("No need to move creatives.");
        } else {
            String v1_2 = new java.io.File(com.localytics.android.CreativeManager.getOldZipFileDirPath(this.mLocalyticsDao));
            String v2_0 = new java.io.File(com.localytics.android.CreativeManager.getZipFileDirPath(this.mLocalyticsDao));
            try {
                if (this.mDatabaseJustMoved) {
                    com.localytics.android.Utils.copyDirectory(v1_2, v2_0);
                    com.localytics.android.Localytics$Log.v(new StringBuilder().append("Moved creatives from ").append(v1_2).append(" to newCreativeRootDir").toString());
                }
            } catch (String v0_11) {
                if (!v1_2.isDirectory()) {
                    com.localytics.android.Localytics$Log.v("Old creative directory doesn\'t exist", v0_11);
                } else {
                    com.localytics.android.Utils.deleteFile(v2_0);
                    com.localytics.android.Localytics$Log.e("Failed to copy creative file", v0_11);
                }
                if (!this.mDatabaseJustMoved) {
                    return;
                } else {
                    com.localytics.android.Utils.deleteFile(v1_2);
                    com.localytics.android.Localytics$Log.v("Removed old creatives folder.");
                    return;
                }
            } catch (String v0_14) {
                if (this.mDatabaseJustMoved) {
                    com.localytics.android.Utils.deleteFile(v1_2);
                    com.localytics.android.Localytics$Log.v("Removed old creatives folder.");
                }
                throw v0_14;
            }
            if (this.mDatabaseJustMoved) {
                com.localytics.android.Utils.deleteFile(v1_2);
                com.localytics.android.Localytics$Log.v("Removed old creatives folder.");
            }
        }
        return;
    }

Method com.localytics.android.MarketingProvider$MarketingDatabaseHelper.setUpFrequencyCappingTables() calling method java.io.File.<init>()


    protected void setUpFrequencyCappingTables(android.database.sqlite.SQLiteDatabase p11)
    {
        String v1_11 = new Object[5];
        v1_11[0] = "frequency_capping_rules";
        v1_11[1] = "_id";
        v1_11[2] = "campaign_id";
        v1_11[3] = "max_display_count";
        v1_11[4] = "ignore_global";
        p11.execSQL(String.format("CREATE TABLE %s (%s INTEGER PRIMARY KEY AUTOINCREMENT, %s INTEGER UNIQUE, %s INTEGER, %s INTEGER);", v1_11));
        String v1_16 = new Object[8];
        v1_16[0] = "frequency_capping_display_frequencies";
        v1_16[1] = "_id";
        v1_16[2] = "frequency_id";
        v1_16[3] = "count";
        v1_16[4] = "days";
        v1_16[5] = "frequency_id";
        v1_16[6] = "frequency_capping_rules";
        v1_16[7] = "_id";
        p11.execSQL(String.format("CREATE TABLE %s (%s INTEGER PRIMARY KEY AUTOINCREMENT, %s INTEGER NOT NULL, %s INTEGER NOT NULL, %s INTEGER NOT NULL, FOREIGN KEY(%s) REFERENCES %s(%s) ON DELETE CASCADE);", v1_16));
        String v1_18 = new Object[8];
        v1_18[0] = "frequency_capping_blackout_dates";
        v1_18[1] = "frequency_id";
        v1_18[2] = "rule_group_id";
        v1_18[3] = "start";
        v1_18[4] = "end";
        v1_18[5] = "frequency_id";
        v1_18[6] = "frequency_capping_rules";
        v1_18[7] = "_id";
        p11.execSQL(String.format("CREATE TABLE %s (%s INTEGER NOT NULL, %s INTEGER NOT NULL, %s INTEGER NOT NULL, %s INTEGER NOT NULL, FOREIGN KEY(%s) REFERENCES %s(%s) ON DELETE CASCADE);", v1_18));
        String v1_20 = new Object[7];
        v1_20[0] = "frequency_capping_blackout_weekdays";
        v1_20[1] = "frequency_id";
        v1_20[2] = "rule_group_id";
        v1_20[3] = "day";
        v1_20[4] = "frequency_id";
        v1_20[5] = "frequency_capping_rules";
        v1_20[6] = "_id";
        p11.execSQL(String.format("CREATE TABLE %s (%s INTEGER NOT NULL, %s INTEGER NOT NULL, %s INTEGER NOT NULL, FOREIGN KEY(%s) REFERENCES %s(%s) ON DELETE CASCADE);", v1_20));
        String v1_2 = new Object[8];
        v1_2[0] = "frequency_capping_blackout_times";
        v1_2[1] = "frequency_id";
        v1_2[2] = "rule_group_id";
        v1_2[3] = "start";
        v1_2[4] = "end";
        v1_2[5] = "frequency_id";
        v1_2[6] = "frequency_capping_rules";
        v1_2[7] = "_id";
        p11.execSQL(String.format("CREATE TABLE %s (%s INTEGER NOT NULL, %s INTEGER NOT NULL, %s INTEGER NOT NULL, %s INTEGER NOT NULL, FOREIGN KEY(%s) REFERENCES %s(%s) ON DELETE CASCADE);", v1_2));
        java.util.ArrayList v9_1 = new java.util.ArrayList();
        try {
            int v2_10 = new String[1];
            v2_10[0] = "campaign_id";
            String v1_4 = p11.query("marketing_displayed", v2_10, 0, 0, 0, 0, 0);
            try {
                while (v1_4.moveToNext()) {
                    v9_1.add(Integer.valueOf(v1_4.getInt(v1_4.getColumnIndexOrThrow("campaign_id"))));
                }
            } catch (java.io.File v0_7) {
                if (v1_4 != null) {
                    v1_4.close();
                }
                throw v0_7;
            }
            if (v1_4 != null) {
                v1_4.close();
            }
            String v1_6 = new Object[4];
            v1_6[0] = "campaigns_displayed";
            v1_6[1] = "campaign_id";
            v1_6[2] = "date";
            v1_6[3] = "ignore_global";
            p11.execSQL(String.format("CREATE TABLE %s (%s INTEGER NOT NULL, %s INTEGER NOT NULL, %s INTEGER NOT NULL);", v1_6));
            String v1_7 = v9_1.iterator();
            while (v1_7.hasNext()) {
                java.io.File v0_21 = ((Integer) v1_7.next());
                String v3_22 = new Object[1];
                v3_22[0] = "campaigns_displayed";
                int v2_19 = String.format("INSERT INTO %s VALUES (?, datetime(0,\'unixepoch\'), ?);", v3_22);
                String v3_24 = new Integer[2];
                v3_24[0] = v0_21;
                v3_24[1] = Integer.valueOf(1);
                p11.execSQL(v2_19, v3_24);
            }
            String v1_9 = new Object[1];
            v1_9[0] = "marketing_displayed";
            p11.execSQL(String.format("DROP TABLE %s", v1_9));
            String v1_12 = new Object[1];
            v1_12[0] = "marketing_rules";
            p11.execSQL(String.format("DELETE FROM %s", v1_12));
            com.localytics.android.BaseProvider.deleteDirectory(new java.io.File(com.localytics.android.CreativeManager.getZipFileDirPath(this.mLocalyticsDao)));
            return;
        } catch (java.io.File v0_7) {
            v1_4 = 0;
        }
    }

Method com.localytics.android.MarketingHandler._createLocalyticsDirectory() calling method java.io.File.<init>()


    private boolean _createLocalyticsDirectory(android.content.Context p3)
    {
        int v0_1 = new StringBuilder();
        if (!this.mLocalyticsDao.isUsingNewCreativeLocation()) {
            v0_1.append(p3.getFilesDir().getAbsolutePath());
        } else {
            v0_1.append(p3.getNoBackupFilesDir().getAbsolutePath());
        }
        int v0_5;
        v0_1.append(java.io.File.separator);
        v0_1.append(".localytics");
        java.io.File v1_6 = new java.io.File(v0_1.toString());
        if ((!v1_6.mkdirs()) && (!v1_6.isDirectory())) {
            v0_5 = 0;
        } else {
            v0_5 = 1;
        }
        return v0_5;
    }

Method com.localytics.android.LocationProvider.canAddToDB() calling method java.io.File.<init>()


    boolean canAddToDB()
    {
        int v0_1;
        if (new java.io.File(this.mDb.getPath()).length() >= this.maxSiloDbSize()) {
            v0_1 = 0;
        } else {
            v0_1 = 1;
        }
        return v0_1;
    }

Method com.localytics.android.InboxWebViewController.creativePathExists() calling method java.io.File.<init>()


    private boolean creativePathExists()
    {
        return new java.io.File(android.net.Uri.parse(((String) this.mCampaign.getWebViewAttributes().get("html_url"))).getPath()).exists();
    }

Method com.localytics.android.InboxManager._removeInboxAssetFiles() calling method java.io.File.<init>()


    void _removeInboxAssetFiles(long p6)
    {
        String v0_5 = com.localytics.android.CreativeManager.getInboxLocalFileURL(p6, 1, this.mLocalyticsDao);
        com.localytics.android.Utils.deleteFile(new java.io.File(com.localytics.android.CreativeManager.getInboxUnzipFileDirPath(p6, this.mLocalyticsDao)));
        if (!new java.io.File(v0_5).delete()) {
            Object[] v2_0 = new Object[1];
            v2_0[0] = v0_5;
            com.localytics.android.Localytics$Log.w(String.format("Delete %s failed.", v2_0));
        }
        String v0_3 = com.localytics.android.ThumbnailManager.getInboxLocalThumbnailLocation(p6, this.mLocalyticsDao);
        if (new java.io.File(v0_3).delete()) {
            Object[] v2_1 = new Object[1];
            v2_1[0] = v0_3;
            com.localytics.android.Localytics$Log.w(String.format("Delete %s successfully.", v2_1));
        }
        return;
    }

Method com.localytics.android.InboxManager._getInboxCampaigns() calling method java.io.File.<init>()


    java.util.List _getInboxCampaigns()
    {
        java.util.ArrayList v9_1 = new java.util.ArrayList();
        try {
            com.localytics.android.InboxCampaign v0_10 = this.mProvider;
            String v4_0 = new Object[1];
            v4_0[0] = "expiration";
            String v3_0 = String.format("%s > ?", v4_0);
            String v4_27 = new String[1];
            v4_27[0] = Long.toString((this.mLocalyticsDao.getCurrentTimeMillis() / 1000));
            String v10_12 = new Object[1];
            v10_12[0] = "sort_order";
            int v1_0 = v0_10.query("inbox_campaigns", 0, v3_0, v4_27, String.format("%s DESC", v10_12));
            try {
                while (v1_0.moveToNext()) {
                    com.localytics.android.InboxCampaign v0_21;
                    String v2_3 = v1_0.getLong(v1_0.getColumnIndexOrThrow("_id"));
                    String v4_47 = new com.localytics.android.InboxCampaign$Builder().setCampaignId(v1_0.getLong(v1_0.getColumnIndexOrThrow("campaign_id"))).setInboxId(v2_3).setRuleName(v1_0.getString(v1_0.getColumnIndexOrThrow("rule_name"))).setTitle(v1_0.getString(v1_0.getColumnIndexOrThrow("listing_title"))).setSummary(v1_0.getString(v1_0.getColumnIndexOrThrow("listing_summary"))).setSortOrder(((long) v1_0.getInt(v1_0.getColumnIndexOrThrow("sort_order"))));
                    if (v1_0.getInt(v1_0.getColumnIndexOrThrow("read")) <= 0) {
                        v0_21 = 0;
                    } else {
                        v0_21 = 1;
                    }
                    com.localytics.android.InboxCampaign v0_4 = v4_47.setRead(v0_21).setAbTest(v1_0.getString(v1_0.getColumnIndexOrThrow("ab_test"))).setVersion(((long) v1_0.getInt(v1_0.getColumnIndexOrThrow("version")))).setReceivedDate(v1_0.getLong(v1_0.getColumnIndexOrThrow("received_date"))).setSchemaVersion(((long) v1_0.getInt(v1_0.getColumnIndexOrThrow("schema_version")))).setAttributes(this._getAttributes(v2_3));
                    String v4_18 = v1_0.getString(v1_0.getColumnIndexOrThrow("thumbnail_location"));
                    if (!android.text.TextUtils.isEmpty(v4_18)) {
                        java.util.HashMap v5_3 = com.localytics.android.ThumbnailManager.getInboxLocalThumbnailLocation(v2_3, this.mLocalyticsDao);
                        v0_4.setThumbnailUri(android.net.Uri.parse(v4_18));
                        v0_4.setLocalThumbnailUri(android.net.Uri.fromFile(new java.io.File(v5_3)));
                    }
                    String v4_25 = v1_0.getString(v1_0.getColumnIndexOrThrow("creative_location"));
                    if (!android.text.TextUtils.isEmpty(v4_25)) {
                        v0_4.setCreativeUri(android.net.Uri.parse(v4_25));
                        v0_4.setLocalCreativeUri(android.net.Uri.parse(new StringBuilder().append("file://").append(com.localytics.android.CreativeManager.getInboxLocalHtmlLocation(v2_3, this.mLocalyticsDao)).toString()));
                        java.util.HashMap v5_14 = new java.util.HashMap();
                        String v6_8 = new StringBuilder().append("file://").append(com.localytics.android.CreativeManager.getInboxLocalHtmlLocation(v2_3, this.mLocalyticsDao)).toString();
                        String v10_7 = com.localytics.android.CreativeManager.getInboxLocalFileURL(v2_3, v4_25.endsWith(".zip"), this.mLocalyticsDao);
                        v5_14.put("creative_url", v4_25);
                        v5_14.put("html_url", v6_8);
                        v5_14.put("base_path", com.localytics.android.CreativeManager.getInboxUnzipFileDirPath(v2_3, this.mLocalyticsDao));
                        Object[] v11_3 = new Object[1];
                        v11_3[0] = Long.valueOf(v2_3);
                        v5_14.put("zip_name", String.format("inbox_creative_assets_%d.zip", v11_3));
                        v5_14.put("local_file_location", v10_7);
                        v0_4.setWebViewAttributes(v5_14);
                    }
                    v9_1.add(v0_4.build());
                }
            } catch (com.localytics.android.InboxCampaign v0_5) {
                if (v1_0 != 0) {
                    v1_0.close();
                }
                throw v0_5;
            }
            if (v1_0 != 0) {
                v1_0.close();
            }
            return v9_1;
        } catch (com.localytics.android.InboxCampaign v0_5) {
            v1_0 = 0;
        }
    }

Method com.localytics.android.InboxManager._downloadInboxThumbnails() calling method java.io.File.<init>()


    void _downloadInboxThumbnails(java.util.List p9)
    {
        java.util.LinkedList v1_1 = new java.util.LinkedList();
        java.util.Iterator v2 = p9.iterator();
        while (v2.hasNext()) {
            String v0_2 = ((com.localytics.android.InboxCampaign) v2.next());
            if ((v0_2.hasThumbnail()) && (v0_2.getLocalThumbnailUri() != null)) {
                String v3_3 = v0_2.getLocalThumbnailUri().getPath();
                if (!new java.io.File(v3_3).exists()) {
                    com.localytics.android.MarketingMessage v4_4 = new com.localytics.android.MarketingMessage(v0_2.getWebViewAttributes());
                    v4_4.put("campaign_id", Long.valueOf(v0_2.getCampaignId()));
                    v4_4.put("download_url", v0_2.getThumbnailUri().toString());
                    v4_4.put("local_file_location", v3_3);
                    v1_1.add(v4_4);
                }
            }
        }
        if (v1_1.size() > 0) {
            this.mThumbnailManager.downloadThumbnails(v1_1);
        }
        return;
    }

Method com.localytics.android.InboxListItem.loadThumbnail() calling method java.io.File.<init>()


    private void loadThumbnail(android.net.Uri p3)
    {
        if ((p3 == null) || (!new java.io.File(p3.getPath()).exists())) {
            this.mThumbnailImageView.setImageURI(0);
        } else {
            this.mThumbnailImageView.setImageURI(p3);
        }
        return;
    }

Method com.localytics.android.InAppManager._deleteInAppCreative() calling method java.io.File.<init>()


    private void _deleteInAppCreative(int p4)
    {
        String v0_4 = com.localytics.android.CreativeManager.getInAppUnzipFileDirPath(((long) p4), this.mLocalyticsDao);
        if (v0_4 != null) {
            com.localytics.android.Utils.deleteFile(new java.io.File(v0_4));
            com.localytics.android.Utils.deleteFile(new java.io.File(new StringBuilder().append(v0_4).append(".zip").toString()));
        }
        return;
    }

Method com.localytics.android.DatapointHelper.getAndroidIdOrNull() calling method java.io.File.<init>()


    static String getAndroidIdOrNull(android.content.Context p6)
    {
        java.io.IOException v0_6;
        java.io.IOException v0_1 = new java.io.File(new StringBuilder().append(p6.getFilesDir()).append("/localytics/device_id").toString());
        if ((!v0_1.exists()) || (v0_1.length() <= 0)) {
            v0_6 = android.provider.Settings$Secure.getString(p6.getContentResolver(), "android_id");
            if ((v0_6 == null) || (v0_6.toLowerCase().equals("9774d56d682e549c"))) {
                v0_6 = 0;
            }
        } else {
            try {
                String v3_0 = new char[100];
                String v2_8 = new java.io.BufferedReader(new java.io.FileReader(v0_1), 128);
                try {
                    v0_6 = String.copyValueOf(v3_0, 0, v2_8.read(v3_0));
                    v2_8.close();
                } catch (java.io.IOException v0_3) {
                    com.localytics.android.Localytics$Log.w("Caught exception", v0_3);
                    if (v2_8 == null) {
                    } else {
                        v2_8.close();
                    }
                }
                if (v2_8 != null) {
                    v2_8.close();
                }
            } catch (java.io.IOException v0_4) {
                v2_8 = 0;
                if (v2_8 != null) {
                    v2_8.close();
                }
                throw v0_4;
            } catch (java.io.IOException v0_3) {
                v2_8 = 0;
            } catch (java.io.IOException v0_4) {
            } catch (java.io.IOException v0_7) {
                com.localytics.android.Localytics$Log.w("Caught exception", v0_7);
            }
        }
        return v0_6;
    }

Method com.localytics.android.CreativeManager.inAppCreativeExists() calling method java.io.File.<init>()


    boolean inAppCreativeExists(int p5)
    {
        return new java.io.File(com.localytics.android.CreativeManager.getInAppLocalHtmlLocation(((long) p5), this.mLocalyticsDao)).exists();
    }

Method com.localytics.android.CreativeManager.handleCreativeForCampaign() calling method java.io.File.<init>()


    protected void handleCreativeForCampaign(com.localytics.android.MarketingMessage p6)
    {
        if (com.localytics.android.JsonHelper.getSafeStringFromMap(p6, "creative_url").endsWith(".zip")) {
            String v0_12 = com.localytics.android.CreativeManager.getZipFileDirPath(this.mLocalyticsDao);
            String v1_1 = com.localytics.android.JsonHelper.getSafeStringFromMap(p6, "base_path");
            String v2_1 = com.localytics.android.JsonHelper.getSafeStringFromMap(p6, "zip_name");
            String v3_5 = new StringBuilder().append(v0_12).append(java.io.File.separator).append(v2_1).toString();
            if (!com.localytics.android.Utils.decompressZipFile(v0_12, v1_1, v2_1)) {
                com.localytics.android.Localytics$Log.e(new StringBuilder().append("Failed to unzip creative file: ").append(v3_5).toString());
            } else {
                com.localytics.android.Utils.deleteFile(new java.io.File(v3_5));
            }
        }
        return;
    }

Method com.localytics.android.CreativeManager.createDir() calling method java.io.File.<init>()


    protected static boolean createDir(String p4)
    {
        int v0 = 0;
        String v2_2 = new java.io.File(p4);
        if (((v2_2.exists()) && (v2_2.isDirectory())) || (v2_2.mkdirs())) {
            v0 = 1;
        } else {
            String v1_1 = new Object[1];
            v1_1[0] = v2_2.getAbsolutePath();
            com.localytics.android.Localytics$Log.w(String.format("Could not create the directory %s for saving the decompressed file.", v1_1));
        }
        return v0;
    }

Method com.localytics.android.CreativeDownloadTask.downloadFile() calling method java.io.File.<init>()


    boolean downloadFile(String p10, String p11, boolean p12, java.net.Proxy p13)
    {
        String v0_0 = 1;
        boolean v2_3 = new java.io.File(p11);
        if ((!v2_3.exists()) || (p12)) {
            String v3_5 = v2_3.getParentFile();
            if ((v3_5.mkdirs()) || (v3_5.isDirectory())) {
                java.io.BufferedInputStream v5_1 = new Object[2];
                v5_1[0] = p11;
                v5_1[1] = Long.valueOf(this.mLocalyticsDao.getCurrentTimeMillis());
                String v3_3 = new java.io.File(String.format("%s_%s_temp", v5_1));
                try {
                    if (!v3_3.createNewFile()) {
                        if ((v3_3.exists()) && (!v3_3.delete())) {
                            com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                        }
                    } else {
                        java.io.BufferedInputStream v5_3 = new java.io.BufferedInputStream(com.localytics.android.BaseUploadThread.createURLConnection(new java.net.URL(p10), p13).getInputStream(), 16384);
                        java.io.FileOutputStream v4_11 = new java.io.FileOutputStream(v3_3.getPath());
                        byte[] v6_6 = new byte[8192];
                        while(true) {
                            int v7 = v5_3.read(v6_6);
                            if (v7 == -1) {
                                break;
                            }
                            v4_11.write(v6_6, 0, v7);
                        }
                        v4_11.close();
                        if (v3_3.renameTo(v2_3)) {
                            if ((v3_3.exists()) && (!v3_3.delete())) {
                                com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                            }
                        } else {
                            com.localytics.android.Localytics$Log.e("Failed to create permanent file for campaign");
                            if ((v3_3.exists()) && (!v3_3.delete())) {
                                com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                            }
                            v0_0 = 0;
                        }
                        return v0_0;
                    }
                } catch (String v0_8) {
                    com.localytics.android.Localytics$Log.e("Failed to download campaign creative", v0_8);
                    if (v3_3.exists()) {
                        if (!v3_3.delete()) {
                            com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                        }
                    }
                } catch (String v0_12) {
                    if (v3_3.exists()) {
                        if (!v3_3.delete()) {
                            com.localytics.android.Localytics$Log.e("Failed to delete temporary file for campaign");
                        }
                    }
                    throw v0_12;
                }
                v0_0 = 0;
            } else {
                String v0_3 = new Object[1];
                v0_3[0] = v3_5.getAbsolutePath();
                com.localytics.android.Localytics$Log.w(String.format("Could not create the directory %s for saving file.", v0_3));
                v0_0 = 0;
            }
        } else {
            java.io.FileOutputStream v4_1 = new Object[1];
            v4_1[0] = v2_3.getAbsolutePath();
            com.localytics.android.Localytics$Log.w(String.format("The file %s does exist and overwrite is turned off.", v4_1));
        }
        return v0_0;
    }

Method com.localytics.android.AnalyticsProvider.canAddToDB() calling method java.io.File.<init>()


    boolean canAddToDB()
    {
        int v0_1;
        if (new java.io.File(this.mDb.getPath()).length() >= this.maxSiloDbSize()) {
            v0_1 = 0;
        } else {
            v0_1 = 1;
        }
        return v0_1;
    }

Method com.localytics.android.BaseProvider.vacuumIfNecessary() calling method java.io.File.<init>()


    void vacuumIfNecessary()
    {
        if (((double) new java.io.File(this.mDb.getPath()).length()) >= (((double) this.maxSiloDbSize()) * 0.8)) {
            this.runBatchTransaction(new com.localytics.android.BaseProvider$1(this));
        }
        return;
    }

Method com.localytics.android.BaseProvider.moveDatabaseIfNecessary() calling method java.io.File.<init>()


    boolean moveDatabaseIfNecessary(int p8, String p9)
    {
        String v0_0 = 1;
        if (p8 < 21) {
            v0_0 = 0;
        } else {
            java.io.File v3_1 = new java.io.File(com.localytics.android.BaseProvider.newDatabaseDir(this.mLocalyticsDao.getAppContext()), p9);
            String v2_2 = this.mLocalyticsDao.getAppContext().getDatabasePath(p9);
            if (!v2_2.exists()) {
                com.localytics.android.Localytics$Log.v("No need to move database.");
            } else {
                try {
                    com.localytics.android.Utils.deleteFile(v3_1);
                    com.localytics.android.Utils.copyFile(v2_2, v3_1);
                    com.localytics.android.Utils.deleteFile(v2_2);
                    com.localytics.android.Utils.deleteFile(new java.io.File(new StringBuilder().append(v2_2.getAbsolutePath()).append("-journal").toString()));
                    this.mDatabaseJustMoved = 1;
                    com.localytics.android.Localytics$Log.v(new StringBuilder().append("Moved database from ").append(v2_2).append(" to ").append(v3_1).toString());
                } catch (String v0_1) {
                    com.localytics.android.Localytics$Log.e("Exception while copying database to new location", v0_1);
                    v0_0 = 0;
                }
            }
        }
        return v0_0;
    }

Method com.localytics.android.BaseProvider.makeDatabasePath() calling method java.io.File.<init>()


    String makeDatabasePath(String p5, boolean p6)
    {
        String v0_3;
        android.content.Context v1_3 = new Object[2];
        v1_3[0] = com.localytics.android.DatapointHelper.getSha256_buggy(this.mLocalyticsDao.getAppKey());
        v1_3[1] = p5;
        String v0_1 = String.format("com.localytics.android.%s.%s.sqlite", v1_3);
        if (!p6) {
            v0_3 = this.mLocalyticsDao.getAppContext().getDatabasePath(v0_1).getAbsolutePath();
        } else {
            v0_3 = new java.io.File(com.localytics.android.BaseProvider.newDatabaseDir(this.mLocalyticsDao.getAppContext()), v0_1).getAbsolutePath();
        }
        return v0_3;
    }

Method com.localytics.android.BaseProvider.newDatabaseDir() calling method java.io.File.<init>()


    private static java.io.File newDatabaseDir(android.content.Context p3)
    {
        java.io.File v0_1 = new java.io.File(p3.getNoBackupFilesDir(), ".localytics");
        v0_1.mkdir();
        return v0_1;
    }

Method com.localytics.android.BaseProvider.deleteOldFiles() calling method java.io.File.<init>()


    static void deleteOldFiles(android.content.Context p3)
    {
        com.localytics.android.BaseProvider.deleteDirectory(new java.io.File(p3.getFilesDir(), "localytics"));
        return;
    }

Method com.localytics.android.BaseProvider.deleteDirectory() calling method java.io.File.<init>()


    static boolean deleteDirectory(java.io.File p6)
    {
        boolean v0 = 0;
        if ((!p6.exists()) || (!p6.isDirectory())) {
            v0 = p6.delete();
        } else {
            String[] v2 = p6.list();
            int v1_0 = 0;
            while (v1_0 < v2.length) {
                if (com.localytics.android.BaseProvider.deleteDirectory(new java.io.File(p6, v2[v1_0]))) {
                    v1_0++;
                }
            }
        }
        return v0;
    }

Method com.localytics.android.BaseProvider$LocalyticsDatabaseHelper.<init>() calling method java.io.File.<init>()


    BaseProvider$LocalyticsDatabaseHelper(String p6, int p7, com.localytics.android.LocalyticsDao p8)
    {
        super(p8.getAppContext(), p6, 0, p7);
        super.mLocalyticsDao = p8;
        try {
            if (com.localytics.android.BaseProvider$LocalyticsDatabaseHelper.oldDBFile == null) {
                com.localytics.android.MigrationDatabaseHelper v2_0 = new Object[1];
                v2_0[0] = com.localytics.android.DatapointHelper.getSha256_buggy(p8.getAppKey());
                String v0_1 = String.format("com.localytics.android.%s.sqlite", v2_0);
                com.localytics.android.BaseProvider$LocalyticsDatabaseHelper.oldDBFile = new java.io.File(p8.getAppContext().getDatabasePath(v0_1).getPath());
                if (com.localytics.android.BaseProvider$LocalyticsDatabaseHelper.oldDBFile.exists()) {
                    com.localytics.android.BaseProvider$LocalyticsDatabaseHelper.completedMigrations = 0;
                    com.localytics.android.BaseProvider$LocalyticsDatabaseHelper.oldDB = new com.localytics.android.MigrationDatabaseHelper(v0_1, 18, p8).getWritableDatabase();
                }
            }
        } catch (String v0_4) {
            throw v0_4;
        }
        return;
    }

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


    public java.io.File zzf(String p4)
    {
        return new java.io.File(this.zzby, this.zze(p4));
    }

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


    public static com.google.android.gms.internal.zzl zza(android.content.Context p6, com.google.android.gms.internal.zzy p7)
    {
        java.io.File v1_1 = new java.io.File(p6.getCacheDir(), "volley");
        try {
            com.google.android.gms.internal.zzl v2_7 = p6.getPackageName();
            android.net.http.AndroidHttpClient v0_1 = new StringBuilder((String.valueOf(v2_7).length() + 12)).append(v2_7).append("/").append(p6.getPackageManager().getPackageInfo(v2_7, 0).versionCode).toString();
        } catch (com.google.android.gms.internal.zzl v2) {
        }
        if (p7 == null) {
            if (android.os.Build$VERSION.SDK_INT < 9) {
                p7 = new com.google.android.gms.internal.zzw(android.net.http.AndroidHttpClient.newInstance(v0_1));
            } else {
                p7 = new com.google.android.gms.internal.zzz();
            }
        }
        com.google.android.gms.internal.zzl v2_6 = new com.google.android.gms.internal.zzl(new com.google.android.gms.internal.zzv(v1_1), new com.google.android.gms.internal.zzt(p7));
        v2_6.start();
        return v2_6;
    }

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


    private void zzkf(String p5)
    {
        String v1_5 = new java.io.File(com.google.android.gms.common.util.zzx.getNoBackupFilesDir(this.zzagf), p5);
        try {
            if ((!v1_5.exists()) && ((v1_5.createNewFile()) && (!this.isEmpty()))) {
                android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                com.google.android.gms.iid.InstanceIDListenerService.zza(this.zzagf, this);
            }
        } catch (String v0_2) {
            if (!android.util.Log.isLoggable("InstanceID/Store", 3)) {
            } else {
                String v0_5 = String.valueOf(v0_2.getMessage());
                if (v0_5.length() == 0) {
                    String v0_7 = new String("Error creating file in no backup dir: ");
                    android.util.Log.d("InstanceID/Store", v0_7);
                } else {
                    v0_7 = "Error creating file in no backup dir: ".concat(v0_5);
                }
            }
        }
        return;
    }

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


    public static java.io.File getNoBackupFilesDir(android.content.Context p3)
    {
        java.io.File v0_1;
        if (!com.google.android.gms.common.util.zzs.zzavx()) {
            v0_1 = com.google.android.gms.common.util.zzx.zze(new java.io.File(p3.getApplicationInfo().dataDir, "no_backup"));
        } else {
            v0_1 = p3.getNoBackupFilesDir();
        }
        return v0_1;
    }

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


    public static ark>com.d.a.aark> a(java.io.File p7, int p8, int p9, long p10)
    {
        if (p10 > 0) {
            if (p9 > 0) {
                void v0_7 = new java.io.File(p7, "journal.bkp");
                if (v0_7.exists()) {
                    String v1_1 = new java.io.File(p7, "journal");
                    if (!v1_1.exists()) {
                        ark>com.d.a.aark>.a(v0_7, v1_1, 0);
                    } else {
                        v0_7.delete();
                    }
                }
                void v0_5;
                void v0_3 = new ark>com.d.a.aark>(p7, p8, p9, p10);
                if (!v0_3.d.exists()) {
                    p7.mkdirs();
                    v0_5 = new ark>com.d.a.aark>(p7, p8, p9, p10).j();
                } else {
                    try {
                        v0_5 = v0_3.h().i();
                        v0_5.k = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_5.d, 1), com.d.a.c.a));
                    } catch (String v1_7) {
                        System.out.println(new StringBuilder().append("DiskLruCache ").append(p7).append(" is corrupt: ").append(v1_7.getMessage()).append(", removing").toString());
                        v0_5.f();
                    }
                }
                return v0_5;
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

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


    private a(java.io.File p9, int p10, int p11, long p12)
    {
        this.j = 0;
        this.l = new java.util.LinkedHashMap(0, 1061158912, 1);
        this.n = 0;
        this.b = new java.util.concurrent.ThreadPoolExecutor(0, 1, 60, java.util.concurrent.TimeUnit.SECONDS, new java.util.concurrent.LinkedBlockingQueue());
        this.o = new com.d.a.a$1(this);
        this.c = p9;
        this.g = p10;
        this.d = new java.io.File(p9, "journal");
        this.e = new java.io.File(p9, "journal.tmp");
        this.f = new java.io.File(p9, "journal.bkp");
        this.i = p11;
        this.h = p12;
        return;
    }

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


    public java.io.File b(int p5)
    {
        return new java.io.File(com.d.a.a.f(this.a), new StringBuilder().append(this.b).append(".").append(p5).append(".tmp").toString());
    }

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


    public java.io.File a(int p5)
    {
        return new java.io.File(com.d.a.a.f(this.a), new StringBuilder().append(this.b).append(".").append(p5).toString());
    }

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


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

Method com.bumptech.glide.load.b.p.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 com.bumptech.glide.a.a.a() calling method java.io.File.<init>()


    public static ark>com.bumptech.glide.a.aark> a(java.io.File p7, int p8, int p9, long p10)
    {
        if (p10 > 0) {
            if (p9 > 0) {
                void v0_8 = new java.io.File(p7, "journal.bkp");
                if (v0_8.exists()) {
                    String v1_1 = new java.io.File(p7, "journal");
                    if (!v1_1.exists()) {
                        ark>com.bumptech.glide.a.aark>.a(v0_8, v1_1, 0);
                    } else {
                        v0_8.delete();
                    }
                }
                void v0_5;
                void v0_3 = new ark>com.bumptech.glide.a.aark>(p7, p8, p9, p10);
                if (!v0_3.c.exists()) {
                    p7.mkdirs();
                    v0_5 = new ark>com.bumptech.glide.a.aark>(p7, p8, p9, p10).g();
                } else {
                    try {
                        v0_5 = v0_3.e().f();
                    } catch (String v1_5) {
                        System.out.println(new StringBuilder().append("DiskLruCache ").append(p7).append(" is corrupt: ").append(v1_5.getMessage()).append(", removing").toString());
                        v0_5.d();
                    }
                }
                return v0_5;
            } else {
                throw new IllegalArgumentException("valueCount <= 0");
            }
        } else {
            throw new IllegalArgumentException("maxSize <= 0");
        }
    }

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


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

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


    private a$b(com.bumptech.glide.a.a p8, String p9)
    {
        this.c = p8;
        this.d = p9;
        int v0_6 = new long[com.bumptech.glide.a.a.e(p8)];
        this.e = v0_6;
        int v0_8 = new java.io.File[com.bumptech.glide.a.a.e(p8)];
        this.a = v0_8;
        int v0_1 = new java.io.File[com.bumptech.glide.a.a.e(p8)];
        this.b = v0_1;
        StringBuilder v1_1 = new StringBuilder(p9).append(46);
        int v2 = v1_1.length();
        int v0_4 = 0;
        while (v0_4 < com.bumptech.glide.a.a.e(p8)) {
            v1_1.append(v0_4);
            this.a[v0_4] = new java.io.File(com.bumptech.glide.a.a.f(p8), v1_1.toString());
            v1_1.append(".tmp");
            this.b[v0_4] = new java.io.File(com.bumptech.glide.a.a.f(p8), v1_1.toString());
            v1_1.setLength(v2);
            v0_4++;
        }
        return;
    }

Method com.birbit.android.jobqueue.persistentQueue.sqlite.b.a() calling method java.io.File.<init>()


    void a(java.util.Set p8)
    {
        String[] v2 = this.a.list();
        int v3 = v2.length;
        int v0_1 = 0;
        while (v0_1 < v3) {
            String v4_6 = v2[v0_1];
            if ((v4_6.endsWith(".jobs")) && (!p8.contains(ark>com.birbit.android.jobqueue.persistentQueue.sqlite.bark>.e(v4_6)))) {
                Object[] v5_4 = new java.io.File(this.a, v4_6);
                if (!v5_4.delete()) {
                    Object[] v5_6 = new Object[0];
                    com.birbit.android.jobqueue.f.b.a(new StringBuilder().append("cannot delete unused job toFile ").append(v5_4.getAbsolutePath()).toString(), v5_6);
                }
            }
            v0_1++;
        }
        return;
    }

Method com.birbit.android.jobqueue.persistentQueue.sqlite.b.d() calling method java.io.File.<init>()


    private java.io.File d(String p4)
    {
        return new java.io.File(this.a, com.birbit.android.jobqueue.persistentQueue.sqlite.b.c(p4));
    }

Method com.birbit.android.jobqueue.persistentQueue.sqlite.b.<init>() calling method java.io.File.<init>()


    b(android.content.Context p5, String p6)
    {
        this.a = new java.io.File(p5.getDir("com_birbit_jobqueue_jobs", 0), new StringBuilder().append("files_").append(p6).toString());
        this.a.mkdirs();
        return;
    }

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


    public static int b()
    {
        int v4 = 0;
        int v0_1 = -1;
        while (v4 < com.b.a.a.a.a()) {
            int v5_3 = new java.io.File(new StringBuilder().append("/sys/devices/system/cpu/cpu").append(v4).append("/cpufreq/cpuinfo_max_freq").toString());
            if (v5_3.exists()) {
                byte[] v6 = new byte[128];
                java.io.FileInputStream v7_1 = new java.io.FileInputStream(v5_3);
                v7_1.read(v6);
                int v2_11 = 0;
                while ((v6[v2_11] >= 48) && ((v6[v2_11] <= 57) && (v2_11 < v6.length))) {
                    v2_11++;
                }
                int v2_14 = Integer.valueOf(Integer.parseInt(new String(v6, 0, v2_11)));
                if (v2_14.intValue() > v0_1) {
                    v0_1 = v2_14.intValue();
                }
                v7_1.close();
            }
            v4++;
        }
        if (v0_1 == -1) {
            java.io.FileInputStream v3_1 = new java.io.FileInputStream("/proc/cpuinfo");
            int v2_2 = (com.b.a.a.a.a("cpu MHz", v3_1) * 1000);
            if (v2_2 > v0_1) {
                v0_1 = v2_2;
            }
            v3_1.close();
        }
        return v0_1;
    }

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


    public static int a()
    {
        int v0;
        if (android.os.Build$VERSION.SDK_INT > 10) {
            try {
                v0 = new java.io.File("/sys/devices/system/cpu/").listFiles(ark>com.b.a.a.aark>.a).length;
            } catch (NullPointerException v1) {
            } catch (NullPointerException v1) {
            }
        } else {
            v0 = 1;
        }
        return v0;
    }

Method com.android.volley.toolbox.m.a() calling method java.io.File.<init>()


    public static com.android.volley.h a(android.content.Context p5, com.android.volley.toolbox.f p6)
    {
        java.io.File v1_1 = new java.io.File(p5.getCacheDir(), "volley");
        try {
            com.android.volley.h v2_7 = p5.getPackageName();
            android.net.http.AndroidHttpClient v0_1 = new StringBuilder().append(v2_7).append("/").append(p5.getPackageManager().getPackageInfo(v2_7, 0).versionCode).toString();
        } catch (com.android.volley.h v2) {
        }
        if (p6 == null) {
            if (android.os.Build$VERSION.SDK_INT < 9) {
                p6 = new com.android.volley.toolbox.d(android.net.http.AndroidHttpClient.newInstance(v0_1));
            } else {
                p6 = new com.android.volley.toolbox.g();
            }
        }
        com.android.volley.h v2_6 = new com.android.volley.h(new com.android.volley.toolbox.c(v1_1), new com.android.volley.toolbox.a(p6));
        v2_6.a();
        return v2_6;
    }

Method com.android.volley.toolbox.c.c() calling method java.io.File.<init>()


    public java.io.File c(String p4)
    {
        return new java.io.File(this.c, this.d(p4));
    }

Method com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.initializeLogFile() calling method java.io.File.<init>()


    private static void initializeLogFile()
    {
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.logFile = new java.io.File(com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext().getCacheDir(), "csdklog.txt");
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.readAndDumpFile(1);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.fRead() calling method java.io.File.<init>()


    private static String fRead(String p7, int p8)
    {
        try {
            String v0_1;
            String v2_2 = org.apache.commons.io.FileUtils.readFileToByteArray(new java.io.File(p7));
        } catch (String v0_9) {
            android.util.Log.d("AdobeDCXUtils.fRead", v0_9.getMessage());
            v0_1 = 0;
            return v0_1;
        }
        if (p8 <= (com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.MAX_LOG_FILE_SIZE * com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.MB)) {
            v0_1 = new String(v2_2, "UTF-8");
            return v0_1;
        } else {
            String v3_2 = new byte[(com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.TRUNCATED_FILE_SIZE * com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.MB)];
            System.arraycopy(v2_2, (p8 - (com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.TRUNCATED_FILE_SIZE * com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.MB)), v3_2, 0, (com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.TRUNCATED_FILE_SIZE * com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.MB));
            v0_1 = new String(v3_2, "UTF-8");
            return v0_1;
        }
    }

Method com.adobe.creativesdk.foundation.internal.utils.AdobeNetworkFileUtils.touch() calling method java.io.File.<init>()


    public static boolean touch(String p8)
    {
        int v0 = 0;
        java.io.IOException v1_2 = new java.io.File(p8);
        if (v1_2.exists()) {
            if (!v1_2.setLastModified(new java.util.Date().getTime())) {
                try {
                    com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_7 = new java.io.RandomAccessFile(v1_2, "rw");
                    String v4_1 = v2_7.length();
                    v2_7.setLength((1 + v4_1));
                    v2_7.setLength(v4_1);
                    v2_7.close();
                } catch (java.io.IOException v1_3) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.internal.utils.AdobeNetworkFileUtils.getSimpleName(), "Failure while closing the stream ", v1_3);
                    return v0;
                }
            }
            v0 = 1;
        } else {
            if (v1_2.getParentFile() != null) {
                v1_2.getParentFile().mkdirs();
            }
            try {
                v1_2.createNewFile();
            } catch (java.io.IOException v1_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.internal.utils.AdobeNetworkFileUtils.getSimpleName(), "Failure while creating file", v1_1);
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkMockHttpService.getResponseForUploadRequest() calling method java.io.File.<init>()


    public com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle getResponseForUploadRequest(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequest p8, String p9, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkRequestPriority p10, com.adobe.creativesdk.foundation.internal.net.IAdobeNetworkCompletionHandler p11, android.os.Handler p12)
    {
        java.io.IOException v0_0 = 0;
        com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_0 = this.logRequest(p8);
        if (v2_0 != null) {
            if (new java.io.File(p9).exists()) {
                try {
                    java.io.IOException v1_1 = new java.io.FileInputStream(new java.io.File(p9));
                    try {
                        com.adobe.creativesdk.foundation.internal.utils.logging.Level v3_3 = new StringBuilder("");
                    } catch (java.io.IOException v0_4) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v0_4);
                        v0_0 = new com.adobe.creativesdk.foundation.network.AdobeNetworkException(com.adobe.creativesdk.foundation.network.AdobeNetworkException$AdobeNetworkErrorCode.AdobeNetworkErrorBadRequest);
                        if (v1_1 != null) {
                            try {
                                v1_1.close();
                            } catch (java.io.IOException v1_9) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v1_9);
                            }
                        }
                    } catch (java.io.IOException v0_3) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v0_3);
                        v0_0 = new com.adobe.creativesdk.foundation.network.AdobeNetworkException(com.adobe.creativesdk.foundation.network.AdobeNetworkException$AdobeNetworkErrorCode.AdobeNetworkErrorBadRequest);
                        if (v1_1 != null) {
                            try {
                                v1_1.close();
                            } catch (java.io.IOException v1_7) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v1_7);
                            }
                        }
                    }
                    while(true) {
                        String v4_1 = v1_1.read();
                        if (v4_1 == -1) {
                            break;
                        }
                        v3_3.append(((char) v4_1));
                    }
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, this.getClass().getSimpleName(), v3_3.toString());
                    v1_1.close();
                    if (v1_1 != null) {
                        try {
                            v1_1.close();
                        } catch (java.io.IOException v1_12) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v1_12);
                        }
                    }
                } catch (java.io.IOException v1_4) {
                    v1_1 = 0;
                    java.io.IOException v0_5 = v1_4;
                    if (v1_1 != null) {
                        try {
                            v1_1.close();
                        } catch (java.io.IOException v1_10) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v1_10);
                        }
                    }
                    throw v0_5;
                } catch (java.io.IOException v1_3) {
                    v1_1 = 0;
                    v0_4 = v1_3;
                } catch (java.io.IOException v1_2) {
                    v1_1 = 0;
                    v0_3 = v1_2;
                } catch (java.io.IOException v0_5) {
                }
            } else {
                v0_0 = new com.adobe.creativesdk.foundation.network.AdobeNetworkException(com.adobe.creativesdk.foundation.network.AdobeNetworkException$AdobeNetworkErrorCode.AdobeNetworkErrorBadRequest);
            }
        }
        return this.scheduleResponse(v2_0, p11, p12, v0_0);
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkMockHttpService.fWrite() calling method java.io.File.<init>()


    private static Boolean fWrite(String p4, String p5)
    {
        try {
            Boolean v0_1 = new java.io.File(p4);
        } catch (Boolean v0_8) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle.getName(), "Error during io operation", v0_8);
            Boolean v0_3 = Boolean.valueOf(0);
            return v0_3;
        }
        if (!v0_1.exists()) {
            v0_1.createNewFile();
        }
        Boolean v0_6 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v0_1), "UTF-8"));
        v0_6.write(p5);
        v0_6.close();
        v0_3 = Boolean.valueOf(1);
        return v0_3;
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequest.setBodyStreamFromFile() calling method java.io.File.<init>()


    public void setBodyStreamFromFile(String p4)
    {
        org.apache.commons.io.IOUtils.closeQuietly(this._body);
        this._body = new java.io.BufferedInputStream(new java.io.FileInputStream(new java.io.File(p4)), 32768);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpFileUploadTask.writeToOutputStream() calling method java.io.File.<init>()


    protected boolean writeToOutputStream()
    {
        int v2_0 = 0;
        java.io.IOException v0_1 = 0;
        try {
            this.urlConnection.setDoOutput(1);
            this.urlConnection.setDoInput(1);
            String v6_1 = new java.io.File(this._sourcePath).length();
            this.urlConnection.setFixedLengthStreamingMode(((int) v6_1));
            this.urlConnection.setRequestProperty("file", org.apache.commons.io.FilenameUtils.getName(java.net.URLDecoder.decode(this.request.getUrl().getPath(), "UTF-8")));
            this.urlConnection.setRequestProperty("Content-Transfer-Encoding", "binary");
        } catch (java.io.IOException v0_0) {
            int v4_4 = 0;
            org.apache.commons.io.IOUtils.closeQuietly(v4_4);
            org.apache.commons.io.IOUtils.closeQuietly(v2_0);
            throw v0_0;
        } catch (java.io.IOException v1_5) {
            int v3_6 = 0;
            try {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpDataDownloadTask.getName(), "Error during io operation", v1_5);
                this.response.setHasFileError(1);
                org.apache.commons.io.IOUtils.closeQuietly(v3_6);
                org.apache.commons.io.IOUtils.closeQuietly(v2_0);
            } catch (java.io.IOException v0_0) {
                v4_4 = v3_6;
            }
            return v0_1;
        } catch (java.io.IOException v1_3) {
            v4_4 = 0;
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpDataDownloadTask.getName(), "Error during io operation", v1_3);
            this.response.setHasFileError(1);
            org.apache.commons.io.IOUtils.closeQuietly(v4_4);
            org.apache.commons.io.IOUtils.closeQuietly(v2_0);
            return v0_1;
        } catch (java.io.IOException v1_1) {
            v4_4 = 0;
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpDataDownloadTask.getName(), "Error during io operation", v1_1);
            this.response.setHasFileError(1);
            org.apache.commons.io.IOUtils.closeQuietly(v4_4);
            org.apache.commons.io.IOUtils.closeQuietly(v2_0);
            return v0_1;
        } catch (java.io.IOException v0_0) {
        }
        if (v6_1 > 0) {
            this.urlConnection.setRequestProperty("Content-Length", new StringBuilder().append("").append(v6_1).toString());
        }
        int v3_17 = this.urlConnection.getOutputStream();
        try {
            v4_4 = new java.io.BufferedInputStream(new java.io.FileInputStream(this._sourcePath), 32768);
            try {
                byte[] v8_3 = new byte[32768];
                int v5_1 = v4_4.read(v8_3, 0, 32768);
                int v2_1 = 0;
            } catch (java.io.IOException v0_0) {
                v2_0 = v3_17;
            } catch (java.io.IOException v1_5) {
                v2_0 = v3_17;
                v3_6 = v4_4;
            } catch (java.io.IOException v1_3) {
                v2_0 = v3_17;
            } catch (java.io.IOException v1_1) {
                v2_0 = v3_17;
            }
            while (v5_1 > 0) {
                if (!this.requestHandler.isCancelled()) {
                    v3_17.write(v8_3, 0, v5_1);
                    v3_17.flush();
                    v2_1 += v5_1;
                    v5_1 = v4_4.read(v8_3, 0, 32768);
                    this.onProgressUpdate(Integer.valueOf(((int) ((((float) v2_1) / ((float) v6_1)) * 1120403456))));
                } else {
                    org.apache.commons.io.IOUtils.closeQuietly(v4_4);
                    org.apache.commons.io.IOUtils.closeQuietly(v3_17);
                    org.apache.commons.io.IOUtils.closeQuietly(v4_4);
                    org.apache.commons.io.IOUtils.closeQuietly(v3_17);
                    return v0_1;
                }
            }
            this.response.setBytesSent(v2_1);
            org.apache.commons.io.IOUtils.closeQuietly(v4_4);
            org.apache.commons.io.IOUtils.closeQuietly(v3_17);
            v0_1 = 1;
            return v0_1;
        } catch (java.io.IOException v0_0) {
            v4_4 = 32768;
            v2_0 = v3_17;
        } catch (java.io.IOException v1_5) {
            v3_6 = 32768;
            v2_0 = v3_17;
        } catch (java.io.IOException v1_3) {
            v4_4 = 32768;
            v2_0 = v3_17;
        } catch (java.io.IOException v1_1) {
            v4_4 = 32768;
            v2_0 = v3_17;
        }
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpFileDownloadTask.captureInputStream() calling method java.io.File.<init>()


    protected void captureInputStream()
    {
        int v1_0 = 0;
        try {
            java.io.IOException v0_0;
            if (this.response.getStatusCode() != 200) {
                v0_0 = 0;
                org.apache.commons.io.IOUtils.closeQuietly(v0_0);
                org.apache.commons.io.IOUtils.closeQuietly(v1_0);
            } else {
                v0_0 = this.urlConnection.getInputStream();
                try {
                    int v4_0 = this.urlConnection.getContentLength();
                } catch (java.io.BufferedOutputStream v2_7) {
                    java.io.BufferedOutputStream v2_0 = 0;
                    v1_0 = v0_0;
                    java.io.IOException v0_4 = v2_7;
                    org.apache.commons.io.IOUtils.closeQuietly(v1_0);
                    org.apache.commons.io.IOUtils.closeQuietly(v2_0);
                    throw v0_4;
                } catch (java.io.BufferedOutputStream v2_6) {
                    v2_0 = 0;
                    v1_0 = v0_0;
                    java.io.IOException v0_3 = v2_6;
                    try {
                        this.response.setHasFileError(1);
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpDataDownloadTask.getName(), "Error during io operation", v0_3);
                        org.apache.commons.io.IOUtils.closeQuietly(v1_0);
                        org.apache.commons.io.IOUtils.closeQuietly(v2_0);
                    } catch (java.io.IOException v0_4) {
                    }
                }
                if (!new java.io.File(this._destinationPath).exists()) {
                    com.adobe.creativesdk.foundation.internal.utils.AdobeNetworkFileUtils.touch(this._destinationPath);
                }
                v2_0 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(this._destinationPath), 32768);
                try {
                    byte[] v5_3 = new byte[32768];
                    int v1_2 = 0;
                } catch (int v1_4) {
                    v1_0 = v0_0;
                    v0_4 = v1_4;
                } catch (int v1_3) {
                    v1_0 = v0_0;
                    v0_3 = v1_3;
                }
                while(true) {
                    Integer v3_1 = v0_0.read(v5_3);
                    if (v3_1 == -1) {
                        break;
                    }
                    if (!this.requestHandler.isCancelled()) {
                        v2_0.write(v5_3, 0, v3_1);
                        v1_2 += v3_1;
                        this.onProgressUpdate(Integer.valueOf(((int) ((((float) v1_2) / ((float) v4_0)) * 1120403456))));
                    } else {
                        org.apache.commons.io.IOUtils.closeQuietly(v0_0);
                        org.apache.commons.io.IOUtils.closeQuietly(v2_0);
                        org.apache.commons.io.IOUtils.closeQuietly(v0_0);
                        org.apache.commons.io.IOUtils.closeQuietly(v2_0);
                    }
                }
                this.response.setBytesReceived(v1_2);
                v1_0 = v2_0;
            }
        } catch (java.io.IOException v0_4) {
            v2_0 = 0;
        } catch (java.io.IOException v0_3) {
            v2_0 = 0;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.removeItemWithGUID() calling method java.io.File.<init>()


    public void removeItemWithGUID(String p6, String p7)
    {
        if (!this.cacheFrozen) {
            String v0_1 = 0;
            if (p7 == null) {
                this.clearMemCache();
            } else {
                this.memCache.remove(this.getCacheKey(p6, p7));
                v0_1 = new java.io.File(this.getCacheDirectoryForGuid(p6), p7);
            }
            try {
                this.diskReadWriteLock.writeLock().lock();
            } catch (String v0_7) {
                this.diskReadWriteLock.writeLock().unlock();
                throw v0_7;
            }
            if ((v0_1 != null) && (v0_1.exists())) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Removing ").append(p7).append(" from disk cache").toString());
                if (!v0_1.delete()) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Cannot delete file ").append(v0_1.getAbsolutePath()).toString());
                }
                this.removeEntryFromCacheMetadata(this.getCacheKey(p6, p7));
            }
            this.diskReadWriteLock.writeLock().unlock();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getTimestampForGUID() calling method java.io.File.<init>()


    public java.util.Date getTimestampForGUID(String p5, String p6)
    {
        java.util.Date v0_0 = 0;
        java.io.File v1_1 = new java.io.File(this.getCacheDirectoryForGuid(p5), p6);
        if (v1_1.exists()) {
            v0_0 = new java.util.Date(v1_1.lastModified());
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.containsItemWithGUID() calling method java.io.File.<init>()


    public boolean containsItemWithGUID(String p6, String p7)
    {
        Throwable v0_6;
        if (this.memCache.get(this.getCacheKey(p6, p7)) == null) {
            Throwable v0_4 = new StringBuilder().append(this.cacheDir).append(java.io.File.separator).append(this.getCacheKey(p6, p7)).toString();
            try {
                this.diskReadWriteLock.readLock().lock();
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Got Read lock in containsItemWithGUID.Current lock count ").append(this.diskReadWriteLock.getReadLockCount()).toString());
                v0_6 = new java.io.File(v0_4).exists();
                this.diskReadWriteLock.readLock().unlock();
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Released read lock in containsItemWithGUID.Current lock count ").append(this.diskReadWriteLock.getReadLockCount()).toString());
            } catch (Throwable v0_8) {
                this.diskReadWriteLock.readLock().unlock();
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Released read lock in containsItemWithGUID.Current lock count ").append(this.diskReadWriteLock.getReadLockCount()).toString());
                throw v0_8;
            }
        } else {
            v0_6 = 1;
        }
        return v0_6;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.clear() calling method java.io.File.<init>()


    public void clear()
    {
        this.clearMemCache();
        if (this.repeatingTimer != null) {
            this.stopRepeatingTimer();
        }
        try {
            this.diskReadWriteLock.writeLock().lock();
            org.apache.commons.io.FileUtils.deleteDirectory(new java.io.File(this.cacheDir));
            this.cacheLog(new StringBuilder().append("Cache with cache name ").append(this.cacheName).append(" deleted from location ").append(this.cacheDir).toString());
            this.diskReadWriteLock.writeLock().unlock();
        } catch (java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock v0_23) {
            this.diskReadWriteLock.writeLock().unlock();
            throw v0_23;
        } catch (java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock v0_11) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error deleting cache directory", v0_11);
            this.cacheLog(new StringBuilder().append("Unable to delete cache ").append(this.cacheName).append(" from location ").append(this.cacheDir).toString());
            this.diskReadWriteLock.writeLock().unlock();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.setObjectToDisk() calling method java.io.File.<init>()


    private void setObjectToDisk(Object p8, String p9, String p10)
    {
        java.util.Date v2_0 = 0;
        if ((!this.cacheFrozen) && (((p8 instanceof java.io.Serializable)) && (this.useDiskCaching))) {
            try {
                this.diskReadWriteLock.writeLock().lock();
                java.util.concurrent.ScheduledFuture v0_5 = new java.io.File(this.getCacheDirectoryForGuid(p9), p10);
                java.util.Date v3_3 = new java.io.FileOutputStream(v0_5);
                try {
                    String v1_16 = new java.io.ObjectOutputStream(v3_3);
                    try {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Adding ").append(p10).append(" to disk cache").toString());
                        v1_16.writeObject(p8);
                        this.addEntryToCacheMetadata(v0_5, this.getCacheKey(p9, p10));
                        try {
                            if (v1_16 != null) {
                                v1_16.close();
                            }
                        } catch (java.util.concurrent.ScheduledFuture v0_19) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error closing stream", v0_19);
                            this.diskReadWriteLock.writeLock().unlock();
                            if (this.cacheFrozen) {
                                return;
                            } else {
                                if (this.currentDiskCacheSize <= ((long) this.getNormalEvictionThreshold())) {
                                    return;
                                } else {
                                    this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                    this.cacheEviction();
                                    if (this.repeatingTimer != null) {
                                        return;
                                    } else {
                                        this.startRepeatingTimer();
                                        return;
                                    }
                                }
                            }
                            this.diskReadWriteLock.writeLock().unlock();
                            if ((!this.cacheFrozen) && (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold()))) {
                                this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                this.cacheEviction();
                                if (this.repeatingTimer == null) {
                                    this.startRepeatingTimer();
                                }
                            }
                        } catch (java.util.concurrent.ScheduledFuture v0_32) {
                            this.diskReadWriteLock.writeLock().unlock();
                            if (!this.cacheFrozen) {
                                if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                    this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                    this.cacheEviction();
                                    if (this.repeatingTimer == null) {
                                        this.startRepeatingTimer();
                                    }
                                }
                            }
                            throw v0_32;
                        }
                        if (v3_3 != null) {
                            v3_3.close();
                        }
                    } catch (java.util.concurrent.ScheduledFuture v0_17) {
                        try {
                            if (v1_16 == null) {
                                if (v3_3 != null) {
                                    v3_3.close();
                                }
                                this.diskReadWriteLock.writeLock().unlock();
                                if (!this.cacheFrozen) {
                                    if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                        this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                        this.cacheEviction();
                                        if (this.repeatingTimer == null) {
                                            this.startRepeatingTimer();
                                        }
                                    }
                                }
                            } else {
                                v1_16.close();
                            }
                        } catch (String v1_15) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error closing stream", v1_15);
                            this.diskReadWriteLock.writeLock().unlock();
                            if (this.cacheFrozen) {
                            } else {
                                if (this.currentDiskCacheSize <= ((long) this.getNormalEvictionThreshold())) {
                                } else {
                                    this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                    this.cacheEviction();
                                    if (this.repeatingTimer != null) {
                                    } else {
                                        this.startRepeatingTimer();
                                    }
                                }
                            }
                        } catch (java.util.concurrent.ScheduledFuture v0_18) {
                            this.diskReadWriteLock.writeLock().unlock();
                            if (!this.cacheFrozen) {
                                if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                    this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                    this.cacheEviction();
                                    if (this.repeatingTimer == null) {
                                        this.startRepeatingTimer();
                                    }
                                }
                            }
                            throw v0_18;
                        }
                        throw v0_17;
                    } catch (java.util.concurrent.ScheduledFuture v0_16) {
                        v2_0 = v3_3;
                        try {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error serializing map", v0_16);
                            try {
                                if (v1_16 != null) {
                                    v1_16.close();
                                }
                            } catch (java.util.concurrent.ScheduledFuture v0_45) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error closing stream", v0_45);
                                this.diskReadWriteLock.writeLock().unlock();
                                if (this.cacheFrozen) {
                                    return;
                                } else {
                                    if (this.currentDiskCacheSize <= ((long) this.getNormalEvictionThreshold())) {
                                        return;
                                    } else {
                                        this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                        this.cacheEviction();
                                        if (this.repeatingTimer != null) {
                                            return;
                                        } else {
                                            this.startRepeatingTimer();
                                            return;
                                        }
                                    }
                                }
                                this.diskReadWriteLock.writeLock().unlock();
                                if (!this.cacheFrozen) {
                                    if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                        this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                        this.cacheEviction();
                                        if (this.repeatingTimer == null) {
                                            this.startRepeatingTimer();
                                        }
                                    }
                                }
                            } catch (java.util.concurrent.ScheduledFuture v0_2) {
                                this.diskReadWriteLock.writeLock().unlock();
                                if (!this.cacheFrozen) {
                                    if (this.currentDiskCacheSize > ((long) this.getNormalEvictionThreshold())) {
                                        this.cacheLog(new StringBuilder().append("Sync eviction event at ").append(java.text.SimpleDateFormat.getInstance().format(new java.util.Date())).toString());
                                        this.cacheEviction();
                                        if (this.repeatingTimer == null) {
                                            this.startRepeatingTimer();
                                        }
                                    }
                                }
                                throw v0_2;
                            }
                            if (v2_0 != null) {
                                v2_0.close();
                            }
                        } catch (java.util.concurrent.ScheduledFuture v0_17) {
                            v3_3 = v2_0;
                        }
                    }
                } catch (java.util.concurrent.ScheduledFuture v0_17) {
                    v1_16 = 0;
                } catch (java.util.concurrent.ScheduledFuture v0_16) {
                    v1_16 = 0;
                    v2_0 = v3_3;
                }
            } catch (java.util.concurrent.ScheduledFuture v0_17) {
                v1_16 = 0;
                v3_3 = 0;
            } catch (java.util.concurrent.ScheduledFuture v0_16) {
                v1_16 = 0;
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.lruEviction() calling method java.io.File.<init>()


    private void lruEviction(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheEvictionType p11)
    {
        try {
            int v0_6;
            if (p11 != com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheEvictionType.AdobeCommonCacheCriticalEviction) {
                v0_6 = 3;
            } else {
                v0_6 = 10;
            }
        } catch (int v0_1) {
            this.diskReadWriteLock.writeLock().unlock();
            throw v0_1;
        }
        Integer v2 = Integer.valueOf(v0_6);
        Integer v3 = Integer.valueOf(this.diskCacheAccessTimes.size());
        java.util.List v4 = this.getEntrySetsSortedByValue(this.diskCacheAccessTimes, this.lruComparator);
        this.diskReadWriteLock.writeLock().lock();
        int v1_3 = 0;
        while ((v1_3 < v2.intValue()) && (v1_3 < v3.intValue())) {
            int v0_14 = ((String) ((java.util.Map$Entry) v4.get(v1_3)).getKey());
            String v5_1 = new java.io.File(this.cacheDir, v0_14);
            if (!v5_1.exists()) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("File doesn\'t exist in disk: ").append(v5_1.getAbsolutePath()).toString());
            } else {
                String v6_3 = v5_1.delete();
                this.notifyDiskCacheEviction(v0_14, "LRU");
                if (v6_3 == null) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Could not remove cached file in disk").append(v5_1.getAbsolutePath()).toString());
                }
            }
            this.removeEntryFromCacheMetadata(v0_14);
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Removing file in cache : ").append(v5_1.getAbsolutePath()).toString());
            v1_3++;
        }
        this.diskReadWriteLock.writeLock().unlock();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.largeObjectFirstEviction() calling method java.io.File.<init>()


    private void largeObjectFirstEviction(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheEvictionType p9)
    {
        int v0_5;
        if (p9 != com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheEvictionType.AdobeCommonCacheCriticalEviction) {
            v0_5 = 3;
        } else {
            v0_5 = 10;
        }
        Integer v2 = Integer.valueOf(v0_5);
        Integer v3 = Integer.valueOf(this.diskCacheObjectSizes.size());
        java.util.List v4 = this.getEntrySetsSortedByValue(this.diskCacheObjectSizes, this.numberComparator);
        try {
            this.diskReadWriteLock.writeLock().lock();
            int v1_1 = 0;
        } catch (int v0_16) {
            this.diskReadWriteLock.writeLock().unlock();
            throw v0_16;
        }
        while ((v1_1 < v2.intValue()) && (v1_1 < v3.intValue())) {
            int v0_13 = ((String) ((java.util.Map$Entry) v4.get(v1_1)).getKey());
            try {
                String v6_2 = new java.io.File(new StringBuilder().append(this.cacheDir).append(v0_13).toString());
            } catch (int v0_14) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Could not remove cached file", v0_14);
                v1_1++;
            }
            if (v6_2.exists()) {
                org.apache.commons.io.FileUtils.deleteDirectory(v6_2);
                this.notifyDiskCacheEviction(v0_13, "LSF");
            }
            this.removeEntryFromCacheMetadata(v0_13);
        }
        this.diskReadWriteLock.writeLock().unlock();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.initDiskCacheMetadata() calling method java.io.File.<init>()


    private void initDiskCacheMetadata()
    {
        if ((this.cacheDir == null) || (this.cacheDir.isEmpty())) {
            this.cacheLog("Cannot create the disk cache metadata.  Non-existent disk cache.");
        }
        try {
            this.diskReadWriteLock.readLock().lock();
            this.cacheFrozen = 1;
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Got Read lock in initDiskCacheMetadata.Current lock count ").append(this.diskReadWriteLock.getReadLockCount()).toString());
            com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_6 = new java.io.File(this.cacheDir);
        } catch (com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_19) {
            this.cacheFrozen = 0;
            this.diskReadWriteLock.readLock().unlock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in initDiskCacheMetadata.Holding ").append(this.diskReadWriteLock.getReadLockCount()).toString());
            throw v0_19;
        }
        if ((!v0_6.exists()) && (!v0_6.mkdirs())) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error creating disk cache. Folder creation not successful");
        }
        try {
            String v1_9 = ((java.util.List) org.apache.commons.io.FileUtils.listFiles(v0_6, org.apache.commons.io.filefilter.TrueFileFilter.INSTANCE, org.apache.commons.io.filefilter.TrueFileFilter.INSTANCE)).iterator();
        } catch (com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_13) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error initializing disk cache", v0_13);
            this.cacheFrozen = 0;
            this.diskReadWriteLock.readLock().unlock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in initDiskCacheMetadata.Holding ").append(this.diskReadWriteLock.getReadLockCount()).toString());
            return;
        }
        while (v1_9.hasNext()) {
            com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_12 = ((java.io.File) v1_9.next());
            if ((!v0_12.isDirectory()) && (!v0_12.isHidden())) {
                this.addEntryToCacheMetadata(v0_12, v0_12.getAbsolutePath().substring(((v0_12.getAbsolutePath().indexOf(this.cacheName) + this.cacheName.length()) + 1)));
            }
        }
        this.cacheFrozen = 0;
        this.diskReadWriteLock.readLock().unlock();
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in initDiskCacheMetadata.Holding ").append(this.diskReadWriteLock.getReadLockCount()).toString());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getObjectFromDiskWithGUID() calling method java.io.File.<init>()


    private Object getObjectFromDiskWithGUID(String p12, String p13, java.util.EnumSet p14)
    {
        java.io.IOException v0_11;
        java.io.IOException v1_0 = 0;
        String v4_11 = new java.util.Date();
        if (!this.useDiskCaching) {
            v0_11 = 0;
            v1_0 = v0_11;
        } else {
            try {
                this.diskReadWriteLock.readLock().lock();
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Got Read lock in getObjectFromDiskWithGUID.Current lock count ").append(this.diskReadWriteLock.getReadLockCount()).toString());
                String v5_8 = new java.io.File(this.getCacheDirectoryForGuid(p12), p13);
            } catch (java.io.IOException v0_2) {
                this.diskReadWriteLock.readLock().unlock();
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(this.diskReadWriteLock.getReadLockCount()).toString());
                throw v0_2;
            }
            if (v5_8.exists()) {
                try {
                    String v3_34 = new java.io.FileInputStream(v5_8);
                    try {
                        com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_14 = new java.io.ObjectInputStream(v3_34);
                        try {
                            v0_11 = v2_14.readObject();
                            this.logDiskCacheHit(p12, p13, (new java.util.Date().getTime() - v4_11.getTime()));
                            this.addEntryToCacheMetadata(v5_8, this.getCacheKey(p12, p13));
                            try {
                                if ((p14.contains(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheOptions.AdobeCommonCacheKeepInMemoryCache)) && (this.memCacheSize > 0)) {
                                    this.memCache.put(this.getCacheKey(p12, p13), v0_11);
                                }
                                try {
                                    if (v3_34 != null) {
                                        v3_34.close();
                                    }
                                } catch (java.io.IOException v1_5) {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_5.getMessage(), v1_5);
                                    this.diskReadWriteLock.readLock().unlock();
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(this.diskReadWriteLock.getReadLockCount()).toString());
                                }
                                if (v2_14 == null) {
                                } else {
                                    v2_14.close();
                                }
                            } catch (java.io.IOException v1_2) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Unable to read map from cache", v1_2);
                                try {
                                    if (v3_34 != null) {
                                        v3_34.close();
                                    }
                                } catch (java.io.IOException v1_3) {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_3.getMessage(), v1_3);
                                }
                                if (v2_14 == null) {
                                } else {
                                    v2_14.close();
                                }
                            } catch (java.io.IOException v1_12) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Unable to read map from cache", v1_12);
                                try {
                                    if (v3_34 != null) {
                                        v3_34.close();
                                    }
                                } catch (java.io.IOException v1_1) {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_1.getMessage(), v1_1);
                                }
                                if (v2_14 == null) {
                                } else {
                                    v2_14.close();
                                }
                            }
                        } catch (java.io.IOException v0_18) {
                            v0_11 = 0;
                            v1_2 = v0_18;
                        } catch (java.io.IOException v0_16) {
                            v0_11 = 0;
                            v1_12 = v0_16;
                        }
                    } catch (java.io.IOException v0_1) {
                        v2_14 = 0;
                        try {
                            if (v3_34 == null) {
                                if (v2_14 != null) {
                                    v2_14.close();
                                }
                            } else {
                                v3_34.close();
                            }
                        } catch (java.io.IOException v1_4) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_4.getMessage(), v1_4);
                        }
                        throw v0_1;
                    } catch (java.io.IOException v0_14) {
                        v2_14 = 0;
                        v0_11 = 0;
                        v1_2 = v0_14;
                    } catch (java.io.IOException v0_13) {
                        v2_14 = 0;
                        v0_11 = 0;
                        v1_12 = v0_13;
                    }
                } catch (java.io.IOException v0_1) {
                    v2_14 = 0;
                    v3_34 = 0;
                } catch (java.io.IOException v0_12) {
                    v2_14 = 0;
                    v3_34 = 0;
                    v0_11 = 0;
                    v1_2 = v0_12;
                } catch (java.io.IOException v0_10) {
                    v2_14 = 0;
                    v3_34 = 0;
                    v0_11 = 0;
                    v1_12 = v0_10;
                } catch (java.io.IOException v0_1) {
                }
            } else {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Disk Miss for key ").append(p13).toString());
                this.diskReadWriteLock.readLock().unlock();
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(this.diskReadWriteLock.getReadLockCount()).toString());
            }
        }
        return v1_0;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getCacheDirectoryForGuid() calling method java.io.File.<init>()


    private java.io.File getCacheDirectoryForGuid(String p6)
    {
        java.io.File v0_1 = new java.io.File(this.cacheDir, p6);
        if ((!v0_1.exists()) && (!v0_1.mkdirs())) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Folder creation not successful for path ").append(v0_1.getAbsolutePath()).toString());
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance$7.run() calling method java.io.File.<init>()


    public void run()
    {
        if (!com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$1400(this.this$0)) {
            String v2_2 = 0;
            try {
                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).writeLock().lock();
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_3 = new java.io.FileOutputStream(new java.io.File(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$100(this.this$0, this.val$guid), this.val$key));
                try {
                    this.val$image.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v1_3);
                    v1_3.flush();
                    v1_3.close();
                    com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).writeLock().unlock();
                } catch (java.io.IOException v0_4) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error writing file to disk cache", v0_4);
                    com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).writeLock().unlock();
                    if (v1_3 != null) {
                        try {
                            v1_3.close();
                        } catch (java.io.IOException v0_14) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error writing file to disk cache", v0_14);
                        }
                    }
                }
                if (v1_3 != null) {
                    try {
                        v1_3.close();
                    } catch (java.io.IOException v0_16) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error writing file to disk cache", v0_16);
                    }
                }
            } catch (java.io.IOException v0_5) {
                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).writeLock().unlock();
                if (v2_2 != null) {
                    try {
                        v2_2.close();
                    } catch (com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_8) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Error writing file to disk cache", v1_8);
                    }
                }
                throw v0_5;
            } catch (java.io.IOException v0_4) {
                v1_3 = 0;
            } catch (java.io.IOException v0_5) {
                v2_2 = v1_3;
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance$6.run() calling method java.io.File.<init>()


    public void run()
    {
        try {
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().lock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock obtained in getImageFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
            com.adobe.creativesdk.foundation.internal.cache.AdobeMemCache v0_11 = new java.io.File(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$100(this.this$0, this.val$guid), this.val$key);
        } catch (com.adobe.creativesdk.foundation.internal.cache.AdobeMemCache v0_4) {
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().unlock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getImageFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
            throw v0_4;
        }
        if (v0_11.exists()) {
            String v1_14 = android.graphics.BitmapFactory.decodeFile(v0_11.getAbsolutePath());
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$300(this.this$0, this.val$guid, this.val$key, (new java.util.Date().getTime() - this.val$startTime.getTime()));
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$500(this.this$0, v0_11, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$400(this.this$0, this.val$guid, this.val$key));
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$600(this.this$0, this.val$callback, this.val$handler, v1_14, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheHitLocation.AdobeCommonCacheHitLocationDisk);
            if ((this.val$options.contains(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheOptions.AdobeCommonCacheKeepInMemoryCache)) && (com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$700(this.this$0) > 0)) {
                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$800(this.this$0).put(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$400(this.this$0, this.val$guid, this.val$key), v1_14);
            }
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().unlock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getImageFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
        } else {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Disk Miss for key ").append(this.val$key).toString());
            if (this.val$handler != null) {
                this.val$handler.post(new com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance$6$1(this));
            }
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().unlock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getImageFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance$4.run() calling method java.io.File.<init>()


    public void run()
    {
        String v2_0 = 0;
        try {
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().lock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Got Read lock in getObjectFromDiskWithGUID.Current lock count ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
            java.io.IOException v0_22 = new java.io.File(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$100(this.this$0, this.val$guid), this.val$key);
        } catch (java.io.IOException v0_9) {
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().unlock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
            throw v0_9;
        }
        if (v0_22.exists()) {
            try {
                String v3_5 = new java.io.FileInputStream(v0_22);
                try {
                    com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_19 = new java.io.ObjectInputStream(v3_5);
                    try {
                        String v2_28 = v1_19.readObject();
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$300(this.this$0, this.val$guid, this.val$key, (new java.util.Date().getTime() - this.val$startTime.getTime()));
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$500(this.this$0, v0_22, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$400(this.this$0, this.val$guid, this.val$key));
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$600(this.this$0, this.val$callback, this.val$handler, v2_28, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheHitLocation.AdobeCommonCacheHitLocationDisk);
                    } catch (java.io.IOException v0_4) {
                        v2_0 = v3_5;
                        try {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Unable to read map from cache", v0_4);
                            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$200(this.this$0, this.val$callback, this.val$handler);
                            try {
                                if (v2_0 != null) {
                                    v2_0.close();
                                }
                            } catch (java.io.IOException v0_7) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v0_7.getMessage(), v0_7);
                                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().unlock();
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
                            }
                            if (v1_19 == null) {
                            } else {
                                v1_19.close();
                            }
                            try {
                                if (v3_5 != null) {
                                    v3_5.close();
                                }
                            } catch (java.io.IOException v0_8) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v0_8.getMessage(), v0_8);
                            }
                            if (v1_19 == null) {
                            } else {
                                v1_19.close();
                            }
                        } catch (java.io.IOException v0_6) {
                            v3_5 = v2_0;
                            try {
                                if (v3_5 == null) {
                                    if (v1_19 != null) {
                                        v1_19.close();
                                    }
                                } else {
                                    v3_5.close();
                                }
                            } catch (com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_3) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v1_3.getMessage(), v1_3);
                            }
                            throw v0_6;
                        }
                    } catch (java.io.IOException v0_1) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), "Unable to read map from cache", v0_1);
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$200(this.this$0, this.val$callback, this.val$handler);
                        try {
                            if (v3_5 != null) {
                                v3_5.close();
                            }
                        } catch (java.io.IOException v0_3) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), v0_3.getMessage(), v0_3);
                        }
                        if (v1_19 == null) {
                        } else {
                            v1_19.close();
                        }
                    }
                    if ((this.val$options.contains(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheOptions.AdobeCommonCacheKeepInMemoryCache)) && (com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$700(this.this$0) > 0)) {
                        com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$800(this.this$0).put(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$400(this.this$0, this.val$guid, this.val$key), v2_28);
                    }
                } catch (java.io.IOException v0_6) {
                    v1_19 = 0;
                } catch (java.io.IOException v0_4) {
                    v1_19 = 0;
                    v2_0 = v3_5;
                } catch (java.io.IOException v0_1) {
                    v1_19 = 0;
                }
            } catch (java.io.IOException v0_6) {
                v1_19 = 0;
                v3_5 = 0;
            } catch (java.io.IOException v0_4) {
                v1_19 = 0;
            } catch (java.io.IOException v0_1) {
                v1_19 = 0;
                v3_5 = 0;
            } catch (java.io.IOException v0_6) {
            }
        } else {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Disk Miss for key ").append(this.val$key).toString());
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$200(this.this$0, this.val$callback, this.val$handler);
            com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).readLock().unlock();
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.getName(), new StringBuilder().append("Read lock released in getObjectFromDiskWithGUID.Holding ").append(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance.access$000(this.this$0).getReadLockCount()).toString());
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.removeAllCaches() calling method java.io.File.<init>()


    public void removeAllCaches()
    {
        java.util.HashMap v0_3 = new java.io.File(this.rootCacheDir);
        if (v0_3.exists()) {
            try {
                org.apache.commons.io.FileUtils.deleteDirectory(v0_3);
            } catch (java.util.HashMap v0_10) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getName(), "Error removing cache", v0_10);
            }
            java.util.Iterator v1_1 = this.cacheInstances.keySet().iterator();
            while (v1_1.hasNext()) {
                ((com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance) this.cacheInstances.get(((String) v1_1.next()))).clear();
            }
            this.cacheInstances.clear();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.removeDiskCachesOlderThan() calling method java.io.File.<init>()


    private void removeDiskCachesOlderThan(int p11)
    {
        com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_5 = new java.io.File(this.rootCacheDir);
        if (v0_5.exists()) {
            String v3_0 = v0_5.listFiles(new com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache$2(this));
            if (v3_0 != null) {
                if ((v3_0.length == 0) && (this.verboseLogging)) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getName(), "Cache is Empty. Nothing to scrub");
                }
                this.freezeAllCaches(1);
                String v4_1 = v3_0.length;
                int v1_3 = 0;
                while (v1_3 < v4_1) {
                    String v5_0 = v3_0[v1_3];
                    com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_7 = v5_0.getName().toLowerCase();
                    if ((this.cacheDirPattern.matcher(v0_7).matches()) && ((v0_7.charAt(32) == 55) && ((new java.util.Date().getTime() - v5_0.lastModified()) > ((long) p11)))) {
                        try {
                            org.apache.commons.io.FileUtils.deleteDirectory(v5_0);
                        } catch (com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_14) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getName(), new StringBuilder().append("Error delecting disk cache during scrubbing : ").append(v5_0.getAbsolutePath()).toString(), v0_14);
                        }
                        if (this.verboseLogging) {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getName(), new StringBuilder().append("Deleting disk cache at ").append(v5_0.getAbsolutePath()).toString());
                        }
                    }
                    v1_3++;
                }
                this.freezeAllCaches(0);
            } else {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getName(), new StringBuilder().append("Failed to access disk cache root directory at ").append(this.rootCacheDir).toString());
            }
        }
        return;
    }

Method com.adobe.creativesdk.aviary.widget.PackDetailPreviews$PreviewAdapter.loadImage() calling method java.io.File.<init>()


    public void loadImage(String p6, String p7, android.widget.ImageView p8)
    {
        it.sephiroth.android.library.picasso.RequestCreator v0_5;
        String v2_1 = new java.io.File(this.baseDir, new StringBuilder().append(p6).append(this.fileExt).toString()).getAbsolutePath();
        int v3_0 = v2_1.hashCode();
        it.sephiroth.android.library.picasso.RequestCreator v0_3 = ((Integer) p8.getTag());
        if ((v0_3 == null) || (!v0_3.equals(Integer.valueOf(v3_0)))) {
            v0_5 = 0;
        } else {
            v0_5 = 1;
        }
        if (v0_5 == null) {
            if (p8.getDrawable() != null) {
                p8.setImageBitmap(0);
            }
            it.sephiroth.android.library.picasso.RequestCreator v0_13;
            this.picasso.cancelRequest(p8);
            it.sephiroth.android.library.picasso.RequestCreator vtmp11 = this.picasso.load(v2_1).fit();
            if (!com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$000(this.this$0)) {
                v0_13 = 0;
            } else {
                v0_13 = 200;
            }
            vtmp11.fade(v0_13).transform(new com.adobe.creativesdk.aviary.graphics.CdsPreviewTransformer(v2_1, p7, this.packType.toCdsString())).into(p8, new com.adobe.creativesdk.aviary.widget.PackDetailPreviews$PreviewAdapter$1(this, p8, v3_0));
        }
        return;
    }

Method com.adobe.creativesdk.aviary.widget.PackDetailPreviews$LoadPreviewsTask.doInBackground() calling method java.io.File.<init>()


    protected varargs android.database.Cursor doInBackground(Long[] p11)
    {
        int v0_0;
        if (com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$900(this.this$0)) {
            this.packId = p11[0].longValue();
            com.adobe.android.common.log.LoggerFactory$Logger v1_3 = this.this$0.getContext();
            if (this.packId == com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$500(this.this$0)) {
                com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper v9 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackFullInfoById(v1_3, this.packId);
                if ((v9 != null) && (v9.getContent() != null)) {
                    int v0_22;
                    this.previewPath = v9.getContent().getPreviewPath();
                    if (!android.text.TextUtils.isEmpty(this.previewPath)) {
                        String v4_3 = new java.io.File(this.previewPath);
                        if ((v4_3.exists()) && (v4_3.isDirectory())) {
                            try {
                                com.adobe.creativesdk.aviary.internal.cds.CdsValidatorFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.PREVIEW, com.adobe.creativesdk.aviary.internal.cds.Cds$PackType.fromString(v9.getPackType())).validate(v1_3, v9.getContent().getId(), v4_3, 0);
                                com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$600().warn("previewPath is valid");
                                v0_22 = 0;
                            } catch (int v0_23) {
                                v0_23.printStackTrace();
                                com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$600().warn("previewPath is not valid");
                                try {
                                    org.apache.commons.io.FileUtils.deleteDirectory(v4_3);
                                    v0_22 = 1;
                                } catch (int v0_26) {
                                    v0_26.printStackTrace();
                                    v0_22 = 1;
                                }
                            }
                        } else {
                            com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$600().warn("previewPath doesn\'t exists");
                            v0_22 = 1;
                        }
                    } else {
                        com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$600().warn("previewPath is empty");
                        v0_22 = 1;
                    }
                    if (v0_22 != 0) {
                        try {
                            this.previewPath = com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.PREVIEW).download(v1_3, this.packId);
                        } catch (int v0_33) {
                            com.adobe.android.common.log.LoggerFactory$Logger v1_4 = com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$600();
                            Object[] v3 = new Object[1];
                            v3[0] = v0_33;
                            v1_4.error("failed to download previews: %s", v3);
                            v0_33.printStackTrace();
                            v0_0 = 0;
                            return v0_0;
                        }
                    }
                    if (!android.text.TextUtils.isEmpty(this.previewPath)) {
                        double[] v6_1 = new double[1];
                        v6_1[0] = 0;
                        v0_0 = com.adobe.creativesdk.aviary.utils.CdsUIUtils.computePreviewAspectRatio(v1_3, this.packId, v9.getPackType(), this.previewPath, v6_1);
                        this.aspectRatio = v6_1[0];
                    } else {
                        com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$600().error("previewPath is still empty!!");
                        v0_0 = 0;
                    }
                } else {
                    com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$600().warn("pack or its content is null");
                    v0_0 = 0;
                }
            } else {
                com.adobe.creativesdk.aviary.widget.PackDetailPreviews.access$600().warn("packid != View.packId");
                v0_0 = 0;
            }
        } else {
            v0_0 = 0;
        }
        return v0_0;
    }

Method com.adobe.creativesdk.aviary.widget.PackDetailBannerView.load() calling method java.io.File.<init>()


    public boolean load(com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper p6)
    {
        int v0 = 1;
        Object[] v4 = new Object[1];
        v4[0] = p6;
        com.adobe.creativesdk.aviary.widget.PackDetailBannerView.logger.info("load: %s", v4);
        this.mTotalAttempts = 0;
        this.mPack = p6;
        if (p6 == null) {
            v0 = 0;
        } else {
            this.mPackId = p6.getId();
            this.mPackDetailPath = p6.getContent().getDetailImageLocalPath();
            if ((android.text.TextUtils.isEmpty(this.mPackDetailPath)) || (!new java.io.File(this.mPackDetailPath).exists())) {
                this.loadPackIcon();
            } else {
                this.loadDetailImage(1);
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.aviary.widget.PackDetailBannerView.loadDetailImage() calling method java.io.File.<init>()


    private void loadDetailImage(boolean p9)
    {
        long v2_2 = new Object[1];
        v2_2[0] = Boolean.valueOf(p9);
        com.adobe.creativesdk.aviary.widget.PackDetailBannerView.logger.info("loadDetailImage(%b)", v2_2);
        if (!this.isValidContext()) {
            com.adobe.creativesdk.aviary.widget.PackDetailBannerView.logger.warn("invalid context");
        }
        if (this.mPack != null) {
            long v2_0 = new Object[1];
            v2_0[0] = this.mPackDetailPath;
            com.adobe.creativesdk.aviary.widget.PackDetailBannerView.logger.verbose("detail path: %s", v2_0);
            com.adobe.creativesdk.aviary.widget.PackDetailBannerView$1 v0_5 = this.mTotalAttempts;
            this.mTotalAttempts = (v0_5 + 1);
            if (v0_5 <= 4) {
                if (android.text.TextUtils.isEmpty(this.mPackDetailPath)) {
                    long v2_1 = new Object[0];
                    com.adobe.creativesdk.aviary.widget.PackDetailBannerView.logger.verbose("need to download the detail image...", v2_1);
                    com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.DETAIL_IMAGE).downloadAsync(this.getContext(), this.mPackId, this);
                } else {
                    long v2_4 = this.mPackId;
                    java.io.File v4_2 = new java.io.File(this.mPackDetailPath);
                    if (!v4_2.exists()) {
                        com.adobe.creativesdk.aviary.widget.PackDetailBannerView.logger.warn("file does not exists!");
                        this.mPackDetailPath = 0;
                        org.apache.commons.io.FileUtils.deleteQuietly(v4_2);
                        if (!this.mIconLoaded) {
                            this.loadPackIcon();
                        } else {
                            this.loadDetailImage(p9);
                        }
                    } else {
                        this.mDetailImageView.setTag(this.mPack.getIdentifier());
                        it.sephiroth.android.library.picasso.RequestCreator v6 = this.mPicasso.load(this.mPackDetailPath);
                        v6.noFade();
                        v6.skipMemoryCache();
                        v6.config(android.graphics.Bitmap$Config.RGB_565);
                        v6.fit(1);
                        if (p9) {
                            com.adobe.creativesdk.aviary.widget.PackDetailBannerView$1 v0_20 = new com.adobe.creativesdk.aviary.panels.PacksListAdapter$PaletteTransformation(this);
                            v0_20.resize(this.getResources().getDimensionPixelSize(com.aviary.android.feather.sdk.R$dimen.com_adobe_image_store_detail_icon_size));
                            v6.transform(v0_20);
                        }
                        v6.into(this.mDetailImageView, new com.adobe.creativesdk.aviary.widget.PackDetailBannerView$1(this, v2_4, v4_2, p9));
                    }
                }
            } else {
                com.adobe.creativesdk.aviary.widget.PackDetailBannerView.logger.error("too many attempts");
            }
        } else {
            com.adobe.creativesdk.aviary.widget.PackDetailBannerView.logger.warn("pack is null");
        }
        return;
    }

Method com.adobe.creativesdk.aviary.utils.CdsUIUtils.computePreviewAspectRatio() calling method java.io.File.<init>()


    public static android.database.Cursor computePreviewAspectRatio(android.content.Context p13, long p14, String p16, String p17, double[] p18)
    {
        android.database.Cursor v5 = 0;
        if ((p13 != null) && ((p18 != null) && (p18.length >= 1))) {
            double v2_2;
            double v2_0 = p13.getContentResolver();
            int v3_6 = com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p13, new StringBuilder().append("pack/").append(p14).append("/item/list").toString());
            int v4_3 = new String[5];
            v4_3[0] = "item_id as _id";
            v4_3[1] = "pack_type";
            v4_3[2] = "item_id";
            v4_3[3] = "item_identifier";
            v4_3[4] = "item_displayName";
            v5 = v2_0.query(v3_6, v4_3, v5, v5, v5);
            if ((v5 == null) || (!v5.moveToFirst())) {
                v2_2 = 1.0;
            } else {
                double v2_9 = new java.io.File(p17, new StringBuilder().append(v5.getString(v5.getColumnIndex("item_identifier"))).append(com.adobe.creativesdk.aviary.internal.cds.Cds.getPreviewItemExt(p16)).toString()).getAbsolutePath();
                int v3_10 = new android.graphics.BitmapFactory$Options();
                v3_10.inJustDecodeBounds = 1;
                android.graphics.BitmapFactory.decodeFile(v2_9, v3_10);
                if ((v3_10.outHeight != 0) && (v3_10.outWidth != 0)) {
                    if (!"effect".equals(p16)) {
                        v2_2 = (((double) v3_10.outWidth) / ((double) v3_10.outHeight));
                    } else {
                        v2_2 = (((double) v3_10.outWidth) / ((double) (((float) v3_10.outHeight) * 1063088292)));
                    }
                } else {
                    v2_2 = 1.0;
                }
            }
            p18[0] = v2_2;
        }
        return v5;
    }

Method com.adobe.creativesdk.aviary.panels.StickersPanelAbstract$RestoreInstanceStateTask.onPostExecute() calling method java.io.File.<init>()


    protected void onPostExecute(android.graphics.Bitmap p14)
    {
        super.onPostExecute(p14);
        this.this$0.onProgressEnd();
        boolean v2_12 = new Object[0];
        this.this$0.logger.verbose("RestoreInstanceStateTask onPostExecute", v2_12);
        if (this.this$0.isActive()) {
            if (p14 != null) {
                if ((this.this$0.mPreview != null) && ((!this.this$0.mPreview.equals(p14)) && (!this.this$0.mPreview.isRecycled()))) {
                    this.this$0.mPreview.recycle();
                }
                if (this.state.stickersActionList != null) {
                    com.adobe.creativesdk.aviary.panels.StickersPanelAbstract.access$202(this.this$0, this.state.stickersActionList);
                }
                if (this.state.stickersActionGroup != null) {
                    com.adobe.creativesdk.aviary.panels.StickersPanelAbstract.access$302(this.this$0, this.state.stickersActionGroup);
                }
                this.this$0.mStickersOnScreen = this.state.stickersOnScreen;
                this.this$0.mPreview = p14;
                com.adobe.creativesdk.aviary.panels.StickersPanelAbstract.access$402(this.this$0, new android.graphics.Canvas(this.this$0.mPreview));
                this.this$0.mImageView.setImageBitmap(this.this$0.mPreview, this.this$0.mImageView.getDisplayMatrix(), this.this$0.mImageView.getMinScale(), this.this$0.mImageView.getMaxScale());
            }
            com.adobe.creativesdk.aviary.internal.graphics.drawable.FeatherDrawable v0_33 = this.this$0.logger;
            boolean v2_11 = new Object[1];
            v2_11[0] = this.state.currentSticker;
            v0_33.verbose("currentSticker: %s", v2_11);
            if (this.state.currentSticker != null) {
                com.adobe.creativesdk.aviary.internal.graphics.drawable.FeatherDrawable v0_1;
                com.adobe.creativesdk.aviary.panels.StickersPanelAbstract$StickerSaveState v12 = this.state.currentSticker;
                com.adobe.creativesdk.aviary.widget.ImageViewDrawableOverlay v11_1 = ((com.adobe.creativesdk.aviary.widget.ImageViewDrawableOverlay) this.this$0.mImageView);
                if (android.text.TextUtils.isEmpty(v12.file)) {
                    v0_1 = this.this$0.addStickerFromBitmapInternal(com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.safeLoad(v12.bitmap), v12.identifier, v12.packIdentifier, v12.itemId, 0, this.this$0.mImageView.getImageViewMatrix(), 0, v12.packDisplayName, v12.itemDisplayName);
                } else {
                    v0_1 = com.adobe.creativesdk.aviary.panels.StickersPanelAbstract.access$500(this.this$0, new java.io.File(v12.file), v12.identifier, v12.packIdentifier, v12.itemId, 0, this.this$0.mImageView.getImageViewMatrix(), 0, v12.packDisplayName, v12.itemDisplayName);
                }
                if (v0_1 != null) {
                    if (!v12.selected) {
                        v11_1.setSelectedHighlightView(0);
                    } else {
                        v11_1.setSelectedHighlightView(v0_1);
                    }
                    v0_1.setup(v11_1.getImageViewMatrix(), v12.matrixState.matrix, v12.cropRect, v12.rotation);
                    v0_1.getContent().setHorizontalFlip(v12.flip);
                    v0_1.setOpacity(v12.alpha);
                    v0_1.setConfirmedOpacity(v12.alpha);
                    v0_1.getContent().invalidateSelf();
                }
            }
        }
        this.this$0.mImageView.invalidate();
        return;
    }

Method com.adobe.creativesdk.aviary.panels.StickersPanelAbstract.addStickerFromPath() calling method java.io.File.<init>()


    private void addStickerFromPath(String p13, String p14, String p15, long p16, android.graphics.RectF p18, boolean p19, String p20, String p21)
    {
        this.addStickerFromFileInternal(new java.io.File(p13, com.adobe.creativesdk.aviary.internal.cds.Cds.getPackItemFilename(p14, com.adobe.creativesdk.aviary.internal.cds.Cds$PackType.STICKER, com.adobe.creativesdk.aviary.internal.cds.Cds$Size.Medium)), p14, p15, p16, p18, this.mImageView.getImageViewMatrix(), p19, p20, p21);
        return;
    }

Method com.adobe.creativesdk.aviary.internal.utils.SystemUtils.readValues() calling method java.io.File.<init>()


    private static void readValues(java.util.HashMap p4, String p5)
    {
        int v2 = 0;
        try {
            android.util.Log.i("SystemUtils", new StringBuilder().append("readValues: ").append(p5).toString());
            int v1_2 = new java.io.BufferedReader(new java.io.FileReader(new java.io.File(p5)));
            try {
                while(true) {
                    java.io.IOException v0_5 = v1_2.readLine();
                    com.adobe.creativesdk.aviary.internal.utils.SystemUtils.parseLine(v0_5, p4);
                }
                com.adobe.android.common.util.IOUtils.closeSilently(v1_2);
                return;
            } catch (java.io.IOException v0_3) {
                v0_3.printStackTrace();
                com.adobe.android.common.util.IOUtils.closeSilently(v1_2);
                return;
            }
            if (v0_5 != null) {
            }
        } catch (java.io.IOException v0_4) {
            com.adobe.android.common.util.IOUtils.closeSilently(v2);
            throw v0_4;
        } catch (java.io.IOException v0_3) {
            v1_2 = 0;
        } catch (java.io.IOException v0_4) {
            v2 = v1_2;
        }
    }

Method com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.save() calling method java.io.File.<init>()


    public static android.os.Bundle save(android.content.Context p6, android.graphics.Bitmap p7)
    {
        android.os.Bundle v0_0 = 0;
        if (!p7.isRecycled()) {
            String v1_4 = p7.getByteCount();
            if (v1_4 != null) {
                String v1_9 = java.nio.ByteBuffer.allocateDirect(v1_4);
                p7.copyPixelsToBuffer(v1_9);
                v1_9.flip();
                int v2_0 = com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.getParentDir(p6);
                if (v2_0 != 0) {
                    java.io.File v3_1 = new java.io.File(v2_0, new StringBuilder().append("savedBitmap").append(System.currentTimeMillis()).append(".bmp").toString());
                    android.os.Bundle v0_8 = new java.io.RandomAccessFile(v3_1, "rw");
                    int v2_2 = v0_8.getChannel();
                    v2_2.write(v1_9);
                    v2_2.close();
                    v0_8.close();
                    v0_0 = new android.os.Bundle();
                    v0_0.putString("src.uri", v3_1.getAbsolutePath());
                    if (p7.getConfig() != null) {
                        v0_0.putString("src.config", p7.getConfig().name());
                    }
                    v0_0.putInt("src.width", p7.getWidth());
                    v0_0.putInt("src.height", p7.getHeight());
                } else {
                    android.util.Log.e(com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.TAG, "Failed to access cache directory");
                }
            } else {
                android.util.Log.e(com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.TAG, "bytesCount returned 0");
            }
        }
        return v0_0;
    }

Method com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.load() calling method java.io.File.<init>()


    public static android.graphics.Bitmap load(android.os.Bundle p12)
    {
        int v0_5;
        int v7 = p12.getInt("src.width", 0);
        int v8 = p12.getInt("src.height", 0);
        String v9 = p12.getString("src.config", android.graphics.Bitmap$Config.ARGB_8888.name());
        int v0_1 = p12.getString("src.uri", 0);
        if ((v7 >= 1) && ((v8 >= 1) && ((!android.text.TextUtils.isEmpty(v9)) && (!android.text.TextUtils.isEmpty(v0_1))))) {
            java.io.File v10_1 = new java.io.File(v0_1);
            java.io.RandomAccessFile v11_1 = new java.io.RandomAccessFile(v10_1, "r");
            int v0_4 = v11_1.getChannel();
            java.nio.MappedByteBuffer v2_2 = v0_4.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0_4.size());
            v2_2.load();
            try {
                Exception v1_7 = android.graphics.Bitmap.createBitmap(v7, v8, android.graphics.Bitmap$Config.valueOf(v9));
                v1_7.copyPixelsFromBuffer(v2_2);
                v0_4.close();
                v11_1.close();
                v10_1.delete();
                v0_5 = v1_7;
            } catch (Exception v1_9) {
                v0_5.close();
                v11_1.close();
                v10_1.delete();
                throw v1_9;
            } catch (Exception v1_8) {
                v1_8.printStackTrace();
                v0_5.close();
                v11_1.close();
                v10_1.delete();
                v0_5 = 0;
            }
        } else {
            android.util.Log.w(com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.TAG, new StringBuilder().append("width=").append(v7).append(", height=").append(v8).append(", config=").append(v9).append(", uri=").append(v0_1).toString());
            v0_5 = 0;
        }
        return v0_5;
    }

Method com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.getParentDir() calling method java.io.File.<init>()


    private static java.io.File getParentDir(android.content.Context p3)
    {
        int v0_1 = new java.io.File(p3.getExternalCacheDir(), "savedInstances");
        v0_1.mkdirs();
        if (!v0_1.isDirectory()) {
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.aviary.internal.utils.AviaryNotificationManager.extractPackIcon() calling method java.io.File.<init>()


    private android.graphics.Bitmap extractPackIcon(android.content.Context p5, String p6)
    {
        android.graphics.Bitmap v0_0 = 0;
        android.graphics.Bitmap v1_4 = new java.io.File(p6);
        if (v1_4.exists()) {
            boolean v2_2 = android.graphics.BitmapFactory.decodeFile(v1_4.getAbsolutePath());
            if (v2_2) {
                android.graphics.Bitmap v1_3 = com.adobe.creativesdk.aviary.internal.utils.BitmapUtils.resizeBitmap(v2_2, p5.getResources().getDimensionPixelSize(com.aviary.android.feather.sdk.R$dimen.com_adobe_image_notification_large_icon_size), p5.getResources().getDimensionPixelSize(com.aviary.android.feather.sdk.R$dimen.com_adobe_image_notification_large_icon_size));
                if ((v1_3 != v2_2) && (!v2_2.isRecycled())) {
                    v2_2.recycle();
                }
                if (v1_3 != null) {
                    if (!com.adobe.creativesdk.aviary.internal.utils.ApiHelper.AT_LEAST_21) {
                        v0_0 = v1_3;
                    } else {
                        v0_0 = com.adobe.creativesdk.aviary.internal.utils.BitmapUtils.circleMask(v1_3, ((float) (v1_3.getWidth() / 2)));
                        if ((v0_0 != v1_3) && (!v1_3.isRecycled())) {
                            v1_3.recycle();
                        }
                    }
                }
            }
        }
        return v0_0;
    }

Method com.adobe.creativesdk.aviary.internal.services.MessageService.handleActiveMessage() calling method java.io.File.<init>()


    private boolean handleActiveMessage()
    {
        com.adobe.android.common.log.LoggerFactory$Logger v0_1;
        com.adobe.creativesdk.aviary.internal.cds.MessageContentColumn$CursorWrapper v2_0 = 0;
        this.logger.info("handleActiveMessage");
        String v1_12 = this.getBaseContext();
        if (v1_12 != null) {
            if ((this.mEnabled) && (this.isActive())) {
                String v1_5 = v1_12.getContentResolver().query(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(v1_12, new StringBuilder().append("message/future/").append(com.adobe.creativesdk.aviary.internal.cds.Cds$MessageType.LAUNCH.toString().toLowerCase(java.util.Locale.US)).toString()), 0, 0, 0, 0);
                if (v1_5 != null) {
                    try {
                        if (v1_5.moveToFirst()) {
                            v2_0 = com.adobe.creativesdk.aviary.internal.cds.MessageContentColumn$CursorWrapper.create(v1_5);
                        }
                    } catch (com.adobe.android.common.log.LoggerFactory$Logger v0_8) {
                        com.adobe.android.common.util.IOUtils.closeSilently(v1_5);
                        throw v0_8;
                    }
                    com.adobe.android.common.util.IOUtils.closeSilently(v1_5);
                }
                if (v2_0 == null) {
                    this.logger.warn("no active messages");
                } else {
                    com.adobe.android.common.log.LoggerFactory$Logger v0_10 = this.logger;
                    int v3_10 = new Object[1];
                    v3_10[0] = v2_0.getContentIdentifier();
                    v0_10.log("found active message: %s", v3_10);
                    com.adobe.android.common.log.LoggerFactory$Logger v0_11 = v2_0.getContentPath();
                    String v1_9 = this.logger;
                    Object[] v4_6 = new Object[1];
                    v4_6[0] = v0_11;
                    v1_9.log("content path: %s", v4_6);
                    if (v0_11 != null) {
                        String v1_11 = new java.io.File(v0_11);
                        com.adobe.android.common.log.LoggerFactory$Logger v0_12 = this.logger;
                        Object[] v4_7 = new Object[1];
                        v4_7[0] = Boolean.valueOf(v1_11.exists());
                        v0_12.verbose("file exists: %b", v4_7);
                        if (this.getBaseContext() != null) {
                            com.adobe.android.common.log.LoggerFactory$Logger v0_17 = this.getBaseContext().getResources().getDisplayMetrics().densityDpi;
                            int v3_14 = new android.graphics.BitmapFactory$Options();
                            v3_14.inScaled = 1;
                            v3_14.inTargetDensity = v0_17;
                            v3_14.inDensity = 240;
                            v3_14.inJustDecodeBounds = 1;
                            android.graphics.BitmapFactory.decodeFile(v1_11.getAbsolutePath(), v3_14);
                            if (!v1_11.exists()) {
                                this.logger.warn("file doesn\'t exist!");
                            } else {
                                this.showMessage(v2_0, v3_14.outWidth, v3_14.outHeight);
                                v0_1 = 1;
                                return v0_1;
                            }
                        }
                    }
                }
                v0_1 = 0;
            } else {
                com.adobe.android.common.log.LoggerFactory$Logger v0_2 = this.logger;
                com.adobe.creativesdk.aviary.internal.cds.MessageContentColumn$CursorWrapper v2_2 = new Object[2];
                v2_2[0] = Boolean.valueOf(this.mEnabled);
                v2_2[1] = Boolean.valueOf(this.isActive());
                v0_2.warn("enabled: %b, active: %b", v2_2);
                v0_1 = 0;
            }
        } else {
            this.logger.error("context is null");
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.aviary.internal.services.MessageService$1.run() calling method java.io.File.<init>()


    public varargs String run(com.adobe.creativesdk.aviary.internal.threading.ThreadPool$Worker p10, android.content.Context[] p11)
    {
        String v2 = 0;
        android.content.Context v6 = p11[0];
        if (v6 != null) {
            Throwable v0_1;
            com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory$Downloader v1_4 = v6.getContentResolver().query(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(v6, new StringBuilder().append("message/future/").append(com.adobe.creativesdk.aviary.internal.cds.Cds$MessageType.LAUNCH.toString().toLowerCase(java.util.Locale.US)).toString()), 0, 0, 0, 0);
            if (v1_4 == null) {
                v0_1 = 0;
            } else {
                try {
                    while (v1_4.moveToNext()) {
                        v0_1 = com.adobe.creativesdk.aviary.internal.cds.MessageContentColumn$CursorWrapper.create(v1_4);
                        if (v0_1 != null) {
                            com.adobe.android.common.log.LoggerFactory$Logger v3_4 = v0_1.getContentPath();
                            if ((android.text.TextUtils.isEmpty(v3_4)) || (!new java.io.File(v3_4).exists())) {
                            }
                        }
                        com.adobe.android.common.util.IOUtils.closeSilently(v1_4);
                    }
                } catch (Throwable v0_3) {
                    com.adobe.android.common.util.IOUtils.closeSilently(v1_4);
                    throw v0_3;
                }
                v0_1 = 0;
            }
            if (v0_1 != null) {
                com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory$Downloader v1_6 = com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.MESSAGE);
                if (v1_6 != null) {
                    try {
                        com.adobe.android.common.log.LoggerFactory$Logger v3_7 = this.this$0.logger;
                        Object[] v5_2 = new Object[1];
                        v5_2[0] = v0_1.getContentIdentifier();
                        v3_7.log("downloading message... %s", v5_2);
                        v2 = v1_6.download(v6, v0_1.getMessageId());
                    } catch (Throwable v0_5) {
                        v0_5.printStackTrace();
                    }
                }
            }
        }
        return v2;
    }

Method com.adobe.creativesdk.aviary.internal.media.StorageInfo.buildPath() calling method java.io.File.<init>()


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

Method com.adobe.creativesdk.aviary.internal.content.SessionDatabaseHelper$ActionWrapper.getRecipeActionList() calling method java.io.File.<init>()


    private String getRecipeActionList()
    {
        Throwable v0_5;
        if (android.text.TextUtils.isEmpty(this.recipe)) {
            v0_5 = 0;
        } else {
            java.io.ByteArrayOutputStream v1_1 = new java.io.ByteArrayOutputStream();
            java.util.zip.ZipInputStream v2_0 = new java.util.zip.ZipInputStream(new java.io.FileInputStream(new java.io.File(this.recipe)));
            try {
                com.adobe.android.common.util.IOUtils.readFileFromZip(v2_0, "actionlist.json", v1_1);
                v0_5 = new String(v1_1.toByteArray(), "UTF-8");
                com.adobe.android.common.util.IOUtils.closeSilently(v2_0);
                com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
            } catch (Throwable v0_6) {
                com.adobe.android.common.util.IOUtils.closeSilently(v2_0);
                com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
                throw v0_6;
            }
        }
        return v0_5;
    }

Method com.adobe.creativesdk.aviary.internal.cds.PackInstaller.installFromDir() calling method java.io.File.<init>()


    public static void installFromDir(android.content.Context p12, java.io.File p13)
    {
        String v0_0 = 2;
        String v2_16 = 0;
        if ((p13 != null) && ((p13.isDirectory()) && (p13.exists()))) {
            StringBuilder v3_1 = new String[4];
            v3_1[0] = "status.json";
            v3_1[1] = "index.json";
            v3_1[2] = "icon.png";
            v3_1[3] = "content.zip";
            String v4_2 = new java.util.ArrayList(java.util.Arrays.asList(v3_1));
            StringBuilder v5_9 = p13.listFiles();
            String v6_1 = v5_9.length;
            StringBuilder v3_6 = 0;
            while (v3_6 < v6_1) {
                v4_2.remove(v5_9[v3_6].getName());
                v3_6++;
            }
            if (v4_2.size() == 0) {
                String v4_6 = new java.io.FileInputStream(new java.io.File(p13, "index.json"));
                StringBuilder v5_13 = new com.adobe.creativesdk.aviary.internal.cds.json.CdsContentParser();
                v5_13.parse(v4_6);
                com.adobe.android.common.util.IOUtils.closeSilently(v4_6);
                StringBuilder v3_10 = v5_13.getIdentifier();
                String v4_7 = v5_13.getDisplayName();
                StringBuilder v7_13 = v5_13.getItems().size();
                String v6_3 = v5_13.getPackType();
                android.util.Log.d("PackInstaller", new StringBuilder().append("identifier: ").append(v3_10).toString());
                android.util.Log.d("PackInstaller", new StringBuilder().append("displayName: ").append(v4_7).toString());
                android.util.Log.d("PackInstaller", new StringBuilder().append("count: ").append(v7_13).toString());
                android.util.Log.d("PackInstaller", new StringBuilder().append("packType: ").append(v6_3).toString());
                String v4_13 = new java.util.ArrayList();
                StringBuilder v7_0 = new android.content.ContentValues();
                v7_0.put("pack_identifier", v3_10);
                v7_0.put("pack_type", v6_3);
                v7_0.put("pack_versionKey", v5_13.getVersionKey());
                v7_0.put("pack_visible", Integer.valueOf(1));
                v7_0.put("pack_displayOrder", Integer.valueOf(0));
                v7_0.put("pack_previouslyInstalled", Integer.valueOf(1));
                v4_13.add(v7_0);
                StringBuilder v7_2 = new android.content.ContentValues();
                v7_2.put("content_displayName", v5_13.getDisplayName());
                v7_2.put("content_displayDescription", v5_13.getDisplayDescription());
                v7_2.put("content_contentURL", v5_13.getContentURL());
                v7_2.put("content_contentVersion", v5_13.getContentVersion());
                v7_2.put("content_iconUrl", v5_13.getIconURL());
                v7_2.put("content_iconVersion", v5_13.getIconVersion());
                v7_2.put("content_previewURL", v5_13.getPreviewURL());
                v7_2.put("content_previewVersion", v5_13.getPreviewVersion());
                if (!v5_13.isFreeWithLogin()) {
                    if (!v5_13.isFree()) {
                        v0_0 = 0;
                    } else {
                        v0_0 = 1;
                    }
                }
                v7_2.put("content_isFree", Integer.valueOf(v0_0));
                v7_2.put("content_purchased", Integer.valueOf(1));
                v4_13.add(v7_2);
                android.database.sqlite.SQLiteDatabase v1_1 = v5_13.getItems();
                while (v2_16 < v1_1.size()) {
                    String v0_24 = ((com.adobe.creativesdk.aviary.internal.cds.json.CdsContentParser$ContentItem) v1_1.get(v2_16));
                    StringBuilder v5_11 = new android.content.ContentValues();
                    v5_11.put("item_identifier", v0_24.getIdentifier());
                    v5_11.put("item_displayName", v0_24.getDisplayName());
                    if (v0_24.getOptions() != null) {
                        v5_11.put("item_options", v0_24.getOptions());
                    }
                    v4_13.add(v5_11);
                    v2_16++;
                }
                String v0_5 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackByIdentifier(p12, v3_10, 0);
                if (v0_5 != null) {
                    android.util.Log.d("PackInstaller", "pack already exists. trying to uninstall");
                    android.util.Log.d("PackInstaller", new StringBuilder().append("remove result: ").append(p12.getContentResolver().delete(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p12, new StringBuilder().append("pack/id/").append(v0_5.getId()).append("/remove").toString()), 0, 0)).toString());
                    android.util.Log.d("PackInstaller", "now trying to delete old contents");
                    com.adobe.creativesdk.aviary.internal.cds.CdsUtils.uninstallPack(p12, v0_5.getId());
                }
                String v0_8 = new android.content.ContentValues[v4_13.size()];
                String v0_10 = ((android.content.ContentValues[]) v4_13.toArray(v0_8));
                android.database.sqlite.SQLiteDatabase v1_10 = com.adobe.creativesdk.aviary.internal.cds.CdsDatabaseHelper.getInstance(p12).getWritableDatabase();
                v1_10.beginTransaction();
                try {
                    String v4_1 = com.adobe.creativesdk.aviary.internal.cds.PackInstaller.insertNewPackContentAndItems(p12, v1_10, v0_10);
                } catch (String v0_22) {
                    v1_10.endTransaction();
                    throw v0_22;
                }
                if (v4_1 > -1) {
                    android.util.Log.d("PackInstaller", new StringBuilder().append("icon result: ").append(com.adobe.creativesdk.aviary.internal.cds.PackInstaller.extractIcon(p12, v1_10, new java.io.File(p13, "icon.png"), v3_10, v4_1)).toString());
                    android.util.Log.d("PackInstaller", new StringBuilder().append("content result: ").append(com.adobe.creativesdk.aviary.internal.cds.PackInstaller.extractContent(p12, v1_10, new java.io.File(p13, "content.zip"), v3_10, v4_1, v6_3)).toString());
                    v1_10.setTransactionSuccessful();
                }
                v1_10.endTransaction();
                return;
            } else {
                throw new java.io.IOException("Pack is not valid");
            }
        } else {
            android.util.Log.w("PackInstaller", "dir does not exists");
            throw new java.io.IOException("Target directory doesn\'t exist or is invalid");
        }
    }

Method com.adobe.creativesdk.aviary.internal.cds.PackInstaller.extractIcon() calling method java.io.File.<init>()


    private static int extractIcon(android.content.Context p6, android.database.sqlite.SQLiteDatabase p7, java.io.File p8, String p9, long p10)
    {
        int v0_6;
        android.util.Log.i("PackInstaller", new StringBuilder().append("extractIcon: ").append(p9).append(", packId: ").append(p10).toString());
        junit.framework.Assert.assertNotNull(p8);
        junit.framework.Assert.assertNotNull(p9);
        junit.framework.Assert.assertNotNull(p6);
        junit.framework.Assert.assertNotNull(p7);
        junit.framework.Assert.assertTrue(p8.exists());
        if (p10 <= -1) {
            v0_6 = 0;
        } else {
            v0_6 = 1;
        }
        junit.framework.Assert.assertTrue(v0_6);
        android.util.Log.d("PackInstaller", new StringBuilder().append("icon filename: ").append(p8.getName()).toString());
        int v0_13 = new StringBuilder().append(p6.getFilesDir()).append("/").append(com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackIconPath(p9)).toString();
        android.util.Log.d("PackInstaller", new StringBuilder().append("dest folder: ").append(v0_13).toString());
        java.io.File v2_17 = new java.io.File(v0_13);
        v2_17.mkdirs();
        junit.framework.Assert.assertTrue(v2_17.isDirectory());
        java.io.File v2_21 = new java.io.File(new StringBuilder().append(v0_13).append("/").append(p8.getName()).toString());
        android.util.Log.d("PackInstaller", new StringBuilder().append("iconDestFile: ").append(v2_21.getAbsolutePath()).toString());
        com.adobe.android.common.util.IOUtils.copyFile(p8, v2_21);
        junit.framework.Assert.assertTrue(v2_21.exists());
        return com.adobe.creativesdk.aviary.internal.cds.PackInstaller.updateIconPath(p7, p10, v2_21.getAbsolutePath(), 0);
    }

Method com.adobe.creativesdk.aviary.internal.cds.PackInstaller.extractContent() calling method java.io.File.<init>()


    private static int extractContent(android.content.Context p6, android.database.sqlite.SQLiteDatabase p7, java.io.File p8, String p9, long p10, String p12)
    {
        int v0_3;
        int v1_0 = 1;
        android.util.Log.i("PackInstaller", new StringBuilder().append("extractContent: ").append(p9).append(", packId: ").append(p10).append(", packType: ").append(p12).toString());
        junit.framework.Assert.assertNotNull(p8);
        junit.framework.Assert.assertNotNull(p9);
        junit.framework.Assert.assertNotNull(p6);
        junit.framework.Assert.assertNotNull(p12);
        junit.framework.Assert.assertNotNull(p7);
        junit.framework.Assert.assertTrue(p8.exists());
        if (p10 <= -1) {
            v0_3 = 0;
        } else {
            v0_3 = 1;
        }
        int v0_12;
        junit.framework.Assert.assertTrue(v0_3);
        String v3_8 = new java.io.File(new StringBuilder().append(p6.getFilesDir()).append("/").append(com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackItemsContentPath(p9)).toString());
        v3_8.mkdirs();
        if ((!v3_8.exists()) || (!v3_8.isDirectory())) {
            v0_12 = 0;
        } else {
            v0_12 = 1;
        }
        junit.framework.Assert.assertTrue("failed to create output dir", v0_12);
        v3_8.setReadable(1, 0);
        int v0_14 = new java.io.FileInputStream(p8);
        try {
            com.adobe.android.common.util.IOUtils.unzip(v0_14, v3_8);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_14);
            int v0_16 = com.adobe.creativesdk.aviary.internal.cds.PackInstaller.updateContentPath(p6, p7, p10, v3_8.getAbsolutePath());
            android.util.Log.d("PackInstaller", new StringBuilder().append("updateContentPath result: ").append(v0_16).toString());
        } catch (int v1_1) {
            com.adobe.android.common.util.IOUtils.closeSilently(v0_16);
            throw v1_1;
        }
        if (v0_16 <= 0) {
            v1_0 = 0;
        }
        junit.framework.Assert.assertTrue(v1_0);
        return v0_16;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsUtils.uninstallPack() calling method java.io.File.<init>()


    public static boolean uninstallPack(android.content.Context p9, long p10)
    {
        java.io.IOException v0_6;
        android.util.Log.d("CdsUtils", new StringBuilder().append("uninstallPack{packId:").append(p10).append("}").toString());
        if (p9 != null) {
            com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper v5_1 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackFullInfoById(p9, p10);
            if (v5_1 != null) {
                android.util.Log.d("CdsUtils", new StringBuilder().append("pack: ").append(v5_1).toString());
                try {
                    java.io.IOException v0_13 = ((long) p9.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p9, new StringBuilder().append("pack/id/").append(v5_1.getId()).append("/content/id/").append(v5_1.getContent().getId()).append("/updatePurchasedStatus/0").toString()), new android.content.ContentValues(), 0, 0));
                } catch (java.io.IOException v0_15) {
                    v0_15.printStackTrace();
                    v0_13 = 0;
                } catch (java.io.IOException v0_14) {
                    v0_14.printStackTrace();
                    v0_13 = 0;
                }
                android.util.Log.d("CdsUtils", new StringBuilder().append("result: ").append(v0_13).toString());
                if (v0_13 <= 0) {
                    v0_6 = 0;
                } else {
                    java.io.IOException v0_18 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackContentFolderPath(v5_1.getIdentifier());
                    android.util.Log.d("CdsUtils", new StringBuilder().append("folder to remove: ").append(v0_18).toString());
                    if (v0_18 != null) {
                        String v1_1 = new java.io.File(p9.getFilesDir(), v0_18);
                        android.util.Log.d("CdsUtils", new StringBuilder().append("directory abs path: ").append(v1_1.getAbsolutePath()).toString());
                        try {
                            org.apache.commons.io.FileUtils.deleteDirectory(v1_1);
                            android.util.Log.d("CdsUtils", "folder deleted");
                        } catch (java.io.IOException v0_2) {
                            v0_2.printStackTrace();
                        }
                    }
                    com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackContentUpdate(p9, v5_1.getId());
                    com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackTypeContentUpdated(p9, v5_1.getPackType());
                    com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackInstalled(p9, p10, v5_1.getPackType(), 0);
                    v0_6 = 1;
                }
            } else {
                android.util.Log.w("CdsUtils", "pack is null!");
                v0_6 = 0;
            }
        } else {
            android.util.Log.w("CdsUtils", "context is null");
            v0_6 = 0;
        }
        return v0_6;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackOption() calling method java.io.File.<init>()


    public static com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption getPackOption(android.content.Context p2, com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper p3)
    {
        if ((p2 != null) && ((p3 != null) && (p3.getContent() != null))) {
            if (p3.getContent().getPurchased() != 1) {
                if (p3.getContent().getFree() != com.adobe.creativesdk.aviary.internal.cds.Cds$FreeType.FreeWithLogin) {
                    if (p3.getContent().getFree() != com.adobe.creativesdk.aviary.internal.cds.Cds$FreeType.Free) {
                        com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.PACK_OPTION_BEING_DETERMINED;
                    } else {
                        v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.FREE;
                    }
                } else {
                    v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.FREE_WITH_LOGIN;
                }
            } else {
                if (!android.text.TextUtils.isEmpty(p3.getContent().getContentPath())) {
                    if (!new java.io.File(p3.getContent().getContentPath()).isDirectory()) {
                        v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.RESTORE;
                    } else {
                        v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.OWNED;
                    }
                } else {
                    v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.RESTORE;
                }
            }
        } else {
            v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.ERROR;
        }
        return v0_4;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackOption() calling method java.io.File.<init>()


    public static com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption getPackOption(android.content.Context p3, com.adobe.creativesdk.aviary.internal.cds.FeaturedColumns$CursorWrapper p4)
    {
        if ((p3 != null) && (p4 != null)) {
            if (p4.getPurchased() != 1) {
                if (p4.getFree() != com.adobe.creativesdk.aviary.internal.cds.Cds$FreeType.Free) {
                    if (p4.getFree() != com.adobe.creativesdk.aviary.internal.cds.Cds$FreeType.FreeWithLogin) {
                        com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption v0_2 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getLegacyPackageName(p4.getIdentifier());
                        if ((v0_2 == null) || (!com.adobe.creativesdk.aviary.internal.cds.CdsUtils.apkInstalled(p3, v0_2))) {
                            com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.PACK_OPTION_BEING_DETERMINED;
                        } else {
                            android.util.Log.d("CdsUtils", new StringBuilder().append("apkInstalled for: ").append(p4.getIdentifier()).toString());
                            v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.RESTORE;
                        }
                    } else {
                        v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.FREE_WITH_LOGIN;
                    }
                } else {
                    v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.FREE;
                }
            } else {
                if (p4.getContentPath() != null) {
                    if (!new java.io.File(p4.getContentPath()).isDirectory()) {
                        v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.RESTORE;
                    } else {
                        v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.OWNED;
                    }
                } else {
                    v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.RESTORE;
                }
            }
        } else {
            v0_4 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils$PackOption.ERROR;
        }
        return v0_4;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackContentFileSize() calling method java.io.File.<init>()


    public static long getPackContentFileSize(android.content.Context p3, String p4)
    {
        return org.apache.commons.io.FileUtils.sizeOfDirectory(new java.io.File(p3.getFilesDir(), com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackItemsContentPath(p4)));
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.unpackZipFile() calling method java.io.File.<init>()


    private java.io.File unpackZipFile(java.io.InputStream p4, android.content.Context p5, String p6)
    {
        java.io.File v1_1 = new java.io.File(p5.getFilesDir(), com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackItemsContentPath(p6));
        v1_1.mkdirs();
        junit.framework.Assert.assertTrue(v1_1.isDirectory());
        v1_1.setReadable(1, 0);
        com.adobe.android.common.util.IOUtils.unzip(p4, v1_1);
        return v1_1;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.tryDeleteDownloadedFile() calling method java.io.File.<init>()


    private void tryDeleteDownloadedFile(android.app.DownloadManager p7, long p8)
    {
        Boolean v0_5 = new android.app.DownloadManager$Query();
        android.database.Cursor v1_1 = new long[1];
        v1_1[0] = p8;
        v0_5.setFilterById(v1_1);
        android.database.Cursor v1_2 = p7.query(v0_5);
        if (v1_2 != null) {
            try {
                v1_2.moveToFirst();
                Boolean v0_1 = v1_2.getColumnIndex("local_uri");
            } catch (Boolean v0_8) {
                com.adobe.android.common.util.IOUtils.closeSilently(v1_2);
                throw v0_8;
            } catch (Boolean v0_7) {
                v0_7.printStackTrace();
                com.adobe.android.common.util.IOUtils.closeSilently(v1_2);
            }
            if (v0_1 > -1) {
                Boolean v0_2 = v1_2.getString(v0_1);
                Object[] v4_1 = new Object[1];
                v4_1[0] = v0_2;
                com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.log("filename: %s", v4_1);
                if (v0_2 != null) {
                    Object[] v4_3 = new Object[1];
                    v4_3[0] = Boolean.valueOf(new java.io.File(v0_2).delete());
                    com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.log("deleted: %b", v4_3);
                }
            }
            com.adobe.android.common.util.IOUtils.closeSilently(v1_2);
        }
        return;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.handleDownloadSuccessful() calling method java.io.File.<init>()


    private void handleDownloadSuccessful(android.content.Context p11, com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper p12, com.adobe.creativesdk.aviary.internal.cds.PacksContentColumns$CursorWrapper p13, java.io.File p14)
    {
        long v6 = p12.getId();
        com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_2 = this.validatePackContentZip(p11, p13.getPackId(), p12.getPackType(), p14);
        String v3_0 = new Object[1];
        v3_0[0] = Boolean.valueOf(v0_2);
        com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.log("content is valid: %b", v3_0);
        if (v0_2 == null) {
            throw new com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException(this, "Package contents are not valid");
        } else {
            try {
                com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_6 = this.unpackZipFile(p14, p11, p12.getIdentifier());
                com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.log("deleting downloadFile..");
                org.apache.commons.io.FileUtils.deleteQuietly(p14);
                String v1_5 = new android.content.ContentValues();
                v1_5.put("content_contentPath", v0_6.getAbsolutePath());
            } catch (com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_17) {
                com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.log("deleting downloadFile..");
                org.apache.commons.io.FileUtils.deleteQuietly(p14);
                throw v0_17;
            } catch (com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_10) {
                v0_10.printStackTrace();
                try {
                    org.apache.commons.io.FileUtils.deleteQuietly(new java.io.File(com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackItemsContentPath(p12.getIdentifier())));
                } catch (com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_13) {
                    v0_13.printStackTrace();
                }
                throw new com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException(this, "Error in unpacking zip file.");
            }
            if (p11.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("pack/id/").append(p12.getId()).append("/content/id/").append(p13.getId()).append("/updatePurchasedStatus/1").toString()), v1_5, 0, 0) <= 0) {
                com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.error("failed to update the db");
                com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyDownloadStatusChange(p11, v6, p12.getPackType(), 16);
            } else {
                com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackTypeContentUpdated(p11, p12.getPackType());
                com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackContentUpdate(p11, v6);
                com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackInstalled(p11, v6, p12.getPackType(), 1);
            }
            com.adobe.creativesdk.aviary.internal.utils.AviaryNotificationManager.getInstance().notifyPackInstalled(p11, p13.getIconPath(), p13.getDisplayName());
            return;
        }
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.handleActionDownloadComplete() calling method java.io.File.<init>()


    private void handleActionDownloadComplete(android.content.Context p13, long p14)
    {
        android.app.DownloadManager v6_1 = ((android.app.DownloadManager) p13.getSystemService("download"));
        com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_34 = p13.getContentResolver();
        android.database.Cursor v1_5 = com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p13, new StringBuilder().append("downloadPackId/").append(p14).toString());
        long v2_1 = new String[1];
        v2_1[0] = "download_packId";
        com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_15 = v0_34.query(v1_5, v2_1, 0, 0, 0);
        long v2_2 = this.getPackIdFromDownload(v0_15);
        com.adobe.android.common.util.IOUtils.closeSilently(v0_15);
        if (v2_2 != -1) {
            com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_25 = new android.app.DownloadManager$Query();
            android.database.Cursor v1_6 = new long[1];
            v1_6[0] = p14;
            v0_25.setFilterById(v1_6);
            android.database.Cursor v1_7 = v6_1.query(v0_25);
            try {
                if ((v1_7 == null) || (!v1_7.moveToFirst())) {
                    com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.warn(new StringBuilder().append("Download cursor for downloadId ").append(p14).append(" not valid.").toString());
                    com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.log("throw the exception");
                    throw new com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException(this, new StringBuilder().append("Try to download again item id ").append(v2_2).toString());
                } else {
                    com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_33 = v1_7.getColumnIndex("status");
                    String v4_37 = new String[9];
                    v4_37[0] = "pack_id";
                    v4_37[1] = "pack_type";
                    v4_37[2] = "pack_identifier";
                    v4_37[3] = "content_id";
                    v4_37[4] = "content_packId";
                    v4_37[5] = "content_iconPath";
                    v4_37[6] = "content_displayName";
                    v4_37[7] = "content_displayDescription";
                    v4_37[8] = "content_purchased";
                    String v4_0 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackContentById(p13, v2_2, v4_37);
                    if ((v4_0 != null) && (v4_0.getContent() != null)) {
                        com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_0 = v1_7.getInt(v0_33);
                        Object[] v8_3 = new Object[0];
                        com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.verbose(new StringBuilder().append("downloadStatus: ").append(v0_0).toString(), v8_3);
                        if (p13.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p13, new StringBuilder().append("download/id/").append(p14).append("/updateStatus/").append(v0_0).toString()), new android.content.ContentValues(), 0, 0) > 0) {
                            com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyDownloadStatusChange(p13, v2_2, v4_0.getPackType(), v0_0);
                        }
                        switch (v0_0) {
                            case 8:
                                com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_5 = v1_7.getString(v1_7.getColumnIndex("local_uri"));
                                com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.log(new StringBuilder().append("uriString: ").append(v0_5).toString());
                                if (v0_5 == null) {
                                    throw new com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException(this, new StringBuilder().append("Download failed for ").append(v4_0.getContent().getDisplayName()).append(". Uri string is null").toString());
                                } else {
                                    com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_9 = android.net.Uri.parse(v0_5).getPath();
                                    Object[] v8_10 = new Object[1];
                                    v8_10[0] = v0_9;
                                    com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.log("path: %s", v8_10);
                                    if (v0_9 == null) {
                                        throw new com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException(this, new StringBuilder().append("Download failed for ").append(v4_0.getContent().getDisplayName()).append(". Path is null").toString());
                                    } else {
                                        this.handleDownloadSuccessful(p13, v4_0, v4_0.getContent(), new java.io.File(v0_9));
                                    }
                                }
                                break;
                            case 16:
                                throw new com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException(this, new StringBuilder().append("Download failed for ").append(v4_0.getContent().getDisplayName()).append(". ").append(com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getReasonText(16, v1_7.getInt(v1_7.getColumnIndex("reason")))).toString());
                                break;
                            default:
                                com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.warn(new StringBuilder().append("not handled: ").append(v0_0).toString());
                        }
                        com.adobe.android.common.util.IOUtils.closeSilently(v1_7);
                        this.setDeleteDownloadAlarm(p13, p14);
                    } else {
                        throw new com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException(this, "Pack information not found...fatal database error");
                    }
                }
            } catch (com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_20) {
                com.adobe.android.common.util.IOUtils.closeSilently(v1_7);
                this.setDeleteDownloadAlarm(p13, p14);
                throw v0_20;
            } catch (com.adobe.creativesdk.aviary.internal.cds.CdsReceiver$AviaryPackageNeedsRedownloadException v0_18) {
                com.adobe.creativesdk.aviary.internal.cds.CdsReceiver.LOGGER.warn("Package needs redownload");
                v0_18.printStackTrace();
                String v4_23 = new long[1];
                v4_23[0] = p14;
                v6_1.remove(v4_23);
                this.setNotificationForRedownloadPackage(p13, v2_2, v0_18.getMessage());
                com.adobe.android.common.util.IOUtils.closeSilently(v1_7);
                this.setDeleteDownloadAlarm(p13, p14);
            }
        }
        return;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsProvider.dump() calling method java.io.File.<init>()


    android.os.Bundle dump(android.os.Bundle p5)
    {
        String v0_0;
        android.os.Bundle v1_1 = new android.os.Bundle();
        if ((p5 == null) || (!p5.containsKey("dst"))) {
            v0_0 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "aviarycds.sqlite");
        } else {
            v0_0 = new java.io.File(p5.getString("dst"));
        }
        v1_1.putBoolean("success", com.adobe.creativesdk.aviary.internal.cds.CdsProvider.mDbHelper.dump(v0_0));
        v1_1.putString("filename", v0_0.getAbsolutePath());
        return v1_1;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsPreviewValidator.validate() calling method java.io.File.<init>()


    public boolean validate(android.content.Context p9, long p10, java.io.File p12, boolean p13)
    {
        int v0_3;
        int v7 = 0;
        junit.framework.Assert.assertNotNull("input dir is null", p12);
        junit.framework.Assert.assertNotNull("context is null", p9);
        int v0_17 = p9.getContentResolver();
        android.database.Cursor v1_5 = com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p9, new StringBuilder().append("pack/").append(p10).append("/item/list").toString());
        String v2_3 = new String[2];
        v2_3[0] = "item_id";
        v2_3[1] = "item_identifier";
        android.database.Cursor v1_6 = v0_17.query(v1_5, v2_3, 0, 0, 0);
        junit.framework.Assert.assertNotNull("cursor is null", v1_6);
        String v2_4 = com.adobe.creativesdk.aviary.internal.cds.Cds.getPreviewItemExt(this.mPackType);
        if (v1_6 == null) {
            v0_3 = 0;
        } else {
            try {
                int v0_6;
                int v3_1 = v1_6.getColumnIndex("item_identifier");
            } catch (int v0_10) {
                com.adobe.android.common.util.IOUtils.closeSilently(v1_6);
                throw v0_10;
            }
            if (v3_1 <= -1) {
                v0_6 = 0;
            } else {
                v0_6 = 1;
            }
            junit.framework.Assert.assertTrue("index column < 0", v0_6);
            if (v1_6.getCount() > 0) {
                v7 = 1;
            }
            junit.framework.Assert.assertTrue("cursor is empty", v7);
            while (v1_6.moveToNext()) {
                int v0_11 = v1_6.getString(v3_1);
                junit.framework.Assert.assertNotNull("identifier is null", v0_11);
                boolean v4_7 = new java.io.File(p12, new StringBuilder().append(v0_11).append(v2_4).toString());
                junit.framework.Assert.assertTrue(new StringBuilder().append("file \'").append(v4_7.getAbsolutePath()).append("\' does not exists").toString(), v4_7.exists());
            }
            com.adobe.android.common.util.IOUtils.closeSilently(v1_6);
            v0_3 = 1;
        }
        return v0_3;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksIconsConsumer.lambda$createJob$115() calling method java.io.File.<init>()


    synthetic Object lambda$createJob$115(com.adobe.creativesdk.aviary.internal.threading.ThreadPool$Worker p12, com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper[] p13)
    {
        Throwable v0_15 = p13[0];
        try {
            java.util.concurrent.atomic.AtomicInteger v1_1 = v0_15.getContent().getIconURL();
            try {
                if ((android.text.TextUtils.isEmpty(v1_1)) || ((v1_1.startsWith("http://")) || ((v1_1.startsWith("https://")) || (v1_1.startsWith("file://"))))) {
                    String v9 = v1_1;
                } else {
                    v9 = new StringBuilder().append(this.mManifestParser.getAssetsBaseURL()).append(v1_1).toString();
                }
                try {
                    java.util.concurrent.atomic.AtomicInteger v1_8 = android.net.Uri.parse(v9);
                    int v8 = this.download(v9);
                    try {
                        java.util.concurrent.atomic.AtomicInteger v1_10 = this.updatePackIcon(v0_15.getContent().getId(), v0_15.getId(), new java.io.File(new StringBuilder().append(this.mContext.getFilesDir()).append("/").append(com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackIconPath(v0_15.getIdentifier())).toString()), v1_8.getLastPathSegment(), v8);
                    } catch (Throwable v0_1) {
                        v1_1 = v9;
                        Object[] v4_3 = new Object[2];
                        v4_3[0] = v1_1;
                        v4_3[1] = v0_1;
                        com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksIconsConsumer.logger.warn("failed to download icon \'%s\': %s", v4_3);
                        this.mExceptions.add(v0_1);
                        com.adobe.android.common.util.IOUtils.closeSilently(v8);
                        try {
                            this.mLocks.decrementAndGet();
                            this.mLocks.notifyAll();
                        } catch (Throwable v0_8) {
                            throw v0_8;
                        }
                        return 0;
                    } catch (Throwable v0_2) {
                        String v3_1 = new Object[2];
                        v3_1[0] = v9;
                        v3_1[1] = v0_2;
                        com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksIconsConsumer.logger.warn("failed to updated icon \'%s\': %s", v3_1);
                        this.mExceptions.add(new Exception(v0_2));
                        com.adobe.android.common.util.IOUtils.closeSilently(v8);
                        try {
                            this.mLocks.decrementAndGet();
                            this.mLocks.notifyAll();
                        } catch (Throwable v0_5) {
                            throw v0_5;
                        }
                        return 0;
                    }
                    if (v1_10 <= null) {
                        Object[] v4_6 = new Object[1];
                        v4_6[0] = Integer.valueOf(v1_10);
                        com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksIconsConsumer.logger.error("onUpdatedPackIcon result: %d", v4_6);
                    } else {
                        com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackContentUpdate(this.mContext, v0_15.getId());
                    }
                    this.mUpdatedIcons.add(v0_15.getIdentifier());
                    com.adobe.android.common.util.IOUtils.closeSilently(v8);
                    this.mLocks.decrementAndGet();
                    this.mLocks.notifyAll();
                    return 0;
                } catch (Throwable v0_1) {
                    v1_1 = v9;
                    v8 = 0;
                } catch (Throwable v0_2) {
                    v8 = 0;
                }
            } catch (Throwable v0_1) {
                v8 = 0;
            } catch (Throwable v0_2) {
                v9 = v1_1;
                v8 = 0;
            }
        } catch (Throwable v0_9) {
            v8 = 0;
            com.adobe.android.common.util.IOUtils.closeSilently(v8);
            this.mLocks.decrementAndGet();
            this.mLocks.notifyAll();
            throw v0_9;
        } catch (Throwable v0_1) {
            v1_1 = 0;
            v8 = 0;
        } catch (Throwable v0_2) {
            v9 = 0;
            v8 = 0;
        } catch (Throwable v0_9) {
        }
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksIconsConsumer.updatePackIcon() calling method java.io.File.<init>()


    private int updatePackIcon(long p14, long p16, java.io.File p18, String p19, java.io.InputStream p20)
    {
        com.adobe.creativesdk.aviary.internal.utils.SystemUtils.throwIfUiThread();
        junit.framework.Assert.assertNotNull("iconDir is null", p18);
        int v2_3;
        p18.mkdirs();
        com.adobe.android.common.io.FileUtils.createNoMediaFile(p18);
        junit.framework.Assert.assertTrue("iconDir is not a valid directory", p18.isDirectory());
        if (p19 == null) {
            v2_3 = java.io.File.createTempFile("icon-", ".png", p18);
        } else {
            v2_3 = new java.io.File(p18, p19);
        }
        int v5_3 = new java.io.FileOutputStream(v2_3, 1);
        int v2_11;
        org.apache.commons.io.IOUtils.copy(p20, v5_3);
        com.adobe.android.common.util.IOUtils.closeSilently(v5_3);
        int v5_5 = new android.content.ContentValues();
        v5_5.put("content_iconPath", v2_3.getAbsolutePath());
        v5_5.put("content_iconNeedDownload", Integer.valueOf(0));
        int v5_6 = this.mContext.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(this.mContext, new StringBuilder().append("pack/id/").append(p16).append("/content/id/").append(p14).append("/update").toString()), v5_5, 0, 0);
        if (v5_6 <= 0) {
            v2_11 = 0;
        } else {
            v2_11 = 1;
        }
        junit.framework.Assert.assertTrue("!(result > 0)", v2_11);
        return v5_6;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksIconsConsumer.consumePack() calling method java.io.File.<init>()


    private void consumePack(com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper p7)
    {
        if ((p7 != null) && (p7.getContent() != null)) {
            if ((p7.getContent().getIconPath() != null) && (p7.getContent().getIconNeedDownload() <= 0)) {
                if (new java.io.File(p7.getContent().getIconPath()).exists()) {
                    com.adobe.creativesdk.aviary.internal.threading.ThreadPool$Job v0_5 = 0;
                } else {
                    v0_5 = 1;
                }
            } else {
                v0_5 = 1;
            }
            if (v0_5 != null) {
                int v4_0 = new Object[1];
                v4_0[0] = p7.getIdentifier();
                com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksIconsConsumer.logger.log("%s need to download icon", v4_0);
                com.adobe.creativesdk.aviary.internal.threading.ThreadPool$Job v0_7 = this.createJob();
                this.mLocks.incrementAndGet();
                com.adobe.creativesdk.aviary.internal.threading.ThreadPool v3_4 = this.mThreadPool;
                com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper[] v1_1 = new com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper[1];
                v1_1[0] = p7;
                v3_4.submit(v0_7, 0, v1_1);
            }
        }
        return;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksConsumer.updateContentFromJson() calling method java.io.File.<init>()


    private boolean updateContentFromJson(com.adobe.creativesdk.aviary.internal.cds.json.CdsContentParser p13, com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper p14, int p15)
    {
        int v0_58;
        Object[] v2_0 = new String[8];
        v2_0[0] = "content_id";
        v2_0[1] = "content_packId";
        v2_0[2] = "content_iconVersion";
        v2_0[3] = "content_previewVersion";
        v2_0[4] = "content_contentVersion";
        v2_0[5] = "content_featureImageVersion";
        v2_0[6] = "content_detailImageVersion";
        v2_0[7] = "content_previewPath";
        int v0_54 = this.mContext.getContentResolver().query(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(this.mContext, new StringBuilder().append("pack/id/").append(p14.getId()).append("/content").toString()), v2_0, 0, 0, 0);
        junit.framework.Assert.assertNotNull("currentCursor is null", v0_54);
        junit.framework.Assert.assertTrue("currentCursor.moveToFirst failed", v0_54.moveToFirst());
        long v6 = v0_54.getLong(0);
        String v1_58 = v0_54.getString(2);
        Object[] v2_32 = v0_54.getString(3);
        int v3_18 = v0_54.getString(4);
        String v4_11 = v0_54.getString(5);
        String v5_25 = v0_54.getString(6);
        String v8_1 = v0_54.getString(7);
        com.adobe.android.common.util.IOUtils.closeSilently(v0_54);
        if (p13.getIconVersion().equals(v1_58)) {
            v0_58 = 0;
        } else {
            v0_58 = 1;
        }
        String v1_62;
        if (p13.getPreviewVersion().equals(v2_32)) {
            v1_62 = 0;
        } else {
            v1_62 = 1;
        }
        Object[] v2_35;
        if (p13.getContentVersion().equals(v3_18)) {
            v2_35 = 0;
        } else {
            v2_35 = 1;
        }
        int v3_2;
        if (p13.getFeatureImageVersion().equals(v4_11)) {
            v3_2 = 0;
        } else {
            v3_2 = 1;
        }
        String v4_2;
        if (p13.getDetailImageVersion().equals(v5_25)) {
            v4_2 = 0;
        } else {
            v4_2 = 1;
        }
        String v5_7;
        android.content.ContentValues v9_1 = new android.content.ContentValues();
        v9_1.put("pack_versionKey", p13.getVersionKey());
        v9_1.put("pack_displayOrder", Integer.valueOf(p15));
        v9_1.put("pack_visible", Integer.valueOf(1));
        android.content.ContentValues v10_5 = new android.content.ContentValues();
        v10_5.put("content_displayName", p13.getDisplayName());
        v10_5.put("content_displayDescription", p13.getDisplayDescription());
        if (!p13.isFreeWithLogin()) {
            if (!p13.isFree()) {
                v5_7 = 0;
            } else {
                v5_7 = 1;
            }
        } else {
            v5_7 = 2;
        }
        v10_5.put("content_isFree", Integer.valueOf(v5_7));
        v10_5.put("content_numItems", Integer.valueOf(p13.getItems().size()));
        v10_5.put("content_shopBackgroundColor", p13.getShopBackgroundColor());
        if (v0_58 != 0) {
            v10_5.put("content_iconVersion", p13.getIconVersion());
            v10_5.put("content_iconUrl", new StringBuilder().append(this.mManifestParser.getAssetsBaseURL()).append(p13.getIconURL()).toString());
            v10_5.put("content_iconNeedDownload", Integer.valueOf(1));
        }
        if (v1_62 != null) {
            com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksConsumer.logger.log("need to remove the previews");
            if (!android.text.TextUtils.isEmpty(v8_1)) {
                try {
                    org.apache.commons.io.FileUtils.cleanDirectory(new java.io.File(v8_1));
                } catch (int v0_11) {
                    com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksConsumer.logger.error("error while deleting previews");
                    v0_11.printStackTrace();
                }
            }
            v10_5.put("content_previewVersion", p13.getPreviewVersion());
            v10_5.put("content_previewURL", new StringBuilder().append(this.mManifestParser.getAssetsBaseURL()).append(p13.getPreviewURL()).toString());
            v10_5.putNull("content_previewPath");
            v10_5.put("content_previewNeedDownload", Integer.valueOf(1));
        }
        if (v2_35 != null) {
            v10_5.put("content_contentVersion", p13.getContentVersion());
            v10_5.put("content_contentURL", new StringBuilder().append(this.mManifestParser.getAssetsBaseURL()).append(p13.getContentURL()).toString());
            v10_5.put("content_contentNeedDownload", Integer.valueOf(1));
        }
        if ((v3_2 != 0) && (!android.text.TextUtils.isEmpty(p13.getFeatureImageURL()))) {
            v10_5.put("content_featureImageVersion", p13.getFeatureImageVersion());
            v10_5.put("content_featureImageURL", new StringBuilder().append(this.mManifestParser.getAssetsBaseURL()).append(p13.getFeatureImageURL()).toString());
        }
        if ((v4_2 != null) && (!android.text.TextUtils.isEmpty(p13.getDetailImageURL()))) {
            v10_5.put("content_detailImageVersion", p13.getDetailImageVersion());
            v10_5.put("content_detailImageURL", new StringBuilder().append(this.mManifestParser.getAssetsBaseURL()).append(p13.getDetailImageURL()).toString());
        }
        int v0_36;
        int v0_33 = new java.util.ArrayList();
        v0_33.add(android.content.ContentProviderOperation.newUpdate(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(this.mContext, new StringBuilder().append("pack/id/").append(p14.getId()).append("/update").toString())).withValues(v9_1).build());
        v0_33.add(android.content.ContentProviderOperation.newUpdate(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(this.mContext, new StringBuilder().append("pack/id/").append(p14.getId()).append("/content/id/").append(v6).append("/update").toString())).withValues(v10_5).build());
        String v1_50 = this.mContext.getContentResolver().applyBatch(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(this.mContext, 0).getAuthority(), v0_33);
        junit.framework.Assert.assertNotNull("batch result is null", v1_50);
        if (v1_50.length != 2) {
            v0_36 = 0;
        } else {
            v0_36 = 1;
        }
        int v0_43;
        junit.framework.Assert.assertTrue("batch result size != 2", v0_36);
        if ((v1_50[0] == null) || (v1_50[0].count.intValue() <= 0)) {
            v0_43 = 0;
        } else {
            v0_43 = 1;
        }
        int v0_50;
        junit.framework.Assert.assertTrue(v0_43);
        if ((v1_50[1] == null) || (v1_50[1].count.intValue() <= 0)) {
            v0_50 = 0;
        } else {
            v0_50 = 1;
        }
        junit.framework.Assert.assertTrue(v0_50);
        Object[] v2_29 = new Object[1];
        v2_29[0] = p14.getIdentifier();
        com.adobe.creativesdk.aviary.internal.cds.CdsManifestPacksConsumer.logger.verbose("updated content: %s", v2_29);
        return 1;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsManifestPackRemoverConsumer.deletePackFiles() calling method java.io.File.<init>()


    void deletePackFiles(com.adobe.creativesdk.aviary.internal.cds.json.CdsManifestParser$ManifestPackItem p4)
    {
        org.apache.commons.io.FileUtils.deleteQuietly(new java.io.File(this.mContext.getFilesDir(), com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackRootContent(p4.getIdentifier())));
        return;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsManifestMessagesRemoverConsumer.consume() calling method java.io.File.<init>()


    void consume()
    {
        com.adobe.creativesdk.aviary.internal.utils.SystemUtils.throwIfUiThread();
        if (this.mManifestParser.hasContent()) {
            android.database.Cursor v1_1 = this.mContext.getContentResolver().query(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(this.mContext, "message/list"), 0, 0, 0, 0);
            if (v1_1 == null) {
                return;
            }
            try {
                while (v1_1.moveToNext()) {
                    com.adobe.creativesdk.aviary.internal.cds.MessageColumns$CursorWrapper v9 = com.adobe.creativesdk.aviary.internal.cds.MessageColumns$CursorWrapper.create(v1_1);
                    if ((v9 != null) && (!this.mManifestParser.containsMessage(v9.getIdentifier()))) {
                        java.util.HashSet v0_18;
                        String v4_4 = new Object[1];
                        v4_4[0] = v9.getIdentifier();
                        com.adobe.creativesdk.aviary.internal.cds.CdsManifestMessagesRemoverConsumer.logger.warn("%s need to be removed", v4_4);
                        String v3_10 = this.mContext.getContentResolver();
                        String v4_11 = com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(this.mContext, new StringBuilder().append("message/id/").append(v9.getId()).append("/content").toString());
                        Object[] v5_11 = new String[3];
                        v5_11[0] = "msgcnt_id";
                        v5_11[1] = "msgcnt_messageId";
                        v5_11[2] = "msgcnt_contentPath";
                        String v3_11 = v3_10.query(v4_11, v5_11, 0, 0, 0);
                        if (v3_11 == null) {
                            v0_18 = 0;
                        } else {
                            try {
                                if (!v3_11.moveToFirst()) {
                                    v0_18 = 0;
                                } else {
                                    v0_18 = com.adobe.creativesdk.aviary.internal.cds.MessageContentColumn$CursorWrapper.create(v3_11).getContentPath();
                                }
                                com.adobe.android.common.util.IOUtils.closeSilently(v3_11);
                            } catch (java.util.HashSet v0_21) {
                                com.adobe.android.common.util.IOUtils.closeSilently(v3_11);
                                throw v0_21;
                            }
                        }
                        if (this.mContext.getContentResolver().delete(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(this.mContext, new StringBuilder().append("message/id/").append(v9.getId()).append("/remove").toString()), 0, 0) <= 0) {
                            com.adobe.creativesdk.aviary.internal.cds.CdsManifestMessagesRemoverConsumer.logger.error("failed to remove message entry. result = 0");
                        } else {
                            if (v0_18 != null) {
                                Object[] v5_6 = new Object[1];
                                v5_6[0] = Boolean.valueOf(org.apache.commons.io.FileUtils.deleteQuietly(new java.io.File(v0_18)));
                                com.adobe.creativesdk.aviary.internal.cds.CdsManifestMessagesRemoverConsumer.logger.log("deleted content path: %b", v5_6);
                            }
                            this.mRemovedMessageTypes.add(v9.getMessageType());
                        }
                    }
                }
            } catch (java.util.HashSet v0_3) {
                com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
                throw v0_3;
            }
            com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
        }
        return;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.getCacheDir() calling method java.io.File.<init>()


    static java.io.File getCacheDir(android.content.Context p2, String p3)
    {
        java.io.File v0_3 = com.adobe.android.common.io.DiskCache.getCacheDir(p2, p3, 1);
        if (v0_3 == null) {
            boolean v1_0 = p2.getCacheDir();
            if ((v1_0) && (v1_0.isDirectory())) {
                v0_3 = new java.io.File(v1_0, p3);
                v0_3.mkdirs();
                if (v0_3.isDirectory()) {
                    com.adobe.android.common.io.FileUtils.createNoMediaFile(v0_3);
                    return v0_3;
                }
            }
            v0_3 = 0;
        } else {
            if (!v0_3.exists()) {
                v0_3.mkdirs();
                if (!v0_3.isDirectory()) {
                } else {
                    com.adobe.android.common.io.FileUtils.createNoMediaFile(v0_3);
                }
            } else {
                com.adobe.android.common.io.FileUtils.createNoMediaFile(v0_3);
            }
        }
        return v0_3;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory$PreviewDownloader.download() calling method java.io.File.<init>()


    public String download(android.content.Context p11, long p12, boolean p14)
    {
        String v0_14;
        String v1_15;
        junit.framework.Assert.assertNotNull("null context", p11);
        String v0_13 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getManifestVersion(p11);
        junit.framework.Assert.assertNotNull("null manifest", v0_13);
        String v8 = v0_13.getAssetsBaseURL();
        junit.framework.Assert.assertNotNull("null baseUrl", v8);
        String v0_2 = p11.getContentResolver();
        String v1_13 = com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("pack/id/").append(p12).append("/content").toString());
        String v2_22 = new String[6];
        v2_22[0] = "pack_id";
        v2_22[1] = "pack_identifier";
        v2_22[2] = "pack_type";
        v2_22[3] = "content_id";
        v2_22[4] = "content_packId";
        v2_22[5] = "content_previewURL";
        String v2_23 = v0_2.query(v1_13, v2_22, 0, 0, 0);
        if (v2_23 == null) {
            v0_14 = 0;
            v1_15 = 0;
        } else {
            try {
                if (!v2_23.moveToFirst()) {
                    v0_14 = 0;
                    v1_15 = 0;
                } else {
                    v1_15 = com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper.create(v2_23);
                    v0_14 = com.adobe.creativesdk.aviary.internal.cds.PacksContentColumns$CursorWrapper.create(v2_23);
                }
            } catch (String v0_16) {
                com.adobe.android.common.util.IOUtils.closeSilently(v2_23);
                throw v0_16;
            }
            com.adobe.android.common.util.IOUtils.closeSilently(v2_23);
        }
        junit.framework.Assert.assertNotNull("null pack", v1_15);
        junit.framework.Assert.assertNotNull("null content", v0_14);
        String v2_26 = v0_14.getPreviewURL();
        if ((!android.text.TextUtils.isEmpty(v2_26)) && ((!v2_26.startsWith("http://")) && ((!v2_26.startsWith("https://")) && (!v2_26.startsWith("file://"))))) {
            v2_26 = new StringBuilder().append(v8).append(v2_26).toString();
        }
        String v0_11;
        StringBuilder v3_23 = v1_15.getIdentifier();
        String v1_0 = v1_15.getPackType();
        long v6_0 = v0_14.getId();
        String v0_1 = com.adobe.android.common.util.IOUtils.hunt(p11, v2_26);
        String v2_1 = com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.getCacheDir(p11, this.getCacheDirName());
        junit.framework.Assert.assertNotNull("destination directory is null", v2_1);
        v2_1.setReadable(1, 0);
        java.io.File v4_3 = new java.io.File(v2_1, v3_23);
        v4_3.mkdirs();
        com.adobe.android.common.io.FileUtils.createNoMediaFile(v4_3);
        junit.framework.Assert.assertTrue(new StringBuilder().append("failed to create dest folder: ").append(v3_23).toString(), v4_3.exists());
        v4_3.setReadable(1, 0);
        com.adobe.android.common.util.IOUtils.unzip(v0_1, v4_3);
        com.adobe.android.common.util.IOUtils.closeSilently(v0_1);
        junit.framework.Assert.assertTrue("invalid preview content", com.adobe.creativesdk.aviary.internal.cds.CdsValidatorFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.PREVIEW, com.adobe.creativesdk.aviary.internal.cds.Cds$PackType.valueOf(v1_0.toUpperCase(java.util.Locale.US))).validate(p11, p12, v4_3, 0));
        String v0_9 = new android.content.ContentValues();
        v0_9.put("content_previewPath", v4_3.getAbsolutePath());
        if (p11.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("pack/id/").append(p12).append("/content/id/").append(v6_0).append("/update").toString()), v0_9, 0, 0) <= 0) {
            v0_11 = 0;
        } else {
            v0_11 = 1;
        }
        junit.framework.Assert.assertTrue("failed to update the provider", v0_11);
        if (p14) {
            com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackContentUpdate(p11, p12);
        }
        return v4_3.getAbsolutePath();
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory$MessageDownloader.download() calling method java.io.File.<init>()


    public String download(android.content.Context p11, long p12, boolean p14)
    {
        String v1_13;
        String v0_10;
        junit.framework.Assert.assertNotNull("null context", p11);
        String v0_9 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getManifestVersion(p11);
        junit.framework.Assert.assertNotNull("null manifest", v0_9);
        String v8 = v0_9.getAssetsBaseURL();
        junit.framework.Assert.assertNotNull("null baseUrl", v8);
        String v0_1 = p11.getContentResolver();
        String v1_11 = com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("message/id/").append(p12).append("/content").toString());
        String v2_6 = new String[6];
        v2_6[0] = "msg_id";
        v2_6[1] = "msg_identifier";
        v2_6[2] = "msg_type";
        v2_6[3] = "msgcnt_id";
        v2_6[4] = "msgcnt_messageId";
        v2_6[5] = "msgcnt_contentURL";
        String v2_7 = v0_1.query(v1_11, v2_6, 0, 0, 0);
        if (v2_7 == null) {
            v0_10 = 0;
            v1_13 = 0;
        } else {
            try {
                if (!v2_7.moveToFirst()) {
                    v0_10 = 0;
                    v1_13 = 0;
                } else {
                    v1_13 = com.adobe.creativesdk.aviary.internal.cds.MessageColumns$CursorWrapper.create(v2_7);
                    v0_10 = com.adobe.creativesdk.aviary.internal.cds.MessageContentColumn$CursorWrapper.create(v2_7);
                }
            } catch (String v0_12) {
                com.adobe.android.common.util.IOUtils.closeSilently(v2_7);
                throw v0_12;
            }
            com.adobe.android.common.util.IOUtils.closeSilently(v2_7);
        }
        junit.framework.Assert.assertNotNull("message is null", v1_13);
        junit.framework.Assert.assertNotNull("messageContent is null", v0_10);
        String v2_10 = v0_10.getContentURL();
        if ((!android.text.TextUtils.isEmpty(v2_10)) && ((!v2_10.startsWith("http://")) && (!v2_10.startsWith("https://")))) {
            v2_10 = new StringBuilder().append(v8).append(v2_10).toString();
        }
        String v0_7;
        StringBuilder v3_23 = v1_13.getIdentifier();
        int v4_14 = com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.getCacheDir(p11, this.getCacheDirName());
        junit.framework.Assert.assertNotNull("destination directory is null", v4_14);
        v4_14.setReadable(1, 0);
        java.io.File v5_3 = new java.io.File(v4_14, new StringBuilder().append(v3_23).append(".jpg").toString());
        String v2_0 = com.adobe.android.common.util.HttpUtils.download(v2_10, 0);
        StringBuilder v3_5 = new java.io.FileOutputStream(v5_3);
        org.apache.commons.io.IOUtils.copy(v2_0, v3_5);
        com.adobe.android.common.util.IOUtils.closeSilently(v2_0);
        com.adobe.android.common.util.IOUtils.closeSilently(v3_5);
        String v2_2 = new android.content.ContentValues();
        v2_2.put("msgcnt_contentPath", v5_3.getAbsolutePath());
        if (p11.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("message/id/").append(v1_13.getId()).append("/content/id/").append(v0_10.getId()).append("/update").toString()), v2_2, 0, 0) <= 0) {
            v0_7 = 0;
        } else {
            v0_7 = 1;
        }
        junit.framework.Assert.assertTrue("failed to update the provider", v0_7);
        if (p14) {
            com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyMessageContentUpdate(p11, p12);
        }
        return v5_3.getAbsolutePath();
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory$DetailImageDownloader.download() calling method java.io.File.<init>()


    public String download(android.content.Context p11, long p12, boolean p14)
    {
        String v0_17;
        String v1_15;
        junit.framework.Assert.assertNotNull("null context", p11);
        String v0_16 = com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getManifestVersion(p11);
        junit.framework.Assert.assertNotNull("null manifest", v0_16);
        String v8 = v0_16.getAssetsBaseURL();
        junit.framework.Assert.assertNotNull("null baseUrl", v8);
        String v0_2 = p11.getContentResolver();
        String v1_13 = com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("pack/id/").append(p12).append("/content").toString());
        String v2_15 = new String[6];
        v2_15[0] = "pack_id";
        v2_15[1] = "pack_identifier";
        v2_15[2] = "content_id";
        v2_15[3] = "content_packId";
        v2_15[4] = this.getRemoteUrlColumnName();
        v2_15[5] = this.getLocalPathColumnName();
        String v2_16 = v0_2.query(v1_13, v2_15, 0, 0, 0);
        if (v2_16 == null) {
            v0_17 = 0;
            v1_15 = 0;
        } else {
            try {
                if (!v2_16.moveToFirst()) {
                    v0_17 = 0;
                    v1_15 = 0;
                } else {
                    v1_15 = com.adobe.creativesdk.aviary.internal.cds.PacksColumns$CursorWrapper.create(v2_16);
                    v0_17 = com.adobe.creativesdk.aviary.internal.cds.PacksContentColumns$CursorWrapper.create(v2_16);
                }
            } catch (String v0_19) {
                com.adobe.android.common.util.IOUtils.closeSilently(v2_16);
                throw v0_19;
            }
            com.adobe.android.common.util.IOUtils.closeSilently(v2_16);
        }
        String v0_15;
        junit.framework.Assert.assertNotNull("null pack", v1_15);
        junit.framework.Assert.assertNotNull("null content", v0_17);
        String v2_1 = this.getRemotePath(v0_17);
        StringBuilder v3_21 = this.getLocalPath(v0_17);
        if (android.text.TextUtils.isEmpty(v3_21)) {
            if ((!android.text.TextUtils.isEmpty(v2_1)) && ((!v2_1.startsWith("http://")) && ((!v2_1.startsWith("https://")) && (!v2_1.startsWith("file://"))))) {
                v2_1 = new StringBuilder().append(v8).append(v2_1).toString();
            }
            String v0_14;
            String v1_0 = v1_15.getIdentifier();
            int v4_0 = v0_17.getId();
            String v0_1 = this.getCacheDirName();
            StringBuilder v3_9 = com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.getCacheDir(p11, v0_1);
            junit.framework.Assert.assertNotNull(new StringBuilder().append("destination directory is null: ").append(v0_1).toString(), v3_9);
            java.io.File v6_5 = new java.io.File(v3_9, new StringBuilder().append(v1_0).append(".jpg").toString());
            String v0_10 = com.adobe.android.common.util.IOUtils.hunt(p11, v2_1);
            String v1_5 = new java.io.FileOutputStream(v6_5);
            org.apache.commons.io.IOUtils.copy(v0_10, v1_5);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_10);
            com.adobe.android.common.util.IOUtils.closeSilently(v1_5);
            String v0_12 = new android.content.ContentValues();
            v0_12.put(this.getLocalPathColumnName(), v6_5.getAbsolutePath());
            if (p11.getContentResolver().update(com.adobe.creativesdk.aviary.internal.utils.PackageManagerUtils.getCDSProviderContentUri(p11, new StringBuilder().append("pack/id/").append(p12).append("/content/id/").append(v4_0).append("/update").toString()), v0_12, 0, 0) <= 0) {
                v0_14 = 0;
            } else {
                v0_14 = 1;
            }
            junit.framework.Assert.assertTrue("failed to update the provider", v0_14);
            if (p14) {
                com.adobe.creativesdk.aviary.internal.cds.CdsUtils.notifyPackContentUpdate(p11, p12);
            }
            v0_15 = v6_5.getAbsolutePath();
        } else {
            int v4_11 = new java.io.File(v3_21);
            java.io.File v6_7 = new Object[1];
            v6_7[0] = Boolean.valueOf(v4_11.exists());
            com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.LOGGER.log("localPath exists: %b", v6_7);
            if (!v4_11.exists()) {
            } else {
                v0_15 = v4_11.getAbsolutePath();
            }
        }
        return v0_15;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.extractIcon() calling method java.io.File.<init>()


    private void extractIcon(android.database.sqlite.SQLiteDatabase p9, String p10, String p11, long p12)
    {
        int v5 = 0;
        Throwable v2_3 = new Object[1];
        v2_3[0] = p11;
        com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.info("extractIcon: %s", v2_3);
        int v0_0 = this.mContext.getResources().getAssets();
        junit.framework.Assert.assertTrue("Not a local file", p10.startsWith("file:///android_asset/"));
        android.database.sqlite.SQLiteDatabase v1_3 = p10.substring("file:///android_asset/".length());
        Throwable v2_2 = android.net.Uri.parse(p10);
        Object[] v7 = new Object[1];
        v7[0] = v1_3;
        com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.verbose("filePath: %s", v7);
        int v0_2 = v0_0.open(v1_3);
        android.database.sqlite.SQLiteDatabase v1_10 = new StringBuilder().append(this.mContext.getFilesDir()).append("/").append(com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackIconPath(p11)).toString();
        java.io.File v3_6 = new java.io.File(v1_10);
        v3_6.mkdirs();
        junit.framework.Assert.assertTrue(v3_6.isDirectory());
        java.io.File v3_9 = new java.io.File(new StringBuilder().append(v1_10).append("/").append(v2_2.getLastPathSegment()).append(".png").toString());
        com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.log(new StringBuilder().append("iconFilePath: ").append(v3_9.getAbsolutePath()).toString());
        android.database.sqlite.SQLiteDatabase v1_18 = new java.io.FileOutputStream(v3_9, 1);
        try {
            org.apache.commons.io.IOUtils.copy(v0_2, v1_18);
            com.adobe.android.common.util.IOUtils.closeSilently(v1_18);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_2);
            int v0_6 = this.updateIconPath(p9, p12, v3_9.getAbsolutePath(), 0);
        } catch (Throwable v2_12) {
            com.adobe.android.common.util.IOUtils.closeSilently(p9);
            com.adobe.android.common.util.IOUtils.closeSilently(v0_6);
            throw v2_12;
        }
        if (v0_6 > 0) {
            v5 = 1;
        }
        junit.framework.Assert.assertTrue(v5);
        return;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.extractContent() calling method java.io.File.<init>()


    private void extractContent(android.database.sqlite.SQLiteDatabase p9, String p10, String p11, long p12, String p14)
    {
        String v0_0 = 1;
        String v4_6 = new Object[1];
        v4_6[0] = p11;
        com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.info("extractContent: %s", v4_6);
        if (p10.startsWith("file:///android_asset/")) {
            int v2_2 = this.mContext.getResources().getAssets();
            com.adobe.android.common.log.LoggerFactory$Logger v3_2 = p10.substring("file:///android_asset/".length());
            Object[] v6 = new Object[1];
            v6[0] = v3_2;
            com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.verbose("filePath: %s", v6);
            int v2_4 = v2_2.open(v3_2);
            com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.info(new StringBuilder().append("Extracting ").append(p11).toString());
            com.adobe.android.common.log.LoggerFactory$Logger v3_6 = new java.io.File(new StringBuilder().append(this.mContext.getFilesDir()).append("/").append(com.adobe.creativesdk.aviary.internal.cds.CdsUtils.getPackItemsContentPath(p11)).toString());
            v3_6.mkdirs();
            junit.framework.Assert.assertTrue("failed to create output dir", v3_6.isDirectory());
            v3_6.setReadable(1, 0);
            try {
                com.adobe.android.common.util.IOUtils.unzip(v2_4, v3_6);
                com.adobe.android.common.util.IOUtils.closeSilently(v2_4);
                int v2_6 = this.updateContentPath(p9, p12, v3_6.getAbsolutePath());
                com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.log(new StringBuilder().append("updateContentPath result: ").append(v2_6).toString());
            } catch (String v0_1) {
                com.adobe.android.common.util.IOUtils.closeSilently(v2_6);
                throw v0_1;
            }
            if (v2_6 <= 0) {
                v0_0 = 0;
            }
            junit.framework.Assert.assertTrue(v0_0);
        } else {
            com.adobe.creativesdk.aviary.internal.cds.CdsDefaultContentLoader.LOGGER.warn("not a local file. skipping");
        }
        return;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsDatabaseHelper.dump() calling method java.io.File.<init>()


    boolean dump(java.io.File p4)
    {
        int v0 = 0;
        if ("".equals("alpha")) {
            try {
                com.adobe.android.common.util.IOUtils.copyFile(new java.io.File(this.getReadableDatabase().getPath()), p4);
                v0 = 1;
            } catch (java.io.IOException v1_2) {
                v1_2.printStackTrace();
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.processPreview() calling method java.io.File.<init>()


    private boolean processPreview(android.content.Context p7, long p8, long p10, String p12, String p13, boolean p14)
    {
        if (p7 != null) {
            if (p14) {
                this.throwIfNotConnected(p7);
            }
            int v0_8;
            if (android.text.TextUtils.isEmpty(p12)) {
                Object[] v2_4 = new Object[1];
                v2_4[0] = Long.valueOf(p8);
                com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.verbose("download detail image for pack %d", v2_4);
                try {
                    com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.PREVIEW).download(p7, p8);
                    v0_8 = 1;
                } catch (int v0_9) {
                    v0_9.printStackTrace();
                    v0_8 = 0;
                }
            } else {
                Long v4_4 = new java.io.File(p12);
                try {
                    if ((!v4_4.isDirectory()) || (!com.adobe.creativesdk.aviary.internal.cds.CdsValidatorFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.PREVIEW, com.adobe.creativesdk.aviary.internal.cds.Cds$PackType.fromString(p13)).validate(p7, p10, v4_4, 0))) {
                    } else {
                        Object[] v2_6 = new Object[1];
                        v2_6[0] = Long.valueOf(p8);
                        com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.verbose("detail image for packid %d already downloaded..", v2_6);
                        v0_8 = 0;
                    }
                } catch (int v0) {
                    Object[] v2_2 = new Object[1];
                    v2_2[0] = Long.valueOf(p8);
                    com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.warn("need to download again previews for packId %d", v2_2);
                }
            }
            return v0_8;
        } else {
            throw new IllegalStateException("Invalid Context");
        }
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.processFutureMessage() calling method java.io.File.<init>()


    private boolean processFutureMessage(android.content.Context p7, com.adobe.creativesdk.aviary.internal.cds.MessageContentColumn$CursorWrapper p8, boolean p9)
    {
        String v0_0 = 0;
        if (p7 != null) {
            if (p9) {
                this.throwIfNotConnected(p7);
            }
            com.adobe.android.common.log.LoggerFactory$Logger v2_6 = p8.getContentPath();
            if (android.text.TextUtils.isEmpty(v2_6)) {
                Object[] v4_1 = new Object[1];
                v4_1[0] = p8.getContentIdentifier();
                com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.verbose("processing: %s", v4_1);
                Object[] v4_3 = new Object[2];
                v4_3[0] = p8.getBeginDate();
                v4_3[1] = p8.getEndDate();
                com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.verbose("beginDate: %s, endDate: %s", v4_3);
                com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.MESSAGE).download(p7, p8.getMessageId());
                v0_0 = 1;
            } else {
                if (!new java.io.File(v2_6).exists()) {
                    Object[] v4_0 = new Object[0];
                    com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.verbose("file doesn\'t exist!", v4_0);
                } else {
                    String v3_5 = new Object[0];
                    com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.verbose("file exists. Skipping..", v3_5);
                }
            }
            return v0_0;
        } else {
            throw new IllegalStateException("Invalid Context");
        }
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.processFeaturedItem() calling method java.io.File.<init>()


    private boolean processFeaturedItem(android.content.Context p9, android.database.Cursor p10, boolean p11)
    {
        com.adobe.android.common.log.LoggerFactory$Logger v0_0 = 0;
        if (p9 != null) {
            if (p11) {
                this.throwIfNotConnected(p9);
            }
            String v2_1 = com.adobe.creativesdk.aviary.internal.cds.FeaturedColumns$CursorWrapper.create(p10);
            if (v2_1 != null) {
                if ((android.text.TextUtils.isEmpty(v2_1.getFeatureImageLocalPath())) || (!new java.io.File(v2_1.getFeatureImageLocalPath()).exists())) {
                    Object[] v5 = new Object[1];
                    v5[0] = Long.valueOf(v2_1.getId());
                    com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.verbose("download featured image for pack %d", v5);
                    try {
                        com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.FEATURED_IMAGE).download(p9, v2_1.getId());
                        v0_0 = 1;
                    } catch (Throwable v1_1) {
                        v1_1.printStackTrace();
                    }
                } else {
                    com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory$Downloader v3_7 = new Object[0];
                    com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.verbose("featured image already downloaded..", v3_7);
                }
                return v0_0;
            } else {
                throw new IllegalStateException("feailed to create wrapper");
            }
        } else {
            throw new IllegalStateException("Invalid Context");
        }
    }

Method com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.processDetail() calling method java.io.File.<init>()


    private boolean processDetail(android.content.Context p7, long p8, String p10, boolean p11)
    {
        String v0_0 = 0;
        if (p7 != null) {
            if (p11) {
                this.throwIfNotConnected(p7);
            }
            if ((android.text.TextUtils.isEmpty(p10)) || (!new java.io.File(p10).exists())) {
                Object[] v4 = new Object[1];
                v4[0] = Long.valueOf(p8);
                com.adobe.creativesdk.aviary.internal.cds.CdsAssetsDownloaderService.LOGGER.verbose("download detail image for pack %d", v4);
                try {
                    com.adobe.creativesdk.aviary.internal.cds.CdsDownloaderFactory.create(com.adobe.creativesdk.aviary.internal.cds.Cds$ContentType.DETAIL_IMAGE).download(p7, p8);
                    v0_0 = 1;
                } catch (Throwable v1_1) {
                    v1_1.printStackTrace();
                }
            }
            return v0_0;
        } else {
            throw new IllegalStateException("Invalid Context");
        }
    }

Method com.adobe.creativesdk.aviary.dialogs.MessagePromoDialogFragment.displayMessage() calling method java.io.File.<init>()


    private void displayMessage(int p17, int p18)
    {
        android.util.Log.i("MessageFragment", new StringBuilder().append("dialog size: ").append(p17).append("x").append(p18).toString());
        long v2_11 = this.getArguments();
        String v5 = v2_11.getString("header_file");
        this.mMessageId = v2_11.getLong("message_id");
        this.mMessageContentId = v2_11.getLong("message_content_id");
        this.mContentIdentifier = v2_11.getString("uri");
        int v3_23 = v2_11.getInt("message_bitmap_width");
        java.io.File v4_13 = v2_11.getInt("message_bitmap_height");
        String v6_3 = v2_11.getString("android.intent.extra.TITLE");
        String v7_1 = v2_11.getString("android.intent.extra.TEXT");
        String v8_1 = v2_11.getString("dismiss_button");
        String v9_1 = v2_11.getString("action_button");
        boolean v10_1 = v2_11.getBoolean("show_new_banner", 1);
        android.util.Log.v("MessageFragment", new StringBuilder().append("title: ").append(v6_3).toString());
        android.util.Log.v("MessageFragment", new StringBuilder().append("text: ").append(v7_1).toString());
        android.util.Log.v("MessageFragment", new StringBuilder().append("dismissButtonText: ").append(v8_1).toString());
        android.util.Log.v("MessageFragment", new StringBuilder().append("actionButtonText: ").append(v9_1).toString());
        String v11_2 = this.getResources().getDisplayMetrics();
        long v2_3 = (v11_2.heightPixels / 2);
        double v12_1 = new android.graphics.BitmapFactory$Options();
        v12_1.inScaled = 1;
        v12_1.inTargetDensity = v11_2.densityDpi;
        v12_1.inDensity = 240;
        double v12_3 = (((double) v3_23) / ((double) v4_13));
        java.io.File v4_0 = Math.max(p17, v3_23);
        int v3_2 = ((int) (((double) v4_0) / v12_3));
        if (v4_0 <= p17) {
            p17 = v4_0;
        }
        if (v3_2 <= v2_3) {
            v2_3 = v3_2;
        }
        android.util.Log.v("MessageFragment", new StringBuilder().append("final bitmap size: ").append(p17).append("x").append(v2_3).toString());
        int v3_6 = this.mHeaderImage.getLayoutParams();
        v3_6.width = p17;
        v3_6.height = v2_3;
        this.mHeaderImage.setLayoutParams(v3_6);
        it.sephiroth.android.library.picasso.Picasso.with(this.getActivity()).load(new java.io.File(v5)).skipMemoryCache().resize(p17, v2_3).centerCrop().noFade().config(android.graphics.Bitmap$Config.RGB_565).into(this.mHeaderImage);
        this.mTitle.setText(v6_3);
        this.mDescription.setText(v7_1);
        android.text.util.Linkify.addLinks(this.mDescription, 15);
        this.mButtonNo.setText(v8_1);
        if (v9_1 == null) {
            this.mButtonYes.setVisibility(8);
        } else {
            this.mButtonYes.setText(v9_1);
        }
        // Both branches of the condition point to the same code.
        // if (v10_1) {
            this.mButtonYes.setOnClickListener(this);
            this.mButtonNo.setOnClickListener(this);
            this.flagMessageAsRead(this.mMessageContentId);
            return;
        // }
    }

Method com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract.performSave() calling method java.io.File.<init>()


    protected void performSave(android.graphics.Bitmap p10, android.net.Uri p11, android.graphics.Bitmap$CompressFormat p12, int p13, boolean p14, com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract$FinalAction p15)
    {
        java.io.File v2_0;
        java.io.File v2_3 = new Object[3];
        v2_3[0] = p11;
        v2_3[1] = Integer.valueOf(p13);
        v2_3[2] = p15;
        com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract.logger.info("performSave, uri:%s, quality: %d, action:%s", v2_3);
        if (p11 == null) {
            v2_0 = this.getDefaultOutputDestination(p12);
        } else {
            v2_0 = new java.io.File(p11.getPath());
        }
        try {
            com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract.logger.log("trying to create the new file...");
        } catch (AssertionError v0_6) {
            v0_6.printStackTrace();
            try {
                com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract.logger.error("using a temporary file!");
                v2_0 = java.io.File.createTempFile("aviary-image-", ".jpeg");
            } catch (AssertionError v0_9) {
                v0_9.printStackTrace();
            }
            AssertionError v0_12 = ((com.adobe.creativesdk.aviary.internal.services.LocalDataService) this.getMainController().getService(com.adobe.creativesdk.aviary.internal.services.LocalDataService));
            if ((com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract.$assertionsDisabled) || (v0_12 != null)) {
                v0_12.setDestImageUri(android.net.Uri.parse(v2_0.getAbsolutePath()));
                AssertionError v0_14 = new com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract$SaveHiResImageTask(this, v2_0, p15, p12, p13, p14);
                android.graphics.Bitmap[] v1_10 = new android.graphics.Bitmap[1];
                v1_10[0] = p10;
                v0_14.execute(v1_10);
                return;
            } else {
                throw new AssertionError();
            }
        }
        if ((v2_0.exists()) || (v2_0.createNewFile())) {
        } else {
            com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract.logger.error("Failed to create the file");
        }
    }

Method com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract.getSystemDefaultOutput() calling method java.io.File.<init>()


    protected java.io.File getSystemDefaultOutput(android.graphics.Bitmap$CompressFormat p7)
    {
        String v0_3;
        java.io.File v2 = android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_PICTURES);
        StringBuilder vtmp5 = new StringBuilder().append("aviary-image-").append(System.currentTimeMillis()).append(".");
        if (p7 != android.graphics.Bitmap$CompressFormat.JPEG) {
            v0_3 = "png";
        } else {
            v0_3 = "jpeg";
        }
        return new java.io.File(v2, vtmp5.append(v0_3).toString());
    }

Method com.adobe.android.common.util.IOUtils.unzipEntry() calling method java.io.File.<init>()


    private static void unzipEntry(java.util.zip.ZipEntry p3, java.util.zip.ZipInputStream p4, java.io.File p5)
    {
        if (!p3.isDirectory()) {
            java.io.File v0_3 = new java.io.File(p5, p3.getName());
            if (!v0_3.getParentFile().exists()) {
                v0_3.getParentFile().mkdirs();
            }
            java.io.BufferedOutputStream v1_3 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v0_3));
            org.apache.commons.io.IOUtils.copy(p4, v1_3);
            v1_3.flush();
            com.adobe.android.common.util.IOUtils.closeSilently(v1_3);
        } else {
            com.adobe.android.common.util.IOUtils.mkdirs(p5, p3.getName());
        }
        return;
    }

Method com.adobe.android.common.util.IOUtils.mkdirs() calling method java.io.File.<init>()


    public static java.io.File mkdirs(java.io.File p8, String p9)
    {
        if ((!p8.exists()) || (!p8.isDirectory())) {
            int v0_4 = 0;
        } else {
            int v0_1;
            boolean v1_5 = p8.getAbsoluteFile();
            if (java.io.File.separatorChar != 92) {
                v0_1 = java.io.File.separator;
            } else {
                v0_1 = "\\\\";
            }
            String[] v4 = p9.split(v0_1);
            if (v4.length <= 1) {
                if (v4.length != 1) {
                    v0_4 = v1_5;
                } else {
                    v0_4 = new java.io.File(v1_5, p9);
                }
            } else {
                int v5_1 = v4.length;
                v0_4 = v1_5;
                boolean v1_0 = 0;
                while (v1_0 < v5_1) {
                    java.io.File v3_2 = new java.io.File(v0_4, v4[v1_0]);
                    v1_0++;
                    v0_4 = v3_2;
                }
            }
            if (v0_4.exists()) {
                if (!v0_4.isDirectory()) {
                }
            } else {
                if ((!v0_4.mkdirs()) && (!v0_4.isDirectory())) {
                    v0_4 = 0;
                }
            }
        }
        return v0_4;
    }

Method com.adobe.android.common.io.FileUtils.createNoMediaFile() calling method java.io.File.<init>()


    public static void createNoMediaFile(java.io.File p2)
    {
        if ((p2 != null) && (p2.isDirectory())) {
            Exception v0_3 = new java.io.File(p2, ".nomedia");
            if (!v0_3.exists()) {
                try {
                    v0_3.createNewFile();
                } catch (Exception v0_0) {
                    v0_0.printStackTrace();
                }
            }
        }
        return;
    }

Method com.adobe.android.common.io.DiskCache.getCacheDir() calling method java.io.File.<init>()


    public static java.io.File getCacheDir(android.content.Context p4, String p5, boolean p6)
    {
        android.util.Log.i(com.adobe.android.common.io.DiskCache.TAG, new StringBuilder().append("getCacheDir: ").append(p5).toString());
        int v0_2 = new java.io.File(com.adobe.android.common.io.DiskCache.getCacheDir(p4), p5);
        if (!v0_2.exists()) {
            v0_2.mkdirs();
            if (p6) {
                com.adobe.android.common.io.FileUtils.createNoMediaFile(v0_2);
            }
        }
        if (!v0_2.exists()) {
            android.util.Log.w(com.adobe.android.common.io.DiskCache.TAG, "result: null");
            v0_2 = 0;
        } else {
            android.util.Log.v(com.adobe.android.common.io.DiskCache.TAG, new StringBuilder().append("result: ").append(v0_2.getAbsolutePath()).toString());
        }
        return v0_2;
    }

Method com.adobe.android.common.io.DiskCache.getCacheDir() calling method java.io.File.<init>()


    private static java.io.File getCacheDir(android.content.Context p4)
    {
        if (com.adobe.android.common.io.DiskCache.cacheRootFile == null) {
            java.io.File v0_18 = com.adobe.android.common.io.DiskCache.getSharedPreferences(p4).getString("cache.file.root", 0);
            if (!android.text.TextUtils.isEmpty(v0_18)) {
                android.util.Log.v(com.adobe.android.common.io.DiskCache.TAG, new StringBuilder().append("cache dir from preference: ").append(v0_18).toString());
                com.adobe.android.common.io.DiskCache.cacheRootFile = new java.io.File(v0_18);
            }
        }
        if ((com.adobe.android.common.io.DiskCache.cacheRootFile == null) || (!com.adobe.android.common.io.DiskCache.cacheRootFile.exists())) {
            com.adobe.android.common.io.DiskCache.cacheRootFile = com.adobe.android.common.io.DiskCache.getExternalCacheDir(p4);
            if ((com.adobe.android.common.io.DiskCache.cacheRootFile != null) && (com.adobe.android.common.io.DiskCache.cacheRootFile.exists())) {
                com.adobe.android.common.io.DiskCache.getSharedPreferences(p4).edit().putString("cache.file.root", com.adobe.android.common.io.DiskCache.cacheRootFile.getAbsolutePath()).apply();
            }
        }
        if ((com.adobe.android.common.io.DiskCache.cacheRootFile == null) || (!com.adobe.android.common.io.DiskCache.cacheRootFile.exists())) {
            com.adobe.android.common.io.DiskCache.cacheRootFile = new java.io.File(p4.getFilesDir(), "cache");
        }
        return com.adobe.android.common.io.DiskCache.cacheRootFile;
    }

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


    private static varargs java.io.File a(java.io.File p5, String[] p6)
    {
        int v3 = p6.length;
        int v2 = 0;
        java.io.File v1_1 = p5;
        while (v2 < v3) {
            java.io.File v0_1;
            String v4 = p6[v2];
            if (v4 == null) {
                v0_1 = v1_1;
            } else {
                v0_1 = new java.io.File(v1_1, v4);
            }
            v2++;
            v1_1 = v0_1;
        }
        return v1_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 android.support.v4.content.FileProvider$b.a() calling method java.io.File.<init>()


    public java.io.File a(android.net.Uri p5)
    {
        SecurityException v0_4 = p5.getEncodedPath();
        String v1_10 = v0_4.indexOf(47, 1);
        String v2_6 = android.net.Uri.decode(v0_4.substring(1, v1_10));
        String vtmp6 = android.net.Uri.decode(v0_4.substring((v1_10 + 1)));
        SecurityException v0_3 = ((java.io.File) this.b.get(v2_6));
        if (v0_3 != null) {
            try {
                String v1_2 = new java.io.File(v0_3, vtmp6).getCanonicalFile();
                String v2_3 = v1_2.getPath();
            } catch (SecurityException v0) {
                throw new IllegalArgumentException(new StringBuilder().append("Failed to resolve canonical path for ").append(v2_3).toString());
            }
            if (v2_3.startsWith(v0_3.getPath())) {
                return v1_2;
            } else {
                throw new SecurityException("Resolved path jumped beyond configured root");
            }
        } else {
            throw new IllegalArgumentException(new StringBuilder().append("Unable to find configured root for ").append(p5).toString());
        }
    }

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


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

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


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

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


    private static java.util.List a(java.io.File p14, java.io.File p15)
    {
        String v6 = new StringBuilder().append(p14.getName()).append(".classes").toString();
        ark>android.support.multidex.bark>.a(p15, v6);
        java.util.ArrayList v7_1 = new java.util.ArrayList();
        java.util.zip.ZipFile v8_1 = new java.util.zip.ZipFile(p14);
        try {
            java.util.zip.ZipEntry v4 = v8_1.getEntry(new StringBuilder().append("classes").append(2).append(".dex").toString());
            int v5 = 2;
        } catch (String v0_14) {
            try {
                v8_1.close();
            } catch (String v1_5) {
                android.util.Log.w("MultiDex", "Failed to close resource", v1_5);
            }
            throw v0_14;
        }
        while (v4 != null) {
            java.io.File v9_1 = new java.io.File(p15, new StringBuilder().append(v6).append(v5).append(".zip").toString());
            v7_1.add(v9_1);
            android.util.Log.i("MultiDex", new StringBuilder().append("Extraction is needed for file ").append(v9_1).toString());
            String v0_12 = 0;
            String v2_2 = 0;
            while ((v2_2 < 3) && (v0_12 == null)) {
                String v0_4;
                String v3_0 = (v2_2 + 1);
                ark>android.support.multidex.bark>.a(v8_1, v4, v9_1, v6);
                String v2_1 = ark>android.support.multidex.bark>.a(v9_1);
                StringBuilder vtmp22 = new StringBuilder().append("Extraction ");
                if (v2_1 == null) {
                    v0_4 = "failed";
                } else {
                    v0_4 = "success";
                }
                android.util.Log.i("MultiDex", vtmp22.append(v0_4).append(" - length ").append(v9_1.getAbsolutePath()).append(": ").append(v9_1.length()).toString());
                if (v2_1 == null) {
                    v9_1.delete();
                    if (v9_1.exists()) {
                        android.util.Log.w("MultiDex", new StringBuilder().append("Failed to delete corrupted secondary dex \'").append(v9_1.getPath()).append("\'").toString());
                        v0_12 = v2_1;
                        v2_2 = v3_0;
                    }
                }
                v0_12 = v2_1;
                v2_2 = v3_0;
            }
            if (v0_12 != null) {
                String v2_14 = (v5 + 1);
                v4 = v8_1.getEntry(new StringBuilder().append("classes").append(v2_14).append(".dex").toString());
                v5 = v2_14;
            } else {
                throw new java.io.IOException(new StringBuilder().append("Could not create zip file ").append(v9_1.getAbsolutePath()).append(" for secondary dex (").append(v5).append(")").toString());
            }
        }
        try {
            v8_1.close();
        } catch (String v0_23) {
            android.util.Log.w("MultiDex", "Failed to close resource", v0_23);
        }
        return v7_1;
    }

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


    private static java.util.List a(android.content.Context p6, java.io.File p7, java.io.File p8)
    {
        android.util.Log.i("MultiDex", "loading existing secondary dex files");
        String v1_1 = new StringBuilder().append(p7.getName()).append(".classes").toString();
        String v2_1 = ark>android.support.multidex.bark>.a(p6).getInt("dex.number", 1);
        java.util.ArrayList v3_2 = new java.util.ArrayList(v2_1);
        int v0_3 = 2;
        while (v0_3 <= v2_1) {
            java.io.File v5_2 = new java.io.File(p8, new StringBuilder().append(v1_1).append(v0_3).append(".zip").toString());
            if (!v5_2.isFile()) {
                throw new java.io.IOException(new StringBuilder().append("Missing extracted secondary dex file \'").append(v5_2.getPath()).append("\'").toString());
            } else {
                v3_2.add(v5_2);
                if (ark>android.support.multidex.bark>.a(v5_2)) {
                    v0_3++;
                } else {
                    android.util.Log.i("MultiDex", new StringBuilder().append("Invalid zip file: ").append(v5_2).toString());
                    throw new java.io.IOException("Invalid ZIP file.");
                }
            }
        }
        return v3_2;
    }

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


    static java.util.List a(android.content.Context p7, android.content.pm.ApplicationInfo p8, java.io.File p9, boolean p10)
    {
        java.util.List v0_4;
        android.util.Log.i("MultiDex", new StringBuilder().append("MultiDexExtractor.load(").append(p8.sourceDir).append(", ").append(p10).append(")").toString());
        android.content.Context v1_7 = new java.io.File(p8.sourceDir);
        long v4 = ark>android.support.multidex.bark>.c(v1_7);
        if ((p10) || (ark>android.support.multidex.bark>.a(p7, v1_7, v4))) {
            android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
            v0_4 = ark>android.support.multidex.bark>.a(v1_7, p9);
            ark>android.support.multidex.bark>.a(p7, ark>android.support.multidex.bark>.b(v1_7), v4, (v0_4.size() + 1));
        } else {
            try {
                v0_4 = ark>android.support.multidex.bark>.a(p7, v1_7, p9);
            } catch (java.util.List v0_5) {
                android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v0_5);
                v0_4 = ark>android.support.multidex.bark>.a(v1_7, p9);
                ark>android.support.multidex.bark>.a(p7, ark>android.support.multidex.bark>.b(v1_7), v4, (v0_4.size() + 1));
            }
        }
        android.util.Log.i("MultiDex", new StringBuilder().append("load found ").append(v0_4.size()).append(" secondary dex files").toString());
        return v0_4;
    }

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


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

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


    public static void a(android.content.Context p6)
    {
        android.util.Log.i("MultiDex", "install");
        if (!ark>android.support.multidex.aark>.c) {
            if (android.os.Build$VERSION.SDK_INT >= 4) {
                try {
                    RuntimeException v0_0 = ark>android.support.multidex.aark>.b(p6);
                } catch (RuntimeException v0_2) {
                    android.util.Log.e("MultiDex", "Multidex installation failure", v0_2);
                    throw new RuntimeException(new StringBuilder().append("Multi dex installation failed (").append(v0_2.getMessage()).append(").").toString());
                }
                if (v0_0 != null) {
                    String v2_7 = v0_0.sourceDir;
                    if (!ark>android.support.multidex.aark>.b.contains(v2_7)) {
                        ark>android.support.multidex.aark>.b.add(v2_7);
                        if (android.os.Build$VERSION.SDK_INT > 20) {
                            android.util.Log.w("MultiDex", new StringBuilder().append("MultiDex is not guaranteed to work in SDK version ").append(android.os.Build$VERSION.SDK_INT).append(": SDK version higher than ").append(20).append(" should be backed by ").append("runtime with built-in multidex capabilty but it\'s not the ").append("case here: java.vm.version=\"").append(System.getProperty("java.vm.version")).append("\"").toString());
                        }
                        try {
                            String v2_12 = p6.getClassLoader();
                        } catch (RuntimeException v0_12) {
                            android.util.Log.w("MultiDex", "Failure while trying to obtain Context class loader. Must be running in test mode. Skip patching.", v0_12);
                        }
                        if (v2_12 != null) {
                            try {
                                ark>android.support.multidex.aark>.c(p6);
                            } catch (java.io.File v3_18) {
                                android.util.Log.w("MultiDex", "Something went wrong when trying to clear old MultiDex extraction, continuing without cleaning.", v3_18);
                            }
                            java.io.File v3_20 = new java.io.File(v0_0.dataDir, ark>android.support.multidex.aark>.a);
                            boolean v4_14 = android.support.multidex.b.a(p6, v0_0, v3_20, 0);
                            if (!ark>android.support.multidex.aark>.a(v4_14)) {
                                android.util.Log.w("MultiDex", "Files were not valid zip files.  Forcing a reload.");
                                RuntimeException v0_14 = android.support.multidex.b.a(p6, v0_0, v3_20, 1);
                                if (!ark>android.support.multidex.aark>.a(v0_14)) {
                                    throw new RuntimeException("Zip files were not valid.");
                                } else {
                                    ark>android.support.multidex.aark>.a(v2_12, v3_20, v0_14);
                                }
                            } else {
                                ark>android.support.multidex.aark>.a(v2_12, v3_20, v4_14);
                            }
                            android.util.Log.i("MultiDex", "install done");
                        } else {
                            android.util.Log.e("MultiDex", "Context class loader is null. Must be running in test mode. Skip patching.");
                        }
                    } else {
                    }
                }
            } else {
                throw new RuntimeException(new StringBuilder().append("Multi dex installation failed. SDK ").append(android.os.Build$VERSION.SDK_INT).append(" is unsupported. Min SDK version is ").append(4).append(".").toString());
            }
        } else {
            android.util.Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
        }
        return;
    }

Method ru.yandex.disk.download.t$2.d() calling method java.io.RandomAccessFile.<init>()


    private void d()
    {
        if (this.c == null) {
            try {
                this.c = new java.io.RandomAccessFile(ru.yandex.disk.download.t.a(this.b), "rw");
            } catch (java.io.FileNotFoundException v0_3) {
                ru.yandex.disk.Log.e("ResumeDownloadHelper", "openFile", v0_3);
                this.d = v0_3;
            }
        }
        return;
    }

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


    public static okhttp3.internal.cache2.Relay read(java.io.File p14)
    {
        String v10_2 = new java.io.RandomAccessFile(p14, "rw");
        java.io.IOException v0_4 = new okhttp3.internal.cache2.FileOperator(v10_2.getChannel());
        okio.c v3_0 = new okio.c();
        v0_4.read(0, v3_0, 32);
        if (v3_0.d(((long) okhttp3.internal.cache2.Relay.PREFIX_CLEAN.h())).equals(okhttp3.internal.cache2.Relay.PREFIX_CLEAN)) {
            long v12 = v3_0.l();
            long v8 = v3_0.l();
            long v7_2 = new okio.c();
            v0_4.read((32 + v12), v7_2, v8);
            return new okhttp3.internal.cache2.Relay(v10_2, 0, v12, v7_2.q(), 0);
        } else {
            throw new java.io.IOException("unreadable cache file");
        }
    }

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


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

Method com.yandex.metrica.impl.s.b() calling method java.io.RandomAccessFile.<init>()


    public static byte[] b(android.content.Context p8, java.io.File p9)
    {
        Throwable v0_0 = 0;
        try {
            Throwable v7_1 = new java.io.RandomAccessFile(p9, "r");
            try {
                Throwable v1_2 = v7_1.getChannel();
                Throwable v2_1 = v1_2.lock(0, nan, 1);
                try {
                    java.nio.ByteBuffer v3_1 = java.nio.ByteBuffer.allocate(((int) p9.length()));
                    v1_2.read(v3_1);
                    v3_1.flip();
                    v0_0 = v3_1.array();
                    p9.getAbsolutePath();
                    com.yandex.metrica.impl.s.a(v2_1);
                    com.yandex.metrica.impl.bl.a(v7_1);
                } catch (Throwable v1) {
                    Throwable v1_0 = v2_1;
                    Throwable v2_0 = v7_1;
                    p9.getAbsolutePath();
                    com.yandex.metrica.impl.s.a(v1_0);
                    com.yandex.metrica.impl.bl.a(v2_0);
                } catch (Throwable v1) {
                    p9.getAbsolutePath();
                    com.yandex.metrica.impl.s.a(v2_1);
                    com.yandex.metrica.impl.bl.a(v7_1);
                } catch (Throwable v1_4) {
                    com.yandex.metrica.YandexMetrica.getReporter(p8, "20799a27-fa80-4b36-b2db-0f8141f24180").reportError("error_during_file_reading", v1_4);
                    p9.getAbsolutePath();
                    com.yandex.metrica.impl.s.a(v2_1);
                    com.yandex.metrica.impl.bl.a(v7_1);
                }
                return v0_0;
            } catch (Throwable v1_5) {
                v2_1 = 0;
                Throwable v0_1 = v1_5;
                p9.getAbsolutePath();
                com.yandex.metrica.impl.s.a(v2_1);
                com.yandex.metrica.impl.bl.a(v7_1);
                throw v0_1;
            } catch (Throwable v1) {
                v1_0 = 0;
                v2_0 = v7_1;
            } catch (Throwable v1) {
                v2_1 = 0;
            } catch (Throwable v1_4) {
                v2_1 = 0;
            }
        } catch (Throwable v1_1) {
            v2_1 = 0;
            v7_1 = 0;
            v0_1 = v1_1;
        } catch (Throwable v1) {
            v1_0 = 0;
            v2_0 = 0;
        } catch (Throwable v1) {
            v2_1 = 0;
            v7_1 = 0;
        } catch (Throwable v1_4) {
            v2_1 = 0;
            v7_1 = 0;
        } catch (Throwable v0_1) {
        }
    }

Method com.yandex.metrica.impl.ob.cq.a() calling method java.io.RandomAccessFile.<init>()


    public declared_synchronized android.database.sqlite.SQLiteDatabase a()
    {
        try {
            this.c = new java.io.File(this.a.getFilesDir(), new StringBuilder().append(new java.io.File(this.b).getName()).append(".lock").toString());
            this.f = new java.io.RandomAccessFile(this.c, "rw");
            this.g = this.f.getChannel();
            this.e = this.g.lock();
            this.d = new com.yandex.metrica.impl.ob.ch(this.a, this.b, com.yandex.metrica.impl.ob.cf.c());
            int v0_11 = this.d.getWritableDatabase();
        } catch (int v0_12) {
            throw v0_12;
        } catch (int v0) {
            v0_11 = 0;
        }
        return v0_11;
    }

Method com.yandex.metrica.impl.d.a() calling method java.io.RandomAccessFile.<init>()


    public declared_synchronized java.util.HashMap a()
    {
        int v4_0 = 1;
        Throwable v0_2 = 0;
        try {
            Throwable v1_5 = this.b.getFileStreamPath("b_meta.dat").getAbsolutePath();
            try {
                long v6_0 = new java.io.File(v1_5);
            } catch (Throwable v1_2) {
                Throwable v2_6 = 0;
                boolean v3_5 = 0;
                Throwable v1_1 = 0;
                Throwable v0_0 = v1_2;
                com.yandex.metrica.impl.s.a(v2_6);
                com.yandex.metrica.impl.bl.a(v3_5);
                com.yandex.metrica.impl.bl.a(v1_1);
                throw v0_0;
            } catch (Throwable v1) {
                v1_1 = 0;
                v2_6 = 0;
                v3_5 = 0;
                com.yandex.metrica.impl.s.a(v2_6);
                com.yandex.metrica.impl.bl.a(v3_5);
                com.yandex.metrica.impl.bl.a(v1_1);
                return v0_2;
            }
            if (!v6_0.exists()) {
                v6_0.createNewFile();
                v6_0.setReadable(1, 0);
                try {
                    Throwable v2_4 = this.b.getFileStreamPath("browsers.dat").getAbsoluteFile();
                } catch (Throwable v2) {
                }
                if ((v2_4.exists()) && (v2_4.canWrite())) {
                    v2_4.delete();
                }
            }
            v3_5 = new java.io.RandomAccessFile(v1_5, "rw");
            try {
                v1_1 = v3_5.getChannel();
                try {
                    v2_6 = v1_1.lock();
                    try {
                        long v6_5 = java.nio.ByteBuffer.allocate(((int) v6_0.length()));
                        v1_1.read(v6_5);
                        v6_5.flip();
                        v0_2 = this.a(com.yandex.metrica.impl.utils.m.a(this.b, v6_5.array()));
                    } catch (Throwable v0_0) {
                    } catch (int v4) {
                    }
                    if ((System.currentTimeMillis() - this.c) <= ark>com.yandex.metrica.impl.dark>.a) {
                        v4_0 = 0;
                    }
                    if (v4_0 != 0) {
                        this.a(v0_2);
                        this.c = System.currentTimeMillis();
                        int v4_5 = com.yandex.metrica.impl.utils.m.a(this.b, this.b(v0_2)).getBytes("UTF-8");
                        java.nio.ByteBuffer v5_1 = java.nio.ByteBuffer.allocate(v4_5.length);
                        v5_1.put(v4_5);
                        v5_1.flip();
                        v1_1.position(0);
                        v1_1.truncate(0);
                        v1_1.write(v5_1);
                        v1_1.force(1);
                    }
                    com.yandex.metrica.impl.s.a(v2_6);
                    com.yandex.metrica.impl.bl.a(v3_5);
                    com.yandex.metrica.impl.bl.a(v1_1);
                    return v0_2;
                } catch (Throwable v2_8) {
                    v2_6 = 0;
                    v0_0 = v2_8;
                } catch (Throwable v2) {
                    v2_6 = 0;
                }
            } catch (Throwable v1_3) {
                v2_6 = 0;
                v0_0 = v1_3;
                v1_1 = 0;
            } catch (Throwable v1) {
                v1_1 = 0;
                v2_6 = 0;
            }
        } catch (Throwable v0_1) {
            throw v0_1;
        }
    }

Method ru.yandex.disk.util.ap.a() calling method java.io.RandomAccessFile.<init>()


    private static String a(java.io.File p7)
    {
        java.io.RandomAccessFile v2_1 = new java.io.RandomAccessFile(p7, "r");
        Throwable v1_1 = 0;
        try {
            Throwable v0_4 = new byte[((int) v2_1.length())];
            v2_1.readFully(v0_4);
            String v3_0 = new String(v0_4);
        } catch (Throwable v0_2) {
            if (v2_1 != null) {
                if (v1_1 == null) {
                    v2_1.close();
                } else {
                    try {
                        v2_1.close();
                    } catch (Throwable v1) {
                    }
                }
            }
            throw v0_2;
        } catch (Throwable v0_1) {
            try {
                throw v0_1;
            } catch (Throwable v1_0) {
                v1_1 = v0_1;
                v0_2 = v1_0;
            }
        }
        if (v2_1 != null) {
            if (0 == 0) {
                v2_1.close();
            } else {
                try {
                    v2_1.close();
                } catch (Throwable v0) {
                }
            }
        }
        return v3_0;
    }

Method com.google.android.exoplayer.upstream.FileDataSource.a() calling method java.io.RandomAccessFile.<init>()


    public long a(com.google.android.exoplayer.upstream.d p5)
    {
        try {
            long v0_4;
            this.c = p5.a.toString();
            this.b = new java.io.RandomAccessFile(p5.a.getPath(), "r");
            this.b.seek(p5.d);
        } catch (long v0_17) {
            throw new ark>com.google.android.exoplayer.upstream.FileDataSourceark>$FileDataSourceException(v0_17);
        }
        if (p5.e != -1) {
            v0_4 = p5.e;
        } else {
            v0_4 = (this.b.length() - p5.d);
        }
        this.d = v0_4;
        if (this.d >= 0) {
            this.e = 1;
            if (this.a != null) {
                this.a.a();
            }
            return this.d;
        } else {
            throw new java.io.EOFException();
        }
    }

Method com.adobe.creativesdk.foundation.internal.utils.AdobeNetworkFileUtils.touch() calling method java.io.RandomAccessFile.<init>()


    public static boolean touch(String p8)
    {
        int v0 = 0;
        java.io.IOException v1_2 = new java.io.File(p8);
        if (v1_2.exists()) {
            if (!v1_2.setLastModified(new java.util.Date().getTime())) {
                try {
                    com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_7 = new java.io.RandomAccessFile(v1_2, "rw");
                    String v4_1 = v2_7.length();
                    v2_7.setLength((1 + v4_1));
                    v2_7.setLength(v4_1);
                    v2_7.close();
                } catch (java.io.IOException v1_3) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.internal.utils.AdobeNetworkFileUtils.getSimpleName(), "Failure while closing the stream ", v1_3);
                    return v0;
                }
            }
            v0 = 1;
        } else {
            if (v1_2.getParentFile() != null) {
                v1_2.getParentFile().mkdirs();
            }
            try {
                v1_2.createNewFile();
            } catch (java.io.IOException v1_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.internal.utils.AdobeNetworkFileUtils.getSimpleName(), "Failure while creating file", v1_1);
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.aviary.internal.utils.SystemUtils$CpuInfo.getCpuFrequencyMax() calling method java.io.RandomAccessFile.<init>()


    public static int getCpuFrequencyMax()
    {
        if (com.adobe.creativesdk.aviary.internal.utils.SystemUtils$CpuInfo.mCpuKiloHz == 0) {
            int v2 = 0;
            try {
                int v1_1 = new java.io.RandomAccessFile("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", "r");
                try {
                    com.adobe.creativesdk.aviary.internal.utils.SystemUtils$CpuInfo.mCpuKiloHz = Integer.parseInt(v1_1.readLine());
                    com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
                } catch (NumberFormatException v0_5) {
                    v0_5.printStackTrace();
                    com.adobe.android.common.util.IOUtils.closeSilently(v1_1);
                } catch (NumberFormatException v0_3) {
                    v2 = v1_1;
                    v0_3.printStackTrace();
                    com.adobe.android.common.util.IOUtils.closeSilently(v2);
                }
            } catch (NumberFormatException v0_4) {
                com.adobe.android.common.util.IOUtils.closeSilently(v2);
                throw v0_4;
            } catch (NumberFormatException v0_5) {
                v1_1 = 0;
            } catch (NumberFormatException v0_3) {
            } catch (NumberFormatException v0_4) {
                v2 = v1_1;
            }
        }
        return com.adobe.creativesdk.aviary.internal.utils.SystemUtils$CpuInfo.mCpuKiloHz;
    }

Method com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.save() calling method java.io.RandomAccessFile.<init>()


    public static android.os.Bundle save(android.content.Context p6, android.graphics.Bitmap p7)
    {
        android.os.Bundle v0_0 = 0;
        if (!p7.isRecycled()) {
            String v1_4 = p7.getByteCount();
            if (v1_4 != null) {
                String v1_9 = java.nio.ByteBuffer.allocateDirect(v1_4);
                p7.copyPixelsToBuffer(v1_9);
                v1_9.flip();
                int v2_0 = com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.getParentDir(p6);
                if (v2_0 != 0) {
                    java.io.File v3_1 = new java.io.File(v2_0, new StringBuilder().append("savedBitmap").append(System.currentTimeMillis()).append(".bmp").toString());
                    android.os.Bundle v0_8 = new java.io.RandomAccessFile(v3_1, "rw");
                    int v2_2 = v0_8.getChannel();
                    v2_2.write(v1_9);
                    v2_2.close();
                    v0_8.close();
                    v0_0 = new android.os.Bundle();
                    v0_0.putString("src.uri", v3_1.getAbsolutePath());
                    if (p7.getConfig() != null) {
                        v0_0.putString("src.config", p7.getConfig().name());
                    }
                    v0_0.putInt("src.width", p7.getWidth());
                    v0_0.putInt("src.height", p7.getHeight());
                } else {
                    android.util.Log.e(com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.TAG, "Failed to access cache directory");
                }
            } else {
                android.util.Log.e(com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.TAG, "bytesCount returned 0");
            }
        }
        return v0_0;
    }

Method com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.load() calling method java.io.RandomAccessFile.<init>()


    public static android.graphics.Bitmap load(android.os.Bundle p12)
    {
        int v0_5;
        int v7 = p12.getInt("src.width", 0);
        int v8 = p12.getInt("src.height", 0);
        String v9 = p12.getString("src.config", android.graphics.Bitmap$Config.ARGB_8888.name());
        int v0_1 = p12.getString("src.uri", 0);
        if ((v7 >= 1) && ((v8 >= 1) && ((!android.text.TextUtils.isEmpty(v9)) && (!android.text.TextUtils.isEmpty(v0_1))))) {
            java.io.File v10_1 = new java.io.File(v0_1);
            java.io.RandomAccessFile v11_1 = new java.io.RandomAccessFile(v10_1, "r");
            int v0_4 = v11_1.getChannel();
            java.nio.MappedByteBuffer v2_2 = v0_4.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0_4.size());
            v2_2.load();
            try {
                Exception v1_7 = android.graphics.Bitmap.createBitmap(v7, v8, android.graphics.Bitmap$Config.valueOf(v9));
                v1_7.copyPixelsFromBuffer(v2_2);
                v0_4.close();
                v11_1.close();
                v10_1.delete();
                v0_5 = v1_7;
            } catch (Exception v1_9) {
                v0_5.close();
                v11_1.close();
                v10_1.delete();
                throw v1_9;
            } catch (Exception v1_8) {
                v1_8.printStackTrace();
                v0_5.close();
                v11_1.close();
                v10_1.delete();
                v0_5 = 0;
            }
        } else {
            android.util.Log.w(com.adobe.creativesdk.aviary.internal.utils.BitmapRetention.TAG, new StringBuilder().append("width=").append(v7).append(", height=").append(v8).append(", config=").append(v9).append(", uri=").append(v0_1).toString());
            v0_5 = 0;
        }
        return v0_5;
    }

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


    static long a(java.io.File p4)
    {
        java.io.RandomAccessFile v1_1 = new java.io.RandomAccessFile(p4, "r");
        try {
            long v2 = ark>android.support.multidex.cark>.a(v1_1, ark>android.support.multidex.cark>.a(v1_1));
            v1_1.close();
            return v2;
        } catch (Throwable v0_2) {
            v1_1.close();
            throw v0_2;
        }
    }

Method com.yandex.promolib.impl.cj.a() calling method android.content.Context.openFileOutput()


    public static String a(android.content.Context p3, byte[] p4, String p5)
    {
        int v0_1 = ark>com.yandex.promolib.impl.cjark>.a(p5);
        try {
            int v2_1 = p3.openFileOutput(v0_1, 0);
            try {
                v2_1.write(p4);
                ark>com.yandex.promolib.impl.cjark>.b(p3, v0_1);
                com.yandex.promolib.impl.cv.a(v2_1);
            } catch (int v0_2) {
                com.yandex.promolib.impl.cv.a(v2_1);
                throw v0_2;
            } catch (int v0) {
                int v0_0 = v2_1;
                com.yandex.promolib.impl.cv.a(v0_0);
                v0_1 = 0;
            }
            return v0_1;
        } catch (int v0_2) {
            v2_1 = 0;
        } catch (int v0) {
            v0_0 = 0;
        }
    }

Method com.yandex.metrica.impl.s.a() calling method android.content.Context.openFileOutput()


    public static void a(android.content.Context p1, String p2, String p3)
    {
        try {
            if (!com.yandex.metrica.impl.bl.a(24)) {
                ark>com.yandex.metrica.impl.sark>.a(p3, p1.openFileOutput(p2, 1));
            } else {
                ark>com.yandex.metrica.impl.sark>.a(p3, p1.openFileOutput(p2, 0));
                ark>com.yandex.metrica.impl.sark>.c(p1, p1.getFileStreamPath(p2));
            }
        } catch (java.io.FileOutputStream v0) {
        }
        return;
    }

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


    public varargs Void a(Object[] p13)
    {
        int v2_0 = 0;
        java.io.IOException v0_4 = ((java.util.List) p13[0]);
        try {
            StringBuilder v3_0 = this.a.b.openFileOutput(((String) p13[1]), 0);
            String v4_0 = android.util.Xml.newSerializer();
            try {
                v4_0.setOutput(v3_0, 0);
                v4_0.startDocument("UTF-8", Boolean.valueOf(1));
                v4_0.startTag(0, "historical-records");
                int v5_3 = v0_4.size();
            } catch (java.io.IOException v0_10) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.a, new StringBuilder().append("Error writing historical record file: ").append(this.a.c).toString(), v0_10);
                this.a.d = 1;
                if (v3_0 == null) {
                    return 0;
                } else {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return 0;
                }
            } catch (java.io.IOException v0_8) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.a, new StringBuilder().append("Error writing historical record file: ").append(this.a.c).toString(), v0_8);
                this.a.d = 1;
                if (v3_0 == null) {
                    return 0;
                } else {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return 0;
                }
            } catch (java.io.IOException v0_6) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.a, new StringBuilder().append("Error writing historical record file: ").append(this.a.c).toString(), v0_6);
                this.a.d = 1;
                if (v3_0 == null) {
                    return 0;
                } else {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return 0;
                }
            } catch (java.io.IOException v0_0) {
                this.a.d = 1;
                if (v3_0 != null) {
                    try {
                        v3_0.close();
                    } catch (String v1) {
                    }
                }
                throw v0_0;
            }
            while (v2_0 < v5_3) {
                String v1_3 = ((android.support.v7.widget.ActivityChooserModel$d) v0_4.remove(0));
                v4_0.startTag(0, "historical-record");
                v4_0.attribute(0, "activity", v1_3.a.flattenToString());
                v4_0.attribute(0, "time", String.valueOf(v1_3.b));
                v4_0.attribute(0, "weight", String.valueOf(v1_3.c));
                v4_0.endTag(0, "historical-record");
                v2_0++;
            }
            v4_0.endTag(0, "historical-records");
            v4_0.endDocument();
            this.a.d = 1;
            if (v3_0 == null) {
                return 0;
            } else {
                try {
                    v3_0.close();
                } catch (java.io.IOException v0) {
                }
                return 0;
            }
        } catch (java.io.IOException v0_1) {
            android.util.Log.e(android.support.v7.widget.ActivityChooserModel.a, new StringBuilder().append("Error writing historical record file: ").append(0).toString(), v0_1);
            return 0;
        }
    }

Method ru.yandex.disk.upload.o.b() calling method java.io.File.<init>()


    private java.util.HashSet b(ru.yandex.disk.autoupload.observer.MediaContent p22)
    {
        java.util.HashSet v12_1 = new java.util.HashSet();
        try {
            ru.yandex.disk.autoupload.observer.f$a v13 = this.e.a(p22);
            try {
                long v14 = System.currentTimeMillis();
                long v10 = 0;
            } catch (boolean v2_13) {
                try {
                    throw v2_13;
                } catch (String v3_5) {
                    String v3_4 = v2_13;
                    boolean v2_12 = v3_5;
                    if (v13 != null) {
                        if (v3_4 == null) {
                            v13.close();
                        } else {
                            try {
                                v13.close();
                            } catch (String v3) {
                            }
                        }
                    }
                    throw v2_12;
                }
            }
            while (v13.moveToNext()) {
                String v3_11 = v13.a();
                boolean v2_20 = new java.io.File(v3_11);
                if (v2_20.exists()) {
                    if (v2_20.isFile()) {
                        long v6_1 = v13.b();
                        String v4_19 = (v14 - v6_1);
                        if ((v4_19 <= 0) || (v4_19 >= this.i)) {
                            String v4_23 = (this.g.a() + 1000);
                            while ((v2_20.length() == 0) && (this.g.a() < v4_23)) {
                                this.g.a(200);
                            }
                            if (v2_20.length() != 0) {
                                int v8_8;
                                String v4_26 = v2_20.length();
                                boolean v2_21 = v13.c();
                                if (v2_21) {
                                    if (!v2_21.startsWith("image/")) {
                                        if (!v2_21.startsWith("video/")) {
                                            v8_8 = 0;
                                        } else {
                                            v8_8 = 200;
                                        }
                                    } else {
                                        v8_8 = 100;
                                    }
                                } else {
                                    v8_8 = 0;
                                }
                                v12_1.add(new ru.yandex.disk.upload.n(v3_11, v4_26, v6_1, v8_8));
                            } else {
                                if (ru.yandex.disk.gs.c) {
                                    ru.yandex.disk.Log.b("QueueAutouploadsCommand", new StringBuilder().append("skip file ").append(v2_20).append(", it is empty").toString());
                                }
                            }
                        } else {
                            if (ru.yandex.disk.gs.c) {
                                ru.yandex.disk.Log.b("QueueAutouploadsCommand", new StringBuilder().append("Skip too recent file ").append(v2_20).toString());
                            }
                            v10 = Math.max(v6_1, v10);
                        }
                    } else {
                        if (!ru.yandex.disk.gs.c) {
                        } else {
                            ru.yandex.disk.Log.b("QueueAutouploadsCommand", new StringBuilder().append("skip file ").append(v2_20).append(", it is not file").toString());
                        }
                    }
                } else {
                    if (!ru.yandex.disk.gs.c) {
                    } else {
                        ru.yandex.disk.Log.b("QueueAutouploadsCommand", new StringBuilder().append("gallery contains deleted file: ").append(v3_11).toString());
                    }
                }
            }
            if (v10 != 0) {
                this.f.a(new ru.yandex.disk.upload.p(this.j), ((v14 - v10) + 1));
            }
            if (v13 == null) {
                return v12_1;
            } else {
                if (0 == 0) {
                    v13.close();
                    return v12_1;
                } else {
                    try {
                        v13.close();
                    } catch (boolean v2) {
                    }
                    return v12_1;
                }
            }
        } catch (boolean v2_15) {
            ru.yandex.disk.Log.c("QueueAutouploadsCommand", "fail to scan media store", v2_15);
            return v12_1;
        }
    }

Method ru.yandex.disk.upload.ai.e() calling method java.io.File.<init>()


    private static long e(String p2)
    {
        double v0_2;
        double v0_1 = new java.io.File(p2);
        if (!v0_1.exists()) {
            v0_2 = -0.0;
        } else {
            v0_2 = v0_1.lastModified();
        }
        return v0_2;
    }

Method ru.yandex.disk.upload.ai.a() calling method java.io.File.<init>()


    private android.content.ContentValues[] a(java.util.List p8, String p9, boolean p10)
    {
        java.util.ArrayList v2_1 = new java.util.ArrayList();
        java.util.Iterator v3 = p8.iterator();
        while (v3.hasNext()) {
            android.content.ContentValues v0_3 = ((String) v3.next());
            String v1_1 = new java.io.File(v0_3);
            if (v1_1.isDirectory()) {
                String v4_1 = v1_1.getParentFile().getAbsolutePath().length();
                java.util.Iterator v5_0 = ru.yandex.disk.util.ak.a(v1_1, 1).iterator();
                while (v5_0.hasNext()) {
                    android.content.ContentValues v0_10 = ((java.io.File) v5_0.next());
                    android.content.ContentValues v0_13 = ark>ru.yandex.disk.upload.aiark>.a(v0_10.getPath(), new StringBuilder().append(p9).append(((String) ru.yandex.disk.util.bm.a(new com.yandex.b.a(v0_10.getAbsolutePath()).b())).substring(v4_1)).toString(), v0_10.isDirectory());
                    v0_13.put("from_autoupload", Boolean.valueOf(p10));
                    v2_1.add(v0_13);
                }
            } else {
                String v1_12 = ark>ru.yandex.disk.upload.aiark>.a(v1_1.getPath(), p9, 0);
                v1_12.put("from_autoupload", Boolean.valueOf(p10));
                if (p10) {
                    v1_12.put("dest_name", this.d(v0_3));
                }
                v2_1.add(v1_12);
            }
        }
        android.content.ContentValues v0_16 = new android.content.ContentValues[v2_1.size()];
        return ((android.content.ContentValues[]) v2_1.toArray(v0_16));
    }

Method ru.yandex.disk.upload.ai.a() calling method java.io.File.<init>()


    public static android.content.ContentValues a(String p8, String p9, boolean p10)
    {
        String v0_1;
        Long v1_0 = new com.yandex.b.a(p8).c();
        String v3 = v1_0.toLowerCase();
        android.content.ContentValues v4_1 = new android.content.ContentValues();
        if (!p10) {
            v0_1 = p8;
        } else {
            v0_1 = v1_0;
        }
        v4_1.put("src_name", v0_1);
        v4_1.put("src_name_tolower", v3);
        v4_1.put("dest_dir", p9);
        if (!p10) {
            v1_0 = p8;
        }
        String v0_8;
        v4_1.put("dest_name", com.yandex.b.a.a(v1_0).c());
        v4_1.put("date", Long.valueOf(System.currentTimeMillis()));
        v4_1.put("state", Integer.valueOf(1));
        if (!p10) {
            v0_8 = 0;
        } else {
            v0_8 = 1;
        }
        v4_1.put("is_dir", Integer.valueOf(v0_8));
        v4_1.put("SIZE", Long.valueOf(new java.io.File(p8).length()));
        return v4_1;
    }

Method ru.yandex.disk.upload.UploadCommand.a() calling method java.io.File.<init>()


    private void a(ru.yandex.disk.remote.webdav.WebdavClient p9, ru.yandex.disk.upload.l p10)
    {
        if (!this.s) {
            this.b = 0;
            this.k.b(0);
            ark>ru.yandex.disk.upload.UploadCommandark>$a v7_1 = new ark>ru.yandex.disk.upload.UploadCommandark>$a(this, p10, 0);
            ru.yandex.disk.e.f v1_1 = new java.io.File(p10.k());
            if (!v7_1.a()) {
                try {
                    if (!ru.yandex.disk.gs.c) {
                        if (!v1_1.exists()) {
                            this.a(p10, 3);
                            if (p10.u()) {
                                this.a(p10);
                            }
                            if (ru.yandex.disk.gs.c) {
                                ru.yandex.disk.Log.b("UploadCommand", new StringBuilder().append("Can\'t upload file ").append(p10.e()).append("! File not exists!").toString());
                            }
                            this.b = 1;
                        } else {
                            if (!v1_1.canRead()) {
                                this.a(p10, 4);
                                if (ru.yandex.disk.gs.c) {
                                    ru.yandex.disk.Log.b("UploadCommand", new StringBuilder().append("Can\'t upload file ").append(p10.e()).append("! Permission denied!").toString());
                                }
                                this.b = 1;
                            } else {
                                if ((p10.o() == null) || ((p10.v() == null) || ((v1_1.length() != p10.s()) || (v1_1.lastModified() > p10.t())))) {
                                    String v0_16 = this.a(v1_1);
                                    p10.a(v0_16.a());
                                    p10.b(v0_16.b());
                                    this.e.a(p10, v1_1);
                                }
                                this.e.e(p10.h());
                                this.m.a(new ru.yandex.disk.e.c$bi().a(p10.n()).a(p10));
                                v7_1.b();
                                p9.a(v1_1, p10.l(), p10.m(), p10.o(), p10.v(), p10.u(), v7_1);
                                this.d.a(p10.k(), p10.l());
                                if (p10.u()) {
                                    this.j.a(p10.w());
                                }
                                v7_1.b();
                            }
                        }
                        if (!this.b) {
                            String v2_26 = (System.currentTimeMillis() - p10.w());
                            if ((v2_26 < 2000) && (v2_26 > 0)) {
                                if (ru.yandex.disk.gs.c) {
                                    ru.yandex.disk.Log.b("UploadCommand", new StringBuilder().append("Too fast upload - sleep: ").append((2000 - v2_26)).toString());
                                }
                                android.os.SystemClock.sleep((2000 - v2_26));
                            }
                            this.t = p10.y();
                            if (!v1_1.exists()) {
                                if (ru.yandex.disk.gs.c) {
                                    ru.yandex.disk.Log.a("UploadCommand", "file from queue doesn\'t exists - removing from queue");
                                }
                                this.a(p10);
                            } else {
                                this.e.a(p10);
                                this.m.a(new ru.yandex.disk.e.c$bj().a(p10));
                            }
                        }
                    } else {
                        ru.yandex.disk.Log.b("UploadCommand", new StringBuilder().append("diskStartUpload: id=").append(p10.h()).append(" srcName=").append(p10.k()).append(" destDir=").append(p10.l()).append(" length=").append(v1_1.length()).append(" lastModified=").append(v1_1.lastModified()).append(" md5=").append(p10.o()).append(" md5_size=").append(p10.s()).append(" md5_time=").append(p10.t()).append(" sha256=").append(p10.v()).append(" date=").append(p10.w()).toString());
                    }
                } catch (String v0_47) {
                    ru.yandex.disk.Log.a("UploadCommand", v0_47);
                    throw new ark>ru.yandex.disk.upload.UploadCommandark>$UploadCanceledException(0);
                } catch (String v0) {
                    this.p.a(ru.yandex.disk.CredentialsManager$LogoutCause.UNAUTHORIZED);
                    throw new ark>ru.yandex.disk.upload.UploadCommandark>$UploadCanceledException(0);
                } catch (String v0_42) {
                    ru.yandex.disk.Log.e("UploadCommand", "DirFileNameConflictException", v0_42);
                    this.a(p10, 1);
                } catch (String v0_39) {
                    ru.yandex.disk.Log.e("UploadCommand", "diskStartUpload", v0_39);
                    this.e.b(p10.h());
                    this.m.a(new ru.yandex.disk.e.c$bg().a(p10));
                } catch (String v0_39) {
                } catch (String v0) {
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.b("UploadCommand", new StringBuilder().append("diskStartUpload: uploading ").append(p10.k()).append(" to ").append(p10.l()).append(" was cancelled").toString());
                    }
                } catch (String v0) {
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.b("UploadCommand", new StringBuilder().append("diskStartUpload: FileTooBigServerException: uploading ").append(p10.k()).append(" to ").append(p10.l()).append(" has stopped by server").toString());
                    }
                    this.e.a(p10.h(), 2);
                    try {
                        String v3_25 = p10.l();
                    } catch (String v2_56) {
                        if (ru.yandex.disk.gs.c) {
                            ru.yandex.disk.Log.b("UploadCommand", "getFileLimit", v2_56);
                        }
                        String v2_57 = 0;
                        this.m.a(((ru.yandex.disk.e.c$bg) new ru.yandex.disk.e.c$bg().a(p10)).a(2).a(v2_57));
                        String v0_83;
                        this.e.e(-1);
                        if (!p10.u()) {
                            v0_83 = p10.l();
                        } else {
                            v0_83 = this.g.d().a();
                        }
                        this.a(v0_83);
                    }
                    if (p10.u()) {
                        String v2_54 = 0;
                    } else {
                        v2_54 = 1;
                    }
                    v2_57 = p9.a(v3_25, v2_54);
                } catch (String v0_57) {
                    String v2_44 = v0_57;
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.b("UploadCommand", new StringBuilder().append("diskStartUpload: FilesLimitExceededServerException: uploading ").append(p10.k()).append(" to ").append(p10.l()).append(" has stopped by server").toString());
                    }
                    this.k.b(v1_1.length());
                    this.e.g();
                    this.m.a(((ru.yandex.disk.e.c$bg) new ru.yandex.disk.e.c$bg().a(p10)).a(1));
                    throw v2_44;
                } catch (String v0_50) {
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.a("UploadCommand", new StringBuilder().append("parent folder doesn\'t exist: ").append(p10.l()).toString(), v0_50);
                    }
                    this.e.a(p10.l(), 1);
                    this.k.c();
                    if (ru.yandex.disk.gs.c) {
                        ru.yandex.disk.Log.b("UploadCommand", "diskStartUpload: send again (409)");
                    }
                    throw new ark>ru.yandex.disk.upload.UploadCommandark>$UploadCanceledException(0);
                }
            } else {
                if ((this.e.h() == -1) && (p10.u())) {
                    this.e.e(p10.h());
                    this.m.a(new ru.yandex.disk.e.c$dn());
                }
                if (!v1_1.exists()) {
                    this.a(p10);
                }
            }
            return;
        } else {
            throw new ark>ru.yandex.disk.upload.UploadCommandark>$UploadCanceledException(0);
        }
    }

Method ru.yandex.disk.ui.AddToDiskAction.c() calling method java.io.File.<init>()


    private void c(android.content.Intent p3)
    {
        if (this.photoFileName == null) {
            ru.yandex.disk.Log.e("AddToDiskAction", "captureImageUpload: error: no file name");
        } else {
            if (!new java.io.File(this.photoFileName).exists()) {
                String v0_2;
                if (p3 != null) {
                    v0_2 = this.a(p3.getData());
                } else {
                    v0_2 = 0;
                }
                if (v0_2 == null) {
                    ru.yandex.disk.Log.e("AddToDiskAction", "captureImageUpload: error: no file name, again");
                } else {
                    this.d(v0_2.getAbsolutePath());
                }
            } else {
                this.d(this.photoFileName);
            }
        }
        this.u();
        return;
    }

Method ru.yandex.disk.ui.AddToDiskAction.a() calling method java.io.File.<init>()


    private java.io.File a(android.net.Uri p7)
    {
        Throwable v3 = 0;
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("AddToDiskAction", new StringBuilder().append("getFileByAnotherWay(").append(p7).append(")").toString());
        }
        android.database.Cursor v2_1 = new String[1];
        v2_1[0] = "_data";
        android.database.Cursor v2_2 = this.r().getContentResolver().query(p7, v2_1, 0, 0, 0);
        if (v2_2 == null) {
            if (v2_2 != null) {
                if (0 == 0) {
                    v2_2.close();
                } else {
                    try {
                        v2_2.close();
                    } catch (Throwable v0) {
                    }
                }
            }
        } else {
            try {
                if (!v2_2.moveToFirst()) {
                    if (v2_2 != null) {
                        if (0 == 0) {
                            v2_2.close();
                        } else {
                            try {
                                v2_2.close();
                            } catch (Throwable v0) {
                            }
                        }
                    }
                    return v3;
                } else {
                    Throwable v0_11 = new java.io.File(v2_2.getString(0));
                    if (!v0_11.exists()) {
                        v0_11 = 0;
                    }
                    if (v2_2 != null) {
                        if (0 == 0) {
                            v2_2.close();
                        } else {
                            try {
                                v2_2.close();
                            } catch (Throwable v1) {
                            }
                        }
                    }
                    v3 = v0_11;
                    return v3;
                }
            } catch (Throwable v0_8) {
            } catch (Throwable v0_7) {
                try {
                    throw v0_7;
                } catch (Throwable v1_4) {
                    v3 = v0_7;
                    v0_8 = v1_4;
                    if (v2_2 != null) {
                        if (v3 == null) {
                            v2_2.close();
                        } else {
                            try {
                                v2_2.close();
                            } catch (Throwable v1) {
                            }
                        }
                    }
                    throw v0_8;
                }
            }
        }
        return v3;
    }

Method ru.yandex.disk.ui.AddToDiskAction.F() calling method java.io.File.<init>()


    private String F()
    {
        int v0_7;
        int v0_1 = new StringBuilder().append(this.e.m()).append(this.H()).toString();
        String v1_2 = new java.io.File(v0_1);
        if ((v1_2.exists()) || (v1_2.mkdirs())) {
            int v0_4 = new StringBuilder().append(v0_1).append("/");
            Object[] v2_2 = new Object[1];
            v2_2[0] = String.valueOf(System.currentTimeMillis());
            v0_7 = v0_4.append(this.a(2131428149, v2_2)).toString();
        } else {
            ru.yandex.disk.Log.c("AddToDiskAction", new StringBuilder().append("Error creating dirs (mkdirs): ").append(v1_2.getAbsolutePath()).toString());
            Object[] v2_8 = new Object[1];
            v2_8[0] = v1_2.getAbsolutePath();
            this.b(2131428103, v2_8);
            v0_7 = 0;
        }
        return v0_7;
    }

Method ru.yandex.disk.settings.SettingsFragment.a() calling method java.io.File.<init>()


    private void a(ru.yandex.disk.Storage$b p7)
    {
        ru.yandex.disk.commonactions.ap v0_0 = p7.b();
        if (!v0_0.equals(this.h.d())) {
            if (this.g.c(new java.io.File(v0_0)) >= (this.r + this.s)) {
                new ru.yandex.disk.commonactions.ap(this, p7).a();
            } else {
                this.h();
            }
        }
        return;
    }

Method ru.yandex.disk.pub.DownloadPublicFilesAction.f() calling method java.io.File.<init>()


    protected com.yandex.b.a f(String p3)
    {
        return ((com.yandex.b.a) ru.yandex.disk.util.bm.a(com.yandex.b.a.a(new java.io.File(this.e, p3).getAbsolutePath()).a()));
    }

Method ru.yandex.disk.pub.DownloadPublicFilesAction.a() calling method java.io.File.<init>()


    public void a(int p4, int p5, android.content.Intent p6)
    {
        if (p5 != -1) {
            this.u();
        } else {
            java.io.File v0_3;
            java.io.File v1_0 = new java.io.File(((android.content.Intent) ru.yandex.disk.util.bm.a(p6)).getStringExtra("EXTRA_SELECTED_DIR"));
            if (!this.m.isDir()) {
                v0_3 = v1_0;
            } else {
                v0_3 = new java.io.File(v1_0, this.m.getName());
            }
            this.e = v0_3;
            this.D();
        }
        return;
    }

Method ru.yandex.disk.l.p.e() calling method java.io.File.<init>()


    private boolean e(String p5)
    {
        int v0 = 1;
        int v1_4 = new java.io.File(this.e.g(), p5);
        if ((v1_4.exists()) && ((v1_4.isDirectory()) && (this.d.f(p5) <= (com.google.common.io.Files.a().d(v1_4).a() - 1)))) {
            v0 = 0;
        }
        return v0;
    }

Method ru.yandex.disk.i.a.b() calling method java.io.File.<init>()


    public static void b(ru.yandex.disk.Storage p5)
    {
        if (!p5.b().a()) {
            java.io.IOException v0_6 = p5.g();
            if (new java.io.File(v0_6, "goldenCache").exists()) {
                try {
                    String v1_1 = p5.k();
                    String v2_1 = new java.io.File(v0_6, "goldenCache");
                    ru.yandex.disk.util.ak.a(v2_1, new java.io.File(v1_1.getParent()), "goldenCache", 0, 0);
                    ru.yandex.disk.util.ak.a(v2_1, 0);
                } catch (java.io.IOException v0_4) {
                    ru.yandex.disk.Log.c("Upgrade application", "problem during move Golden cache", v0_4);
                }
            }
        }
        return;
    }

Method ru.yandex.disk.i.a.a() calling method java.io.File.<init>()


    public static void a(ru.yandex.disk.Storage p8, ru.yandex.disk.asyncbitmap.an p9)
    {
        Throwable v0_0 = p8.k();
        if (v0_0.exists()) {
            ru.yandex.disk.asyncbitmap.aj v2 = p9.c();
            Throwable v1_2 = 0;
            try {
                while (v2.moveToNext()) {
                    String v3_1 = new java.io.File(v0_0, ru.yandex.disk.util.bc.a(v2.a()));
                    if ((v3_1.exists()) && ((!v3_1.renameTo(new java.io.File(v0_0, v2.f()))) && (ru.yandex.disk.gs.c))) {
                        ru.yandex.disk.Log.c("Legacy", new StringBuilder().append("Cannot rename GoldenCache file: ").append(v3_1.getAbsolutePath()).toString());
                    }
                }
            } catch (Throwable v0_2) {
                if (v2 != null) {
                    if (v1_2 == null) {
                        v2.close();
                    } else {
                        try {
                            v2.close();
                        } catch (Throwable v1) {
                        }
                    }
                }
                throw v0_2;
            } catch (Throwable v0_1) {
                try {
                    throw v0_1;
                } catch (Throwable v1_1) {
                    v1_2 = v0_1;
                    v0_2 = v1_1;
                }
            }
            if (v2 != null) {
                if (0 == 0) {
                    v2.close();
                } else {
                    try {
                        v2.close();
                    } catch (Throwable v0) {
                    }
                }
            }
        } else {
            if (ru.yandex.disk.gs.c) {
                ru.yandex.disk.Log.c("Legacy", "upgradeGoldenCachePathToEtag: not exists");
            }
        }
        return;
    }

Method ru.yandex.disk.i.a.a() calling method java.io.File.<init>()


    public static void a(ru.yandex.disk.Storage p6)
    {
        int v0 = 0;
        int v1_0 = p6.h();
        java.io.File[] v2_1 = new java.io.File[4];
        v2_1[0] = new java.io.File(v1_0, "thumbs");
        v2_1[1] = new java.io.File(v1_0, "previews");
        v2_1[2] = new java.io.File(v1_0, "tiles");
        v2_1[3] = new java.io.File(v1_0, "temp");
        int v1_1 = v2_1.length;
        while (v0 < v1_1) {
            ru.yandex.disk.util.ak.b(v2_1[v0]);
            v0++;
        }
        return;
    }

Method ru.yandex.disk.i.a.a() calling method java.io.File.<init>()


    public static void a(android.content.Context p3)
    {
        ru.yandex.disk.util.ak.a(new java.io.File(ru.yandex.disk.Storage.a(p3).h(), "cache"));
        return;
    }

Method ru.yandex.disk.g.i.a() calling method java.io.File.<init>()


    public void a(java.util.List p4)
    {
        java.util.Iterator v1 = p4.iterator();
        while (v1.hasNext()) {
            boolean v0_3 = ((String) v1.next());
            if (this.b(v0_3)) {
                java.io.File v2_2 = new java.io.File(v0_3);
                if (v2_2.exists()) {
                    v2_2.delete();
                }
            }
        }
        return;
    }

Method ru.yandex.disk.g.i.a() calling method java.io.File.<init>()


    public void a(String p6, String p7)
    {
        if (this.b(p6)) {
            java.io.File v0_2 = new java.io.File(p6);
            if (p7 == null) {
                v0_2.delete();
            } else {
                String v1_0 = new java.io.File(this.a.n(), p7.substring(ru.yandex.disk.Storage.a.length()));
                v1_0.mkdirs();
                String v3_4 = new java.io.File(v1_0, this.a(p6));
                if (!v0_2.renameTo(v3_4)) {
                    ru.yandex.disk.Log.c("ImportingFilesStorage", new StringBuilder().append("cannot rename file ").append(p6).append(" to ").append(v3_4.getAbsolutePath()).toString());
                    v0_2.delete();
                }
            }
        }
        return;
    }

Method ru.yandex.disk.g.i.a() calling method java.io.File.<init>()


    public String a(String p4, com.yandex.b.a p5, java.util.List p6)
    {
        String v0_1 = this.a.A();
        v0_1.mkdirs();
        return this.a(new java.io.File(v0_1, new StringBuilder().append(this.a(p5)).append("_").append(p4).toString()), p6).getAbsolutePath();
    }

Method ru.yandex.disk.g.i.a() calling method java.io.File.<init>()


    private java.io.File a(java.io.File p6, java.util.List p7)
    {
        String v1 = p6.getName();
        if ((p6.exists()) || (p7.contains(v1))) {
            java.io.File v2 = p6.getParentFile();
            java.util.Iterator v3_1 = ru.yandex.disk.util.ai.a(java.util.Arrays.asList(v2.list()), java.util.Collections.singletonList(v1)).iterator();
            while (v3_1.hasNext()) {
                String v0_5 = ((android.util.Pair) v3_1.next());
                if (v1.equals(v0_5.first)) {
                    p6 = new java.io.File(v2, ((String) v0_5.second));
                    break;
                }
            }
        }
        return p6;
    }

Method ru.yandex.disk.export.a.a() calling method java.io.File.<init>()


    private void a(String p7, java.io.File p8, java.util.List p9, boolean p10)
    {
        String v0_1 = new java.util.ArrayList();
        Throwable v1_1 = new java.io.File(new StringBuilder().append(p8.getAbsolutePath()).append(java.io.File.separator).append(com.yandex.b.a.a(p7).c()).toString());
        if ((!v1_1.exists()) && ((!v1_1.mkdir()) && (ru.yandex.disk.gs.c))) {
            ru.yandex.disk.Log.b("CreateExportListCommand", new StringBuilder().append("Cannot create ").append(v1_1.getAbsolutePath()).toString());
        }
        if (!p10) {
            this.b.a(p7, 2147483647, ru.yandex.disk.SortOrder.a, new ark>ru.yandex.disk.export.aark>$1(this, v0_1));
        } else {
            java.util.Iterator v2_11 = this.d.i(com.yandex.b.a.a(p7));
            Throwable v1_7 = 0;
            try {
                while (v2_11.moveToNext()) {
                    v0_1.add(v2_11.t());
                }
            } catch (String v0_3) {
                if (v2_11 != null) {
                    if (v1_7 == null) {
                        v2_11.close();
                    } else {
                        try {
                            v2_11.close();
                        } catch (Throwable v1) {
                        }
                    }
                }
                throw v0_3;
            } catch (String v0_2) {
                try {
                    throw v0_2;
                } catch (Throwable v1_8) {
                    v1_7 = v0_2;
                    v0_3 = v1_8;
                }
            }
            if (v2_11 != null) {
                if (0 == 0) {
                    v2_11.close();
                } else {
                    try {
                        v2_11.close();
                    } catch (Throwable v1) {
                    }
                }
            }
        }
        Throwable v1_10 = new java.io.File(p8, new java.io.File(p7).getName());
        java.util.Iterator v2_16 = v0_1.iterator();
        while (v2_16.hasNext()) {
            String v0_6 = ((ru.yandex.disk.df) v2_16.next());
            p9.add(this.a(v0_6, v1_10));
            if (v0_6.g()) {
                this.a(v0_6.e(), v1_10, p9, p10);
            }
        }
        return;
    }

Method ru.yandex.disk.export.a.a() calling method java.io.File.<init>()


    private ru.yandex.disk.export.ExportedFileInfo a(ru.yandex.disk.FileItem p8, java.io.File p9)
    {
        java.io.File v3_1 = new java.io.File(ark>ru.yandex.disk.export.aark>.a(p9, p8.e()));
        this.e = (v3_1.exists() | this.e);
        return new ru.yandex.disk.export.ExportedFileInfo(p8, v3_1, p8.r(), 0);
    }

Method ru.yandex.disk.commonactions.fy.a() calling method java.io.File.<init>()


    public void a(ru.yandex.disk.commonactions.fz p5)
    {
        String v0_4 = this.c.m();
        this.f = p5.a();
        this.g = p5.b();
        String v0_3 = new StringBuilder().append(v0_4).append(this.f).toString();
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.a("StartDownloadFileCmd", new StringBuilder().append("trying to download ").append(this.f).append(" to ").append(v0_3).toString());
        }
        if (p5.c() == ru.yandex.disk.download.DownloadQueueItem$Type.AUDIO) {
            this.a.a(ru.yandex.disk.download.DownloadQueueItem$Type.AUDIO);
        }
        if ((!new java.io.File(v0_3).exists()) || (!this.a())) {
            this.a(p5, v0_3);
        } else {
            this.b.a(new ru.yandex.disk.e.c$az(p5, v0_3));
        }
        return;
    }

Method ru.yandex.disk.commonactions.fm.c() calling method java.io.File.<init>()


    private boolean c(java.util.List p5)
    {
        java.io.File v1 = this.g.g();
        java.util.Iterator v2 = p5.iterator();
        while (v2.hasNext()) {
            if (new java.io.File(v1, ((ru.yandex.disk.FileItem) v2.next()).e()).exists()) {
                int v0_5 = 1;
            }
            return v0_5;
        }
        v0_5 = 0;
        return v0_5;
    }

Method ru.yandex.disk.commonactions.fm.c() calling method java.io.File.<init>()


    private void c(android.content.Intent p3)
    {
        this.dirToSave = new java.io.File(p3.getStringExtra("EXTRA_SELECTED_DIR"));
        if (!this.l.b()) {
            if (!this.C()) {
                this.a(1);
                this.b(2131428209);
            }
        } else {
            this.b(0);
        }
        return;
    }

Method ru.yandex.disk.commonactions.ex.a() calling method java.io.File.<init>()


    public void a(ru.yandex.disk.commonactions.ey p6)
    {
        java.io.File v1_1 = new java.io.File(p6.a());
        ru.yandex.disk.e.f v0_5 = this.a.y();
        this.a(new java.io.File(v0_5));
        ru.yandex.disk.e.c$bm v2_1 = new java.io.File(v0_5, v1_1.getName());
        try {
            com.google.common.io.Files.a(v1_1, v2_1);
            this.b.a(new ru.yandex.disk.e.c$bm(v2_1, 1));
        } catch (ru.yandex.disk.e.f v0_2) {
            ru.yandex.disk.Log.a("PrepareImageForEdit", v0_2);
            this.b.a(new ru.yandex.disk.e.c$bm(v1_1, 0));
        }
        return;
    }

Method ru.yandex.disk.commonactions.de.b() calling method java.io.File.<init>()


    private java.util.List b(java.util.List p7)
    {
        java.util.ArrayList v1_1 = new java.util.ArrayList();
        java.io.File v2 = this.b.g();
        java.util.Iterator v3 = p7.iterator();
        while (v3.hasNext()) {
            java.io.File v0_1 = ((ru.yandex.disk.export.ExportedFileInfo) v3.next());
            java.io.File v4_1 = new java.io.File(v2, v0_1.b().e());
            if (v4_1.exists()) {
                v1_1.add(new android.util.Pair(v4_1, v0_1.c()));
            }
        }
        return v1_1;
    }