Info Call to External Storage API

Description

List of all external storage API calls. Insecure storage of sensitive information by setting insecure permissions or storing data without encryption might expose this information to an attacker.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.dumpClass() calling method java.io.FileOutputStream.<init>()


    public void dumpClass(com.sun.org.apache.bcel.internal.classfile.JavaClass p9)
    {
        if ((this._outputType == 0) || (this._outputType == 4)) {
            String v3 = this.getOutputFile(p9.getClassName()).getParent();
            if (v3 != null) {
                java.io.File v4_1 = new java.io.File(v3);
                if (!v4_1.exists()) {
                    v4_1.mkdirs();
                }
            }
        }
        try {
            switch (this._outputType) {
                case 0:
                    p9.dump(new java.io.BufferedOutputStream(new java.io.FileOutputStream(this.getOutputFile(p9.getClassName()))));
                    return;
                case 1:
                    this._bcelClasses.addElement(p9);
                    return;
                case 2:
                case 3:
                case 4:
                case 5:
                    java.io.ByteArrayOutputStream v1_1 = new java.io.ByteArrayOutputStream(2048);
                    p9.dump(v1_1);
                    this._classes.addElement(v1_1.toByteArray());
                    if (this._outputType != 4) {
                        if (this._outputType != 5) {
                            return;
                        } else {
                            this._bcelClasses.addElement(p9);
                            return;
                        }
                    } else {
                        p9.dump(new java.io.BufferedOutputStream(new java.io.FileOutputStream(this.getOutputFile(p9.getClassName()))));
                        return;
                    }
                default:
                    return;
            }
        } catch (Exception v0) {
        }
        v0.printStackTrace();
        return;
    }

Method com.sun.org.apache.xalan.internal.xslt.Process._main() calling method java.io.FileOutputStream.<init>()


    public static void _main(String[] p78)
    {
        int v11 = 0;
        int v10 = 0;
        int v27 = 0;
        java.io.PrintWriter v9_0 = new java.io.PrintWriter(System.err, 1);
        java.io.PrintWriter v15 = v9_0;
        java.util.ListResourceBundle v47 = com.sun.org.apache.xalan.internal.res.XSLMessages.loadResourceBundle("com.sun.org.apache.xalan.internal.res.XSLTErrorResources");
        String v22 = "s2s";
        if (p78.length >= 1) {
            int v67 = 1;
            int v24_2 = 0;
            while (v24_2 < p78.length) {
                if ("-XSLTC".equalsIgnoreCase(p78[v24_2])) {
                    v67 = 1;
                }
                v24_2++;
            }
            if (v67 != 0) {
                java.util.Properties v43 = System.getProperties();
                v43.put("javax.xml.transform.TransformerFactory", "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
                System.setProperties(v43);
            }
            try {
                int v60 = javax.xml.transform.TransformerFactory.newInstance();
                v60.setErrorListener(new com.sun.org.apache.xml.internal.utils.DefaultErrorHandler());
            } catch (javax.xml.transform.TransformerFactoryConfigurationError v42) {
                v42.printStackTrace(v15);
                String v31_7 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NOT_SUCCESSFUL", 0);
                v9_0.println(v31_7);
                v60 = 0;
                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_7);
            }
            int v66 = 0;
            String v25 = 0;
            String v38 = 0;
            String v14 = 0;
            String v72 = 0;
            String v40 = 0;
            String v30 = 0;
            java.util.Vector v41_1 = new java.util.Vector();
            javax.xml.transform.URIResolver v65 = 0;
            org.xml.sax.EntityResolver v17 = 0;
            org.xml.sax.ContentHandler v7 = 0;
            int v24_0 = 0;
            while (v24_0 < p78.length) {
                if (!"-XSLTC".equalsIgnoreCase(p78[v24_0])) {
                    if (!"-INDENT".equalsIgnoreCase(p78[v24_0])) {
                        if (!"-IN".equalsIgnoreCase(p78[v24_0])) {
                            if (!"-MEDIA".equalsIgnoreCase(p78[v24_0])) {
                                if (!"-OUT".equalsIgnoreCase(p78[v24_0])) {
                                    if (!"-XSL".equalsIgnoreCase(p78[v24_0])) {
                                        if (!"-FLAVOR".equalsIgnoreCase(p78[v24_0])) {
                                            if (!"-PARAM".equalsIgnoreCase(p78[v24_0])) {
                                                if (!"-E".equalsIgnoreCase(p78[v24_0])) {
                                                    if (!"-V".equalsIgnoreCase(p78[v24_0])) {
                                                        if (!"-Q".equalsIgnoreCase(p78[v24_0])) {
                                                            if (!"-DIAG".equalsIgnoreCase(p78[v24_0])) {
                                                                if (!"-XML".equalsIgnoreCase(p78[v24_0])) {
                                                                    if (!"-TEXT".equalsIgnoreCase(p78[v24_0])) {
                                                                        if (!"-HTML".equalsIgnoreCase(p78[v24_0])) {
                                                                            if (!"-EDUMP".equalsIgnoreCase(p78[v24_0])) {
                                                                                if (!"-URIRESOLVER".equalsIgnoreCase(p78[v24_0])) {
                                                                                    if (!"-ENTITYRESOLVER".equalsIgnoreCase(p78[v24_0])) {
                                                                                        if (!"-CONTENTHANDLER".equalsIgnoreCase(p78[v24_0])) {
                                                                                            if (!"-XO".equalsIgnoreCase(p78[v24_0])) {
                                                                                                if (!"-XD".equalsIgnoreCase(p78[v24_0])) {
                                                                                                    if (!"-XJ".equalsIgnoreCase(p78[v24_0])) {
                                                                                                        if (!"-XP".equalsIgnoreCase(p78[v24_0])) {
                                                                                                            if (!"-XN".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                if (!"-XX".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                    if (!"-XT".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                        if (!"-SECURE".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                            int v0_205 = new Object[1];
                                                                                                                            Object[] v75_28 = v0_205;
                                                                                                                            v75_28[0] = p78[v24_0];
                                                                                                                            System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_INVALID_OPTION", v75_28));
                                                                                                                        } else {
                                                                                                                            v27 = 1;
                                                                                                                            try {
                                                                                                                                v60.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                                                                                                                            } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                                                                                                            }
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        if (v67 == 0) {
                                                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XT");
                                                                                                                        } else {
                                                                                                                            v60.setAttribute("auto-translet", "true");
                                                                                                                        }
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    if (v67 == 0) {
                                                                                                                        com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XX");
                                                                                                                    } else {
                                                                                                                        v60.setAttribute("debug", "true");
                                                                                                                    }
                                                                                                                }
                                                                                                            } else {
                                                                                                                if (v67 == 0) {
                                                                                                                    com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XN");
                                                                                                                } else {
                                                                                                                    v60.setAttribute("enable-inlining", "true");
                                                                                                                }
                                                                                                            }
                                                                                                        } else {
                                                                                                            if (v67 == 0) {
                                                                                                                if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                                    v24_0++;
                                                                                                                }
                                                                                                                com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XP");
                                                                                                            } else {
                                                                                                                if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                                    int v0_222 = new Object[1];
                                                                                                                    Object[] v75_30 = v0_222;
                                                                                                                    v75_30[0] = "-XP";
                                                                                                                    System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_30));
                                                                                                                } else {
                                                                                                                    v24_0++;
                                                                                                                    v60.setAttribute("package-name", p78[v24_0]);
                                                                                                                }
                                                                                                            }
                                                                                                        }
                                                                                                    } else {
                                                                                                        if (v67 == 0) {
                                                                                                            if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                                v24_0++;
                                                                                                            }
                                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XJ");
                                                                                                        } else {
                                                                                                            if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                                int v0_234 = new Object[1];
                                                                                                                Object[] v75_32 = v0_234;
                                                                                                                v75_32[0] = "-XJ";
                                                                                                                System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_32));
                                                                                                            } else {
                                                                                                                v60.setAttribute("generate-translet", "true");
                                                                                                                v24_0++;
                                                                                                                v60.setAttribute("jar-name", p78[v24_0]);
                                                                                                            }
                                                                                                        }
                                                                                                    }
                                                                                                } else {
                                                                                                    if (v67 == 0) {
                                                                                                        if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                            v24_0++;
                                                                                                        }
                                                                                                        com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XD");
                                                                                                    } else {
                                                                                                        if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                            int v0_246 = new Object[1];
                                                                                                            Object[] v75_34 = v0_246;
                                                                                                            v75_34[0] = "-XD";
                                                                                                            System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_34));
                                                                                                        } else {
                                                                                                            v24_0++;
                                                                                                            v60.setAttribute("destination-directory", p78[v24_0]);
                                                                                                        }
                                                                                                    }
                                                                                                }
                                                                                            } else {
                                                                                                if (v67 == 0) {
                                                                                                    if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                        v24_0++;
                                                                                                    }
                                                                                                    com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XO");
                                                                                                } else {
                                                                                                    if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                        v60.setAttribute("generate-translet", "true");
                                                                                                    } else {
                                                                                                        v60.setAttribute("generate-translet", "true");
                                                                                                        v24_0++;
                                                                                                        v60.setAttribute("translet-name", p78[v24_0]);
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        } else {
                                                                                            if ((v24_0 + 1) >= p78.length) {
                                                                                                int v0_16 = new Object[1];
                                                                                                int v74_11 = v0_16;
                                                                                                v74_11[0] = "-ContentHandler";
                                                                                                String v31_0 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v74_11);
                                                                                                System.err.println(v31_0);
                                                                                                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_0);
                                                                                            } else {
                                                                                                v24_0++;
                                                                                                try {
                                                                                                    v7 = ((org.xml.sax.ContentHandler) com.sun.org.apache.xalan.internal.xslt.ObjectFactory.newInstance(p78[v24_0], com.sun.org.apache.xalan.internal.xslt.ObjectFactory.findClassLoader(), 1));
                                                                                                } catch (com.sun.org.apache.xalan.internal.xslt.ObjectFactory$ConfigurationError v6) {
                                                                                                    int v0_22 = new Object[1];
                                                                                                    int v74_14 = v0_22;
                                                                                                    v74_14[0] = "-ContentHandler";
                                                                                                    String v31_1 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CLASS_NOT_FOUND_FOR_OPTION", v74_14);
                                                                                                    System.err.println(v31_1);
                                                                                                    com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_1);
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    } else {
                                                                                        if ((v24_0 + 1) >= p78.length) {
                                                                                            int v0_28 = new Object[1];
                                                                                            int v74_17 = v0_28;
                                                                                            v74_17[0] = "-EntityResolver";
                                                                                            String v31_2 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v74_17);
                                                                                            System.err.println(v31_2);
                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_2);
                                                                                        } else {
                                                                                            v24_0++;
                                                                                            try {
                                                                                                v17 = ((org.xml.sax.EntityResolver) com.sun.org.apache.xalan.internal.xslt.ObjectFactory.newInstance(p78[v24_0], com.sun.org.apache.xalan.internal.xslt.ObjectFactory.findClassLoader(), 1));
                                                                                            } catch (com.sun.org.apache.xalan.internal.xslt.ObjectFactory$ConfigurationError v6) {
                                                                                                int v0_33 = new Object[1];
                                                                                                int v74_20 = v0_33;
                                                                                                v74_20[0] = "-EntityResolver";
                                                                                                String v31_3 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CLASS_NOT_FOUND_FOR_OPTION", v74_20);
                                                                                                System.err.println(v31_3);
                                                                                                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_3);
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    if ((v24_0 + 1) >= p78.length) {
                                                                                        int v0_40 = new Object[1];
                                                                                        int v74_23 = v0_40;
                                                                                        v74_23[0] = "-URIResolver";
                                                                                        String v31_4 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v74_23);
                                                                                        System.err.println(v31_4);
                                                                                        com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_4);
                                                                                    } else {
                                                                                        v24_0++;
                                                                                        try {
                                                                                            v65 = ((javax.xml.transform.URIResolver) com.sun.org.apache.xalan.internal.xslt.ObjectFactory.newInstance(p78[v24_0], com.sun.org.apache.xalan.internal.xslt.ObjectFactory.findClassLoader(), 1));
                                                                                            v60.setURIResolver(v65);
                                                                                        } catch (com.sun.org.apache.xalan.internal.xslt.ObjectFactory$ConfigurationError v6) {
                                                                                            int v0_47 = new Object[1];
                                                                                            int v74_26 = v0_47;
                                                                                            v74_26[0] = "-URIResolver";
                                                                                            String v31_5 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CLASS_NOT_FOUND_FOR_OPTION", v74_26);
                                                                                            System.err.println(v31_5);
                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_5);
                                                                                        }
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                v11 = 1;
                                                                                if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                    v24_0++;
                                                                                    v14 = p78[v24_0];
                                                                                }
                                                                            }
                                                                        } else {
                                                                            v40 = "html";
                                                                        }
                                                                    } else {
                                                                        v40 = "text";
                                                                    }
                                                                } else {
                                                                    v40 = "xml";
                                                                }
                                                            } else {
                                                                v10 = 1;
                                                            }
                                                        }
                                                    } else {
                                                        v9_0.println(new StringBuilder().append(v47.getString("version")).append(com.sun.org.apache.xalan.internal.Version.getVersion()).append(", ").append(v47.getString("version2")).toString());
                                                    }
                                                }
                                            } else {
                                                if ((v24_0 + 2) >= p78.length) {
                                                    int v0_61 = new Object[1];
                                                    Object[] v75_10 = v0_61;
                                                    v75_10[0] = "-PARAM";
                                                    System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_10));
                                                } else {
                                                    int v24_1 = (v24_0 + 1);
                                                    v41_1.addElement(p78[v24_1]);
                                                    v24_0 = (v24_1 + 1);
                                                    v41_1.addElement(p78[v24_0]);
                                                }
                                            }
                                        } else {
                                            if ((v24_0 + 1) >= p78.length) {
                                                int v0_69 = new Object[1];
                                                Object[] v75_12 = v0_69;
                                                v75_12[0] = "-FLAVOR";
                                                System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_12));
                                            } else {
                                                v24_0++;
                                                v22 = p78[v24_0];
                                            }
                                        }
                                    } else {
                                        if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                            int v0_75 = new Object[1];
                                            Object[] v75_14 = v0_75;
                                            v75_14[0] = "-XSL";
                                            System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_14));
                                        } else {
                                            v24_0++;
                                            v72 = p78[v24_0];
                                        }
                                    }
                                } else {
                                    if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                        int v0_81 = new Object[1];
                                        Object[] v75_16 = v0_81;
                                        v75_16[0] = "-OUT";
                                        System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_16));
                                    } else {
                                        v24_0++;
                                        v38 = p78[v24_0];
                                    }
                                }
                            } else {
                                if ((v24_0 + 1) >= p78.length) {
                                    int v0_87 = new Object[1];
                                    Object[] v75_18 = v0_87;
                                    v75_18[0] = "-MEDIA";
                                    System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_18));
                                } else {
                                    v24_0++;
                                    v30 = p78[v24_0];
                                }
                            }
                        } else {
                            if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                int v0_94 = new Object[1];
                                Object[] v75_20 = v0_94;
                                v75_20[0] = "-IN";
                                System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_20));
                            } else {
                                v24_0++;
                                v25 = p78[v24_0];
                            }
                        }
                    } else {
                        if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                            v24_0++;
                            Integer.parseInt(p78[v24_0]);
                        }
                    }
                }
                v24_0++;
            }
            if ((v25 == null) && (v72 == null)) {
                String v31_9 = v47.getString("xslProc_no_input");
                System.err.println(v31_9);
                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_9);
            }
            try {
                long v54 = System.currentTimeMillis();
            } catch (Exception v62_0) {
            }
            if (v14 != null) {
                java.io.PrintWriter v16 = new java.io.PrintWriter;
                javax.xml.transform.TransformerConfigurationException v73_251 = new java.io.FileWriter;
                v73_251(v14);
                v16(v73_251);
                v15 = v16;
            }
            javax.xml.transform.Templates v59 = 0;
            if (v72 != null) {
                if (!v22.equals("d2d")) {
                    javax.xml.transform.TransformerConfigurationException v73_25 = new javax.xml.transform.stream.StreamSource;
                    v73_25(v72);
                    v59 = v60.newTemplates(v73_25);
                } else {
                    javax.xml.parsers.DocumentBuilderFactory v8_0 = javax.xml.parsers.DocumentBuilderFactory.newInstance();
                    v8_0.setNamespaceAware(1);
                    if (v27 != 0) {
                        try {
                            v8_0.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                        } catch (javax.xml.transform.TransformerConfigurationException v73) {
                        }
                    }
                    javax.xml.parsers.DocumentBuilder v13_0 = v8_0.newDocumentBuilder();
                    javax.xml.transform.TransformerConfigurationException v73_64 = new org.xml.sax.InputSource;
                    v73_64(v72);
                    javax.xml.transform.TransformerConfigurationException v73_73 = new javax.xml.transform.dom.DOMSource;
                    v73_73(v13_0.parse(v73_64), v72);
                    v59 = v60.newTemplates(v73_73);
                }
            }
            javax.xml.transform.stream.StreamResult v58;
            if (v38 == null) {
                v58 = new javax.xml.transform.stream.StreamResult;
                v58(System.out);
            } else {
                v58 = new javax.xml.transform.stream.StreamResult;
                javax.xml.transform.TransformerConfigurationException v73_81 = new java.io.FileOutputStream;
                v73_81(v38);
                v58(v73_81);
                v58.setSystemId(v38);
            }
            javax.xml.transform.sax.SAXTransformerFactory v53 = ((javax.xml.transform.sax.SAXTransformerFactory) v60);
            if (v59 == null) {
                javax.xml.transform.TransformerConfigurationException v73_82 = new javax.xml.transform.stream.StreamSource;
                v73_82(v25);
                javax.xml.transform.Source v52 = v53.getAssociatedStylesheet(v73_82, v30, 0, 0);
                if (v52 == null) {
                    if (v30 == null) {
                        int v0_112 = new Object[1];
                        Object[] v75_23 = v0_112;
                        v75_23[0] = v25;
                        throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NO_STYLESHEET_PI", v75_23));
                    } else {
                        int v0_115 = new Object[2];
                        Object[] v75_25 = v0_115;
                        v75_25[0] = v25;
                        v75_25[1] = v30;
                        throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NO_STYLESHEET_IN_MEDIA", v75_25));
                    }
                } else {
                    v59 = v60.newTemplates(v52);
                }
            }
            if (v59 == null) {
                String v31_6 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NOT_SUCCESSFUL", 0);
                v9_0.println(v31_6);
                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_6);
            } else {
                javax.xml.transform.Transformer v63;
                if (!v22.equals("th")) {
                    v63 = v59.newTransformer();
                } else {
                    v63 = 0;
                }
                v63.setErrorListener(new com.sun.org.apache.xml.internal.utils.DefaultErrorHandler());
                if (v40 != null) {
                    v63.setOutputProperty("method", v40);
                }
                int v35 = v41_1.size();
                int v24_3 = 0;
                while (v24_3 < v35) {
                    v63.setParameter(((String) v41_1.elementAt(v24_3)), ((String) v41_1.elementAt((v24_3 + 1))));
                    v24_3 += 2;
                }
                if (v65 != null) {
                    v63.setURIResolver(v65);
                }
                if (v25 == null) {
                    org.xml.sax.XMLReader v45_0 = new java.io.StringReader;
                    v45_0("<?xml version=\"1.0\"?> <doc/>");
                    javax.xml.transform.TransformerConfigurationException v73_95 = new javax.xml.transform.stream.StreamSource;
                    v73_95(v45_0);
                    v63.transform(v73_95, v58);
                } else {
                    if (!v22.equals("d2d")) {
                        if (!v22.equals("th")) {
                            if (v17 == null) {
                                if (v7 == null) {
                                    javax.xml.transform.TransformerConfigurationException v73_101 = new javax.xml.transform.stream.StreamSource;
                                    v73_101(v25);
                                    v63.transform(v73_101, v58);
                                } else {
                                    javax.xml.transform.sax.SAXResult v48_0 = new javax.xml.transform.sax.SAXResult;
                                    v48_0(v7);
                                    javax.xml.transform.TransformerConfigurationException v73_102 = new javax.xml.transform.stream.StreamSource;
                                    v73_102(v25);
                                    v63.transform(v73_102, v48_0);
                                }
                            } else {
                                org.xml.sax.XMLReader v45_1 = 0;
                                try {
                                    javax.xml.parsers.SAXParserFactory v21_0 = javax.xml.parsers.SAXParserFactory.newInstance();
                                    v21_0.setNamespaceAware(1);
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    if (v45_1 == null) {
                                        v45_1 = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();
                                    }
                                    v45_1.setEntityResolver(v17);
                                    if (v7 == null) {
                                        javax.xml.transform.TransformerConfigurationException v73_108 = new javax.xml.transform.sax.SAXSource;
                                        int v74_74 = new org.xml.sax.InputSource;
                                        v74_74(v25);
                                        v73_108(v45_1, v74_74);
                                        v63.transform(v73_108, v58);
                                    } else {
                                        javax.xml.transform.sax.SAXResult v48_1 = new javax.xml.transform.sax.SAXResult;
                                        v48_1(v7);
                                        javax.xml.transform.TransformerConfigurationException v73_109 = new javax.xml.transform.sax.SAXSource;
                                        int v74_75 = new org.xml.sax.InputSource;
                                        v74_75(v25);
                                        v73_109(v45_1, v74_75);
                                        v63.transform(v73_109, v48_1);
                                    }
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                }
                                if (v27 != 0) {
                                    try {
                                        v21_0.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    }
                                }
                                v45_1 = v21_0.newSAXParser().getXMLReader();
                            }
                        } else {
                            int v24_4 = 0;
                            while (v24_4 < 1) {
                                org.xml.sax.XMLReader v45_2 = 0;
                                try {
                                    javax.xml.parsers.SAXParserFactory v21_1 = javax.xml.parsers.SAXParserFactory.newInstance();
                                    v21_1.setNamespaceAware(1);
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    if (v45_2 == null) {
                                        v45_2 = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();
                                    }
                                    javax.xml.transform.sax.TransformerHandler v61 = v53.newTransformerHandler(v59);
                                    v45_2.setContentHandler(v61);
                                    v45_2.setDTDHandler(v61);
                                    if ((v61 instanceof org.xml.sax.ErrorHandler)) {
                                        v45_2.setErrorHandler(((org.xml.sax.ErrorHandler) v61));
                                    }
                                    try {
                                        v45_2.setProperty("http://xml.org/sax/properties/lexical-handler", v61);
                                        try {
                                            v45_2.setFeature("http://xml.org/sax/features/namespace-prefixes", 1);
                                        } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                        }
                                        v61.setResult(v58);
                                        javax.xml.transform.TransformerConfigurationException v73_122 = new org.xml.sax.InputSource;
                                        v73_122(v25);
                                        v45_2.parse(v73_122);
                                        v24_4++;
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    }
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                }
                                if (v27 != 0) {
                                    try {
                                        v21_1.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    }
                                }
                                v45_2 = v21_1.newSAXParser().getXMLReader();
                            }
                        }
                    } else {
                        javax.xml.parsers.DocumentBuilderFactory v8_1 = javax.xml.parsers.DocumentBuilderFactory.newInstance();
                        v8_1.setCoalescing(1);
                        v8_1.setNamespaceAware(1);
                        if (v27 != 0) {
                            try {
                                v8_1.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                            } catch (javax.xml.transform.TransformerConfigurationException v73) {
                            }
                        }
                        javax.xml.parsers.DocumentBuilder v13_1 = v8_1.newDocumentBuilder();
                        if (v17 != null) {
                            v13_1.setEntityResolver(v17);
                        }
                        javax.xml.transform.TransformerConfigurationException v73_126 = new org.xml.sax.InputSource;
                        v73_126(v25);
                        org.w3c.dom.Document v70 = v13_1.parse(v73_126);
                        org.w3c.dom.DocumentFragment v39 = v13_1.newDocument().createDocumentFragment();
                        javax.xml.transform.TransformerConfigurationException v73_127 = new javax.xml.transform.dom.DOMSource;
                        v73_127(v70, v25);
                        int v74_80 = new javax.xml.transform.dom.DOMResult;
                        v74_80(v39);
                        v63.transform(v73_127, v74_80);
                        javax.xml.transform.Transformer v50 = v53.newTransformer();
                        v50.setErrorListener(new com.sun.org.apache.xml.internal.utils.DefaultErrorHandler());
                        v50.setOutputProperties(v59.getOutputProperties());
                        if (v7 == null) {
                            javax.xml.transform.TransformerConfigurationException v73_131 = new javax.xml.transform.dom.DOMSource;
                            v73_131(v39);
                            v50.transform(v73_131, v58);
                        } else {
                            javax.xml.transform.sax.SAXResult v48_2 = new javax.xml.transform.sax.SAXResult;
                            v48_2(v7);
                            javax.xml.transform.TransformerConfigurationException v73_132 = new javax.xml.transform.dom.DOMSource;
                            v73_132(v39);
                            v50.transform(v73_132, v48_2);
                        }
                    }
                }
            }
            if ((v38 != null) && (v58 != null)) {
                java.io.OutputStream v37 = v58.getOutputStream();
                java.io.Writer v69 = v58.getWriter();
                try {
                    if (v37 != null) {
                        v37.close();
                    }
                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                }
                if (v69 != null) {
                    v69.close();
                }
            }
            long v32 = (System.currentTimeMillis() - v54);
            if (v10 == 0) {
                if (v14 != null) {
                    v15.close();
                }
                // Both branches of the condition point to the same code.
                // if (v9_0 == null) {
                // }
            } else {
                int v0_185 = new Object[3];
                Object[] v34 = v0_185;
                v34[0] = v25;
                v34[1] = v72;
                int v74_82 = new Long;
                v74_82(v32);
                v34[2] = v74_82;
                String v31_8 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("diagTiming", v34);
                v9_0.println(10);
                v9_0.println(v31_8);
            }
        } else {
            com.sun.org.apache.xalan.internal.xslt.Process.printArgOptions(v47);
        }
        return;
    }

Method com.sun.org.apache.xalan.internal.transformer.TransformerImpl.createSerializationHandler() calling method java.io.FileOutputStream.<init>()


    public com.sun.org.apache.xml.internal.serializer.SerializationHandler createSerializationHandler(javax.xml.transform.Result p27, com.sun.org.apache.xalan.internal.templates.OutputProperties p28)
    {
        com.sun.org.apache.xml.internal.serializer.SerializationHandler v20;
        if (!(p27 instanceof javax.xml.transform.dom.DOMResult)) {
            if (!(p27 instanceof javax.xml.transform.sax.SAXResult)) {
                if (!(p27 instanceof javax.xml.transform.stream.StreamResult)) {
                    int v0_20 = new Object[1];
                    int v23_1 = v0_20;
                    v23_1[0] = p27.getClass().getName();
                    throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CANNOT_TRANSFORM_TO_RESULT_TYPE", v23_1));
                } else {
                    p28.getProperty("method");
                    try {
                        com.sun.org.apache.xml.internal.serializer.SerializationHandler v13_1 = ((com.sun.org.apache.xml.internal.serializer.SerializationHandler) com.sun.org.apache.xml.internal.serializer.SerializerFactory.getSerializer(p28.getProperties()));
                    } catch (java.io.IOException v6) {
                        int v21_5 = new javax.xml.transform.TransformerException;
                        v21_5(v6);
                        throw v21_5;
                    }
                    if (((javax.xml.transform.stream.StreamResult) p27).getWriter() == null) {
                        if (((javax.xml.transform.stream.StreamResult) p27).getOutputStream() == null) {
                            if (((javax.xml.transform.stream.StreamResult) p27).getSystemId() == null) {
                                throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NO_OUTPUT_SPECIFIED", 0));
                            } else {
                                String v4 = ((javax.xml.transform.stream.StreamResult) p27).getSystemId();
                                if (!v4.startsWith("file:///")) {
                                    if (v4.startsWith("file:/")) {
                                        if (v4.substring(6).indexOf(":") <= 0) {
                                            v4 = v4.substring(5);
                                        } else {
                                            v4 = v4.substring(6);
                                        }
                                    }
                                } else {
                                    if (v4.substring(8).indexOf(":") <= 0) {
                                        v4 = v4.substring(7);
                                    } else {
                                        v4 = v4.substring(8);
                                    }
                                }
                                int v21_0 = new java.io.FileOutputStream;
                                v21_0(v4);
                                this.m_outputStream = v21_0;
                                v13_1.setOutputStream(this.m_outputStream);
                            }
                        } else {
                            v13_1.setOutputStream(((javax.xml.transform.stream.StreamResult) p27).getOutputStream());
                        }
                    } else {
                        v13_1.setWriter(((javax.xml.transform.stream.StreamResult) p27).getWriter());
                    }
                    v20 = v13_1;
                }
            } else {
                com.sun.org.apache.xalan.internal.transformer.TransformerClient v5_0 = ((javax.xml.transform.sax.SAXResult) p27).getHandler();
                if (v5_0 != null) {
                    int v8_0;
                    if (!(v5_0 instanceof org.xml.sax.ext.LexicalHandler)) {
                        v8_0 = 0;
                    } else {
                        v8_0 = ((org.xml.sax.ext.LexicalHandler) v5_0);
                    }
                    String v3_0 = p28.getProperty("encoding");
                    String v9 = p28.getProperty("method");
                    if (!"html".equals(v9)) {
                        if (!"text".equals(v9)) {
                            com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler v18 = new com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler;
                            v18(v5_0, v8_0, v3_0);
                            v18.setShouldOutputNSAttr(0);
                            v20 = v18;
                        } else {
                            v20 = new com.sun.org.apache.xml.internal.serializer.ToTextSAXHandler;
                            v20(v5_0, v8_0, v3_0);
                        }
                    } else {
                        v20 = new com.sun.org.apache.xml.internal.serializer.ToHTMLSAXHandler;
                        v20(v5_0, v8_0, v3_0);
                    }
                    String v12 = p28.getProperty("doctype-public");
                    String v17 = p28.getProperty("doctype-system");
                    if (v17 != null) {
                        v20.setDoctypeSystem(v17);
                    }
                    if (v12 != null) {
                        v20.setDoctypePublic(v12);
                    }
                    if ((v5_0 instanceof com.sun.org.apache.xalan.internal.transformer.TransformerClient)) {
                        com.sun.org.apache.xalan.internal.transformer.XalanTransformState v16_1 = new com.sun.org.apache.xalan.internal.transformer.XalanTransformState();
                        ((com.sun.org.apache.xalan.internal.transformer.TransformerClient) v5_0).setTransformState(v16_1);
                        ((com.sun.org.apache.xml.internal.serializer.ToSAXHandler) v20).setTransformState(v16_1);
                    }
                } else {
                    throw new IllegalArgumentException("handler can not be null for a SAXResult");
                }
            }
        } else {
            short v19;
            org.w3c.dom.Document v2;
            org.w3c.dom.Document v11 = ((javax.xml.transform.dom.DOMResult) p27).getNode();
            org.w3c.dom.Node v10 = ((javax.xml.transform.dom.DOMResult) p27).getNextSibling();
            if (v11 == null) {
                v2 = com.sun.org.apache.xml.internal.utils.DOMHelper.createDocument(this.m_stylesheetRoot.isSecureProcessing());
                v11 = v2;
                v19 = v11.getNodeType();
                ((javax.xml.transform.dom.DOMResult) p27).setNode(v11);
            } else {
                v19 = v11.getNodeType();
                if (9 != v19) {
                    v2 = v11.getOwnerDocument();
                } else {
                    v2 = ((org.w3c.dom.Document) v11);
                }
            }
            com.sun.org.apache.xalan.internal.transformer.TransformerClient v5_3;
            if (11 != v19) {
                v5_3 = new com.sun.org.apache.xml.internal.utils.DOMBuilder(v2, v11);
            } else {
                v5_3 = new com.sun.org.apache.xml.internal.utils.DOMBuilder(v2, ((org.w3c.dom.DocumentFragment) v11));
            }
            if (v10 != null) {
                v5_3.setNextSibling(v10);
            }
            v20 = new com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler;
            v20(v5_3, v5_3, p28.getProperty("encoding"));
        }
        v20.setTransformer(this);
        v20.setSourceLocator(this.getStylesheet());
        return v20;
    }

Method com.sun.org.apache.xalan.internal.transformer.TransformerIdentityImpl.createResultContentHandler() calling method java.io.FileOutputStream.<init>()


    private void createResultContentHandler(javax.xml.transform.Result p23)
    {
        if (!(p23 instanceof javax.xml.transform.sax.SAXResult)) {
            if (!(p23 instanceof javax.xml.transform.dom.DOMResult)) {
                if (!(p23 instanceof javax.xml.transform.stream.StreamResult)) {
                    int v0_17 = new Object[1];
                    int v19_1 = v0_17;
                    v19_1[0] = p23.getClass().getName();
                    throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CANNOT_TRANSFORM_TO_RESULT_TYPE", v19_1));
                } else {
                    this.m_outputFormat.getProperty("method");
                    try {
                        com.sun.org.apache.xml.internal.serializer.Serializer v14 = com.sun.org.apache.xml.internal.serializer.SerializerFactory.getSerializer(this.m_outputFormat.getProperties());
                        this.m_serializer = v14;
                    } catch (java.io.IOException v8) {
                        int v17_7 = new javax.xml.transform.TransformerException;
                        v17_7(v8);
                        throw v17_7;
                    }
                    if (((javax.xml.transform.stream.StreamResult) p23).getWriter() == null) {
                        if (((javax.xml.transform.stream.StreamResult) p23).getOutputStream() == null) {
                            if (((javax.xml.transform.stream.StreamResult) p23).getSystemId() == null) {
                                throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NO_OUTPUT_SPECIFIED", 0));
                            } else {
                                String v7 = ((javax.xml.transform.stream.StreamResult) p23).getSystemId();
                                if (!v7.startsWith("file:///")) {
                                    if (v7.startsWith("file:/")) {
                                        if (v7.substring(6).indexOf(":") <= 0) {
                                            v7 = v7.substring(5);
                                        } else {
                                            v7 = v7.substring(6);
                                        }
                                    }
                                } else {
                                    if (v7.substring(8).indexOf(":") <= 0) {
                                        v7 = v7.substring(7);
                                    } else {
                                        v7 = v7.substring(8);
                                    }
                                }
                                int v17_2 = new java.io.FileOutputStream;
                                v17_2(v7);
                                this.m_outputStream = v17_2;
                                v14.setOutputStream(this.m_outputStream);
                            }
                        } else {
                            v14.setOutputStream(((javax.xml.transform.stream.StreamResult) p23).getOutputStream());
                        }
                    } else {
                        v14.setWriter(((javax.xml.transform.stream.StreamResult) p23).getWriter());
                    }
                    this.m_resultContentHandler = v14.asContentHandler();
                }
            } else {
                org.w3c.dom.Document v4;
                short v16;
                org.w3c.dom.DocumentFragment v11_0 = ((javax.xml.transform.dom.DOMResult) p23).getNode();
                org.w3c.dom.Node v10 = ((javax.xml.transform.dom.DOMResult) p23).getNextSibling();
                if (v11_0 == null) {
                    try {
                        javax.xml.parsers.DocumentBuilderFactory v3 = javax.xml.parsers.DocumentBuilderFactory.newInstance();
                        v3.setNamespaceAware(1);
                    } catch (javax.xml.parsers.ParserConfigurationException v12) {
                        int v17_12 = new javax.xml.transform.TransformerException;
                        v17_12(v12);
                        throw v17_12;
                    }
                    if (this.m_isSecureProcessing) {
                        try {
                            v3.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                        } catch (int v17) {
                        }
                    }
                    v4 = v3.newDocumentBuilder().newDocument();
                    v11_0 = v4;
                    v16 = v11_0.getNodeType();
                    ((javax.xml.transform.dom.DOMResult) p23).setNode(v11_0);
                } else {
                    v16 = v11_0.getNodeType();
                    if (9 != v16) {
                        v4 = v11_0.getOwnerDocument();
                    } else {
                        v4 = ((org.w3c.dom.Document) v11_0);
                    }
                }
                com.sun.org.apache.xml.internal.utils.DOMBuilder v5_1;
                if (11 != v16) {
                    v5_1 = new com.sun.org.apache.xml.internal.utils.DOMBuilder(v4, v11_0);
                } else {
                    v5_1 = new com.sun.org.apache.xml.internal.utils.DOMBuilder(v4, ((org.w3c.dom.DocumentFragment) v11_0));
                }
                if (v10 != null) {
                    v5_1.setNextSibling(v10);
                }
                this.m_resultContentHandler = v5_1;
                this.m_resultLexicalHandler = v5_1;
            }
        } else {
            this.m_resultContentHandler = ((javax.xml.transform.sax.SAXResult) p23).getHandler();
            this.m_resultLexicalHandler = ((javax.xml.transform.sax.SAXResult) p23).getLexicalHandler();
            if ((this.m_resultContentHandler instanceof com.sun.org.apache.xml.internal.serializer.Serializer)) {
                this.m_serializer = ((com.sun.org.apache.xml.internal.serializer.Serializer) this.m_resultContentHandler);
            }
        }
        if ((this.m_resultContentHandler instanceof org.xml.sax.DTDHandler)) {
            this.m_resultDTDHandler = ((org.xml.sax.DTDHandler) this.m_resultContentHandler);
        }
        if ((this.m_resultContentHandler instanceof org.xml.sax.ext.DeclHandler)) {
            this.m_resultDeclHandler = ((org.xml.sax.ext.DeclHandler) this.m_resultContentHandler);
        }
        if ((this.m_resultContentHandler instanceof org.xml.sax.ext.LexicalHandler)) {
            this.m_resultLexicalHandler = ((org.xml.sax.ext.LexicalHandler) this.m_resultContentHandler);
        }
        return;
    }

Method com.sun.org.apache.xalan.internal.lib.sql.DTMDocument.dumpDTM() calling method java.io.FileOutputStream.<init>()


    public void dumpDTM()
    {
        try {
            java.io.File v2_1 = new java.io.File("DTMDump.txt");
            System.err.println(new StringBuilder().append("Dumping... ").append(v2_1.getAbsolutePath()).toString());
            java.io.PrintStream v11_1 = new java.io.PrintStream(new java.io.FileOutputStream(v2_1));
        } catch (java.io.IOException v5) {
            v5.printStackTrace(System.err);
            throw new RuntimeException(v5.getMessage());
        }
        while (this.nextNode()) {
        }
        int v7 = this.m_size;
        v11_1.println(new StringBuilder().append("Total nodes: ").append(v7).toString());
        int v4 = 0;
        while (v4 < v7) {
            String v13;
            v11_1.println(new StringBuilder().append("=========== ").append(v4).append(" ===========").toString());
            v11_1.println(new StringBuilder().append("NodeName: ").append(this.getNodeName(this.makeNodeHandle(v4))).toString());
            v11_1.println(new StringBuilder().append("NodeNameX: ").append(this.getNodeNameX(this.makeNodeHandle(v4))).toString());
            v11_1.println(new StringBuilder().append("LocalName: ").append(this.getLocalName(this.makeNodeHandle(v4))).toString());
            v11_1.println(new StringBuilder().append("NamespaceURI: ").append(this.getNamespaceURI(this.makeNodeHandle(v4))).toString());
            v11_1.println(new StringBuilder().append("Prefix: ").append(this.getPrefix(this.makeNodeHandle(v4))).toString());
            v11_1.println(new StringBuilder().append("Expanded Type ID: ").append(Integer.toHexString(this.getExpandedTypeID(this.makeNodeHandle(v4)))).toString());
            switch (this.getNodeType(this.makeNodeHandle(v4))) {
                case -1:
                    v13 = "NULL";
                    break;
                case 0:
                default:
                    v13 = "Unknown!";
                    break;
                case 1:
                    v13 = "ELEMENT_NODE";
                    break;
                case 2:
                    v13 = "ATTRIBUTE_NODE";
                    break;
                case 3:
                    v13 = "TEXT_NODE";
                    break;
                case 4:
                    v13 = "CDATA_SECTION_NODE";
                    break;
                case 5:
                    v13 = "ENTITY_REFERENCE_NODE";
                    break;
                case 6:
                    v13 = "ENTITY_NODE";
                    break;
                case 7:
                    v13 = "PROCESSING_INSTRUCTION_NODE";
                    break;
                case 8:
                    v13 = "COMMENT_NODE";
                    break;
                case 9:
                    v13 = "DOCUMENT_NODE";
                    break;
                case 10:
                    v13 = "DOCUMENT_NODE";
                    break;
                case 11:
                    v13 = "DOCUMENT_FRAGMENT_NODE";
                    break;
                case 12:
                    v13 = "NOTATION_NODE";
                    break;
                case 13:
                    v13 = "NAMESPACE_NODE";
                    break;
            }
            v11_1.println(new StringBuilder().append("Type: ").append(v13).toString());
            int v3 = this._firstch(v4);
            if (-1 != v3) {
                if (-2 != v3) {
                    v11_1.println(new StringBuilder().append("First child: ").append(v3).toString());
                } else {
                    v11_1.println("First child: NOTPROCESSED");
                }
            } else {
                v11_1.println("First child: DTM.NULL");
            }
            int v10 = this._prevsib(v4);
            if (-1 != v10) {
                if (-2 != v10) {
                    v11_1.println(new StringBuilder().append("Prev sibling: ").append(v10).toString());
                } else {
                    v11_1.println("Prev sibling: NOTPROCESSED");
                }
            } else {
                v11_1.println("Prev sibling: DTM.NULL");
            }
            int v8 = this._nextsib(v4);
            if (-1 != v8) {
                if (-2 != v8) {
                    v11_1.println(new StringBuilder().append("Next sibling: ").append(v8).toString());
                } else {
                    v11_1.println("Next sibling: NOTPROCESSED");
                }
            } else {
                v11_1.println("Next sibling: DTM.NULL");
            }
            int v9 = this._parent(v4);
            if (-1 != v9) {
                if (-2 != v9) {
                    v11_1.println(new StringBuilder().append("Parent: ").append(v9).toString());
                } else {
                    v11_1.println("Parent: NOTPROCESSED");
                }
            } else {
                v11_1.println("Parent: DTM.NULL");
            }
            v11_1.println(new StringBuilder().append("Level: ").append(this._level(v4)).toString());
            v11_1.println(new StringBuilder().append("Node Value: ").append(this.getNodeValue(v4)).toString());
            v11_1.println(new StringBuilder().append("String Value: ").append(this.getStringValue(v4)).toString());
            v11_1.println(new StringBuilder().append("First Attribute Node: ").append(this.m_attribute.elementAt(v4)).toString());
            v4++;
        }
        return;
    }

Method com.sun.org.apache.xml.internal.dtm.ref.DTMDefaultBase.dumpDTM() calling method java.io.FileOutputStream.<init>()


    public void dumpDTM(java.io.OutputStream p20)
    {
        try {
            if (p20 == null) {
                java.io.File v2_1 = new java.io.File(new StringBuilder().append("DTMDump").append(this.hashCode()).append(".txt").toString());
                System.err.println(new StringBuilder().append("Dumping... ").append(v2_1.getAbsolutePath()).toString());
                p20 = new java.io.FileOutputStream(v2_1);
            }
        } catch (java.io.IOException v6) {
            v6.printStackTrace(System.err);
            throw new RuntimeException(v6.getMessage());
        }
        java.io.PrintStream v13_1 = new java.io.PrintStream(p20);
        while (this.nextNode()) {
        }
        int v8 = this.m_size;
        v13_1.println(new StringBuilder().append("Total nodes: ").append(v8).toString());
        int v5 = 0;
        while (v5 < v8) {
            String v15;
            int v4 = this.makeNodeHandle(v5);
            v13_1.println(new StringBuilder().append("=========== index=").append(v5).append(" handle=").append(v4).append(" ===========").toString());
            v13_1.println(new StringBuilder().append("NodeName: ").append(this.getNodeName(v4)).toString());
            v13_1.println(new StringBuilder().append("NodeNameX: ").append(this.getNodeNameX(v4)).toString());
            v13_1.println(new StringBuilder().append("LocalName: ").append(this.getLocalName(v4)).toString());
            v13_1.println(new StringBuilder().append("NamespaceURI: ").append(this.getNamespaceURI(v4)).toString());
            v13_1.println(new StringBuilder().append("Prefix: ").append(this.getPrefix(v4)).toString());
            v13_1.println(new StringBuilder().append("Expanded Type ID: ").append(Integer.toHexString(this._exptype(v5))).toString());
            switch (this._type(v5)) {
                case -1:
                    v15 = "NULL";
                    break;
                case 0:
                default:
                    v15 = "Unknown!";
                    break;
                case 1:
                    v15 = "ELEMENT_NODE";
                    break;
                case 2:
                    v15 = "ATTRIBUTE_NODE";
                    break;
                case 3:
                    v15 = "TEXT_NODE";
                    break;
                case 4:
                    v15 = "CDATA_SECTION_NODE";
                    break;
                case 5:
                    v15 = "ENTITY_REFERENCE_NODE";
                    break;
                case 6:
                    v15 = "ENTITY_NODE";
                    break;
                case 7:
                    v15 = "PROCESSING_INSTRUCTION_NODE";
                    break;
                case 8:
                    v15 = "COMMENT_NODE";
                    break;
                case 9:
                    v15 = "DOCUMENT_NODE";
                    break;
                case 10:
                    v15 = "DOCUMENT_NODE";
                    break;
                case 11:
                    v15 = "DOCUMENT_FRAGMENT_NODE";
                    break;
                case 12:
                    v15 = "NOTATION_NODE";
                    break;
                case 13:
                    v15 = "NAMESPACE_NODE";
                    break;
            }
            v13_1.println(new StringBuilder().append("Type: ").append(v15).toString());
            int v3 = this._firstch(v5);
            if (-1 != v3) {
                if (-2 != v3) {
                    v13_1.println(new StringBuilder().append("First child: ").append(v3).toString());
                } else {
                    v13_1.println("First child: NOTPROCESSED");
                }
            } else {
                v13_1.println("First child: DTM.NULL");
            }
            if (this.m_prevsib != null) {
                int v12 = this._prevsib(v5);
                if (-1 != v12) {
                    if (-2 != v12) {
                        v13_1.println(new StringBuilder().append("Prev sibling: ").append(v12).toString());
                    } else {
                        v13_1.println("Prev sibling: NOTPROCESSED");
                    }
                } else {
                    v13_1.println("Prev sibling: DTM.NULL");
                }
            }
            int v9 = this._nextsib(v5);
            if (-1 != v9) {
                if (-2 != v9) {
                    v13_1.println(new StringBuilder().append("Next sibling: ").append(v9).toString());
                } else {
                    v13_1.println("Next sibling: NOTPROCESSED");
                }
            } else {
                v13_1.println("Next sibling: DTM.NULL");
            }
            int v11 = this._parent(v5);
            if (-1 != v11) {
                if (-2 != v11) {
                    v13_1.println(new StringBuilder().append("Parent: ").append(v11).toString());
                } else {
                    v13_1.println("Parent: NOTPROCESSED");
                }
            } else {
                v13_1.println("Parent: DTM.NULL");
            }
            v13_1.println(new StringBuilder().append("Level: ").append(this._level(v5)).toString());
            v13_1.println(new StringBuilder().append("Node Value: ").append(this.getNodeValue(v4)).toString());
            v13_1.println(new StringBuilder().append("String Value: ").append(this.getStringValue(v4)).toString());
            v5++;
        }
        return;
    }

Method com.sun.org.apache.xalan.internal.lib.Redirect.makeFormatterListener() calling method java.io.FileOutputStream.<init>()


    private org.xml.sax.ContentHandler makeFormatterListener(com.sun.org.apache.xalan.internal.extensions.XSLProcessorContext p15, com.sun.org.apache.xalan.internal.templates.ElemExtensionCall p16, String p17, boolean p18, boolean p19, boolean p20)
    {
        java.io.File v5_1 = new java.io.File(p17);
        com.sun.org.apache.xalan.internal.transformer.TransformerImpl v12 = p15.getTransformer();
        if (!v5_1.isAbsolute()) {
            String v1_1;
            javax.xml.transform.Result v9 = v12.getOutputTarget();
            if (v9 == null) {
                v1_1 = this.urlToFileName(v12.getBaseURLOfSource());
            } else {
                String v1_0 = v9.getSystemId();
                if (v1_0 == null) {
                } else {
                    v1_1 = this.urlToFileName(v1_0);
                }
            }
            if (v1_1 != null) {
                v5_1 = new java.io.File(new java.io.File(v1_1).getParent(), p17);
            }
        }
        if (p19) {
            String v4 = v5_1.getParent();
            if ((v4 != null) && (v4.length() > 0)) {
                new java.io.File(v4).mkdirs();
            }
        }
        com.sun.org.apache.xalan.internal.templates.OutputProperties v7 = v12.getOutputFormat();
        java.io.FileOutputStream v8_1 = new java.io.FileOutputStream(v5_1.getPath(), p20);
        try {
            com.sun.org.apache.xml.internal.serializer.SerializationHandler v6 = this.createSerializationHandler(v12, v8_1, v5_1, v7);
            try {
                v6.startDocument();
            } catch (org.xml.sax.SAXException v10) {
                throw new javax.xml.transform.TransformerException(v10);
            }
            if (p18) {
                this.m_outputStreams.put(p17, v8_1);
                this.m_formatterListeners.put(p17, v6);
            }
            return v6;
        } catch (javax.xml.transform.TransformerException v11) {
            throw new javax.xml.transform.TransformerException(v11);
        }
    }

Method com.sun.org.apache.xalan.internal.lib.PipeDocument.usePipe() calling method java.io.FileOutputStream.<init>()


    public void usePipe(java.util.Vector p13, String p14, String p15)
    {
        org.xml.sax.XMLReader v3 = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();
        javax.xml.transform.sax.TransformerHandler v5_1 = ((javax.xml.transform.sax.TransformerHandler) p13.firstElement());
        v3.setContentHandler(v5_1);
        v3.setProperty("http://xml.org/sax/properties/lexical-handler", v5_1);
        int v0 = 1;
        while (v0 < p13.size()) {
            ((javax.xml.transform.sax.TransformerHandler) p13.elementAt((v0 - 1))).setResult(new javax.xml.transform.sax.SAXResult(((javax.xml.transform.sax.TransformerHandler) p13.elementAt(v0))));
            v0++;
        }
        javax.xml.transform.sax.TransformerHandler v7_1 = ((javax.xml.transform.sax.TransformerHandler) p13.lastElement());
        com.sun.org.apache.xml.internal.serializer.Serializer v4 = com.sun.org.apache.xml.internal.serializer.SerializerFactory.getSerializer(v7_1.getTransformer().getOutputProperties());
        java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p15);
        try {
            v4.setOutputStream(v1_1);
            v7_1.setResult(new javax.xml.transform.sax.SAXResult(v4.asContentHandler()));
            v3.parse(p14);
        } catch (Throwable v10_3) {
            if (v1_1 != null) {
                v1_1.close();
            }
            throw v10_3;
        }
        if (v1_1 != null) {
            v1_1.close();
        }
        return;
    }

Method com.sun.org.apache.bcel.internal.util.MethodHTML.<init>() calling method java.io.FileOutputStream.<init>()


    MethodHTML(String p6, String p7, com.sun.org.apache.bcel.internal.classfile.Method[] p8, com.sun.org.apache.bcel.internal.classfile.Field[] p9, com.sun.org.apache.bcel.internal.util.ConstantHTML p10, com.sun.org.apache.bcel.internal.util.AttributeHTML p11)
    {
        this.class_name = p7;
        this.attribute_html = p11;
        this.constant_html = p10;
        this.file = new java.io.PrintWriter(new java.io.FileOutputStream(new StringBuilder().append(p6).append(p7).append("_methods.html").toString()));
        this.file.println("<HTML><BODY BGCOLOR=\"#C0C0C0\"><TABLE BORDER=0>");
        this.file.println("<TR><TH ALIGN=LEFT>Access&nbsp;flags</TH><TH ALIGN=LEFT>Type</TH><TH ALIGN=LEFT>Field&nbsp;name</TH></TR>");
        int v0_0 = 0;
        while (v0_0 < p9.length) {
            this.writeField(p9[v0_0]);
            v0_0++;
        }
        this.file.println("</TABLE>");
        this.file.println("<TABLE BORDER=0><TR><TH ALIGN=LEFT>Access&nbsp;flags</TH><TH ALIGN=LEFT>Return&nbsp;type</TH><TH ALIGN=LEFT>Method&nbsp;name</TH><TH ALIGN=LEFT>Arguments</TH></TR>");
        int v0_1 = 0;
        while (v0_1 < p8.length) {
            this.writeMethod(p8[v0_1], v0_1);
            v0_1++;
        }
        this.file.println("</TABLE></BODY></HTML>");
        this.file.close();
        return;
    }

Method com.sun.org.apache.bcel.internal.util.ConstantHTML.<init>() calling method java.io.FileOutputStream.<init>()


    ConstantHTML(String p6, String p7, String p8, com.sun.org.apache.bcel.internal.classfile.Method[] p9, com.sun.org.apache.bcel.internal.classfile.ConstantPool p10)
    {
        this.class_name = p7;
        this.class_package = p8;
        this.constant_pool = p10;
        this.methods = p9;
        this.constants = p10.getConstantPool();
        this.file = new java.io.PrintWriter(new java.io.FileOutputStream(new StringBuilder().append(p6).append(p7).append("_cp.html").toString()));
        java.io.PrintWriter v1_3 = new String[this.constants.length];
        this.constant_ref = v1_3;
        this.constant_ref[0] = "&lt;unknown&gt;";
        this.file.println("<HTML><BODY BGCOLOR=\"#C0C0C0\"><TABLE BORDER=0>");
        int v0 = 1;
        while (v0 < this.constants.length) {
            if ((v0 % 2) != 0) {
                this.file.print("<TR BGCOLOR=\"#A0A0A0\"><TD>");
            } else {
                this.file.print("<TR BGCOLOR=\"#C0C0C0\"><TD>");
            }
            if (this.constants[v0] != null) {
                this.writeConstant(v0);
            }
            this.file.print("</TD></TR>\n");
            v0++;
        }
        this.file.println("</TABLE></BODY></HTML>");
        this.file.close();
        return;
    }

Method com.sun.org.apache.bcel.internal.util.CodeHTML.<init>() calling method java.io.FileOutputStream.<init>()


    CodeHTML(String p6, String p7, com.sun.org.apache.bcel.internal.classfile.Method[] p8, com.sun.org.apache.bcel.internal.classfile.ConstantPool p9, com.sun.org.apache.bcel.internal.util.ConstantHTML p10)
    {
        this.class_name = p7;
        this.methods = p8;
        this.constant_pool = p9;
        this.constant_html = p10;
        this.file = new java.io.PrintWriter(new java.io.FileOutputStream(new StringBuilder().append(p6).append(p7).append("_code.html").toString()));
        this.file.println("<HTML><BODY BGCOLOR=\"#C0C0C0\">");
        int v0 = 0;
        while (v0 < p8.length) {
            this.writeMethod(p8[v0], v0);
            v0++;
        }
        this.file.println("</BODY></HTML>");
        this.file.close();
        return;
    }

Method com.sun.org.apache.bcel.internal.util.Class2HTML.writeMainHTML() calling method java.io.FileOutputStream.<init>()


    private void writeMainHTML(com.sun.org.apache.bcel.internal.util.AttributeHTML p7)
    {
        java.io.PrintWriter v1_1 = new java.io.PrintWriter(new java.io.FileOutputStream(new StringBuilder().append(this.dir).append(com.sun.org.apache.bcel.internal.util.Class2HTML.class_name).append(".html").toString()));
        com.sun.org.apache.bcel.internal.classfile.Attribute[] v0 = this.java_class.getAttributes();
        v1_1.println(new StringBuilder().append("<HTML>\n<HEAD><TITLE>Documentation for ").append(com.sun.org.apache.bcel.internal.util.Class2HTML.class_name).append("</TITLE>").append("</HEAD>\n").append("<FRAMESET BORDER=1 cols=\"30%,*\">\n").append("<FRAMESET BORDER=1 rows=\"80%,*\">\n").append("<FRAME NAME=\"ConstantPool\" SRC=\"").append(com.sun.org.apache.bcel.internal.util.Class2HTML.class_name).append("_cp.html").append("\"\n MARGINWIDTH=\"0\" ").append("MARGINHEIGHT=\"0\" FRAMEBORDER=\"1\" SCROLLING=\"AUTO\">\n").append("<FRAME NAME=\"Attributes\" SRC=\"").append(com.sun.org.apache.bcel.internal.util.Class2HTML.class_name).append("_attributes.html").append("\"\n MARGINWIDTH=\"0\" ").append("MARGINHEIGHT=\"0\" FRAMEBORDER=\"1\" SCROLLING=\"AUTO\">\n").append("</FRAMESET>\n").append("<FRAMESET BORDER=1 rows=\"80%,*\">\n").append("<FRAME NAME=\"Code\" SRC=\"").append(com.sun.org.apache.bcel.internal.util.Class2HTML.class_name).append("_code.html\"\n MARGINWIDTH=0 ").append("MARGINHEIGHT=0 FRAMEBORDER=1 SCROLLING=\"AUTO\">\n").append("<FRAME NAME=\"Methods\" SRC=\"").append(com.sun.org.apache.bcel.internal.util.Class2HTML.class_name).append("_methods.html\"\n MARGINWIDTH=0 ").append("MARGINHEIGHT=0 FRAMEBORDER=1 SCROLLING=\"AUTO\">\n").append("</FRAMESET></FRAMESET></HTML>").toString());
        v1_1.close();
        int v2 = 0;
        while (v2 < v0.length) {
            p7.writeAttribute(v0[v2], new StringBuilder().append("class").append(v2).toString());
            v2++;
        }
        return;
    }

Method com.sun.org.apache.bcel.internal.util.AttributeHTML.<init>() calling method java.io.FileOutputStream.<init>()


    AttributeHTML(String p5, String p6, com.sun.org.apache.bcel.internal.classfile.ConstantPool p7, com.sun.org.apache.bcel.internal.util.ConstantHTML p8)
    {
        this.attr_count = 0;
        this.class_name = p6;
        this.constant_pool = p7;
        this.constant_html = p8;
        this.file = new java.io.PrintWriter(new java.io.FileOutputStream(new StringBuilder().append(p5).append(p6).append("_attributes.html").toString()));
        this.file.println("<HTML><BODY BGCOLOR=\"#C0C0C0\"><TABLE BORDER=0>");
        return;
    }

Method com.sun.org.apache.bcel.internal.classfile.JavaClass.dump() calling method java.io.FileOutputStream.<init>()


    public void dump(java.io.File p5)
    {
        String v1 = p5.getParent();
        if (v1 != null) {
            java.io.File v0_1 = new java.io.File(v1);
            if (v0_1 != null) {
                v0_1.mkdirs();
            }
        }
        this.dump(new java.io.DataOutputStream(new java.io.FileOutputStream(p5)));
        return;
    }

Method com.pratibha.yojna.PrintPratibhaApplication.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p10)
    {
        try {
            String v4 = ((com.android.db.PratibhaPrintReciept) this.pratibhaPrintReciepts.get(0)).getAadharName();
            String v5 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/Pratibha").append(v4).append(v5).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p10);
            v3_1.flush();
            v3_1.close();
        } catch (String v6_12) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v6_12;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.mapit.TribalApp.RegistrationActivity.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p10)
    {
        try {
            this.otpVerifyDatas = new com.Manager.AllPackageManager(this.context).getAllotpVerifyData();
            String v4 = ((com.android.db.otpVerifyData) this.otpVerifyDatas.get(0)).getResName();
            String v5 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/BFR").append(v4).append(v5).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p10);
            v3_1.flush();
            v3_1.close();
        } catch (String v6_15) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v6_15;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.mapit.TribalApp.MyProfile.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p10)
    {
        try {
            this.userLogin = new com.Manager.AllPackageManager(this.context).getUserLogin();
            String v4 = ((com.android.db.UserLogin) this.userLogin.get(0)).getName();
            String v5 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/BFR").append(v4).append(v5).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p10);
            v3_1.flush();
            v3_1.close();
        } catch (String v6_15) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v6_15;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.mapit.TribalApp.DownloadTask$DownloadingTask.doInBackground() calling method java.io.FileOutputStream.<init>()


    protected varargs Void doInBackground(Void[] p12)
    {
        try {
            java.net.HttpURLConnection v1_1 = ((java.net.HttpURLConnection) new java.net.URL(com.mapit.TribalApp.DownloadTask.access$200(this.this$0)).openConnection());
            v1_1.setRequestMethod("GET");
            v1_1.connect();
        } catch (Exception v2) {
            v2.printStackTrace();
            this.outputFile = 0;
            return 0;
        }
        // Both branches of the condition point to the same code.
        // if (v1_1.getResponseCode() == 200) {
            if (!this.this$0.isSDCardPresent()) {
                if (!this.this$0.sessionval.equalsIgnoreCase("en")) {
                    android.widget.Toast.makeText(com.mapit.TribalApp.DownloadTask.access$100(this.this$0), "\u0909\u092b\u093c !! \u0915\u094b\u0908 \u090f\u0938\u0921\u0940 \u0915\u093e\u0930\u094d\u0921 \u0928\u0939\u0940\u0902 \u0939\u0948", 0).show();
                } else {
                    android.widget.Toast.makeText(com.mapit.TribalApp.DownloadTask.access$100(this.this$0), "Oops!! no SD Card found", 0).show();
                }
            } else {
                this.apkStorage = new java.io.File(new StringBuilder().append(android.os.Environment.getExternalStorageDirectory()).append("/SAMPLE DOCUMENT").toString());
            }
            if (!this.apkStorage.exists()) {
                this.apkStorage.mkdir();
            }
            this.outputFile = new java.io.File(this.apkStorage, com.mapit.TribalApp.DownloadTask.access$300(this.this$0));
            if (!this.outputFile.exists()) {
                this.outputFile.createNewFile();
            }
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.outputFile);
            java.io.InputStream v4 = v1_1.getInputStream();
            byte[] v0 = new byte[1024];
            while(true) {
                int v5 = v4.read(v0);
                if (v5 == -1) {
                    break;
                }
                v3_1.write(v0, 0, v5);
            }
            v3_1.close();
            v4.close();
            return 0;
        // }
    }

Method com.mapit.TribalApp.AdminBasedProfileRegistration.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p10)
    {
        try {
            this.otpVerifyDatas = new com.Manager.AllPackageManager(this.context).getAllotpVerifyData();
            String v4 = ((com.android.db.otpVerifyData) this.otpVerifyDatas.get(0)).getResName();
            String v5 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/BFR").append(v4).append(v5).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p10);
            v3_1.flush();
            v3_1.close();
        } catch (String v6_15) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v6_15;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.google.zxing.client.androidlegacy.encode.EncodeActivity.share() calling method java.io.FileOutputStream.<init>()


    private void share()
    {
        com.google.zxing.client.androidlegacy.encode.QRCodeEncoder v5 = this.qrCodeEncoder;
        if (v5 != null) {
            String v4 = v5.getContents();
            if (v4 != null) {
                try {
                    android.graphics.Bitmap v2 = v5.encodeAsBitmap();
                } catch (com.google.zxing.WriterException v10) {
                    android.util.Log.w(com.google.zxing.client.androidlegacy.encode.EncodeActivity.TAG, v10);
                }
                if (v2 != null) {
                    java.io.File v1_1 = new java.io.File(new java.io.File(android.os.Environment.getExternalStorageDirectory(), "BarcodeScanner"), "Barcodes");
                    if ((v1_1.exists()) || (v1_1.mkdirs())) {
                        java.io.File v0_1 = new java.io.File(v1_1, new StringBuilder().append(com.google.zxing.client.androidlegacy.encode.EncodeActivity.makeBarcodeFileName(v4)).append(".png").toString());
                        v0_1.delete();
                        java.io.FileOutputStream v7 = 0;
                        try {
                            java.io.FileOutputStream v8_1 = new java.io.FileOutputStream(v0_1);
                            try {
                                v2.compress(android.graphics.Bitmap$CompressFormat.PNG, 0, v8_1);
                            } catch (java.io.IOException v11_22) {
                                v7 = v8_1;
                                if (v7 != null) {
                                    try {
                                        v7.close();
                                    } catch (java.io.IOException v12) {
                                    }
                                }
                                throw v11_22;
                            } catch (java.io.FileNotFoundException v6) {
                                v7 = v8_1;
                                android.util.Log.w(com.google.zxing.client.androidlegacy.encode.EncodeActivity.TAG, new StringBuilder().append("Couldn\'t access file ").append(v0_1).append(" due to ").append(v6).toString());
                                this.showErrorMessage(com.google.zxing.client.androidlegacy.R$string.zxinglegacy_msg_unmount_usb);
                                if (v7 != null) {
                                    try {
                                        v7.close();
                                    } catch (java.io.IOException v11) {
                                    }
                                }
                            }
                            if (v8_1 != null) {
                                try {
                                    v8_1.close();
                                } catch (java.io.IOException v11) {
                                }
                            }
                            android.content.Intent v9_1 = new android.content.Intent("android.intent.action.SEND", android.net.Uri.parse("mailto:"));
                            v9_1.putExtra("android.intent.extra.SUBJECT", new StringBuilder().append(this.getString(com.google.zxing.client.androidlegacy.R$string.zxinglegacy_app_name)).append(" - ").append(v5.getTitle()).toString());
                            v9_1.putExtra("android.intent.extra.TEXT", v4);
                            v9_1.putExtra("android.intent.extra.STREAM", android.net.Uri.parse(new StringBuilder().append("file://").append(v0_1.getAbsolutePath()).toString()));
                            v9_1.setType("image/png");
                            v9_1.addFlags(524288);
                            this.startActivity(android.content.Intent.createChooser(v9_1, 0));
                        } catch (java.io.IOException v11_22) {
                        } catch (java.io.FileNotFoundException v6) {
                        }
                    } else {
                        android.util.Log.w(com.google.zxing.client.androidlegacy.encode.EncodeActivity.TAG, new StringBuilder().append("Couldn\'t make dir ").append(v1_1).toString());
                        this.showErrorMessage(com.google.zxing.client.androidlegacy.R$string.zxinglegacy_msg_unmount_usb);
                    }
                }
            } else {
                android.util.Log.w(com.google.zxing.client.androidlegacy.encode.EncodeActivity.TAG, "No existing barcode to send?");
            }
        } else {
            android.util.Log.w(com.google.zxing.client.androidlegacy.encode.EncodeActivity.TAG, "No existing barcode to send?");
        }
        return;
    }

Method com.google.zxing.client.android.encode.EncodeActivity.share() calling method java.io.FileOutputStream.<init>()


    private void share()
    {
        com.google.zxing.client.android.encode.QRCodeEncoder v5 = this.qrCodeEncoder;
        if (v5 != null) {
            String v4 = v5.getContents();
            if (v4 != null) {
                try {
                    android.graphics.Bitmap v2 = v5.encodeAsBitmap();
                } catch (com.google.zxing.WriterException v10) {
                    android.util.Log.w(com.google.zxing.client.android.encode.EncodeActivity.TAG, v10);
                }
                if (v2 != null) {
                    java.io.File v1_1 = new java.io.File(new java.io.File(android.os.Environment.getExternalStorageDirectory(), "BarcodeScanner"), "Barcodes");
                    if ((v1_1.exists()) || (v1_1.mkdirs())) {
                        java.io.File v0_1 = new java.io.File(v1_1, new StringBuilder().append(com.google.zxing.client.android.encode.EncodeActivity.makeBarcodeFileName(v4)).append(".png").toString());
                        if (!v0_1.delete()) {
                            android.util.Log.w(com.google.zxing.client.android.encode.EncodeActivity.TAG, new StringBuilder().append("Could not delete ").append(v0_1).toString());
                        }
                        java.io.FileOutputStream v7 = 0;
                        try {
                            java.io.FileOutputStream v8_1 = new java.io.FileOutputStream(v0_1);
                            try {
                                v2.compress(android.graphics.Bitmap$CompressFormat.PNG, 0, v8_1);
                            } catch (java.io.IOException v11_24) {
                                v7 = v8_1;
                                if (v7 != null) {
                                    try {
                                        v7.close();
                                    } catch (java.io.IOException v12) {
                                    }
                                }
                                throw v11_24;
                            } catch (java.io.FileNotFoundException v6) {
                                v7 = v8_1;
                                android.util.Log.w(com.google.zxing.client.android.encode.EncodeActivity.TAG, new StringBuilder().append("Couldn\'t access file ").append(v0_1).append(" due to ").append(v6).toString());
                                this.showErrorMessage(com.google.zxing.client.android.R$string.zxing_msg_unmount_usb);
                                if (v7 != null) {
                                    try {
                                        v7.close();
                                    } catch (java.io.IOException v11) {
                                    }
                                }
                            }
                            if (v8_1 != null) {
                                try {
                                    v8_1.close();
                                } catch (java.io.IOException v11) {
                                }
                            }
                            android.content.Intent v9_1 = new android.content.Intent("android.intent.action.SEND", android.net.Uri.parse("mailto:"));
                            v9_1.putExtra("android.intent.extra.SUBJECT", new StringBuilder().append(this.getString(com.google.zxing.client.android.R$string.zxing_app_name)).append(" - ").append(v5.getTitle()).toString());
                            v9_1.putExtra("android.intent.extra.TEXT", v4);
                            v9_1.putExtra("android.intent.extra.STREAM", android.net.Uri.parse(new StringBuilder().append("file://").append(v0_1.getAbsolutePath()).toString()));
                            v9_1.setType("image/png");
                            v9_1.addFlags(524288);
                            this.startActivity(android.content.Intent.createChooser(v9_1, 0));
                        } catch (java.io.IOException v11_24) {
                        } catch (java.io.FileNotFoundException v6) {
                        }
                    } else {
                        android.util.Log.w(com.google.zxing.client.android.encode.EncodeActivity.TAG, new StringBuilder().append("Couldn\'t make dir ").append(v1_1).toString());
                        this.showErrorMessage(com.google.zxing.client.android.R$string.zxing_msg_unmount_usb);
                    }
                }
            } else {
                android.util.Log.w(com.google.zxing.client.android.encode.EncodeActivity.TAG, "No existing barcode to send?");
            }
        } else {
            android.util.Log.w(com.google.zxing.client.android.encode.EncodeActivity.TAG, "No existing barcode to send?");
        }
        return;
    }

Method com.google.firebase.iid.zzp.zza() calling method java.io.FileOutputStream.<init>()


    private static void zza(android.content.Context p6, String p7, com.google.firebase.iid.zzq p8)
    {
        Throwable v1_0 = 0;
        try {
            if (!android.util.Log.isLoggable("FirebaseInstanceId", 3)) {
                Throwable v0_1 = com.google.firebase.iid.zzp.zzf(p6, p7);
                v0_1.createNewFile();
                java.util.Properties v2_1 = new java.util.Properties();
                v2_1.setProperty("pub", com.google.firebase.iid.zzq.zza(p8));
                v2_1.setProperty("pri", com.google.firebase.iid.zzq.zzb(p8));
                v2_1.setProperty("cre", String.valueOf(com.google.firebase.iid.zzq.zzc(p8)));
                java.io.FileOutputStream v3_4 = new java.io.FileOutputStream(v0_1);
                try {
                    v2_1.store(v3_4, 0);
                } catch (Throwable v0_4) {
                    com.google.firebase.iid.zzp.zza(v1_0, v3_4);
                    throw v0_4;
                } catch (Throwable v1_0) {
                    throw v1_0;
                }
                com.google.firebase.iid.zzp.zza(0, v3_4);
            } else {
                android.util.Log.d("FirebaseInstanceId", "Writing key to properties file");
            }
        } catch (Throwable v0_5) {
            Throwable v0_7 = String.valueOf(v0_5);
            android.util.Log.w("FirebaseInstanceId", new StringBuilder((String.valueOf(v0_7).length() + 21)).append("Failed to write key: ").append(v0_7).toString());
        }
        return;
    }

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


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

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


    public void writeUserData(String p9, com.crashlytics.android.core.UserMetaData p10)
    {
        java.io.File v1 = this.getUserDataFileForSession(p9);
        java.io.BufferedWriter v3 = 0;
        try {
            String v2 = com.crashlytics.android.core.MetaDataStore.userDataToJson(p10);
            java.io.BufferedWriter v4_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v1), com.crashlytics.android.core.MetaDataStore.UTF_8));
            try {
                v4_0.write(v2);
                v4_0.flush();
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v4_0, "Failed to close user metadata file.");
            } catch (Throwable v5_4) {
                v3 = v4_0;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3, "Failed to close user metadata file.");
                throw v5_4;
            } catch (Exception v0) {
                v3 = v4_0;
                io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error serializing user metadata.", v0);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3, "Failed to close user metadata file.");
            }
            return;
        } catch (Throwable v5_4) {
        } catch (Exception v0) {
        }
    }

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


    public void writeKeyData(String p9, java.util.Map p10)
    {
        java.io.File v1 = this.getKeysFileForSession(p9);
        java.io.BufferedWriter v3 = 0;
        try {
            String v2 = com.crashlytics.android.core.MetaDataStore.keysDataToJson(p10);
            java.io.BufferedWriter v4_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(v1), com.crashlytics.android.core.MetaDataStore.UTF_8));
            try {
                v4_0.write(v2);
                v4_0.flush();
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v4_0, "Failed to close key/value metadata file.");
            } catch (Throwable v5_4) {
                v3 = v4_0;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3, "Failed to close key/value metadata file.");
                throw v5_4;
            } catch (Exception v0) {
                v3 = v4_0;
                io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error serializing key/value metadata.", v0);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3, "Failed to close key/value metadata file.");
            }
            return;
        } catch (Throwable v5_4) {
        } catch (Exception v0) {
        }
    }

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


    private void writeFile(String p6, String p7, com.crashlytics.android.core.CrashlyticsController$FileOutputStreamWriteAction p8)
    {
        java.io.FileOutputStream v0 = 0;
        try {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(new java.io.File(this.getFilesDir(), new StringBuilder().append(p6).append(p7).toString()));
            try {
                p8.writeTo(v1_1);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, new StringBuilder().append("Failed to close ").append(p7).append(" file.").toString());
                return;
            } catch (Throwable v2_1) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, new StringBuilder().append("Failed to close ").append(p7).append(" file.").toString());
                throw v2_1;
            }
        } catch (Throwable v2_1) {
        }
        p8.writeTo(v1_1);
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, new StringBuilder().append("Failed to close ").append(p7).append(" file.").toString());
        return;
    }

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


    private void gzip(byte[] p4, java.io.File p5)
    {
        java.util.zip.GZIPOutputStream v0 = 0;
        try {
            java.util.zip.GZIPOutputStream v1_1 = new java.util.zip.GZIPOutputStream(new java.io.FileOutputStream(p5));
            try {
                v1_1.write(p4);
                v1_1.finish();
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
                return;
            } catch (Throwable v2_0) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0);
                throw v2_0;
            }
        } catch (Throwable v2_0) {
        }
        v1_1.write(p4);
        v1_1.finish();
        io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
        return;
    }

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


    public ClsFileOutputStream(java.io.File p4, String p5)
    {
        super(new java.io.File(p4, new StringBuilder().append(p5).append(".cls_temp").toString()));
        super.closed = 0;
        super.root = new StringBuilder().append(p4).append(java.io.File.separator).append(p5).toString();
        super.inProgress = new java.io.File(new StringBuilder().append(super.root).append(".cls_temp").toString());
        return;
    }

Method com.bumptech.glide.load.engine.DecodeJob$FileOpener.open() calling method java.io.FileOutputStream.<init>()


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

Method com.bumptech.glide.gifencoder.AnimatedGifEncoder.start() calling method java.io.FileOutputStream.<init>()


    public boolean start(String p5)
    {
        try {
            this.out = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5));
            int v1 = this.start(this.out);
            this.closeStream = 1;
        } catch (java.io.IOException v0) {
            v1 = 0;
        }
        this.started = v1;
        return v1;
    }

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


    private declared_synchronized void rebuildJournal()
    {
        try {
            if (this.journalWriter != null) {
                this.journalWriter.close();
            }
        } catch (java.io.BufferedWriter v3_38) {
            throw v3_38;
        }
        java.io.BufferedWriter v2_0 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFileTmp), com.bumptech.glide.disklrucache.Util.US_ASCII));
        try {
            v2_0.write("libcore.io.DiskLruCache");
            v2_0.write("\n");
            v2_0.write("1");
            v2_0.write("\n");
            v2_0.write(Integer.toString(this.appVersion));
            v2_0.write("\n");
            v2_0.write(Integer.toString(this.valueCount));
            v2_0.write("\n");
            v2_0.write("\n");
            java.util.Iterator v1 = this.lruEntries.values().iterator();
        } catch (java.io.BufferedWriter v3_37) {
            v2_0.close();
            throw v3_37;
        }
        while (v1.hasNext()) {
            com.bumptech.glide.disklrucache.DiskLruCache$Entry v0_1 = ((com.bumptech.glide.disklrucache.DiskLruCache$Entry) v1.next());
            if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$700(v0_1) == null) {
                v2_0.write(new StringBuilder().append("CLEAN ").append(com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$1100(v0_1)).append(v0_1.getLengths()).append(10).toString());
            } else {
                v2_0.write(new StringBuilder().append("DIRTY ").append(com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$1100(v0_1)).append(10).toString());
            }
        }
        v2_0.close();
        if (this.journalFile.exists()) {
            com.bumptech.glide.disklrucache.DiskLruCache.renameTo(this.journalFile, this.journalFileBackup, 1);
        }
        com.bumptech.glide.disklrucache.DiskLruCache.renameTo(this.journalFileTmp, this.journalFile, 0);
        this.journalFileBackup.delete();
        this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.bumptech.glide.disklrucache.Util.US_ASCII));
        return;
    }

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


    private void readJournal()
    {
        com.bumptech.glide.disklrucache.StrictLineReader v5_1 = new com.bumptech.glide.disklrucache.StrictLineReader(new java.io.FileInputStream(this.journalFile), com.bumptech.glide.disklrucache.Util.US_ASCII);
        try {
            String v4 = v5_1.readLine();
            String v7 = v5_1.readLine();
            String v0 = v5_1.readLine();
            String v6 = v5_1.readLine();
            String v1 = v5_1.readLine();
        } catch (java.io.BufferedWriter v8_23) {
            com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
            throw v8_23;
        }
        if (("libcore.io.DiskLruCache".equals(v4)) && (("1".equals(v7)) && ((Integer.toString(this.appVersion).equals(v0)) && ((Integer.toString(this.valueCount).equals(v6)) && ("".equals(v1)))))) {
            int v3 = 0;
            try {
                while(true) {
                    this.readJournalLine(v5_1.readLine());
                    v3++;
                }
            } catch (java.io.EOFException v2) {
                this.redundantOpCount = (v3 - this.lruEntries.size());
                if (!v5_1.hasUnterminatedLine()) {
                    this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.bumptech.glide.disklrucache.Util.US_ASCII));
                } else {
                    this.rebuildJournal();
                }
                com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v4).append(", ").append(v7).append(", ").append(v6).append(", ").append(v1).append("]").toString());
        }
    }

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


    public void set(int p5, String p6)
    {
        java.io.OutputStreamWriter v1 = 0;
        try {
            java.io.OutputStreamWriter v2_1 = new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.getFile(p5)), com.bumptech.glide.disklrucache.Util.UTF_8);
            try {
                v2_1.write(p6);
                com.bumptech.glide.disklrucache.Util.closeQuietly(v2_1);
                return;
            } catch (Throwable v3_0) {
                v1 = v2_1;
                com.bumptech.glide.disklrucache.Util.closeQuietly(v1);
                throw v3_0;
            }
        } catch (Throwable v3_0) {
        }
        v2_1.write(p6);
        com.bumptech.glide.disklrucache.Util.closeQuietly(v2_1);
        return;
    }

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


    public declared_synchronized void put(String p9, com.android.volley.Cache$Entry p10)
    {
        try {
            this.pruneIfNeeded(p10.data.length);
            java.io.File v2 = this.getFileForKey(p9);
            try {
                java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(v2);
                com.android.volley.toolbox.DiskBasedCache$CacheHeader v1_1 = new com.android.volley.toolbox.DiskBasedCache$CacheHeader(p9, p10);
                v1_1.writeHeader(v3_1);
                v3_1.write(p10.data);
                v3_1.close();
                this.putEntry(p9, v1_1);
            } catch (String v4) {
                if (v2.delete()) {
                } else {
                    Object[] v5_1 = new Object[1];
                    v5_1[0] = v2.getAbsolutePath();
                    com.android.volley.VolleyLog.d("Could not clean up file %s", v5_1);
                }
            }
            return;
        } catch (String v4_4) {
            throw v4_4;
        }
    }

Method com.Hostel.superintendent.ok_http.OkHttpRequestHandler.createTempFileFromBitmap() calling method java.io.FileOutputStream.<init>()


    private java.io.File createTempFileFromBitmap(android.content.Context p8, android.graphics.Bitmap p9, String p10)
    {
        java.io.File v3_1 = new java.io.File(p8.getCacheDir(), p10);
        try {
            v3_1.createNewFile();
            java.io.ByteArrayOutputStream v1_1 = new java.io.ByteArrayOutputStream();
            p9.compress(android.graphics.Bitmap$CompressFormat.PNG, 70, v1_1);
            byte[] v0 = v1_1.toByteArray();
            java.io.FileOutputStream v4_1 = new java.io.FileOutputStream(v3_1);
            v4_1.write(v0);
            v4_1.flush();
            v4_1.close();
        } catch (java.io.IOException v2) {
            v2.printStackTrace();
        }
        return v3_1;
    }

Method com.Hostel.superintendent.attendance.PDFAttendanceActvity.createStudentSheetNew() calling method java.io.FileOutputStream.<init>()


    private void createStudentSheetNew(java.io.InputStream p31, java.io.File p32)
    {
        org.apache.poi.xssf.usermodel.XSSFWorkbook v2_1 = new org.apache.poi.xssf.usermodel.XSSFWorkbook(p31);
        org.apache.poi.xssf.usermodel.XSSFSheet v24 = v2_1.getSheetAt(0);
        org.apache.poi.xssf.usermodel.XSSFRow v22 = v24.createRow(0);
        org.apache.poi.xssf.usermodel.XSSFCellStyle v25 = v2_1.createCellStyle();
        org.apache.poi.xssf.usermodel.XSSFFont v18 = v2_1.createFont();
        v18.setColor(12);
        v25.setFont(v18);
        org.apache.poi.ss.usermodel.Cell v3 = v22.createCell(0);
        v3.setCellStyle(v25);
        v3.setCellValue("S.N.");
        org.apache.poi.ss.usermodel.Cell v5 = v22.createCell(1);
        v5.setCellStyle(v25);
        v5.setCellValue("Student Name");
        org.apache.poi.ss.usermodel.Cell v7 = v22.createCell(2);
        v7.setCellStyle(v25);
        v7.setCellValue("Father\'s Name");
        org.apache.poi.ss.usermodel.Cell v9 = v22.createCell(3);
        v9.setCellStyle(v25);
        v9.setCellValue("Date Of Birth");
        org.apache.poi.ss.usermodel.Cell v11 = v22.createCell(4);
        v11.setCellStyle(v25);
        v11.setCellValue("Reference Number");
        org.apache.poi.ss.usermodel.Cell v13 = v22.createCell(5);
        v13.setCellStyle(v25);
        v13.setCellValue("Profile ID");
        int v26 = 6;
        java.io.PrintStream v27_2 = com.Hostel.superintendent.others.HelpUtility.getAllDAtes(Integer.parseInt(new StringBuilder().append(this.yearList.get(this.year_spinner.getSelectedItemPosition())).append("").toString()), this.month_spinner.getSelectedItemPosition()).iterator();
        while (v27_2.hasNext()) {
            String v16_1 = ((String) v27_2.next());
            org.apache.poi.ss.usermodel.Cell v15 = v22.createCell(v26);
            v15.setCellStyle(v25);
            v15.setCellValue(v16_1);
            v26++;
        }
        int v19 = 1;
        while (v19 <= this.studentInfoForAttendanceList.size()) {
            org.apache.poi.xssf.usermodel.XSSFRow v23 = v24.createRow(v19);
            org.apache.poi.ss.usermodel.Cell v4 = v23.createCell(0);
            v4.setCellStyle(v25);
            v4.setCellValue(new StringBuilder().append(v19).append("").toString());
            com.Hostel.superintendent.beans.StudentInfoForAttendance v21_1 = ((com.Hostel.superintendent.beans.StudentInfoForAttendance) this.studentInfoForAttendanceList.get((v19 - 1)));
            org.apache.poi.ss.usermodel.Cell v6 = v23.createCell(1);
            v6.setCellStyle(v25);
            v6.setCellValue(v21_1.getStudentName());
            org.apache.poi.ss.usermodel.Cell v8 = v23.createCell(2);
            v8.setCellStyle(v25);
            v8.setCellValue(v21_1.getFatherName());
            org.apache.poi.ss.usermodel.Cell v10 = v23.createCell(3);
            v10.setCellStyle(v25);
            v10.setCellValue(v21_1.getDOB());
            org.apache.poi.ss.usermodel.Cell v12 = v23.createCell(4);
            v12.setCellStyle(v25);
            v12.setCellValue(v21_1.getReferenceNumber());
            org.apache.poi.ss.usermodel.Cell v14 = v23.createCell(5);
            v14.setCellStyle(v25);
            v14.setCellValue(v21_1.getProfileid());
            v19++;
        }
        java.io.FileOutputStream v20 = new java.io.FileOutputStream;
        v20(p32.getAbsolutePath());
        v2_1.write(v20);
        System.out.println("Writing on Excel file Finished ...");
        v20.flush();
        v20.close();
        return;
    }

Method com.Hostel.superintendent.attendance.PDFAttendanceActvity.createEmployeeSheetNew() calling method java.io.FileOutputStream.<init>()


    private void createEmployeeSheetNew(java.io.InputStream p31, java.io.File p32)
    {
        org.apache.poi.xssf.usermodel.XSSFWorkbook v2_1 = new org.apache.poi.xssf.usermodel.XSSFWorkbook(p31);
        org.apache.poi.xssf.usermodel.XSSFSheet v24 = v2_1.getSheetAt(0);
        org.apache.poi.xssf.usermodel.XSSFRow v22 = v24.createRow(0);
        org.apache.poi.xssf.usermodel.XSSFCellStyle v25 = v2_1.createCellStyle();
        org.apache.poi.xssf.usermodel.XSSFFont v18 = v2_1.createFont();
        v18.setColor(12);
        v25.setFont(v18);
        org.apache.poi.ss.usermodel.Cell v3 = v22.createCell(0);
        v3.setCellStyle(v25);
        v3.setCellValue("S.N.");
        org.apache.poi.ss.usermodel.Cell v5 = v22.createCell(1);
        v5.setCellStyle(v25);
        v5.setCellValue("Employee ID");
        org.apache.poi.ss.usermodel.Cell v7 = v22.createCell(2);
        v7.setCellStyle(v25);
        v7.setCellValue("Employee Name");
        org.apache.poi.ss.usermodel.Cell v9 = v22.createCell(3);
        v9.setCellStyle(v25);
        v9.setCellValue("Post Type");
        org.apache.poi.ss.usermodel.Cell v11 = v22.createCell(4);
        v11.setCellStyle(v25);
        v11.setCellValue("Post Name");
        org.apache.poi.ss.usermodel.Cell v13 = v22.createCell(5);
        v13.setCellStyle(v25);
        v13.setCellValue("ContactNo");
        int v26 = 6;
        java.io.PrintStream v27_2 = com.Hostel.superintendent.others.HelpUtility.getAllDAtes(Integer.parseInt(new StringBuilder().append(this.yearList.get(this.year_spinner.getSelectedItemPosition())).append("").toString()), this.month_spinner.getSelectedItemPosition()).iterator();
        while (v27_2.hasNext()) {
            String v16_1 = ((String) v27_2.next());
            org.apache.poi.ss.usermodel.Cell v15 = v22.createCell(v26);
            v15.setCellStyle(v25);
            v15.setCellValue(v16_1);
            v26++;
        }
        int v19 = 1;
        while (v19 <= this.postMappedEmployeeInfoList.size()) {
            org.apache.poi.xssf.usermodel.XSSFRow v23 = v24.createRow(v19);
            org.apache.poi.ss.usermodel.Cell v4 = v23.createCell(0);
            v4.setCellStyle(v25);
            v4.setCellValue(new StringBuilder().append(v19).append("").toString());
            com.Hostel.superintendent.beans.PostMappedEmployeeInfo v21_1 = ((com.Hostel.superintendent.beans.PostMappedEmployeeInfo) this.postMappedEmployeeInfoList.get((v19 - 1)));
            org.apache.poi.ss.usermodel.Cell v6 = v23.createCell(1);
            v6.setCellStyle(v25);
            v6.setCellValue(v21_1.getEmpCode());
            org.apache.poi.ss.usermodel.Cell v8 = v23.createCell(2);
            v8.setCellStyle(v25);
            v8.setCellValue(v21_1.getName());
            org.apache.poi.ss.usermodel.Cell v10 = v23.createCell(3);
            v10.setCellStyle(v25);
            v10.setCellValue(v21_1.getPostType());
            org.apache.poi.ss.usermodel.Cell v12 = v23.createCell(4);
            v12.setCellStyle(v25);
            v12.setCellValue(v21_1.getPostName());
            org.apache.poi.ss.usermodel.Cell v14 = v23.createCell(5);
            v14.setCellStyle(v25);
            v14.setCellValue(v21_1.getContactNo());
            v19++;
        }
        java.io.FileOutputStream v20 = new java.io.FileOutputStream;
        v20(p32.getAbsolutePath());
        v2_1.write(v20);
        System.out.println("Writing on Excel file Finished ...");
        v20.flush();
        v20.close();
        return;
    }

Method com.Hostel.superintendent.adapter.superintendent.PTAMoMListAdapter.writeBytesToImageFileFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToImageFileFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathimage = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".jpeg").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathimage);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.adapter.superintendent.PTAMoMListAdapter.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.adapter.StudentPerformanceListAdapter.writeBytesToImageFileFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToImageFileFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathimage = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".jpeg").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathimage);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.superintendent.adapter.StudentPerformanceListAdapter.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.Student.adapter.StudentMontlyPerofrmanceListAdapter.writeBytesToImageFileFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToImageFileFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathimage = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".jpeg").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathimage);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.Student.adapter.StudentMontlyPerofrmanceListAdapter.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/pta").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/pta/pta_meeting_").append(v4).append(".pdf").toString();
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
            v3_1.write(p9);
            v3_1.flush();
            v3_1.close();
        } catch (String v5_9) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v5_9;
        }
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.Student.HostelStudentUploadVerificationDoc.setImageOrientation() calling method java.io.FileOutputStream.<init>()


    private android.graphics.Bitmap setImageOrientation(String p17, android.graphics.Bitmap p18)
    {
        android.graphics.Bitmap v12 = 0;
        try {
            try {
                float v14 = com.Hostel.Student.HostelStudentUploadVerificationDoc.exifToDegrees(((float) new android.media.ExifInterface(p17).getAttributeInt("Orientation", 1)));
                System.out.println(v14);
                android.graphics.Matrix v6_1 = new android.graphics.Matrix();
                v6_1.postRotate(v14);
                android.graphics.Bitmap v15 = android.graphics.Bitmap.createBitmap(p18);
                v12 = android.graphics.Bitmap.createBitmap(p18, 0, 0, v15.getWidth(), v15.getHeight(), v6_1, 1);
                java.io.FileOutputStream v11_1 = new java.io.FileOutputStream(this.fileUri.getPath());
                v12.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, v11_1);
                v11_1.flush();
                v11_1.close();
            } catch (java.io.IOException v8) {
                v8.printStackTrace();
            }
            return v12;
        } catch (java.io.IOException v8) {
        }
    }

Method com.Hostel.Student.HostelStudentExitActivity.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p10)
    {
        try {
            this.userLogin = new com.Manager.AllPackageManager(this).getUserLogin();
            String v4 = ((com.android.db.UserLogin) this.userLogin.get(0)).getName();
            String v5 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
        } catch (String v6_37) {
            if (0 != 0) {
                try {
                    android.util.Log.d("restry", "try");
                    0.flush();
                    0.close();
                } catch (Exception v2) {
                    android.util.Log.d("rescatch", "catch");
                }
            }
            throw v6_37;
        }
        if (!this.applicationtypeidval.equalsIgnoreCase("2")) {
            if (!this.applicationtypeidval.equalsIgnoreCase("3")) {
                if (this.applicationtypeidval.equalsIgnoreCase("4")) {
                    this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/Transfer").append(v4).append(v5).append(".pdf").toString();
                }
            } else {
                this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/Exit").append(v4).append(v5).append(".pdf").toString();
            }
        } else {
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/Renewal").append(v4).append(v5).append(".pdf").toString();
        }
        java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.filepathpdf);
        v3_1.write(p10);
        v3_1.flush();
        v3_1.close();
        if (0 != 0) {
            try {
                android.util.Log.d("restry", "try");
                0.flush();
                0.close();
            } catch (Exception v2) {
                android.util.Log.d("rescatch", "catch");
            }
        }
        return;
    }

Method com.Hostel.Student.HostelStudentDetailsViewActivity.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p8)
    {
        try {
            this.userLogin = new com.Manager.AllPackageManager(this).getUserLogin();
            String v3 = ((com.android.db.UserLogin) this.userLogin.get(0)).getUsername();
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/HSA").append(v3).append(v4).append(".pdf").toString();
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(this.filepathpdf);
            v2_1.write(p8);
            v2_1.flush();
            v2_1.close();
        } catch (Exception v5_15) {
            if (0 != 0) {
                try {
                    0.flush();
                    0.close();
                } catch (Exception v6) {
                }
            }
            throw v5_15;
        }
        if (0 != 0) {
            try {
                0.flush();
                0.close();
            } catch (Exception v5) {
            }
        }
        return;
    }

Method com.Hostel.Student.HostelStudentDetailActivity.setImageOrientation() calling method java.io.FileOutputStream.<init>()


    private android.graphics.Bitmap setImageOrientation(String p17, android.graphics.Bitmap p18)
    {
        android.graphics.Bitmap v12 = 0;
        try {
            try {
                float v14 = this.exifToDegrees(((float) new android.media.ExifInterface(p17).getAttributeInt("Orientation", 1)));
                System.out.println(v14);
                android.graphics.Matrix v6_1 = new android.graphics.Matrix();
                v6_1.postRotate(v14);
                android.graphics.Bitmap v15 = android.graphics.Bitmap.createBitmap(p18);
                v12 = android.graphics.Bitmap.createBitmap(p18, 0, 0, v15.getWidth(), v15.getHeight(), v6_1, 1);
                java.io.FileOutputStream v11_1 = new java.io.FileOutputStream(this.fileUri.getPath());
                v12.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, v11_1);
                v11_1.flush();
                v11_1.close();
            } catch (java.io.IOException v8) {
                v8.printStackTrace();
            }
            return v12;
        } catch (java.io.IOException v8) {
        }
    }

Method com.Adapter.BenificaryRecordListAdapter.writeBytesToFile() calling method java.io.FileOutputStream.<init>()


    public void writeBytesToFile(byte[] p8, String p9)
    {
        try {
            String v4 = new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new java.util.Date());
            new java.io.File("/sdcard/TribalMP/").mkdirs();
            this.filepathpdf = new StringBuilder().append("/sdcard/TribalMP/BFR").append(p9).append(v4).append(".pdf").toString();
            java.io.FileOutputStream v2_1 = new java.io.FileOutputStream(this.filepathpdf);
            v2_1.write(p8);
            v2_1.flush();
            v2_1.close();
        } catch (Exception v5_10) {
            if (0 != 0) {
                try {
                    0.flush();
                    0.close();
                } catch (Exception v6) {
                }
            }
            throw v5_10;
        }
        if (0 != 0) {
            try {
                0.flush();
                0.close();
            } catch (Exception v5) {
            }
        }
        return;
    }

Method android.support.v4.util.AtomicFile.startWrite() calling method java.io.FileOutputStream.<init>()


    public java.io.FileOutputStream startWrite()
    {
        if (this.mBaseName.exists()) {
            if (this.mBackupName.exists()) {
                this.mBaseName.delete();
            } else {
                if (!this.mBaseName.renameTo(this.mBackupName)) {
                    android.util.Log.w("AtomicFile", new StringBuilder().append("Couldn\'t rename file ").append(this.mBaseName).append(" to backup file ").append(this.mBackupName).toString());
                }
            }
        }
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(this.mBaseName);
        } catch (java.io.FileNotFoundException v0) {
            if (this.mBaseName.getParentFile().mkdirs()) {
                try {
                    v3_1 = new java.io.FileOutputStream(this.mBaseName);
                } catch (java.io.FileNotFoundException v1) {
                    throw new java.io.IOException(new StringBuilder().append("Couldn\'t create ").append(this.mBaseName).toString());
                }
            } else {
                throw new java.io.IOException(new StringBuilder().append("Couldn\'t create directory ").append(this.mBaseName).toString());
            }
        }
        return v3_1;
    }

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


    protected varargs Throwable doInBackground(Void[] p13)
    {
        Throwable v7 = 0;
        try {
            if (!this.val$cancellationSignal.isCanceled()) {
                android.print.pdf.PrintedPdfDocument v6_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$pdfAttributes);
                android.graphics.Bitmap v4 = android.support.v4.print.PrintHelper$PrintHelperApi19.access$100(this.this$0, this.val$bitmap, this.val$pdfAttributes.getColorMode());
                if (!this.val$cancellationSignal.isCanceled()) {
                    try {
                        android.graphics.RectF v0_1;
                        android.graphics.pdf.PdfDocument$Page v5 = v6_1.startPage(1);
                    } catch (java.io.IOException v8_30) {
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.FileDescriptor v9) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                        throw v8_30;
                    }
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        android.print.pdf.PrintedPdfDocument v1_1 = new android.print.pdf.PrintedPdfDocument(this.this$0.mContext, this.val$attributes);
                        android.graphics.pdf.PdfDocument$Page v2 = v1_1.startPage(1);
                        v0_1 = new android.graphics.RectF(v2.getInfo().getContentRect());
                        v1_1.finishPage(v2);
                        v1_1.close();
                    } else {
                        v0_1 = new android.graphics.RectF(v5.getInfo().getContentRect());
                    }
                    android.graphics.Matrix v3 = android.support.v4.print.PrintHelper$PrintHelperApi19.access$200(this.this$0, v4.getWidth(), v4.getHeight(), v0_1, this.val$fittingMode);
                    if (!this.this$0.mIsMinMarginsHandlingCorrect) {
                        v3.postTranslate(v0_1.left, v0_1.top);
                        v5.getCanvas().clipRect(v0_1);
                    }
                    v5.getCanvas().drawBitmap(v4, v3, 0);
                    v6_1.finishPage(v5);
                    if (!this.val$cancellationSignal.isCanceled()) {
                        v6_1.writeTo(new java.io.FileOutputStream(this.val$fileDescriptor.getFileDescriptor()));
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v8) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                    } else {
                        v6_1.close();
                        if (this.val$fileDescriptor != null) {
                            try {
                                this.val$fileDescriptor.close();
                            } catch (java.io.IOException v8) {
                            }
                        }
                        if (v4 != this.val$bitmap) {
                            v4.recycle();
                        }
                    }
                }
            }
        } catch (Throwable v7) {
        }
        return v7;
    }

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


    public static boolean copyToFile(java.io.File p9, java.io.InputStream p10)
    {
        int v5_0 = 0;
        java.io.FileOutputStream v2 = 0;
        try {
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p9, 0);
            try {
                byte[] v0 = new byte[1024];
            } catch (int v5_1) {
                v2 = v3_1;
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2);
                throw v5_1;
            } catch (java.io.IOException v1) {
                v2 = v3_1;
                android.util.Log.e("TypefaceCompatUtil", new StringBuilder().append("Error copying resource contents to temp file: ").append(v1.getMessage()).toString());
                android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v2);
                return v5_0;
            }
            while(true) {
                int v4 = p10.read(v0);
                if (v4 == -1) {
                    break;
                }
                v3_1.write(v0, 0, v4);
            }
            v5_0 = 1;
            android.support.v4.graphics.TypefaceCompatUtil.closeQuietly(v3_1);
            return v5_0;
        } catch (int v5_1) {
        } catch (java.io.IOException v1) {
        }
    }

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


    private static void extract(java.util.zip.ZipFile p10, java.util.zip.ZipEntry p11, java.io.File p12, String p13)
    {
        java.io.InputStream v2 = p10.getInputStream(p11);
        java.io.File v6 = java.io.File.createTempFile(p13, ".zip", p12.getParentFile());
        android.util.Log.i("MultiDex", new StringBuilder().append("Extracting ").append(v6.getPath()).toString());
        try {
            java.util.zip.ZipOutputStream v5_1 = new java.util.zip.ZipOutputStream(new java.io.BufferedOutputStream(new java.io.FileOutputStream(v6)));
            try {
                java.util.zip.ZipEntry v1_1 = new java.util.zip.ZipEntry("classes.dex");
                v1_1.setTime(p11.getTime());
                v5_1.putNextEntry(v1_1);
                byte[] v0 = new byte[16384];
                int v3 = v2.read(v0);
            } catch (java.io.IOException v7_13) {
                v5_1.close();
                throw v7_13;
            } catch (java.io.IOException v7_2) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v2);
                v6.delete();
                throw v7_2;
            }
            while (v3 != -1) {
                v5_1.write(v0, 0, v3);
                v3 = v2.read(v0);
            }
            v5_1.closeEntry();
            v5_1.close();
            android.util.Log.i("MultiDex", new StringBuilder().append("Renaming to ").append(p12.getPath()).toString());
            if (v6.renameTo(p12)) {
                android.support.multidex.MultiDexExtractor.closeQuietly(v2);
                v6.delete();
                return;
            } else {
                throw new java.io.IOException(new StringBuilder().append("Failed to rename \"").append(v6.getAbsolutePath()).append("\" to \"").append(p12.getAbsolutePath()).append("\"").toString());
            }
        } catch (java.io.IOException v7_2) {
        }
    }

Method ae.com.sun.xml.bind.v2.runtime.MarshallerImpl.createXmlOutput() calling method java.io.FileOutputStream.<init>()


    final ae.com.sun.xml.bind.v2.runtime.output.XmlOutput createXmlOutput(javax.xml.transform.Result p10)
    {
        AssertionError v6_11;
        if (!(p10 instanceof javax.xml.transform.sax.SAXResult)) {
            if (!(p10 instanceof javax.xml.transform.dom.DOMResult)) {
                if ((p10 instanceof javax.xml.transform.stream.StreamResult)) {
                    if (((javax.xml.transform.stream.StreamResult) p10).getWriter() == null) {
                        if (((javax.xml.transform.stream.StreamResult) p10).getOutputStream() == null) {
                            if (((javax.xml.transform.stream.StreamResult) p10).getSystemId() != null) {
                                try {
                                    String v2_1 = new java.net.URI(((javax.xml.transform.stream.StreamResult) p10).getSystemId()).getPath();
                                    try {
                                        java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(v2_1);
                                    } catch (java.io.IOException v1) {
                                        throw new ae.javax.xml.bind.MarshalException(v1);
                                    }
                                    if ((ae.com.sun.xml.bind.v2.runtime.MarshallerImpl.$assertionsDisabled) || (this.toBeClosed == null)) {
                                        this.toBeClosed = v3_1;
                                        v6_11 = this.createWriter(v3_1);
                                        return v6_11;
                                    } else {
                                        throw new AssertionError();
                                    }
                                } catch (AssertionError v6) {
                                }
                            }
                        } else {
                            v6_11 = this.createWriter(((javax.xml.transform.stream.StreamResult) p10).getOutputStream());
                            return v6_11;
                        }
                    } else {
                        v6_11 = this.createWriter(((javax.xml.transform.stream.StreamResult) p10).getWriter());
                        return v6_11;
                    }
                }
                Object[] v8_1 = new Object[0];
                throw new ae.javax.xml.bind.MarshalException(ae.com.sun.xml.bind.v2.runtime.Messages.UNSUPPORTED_RESULT.format(v8_1));
            } else {
                org.w3c.dom.Node v4 = ((javax.xml.transform.dom.DOMResult) p10).getNode();
                if (v4 != null) {
                    v6_11 = new ae.com.sun.xml.bind.v2.runtime.output.SAXOutput(new ae.com.sun.xml.bind.marshaller.SAX2DOMEx(v4));
                } else {
                    org.w3c.dom.Document v0 = ae.com.sun.xml.bind.v2.runtime.JAXBContextImpl.createDom();
                    ((javax.xml.transform.dom.DOMResult) p10).setNode(v0);
                    v6_11 = new ae.com.sun.xml.bind.v2.runtime.output.SAXOutput(new ae.com.sun.xml.bind.marshaller.SAX2DOMEx(v0));
                }
            }
        } else {
            v6_11 = new ae.com.sun.xml.bind.v2.runtime.output.SAXOutput(((javax.xml.transform.sax.SAXResult) p10).getHandler());
        }
        return v6_11;
    }

Method ae.javax.xml.bind.helpers.AbstractMarshallerImpl.marshal() calling method java.io.FileOutputStream.<init>()


    public void marshal(Object p5, java.io.File p6)
    {
        this.checkNotNull(p5, "jaxbElement", p6, "output");
        try {
            java.io.BufferedOutputStream v1_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p6));
        } catch (java.io.IOException v0) {
            throw new ae.javax.xml.bind.JAXBException(v0);
        }
        this.marshal(p5, new javax.xml.transform.stream.StreamResult(v1_1));
        v1_1.close();
        return;
    }

Method org.apache.xmlbeans.impl.util.FilerImpl.writerForFile() calling method java.io.FileWriter.<init>()


    private static final java.io.Writer writerForFile(java.io.File p3)
    {
        java.io.OutputStreamWriter v2_1;
        if (org.apache.xmlbeans.impl.util.FilerImpl.CHARSET != null) {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p3);
            java.nio.charset.CharsetEncoder v0 = org.apache.xmlbeans.impl.util.FilerImpl.CHARSET.newEncoder();
            v0.onUnmappableCharacter(java.nio.charset.CodingErrorAction.REPORT);
            v2_1 = new java.io.OutputStreamWriter(v1_1, v0);
        } else {
            v2_1 = new java.io.FileWriter(p3);
        }
        return v2_1;
    }

Method org.apache.xmlbeans.impl.tool.XSTCTester.main() calling method java.io.FileWriter.<init>()


    public static void main(String[] p34)
    {
        java.util.HashSet v12_1 = new java.util.HashSet();
        v12_1.add("h");
        v12_1.add("help");
        v12_1.add("usage");
        v12_1.add("version");
        v12_1.add("showpass");
        v12_1.add("errcode");
        long v24 = System.currentTimeMillis();
        org.apache.xmlbeans.impl.tool.CommandLine v7_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p34, v12_1, java.util.Collections.EMPTY_SET);
        if ((v7_1.getOpt("h") == null) && ((v7_1.getOpt("help") == null) && (v7_1.getOpt("usage") == null))) {
            if (v7_1.getOpt("version") == null) {
                String[] v5 = v7_1.getBadOpts();
                if (v5.length <= 0) {
                    if (v7_1.args().length != 0) {
                        int v22;
                        if (v7_1.getOpt("showpass") == null) {
                            v22 = 0;
                        } else {
                            v22 = 1;
                        }
                        int v8;
                        if (v7_1.getOpt("errcode") == null) {
                            v8 = 0;
                        } else {
                            v8 = 1;
                        }
                        java.io.File[] v4 = v7_1.getFiles();
                        java.util.ArrayList v18_1 = new java.util.ArrayList();
                        org.apache.xmlbeans.impl.tool.XMLBeanXSTCHarness v13_1 = new org.apache.xmlbeans.impl.tool.XMLBeanXSTCHarness();
                        int v14_1 = 0;
                        while (v14_1 < v4.length) {
                            if (v4[v14_1].getName().indexOf("LTG") >= 0) {
                                v18_1.add(v4[v14_1]);
                            }
                            v14_1++;
                        }
                        java.io.File v21 = new java.io.File;
                        v21("out.html");
                        org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult v27_99 = new java.io.FileWriter;
                        v27_99(v21);
                        java.io.PrintWriter v26_1 = new java.io.PrintWriter(v27_99);
                        v26_1.println("<html>");
                        v26_1.println("<style>td {border-bottom: 1px solid black} xmp {white-space: normal; word-wrap: break-word; word-break: break-all} </style>");
                        v26_1.println("<body>");
                        v26_1.println("<script language=\'JavaScript\' type=\'text/javascript\'>");
                        v26_1.println("var w;");
                        v26_1.println("function openWindow(schema, instance) {");
                        v26_1.println("  if (w == null) {");
                        v26_1.println("    w = window.open(\'about:blank\', \'xstc\');");
                        v26_1.println("  }");
                        v26_1.println("  if (w.closed) {");
                        v26_1.println("    w = window.open(\'about:blank\', \'xstc\');");
                        v26_1.println("  }");
                        v26_1.println("  w.document.open();");
                        v26_1.println("  w.document.write(\"<frameset rows=*,*><frame src=\'\" + schema + \"\'><frame src=\'\" + instance + \"\'></frameset>\");");
                        v26_1.println("  w.document.close();");
                        v26_1.println("  w.focus();");
                        v26_1.println("}");
                        v26_1.println("</script>");
                        v26_1.println("<h1>XML Schema Test Collection Results</h1>");
                        v26_1.println(new StringBuffer().append("<p>Run on ").append(new org.apache.xmlbeans.XmlCalendar(new java.util.Date())).append("</p>").toString());
                        v26_1.println("<p>Values in schema or instance valid columns are results from compiling or validating respectively.");
                        v26_1.println("Red or orange background mean the test failed.</p>");
                        v26_1.println("<table style=\'border: 1px solid black\' cellpadding=0 cellspacing=0>");
                        v26_1.println("<tr><td witdh=10%>id</td><td width=70%>Description</td><td width=10%>sch v</td><td width=10%>ins v</td></tr>");
                        int v9 = 0;
                        int v6 = 0;
                        int v14_0 = v18_1.iterator();
                        while (v14_0.hasNext()) {
                            java.io.File v17_1 = ((java.io.File) v14_0.next());
                            System.out.println(new StringBuffer().append("Processing test cases in ").append(v17_1).toString());
                            java.util.ArrayList v16_1 = new java.util.ArrayList();
                            org.apache.xmlbeans.impl.tool.XSTCTester$TestCase[] v23 = org.apache.xmlbeans.impl.tool.XSTCTester.parseLTGFile(v17_1, v16_1);
                            java.util.ArrayList v20_1 = new java.util.ArrayList();
                            if (v23 != null) {
                                int v15_0 = 0;
                                while (v15_0 < v23.length) {
                                    org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult v19_1 = new org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult();
                                    org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult.access$002(v19_1, v23[v15_0]);
                                    v13_1.runTestCase(v19_1);
                                    v6++;
                                    if (v19_1.succeeded(v8)) {
                                        if (v22 != 0) {
                                            v20_1.add(v19_1);
                                        }
                                    } else {
                                        v9++;
                                    }
                                    v15_0++;
                                }
                            }
                            v26_1.println(new StringBuffer().append("<tr><td colspan=4 bgcolor=skyblue>").append(v17_1).append("</td></tr>").toString());
                            if (v16_1.isEmpty()) {
                                if (v20_1.size() == 0) {
                                    v26_1.println("<tr><td colspan=4 bgcolor=green>Nothing to report</td></tr>");
                                }
                            } else {
                                v26_1.println("<tr><td>Errors within the LTG file:");
                                v26_1.println("<xmp>");
                                int v15_1 = v16_1.iterator();
                                while (v15_1.hasNext()) {
                                    v26_1.println(v15_1.next());
                                }
                                v26_1.println("</xmp>");
                                v26_1.println("</td></tr>");
                            }
                            if (v20_1 != null) {
                                int v15_2 = v20_1.iterator();
                                while (v15_2.hasNext()) {
                                    org.apache.xmlbeans.impl.tool.XSTCTester.summarizeResultAsHTMLTableRows(((org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult) v15_2.next()), v26_1, v8);
                                }
                            }
                        }
                        v26_1.println(new StringBuffer().append("<tr><td colspan=4>Summary: ").append(v9).append(" failures out of ").append(v6).append(" cases run.</td></tr>").toString());
                        v26_1.println("</table>");
                        v26_1.close();
                        System.out.println(new StringBuffer().append("Time run tests: ").append((((double) (System.currentTimeMillis() - v24)) / 1000.0)).append(" seconds").toString());
                        System.out.println(new StringBuffer().append("Results output to ").append(v21).toString());
                        if (org.apache.xmlbeans.SystemProperties.getProperty("os.name").toLowerCase().indexOf("windows") < 0) {
                            Runtime.getRuntime().exec(new StringBuffer().append("mozilla file://").append(v21.getAbsolutePath()).toString());
                        } else {
                            Runtime.getRuntime().exec(new StringBuffer().append("cmd /c start iexplore \"").append(v21.getAbsolutePath()).append("\"").toString());
                        }
                    } else {
                        org.apache.xmlbeans.impl.tool.XSTCTester.printUsage();
                    }
                } else {
                    int v14_2 = 0;
                    while (v14_2 < v5.length) {
                        System.out.println(new StringBuffer().append("Unrecognized option: ").append(v5[v14_2]).toString());
                        v14_2++;
                    }
                    org.apache.xmlbeans.impl.tool.XSTCTester.printUsage();
                    System.exit(0);
                }
            } else {
                org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.tool.XSTCTester.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile() calling method java.io.FileWriter.<init>()


    public static boolean externalCompile(java.util.List p20, java.io.File p21, java.io.File[] p22, boolean p23, String p24, String p25, String p26, String p27, boolean p28, boolean p29)
    {
        java.util.ArrayList v3_1 = new java.util.ArrayList();
        if (p24 == null) {
            p24 = org.apache.xmlbeans.impl.tool.CodeGenUtil.DEFAULT_COMPILER;
        }
        java.io.File v11 = org.apache.xmlbeans.impl.tool.CodeGenUtil.findJavaTool(p24);
        if ((org.apache.xmlbeans.impl.tool.CodeGenUtil.$assertionsDisabled) || (v11.exists())) {
            v3_1.add(v11.getAbsolutePath());
            if (p21 != null) {
                v3_1.add("-d");
                v3_1.add(org.apache.xmlbeans.impl.tool.CodeGenUtil.quoteAndEscapeFilename(p21.getAbsolutePath()));
            } else {
                p21 = new java.io.File;
                p21(".");
            }
            if (p22 == null) {
                p22 = org.apache.xmlbeans.impl.tool.CodeGenUtil.systemClasspath();
            }
            if (p22.length > 0) {
                StringBuffer v5_1 = new StringBuffer();
                v5_1.append(p21.getAbsolutePath());
                int v10_1 = 0;
                while (v10_1 < p22.length) {
                    v5_1.append(java.io.File.pathSeparator);
                    v5_1.append(p22[v10_1].getAbsolutePath());
                    v10_1++;
                }
                v3_1.add("-classpath");
                v3_1.add(org.apache.xmlbeans.impl.tool.CodeGenUtil.quoteAndEscapeFilename(v5_1.toString()));
            }
            if (p25 == null) {
                p25 = "1.4";
            }
            int v17_60;
            v3_1.add("-source");
            v3_1.add(p25);
            v3_1.add("-target");
            v3_1.add(p25);
            if (!p23) {
                v17_60 = "-g:none";
            } else {
                v17_60 = "-g";
            }
            v3_1.add(v17_60);
            if (p29) {
                v3_1.add("-verbose");
            }
            org.apache.xmlbeans.impl.tool.CodeGenUtil.addAllJavaFiles(p20, v3_1);
            try {
                java.io.File v4 = java.io.File.createTempFile("javac", "");
                java.io.FileWriter v9_1 = new java.io.FileWriter(v4);
                int v10_2 = v3_1.iterator();
                v10_2.next();
            } catch (Throwable v6) {
                System.err.println("Could not create command-line file for javac");
                try {
                    String v0_8 = new String[v3_1.size()];
                    String[] v16_1 = ((String[]) v3_1.toArray(v0_8));
                } catch (Throwable v6) {
                    System.err.println(v6.toString());
                    System.err.println(v6.getCause());
                    v6.printStackTrace(System.err);
                    int v17_41 = 0;
                    return v17_41;
                }
                if (p29) {
                    System.out.print("compile command:");
                    int v10_0 = 0;
                    while (v10_0 < v16_1.length) {
                        System.out.print(new StringBuffer().append(" ").append(v16_1[v10_0]).toString());
                        v10_0++;
                    }
                    System.out.println();
                }
                Process v15 = Runtime.getRuntime().exec(v16_1);
                StringBuffer v8_1 = new StringBuffer();
                StringBuffer v14_1 = new StringBuffer();
                new org.apache.xmlbeans.impl.tool.CodeGenUtil$ThreadedReader(v15.getInputStream(), v14_1);
                new org.apache.xmlbeans.impl.tool.CodeGenUtil$ThreadedReader(v15.getErrorStream(), v8_1);
                v15.waitFor();
                if ((p29) || (v15.exitValue() != 0)) {
                    if (v14_1.length() > 0) {
                        System.out.println(v14_1.toString());
                        System.out.flush();
                    }
                    if (v8_1.length() > 0) {
                        System.err.println(v8_1.toString());
                        System.err.flush();
                    }
                    if (v15.exitValue() != 0) {
                        v17_41 = 0;
                        return v17_41;
                    }
                }
                if (v4 != null) {
                    v4.delete();
                }
                v17_41 = 1;
                return v17_41;
            }
            while (v10_2.hasNext()) {
                v9_1.write(((String) v10_2.next()));
                v9_1.write(10);
            }
            v9_1.close();
            java.util.ArrayList v12_1 = new java.util.ArrayList();
            v12_1.add(v3_1.get(0));
            if ((p26 != null) && (p26.length() != 0)) {
                v12_1.add(new StringBuffer().append("-J-Xms").append(p26).toString());
            }
            if ((p27 != null) && (p27.length() != 0)) {
                v12_1.add(new StringBuffer().append("-J-Xmx").append(p27).toString());
            }
            v12_1.add(new StringBuffer().append("@").append(v4.getAbsolutePath()).toString());
            v3_1 = v12_1;
        } else {
            throw new AssertionError(new StringBuffer().append("compiler not found ").append(v11).toString());
        }
    }

Method org.apache.poi.xssf.streaming.SheetDataWriter.createWriter() calling method java.io.FileWriter.<init>()


    public java.io.Writer createWriter(java.io.File p3)
    {
        return new java.io.BufferedWriter(new java.io.FileWriter(p3));
    }

Method org.apache.commons.io.output.LockableFileWriter.initWriter() calling method java.io.FileWriter.<init>()


    private java.io.Writer initWriter(java.io.File p8, String p9, boolean p10)
    {
        java.io.OutputStreamWriter v4;
        boolean v1 = p8.exists();
        java.io.FileOutputStream v2 = 0;
        v4 = 0;
        try {
            if (p9 != null) {
                java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p8.getAbsolutePath(), p10);
                try {
                    v4 = new java.io.OutputStreamWriter(v3_1, p9);
                    v2 = v3_1;
                } catch (RuntimeException v0_1) {
                    v2 = v3_1;
                } catch (RuntimeException v0_0) {
                    v2 = v3_1;
                    org.apache.commons.io.IOUtils.closeQuietly(v4);
                    org.apache.commons.io.IOUtils.closeQuietly(v2);
                    this.lockFile.delete();
                    if (!v1) {
                        p8.delete();
                    }
                    throw v0_0;
                }
                return v4;
            } else {
                v4 = new java.io.FileWriter(p8.getAbsolutePath(), p10);
                return v4;
            }
        } catch (RuntimeException v0_1) {
        } catch (RuntimeException v0_0) {
        }
        org.apache.commons.io.IOUtils.closeQuietly(v4);
        org.apache.commons.io.IOUtils.closeQuietly(v2);
        this.lockFile.delete();
        if (!v1) {
            p8.delete();
        }
        throw v0_1;
    }

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


    public void writeCachedSettings(long p8, org.json.JSONObject p10)
    {
        io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "Writing settings to cache file...");
        if (p10 != null) {
            java.io.FileWriter v1 = 0;
            try {
                p10.put("expires_at", p8);
                java.io.FileWriter v2_0 = new java.io.FileWriter(new java.io.File(new io.fabric.sdk.android.services.persistence.FileStoreImpl(this.kit).getFilesDir(), "com.crashlytics.settings.json"));
                try {
                    v2_0.write(p10.toString());
                    v2_0.flush();
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2_0, "Failed to close settings writer.");
                } catch (Throwable v3_7) {
                    v1 = v2_0;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Failed to close settings writer.");
                    throw v3_7;
                } catch (Exception v0) {
                    v1 = v2_0;
                    io.fabric.sdk.android.Fabric.getLogger().e("Fabric", "Failed to cache settings", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Failed to close settings writer.");
                }
            } catch (Throwable v3_7) {
            } catch (Exception v0) {
            }
        }
        return;
    }

Method com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.openOutputHandler() calling method java.io.FileWriter.<init>()


    public com.sun.org.apache.xml.internal.serializer.SerializationHandler openOutputHandler(String p7, boolean p8)
    {
        try {
            com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory v3 = com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.newInstance();
            String v1 = new java.io.File(p7).getParent();
        } catch (Exception v2) {
            throw new com.sun.org.apache.xalan.internal.xsltc.TransletException(v2);
        }
        if ((v1 != null) && (v1.length() > 0)) {
            new java.io.File(v1).mkdirs();
        }
        v3.setEncoding(this._encoding);
        v3.setOutputMethod(this._method);
        v3.setWriter(new java.io.FileWriter(p7, p8));
        v3.setOutputType(0);
        com.sun.org.apache.xml.internal.serializer.SerializationHandler v4 = v3.getSerializationHandler();
        this.transferOutputSettings(v4);
        v4.startDocument();
        return v4;
    }

Method com.sun.org.apache.xalan.internal.xslt.Process._main() calling method java.io.FileWriter.<init>()


    public static void _main(String[] p78)
    {
        int v11 = 0;
        int v10 = 0;
        int v27 = 0;
        java.io.PrintWriter v9_0 = new java.io.PrintWriter(System.err, 1);
        java.io.PrintWriter v15 = v9_0;
        java.util.ListResourceBundle v47 = com.sun.org.apache.xalan.internal.res.XSLMessages.loadResourceBundle("com.sun.org.apache.xalan.internal.res.XSLTErrorResources");
        String v22 = "s2s";
        if (p78.length >= 1) {
            int v67 = 1;
            int v24_2 = 0;
            while (v24_2 < p78.length) {
                if ("-XSLTC".equalsIgnoreCase(p78[v24_2])) {
                    v67 = 1;
                }
                v24_2++;
            }
            if (v67 != 0) {
                java.util.Properties v43 = System.getProperties();
                v43.put("javax.xml.transform.TransformerFactory", "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
                System.setProperties(v43);
            }
            try {
                int v60 = javax.xml.transform.TransformerFactory.newInstance();
                v60.setErrorListener(new com.sun.org.apache.xml.internal.utils.DefaultErrorHandler());
            } catch (javax.xml.transform.TransformerFactoryConfigurationError v42) {
                v42.printStackTrace(v15);
                String v31_7 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NOT_SUCCESSFUL", 0);
                v9_0.println(v31_7);
                v60 = 0;
                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_7);
            }
            int v66 = 0;
            String v25 = 0;
            String v38 = 0;
            String v14 = 0;
            String v72 = 0;
            String v40 = 0;
            String v30 = 0;
            java.util.Vector v41_1 = new java.util.Vector();
            javax.xml.transform.URIResolver v65 = 0;
            org.xml.sax.EntityResolver v17 = 0;
            org.xml.sax.ContentHandler v7 = 0;
            int v24_0 = 0;
            while (v24_0 < p78.length) {
                if (!"-XSLTC".equalsIgnoreCase(p78[v24_0])) {
                    if (!"-INDENT".equalsIgnoreCase(p78[v24_0])) {
                        if (!"-IN".equalsIgnoreCase(p78[v24_0])) {
                            if (!"-MEDIA".equalsIgnoreCase(p78[v24_0])) {
                                if (!"-OUT".equalsIgnoreCase(p78[v24_0])) {
                                    if (!"-XSL".equalsIgnoreCase(p78[v24_0])) {
                                        if (!"-FLAVOR".equalsIgnoreCase(p78[v24_0])) {
                                            if (!"-PARAM".equalsIgnoreCase(p78[v24_0])) {
                                                if (!"-E".equalsIgnoreCase(p78[v24_0])) {
                                                    if (!"-V".equalsIgnoreCase(p78[v24_0])) {
                                                        if (!"-Q".equalsIgnoreCase(p78[v24_0])) {
                                                            if (!"-DIAG".equalsIgnoreCase(p78[v24_0])) {
                                                                if (!"-XML".equalsIgnoreCase(p78[v24_0])) {
                                                                    if (!"-TEXT".equalsIgnoreCase(p78[v24_0])) {
                                                                        if (!"-HTML".equalsIgnoreCase(p78[v24_0])) {
                                                                            if (!"-EDUMP".equalsIgnoreCase(p78[v24_0])) {
                                                                                if (!"-URIRESOLVER".equalsIgnoreCase(p78[v24_0])) {
                                                                                    if (!"-ENTITYRESOLVER".equalsIgnoreCase(p78[v24_0])) {
                                                                                        if (!"-CONTENTHANDLER".equalsIgnoreCase(p78[v24_0])) {
                                                                                            if (!"-XO".equalsIgnoreCase(p78[v24_0])) {
                                                                                                if (!"-XD".equalsIgnoreCase(p78[v24_0])) {
                                                                                                    if (!"-XJ".equalsIgnoreCase(p78[v24_0])) {
                                                                                                        if (!"-XP".equalsIgnoreCase(p78[v24_0])) {
                                                                                                            if (!"-XN".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                if (!"-XX".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                    if (!"-XT".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                        if (!"-SECURE".equalsIgnoreCase(p78[v24_0])) {
                                                                                                                            int v0_205 = new Object[1];
                                                                                                                            Object[] v75_28 = v0_205;
                                                                                                                            v75_28[0] = p78[v24_0];
                                                                                                                            System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_INVALID_OPTION", v75_28));
                                                                                                                        } else {
                                                                                                                            v27 = 1;
                                                                                                                            try {
                                                                                                                                v60.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                                                                                                                            } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                                                                                                            }
                                                                                                                        }
                                                                                                                    } else {
                                                                                                                        if (v67 == 0) {
                                                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XT");
                                                                                                                        } else {
                                                                                                                            v60.setAttribute("auto-translet", "true");
                                                                                                                        }
                                                                                                                    }
                                                                                                                } else {
                                                                                                                    if (v67 == 0) {
                                                                                                                        com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XX");
                                                                                                                    } else {
                                                                                                                        v60.setAttribute("debug", "true");
                                                                                                                    }
                                                                                                                }
                                                                                                            } else {
                                                                                                                if (v67 == 0) {
                                                                                                                    com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XN");
                                                                                                                } else {
                                                                                                                    v60.setAttribute("enable-inlining", "true");
                                                                                                                }
                                                                                                            }
                                                                                                        } else {
                                                                                                            if (v67 == 0) {
                                                                                                                if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                                    v24_0++;
                                                                                                                }
                                                                                                                com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XP");
                                                                                                            } else {
                                                                                                                if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                                    int v0_222 = new Object[1];
                                                                                                                    Object[] v75_30 = v0_222;
                                                                                                                    v75_30[0] = "-XP";
                                                                                                                    System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_30));
                                                                                                                } else {
                                                                                                                    v24_0++;
                                                                                                                    v60.setAttribute("package-name", p78[v24_0]);
                                                                                                                }
                                                                                                            }
                                                                                                        }
                                                                                                    } else {
                                                                                                        if (v67 == 0) {
                                                                                                            if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                                v24_0++;
                                                                                                            }
                                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XJ");
                                                                                                        } else {
                                                                                                            if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                                int v0_234 = new Object[1];
                                                                                                                Object[] v75_32 = v0_234;
                                                                                                                v75_32[0] = "-XJ";
                                                                                                                System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_32));
                                                                                                            } else {
                                                                                                                v60.setAttribute("generate-translet", "true");
                                                                                                                v24_0++;
                                                                                                                v60.setAttribute("jar-name", p78[v24_0]);
                                                                                                            }
                                                                                                        }
                                                                                                    }
                                                                                                } else {
                                                                                                    if (v67 == 0) {
                                                                                                        if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                            v24_0++;
                                                                                                        }
                                                                                                        com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XD");
                                                                                                    } else {
                                                                                                        if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                            int v0_246 = new Object[1];
                                                                                                            Object[] v75_34 = v0_246;
                                                                                                            v75_34[0] = "-XD";
                                                                                                            System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_34));
                                                                                                        } else {
                                                                                                            v24_0++;
                                                                                                            v60.setAttribute("destination-directory", p78[v24_0]);
                                                                                                        }
                                                                                                    }
                                                                                                }
                                                                                            } else {
                                                                                                if (v67 == 0) {
                                                                                                    if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                                        v24_0++;
                                                                                                    }
                                                                                                    com.sun.org.apache.xalan.internal.xslt.Process.printInvalidXalanOption("-XO");
                                                                                                } else {
                                                                                                    if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                                                                                        v60.setAttribute("generate-translet", "true");
                                                                                                    } else {
                                                                                                        v60.setAttribute("generate-translet", "true");
                                                                                                        v24_0++;
                                                                                                        v60.setAttribute("translet-name", p78[v24_0]);
                                                                                                    }
                                                                                                }
                                                                                            }
                                                                                        } else {
                                                                                            if ((v24_0 + 1) >= p78.length) {
                                                                                                int v0_16 = new Object[1];
                                                                                                int v74_11 = v0_16;
                                                                                                v74_11[0] = "-ContentHandler";
                                                                                                String v31_0 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v74_11);
                                                                                                System.err.println(v31_0);
                                                                                                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_0);
                                                                                            } else {
                                                                                                v24_0++;
                                                                                                try {
                                                                                                    v7 = ((org.xml.sax.ContentHandler) com.sun.org.apache.xalan.internal.xslt.ObjectFactory.newInstance(p78[v24_0], com.sun.org.apache.xalan.internal.xslt.ObjectFactory.findClassLoader(), 1));
                                                                                                } catch (com.sun.org.apache.xalan.internal.xslt.ObjectFactory$ConfigurationError v6) {
                                                                                                    int v0_22 = new Object[1];
                                                                                                    int v74_14 = v0_22;
                                                                                                    v74_14[0] = "-ContentHandler";
                                                                                                    String v31_1 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CLASS_NOT_FOUND_FOR_OPTION", v74_14);
                                                                                                    System.err.println(v31_1);
                                                                                                    com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_1);
                                                                                                }
                                                                                            }
                                                                                        }
                                                                                    } else {
                                                                                        if ((v24_0 + 1) >= p78.length) {
                                                                                            int v0_28 = new Object[1];
                                                                                            int v74_17 = v0_28;
                                                                                            v74_17[0] = "-EntityResolver";
                                                                                            String v31_2 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v74_17);
                                                                                            System.err.println(v31_2);
                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_2);
                                                                                        } else {
                                                                                            v24_0++;
                                                                                            try {
                                                                                                v17 = ((org.xml.sax.EntityResolver) com.sun.org.apache.xalan.internal.xslt.ObjectFactory.newInstance(p78[v24_0], com.sun.org.apache.xalan.internal.xslt.ObjectFactory.findClassLoader(), 1));
                                                                                            } catch (com.sun.org.apache.xalan.internal.xslt.ObjectFactory$ConfigurationError v6) {
                                                                                                int v0_33 = new Object[1];
                                                                                                int v74_20 = v0_33;
                                                                                                v74_20[0] = "-EntityResolver";
                                                                                                String v31_3 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CLASS_NOT_FOUND_FOR_OPTION", v74_20);
                                                                                                System.err.println(v31_3);
                                                                                                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_3);
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    if ((v24_0 + 1) >= p78.length) {
                                                                                        int v0_40 = new Object[1];
                                                                                        int v74_23 = v0_40;
                                                                                        v74_23[0] = "-URIResolver";
                                                                                        String v31_4 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v74_23);
                                                                                        System.err.println(v31_4);
                                                                                        com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_4);
                                                                                    } else {
                                                                                        v24_0++;
                                                                                        try {
                                                                                            v65 = ((javax.xml.transform.URIResolver) com.sun.org.apache.xalan.internal.xslt.ObjectFactory.newInstance(p78[v24_0], com.sun.org.apache.xalan.internal.xslt.ObjectFactory.findClassLoader(), 1));
                                                                                            v60.setURIResolver(v65);
                                                                                        } catch (com.sun.org.apache.xalan.internal.xslt.ObjectFactory$ConfigurationError v6) {
                                                                                            int v0_47 = new Object[1];
                                                                                            int v74_26 = v0_47;
                                                                                            v74_26[0] = "-URIResolver";
                                                                                            String v31_5 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_CLASS_NOT_FOUND_FOR_OPTION", v74_26);
                                                                                            System.err.println(v31_5);
                                                                                            com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_5);
                                                                                        }
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                v11 = 1;
                                                                                if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                                                                                    v24_0++;
                                                                                    v14 = p78[v24_0];
                                                                                }
                                                                            }
                                                                        } else {
                                                                            v40 = "html";
                                                                        }
                                                                    } else {
                                                                        v40 = "text";
                                                                    }
                                                                } else {
                                                                    v40 = "xml";
                                                                }
                                                            } else {
                                                                v10 = 1;
                                                            }
                                                        }
                                                    } else {
                                                        v9_0.println(new StringBuilder().append(v47.getString("version")).append(com.sun.org.apache.xalan.internal.Version.getVersion()).append(", ").append(v47.getString("version2")).toString());
                                                    }
                                                }
                                            } else {
                                                if ((v24_0 + 2) >= p78.length) {
                                                    int v0_61 = new Object[1];
                                                    Object[] v75_10 = v0_61;
                                                    v75_10[0] = "-PARAM";
                                                    System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_10));
                                                } else {
                                                    int v24_1 = (v24_0 + 1);
                                                    v41_1.addElement(p78[v24_1]);
                                                    v24_0 = (v24_1 + 1);
                                                    v41_1.addElement(p78[v24_0]);
                                                }
                                            }
                                        } else {
                                            if ((v24_0 + 1) >= p78.length) {
                                                int v0_69 = new Object[1];
                                                Object[] v75_12 = v0_69;
                                                v75_12[0] = "-FLAVOR";
                                                System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_12));
                                            } else {
                                                v24_0++;
                                                v22 = p78[v24_0];
                                            }
                                        }
                                    } else {
                                        if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                            int v0_75 = new Object[1];
                                            Object[] v75_14 = v0_75;
                                            v75_14[0] = "-XSL";
                                            System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_14));
                                        } else {
                                            v24_0++;
                                            v72 = p78[v24_0];
                                        }
                                    }
                                } else {
                                    if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                        int v0_81 = new Object[1];
                                        Object[] v75_16 = v0_81;
                                        v75_16[0] = "-OUT";
                                        System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_16));
                                    } else {
                                        v24_0++;
                                        v38 = p78[v24_0];
                                    }
                                }
                            } else {
                                if ((v24_0 + 1) >= p78.length) {
                                    int v0_87 = new Object[1];
                                    Object[] v75_18 = v0_87;
                                    v75_18[0] = "-MEDIA";
                                    System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_18));
                                } else {
                                    v24_0++;
                                    v30 = p78[v24_0];
                                }
                            }
                        } else {
                            if (((v24_0 + 1) >= p78.length) || (p78[(v24_0 + 1)].charAt(0) == 45)) {
                                int v0_94 = new Object[1];
                                Object[] v75_20 = v0_94;
                                v75_20[0] = "-IN";
                                System.err.println(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_MISSING_ARG_FOR_OPTION", v75_20));
                            } else {
                                v24_0++;
                                v25 = p78[v24_0];
                            }
                        }
                    } else {
                        if (((v24_0 + 1) < p78.length) && (p78[(v24_0 + 1)].charAt(0) != 45)) {
                            v24_0++;
                            Integer.parseInt(p78[v24_0]);
                        }
                    }
                }
                v24_0++;
            }
            if ((v25 == null) && (v72 == null)) {
                String v31_9 = v47.getString("xslProc_no_input");
                System.err.println(v31_9);
                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_9);
            }
            try {
                long v54 = System.currentTimeMillis();
            } catch (Exception v62_0) {
            }
            if (v14 != null) {
                java.io.PrintWriter v16 = new java.io.PrintWriter;
                javax.xml.transform.TransformerConfigurationException v73_251 = new java.io.FileWriter;
                v73_251(v14);
                v16(v73_251);
                v15 = v16;
            }
            javax.xml.transform.Templates v59 = 0;
            if (v72 != null) {
                if (!v22.equals("d2d")) {
                    javax.xml.transform.TransformerConfigurationException v73_25 = new javax.xml.transform.stream.StreamSource;
                    v73_25(v72);
                    v59 = v60.newTemplates(v73_25);
                } else {
                    javax.xml.parsers.DocumentBuilderFactory v8_0 = javax.xml.parsers.DocumentBuilderFactory.newInstance();
                    v8_0.setNamespaceAware(1);
                    if (v27 != 0) {
                        try {
                            v8_0.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                        } catch (javax.xml.transform.TransformerConfigurationException v73) {
                        }
                    }
                    javax.xml.parsers.DocumentBuilder v13_0 = v8_0.newDocumentBuilder();
                    javax.xml.transform.TransformerConfigurationException v73_64 = new org.xml.sax.InputSource;
                    v73_64(v72);
                    javax.xml.transform.TransformerConfigurationException v73_73 = new javax.xml.transform.dom.DOMSource;
                    v73_73(v13_0.parse(v73_64), v72);
                    v59 = v60.newTemplates(v73_73);
                }
            }
            javax.xml.transform.stream.StreamResult v58;
            if (v38 == null) {
                v58 = new javax.xml.transform.stream.StreamResult;
                v58(System.out);
            } else {
                v58 = new javax.xml.transform.stream.StreamResult;
                javax.xml.transform.TransformerConfigurationException v73_81 = new java.io.FileOutputStream;
                v73_81(v38);
                v58(v73_81);
                v58.setSystemId(v38);
            }
            javax.xml.transform.sax.SAXTransformerFactory v53 = ((javax.xml.transform.sax.SAXTransformerFactory) v60);
            if (v59 == null) {
                javax.xml.transform.TransformerConfigurationException v73_82 = new javax.xml.transform.stream.StreamSource;
                v73_82(v25);
                javax.xml.transform.Source v52 = v53.getAssociatedStylesheet(v73_82, v30, 0, 0);
                if (v52 == null) {
                    if (v30 == null) {
                        int v0_112 = new Object[1];
                        Object[] v75_23 = v0_112;
                        v75_23[0] = v25;
                        throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NO_STYLESHEET_PI", v75_23));
                    } else {
                        int v0_115 = new Object[2];
                        Object[] v75_25 = v0_115;
                        v75_25[0] = v25;
                        v75_25[1] = v30;
                        throw new javax.xml.transform.TransformerException(com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NO_STYLESHEET_IN_MEDIA", v75_25));
                    }
                } else {
                    v59 = v60.newTemplates(v52);
                }
            }
            if (v59 == null) {
                String v31_6 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("ER_NOT_SUCCESSFUL", 0);
                v9_0.println(v31_6);
                com.sun.org.apache.xalan.internal.xslt.Process.doExit(v31_6);
            } else {
                javax.xml.transform.Transformer v63;
                if (!v22.equals("th")) {
                    v63 = v59.newTransformer();
                } else {
                    v63 = 0;
                }
                v63.setErrorListener(new com.sun.org.apache.xml.internal.utils.DefaultErrorHandler());
                if (v40 != null) {
                    v63.setOutputProperty("method", v40);
                }
                int v35 = v41_1.size();
                int v24_3 = 0;
                while (v24_3 < v35) {
                    v63.setParameter(((String) v41_1.elementAt(v24_3)), ((String) v41_1.elementAt((v24_3 + 1))));
                    v24_3 += 2;
                }
                if (v65 != null) {
                    v63.setURIResolver(v65);
                }
                if (v25 == null) {
                    org.xml.sax.XMLReader v45_0 = new java.io.StringReader;
                    v45_0("<?xml version=\"1.0\"?> <doc/>");
                    javax.xml.transform.TransformerConfigurationException v73_95 = new javax.xml.transform.stream.StreamSource;
                    v73_95(v45_0);
                    v63.transform(v73_95, v58);
                } else {
                    if (!v22.equals("d2d")) {
                        if (!v22.equals("th")) {
                            if (v17 == null) {
                                if (v7 == null) {
                                    javax.xml.transform.TransformerConfigurationException v73_101 = new javax.xml.transform.stream.StreamSource;
                                    v73_101(v25);
                                    v63.transform(v73_101, v58);
                                } else {
                                    javax.xml.transform.sax.SAXResult v48_0 = new javax.xml.transform.sax.SAXResult;
                                    v48_0(v7);
                                    javax.xml.transform.TransformerConfigurationException v73_102 = new javax.xml.transform.stream.StreamSource;
                                    v73_102(v25);
                                    v63.transform(v73_102, v48_0);
                                }
                            } else {
                                org.xml.sax.XMLReader v45_1 = 0;
                                try {
                                    javax.xml.parsers.SAXParserFactory v21_0 = javax.xml.parsers.SAXParserFactory.newInstance();
                                    v21_0.setNamespaceAware(1);
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    if (v45_1 == null) {
                                        v45_1 = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();
                                    }
                                    v45_1.setEntityResolver(v17);
                                    if (v7 == null) {
                                        javax.xml.transform.TransformerConfigurationException v73_108 = new javax.xml.transform.sax.SAXSource;
                                        int v74_74 = new org.xml.sax.InputSource;
                                        v74_74(v25);
                                        v73_108(v45_1, v74_74);
                                        v63.transform(v73_108, v58);
                                    } else {
                                        javax.xml.transform.sax.SAXResult v48_1 = new javax.xml.transform.sax.SAXResult;
                                        v48_1(v7);
                                        javax.xml.transform.TransformerConfigurationException v73_109 = new javax.xml.transform.sax.SAXSource;
                                        int v74_75 = new org.xml.sax.InputSource;
                                        v74_75(v25);
                                        v73_109(v45_1, v74_75);
                                        v63.transform(v73_109, v48_1);
                                    }
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                }
                                if (v27 != 0) {
                                    try {
                                        v21_0.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    }
                                }
                                v45_1 = v21_0.newSAXParser().getXMLReader();
                            }
                        } else {
                            int v24_4 = 0;
                            while (v24_4 < 1) {
                                org.xml.sax.XMLReader v45_2 = 0;
                                try {
                                    javax.xml.parsers.SAXParserFactory v21_1 = javax.xml.parsers.SAXParserFactory.newInstance();
                                    v21_1.setNamespaceAware(1);
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    if (v45_2 == null) {
                                        v45_2 = org.xml.sax.helpers.XMLReaderFactory.createXMLReader();
                                    }
                                    javax.xml.transform.sax.TransformerHandler v61 = v53.newTransformerHandler(v59);
                                    v45_2.setContentHandler(v61);
                                    v45_2.setDTDHandler(v61);
                                    if ((v61 instanceof org.xml.sax.ErrorHandler)) {
                                        v45_2.setErrorHandler(((org.xml.sax.ErrorHandler) v61));
                                    }
                                    try {
                                        v45_2.setProperty("http://xml.org/sax/properties/lexical-handler", v61);
                                        try {
                                            v45_2.setFeature("http://xml.org/sax/features/namespace-prefixes", 1);
                                        } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                        }
                                        v61.setResult(v58);
                                        javax.xml.transform.TransformerConfigurationException v73_122 = new org.xml.sax.InputSource;
                                        v73_122(v25);
                                        v45_2.parse(v73_122);
                                        v24_4++;
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    }
                                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                }
                                if (v27 != 0) {
                                    try {
                                        v21_1.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                                    } catch (javax.xml.transform.TransformerConfigurationException v73) {
                                    }
                                }
                                v45_2 = v21_1.newSAXParser().getXMLReader();
                            }
                        }
                    } else {
                        javax.xml.parsers.DocumentBuilderFactory v8_1 = javax.xml.parsers.DocumentBuilderFactory.newInstance();
                        v8_1.setCoalescing(1);
                        v8_1.setNamespaceAware(1);
                        if (v27 != 0) {
                            try {
                                v8_1.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", 1);
                            } catch (javax.xml.transform.TransformerConfigurationException v73) {
                            }
                        }
                        javax.xml.parsers.DocumentBuilder v13_1 = v8_1.newDocumentBuilder();
                        if (v17 != null) {
                            v13_1.setEntityResolver(v17);
                        }
                        javax.xml.transform.TransformerConfigurationException v73_126 = new org.xml.sax.InputSource;
                        v73_126(v25);
                        org.w3c.dom.Document v70 = v13_1.parse(v73_126);
                        org.w3c.dom.DocumentFragment v39 = v13_1.newDocument().createDocumentFragment();
                        javax.xml.transform.TransformerConfigurationException v73_127 = new javax.xml.transform.dom.DOMSource;
                        v73_127(v70, v25);
                        int v74_80 = new javax.xml.transform.dom.DOMResult;
                        v74_80(v39);
                        v63.transform(v73_127, v74_80);
                        javax.xml.transform.Transformer v50 = v53.newTransformer();
                        v50.setErrorListener(new com.sun.org.apache.xml.internal.utils.DefaultErrorHandler());
                        v50.setOutputProperties(v59.getOutputProperties());
                        if (v7 == null) {
                            javax.xml.transform.TransformerConfigurationException v73_131 = new javax.xml.transform.dom.DOMSource;
                            v73_131(v39);
                            v50.transform(v73_131, v58);
                        } else {
                            javax.xml.transform.sax.SAXResult v48_2 = new javax.xml.transform.sax.SAXResult;
                            v48_2(v7);
                            javax.xml.transform.TransformerConfigurationException v73_132 = new javax.xml.transform.dom.DOMSource;
                            v73_132(v39);
                            v50.transform(v73_132, v48_2);
                        }
                    }
                }
            }
            if ((v38 != null) && (v58 != null)) {
                java.io.OutputStream v37 = v58.getOutputStream();
                java.io.Writer v69 = v58.getWriter();
                try {
                    if (v37 != null) {
                        v37.close();
                    }
                } catch (javax.xml.transform.TransformerConfigurationException v73) {
                }
                if (v69 != null) {
                    v69.close();
                }
            }
            long v32 = (System.currentTimeMillis() - v54);
            if (v10 == 0) {
                if (v14 != null) {
                    v15.close();
                }
                // Both branches of the condition point to the same code.
                // if (v9_0 == null) {
                // }
            } else {
                int v0_185 = new Object[3];
                Object[] v34 = v0_185;
                v34[0] = v25;
                v34[1] = v72;
                int v74_82 = new Long;
                v74_82(v32);
                v34[2] = v74_82;
                String v31_8 = com.sun.org.apache.xalan.internal.res.XSLMessages.createMessage("diagTiming", v34);
                v9_0.println(10);
                v9_0.println(v31_8);
            }
        } else {
            com.sun.org.apache.xalan.internal.xslt.Process.printArgOptions(v47);
        }
        return;
    }

Method com.sun.org.apache.xalan.internal.xslt.EnvironmentCheck.main() calling method java.io.FileWriter.<init>()


    public static void main(String[] p8)
    {
        java.io.PrintWriter v3_1 = new java.io.PrintWriter(System.out, 1);
        int v2 = 0;
        while (v2 < p8.length) {
            if ("-out".equalsIgnoreCase(p8[v2])) {
                v2++;
                if (v2 >= p8.length) {
                    System.err.println("# WARNING: -out argument should have a filename, output sent to console");
                } else {
                    try {
                        v3_1 = new java.io.PrintWriter(new java.io.FileWriter(p8[v2], 1));
                    } catch (Exception v1) {
                        System.err.println(new StringBuilder().append("# WARNING: -out ").append(p8[v2]).append(" threw ").append(v1.toString()).toString());
                    }
                }
            }
            v2++;
        }
        new com.sun.org.apache.xalan.internal.xslt.EnvironmentCheck().checkEnvironment(v3_1);
        return;
    }

Method com.Hostel.superintendent.attendance.UploadAttendanceExcelSheetActivity.generateNoteOnSD() calling method java.io.FileWriter.<init>()


    public void generateNoteOnSD(android.content.Context p7, String p8, String p9)
    {
        try {
            java.io.File v2_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "Notes");
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        java.io.FileWriter v3_1 = new java.io.FileWriter(new java.io.File(v2_1, p8));
        v3_1.append(p9);
        v3_1.flush();
        v3_1.close();
        return;
    }

Method com.Hostel.superintendent.attendance.PDFAttendanceActvity.generateNoteOnSD() calling method java.io.FileWriter.<init>()


    public void generateNoteOnSD(android.content.Context p7, String p8, String p9)
    {
        try {
            java.io.File v2_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "Notes");
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        java.io.FileWriter v3_1 = new java.io.FileWriter(new java.io.File(v2_1, p8));
        v3_1.append(p9);
        v3_1.flush();
        v3_1.close();
        return;
    }

Method com.Hostel.superintendent.attendance.HostelSPStudentAttendanceViewFragment.generateNoteOnSD() calling method java.io.FileWriter.<init>()


    public void generateNoteOnSD(android.content.Context p7, String p8, String p9)
    {
        try {
            java.io.File v2_1 = new java.io.File(android.os.Environment.getExternalStorageDirectory(), "Notes");
        } catch (java.io.IOException v0) {
            v0.printStackTrace();
            return;
        }
        if (!v2_1.exists()) {
            v2_1.mkdirs();
        }
        java.io.FileWriter v3_1 = new java.io.FileWriter(new java.io.File(v2_1, p8));
        v3_1.append(p9);
        v3_1.flush();
        v3_1.close();
        return;
    }

Method org.spongycastle.crypto.examples.DESExample.<init>() calling method java.io.FileInputStream.<init>()


    public DESExample(String p16, String p17, String p18, boolean p19)
    {
        this.encrypt = 1;
        this.cipher = 0;
        this.in = 0;
        this.out = 0;
        this.key = 0;
        this.encrypt = p19;
        try {
            this.in = new java.io.BufferedInputStream(new java.io.FileInputStream(p16));
            try {
                this.out = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p17));
            } catch (java.io.IOException v2) {
                System.err.println(new StringBuilder().append("Output file not created [").append(p17).append("]").toString());
                System.exit(1);
            }
            if (!p19) {
                try {
                    java.io.BufferedOutputStream v5_3 = new java.io.BufferedInputStream(new java.io.FileInputStream(p18));
                    int v8 = v5_3.available();
                    byte[] v4_1 = new byte[v8];
                    v5_3.read(v4_1, 0, v8);
                    this.key = org.spongycastle.util.encoders.Hex.decode(v4_1);
                } catch (java.io.IOException v3) {
                    System.err.println(new StringBuilder().append("Decryption key file not found, or not valid [").append(p18).append("]").toString());
                    System.exit(1);
                }
            } else {
                java.security.SecureRandom v10 = 0;
                try {
                    java.security.SecureRandom v11_1 = new java.security.SecureRandom();
                    try {
                        v11_1.setSeed("www.spongycastle.org".getBytes());
                        v10 = v11_1;
                    } catch (Exception v9) {
                        v10 = v11_1;
                        System.err.println("Hmmm, no SHA1PRNG, you need the Sun implementation");
                        System.exit(1);
                    } catch (java.io.IOException v1) {
                        System.err.println(new StringBuilder().append("Could not decryption create key file [").append(p18).append("]").toString());
                        System.exit(1);
                    }
                    org.spongycastle.crypto.KeyGenerationParameters v7_1 = new org.spongycastle.crypto.KeyGenerationParameters(v10, 192);
                    org.spongycastle.crypto.generators.DESedeKeyGenerator v6_1 = new org.spongycastle.crypto.generators.DESedeKeyGenerator();
                    v6_1.init(v7_1);
                    this.key = v6_1.generateKey();
                    java.io.BufferedOutputStream v5_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p18));
                    byte[] v4_0 = org.spongycastle.util.encoders.Hex.encode(this.key);
                    v5_1.write(v4_0, 0, v4_0.length);
                    v5_1.flush();
                    v5_1.close();
                } catch (Exception v9) {
                } catch (java.io.IOException v1) {
                }
            }
            return;
        } catch (java.io.IOException v2) {
            System.err.println(new StringBuilder().append("Input file not found [").append(p16).append("]").toString());
            System.exit(1);
        }
    }

Method org.spongycastle.cms.CMSProcessableFile.write() calling method java.io.FileInputStream.<init>()


    public void write(java.io.OutputStream p6)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(this.file);
        while(true) {
            int v1 = v0_1.read(this.buf, 0, this.buf.length);
            if (v1 <= 0) {
                break;
            }
            p6.write(this.buf, 0, v1);
        }
        v0_1.close();
        return;
    }

Method org.spongycastle.cms.CMSProcessableFile.getInputStream() calling method java.io.FileInputStream.<init>()


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

Method org.spongycastle.asn1.util.Dump.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p5)
    {
        org.spongycastle.asn1.ASN1InputStream v0_1 = new org.spongycastle.asn1.ASN1InputStream(new java.io.FileInputStream(p5[0]));
        while(true) {
            org.spongycastle.asn1.ASN1Primitive v2 = v0_1.readObject();
            if (v2 == null) {
                break;
            }
            System.out.println(org.spongycastle.asn1.util.ASN1Dump.dumpAsString(v2));
        }
        return;
    }

Method org.simpleframework.xml.core.Persister.validate() calling method java.io.FileInputStream.<init>()


    public boolean validate(Class p3, java.io.File p4, boolean p5)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        try {
            Throwable v1_0 = this.validate(p3, v0_1, p5);
            v0_1.close();
            return v1_0;
        } catch (Throwable v1_1) {
            v0_1.close();
            throw v1_1;
        }
    }

Method org.simpleframework.xml.core.Persister.read() calling method java.io.FileInputStream.<init>()


    public Object read(Object p3, java.io.File p4, boolean p5)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        try {
            Throwable v1_0 = this.read(p3, v0_1, p5);
            v0_1.close();
            return v1_0;
        } catch (Throwable v1_1) {
            v0_1.close();
            throw v1_1;
        }
    }

Method org.simpleframework.xml.core.Persister.read() calling method java.io.FileInputStream.<init>()


    public Object read(Class p3, java.io.File p4, boolean p5)
    {
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        try {
            Throwable v1_0 = this.read(p3, v0_1, p5);
            v0_1.close();
            return v1_0;
        } catch (Throwable v1_1) {
            v0_1.close();
            throw v1_1;
        }
    }

Method org.apache.xmlbeans.impl.tool.XsbDumper.dump() calling method java.io.FileInputStream.<init>()


    private static void dump(java.io.File p5, boolean p6)
    {
        if (!p5.isDirectory()) {
            if ((!p5.getName().endsWith(".jar")) && (!p5.getName().endsWith(".zip"))) {
                if ((p6) || (p5.getName().endsWith(".xsb"))) {
                    try {
                        System.out.println(p5.toString());
                        org.apache.xmlbeans.impl.tool.XsbDumper.dump(new java.io.FileInputStream(p5), "  ");
                        System.out.println();
                    } catch (java.io.FileNotFoundException v0) {
                        System.out.println(v0.toString());
                    }
                }
            } else {
                org.apache.xmlbeans.impl.tool.XsbDumper.dumpZip(p5);
            }
        } else {
            java.io.File[] v1 = p5.listFiles(new org.apache.xmlbeans.impl.tool.XsbDumper$1());
            int v2 = 0;
            while (v2 < v1.length) {
                org.apache.xmlbeans.impl.tool.XsbDumper.dump(v1[v2], 0);
                v2++;
            }
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.StreamInstanceValidator.validateFiles() calling method java.io.FileInputStream.<init>()


    public static void validateFiles(java.io.File[] p20, org.apache.xmlbeans.SchemaTypeLoader p21, org.apache.xmlbeans.XmlOptions p22)
    {
        org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader v2_1 = new org.apache.xmlbeans.impl.validator.ValidatingXMLStreamReader();
        java.util.ArrayList v8_1 = new java.util.ArrayList();
        int v13 = 0;
        while (v13 < p20.length) {
            java.io.File v11 = p20[v13];
            String v16 = v11.getPath();
            long v18 = 0;
            v8_1.clear();
            try {
                java.io.FileInputStream v12_1 = new java.io.FileInputStream(v11);
                aavax.xml.stream.XMLStreamReader v3 = org.apache.xmlbeans.impl.tool.StreamInstanceValidator.XML_INPUT_FACTORY.createXMLStreamReader(v16, v12_1);
            } catch (aavax.xml.stream.XMLStreamException v17) {
                aavax.xml.stream.Location v15 = v17.getLocation();
                v8_1.add(org.apache.xmlbeans.XmlError.forLocation(v17.getMessage(), v16, v15.getLineNumber(), v15.getColumnNumber(), v15.getCharacterOffset()));
                if (!v8_1.isEmpty()) {
                    System.out.println(new StringBuffer().append(v11).append(" NOT valid (").append(v18).append(" ms):").toString());
                    java.util.Iterator v14 = v8_1.iterator();
                    while (v14.hasNext()) {
                        System.out.println(org.apache.xmlbeans.impl.tool.StreamInstanceValidator.stringFromError(((org.apache.xmlbeans.XmlError) v14.next()), v16));
                    }
                    v13++;
                } else {
                    System.out.println(new StringBuffer().append(v11).append(" valid. (").append(v18).append(" ms)").toString());
                }
            } catch (Exception v9_0) {
                System.err.println(new StringBuffer().append("error for file: ").append(v11).append(": ").append(v9_0).toString());
                v9_0.printStackTrace(System.err);
            }
            while (!v3.isStartElement()) {
                v3.next();
            }
            v18 = System.currentTimeMillis();
            v2_1.init(v3, 1, 0, p21, p22, v8_1);
            while (v2_1.hasNext()) {
                v2_1.next();
            }
            v18 = (System.currentTimeMillis() - v18);
            v2_1.close();
            v12_1.close();
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.SchemaResourceManager.inputStreamForFile() calling method java.io.FileInputStream.<init>()


    protected java.io.InputStream inputStreamForFile(String p4)
    {
        return new java.io.FileInputStream(new java.io.File(this._directory, p4));
    }

Method org.apache.xmlbeans.impl.tool.RunXQuery.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p24)
    {
        java.util.HashSet v7_1 = new java.util.HashSet();
        v7_1.add("h");
        v7_1.add("help");
        v7_1.add("usage");
        v7_1.add("license");
        v7_1.add("version");
        v7_1.add("verbose");
        v7_1.add("pretty");
        org.apache.xmlbeans.XmlObject v0_18 = new String[2];
        java.io.PrintStream v21_34 = v0_18;
        v21_34[0] = "q";
        v21_34[1] = "qf";
        org.apache.xmlbeans.impl.tool.CommandLine v4_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p24, v7_1, java.util.Arrays.asList(v21_34));
        if ((v4_1.getOpt("h") == null) && ((v4_1.getOpt("help") == null) && (v4_1.getOpt("usage") == null))) {
            String[] v2 = v4_1.getBadOpts();
            if (v2.length <= 0) {
                if (v4_1.getOpt("license") == null) {
                    if (v4_1.getOpt("version") == null) {
                        if (v4_1.args().length != 0) {
                            int v19;
                            if (v4_1.getOpt("verbose") == null) {
                                v19 = 0;
                            } else {
                                v19 = 1;
                            }
                            int v12;
                            if (v4_1.getOpt("pretty") == null) {
                                v12 = 0;
                            } else {
                                v12 = 1;
                            }
                            String v13_0 = v4_1.getOpt("q");
                            String v15 = v4_1.getOpt("qf");
                            if ((v13_0 != null) || (v15 != null)) {
                                if ((v13_0 == null) || (v15 == null)) {
                                    if (v15 != null) {
                                        try {
                                            java.io.FileInputStream v9_1 = new java.io.FileInputStream(new java.io.File(v15));
                                            java.io.InputStreamReader v16 = new java.io.InputStreamReader;
                                            v16(v9_1);
                                            StringBuffer v18_1 = new StringBuffer();
                                        } catch (Throwable v5_0) {
                                            System.err.println(new StringBuffer().append("Cannot read query file: ").append(v5_0.getMessage()).toString());
                                            System.exit(1);
                                            return;
                                        }
                                        while(true) {
                                            int v3_0 = v16.read();
                                            if (v3_0 < 0) {
                                                break;
                                            }
                                            v18_1.append(((char) v3_0));
                                        }
                                        v16.close();
                                        v9_1.close();
                                        v13_0 = v18_1.toString();
                                    }
                                    if (v19 != 0) {
                                        System.out.println("Compile Query:");
                                        System.out.println(v13_0);
                                        System.out.println();
                                    }
                                    try {
                                        String v13_1 = org.apache.xmlbeans.XmlBeans.compileQuery(v13_0);
                                        java.io.File[] v6 = v4_1.getFiles();
                                        int v8_0 = 0;
                                    } catch (Throwable v5_1) {
                                        System.err.println(new StringBuffer().append("Error compiling query: ").append(v5_1.getMessage()).toString());
                                        System.exit(1);
                                    }
                                    while (v8_0 < v6.length) {
                                        if (v19 != 0) {
                                            try {
                                                java.io.FileInputStream v9_3 = new java.io.FileInputStream(v6[v8_0]);
                                            } catch (Throwable v5_2) {
                                                System.err.println(new StringBuffer().append("Error parsing instance: ").append(v5_2.getMessage()).toString());
                                                System.exit(1);
                                                break;
                                            }
                                            while(true) {
                                                int v3_1 = v9_3.read();
                                                if (v3_1 < 0) {
                                                    break;
                                                }
                                                System.out.write(v3_1);
                                            }
                                            v9_3.close();
                                            System.out.println();
                                        }
                                        org.apache.xmlbeans.XmlObject v20 = org.apache.xmlbeans.XmlObject$Factory.parse(v6[v8_0]);
                                        if (v19 != 0) {
                                            System.out.println("Executing Query...");
                                            System.err.println();
                                        }
                                        try {
                                            org.apache.xmlbeans.XmlObject[] v17 = v20.execQuery(v13_1);
                                        } catch (Throwable v5_3) {
                                            System.err.println(new StringBuffer().append("Error executing query: ").append(v5_3.getMessage()).toString());
                                            System.exit(1);
                                            break;
                                        }
                                        if (v19 != 0) {
                                            System.out.println("Query Result:");
                                        }
                                        org.apache.xmlbeans.XmlOptions v11_1 = new org.apache.xmlbeans.XmlOptions();
                                        v11_1.setSaveOuter();
                                        if (v12 != 0) {
                                            v11_1.setSavePrettyPrint();
                                        }
                                        int v10 = 0;
                                        while (v10 < v17.length) {
                                            v17[v10].save(System.out, v11_1);
                                            System.out.println();
                                            v10++;
                                        }
                                        v8_0++;
                                    }
                                } else {
                                    System.err.println("Specify -qf or -q, not both.");
                                    System.exit(0);
                                }
                            } else {
                                System.err.println("No query specified");
                                System.exit(0);
                            }
                        } else {
                            org.apache.xmlbeans.impl.tool.RunXQuery.printUsage();
                            System.exit(0);
                        }
                    } else {
                        org.apache.xmlbeans.impl.tool.CommandLine.printVersion();
                        System.exit(0);
                    }
                } else {
                    org.apache.xmlbeans.impl.tool.CommandLine.printLicense();
                    System.exit(0);
                }
            } else {
                int v8_1 = 0;
                while (v8_1 < v2.length) {
                    System.out.println(new StringBuffer().append("Unrecognized option: ").append(v2[v8_1]).toString());
                    v8_1++;
                }
                org.apache.xmlbeans.impl.tool.RunXQuery.printUsage();
                System.exit(0);
            }
        } else {
            org.apache.xmlbeans.impl.tool.RunXQuery.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.Diff.filesAsXsb() calling method java.io.FileInputStream.<init>()


    public static void filesAsXsb(java.io.File p5, java.io.File p6, java.util.List p7)
    {
        if ((org.apache.xmlbeans.impl.tool.Diff.$assertionsDisabled) || (p5.exists())) {
            if ((org.apache.xmlbeans.impl.tool.Diff.$assertionsDisabled) || (p6.exists())) {
                try {
                    org.apache.xmlbeans.impl.tool.Diff.streamsAsXsb(new java.io.FileInputStream(p5), p5.getName(), new java.io.FileInputStream(p6), p6.getName(), p7);
                } catch (java.io.IOException v2) {
                } catch (java.io.IOException v2) {
                }
                return;
            } else {
                throw new AssertionError(new StringBuffer().append("File \"").append(p6.getAbsolutePath()).append("\" does not exist.").toString());
            }
        } else {
            throw new AssertionError(new StringBuffer().append("File \"").append(p5.getAbsolutePath()).append("\" does not exist.").toString());
        }
    }

Method org.apache.xmlbeans.impl.soap.FactoryFinder.find() calling method java.io.FileInputStream.<init>()


    static Object find(String p11, String p12)
    {
        try {
            Object v8_16;
            String v1_0 = org.apache.xmlbeans.SystemProperties.getProperty(p11);
        } catch (Object v8) {
            try {
                java.io.File v3_1 = new java.io.File(new StringBuffer().append(org.apache.xmlbeans.SystemProperties.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxm.properties").toString());
            } catch (Object v8) {
                try {
                    java.io.InputStream v5 = org.apache.xmlbeans.impl.soap.FactoryFinder.getResource(new StringBuffer().append("META-INF/services/").append(p11).toString());
                } catch (Object v8) {
                    if (p12 != null) {
                        v8_16 = org.apache.xmlbeans.impl.soap.FactoryFinder.newInstance(p12);
                        return v8_16;
                    } else {
                        throw new org.apache.xmlbeans.impl.soap.SOAPException(new StringBuffer().append("Provider for ").append(p11).append(" cannot be found").toString(), 0);
                    }
                }
                if (v5 == null) {
                } else {
                    java.io.BufferedReader v0_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v5, "UTF-8"));
                    String v1_1 = v0_1.readLine();
                    v0_1.close();
                    if ((v1_1 == null) || ("".equals(v1_1))) {
                    } else {
                        v8_16 = org.apache.xmlbeans.impl.soap.FactoryFinder.newInstance(v1_1);
                        return v8_16;
                    }
                }
            }
            if (!v3_1.exists()) {
            } else {
                java.io.FileInputStream v4_1 = new java.io.FileInputStream(v3_1);
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(v4_1);
                v4_1.close();
                v8_16 = org.apache.xmlbeans.impl.soap.FactoryFinder.newInstance(v6_1.getProperty(p11));
                return v8_16;
            }
        }
        if (v1_0 == null) {
        } else {
            v8_16 = org.apache.xmlbeans.impl.soap.FactoryFinder.newInstance(v1_0);
            return v8_16;
        }
    }

Method org.apache.xmlbeans.impl.schema.FileResourceLoader.getResourceAsStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream getResourceAsStream(String p7)
    {
        java.io.InputStream v2 = 0;
        try {
            if (this._zipfile == null) {
                v2 = new java.io.FileInputStream(new java.io.File(this._directory, p7));
            } else {
                java.util.zip.ZipEntry v1 = this._zipfile.getEntry(p7);
                if (v1 != null) {
                    v2 = this._zipfile.getInputStream(v1);
                }
            }
        } catch (java.io.IOException v0) {
        }
        return v2;
    }

Method org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse() calling method java.io.FileInputStream.<init>()


    public org.apache.xmlbeans.XmlObject parse(java.io.File p5, org.apache.xmlbeans.SchemaType p6, org.apache.xmlbeans.XmlOptions p7)
    {
        if (p7 != null) {
            if (!p7.hasOption("DOCUMENT_SOURCE_NAME")) {
                org.apache.xmlbeans.XmlOptions v1_1 = new org.apache.xmlbeans.XmlOptions(p7);
                v1_1.put("DOCUMENT_SOURCE_NAME", p5.toURI().normalize().toString());
                p7 = v1_1;
            }
        } else {
            p7 = new org.apache.xmlbeans.XmlOptions();
            p7.put("DOCUMENT_SOURCE_NAME", p5.toURI().normalize().toString());
        }
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p5);
        try {
            Throwable v2_2 = this.parse(v0_1, p6, p7);
            v0_1.close();
            return v2_2;
        } catch (Throwable v2_4) {
            v0_1.close();
            throw v2_4;
        }
    }

Method org.apache.xmlbeans.impl.piccolo.xml.JAXPSAXParserFactory.findValidatingFactory() calling method java.io.FileInputStream.<init>()


    private static Class findValidatingFactory()
    {
        try {
            Class v8_16;
            String v7_0 = System.getProperty("org.apache.xmlbeans.impl.piccolo.xml.ValidatingSAXParserFactory");
        } catch (Class v8) {
            try {
                java.io.File v3_1 = new java.io.File(new StringBuffer().append(System.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxp.properties").toString());
            } catch (Class v8) {
                try {
                    java.util.Enumeration v2 = org.apache.xmlbeans.impl.piccolo.util.FactoryServiceFinder.findServices("javax.xml.parsers.SAXParserFactory");
                } catch (Class v8) {
                    try {
                        v8_16 = Class.forName("org.apache.crimson.jaxp.SAXParserFactoryImpl");
                    } catch (ClassNotFoundException v1) {
                        v8_16 = 0;
                    }
                    return v8_16;
                }
                while (v2.hasMoreElements()) {
                    try {
                        String v4_1 = ((String) v2.nextElement());
                    } catch (Class v8) {
                    }
                    if (!v4_1.equals("org.apache.xmlbeans.impl.piccolo.xml.Piccolo")) {
                        v8_16 = Class.forName(v4_1);
                        return v8_16;
                    }
                }
            }
            if (!v3_1.exists()) {
            } else {
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(new java.io.FileInputStream(v3_1));
                String v7_1 = v6_1.getProperty("org.apache.xmlbeans.impl.piccolo.xml.ValidatingSAXParserFactory");
                if (v7_1 == null) {
                } else {
                    v8_16 = Class.forName(v7_1);
                    return v8_16;
                }
            }
        }
        if (v7_0 == null) {
        } else {
            v8_16 = Class.forName(v7_0);
            return v8_16;
        }
    }

Method org.apache.xmlbeans.impl.jam.provider.ResourcePath.findInPath() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream findInPath(String p5)
    {
        int v1 = 0;
        while (v1 < this.mFiles.length) {
            java.io.File v0_1 = new java.io.File(this.mFiles[v1], p5);
            try {
                if (v0_1.exists()) {
                    java.io.FileInputStream v3_3 = new java.io.FileInputStream(v0_1);
                    return v3_3;
                }
                v1++;
            } catch (java.io.FileNotFoundException v2) {
                v2.printStackTrace();
            }
        }
        v3_3 = 0;
        return v3_3;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.unjarDir() calling method java.io.FileInputStream.<init>()


    public void unjarDir(java.io.File p3, java.io.File p4)
    {
        this.unjar(new java.io.FileInputStream(p3), p4);
        return;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.jarDir() calling method java.io.FileInputStream.<init>()


    private void jarDir(java.io.File p12, java.util.jar.JarOutputStream p13, String p14)
    {
        if (this.mVerbose) {
            System.out.println(new StringBuffer().append("checking ").append(p12).toString());
        }
        if (!p12.isDirectory()) {
            if (!p12.getCanonicalPath().equals(this.mDestJarName)) {
                if (this.mVerbose) {
                    System.out.println(new StringBuffer().append("adding ").append(p12.getPath()).toString());
                }
                java.io.FileInputStream v3_1 = new java.io.FileInputStream(p12);
                try {
                    java.util.jar.JarEntry v1_1 = new java.util.jar.JarEntry(new StringBuffer().append(p14).append(p12.getName()).toString());
                    v1_1.setTime(p12.lastModified());
                    p13.putNextEntry(v1_1);
                } catch (java.io.PrintStream v8_25) {
                    v3_1.close();
                    throw v8_25;
                } catch (java.io.IOException v5) {
                    throw v5;
                }
                do {
                    java.io.PrintStream v8_22 = v3_1.read(this.mBuffer);
                    this.mByteCount = v8_22;
                    if (v8_22 == -1) {
                        p13.flush();
                        p13.closeEntry();
                        v3_1.close();
                    } else {
                        p13.write(this.mBuffer, 0, this.mByteCount);
                    }
                } while(!this.mVerbose);
                System.out.println(new StringBuffer().append("wrote ").append(this.mByteCount).append(" bytes").toString());
            } else {
                if (this.mVerbose) {
                    System.out.println(new StringBuffer().append("skipping ").append(p12.getPath()).toString());
                }
            }
        } else {
            String v7;
            String[] v0 = p12.list();
            if (p14 != null) {
                v7 = new StringBuffer().append(p14).append(p12.getName()).append(47).toString();
            } else {
                v7 = "";
            }
            if (p14 != null) {
                java.util.jar.JarEntry v6_1 = new java.util.jar.JarEntry(v7);
                v6_1.setTime(p12.lastModified());
                p13.putNextEntry(v6_1);
                p13.flush();
                p13.closeEntry();
            }
            int v4 = 0;
            while (v4 < v0.length) {
                this.jarDir(new java.io.File(p12, v0[v4]), p13, v7);
                v4++;
            }
        }
        return;
    }

Method org.apache.xmlbeans.impl.common.IOUtil.copyCompletely() calling method java.io.FileInputStream.<init>()


    public static void copyCompletely(java.net.URI p9, java.net.URI p10)
    {
        java.io.InputStream v3 = 0;
        try {
            java.io.File v2_1 = new java.io.File(p9);
        } catch (java.io.FileOutputStream v6) {
            java.io.File v5_1 = new java.io.File(p10);
            v5_1.getParentFile().mkdirs();
            if (v3 == null) {
                v3 = p9.toURL().openStream();
            }
            org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v3, new java.io.FileOutputStream(v5_1));
            return;
        } catch (IllegalArgumentException v1) {
            throw new java.io.IOException(new StringBuffer().append("Cannot copy to ").append(p10).toString());
        }
        if (!v2_1.exists()) {
        } else {
            v3 = new java.io.FileInputStream(v2_1);
        }
    }

Method org.apache.xml.security.utils.resolver.implementations.ResolverLocalFilesystem.engineResolve() calling method java.io.FileInputStream.<init>()


    public org.apache.xml.security.signature.XMLSignatureInput engineResolve(org.w3c.dom.Attr p4, String p5)
    {
        try {
            Exception v0_3 = new org.apache.xml.utils.URI(new org.apache.xml.utils.URI(p5), p4.getNodeValue());
            org.apache.xml.security.utils.resolver.ResourceResolverException v1_9 = new org.apache.xml.utils.URI(v0_3);
            v1_9.setFragment(0);
            org.apache.xml.security.utils.resolver.ResourceResolverException v1_4 = new org.apache.xml.security.signature.XMLSignatureInput(new java.io.FileInputStream(org.apache.xml.security.utils.resolver.implementations.ResolverLocalFilesystem.translateUriToFilename(v1_9.toString())));
            v1_4.setSourceURI(v0_3.toString());
            return v1_4;
        } catch (Exception v0_2) {
            throw new org.apache.xml.security.utils.resolver.ResourceResolverException("generic.EmptyMessage", v0_2, p4, p5);
        }
    }

Method org.apache.xml.security.utils.resolver.implementations.ResolverAnonymous.<init>() calling method java.io.FileInputStream.<init>()


    public ResolverAnonymous(String p3)
    {
        this._input = 0;
        this._input = new org.apache.xml.security.signature.XMLSignatureInput(new java.io.FileInputStream(p3));
        return;
    }

Method org.apache.xml.security.utils.JavaUtils.getBytesFromFile() calling method java.io.FileInputStream.<init>()


    public static byte[] getBytesFromFile(String p5)
    {
        byte[] v0_1 = new java.io.FileInputStream(p5);
        org.apache.xml.security.utils.UnsyncByteArrayOutputStream v1_1 = new org.apache.xml.security.utils.UnsyncByteArrayOutputStream();
        byte[] v2_1 = new byte[1024];
        while(true) {
            int v3 = v0_1.read(v2_1);
            if (v3 <= 0) {
                break;
            }
            v1_1.write(v2_1, 0, v3);
        }
        return v1_1.toByteArray();
    }

Method org.apache.xml.security.keys.storage.implementations.KeyStoreResolver.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p3)
    {
        String v0_6 = java.security.KeyStore.getInstance(java.security.KeyStore.getDefaultType());
        v0_6.load(new java.io.FileInputStream("data/org/apache/xml/security/samples/input/keystore.jks"), "xmlsecurity".toCharArray());
        java.util.Iterator v1_2 = new org.apache.xml.security.keys.storage.implementations.KeyStoreResolver(v0_6).getIterator();
        while (v1_2.hasNext()) {
            System.out.println(org.apache.xml.security.utils.Base64.encode(org.apache.xml.security.keys.content.x509.XMLX509SKI.getSKIBytesFromCert(((java.security.cert.X509Certificate) v1_2.next()))));
        }
        return;
    }

Method org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.readCertsFromHarddrive() calling method java.io.FileInputStream.<init>()


    private void readCertsFromHarddrive()
    {
        java.io.File v4_1 = new java.io.File(this._merlinsCertificatesDir);
        java.util.ArrayList v5_1 = new java.util.ArrayList();
        int v2_2 = v4_1.list();
        String v0_10 = 0;
        while (v0_10 < v2_2.length) {
            if (v2_2[v0_10].endsWith(".crt")) {
                v5_1.add(v2_2[v0_10]);
            }
            v0_10++;
        }
        try {
            java.security.cert.CertificateFactory v6_0 = java.security.cert.CertificateFactory.getInstance("X.509");
        } catch (String v0_9) {
            throw new org.apache.xml.security.keys.storage.StorageResolverException("empty", v0_9);
        }
        if (v6_0 != null) {
            int v2_0 = 0;
            while (v2_0 < v5_1.size()) {
                StringBuffer v7_7 = new StringBuffer().append(v4_1.getAbsolutePath()).append(java.io.File.separator).append(((String) v5_1.get(v2_0))).toString();
                try {
                    String v8_4 = new java.io.FileInputStream(new java.io.File(v7_7));
                    String v0_22 = ((java.security.cert.X509Certificate) v6_0.generateCertificate(v8_4));
                    v8_4.close();
                    v0_22.checkValidity();
                    this._certs.add(v0_22);
                    String v0_2 = v0_22.getSubjectDN().getName();
                    org.apache.commons.logging.Log v3_0 = 1;
                } catch (String v0_3) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_3);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_0) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_0);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_26) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_26);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_25) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_25);
                    v0_2 = 1;
                    v3_0 = 0;
                } catch (String v0_24) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Could not add certificate from file ").append(v7_7).toString(), v0_24);
                    v0_2 = 1;
                    v3_0 = 0;
                }
                if ((v3_0 != null) && (org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.isDebugEnabled())) {
                    org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.log.debug(new StringBuffer().append("Added certificate: ").append(v0_2).toString());
                }
                v2_0++;
            }
            return;
        } else {
            throw new org.apache.xml.security.keys.storage.StorageResolverException("empty");
        }
    }

Method org.apache.poi.xssf.streaming.GZIPSheetDataWriter.getWorksheetXMLInputStream() calling method java.io.FileInputStream.<init>()


    public java.io.InputStream getWorksheetXMLInputStream()
    {
        return new java.util.zip.GZIPInputStream(new java.io.FileInputStream(this.getTempFile()));
    }

Method org.apache.poi.xssf.streaming.SheetDataWriter.getWorksheetXMLInputStream() calling method java.io.FileInputStream.<init>()


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

Method org.apache.poi.openxml4j.opc.internal.FileHelper.copyFile() calling method java.io.FileInputStream.<init>()


    public static void copyFile(java.io.File p7, java.io.File p8)
    {
        java.nio.channels.FileChannel v1 = new java.io.FileInputStream(p7).getChannel();
        java.nio.channels.FileChannel v6 = new java.io.FileOutputStream(p8).getChannel();
        v1.transferTo(0, v1.size(), v6);
        v1.close();
        v6.close();
        return;
    }

Method org.apache.poi.hssf.usermodel.StaticFontMetrics.getFontDetails() calling method java.io.FileInputStream.<init>()


    public static org.apache.poi.hssf.usermodel.FontDetails getFontDetails(java.awt.Font p11)
    {
        if (org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps == null) {
            java.io.FileInputStream v5 = 0;
            try {
                org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps = new java.util.Properties();
                try {
                    String v7 = System.getProperty("font.metrics.filename");
                } catch (java.io.IOException v8) {
                }
                if (v7 == null) {
                    v5 = org.apache.poi.hssf.usermodel.FontDetails.getResourceAsStream("/font_metrics.properties");
                    if (v5 == null) {
                        throw new java.io.FileNotFoundException("font_metrics.properties not found in classpath");
                    }
                } else {
                    java.io.File v1_1 = new java.io.File(v7);
                    if (v1_1.exists()) {
                        v5 = new java.io.FileInputStream(v1_1);
                    } else {
                        throw new java.io.FileNotFoundException(new StringBuilder().append("font_metrics.properties not found at path ").append(v1_1.getAbsolutePath()).toString());
                    }
                }
                org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps.load(v5);
                if (v5 != null) {
                    try {
                        v5.close();
                    } catch (java.io.IOException v8) {
                    }
                }
            } catch (java.io.IOException v0) {
                throw new RuntimeException(new StringBuilder().append("Could not load font metrics: ").append(v0.getMessage()).toString());
            } catch (java.io.IOException v8_15) {
                if (v5 != null) {
                    try {
                        v5.close();
                    } catch (String v9) {
                    }
                }
                throw v8_15;
            }
        }
        String v3 = p11.getName();
        String v4 = "";
        if (p11.isPlain()) {
            v4 = new StringBuilder().append("").append("plain").toString();
        }
        if (p11.isBold()) {
            v4 = new StringBuilder().append(v4).append("bold").toString();
        }
        if (p11.isItalic()) {
            v4 = new StringBuilder().append(v4).append("italic").toString();
        }
        if ((org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps.get(org.apache.poi.hssf.usermodel.FontDetails.buildFontHeightProperty(v3)) == null) && (org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps.get(org.apache.poi.hssf.usermodel.FontDetails.buildFontHeightProperty(new StringBuilder().append(v3).append(".").append(v4).toString())) != null)) {
            v3 = new StringBuilder().append(v3).append(".").append(v4).toString();
        }
        org.apache.poi.hssf.usermodel.FontDetails v2;
        if (org.apache.poi.hssf.usermodel.StaticFontMetrics.fontDetailsMap.get(v3) != null) {
            v2 = ((org.apache.poi.hssf.usermodel.FontDetails) org.apache.poi.hssf.usermodel.StaticFontMetrics.fontDetailsMap.get(v3));
        } else {
            v2 = org.apache.poi.hssf.usermodel.FontDetails.create(v3, org.apache.poi.hssf.usermodel.StaticFontMetrics.fontMetricsProps);
            org.apache.poi.hssf.usermodel.StaticFontMetrics.fontDetailsMap.put(v3, v2);
        }
        return v2;
    }

Method org.apache.poi.hssf.dev.ReSave.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p14)
    {
        int v4 = 0;
        int v6 = p14.length;
        int v3 = 0;
        while (v3 < v6) {
            String v0 = p14[v3];
            if (!v0.equals("-dg")) {
                System.out.print(new StringBuilder().append("reading ").append(v0).append("...").toString());
                java.io.FileInputStream v5_1 = new java.io.FileInputStream(v0);
                org.apache.poi.hssf.usermodel.HSSFWorkbook v10_1 = new org.apache.poi.hssf.usermodel.HSSFWorkbook(v5_1);
                v5_1.close();
                System.out.println("done");
                int v2 = 0;
                while (v2 < v10_1.getNumberOfSheets()) {
                    org.apache.poi.hssf.usermodel.HSSFSheet v9 = v10_1.getSheetAt(v2);
                    if (v4 != 0) {
                        v9.getDrawingPatriarch();
                    }
                    v2++;
                }
                String v8 = v0.replace(".xls", "-saved.xls");
                System.out.print(new StringBuilder().append("saving to ").append(v8).append("...").toString());
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v8);
                v10_1.write(v7_1);
                v7_1.close();
                System.out.println("done");
            } else {
                v4 = 1;
            }
            v3++;
        }
        return;
    }

Method org.apache.poi.hssf.dev.BiffViewer.getPOIFSInputStream() calling method java.io.FileInputStream.<init>()


    protected static java.io.InputStream getPOIFSInputStream(java.io.File p3)
    {
        org.apache.poi.poifs.filesystem.POIFSFileSystem v0_1 = new org.apache.poi.poifs.filesystem.POIFSFileSystem(new java.io.FileInputStream(p3));
        return v0_1.createDocumentInputStream(org.apache.poi.hssf.usermodel.HSSFWorkbook.getWorkbookDirEntryName(v0_1.getRoot()));
    }

Method org.apache.poi.hssf.dev.BiffDrawingToXml.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p6)
    {
        if (p6.length != 0) {
            String v1 = org.apache.poi.hssf.dev.BiffDrawingToXml.getInputFileName(p6);
            java.io.FileInputStream v0_1 = new java.io.FileInputStream(v1);
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(org.apache.poi.hssf.dev.BiffDrawingToXml.getOutputFileName(v1));
            org.apache.poi.hssf.dev.BiffDrawingToXml.writeToFile(v3_1, v0_1, org.apache.poi.hssf.dev.BiffDrawingToXml.isExcludeWorkbookRecords(p6), p6);
            v0_1.close();
            v3_1.close();
        } else {
            System.out.println("Usage: BiffDrawingToXml [options] inputWorkbook");
            System.out.println("Options:");
            System.out.println("  -exclude-workbook            exclude workbook-level records");
            System.out.println("  -sheet-indexes   <indexes>   output sheets with specified indexes");
            System.out.println("  -sheet-namek  <names>        output sheets with specified name");
        }
        return;
    }

Method org.apache.http.ssl.SSLContextBuilder.loadTrustMaterial() calling method java.io.FileInputStream.<init>()


    public org.apache.http.ssl.SSLContextBuilder loadTrustMaterial(java.io.File p4, char[] p5, org.apache.http.ssl.TrustStrategy p6)
    {
        org.apache.http.util.Args.notNull(p4, "Truststore file");
        java.security.KeyStore v1 = java.security.KeyStore.getInstance(java.security.KeyStore.getDefaultType());
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(p4);
        try {
            v1.load(v0_1, p5);
            v0_1.close();
            return this.loadTrustMaterial(v1, p6);
        } catch (Throwable v2_2) {
            v0_1.close();
            throw v2_2;
        }
    }

Method org.apache.http.ssl.SSLContextBuilder.loadKeyMaterial() calling method java.io.FileInputStream.<init>()


    public org.apache.http.ssl.SSLContextBuilder loadKeyMaterial(java.io.File p4, char[] p5, char[] p6, org.apache.http.ssl.PrivateKeyStrategy p7)
    {
        org.apache.http.util.Args.notNull(p4, "Keystore file");
        java.security.KeyStore v0 = java.security.KeyStore.getInstance(java.security.KeyStore.getDefaultType());
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(p4);
        try {
            v0.load(v1_1, p5);
            v1_1.close();
            return this.loadKeyMaterial(v0, p6, p7);
        } catch (Throwable v2_2) {
            v1_1.close();
            throw v2_2;
        }
    }

Method org.apache.commons.io.output.DeferredFileOutputStream.writeTo() calling method java.io.FileInputStream.<init>()


    public void writeTo(java.io.OutputStream p4)
    {
        if (this.closed) {
            if (!this.isInMemory()) {
                java.io.FileInputStream v0_1 = new java.io.FileInputStream(this.outputFile);
                try {
                    org.apache.commons.io.IOUtils.copy(v0_1, p4);
                    org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                } catch (Throwable v1_1) {
                    org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                    throw v1_1;
                }
            } else {
                this.memoryOutputStream.writeTo(p4);
            }
            return;
        } else {
            throw new java.io.IOException("Stream not closed");
        }
    }

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


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

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


    private static void doCopyFile(java.io.File p6, java.io.File p7, boolean p8)
    {
        if ((!p7.exists()) || (!p7.isDirectory())) {
            java.io.FileInputStream v0_1 = new java.io.FileInputStream(p6);
            try {
                java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p7);
                try {
                    org.apache.commons.io.IOUtils.copy(v0_1, v1_1);
                } catch (long v2_1) {
                    org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                    throw v2_1;
                }
                org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                if (p6.length() == p7.length()) {
                    if (p8) {
                        p7.setLastModified(p6.lastModified());
                    }
                    return;
                } else {
                    throw new java.io.IOException(new StringBuffer().append("Failed to copy full contents from \'").append(p6).append("\' to \'").append(p7).append("\'").toString());
                }
            } catch (long v2_4) {
                org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                throw v2_4;
            }
        } else {
            throw new java.io.IOException(new StringBuffer().append("Destination \'").append(p7).append("\' exists but is a directory").toString());
        }
    }

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


    public static boolean contentEquals(java.io.File p12, java.io.File p13)
    {
        Throwable v5_0 = 0;
        boolean v0 = p12.exists();
        if (v0 == p13.exists()) {
            if (v0) {
                if ((!p12.isDirectory()) && (!p13.isDirectory())) {
                    if (p12.length() == p13.length()) {
                        if (!p12.getCanonicalFile().equals(p13.getCanonicalFile())) {
                            java.io.FileInputStream v1 = 0;
                            java.io.FileInputStream v3 = 0;
                            try {
                                java.io.FileInputStream v2_1 = new java.io.FileInputStream(p12);
                                try {
                                    java.io.FileInputStream v4_1 = new java.io.FileInputStream(p13);
                                    try {
                                        v5_0 = org.apache.commons.io.IOUtils.contentEquals(v2_1, v4_1);
                                        org.apache.commons.io.IOUtils.closeQuietly(v2_1);
                                        org.apache.commons.io.IOUtils.closeQuietly(v4_1);
                                    } catch (Throwable v5_3) {
                                        v3 = v4_1;
                                        v1 = v2_1;
                                        org.apache.commons.io.IOUtils.closeQuietly(v1);
                                        org.apache.commons.io.IOUtils.closeQuietly(v3);
                                        throw v5_3;
                                    }
                                } catch (Throwable v5_3) {
                                    v1 = v2_1;
                                }
                            } catch (Throwable v5_3) {
                            }
                        } else {
                            v5_0 = 1;
                        }
                    }
                } else {
                    throw new java.io.IOException("Can\'t compare directories, only files");
                }
            } else {
                v5_0 = 1;
            }
        }
        return v5_0;
    }

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


    public static java.util.zip.Checksum checksum(java.io.File p4, java.util.zip.Checksum p5)
    {
        if (!p4.isDirectory()) {
            java.util.zip.CheckedInputStream v0 = 0;
            try {
                java.util.zip.CheckedInputStream v1_1 = new java.util.zip.CheckedInputStream(new java.io.FileInputStream(p4), p5);
                try {
                    org.apache.commons.io.IOUtils.copy(v1_1, new org.apache.commons.io.output.NullOutputStream());
                    org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                    return p5;
                } catch (Throwable v2_2) {
                    v0 = v1_1;
                    org.apache.commons.io.IOUtils.closeQuietly(v0);
                    throw v2_2;
                }
            } catch (Throwable v2_2) {
            }
            org.apache.commons.io.IOUtils.copy(v1_1, new org.apache.commons.io.output.NullOutputStream());
            org.apache.commons.io.IOUtils.closeQuietly(v1_1);
            return p5;
        } else {
            throw new IllegalArgumentException("Checksums can\'t be computed on directories");
        }
    }

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


    public static okio.Source source(java.io.File p2)
    {
        if (p2 != null) {
            return okio.Okio.source(new java.io.FileInputStream(p2));
        } else {
            throw new IllegalArgumentException("file == null");
        }
    }

Method jxl.demo.WriteAccess.<init>() calling method java.io.FileInputStream.<init>()


    public WriteAccess(java.io.File p5)
    {
        jxl.WorkbookSettings v2_1 = new jxl.WorkbookSettings();
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(p5);
        this.reader = new jxl.read.biff.BiffRecordReader(new jxl.read.biff.File(v1_1, v2_1));
        this.display(v2_1);
        v1_1.close();
        return;
    }

Method jxl.demo.PropertySetsReader.<init>() calling method java.io.FileInputStream.<init>()


    public PropertySetsReader(java.io.File p11, String p12, java.io.OutputStream p13)
    {
        this.writer = new java.io.BufferedWriter(new java.io.OutputStreamWriter(p13));
        java.io.FileInputStream v3_1 = new java.io.FileInputStream(p11);
        byte[] v2 = new byte[1048576];
        int v1 = v3_1.read(v2);
        int v6 = v1;
        while (v1 != -1) {
            if (v6 >= v2.length) {
                byte[] v5 = new byte[(v2.length + 1048576)];
                System.arraycopy(v2, 0, v5, 0, v2.length);
                v2 = v5;
            }
            v1 = v3_1.read(v2, v6, (v2.length - v6));
            v6 += v1;
        }
        this.compoundFile = new jxl.read.biff.CompoundFile(v2, new jxl.WorkbookSettings());
        v3_1.close();
        if (p12 != null) {
            this.displayPropertySet(p12, p13);
        } else {
            this.displaySets();
        }
        return;
    }

Method jxl.demo.BiffDump.<init>() calling method java.io.FileInputStream.<init>()


    public BiffDump(java.io.File p5, java.io.OutputStream p6)
    {
        this.writer = new java.io.BufferedWriter(new java.io.OutputStreamWriter(p6));
        java.io.FileInputStream v1_1 = new java.io.FileInputStream(p5);
        this.reader = new jxl.read.biff.BiffRecordReader(new jxl.read.biff.File(v1_1, new jxl.WorkbookSettings()));
        this.buildNameHash();
        this.dump();
        this.writer.flush();
        this.writer.close();
        v1_1.close();
        return;
    }

Method jxl.biff.drawing.PNGReader.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p8)
    {
        try {
            java.io.File v1_1 = new java.io.File(p8[0]);
            byte[] v0 = new byte[((int) v1_1.length())];
            java.io.FileInputStream v2_1 = new java.io.FileInputStream(v1_1);
            v2_1.read(v0);
            v2_1.close();
            new jxl.biff.drawing.PNGReader(v0).read();
        } catch (Throwable v5) {
            v5.printStackTrace();
        }
        return;
    }

Method jxl.biff.drawing.Drawing.getImageBytes() calling method java.io.FileInputStream.<init>()


    public byte[] getImageBytes()
    {
        byte[] v0;
        int v3 = 1;
        if ((this.origin != jxl.biff.drawing.Origin.READ) && (this.origin != jxl.biff.drawing.Origin.READ_WRITE)) {
            int v2_0;
            if (this.origin != jxl.biff.drawing.Origin.WRITE) {
                v2_0 = 0;
            } else {
                v2_0 = 1;
            }
            jxl.common.Assert.verify(v2_0);
            if (this.imageFile != null) {
                v0 = new byte[((int) this.imageFile.length())];
                java.io.FileInputStream v1_1 = new java.io.FileInputStream(this.imageFile);
                v1_1.read(v0, 0, v0.length);
                v1_1.close();
            } else {
                if (this.imageData == null) {
                    v3 = 0;
                }
                jxl.common.Assert.verify(v3);
                v0 = this.imageData;
            }
        } else {
            v0 = this.getImageData();
        }
        return v0;
    }

Method jxl.biff.drawing.Drawing2.getImageBytes() calling method java.io.FileInputStream.<init>()


    public byte[] getImageBytes()
    {
        byte[] v0;
        int v3 = 1;
        jxl.common.Assert.verify(0);
        if ((this.origin != jxl.biff.drawing.Origin.READ) && (this.origin != jxl.biff.drawing.Origin.READ_WRITE)) {
            int v2_0;
            if (this.origin != jxl.biff.drawing.Origin.WRITE) {
                v2_0 = 0;
            } else {
                v2_0 = 1;
            }
            jxl.common.Assert.verify(v2_0);
            if (this.imageFile != null) {
                v0 = new byte[((int) this.imageFile.length())];
                java.io.FileInputStream v1_1 = new java.io.FileInputStream(this.imageFile);
                v1_1.read(v0, 0, v0.length);
                v1_1.close();
            } else {
                if (this.imageData == null) {
                    v3 = 0;
                }
                jxl.common.Assert.verify(v3);
                v0 = this.imageData;
            }
        } else {
            v0 = this.getImageData();
        }
        return v0;
    }

Method jxl.Workbook.getWorkbook() calling method java.io.FileInputStream.<init>()


    public static jxl.Workbook getWorkbook(java.io.File p4, jxl.WorkbookSettings p5)
    {
        java.io.FileInputStream v2_1 = new java.io.FileInputStream(p4);
        try {
            jxl.read.biff.File v0_1 = new jxl.read.biff.File(v2_1, p5);
            v2_1.close();
            jxl.read.biff.WorkbookParser v3_1 = new jxl.read.biff.WorkbookParser(v0_1, p5);
            v3_1.parse();
            return v3_1;
        } catch (jxl.read.biff.BiffException v1_1) {
            v2_1.close();
            throw v1_1;
        } catch (jxl.read.biff.BiffException v1_0) {
            v2_1.close();
            throw v1_0;
        }
    }

Method javax.activation.FileDataSource.getInputStream() calling method java.io.FileInputStream.<init>()


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

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


    public org.json.JSONObject readCachedSettings()
    {
        io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "Reading cached settings...");
        java.io.FileInputStream v1 = 0;
        org.json.JSONObject v5 = 0;
        try {
            java.io.File v3_0 = new java.io.File(new io.fabric.sdk.android.services.persistence.FileStoreImpl(this.kit).getFilesDir(), "com.crashlytics.settings.json");
        } catch (Throwable v7_7) {
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
            throw v7_7;
        } catch (Exception v0) {
            io.fabric.sdk.android.Fabric.getLogger().e("Fabric", "Failed to fetch cached settings", v0);
            io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
            return v5;
        }
        if (!v3_0.exists()) {
            io.fabric.sdk.android.Fabric.getLogger().d("Fabric", "No cached settings found.");
        } else {
            java.io.FileInputStream v2_1 = new java.io.FileInputStream(v3_0);
            try {
                v5 = new org.json.JSONObject(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v2_1));
                v1 = v2_1;
            } catch (Throwable v7_7) {
                v1 = v2_1;
            } catch (Exception v0) {
                v1 = v2_1;
            }
        }
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1, "Error while closing settings cache file.");
        return v5;
    }

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


    public io.fabric.sdk.android.services.network.HttpRequest send(java.io.File p4)
    {
        try {
            return this.send(new java.io.BufferedInputStream(new java.io.FileInputStream(p4)));
        } catch (java.io.FileNotFoundException v0) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
        }
    }

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


    public io.fabric.sdk.android.services.network.HttpRequest part(String p6, String p7, String p8, java.io.File p9)
    {
        java.io.BufferedInputStream v1 = 0;
        try {
            java.io.BufferedInputStream v2_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p9));
            try {
                Throwable v3_5 = this.part(p6, p7, p8, v2_1);
            } catch (Throwable v3_2) {
                v1 = v2_1;
                if (v1 != null) {
                    try {
                        v1.close();
                    } catch (java.io.IOException v4) {
                    }
                }
                throw v3_2;
            } catch (java.io.IOException v0) {
                v1 = v2_1;
                throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
            }
            if (v2_1 != null) {
                try {
                    v2_1.close();
                } catch (java.io.IOException v4) {
                }
            }
            return v3_5;
        } catch (Throwable v3_2) {
        } catch (java.io.IOException v0) {
        }
    }

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


    private void move(java.io.File p6, java.io.File p7)
    {
        java.io.OutputStream v2 = 0;
        java.io.FileInputStream v0 = 0;
        try {
            java.io.FileInputStream v1_1 = new java.io.FileInputStream(p6);
            try {
                v2 = this.getMoveOutputStream(p7);
                Throwable v3_4 = new byte[1024];
                io.fabric.sdk.android.services.common.CommonUtils.copyStream(v1_1, v2, v3_4);
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, "Failed to close file input stream");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close output stream");
                p6.delete();
                return;
            } catch (Throwable v3_2) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close file input stream");
                io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close output stream");
                p6.delete();
                throw v3_2;
            }
        } catch (Throwable v3_2) {
        }
        v2 = this.getMoveOutputStream(p7);
        v3_4 = new byte[1024];
        io.fabric.sdk.android.services.common.CommonUtils.copyStream(v1_1, v2, v3_4);
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, "Failed to close file input stream");
        io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close output stream");
        p6.delete();
        return;
    }

Method com.sun.org.apache.xpath.internal.functions.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xpath.internal.functions.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xpath.internal.compiler.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xpath.internal.compiler.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.utils.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xml.internal.utils.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.serializer.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xml.internal.serializer.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.serialize.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.dtm.ref.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xml.internal.dtm.ref.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xml.internal.dtm.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xml.internal.dtm.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xerces.internal.xinclude.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xerces.internal.parsers.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.xsdToXMLInputSource() calling method java.io.FileInputStream.<init>()


    private com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource xsdToXMLInputSource(Object p15)
    {
        com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource v0_8;
        if (!(p15 instanceof String)) {
            if (!(p15 instanceof org.xml.sax.InputSource)) {
                if (!(p15 instanceof java.io.InputStream)) {
                    if (!(p15 instanceof java.io.File)) {
                        throw new com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException(1, new StringBuilder().append("\"http://java.sun.com/xml/jaxp/properties/schemaSource\" property cannot have a value of type {").append(p15.getClass().getName()).append("}. Possible types of the value supported are String, File, InputStream, ").append("InputSource OR an array of these types.").toString());
                    } else {
                        try {
                            java.io.BufferedInputStream v4_0 = new java.io.BufferedInputStream(new java.io.FileInputStream(((java.io.File) p15)));
                        } catch (java.io.FileNotFoundException v6) {
                            com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource v0_5 = this.fErrorReporter;
                            String v5_0 = new Object[1];
                            v5_0[0] = ((java.io.File) p15).toString();
                            v0_5.reportError("http://www.w3.org/TR/xml-schema-1", "schema_reference.4", v5_0, 1);
                        }
                        v0_8 = new com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource(0, 0, 0, v4_0, 0);
                    }
                } else {
                    v0_8 = new com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource(0, 0, 0, ((java.io.InputStream) p15), 0);
                }
            } else {
                v0_8 = com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.saxToXMLInputSource(((org.xml.sax.InputSource) p15));
            }
        } else {
            this.fXSDDescription.reset();
            this.fXSDDescription.setValues(0, ((String) p15), 0, 0);
            try {
                com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource v10 = this.fEntityManager.resolveEntity(this.fXSDDescription);
            } catch (java.io.FileNotFoundException v6) {
                com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource v0_14 = this.fErrorReporter;
                String v5_3 = new Object[1];
                v5_3[0] = ((String) p15);
                v0_14.reportError("http://www.w3.org/TR/xml-schema-1", "schema_reference.4", v5_3, 1);
            }
            if (v10 != null) {
                v0_8 = v10;
            } else {
                v0_8 = new com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource(0, ((String) p15), 0);
            }
        }
        return v0_8;
    }

Method com.sun.org.apache.xerces.internal.impl.dv.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xerces.internal.dom.SecuritySupport$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.util.JavaCupRedirect._main() calling method java.io.FileInputStream.<init>()


    public static void _main(String[] p11)
    {
        java.io.FileInputStream v3_0 = 0;
        int v0 = p11.length;
        String[] v6 = new String[(v0 - 2)];
        int v2 = 0;
        int v5 = 0;
        while (v2 < v0) {
            int v4_0;
            if (!p11[v2].equals("-stdin")) {
                if (v5 != v6.length) {
                    v4_0 = (v5 + 1);
                    v6[v5] = p11[v2];
                } else {
                    System.err.println("Missing -stdin option!");
                    throw new RuntimeException();
                }
            } else {
                v2++;
                if ((v2 < v0) && (!p11[v2].startsWith("-"))) {
                    try {
                        v3_0 = new java.io.FileInputStream(p11[v2]);
                        v4_0 = v5;
                    } catch (SecurityException v1_2) {
                        System.err.println(new StringBuilder().append("Could not open file ").append(p11[v2]).toString());
                        throw new RuntimeException(v1_2.getMessage());
                    } catch (SecurityException v1_1) {
                        System.err.println(new StringBuilder().append("No permission to file ").append(p11[v2]).toString());
                        throw new RuntimeException(v1_1.getMessage());
                    }
                } else {
                    System.err.println("You must supply a filename with the -stdin option.");
                    throw new RuntimeException("You must supply a filename with the -stdin option.");
                }
            }
            v2++;
            v5 = v4_0;
        }
        System.setIn(v3_0);
        try {
            com.sun.java_cup.internal.Main.main(v6);
        } catch (SecurityException v1_0) {
            System.err.println("Error running JavaCUP:");
            v1_0.printStackTrace();
        }
        return;
    }

Method com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.getBytecodesFromClasses() calling method java.io.FileInputStream.<init>()


    private byte[][] getBytecodesFromClasses(javax.xml.transform.Source p33, String p34)
    {
        byte[][] v27_4;
        if (p34 != null) {
            String v26 = this.getStylesheetFileName(p33);
            java.io.File v23 = 0;
            if (v26 != null) {
                v23 = new java.io.File;
                v23(v26);
            }
            String v19;
            int v15 = p34.lastIndexOf(46);
            if (v15 <= 0) {
                v19 = p34;
            } else {
                v19 = p34.substring((v15 + 1));
            }
            String v22_1;
            String v22_0 = p34.replace(46, 47);
            if (this._destinationDirectory == null) {
                if ((v23 == null) || (v23.getParent() == null)) {
                    v22_1 = new StringBuilder().append(v22_0).append(".class").toString();
                } else {
                    v22_1 = new StringBuilder().append(v23.getParent()).append("/").append(v22_0).append(".class").toString();
                }
            } else {
                v22_1 = new StringBuilder().append(this._destinationDirectory).append("/").append(v22_0).append(".class").toString();
            }
            java.io.File v18 = new java.io.File;
            v18(v22_1);
            if (v18.exists()) {
                if ((v23 == null) || ((!v23.exists()) || (v18.lastModified() >= v23.lastModified()))) {
                    java.util.Vector v8_1 = new java.util.Vector();
                    int v12 = ((int) v18.length());
                    if (v12 <= 0) {
                        v27_4 = ((byte[][]) 0);
                    } else {
                        try {
                            java.io.FileInputStream v14_1 = new java.io.FileInputStream(v18);
                            byte[] v9_0 = new byte[v12];
                            try {
                                this.readFromInputStream(v9_0, v14_1, v12);
                                v14_1.close();
                                v8_1.addElement(v9_0);
                                String v20 = v18.getParent();
                            } catch (java.io.IOException v11) {
                                v27_4 = ((byte[][]) 0);
                            }
                            if (v20 == null) {
                                v20 = System.getProperty("user.dir");
                            }
                            java.io.File v21 = new java.io.File;
                            v21(v20);
                            byte[][] v27_13 = new com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl$1;
                            v27_13(this, new StringBuilder().append(v19).append("$").toString());
                            java.io.File[] v5 = v21.listFiles(v27_13);
                            int v13_0 = 0;
                            while (v13_0 < v5.length) {
                                java.io.File v4 = v5[v13_0];
                                int v7 = ((int) v4.length());
                                if (v7 > 0) {
                                    try {
                                        java.io.FileInputStream v6_1 = new java.io.FileInputStream(v4);
                                        byte[] v9_1 = new byte[v7];
                                        try {
                                            this.readFromInputStream(v9_1, v6_1, v7);
                                            v6_1.close();
                                            v8_1.addElement(v9_1);
                                        } catch (java.io.IOException v11) {
                                        }
                                    } catch (java.io.IOException v11) {
                                    }
                                }
                                v13_0++;
                            }
                            int v10 = v8_1.size();
                            if (v10 <= 0) {
                                v27_4 = ((byte[][]) 0);
                            } else {
                                byte[][] v16_1 = ((byte[][]) reflect.Array.newInstance(Byte.TYPE, new int[] {v10, 1})));
                                int v13_1 = 0;
                                while (v13_1 < v10) {
                                    v16_1[v13_1] = ((byte[]) ((byte[]) v8_1.elementAt(v13_1)));
                                    v13_1++;
                                }
                                v27_4 = v16_1;
                            }
                        } catch (java.io.IOException v11) {
                            v27_4 = ((byte[][]) 0);
                        }
                    }
                } else {
                    v27_4 = ((byte[][]) 0);
                }
            } else {
                v27_4 = ((byte[][]) 0);
            }
        } else {
            v27_4 = ((byte[][]) 0);
        }
        return v27_4;
    }

Method com.sun.org.apache.xalan.internal.xsltc.trax.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.trax.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.runtime.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.runtime.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.dom.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.dom.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.compiler.util.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.compiler.util.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.compiler.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.compiler.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xsltc.cmdline.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xsltc.cmdline.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.xslt.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.xslt.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.lib.sql.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.lib.sql.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.lib.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.lib.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.xalan.internal.extensions.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.xalan.internal.extensions.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.html.internal.dom.SecuritySupport.getFileInputStream() calling method java.io.FileInputStream.<init>()


    java.io.FileInputStream getFileInputStream(java.io.File p2)
    {
        return new java.io.FileInputStream(p2);
    }

Method com.sun.org.apache.html.internal.dom.SecuritySupport12$5.run() calling method java.io.FileInputStream.<init>()


    public Object run()
    {
        return new java.io.FileInputStream(this.val$file);
    }

Method com.sun.org.apache.bcel.internal.util.ClassPath$Dir$1.getInputStream() calling method java.io.FileInputStream.<init>()


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

Method com.sun.org.apache.bcel.internal.classfile.ClassParser.<init>() calling method java.io.FileInputStream.<init>()


    public ClassParser(String p5)
    {
        this.is_zip = 0;
        this.file_name = p5;
        this.file = new java.io.DataInputStream(new java.io.BufferedInputStream(new java.io.FileInputStream(p5), 8192));
        return;
    }

Method com.pratibha.yojna.PratibhaReapplyActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837828);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837693);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.pratibha.yojna.PratibhaPendingInstituteDetails.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837828);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837693);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.pratibha.yojna.PratibhaInstituteResponseDetailsActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837828);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837693);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.pratibha.yojna.PendingForApprovalDetailsActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837828);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837693);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.pratibha.yojna.PaymentApprovalDetailsActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.keyboardclose();
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_0);
                                this.final_img_base64 = this.getStringImage(v5_0);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.user_profile_image.setImageBitmap(v5_1);
                                this.final_img_base64 = this.getStringImage(v5_1);
                                this.cert_url_phy_cert_caste = this.final_img_base64;
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    this.keyboardclose();
                    String v23_5 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_5.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_5.next());
                        this.path1 = v10_1.getPath();
                        if (((v10_1.getSize() / 1024) / 1024) <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.user_profile_image.setImageResource(2130837828);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.user_profile_image.setImageResource(2130837693);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    this.user_profile_image.setImageBitmap(v22);
                    this.final_img_base64 = this.getStringImage(v22);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v11++;
                }
            }
        }
        return;
    }

Method com.mapit.TribalApp.UpdateSamagraActivityFull.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.UpdateSamagraActivityFull.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.UpdateSamagraActivityFull.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.UpdateSamagraActivityFull.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.UpdateSamagraActivityFull.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.UpdateSamagraActivityFull.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.UpdateSamagraActivityFull.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.UpdateSamagraActivityFull.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.UpdateSamagraActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.UpdateSamagraActivity.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.UpdateSamagraActivity.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.UpdateSamagraActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.UpdateSamagraActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.UpdateSamagraActivity.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.UpdateSamagraActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.UpdateSamagraActivity.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.RegistrationUpdateActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.RegistrationUpdateActivity.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296867)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296863)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.getString("nmPoints");
                                                String v21_1 = v30_1.getString("errInfo");
                                                String v22_1 = v30_1.getString("fType");
                                                String v23_1 = v30_1.getString("errCode");
                                                String v24_1 = v30_1.getString("fCount");
                                                String v25_1 = v30_1.getString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.getString("content");
                                                        String v6_1 = v31_1.getString("ci");
                                                        String v7_1 = v29_1.getString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.getString("name");
                                                        String v9_1 = v54.getString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.getString("name");
                                                        String v11_1 = v53.getString("value");
                                                        String v12_1 = v27_1.getString("rdsId");
                                                        String v13_1 = v27_1.getString("mi");
                                                        String v14_1 = v27_1.getString("dpId");
                                                        String v15_1 = v27_1.getString("dc");
                                                        String v16_1 = v27_1.getString("rdsVer");
                                                        String v17_1 = v27_1.getString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.getString("content"), v26_1.getString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.RegistrationUpdateActivity.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.RegistrationUpdateActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.RegistrationUpdateActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.RegistrationUpdateActivity.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.RegistrationUpdateActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.RegistrationUpdateActivity.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.RegistrationRenewalActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.RegistrationRenewalActivity.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296867)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296863)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.getString("nmPoints");
                                                String v21_1 = v30_1.getString("errInfo");
                                                String v22_1 = v30_1.getString("fType");
                                                String v23_1 = v30_1.getString("errCode");
                                                String v24_1 = v30_1.getString("fCount");
                                                String v25_1 = v30_1.getString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.getString("content");
                                                        String v6_1 = v31_1.getString("ci");
                                                        String v7_1 = v29_1.getString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.getString("name");
                                                        String v9_1 = v54.getString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.getString("name");
                                                        String v11_1 = v53.getString("value");
                                                        String v12_1 = v27_1.getString("rdsId");
                                                        String v13_1 = v27_1.getString("mi");
                                                        String v14_1 = v27_1.getString("dpId");
                                                        String v15_1 = v27_1.getString("dc");
                                                        String v16_1 = v27_1.getString("rdsVer");
                                                        String v17_1 = v27_1.getString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.getString("content"), v26_1.getString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.RegistrationRenewalActivity.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.RegistrationRenewalActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.RegistrationRenewalActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.RegistrationRenewalActivity.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.RegistrationRenewalActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.RegistrationRenewalActivity.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.RegistrationPartialUpdateActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.RegistrationPartialUpdateActivity.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296867)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296863)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.getString("nmPoints");
                                                String v21_1 = v30_1.getString("errInfo");
                                                String v22_1 = v30_1.getString("fType");
                                                String v23_1 = v30_1.getString("errCode");
                                                String v24_1 = v30_1.getString("fCount");
                                                String v25_1 = v30_1.getString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.getString("content");
                                                        String v6_1 = v31_1.getString("ci");
                                                        String v7_1 = v29_1.getString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.getString("name");
                                                        String v9_1 = v54.getString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.getString("name");
                                                        String v11_1 = v53.getString("value");
                                                        String v12_1 = v27_1.getString("rdsId");
                                                        String v13_1 = v27_1.getString("mi");
                                                        String v14_1 = v27_1.getString("dpId");
                                                        String v15_1 = v27_1.getString("dc");
                                                        String v16_1 = v27_1.getString("rdsVer");
                                                        String v17_1 = v27_1.getString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.getString("content"), v26_1.getString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.RegistrationPartialUpdateActivity.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.RegistrationPartialUpdateActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.RegistrationPartialUpdateActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.RegistrationPartialUpdateActivity.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.RegistrationPartialUpdateActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.RegistrationPartialUpdateActivity.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.RegistrationActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.RegistrationActivity.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296867)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296863)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.optString("nmPoints");
                                                String v21_1 = v30_1.optString("errInfo");
                                                String v22_1 = v30_1.optString("fType");
                                                String v23_1 = v30_1.optString("errCode");
                                                String v24_1 = v30_1.optString("fCount");
                                                String v25_1 = v30_1.optString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.optString("content");
                                                        String v6_1 = v31_1.optString("ci");
                                                        String v7_1 = v29_1.optString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.optString("name");
                                                        String v9_1 = v54.optString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.optString("name");
                                                        String v11_1 = v53.optString("value");
                                                        String v12_1 = v27_1.optString("rdsId");
                                                        String v13_1 = v27_1.optString("mi");
                                                        String v14_1 = v27_1.optString("dpId");
                                                        String v15_1 = v27_1.optString("dc");
                                                        String v16_1 = v27_1.optString("rdsVer");
                                                        String v17_1 = v27_1.optString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.optString("content"), v26_1.optString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.RegistrationActivity.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.RegistrationActivity.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.RegistrationActivity.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.RegistrationActivity.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.RegistrationActivity.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.RegistrationActivity.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.RegistrationActivity.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.IncomeUpdate.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.IncomeUpdate.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.IncomeUpdate.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.IncomeUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.IncomeUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.IncomeUpdate.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.IncomeUpdate.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.IncomeUpdate.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.IncomeUpdate.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.IncomeUpdate.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.IncomeUpdate.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.IncomeUpdate.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.DomicileUpdate.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.DomicileUpdate.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.DomicileUpdate.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.DomicileUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.DomicileUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.DomicileUpdate.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.DomicileUpdate.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.DomicileUpdate.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.DomicileUpdate.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.DomicileUpdate.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.DomicileUpdate.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.DomicileUpdate.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.CastUpdate.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p35, int p36, android.content.Intent p37)
    {
        com.google.zxing.integration.android.IntentResult v26 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p35, p36, p37);
        this = super.onActivityResult(p35, p36, p37);
        try {
            this.setLocale(com.mapit.TribalApp.CastUpdate.Sessionval);
        } catch (NullPointerException v9_3) {
            v9_3.printStackTrace();
            return;
        }
        if (p36 != -1) {
            return;
        } else {
            if (p35 != 1) {
                if (v26 == null) {
                    if (p35 != 15) {
                        if (p35 != 100) {
                            if ((p36 != -1) || (p37 == null)) {
                                return;
                            } else {
                                try {
                                    if (p37 != null) {
                                        this = super.onActivityResult(p35, p36, p37);
                                        if (p36 != -1) {
                                            if (p36 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                return;
                                            }
                                        } else {
                                            if (p35 < 100) {
                                                if (p35 != 2) {
                                                    if (p35 == 3) {
                                                        return;
                                                    } else {
                                                        if (p35 != 13) {
                                                            if (p35 != 14) {
                                                                if (p35 != 15) {
                                                                    if (p35 != 16) {
                                                                        if (p35 != 17) {
                                                                            if (p35 != 19) {
                                                                                return;
                                                                            } else {
                                                                                String v29_4 = p37.getStringExtra("SETLINKS");
                                                                                if (v29_4 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v29_4, "SET LINK RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v29_5 = p37.getStringExtra("REVOKEREG");
                                                                            if (v29_5 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v29_5, "REGISTRATION FLAG REVOKE RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v29_0 = p37.getStringExtra("GET_REG");
                                                                        if (v29_0 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v29_0, "REGISTRATION FLAG GET RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v29_1 = p37.getStringExtra("SET_REG");
                                                                    if (v29_1 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v29_1, "REGISTRATION FLAG SET RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            } else {
                                                                String v29_2 = p37.getStringExtra("RELEASE");
                                                                if (v29_2 == null) {
                                                                    return;
                                                                } else {
                                                                    this.showMessageDialogue(v29_2, "INTERFACE RELEASE RESULT");
                                                                    return;
                                                                }
                                                            }
                                                        } else {
                                                            String v29_3 = p37.getStringExtra("CLAIM");
                                                            if (v29_3 == null) {
                                                                return;
                                                            } else {
                                                                this.showMessageDialogue(v29_3, "INTERFACE CLAIM RESULT");
                                                                return;
                                                            }
                                                        }
                                                    }
                                                } else {
                                                    String v24 = p37.getStringExtra("PID_DATA");
                                                    if (v24 == null) {
                                                        this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                        return;
                                                    } else {
                                                        this.showMessageDialogueResult(v24, "PID DATA XML");
                                                        return;
                                                    }
                                                }
                                            } else {
                                                String v25 = p37.getStringExtra("RD_SERVICE_INFO");
                                                if (v25 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                } else {
                                                    this.showMessageDialogue(v25, "RD SERVICE INFO XML");
                                                }
                                                String v8 = p37.getStringExtra("DEVICE_INFO");
                                                if (v8 == null) {
                                                    this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(v8, "DEVICE INFO XML");
                                                    return;
                                                }
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.CastUpdate.extensionpdf = "test";
                                        if (p35 != 3) {
                                            if (p36 != -1) {
                                                if (p36 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                } catch (Exception v12) {
                                    this.showMessageDialogue(new StringBuilder().append("Error:-").append(v12.getMessage()).toString(), "EXCEPTION");
                                    v12.printStackTrace();
                                    return;
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.CastUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_0) {
                                    v9_0.printStackTrace();
                                } catch (OutOfMemoryError v11_0) {
                                    v11_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.CastUpdate.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (NullPointerException v9_1) {
                                    v9_1.printStackTrace();
                                } catch (OutOfMemoryError v11_1) {
                                    v11_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v30_66 = p37.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v30_66.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v13_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v30_66.next());
                            com.mapit.TribalApp.CastUpdate.path1 = v13_1.getPath();
                            if (((v13_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v21 = new java.io.FileInputStream;
                                    v21(com.mapit.TribalApp.CastUpdate.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v21), 0);
                                    com.mapit.TribalApp.CastUpdate.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (String v31) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v26 == null) {
                        this.setLocale(com.mapit.TribalApp.CastUpdate.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.CastUpdate.Sessionval);
                        String v7 = v26.getContents();
                        if ((v7 == null) || (v7.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.CastUpdate.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v7);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.CastUpdate.extensionpdf = "test";
                this.imagesPath = p37.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v20 = 0;
                } catch (NullPointerException v9_2) {
                    v9_2.printStackTrace();
                    return;
                }
                while (v20 < this.imagesPath.length) {
                    android.graphics.Bitmap v27 = this.getThumbnailBitmap(this.imagesPath[v20], 1000);
                    this.user_profile_image.setImageBitmap(v27);
                    this.final_img_base64 = this.getStringImage(v27);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v20++;
                }
                return;
            }
        }
    }

Method com.mapit.TribalApp.AdminBasedProfileRegistration.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p73, int p74, android.content.Intent p75)
    {
        com.google.zxing.integration.android.IntentResult v60 = com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p73, p74, p75);
        this = super.onActivityResult(p73, p74, p75);
        try {
            this.setLocale(com.mapit.TribalApp.AdminBasedProfileRegistration.Sessionval);
        } catch (Exception v39_3) {
            v39_3.printStackTrace();
            return;
        }
        if (p74 != -1) {
            return;
        } else {
            if (p73 != 1) {
                if (v60 == null) {
                    if (p73 != 15) {
                        if (p73 != 100) {
                            if ((p74 != -1) || ((p75 == null) || (p73 != 55))) {
                                if ((p74 != -1) || ((p75 == null) || (p73 != 56))) {
                                    if ((p74 != -1) || (p75 == null)) {
                                        return;
                                    } else {
                                        try {
                                            if (p75 != null) {
                                                this = super.onActivityResult(p73, p74, p75);
                                                if (p74 != -1) {
                                                    if (p74 != 0) {
                                                        return;
                                                    } else {
                                                        this.showMessageDialogue("Scan Failed/Aborted!", "CAPTURE RESULT");
                                                        return;
                                                    }
                                                } else {
                                                    if (p73 < 100) {
                                                        if (p73 != 2) {
                                                            if (p73 == 3) {
                                                                return;
                                                            } else {
                                                                if (p73 != 13) {
                                                                    if (p73 != 14) {
                                                                        if (p73 != 15) {
                                                                            if (p73 != 16) {
                                                                                if (p73 != 17) {
                                                                                    if (p73 != 19) {
                                                                                        return;
                                                                                    } else {
                                                                                        String v65_0 = p75.getStringExtra("SETLINKS");
                                                                                        if (v65_0 == null) {
                                                                                            return;
                                                                                        } else {
                                                                                            this.showMessageDialogue(v65_0, "SET LINK RESULT");
                                                                                            return;
                                                                                        }
                                                                                    }
                                                                                } else {
                                                                                    String v65_1 = p75.getStringExtra("REVOKEREG");
                                                                                    if (v65_1 == null) {
                                                                                        return;
                                                                                    } else {
                                                                                        this.showMessageDialogue(v65_1, "REGISTRATION FLAG REVOKE RESULT");
                                                                                        return;
                                                                                    }
                                                                                }
                                                                            } else {
                                                                                String v65_2 = p75.getStringExtra("GET_REG");
                                                                                if (v65_2 == null) {
                                                                                    return;
                                                                                } else {
                                                                                    this.showMessageDialogue(v65_2, "REGISTRATION FLAG GET RESULT");
                                                                                    return;
                                                                                }
                                                                            }
                                                                        } else {
                                                                            String v65_3 = p75.getStringExtra("SET_REG");
                                                                            if (v65_3 == null) {
                                                                                return;
                                                                            } else {
                                                                                this.showMessageDialogue(v65_3, "REGISTRATION FLAG SET RESULT");
                                                                                return;
                                                                            }
                                                                        }
                                                                    } else {
                                                                        String v65_4 = p75.getStringExtra("RELEASE");
                                                                        if (v65_4 == null) {
                                                                            return;
                                                                        } else {
                                                                            this.showMessageDialogue(v65_4, "INTERFACE RELEASE RESULT");
                                                                            return;
                                                                        }
                                                                    }
                                                                } else {
                                                                    String v65_5 = p75.getStringExtra("CLAIM");
                                                                    if (v65_5 == null) {
                                                                        return;
                                                                    } else {
                                                                        this.showMessageDialogue(v65_5, "INTERFACE CLAIM RESULT");
                                                                        return;
                                                                    }
                                                                }
                                                            }
                                                        } else {
                                                            String v58 = p75.getStringExtra("PID_DATA");
                                                            if (v58 == null) {
                                                                this.showMessageDialogue("NULL STRING RETURNED", "PID DATA XML");
                                                                return;
                                                            } else {
                                                                this.showMessageDialogueResult(v58, "PID DATA XML");
                                                                return;
                                                            }
                                                        }
                                                    } else {
                                                        String v59 = p75.getStringExtra("RD_SERVICE_INFO");
                                                        if (v59 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "RD SERVICE INFO XML");
                                                        } else {
                                                            this.showMessageDialogue(v59, "RD SERVICE INFO XML");
                                                        }
                                                        String v38 = p75.getStringExtra("DEVICE_INFO");
                                                        if (v38 == null) {
                                                            this.showMessageDialogue("NULL STRING RETURNED", "DEVICE INFO XML");
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(v38, "DEVICE INFO XML");
                                                            return;
                                                        }
                                                    }
                                                }
                                            } else {
                                                com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                                if (p73 != 3) {
                                                    if (p74 != -1) {
                                                        if (p74 != 0) {
                                                            return;
                                                        } else {
                                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                            return;
                                                        }
                                                    } else {
                                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                        return;
                                                    }
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            }
                                        } catch (Exception v42) {
                                            this.showMessageDialogue(new StringBuilder().append("Error:-").append(v42.getMessage()).toString(), "EXCEPTION");
                                            v42.printStackTrace();
                                            return;
                                        }
                                    }
                                } else {
                                    if (p75 != null) {
                                        if (p75 == null) {
                                            return;
                                        } else {
                                            try {
                                                String v61_0 = p75.getStringExtra("PID_DATA");
                                            } catch (Exception v39_6) {
                                                android.util.Log.e("Error", "Error while deserialze pid data", v39_6);
                                                return;
                                            }
                                            if (v61_0 == null) {
                                                return;
                                            } else {
                                                String v68_99 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                                v68_99(v61_0);
                                                this.jsonObjectpiddata = v68_99.build().toJson();
                                                this.keyboardclose();
                                                try {
                                                    org.json.JSONObject v52_0 = new org.json.JSONObject;
                                                    v52_0(this.jsonObjectpiddata.toString());
                                                    com.android.db.DaoSession v36_0 = com.Manager.BaseManager.getDBSessoin(this);
                                                    v36_0.getPidDataTableDao().deleteAll();
                                                    com.android.db.PidDataTableDao v57_0 = v36_0.getPidDataTableDao();
                                                    int v50_1 = 0;
                                                } catch (Exception v39_5) {
                                                    v39_5.printStackTrace();
                                                    return;
                                                }
                                                while (v50_1 < v52_0.length()) {
                                                    org.json.JSONObject v29_0 = v52_0.getJSONObject("PidData");
                                                    org.json.JSONObject v30_0 = v29_0.getJSONObject("Resp");
                                                    String v20_0 = v30_0.optString("nmPoints");
                                                    String v21_0 = v30_0.optString("errInfo");
                                                    String v22_0 = v30_0.optString("fType");
                                                    String v23_0 = v30_0.optString("errCode");
                                                    String v24_0 = v30_0.optString("fCount");
                                                    String v25_0 = v30_0.optString("qScore");
                                                    String v62_0 = v23_0;
                                                    try {
                                                        if (!v62_0.equalsIgnoreCase("DNC")) {
                                                            if (!v62_0.equalsIgnoreCase("DNR")) {
                                                                if (!v62_0.equalsIgnoreCase("999")) {
                                                                    org.json.JSONObject v31_0 = v29_0.getJSONObject("Skey");
                                                                    String v5_0 = v31_0.optString("content");
                                                                    String v6_0 = v31_0.optString("ci");
                                                                    String v7_0 = v29_0.optString("Hmac");
                                                                    org.json.JSONObject v27_0 = v29_0.getJSONObject("DeviceInfo");
                                                                    String v12_0 = v27_0.optString("rdsId");
                                                                    String v13_0 = v27_0.optString("mi");
                                                                    String v14_0 = v27_0.optString("dpId");
                                                                    String v15_0 = v27_0.optString("dc");
                                                                    String v16_0 = v27_0.optString("rdsVer");
                                                                    String v17_0 = v27_0.optString("mc");
                                                                    org.json.JSONObject v26_0 = v29_0.getJSONObject("Data");
                                                                    v57_0.insertOrReplace(new com.android.db.PidDataTable(v5_0, v6_0, v7_0, "0", "0", "0", "0", v12_0, v13_0, v14_0, v15_0, v16_0, v17_0, v26_0.optString("content"), v26_0.optString("type"), v20_0, v21_0, v22_0, v23_0, v24_0, v25_0));
                                                                    this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                                    this.serviceCall1();
                                                                } else {
                                                                    this.keyboardclose();
                                                                    android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296867)).toString(), 1).show();
                                                                }
                                                            } else {
                                                                this.keyboardclose();
                                                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296863)).toString(), 1).show();
                                                            }
                                                        } else {
                                                            this.keyboardclose();
                                                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                        }
                                                        v50_1++;
                                                    } catch (Exception v39_4) {
                                                        v39_4.printStackTrace();
                                                    }
                                                }
                                                return;
                                            }
                                        }
                                    } else {
                                        com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                        if (p73 != 3) {
                                            if (p74 != -1) {
                                                if (p74 != 0) {
                                                    return;
                                                } else {
                                                    this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                    return;
                                                }
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    }
                                }
                            } else {
                                if (p75 != null) {
                                    if (p75 == null) {
                                        return;
                                    } else {
                                        try {
                                            String v61_1 = p75.getStringExtra("PID_DATA");
                                        } catch (Exception v39_9) {
                                            android.util.Log.e("Error", "Error while deserialze pid data", v39_9);
                                            return;
                                        }
                                        if (v61_1 == null) {
                                            return;
                                        } else {
                                            String v68_183 = new fr.arnaudguyon.xmltojsonlib.XmlToJson$Builder;
                                            v68_183(v61_1);
                                            this.jsonObjectpiddata = v68_183.build().toJson();
                                            this.keyboardclose();
                                            try {
                                                org.json.JSONObject v52_1 = new org.json.JSONObject;
                                                v52_1(this.jsonObjectpiddata.toString());
                                                com.android.db.DaoSession v36_1 = com.Manager.BaseManager.getDBSessoin(this);
                                                v36_1.getPidDataTableDao().deleteAll();
                                                com.android.db.PidDataTableDao v57_1 = v36_1.getPidDataTableDao();
                                                int v50_2 = 0;
                                            } catch (Exception v39_8) {
                                                v39_8.printStackTrace();
                                                return;
                                            }
                                            while (v50_2 < v52_1.length()) {
                                                org.json.JSONObject v29_1 = v52_1.getJSONObject("PidData");
                                                org.json.JSONObject v30_1 = v29_1.getJSONObject("Resp");
                                                String v20_1 = v30_1.optString("nmPoints");
                                                String v21_1 = v30_1.optString("errInfo");
                                                String v22_1 = v30_1.optString("fType");
                                                String v23_1 = v30_1.optString("errCode");
                                                String v24_1 = v30_1.optString("fCount");
                                                String v25_1 = v30_1.optString("qScore");
                                                try {
                                                    if (!v23_1.equalsIgnoreCase("720")) {
                                                        org.json.JSONObject v31_1 = v29_1.getJSONObject("Skey");
                                                        String v5_1 = v31_1.optString("content");
                                                        String v6_1 = v31_1.optString("ci");
                                                        String v7_1 = v29_1.optString("Hmac");
                                                        org.json.JSONObject v27_1 = v29_1.getJSONObject("DeviceInfo");
                                                        org.json.JSONArray v28 = v27_1.getJSONObject("additional_info").getJSONArray("Param");
                                                        org.json.JSONObject v54 = v28.getJSONObject(0);
                                                        String v8_1 = v54.optString("name");
                                                        String v9_1 = v54.optString("value");
                                                        org.json.JSONObject v53 = v28.getJSONObject(1);
                                                        String v10_1 = v53.optString("name");
                                                        String v11_1 = v53.optString("value");
                                                        String v12_1 = v27_1.optString("rdsId");
                                                        String v13_1 = v27_1.optString("mi");
                                                        String v14_1 = v27_1.optString("dpId");
                                                        String v15_1 = v27_1.optString("dc");
                                                        String v16_1 = v27_1.optString("rdsVer");
                                                        String v17_1 = v27_1.optString("mc");
                                                        org.json.JSONObject v26_1 = v29_1.getJSONObject("Data");
                                                        v57_1.insertOrReplace(new com.android.db.PidDataTable(v5_1, v6_1, v7_1, v8_1, v9_1, v10_1, v11_1, v12_1, v13_1, v14_1, v15_1, v16_1, v17_1, v26_1.optString("content"), v26_1.optString("type"), v20_1, v21_1, v22_1, v23_1, v24_1, v25_1));
                                                        this.pidDataTables = new com.Manager.AllPackageManager(this.context).getpidData();
                                                        this.serviceCall1();
                                                    } else {
                                                        this.keyboardclose();
                                                        android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296861)).toString(), 1).show();
                                                    }
                                                    v50_2++;
                                                } catch (Exception v39_7) {
                                                    v39_7.printStackTrace();
                                                }
                                            }
                                            return;
                                        }
                                    }
                                } else {
                                    com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                    if (p73 != 3) {
                                        if (p74 != -1) {
                                            if (p74 != 0) {
                                                return;
                                            } else {
                                                this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296352)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                                return;
                                            }
                                        } else {
                                            this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296351)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                            return;
                                        }
                                    } else {
                                        this.showMessageDialogue(new StringBuilder().append("").append(this.getResources().getString(2131296350)).toString(), new StringBuilder().append("").append(this.getResources().getString(2131296353)).toString());
                                        return;
                                    }
                                }
                            }
                        } else {
                            if (android.os.Build$VERSION.SDK_INT >= 24) {
                                try {
                                    this.keyboardclose();
                                    com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_1 = new android.graphics.BitmapFactory$Options();
                                    v56_1.inSampleSize = 8;
                                    android.graphics.Bitmap v34_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_1);
                                    v34_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_0);
                                    this.final_img_base64 = this.getStringImage(v34_0);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_0) {
                                    v39_0.printStackTrace();
                                }
                                return;
                            } else {
                                try {
                                    com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v56_3 = new android.graphics.BitmapFactory$Options();
                                    v56_3.inSampleSize = 8;
                                    android.graphics.Bitmap v34_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v56_3);
                                    v34_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.user_profile_image.setImageBitmap(v34_1);
                                    this.final_img_base64 = this.getStringImage(v34_1);
                                    this.cert_url_phy_cert_caste = this.final_img_base64;
                                } catch (Exception v39_1) {
                                    v39_1.printStackTrace();
                                } catch (OutOfMemoryError v41_1) {
                                    v41_1.printStackTrace();
                                }
                                return;
                            }
                        }
                    } else {
                        this.keyboardclose();
                        String v68_33 = p75.getParcelableArrayListExtra("ResultPickFILE").iterator();
                        while (v68_33.hasNext()) {
                            com.vincent.filepicker.filter.entity.NormalFile v43_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v68_33.next());
                            com.mapit.TribalApp.AdminBasedProfileRegistration.path1 = v43_1.getPath();
                            if (((v43_1.getSize() / 1024) / 1024) <= 2) {
                                try {
                                    java.io.FileInputStream v51 = new java.io.FileInputStream;
                                    v51(com.mapit.TribalApp.AdminBasedProfileRegistration.path1);
                                    this.cert_url_phy_cert_caste = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v51), 0);
                                    com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = ".pdf";
                                    this.user_profile_image.setImageResource(2130837828);
                                } catch (android.content.Context v69) {
                                }
                            } else {
                                this.user_profile_image.setImageResource(2130837693);
                                android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                            }
                        }
                        return;
                    }
                } else {
                    this.keyboardclose();
                    if (v60 == null) {
                        this.setLocale(com.mapit.TribalApp.AdminBasedProfileRegistration.Sessionval);
                        android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297926)).toString(), 0).show();
                        return;
                    } else {
                        this.setLocale(com.mapit.TribalApp.AdminBasedProfileRegistration.Sessionval);
                        String v37 = v60.getContents();
                        if ((v37 == null) || (v37.isEmpty())) {
                            this.setLocale(com.mapit.TribalApp.AdminBasedProfileRegistration.Sessionval);
                            android.widget.Toast.makeText(this.getApplicationContext(), new StringBuilder().append("").append(this.getResources().getString(2131297925)).toString(), 0).show();
                            return;
                        } else {
                            this.displayInfo(v37);
                            return;
                        }
                    }
                }
            } else {
                this.keyboardclose();
                com.mapit.TribalApp.AdminBasedProfileRegistration.extensionpdf = "test";
                this.imagesPath = p75.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v50_0 = 0;
                } catch (Exception v39_2) {
                    v39_2.printStackTrace();
                    return;
                }
                while (v50_0 < this.imagesPath.length) {
                    android.graphics.Bitmap v63 = this.getThumbnailBitmap(this.imagesPath[v50_0], 1000);
                    this.user_profile_image.setImageBitmap(v63);
                    this.final_img_base64 = this.getStringImage(v63);
                    this.cert_url_phy_cert_caste = this.final_img_base64;
                    v50_0++;
                }
                return;
            }
        }
    }

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


    private static com.google.firebase.iid.zzq zza(java.io.File p7)
    {
        int v1_0 = 0;
        java.io.FileInputStream v2_1 = new java.io.FileInputStream(p7);
        try {
            com.google.firebase.iid.zzq v0_3;
            com.google.firebase.iid.zzq v0_7 = new java.util.Properties();
            v0_7.load(v2_1);
            com.google.firebase.iid.zzr v3_4 = v0_7.getProperty("pub");
            long v4_0 = v0_7.getProperty("pri");
        } catch (com.google.firebase.iid.zzq v0_6) {
            com.google.firebase.iid.zzp.zza(v1_0, v2_1);
            throw v0_6;
        } catch (com.google.firebase.iid.zzq v0_4) {
            try {
                throw v0_4;
            } catch (int v1_1) {
                v1_0 = v0_4;
                v0_6 = v1_1;
            }
        }
        if ((v3_4 != null) && (v4_0 != 0)) {
            try {
            } catch (com.google.firebase.iid.zzq v0_1) {
                throw new com.google.firebase.iid.zzr(v0_1);
            }
            v0_3 = new com.google.firebase.iid.zzq(com.google.firebase.iid.zzp.zzc(v3_4, v4_0), Long.parseLong(v0_7.getProperty("cre")));
            com.google.firebase.iid.zzp.zza(0, v2_1);
        } else {
            com.google.firebase.iid.zzp.zza(0, v2_1);
            v0_3 = 0;
        }
        return v0_3;
    }

Method org.apache.poi.hssf.extractor.ExcelExtractor.main() calling method java.io.FileInputStream.<init>()


    public static void main(String[] p8)
    {
        try {
            org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs v0_1 = new org.apache.poi.hssf.extractor.ExcelExtractor$CommandArgs(p8);
        } catch (Exception v1_1) {
            System.err.println(v1_1.getMessage());
            org.apache.poi.hssf.extractor.ExcelExtractor.printUsageMessage(System.err);
            System.exit(1);
            return;
        }
        if (!v0_1.isRequestHelp()) {
            try {
                java.io.FileInputStream v3_1;
                if (v0_1.getInputFile() != null) {
                    v3_1 = new java.io.FileInputStream(v0_1.getInputFile());
                } else {
                    v3_1 = System.in;
                }
            } catch (Exception v1_0) {
                v1_0.printStackTrace();
                System.exit(1);
                return;
            }
            java.io.PrintStream v5_5;
            org.apache.poi.hssf.extractor.ExcelExtractor v2_1 = new org.apache.poi.hssf.extractor.ExcelExtractor(new org.apache.poi.hssf.usermodel.HSSFWorkbook(v3_1));
            v2_1.setIncludeSheetNames(v0_1.shouldShowSheetNames());
            if (v0_1.shouldEvaluateFormulas()) {
                v5_5 = 0;
            } else {
                v5_5 = 1;
            }
            v2_1.setFormulasNotResults(v5_5);
            v2_1.setIncludeCellComments(v0_1.shouldShowCellComments());
            v2_1.setIncludeBlankCells(v0_1.shouldShowBlankCells());
            v2_1.setIncludeHeadersFooters(v0_1.shouldIncludeHeadersFooters());
            System.out.println(v2_1.getText());
            return;
        } else {
            org.apache.poi.hssf.extractor.ExcelExtractor.printUsageMessage(System.out);
            return;
        }
    }

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


    public void writeTo(java.io.OutputStream p5)
    {
        org.apache.http.util.Args.notNull(p5, "Output stream");
        java.io.FileInputStream v0_1 = new java.io.FileInputStream(this.file);
        try {
            byte[] v2 = new byte[4096];
        } catch (int v3_1) {
            v0_1.close();
            throw v3_1;
        }
        while(true) {
            int v1 = v0_1.read(v2);
            if (v1 == -1) {
                break;
            }
            p5.write(v2, 0, v1);
        }
        p5.flush();
        v0_1.close();
        return;
    }

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


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

Method com.google.android.gms.common.util.IOUtils$zzb.zzdd() calling method java.io.FileInputStream.<init>()


    public final byte[] zzdd()
    {
        try {
            int v1_1 = new java.io.FileInputStream(this.file);
            try {
                Throwable v0_0 = com.google.android.gms.common.util.IOUtils.zzb(v1_1, v1_1.getChannel().size());
                com.google.android.gms.common.util.IOUtils.closeQuietly(v1_1);
                return v0_0;
            } catch (Throwable v0_1) {
                com.google.android.gms.common.util.IOUtils.closeQuietly(v1_1);
                throw v0_1;
            }
        } catch (Throwable v0_1) {
            v1_1 = 0;
        }
        v0_0 = com.google.android.gms.common.util.IOUtils.zzb(v1_1, v1_1.getChannel().size());
        com.google.android.gms.common.util.IOUtils.closeQuietly(v1_1);
        return v0_0;
    }

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


    private static String getFileSHA(String p4)
    {
        java.io.BufferedInputStream v0 = 0;
        try {
            java.io.BufferedInputStream v1_1 = new java.io.BufferedInputStream(new java.io.FileInputStream(p4));
            try {
                String v2 = io.fabric.sdk.android.services.common.CommonUtils.sha1(v1_1);
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
                return v2;
            } catch (Throwable v3_0) {
                v0 = v1_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0);
                throw v3_0;
            }
        } catch (Throwable v3_0) {
        }
        v2 = io.fabric.sdk.android.services.common.CommonUtils.sha1(v1_1);
        io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
        return v2;
    }

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


    static byte[] readFile(java.io.File p4)
    {
        Throwable v3_0 = 0;
        java.io.FileInputStream v1 = 0;
        try {
            java.io.FileInputStream v2_1 = new java.io.FileInputStream(p4);
            try {
                v3_0 = com.crashlytics.android.core.NativeFileUtils.readBytes(v2_1);
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v2_1);
            } catch (Throwable v3_1) {
                v1 = v2_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1);
                throw v3_1;
            } catch (java.io.IOException v0) {
                v1 = v2_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1);
            } catch (java.io.IOException v0) {
                v1 = v2_1;
                io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1);
            }
            return v3_0;
        } catch (Throwable v3_1) {
        } catch (java.io.IOException v0) {
        } catch (java.io.IOException v0) {
        }
    }

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


    public com.crashlytics.android.core.UserMetaData readUserData(String p8)
    {
        Throwable v4_1;
        java.io.File v1 = this.getUserDataFileForSession(p8);
        if (v1.exists()) {
            java.io.FileInputStream v2 = 0;
            try {
                java.io.FileInputStream v3_1 = new java.io.FileInputStream(v1);
                try {
                    v4_1 = com.crashlytics.android.core.MetaDataStore.jsonToUserData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v3_1));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3_1, "Failed to close user metadata file.");
                } catch (Throwable v4_4) {
                    v2 = v3_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    throw v4_4;
                } catch (Exception v0) {
                    v2 = v3_1;
                    io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    v4_1 = com.crashlytics.android.core.UserMetaData.EMPTY;
                }
            } catch (Throwable v4_4) {
            } catch (Exception v0) {
            }
        } else {
            v4_1 = com.crashlytics.android.core.UserMetaData.EMPTY;
        }
        return v4_1;
    }

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


    public java.util.Map readKeyData(String p8)
    {
        Throwable v4_1;
        java.io.File v1 = this.getKeysFileForSession(p8);
        if (v1.exists()) {
            java.io.FileInputStream v2 = 0;
            try {
                java.io.FileInputStream v3_1 = new java.io.FileInputStream(v1);
                try {
                    v4_1 = com.crashlytics.android.core.MetaDataStore.jsonToKeysData(io.fabric.sdk.android.services.common.CommonUtils.streamToString(v3_1));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v3_1, "Failed to close user metadata file.");
                } catch (Throwable v4_4) {
                    v2 = v3_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    throw v4_4;
                } catch (Exception v0) {
                    v2 = v3_1;
                    io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", "Error deserializing user metadata.", v0);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v2, "Failed to close user metadata file.");
                    v4_1 = java.util.Collections.emptyMap();
                }
            } catch (Throwable v4_4) {
            } catch (Exception v0) {
            }
        } else {
            v4_1 = java.util.Collections.emptyMap();
        }
        return v4_1;
    }

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


    private static void writeToCosFromFile(com.crashlytics.android.core.CodedOutputStream p6, java.io.File p7)
    {
        if (p7.exists()) {
            java.io.FileInputStream v0 = 0;
            try {
                java.io.FileInputStream v1_1 = new java.io.FileInputStream(p7);
                try {
                    com.crashlytics.android.core.CrashlyticsController.copyToCodedOutputStream(v1_1, p6, ((int) p7.length()));
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_1, "Failed to close file input stream.");
                } catch (Throwable v2_2) {
                    v0 = v1_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close file input stream.");
                    throw v2_2;
                }
            } catch (Throwable v2_2) {
            }
        } else {
            io.fabric.sdk.android.Fabric.getLogger().e("CrashlyticsCore", new StringBuilder().append("Tried to include a file that doesn\'t exist: ").append(p7.getName()).toString(), 0);
        }
        return;
    }

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


    java.util.zip.ZipInputStream getZipInputStreamOfApkFrom(android.content.Context p6, String p7)
    {
        return new java.util.zip.ZipInputStream(new java.io.FileInputStream(p6.getPackageManager().getApplicationInfo(p7, 0).sourceDir));
    }

Method com.bumptech.glide.load.resource.file.FileToStreamDecoder$FileOpener.open() calling method java.io.FileInputStream.<init>()


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

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


    private void readJournal()
    {
        com.bumptech.glide.disklrucache.StrictLineReader v5_1 = new com.bumptech.glide.disklrucache.StrictLineReader(new java.io.FileInputStream(this.journalFile), com.bumptech.glide.disklrucache.Util.US_ASCII);
        try {
            String v4 = v5_1.readLine();
            String v7 = v5_1.readLine();
            String v0 = v5_1.readLine();
            String v6 = v5_1.readLine();
            String v1 = v5_1.readLine();
        } catch (java.io.BufferedWriter v8_23) {
            com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
            throw v8_23;
        }
        if (("libcore.io.DiskLruCache".equals(v4)) && (("1".equals(v7)) && ((Integer.toString(this.appVersion).equals(v0)) && ((Integer.toString(this.valueCount).equals(v6)) && ("".equals(v1)))))) {
            int v3 = 0;
            try {
                while(true) {
                    this.readJournalLine(v5_1.readLine());
                    v3++;
                }
            } catch (java.io.EOFException v2) {
                this.redundantOpCount = (v3 - this.lruEntries.size());
                if (!v5_1.hasUnterminatedLine()) {
                    this.journalWriter = new java.io.BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(this.journalFile, 1), com.bumptech.glide.disklrucache.Util.US_ASCII));
                } else {
                    this.rebuildJournal();
                }
                com.bumptech.glide.disklrucache.Util.closeQuietly(v5_1);
                return;
            }
        } else {
            throw new java.io.IOException(new StringBuilder().append("unexpected journal header: [").append(v4).append(", ").append(v7).append(", ").append(v6).append(", ").append(v1).append("]").toString());
        }
    }

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


    public String getString(int p3)
    {
        return com.bumptech.glide.disklrucache.DiskLruCache.access$1700(new java.io.FileInputStream(this.files[p3]));
    }

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


    private java.io.InputStream newInputStream(int p6)
    {
        java.io.FileInputStream v1_0 = 0;
        try {
            if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$700(this.entry) == this) {
                if (com.bumptech.glide.disklrucache.DiskLruCache$Entry.access$600(this.entry)) {
                    try {
                    } catch (java.io.FileNotFoundException v0) {
                    }
                    v1_0 = new java.io.FileInputStream(this.entry.getCleanFile(p6));
                } else {
                }
                return v1_0;
            } else {
                throw new IllegalStateException();
            }
        } catch (java.io.FileInputStream v1_3) {
            throw v1_3;
        }
    }

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


    public declared_synchronized void initialize()
    {
        try {
            if (this.mRootDirectory.exists()) {
                java.io.File[] v4 = this.mRootDirectory.listFiles();
                if (v4 != null) {
                    java.io.File[] v0 = v4;
                    int v8 = v0.length;
                    int v7 = 0;
                    while (v7 < v8) {
                        java.io.File v3 = v0[v7];
                        java.io.FileInputStream v5 = 0;
                        try {
                            java.io.FileInputStream v6_1 = new java.io.FileInputStream(v3);
                            try {
                                com.android.volley.toolbox.DiskBasedCache$CacheHeader v2 = com.android.volley.toolbox.DiskBasedCache$CacheHeader.readHeader(v6_1);
                                v2.size = v3.length();
                                this.putEntry(v2.key, v2);
                            } catch (java.io.IOException v9_3) {
                                v5 = v6_1;
                                if (v5 != null) {
                                    try {
                                        v5.close();
                                    } catch (java.io.IOException v10) {
                                    }
                                }
                                throw v9_3;
                            } catch (java.io.IOException v1) {
                                v5 = v6_1;
                                if (v3 != null) {
                                    v3.delete();
                                }
                                if (v5 == null) {
                                    v7++;
                                } else {
                                    try {
                                        v5.close();
                                    } catch (java.io.IOException v9) {
                                    }
                                }
                            }
                            if (v6_1 == null) {
                            } else {
                                try {
                                    v6_1.close();
                                } catch (java.io.IOException v9) {
                                }
                            }
                        } catch (java.io.IOException v9_3) {
                        } catch (java.io.IOException v1) {
                        }
                    }
                }
            } else {
                if (!this.mRootDirectory.mkdirs()) {
                    java.io.IOException v10_2 = new Object[1];
                    v10_2[0] = this.mRootDirectory.getAbsolutePath();
                    com.android.volley.VolleyLog.e("Unable to create cache dir %s", v10_2);
                }
            }
        } catch (java.io.IOException v9_8) {
            throw v9_8;
        }
        return;
    }

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


    public declared_synchronized com.android.volley.Cache$Entry get(String p13)
    {
        Throwable v7_0 = 0;
        try {
            com.android.volley.toolbox.DiskBasedCache$CacheHeader v4_1 = ((com.android.volley.toolbox.DiskBasedCache$CacheHeader) this.mEntries.get(p13));
        } catch (Throwable v7_1) {
            throw v7_1;
        }
        if (v4_1 != null) {
            java.io.File v5 = this.getFileForKey(p13);
            com.android.volley.toolbox.DiskBasedCache$CountingInputStream v0 = 0;
            try {
                com.android.volley.toolbox.DiskBasedCache$CountingInputStream v1_0 = new com.android.volley.toolbox.DiskBasedCache$CountingInputStream(new java.io.FileInputStream(v5), 0);
                try {
                    com.android.volley.toolbox.DiskBasedCache$CacheHeader.readHeader(v1_0);
                    Throwable v8_6 = v4_1.toCacheEntry(com.android.volley.toolbox.DiskBasedCache.streamToBytes(v1_0, ((int) (v5.length() - ((long) com.android.volley.toolbox.DiskBasedCache$CountingInputStream.access$100(v1_0))))));
                } catch (Throwable v8_8) {
                    v0 = v1_0;
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v6) {
                            return v7_0;
                        }
                    }
                    throw v8_8;
                } catch (java.io.IOException v3) {
                    v0 = v1_0;
                    Object[] v9_2 = new Object[2];
                    v9_2[0] = v5.getAbsolutePath();
                    v9_2[1] = v3.toString();
                    com.android.volley.VolleyLog.d("%s: %s", v9_2);
                    this.remove(p13);
                    if (v0 != null) {
                        try {
                            v0.close();
                        } catch (java.io.IOException v6) {
                        }
                    }
                }
                if (v1_0 != null) {
                    try {
                        v1_0.close();
                    } catch (java.io.IOException v6) {
                        return v7_0;
                    }
                }
                v7_0 = v8_6;
            } catch (Throwable v8_8) {
            } catch (java.io.IOException v3) {
            }
        }
        return v7_0;
    }

Method com.PMSYojna.PmsFreshApply.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            this.keyboardclose();
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.admission_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.admission_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.admission_letter_image.setImageBitmap(v5_1);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                    this.admission_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                android.util.Log.i("encodedPdfString", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.admission_letter_image.setImageResource(2130837828);
                                android.util.Log.i("encodedPdfString", new StringBuilder().append("").append(v8_1.toString()).toString());
                                this.admission_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            }
                        } else {
                            this.admission_letter_image.setImageResource(2130837693);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.admission_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.admission_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.pta.PTAMeetingDetailActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            this.keyboardclose();
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.payment_mode.ChecqueDetailFragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p29, int p30, android.content.Intent p31)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p29, p30, p31);
        this = super.onActivityResult(p29, p30, p31);
        this.getActivity();
        if (p30 == -1) {
            this.keyboardclose();
            if (p29 != 1) {
                if (p29 != 15) {
                    if (p29 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p31.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p31.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.payment_mode.CashPaymentDetailFragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p29, int p30, android.content.Intent p31)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p29, p30, p31);
        this = super.onActivityResult(p29, p30, p31);
        this.getActivity();
        if (p30 == -1) {
            this.keyboardclose();
            if (p29 != 1) {
                if (p29 != 15) {
                    if (p29 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p31.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p31.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.inventory.purchase_request_na.GenratePurchaseReqestStep2Fragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p32, int p33, android.content.Intent p34)
    {
        this = super.onActivityResult(p32, p33, p34);
        if (p32 != 200) {
            if (p32 != 1) {
                if (p32 != 15) {
                    if (p32 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v23_5 = new android.graphics.BitmapFactory$Options();
                                v23_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_5);
                            } catch (NullPointerException v8_2) {
                                v8_2.printStackTrace();
                            } catch (OutOfMemoryError v10_1) {
                                v10_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v8_0) {
                                v8_0.printStackTrace();
                            } catch (OutOfMemoryError v10_0) {
                                v10_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v26_27 = p34.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v26_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v11_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v26_27.next());
                        this.path1 = v11_1.getPath();
                        long v16 = ((v11_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v20_0 = new java.io.FileInputStream;
                                v20_0(this.path1);
                                String v9_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v20_0), 0);
                                this.cert_income = v9_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v9_0.toString()).toString());
                                this.final_img_base64 = v9_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v20_1 = new java.io.FileInputStream;
                                v20_1(this.path1);
                                String v9_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v20_1), 0);
                                this.cert_admission = v9_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v9_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getActivity(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p34.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v19 = 0;
                } catch (NullPointerException v8_1) {
                    v8_1.printStackTrace();
                }
                while (v19 < this.imagesPath.length) {
                    android.graphics.Bitmap v24 = this.getThumbnailBitmap(this.imagesPath[v19], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v24);
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v19++;
                }
            }
        } else {
            if ((p33 == 300) && (p34 != null)) {
                com.Hostel.superintendent.beans.AddItemInformation v25_1 = ((com.Hostel.superintendent.beans.AddItemInformation) com.Hostel.superintendent.others.HelpUtility.getGsonInstance().fromJson(p34.getStringExtra("json").toString(), com.Hostel.superintendent.beans.AddItemInformation));
                this.addItemInformationList.add(v25_1);
                this.addItemToView(v25_1);
                if (!this.quantity_et.getText().toString().trim().isEmpty()) {
                    if (Integer.parseInt(this.quantity_et.getText().toString().trim()) != this.addItemInformationList.size()) {
                        this.add_item_button_container_ll.setVisibility(0);
                    } else {
                        this.add_item_button_container_ll.setVisibility(8);
                    }
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.inventory.gift.AddGiftItemToStokeFragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p32, int p33, android.content.Intent p34)
    {
        this = super.onActivityResult(p32, p33, p34);
        if (p32 != 200) {
            if (p32 != 1) {
                if (p32 != 15) {
                    if (p32 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v23_5 = new android.graphics.BitmapFactory$Options();
                                v23_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_5);
                            } catch (NullPointerException v8_2) {
                                v8_2.printStackTrace();
                            } catch (OutOfMemoryError v10_1) {
                                v10_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_1 = new android.graphics.BitmapFactory$Options();
                                    v23_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v23_3 = new android.graphics.BitmapFactory$Options();
                                    v23_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v23_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v8_0) {
                                v8_0.printStackTrace();
                            } catch (OutOfMemoryError v10_0) {
                                v10_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v26_27 = p34.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v26_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v11_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v26_27.next());
                        this.path1 = v11_1.getPath();
                        long v16 = ((v11_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v20_0 = new java.io.FileInputStream;
                                v20_0(this.path1);
                                String v9_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v20_0), 0);
                                this.cert_income = v9_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v9_0.toString()).toString());
                                this.final_img_base64 = v9_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v20_1 = new java.io.FileInputStream;
                                v20_1(this.path1);
                                String v9_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v20_1), 0);
                                this.cert_admission = v9_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v9_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getActivity(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p34.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v19 = 0;
                } catch (NullPointerException v8_1) {
                    v8_1.printStackTrace();
                }
                while (v19 < this.imagesPath.length) {
                    android.graphics.Bitmap v24 = this.getThumbnailBitmap(this.imagesPath[v19], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v24);
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v19++;
                }
            }
        } else {
            if ((p33 == 300) && (p34 != null)) {
                com.Hostel.superintendent.beans.AddItemInformation v25_1 = ((com.Hostel.superintendent.beans.AddItemInformation) com.Hostel.superintendent.others.HelpUtility.getGsonInstance().fromJson(p34.getStringExtra("json").toString(), com.Hostel.superintendent.beans.AddItemInformation));
                this.addItemInformationList.add(v25_1);
                this.addItemToView(v25_1);
                if (!this.quantity_et.getText().toString().trim().isEmpty()) {
                    Integer.parseInt(this.quantity_et.getText().toString().trim());
                    if (this.remaningCount != 0) {
                        this.add_item_button_container_ll.setVisibility(0);
                    } else {
                        this.add_item_button_container_ll.setVisibility(8);
                    }
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.inventory.demand_request.MakeDemandRequestNVActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p29, int p30, android.content.Intent p31)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p29, p30, p31);
        this = super.onActivityResult(p29, p30, p31);
        if (p30 == -1) {
            this.keyboardclose();
            if (p29 != 1) {
                if (p29 != 15) {
                    if (p29 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p31.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p31.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.inventory.PurchaseRequestDetailFragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p31, int p32, android.content.Intent p33)
    {
        this = super.onActivityResult(p31, p32, p33);
        if (p31 != 200) {
            if (p31 != 1) {
                if (p31 != 15) {
                    if (p31 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v22_5 = new android.graphics.BitmapFactory$Options();
                                v22_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v22_1 = new android.graphics.BitmapFactory$Options();
                                    v22_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v22_3 = new android.graphics.BitmapFactory$Options();
                                    v22_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v25_27 = p33.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v25_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v25_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v19_0 = new java.io.FileInputStream;
                                v19_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v19_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v19_1 = new java.io.FileInputStream;
                                v19_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v19_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getActivity(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p33.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v18 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v18 < this.imagesPath.length) {
                    android.graphics.Bitmap v23 = this.getThumbnailBitmap(this.imagesPath[v18], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v23);
                        this.final_img_base64 = this.getStringImage(v23);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v23);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v18++;
                }
            }
        } else {
            if ((p32 == 300) && (p33 != null)) {
                com.Hostel.superintendent.beans.AddItemInformation v24_1 = ((com.Hostel.superintendent.beans.AddItemInformation) com.Hostel.superintendent.others.HelpUtility.getGsonInstance().fromJson(p33.getStringExtra("json").toString(), com.Hostel.superintendent.beans.AddItemInformation));
                this.addItemInformationList.add(v24_1);
                this.addItemToView(v24_1);
                if (this.remaningItemCount != 0) {
                    this.add_item_button_container_ll.setVisibility(0);
                } else {
                    this.add_item_button_container_ll.setVisibility(8);
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.exit.StudentForceExitStep1Fragment.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p29, int p30, android.content.Intent p31)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p29, p30, p31);
        this = super.onActivityResult(p29, p30, p31);
        if (p30 == -1) {
            this.keyboardclose();
            if (p29 != 1) {
                if (p29 != 15) {
                    if (p29 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p31.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p31.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.UploadAttendanceExcelSheetActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p31, int p32, android.content.Intent p33)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p31, p32, p33);
        this = super.onActivityResult(p31, p32, p33);
        if (p32 == -1) {
            this.keyboardclose();
            if (p31 != 1) {
                if (p31 != 15) {
                    if (p31 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v22_5 = new android.graphics.BitmapFactory$Options();
                                v22_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_5);
                            } catch (Exception v7_3) {
                                v7_3.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v22_1 = new android.graphics.BitmapFactory$Options();
                                    v22_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v22_3 = new android.graphics.BitmapFactory$Options();
                                    v22_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v22_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (Exception v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v25_27 = p33.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v25_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v25_27.next());
                        this.path1 = v10_1.getPath();
                        String v21 = v10_1.getName();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                int v19 = 0;
                                try {
                                    if (this.type_spinner.getSelectedItemPosition() != 1) {
                                        if (this.type_spinner.getSelectedItemPosition() == 2) {
                                            if (!v10_1.getName().startsWith("employee")) {
                                                v19 = 0;
                                                com.Hostel.superintendent.others.HelpUtility.showCustomMessageDialog(this.getContext(), this.getResources().getString(2131297963));
                                            } else {
                                                v19 = 1;
                                            }
                                        }
                                    } else {
                                        if (!v10_1.getName().startsWith("student")) {
                                            v19 = 0;
                                            com.Hostel.superintendent.others.HelpUtility.showCustomMessageDialog(this.getContext(), this.getResources().getString(2131297997));
                                        } else {
                                            v19 = 1;
                                        }
                                    }
                                    if (v19 != 0) {
                                        this.file_name_tv.setText(v21);
                                        com.Hostel.superintendent.attendance.UploadAttendanceExcelSheetActivity$ReadExcelSheetTask v26_32 = new com.Hostel.superintendent.attendance.UploadAttendanceExcelSheetActivity$ReadExcelSheetTask;
                                        v26_32(this);
                                        java.io.InputStream[] v0_68 = new java.io.InputStream[1];
                                        java.io.InputStream[] v27_23 = v0_68;
                                        v27_23[0] = v18_0;
                                        v26_32.execute(v27_23);
                                    }
                                } catch (Exception v7_1) {
                                    v7_1.printStackTrace();
                                    com.Hostel.superintendent.others.HelpUtility.showCustomMessageDialog(this.getContext(), this.getResources().getString(2131298278));
                                }
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p33.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (Exception v7_2) {
                    v7_2.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v24 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v24);
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v24);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.StudentPerformanceActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            this.keyboardclose();
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v20_5 = new android.graphics.BitmapFactory$Options();
                                v20_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_5);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                    v20_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                    v20_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v23_27 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_27.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                this.cert_income = v8_0;
                                this.extensionpdf = ".pdf";
                                this.income_letter_image.setImageResource(2130837828);
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                this.final_img_base64 = v8_0.toString();
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v22);
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v22);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.superintendent.attendance.PDFAttendanceActvity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p30, int p31, android.content.Intent p32)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p30, p31, p32);
        this = super.onActivityResult(p30, p31, p32);
        if (p31 == -1) {
            this.keyboardclose();
            if (p30 != 1) {
                if (p30 != 15) {
                    if (p30 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = "test";
                                android.graphics.BitmapFactory$Options v21_5 = new android.graphics.BitmapFactory$Options();
                                v21_5.inSampleSize = 8;
                                android.graphics.Bitmap v5_2 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v21_5);
                            } catch (Exception v7_3) {
                                v7_3.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.income_letter_image.setImageBitmap(v5_2);
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_income = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                                this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                            } else {
                                v5_2.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.final_img_base64 = this.getStringImage(v5_2);
                                this.cert_admission = this.final_img_base64;
                                this.main_document_upload_ll.setVisibility(0);
                            }
                        } else {
                            try {
                                if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v21_1 = new android.graphics.BitmapFactory$Options();
                                    v21_1.inSampleSize = 8;
                                    android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v21_1);
                                    v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.income_letter_image.setImageBitmap(v5_0);
                                    this.final_img_base64 = this.getStringImage(v5_0);
                                    this.cert_income = this.final_img_base64;
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } else {
                                    this.extensionpdf = "test";
                                    android.graphics.BitmapFactory$Options v21_3 = new android.graphics.BitmapFactory$Options();
                                    v21_3.inSampleSize = 8;
                                    android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v21_3);
                                    v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                    this.main_document_upload_ll.setVisibility(0);
                                    this.final_img_base64 = this.getStringImage(v5_1);
                                    this.cert_admission = this.final_img_base64;
                                }
                            } catch (Exception v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    android.widget.TextView v24_27 = p32.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v24_27.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v24_27.next());
                        this.path1 = v10_1.getPath();
                        String v20 = v10_1.getName();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepatrh", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            if (!this.cert_identify.equalsIgnoreCase("admission")) {
                                java.io.FileInputStream v18_0 = new java.io.FileInputStream;
                                v18_0(this.path1);
                                try {
                                    this.readExcel(v18_0);
                                    String v8_0 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_0), 0);
                                    this.cert_income = v8_0;
                                    this.extensionpdf = ".pdf";
                                    this.income_letter_image.setImageResource(2130837710);
                                    this.main_document_upload_ll.setVisibility(0);
                                    android.util.Log.i("encosdfsefsdfbbbbbtring", new StringBuilder().append("").append(v8_0.toString()).toString());
                                    this.final_img_base64 = v8_0.toString();
                                    this.file_name_tv.setText(v20);
                                    this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                                } catch (Exception v7_1) {
                                    v7_1.printStackTrace();
                                    com.Hostel.superintendent.others.HelpUtility.showCustomMessageDialog(this.getContext(), this.getResources().getString(2131298278));
                                }
                            } else {
                                java.io.FileInputStream v18_1 = new java.io.FileInputStream;
                                v18_1(this.path1);
                                String v8_1 = android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18_1), 0);
                                this.cert_admission = v8_1;
                                this.extensionpdf = ".pdf";
                                this.main_document_upload_ll.setVisibility(0);
                                android.util.Log.i("encodedPdfStssssring", new StringBuilder().append("").append(v8_1.toString()).toString());
                            }
                        } else {
                            android.widget.Toast.makeText(this.getContext(), new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p32.getStringExtra("data").split("\\|");
                try {
                    this.mybitmap = new java.util.ArrayList();
                    int v11 = 0;
                } catch (Exception v7_2) {
                    v7_2.printStackTrace();
                }
                while (v11 < this.imagesPath.length) {
                    android.graphics.Bitmap v23 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                    if (!this.cert_identify.equalsIgnoreCase("admission")) {
                        this.income_letter_image.setImageBitmap(v23);
                        this.final_img_base64 = this.getStringImage(v23);
                        this.cert_income = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                        this.income_letter_upload.setTextColor(this.getResources().getColor(2131689643));
                    } else {
                        this.final_img_base64 = this.getStringImage(v23);
                        this.cert_admission = this.final_img_base64;
                        this.main_document_upload_ll.setVisibility(0);
                    }
                    v11++;
                }
            }
        }
        return;
    }

Method com.Hostel.Student.HostelStudentUploadVerificationDoc.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = ".jpg";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.iv_upload.setImageBitmap(this.setImageOrientation(this.fileUri.getPath(), v5_1));
                                this.verificationDocBase64 = this.getStringImage(this.setImageOrientation(this.fileUri.getPath(), v5_1));
                                this.hideSoftKeyboard(this);
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.iv_upload.setImageBitmap(this.setImageOrientation(this.fileUri.getPath(), v5_0));
                                this.verificationDocBase64 = this.getStringImage(this.setImageOrientation(this.fileUri.getPath(), v5_0));
                                this.extensionpdf = ".jpg";
                                this.hideSoftKeyboard(this);
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    String v23_10 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_10.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_10.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepath", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.iv_upload.setImageResource(2130837828);
                                this.hideSoftKeyboard(this);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.iv_upload.setImageResource(2130837693);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                int v11 = 0;
                try {
                    while (v11 < this.imagesPath.length) {
                        android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                        this.iv_upload.setImageBitmap(v22);
                        this.verificationDocBase64 = this.getStringImage(v22);
                        this.extensionpdf = ".jpg";
                        this.hideSoftKeyboard(this);
                        v11++;
                    }
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
            }
        }
        return;
    }

Method com.Hostel.Student.HostelStudentDetailActivity.onActivityResult() calling method java.io.FileInputStream.<init>()


    public void onActivityResult(int p28, int p29, android.content.Intent p30)
    {
        com.google.zxing.integration.android.IntentIntegrator.parseActivityResult(p28, p29, p30);
        this = super.onActivityResult(p28, p29, p30);
        if (p29 == -1) {
            if (p28 != 1) {
                if (p28 != 15) {
                    if (p28 == 100) {
                        if (android.os.Build$VERSION.SDK_INT >= 24) {
                            try {
                                this.extensionpdf = ".jpg";
                                android.graphics.BitmapFactory$Options v20_1 = new android.graphics.BitmapFactory$Options();
                                v20_1.inSampleSize = 8;
                                android.graphics.Bitmap v5_0 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_1);
                                v5_0.compress(android.graphics.Bitmap$CompressFormat.JPEG, 80, new java.io.ByteArrayOutputStream());
                                this.admissionLetterIV.setImageBitmap(this.setImageOrientation(this.fileUri.getPath(), v5_0));
                                this.admissionLetterBase64 = this.getStringImage(this.setImageOrientation(this.fileUri.getPath(), v5_0));
                            } catch (NullPointerException v7_2) {
                                v7_2.printStackTrace();
                            } catch (OutOfMemoryError v9_1) {
                                v9_1.printStackTrace();
                            }
                        } else {
                            try {
                                android.graphics.BitmapFactory$Options v20_3 = new android.graphics.BitmapFactory$Options();
                                v20_3.inSampleSize = 8;
                                android.graphics.Bitmap v5_1 = android.graphics.BitmapFactory.decodeFile(this.fileUri.getPath(), v20_3);
                                v5_1.compress(android.graphics.Bitmap$CompressFormat.JPEG, 100, new java.io.ByteArrayOutputStream());
                                this.admissionLetterIV.setImageBitmap(this.setImageOrientation(this.fileUri.getPath(), v5_1));
                                this.admissionLetterBase64 = this.getStringImage(this.setImageOrientation(this.fileUri.getPath(), v5_1));
                                this.extensionpdf = ".jpg";
                            } catch (NullPointerException v7_0) {
                                v7_0.printStackTrace();
                            } catch (OutOfMemoryError v9_0) {
                                v9_0.printStackTrace();
                            }
                        }
                    }
                } else {
                    String v23_9 = p30.getParcelableArrayListExtra("ResultPickFILE").iterator();
                    while (v23_9.hasNext()) {
                        com.vincent.filepicker.filter.entity.NormalFile v10_1 = ((com.vincent.filepicker.filter.entity.NormalFile) v23_9.next());
                        this.path1 = v10_1.getPath();
                        long v16 = ((v10_1.getSize() / 1024) / 1024);
                        android.util.Log.i("fileSizeInMB", new StringBuilder().append("").append(v16).toString());
                        android.util.Log.i("filepath", new StringBuilder().append("").append(this.path1.toString()).toString());
                        if (v16 <= 2) {
                            try {
                                java.io.FileInputStream v18 = new java.io.FileInputStream;
                                v18(this.path1);
                                android.util.Base64.encodeToString(org.apache.commons.io.IOUtils.toByteArray(v18), 0);
                                this.extensionpdf = ".pdf";
                                this.admissionLetterIV.setImageResource(2130837828);
                            } catch (java.io.IOException v24) {
                            }
                        } else {
                            this.admissionLetterIV.setImageResource(2130837693);
                            android.widget.Toast.makeText(this, new StringBuilder().append("").append(this.getResources().getString(2131296359)).toString(), 1).show();
                        }
                    }
                }
            } else {
                this.imagesPath = p30.getStringExtra("data").split("\\|");
                int v11 = 0;
                try {
                    while (v11 < this.imagesPath.length) {
                        android.graphics.Bitmap v22 = this.getThumbnailBitmap(this.imagesPath[v11], 1000);
                        this.admissionLetterIV.setImageBitmap(v22);
                        this.admissionLetterBase64 = this.getStringImage(v22);
                        this.extensionpdf = ".jpg";
                        v11++;
                    }
                } catch (NullPointerException v7_1) {
                    v7_1.printStackTrace();
                }
            }
        }
        return;
    }

Method android.support.v4.util.AtomicFile.openRead() calling method java.io.FileInputStream.<init>()


    public java.io.FileInputStream openRead()
    {
        if (this.mBackupName.exists()) {
            this.mBaseName.delete();
            this.mBackupName.renameTo(this.mBaseName);
        }
        return new java.io.FileInputStream(this.mBaseName);
    }

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


    private static java.nio.ByteBuffer mmap(java.io.File p11)
    {
        java.io.FileInputStream v7_1 = new java.io.FileInputStream(p11);
        try {
            java.nio.channels.FileChannel v0 = v7_1.getChannel();
            Throwable v1_0 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0.size());
        } catch (Throwable v1_2) {
            Throwable v2_1 = 0;
            if (v7_1 != null) {
                if (v2_1 == null) {
                    v7_1.close();
                } else {
                    v7_1.close();
                }
            }
            throw v1_2;
        } catch (Throwable v1_1) {
            try {
                throw v1_1;
            } catch (Throwable v2_0) {
                v2_1 = v1_1;
                v1_2 = v2_0;
            }
        }
        if (v7_1 == null) {
            return v1_0;
        } else {
            if (0 == 0) {
                v7_1.close();
                return v1_0;
            } else {
                try {
                    v7_1.close();
                } catch (Throwable v2_2) {
                    0.addSuppressed(v2_2);
                }
                return v1_0;
            }
        }
    }

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


    public static java.nio.ByteBuffer mmap(android.content.Context p13, android.os.CancellationSignal p14, android.net.Uri p15)
    {
        try {
            android.os.ParcelFileDescriptor v8 = p13.getContentResolver().openFileDescriptor(p15, "r", p14);
            try {
                java.io.FileInputStream v7_1 = new java.io.FileInputStream(v8.getFileDescriptor());
                try {
                    java.nio.channels.FileChannel v0 = v7_1.getChannel();
                    Throwable v1_1 = v0.map(java.nio.channels.FileChannel$MapMode.READ_ONLY, 0, v0.size());
                } catch (Throwable v1_4) {
                    Throwable v2_2 = 0;
                    if (v7_1 != null) {
                        if (v2_2 == null) {
                            v7_1.close();
                        } else {
                            v7_1.close();
                        }
                    }
                    throw v1_4;
                } catch (Throwable v1_3) {
                    try {
                        throw v1_3;
                    } catch (Throwable v2_1) {
                        v2_2 = v1_3;
                        v1_4 = v2_1;
                    }
                }
                if (v7_1 != null) {
                    if (0 == 0) {
                        v7_1.close();
                    } else {
                        try {
                            v7_1.close();
                        } catch (Throwable v2_3) {
                            0.addSuppressed(v2_3);
                        }
                    }
                }
                if (v8 == null) {
                    return v1_1;
                } else {
                    if (0 == 0) {
                        v8.close();
                        return v1_1;
                    } else {
                        try {
                            v8.close();
                        } catch (Throwable v2_6) {
                            0.addSuppressed(v2_6);
                        }
                        return v1_1;
                    }
                }
            } catch (Throwable v1_6) {
                Throwable v2_5 = 0;
                if (v8 != null) {
                    if (v2_5 == null) {
                        v8.close();
                    } else {
                        try {
                            v8.close();
                        } catch (Throwable v3_1) {
                            v2_5.addSuppressed(v3_1);
                        }
                    }
                }
                throw v1_6;
            } catch (Throwable v1_5) {
                try {
                    throw v1_5;
                } catch (Throwable v2_4) {
                    v2_5 = v1_5;
                    v1_6 = v2_4;
                }
            }
        } catch (java.io.IOException v6) {
            v1_1 = 0;
            return v1_1;
        }
    }

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


    public android.graphics.Typeface createFromFontInfo(android.content.Context p12, android.os.CancellationSignal p13, android.support.v4.provider.FontsContractCompat$FontInfo[] p14, int p15)
    {
        Throwable v6_2;
        if (p14.length >= 1) {
            try {
                android.os.ParcelFileDescriptor v4 = p12.getContentResolver().openFileDescriptor(this.findBestInfo(p14, p15).getUri(), "r", p13);
                try {
                    java.io.File v2 = this.getFile(v4);
                } catch (Throwable v6_6) {
                    Throwable v7_4 = 0;
                    if (v4 != null) {
                        if (v7_4 == null) {
                            v4.close();
                        } else {
                            v4.close();
                        }
                    }
                    throw v6_6;
                } catch (Throwable v6_5) {
                    try {
                        throw v6_5;
                    } catch (Throwable v7_3) {
                        v7_4 = v6_5;
                        v6_6 = v7_3;
                    }
                }
                if ((v2 != null) && (v2.canRead())) {
                    v6_2 = android.graphics.Typeface.createFromFile(v2);
                    if (v4 != null) {
                        if (0 == 0) {
                            v4.close();
                        } else {
                            try {
                                v4.close();
                            } catch (Throwable v7_1) {
                                0.addSuppressed(v7_1);
                            }
                        }
                    }
                } else {
                    java.io.FileInputStream v3_1 = new java.io.FileInputStream(v4.getFileDescriptor());
                    Throwable v7_2 = 0;
                    try {
                        v6_2 = super.createFromInputStream(p12, v3_1);
                    } catch (Throwable v7_2) {
                        throw v7_2;
                    } catch (Throwable v6_4) {
                        if (v3_1 != null) {
                            if (v7_2 == null) {
                                v3_1.close();
                            } else {
                                v3_1.close();
                            }
                        }
                        throw v6_4;
                    }
                    if (v3_1 != null) {
                        if (0 == 0) {
                            v3_1.close();
                        } else {
                            try {
                                v3_1.close();
                            } catch (Throwable v9_1) {
                                0.addSuppressed(v9_1);
                            }
                        }
                    }
                    if (v4 != null) {
                        if (0 == 0) {
                            v4.close();
                        } else {
                            try {
                                v4.close();
                            } catch (Throwable v7_5) {
                                0.addSuppressed(v7_5);
                            }
                        }
                    }
                }
            } catch (java.io.IOException v1) {
                v6_2 = 0;
            }
        } else {
            v6_2 = 0;
        }
        return v6_2;
    }

Method ae.javax.xml.stream.FactoryFinder.find() calling method java.io.FileInputStream.<init>()


    static Object find(String p13, String p14, ClassLoader p15)
    {
        try {
            Object v10_1;
            String v9 = System.getProperty(p13);
        } catch (Object v10) {
            try {
                java.io.File v2_1 = new java.io.File(new StringBuilder().append(System.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxp.properties").toString());
            } catch (Exception v1_0) {
                if (!ae.javax.xml.stream.FactoryFinder.debug) {
                    java.io.InputStream v4;
                    String v8 = new StringBuilder().append("META-INF/services/").append(p13).toString();
                    try {
                        if (p15 != null) {
                            v4 = p15.getResourceAsStream(v8);
                            if (v4 != null) {
                                ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("found ").append(v8).toString());
                                java.io.BufferedReader v7_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v4, "UTF-8"));
                                String v3_1 = v7_1.readLine();
                                v7_1.close();
                                if ((v3_1 != null) && (!"".equals(v3_1))) {
                                    ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("loaded from services: ").append(v3_1).toString());
                                    v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(v3_1, p15);
                                    return v10_1;
                                }
                            }
                        } else {
                            v4 = ClassLoader.getSystemResourceAsStream(v8);
                        }
                    } catch (Exception v1_1) {
                        if (ae.javax.xml.stream.FactoryFinder.debug) {
                            v1_1.printStackTrace();
                        }
                    }
                    if (p14 != null) {
                        ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("loaded from fallback value: ").append(p14).toString());
                        v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(p14, p15);
                        return v10_1;
                    } else {
                        throw new ae.javax.xml.stream.FactoryConfigurationError(new StringBuilder().append("Provider for ").append(p13).append(" cannot be found").toString(), 0);
                    }
                } else {
                    v1_0.printStackTrace();
                }
            }
            if (!v2_1.exists()) {
            } else {
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(new java.io.FileInputStream(v2_1));
                String v3_0 = v6_1.getProperty(p13);
                ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("found java.home property ").append(v3_0).toString());
                v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(v3_0, p15);
                return v10_1;
            }
        }
        if (v9 == null) {
        } else {
            ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("found system property").append(v9).toString());
            v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(v9, p15);
            return v10_1;
        }
    }

Method aavax.xml.stream.FactoryFinder.find() calling method java.io.FileInputStream.<init>()


    static Object find(String p13, String p14, ClassLoader p15)
    {
        try {
            Object v10_6;
            String v9 = System.getProperty(p13);
        } catch (Object v10) {
            try {
                java.io.File v2_1 = new java.io.File(new StringBuffer().append(System.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxp.properties").toString());
            } catch (Exception v1_0) {
                if (!aavax.xml.stream.FactoryFinder.debug) {
                    java.io.InputStream v4;
                    String v8 = new StringBuffer().append("META-INF/services/").append(p13).toString();
                    try {
                        if (p15 != null) {
                            v4 = p15.getResourceAsStream(v8);
                            if (v4 != null) {
                                aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("found ").append(v8).toString());
                                java.io.BufferedReader v7_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v4, "UTF-8"));
                                String v3_1 = v7_1.readLine();
                                v7_1.close();
                                if ((v3_1 != null) && (!"".equals(v3_1))) {
                                    aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("loaded from services: ").append(v3_1).toString());
                                    v10_6 = aavax.xml.stream.FactoryFinder.newInstance(v3_1, p15);
                                    return v10_6;
                                }
                            }
                        } else {
                            v4 = ClassLoader.getSystemResourceAsStream(v8);
                        }
                    } catch (Exception v1_1) {
                        if (aavax.xml.stream.FactoryFinder.debug) {
                            v1_1.printStackTrace();
                        }
                    }
                    if (p14 != null) {
                        aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("loaded from fallback value: ").append(p14).toString());
                        v10_6 = aavax.xml.stream.FactoryFinder.newInstance(p14, p15);
                        return v10_6;
                    } else {
                        throw new aavax.xml.stream.FactoryConfigurationError(new StringBuffer().append("Provider for ").append(p13).append(" cannot be found").toString(), 0);
                    }
                } else {
                    v1_0.printStackTrace();
                }
            }
            if (!v2_1.exists()) {
            } else {
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(new java.io.FileInputStream(v2_1));
                String v3_0 = v6_1.getProperty(p13);
                if ((v3_0 == null) || (v3_0.length() <= 0)) {
                } else {
                    aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("found java.home property ").append(v3_0).toString());
                    v10_6 = aavax.xml.stream.FactoryFinder.newInstance(v3_0, p15);
                    return v10_6;
                }
            }
        }
        if (v9 == null) {
        } else {
            aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("found system property").append(v9).toString());
            v10_6 = aavax.xml.stream.FactoryFinder.newInstance(v9, p15);
            return v10_6;
        }
    }

Method org.apache.xmlbeans.impl.util.FilerImpl$IncrFileWriter.close() calling method java.io.FileReader.<init>()


    public void close()
    {
        StringBuffer v4;
        super.close();
        if (this._repackager == null) {
            v4 = this.getBuffer();
        } else {
            v4 = this._repackager.repackage(this.getBuffer());
        }
        String v5 = v4.toString();
        java.util.ArrayList v0_1 = new java.util.ArrayList();
        java.io.StringReader v3_1 = new java.io.StringReader(v5);
        java.io.FileReader v1_1 = new java.io.FileReader(this._file);
        try {
            org.apache.xmlbeans.impl.util.Diff.readersAsText(v3_1, "<generated>", v1_1, this._file.getName(), v0_1);
            v3_1.close();
            v1_1.close();
        } catch (Throwable v6_4) {
            v3_1.close();
            v1_1.close();
            throw v6_4;
        }
        if (v0_1.size() > 0) {
            java.io.Writer v2 = org.apache.xmlbeans.impl.util.FilerImpl.access$000(this._file);
            try {
                v2.write(v5);
                v2.close();
            } catch (Throwable v6_6) {
                v2.close();
                throw v6_6;
            }
        }
        return;
    }

Method org.apache.xmlbeans.impl.jam.internal.parser.ParserClassBuilder$MainTool.parse() calling method java.io.FileReader.<init>()


    private void parse(org.apache.xmlbeans.impl.jam.internal.parser.ParserClassBuilder p7, java.io.File p8)
    {
        System.gc();
        if (!p8.isDirectory()) {
            if (p8.getName().endsWith(".java")) {
                this.mCount = (this.mCount + 1);
                try {
                    if (org.apache.xmlbeans.impl.jam.internal.parser.ParserClassBuilder.access$100(new java.io.FileReader(p8), 0) == null) {
                        this.mOut.println("[error, parser result is null]");
                        this.addFailure(p8);
                    }
                } catch (Throwable v0) {
                    v0.printStackTrace(this.mOut);
                    this.addFailure(p8);
                }
            }
        } else {
            java.io.File[] v1 = p8.listFiles();
            int v2 = 0;
            while (v2 < v1.length) {
                this.parse(p7, v1[v2]);
                v2++;
            }
        }
        return;
    }

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


    static java.util.List load(android.content.Context p9, android.content.pm.ApplicationInfo p10, java.io.File p11, boolean p12)
    {
        java.util.List v0;
        android.util.Log.i("MultiDex", new StringBuilder().append("MultiDexExtractor.load(").append(p10.sourceDir).append(", ").append(p12).append(")").toString());
        java.io.File v8_1 = new java.io.File(p10.sourceDir);
        long v4 = android.support.multidex.MultiDexExtractor.getZipCrc(v8_1);
        if ((p12) || (android.support.multidex.MultiDexExtractor.isModified(p9, v8_1, v4))) {
            android.util.Log.i("MultiDex", "Detected that extraction must be performed.");
            v0 = android.support.multidex.MultiDexExtractor.performExtractions(v8_1, p11);
            android.support.multidex.MultiDexExtractor.putStoredApkInfo(p9, android.support.multidex.MultiDexExtractor.getTimeStamp(v8_1), v4, (v0.size() + 1));
        } else {
            try {
                v0 = android.support.multidex.MultiDexExtractor.loadExistingExtractions(p9, v8_1, p11);
            } catch (java.io.IOException v7) {
                android.util.Log.w("MultiDex", "Failed to reload existing extracted secondary dex files, falling back to fresh extraction", v7);
                v0 = android.support.multidex.MultiDexExtractor.performExtractions(v8_1, p11);
                android.support.multidex.MultiDexExtractor.putStoredApkInfo(p9, android.support.multidex.MultiDexExtractor.getTimeStamp(v8_1), v4, (v0.size() + 1));
            }
        }
        android.util.Log.i("MultiDex", new StringBuilder().append("load found ").append(v0.size()).append(" secondary dex files").toString());
        return v0;
    }

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


    public static void install(android.content.Context p11)
    {
        android.util.Log.i("MultiDex", "install");
        if (!android.support.multidex.MultiDex.IS_VM_MULTIDEX_CAPABLE) {
            if (android.os.Build$VERSION.SDK_INT >= 4) {
                try {
                    android.content.pm.ApplicationInfo v1 = android.support.multidex.MultiDex.getApplicationInfo(p11);
                } catch (RuntimeException v3_0) {
                    android.util.Log.e("MultiDex", "Multidex installation failure", v3_0);
                    throw new RuntimeException(new StringBuilder().append("Multi dex installation failed (").append(v3_0.getMessage()).append(").").toString());
                }
                if (v1 != null) {
                    String v0 = v1.sourceDir;
                    if (!android.support.multidex.MultiDex.installedApk.contains(v0)) {
                        android.support.multidex.MultiDex.installedApk.add(v0);
                        if (android.os.Build$VERSION.SDK_INT > 20) {
                            android.util.Log.w("MultiDex", new StringBuilder().append("MultiDex is not guaranteed to work in SDK version ").append(android.os.Build$VERSION.SDK_INT).append(": SDK version higher than ").append(20).append(" should be backed by ").append("runtime with built-in multidex capabilty but it\'s not the ").append("case here: java.vm.version=\"").append(System.getProperty("java.vm.version")).append("\"").toString());
                        }
                        try {
                            ClassLoader v5 = p11.getClassLoader();
                        } catch (RuntimeException v3_1) {
                            android.util.Log.w("MultiDex", "Failure while trying to obtain Context class loader. Must be running in test mode. Skip patching.", v3_1);
                        }
                        if (v5 != null) {
                            try {
                                android.support.multidex.MultiDex.clearOldDexDir(p11);
                            } catch (Throwable v6) {
                                android.util.Log.w("MultiDex", "Something went wrong when trying to clear old MultiDex extraction, continuing without cleaning.", v6);
                            }
                            java.io.File v2_1 = new java.io.File(v1.dataDir, android.support.multidex.MultiDex.SECONDARY_FOLDER_NAME);
                            java.util.List v4_0 = android.support.multidex.MultiDexExtractor.load(p11, v1, v2_1, 0);
                            if (!android.support.multidex.MultiDex.checkValidZipFiles(v4_0)) {
                                android.util.Log.w("MultiDex", "Files were not valid zip files.  Forcing a reload.");
                                java.util.List v4_1 = android.support.multidex.MultiDexExtractor.load(p11, v1, v2_1, 1);
                                if (!android.support.multidex.MultiDex.checkValidZipFiles(v4_1)) {
                                    throw new RuntimeException("Zip files were not valid.");
                                } else {
                                    android.support.multidex.MultiDex.installSecondaryDexes(v5, v2_1, v4_1);
                                }
                            } else {
                                android.support.multidex.MultiDex.installSecondaryDexes(v5, v2_1, v4_0);
                            }
                            android.util.Log.i("MultiDex", "install done");
                        } else {
                            android.util.Log.e("MultiDex", "Context class loader is null. Must be running in test mode. Skip patching.");
                        }
                    } else {
                    }
                }
            } else {
                throw new RuntimeException(new StringBuilder().append("Multi dex installation failed. SDK ").append(android.os.Build$VERSION.SDK_INT).append(" is unsupported. Min SDK version is ").append(4).append(".").toString());
            }
        } else {
            android.util.Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
        }
        return;
    }

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


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

Method ae.javax.xml.stream.FactoryFinder.find() calling method java.io.File.<init>()


    static Object find(String p13, String p14, ClassLoader p15)
    {
        try {
            Object v10_1;
            String v9 = System.getProperty(p13);
        } catch (Object v10) {
            try {
                java.io.File v2_1 = new java.io.File(new StringBuilder().append(System.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxp.properties").toString());
            } catch (Exception v1_0) {
                if (!ae.javax.xml.stream.FactoryFinder.debug) {
                    java.io.InputStream v4;
                    String v8 = new StringBuilder().append("META-INF/services/").append(p13).toString();
                    try {
                        if (p15 != null) {
                            v4 = p15.getResourceAsStream(v8);
                            if (v4 != null) {
                                ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("found ").append(v8).toString());
                                java.io.BufferedReader v7_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v4, "UTF-8"));
                                String v3_1 = v7_1.readLine();
                                v7_1.close();
                                if ((v3_1 != null) && (!"".equals(v3_1))) {
                                    ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("loaded from services: ").append(v3_1).toString());
                                    v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(v3_1, p15);
                                    return v10_1;
                                }
                            }
                        } else {
                            v4 = ClassLoader.getSystemResourceAsStream(v8);
                        }
                    } catch (Exception v1_1) {
                        if (ae.javax.xml.stream.FactoryFinder.debug) {
                            v1_1.printStackTrace();
                        }
                    }
                    if (p14 != null) {
                        ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("loaded from fallback value: ").append(p14).toString());
                        v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(p14, p15);
                        return v10_1;
                    } else {
                        throw new ae.javax.xml.stream.FactoryConfigurationError(new StringBuilder().append("Provider for ").append(p13).append(" cannot be found").toString(), 0);
                    }
                } else {
                    v1_0.printStackTrace();
                }
            }
            if (!v2_1.exists()) {
            } else {
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(new java.io.FileInputStream(v2_1));
                String v3_0 = v6_1.getProperty(p13);
                ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("found java.home property ").append(v3_0).toString());
                v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(v3_0, p15);
                return v10_1;
            }
        }
        if (v9 == null) {
        } else {
            ae.javax.xml.stream.FactoryFinder.debugPrintln(new StringBuilder().append("found system property").append(v9).toString());
            v10_1 = ae.javax.xml.stream.FactoryFinder.newInstance(v9, p15);
            return v10_1;
        }
    }

Method ae.javax.xml.bind.JAXB.toSource() calling method java.io.File.<init>()


    private static javax.xml.transform.Source toSource(Object p11)
    {
        if (p11 != null) {
            if ((p11 instanceof String)) {
                try {
                    p11 = new java.net.URI(((String) p11));
                } catch (java.net.URISyntaxException v1) {
                    p11 = new java.io.File(((String) p11));
                }
            }
            javax.xml.transform.Source v6_1;
            if (!(p11 instanceof java.io.File)) {
                javax.xml.transform.Source v6_0;
                if (!(p11 instanceof java.net.URI)) {
                    v6_0 = p11;
                } else {
                    v6_0 = ((java.net.URI) p11).toURL();
                }
                if (!(v6_0 instanceof java.net.URL)) {
                    if (!(v6_0 instanceof java.io.InputStream)) {
                        if (!(v6_0 instanceof java.io.Reader)) {
                            if (!(v6_0 instanceof javax.xml.transform.Source)) {
                                throw new IllegalArgumentException(new StringBuilder().append("I don\'t understand how to handle ").append(v6_0.getClass()).toString());
                            } else {
                                v6_1 = ((javax.xml.transform.Source) v6_0);
                            }
                        } else {
                            v6_1 = new javax.xml.transform.stream.StreamSource(((java.io.Reader) v6_0));
                        }
                    } else {
                        v6_1 = new javax.xml.transform.stream.StreamSource(((java.io.InputStream) v6_0));
                    }
                } else {
                    v6_1 = new javax.xml.transform.stream.StreamSource(((java.net.URL) v6_0).toExternalForm());
                }
            } else {
                v6_1 = new javax.xml.transform.stream.StreamSource(((java.io.File) p11));
            }
            return v6_1;
        } else {
            throw new IllegalArgumentException("no XML is given");
        }
    }

Method ae.javax.xml.bind.JAXB.toResult() calling method java.io.File.<init>()


    private static javax.xml.transform.Result toResult(Object p12)
    {
        if (p12 != null) {
            if ((p12 instanceof String)) {
                try {
                    p12 = new java.net.URI(((String) p12));
                } catch (java.net.URISyntaxException v2) {
                    p12 = new java.io.File(((String) p12));
                }
            }
            javax.xml.transform.Result v6_1;
            if (!(p12 instanceof java.io.File)) {
                javax.xml.transform.Result v6_0;
                if (!(p12 instanceof java.net.URI)) {
                    v6_0 = p12;
                } else {
                    v6_0 = ((java.net.URI) p12).toURL();
                }
                if (!(v6_0 instanceof java.net.URL)) {
                    if (!(v6_0 instanceof java.io.OutputStream)) {
                        if (!(v6_0 instanceof java.io.Writer)) {
                            if (!(v6_0 instanceof javax.xml.transform.Result)) {
                                throw new IllegalArgumentException(new StringBuilder().append("I don\'t understand how to handle ").append(v6_0.getClass()).toString());
                            } else {
                                v6_1 = ((javax.xml.transform.Result) v6_0);
                            }
                        } else {
                            v6_1 = new javax.xml.transform.stream.StreamResult(((java.io.Writer) v6_0));
                        }
                    } else {
                        v6_1 = new javax.xml.transform.stream.StreamResult(((java.io.OutputStream) v6_0));
                    }
                } else {
                    java.net.URLConnection v1 = ((java.net.URL) v6_0).openConnection();
                    v1.setDoOutput(1);
                    v1.setDoInput(0);
                    v1.connect();
                    v6_1 = new javax.xml.transform.stream.StreamResult(v1.getOutputStream());
                }
            } else {
                v6_1 = new javax.xml.transform.stream.StreamResult(((java.io.File) p12));
            }
            return v6_1;
        } else {
            throw new IllegalArgumentException("no XML is given");
        }
    }

Method ae.com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5.parse() calling method java.io.File.<init>()


    public java.io.File parse(CharSequence p3)
    {
        return new java.io.File(ae.com.sun.xml.bind.WhiteSpaceProcessor.trim(p3).toString());
    }

Method aavax.xml.stream.FactoryFinder.find() calling method java.io.File.<init>()


    static Object find(String p13, String p14, ClassLoader p15)
    {
        try {
            Object v10_6;
            String v9 = System.getProperty(p13);
        } catch (Object v10) {
            try {
                java.io.File v2_1 = new java.io.File(new StringBuffer().append(System.getProperty("java.home")).append(java.io.File.separator).append("lib").append(java.io.File.separator).append("jaxp.properties").toString());
            } catch (Exception v1_0) {
                if (!aavax.xml.stream.FactoryFinder.debug) {
                    java.io.InputStream v4;
                    String v8 = new StringBuffer().append("META-INF/services/").append(p13).toString();
                    try {
                        if (p15 != null) {
                            v4 = p15.getResourceAsStream(v8);
                            if (v4 != null) {
                                aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("found ").append(v8).toString());
                                java.io.BufferedReader v7_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v4, "UTF-8"));
                                String v3_1 = v7_1.readLine();
                                v7_1.close();
                                if ((v3_1 != null) && (!"".equals(v3_1))) {
                                    aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("loaded from services: ").append(v3_1).toString());
                                    v10_6 = aavax.xml.stream.FactoryFinder.newInstance(v3_1, p15);
                                    return v10_6;
                                }
                            }
                        } else {
                            v4 = ClassLoader.getSystemResourceAsStream(v8);
                        }
                    } catch (Exception v1_1) {
                        if (aavax.xml.stream.FactoryFinder.debug) {
                            v1_1.printStackTrace();
                        }
                    }
                    if (p14 != null) {
                        aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("loaded from fallback value: ").append(p14).toString());
                        v10_6 = aavax.xml.stream.FactoryFinder.newInstance(p14, p15);
                        return v10_6;
                    } else {
                        throw new aavax.xml.stream.FactoryConfigurationError(new StringBuffer().append("Provider for ").append(p13).append(" cannot be found").toString(), 0);
                    }
                } else {
                    v1_0.printStackTrace();
                }
            }
            if (!v2_1.exists()) {
            } else {
                java.util.Properties v6_1 = new java.util.Properties();
                v6_1.load(new java.io.FileInputStream(v2_1));
                String v3_0 = v6_1.getProperty(p13);
                if ((v3_0 == null) || (v3_0.length() <= 0)) {
                } else {
                    aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("found java.home property ").append(v3_0).toString());
                    v10_6 = aavax.xml.stream.FactoryFinder.newInstance(v3_0, p15);
                    return v10_6;
                }
            }
        }
        if (v9 == null) {
        } else {
            aavax.xml.stream.FactoryFinder.debugPrintln(new StringBuffer().append("found system property").append(v9).toString());
            v10_6 = aavax.xml.stream.FactoryFinder.newInstance(v9, p15);
            return v10_6;
        }
    }

Method org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>() calling method java.io.RandomAccessFile.<init>()


    public NPOIFSFileSystem(java.io.File p3, boolean p4)
    {
        java.nio.channels.FileChannel v0_0;
        if (!p4) {
            v0_0 = "rw";
        } else {
            v0_0 = "r";
        }
        this(new java.io.RandomAccessFile(p3, v0_0).getChannel(), 1);
        return;
    }

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


    public static okhttp3.internal.cache2.Relay read(java.io.File p21)
    {
        java.io.RandomAccessFile v13_1 = new java.io.RandomAccessFile(p21, "rw");
        okhttp3.internal.cache2.FileOperator v2_1 = new okhttp3.internal.cache2.FileOperator(v13_1.getChannel());
        okio.Buffer v5_1 = new okio.Buffer();
        v2_1.read(0, v5_1, 32);
        if (v5_1.readByteString(((long) okhttp3.internal.cache2.Relay.PREFIX_CLEAN.size())).equals(okhttp3.internal.cache2.Relay.PREFIX_CLEAN)) {
            long v15 = v5_1.readLong();
            long v10 = v5_1.readLong();
            okio.Buffer v9_1 = new okio.Buffer();
            v2_1.read((32 + v15), v9_1, v10);
            return new okhttp3.internal.cache2.Relay(v13_1, 0, v15, v9_1.readByteString(), 0);
        } else {
            throw new java.io.IOException("unreadable cache file");
        }
    }

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


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

Method jxl.write.biff.FileDataOutput.<init>() calling method java.io.RandomAccessFile.<init>()


    public FileDataOutput(java.io.File p4)
    {
        this.temporaryFile = java.io.File.createTempFile("jxl", ".tmp", p4);
        this.temporaryFile.deleteOnExit();
        this.data = new java.io.RandomAccessFile(this.temporaryFile, "rw");
        return;
    }

Method io.fabric.sdk.android.services.common.QueueFile.open() calling method java.io.RandomAccessFile.<init>()


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

Method com.google.android.gms.internal.measurement.zzjr.zzkw() calling method java.io.RandomAccessFile.<init>()


    private final boolean zzkw()
    {
        this.zzab();
        try {
            int v0_10;
            this.zzaqp = new java.io.RandomAccessFile(new java.io.File(this.getContext().getFilesDir(), "google_app_measurement.db"), "rw").getChannel();
            this.zzaqo = this.zzaqp.tryLock();
        } catch (int v0_12) {
            this.zzge().zzim().zzg("Failed to acquire storage lock", v0_12);
            v0_10 = 0;
            return v0_10;
        } catch (int v0_11) {
            this.zzge().zzim().zzg("Failed to access storage lock file", v0_11);
        }
        if (this.zzaqo == null) {
            this.zzge().zzim().log("Storage concurrent data access panic");
        } else {
            this.zzge().zzit().log("Storage concurrent access okay");
            v0_10 = 1;
            return v0_10;
        }
    }

Method com.google.android.gms.common.util.IOUtils.lockAndTruncateFile() calling method java.io.RandomAccessFile.<init>()


    public static void lockAndTruncateFile(java.io.File p6)
    {
        java.io.IOException v1 = 0;
        if (p6.exists()) {
            try {
                int v2_1 = new java.io.RandomAccessFile(p6, "rw");
                try {
                    java.io.IOException v0_0 = v2_1.getChannel();
                    v1 = v0_0.lock();
                    v0_0.truncate(0);
                } catch (java.io.IOException v0_1) {
                    if (v1 != null) {
                        if (v1.isValid()) {
                            try {
                                v1.release();
                            } catch (java.io.IOException v1) {
                            }
                        }
                    }
                    if (v2_1 != 0) {
                        com.google.android.gms.common.util.IOUtils.closeQuietly(v2_1);
                    }
                    throw v0_1;
                }
                if ((v1 != null) && (v1.isValid())) {
                    try {
                        v1.release();
                    } catch (java.io.IOException v0) {
                    }
                }
                com.google.android.gms.common.util.IOUtils.closeQuietly(v2_1);
                return;
            } catch (java.io.IOException v0_1) {
                v2_1 = 0;
            }
        } else {
            throw new java.io.FileNotFoundException();
        }
    }

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


    static long getZipCrc(java.io.File p4)
    {
        java.io.RandomAccessFile v1_1 = new java.io.RandomAccessFile(p4, "r");
        try {
            Throwable v2_1 = android.support.multidex.ZipUtil.computeCrcOfCentralDir(v1_1, android.support.multidex.ZipUtil.findCentralDirectory(v1_1));
            v1_1.close();
            return v2_1;
        } catch (Throwable v2_2) {
            v1_1.close();
            throw v2_2;
        }
    }

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


    public varargs Void doInBackground(Object[] p19)
    {
        java.util.List v4_1 = ((java.util.List) p19[0]);
        String v5_1 = ((String) p19[1]);
        try {
            java.io.FileOutputStream v3 = this.this$0.mContext.openFileOutput(v5_1, 0);
            org.xmlpull.v1.XmlSerializer v12 = android.util.Xml.newSerializer();
            try {
                v12.setOutput(v3, 0);
                v12.startDocument("UTF-8", Boolean.valueOf(1));
                v12.startTag(0, "historical-records");
                int v11 = v4_1.size();
                int v6 = 0;
            } catch (IllegalArgumentException v7) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v7);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 == null) {
                    java.io.IOException v13_3 = 0;
                    return v13_3;
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v13) {
                    }
                }
            } catch (IllegalStateException v9) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v9);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 == null) {
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v13) {
                    }
                }
            } catch (java.io.IOException v8) {
                android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(this.this$0.mHistoryFileName).toString(), v8);
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 == null) {
                } else {
                    try {
                        v3.close();
                    } catch (java.io.IOException v13) {
                    }
                }
            } catch (java.io.IOException v13_2) {
                this.this$0.mCanReadHistoricalData = 1;
                if (v3 != null) {
                    try {
                        v3.close();
                    } catch (int v14) {
                    }
                }
                throw v13_2;
            }
            while (v6 < v11) {
                android.support.v7.widget.ActivityChooserModel$HistoricalRecord v10_1 = ((android.support.v7.widget.ActivityChooserModel$HistoricalRecord) v4_1.remove(0));
                v12.startTag(0, "historical-record");
                v12.attribute(0, "activity", v10_1.activity.flattenToString());
                v12.attribute(0, "time", String.valueOf(v10_1.time));
                v12.attribute(0, "weight", String.valueOf(v10_1.weight));
                v12.endTag(0, "historical-record");
                v6++;
            }
            v12.endTag(0, "historical-records");
            v12.endDocument();
            this.this$0.mCanReadHistoricalData = 1;
            if (v3 == null) {
            } else {
                try {
                    v3.close();
                } catch (java.io.IOException v13) {
                }
            }
        } catch (java.io.FileNotFoundException v2) {
            android.util.Log.e(android.support.v7.widget.ActivityChooserModel.LOG_TAG, new StringBuilder().append("Error writing historical record file: ").append(v5_1).toString(), v2);
            v13_3 = 0;
            return v13_3;
        }
    }

Method de.greenrobot.dao.test.DbTest.createDatabase() calling method android.content.Context.openOrCreateDatabase()


    protected android.database.sqlite.SQLiteDatabase createDatabase()
    {
        android.database.sqlite.SQLiteDatabase v0_1;
        if (!this.inMemory) {
            this.getContext().deleteDatabase("greendao-unittest-db.temp");
            v0_1 = this.getContext().openOrCreateDatabase("greendao-unittest-db.temp", 0, 0);
        } else {
            v0_1 = android.database.sqlite.SQLiteDatabase.create(0);
        }
        return v0_1;
    }

Method org.spongycastle.jce.examples.PKCS12Example.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p30)
    {
        java.security.Security.addProvider(new org.spongycastle.jce.provider.BouncyCastleProvider());
        java.security.spec.RSAPublicKeySpec v26 = new java.security.spec.RSAPublicKeySpec;
        v26(new java.math.BigInteger("b4a7e46170574f16a97082b22be58b6a2a629798419be12872a4bdba626cfae9900f76abfb12139dce5de56564fab2b6543165a040c606887420e33d91ed7ed7", 16), new java.math.BigInteger("11", 16));
        java.security.spec.RSAPrivateCrtKeySpec v3_1 = new java.security.spec.RSAPrivateCrtKeySpec(new java.math.BigInteger("b4a7e46170574f16a97082b22be58b6a2a629798419be12872a4bdba626cfae9900f76abfb12139dce5de56564fab2b6543165a040c606887420e33d91ed7ed7", 16), new java.math.BigInteger("11", 16), new java.math.BigInteger("9f66f6b05410cd503b2709e88115d55daced94d1a34d4e32bf824d0dde6028ae79c5f07b580f5dce240d7111f7ddb130a7945cd7d957d1920994da389f490c89", 16), new java.math.BigInteger("c0a0758cdf14256f78d4708c86becdead1b50ad4ad6c5c703e2168fbf37884cb", 16), new java.math.BigInteger("f01734d7960ea60070f1b06f2bb81bfac48ff192ae18451d5e56c734a5aab8a5", 16), new java.math.BigInteger("b54bb9edff22051d9ee60f9351a48591b6500a319429c069a3e335a1d6171391", 16), new java.math.BigInteger("d3d83daf2a0cecd3367ae6f8ae1aeb82e9ac2f816c6fc483533d8297dd7884cd", 16), new java.math.BigInteger("b8f52fc6f38593dabb661d3f50f8897f8106eee68b1bce78a95b132b4e5b5d19", 16));
        java.security.spec.RSAPublicKeySpec v23 = new java.security.spec.RSAPublicKeySpec;
        v23(new java.math.BigInteger("8de0d113c5e736969c8d2b047a243f8fe18edad64cde9e842d3669230ca486f7cfdde1f8eec54d1905fff04acc85e61093e180cadc6cea407f193d44bb0e9449b8dbb49784cd9e36260c39e06a947299978c6ed8300724e887198cfede20f3fbde658fa2bd078be946a392bd349f2b49c486e20c405588e306706c9017308e69", 16), new java.math.BigInteger("ffff", 16));
        java.security.spec.RSAPrivateCrtKeySpec v4_3 = new java.security.spec.RSAPrivateCrtKeySpec(new java.math.BigInteger("8de0d113c5e736969c8d2b047a243f8fe18edad64cde9e842d3669230ca486f7cfdde1f8eec54d1905fff04acc85e61093e180cadc6cea407f193d44bb0e9449b8dbb49784cd9e36260c39e06a947299978c6ed8300724e887198cfede20f3fbde658fa2bd078be946a392bd349f2b49c486e20c405588e306706c9017308e69", 16), new java.math.BigInteger("ffff", 16), new java.math.BigInteger("7deb1b194a85bcfd29cf871411468adbc987650903e3bacc8338c449ca7b32efd39ffc33bc84412fcd7df18d23ce9d7c25ea910b1ae9985373e0273b4dca7f2e0db3b7314056ac67fd277f8f89cf2fd73c34c6ca69f9ba477143d2b0e2445548aa0b4a8473095182631da46844c356f5e5c7522eb54b5a33f11d730ead9c0cff", 16), new java.math.BigInteger("ef4cede573cea47f83699b814de4302edb60eefe426c52e17bd7870ec7c6b7a24fe55282ebb73775f369157726fcfb988def2b40350bdca9e5b418340288f649", 16), new java.math.BigInteger("97c7737d1b9a0088c3c7b528539247fd2a1593e7e01cef18848755be82f4a45aa093276cb0cbf118cb41117540a78f3fc471ba5d69f0042274defc9161265721", 16), new java.math.BigInteger("6c641094e24d172728b8da3c2777e69adfd0839085be7e38c7c4a2dd00b1ae969f2ec9d23e7e37090fcd449a40af0ed463fe1c612d6810d6b4f58b7bfa31eb5f", 16), new java.math.BigInteger("70b7123e8e69dfa76feb1236d0a686144b00e9232ed52b73847e74ef3af71fb45ccb24261f40d27f98101e230cf27b977a5d5f1f15f6cf48d5cb1da2a3a3b87f", 16), new java.math.BigInteger("e38f5750d97e270996a286df2e653fd26c242106436f5bab0f4c7a9e654ce02665d5a281f2c412456f2d1fa26586ef04a9adac9004ca7f913162cb28e13bf40d", 16));
        java.security.spec.RSAPublicKeySpec v17 = new java.security.spec.RSAPublicKeySpec;
        v17(new java.math.BigInteger("b259d2d6e627a768c94be36164c2d9fc79d97aab9253140e5bf17751197731d6f7540d2509e7b9ffee0a70a6e26d56e92d2edd7f85aba85600b69089f35f6bdbf3c298e05842535d9f064e6b0391cb7d306e0a2d20c4dfb4e7b49a9640bdea26c10ad69c3f05007ce2513cee44cfe01998e62b6c3637d3fc0391079b26ee36d5", 16), new java.math.BigInteger("11", 16));
        java.security.spec.RSAPrivateCrtKeySpec v5_1 = new java.security.spec.RSAPrivateCrtKeySpec(new java.math.BigInteger("b259d2d6e627a768c94be36164c2d9fc79d97aab9253140e5bf17751197731d6f7540d2509e7b9ffee0a70a6e26d56e92d2edd7f85aba85600b69089f35f6bdbf3c298e05842535d9f064e6b0391cb7d306e0a2d20c4dfb4e7b49a9640bdea26c10ad69c3f05007ce2513cee44cfe01998e62b6c3637d3fc0391079b26ee36d5", 16), new java.math.BigInteger("11", 16), new java.math.BigInteger("92e08f83cc9920746989ca5034dcb384a094fb9c5a6288fcc4304424ab8f56388f72652d8fafc65a4b9020896f2cde297080f2a540e7b7ce5af0b3446e1258d1dd7f245cf54124b4c6e17da21b90a0ebd22605e6f45c9f136d7a13eaac1c0f7487de8bd6d924972408ebb58af71e76fd7b012a8d0e165f3ae2e5077a8648e619", 16), new java.math.BigInteger("f75e80839b9b9379f1cf1128f321639757dba514642c206bbbd99f9a4846208b3e93fbbe5e0527cc59b1d4b929d9555853004c7c8b30ee6a213c3d1bb7415d03", 16), new java.math.BigInteger("b892d9ebdbfc37e397256dd8a5d3123534d1f03726284743ddc6be3a709edb696fc40c7d902ed804c6eee730eee3d5b20bf6bd8d87a296813c87d3b3cc9d7947", 16), new java.math.BigInteger("1d1a2d3ca8e52068b3094d501c9a842fec37f54db16e9a67070a8b3f53cc03d4257ad252a1a640eadd603724d7bf3737914b544ae332eedf4f34436cac25ceb5", 16), new java.math.BigInteger("6c929e4e81672fef49d9c825163fec97c4b7ba7acb26c0824638ac22605d7201c94625770984f78a56e6e25904fe7db407099cad9b14588841b94f5ab498dded", 16), new java.math.BigInteger("dae7651ee69ad1d081ec5e7188ae126f6004ff39556bde90e0b870962fa7b926d070686d8244fe5a9aa709a95686a104614834b0ada4b10f53197a5cb4c97339", 16));
        java.security.KeyFactory v20 = java.security.KeyFactory.getInstance("RSA", "SC");
        java.security.PrivateKey v15 = v20.generatePrivate(v5_1);
        java.security.PublicKey v16 = v20.generatePublic(v17);
        java.security.PrivateKey v21 = v20.generatePrivate(v4_3);
        java.security.PublicKey v22 = v20.generatePublic(v23);
        java.security.PrivateKey v24 = v20.generatePrivate(v3_1);
        java.security.PublicKey v25 = v20.generatePublic(v26);
        java.security.KeyStore v0_10 = new java.security.cert.Certificate[3];
        java.security.cert.Certificate[] v18 = v0_10;
        v18[2] = org.spongycastle.jce.examples.PKCS12Example.createMasterCert(v16, v15);
        v18[1] = org.spongycastle.jce.examples.PKCS12Example.createIntermediateCert(v22, v15, ((java.security.cert.X509Certificate) v18[2]));
        v18[0] = org.spongycastle.jce.examples.PKCS12Example.createCert(v25, v21, v22);
        org.spongycastle.jce.interfaces.PKCS12BagAttributeCarrier v14_1 = ((org.spongycastle.jce.interfaces.PKCS12BagAttributeCarrier) v24);
        v14_1.setBagAttribute(org.spongycastle.asn1.pkcs.PKCSObjectIdentifiers.pkcs_9_at_friendlyName, new org.spongycastle.asn1.DERBMPString("Eric\'s Key"));
        v14_1.setBagAttribute(org.spongycastle.asn1.pkcs.PKCSObjectIdentifiers.pkcs_9_at_localKeyId, new org.spongycastle.x509.extension.SubjectKeyIdentifierStructure(v25));
        java.security.KeyStore v27 = java.security.KeyStore.getInstance("PKCS12", "SC");
        v27.load(0, 0);
        v27.setKeyEntry("Eric\'s Key", v24, 0, v18);
        java.io.FileOutputStream v19 = new java.io.FileOutputStream;
        v19("id.p12");
        v27.store(v19, org.spongycastle.jce.examples.PKCS12Example.passwd);
        v19.close();
        return;
    }

Method org.spongycastle.crypto.examples.DESExample.<init>() calling method java.io.FileOutputStream.<init>()


    public DESExample(String p16, String p17, String p18, boolean p19)
    {
        this.encrypt = 1;
        this.cipher = 0;
        this.in = 0;
        this.out = 0;
        this.key = 0;
        this.encrypt = p19;
        try {
            this.in = new java.io.BufferedInputStream(new java.io.FileInputStream(p16));
            try {
                this.out = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p17));
            } catch (java.io.IOException v2) {
                System.err.println(new StringBuilder().append("Output file not created [").append(p17).append("]").toString());
                System.exit(1);
            }
            if (!p19) {
                try {
                    java.io.BufferedOutputStream v5_3 = new java.io.BufferedInputStream(new java.io.FileInputStream(p18));
                    int v8 = v5_3.available();
                    byte[] v4_1 = new byte[v8];
                    v5_3.read(v4_1, 0, v8);
                    this.key = org.spongycastle.util.encoders.Hex.decode(v4_1);
                } catch (java.io.IOException v3) {
                    System.err.println(new StringBuilder().append("Decryption key file not found, or not valid [").append(p18).append("]").toString());
                    System.exit(1);
                }
            } else {
                java.security.SecureRandom v10 = 0;
                try {
                    java.security.SecureRandom v11_1 = new java.security.SecureRandom();
                    try {
                        v11_1.setSeed("www.spongycastle.org".getBytes());
                        v10 = v11_1;
                    } catch (Exception v9) {
                        v10 = v11_1;
                        System.err.println("Hmmm, no SHA1PRNG, you need the Sun implementation");
                        System.exit(1);
                    } catch (java.io.IOException v1) {
                        System.err.println(new StringBuilder().append("Could not decryption create key file [").append(p18).append("]").toString());
                        System.exit(1);
                    }
                    org.spongycastle.crypto.KeyGenerationParameters v7_1 = new org.spongycastle.crypto.KeyGenerationParameters(v10, 192);
                    org.spongycastle.crypto.generators.DESedeKeyGenerator v6_1 = new org.spongycastle.crypto.generators.DESedeKeyGenerator();
                    v6_1.init(v7_1);
                    this.key = v6_1.generateKey();
                    java.io.BufferedOutputStream v5_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(p18));
                    byte[] v4_0 = org.spongycastle.util.encoders.Hex.encode(this.key);
                    v5_1.write(v4_0, 0, v4_0.length);
                    v5_1.flush();
                    v5_1.close();
                } catch (Exception v9) {
                } catch (java.io.IOException v1) {
                }
            }
            return;
        } catch (java.io.IOException v2) {
            System.err.println(new StringBuilder().append("Input file not found [").append(p16).append("]").toString());
            System.exit(1);
        }
    }

Method org.simpleframework.xml.core.Persister.write() calling method java.io.FileOutputStream.<init>()


    public void write(Object p3, java.io.File p4)
    {
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p4);
        try {
            this.write(p3, v0_1);
            v0_1.close();
            return;
        } catch (Throwable v1) {
            v0_1.close();
            throw v1;
        }
    }

Method org.apache.xmlbeans.impl.util.FilerImpl.createBinaryFile() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream createBinaryFile(String p5)
    {
        if (this.verbose) {
            System.err.println(new StringBuffer().append("created binary: ").append(p5).toString());
        }
        java.io.File v0_1 = new java.io.File(this.classdir, p5);
        v0_1.getParentFile().mkdirs();
        return new java.io.FileOutputStream(v0_1);
    }

Method org.apache.xmlbeans.impl.util.FilerImpl.writerForFile() calling method java.io.FileOutputStream.<init>()


    private static final java.io.Writer writerForFile(java.io.File p3)
    {
        java.io.OutputStreamWriter v2_1;
        if (org.apache.xmlbeans.impl.util.FilerImpl.CHARSET != null) {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p3);
            java.nio.charset.CharsetEncoder v0 = org.apache.xmlbeans.impl.util.FilerImpl.CHARSET.newEncoder();
            v0.onUnmappableCharacter(java.nio.charset.CodingErrorAction.REPORT);
            v2_1 = new java.io.OutputStreamWriter(v1_1, v0);
        } else {
            v2_1 = new java.io.FileWriter(p3);
        }
        return v2_1;
    }

Method org.apache.xmlbeans.impl.tool.SchemaResourceManager.writeInputStreamToFile() calling method java.io.FileOutputStream.<init>()


    protected void writeInputStreamToFile(java.io.InputStream p5, String p6)
    {
        java.io.File v2_1 = new java.io.File(this._directory, p6);
        java.io.File v1 = v2_1.getParentFile();
        if (!v1.exists()) {
            v1.mkdirs();
        }
        org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(p5, new java.io.FileOutputStream(v2_1));
        return;
    }

Method org.apache.xmlbeans.impl.store.Cursor._save() calling method java.io.FileOutputStream.<init>()


    public void _save(java.io.File p4, org.apache.xmlbeans.XmlOptions p5)
    {
        if (p4 != null) {
            java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p4);
            try {
                this._save(v0_1, p5);
                v0_1.close();
                return;
            } catch (Throwable v1_1) {
                v0_1.close();
                throw v1_1;
            }
        } else {
            throw new IllegalArgumentException("Null file specified");
        }
    }

Method org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copySchemaSource() calling method java.io.FileOutputStream.<init>()


    private static void copySchemaSource(String p11, org.apache.xmlbeans.impl.schema.StscState p12, boolean p13)
    {
        try {
            if (p12.getSchemasDir() != null) {
                java.io.File v6_1 = new java.io.File(p12.getSchemasDir(), p12.sourceNameForUri(p11));
                if ((p13) || (!v6_1.exists())) {
                    org.apache.xmlbeans.impl.common.IOUtil.createDir(new java.io.File(v6_1.getParent()), 0);
                    java.io.InputStream v2 = new java.net.URL(p11).openStream();
                    if (v2 != null) {
                        org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v2, new java.io.FileOutputStream(v6_1));
                    }
                }
            }
        } catch (java.io.IOException v0) {
            System.err.println(new StringBuffer().append("IO Error ").append(v0).toString());
        }
        return;
    }

Method org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copySchemaSource() calling method java.io.FileOutputStream.<init>()


    private static java.io.Reader copySchemaSource(String p10, java.io.Reader p11, org.apache.xmlbeans.impl.schema.StscState p12)
    {
        if (p12.getSchemasDir() != null) {
            java.io.File v5_1 = new java.io.File(p12.getSchemasDir(), p12.sourceNameForUri(p10));
            if (!v5_1.exists()) {
                try {
                    org.apache.xmlbeans.impl.common.IOUtil.createDir(new java.io.File(v5_1.getParent()), 0);
                    java.io.CharArrayReader v0 = org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copy(p11);
                    org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v0, new java.io.OutputStreamWriter(new java.io.FileOutputStream(v5_1), new org.apache.xmlbeans.impl.common.XmlEncodingSniffer(v0, 0).getXmlEncoding()));
                    v0.reset();
                    p11 = v0;
                } catch (java.io.IOException v1) {
                    System.err.println(new StringBuffer().append("IO Error ").append(v1).toString());
                }
            }
        }
        return p11;
    }

Method org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copySchemaSource() calling method java.io.FileOutputStream.<init>()


    private static java.io.InputStream copySchemaSource(String p9, java.io.InputStream p10, org.apache.xmlbeans.impl.schema.StscState p11)
    {
        if (p11.getSchemasDir() != null) {
            java.io.File v5_1 = new java.io.File(p11.getSchemasDir(), p11.sourceNameForUri(p9));
            if (!v5_1.exists()) {
                try {
                    org.apache.xmlbeans.impl.common.IOUtil.createDir(new java.io.File(v5_1.getParent()), 0);
                    java.io.ByteArrayInputStream v0 = org.apache.xmlbeans.impl.schema.StscImporter$DownloadTable.copy(p10);
                    org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v0, new java.io.FileOutputStream(v5_1));
                    v0.reset();
                    p10 = v0;
                } catch (java.io.IOException v1) {
                    System.err.println(new StringBuffer().append("IO Error ").append(v1).toString());
                }
            }
        }
        return p10;
    }

Method org.apache.xmlbeans.impl.common.XBeanDebug.log() calling method java.io.FileOutputStream.<init>()


    private static declared_synchronized String log(String p6, Throwable p7)
    {
        try {
            if (org.apache.xmlbeans.impl.common.XBeanDebug._err == null) {
                try {
                    java.io.File v0 = java.io.File.createTempFile("xmlbeandebug", ".log");
                    org.apache.xmlbeans.impl.common.XBeanDebug._err = new java.io.PrintStream(new java.io.FileOutputStream(v0));
                    System.err.println(new StringBuffer().append("Diagnostic XML Bean debug log file created: ").append(v0).toString());
                } catch (java.io.IOException v1) {
                    org.apache.xmlbeans.impl.common.XBeanDebug._err = System.err;
                }
            }
        } catch (java.io.PrintStream v2_7) {
            throw v2_7;
        }
        org.apache.xmlbeans.impl.common.XBeanDebug._err.println(p6);
        if (p7 != null) {
            p7.printStackTrace(org.apache.xmlbeans.impl.common.XBeanDebug._err);
        }
        return p6;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.unjar() calling method java.io.FileOutputStream.<init>()


    public void unjar(java.io.InputStream p13, java.io.File p14)
    {
        java.util.jar.JarInputStream v7_1 = new java.util.jar.JarInputStream(p13);
        while(true) {
            java.util.jar.JarEntry v5 = v7_1.getNextJarEntry();
            if (v5 == null) {
                break;
            }
            if (!v5.isDirectory()) {
                byte[] v1 = new byte[2156];
                java.io.File v3_1 = new java.io.File(p14, v5.getName());
                if (this.mVerbose) {
                    System.out.println(new StringBuffer().append("unjarring ").append(v3_1).append(" from ").append(v5.getName()).toString());
                }
                java.io.BufferedOutputStream v2_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v3_1), 2156);
                while(true) {
                    int v0 = v7_1.read(v1, 0, 2156);
                    if (v0 == -1) {
                        break;
                    }
                    v2_1.write(v1, 0, v0);
                }
                v2_1.flush();
                v2_1.close();
                if (v5.getTime() != -1) {
                    v3_1.setLastModified(v5.getTime());
                }
            } else {
                java.io.File v4_1 = new java.io.File(p14, v5.getName());
                v4_1.mkdir();
                if (v5.getTime() == -1) {
                } else {
                    v4_1.setLastModified(v5.getTime());
                }
            }
        }
        v7_1.close();
        return;
    }

Method org.apache.xmlbeans.impl.common.JarHelper.jarDir() calling method java.io.FileOutputStream.<init>()


    public void jarDir(java.io.File p5, java.io.File p6)
    {
        if ((p5 != null) && (p6 != null)) {
            this.mDestJarName = p6.getCanonicalPath();
            java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(p6);
            java.util.jar.JarOutputStream v2_1 = new java.util.jar.JarOutputStream(v0_1);
            try {
                this.jarDir(p5, v2_1, 0);
                v2_1.close();
                v0_1.close();
                return;
            } catch (Throwable v3_0) {
                v2_1.close();
                v0_1.close();
                throw v3_0;
            } catch (java.io.IOException v1) {
                throw v1;
            }
        } else {
            throw new IllegalArgumentException();
        }
    }

Method org.apache.xmlbeans.impl.common.IOUtil.copyCompletely() calling method java.io.FileOutputStream.<init>()


    public static void copyCompletely(java.net.URI p9, java.net.URI p10)
    {
        java.io.InputStream v3 = 0;
        try {
            java.io.File v2_1 = new java.io.File(p9);
        } catch (java.io.FileOutputStream v6) {
            java.io.File v5_1 = new java.io.File(p10);
            v5_1.getParentFile().mkdirs();
            if (v3 == null) {
                v3 = p9.toURL().openStream();
            }
            org.apache.xmlbeans.impl.common.IOUtil.copyCompletely(v3, new java.io.FileOutputStream(v5_1));
            return;
        } catch (IllegalArgumentException v1) {
            throw new java.io.IOException(new StringBuffer().append("Cannot copy to ").append(p10).toString());
        }
        if (!v2_1.exists()) {
        } else {
            v3 = new java.io.FileInputStream(v2_1);
        }
    }

Method org.apache.xml.security.utils.JavaUtils.writeBytesToFilename() calling method java.io.FileOutputStream.<init>()


    public static void writeBytesToFilename(String p2, byte[] p3)
    {
        try {
            if ((p2 == null) || (p3 == null)) {
                org.apache.xml.security.utils.JavaUtils.log.debug("writeBytesToFilename got null byte[] pointed");
            } else {
                java.io.FileOutputStream v1_2 = new java.io.FileOutputStream(new java.io.File(p2));
                v1_2.write(p3);
                v1_2.close();
            }
        } catch (Exception v0) {
        }
        return;
    }

Method org.apache.poi.xssf.streaming.SXSSFWorkbook.write() calling method java.io.FileOutputStream.<init>()


    public void write(java.io.OutputStream p7)
    {
        java.util.Iterator v0 = this._xFromSxHash.values().iterator();
        while (v0.hasNext()) {
            ((org.apache.poi.xssf.streaming.SXSSFSheet) v0.next()).flushRows();
        }
        java.io.File v3 = java.io.File.createTempFile("poi-sxssf-template", ".xlsx");
        try {
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(v3);
            try {
                this._wb.write(v1_1);
            } catch (Throwable v4_2) {
                v1_1.close();
                throw v4_2;
            }
            v1_1.close();
            this.injectData(v3, p7);
            v3.delete();
            return;
        } catch (Throwable v4_4) {
            v3.delete();
            throw v4_4;
        }
    }

Method org.apache.poi.xssf.streaming.GZIPSheetDataWriter.createWriter() calling method java.io.FileOutputStream.<init>()


    public java.io.Writer createWriter(java.io.File p4)
    {
        return new java.io.OutputStreamWriter(new java.util.zip.GZIPOutputStream(new java.io.FileOutputStream(p4)));
    }

Method org.apache.poi.xssf.dev.XSSFSave.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p9)
    {
        int v0 = 0;
        while (v0 < p9.length) {
            StringBuilder v6_5;
            org.apache.poi.openxml4j.opc.OPCPackage v3 = org.apache.poi.openxml4j.opc.OPCPackage.open(p9[v0]);
            org.apache.poi.xssf.usermodel.XSSFWorkbook v5_1 = new org.apache.poi.xssf.usermodel.XSSFWorkbook(v3);
            StringBuilder v7_4 = new StringBuilder().append(p9[v0].substring(0, p9[v0].lastIndexOf(46))).append("-save.xls");
            if (!v5_1.isMacroEnabled()) {
                v6_5 = "x";
            } else {
                v6_5 = "m";
            }
            java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(v7_4.append(v6_5).toString());
            v5_1.write(v1_1);
            v1_1.close();
            v3.close();
            v0++;
        }
        return;
    }

Method org.apache.poi.xssf.dev.XSSFDump.dump() calling method java.io.FileOutputStream.<init>()


    public static void dump(java.util.zip.ZipFile p17)
    {
        String v13 = p17.getName();
        java.io.File v10_1 = new java.io.File(v13.substring(0, v13.lastIndexOf(46)));
        v10_1.mkdir();
        java.util.Enumeration v3 = p17.entries();
        while (v3.hasMoreElements()) {
            java.util.zip.ZipEntry v4_1 = ((java.util.zip.ZipEntry) v3.nextElement());
            String v7 = v4_1.getName();
            int v6 = v7.lastIndexOf(47);
            if (v6 != -1) {
                new java.io.File(v10_1, v7.substring(0, v6)).mkdirs();
            }
            java.io.FileOutputStream v9_1 = new java.io.FileOutputStream(new java.io.File(v10_1, v4_1.getName()));
            if ((!v4_1.getName().endsWith(".xml")) && ((!v4_1.getName().endsWith(".vml")) && (!v4_1.getName().endsWith(".rels")))) {
                org.apache.poi.xssf.dev.XSSFDump.dump(p17.getInputStream(v4_1), v9_1);
            } else {
                try {
                    org.apache.xmlbeans.XmlObject v12 = org.apache.xmlbeans.XmlObject$Factory.parse(p17.getInputStream(v4_1));
                    org.apache.xmlbeans.XmlOptions v8_1 = new org.apache.xmlbeans.XmlOptions();
                    v8_1.setSavePrettyPrint();
                    v12.save(v9_1, v8_1);
                } catch (Exception v2) {
                    System.err.println(new StringBuilder().append("Failed to parse ").append(v4_1.getName()).append(", dumping raw content").toString());
                    org.apache.poi.xssf.dev.XSSFDump.dump(p17.getInputStream(v4_1), v9_1);
                }
            }
            v9_1.close();
        }
        return;
    }

Method org.apache.poi.openxml4j.opc.internal.FileHelper.copyFile() calling method java.io.FileOutputStream.<init>()


    public static void copyFile(java.io.File p7, java.io.File p8)
    {
        java.nio.channels.FileChannel v1 = new java.io.FileInputStream(p7).getChannel();
        java.nio.channels.FileChannel v6 = new java.io.FileOutputStream(p8).getChannel();
        v1.transferTo(0, v1.size(), v6);
        v1.close();
        v6.close();
        return;
    }

Method org.apache.poi.openxml4j.opc.OPCPackage.save() calling method java.io.FileOutputStream.<init>()


    public void save(java.io.File p5)
    {
        if (p5 != null) {
            this.throwExceptionIfReadOnly();
            if ((!p5.exists()) || (!p5.getAbsolutePath().equals(this.originalPackagePath))) {
                try {
                    java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p5);
                    this.save(v1_1);
                    v1_1.close();
                    return;
                } catch (java.io.FileNotFoundException v0) {
                    throw new java.io.IOException(v0.getLocalizedMessage());
                }
            } else {
                throw new org.apache.poi.openxml4j.exceptions.InvalidOperationException("You can\'t call save(File) to save to the currently open file. To save to the current file, please just call close()");
            }
        } else {
            throw new IllegalArgumentException("targetFile");
        }
    }

Method org.apache.poi.hssf.dev.ReSave.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p14)
    {
        int v4 = 0;
        int v6 = p14.length;
        int v3 = 0;
        while (v3 < v6) {
            String v0 = p14[v3];
            if (!v0.equals("-dg")) {
                System.out.print(new StringBuilder().append("reading ").append(v0).append("...").toString());
                java.io.FileInputStream v5_1 = new java.io.FileInputStream(v0);
                org.apache.poi.hssf.usermodel.HSSFWorkbook v10_1 = new org.apache.poi.hssf.usermodel.HSSFWorkbook(v5_1);
                v5_1.close();
                System.out.println("done");
                int v2 = 0;
                while (v2 < v10_1.getNumberOfSheets()) {
                    org.apache.poi.hssf.usermodel.HSSFSheet v9 = v10_1.getSheetAt(v2);
                    if (v4 != 0) {
                        v9.getDrawingPatriarch();
                    }
                    v2++;
                }
                String v8 = v0.replace(".xls", "-saved.xls");
                System.out.print(new StringBuilder().append("saving to ").append(v8).append("...").toString());
                java.io.FileOutputStream v7_1 = new java.io.FileOutputStream(v8);
                v10_1.write(v7_1);
                v7_1.close();
                System.out.println("done");
            } else {
                v4 = 1;
            }
            v3++;
        }
        return;
    }

Method org.apache.poi.hssf.dev.BiffViewer.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p14)
    {
        try {
            org.apache.poi.hssf.dev.BiffViewer$CommandArgs v6 = org.apache.poi.hssf.dev.BiffViewer$CommandArgs.parse(p14);
            try {
                java.io.PrintStream v0_1;
                if (!v6.shouldOutputToFile()) {
                    v0_1 = System.out;
                } else {
                    v0_1 = new java.io.PrintStream(new java.io.FileOutputStream(new StringBuilder().append(v6.getFile().getAbsolutePath()).append(".out").toString()));
                }
            } catch (Exception v8_1) {
                v8_1.printStackTrace();
                return;
            }
            java.io.InputStream v1 = org.apache.poi.hssf.dev.BiffViewer.getPOIFSInputStream(v6.getFile());
            if (!v6.shouldOutputRawHexOnly()) {
                boolean v2 = v6.shouldDumpRecordInterpretations();
                org.apache.poi.hssf.dev.BiffViewer.runBiffViewer(v0_1, v1, v2, v6.shouldDumpBiffHex(), v2, v6.suppressHeader());
            } else {
                byte[] v7 = new byte[v1.available()];
                v1.read(v7);
                org.apache.poi.util.HexDump.dump(v7, 0, System.out, 0);
            }
            v0_1.close();
            return;
        } catch (Exception v8_0) {
            v8_0.printStackTrace();
            return;
        }
    }

Method org.apache.poi.hssf.dev.BiffDrawingToXml.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p6)
    {
        if (p6.length != 0) {
            String v1 = org.apache.poi.hssf.dev.BiffDrawingToXml.getInputFileName(p6);
            java.io.FileInputStream v0_1 = new java.io.FileInputStream(v1);
            java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(org.apache.poi.hssf.dev.BiffDrawingToXml.getOutputFileName(v1));
            org.apache.poi.hssf.dev.BiffDrawingToXml.writeToFile(v3_1, v0_1, org.apache.poi.hssf.dev.BiffDrawingToXml.isExcludeWorkbookRecords(p6), p6);
            v0_1.close();
            v3_1.close();
        } else {
            System.out.println("Usage: BiffDrawingToXml [options] inputWorkbook");
            System.out.println("Options:");
            System.out.println("  -exclude-workbook            exclude workbook-level records");
            System.out.println("  -sheet-indexes   <indexes>   output sheets with specified indexes");
            System.out.println("  -sheet-namek  <names>        output sheets with specified name");
        }
        return;
    }

Method org.apache.commons.io.output.LockableFileWriter.initWriter() calling method java.io.FileOutputStream.<init>()


    private java.io.Writer initWriter(java.io.File p8, String p9, boolean p10)
    {
        java.io.OutputStreamWriter v4;
        boolean v1 = p8.exists();
        java.io.FileOutputStream v2 = 0;
        v4 = 0;
        try {
            if (p9 != null) {
                java.io.FileOutputStream v3_1 = new java.io.FileOutputStream(p8.getAbsolutePath(), p10);
                try {
                    v4 = new java.io.OutputStreamWriter(v3_1, p9);
                    v2 = v3_1;
                } catch (RuntimeException v0_1) {
                    v2 = v3_1;
                } catch (RuntimeException v0_0) {
                    v2 = v3_1;
                    org.apache.commons.io.IOUtils.closeQuietly(v4);
                    org.apache.commons.io.IOUtils.closeQuietly(v2);
                    this.lockFile.delete();
                    if (!v1) {
                        p8.delete();
                    }
                    throw v0_0;
                }
                return v4;
            } else {
                v4 = new java.io.FileWriter(p8.getAbsolutePath(), p10);
                return v4;
            }
        } catch (RuntimeException v0_1) {
        } catch (RuntimeException v0_0) {
        }
        org.apache.commons.io.IOUtils.closeQuietly(v4);
        org.apache.commons.io.IOUtils.closeQuietly(v2);
        this.lockFile.delete();
        if (!v1) {
            p8.delete();
        }
        throw v0_1;
    }

Method org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached() calling method java.io.FileOutputStream.<init>()


    protected void thresholdReached()
    {
        java.io.FileOutputStream v0_1 = new java.io.FileOutputStream(this.outputFile);
        this.memoryOutputStream.writeTo(v0_1);
        this.currentOutputStream = v0_1;
        this.memoryOutputStream = 0;
        return;
    }

Method org.apache.commons.io.FileUtils.openOutputStream() calling method java.io.FileOutputStream.<init>()


    public static java.io.FileOutputStream openOutputStream(java.io.File p4)
    {
        if (!p4.exists()) {
            java.io.File v0 = p4.getParentFile();
            if ((v0 != null) && ((!v0.exists()) && (!v0.mkdirs()))) {
                throw new java.io.IOException(new StringBuffer().append("File \'").append(p4).append("\' could not be created").toString());
            }
        } else {
            if (!p4.isDirectory()) {
                if (!p4.canWrite()) {
                    throw new java.io.IOException(new StringBuffer().append("File \'").append(p4).append("\' cannot be written to").toString());
                }
            } else {
                throw new java.io.IOException(new StringBuffer().append("File \'").append(p4).append("\' exists but is a directory").toString());
            }
        }
        return new java.io.FileOutputStream(p4);
    }

Method org.apache.commons.io.FileUtils.doCopyFile() calling method java.io.FileOutputStream.<init>()


    private static void doCopyFile(java.io.File p6, java.io.File p7, boolean p8)
    {
        if ((!p7.exists()) || (!p7.isDirectory())) {
            java.io.FileInputStream v0_1 = new java.io.FileInputStream(p6);
            try {
                java.io.FileOutputStream v1_1 = new java.io.FileOutputStream(p7);
                try {
                    org.apache.commons.io.IOUtils.copy(v0_1, v1_1);
                } catch (long v2_1) {
                    org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                    throw v2_1;
                }
                org.apache.commons.io.IOUtils.closeQuietly(v1_1);
                org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                if (p6.length() == p7.length()) {
                    if (p8) {
                        p7.setLastModified(p6.lastModified());
                    }
                    return;
                } else {
                    throw new java.io.IOException(new StringBuffer().append("Failed to copy full contents from \'").append(p6).append("\' to \'").append(p7).append("\'").toString());
                }
            } catch (long v2_4) {
                org.apache.commons.io.IOUtils.closeQuietly(v0_1);
                throw v2_4;
            }
        } else {
            throw new java.io.IOException(new StringBuffer().append("Destination \'").append(p7).append("\' exists but is a directory").toString());
        }
    }

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


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

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


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

Method jxl.write.biff.WritableWorkbookImpl.setOutputFile() calling method java.io.FileOutputStream.<init>()


    public void setOutputFile(java.io.File p3)
    {
        this.outputFile.setOutputFile(new java.io.FileOutputStream(p3));
        return;
    }

Method jxl.demo.Demo.main() calling method java.io.FileOutputStream.<init>()


    public static void main(String[] p29)
    {
        if (p29.length == 0) {
            jxl.demo.Demo.displayHelp();
            System.exit(1);
        }
        if ((p29[0].equals("-help")) || (p29[0].equals("-h"))) {
            jxl.demo.Demo.displayHelp();
            System.exit(1);
        }
        if (p29[0].equals("-version")) {
            System.out.println(new StringBuilder().append("v").append(jxl.Workbook.getVersion()).toString());
            System.exit(0);
        }
        if (p29[0].equals("-logtest")) {
            jxl.demo.Demo.logger.debug("A sample \"debug\" message");
            jxl.demo.Demo.logger.info("A sample \"info\" message");
            jxl.demo.Demo.logger.warn("A sample \"warning\" message");
            jxl.demo.Demo.logger.error("A sample \"error\" message");
            jxl.demo.Demo.logger.fatal("A sample \"fatal\" message");
            System.exit(0);
        }
        String v10;
        int v25 = 0;
        int v21 = 0;
        int v13 = 0;
        int v4 = 0;
        int v16 = 0;
        int v20 = 0;
        int v9 = 0;
        int v6 = 0;
        int v7 = 0;
        String v18 = 0;
        String v19 = 0;
        if (!p29[0].equals("-write")) {
            if (!p29[0].equals("-formulas")) {
                if (!p29[0].equals("-features")) {
                    if (!p29[0].equals("-escher")) {
                        if (!p29[0].equals("-escherdg")) {
                            if ((!p29[0].equals("-biffdump")) && (!p29[0].equals("-bd"))) {
                                if (!p29[0].equals("-wa")) {
                                    if (!p29[0].equals("-ps")) {
                                        if ((!p29[0].equals("-readwrite")) && (!p29[0].equals("-rw"))) {
                                            v10 = p29[(p29.length - 1)];
                                        } else {
                                            v21 = 1;
                                            v10 = p29[1];
                                            v18 = p29[2];
                                        }
                                    } else {
                                        v20 = 1;
                                        v10 = p29[1];
                                        if (p29.length > 2) {
                                            v19 = p29[2];
                                        }
                                        if (p29.length == 4) {
                                            v18 = p29[3];
                                        }
                                    }
                                } else {
                                    v16 = 1;
                                    v10 = p29[1];
                                }
                            } else {
                                v4 = 1;
                                v10 = p29[1];
                            }
                        } else {
                            v7 = 1;
                            v10 = p29[1];
                        }
                    } else {
                        v6 = 1;
                        v10 = p29[1];
                    }
                } else {
                    v9 = 1;
                    v10 = p29[1];
                }
            } else {
                v13 = 1;
                v10 = p29[1];
            }
        } else {
            v25 = 1;
            v10 = p29[1];
        }
        String v5 = "UTF8";
        int v11 = 13;
        int v12 = 0;
        int v14 = 0;
        if ((v25 == 0) && ((v21 == 0) && ((v13 == 0) && ((v4 == 0) && ((v16 == 0) && ((v20 == 0) && ((v9 == 0) && ((v6 == 0) && (v7 == 0))))))))) {
            int v15 = 0;
            while (v15 < (p29.length - 1)) {
                if (!p29[v15].equals("-unicode")) {
                    if (!p29[v15].equals("-xml")) {
                        if (!p29[v15].equals("-csv")) {
                            if (!p29[v15].equals("-format")) {
                                if (!p29[v15].equals("-hide")) {
                                    System.err.println("Command format:  CSV [-unicode] [-xml|-csv] excelfile");
                                    System.exit(1);
                                } else {
                                    v14 = 1;
                                }
                            } else {
                                v12 = 1;
                            }
                        } else {
                            v11 = 13;
                        }
                    } else {
                        v11 = 14;
                    }
                } else {
                    v5 = "UnicodeBig";
                }
                v15++;
            }
        }
        try {
            if (v25 == 0) {
                if (v21 == 0) {
                    if (v13 == 0) {
                        if (v9 == 0) {
                            if (v6 == 0) {
                                if (v7 == 0) {
                                    if (v4 == 0) {
                                        if (v16 == 0) {
                                            if (v20 == 0) {
                                                int v26_47 = new java.io.File;
                                                v26_47(v10);
                                                jxl.Workbook v24_0 = jxl.Workbook.getWorkbook(v26_47);
                                                if (v11 != 13) {
                                                    if (v11 == 14) {
                                                        new jxl.demo.XML(v24_0, System.out, v5, v12);
                                                    }
                                                } else {
                                                    new jxl.demo.CSV(v24_0, System.out, v5, v14);
                                                }
                                                v24_0.close();
                                            } else {
                                                java.io.FileOutputStream v17_0 = System.out;
                                                if (v18 != null) {
                                                    v17_0 = new java.io.FileOutputStream(v18);
                                                }
                                                String v27_13 = new java.io.File;
                                                v27_13(v10);
                                                new jxl.demo.PropertySetsReader(v27_13, v19, v17_0);
                                            }
                                        } else {
                                            String v27_14 = new java.io.File;
                                            v27_14(v10);
                                            new jxl.demo.WriteAccess(v27_14);
                                        }
                                    } else {
                                        String v27_15 = new java.io.File;
                                        v27_15(v10);
                                        new jxl.demo.BiffDump(v27_15, System.out);
                                    }
                                } else {
                                    int v26_57 = new java.io.File;
                                    v26_57(v10);
                                    jxl.Workbook v24_1 = jxl.Workbook.getWorkbook(v26_57);
                                    new jxl.demo.EscherDrawingGroup(v24_1, System.out, v5);
                                    v24_1.close();
                                }
                            } else {
                                int v26_60 = new java.io.File;
                                v26_60(v10);
                                jxl.Workbook v24_2 = jxl.Workbook.getWorkbook(v26_60);
                                new jxl.demo.Escher(v24_2, System.out, v5);
                                v24_2.close();
                            }
                        } else {
                            int v26_62 = new java.io.File;
                            v26_62(v10);
                            jxl.Workbook v24_3 = jxl.Workbook.getWorkbook(v26_62);
                            new jxl.demo.Features(v24_3, System.out, v5);
                            v24_3.close();
                        }
                    } else {
                        int v26_64 = new java.io.File;
                        v26_64(v10);
                        jxl.Workbook v24_4 = jxl.Workbook.getWorkbook(v26_64);
                        new jxl.demo.Formulas(v24_4, System.out, v5);
                        v24_4.close();
                    }
                } else {
                    jxl.demo.ReadWrite v22 = new jxl.demo.ReadWrite;
                    v22(v10, v18);
                    v22.readWrite();
                }
            } else {
                jxl.Workbook v24_5 = new jxl.demo.Write;
                v24_5(v10);
                v24_5.write();
            }
        } catch (Throwable v23) {
            System.out.println(v23.toString());
            v23.printStackTrace();
        }
        return;
    }

Method jxl.Workbook.createWorkbook() calling method java.io.FileOutputStream.<init>()


    public static jxl.write.WritableWorkbook createWorkbook(java.io.File p3, jxl.WorkbookSettings p4)
    {
        return new jxl.write.biff.WritableWorkbookImpl(new java.io.FileOutputStream(p3), 1, p4);
    }

Method jxl.Workbook.createWorkbook() calling method java.io.FileOutputStream.<init>()


    public static jxl.write.WritableWorkbook createWorkbook(java.io.File p3, jxl.Workbook p4, jxl.WorkbookSettings p5)
    {
        return new jxl.write.biff.WritableWorkbookImpl(new java.io.FileOutputStream(p3), p4, 1, p5);
    }

Method javax.activation.FileDataSource.getOutputStream() calling method java.io.FileOutputStream.<init>()


    public java.io.OutputStream getOutputStream()
    {
        return new java.io.FileOutputStream(this._file);
    }

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


    public io.fabric.sdk.android.services.network.HttpRequest receive(java.io.File p5)
    {
        try {
            return ((io.fabric.sdk.android.services.network.HttpRequest) new io.fabric.sdk.android.services.network.HttpRequest$3(this, new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5), this.bufferSize), this.ignoreCloseExceptions, new java.io.BufferedOutputStream(new java.io.FileOutputStream(p5), this.bufferSize)).call());
        } catch (java.io.FileNotFoundException v0) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
        }
    }

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


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

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


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

Method com.sun.xml.txw2.output.StreamSerializer.<init>() calling method java.io.FileOutputStream.<init>()


    public StreamSerializer(javax.xml.transform.stream.StreamResult p10)
    {
        java.io.OutputStream[] v5 = new java.io.OutputStream[1];
        if (p10.getWriter() == null) {
            if (p10.getOutputStream() == null) {
                if (p10.getSystemId() == null) {
                    throw new IllegalArgumentException();
                } else {
                    try {
                        java.io.FileOutputStream v8_1 = new java.io.FileOutputStream(this.convertURL(p10.getSystemId()));
                        v5[0] = v8_1;
                        this.writer = com.sun.xml.txw2.output.StreamSerializer.createWriter(v8_1);
                    } catch (java.io.IOException v6) {
                        throw new com.sun.xml.txw2.TxwException(v6);
                    }
                }
            } else {
                this.writer = com.sun.xml.txw2.output.StreamSerializer.createWriter(p10.getOutputStream());
            }
        } else {
            this.writer = com.sun.xml.txw2.output.StreamSerializer.createWriter(p10.getWriter());
        }
        this.serializer = new com.sun.xml.txw2.output.StreamSerializer$1(this, this.writer, this.writer, 0, v5);
        return;
    }

Method com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.setOutput() calling method java.io.FileOutputStream.<init>()


    public void setOutput(javax.xml.transform.stream.StreamResult p3, String p4)
    {
        if (p3.getOutputStream() == null) {
            if (p3.getWriter() == null) {
                if (p3.getSystemId() != null) {
                    this.setOutputUsingStream(new java.io.FileOutputStream(p3.getSystemId()), p4);
                }
            } else {
                this.setOutputUsingWriter(p3.getWriter());
            }
        } else {
            this.setOutputUsingStream(p3.getOutputStream(), p4);
        }
        return;
    }

Method com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl.writeToURI() calling method java.io.FileOutputStream.<init>()


    public boolean writeToURI(org.w3c.dom.Node p23, String p24)
    {
        int v19_27;
        if (p23 != null) {
            org.w3c.dom.Document v7;
            com.sun.org.apache.xml.internal.serialize.XML11Serializer v15 = 0;
            String v18 = 0;
            String v4 = 0;
            if (p23.getNodeType() != 9) {
                v7 = p23.getOwnerDocument();
            } else {
                v7 = ((org.w3c.dom.Document) p23);
            }
            try {
                short v0_25 = new Class[0];
                reflect.Method v9 = v7.getClass().getMethod("getXmlVersion", v0_25);
            } catch (int v19) {
            }
            if (v9 == null) {
                if ((v18 == null) || (!v18.equals("1.1"))) {
                    v15 = this.serializer;
                } else {
                    if (this.xml11Serializer == null) {
                        this.xml11Serializer = new com.sun.org.apache.xml.internal.serialize.XML11Serializer();
                        this.initSerializer(this.xml11Serializer);
                    }
                    this.copySettings(this.serializer, this.xml11Serializer);
                    v15 = this.xml11Serializer;
                }
                try {
                    short v0_57 = new Class[0];
                    reflect.Method v8_0 = v7.getClass().getMethod("getInputEncoding", v0_57);
                } catch (int v19) {
                    if (v4 == null) {
                        try {
                            short v0_63 = new Class[0];
                            reflect.Method v8_1 = v7.getClass().getMethod("getXmlEncoding", v0_63);
                        } catch (int v19) {
                            if (v4 == null) {
                                v4 = "UTF-8";
                            }
                        }
                        if (v8_1 == null) {
                        } else {
                            v4 = ((String) v8_1.invoke(v7, ((Object[]) 0)));
                        }
                    }
                    try {
                        this.prepareForSerialization(v15, p23);
                        v15._format.setEncoding(v4);
                        String v6 = com.sun.org.apache.xerces.internal.impl.XMLEntityManager.expandSystemId(p24, 0, 1);
                        java.net.URL v16 = new java.net.URL;
                    } catch (org.w3c.dom.ls.LSException v12) {
                        throw v12;
                    } catch (Exception v3_1) {
                        if (v3_1 != com.sun.org.apache.xerces.internal.dom.DOMNormalizer.abort) {
                            throw new org.w3c.dom.ls.LSException(82, v3_1.toString());
                        } else {
                            v19_27 = 0;
                            return v19_27;
                        }
                        v19_27 = 1;
                    } catch (Exception v3_0) {
                        if (v15.fDOMErrorHandler != null) {
                            com.sun.org.apache.xerces.internal.dom.DOMErrorImpl v5_1 = new com.sun.org.apache.xerces.internal.dom.DOMErrorImpl();
                            v5_1.fException = v3_0;
                            v5_1.fMessage = v3_0.getMessage();
                            v5_1.fSeverity = 2;
                            v15.fDOMErrorHandler.handleError(v5_1);
                        }
                        throw new org.w3c.dom.ls.LSException(82, v3_0.toString());
                    }
                    if (v6 == null) {
                        v6 = p24;
                    }
                    java.io.OutputStream v13_0;
                    v16(v6);
                    String v14 = v16.getProtocol();
                    String v10 = v16.getHost();
                    if ((!v14.equals("file")) || ((v10 != null) && ((v10.length() != 0) && (!v10.equals("localhost"))))) {
                        java.net.URLConnection v17 = v16.openConnection();
                        v17.setDoInput(0);
                        v17.setDoOutput(1);
                        v17.setUseCaches(0);
                        if ((v17 instanceof java.net.HttpURLConnection)) {
                            ((java.net.HttpURLConnection) v17).setRequestMethod("PUT");
                        }
                        v13_0 = v17.getOutputStream();
                    } else {
                        v13_0 = new java.io.FileOutputStream(this.getPathWithoutEscapes(v16.getFile()));
                    }
                    v15.setOutputByteStream(v13_0);
                    if (p23.getNodeType() != 9) {
                        if (p23.getNodeType() != 11) {
                            if (p23.getNodeType() != 1) {
                                if ((p23.getNodeType() != 3) && ((p23.getNodeType() != 8) && ((p23.getNodeType() != 5) && ((p23.getNodeType() != 4) && (p23.getNodeType() != 7))))) {
                                    v19_27 = 0;
                                    return v19_27;
                                } else {
                                    v15.serialize(p23);
                                }
                            } else {
                                v15.serialize(((org.w3c.dom.Element) p23));
                            }
                        } else {
                            v15.serialize(((org.w3c.dom.DocumentFragment) p23));
                        }
                    } else {
                        v15.serialize(((org.w3c.dom.Document) p23));
                    }
                }
                if (v8_0 == null) {
                } else {
                    v4 = ((String) v8_0.invoke(v7, ((Object[]) 0)));
                }
            } else {
                v18 = ((String) v9.invoke(v7, ((Object[]) 0)));
            }
        } else {
            v19_27 = 0;
        }
        return v19_27;
    }

Method com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl.write() calling method java.io.FileOutputStream.<init>()


    public boolean write(org.w3c.dom.Node p30, org.w3c.dom.ls.LSOutput p31)
    {
        int v24_29;
        if (p30 != null) {
            org.w3c.dom.Document v7;
            com.sun.org.apache.xml.internal.serialize.XML11Serializer v17 = 0;
            String v22 = 0;
            if (p30.getNodeType() != 9) {
                v7 = p30.getOwnerDocument();
            } else {
                v7 = ((org.w3c.dom.Document) p30);
            }
            try {
                short v0_24 = new Class[0];
                reflect.Method v9 = v7.getClass().getMethod("getXmlVersion", v0_24);
            } catch (int v24) {
            }
            if (v9 == null) {
                if ((v22 == null) || (!v22.equals("1.1"))) {
                    v17 = this.serializer;
                } else {
                    if (this.xml11Serializer == null) {
                        this.xml11Serializer = new com.sun.org.apache.xml.internal.serialize.XML11Serializer();
                        this.initSerializer(this.xml11Serializer);
                    }
                    this.copySettings(this.serializer, this.xml11Serializer);
                    v17 = this.xml11Serializer;
                }
                String v4 = p31.getEncoding();
                if (v4 == null) {
                    try {
                        short v0_86 = new Class[0];
                        reflect.Method v8_1 = v7.getClass().getMethod("getInputEncoding", v0_86);
                    } catch (int v24) {
                        if (v4 == null) {
                            try {
                                short v0_1 = new Class[0];
                                reflect.Method v8_0 = v7.getClass().getMethod("getXmlEncoding", v0_1);
                            } catch (int v24) {
                                if (v4 == null) {
                                    v4 = "UTF-8";
                                }
                            }
                            if (v8_0 == null) {
                            } else {
                                v4 = ((String) v8_0.invoke(v7, ((Object[]) 0)));
                            }
                        }
                    }
                    if (v8_1 == null) {
                    } else {
                        v4 = ((String) v8_1.invoke(v7, ((Object[]) 0)));
                    }
                }
                try {
                    this.prepareForSerialization(v17, p30);
                    v17._format.setEncoding(v4);
                    java.io.OutputStream v15 = p31.getByteStream();
                    java.io.Writer v23 = p31.getCharacterStream();
                    String v19 = p31.getSystemId();
                } catch (org.w3c.dom.ls.LSException v12) {
                    throw v12;
                } catch (java.io.UnsupportedEncodingException v18) {
                    if (v17.fDOMErrorHandler != null) {
                        com.sun.org.apache.xerces.internal.dom.DOMErrorImpl v5_5 = new com.sun.org.apache.xerces.internal.dom.DOMErrorImpl();
                        v5_5.fException = v18;
                        v5_5.fType = "unsupported-encoding";
                        v5_5.fMessage = v18.getMessage();
                        v5_5.fSeverity = 3;
                        v17.fDOMErrorHandler.handleError(v5_5);
                    }
                    throw new org.w3c.dom.ls.LSException(82, com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.formatMessage("http://apache.org/xml/serializer", "unsupported-encoding", 0));
                } catch (Exception v3_1) {
                    if (v3_1 != com.sun.org.apache.xerces.internal.dom.DOMNormalizer.abort) {
                        throw new org.w3c.dom.ls.LSException(82, v3_1.toString());
                    } else {
                        v24_29 = 0;
                    }
                } catch (Exception v3_0) {
                    if (v17.fDOMErrorHandler != null) {
                        com.sun.org.apache.xerces.internal.dom.DOMErrorImpl v5_3 = new com.sun.org.apache.xerces.internal.dom.DOMErrorImpl();
                        v5_3.fException = v3_0;
                        v5_3.fMessage = v3_0.getMessage();
                        v5_3.fSeverity = 2;
                        v17.fDOMErrorHandler.handleError(v5_3);
                    }
                    v3_0.printStackTrace();
                    throw new org.w3c.dom.ls.LSException(82, v3_0.toString());
                }
                if (v23 != null) {
                    v17.setOutputCharStream(v23);
                } else {
                    if (v15 != null) {
                        v17.setOutputByteStream(v15);
                    } else {
                        if (v19 != null) {
                            String v6 = com.sun.org.apache.xerces.internal.impl.XMLEntityManager.expandSystemId(v19, 0, 1);
                            java.net.URL v20 = new java.net.URL;
                            if (v6 == null) {
                                v6 = v19;
                            }
                            java.io.OutputStream v14_0;
                            v20(v6);
                            String v16 = v20.getProtocol();
                            String v10 = v20.getHost();
                            if ((!v16.equals("file")) || ((v10 != null) && ((v10.length() != 0) && (!v10.equals("localhost"))))) {
                                java.net.URLConnection v21 = v20.openConnection();
                                v21.setDoInput(0);
                                v21.setDoOutput(1);
                                v21.setUseCaches(0);
                                if ((v21 instanceof java.net.HttpURLConnection)) {
                                    ((java.net.HttpURLConnection) v21).setRequestMethod("PUT");
                                }
                                v14_0 = v21.getOutputStream();
                            } else {
                                v14_0 = new java.io.FileOutputStream(this.getPathWithoutEscapes(v20.getFile()));
                            }
                            v17.setOutputByteStream(v14_0);
                        } else {
                            String v13 = com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.formatMessage("http://apache.org/xml/serializer", "no-output-specified", 0);
                            if (v17.fDOMErrorHandler != null) {
                                com.sun.org.apache.xerces.internal.dom.DOMErrorImpl v5_1 = new com.sun.org.apache.xerces.internal.dom.DOMErrorImpl();
                                v5_1.fType = "no-output-specified";
                                v5_1.fMessage = v13;
                                v5_1.fSeverity = 3;
                                v17.fDOMErrorHandler.handleError(v5_1);
                            }
                            int v24_37 = new org.w3c.dom.ls.LSException;
                            v24_37(82, v13);
                            throw v24_37;
                        }
                    }
                }
                if (p30.getNodeType() != 9) {
                    if (p30.getNodeType() != 11) {
                        if (p30.getNodeType() != 1) {
                            if ((p30.getNodeType() != 3) && ((p30.getNodeType() != 8) && ((p30.getNodeType() != 5) && ((p30.getNodeType() != 4) && (p30.getNodeType() != 7))))) {
                                v24_29 = 0;
                                return v24_29;
                            } else {
                                v17.serialize(p30);
                            }
                        } else {
                            v17.serialize(((org.w3c.dom.Element) p30));
                        }
                    } else {
                        v17.serialize(((org.w3c.dom.DocumentFragment) p30));
                    }
                } else {
                    v17.serialize(((org.w3c.dom.Document) p30));
                }
                v24_29 = 1;
            } else {
                v22 = ((String) v9.invoke(v7, ((Object[]) 0)));
            }
        } else {
            v24_29 = 0;
        }
        return v24_29;
    }

Method com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler() calling method java.io.FileOutputStream.<init>()


    public com.sun.org.apache.xml.internal.serializer.SerializationHandler getOutputHandler(javax.xml.transform.Result p21)
    {
        this._method = ((String) this._properties.get("method"));
        this._encoding = this._properties.getProperty("encoding");
        this._tohFactory = com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.newInstance();
        this._tohFactory.setEncoding(this._encoding);
        if (this._method != null) {
            this._tohFactory.setOutputMethod(this._method);
        }
        if (this._indentNumber >= 0) {
            this._tohFactory.setIndentNumber(this._indentNumber);
        }
        try {
            StringBuilder v17_2;
            if (!(p21 instanceof javax.xml.transform.sax.SAXResult)) {
                if (!(p21 instanceof javax.xml.transform.stax.StAXResult)) {
                    if (!(p21 instanceof javax.xml.transform.dom.DOMResult)) {
                        if (!(p21 instanceof javax.xml.transform.stream.StreamResult)) {
                            v17_2 = 0;
                        } else {
                            this._tohFactory.setOutputType(0);
                            java.io.Writer v16 = ((javax.xml.transform.stream.StreamResult) p21).getWriter();
                            if (v16 == null) {
                                java.io.OutputStream v10 = ((javax.xml.transform.stream.StreamResult) p21).getOutputStream();
                                if (v10 == null) {
                                    String v12_1 = p21.getSystemId();
                                    if (v12_1 != null) {
                                        if (!v12_1.startsWith("file:")) {
                                            if (!v12_1.startsWith("http:")) {
                                                StringBuilder v17_69 = new java.io.File;
                                                v17_69(v12_1);
                                                StringBuilder v17_0 = this._tohFactory;
                                                String v18_1 = new java.io.FileOutputStream(v17_69.toURL().getFile());
                                                this._ostream = v18_1;
                                                v17_0.setOutputStream(v18_1);
                                                v17_2 = this._tohFactory.getSerializationHandler();
                                            } else {
                                                StringBuilder v17_4 = this._tohFactory;
                                                String v18_2 = new java.net.URL(v12_1).openConnection().getOutputStream();
                                                this._ostream = v18_2;
                                                v17_4.setOutputStream(v18_2);
                                                v17_2 = this._tohFactory.getSerializationHandler();
                                            }
                                        } else {
                                            try {
                                                Class v2 = com.sun.org.apache.xalan.internal.xsltc.trax.ObjectFactory.findProviderClass("java.net.URI", com.sun.org.apache.xalan.internal.xsltc.trax.ObjectFactory.findClassLoader(), 1);
                                                StringBuilder v0_15 = new Class[1];
                                                StringBuilder v17_8 = v0_15;
                                                v17_8[0] = String;
                                                reflect.Constructor v4 = v2.getConstructor(v17_8);
                                                StringBuilder v0_18 = new Object[1];
                                                StringBuilder v17_11 = v0_18;
                                                v17_11[0] = v12_1;
                                                java.net.URI v14_1 = ((java.net.URI) v4.newInstance(v17_11));
                                                String v12_0 = "file:";
                                                String v8 = v14_1.getHost();
                                                String v11 = v14_1.getPath();
                                            } catch (StringBuilder v17) {
                                                this._tohFactory.setOutputStream(new java.io.FileOutputStream(new java.net.URL(v12_0).getFile()));
                                                v17_2 = this._tohFactory.getSerializationHandler();
                                            } catch (StringBuilder v17) {
                                            }
                                            if (v11 == null) {
                                                v11 = "";
                                            }
                                            if (v8 == null) {
                                                v12_0 = new StringBuilder().append("file:").append(v11).toString();
                                            } else {
                                                v12_0 = new StringBuilder().append("file:").append("//").append(v8).append(v11).toString();
                                            }
                                        }
                                    } else {
                                        throw new javax.xml.transform.TransformerException(new com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg("JAXP_NO_RESULT_ERR").toString());
                                    }
                                } else {
                                    this._tohFactory.setOutputStream(v10);
                                    v17_2 = this._tohFactory.getSerializationHandler();
                                }
                            } else {
                                this._tohFactory.setWriter(v16);
                                v17_2 = this._tohFactory.getSerializationHandler();
                            }
                        }
                    } else {
                        this._tohFactory.setNode(((javax.xml.transform.dom.DOMResult) p21).getNode());
                        this._tohFactory.setNextSibling(((javax.xml.transform.dom.DOMResult) p21).getNextSibling());
                        this._tohFactory.setOutputType(2);
                        v17_2 = this._tohFactory.getSerializationHandler();
                    }
                } else {
                    if (((javax.xml.transform.stax.StAXResult) p21).getXMLEventWriter() == null) {
                        if (((javax.xml.transform.stax.StAXResult) p21).getXMLStreamWriter() != null) {
                            this._tohFactory.setXMLStreamWriter(((javax.xml.transform.stax.StAXResult) p21).getXMLStreamWriter());
                        }
                    } else {
                        this._tohFactory.setXMLEventWriter(((javax.xml.transform.stax.StAXResult) p21).getXMLEventWriter());
                    }
                    this._tohFactory.setOutputType(3);
                    v17_2 = this._tohFactory.getSerializationHandler();
                }
            } else {
                this._tohFactory.setHandler(((javax.xml.transform.sax.SAXResult) p21).getHandler());
                org.xml.sax.ext.LexicalHandler v9 = ((javax.xml.transform.sax.SAXResult) p21).getLexicalHandler();
                if (v9 != null) {
                    this._tohFactory.setLexicalHandler(v9);
                }
                this._tohFactory.setOutputType(1);
                v17_2 = this._tohFactory.getSerializationHandler();
            }
        } catch (java.io.IOException v5_2) {
            StringBuilder v17_54 = new javax.xml.transform.TransformerException;
            v17_54(v5_2);
            throw v17_54;
        } catch (java.io.IOException v5_1) {
            StringBuilder v17_53 = new javax.xml.transform.TransformerException;
            v17_53(v5_1);
            throw v17_53;
        } catch (java.io.IOException v5_0) {
            StringBuilder v17_52 = new javax.xml.transform.TransformerException;
            v17_52(v5_0);
            throw v17_52;
        }
        return v17_2;
    }

Method com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.outputToJar() calling method java.io.FileOutputStream.<init>()


    public void outputToJar()
    {
        java.util.jar.Manifest v8_1 = new java.util.jar.Manifest();
        v8_1.getMainAttributes().put(java.util.jar.Attributes$Name.MANIFEST_VERSION, "1.2");
        java.util.Map v9 = v8_1.getEntries();
        java.util.Enumeration v3_0 = this._bcelClasses.elements();
        String v10 = new java.util.Date().toString();
        java.util.jar.Attributes$Name v5_1 = new java.util.jar.Attributes$Name("Date");
        while (v3_0.hasMoreElements()) {
            String v2_1 = ((com.sun.org.apache.bcel.internal.classfile.JavaClass) v3_0.nextElement()).getClassName().replace(46, 47);
            java.util.jar.Attributes v1_1 = new java.util.jar.Attributes();
            v1_1.put(v5_1, v10);
            v9.put(new StringBuilder().append(v2_1).append(".class").toString(), v1_1);
        }
        java.util.jar.JarOutputStream v7_1 = new java.util.jar.JarOutputStream(new java.io.FileOutputStream(new java.io.File(this._destDir, this._jarFileName)), v8_1);
        java.util.Enumeration v3_1 = this._bcelClasses.elements();
        while (v3_1.hasMoreElements()) {
            com.sun.org.apache.bcel.internal.classfile.JavaClass v4_1 = ((com.sun.org.apache.bcel.internal.classfile.JavaClass) v3_1.nextElement());
            v7_1.putNextEntry(new java.util.jar.JarEntry(new StringBuilder().append(v4_1.getClassName().replace(46, 47)).append(".class").toString()));
            java.io.ByteArrayOutputStream v11_1 = new java.io.ByteArrayOutputStream(2048);
            v4_1.dump(v11_1);
            v11_1.writeTo(v7_1);
        }
        v7_1.close();
        return;
    }

Method com.sun.org.apache.regexp.internal.RETest.runAutomatedTests() calling method java.io.FileReader.<init>()


    void runAutomatedTests(String p9)
    {
        long v2 = System.currentTimeMillis();
        this.testPrecompiledRE();
        this.testSplitAndGrep();
        this.testSubst();
        this.testOther();
        java.io.File v1_1 = new java.io.File(p9);
        if (v1_1.exists()) {
            java.io.BufferedReader v0_1 = new java.io.BufferedReader(new java.io.FileReader(v1_1));
            try {
                while (v0_1.ready()) {
                    com.sun.org.apache.regexp.internal.RETestCase v4 = this.getNextTestCase(v0_1);
                    if (v4 != null) {
                        v4.runTest();
                    }
                }
            } catch (String v5_21) {
                v0_1.close();
                throw v5_21;
            }
            v0_1.close();
            this.say(new StringBuilder().append(com.sun.org.apache.regexp.internal.RETest.NEW_LINE).append(com.sun.org.apache.regexp.internal.RETest.NEW_LINE).append("Match time = ").append((System.currentTimeMillis() - v2)).append(" ms.").toString());
            if (this.failures > 0) {
                this.say("*************** THERE ARE FAILURES! *******************");
            }
            this.say(new StringBuilder().append("Tests complete.  ").append(this.testCount).append(" tests, ").append(this.failures).append(" failure(s).").toString());
            return;
        } else {
            throw new Exception(new StringBuilder().append("Could not find: ").append(p9).toString());
        }
    }

Method com.sun.activation.registries.MimeTypeFile.<init>() calling method java.io.FileReader.<init>()


    public MimeTypeFile(String p5)
    {
        this.fname = 0;
        this.type_hash = new java.util.Hashtable();
        java.io.FileReader v0 = 0;
        this.fname = p5;
        java.io.FileReader v0_1 = new java.io.FileReader(new java.io.File(this.fname));
        try {
            this.parse(new java.io.BufferedReader(v0_1));
            try {
                v0_1.close();
            } catch (java.io.IOException v2) {
            }
            return;
        } catch (java.io.IOException v2_4) {
            try {
                v0_1.close();
            } catch (java.io.IOException v3) {
            }
            throw v2_4;
        }
    }

Method com.sun.activation.registries.MailcapFile.<init>() calling method java.io.FileReader.<init>()


    public MailcapFile(String p5)
    {
        this.type_hash = new java.util.HashMap();
        this.fallback_hash = new java.util.HashMap();
        this.native_commands = new java.util.HashMap();
        if (com.sun.activation.registries.LogSupport.isLoggable()) {
            com.sun.activation.registries.LogSupport.log(new StringBuilder("new MailcapFile: file ").append(p5).toString());
        }
        java.io.FileReader v0 = 0;
        try {
            java.io.FileReader v1_1 = new java.io.FileReader(p5);
            try {
                this.parse(new java.io.BufferedReader(v1_1));
            } catch (java.io.IOException v2_7) {
                v0 = v1_1;
                if (v0 != null) {
                    try {
                        v0.close();
                    } catch (java.io.IOException v3) {
                    }
                }
                throw v2_7;
            }
            if (v1_1 != null) {
                try {
                    v1_1.close();
                } catch (java.io.IOException v2) {
                }
            }
            return;
        } catch (java.io.IOException v2_7) {
        }
    }

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


    public static String extractFieldFromSystemFile(java.io.File p11, String p12)
    {
        String v6 = 0;
        if (p11.exists()) {
            java.io.BufferedReader v0 = 0;
            try {
                java.io.BufferedReader v1_0 = new java.io.BufferedReader(new java.io.FileReader(p11), 1024);
                try {
                    do {
                        String v3 = v1_0.readLine();
                    } while((String[] v5.length <= 1) || (!v5[0].equals(p12)));
                    v6 = v5[1];
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v1_0, "Failed to close system file reader.");
                } catch (int v7_10) {
                    v0 = v1_0;
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close system file reader.");
                    throw v7_10;
                } catch (Exception v2) {
                    v0 = v1_0;
                    io.fabric.sdk.android.Fabric.getLogger().e("Fabric", new StringBuilder().append("Error parsing ").append(p11).toString(), v2);
                    io.fabric.sdk.android.services.common.CommonUtils.closeOrLog(v0, "Failed to close system file reader.");
                }
                if (v3 != null) {
                    v5 = java.util.regex.Pattern.compile("\\s*:\\s*").split(v3, 2);
                    if ((v5.length > 1) && (v5[0].equals(p12))) {
                    }
                }
            } catch (int v7_10) {
            } catch (Exception v2) {
            }
        }
        return v6;
    }

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


    private static java.io.BufferedReader zzm(String p3)
    {
        android.os.StrictMode$ThreadPolicy v1 = android.os.StrictMode.allowThreadDiskReads();
        try {
            Throwable v0_1 = new java.io.BufferedReader(new java.io.FileReader(p3));
            android.os.StrictMode.setThreadPolicy(v1);
            return v0_1;
        } catch (Throwable v0_2) {
            android.os.StrictMode.setThreadPolicy(v1);
            throw v0_2;
        }
    }

Method com.crashlytics.android.core.NativeFileUtils.binaryImagesJsonFromMapsFile() calling method java.io.FileReader.<init>()


    private static byte[] binaryImagesJsonFromMapsFile(java.io.File p4, android.content.Context p5)
    {
        Throwable v2_2;
        if (p4.exists()) {
            java.io.BufferedReader v0 = 0;
            try {
                java.io.BufferedReader v1_1 = new java.io.BufferedReader(new java.io.FileReader(p4));
                try {
                    v2_2 = new com.crashlytics.android.core.BinaryImagesConverter(p5, new com.crashlytics.android.core.Sha1FileIdStrategy()).convert(v1_1);
                    io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v1_1);
                } catch (Throwable v2_3) {
                    v0 = v1_1;
                    io.fabric.sdk.android.services.common.CommonUtils.closeQuietly(v0);
                    throw v2_3;
                }
            } catch (Throwable v2_3) {
            }
        } else {
            v2_2 = 0;
        }
        return v2_2;
    }

Method org.simpleframework.xml.transform.FileTransform.read() calling method java.io.File.<init>()


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

Method org.apache.xmlbeans.impl.util.FilerImpl.createSourceFile() calling method java.io.File.<init>()


    public java.io.Writer createSourceFile(String p8)
    {
        if (this.incrSrcGen) {
            this.seenTypes.add(p8);
        }
        if (p8.indexOf(36) > 0) {
            p8 = new StringBuffer().append(p8.substring(0, p8.lastIndexOf(46))).append(".").append(p8.substring((p8.indexOf(36) + 1))).toString();
        }
        java.io.File v1_1 = new java.io.File(this.srcdir, new StringBuffer().append(p8.replace(46, java.io.File.separatorChar)).append(".java").toString());
        v1_1.getParentFile().mkdirs();
        if (this.verbose) {
            System.err.println(new StringBuffer().append("created source: ").append(v1_1.getAbsolutePath()).toString());
        }
        org.apache.xmlbeans.impl.util.FilerImpl$RepackagingWriter v2_20;
        this.sourceFiles.add(v1_1);
        if ((!this.incrSrcGen) || (!v1_1.exists())) {
            if (this.repackager != null) {
                v2_20 = new org.apache.xmlbeans.impl.util.FilerImpl$RepackagingWriter(v1_1, this.repackager);
            } else {
                v2_20 = org.apache.xmlbeans.impl.util.FilerImpl.writerForFile(v1_1);
            }
        } else {
            v2_20 = new org.apache.xmlbeans.impl.util.FilerImpl$IncrFileWriter(v1_1, this.repackager);
        }
        return v2_20;
    }

Method org.apache.xmlbeans.impl.util.FilerImpl.createBinaryFile() calling method java.io.File.<init>()


    public java.io.OutputStream createBinaryFile(String p5)
    {
        if (this.verbose) {
            System.err.println(new StringBuffer().append("created binary: ").append(p5).toString());
        }
        java.io.File v0_1 = new java.io.File(this.classdir, p5);
        v0_1.getParentFile().mkdirs();
        return new java.io.FileOutputStream(v0_1);
    }

Method org.apache.xmlbeans.impl.tool.XsbDumper.main() calling method java.io.File.<init>()


    public static void main(String[] p3)
    {
        if (p3.length != 0) {
            int v0 = 0;
            while (v0 < p3.length) {
                org.apache.xmlbeans.impl.tool.XsbDumper.dump(new java.io.File(p3[v0]), 1);
                v0++;
            }
        } else {
            org.apache.xmlbeans.impl.tool.XsbDumper.printUsage();
            System.exit(0);
        }
        return;
    }

Method org.apache.xmlbeans.impl.tool.XSTCTester.parseLTGFile() calling method java.io.File.<init>()


    public static org.apache.xmlbeans.impl.tool.XSTCTester$TestCase[] parseLTGFile(java.io.File p17, java.util.Collection p18)
    {
        java.util.ArrayList v4_1 = new java.util.ArrayList();
        try {
            org.apache.xmlbeans.XmlOptions v9_1 = new org.apache.xmlbeans.XmlOptions();
            v9_1.setLoadSubstituteNamespaces(java.util.Collections.singletonMap("", "http://www.bea.com/2003/05/xmlbean/ltgfmt"));
            v9_1.setErrorListener(v4_1);
            v9_1.setLoadLineNumbers();
            org.apache.xmlbeans.impl.xb.ltgfmt.TestsDocument v2 = org.apache.xmlbeans.impl.xb.ltgfmt.TestsDocument$Factory.parse(p17, v9_1);
        } catch (Exception v3) {
            if (!v4_1.isEmpty()) {
                int v7_0 = v4_1.iterator();
            } else {
                p18.add(v3.getMessage());
            }
            String v14_39 = 0;
            return v14_39;
        }
        if (v2.validate(v9_1)) {
            org.apache.xmlbeans.impl.xb.ltgfmt.TestCase[] v12 = v2.getTests().getTestArray();
            java.util.ArrayList v11_1 = new java.util.ArrayList();
            int v7_1 = 0;
            while (v7_1 < v12.length) {
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase v10_1 = new org.apache.xmlbeans.impl.tool.XSTCTester$TestCase();
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$302(v10_1, p17);
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$402(v10_1, v12[v7_1].getId());
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$502(v10_1, v12[v7_1].getOrigin());
                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$602(v10_1, v12[v7_1].getDescription());
                org.apache.xmlbeans.impl.xb.ltgfmt.FileDesc[] v5 = v12[v7_1].getFiles().getFileArray();
                v12[v7_1].getOrigin();
                int v8 = 0;
                while (v8 < v5.length) {
                    java.io.File v13_1 = new java.io.File(p17.getParentFile(), new StringBuffer().append(v5[v8].getFolder()).append("/").append(v5[v8].getFileName()).toString());
                    if ((v13_1.exists()) && ((v13_1.isFile()) && (v13_1.canRead()))) {
                        switch (v5[v8].getRole().intValue()) {
                            case 1:
                                if (org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$900(v10_1) != null) {
                                    p18.add(org.apache.xmlbeans.XmlError.forObject("More than one schema file speicifed - ignoring all but last", v5[v8]).toString());
                                }
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$902(v10_1, v13_1);
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1002(v10_1, v5[v8].getValidity());
                            case 2:
                                if (org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$700(v10_1) != null) {
                                    p18.add(org.apache.xmlbeans.XmlError.forObject("More than one instance file speicifed - ignoring all but last", v5[v8]).toString());
                                }
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$702(v10_1, v13_1);
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$802(v10_1, v5[v8].getValidity());
                                break;
                            case 3:
                                if (org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1100(v10_1) != null) {
                                    p18.add(org.apache.xmlbeans.XmlError.forObject("More than one resource file speicifed - ignoring all but last", v5[v8]).toString());
                                }
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1102(v10_1, v13_1);
                                org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1202(v10_1, v5[v8].getValidity());
                                break;
                            default:
                                throw new org.apache.xmlbeans.XmlException(org.apache.xmlbeans.XmlError.forObject("Unexpected file role", v5[v8]));
                        }
                        if (v5[v8].getCode() != null) {
                            org.apache.xmlbeans.impl.tool.XSTCTester$TestCase.access$1302(v10_1, v5[v8].getCode().getID());
                        }
                    } else {
                        p18.add(org.apache.xmlbeans.XmlError.forObject(new StringBuffer().append("Can\'t read file ").append(v13_1).toString(), v5[v8]).toString());
                    }
                    v8++;
                }
                v11_1.add(v10_1);
                v7_1++;
            }
            String v14_42 = new org.apache.xmlbeans.impl.tool.XSTCTester$TestCase[v11_1.size()];
            v14_39 = ((org.apache.xmlbeans.impl.tool.XSTCTester$TestCase[]) v11_1.toArray(v14_42));
            return v14_39;
        } else {
            throw new Exception(new StringBuffer().append("Document ").append(p17).append(" not valid.").toString());
        }
    }

Method org.apache.xmlbeans.impl.tool.XSTCTester.main() calling method java.io.File.<init>()


    public static void main(String[] p34)
    {
        java.util.HashSet v12_1 = new java.util.HashSet();
        v12_1.add("h");
        v12_1.add("help");
        v12_1.add("usage");
        v12_1.add("version");
        v12_1.add("showpass");
        v12_1.add("errcode");
        long v24 = System.currentTimeMillis();
        org.apache.xmlbeans.impl.tool.CommandLine v7_1 = new org.apache.xmlbeans.impl.tool.CommandLine(p34, v12_1, java.util.Collections.EMPTY_SET);
        if ((v7_1.getOpt("h") == null) && ((v7_1.getOpt("help") == null) && (v7_1.getOpt("usage") == null))) {
            if (v7_1.getOpt("version") == null) {
                String[] v5 = v7_1.getBadOpts();
                if (v5.length <= 0) {
                    if (v7_1.args().length != 0) {
                        int v22;
                        if (v7_1.getOpt("showpass") == null) {
                            v22 = 0;
                        } else {
                            v22 = 1;
                        }
                        int v8;
                        if (v7_1.getOpt("errcode") == null) {
                            v8 = 0;
                        } else {
                            v8 = 1;
                        }
                        java.io.File[] v4 = v7_1.getFiles();
                        java.util.ArrayList v18_1 = new java.util.ArrayList();
                        org.apache.xmlbeans.impl.tool.XMLBeanXSTCHarness v13_1 = new org.apache.xmlbeans.impl.tool.XMLBeanXSTCHarness();
                        int v14_1 = 0;
                        while (v14_1 < v4.length) {
                            if (v4[v14_1].getName().indexOf("LTG") >= 0) {
                                v18_1.add(v4[v14_1]);
                            }
                            v14_1++;
                        }
                        java.io.File v21 = new java.io.File;
                        v21("out.html");
                        org.apache.xmlbeans.impl.tool.XSTCTester$TestCaseResult v27_99 = new java.io.FileWriter;
                        v27_99(v21);
                        java.io.PrintWriter v26_1 = new java.io.PrintWriter(v27_99);
                        v26_1.println("<html>");
                        v26_1.println("<style>td {border-bottom: 1px solid black} xmp {white-space: normal; word-wrap: break-word; word-break: break-all} </style>");
                        v26_1.println("<body>");
                        v26_1.println("<script language=\'JavaScript\' type=\'text/javascript\'>");
                        v26_1.println("var w;");
                        v26_1.println("function openWindow(schema, instance) {");
                        v26_1.println("  if (w == null) {");
                        v26_1.println("    w = window.open(\'about:blank\', \'xstc\');");
                        v26_1.println("  }");
                        v26_1.println("  if (w.closed) {");
                        v26_1.println("    w = window.open(\'about:blank\', \'xstc\');");
                        v26_1.println("  }");