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 org.qtproject.qt5.android.bindings.QtLoader.extractBundledPluginsAndImports() calling method java.io.FileOutputStream.<init>()


    private void extractBundledPluginsAndImports(String p9, String p10)
    {
        try {
            int v0_1 = this.m_context.getPackageManager().getPackageInfo(this.m_context.getPackageName(), 0).lastUpdateTime;
        } catch (int v2_1) {
            v2_1.printStackTrace();
        }
        if (this.cleanCacheIfNecessary(p9, v0_1)) {
            int v2_4 = new java.io.File(new StringBuilder().append(p9).append("cache.version").toString());
            String v4_8 = v2_4.getParentFile();
            if (!v4_8.exists()) {
                v4_8.mkdirs();
            }
            v2_4.createNewFile();
            String v4_10 = new java.io.DataOutputStream(new java.io.FileOutputStream(v2_4));
            v4_10.writeLong(v0_1);
            v4_10.close();
            if (this.m_contextInfo.metaData.containsKey("android.app.bundled_in_lib_resource_id")) {
                String[] v1_5 = this.m_context.getResources().getStringArray(this.m_contextInfo.metaData.getInt("android.app.bundled_in_lib_resource_id"));
                int v2_9 = v1_5.length;
                int v0_0 = 0;
                while (v0_0 < v2_9) {
                    String v4_19 = v1_5[v0_0].split(":");
                    org.qtproject.qt5.android.bindings.QtLoader.createBundledBinary(new StringBuilder().append(p10).append(v4_19[0]).toString(), new StringBuilder().append(p9).append(v4_19[1]).toString());
                    v0_0++;
                }
            }
            if (this.m_contextInfo.metaData.containsKey("android.app.bundled_in_assets_resource_id")) {
                String[] v1_11 = this.m_context.getResources().getStringArray(this.m_contextInfo.metaData.getInt("android.app.bundled_in_assets_resource_id"));
                int v2_12 = v1_11.length;
                int v0_6 = 0;
                while (v0_6 < v2_12) {
                    String v4_14 = v1_11[v0_6].split(":");
                    this.copyAsset(v4_14[0], new StringBuilder().append(p9).append(v4_14[1]).toString());
                    v0_6++;
                }
            }
        }
        return;
    }

Method org.qtproject.qt5.android.bindings.QtLoader.createBundledBinary() calling method java.io.FileOutputStream.<init>()


    private static void createBundledBinary(String p3, String p4)
    {
        java.io.File v0_1 = new java.io.File(p4);
        if (!v0_1.exists()) {
            java.io.FileInputStream v1_3 = v0_1.getParentFile();
            if (!v1_3.exists()) {
                v1_3.mkdirs();
            }
            v0_1.createNewFile();
            java.io.FileInputStream v1_1 = new java.io.FileInputStream(p3);
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v0_1);
            org.qtproject.qt5.android.bindings.QtLoader.copyFile(v1_1, v2_1);
            v1_1.close();
            v2_1.close();
        }
        return;
    }

Method org.qtproject.qt5.android.bindings.QtLoader.copyAsset() calling method java.io.FileOutputStream.<init>()


    private void copyAsset(String p4, String p5)
    {
        java.io.File v0_1 = new java.io.File(p5);
        if (!v0_1.exists()) {
            java.io.InputStream v1_4 = v0_1.getParentFile();
            if (!v1_4.exists()) {
                v1_4.mkdirs();
            }
            v0_1.createNewFile();
            java.io.InputStream v1_2 = this.m_context.getAssets().open(p4);
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v0_1);
            org.qtproject.qt5.android.bindings.QtLoader.copyFile(v1_2, v2_1);
            v1_2.close();
            v2_1.close();
        }
        return;
    }

Method org.qtproject.qt5.android.ExtractStyle.getDrawable() calling method java.io.FileOutputStream.<init>()


    public org.json.JSONObject getDrawable(Object p11, String p12, android.graphics.Rect p13)
    {
        String v1_3;
        org.json.JSONObject v3_0 = 100;
        String v2_4 = 0;
        if ((p11 != null) && (!this.m_minimal)) {
            String v1_1 = ((org.qtproject.qt5.android.ExtractStyle$DrawableCache) this.m_drawableCache.get(p12));
            if (v1_1 != null) {
                if (!v1_1.drawable.equals(p11)) {
                    android.util.Log.e("Qt JAVA", new StringBuilder().append("Different drawable objects points to the same file name \"").append(p12).append("\"").toString());
                } else {
                    v1_3 = v1_1.object;
                    return v1_3;
                }
            }
            String v5_3 = new org.json.JSONObject();
            if (!(p11 instanceof android.graphics.Bitmap)) {
                if (!(p11 instanceof android.graphics.drawable.BitmapDrawable)) {
                    if ((this.rippleDrawableClass == null) || (!this.rippleDrawableClass.isInstance(p11))) {
                        if ((this.animatedStateListDrawableClass == null) || (!this.animatedStateListDrawableClass.isInstance(p11))) {
                            if ((this.vectorDrawableClass == null) || (!this.vectorDrawableClass.isInstance(p11))) {
                                if (!(p11 instanceof android.graphics.drawable.ScaleDrawable)) {
                                    if (!(p11 instanceof android.graphics.drawable.LayerDrawable)) {
                                        if (!(p11 instanceof android.graphics.drawable.StateListDrawable)) {
                                            if (!(p11 instanceof android.graphics.drawable.GradientDrawable)) {
                                                if (!(p11 instanceof android.graphics.drawable.RotateDrawable)) {
                                                    if (!(p11 instanceof android.graphics.drawable.AnimationDrawable)) {
                                                        if (!(p11 instanceof android.graphics.drawable.ClipDrawable)) {
                                                            if (!(p11 instanceof android.graphics.drawable.ColorDrawable)) {
                                                                if (!(p11 instanceof android.graphics.drawable.InsetDrawable)) {
                                                                    android.graphics.Bitmap v4_24 = ((android.graphics.drawable.Drawable) p11).getIntrinsicWidth();
                                                                    String v2_40 = ((android.graphics.drawable.Drawable) p11).getIntrinsicHeight();
                                                                    ((android.graphics.drawable.Drawable) p11).setLevel(10000);
                                                                    if ((v4_24 >= 1) && (v2_40 >= 1)) {
                                                                        v3_0 = v4_24;
                                                                    } else {
                                                                        v2_40 = 100;
                                                                    }
                                                                    android.graphics.Bitmap v4_26 = android.graphics.Bitmap.createBitmap(v3_0, v2_40, android.graphics.Bitmap$Config.ARGB_8888);
                                                                    ((android.graphics.drawable.Drawable) p11).setBounds(0, 0, v3_0, v2_40);
                                                                    ((android.graphics.drawable.Drawable) p11).draw(new android.graphics.Canvas(v4_26));
                                                                    if ((p11 instanceof android.graphics.drawable.NinePatchDrawable)) {
                                                                        try {
                                                                            v5_3.put("type", "9patch");
                                                                            v5_3.put("drawable", this.getDrawable(v4_26, p12, 0));
                                                                        } catch (String v1_4) {
                                                                            v1_4.printStackTrace();
                                                                        }
                                                                        if (p13 == null) {
                                                                            org.json.JSONObject v3_2 = new android.graphics.Rect();
                                                                            if (((android.graphics.drawable.NinePatchDrawable) p11).getPadding(v3_2)) {
                                                                                v5_3.put("padding", this.getJsonRect(v3_2));
                                                                            }
                                                                        } else {
                                                                            v5_3.put("padding", this.getJsonRect(p13));
                                                                        }
                                                                        v5_3.put("chunkInfo", this.findPatchesMarings(((android.graphics.drawable.Drawable) p11)));
                                                                        v1_3 = v5_3;
                                                                        return v1_3;
                                                                    }
                                                                    v2_4 = v4_26;
                                                                } else {
                                                                    try {
                                                                        org.json.JSONObject v3_6;
                                                                        if (android.os.Build$VERSION.SDK_INT <= 21) {
                                                                            v3_6 = "mInsetState";
                                                                        } else {
                                                                            v3_6 = "mState";
                                                                        }
                                                                    } catch (String v1_8) {
                                                                        v1_8.printStackTrace();
                                                                    }
                                                                    String v1_7;
                                                                    android.graphics.Bitmap v4_2 = this.getAccessibleField(android.graphics.drawable.InsetDrawable, v3_6).get(((android.graphics.drawable.InsetDrawable) p11));
                                                                    org.json.JSONObject v3_9 = new android.graphics.Rect();
                                                                    String v1_6 = ((android.graphics.drawable.InsetDrawable) p11).getPadding(v3_9);
                                                                    android.graphics.Bitmap v4_3 = this.getAccessibleField(v4_2.getClass(), "mDrawable").get(v4_2);
                                                                    if (v1_6 == null) {
                                                                        v1_7 = 0;
                                                                    } else {
                                                                        v1_7 = v3_9;
                                                                    }
                                                                    v1_3 = this.getDrawable(v4_3, p12, v1_7);
                                                                    return v1_3;
                                                                }
                                                            } else {
                                                                String v1_10 = android.graphics.Bitmap.createBitmap(1, 1, android.graphics.Bitmap$Config.ARGB_8888);
                                                                ((android.graphics.drawable.Drawable) p11).setBounds(0, 0, 1, 1);
                                                                ((android.graphics.drawable.Drawable) p11).draw(new android.graphics.Canvas(v1_10));
                                                                try {
                                                                    v5_3.put("type", "color");
                                                                    v5_3.put("color", v1_10.getPixel(0, 0));
                                                                } catch (String v1_17) {
                                                                    v1_17.printStackTrace();
                                                                    v1_3 = v5_3;
                                                                    return v1_3;
                                                                }
                                                                if (p13 == null) {
                                                                    String v1_14 = new android.graphics.Rect();
                                                                    if (!((android.graphics.drawable.Drawable) p11).getPadding(v1_14)) {
                                                                    } else {
                                                                        v5_3.put("padding", this.getJsonRect(v1_14));
                                                                    }
                                                                } else {
                                                                    v5_3.put("padding", this.getJsonRect(p13));
                                                                }
                                                            }
                                                        } else {
                                                            try {
                                                                v5_3.put("type", "clipDrawable");
                                                                String v1_20 = ((android.graphics.drawable.ClipDrawable) p11).getConstantState();
                                                                v5_3.put("drawable", this.getDrawable(this.getAccessibleField(v1_20.getClass(), "mDrawable").get(v1_20), p12, 0));
                                                            } catch (String v1_27) {
                                                                v1_27.printStackTrace();
                                                                v1_3 = v5_3;
                                                                return v1_3;
                                                            }
                                                            if (p13 == null) {
                                                                String v1_24 = new android.graphics.Rect();
                                                                if (!((android.graphics.drawable.Drawable) p11).getPadding(v1_24)) {
                                                                } else {
                                                                    v5_3.put("padding", this.getJsonRect(v1_24));
                                                                }
                                                            } else {
                                                                v5_3.put("padding", this.getJsonRect(p13));
                                                            }
                                                        }
                                                    } else {
                                                        v1_3 = this.getAnimationDrawable(((android.graphics.drawable.AnimationDrawable) p11), p12);
                                                        return v1_3;
                                                    }
                                                } else {
                                                    v1_3 = this.getRotateDrawable(((android.graphics.drawable.RotateDrawable) p11), p12);
                                                    return v1_3;
                                                }
                                            } else {
                                                v1_3 = this.getGradientDrawable(((android.graphics.drawable.GradientDrawable) p11));
                                                return v1_3;
                                            }
                                        } else {
                                            v1_3 = this.getStateListDrawable(p11, p12);
                                            return v1_3;
                                        }
                                    } else {
                                        v1_3 = this.getLayerDrawable(p11, p12);
                                        return v1_3;
                                    }
                                } else {
                                    v1_3 = this.getDrawable(((android.graphics.drawable.ScaleDrawable) p11).getDrawable(), p12, 0);
                                    return v1_3;
                                }
                            } else {
                                v1_3 = this.getVectorDrawable(p11, p12, p13);
                                return v1_3;
                            }
                        } else {
                            v1_3 = this.getAnimatedStateListDrawable(p11, p12);
                            return v1_3;
                        }
                    } else {
                        v1_3 = this.getRippleDrawable(p11, p12, p13);
                        return v1_3;
                    }
                } else {
                    org.json.JSONObject v3_15 = ((android.graphics.drawable.BitmapDrawable) p11).getBitmap();
                    try {
                        v5_3.put("gravity", ((android.graphics.drawable.BitmapDrawable) p11).getGravity());
                        v5_3.put("tileModeX", ((android.graphics.drawable.BitmapDrawable) p11).getTileModeX());
                        v5_3.put("tileModeY", ((android.graphics.drawable.BitmapDrawable) p11).getTileModeY());
                    } catch (String v1_34) {
                        v1_34.printStackTrace();
                        v2_4 = v3_15;
                    }
                    if (android.os.Build$VERSION.SDK_INT >= 18) {
                        String v7_2 = new Class[0];
                        org.json.JSONObject v6_6 = new Object[0];
                        v5_3.put("antialias", ((Boolean) android.graphics.drawable.BitmapDrawable.getMethod("hasAntiAlias", v7_2).invoke(((android.graphics.drawable.BitmapDrawable) p11), v6_6)));
                        String v7_4 = new Class[0];
                        org.json.JSONObject v6_9 = new Object[0];
                        v5_3.put("mipMap", ((Boolean) android.graphics.drawable.BitmapDrawable.getMethod("hasMipMap", v7_4).invoke(((android.graphics.drawable.BitmapDrawable) p11), v6_9)));
                    }
                    if (android.os.Build$VERSION.SDK_INT < 21) {
                    } else {
                        String v7_6 = new Class[0];
                        org.json.JSONObject v6_12 = new Object[0];
                        v5_3.put("tintMode", ((android.graphics.PorterDuff$Mode) android.graphics.drawable.BitmapDrawable.getMethod("getTintMode", v7_6).invoke(((android.graphics.drawable.BitmapDrawable) p11), v6_12)));
                        org.json.JSONObject v6_14 = new Class[0];
                        android.graphics.Bitmap v4_22 = new Object[0];
                        String v1_32 = ((android.content.res.ColorStateList) android.graphics.drawable.BitmapDrawable.getMethod("getTint", v6_14).invoke(((android.graphics.drawable.BitmapDrawable) p11), v4_22));
                        if (v1_32 == null) {
                        } else {
                            v5_3.put("tintList", this.getColorStateList(v1_32));
                        }
                    }
                }
            } else {
                v2_4 = ((android.graphics.Bitmap) p11);
            }
            try {
                String v12_1 = new StringBuilder().append(this.m_extractPath).append(p12).append(".png").toString();
                String v1_44 = new java.io.FileOutputStream(v12_1);
                v2_4.compress(android.graphics.Bitmap$CompressFormat.PNG, 100, v1_44);
                v1_44.close();
                try {
                    v5_3.put("type", "image");
                    v5_3.put("path", v12_1);
                    v5_3.put("width", v2_4.getWidth());
                    v5_3.put("height", v2_4.getHeight());
                    this.m_drawableCache.put(v12_1, new org.qtproject.qt5.android.ExtractStyle$DrawableCache(this, v5_3, p11));
                } catch (String v1_54) {
                    v1_54.printStackTrace();
                }
                v1_3 = v5_3;
            } catch (String v1_47) {
                v1_47.printStackTrace();
            } catch (String v1_46) {
                v1_46.printStackTrace();
            }
        } else {
            v1_3 = 0;
        }
        return v1_3;
    }

Method org.qtproject.qt5.android.ExtractStyle$SimpleJsonWriter.<init>() calling method java.io.FileOutputStream.<init>()


    public ExtractStyle$SimpleJsonWriter(org.qtproject.qt5.android.ExtractStyle p3, String p4)
    {
        this.this$0 = p3;
        this.m_addComma = 0;
        this.m_indentLevel = 0;
        this.m_writer = new java.io.OutputStreamWriter(new java.io.FileOutputStream(p4));
        return;
    }

Method com.journeyapps.barcodescanner.m.b() calling method java.io.FileOutputStream.<init>()


    private String b(com.journeyapps.barcodescanner.b p7)
    {
        String v0 = 0;
        if (this.f) {
            String v1_4 = p7.a();
            try {
                String v2_0 = java.io.File.createTempFile("barcodeimage", ".jpg", this.c.getCacheDir());
                StringBuilder v3_1 = new java.io.FileOutputStream(v2_0);
                v1_4.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, v3_1);
                v3_1.close();
                v0 = v2_0.getAbsolutePath();
            } catch (String v1_1) {
                android.util.Log.w(com.journeyapps.barcodescanner.m.a, new StringBuilder().append("Unable to create temporary file and store bitmap! ").append(v1_1).toString());
            }
        }
        return v0;
    }

Method org.qtproject.qt5.android.QtActivityDelegate.startApplication() calling method java.io.FileWriter.<init>()


    public boolean startApplication()
    {
        try {
            String v2_65;
            android.os.Bundle v7 = this.m_activity.getIntent().getExtras();
        } catch (String v2_102) {
            v2_102.printStackTrace();
            v2_65 = 0;
            return v2_65;
        } catch (String v2) {
            if (this.m_surfaces == null) {
                this.onCreate(0);
            }
            v2_65 = 1;
            return v2_65;
        } catch (String v2_70) {
            v2_70.printStackTrace();
        } catch (String v2_69) {
            v2_69.printStackTrace();
        }
        if (v7 == null) {
        } else {
            String v2_40 = new java.io.BufferedReader(new java.io.InputStreamReader(this.m_activity.getAssets().open("--Added-by-androiddeployqt--/debugger.command"))).readLine();
            if ((!v7.containsKey("debug_ping")) || (!v7.getString("debug_ping").equals("true"))) {
                if ((v7.containsKey("qml_debug")) && (v7.getString("qml_debug").equals("true"))) {
                    String v2_78;
                    if (!v7.containsKey("qmljsdebugger")) {
                        v2_78 = "port:3768";
                    } else {
                        v2_78 = v7.getString("qmljsdebugger");
                        v2_78.replaceAll("\\s", "");
                    }
                    org.qtproject.qt5.android.QtActivityDelegate.m_applicationParameters = new StringBuilder().append(org.qtproject.qt5.android.QtActivityDelegate.m_applicationParameters).append("\t-qmljsdebugger=").append(v2_78).toString();
                }
                if (v7.containsKey("extraenvvars")) {
                    org.qtproject.qt5.android.QtActivityDelegate.m_environmentVariables = new StringBuilder().append(org.qtproject.qt5.android.QtActivityDelegate.m_environmentVariables).append("\t").append(new String(android.util.Base64.decode(v7.getString("extraenvvars"), 0), "UTF-8")).toString();
                }
                if (!v7.containsKey("extraappparams")) {
                } else {
                    try {
                        org.qtproject.qt5.android.QtActivityDelegate.m_applicationParameters = new StringBuilder().append(org.qtproject.qt5.android.QtActivityDelegate.m_applicationParameters).append("\t").append(new String(android.util.Base64.decode(v7.getString("extraappparams"), 0), "UTF-8")).toString();
                    } catch (String v2_99) {
                        v2_99.printStackTrace();
                    }
                }
            } else {
                int v6_1;
                String v3_54 = new StringBuilder().append(this.m_activity.getPackageManager().getApplicationInfo(this.m_activity.getPackageName(), 16384).dataDir).append("/").toString();
                org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("extra parameters: ").append(v7).toString());
                this.m_activity.getPackageName();
                String v8 = v7.getString("ping_file");
                String v9 = v7.getString("pong_file");
                long v10_7 = v7.getString("gdbserver_socket");
                int v11_6 = new StringBuilder().append(v3_54).append(v2_40).append(v10_7).toString();
                String v12 = v7.getString("ping_socket");
                if (v8 == null) {
                    v6_1 = 0;
                } else {
                    v6_1 = 1;
                }
                int v5_8;
                if (v9 == null) {
                    v5_8 = 0;
                } else {
                    v5_8 = 1;
                }
                long v4_1;
                if (v10_7 == 0) {
                    v4_1 = 0;
                } else {
                    v4_1 = 1;
                }
                String v3_0;
                if (v12 == null) {
                    v3_0 = 0;
                } else {
                    v3_0 = 1;
                }
                if (v10_7 != 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("removing gdb socket ").append(v10_7).toString());
                    new java.io.File(v10_7).delete();
                }
                if (v6_1 != 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("removing ping file ").append(v8).toString());
                    String v2_17 = new java.io.File(v8);
                    if ((v2_17.exists()) && (!v2_17.delete())) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("ping file cannot be deleted");
                    }
                }
                if (v5_8 != 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("removing pong file ").append(v9).toString());
                    String v2_26 = new java.io.File(v9);
                    if ((v2_26.exists()) && (!v2_26.delete())) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("pong file cannot be deleted");
                    }
                }
                org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("starting ").append(v11_6).toString());
                this.m_debuggerProcess = Runtime.getRuntime().exec(v11_6);
                org.qtproject.qt5.android.QtActivityDelegate.debugLog("gdbserver started");
                if (v4_1 == 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog("socket not used");
                } else {
                    String v2_39 = 0;
                    while (v2_39 < 150) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("waiting for socket at ").append(v10_7).append(", attempt ").append(v2_39).toString());
                        long v4_12 = new java.io.File(v10_7);
                        if (!v4_12.exists()) {
                            Thread.sleep(((long) 200));
                            v2_39++;
                        } else {
                            v4_12.setReadable(1, 0);
                            v4_12.setWritable(1, 0);
                            v4_12.setExecutable(1, 0);
                            break;
                        }
                    }
                    if (v2_39 != 150) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("socket ok");
                    } else {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("time out when waiting for debug socket");
                        v2_65 = 0;
                        return v2_65;
                    }
                }
                if (v3_0 != null) {
                    String v3_5 = new org.qtproject.qt5.android.QtActivityDelegate$DebugWaitRunnable(this, v12);
                    long v4_14 = new Thread(v3_5);
                    v4_14.start();
                    String v2_42 = 0;
                    while ((v2_42 < 150) && (v4_14.isAlive())) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("Waiting for debug socket connect");
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("go to sleep");
                        Thread.sleep(((long) 200));
                        v2_42++;
                    }
                    if (v2_42 != 150) {
                        if (!v3_5.wasFailure) {
                            org.qtproject.qt5.android.QtActivityDelegate.debugLog("Got pid acknowledgment");
                        } else {
                            org.qtproject.qt5.android.QtActivityDelegate.debugLog("Could not connect to debug client");
                            v2_65 = 0;
                            return v2_65;
                        }
                    } else {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("time out when waiting for ping socket");
                        v3_5.shutdown();
                        v2_65 = 0;
                        return v2_65;
                    }
                }
                if (v6_1 == 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog("ping not requested");
                } else {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("writing ping at ").append(v8).toString());
                    String v2_52 = new java.io.FileWriter(v8);
                    v2_52.write(new StringBuilder().append("").append(android.os.Process.myPid()).toString());
                    v2_52.close();
                    String v2_54 = new java.io.File(v8);
                    v2_54.setReadable(1, 0);
                    v2_54.setWritable(1, 0);
                    v2_54.setExecutable(1, 0);
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog("wrote ping");
                }
                if (v5_8 == 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog("pong not requested");
                } else {
                    String v2_57 = 0;
                    while (v2_57 < 150) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("waiting for pong at ").append(v9).append(", attempt ").append(v2_57).toString());
                        String v3_26 = new java.io.File(v9);
                        if (!v3_26.exists()) {
                            org.qtproject.qt5.android.QtActivityDelegate.debugLog("go to sleep");
                            Thread.sleep(((long) 200));
                            v2_57++;
                        } else {
                            v3_26.delete();
                            break;
                        }
                    }
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("Removing pingFile ").append(v8).toString());
                    new java.io.File(v8).delete();
                    if (v2_57 != 150) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("got pong ").append(v9).toString());
                    } else {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("time out when waiting for pong file");
                        v2_65 = 0;
                        return v2_65;
                    }
                }
            }
        }
    }

Method org.qtproject.qt5.android.bindings.QtLoader.createBundledBinary() calling method java.io.FileInputStream.<init>()


    private static void createBundledBinary(String p3, String p4)
    {
        java.io.File v0_1 = new java.io.File(p4);
        if (!v0_1.exists()) {
            java.io.FileInputStream v1_3 = v0_1.getParentFile();
            if (!v1_3.exists()) {
                v1_3.mkdirs();
            }
            v0_1.createNewFile();
            java.io.FileInputStream v1_1 = new java.io.FileInputStream(p3);
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v0_1);
            org.qtproject.qt5.android.bindings.QtLoader.copyFile(v1_1, v2_1);
            v1_1.close();
            v2_1.close();
        }
        return;
    }

Method org.qtproject.qt5.android.bindings.QtLoader.cleanCacheIfNecessary() calling method java.io.FileInputStream.<init>()


    private boolean cleanCacheIfNecessary(String p7, long p8)
    {
        Exception v0_1 = new java.io.File(new StringBuilder().append(p7).append("cache.version").toString());
        long v2_0 = 0;
        if ((v0_1.exists()) && (v0_1.canRead())) {
            try {
                java.io.DataInputStream v1_5 = new java.io.DataInputStream(new java.io.FileInputStream(v0_1));
                v2_0 = v1_5.readLong();
                v1_5.close();
            } catch (Exception v0_2) {
                v0_2.printStackTrace();
            }
        }
        Exception v0_4;
        if (v2_0 == p8) {
            v0_4 = 0;
        } else {
            this.deleteRecursively(new java.io.File(p7));
            v0_4 = 1;
        }
        return v0_4;
    }

Method org.qtproject.qt5.android.bindings.QtLoader.startApp() calling method java.io.File.<init>()


    public void startApp(boolean p13)
    {
        int v2_0 = 0;
        try {
            if (!this.m_contextInfo.metaData.containsKey("android.app.qt_sources_resource_id")) {
                if (this.m_contextInfo.metaData.containsKey("android.app.repository")) {
                    this.m_repository = this.m_contextInfo.metaData.getString("android.app.repository");
                }
                if (this.m_contextInfo.metaData.containsKey("android.app.qt_libs_resource_id")) {
                    this.m_qtLibs = this.m_context.getResources().getStringArray(this.m_contextInfo.metaData.getInt("android.app.qt_libs_resource_id"));
                }
                if ((!this.m_contextInfo.metaData.containsKey("android.app.use_local_qt_libs")) || (this.m_contextInfo.metaData.getInt("android.app.use_local_qt_libs") != 1)) {
                    try {
                        if (!this.m_context.bindService(new android.content.Intent(org.kde.necessitas.ministro.IMinistro.getCanonicalName()), this.m_ministroConnection, 1)) {
                            throw new SecurityException("");
                        }
                    } catch (String v0) {
                        if (!p13) {
                            this.ministroNotFound();
                        } else {
                            String v0_144 = "This application requires Ministro service. Would you like to install it?";
                            if (this.m_contextInfo.metaData.containsKey("android.app.ministro_needed_msg")) {
                                v0_144 = this.m_contextInfo.metaData.getString("android.app.ministro_needed_msg");
                            }
                            this.downloadUpgradeMinistro(v0_144);
                        }
                    }
                } else {
                    String v7_0;
                    String v8_2 = new java.util.ArrayList();
                    int v4_50 = new java.io.File(this.m_context.getApplicationInfo().publicSourceDir);
                    if ((!v4_50.exists()) || (!java.util.Arrays.asList(this.SYSTEM_APP_PATHS).contains(new StringBuilder().append(v4_50.getParentFile().getAbsolutePath()).append("/").toString()))) {
                        v7_0 = 0;
                    } else {
                        v7_0 = 1;
                    }
                    String v5_5;
                    if (v7_0 == null) {
                        String v0_10 = new StringBuilder().append(this.m_context.getApplicationInfo().nativeLibraryDir).append("/").toString();
                        int v4_11 = new java.io.File(v0_10);
                        if ((!v4_11.exists()) || ((!v4_11.isDirectory()) || (v4_11.list().length <= 0))) {
                            v5_5 = 0;
                        } else {
                            v5_5 = v0_10;
                        }
                    } else {
                        String v0_11 = "/system/lib/";
                        if (!this.m_contextInfo.metaData.containsKey("android.app.system_libs_prefix")) {
                            android.util.Log.e("Qt", "It looks like app deployed as system app. It may be necessary to specify path to system lib directory using android.app.system_libs_prefix metadata variable in your AndroidManifest.xml");
                            android.util.Log.e("Qt", "Using /system/lib/ as default path");
                        } else {
                            v0_11 = this.m_contextInfo.metaData.getString("android.app.system_libs_prefix");
                        }
                        int v4_23 = new java.io.File(v0_11);
                        if ((!v4_23.exists()) || ((!v4_23.isDirectory()) || (v4_23.list().length <= 0))) {
                            v0_11 = 0;
                        }
                        v5_5 = v0_11;
                    }
                    if ((v7_0 == null) || (v5_5 != null)) {
                        int v4_26 = "/data/local/tmp/qt/";
                        if (this.m_contextInfo.metaData.containsKey("android.app.libs_prefix")) {
                            v4_26 = this.m_contextInfo.metaData.getString("android.app.libs_prefix");
                        }
                        if ((!this.m_contextInfo.metaData.containsKey("android.app.bundle_local_qt_libs")) || (this.m_contextInfo.metaData.getInt("android.app.bundle_local_qt_libs") != 1)) {
                            String v6_3 = 0;
                            int v3_1 = v4_26;
                        } else {
                            String v0_33 = new StringBuilder().append(new java.io.File(this.m_context.getApplicationInfo().dataDir).getCanonicalPath()).append("/").toString();
                            v4_26 = new StringBuilder().append(v0_33).append("qt-reserved-files/").toString();
                            if (v5_5 != null) {
                                this.cleanOldCacheIfNecessary(v0_33, v4_26);
                                this.extractBundledPluginsAndImports(v4_26, v5_5);
                                v6_3 = 1;
                                v3_1 = v0_33;
                            } else {
                                throw new Exception("");
                            }
                        }
                        if (this.m_qtLibs != null) {
                            String v0_40;
                            if (v7_0 == null) {
                                v0_40 = new StringBuilder().append(v3_1).append("lib/lib").toString();
                            } else {
                                v0_40 = new StringBuilder().append(v5_5).append("lib").toString();
                            }
                            String v5_13 = 0;
                            while (v5_13 < this.m_qtLibs.length) {
                                v8_2.add(new StringBuilder().append(v0_40).append(this.m_qtLibs[v5_13]).append(".so").toString());
                                v5_13++;
                            }
                        }
                        if (this.m_contextInfo.metaData.containsKey("android.app.load_local_libs")) {
                            String v7_3 = this.m_contextInfo.metaData.getString("android.app.load_local_libs").split(":");
                            boolean v9_0 = v7_3.length;
                            String v5_17 = 0;
                            while (v5_17 < v9_0) {
                                StringBuilder v10_6 = v7_3[v5_17];
                                if (v10_6.length() > 0) {
                                    String v0_128;
                                    StringBuilder v11_1 = new StringBuilder();
                                    if (!v10_6.startsWith("lib/")) {
                                        v0_128 = v4_26;
                                    } else {
                                        v0_128 = v3_1;
                                    }
                                    v8_2.add(v11_1.append(v0_128).append(v10_6).toString());
                                }
                                v5_17++;
                            }
                        }
                        String v0_54 = new String();
                        String v5_19 = System.getProperty("path.separator", ":");
                        if ((v6_3 == null) && (this.m_contextInfo.metaData.containsKey("android.app.load_local_jars"))) {
                            String v6_11 = this.m_contextInfo.metaData.getString("android.app.load_local_jars").split(":");
                            String v7_8 = v6_11.length;
                            while (v2_0 < v7_8) {
                                boolean v9_1 = v6_11[v2_0];
                                if (v9_1.length() > 0) {
                                    if (v0_54.length() > 0) {
                                        v0_54 = new StringBuilder().append(v0_54).append(v5_19).toString();
                                    }
                                    v0_54 = new StringBuilder().append(v0_54).append(v3_1).append(v9_1).toString();
                                }
                                v2_0++;
                            }
                        }
                        int v2_2 = new android.os.Bundle();
                        v2_2.putInt("error.code", 0);
                        v2_2.putString("dex.path", v0_54);
                        v2_2.putString("loader.class.name", this.loaderClassName());
                        if (this.m_contextInfo.metaData.containsKey("android.app.static_init_classes")) {
                            v2_2.putStringArray("static.init.classes", this.m_contextInfo.metaData.getString("android.app.static_init_classes").split(":"));
                        }
                        v2_2.putStringArrayList("native.libraries", v8_2);
                        int v3_14 = new StringBuilder().append(this.m_context.getApplicationInfo().dataDir).append("/qt-reserved-files/android-style/").toString();
                        String v5_25 = new StringBuilder().append(v3_14).append(this.m_displayDensity).append("/").toString();
                        String v0_75 = "full";
                        if (this.m_contextInfo.metaData.containsKey("android.app.extract_android_style")) {
                            v0_75 = this.m_contextInfo.metaData.getString("android.app.extract_android_style");
                            if ((!v0_75.equals("full")) && ((!v0_75.equals("minimal")) && (!v0_75.equals("none")))) {
                                android.util.Log.e("Qt", new StringBuilder().append("Invalid extract_android_style option \"").append(v0_75).append("\", defaulting to full").toString());
                                v0_75 = "full";
                            }
                        }
                        if ((!new java.io.File(v5_25).exists()) && (!v0_75.equals("none"))) {
                            v2_2.putString("extract.android.style", v5_25);
                            v2_2.putBoolean("extract.android.style.option", v0_75.equals("minimal"));
                        }
                        if (v0_75.equals("full")) {
                            this.ENVIRONMENT_VARIABLES = new StringBuilder().append(this.ENVIRONMENT_VARIABLES).append("\tQT_USE_ANDROID_NATIVE_STYLE=1").toString();
                        }
                        String v0_102;
                        this.ENVIRONMENT_VARIABLES = new StringBuilder().append(this.ENVIRONMENT_VARIABLES).append("\tMINISTRO_ANDROID_STYLE_PATH=").append(v5_25).append("\tQT_ANDROID_THEMES_ROOT_PATH=").append(v3_14).toString();
                        v2_2.putString("environment.variables", new StringBuilder().append(this.ENVIRONMENT_VARIABLES).append("\tQML2_IMPORT_PATH=").append(v4_26).append("/qml\tQML_IMPORT_PATH=").append(v4_26).append("/imports\tQT_PLUGIN_PATH=").append(v4_26).append("/plugins").toString());
                        if (this.APPLICATION_PARAMETERS == null) {
                            v0_102 = 0;
                        } else {
                            v0_102 = this.APPLICATION_PARAMETERS;
                        }
                        String v1_2;
                        String v1_1 = this.getIntent();
                        if (v1_1 == null) {
                            v1_2 = v0_102;
                        } else {
                            v1_2 = v1_1.getStringExtra("applicationArguments");
                            if (v1_2 == null) {
                            } else {
                                if (v0_102 != null) {
                                    v1_2 = new StringBuilder().append(v0_102).append(9).append(v1_2).toString();
                                }
                            }
                        }
                        String v0_111;
                        if (!this.m_contextInfo.metaData.containsKey("android.app.arguments")) {
                            v0_111 = v1_2;
                        } else {
                            v0_111 = this.m_contextInfo.metaData.getString("android.app.arguments");
                            if (v1_2 != null) {
                                v0_111 = new StringBuilder().append(v1_2).append(9).append(v0_111).toString();
                            }
                        }
                        if (v0_111 != null) {
                            v2_2.putString("application.parameters", v0_111.replace(32, 9).trim());
                        }
                        this.loadApplication(v2_2);
                    } else {
                        throw new Exception("");
                    }
                }
            } else {
                this.m_sources = this.m_context.getResources().getStringArray(this.m_contextInfo.metaData.getInt("android.app.qt_sources_resource_id"));
            }
        } catch (String v0_138) {
            android.util.Log.e("Qt", "Can\'t create main activity", v0_138);
        }
        return;
    }

Method org.qtproject.qt5.android.bindings.QtLoader.extractBundledPluginsAndImports() calling method java.io.File.<init>()


    private void extractBundledPluginsAndImports(String p9, String p10)
    {
        try {
            int v0_1 = this.m_context.getPackageManager().getPackageInfo(this.m_context.getPackageName(), 0).lastUpdateTime;
        } catch (int v2_1) {
            v2_1.printStackTrace();
        }
        if (this.cleanCacheIfNecessary(p9, v0_1)) {
            int v2_4 = new java.io.File(new StringBuilder().append(p9).append("cache.version").toString());
            String v4_8 = v2_4.getParentFile();
            if (!v4_8.exists()) {
                v4_8.mkdirs();
            }
            v2_4.createNewFile();
            String v4_10 = new java.io.DataOutputStream(new java.io.FileOutputStream(v2_4));
            v4_10.writeLong(v0_1);
            v4_10.close();
            if (this.m_contextInfo.metaData.containsKey("android.app.bundled_in_lib_resource_id")) {
                String[] v1_5 = this.m_context.getResources().getStringArray(this.m_contextInfo.metaData.getInt("android.app.bundled_in_lib_resource_id"));
                int v2_9 = v1_5.length;
                int v0_0 = 0;
                while (v0_0 < v2_9) {
                    String v4_19 = v1_5[v0_0].split(":");
                    org.qtproject.qt5.android.bindings.QtLoader.createBundledBinary(new StringBuilder().append(p10).append(v4_19[0]).toString(), new StringBuilder().append(p9).append(v4_19[1]).toString());
                    v0_0++;
                }
            }
            if (this.m_contextInfo.metaData.containsKey("android.app.bundled_in_assets_resource_id")) {
                String[] v1_11 = this.m_context.getResources().getStringArray(this.m_contextInfo.metaData.getInt("android.app.bundled_in_assets_resource_id"));
                int v2_12 = v1_11.length;
                int v0_6 = 0;
                while (v0_6 < v2_12) {
                    String v4_14 = v1_11[v0_6].split(":");
                    this.copyAsset(v4_14[0], new StringBuilder().append(p9).append(v4_14[1]).toString());
                    v0_6++;
                }
            }
        }
        return;
    }

Method org.qtproject.qt5.android.bindings.QtLoader.createBundledBinary() calling method java.io.File.<init>()


    private static void createBundledBinary(String p3, String p4)
    {
        java.io.File v0_1 = new java.io.File(p4);
        if (!v0_1.exists()) {
            java.io.FileInputStream v1_3 = v0_1.getParentFile();
            if (!v1_3.exists()) {
                v1_3.mkdirs();
            }
            v0_1.createNewFile();
            java.io.FileInputStream v1_1 = new java.io.FileInputStream(p3);
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v0_1);
            org.qtproject.qt5.android.bindings.QtLoader.copyFile(v1_1, v2_1);
            v1_1.close();
            v2_1.close();
        }
        return;
    }

Method org.qtproject.qt5.android.bindings.QtLoader.copyAsset() calling method java.io.File.<init>()


    private void copyAsset(String p4, String p5)
    {
        java.io.File v0_1 = new java.io.File(p5);
        if (!v0_1.exists()) {
            java.io.InputStream v1_4 = v0_1.getParentFile();
            if (!v1_4.exists()) {
                v1_4.mkdirs();
            }
            v0_1.createNewFile();
            java.io.InputStream v1_2 = this.m_context.getAssets().open(p4);
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(v0_1);
            org.qtproject.qt5.android.bindings.QtLoader.copyFile(v1_2, v2_1);
            v1_2.close();
            v2_1.close();
        }
        return;
    }

Method org.qtproject.qt5.android.bindings.QtLoader.cleanOldCacheIfNecessary() calling method java.io.File.<init>()


    private void cleanOldCacheIfNecessary(String p4, String p5)
    {
        if (!new java.io.File(p5).exists()) {
            java.io.File v0_2 = new java.io.File(new StringBuilder().append(p4).append("plugins/").toString());
            if ((v0_2.exists()) && (v0_2.isDirectory())) {
                this.deleteRecursively(v0_2);
            }
            java.io.File v0_5 = new java.io.File(new StringBuilder().append(p4).append("imports/").toString());
            if ((v0_5.exists()) && (v0_5.isDirectory())) {
                this.deleteRecursively(v0_5);
            }
            java.io.File v0_8 = new java.io.File(new StringBuilder().append(p4).append("qml/").toString());
            if ((v0_8.exists()) && (v0_8.isDirectory())) {
                this.deleteRecursively(v0_8);
            }
        }
        return;
    }

Method org.qtproject.qt5.android.bindings.QtLoader.cleanCacheIfNecessary() calling method java.io.File.<init>()


    private boolean cleanCacheIfNecessary(String p7, long p8)
    {
        Exception v0_1 = new java.io.File(new StringBuilder().append(p7).append("cache.version").toString());
        long v2_0 = 0;
        if ((v0_1.exists()) && (v0_1.canRead())) {
            try {
                java.io.DataInputStream v1_5 = new java.io.DataInputStream(new java.io.FileInputStream(v0_1));
                v2_0 = v1_5.readLong();
                v1_5.close();
            } catch (Exception v0_2) {
                v0_2.printStackTrace();
            }
        }
        Exception v0_4;
        if (v2_0 == p8) {
            v0_4 = 0;
        } else {
            this.deleteRecursively(new java.io.File(p7));
            v0_4 = 1;
        }
        return v0_4;
    }

Method org.qtproject.qt5.android.QtNative.startApplication() calling method java.io.File.<init>()


    public static boolean startApplication(String p8, String p9, String p10, String p11)
    {
        boolean v0_13;
        Object v3 = new StringBuilder().append("lib").append(p10).append(".so").toString();
        org.qtproject.qt5.android.QtNative$6 v1_9 = new java.io.File(new StringBuilder().append(p11).append(v3).toString());
        if (v1_9.exists()) {
            v0_13 = v1_9;
        } else {
            try {
                boolean[] v2_5;
                boolean[] v2_4 = org.qtproject.qt5.android.QtNative.m_activity.getPackageManager().getActivityInfo(org.qtproject.qt5.android.QtNative.m_activity.getComponentName(), 128);
            } catch (boolean v0) {
                v0_13 = v1_9;
            }
            if (!v2_4.metaData.containsKey("android.app.system_libs_prefix")) {
                v2_5 = "/system/lib/";
            } else {
                v2_5 = v2_4.metaData.getString("android.app.system_libs_prefix");
            }
            v0_13 = new java.io.File(new StringBuilder().append(v2_5).append(v3).toString());
        }
        if (v0_13.exists()) {
            if (p8 == null) {
                p8 = "-platform\tandroid";
            }
            org.qtproject.qt5.android.QtNative$6 v1_12 = v0_13.getAbsolutePath();
            boolean[] v2_10 = new boolean[1];
            v2_10[0] = 0;
            if ((p8.length() > 0) && (!p8.startsWith("\t"))) {
                p8 = new StringBuilder().append("\t").append(p8).toString();
            }
            org.qtproject.qt5.android.QtNative.m_qtThread.run(new org.qtproject.qt5.android.QtNative$5(v1_12, v2_10, new StringBuilder().append(v0_13.getAbsolutePath()).append(p8).toString(), p9));
            org.qtproject.qt5.android.QtNative.m_qtThread.post(new org.qtproject.qt5.android.QtNative$6());
            org.qtproject.qt5.android.QtNative.waitForServiceSetup();
            org.qtproject.qt5.android.QtNative.m_started = 1;
            return v2_10[0];
        } else {
            throw new Exception(new StringBuilder().append("Can\'t find main library \'").append(p10).append("\'").toString());
        }
    }

Method org.qtproject.qt5.android.QtNative$3.run() calling method java.io.File.<init>()


    public void run()
    {
        if (this.val$libraries != null) {
            java.util.Iterator v4 = this.val$libraries.iterator();
            while (v4.hasNext()) {
                String v0_1 = ((String) v4.next());
                try {
                    java.io.File v1_14;
                    String v5_1 = new StringBuilder().append("lib").append(v0_1).append(".so").toString();
                    String v2_4 = new java.io.File(new StringBuilder().append(this.val$nativeLibraryDir).append(v5_1).toString());
                } catch (java.io.File v1_1) {
                    android.util.Log.i("Qt JAVA", new StringBuilder().append("Can\'t load \'").append(v0_1).append("\'").toString(), v1_1);
                }
                if (v2_4.exists()) {
                    v1_14 = v2_4;
                } else {
                    android.util.Log.i("Qt JAVA", new StringBuilder().append("Can\'t find \'").append(v2_4.getAbsolutePath()).toString());
                    try {
                        String v3_13;
                        String v3_12 = org.qtproject.qt5.android.QtNative.access$000().getPackageManager().getActivityInfo(org.qtproject.qt5.android.QtNative.access$000().getComponentName(), 128);
                    } catch (java.io.File v1) {
                        v1_14 = v2_4;
                    }
                    if (!v3_12.metaData.containsKey("android.app.system_libs_prefix")) {
                        v3_13 = "/system/lib/";
                    } else {
                        v3_13 = v3_12.metaData.getString("android.app.system_libs_prefix");
                    }
                    v1_14 = new java.io.File(new StringBuilder().append(v3_13).append(v5_1).toString());
                }
                if (!v1_14.exists()) {
                    android.util.Log.i("Qt JAVA", new StringBuilder().append("Can\'t find \'").append(v1_14.getAbsolutePath()).toString());
                } else {
                    System.load(v1_14.getAbsolutePath());
                }
            }
        }
        return;
    }

Method org.qtproject.qt5.android.QtNative$2.run() calling method java.io.File.<init>()


    public void run()
    {
        if (this.val$libraries != null) {
            java.util.Iterator v2 = this.val$libraries.iterator();
            while (v2.hasNext()) {
                String v0_1 = ((String) v2.next());
                try {
                    if (new java.io.File(v0_1).exists()) {
                        System.load(v0_1);
                    }
                } catch (Exception v1_4) {
                    android.util.Log.i("Qt JAVA", new StringBuilder().append("Can\'t load \'").append(v0_1).append("\'").toString(), v1_4);
                } catch (Exception v1_3) {
                    android.util.Log.i("Qt JAVA", new StringBuilder().append("Can\'t load \'").append(v0_1).append("\'").toString(), v1_3);
                }
            }
        }
        return;
    }

Method org.qtproject.qt5.android.QtActivityDelegate.startApplication() calling method java.io.File.<init>()


    public boolean startApplication()
    {
        try {
            String v2_65;
            android.os.Bundle v7 = this.m_activity.getIntent().getExtras();
        } catch (String v2_102) {
            v2_102.printStackTrace();
            v2_65 = 0;
            return v2_65;
        } catch (String v2) {
            if (this.m_surfaces == null) {
                this.onCreate(0);
            }
            v2_65 = 1;
            return v2_65;
        } catch (String v2_70) {
            v2_70.printStackTrace();
        } catch (String v2_69) {
            v2_69.printStackTrace();
        }
        if (v7 == null) {
        } else {
            String v2_40 = new java.io.BufferedReader(new java.io.InputStreamReader(this.m_activity.getAssets().open("--Added-by-androiddeployqt--/debugger.command"))).readLine();
            if ((!v7.containsKey("debug_ping")) || (!v7.getString("debug_ping").equals("true"))) {
                if ((v7.containsKey("qml_debug")) && (v7.getString("qml_debug").equals("true"))) {
                    String v2_78;
                    if (!v7.containsKey("qmljsdebugger")) {
                        v2_78 = "port:3768";
                    } else {
                        v2_78 = v7.getString("qmljsdebugger");
                        v2_78.replaceAll("\\s", "");
                    }
                    org.qtproject.qt5.android.QtActivityDelegate.m_applicationParameters = new StringBuilder().append(org.qtproject.qt5.android.QtActivityDelegate.m_applicationParameters).append("\t-qmljsdebugger=").append(v2_78).toString();
                }
                if (v7.containsKey("extraenvvars")) {
                    org.qtproject.qt5.android.QtActivityDelegate.m_environmentVariables = new StringBuilder().append(org.qtproject.qt5.android.QtActivityDelegate.m_environmentVariables).append("\t").append(new String(android.util.Base64.decode(v7.getString("extraenvvars"), 0), "UTF-8")).toString();
                }
                if (!v7.containsKey("extraappparams")) {
                } else {
                    try {
                        org.qtproject.qt5.android.QtActivityDelegate.m_applicationParameters = new StringBuilder().append(org.qtproject.qt5.android.QtActivityDelegate.m_applicationParameters).append("\t").append(new String(android.util.Base64.decode(v7.getString("extraappparams"), 0), "UTF-8")).toString();
                    } catch (String v2_99) {
                        v2_99.printStackTrace();
                    }
                }
            } else {
                int v6_1;
                String v3_54 = new StringBuilder().append(this.m_activity.getPackageManager().getApplicationInfo(this.m_activity.getPackageName(), 16384).dataDir).append("/").toString();
                org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("extra parameters: ").append(v7).toString());
                this.m_activity.getPackageName();
                String v8 = v7.getString("ping_file");
                String v9 = v7.getString("pong_file");
                long v10_7 = v7.getString("gdbserver_socket");
                int v11_6 = new StringBuilder().append(v3_54).append(v2_40).append(v10_7).toString();
                String v12 = v7.getString("ping_socket");
                if (v8 == null) {
                    v6_1 = 0;
                } else {
                    v6_1 = 1;
                }
                int v5_8;
                if (v9 == null) {
                    v5_8 = 0;
                } else {
                    v5_8 = 1;
                }
                long v4_1;
                if (v10_7 == 0) {
                    v4_1 = 0;
                } else {
                    v4_1 = 1;
                }
                String v3_0;
                if (v12 == null) {
                    v3_0 = 0;
                } else {
                    v3_0 = 1;
                }
                if (v10_7 != 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("removing gdb socket ").append(v10_7).toString());
                    new java.io.File(v10_7).delete();
                }
                if (v6_1 != 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("removing ping file ").append(v8).toString());
                    String v2_17 = new java.io.File(v8);
                    if ((v2_17.exists()) && (!v2_17.delete())) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("ping file cannot be deleted");
                    }
                }
                if (v5_8 != 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("removing pong file ").append(v9).toString());
                    String v2_26 = new java.io.File(v9);
                    if ((v2_26.exists()) && (!v2_26.delete())) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("pong file cannot be deleted");
                    }
                }
                org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("starting ").append(v11_6).toString());
                this.m_debuggerProcess = Runtime.getRuntime().exec(v11_6);
                org.qtproject.qt5.android.QtActivityDelegate.debugLog("gdbserver started");
                if (v4_1 == 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog("socket not used");
                } else {
                    String v2_39 = 0;
                    while (v2_39 < 150) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("waiting for socket at ").append(v10_7).append(", attempt ").append(v2_39).toString());
                        long v4_12 = new java.io.File(v10_7);
                        if (!v4_12.exists()) {
                            Thread.sleep(((long) 200));
                            v2_39++;
                        } else {
                            v4_12.setReadable(1, 0);
                            v4_12.setWritable(1, 0);
                            v4_12.setExecutable(1, 0);
                            break;
                        }
                    }
                    if (v2_39 != 150) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("socket ok");
                    } else {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("time out when waiting for debug socket");
                        v2_65 = 0;
                        return v2_65;
                    }
                }
                if (v3_0 != null) {
                    String v3_5 = new org.qtproject.qt5.android.QtActivityDelegate$DebugWaitRunnable(this, v12);
                    long v4_14 = new Thread(v3_5);
                    v4_14.start();
                    String v2_42 = 0;
                    while ((v2_42 < 150) && (v4_14.isAlive())) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("Waiting for debug socket connect");
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("go to sleep");
                        Thread.sleep(((long) 200));
                        v2_42++;
                    }
                    if (v2_42 != 150) {
                        if (!v3_5.wasFailure) {
                            org.qtproject.qt5.android.QtActivityDelegate.debugLog("Got pid acknowledgment");
                        } else {
                            org.qtproject.qt5.android.QtActivityDelegate.debugLog("Could not connect to debug client");
                            v2_65 = 0;
                            return v2_65;
                        }
                    } else {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("time out when waiting for ping socket");
                        v3_5.shutdown();
                        v2_65 = 0;
                        return v2_65;
                    }
                }
                if (v6_1 == 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog("ping not requested");
                } else {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("writing ping at ").append(v8).toString());
                    String v2_52 = new java.io.FileWriter(v8);
                    v2_52.write(new StringBuilder().append("").append(android.os.Process.myPid()).toString());
                    v2_52.close();
                    String v2_54 = new java.io.File(v8);
                    v2_54.setReadable(1, 0);
                    v2_54.setWritable(1, 0);
                    v2_54.setExecutable(1, 0);
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog("wrote ping");
                }
                if (v5_8 == 0) {
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog("pong not requested");
                } else {
                    String v2_57 = 0;
                    while (v2_57 < 150) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("waiting for pong at ").append(v9).append(", attempt ").append(v2_57).toString());
                        String v3_26 = new java.io.File(v9);
                        if (!v3_26.exists()) {
                            org.qtproject.qt5.android.QtActivityDelegate.debugLog("go to sleep");
                            Thread.sleep(((long) 200));
                            v2_57++;
                        } else {
                            v3_26.delete();
                            break;
                        }
                    }
                    org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("Removing pingFile ").append(v8).toString());
                    new java.io.File(v8).delete();
                    if (v2_57 != 150) {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog(new StringBuilder().append("got pong ").append(v9).toString());
                    } else {
                        org.qtproject.qt5.android.QtActivityDelegate.debugLog("time out when waiting for pong file");
                        v2_65 = 0;
                        return v2_65;
                    }
                }
            }
        }
    }

Method org.qtproject.qt5.android.ExtractStyle.<init>() calling method java.io.File.<init>()


    public ExtractStyle(android.content.Context p7, String p8, boolean p9)
    {
        this.styleableClass = this.getClass("android.R$styleable");
        this.rippleDrawableClass = this.getClass("android.graphics.drawable.RippleDrawable");
        this.animatedStateListDrawableClass = this.getClass("android.graphics.drawable.AnimatedStateListDrawable");
        this.vectorDrawableClass = this.getClass("android.graphics.drawable.VectorDrawable");
        Exception v0_73 = new int[0];
        this.EMPTY_STATE_SET = v0_73;
        Exception v0_82 = new int[1];
        v0_82[0] = 16842910;
        this.ENABLED_STATE_SET = v0_82;
        Exception v0_99 = new int[1];
        v0_99[0] = 16842908;
        this.FOCUSED_STATE_SET = v0_99;
        Exception v0_116 = new int[1];
        v0_116[0] = 16842913;
        this.SELECTED_STATE_SET = v0_116;
        Exception v0_133 = new int[1];
        v0_133[0] = 16842919;
        this.PRESSED_STATE_SET = v0_133;
        Exception v0_150 = new int[1];
        v0_150[0] = 16842909;
        this.WINDOW_FOCUSED_STATE_SET = v0_150;
        this.ENABLED_FOCUSED_STATE_SET = this.stateSetUnion(this.ENABLED_STATE_SET, this.FOCUSED_STATE_SET);
        this.ENABLED_SELECTED_STATE_SET = this.stateSetUnion(this.ENABLED_STATE_SET, this.SELECTED_STATE_SET);
        this.ENABLED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.ENABLED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.FOCUSED_SELECTED_STATE_SET = this.stateSetUnion(this.FOCUSED_STATE_SET, this.SELECTED_STATE_SET);
        this.FOCUSED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.FOCUSED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.SELECTED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.SELECTED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.ENABLED_FOCUSED_SELECTED_STATE_SET = this.stateSetUnion(this.ENABLED_FOCUSED_STATE_SET, this.SELECTED_STATE_SET);
        this.ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.ENABLED_FOCUSED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.ENABLED_SELECTED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.FOCUSED_SELECTED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.ENABLED_FOCUSED_SELECTED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.PRESSED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.PRESSED_SELECTED_STATE_SET = this.stateSetUnion(this.PRESSED_STATE_SET, this.SELECTED_STATE_SET);
        this.PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_SELECTED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.PRESSED_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_STATE_SET, this.FOCUSED_STATE_SET);
        this.PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_FOCUSED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.PRESSED_FOCUSED_SELECTED_STATE_SET = this.stateSetUnion(this.PRESSED_FOCUSED_STATE_SET, this.SELECTED_STATE_SET);
        this.PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_FOCUSED_SELECTED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.PRESSED_ENABLED_STATE_SET = this.stateSetUnion(this.PRESSED_STATE_SET, this.ENABLED_STATE_SET);
        this.PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_ENABLED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.PRESSED_ENABLED_SELECTED_STATE_SET = this.stateSetUnion(this.PRESSED_ENABLED_STATE_SET, this.SELECTED_STATE_SET);
        this.PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_ENABLED_SELECTED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.PRESSED_ENABLED_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_ENABLED_STATE_SET, this.FOCUSED_STATE_SET);
        this.PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_ENABLED_FOCUSED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET = this.stateSetUnion(this.PRESSED_ENABLED_FOCUSED_STATE_SET, this.SELECTED_STATE_SET);
        this.PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET = this.stateSetUnion(this.PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, this.WINDOW_FOCUSED_STATE_SET);
        this.View_background = this.getField(this.styleableClass, "View_background");
        this.View_padding = this.getField(this.styleableClass, "View_padding");
        this.View_paddingLeft = this.getField(this.styleableClass, "View_paddingLeft");
        this.View_paddingTop = this.getField(this.styleableClass, "View_paddingTop");
        this.View_paddingRight = this.getField(this.styleableClass, "View_paddingRight");
        this.View_paddingBottom = this.getField(this.styleableClass, "View_paddingBottom");
        this.View_scrollX = this.getField(this.styleableClass, "View_scrollX");
        this.View_scrollY = this.getField(this.styleableClass, "View_scrollY");
        this.View_id = this.getField(this.styleableClass, "View_id");
        this.View_tag = this.getField(this.styleableClass, "View_tag");
        this.View_fitsSystemWindows = this.getField(this.styleableClass, "View_fitsSystemWindows");
        this.View_focusable = this.getField(this.styleableClass, "View_focusable");
        this.View_focusableInTouchMode = this.getField(this.styleableClass, "View_focusableInTouchMode");
        this.View_clickable = this.getField(this.styleableClass, "View_clickable");
        this.View_longClickable = this.getField(this.styleableClass, "View_longClickable");
        this.View_saveEnabled = this.getField(this.styleableClass, "View_saveEnabled");
        this.View_duplicateParentState = this.getField(this.styleableClass, "View_duplicateParentState");
        this.View_visibility = this.getField(this.styleableClass, "View_visibility");
        this.View_drawingCacheQuality = this.getField(this.styleableClass, "View_drawingCacheQuality");
        this.View_contentDescription = this.getField(this.styleableClass, "View_contentDescription");
        this.View_soundEffectsEnabled = this.getField(this.styleableClass, "View_soundEffectsEnabled");
        this.View_hapticFeedbackEnabled = this.getField(this.styleableClass, "View_hapticFeedbackEnabled");
        this.View_scrollbars = this.getField(this.styleableClass, "View_scrollbars");
        this.View_fadingEdge = this.getField(this.styleableClass, "View_fadingEdge");
        this.View_scrollbarStyle = this.getField(this.styleableClass, "View_scrollbarStyle");
        this.View_scrollbarFadeDuration = this.getField(this.styleableClass, "View_scrollbarFadeDuration");
        this.View_scrollbarDefaultDelayBeforeFade = this.getField(this.styleableClass, "View_scrollbarDefaultDelayBeforeFade");
        this.View_scrollbarSize = this.getField(this.styleableClass, "View_scrollbarSize");
        this.View_scrollbarThumbHorizontal = this.getField(this.styleableClass, "View_scrollbarThumbHorizontal");
        this.View_scrollbarThumbVertical = this.getField(this.styleableClass, "View_scrollbarThumbVertical");
        this.View_scrollbarTrackHorizontal = this.getField(this.styleableClass, "View_scrollbarTrackHorizontal");
        this.View_scrollbarTrackVertical = this.getField(this.styleableClass, "View_scrollbarTrackVertical");
        this.View_isScrollContainer = this.getField(this.styleableClass, "View_isScrollContainer");
        this.View_keepScreenOn = this.getField(this.styleableClass, "View_keepScreenOn");
        this.View_filterTouchesWhenObscured = this.getField(this.styleableClass, "View_filterTouchesWhenObscured");
        this.View_nextFocusLeft = this.getField(this.styleableClass, "View_nextFocusLeft");
        this.View_nextFocusRight = this.getField(this.styleableClass, "View_nextFocusRight");
        this.View_nextFocusUp = this.getField(this.styleableClass, "View_nextFocusUp");
        this.View_nextFocusDown = this.getField(this.styleableClass, "View_nextFocusDown");
        this.View_minWidth = this.getField(this.styleableClass, "View_minWidth");
        this.View_minHeight = this.getField(this.styleableClass, "View_minHeight");
        this.View_onClick = this.getField(this.styleableClass, "View_onClick");
        this.View_overScrollMode = this.getField(this.styleableClass, "View_overScrollMode");
        this.View_paddingStart = this.getField(this.styleableClass, "View_paddingStart");
        this.View_paddingEnd = this.getField(this.styleableClass, "View_paddingEnd");
        this.TextAppearance_textColorHighlight = this.getField(this.styleableClass, "TextAppearance_textColorHighlight");
        this.TextAppearance_textColor = this.getField(this.styleableClass, "TextAppearance_textColor");
        this.TextAppearance_textColorHint = this.getField(this.styleableClass, "TextAppearance_textColorHint");
        this.TextAppearance_textColorLink = this.getField(this.styleableClass, "TextAppearance_textColorLink");
        this.TextAppearance_textSize = this.getField(this.styleableClass, "TextAppearance_textSize");
        this.TextAppearance_typeface = this.getField(this.styleableClass, "TextAppearance_typeface");
        this.TextAppearance_textStyle = this.getField(this.styleableClass, "TextAppearance_textStyle");
        this.TextAppearance_textAllCaps = this.getField(this.styleableClass, "TextAppearance_textAllCaps");
        this.TextView_editable = this.getField(this.styleableClass, "TextView_editable");
        this.TextView_inputMethod = this.getField(this.styleableClass, "TextView_inputMethod");
        this.TextView_numeric = this.getField(this.styleableClass, "TextView_numeric");
        this.TextView_digits = this.getField(this.styleableClass, "TextView_digits");
        this.TextView_phoneNumber = this.getField(this.styleableClass, "TextView_phoneNumber");
        this.TextView_autoText = this.getField(this.styleableClass, "TextView_autoText");
        this.TextView_capitalize = this.getField(this.styleableClass, "TextView_capitalize");
        this.TextView_bufferType = this.getField(this.styleableClass, "TextView_bufferType");
        this.TextView_selectAllOnFocus = this.getField(this.styleableClass, "TextView_selectAllOnFocus");
        this.TextView_autoLink = this.getField(this.styleableClass, "TextView_autoLink");
        this.TextView_linksClickable = this.getField(this.styleableClass, "TextView_linksClickable");
        this.TextView_drawableLeft = this.getField(this.styleableClass, "TextView_drawableLeft");
        this.TextView_drawableTop = this.getField(this.styleableClass, "TextView_drawableTop");
        this.TextView_drawableRight = this.getField(this.styleableClass, "TextView_drawableRight");
        this.TextView_drawableBottom = this.getField(this.styleableClass, "TextView_drawableBottom");
        this.TextView_drawableStart = this.getField(this.styleableClass, "TextView_drawableStart");
        this.TextView_drawableEnd = this.getField(this.styleableClass, "TextView_drawableEnd");
        this.TextView_drawablePadding = this.getField(this.styleableClass, "TextView_drawablePadding");
        this.TextView_textCursorDrawable = this.getField(this.styleableClass, "TextView_textCursorDrawable");
        this.TextView_maxLines = this.getField(this.styleableClass, "TextView_maxLines");
        this.TextView_maxHeight = this.getField(this.styleableClass, "TextView_maxHeight");
        this.TextView_lines = this.getField(this.styleableClass, "TextView_lines");
        this.TextView_height = this.getField(this.styleableClass, "TextView_height");
        this.TextView_minLines = this.getField(this.styleableClass, "TextView_minLines");
        this.TextView_minHeight = this.getField(this.styleableClass, "TextView_minHeight");
        this.TextView_maxEms = this.getField(this.styleableClass, "TextView_maxEms");
        this.TextView_maxWidth = this.getField(this.styleableClass, "TextView_maxWidth");
        this.TextView_ems = this.getField(this.styleableClass, "TextView_ems");
        this.TextView_width = this.getField(this.styleableClass, "TextView_width");
        this.TextView_minEms = this.getField(this.styleableClass, "TextView_minEms");
        this.TextView_minWidth = this.getField(this.styleableClass, "TextView_minWidth");
        this.TextView_gravity = this.getField(this.styleableClass, "TextView_gravity");
        this.TextView_hint = this.getField(this.styleableClass, "TextView_hint");
        this.TextView_text = this.getField(this.styleableClass, "TextView_text");
        this.TextView_scrollHorizontally = this.getField(this.styleableClass, "TextView_scrollHorizontally");
        this.TextView_singleLine = this.getField(this.styleableClass, "TextView_singleLine");
        this.TextView_ellipsize = this.getField(this.styleableClass, "TextView_ellipsize");
        this.TextView_marqueeRepeatLimit = this.getField(this.styleableClass, "TextView_marqueeRepeatLimit");
        this.TextView_includeFontPadding = this.getField(this.styleableClass, "TextView_includeFontPadding");
        this.TextView_cursorVisible = this.getField(this.styleableClass, "TextView_cursorVisible");
        this.TextView_maxLength = this.getField(this.styleableClass, "TextView_maxLength");
        this.TextView_textScaleX = this.getField(this.styleableClass, "TextView_textScaleX");
        this.TextView_freezesText = this.getField(this.styleableClass, "TextView_freezesText");
        this.TextView_shadowColor = this.getField(this.styleableClass, "TextView_shadowColor");
        this.TextView_shadowDx = this.getField(this.styleableClass, "TextView_shadowDx");
        this.TextView_shadowDy = this.getField(this.styleableClass, "TextView_shadowDy");
        this.TextView_shadowRadius = this.getField(this.styleableClass, "TextView_shadowRadius");
        this.TextView_enabled = this.getField(this.styleableClass, "TextView_enabled");
        this.TextView_textColorHighlight = this.getField(this.styleableClass, "TextView_textColorHighlight");
        this.TextView_textColor = this.getField(this.styleableClass, "TextView_textColor");
        this.TextView_textColorHint = this.getField(this.styleableClass, "TextView_textColorHint");
        this.TextView_textColorLink = this.getField(this.styleableClass, "TextView_textColorLink");
        this.TextView_textSize = this.getField(this.styleableClass, "TextView_textSize");
        this.TextView_typeface = this.getField(this.styleableClass, "TextView_typeface");
        this.TextView_textStyle = this.getField(this.styleableClass, "TextView_textStyle");
        this.TextView_password = this.getField(this.styleableClass, "TextView_password");
        this.TextView_lineSpacingExtra = this.getField(this.styleableClass, "TextView_lineSpacingExtra");
        this.TextView_lineSpacingMultiplier = this.getField(this.styleableClass, "TextView_lineSpacingMultiplier");
        this.TextView_inputType = this.getField(this.styleableClass, "TextView_inputType");
        this.TextView_imeOptions = this.getField(this.styleableClass, "TextView_imeOptions");
        this.TextView_imeActionLabel = this.getField(this.styleableClass, "TextView_imeActionLabel");
        this.TextView_imeActionId = this.getField(this.styleableClass, "TextView_imeActionId");
        this.TextView_privateImeOptions = this.getField(this.styleableClass, "TextView_privateImeOptions");
        this.TextView_textSelectHandleLeft = this.getField(this.styleableClass, "TextView_textSelectHandleLeft");
        this.TextView_textSelectHandleRight = this.getField(this.styleableClass, "TextView_textSelectHandleRight");
        this.TextView_textSelectHandle = this.getField(this.styleableClass, "TextView_textSelectHandle");
        this.TextView_textIsSelectable = this.getField(this.styleableClass, "TextView_textIsSelectable");
        this.TextView_textAllCaps = this.getField(this.styleableClass, "TextView_textAllCaps");
        this.ImageView_src = this.getField(this.styleableClass, "ImageView_src");
        this.ImageView_baselineAlignBottom = this.getField(this.styleableClass, "ImageView_baselineAlignBottom");
        this.ImageView_adjustViewBounds = this.getField(this.styleableClass, "ImageView_adjustViewBounds");
        this.ImageView_maxWidth = this.getField(this.styleableClass, "ImageView_maxWidth");
        this.ImageView_maxHeight = this.getField(this.styleableClass, "ImageView_maxHeight");
        this.ImageView_scaleType = this.getField(this.styleableClass, "ImageView_scaleType");
        this.ImageView_tint = this.getField(this.styleableClass, "ImageView_tint");
        this.ImageView_cropToPadding = this.getField(this.styleableClass, "ImageView_cropToPadding");
        Exception v0_346 = new int[11];
        v0_346 = {16842914, 16842912, 16842910, 16842908, 16842919, 16842913, 16842909, 16908288, 16843597, 16843518, 16843547};
        this.DrawableStates = v0_346;
        Exception v0_349 = new String[11];
        v0_349[0] = "active";
        v0_349[1] = "checked";
        v0_349[2] = "enabled";
        v0_349[3] = "focused";
        v0_349[4] = "pressed";
        v0_349[5] = "selected";
        v0_349[6] = "window_focused";
        v0_349[7] = "background";
        v0_349[8] = "multiline";
        v0_349[9] = "activated";
        v0_349[10] = "accelerated";
        this.DrawableStatesLabels = v0_349;
        Exception v0_352 = new String[11];
        v0_352[0] = "inactive";
        v0_352[1] = "unchecked";
        v0_352[2] = "disabled";
        v0_352[3] = "not_focused";
        v0_352[4] = "no_pressed";
        v0_352[5] = "unselected";
        v0_352[6] = "window_not_focused";
        v0_352[7] = "background";
        v0_352[8] = "multiline";
        v0_352[9] = "activated";
        v0_352[10] = "accelerated";
        this.DisableDrawableStatesLabels = v0_352;
        this.m_drawableCache = new java.util.HashMap();
        Exception v0_357 = new String[8];
        v0_357[0] = "MATRIX";
        v0_357[1] = "FIT_XY";
        v0_357[2] = "FIT_START";
        v0_357[3] = "FIT_CENTER";
        v0_357[4] = "FIT_END";
        v0_357[5] = "CENTER";
        v0_357[6] = "CENTER_CROP";
        v0_357[7] = "CENTER_INSIDE";
        this.sScaleTypeArray = v0_357;
        this.m_minimal = p9;
        this.m_extractPath = new StringBuilder().append(p8).append("/").toString();
        new java.io.File(this.m_extractPath).mkdirs();
        this.m_context = p7;
        this.m_theme = p7.getTheme();
        org.qtproject.qt5.android.ExtractStyle$SimpleJsonWriter v1_192 = new int[3];
        v1_192 = {16842801, 16842806, 16842904};
        org.qtproject.qt5.android.ExtractStyle$SimpleJsonWriter v1_193 = this.m_theme.obtainStyledAttributes(v1_192);
        this.defaultBackgroundColor = v1_193.getColor(0, 0);
        Exception v0_371 = v1_193.getColor(1, 16777215);
        if (v0_371 == 16777215) {
            v0_371 = v1_193.getColor(2, 16777215);
        }
        this.defaultTextColor = v0_371;
        v1_193.recycle();
        try {
            org.qtproject.qt5.android.ExtractStyle$SimpleJsonWriter v1_195 = new org.qtproject.qt5.android.ExtractStyle$SimpleJsonWriter(this, new StringBuilder().append(this.m_extractPath).append("style.json").toString());
            v1_195.beginObject();
            try {
                v1_195.name("defaultStyle").value(this.extractDefaultPalette());
                this.extractWindow(v1_195, "windowStyle");
                v1_195.name("buttonStyle").value(this.extractTextAppearanceInformations("buttonStyle", "QPushButton", 0, -1));
                v1_195.name("spinnerStyle").value(this.extractTextAppearanceInformations("spinnerStyle", "QComboBox", 0, -1));
                this.extractProgressBar(v1_195, "progressBarStyleHorizontal", "QProgressBar");
                this.extractProgressBar(v1_195, "progressBarStyleLarge", 0);
                this.extractProgressBar(v1_195, "progressBarStyleSmall", 0);
                this.extractProgressBar(v1_195, "progressBarStyle", 0);
                this.extractAbsSeekBar(v1_195, "seekBarStyle", "QSlider");
                this.extractSwitch(v1_195, "switchStyle", 0);
                this.extractCompoundButton(v1_195, "checkboxStyle", "QCheckBox");
                v1_195.name("editTextStyle").value(this.extractTextAppearanceInformations("editTextStyle", "QLineEdit", 0, -1));
                this.extractCompoundButton(v1_195, "radioButtonStyle", "QRadioButton");
                v1_195.name("textViewStyle").value(this.extractTextAppearanceInformations("textViewStyle", "QWidget", 0, -1));
                v1_195.name("scrollViewStyle").value(this.extractTextAppearanceInformations("scrollViewStyle", "QAbstractScrollArea", 0, -1));
                this.extractListView(v1_195, "listViewStyle", "QListView");
                v1_195.name("listSeparatorTextViewStyle").value(this.extractTextAppearanceInformations("listSeparatorTextViewStyle", 0, 0, -1));
                this.extractItemsStyle(v1_195);
                this.extractCompoundButton(v1_195, "buttonStyleToggle", 0);
                this.extractCalendar(v1_195, "calendarViewStyle", "QCalendarWidget");
                this.extractToolBar(v1_195, "actionBarStyle", "QToolBar");
                v1_195.name("actionButtonStyle").value(this.extractTextAppearanceInformations("actionButtonStyle", "QToolButton", 0, -1));
                v1_195.name("actionBarTabTextStyle").value(this.extractTextAppearanceInformations("actionBarTabTextStyle", 0, 0, -1));
                v1_195.name("actionBarTabStyle").value(this.extractTextAppearanceInformations("actionBarTabStyle", 0, 0, -1));
                v1_195.name("actionOverflowButtonStyle").value(this.extractImageViewInformations("actionOverflowButtonStyle", 0));
                this.extractTabBar(v1_195, "actionBarTabBarStyle", "QTabBar");
            } catch (Exception v0_32) {
                v0_32.printStackTrace();
            }
            v1_195.endObject();
            v1_195.close();
            return;
        } catch (Exception v0_33) {
            v0_33.printStackTrace();
            return;
        }
    }

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


    public void onCreate(android.database.sqlite.SQLiteDatabase p5)
    {
        if (android.os.Build$VERSION.SDK_INT >= 9) {
            java.io.File v0_2 = new java.io.File(p5.getPath());
            v0_2.setReadable(0, 0);
            v0_2.setWritable(0, 0);
            v0_2.setReadable(1, 1);
            v0_2.setWritable(1, 1);
        }
        return;
    }

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


    private void g(String p5)
    {
        String v1_6 = new java.io.File(new android.support.v4.b.a().a(this.b), p5);
        try {
            if ((!v1_6.exists()) && ((v1_6.createNewFile()) && (!this.a()))) {
                android.util.Log.i("InstanceID/Store", "App restored, clearing state");
                com.google.android.gms.iid.b.a(this.b, this);
            }
        } catch (android.content.Context v0_4) {
            if (!android.util.Log.isLoggable("InstanceID/Store", 3)) {
            } else {
                android.util.Log.d("InstanceID/Store", new StringBuilder().append("Error creating file in no backup dir: ").append(v0_4.getMessage()).toString());
            }
        }
        return;
    }

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


    public final java.io.File a(android.content.Context p4)
    {
        java.io.File v0_1;
        if (android.os.Build$VERSION.SDK_INT < 21) {
            v0_1 = ark>android.support.v4.b.aark>.a(new java.io.File(p4.getApplicationInfo().dataDir, "no_backup"));
        } else {
            v0_1 = android.support.v4.b.b.a(p4);
        }
        return v0_1;
    }

Method android.support.v7.internal.widget.p.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 = android.support.v7.internal.widget.j.a(this.a).openFileOutput(((String) p13[1]), 0);
            String v4_2 = android.util.Xml.newSerializer();
            try {
                v4_2.setOutput(v3_0, 0);
                v4_2.startDocument("UTF-8", Boolean.valueOf(1));
                v4_2.startTag(0, "historical-records");
                int v5_3 = v0_4.size();
            } catch (java.io.IOException v0_11) {
                android.util.Log.e(android.support.v7.internal.widget.j.c(), new StringBuilder().append("Error writing historical recrod file: ").append(android.support.v7.internal.widget.j.b(this.a)).toString(), v0_11);
                android.support.v7.internal.widget.j.a(this.a, 1);
                if (v3_0 == null) {
                    return 0;
                } else {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return 0;
                }
            } catch (java.io.IOException v0_9) {
                android.util.Log.e(android.support.v7.internal.widget.j.c(), new StringBuilder().append("Error writing historical recrod file: ").append(android.support.v7.internal.widget.j.b(this.a)).toString(), v0_9);
                android.support.v7.internal.widget.j.a(this.a, 1);
                if (v3_0 == null) {
                    return 0;
                } else {
                    try {
                        v3_0.close();
                    } catch (java.io.IOException v0) {
                    }
                    return 0;
                }
            } catch (java.io.IOException v0_7) {
                android.util.Log.e(android.support.v7.internal.widget.j.c(), new StringBuilder().append("Error writing historical recrod file: ").append(android.support.v7.internal.widget.j.b(this.a)).toString(), v0_7);
                android.support.v7.internal.widget.j.a(this.a, 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.support.v7.internal.widget.j.a(this.a, 1);
                if (v3_0 != null) {
                    try {
                        v3_0.close();
                    } catch (String v1) {
                    }
                }
                throw v0_1;
            }
            while (v2_0 < v5_3) {
                String v1_3 = ((android.support.v7.internal.widget.n) v0_4.remove(0));
                v4_2.startTag(0, "historical-record");
                v4_2.attribute(0, "activity", v1_3.a.flattenToString());
                v4_2.attribute(0, "time", String.valueOf(v1_3.b));
                v4_2.attribute(0, "weight", String.valueOf(v1_3.c));
                v4_2.endTag(0, "historical-record");
                v2_0++;
            }
            v4_2.endTag(0, "historical-records");
            v4_2.endDocument();
            android.support.v7.internal.widget.j.a(this.a, 1);
            if (v3_0 == null) {
                return 0;
            } else {
                try {
                    v3_0.close();
                } catch (java.io.IOException v0) {
                }
                return 0;
            }
        } catch (java.io.IOException v0_2) {
            android.util.Log.e(android.support.v7.internal.widget.j.c(), new StringBuilder().append("Error writing historical recrod file: ").append(0).toString(), v0_2);
            return 0;
        }
    }