Info Call to Socket API

Description

List of all calls to Server Socket API.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method com.inmobi.ads.cache.AssetStore.a() calling method java.net.URL.<init>()


    private boolean a(com.inmobi.ads.cache.a p25, com.inmobi.ads.cache.e p26)
    {
        if (((com.inmobi.ads.cache.a) this.l.putIfAbsent(p25.d, p25)) != null) {
            return 0;
        } else {
            com.inmobi.ads.cache.c v10_1 = new com.inmobi.ads.cache.c(p26);
            com.inmobi.ads.cache.e v2_7 = this.g.c;
            com.inmobi.commons.core.e.a v4_5 = this.g.e;
            java.net.HttpURLConnection v5_1 = new StringBuilder("Fetching asset (");
            v5_1.append(p25.d);
            v5_1.append(")");
            if (com.inmobi.commons.core.utilities.d.a()) {
                if ((!p25.d.equals("")) && (android.webkit.URLUtil.isValidUrl(p25.d))) {
                    java.net.HttpURLConnection v5_8 = new String[v4_5.size()];
                    com.inmobi.commons.core.e.a v4_8 = ((String[]) v4_5.toArray(v5_8));
                    try {
                        long v21 = android.os.SystemClock.elapsedRealtime();
                        java.net.HttpURLConnection v5_12 = ((java.net.HttpURLConnection) new java.net.URL(p25.d).openConnection());
                        v5_12.setRequestMethod("GET");
                        v5_12.setConnectTimeout(60000);
                        v5_12.setReadTimeout(60000);
                    } catch (java.net.SocketTimeoutException) {
                        p25.l = 4;
                        v10_1.a.a(p25);
                    } catch (java.io.FileNotFoundException) {
                        p25.l = 4;
                        v10_1.a.a(p25);
                    } catch (java.net.MalformedURLException) {
                        p25.l = 3;
                        v10_1.a.a(p25);
                    } catch (java.net.ProtocolException) {
                        com.inmobi.ads.cache.e v2_13 = 8;
                        p25.l = v2_13;
                        v10_1.a.a(p25);
                    } catch (java.io.IOException) {
                        com.inmobi.ads.cache.e v2_12 = 8;
                        p25.l = v2_12;
                        v10_1.a.a(p25);
                    } catch (Exception) {
                        p25.l = 0;
                        v10_1.a.a(p25);
                    }
                    if (v5_12.getResponseCode() < 400) {
                        long v6_11 = v5_12.getContentType();
                        long v15_3 = 0;
                        while (v15_3 < v4_8.length) {
                            if ((v6_11 == 0) || (!v4_8[v15_3].toLowerCase(java.util.Locale.ENGLISH).equals(v6_11.toLowerCase(java.util.Locale.ENGLISH)))) {
                                v15_3++;
                            } else {
                                com.inmobi.commons.core.e.a v4_9 = 1;
                            }
                            if (v4_9 == null) {
                                p25.l = 6;
                                p25.c = 0;
                                v10_1.a.a(p25);
                                return 1;
                            }
                        }
                        v4_9 = 0;
                    }
                    long v6_12 = ((long) v5_12.getContentLength());
                    if (v6_12 >= 0) {
                        com.inmobi.commons.core.e.a v4_13 = new StringBuilder("ContentSize: ");
                        v4_13.append(v6_12);
                        v4_13.append(" max size: ");
                        v4_13.append(v2_7);
                        if (v6_12 > v2_7) {
                            p25.l = 7;
                            p25.c = 0;
                            v10_1.a.a(p25);
                            return 1;
                        }
                    }
                    v5_12.connect();
                    String v14_6 = com.inmobi.commons.a.a.a(p25.d);
                    if (v14_6.exists()) {
                        v14_6.delete();
                    }
                    com.inmobi.commons.core.e.a v4_1 = v5_12.getInputStream();
                    long v6_1 = new java.io.BufferedOutputStream(new java.io.FileOutputStream(v14_6));
                    byte[] v7_3 = new byte[1024];
                    long v17_0 = 0;
                    while(true) {
                        long v15_0 = v4_1.read(v7_3);
                        if (v15_0 <= 0) {
                            v6_1.flush();
                            v5_12.disconnect();
                            com.inmobi.commons.core.utilities.d.a(v6_1);
                            long v11_0 = android.os.SystemClock.elapsedRealtime();
                            com.inmobi.ads.cache.c.a(v21, v17_0, v11_0);
                            com.inmobi.commons.core.network.d v13_1 = new com.inmobi.commons.core.network.d();
                            v13_1.d = v5_12.getHeaderFields();
                            p25.k = com.inmobi.ads.cache.c.a(p25, v14_6, v21, v11_0);
                            p25.a = (v11_0 - v21);
                            v10_1.a.a(v13_1, v14_6.getAbsolutePath(), p25);
                        } else {
                            long v19_1 = (v17_0 + ((long) v15_0));
                            try {
                                if (v19_1 > v2_7) {
                                    break;
                                }
                                v6_1.write(v7_3, 0, v15_0);
                                v17_0 = v19_1;
                            } catch (java.net.ProtocolException) {
                                v2_13 = 8;
                            } catch (java.io.IOException) {
                                v2_12 = 8;
                            }
                        }
                    }
                    p25.l = 7;
                    p25.c = 0;
                    try {
                        if (!v14_6.exists()) {
                            v5_12.disconnect();
                            com.inmobi.commons.core.utilities.d.a(v6_1);
                        } else {
                            v14_6.delete();
                        }
                    } catch (Exception v0) {
                        com.inmobi.commons.core.a.a.a().a(new com.inmobi.commons.core.e.a(v0));
                    }
                    com.inmobi.ads.cache.c.a(v21, v19_1, android.os.SystemClock.elapsedRealtime());
                    v10_1.a.a(p25);
                } else {
                    p25.l = 3;
                    v10_1.a.a(p25);
                }
            } else {
                p25.l = 8;
                v10_1.a.a(p25);
            }
            return 1;
        }
    }

Method com.managers.o.a() calling method java.net.URL.<init>()


    public declared_synchronized com.managers.DownloadManager$DownloadHTTPStatus a(String p23, String p24)
    {
        String v1_0 = p24;
        try {
            if (!com.managers.DownloadManager.c().o(Integer.parseInt(p24)).booleanValue()) {
                java.io.File v4_9;
                int v5_5 = new java.io.File(com.managers.SdCardManager.a().a(com.managers.SdCardManager$STORAGE_TYPE.SD_CARD));
                v5_5.mkdirs();
                java.io.File v4_12 = com.managers.SdCardManager.a();
                StringBuilder v6_7 = new StringBuilder();
                v6_7.append(p24);
                v6_7.append(ark>com.managers.oark>.k);
                java.io.File v4_15 = v4_12.e(v6_7.toString());
                if (!android.text.TextUtils.isEmpty(v4_15)) {
                    if (!com.managers.SdCardManager.a().c(ark>com.managers.oark>.k)) {
                        v4_9 = new java.io.File(v4_15);
                    } else {
                        StringBuilder v6_25 = new StringBuilder();
                        v6_25.append(p24);
                        v6_25.append(ark>com.managers.oark>.k);
                        v4_9 = new java.io.File(v5_5, v6_25.toString());
                    }
                } else {
                    StringBuilder v6_32 = new StringBuilder();
                    v6_32.append(p24);
                    v6_32.append(ark>com.managers.oark>.k);
                    v4_9 = new java.io.File(v5_5, v6_32.toString());
                }
                StringBuilder v6_40 = new java.net.URL(p23).openConnection();
                v6_40.setRequestProperty("User-Agent", com.utilities.Util.R());
                int v9_14 = new StringBuilder();
                v9_14.append("bytes=");
                v9_14.append(v4_9.length());
                v9_14.append("-");
                v6_40.setRequestProperty("Range", v9_14.toString());
                v6_40.setReadTimeout(10000);
                v6_40.connect();
                String v8_0 = ((java.net.HttpURLConnection) v6_40).getResponseCode();
                try {
                    if (v8_0 != 404) {
                        try {
                            String v10_0 = 1024;
                        } catch (OutOfMemoryError v0_4) {
                        } catch (OutOfMemoryError v0_3) {
                            java.io.File v2_1 = v0_3;
                            java.io.File v3_1 = 0;
                            java.io.File v4_0 = 0;
                            int v5_0 = 0;
                            String v7_0 = 0;
                            int v9_1 = 0;
                            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v2_1);
                            StringBuilder v6_36 = com.managers.u.a();
                            boolean v11_7 = new StringBuilder();
                            v11_7.append("Media not fetched - ");
                            if (v8_0 == -1) {
                                java.io.File v2_21 = v2_1.getMessage();
                            } else {
                                java.io.File v12_23 = new StringBuilder();
                                v12_23.append("Error code : ");
                                v12_23.append(v8_0);
                                v12_23.append(" Caught Message : ");
                                v12_23.append(v2_1.getMessage());
                                v2_21 = v12_23.toString();
                            }
                            v11_7.append(v2_21);
                            java.io.File v2_0 = v11_7.toString();
                            String v8_15 = new StringBuilder();
                            v8_15.append(p24);
                            v8_15.append(" - ");
                            v8_15.append(com.utilities.Util.Q());
                            v6_36.a("DownloadFailure", v2_0, v8_15.toString());
                            com.gaana.analytics.UninstallIO.sendDownloadFailureEvent(p23);
                            System.gc();
                            if (v3_1 != null) {
                                v3_1.flush();
                                v3_1.close();
                            }
                            if (v9_1 != 0) {
                                v9_1.close();
                            }
                            if (v4_0 != null) {
                                v4_0.close();
                            }
                            if (v7_0 != null) {
                                v7_0.flush();
                                v7_0.close();
                            }
                            if (v5_0 == 0) {
                                return com.managers.DownloadManager$DownloadHTTPStatus.FAILED;
                            } else {
                                v5_0.flush();
                                v5_0.close();
                                return com.managers.DownloadManager$DownloadHTTPStatus.FAILED;
                            }
                        }
                        if (v6_40.getContentLength() >= 1024) {
                            v9_1 = new java.io.BufferedInputStream(v6_40.getInputStream());
                            try {
                                java.io.File v12_1 = new java.io.FileOutputStream(v4_9, 1);
                                try {
                                    boolean v11_2 = new byte[1024];
                                    int v13_6 = ((int) v4_9.length());
                                    StringBuilder v6_8 = v6_40.getContentLength();
                                    String v14 = "kb";
                                } catch (OutOfMemoryError v0_15) {
                                    v2_0 = v0_15;
                                    v3_1 = v12_1;
                                    v4_0 = 0;
                                    v5_0 = 0;
                                    v7_0 = 0;
                                    if (v3_1 != null) {
                                        v3_1.flush();
                                        v3_1.close();
                                    }
                                    if (v9_1 != 0) {
                                        v9_1.close();
                                    }
                                    if (v4_0 != null) {
                                        v4_0.close();
                                    }
                                    if (v7_0 != null) {
                                        v7_0.flush();
                                        v7_0.close();
                                    }
                                    if (v5_0 != 0) {
                                        v5_0.flush();
                                        v5_0.close();
                                    }
                                    throw v2_0;
                                } catch (OutOfMemoryError v0_14) {
                                    java.io.File v2_4 = v0_14;
                                    v3_1 = v12_1;
                                    v4_0 = 0;
                                    v5_0 = 0;
                                    v7_0 = 0;
                                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v2_4);
                                    java.io.File v2_29 = com.managers.u.a();
                                    String v10_22 = new StringBuilder();
                                    v10_22.append(p24);
                                    v10_22.append(" - ");
                                    v10_22.append(com.utilities.Util.Q());
                                    v2_29.a("DownloadFailure", "Media not fetched - Network Failure", v10_22.toString());
                                    com.gaana.analytics.UninstallIO.sendDownloadFailureEvent(p23);
                                    v2_0 = com.managers.DownloadManager$DownloadHTTPStatus.CONNECTION_RESET;
                                    if (v3_1 == null) {
                                        if (v9_1 != 0) {
                                            v9_1.close();
                                        }
                                        if (v4_0 != null) {
                                            v4_0.close();
                                        }
                                        if (v7_0 != null) {
                                            v7_0.flush();
                                            v7_0.close();
                                        }
                                        if (v5_0 != 0) {
                                            v5_0.flush();
                                            v5_0.close();
                                        }
                                    } else {
                                        v3_1.flush();
                                        v3_1.close();
                                    }
                                    return v2_0;
                                } catch (OutOfMemoryError v0_13) {
                                    java.io.File v2_3 = v0_13;
                                    v3_1 = v12_1;
                                    v4_0 = 0;
                                    v5_0 = 0;
                                    v7_0 = 0;
                                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v2_3);
                                    StringBuilder v6_43 = com.managers.u.a();
                                    String v10_16 = new StringBuilder();
                                    v10_16.append("Media not fetched - IO Failure - ");
                                    v10_16.append(v2_3.getMessage());
                                    java.io.File v2_28 = v10_16.toString();
                                    String v10_18 = new StringBuilder();
                                    v10_18.append(p24);
                                    v10_18.append(" - ");
                                    v10_18.append(com.utilities.Util.Q());
                                    v6_43.a("DownloadFailure", v2_28, v10_18.toString());
                                    com.gaana.analytics.UninstallIO.sendDownloadFailureEvent(p23);
                                    v2_0 = com.managers.DownloadManager$DownloadHTTPStatus.CONNECTION_RESET;
                                    if (v3_1 == null) {
                                        if (v9_1 != 0) {
                                            v9_1.close();
                                        }
                                        if (v4_0 != null) {
                                            v4_0.close();
                                        }
                                        if (v7_0 != null) {
                                            v7_0.flush();
                                            v7_0.close();
                                        }
                                        if (v5_0 != 0) {
                                            v5_0.flush();
                                            v5_0.close();
                                        }
                                    } else {
                                        v3_1.flush();
                                        v3_1.close();
                                    }
                                    return v2_0;
                                } catch (OutOfMemoryError v0_12) {
                                    java.io.File v4 = v9_1;
                                    java.io.File v2_2 = v0_12;
                                    v3_1 = v12_1;
                                    v4_0 = 0;
                                    v5_0 = 0;
                                    v7_0 = 0;
                                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v2_2);
                                    StringBuilder v6_41 = com.managers.u.a();
                                    boolean v11_11 = new StringBuilder();
                                    v11_11.append("Media not fetched - ");
                                    if (v8_0 == -1) {
                                        java.io.File v2_24 = v2_2.getMessage();
                                    } else {
                                        java.io.File v12_27 = new StringBuilder();
                                        v12_27.append("Error code : ");
                                        v12_27.append(v8_0);
                                        v12_27.append(" Caught Message : ");
                                        v12_27.append(v2_2.getMessage());
                                        v2_24 = v12_27.toString();
                                    }
                                    v11_11.append(v2_24);
                                    v2_0 = v11_11.toString();
                                    String v8_21 = new StringBuilder();
                                    v8_21.append(p24);
                                    v8_21.append(" - ");
                                    v8_21.append(com.utilities.Util.Q());
                                    v6_41.a("DownloadFailure", v2_0, v8_21.toString());
                                    com.gaana.analytics.UninstallIO.sendDownloadFailureEvent(p23);
                                    if (v3_1 != null) {
                                        v3_1.flush();
                                        v3_1.close();
                                    }
                                    if (v9_1 != 0) {
                                        v9_1.close();
                                    }
                                    if (v4_0 != null) {
                                        v4_0.close();
                                    }
                                    if (v7_0 != null) {
                                        v7_0.flush();
                                        v7_0.close();
                                    }
                                    if (v5_0 == 0) {
                                        return com.managers.DownloadManager$DownloadHTTPStatus.FAILED;
                                    } else {
                                        v5_0.flush();
                                        v5_0.close();
                                        return com.managers.DownloadManager$DownloadHTTPStatus.FAILED;
                                    }
                                } catch (OutOfMemoryError v0_11) {
                                    v4 = v9_1;
                                    v2_1 = v0_11;
                                    v3_1 = v12_1;
                                    v4_0 = 0;
                                    v5_0 = 0;
                                    v7_0 = 0;
                                }
                                if (v6_8 >= 1048576) {
                                    try {
                                        v14 = "mb";
                                        v10_0 = 1048576;
                                    } catch (OutOfMemoryError v0_15) {
                                    } catch (OutOfMemoryError v0_14) {
                                    } catch (OutOfMemoryError v0_13) {
                                    } catch (OutOfMemoryError v0_12) {
                                    } catch (OutOfMemoryError v0_11) {
                                    }
                                }
                                StringBuilder v6_9 = (v6_8 + v13_6);
                                String v15 = v8_0;
                                v8_0 = 2131821172;
                                try {
                                    com.managers.j.a(com.gaana.application.GaanaApplication.getContext()).a(v6_9, v13_6, com.gaana.application.GaanaApplication.getContext().getString(2131821172));
                                    java.io.File v3_8 = ((float) v10_0);
                                    java.io.File v2_12 = (((float) Math.round(((((float) v6_9) / v3_8) * 1120403456))) / 1120403456);
                                    String v8_1 = 0;
                                    int v16 = 0;
                                } catch (OutOfMemoryError v0_17) {
                                    v2_2 = v0_17;
                                    v3_1 = v12_1;
                                    v8_0 = v15;
                                } catch (OutOfMemoryError v0_16) {
                                    v2_1 = v0_16;
                                    v3_1 = v12_1;
                                    v8_0 = v15;
                                }
                                while(true) {
                                    int v21;
                                    String v10_2 = v9_1.read(v11_2);
                                    if ((v10_2 <= null) || (!com.services.FileDownloadService.a())) {
                                        break;
                                    }
                                    com.managers.j v19;
                                    StringBuilder v20;
                                    v12_1.write(v11_2, v8_1, v10_2);
                                    v13_6 += v10_2;
                                    String v10_6 = ((v13_6 * 100) / v6_9);
                                    if ((v10_6 - v16) <= 0) {
                                        v19 = v3_8;
                                        v21 = v9_1;
                                        v20 = v11_2;
                                        int v17 = 1120403456;
                                    } else {
                                        String v8_12 = (((float) Math.round(((((float) v13_6) / v3_8) * 1120403456))) / 1120403456);
                                        v19 = v3_8;
                                        java.io.File v3_18 = com.managers.j.a(com.gaana.application.GaanaApplication.getContext());
                                        v20 = v11_2;
                                        boolean v11_5 = new StringBuilder();
                                        v21 = v9_1;
                                        v11_5.append(com.gaana.application.GaanaApplication.getContext().getString(2131821172));
                                        v11_5.append(v10_6);
                                        v11_5.append("% (");
                                        v11_5.append(v8_12);
                                        v11_5.append("/");
                                        v11_5.append(v2_12);
                                        v11_5.append(v14);
                                        v11_5.append(")");
                                        v3_18.a(v6_9, v13_6, v11_5.toString());
                                        v16 = v10_6;
                                    }
                                    v3_8 = v19;
                                    v11_2 = v20;
                                    v9_1 = v21;
                                    v8_1 = 0;
                                }
                                v21 = v9_1;
                                try {
                                    if (!com.services.FileDownloadService.a()) {
                                        java.io.File v4_14 = v21;
                                        try {
                                            v2_0 = com.managers.DownloadManager$DownloadHTTPStatus.CONNECTION_RESET;
                                        } catch (OutOfMemoryError v0_22) {
                                        } catch (OutOfMemoryError v0_21) {
                                            v2_4 = v0_21;
                                            v9_1 = v4_14;
                                        } catch (OutOfMemoryError v0_20) {
                                            v2_3 = v0_20;
                                            v9_1 = v4_14;
                                        } catch (OutOfMemoryError v0_19) {
                                            v2_2 = v0_19;
                                            v9_1 = v4_14;
                                        } catch (OutOfMemoryError v0_18) {
                                            v2_1 = v0_18;
                                            v9_1 = v4_14;
                                        }
                                        if (v12_1 == null) {
                                            if (v4_14 != null) {
                                                v4_14.close();
                                            }
                                        } else {
                                            v12_1.flush();
                                            v12_1.close();
                                        }
                                        return v2_0;
                                    } else {
                                        int v9_4;
                                        java.io.File v3_12;
                                        if (!com.utilities.d.b()) {
                                            v4_9.renameTo(new java.io.File(v5_5, p24));
                                            v3_12 = 0;
                                            v7_0 = 0;
                                            v9_4 = 0;
                                        } else {
                                            java.io.File v2_18 = new byte[8192];
                                            v3_12 = new java.io.BufferedInputStream(new java.io.FileInputStream(v4_9));
                                            try {
                                                String v7_6 = new StringBuilder();
                                                v7_6.append(p24);
                                                v7_6.append(com.utilities.i.b);
                                                StringBuilder v6_21 = new java.io.File(v5_5, v7_6.toString());
                                                v7_0 = new java.io.FileOutputStream(v6_21, 0);
                                                try {
                                                    v9_4 = com.utilities.i.a(v7_0);
                                                    try {
                                                        while(true) {
                                                            String v10_3 = v3_12.read(v2_18);
                                                            v9_4.write(v2_18, 0, v10_3);
                                                        }
                                                        String v8_5 = new StringBuilder();
                                                        v8_5.append(p24);
                                                        v8_5.append(com.utilities.i.a);
                                                        v6_21.renameTo(new java.io.File(v5_5, v8_5.toString()));
                                                        v4_9.delete();
                                                    } catch (OutOfMemoryError v0_44) {
                                                        v2_0 = v0_44;
                                                        v4_0 = v3_12;
                                                        v5_0 = v9_4;
                                                        v3_1 = v12_1;
                                                        v9_1 = v21;
                                                    } catch (OutOfMemoryError v0_43) {
                                                        v2_4 = v0_43;
                                                        v4_0 = v3_12;
                                                        v5_0 = v9_4;
                                                        v3_1 = v12_1;
                                                        v9_1 = v21;
                                                    } catch (OutOfMemoryError v0_42) {
                                                        v2_3 = v0_42;
                                                        v4_0 = v3_12;
                                                        v5_0 = v9_4;
                                                        v3_1 = v12_1;
                                                        v9_1 = v21;
                                                    } catch (OutOfMemoryError v0_41) {
                                                        v2_2 = v0_41;
                                                        v4_0 = v3_12;
                                                        v5_0 = v9_4;
                                                        v3_1 = v12_1;
                                                        v8_0 = v15;
                                                        v9_1 = v21;
                                                    } catch (OutOfMemoryError v0_40) {
                                                        v2_1 = v0_40;
                                                        v4_0 = v3_12;
                                                        v5_0 = v9_4;
                                                        v3_1 = v12_1;
                                                        v8_0 = v15;
                                                        v9_1 = v21;
                                                    }
                                                    if ((v10_3 <= null) || (!com.services.FileDownloadService.a())) {
                                                    }
                                                } catch (OutOfMemoryError v0_33) {
                                                    v2_0 = v0_33;
                                                    v4_0 = v3_12;
                                                    v3_1 = v12_1;
                                                    v9_1 = v21;
                                                    v5_0 = 0;
                                                } catch (OutOfMemoryError v0_32) {
                                                    v2_4 = v0_32;
                                                    v4_0 = v3_12;
                                                    v3_1 = v12_1;
                                                    v9_1 = v21;
                                                    v5_0 = 0;
                                                } catch (OutOfMemoryError v0_31) {
                                                    v2_3 = v0_31;
                                                    v4_0 = v3_12;
                                                    v3_1 = v12_1;
                                                    v9_1 = v21;
                                                    v5_0 = 0;
                                                } catch (OutOfMemoryError v0_30) {
                                                    v2_2 = v0_30;
                                                    v4_0 = v3_12;
                                                    v3_1 = v12_1;
                                                    v8_0 = v15;
                                                    v9_1 = v21;
                                                    v5_0 = 0;
                                                } catch (OutOfMemoryError v0_29) {
                                                    v2_1 = v0_29;
                                                    v4_0 = v3_12;
                                                    v3_1 = v12_1;
                                                    v8_0 = v15;
                                                    v9_1 = v21;
                                                    v5_0 = 0;
                                                }
                                            } catch (OutOfMemoryError v0_28) {
                                                v2_0 = v0_28;
                                                v4_0 = v3_12;
                                                v3_1 = v12_1;
                                                v9_1 = v21;
                                            } catch (OutOfMemoryError v0_27) {
                                                v2_4 = v0_27;
                                                v4_0 = v3_12;
                                                v3_1 = v12_1;
                                                v9_1 = v21;
                                            } catch (OutOfMemoryError v0_26) {
                                                v2_3 = v0_26;
                                                v4_0 = v3_12;
                                                v3_1 = v12_1;
                                                v9_1 = v21;
                                            } catch (OutOfMemoryError v0_25) {
                                                v2_2 = v0_25;
                                                v4_0 = v3_12;
                                                v3_1 = v12_1;
                                                v8_0 = v15;
                                                v9_1 = v21;
                                            } catch (OutOfMemoryError v0_24) {
                                                v2_1 = v0_24;
                                                v4_0 = v3_12;
                                                v3_1 = v12_1;
                                                v8_0 = v15;
                                                v9_1 = v21;
                                            }
                                        }
                                        try {
                                            v2_0 = com.managers.DownloadManager$DownloadHTTPStatus.SUCCESS;
                                        } catch (OutOfMemoryError v0_38) {
                                            v2_0 = v0_38;
                                            v5_0 = v9_4;
                                            v9_1 = v21;
                                            v4_0 = v3_12;
                                            v3_1 = v12_1;
                                        } catch (OutOfMemoryError v0_37) {
                                            v2_4 = v0_37;
                                            v5_0 = v9_4;
                                            v9_1 = v21;
                                            v4_0 = v3_12;
                                            v3_1 = v12_1;
                                        } catch (OutOfMemoryError v0_36) {
                                            v2_3 = v0_36;
                                            v5_0 = v9_4;
                                            v9_1 = v21;
                                            v4_0 = v3_12;
                                            v3_1 = v12_1;
                                        } catch (OutOfMemoryError v0_35) {
                                            v2_2 = v0_35;
                                            v5_0 = v9_4;
                                            v8_0 = v15;
                                            v9_1 = v21;
                                            v4_0 = v3_12;
                                            v3_1 = v12_1;
                                        } catch (OutOfMemoryError v0_34) {
                                            v2_1 = v0_34;
                                            v5_0 = v9_4;
                                            v8_0 = v15;
                                            v9_1 = v21;
                                            v4_0 = v3_12;
                                            v3_1 = v12_1;
                                        }
                                        if (v12_1 == null) {
                                            if (v21 != 0) {
                                                v21.close();
                                            }
                                            if (v3_12 != null) {
                                                v3_12.close();
                                            }
                                            if (v7_0 != null) {
                                                v7_0.flush();
                                                v7_0.close();
                                            }
                                            if (v9_4 != 0) {
                                                v9_4.flush();
                                                v9_4.close();
                                            }
                                        } else {
                                            v12_1.flush();
                                            v12_1.close();
                                        }
                                        return v2_0;
                                    }
                                } catch (OutOfMemoryError v0_22) {
                                    v4_14 = v21;
                                } catch (OutOfMemoryError v0_21) {
                                    v4_14 = v21;
                                } catch (OutOfMemoryError v0_20) {
                                    v4_14 = v21;
                                } catch (OutOfMemoryError v0_19) {
                                    v4_14 = v21;
                                } catch (OutOfMemoryError v0_18) {
                                    v4_14 = v21;
                                }
                                v2_0 = v0_22;
                                v9_1 = v4_14;
                            } catch (OutOfMemoryError v0_10) {
                                v2_0 = v0_10;
                                v3_1 = 0;
                            } catch (OutOfMemoryError v0_5) {
                                try {
                                    if (!v0_5.getMessage().contains("open failed: EACCES (Permission denied)")) {
                                        v12_1 = 0;
                                    } else {
                                        try {
                                            if (v4_9.exists()) {
                                                v4_9.delete();
                                            }
                                        } catch (OutOfMemoryError v0_8) {
                                        }
                                        v5_5 = new java.io.File(com.managers.SdCardManager.a().b());
                                        v5_5.mkdirs();
                                        java.io.File v4_7 = com.managers.SdCardManager.a();
                                        java.io.File v12_6 = new StringBuilder();
                                        v12_6.append(p24);
                                        v12_6.append(ark>com.managers.oark>.k);
                                        java.io.File v4_8 = v4_7.f(v12_6.toString());
                                        if (!android.text.TextUtils.isEmpty(v4_8)) {
                                            if (!com.managers.SdCardManager.a().c(ark>com.managers.oark>.k)) {
                                                v4_9 = new java.io.File(v4_8);
                                            } else {
                                                java.io.File v12_14 = new StringBuilder();
                                                v12_14.append(p24);
                                                v12_14.append(ark>com.managers.oark>.k);
                                                v4_9 = new java.io.File(v5_5, v12_14.toString());
                                            }
                                        } else {
                                            java.io.File v12_17 = new StringBuilder();
                                            v12_17.append(p24);
                                            v12_17.append(ark>com.managers.oark>.k);
                                            v4_9 = new java.io.File(v5_5, v12_17.toString());
                                        }
                                        v12_1 = new java.io.FileOutputStream(v4_9, 1);
                                    }
                                } catch (OutOfMemoryError v0_10) {
                                } catch (OutOfMemoryError v0_9) {
                                    v2_4 = v0_9;
                                    v3_1 = 0;
                                } catch (OutOfMemoryError v0_8) {
                                } catch (OutOfMemoryError v0_7) {
                                    v4 = v9_1;
                                    v2_2 = v0_7;
                                    v3_1 = 0;
                                } catch (OutOfMemoryError v0_6) {
                                    v4 = v9_1;
                                    v2_1 = v0_6;
                                    v3_1 = 0;
                                }
                                v2_3 = v0_8;
                                v3_1 = 0;
                            } catch (OutOfMemoryError v0_9) {
                            } catch (OutOfMemoryError v0_7) {
                            } catch (OutOfMemoryError v0_6) {
                            }
                        } else {
                            java.io.File v4_27 = com.managers.u.a();
                            int v9_7 = new StringBuilder();
                            v9_7.append(p24);
                            v9_7.append(" - ");
                            v9_7.append(com.utilities.Util.Q());
                            v4_27.a("DownloadFailure", "Media not fetched - Media content is less than 1KB ", v9_7.toString());
                            return com.managers.DownloadManager$DownloadHTTPStatus.FAILED;
                        }
                    } else {
                        com.managers.DownloadManager.c().d(p24);
                        java.io.File v4_30 = com.managers.u.a();
                        int v9_10 = new StringBuilder();
                        v9_10.append(p24);
                        v9_10.append(" - ");
                        v9_10.append(com.utilities.Util.Q());
                        v4_30.a("DownloadFailure", "Media not fetched - 404", v9_10.toString());
                        com.gaana.analytics.UninstallIO.sendDownloadFailureEvent(p23);
                        return com.managers.DownloadManager$DownloadHTTPStatus.FAILED;
                    }
                } catch (OutOfMemoryError v0_4) {
                } catch (OutOfMemoryError v0_3) {
                }
                v2_2 = v0_4;
                v3_1 = 0;
                v4_0 = 0;
                v5_0 = 0;
                v7_0 = 0;
                v9_1 = 0;
            } else {
                return com.managers.DownloadManager$DownloadHTTPStatus.SUCCESS;
            }
        } catch (OutOfMemoryError v0_0) {
            v2_0 = v0_0;
            v3_1 = 0;
            v4_0 = 0;
            v5_0 = 0;
            v7_0 = 0;
            v9_1 = 0;
        } catch (OutOfMemoryError v0_56) {
            v2_4 = v0_56;
            v3_1 = 0;
            v4_0 = 0;
            v5_0 = 0;
            v7_0 = 0;
            v9_1 = 0;
        } catch (OutOfMemoryError v0_54) {
            v2_3 = v0_54;
            v3_1 = 0;
            v4_0 = 0;
            v5_0 = 0;
            v7_0 = 0;
            v9_1 = 0;
        } catch (OutOfMemoryError v0_51) {
            v2_2 = v0_51;
            v3_1 = 0;
            v4_0 = 0;
            v5_0 = 0;
            v7_0 = 0;
            v8_0 = -1;
        } catch (OutOfMemoryError v0_45) {
            v2_1 = v0_45;
            v3_1 = 0;
            v4_0 = 0;
            v5_0 = 0;
            v7_0 = 0;
            v8_0 = -1;
        } catch (OutOfMemoryError v0_57) {
            v2_0 = v0_57;
        }
    }

Method com.timespointssdk.g.a() calling method java.net.URL.<init>()

Couldn't retrieve source code

Method android.support.v7.app.MediaRouteControllerDialog$FetchArtTask.openInputStreamByScheme() calling method java.net.URL.<init>()


    private java.io.InputStream openInputStreamByScheme(android.net.Uri p3)
    {
        java.io.BufferedInputStream v3_3;
        java.io.BufferedInputStream v0_8 = p3.getScheme().toLowerCase();
        if ((!"android.resource".equals(v0_8)) && ((!"content".equals(v0_8)) && (!"file".equals(v0_8)))) {
            java.io.BufferedInputStream v3_2 = new java.net.URL(p3.toString()).openConnection();
            v3_2.setConnectTimeout(android.support.v7.app.MediaRouteControllerDialog.CONNECTION_TIMEOUT_MILLIS);
            v3_2.setReadTimeout(android.support.v7.app.MediaRouteControllerDialog.CONNECTION_TIMEOUT_MILLIS);
            v3_3 = v3_2.getInputStream();
        } else {
            v3_3 = this.this$0.mContext.getContentResolver().openInputStream(p3);
        }
        java.io.BufferedInputStream v3_4;
        if (v3_3 != null) {
            v3_4 = new java.io.BufferedInputStream(v3_3);
        } else {
            v3_4 = 0;
        }
        return v3_4;
    }

Method com.appsflyer.ab.a() calling method java.net.URL.<init>()


    protected final varargs String a(String[] p6)
    {
        if (!this.c) {
            try {
                this.g = new java.net.URL(p6[0]);
            } catch (String v6_9) {
                String v1_7 = new StringBuilder("Error while calling ");
                v1_7.append(this.g.toString());
                com.appsflyer.AFLogger.a(v1_7.toString(), v6_9);
                this.e = 1;
                return this.d;
            }
            if (this.h) {
                String v6_15;
                com.appsflyer.ah.a().a(this.g.toString(), this.b);
                String v6_14 = this.b.getBytes("UTF-8").length;
                String v1_12 = new StringBuilder("call = ");
                v1_12.append(this.g);
                v1_12.append("; size = ");
                v1_12.append(v6_14);
                v1_12.append(" byte");
                if (v6_14 <= 1) {
                    v6_15 = "";
                } else {
                    v6_15 = "s";
                }
                v1_12.append(v6_15);
                v1_12.append("; body = ");
                v1_12.append(this.b);
                com.appsflyer.y$3.b(v1_12.toString());
            }
            this.i = ((java.net.HttpURLConnection) this.g.openConnection());
            this.i.setReadTimeout(30000);
            this.i.setConnectTimeout(30000);
            this.i.setRequestMethod("POST");
            this.i.setDoInput(1);
            this.i.setDoOutput(1);
            this.i.setRequestProperty("Content-Type", "application/json");
            String v6_30 = this.i.getOutputStream();
            String v1_19 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(v6_30, "UTF-8"));
            v1_19.write(this.b);
            v1_19.flush();
            v1_19.close();
            v6_30.close();
            this.i.connect();
            String v6_34 = this.i.getResponseCode();
            if (this.j) {
                com.appsflyer.h.c();
                this.d = com.appsflyer.h.a(this.i);
            }
            if (this.h) {
                com.appsflyer.ah.a().a(this.g.toString(), v6_34, this.d);
            }
            if (v6_34 != 200) {
                this.e = 1;
                return this.d;
            } else {
                com.appsflyer.AFLogger.d("Status 200 ok");
                String v6_4 = ((android.content.Context) this.f.get());
                if ((!this.g.toString().startsWith(com.appsflyer.q.b(com.appsflyer.h.b))) || (v6_4 == null)) {
                    return this.d;
                } else {
                    String v6_7 = v6_4.getSharedPreferences("appsflyer-data", 0).edit();
                    v6_7.putBoolean("sentRegisterRequestToAF", 1);
                    v6_7.apply();
                    com.appsflyer.AFLogger.c("Successfully registered for Uninstall Tracking");
                    return this.d;
                }
            }
        } else {
            return 0;
        }
    }

Method com.appsflyer.h$b.run() calling method java.net.URL.<init>()


    public void run()
    {
        if ((this.b != null) && (this.b.length() != 0)) {
            if (!this.e.d()) {
                this.d.incrementAndGet();
                java.util.Map v0_3 = 0;
                try {
                    com.appsflyer.l v2_7 = ((android.content.Context) this.a.get());
                } catch (Throwable v1_1) {
                    String v6_0 = v0_3;
                    this.d.decrementAndGet();
                    if (v6_0 != null) {
                        v6_0.disconnect();
                    }
                    throw v1_1;
                } catch (com.appsflyer.l v2_10) {
                    if (com.appsflyer.h.f() != null) {
                        this.a(v2_10.getMessage(), 0);
                    }
                    com.appsflyer.AFLogger.a(v2_10.getMessage(), v2_10);
                    this.d.decrementAndGet();
                    if (v0_3 == null) {
                        this.c.shutdown();
                        return;
                    } else {
                        v0_3.disconnect();
                        this.c.shutdown();
                        return;
                    }
                    this.d.decrementAndGet();
                    if (v6_0 == null) {
                        this.c.shutdown();
                        return;
                    } else {
                        v6_0.disconnect();
                        this.c.shutdown();
                        return;
                    }
                }
                if (v2_7 != null) {
                    String v3_7 = System.currentTimeMillis();
                    String v5_15 = com.appsflyer.h.d(v2_7, com.appsflyer.h.b(new ref.WeakReference(v2_7)));
                    String v6_1 = "";
                    if (v5_15 != null) {
                        if (com.appsflyer.h.g().contains(v5_15.toLowerCase())) {
                            Object v9_7 = new Object[1];
                            v9_7[0] = v5_15;
                            com.appsflyer.AFLogger.e(String.format("AF detected using redundant Google-Play channel for attribution - %s. Using without channel postfix.", v9_7));
                        } else {
                            v6_1 = "-".concat(String.valueOf(v5_15));
                        }
                    }
                    String v5_19 = new StringBuilder();
                    v5_19.append(this.a());
                    v5_19.append(v2_7.getPackageName());
                    v5_19.append(v6_1);
                    v5_19.append("?devkey=");
                    v5_19.append(this.b);
                    v5_19.append("&device_id=");
                    v5_19.append(com.appsflyer.ac.a(new ref.WeakReference(v2_7)));
                    com.appsflyer.ah.a().a(v5_19.toString(), "");
                    String v6_11 = new StringBuilder("Calling server for attribution url: ");
                    v6_11.append(v5_19.toString());
                    com.appsflyer.y$3.b(v6_11.toString());
                    v6_0 = ((java.net.HttpURLConnection) new java.net.URL(v5_19.toString()).openConnection());
                    try {
                        v6_0.setRequestMethod("GET");
                        v6_0.setConnectTimeout(10000);
                        v6_0.setRequestProperty("Connection", "close");
                        v6_0.connect();
                        java.util.Map v0_2 = v6_0.getResponseCode();
                        String v8_0 = com.appsflyer.h.a(v6_0);
                        com.appsflyer.ah.a().a(v5_19.toString(), v0_2, v8_0);
                    } catch (Throwable v1_1) {
                    } catch (com.appsflyer.l v2_10) {
                        v0_3 = v6_0;
                    }
                    if (v0_2 != 200) {
                        if (com.appsflyer.h.f() != null) {
                            this.a("Error connection to server: ".concat(String.valueOf(v0_2)), v0_2);
                        }
                        com.appsflyer.l v2_4 = new StringBuilder("AttributionIdFetcher response code: ");
                        v2_4.append(v0_2);
                        v2_4.append("  url: ");
                        v2_4.append(v5_19);
                        com.appsflyer.y$3.b(v2_4.toString());
                    } else {
                        com.appsflyer.h.a(v2_7, "appsflyerGetConversionDataTiming", ((System.currentTimeMillis() - v3_7) / 1000));
                        com.appsflyer.y$3.b("Attribution data: ".concat(String.valueOf(v8_0)));
                        if ((v8_0.length() > 0) && (v2_7 != null)) {
                            java.util.Map v0_10 = com.appsflyer.h.c(v8_0);
                            String v3_6 = ((String) v0_10.get("iscache"));
                            if ((v3_6 != null) && (Boolean.toString(0).equals(v3_6))) {
                                com.appsflyer.h.a(v2_7, "appsflyerConversionDataCacheExpiration", System.currentTimeMillis());
                            }
                            if (v0_10.containsKey("af_siteid")) {
                                if (!v0_10.containsKey("af_channel")) {
                                    String v5_0 = new Object[1];
                                    v5_0[0] = v0_10.get("af_siteid");
                                    com.appsflyer.AFLogger.c(String.format("[CrossPromotion] App was installed via %s\'s Cross Promotion", v5_0));
                                } else {
                                    StringBuilder v4_10 = new StringBuilder("[Invite] Detected App-Invite via channel: ");
                                    v4_10.append(((String) v0_10.get("af_channel")));
                                    com.appsflyer.AFLogger.c(v4_10.toString());
                                }
                            }
                            if (v0_10.containsKey("af_siteid")) {
                                StringBuilder v4_15 = new StringBuilder("[Invite] Detected App-Invite via channel: ");
                                v4_15.append(((String) v0_10.get("af_channel")));
                                com.appsflyer.AFLogger.c(v4_15.toString());
                            }
                            v0_10.put("is_first_launch", Boolean.toString(0));
                            StringBuilder v4_20 = new org.json.JSONObject(v0_10).toString();
                            if (v4_20 == null) {
                                com.appsflyer.h.a(v2_7, "attributionId", v8_0);
                            } else {
                                com.appsflyer.h.a(v2_7, "attributionId", v4_20);
                            }
                            StringBuilder v4_23 = new StringBuilder("iscache=");
                            v4_23.append(v3_6);
                            v4_23.append(" caching conversion data");
                            com.appsflyer.AFLogger.c(v4_23.toString());
                            if ((com.appsflyer.h.f() != null) && (this.d.intValue() <= 1)) {
                                try {
                                    java.util.Map v0_12 = com.appsflyer.h.c(v2_7);
                                } catch (com.appsflyer.l v2_9) {
                                    com.appsflyer.AFLogger.a("Exception while trying to fetch attribution data. ", v2_9);
                                }
                                this.a(v0_12);
                            }
                        }
                    }
                } else {
                    this.d.decrementAndGet();
                    return;
                }
            } else {
                return;
            }
        } else {
            return;
        }
    }

Method com.appsflyer.o$a.a() calling method java.net.URL.<init>()


    static javax.net.ssl.HttpsURLConnection a(String p1)
    {
        return ((javax.net.ssl.HttpsURLConnection) new java.net.URL(p1).openConnection());
    }

Method com.cast_music.b.a.a() calling method java.net.URL.<init>()

Couldn't retrieve source code

Method com.comscore.metrics.Request.a() calling method java.net.URL.<init>()


    protected java.net.URL a(java.net.URL p3, int p4, String p5)
    {
        switch (p4) {
            case 300:
            case 301:
            case 302:
            case 303:
            case 305:
                if (p5 != null) {
                    if (p4 != 305) {
                        java.net.Proxy v4_7 = new java.net.URL(p3, p5);
                        if (p3.getProtocol().equals(v4_7.getProtocol())) {
                            return v4_7;
                        } else {
                            return 0;
                        }
                    } else {
                        java.net.Proxy v4_1 = 0;
                        boolean v0_2 = new StringBuilder();
                        v0_2.append(p3.getProtocol());
                        v0_2.append(58);
                        if (p5.startsWith(v0_2.toString())) {
                            v4_1 = (p3.getProtocol().length() + 1);
                        }
                        if (p5.startsWith("//", v4_1)) {
                            v4_1 += 2;
                        }
                        this.b = ark>com.comscore.metrics.Requestark>.a(p5.substring(v4_1));
                        return p3;
                    }
                } else {
                    return 0;
                }
            case 304:
            default:
                return 0;
        }
    }

Method com.comscore.metrics.Request.process() calling method java.net.URL.<init>()


    public java.net.URL process(String p7)
    {
        this.availableConnection();
        String v7_3 = p7.concat(this.c.retrieveLabelsAsString(this.d.getMeasurementLabelOrder()));
        if ((v7_3.length() > 4096) && (v7_3.indexOf("&") > 0)) {
            java.net.URL v0_6 = v7_3.substring(0, 4088).lastIndexOf("&");
            try {
                String v3_4 = java.net.URLEncoder.encode(v7_3.substring((v0_6 + 1)), "UTF-8").replace("+", "%20");
            } catch (java.io.UnsupportedEncodingException) {
                v3_4 = "0";
            }
            StringBuilder v4_3 = new StringBuilder();
            v4_3.append(v7_3.substring(0, v0_6));
            v4_3.append("&ns_cut=");
            v4_3.append(v3_4);
            v7_3 = v4_3.toString();
        }
        if (v7_3.length() > 4096) {
            v7_3 = v7_3.substring(0, 4096);
        }
        try {
            return new java.net.URL(v7_3);
        } catch (java.net.MalformedURLException) {
            return 0;
        }
    }

Method com.facebook.GraphRequest.toHttpConnection() calling method java.net.URL.<init>()


    public static java.net.HttpURLConnection toHttpConnection(com.facebook.GraphRequestBatch p2)
    {
        com.facebook.GraphRequest.validateFieldsParamForGetRequests(p2);
        try {
            String v1_1;
            if (p2.size() != 1) {
                v1_1 = new java.net.URL(com.facebook.internal.ServerProtocol.getGraphUrlBase());
            } else {
                v1_1 = new java.net.URL(p2.get(0).getUrlForSingleRequest());
            }
        } catch (java.io.IOException v2_1) {
            throw new com.facebook.FacebookException("could not construct URL for request", v2_1);
        }
        String v0_5 = 0;
        try {
            String v1_3 = com.facebook.GraphRequest.createConnection(v1_1);
            try {
                com.facebook.GraphRequest.serializeToUrlConnection(p2, v1_3);
                return v1_3;
            } catch (java.io.IOException v2_2) {
                v0_5 = v1_3;
                com.facebook.internal.Utility.disconnectQuietly(v0_5);
                throw new com.facebook.FacebookException("could not construct request body", v2_2);
            }
        } catch (java.io.IOException v2_2) {
        }
        com.facebook.GraphRequest.serializeToUrlConnection(p2, v1_3);
        return v1_3;
    }

Method com.facebook.GraphResponse.getRequestForPagedResults() calling method java.net.URL.<init>()


    public com.facebook.GraphRequest getRequestForPagedResults(com.facebook.GraphResponse$PagingDirection p5)
    {
        String v5_2;
        if (this.graphObject == null) {
            v5_2 = 0;
        } else {
            com.facebook.GraphRequest v0_8 = this.graphObject.optJSONObject("paging");
            if (v0_8 == null) {
            } else {
                if (p5 != com.facebook.GraphResponse$PagingDirection.NEXT) {
                    v5_2 = v0_8.optString("previous");
                } else {
                    v5_2 = v0_8.optString("next");
                }
            }
        }
        if (!com.facebook.internal.Utility.isNullOrEmpty(v5_2)) {
            if ((v5_2 == null) || (!v5_2.equals(this.request.getUrlForSingleRequest()))) {
                try {
                    return new com.facebook.GraphRequest(this.request.getAccessToken(), new java.net.URL(v5_2));
                } catch (java.net.MalformedURLException) {
                    return 0;
                }
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

Method com.facebook.accountkit.internal.AccountKitGraphRequest.toHttpConnection() calling method java.net.URL.<init>()


    static java.net.HttpURLConnection toHttpConnection(com.facebook.accountkit.internal.AccountKitGraphRequest p3)
    {
        try {
            try {
                com.facebook.accountkit.AccountKitException v0_1 = com.facebook.accountkit.internal.AccountKitGraphRequest.createConnection(new java.net.URL(p3.getUrlForSingleRequest()));
                com.facebook.accountkit.internal.AccountKitGraphRequest.serializeToUrlConnection(p3, v0_1);
                return v0_1;
            } catch (java.net.UnknownHostException) {
                throw new com.facebook.accountkit.AccountKitException(com.facebook.accountkit.AccountKitError$Type.NETWORK_CONNECTION_ERROR, com.facebook.accountkit.internal.InternalAccountKitError.NO_NETWORK_CONNECTION);
            } catch (java.io.IOException v3_1) {
                throw new com.facebook.accountkit.AccountKitException(com.facebook.accountkit.AccountKitError$Type.INTERNAL_ERROR, com.facebook.accountkit.internal.InternalAccountKitError.CANNOT_CONSTRUCT_MESSAGE_BODY, v3_1);
            }
        } catch (java.io.IOException v3_4) {
            throw new com.facebook.accountkit.AccountKitException(com.facebook.accountkit.AccountKitError$Type.INTERNAL_ERROR, com.facebook.accountkit.internal.InternalAccountKitError.CANNOT_CONSTRUCT_URL, v3_4);
        }
        v0_1 = com.facebook.accountkit.internal.AccountKitGraphRequest.createConnection(new java.net.URL(p3.getUrlForSingleRequest()));
        com.facebook.accountkit.internal.AccountKitGraphRequest.serializeToUrlConnection(p3, v0_1);
        return v0_1;
    }

Method com.facebook.ads.internal.e.b.a() calling method java.net.URL.<init>()


    private static java.net.URL a()
    {
        String v0_0 = com.facebook.ads.internal.settings.AdInternalSettings.getUrlPrefix();
        if (!android.text.TextUtils.isEmpty(v0_0)) {
            Object[] v4_1 = new Object[1];
            v4_1[0] = v0_0;
            return new java.net.URL(String.format(java.util.Locale.US, "https://mobile.%s.facebook.com/sbx/cydonia/", v4_1));
        } else {
            return new java.net.URL("https://mobile.facebook.com/sbx/cydonia/");
        }
    }

Method com.facebook.ads.internal.f.c.d() calling method java.net.URL.<init>()


    private android.graphics.Bitmap d(String p2, int p3, int p4)
    {
        java.io.InputStream v2_2 = ((java.net.HttpURLConnection) new java.net.URL(p2).openConnection());
        v2_2.setDoInput(1);
        v2_2.connect();
        java.io.InputStream v2_3 = v2_2.getInputStream();
        android.graphics.Bitmap v3_1 = com.facebook.ads.internal.s.b.c.a(v2_3, p3, p4);
        com.facebook.ads.internal.f.c.a(v2_3);
        return v3_1;
    }

Method com.facebook.ads.internal.r.a.a.a() calling method java.net.URL.<init>()


    protected java.net.HttpURLConnection a(String p4)
    {
        try {
            new java.net.URL(p4);
            String v4_3 = this.a.a(p4);
            return v4_3;
        } catch (java.net.MalformedURLException v0_2) {
            StringBuilder v2_1 = new StringBuilder();
            v2_1.append(v4_3);
            v2_1.append(" is not a valid URL");
            throw new IllegalArgumentException(v2_1.toString(), v0_2);
        }
    }

Method com.facebook.internal.ImageDownloader.download() calling method java.net.URL.<init>()


    private static void download(com.facebook.internal.ImageDownloader$RequestKey p9, android.content.Context p10)
    {
        com.facebook.FacebookException v0 = 0;
        com.facebook.internal.ImageRequest v2_0 = 1;
        try {
            int v3_0 = ((java.net.HttpURLConnection) new java.net.URL(p9.uri.toString()).openConnection());
            try {
                boolean v10_2;
                com.facebook.internal.ImageDownloader$RequestKey v4_2;
                v3_0.setInstanceFollowRedirects(0);
                com.facebook.internal.ImageDownloader$RequestKey v4_1 = v3_0.getResponseCode();
            } catch (Throwable v9_1) {
                com.facebook.internal.Utility.closeQuietly(v0);
                com.facebook.internal.Utility.disconnectQuietly(v3_0);
                throw v9_1;
            } catch (boolean v10_1) {
                com.facebook.internal.ImageDownloader$RequestKey v4_0 = 0;
                com.facebook.internal.Utility.closeQuietly(v4_0);
                com.facebook.internal.Utility.disconnectQuietly(v3_0);
                if (v2_0 != null) {
                    com.facebook.internal.ImageDownloader.issueResponse(p9, v10_1, v0, 0);
                }
                return;
            }
            if (v4_1 == 200) {
                v10_2 = com.facebook.internal.ImageResponseCache.interceptAndCacheImageStream(p10, v3_0);
                try {
                    v4_2 = android.graphics.BitmapFactory.decodeStream(v10_2);
                } catch (Throwable v9_1) {
                    v0 = v10_2;
                } catch (com.facebook.internal.ImageDownloader$RequestKey v4_3) {
                    v4_0 = v10_2;
                    v10_1 = v4_3;
                }
            } else {
                switch (v4_1) {
                    case 301:
                    case 302:
                        try {
                            boolean v10_4 = v3_0.getHeaderField("location");
                        } catch (boolean v10_1) {
                            v4_0 = 0;
                            v2_0 = 0;
                        }
                        if (!com.facebook.internal.Utility.isNullOrEmpty(v10_4)) {
                            boolean v10_5 = android.net.Uri.parse(v10_4);
                            com.facebook.internal.UrlRedirectCache.cacheUriRedirect(p9.uri, v10_5);
                            com.facebook.internal.ImageRequest v2_3 = com.facebook.internal.ImageDownloader.removePendingRequest(p9);
                            if ((v2_3 != null) && (!v2_3.isCancelled)) {
                                com.facebook.internal.ImageDownloader.enqueueCacheRead(v2_3.request, new com.facebook.internal.ImageDownloader$RequestKey(v10_5, p9.tag), 0);
                            }
                        }
                        v10_2 = 0;
                        v4_2 = 0;
                        v2_0 = 0;
                    default:
                        v4_0 = v3_0.getErrorStream();
                        try {
                            Object v5_3 = new StringBuilder();
                        } catch (Throwable v9_1) {
                            v0 = v4_0;
                        } catch (boolean v10_1) {
                        }
                        if (v4_0 == null) {
                            v5_3.append(p10.getString(com.facebook.R$string.com_facebook_image_download_unknown_error));
                        } else {
                            boolean v10_8 = new java.io.InputStreamReader(v4_0);
                            int v6_2 = new char[128];
                            while(true) {
                                int v7_1 = v10_8.read(v6_2, 0, v6_2.length);
                                if (v7_1 <= 0) {
                                    break;
                                }
                                v5_3.append(v6_2, 0, v7_1);
                            }
                            com.facebook.internal.Utility.closeQuietly(v10_8);
                        }
                        v0 = new com.facebook.FacebookException(v5_3.toString());
                        v10_2 = v4_0;
                        v4_2 = 0;
                }
            }
            com.facebook.internal.Utility.closeQuietly(v10_2);
            com.facebook.internal.Utility.disconnectQuietly(v3_0);
            v10_1 = v0;
            v0 = v4_2;
        } catch (Throwable v9_1) {
            v3_0 = 0;
        } catch (boolean v10_1) {
            v3_0 = 0;
            v4_0 = 0;
        }
    }

Method com.g.a.c.a() calling method java.net.URL.<init>()


    public boolean a(java.util.Map p8)
    {
        try {
            com.g.a.j.a("Inside postSQSMessage");
        } catch (StringBuilder v8_3) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v8_3);
            com.g.a.j.a("Exception : MF_WV_0730");
            return 0;
        }
        if (Integer.parseInt(((String) p8.get("sdk_3party_server1_response_code"))) == 0) {
            p8 = new com.g.a.i(this.a).a(p8);
            if (Integer.parseInt(((String) p8.get("sdk_3party_server1_response_code"))) == 0) {
                com.g.a.j.a("Unable to connect to the 3party Server");
                return 0;
            }
        }
        String v1_23 = new org.json.JSONObject();
        String v2_8 = new com.g.a.d(this.a).b("mf_is_install", "true").equalsIgnoreCase("true");
        StringBuilder v8_6 = p8.entrySet().iterator();
        while (v8_6.hasNext()) {
            int v3_1 = ((java.util.Map$Entry) v8_6.next());
            v1_23.put(((String) v3_1.getKey()), v3_1.getValue());
        }
        if (this.a()) {
            StringBuilder v8_10 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL("https://sqs.us-west-2.amazonaws.com/632228229419/mf_sdk_datapoints_queue?").openConnection());
            v8_10.setRequestMethod("POST");
            v8_10.setRequestProperty("Accept-Language", "en-US,en;q=0.5");
            v8_10.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            v8_10.setHostnameVerifier(new ark>com.g.a.cark>$1(this));
            v8_10.setDoOutput(1);
            java.io.DataOutputStream v4_6 = new java.io.DataOutputStream(v8_10.getOutputStream());
            String v1_29 = android.util.Base64.encodeToString(v1_23.toString().getBytes("UTF-8"), 0);
            String v5_3 = this.a.getPackageName();
            if (v2_8 == null) {
                com.g.a.j.a("It is an update");
                StringBuilder v8_13 = new StringBuilder();
                v8_13.append("Action=SendMessage&MessageBody=");
                v8_13.append(v1_29);
                v8_13.append("&MessageAttribute.1.Name=mf_sdk_version");
                v8_13.append("&MessageAttribute.1.Value.StringValue=2.7.1");
                v8_13.append("&MessageAttribute.1.Value.DataType=String");
                v8_13.append("&MessageAttribute.2.Name=mf_is_install");
                v8_13.append("&MessageAttribute.2.Value.StringValue=0");
                v8_13.append("&MessageAttribute.2.Value.DataType=String");
                v8_13.append("&MessageAttribute.3.Name=installed_app");
                v8_13.append("&MessageAttribute.3.Value.StringValue=");
                v8_13.append(v5_3);
                v8_13.append("&MessageAttribute.3.Value.DataType=String");
                v8_13.toString();
                return 1;
            } else {
                com.g.a.j.a("Fresh install");
                String v2_2 = new StringBuilder();
                v2_2.append("Action=SendMessage&MessageBody=");
                v2_2.append(v1_29);
                v2_2.append("&MessageAttribute.1.Name=mf_sdk_version");
                v2_2.append("&MessageAttribute.1.Value.StringValue=2.7.1");
                v2_2.append("&MessageAttribute.1.Value.DataType=String");
                v2_2.append("&MessageAttribute.2.Name=mf_is_install");
                v2_2.append("&MessageAttribute.2.Value.StringValue=1");
                v2_2.append("&MessageAttribute.2.Value.DataType=String");
                v2_2.append("&MessageAttribute.3.Name=installed_app");
                v2_2.append("&MessageAttribute.3.Value.StringValue=");
                v2_2.append(v5_3);
                v2_2.append("&MessageAttribute.3.Value.DataType=String");
                v4_6.writeBytes(v2_2.toString());
                StringBuilder v8_1 = v8_10.getResponseCode();
                String v1_15 = new StringBuilder();
                v1_15.append("MFilterit Response : ");
                v1_15.append(v8_1);
                com.g.a.j.a(v1_15.toString());
                if (v8_1 != 200) {
                    return 0;
                } else {
                    return 1;
                }
            }
        } else {
            return 0;
        }
    }

Method com.g.a.i.c() calling method java.net.URL.<init>()


    public String c()
    {
        try {
            String v0_5 = this.b.a(this.a.getPackageName());
        } catch (String v0_9) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_9);
            com.g.a.j.a("Exception : MF_WV_0730");
            return "1";
        }
        if (v0_5.getInt("server1_initiate_request") != 1) {
            return "1";
        } else {
            String v0_4 = ((java.net.HttpURLConnection) new java.net.URL(v0_5.getString("server1_url")).openConnection());
            v0_4.setRequestMethod("POST");
            v0_4.setRequestProperty("Content-Type", "application/json");
            int v1_7 = new org.json.JSONObject();
            java.io.OutputStream v3_2 = new java.util.LinkedHashMap();
            v3_2.put("sdk_gaid", this.b());
            v3_2.put("sdk_deviceid", this.a());
            v3_2.put("sdk_installed_app", this.a.getPackageName());
            java.io.OutputStream v3_4 = v3_2.entrySet().iterator();
            while (v3_4.hasNext()) {
                Object v4_5 = ((java.util.Map$Entry) v3_4.next());
                v1_7.put(((String) v4_5.getKey()), v4_5.getValue());
            }
            v0_4.setDoOutput(1);
            new java.io.DataOutputStream(v0_4.getOutputStream()).writeBytes(v1_7.toString());
            String v0_6 = v0_4.getResponseCode();
            int v1_12 = new StringBuilder();
            v1_12.append("Datapoints_F Response : ");
            v1_12.append(v0_6);
            com.g.a.j.a(v1_12.toString());
            if (v0_6 != 200) {
                return "1";
            } else {
                return "1";
            }
        }
    }

Method com.g.a.k.a() calling method java.net.URL.<init>()


    public org.json.JSONObject a(String p4)
    {
        try {
            org.json.JSONObject v0_1 = new StringBuilder();
            v0_1.append("https://eo9jrbahqb.execute-api.us-west-2.amazonaws.com/prod/get_sdk_configuration?installed_app=");
            v0_1.append(p4);
            String v4_2 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(v0_1.toString()).openConnection());
            v4_2.setRequestMethod("GET");
            v4_2.setRequestProperty("Content-Type", "application/json");
            org.json.JSONObject v0_5 = new java.io.DataInputStream(v4_2.getInputStream());
            String v4_5 = new StringBuffer();
        } catch (String v4_7) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v4_7);
            com.g.a.j.a("Exception : MF_GCONFIG_0730");
            return 0;
        }
        while(true) {
            String v1_2 = v0_5.readLine();
            if (v1_2 == null) {
                break;
            }
            v4_5.append(v1_2);
            System.out.println(v1_2);
        }
        v0_5.close();
        return new org.json.JSONObject(v4_5.toString());
    }

Method com.android.volley.toolbox.f.performRequest() calling method java.net.URL.<init>()


    public org.apache.http.HttpResponse performRequest(com.android.volley.Request p5, java.util.Map p6)
    {
        String v6_1;
        org.apache.http.message.BasicHttpResponse v0_0 = p5.getUrl();
        org.apache.http.message.BasicHeader v1_2 = new java.util.HashMap();
        v1_2.putAll(p5.getHeaders());
        v1_2.putAll(p6);
        if (this.mUrlRewriter == null) {
            v6_1 = v0_0;
        } else {
            v6_1 = this.mUrlRewriter.a(v0_0);
            if (v6_1 == null) {
                String v6_15 = new StringBuilder();
                v6_15.append("URL blocked by rewriter: ");
                v6_15.append(v0_0);
                throw new java.io.IOException(v6_15.toString());
            }
        }
        String v6_4 = this.openConnection(new java.net.URL(v6_1), p5);
        org.apache.http.message.BasicHttpResponse v0_4 = v1_2.keySet().iterator();
        while (v0_4.hasNext()) {
            String v2_8 = ((String) v0_4.next());
            v6_4.addRequestProperty(v2_8, ((String) v1_2.get(v2_8)));
        }
        com.android.volley.toolbox.f.setConnectionParametersForRequest(v6_4, p5);
        org.apache.http.message.BasicHttpResponse v0_6 = new org.apache.http.ProtocolVersion("HTTP", 1, 1);
        if (v6_4.getResponseCode() != -1) {
            org.apache.http.message.BasicHeader v1_5 = new org.apache.http.message.BasicStatusLine(v0_6, v6_4.getResponseCode(), v6_4.getResponseMessage());
            org.apache.http.message.BasicHttpResponse v0_8 = new org.apache.http.message.BasicHttpResponse(v1_5);
            if (com.android.volley.toolbox.f.hasResponseBody(p5.getMethod(), v1_5.getStatusCode())) {
                v0_8.setEntity(com.android.volley.toolbox.f.entityFromConnection(v6_4));
            }
            java.util.Iterator v5_7 = v6_4.getHeaderFields().entrySet().iterator();
            while (v5_7.hasNext()) {
                String v6_7 = ((java.util.Map$Entry) v5_7.next());
                if (v6_7.getKey() != null) {
                    v0_8.addHeader(new org.apache.http.message.BasicHeader(((String) v6_7.getKey()), ((String) ((java.util.List) v6_7.getValue()).get(0))));
                }
            }
            return v0_8;
        } else {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        }
    }

Method com.appsflyer.h.a() calling method java.net.URL.<init>()


    static synthetic void a(ark>com.appsflyer.hark> p9, String p10, String p11, String p12, ref.WeakReference p13, String p14, boolean p15)
    {
        String v1_1 = new java.net.URL(p10);
        String v0_7 = new StringBuilder("url: ");
        v0_7.append(v1_1.toString());
        com.appsflyer.AFLogger.d(v0_7.toString());
        com.appsflyer.y$3.b("data: ".concat(String.valueOf(p11)));
        ark>com.appsflyer.hark>.a(((android.content.Context) p13.get()), "AppsFlyer_4.8.13", "EVENT_DATA", p11);
        try {
            p9.a(v1_1, p11, p12, p13, p14, p15);
            return;
        } catch (String v0_6) {
            com.appsflyer.AFLogger.a("Exception in sendRequestToServer. ", v0_6);
            if (!com.appsflyer.i.a().b("useHttpFallback", 0)) {
                android.content.Context v9_2 = new StringBuilder("failed to send requeset to server. ");
                v9_2.append(v0_6.getLocalizedMessage());
                com.appsflyer.AFLogger.d(v9_2.toString());
                ark>com.appsflyer.hark>.a(((android.content.Context) p13.get()), "AppsFlyer_4.8.13", "ERROR", v0_6.getLocalizedMessage());
                throw v0_6;
            } else {
                p9.a(new java.net.URL(p10.replace("https:", "http:")), p11, p12, p13, p14, p15);
                return;
            }
        }
    }

Method com.bumptech.glide.load.a.h.a() calling method java.net.URL.<init>()

Couldn't retrieve source code

Method com.bumptech.glide.load.b.g.d() calling method java.net.URL.<init>()


    private java.net.URL d()
    {
        if (this.f == null) {
            this.f = new java.net.URL(this.e());
        }
        return this.f;
    }

Method com.facebook.ads.internal.r.a.f.a() calling method java.net.URL.<init>()


    public java.net.HttpURLConnection a(String p2)
    {
        return ((java.net.HttpURLConnection) new java.net.URL(p2).openConnection());
    }

Method com.facebook.ads.internal.r.b.h.a() calling method java.net.URL.<init>()


    private java.net.HttpURLConnection a(int p8, int p9)
    {
        String v0_0 = this.a;
        int v2 = 0;
        do {
            int v5_2;
            int v4_4 = new StringBuilder();
            v4_4.append("Open connection ");
            if (p8 <= null) {
                v5_2 = "";
            } else {
                int v5_1 = new StringBuilder();
                v5_1.append(" with offset ");
                v5_1.append(p8);
                v5_2 = v5_1.toString();
            }
            v4_4.append(v5_2);
            v4_4.append(" to ");
            v4_4.append(v0_0);
            android.util.Log.d("ProxyCache", v4_4.toString());
            java.net.HttpURLConnection v3_3 = ((java.net.HttpURLConnection) new java.net.URL(v0_0).openConnection());
            if (p8 > null) {
                int v5_5 = new StringBuilder();
                v5_5.append("bytes=");
                v5_5.append(p8);
                v5_5.append("-");
                v3_3.setRequestProperty("Range", v5_5.toString());
            }
            if (p9 > null) {
                v3_3.setConnectTimeout(p9);
                v3_3.setReadTimeout(p9);
            }
            int v4_5;
            int v4_3 = v3_3.getResponseCode();
            if ((v4_3 != 301) && ((v4_3 != 302) && (v4_3 != 303))) {
                v4_5 = 0;
            } else {
                v4_5 = 1;
            }
            if (v4_5 != 0) {
                v0_0 = v3_3.getHeaderField("Location");
                v2++;
                v3_3.disconnect();
            }
            if (v2 <= 5) {
            } else {
                String v9_2 = new StringBuilder();
                v9_2.append("Too many redirects: ");
                v9_2.append(v2);
                throw new com.facebook.ads.internal.r.b.l(v9_2.toString());
            }
        } while(v4_5 != 0);
        return v3_3;
    }

Method com.exoplayer2.upstream.c.a() calling method java.net.URL.<init>()


    private java.net.HttpURLConnection a(com.google.android.exoplayer2.upstream.DataSpec p21)
    {
        java.net.URL v1_4 = new java.net.URL(p21.uri.toString());
        int v2_4 = p21.httpMethod;
        int v3_1 = p21.httpBody;
        long v14 = p21.position;
        long v12_1 = p21.length;
        boolean v16 = p21.isFlagSet(1);
        int v11_0 = this;
        if (this.d) {
            int v0_2 = 0;
            while(true) {
                int v8_0 = (v0_2 + 1);
                if (v0_2 > 20) {
                    int v17_0 = v8_0;
                    java.net.URL v1_2 = new StringBuilder();
                    v1_2.append("Too many redirects: ");
                    v1_2.append(v17_0);
                    throw new java.net.NoRouteToHostException(v1_2.toString());
                } else {
                    int v17_1 = v8_0;
                    long v18 = v12_1;
                    int v0_6 = v11_0.a(v1_4, v2_4, v3_1, v14, v12_1, v16, 0);
                    int v4_2 = v0_6.getResponseCode();
                    String v5_2 = v0_6.getHeaderField("Location");
                    if (((v2_4 != 1) && (v2_4 != 3)) || ((v4_2 != 300) && ((v4_2 != 301) && ((v4_2 != 302) && ((v4_2 != 303) && ((v4_2 != 307) && (v4_2 != 308))))))) {
                        if ((v2_4 != 2) || ((v4_2 != 300) && ((v4_2 != 301) && ((v4_2 != 302) && (v4_2 != 303))))) {
                            break;
                        }
                        v0_6.disconnect();
                        v1_4 = ark>com.exoplayer2.upstream.cark>.a(v1_4, v5_2);
                        v3_1 = 0;
                        v2_4 = 1;
                    } else {
                        v0_6.disconnect();
                        v1_4 = ark>com.exoplayer2.upstream.cark>.a(v1_4, v5_2);
                    }
                    v11_0 = this;
                    v0_2 = v17_1;
                    v12_1 = v18;
                }
            }
            return v0_6;
        } else {
            return this.a(v1_4, v2_4, v3_1, v14, v12_1, v16, 1);
        }
    }

Method com.exoplayer2.upstream.c.a() calling method java.net.URL.<init>()


    private static java.net.URL a(java.net.URL p2, String p3)
    {
        if (p3 != null) {
            StringBuilder v0_3 = new java.net.URL(p2, p3);
            String v2_4 = v0_3.getProtocol();
            if (("https".equals(v2_4)) || ("http".equals(v2_4))) {
                return v0_3;
            } else {
                StringBuilder v0_2 = new StringBuilder();
                v0_2.append("Unsupported protocol redirect: ");
                v0_2.append(v2_4);
                throw new java.net.ProtocolException(v0_2.toString());
            }
        } else {
            throw new java.net.ProtocolException("Null location redirect");
        }
    }

Method com.google.ads.interactivemedia.v3.internal.jb.a() calling method java.net.URL.<init>()


    android.graphics.Bitmap a(String p2)
    {
        return android.graphics.BitmapFactory.decodeStream(new java.net.URL(p2).openConnection().getInputStream());
    }

Method com.google.android.gms.ads.identifier.zza.run() calling method java.net.URL.<init>()


    public final void run()
    {
        new com.google.android.gms.ads.identifier.zzc();
        String v0_3 = this.zzl;
        java.io.IOException v1_7 = android.net.Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
        String v2_0 = v0_3.keySet().iterator();
        while (v2_0.hasNext()) {
            String v3_0 = ((String) v2_0.next());
            v1_7.appendQueryParameter(v3_0, ((String) v0_3.get(v3_0)));
        }
        String v0_2 = v1_7.build().toString();
        try {
            java.io.IOException v1_3 = ((java.net.HttpURLConnection) new java.net.URL(v0_2).openConnection());
        } catch (java.io.IOException v1_6) {
            String v2_5 = "HttpUrlPinger";
            String v3_5 = v1_6.getMessage();
            StringBuilder v5_9 = new StringBuilder(((32 + String.valueOf(v0_2).length()) + String.valueOf(v3_5).length()));
            String v4_8 = "Error while parsing ping URL: ";
            v5_9.append(v4_8);
            v5_9.append(v0_2);
            v5_9.append(". ");
            v5_9.append(v3_5);
            android.util.Log.w(v2_5, v5_9.toString(), v1_6);
            return;
        } catch (java.io.IOException v1_6) {
            v2_5 = "HttpUrlPinger";
            v3_5 = v1_6.getMessage();
            v5_9 = new StringBuilder(((27 + String.valueOf(v0_2).length()) + String.valueOf(v3_5).length()));
            v4_8 = "Error while pinging URL: ";
            v5_9.append(v4_8);
            v5_9.append(v0_2);
            v5_9.append(". ");
            v5_9.append(v3_5);
            android.util.Log.w(v2_5, v5_9.toString(), v1_6);
            return;
        }
        String v2_1 = v1_3.getResponseCode();
        if ((v2_1 < 200) || (v2_1 >= 300)) {
            StringBuilder v5_3 = new StringBuilder((65 + String.valueOf(v0_2).length()));
            v5_3.append("Received non-success response code ");
            v5_3.append(v2_1);
            v5_3.append(" from pinging URL: ");
            v5_3.append(v0_2);
            android.util.Log.w("HttpUrlPinger", v5_3.toString());
        }
        v1_3.disconnect();
        return;
    }

Method com.google.android.gms.auth.api.signin.internal.zzd.run() calling method java.net.URL.<init>()


    public final void run()
    {
        com.google.android.gms.common.api.Status v0 = com.google.android.gms.common.api.Status.RESULT_INTERNAL_ERROR;
        try {
            com.google.android.gms.common.logging.Logger v3_0;
            com.google.android.gms.common.logging.Logger v3_7 = String.valueOf("https://accounts.google.com/o/oauth2/revoke?token=");
            Object[] v4_10 = String.valueOf(this.zzbe);
        } catch (String v2_10) {
            String v2_12 = String.valueOf(v2_10.toString());
            if (v2_12.length() == 0) {
                String v2_14 = new String("IOException when revoking access: ");
            } else {
                v2_14 = "IOException when revoking access: ".concat(v2_12);
            }
            com.google.android.gms.common.api.internal.StatusPendingResult v1_2 = new Object[0];
            com.google.android.gms.auth.api.signin.internal.zzd.zzbd.e(v2_14, v1_2);
            this.zzbf.setResult(v0);
            return;
        } catch (String v2_5) {
            String v2_7 = String.valueOf(v2_5.toString());
            if (v2_7.length() == 0) {
                String v2_9 = new String("Exception when revoking access: ");
            } else {
                v2_9 = "Exception when revoking access: ".concat(v2_7);
            }
            com.google.android.gms.common.api.internal.StatusPendingResult v1_1 = new Object[0];
            com.google.android.gms.auth.api.signin.internal.zzd.zzbd.e(v2_9, v1_1);
            this.zzbf.setResult(v0);
            return;
        }
        if (v4_10.length() == 0) {
            v3_0 = new String(v3_7);
        } else {
            v3_0 = v3_7.concat(v4_10);
        }
        String v2_3 = ((java.net.HttpURLConnection) new java.net.URL(v3_0).openConnection());
        v2_3.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
        String v2_4 = v2_3.getResponseCode();
        if (v2_4 != 200) {
            StringBuilder v5_1 = new Object[0];
            com.google.android.gms.auth.api.signin.internal.zzd.zzbd.e("Unable to revoke access!", v5_1);
        } else {
            v0 = com.google.android.gms.common.api.Status.RESULT_SUCCESS;
        }
        StringBuilder v5_5 = new StringBuilder(26);
        v5_5.append("Response Code: ");
        v5_5.append(v2_4);
        Object[] v4_9 = new Object[0];
        com.google.android.gms.auth.api.signin.internal.zzd.zzbd.d(v5_5.toString(), v4_9);
        this.zzbf.setResult(v0);
        return;
    }

Method com.google.ads.interactivemedia.v3.internal.hu$14.a() calling method java.net.URL.<init>()


    public java.net.URL a(com.google.ads.interactivemedia.v3.internal.hx p4)
    {
        java.net.URL v2_1 = 0;
        if (p4.f() != com.google.ads.interactivemedia.v3.internal.hy.i) {
            String v4_1 = p4.h();
            if (!"null".equals(v4_1)) {
                v2_1 = new java.net.URL(v4_1);
            }
            return v2_1;
        } else {
            p4.j();
            return 0;
        }
    }

Method com.google.android.gms.ads.internal.gmsg.HttpClient.zzc() calling method java.net.URL.<init>()


    private static com.google.android.gms.ads.internal.gmsg.HttpClient$zzb zzc(org.json.JSONObject p8)
    {
        String v0_1 = p8.optString("http_request_id");
        java.util.ArrayList v1_4 = p8.optString("url");
        String v2_1 = p8.optString("post_body", 0);
        try {
            java.net.URL v3_0 = new java.net.URL(v1_4);
        } catch (java.util.ArrayList v1_0) {
            com.google.android.gms.internal.ads.zzaxz.zzb("Error constructing http request.", v1_0);
        }
        java.util.ArrayList v1_2 = new java.util.ArrayList();
        com.google.android.gms.ads.internal.gmsg.HttpClient$zzb v8_1 = p8.optJSONArray("headers");
        if (v8_1 == null) {
            v8_1 = new org.json.JSONArray();
        }
        int v4_4 = 0;
        while (v4_4 < v8_1.length()) {
            String v5_1 = v8_1.optJSONObject(v4_4);
            if (v5_1 != null) {
                v1_2.add(new com.google.android.gms.ads.internal.gmsg.HttpClient$zza(v5_1.optString("key"), v5_1.optString("value")));
            }
            v4_4++;
        }
        return new com.google.android.gms.ads.internal.gmsg.HttpClient$zzb(v0_1, v3_0, v1_2, v2_1);
    }

Method com.google.android.gms.internal.ads.zzbbh.zzed() calling method java.net.URL.<init>()


    public final void zzed(String p6)
    {
        try {
            java.net.HttpURLConnection v1_2;
            String v2_10 = String.valueOf(p6);
        } catch (String v0_1) {
            String v0_2 = v0_1.getMessage();
            String v2_5 = new StringBuilder(((32 + String.valueOf(p6).length()) + String.valueOf(v0_2).length()));
            v2_5.append("Error while parsing ping URL: ");
            v2_5.append(p6);
            v2_5.append(". ");
            v2_5.append(v0_2);
            com.google.android.gms.internal.ads.zzbbd.zzeo(v2_5.toString());
            return;
        } catch (java.net.HttpURLConnection v1_12) {
            java.net.HttpURLConnection v1_13 = v1_12.getMessage();
            String v2_31 = new StringBuilder(((27 + String.valueOf(p6).length()) + String.valueOf(v1_13).length()));
            v2_31.append("Error while pinging URL: ");
            v2_31.append(p6);
            v2_31.append(". ");
            v2_31.append(v1_13);
            com.google.android.gms.internal.ads.zzbbd.zzeo(v2_31.toString());
            return;
        } catch (java.net.HttpURLConnection v1_10) {
            java.net.HttpURLConnection v1_11 = v1_10.getMessage();
            String v2_23 = new StringBuilder(((27 + String.valueOf(p6).length()) + String.valueOf(v1_11).length()));
            v2_23.append("Error while pinging URL: ");
            v2_23.append(p6);
            v2_23.append(". ");
            v2_23.append(v1_11);
            com.google.android.gms.internal.ads.zzbbd.zzeo(v2_23.toString());
            return;
        }
        if (v2_10.length() == 0) {
            v1_2 = new String("Pinging URL: ");
        } else {
            v1_2 = "Pinging URL: ".concat(v2_10);
        }
        com.google.android.gms.internal.ads.zzbbd.zzdn(v1_2);
        java.net.HttpURLConnection v1_9 = ((java.net.HttpURLConnection) new java.net.URL(p6).openConnection());
        com.google.android.gms.internal.ads.zzwu.zzpv();
        com.google.android.gms.internal.ads.zzbat.zza(1, v1_9, this.zzeiz);
        String v2_8 = new com.google.android.gms.internal.ads.zzbax();
        v2_8.zza(v1_9, 0);
        int v3_2 = v1_9.getResponseCode();
        v2_8.zza(v1_9, v3_2);
        if ((v3_2 < 200) || (v3_2 >= 300)) {
            StringBuilder v4_3 = new StringBuilder((65 + String.valueOf(p6).length()));
            v4_3.append("Received non-success response code ");
            v4_3.append(v3_2);
            v4_3.append(" from pinging URL: ");
            v4_3.append(p6);
            com.google.android.gms.internal.ads.zzbbd.zzeo(v4_3.toString());
        }
        v1_9.disconnect();
        return;
    }

Method com.google.android.gms.internal.ads.zzbgh.zze() calling method java.net.URL.<init>()


    private final android.webkit.WebResourceResponse zze(String p8, java.util.Map p9)
    {
        java.net.URL v1_0 = new java.net.URL(p8);
        int v0_4 = 0;
        while(true) {
            v0_4++;
            if (v0_4 > 20) {
                break;
            }
            java.net.HttpURLConnection v2_0 = v1_0.openConnection();
            v2_0.setConnectTimeout(10000);
            v2_0.setReadTimeout(10000);
            String v3_2 = p9.entrySet().iterator();
            while (v3_2.hasNext()) {
                int v4_1 = ((java.util.Map$Entry) v3_2.next());
                v2_0.addRequestProperty(((String) v4_1.getKey()), ((String) v4_1.getValue()));
            }
            if ((v2_0 instanceof java.net.HttpURLConnection)) {
                java.net.HttpURLConnection v2_1 = ((java.net.HttpURLConnection) v2_0);
                com.google.android.gms.ads.internal.zzbv.zzlf().zza(this.zzdin.getContext(), this.zzdin.zzabz().zzdp, 0, v2_1);
                String v3_6 = new com.google.android.gms.internal.ads.zzbax();
                v3_6.zza(v2_1, 0);
                java.net.URL v5_5 = v2_1.getResponseCode();
                v3_6.zza(v2_1, v5_5);
                if ((v5_5 < 300) || (v5_5 >= 400)) {
                    com.google.android.gms.ads.internal.zzbv.zzlf();
                    return com.google.android.gms.internal.ads.zzayh.zzd(v2_1);
                } else {
                    String v3_10 = v2_1.getHeaderField("Location");
                    if (v3_10 != null) {
                        java.net.URL v5_7 = new java.net.URL(v1_0, v3_10);
                        java.net.URL v1_1 = v5_7.getProtocol();
                        if (v1_1 != null) {
                            if ((v1_1.equals("http")) || (v1_1.equals("https"))) {
                                java.net.URL v1_3;
                                String v3_11 = String.valueOf(v3_10);
                                if (v3_11.length() == 0) {
                                    v1_3 = new String("Redirecting to ");
                                } else {
                                    v1_3 = "Redirecting to ".concat(v3_11);
                                }
                                com.google.android.gms.internal.ads.zzaxz.zzdn(v1_3);
                                v2_1.disconnect();
                                v1_0 = v5_7;
                            } else {
                                String v8_11;
                                String v9_6 = String.valueOf(v1_1);
                                if (v9_6.length() == 0) {
                                    v8_11 = new String("Unsupported scheme: ");
                                } else {
                                    v8_11 = "Unsupported scheme: ".concat(v9_6);
                                }
                                com.google.android.gms.internal.ads.zzaxz.zzeo(v8_11);
                                return 0;
                            }
                        } else {
                            com.google.android.gms.internal.ads.zzaxz.zzeo("Protocol is null");
                            return 0;
                        }
                    } else {
                        throw new java.io.IOException("Missing Location header in redirect");
                    }
                }
            } else {
                throw new java.io.IOException("Invalid protocol.");
            }
        }
        int v0_3 = new StringBuilder(32);
        v0_3.append("Too many redirects (20)");
        throw new java.io.IOException(v0_3.toString());
    }

Method com.google.android.gms.internal.ads.zzbhu.zze() calling method java.net.URL.<init>()


    private final android.webkit.WebResourceResponse zze(com.google.android.gms.internal.ads.zzbif p9)
    {
        java.net.URL v2_0 = new java.net.URL(p9.url);
        String v0_7 = 0;
        while(true) {
            v0_7++;
            if (v0_7 > 20) {
                break;
            }
            java.net.HttpURLConnection v3_0 = v2_0.openConnection();
            v3_0.setConnectTimeout(10000);
            v3_0.setReadTimeout(10000);
            String v4_3 = p9.zzab.entrySet().iterator();
            while (v4_3.hasNext()) {
                int v5_1 = ((java.util.Map$Entry) v4_3.next());
                v3_0.addRequestProperty(((String) v5_1.getKey()), ((String) v5_1.getValue()));
            }
            if ((v3_0 instanceof java.net.HttpURLConnection)) {
                java.net.HttpURLConnection v3_1 = ((java.net.HttpURLConnection) v3_0);
                com.google.android.gms.ads.internal.zzbv.zzlf().zza(this.zzdin.getContext(), this.zzdin.zzabz().zzdp, 0, v3_1);
                String v4_7 = new com.google.android.gms.internal.ads.zzbax();
                v4_7.zza(v3_1, 0);
                java.net.URL v6_5 = v3_1.getResponseCode();
                v4_7.zza(v3_1, v6_5);
                if ((v6_5 < 300) || (v6_5 >= 400)) {
                    com.google.android.gms.ads.internal.zzbv.zzlf();
                    return com.google.android.gms.internal.ads.zzayh.zzd(v3_1);
                } else {
                    String v4_11 = v3_1.getHeaderField("Location");
                    if (v4_11 != null) {
                        java.net.URL v6_7 = new java.net.URL(v2_0, v4_11);
                        java.net.URL v2_1 = v6_7.getProtocol();
                        if (v2_1 != null) {
                            if ((v2_1.equals("http")) || (v2_1.equals("https"))) {
                                java.net.URL v2_3;
                                String v4_12 = String.valueOf(v4_11);
                                if (v4_12.length() == 0) {
                                    v2_3 = new String("Redirecting to ");
                                } else {
                                    v2_3 = "Redirecting to ".concat(v4_12);
                                }
                                com.google.android.gms.internal.ads.zzaxz.zzdn(v2_3);
                                v3_1.disconnect();
                                v2_0 = v6_7;
                            } else {
                                String v9_1;
                                String v0_8 = String.valueOf(v2_1);
                                if (v0_8.length() == 0) {
                                    v9_1 = new String("Unsupported scheme: ");
                                } else {
                                    v9_1 = "Unsupported scheme: ".concat(v0_8);
                                }
                                com.google.android.gms.internal.ads.zzaxz.zzeo(v9_1);
                                return 0;
                            }
                        } else {
                            com.google.android.gms.internal.ads.zzaxz.zzeo("Protocol is null");
                            return 0;
                        }
                    } else {
                        throw new java.io.IOException("Missing Location header in redirect");
                    }
                }
            } else {
                throw new java.io.IOException("Invalid protocol.");
            }
        }
        int v1_2 = new StringBuilder(32);
        v1_2.append("Too many redirects (20)");
        throw new java.io.IOException(v1_2.toString());
    }

Method com.google.android.gms.internal.ads.zzpb.zza() calling method java.net.URL.<init>()


    public final long zza(com.google.android.gms.internal.ads.zzoz p25)
    {
        this.zzazo = p25;
        long v12 = 0;
        this.zzcd = 0;
        this.zzbgr = 0;
        try {
            String v1_5;
            com.google.android.gms.internal.ads.zzpc v2_2 = new java.net.URL(p25.uri.toString());
            int v3_1 = p25.zzbft;
            boolean v8_1 = p25.zzaha;
            long v6 = p25.zzcc;
            boolean v15 = p25.zzbg(1);
        } catch (java.io.IOException v0_0) {
            String v1_6 = v0_0;
            int v4_3 = String.valueOf(p25.uri.toString());
            if (v4_3.length() == 0) {
                int v3_2 = new String("Unable to connect to ");
            } else {
                v3_2 = "Unable to connect to ".concat(v4_3);
            }
            throw new com.google.android.gms.internal.ads.zzpc(v3_2, v1_6, p25, 1);
        }
        if (this.zzbgf) {
            int v4_11 = v2_2;
            int v16_1 = v3_1;
            String v1_26 = 0;
            while(true) {
                long v5_5 = (v1_26 + 1);
                if (v1_26 > 20) {
                    int v18_0 = v5_5;
                    int v3_13 = new StringBuilder(31);
                    v3_13.append("Too many redirects: ");
                    v3_13.append(v18_0);
                    throw new java.net.NoRouteToHostException(v3_13.toString());
                } else {
                    String v19 = v4_11;
                    int v18_1 = v5_5;
                    long v20 = v6;
                    boolean v22 = v8_1;
                    v1_5 = this.zza(v4_11, v16_1, v8_1, v6, v15, 0);
                    com.google.android.gms.internal.ads.zzpc v2_20 = v1_5.getResponseCode();
                    if ((v2_20 != 300) && ((v2_20 != 301) && ((v2_20 != 302) && (v2_20 != 303)))) {
                        if (v16_1 != 0) {
                            this.zzbgn = v1_5;
                            try {
                                String v1_8 = this.zzbgn.getResponseCode();
                            } catch (java.io.IOException v0_1) {
                                String v1_9 = v0_1;
                                this.zzgw();
                                int v4_8 = String.valueOf(p25.uri.toString());
                                if (v4_8.length() == 0) {
                                    int v3_4 = new String("Unable to connect to ");
                                } else {
                                    v3_4 = "Unable to connect to ".concat(v4_8);
                                }
                                throw new com.google.android.gms.internal.ads.zzpc(v3_4, v1_9, p25, 1);
                            }
                            if ((v1_8 >= 200) && (v1_8 <= 299)) {
                                this.zzbgn.getContentType();
                                if ((v1_8 == 200) && (p25.zzaha != 0)) {
                                    v12 = p25.zzaha;
                                }
                                this.zzbgp = v12;
                                if (p25.zzbg(1)) {
                                    this.zzbgq = p25.zzcc;
                                } else {
                                    int v3_8 = -1;
                                    if (p25.zzcc == -1) {
                                        String v1_16 = com.google.android.gms.internal.ads.zzpb.zzc(this.zzbgn);
                                        if (v1_16 != -1) {
                                            v3_8 = (v1_16 - this.zzbgp);
                                        }
                                        this.zzbgq = v3_8;
                                    } else {
                                        this.zzbgq = p25.zzcc;
                                    }
                                }
                                try {
                                    this.zzbgo = this.zzbgn.getInputStream();
                                    this.zzbfr = 1;
                                } catch (java.io.IOException v0_2) {
                                    String v1_21 = v0_2;
                                    this.zzgw();
                                    throw new com.google.android.gms.internal.ads.zzpc(v1_21, p25, 1);
                                }
                                if (this.zzbgm != null) {
                                    this.zzbgm.zza(this, p25);
                                }
                                return this.zzbgq;
                            } else {
                                com.google.android.gms.internal.ads.zzpc v2_11 = this.zzbgn.getHeaderFields();
                                this.zzgw();
                                int v3_11 = new com.google.android.gms.internal.ads.zzpd(v1_8, v2_11, p25);
                                if (v1_8 == 416) {
                                    v3_11.initCause(new com.google.android.gms.internal.ads.zzox(0));
                                }
                                throw v3_11;
                            }
                        } else {
                            if (v2_20 != 307) {
                                if (v2_20 != 308) {
                                } else {
                                }
                            }
                        }
                    }
                    v16_1 = 0;
                    int v3_22 = v1_5.getHeaderField("Location");
                    v1_5.disconnect();
                    if (v3_22 != 0) {
                        v4_11 = new java.net.URL(v19, v3_22);
                        String v1_31 = v4_11.getProtocol();
                        if ((!"https".equals(v1_31)) && (!"http".equals(v1_31))) {
                            break;
                        }
                        v1_26 = v18_1;
                        v6 = v20;
                        v8_1 = v22;
                    } else {
                        throw new java.net.ProtocolException("Null location redirect");
                    }
                }
            }
            String v1_1;
            String v1_33 = String.valueOf(v1_31);
            if (v1_33.length() == 0) {
                v1_1 = new String("Unsupported protocol redirect: ");
            } else {
                v1_1 = "Unsupported protocol redirect: ".concat(v1_33);
            }
            throw new java.net.ProtocolException(v1_1);
        } else {
            v1_5 = this.zza(v2_2, v3_1, v8_1, v6, v15, 1);
        }
    }

Method com.google.android.gms.internal.measurement.zzrq.zzez() calling method java.net.URL.<init>()


    public final java.io.InputStream zzez(String p3)
    {
        String v3_7 = ((java.net.HttpURLConnection) new java.net.URL(p3).openConnection());
        v3_7.setReadTimeout(20000);
        v3_7.setConnectTimeout(20000);
        this.zzbop = v3_7;
        String v3_8 = this.zzbop;
        java.io.IOException v0_2 = v3_8.getResponseCode();
        if (v0_2 != 200) {
            int v1_2 = new StringBuilder(25);
            v1_2.append("Bad response: ");
            v1_2.append(v0_2);
            String v3_3 = v1_2.toString();
            if (v0_2 != 404) {
                if (v0_2 != 503) {
                    throw new java.io.IOException(v3_3);
                } else {
                    throw new com.google.android.gms.internal.measurement.zzrt(v3_3);
                }
            } else {
                throw new java.io.FileNotFoundException(v3_3);
            }
        } else {
            this.zzboq = v3_8.getInputStream();
            return this.zzboq;
        }
    }

Method com.google.android.gms.tagmanager.zzfu.zzd() calling method java.net.URL.<init>()


    private static java.net.URL zzd(com.google.android.gms.tagmanager.zzbw p1)
    {
        try {
            return new java.net.URL(p1.zzox());
        } catch (java.net.MalformedURLException) {
            com.google.android.gms.tagmanager.zzdi.e("Error trying to parse the GTM url.");
            return 0;
        }
    }

Method com.google.ads.mediation.inmobi.InMobiAppInstallNativeAdMapper.mapAppInstallAd() calling method java.net.URL.<init>()


    void mapAppInstallAd(android.content.Context p13)
    {
        try {
            if (this.mInMobiNative.getCustomAdContent() == null) {
                this.mMediationNativeListener.onAdFailedToLoad(this.mInMobiAdapter, 3);
                return;
            } else {
                com.google.ads.mediation.inmobi.InMobiAppInstallNativeAdMapper$2 v1_1 = this.mInMobiNative.getCustomAdContent();
                this.setHeadline(((String) com.google.ads.mediation.inmobi.InMobiAdapterUtils.mandatoryChecking(this.mInMobiNative.getAdTitle(), "title")));
                this.setBody(((String) com.google.ads.mediation.inmobi.InMobiAdapterUtils.mandatoryChecking(this.mInMobiNative.getAdDescription(), "description")));
                this.setCallToAction(((String) com.google.ads.mediation.inmobi.InMobiAdapterUtils.mandatoryChecking(this.mInMobiNative.getAdCtaText(), "cta")));
                java.util.HashMap v2_15 = ((String) com.google.ads.mediation.inmobi.InMobiAdapterUtils.mandatoryChecking(this.mInMobiNative.getAdLandingPageUrl(), "landingURL"));
                java.util.ArrayList v3_5 = new android.os.Bundle();
                v3_5.putString("landingURL", v2_15);
                this.setExtras(v3_5);
                this.mLandingUrlMap.put("landingURL", v2_15);
                java.util.HashMap v2_17 = new java.util.HashMap();
                java.util.ArrayList v3_8 = new java.net.URL(this.mInMobiNative.getAdIconUrl());
                android.net.Uri v4_6 = android.net.Uri.parse(v3_8.toURI().toString());
                Double v7 = Double.valueOf(1.0);
                if (this.mIsOnlyURL.booleanValue()) {
                    this.setIcon(new com.google.ads.mediation.inmobi.InMobiNativeMappedImage(0, v4_6, v7.doubleValue()));
                    java.util.ArrayList v3_12 = new java.util.ArrayList();
                    v3_12.add(new com.google.ads.mediation.inmobi.InMobiNativeMappedImage(new android.graphics.drawable.ColorDrawable(0), 0, 1.0));
                    this.setImages(v3_12);
                } else {
                    v2_17.put("icon_key", v3_8);
                }
                try {
                    if (!v1_1.has("rating")) {
                        if (!v1_1.has("package_name")) {
                            this.setStore("Others");
                        } else {
                            this.setStore("Google Play");
                        }
                        if (v1_1.has("price")) {
                            this.setPrice(v1_1.getString("price"));
                        }
                    } else {
                        this.setStarRating(Double.parseDouble(v1_1.getString("rating")));
                    }
                } catch (String v0_8) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_8);
                }
                String v0_12 = new android.widget.RelativeLayout(p13);
                v0_12.setLayoutParams(new android.view.ViewGroup$LayoutParams(-1, -1));
                v0_12.getViewTreeObserver().addOnGlobalLayoutListener(new com.google.ads.mediation.inmobi.InMobiAppInstallNativeAdMapper$1(this, v0_12));
                this.setMediaView(v0_12);
                this.setHasVideoContent(1);
                this.setOverrideClickHandling(0);
                if (this.mIsOnlyURL.booleanValue()) {
                    this.mMediationNativeListener.onAdLoaded(this.mInMobiAdapter, this);
                } else {
                    String v0_17 = new com.google.ads.mediation.inmobi.ImageDownloaderAsyncTask(new com.google.ads.mediation.inmobi.InMobiAppInstallNativeAdMapper$2(this, v4_6, v7));
                    com.google.android.gms.ads.mediation.MediationNativeListener v13_6 = new Object[1];
                    v13_6[0] = v2_17;
                    v0_17.execute(v13_6);
                }
                return;
            }
        } catch (com.google.android.gms.ads.mediation.MediationNativeListener v13_8) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v13_8);
            this.mMediationNativeListener.onAdFailedToLoad(this.mInMobiAdapter, 3);
            return;
        }
    }

Method com.google.android.exoplayer2.upstream.DefaultHttpDataSource.handleRedirect() calling method java.net.URL.<init>()


    private static java.net.URL handleRedirect(java.net.URL p2, String p3)
    {
        if (p3 != null) {
            StringBuilder v0_3 = new java.net.URL(p2, p3);
            String v2_4 = v0_3.getProtocol();
            if (("https".equals(v2_4)) || ("http".equals(v2_4))) {
                return v0_3;
            } else {
                StringBuilder v0_2 = new StringBuilder();
                v0_2.append("Unsupported protocol redirect: ");
                v0_2.append(v2_4);
                throw new java.net.ProtocolException(v0_2.toString());
            }
        } else {
            throw new java.net.ProtocolException("Null location redirect");
        }
    }

Method com.google.android.exoplayer2.upstream.DefaultHttpDataSource.makeConnection() calling method java.net.URL.<init>()


    private java.net.HttpURLConnection makeConnection(com.google.android.exoplayer2.upstream.DataSpec p21)
    {
        java.net.URL v1_4 = new java.net.URL(p21.uri.toString());
        int v2_4 = p21.httpMethod;
        int v3_1 = p21.httpBody;
        long v14 = p21.position;
        long v12_1 = p21.length;
        boolean v16 = p21.isFlagSet(1);
        int v11_0 = this;
        if (this.allowCrossProtocolRedirects) {
            int v0_2 = 0;
            while(true) {
                int v8_0 = (v0_2 + 1);
                if (v0_2 > 20) {
                    int v17_0 = v8_0;
                    java.net.URL v1_2 = new StringBuilder();
                    v1_2.append("Too many redirects: ");
                    v1_2.append(v17_0);
                    throw new java.net.NoRouteToHostException(v1_2.toString());
                } else {
                    int v17_1 = v8_0;
                    long v18 = v12_1;
                    int v0_6 = v11_0.makeConnection(v1_4, v2_4, v3_1, v14, v12_1, v16, 0);
                    int v4_2 = v0_6.getResponseCode();
                    String v5_2 = v0_6.getHeaderField("Location");
                    if (((v2_4 != 1) && (v2_4 != 3)) || ((v4_2 != 300) && ((v4_2 != 301) && ((v4_2 != 302) && ((v4_2 != 303) && ((v4_2 != 307) && (v4_2 != 308))))))) {
                        if ((v2_4 != 2) || ((v4_2 != 300) && ((v4_2 != 301) && ((v4_2 != 302) && (v4_2 != 303))))) {
                            break;
                        }
                        v0_6.disconnect();
                        v1_4 = com.google.android.exoplayer2.upstream.DefaultHttpDataSource.handleRedirect(v1_4, v5_2);
                        v3_1 = 0;
                        v2_4 = 1;
                    } else {
                        v0_6.disconnect();
                        v1_4 = com.google.android.exoplayer2.upstream.DefaultHttpDataSource.handleRedirect(v1_4, v5_2);
                    }
                    v11_0 = this;
                    v0_2 = v17_1;
                    v12_1 = v18;
                }
            }
            return v0_6;
        } else {
            return this.makeConnection(v1_4, v2_4, v3_1, v14, v12_1, v16, 1);
        }
    }

Method com.google.android.gms.internal.ads.zzas.zza() calling method java.net.URL.<init>()


    public final com.google.android.gms.internal.ads.zzaq zza(com.google.android.gms.internal.ads.zzr p7, java.util.Map p8)
    {
        String v8_1;
        String v0_0 = p7.getUrl();
        java.util.List v1_3 = new java.util.HashMap();
        v1_3.putAll(p8);
        v1_3.putAll(p7.getHeaders());
        if (this.zzci == null) {
            v8_1 = v0_0;
        } else {
            v8_1 = this.zzci.zzg(v0_0);
            if (v8_1 == null) {
                String v8_4;
                String v0_3 = String.valueOf(v0_0);
                if (v0_3.length() == 0) {
                    v8_4 = new String("URL blocked by rewriter: ");
                } else {
                    v8_4 = "URL blocked by rewriter: ".concat(v0_3);
                }
                throw new java.io.IOException(v8_4);
            }
        }
        String v0_7 = new java.net.URL(v8_1);
        String v8_6 = ((java.net.HttpURLConnection) v0_7.openConnection());
        v8_6.setInstanceFollowRedirects(java.net.HttpURLConnection.getFollowRedirects());
        int v2_1 = p7.zzj();
        v8_6.setConnectTimeout(v2_1);
        v8_6.setReadTimeout(v2_1);
        int v2_2 = 0;
        v8_6.setUseCaches(0);
        v8_6.setDoInput(1);
        "https".equals(v0_7.getProtocol());
        try {
            String v0_10 = v1_3.keySet().iterator();
        } catch (Throwable v7_6) {
            if (v2_2 == 0) {
                v8_6.disconnect();
            }
            throw v7_6;
        }
        while (v0_10.hasNext()) {
            com.google.android.gms.internal.ads.zzat v4_1 = ((String) v0_10.next());
            v8_6.setRequestProperty(v4_1, ((String) v1_3.get(v4_1)));
        }
        switch (p7.getMethod()) {
            case -1:
                break;
            case 0:
                v8_6.setRequestMethod("GET");
                break;
            case 1:
                v8_6.setRequestMethod("POST");
                com.google.android.gms.internal.ads.zzas.zza(v8_6, p7);
                break;
            case 2:
                v8_6.setRequestMethod("PUT");
                com.google.android.gms.internal.ads.zzas.zza(v8_6, p7);
                break;
            case 3:
                v8_6.setRequestMethod("DELETE");
                break;
            case 4:
                v8_6.setRequestMethod("HEAD");
                break;
            case 5:
                v8_6.setRequestMethod("OPTIONS");
                break;
            case 6:
                v8_6.setRequestMethod("TRACE");
                break;
            case 7:
                v8_6.setRequestMethod("PATCH");
                com.google.android.gms.internal.ads.zzas.zza(v8_6, p7);
                break;
            default:
                throw new IllegalStateException("Unknown method type.");
        }
        String v0_20 = v8_6.getResponseCode();
        if (v0_20 != -1) {
            if (((p7.getMethod() == 4) || ((100 <= v0_20) && (v0_20 < 200))) || ((v0_20 == 204) || (v0_20 == 304))) {
                Throwable v7_14 = 0;
            } else {
                v7_14 = 1;
            }
            if (v7_14 != null) {
                try {
                    return new com.google.android.gms.internal.ads.zzaq(v0_20, com.google.android.gms.internal.ads.zzas.zza(v8_6.getHeaderFields()), v8_6.getContentLength(), new com.google.android.gms.internal.ads.zzat(v8_6));
                } catch (Throwable v7_6) {
                    v2_2 = 1;
                }
            } else {
                Throwable v7_1 = new com.google.android.gms.internal.ads.zzaq(v0_20, com.google.android.gms.internal.ads.zzas.zza(v8_6.getHeaderFields()));
                v8_6.disconnect();
                return v7_1;
            }
        } else {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        }
    }

Method com.google.android.gms.internal.ads.zzatq.zza() calling method java.net.URL.<init>()


    public static com.google.android.gms.internal.ads.zzasm zza(com.google.android.gms.internal.ads.zzasi p18, android.content.Context p19, String p20, String p21, String p22, String p23, com.google.android.gms.internal.ads.zzaty p24, com.google.android.gms.internal.ads.zzaba p25, com.google.android.gms.internal.ads.zzatp p26)
    {
        int v6;
        com.google.android.gms.internal.ads.zzasi v1_0 = p18;
        if (p25 == null) {
            v6 = 0;
        } else {
            v6 = p25.zzrg();
        }
        try {
            int v8_7;
            com.google.android.gms.internal.ads.zzatw v7_0 = new com.google.android.gms.internal.ads.zzatw(p18, p24.zzwq());
            long v9_0 = String.valueOf(p21);
        } catch (Throwable v0_3) {
            com.google.android.gms.internal.ads.zzasi v1_31 = String.valueOf(v0_3.getMessage());
            if (v1_31.length() == 0) {
                com.google.android.gms.internal.ads.zzasi v1_33 = new String("Error while connecting to ad server: ");
            } else {
                v1_33 = "Error while connecting to ad server: ".concat(v1_31);
            }
            com.google.android.gms.internal.ads.zzaxz.zzeo(v1_33);
            return new com.google.android.gms.internal.ads.zzasm(2);
        }
        if (v9_0.length() == 0) {
            v8_7 = new String("AdRequestServiceImpl: Sending request: ");
        } else {
            v8_7 = "AdRequestServiceImpl: Sending request: ".concat(v9_0);
        }
        com.google.android.gms.internal.ads.zzaxz.zzdn(v8_7);
        int v8_4 = new java.net.URL(p21);
        long v9_5 = com.google.android.gms.ads.internal.zzbv.zzlm().elapsedRealtime();
        int v11_2 = 0;
        int v12_0 = 0;
        while(true) {
            if (p26 != null) {
                p26.zzeaq.zzwz();
            }
            java.net.HttpURLConnection v13_2 = ((java.net.HttpURLConnection) v8_4.openConnection());
            com.google.android.gms.ads.internal.zzbv.zzlf().zza(p19, p20, v11_2, v13_2);
            if (!p24.zzws()) {
            } else {
                if (android.text.TextUtils.isEmpty(p22)) {
                } else {
                    v13_2.addRequestProperty("x-afma-drt-cookie", p22);
                }
                if (android.text.TextUtils.isEmpty(p23)) {
                } else {
                    v13_2.addRequestProperty("x-afma-drt-v2-cookie", p23);
                }
            }
            java.util.Map v14_7 = v1_0.zzdxc;
            if (!android.text.TextUtils.isEmpty(v14_7)) {
                com.google.android.gms.internal.ads.zzaxz.zzdn("Sending webview cookie in ad request header.");
                v13_2.addRequestProperty("Cookie", v14_7);
            }
            if ((p24 == null) || (android.text.TextUtils.isEmpty(p24.zzwr()))) {
                java.util.Map v14_10 = 0;
            } else {
                v13_2.setDoOutput(1);
                v14_10 = p24.zzwr().getBytes();
                v13_2.setFixedLengthStreamingMode(v14_10.length);
                String v5_10 = new java.io.BufferedOutputStream(v13_2.getOutputStream());
                v5_10.write(v14_10);
                com.google.android.gms.common.util.IOUtils.closeQuietly(v5_10);
            }
            String v5_0 = new com.google.android.gms.internal.ads.zzbax(v1_0.zzdws);
            v5_0.zza(v13_2, v14_10);
            int v11_0 = v13_2.getResponseCode();
            java.util.Map v14_0 = v13_2.getHeaderFields();
            v5_0.zza(v13_2, v11_0);
            if ((v11_0 >= 200) && (v11_0 < 300)) {
                break;
            }
            com.google.android.gms.internal.ads.zzatq.zza(v8_4.toString(), v14_0, 0, v11_0);
            if ((v11_0 < 300) || (v11_0 >= 400)) {
                com.google.android.gms.internal.ads.zzauh v2_2 = new StringBuilder(46);
                v2_2.append("Received error HTTP response code: ");
                v2_2.append(v11_0);
                com.google.android.gms.internal.ads.zzaxz.zzeo(v2_2.toString());
                com.google.android.gms.internal.ads.zzasi v1_8 = new com.google.android.gms.internal.ads.zzasm(0);
                v13_2.disconnect();
                if (p26 != null) {
                    p26.zzeaq.zzxa();
                }
                return v1_8;
            } else {
                com.google.android.gms.internal.ads.zzasi v1_10 = v13_2.getHeaderField("Location");
                if (!android.text.TextUtils.isEmpty(v1_10)) {
                    v8_4 = new java.net.URL(v1_10);
                    v12_0++;
                    if (v12_0 <= ((Integer) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcwx)).intValue()) {
                        v7_0.zzl(v14_0);
                        v13_2.disconnect();
                        if (p26 != null) {
                            p26.zzeaq.zzxa();
                        }
                        v1_0 = p18;
                        v11_2 = 0;
                    } else {
                        com.google.android.gms.internal.ads.zzaxz.zzeo("Too many redirects.");
                        com.google.android.gms.internal.ads.zzasi v1_19 = new com.google.android.gms.internal.ads.zzasm(0);
                        v13_2.disconnect();
                        if (p26 != null) {
                            p26.zzeaq.zzxa();
                        }
                        return v1_19;
                    }
                } else {
                    com.google.android.gms.internal.ads.zzaxz.zzeo("No location header to follow redirect.");
                    com.google.android.gms.internal.ads.zzasi v1_22 = new com.google.android.gms.internal.ads.zzasm(0);
                    v13_2.disconnect();
                    if (p26 != null) {
                        p26.zzeaq.zzxa();
                    }
                    return v1_22;
                }
            }
        }
        com.google.android.gms.internal.ads.zzasi v1_23 = v8_4.toString();
        try {
            int v8_6 = new java.io.InputStreamReader(v13_2.getInputStream());
            try {
                com.google.android.gms.ads.internal.zzbv.zzlf();
                int v12_2 = com.google.android.gms.internal.ads.zzayh.zza(v8_6);
            } catch (Throwable v0_1) {
                com.google.android.gms.internal.ads.zzasi v1_24 = v0_1;
                com.google.android.gms.common.util.IOUtils.closeQuietly(v8_6);
                throw v1_24;
            }
            com.google.android.gms.common.util.IOUtils.closeQuietly(v8_6);
            v5_0.zzek(v12_2);
            com.google.android.gms.internal.ads.zzatq.zza(v1_23, v14_0, v12_2, v11_0);
            v7_0.zza(v1_23, v14_0, v12_2);
            if (p25 != null) {
                com.google.android.gms.internal.ads.zzasi v1_26 = new String[1];
                v1_26[0] = "ufe";
                p25.zza(v6, v1_26);
            }
            com.google.android.gms.internal.ads.zzasi v1_27 = v7_0.zza(v9_5, p24);
            v13_2.disconnect();
            if (p26 != null) {
                p26.zzeaq.zzxa();
            }
            return v1_27;
        } catch (Throwable v0_0) {
            v1_24 = v0_0;
            v8_6 = 0;
        }
    }

Method com.google.android.gms.internal.ads.zzbfs.zzex() calling method java.net.URL.<init>()


    public final boolean zzex(String p34)
    {
        com.google.android.gms.internal.ads.zzbfl v10_0 = 0;
        if (this.zzexb == null) {
            this.zza(p34, 0, "noCacheDir", 0);
            return 0;
        }
        do {
            String v4_0;
            if (this.zzexb != null) {
                String v1_0 = this.zzexb.listFiles();
                String v3_0 = 0;
                v4_0 = 0;
                while (v3_0 < v1_0.length) {
                    if (!v1_0[v3_0].getName().endsWith(".done")) {
                        v4_0++;
                    }
                    v3_0++;
                }
            } else {
                v4_0 = 0;
            }
            if (v4_0 <= ((Integer) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcot)).intValue()) {
                long v12_1 = new java.io.File(this.zzexb, this.zzey(p34));
                String v13_0 = this.zzc(v12_1);
                if ((!v12_1.isFile()) || (!v13_0.isFile())) {
                    int v15_2;
                    String v1_49 = String.valueOf(this.zzexb.getAbsolutePath());
                    com.google.android.gms.internal.ads.zzbfs v2_47 = String.valueOf(p34);
                    if (v2_47.length() == 0) {
                        v15_2 = new String(v1_49);
                    } else {
                        v15_2 = v1_49.concat(v2_47);
                    }
                    if (!com.google.android.gms.internal.ads.zzbfs.zzewz.contains(v15_2)) {
                        com.google.android.gms.internal.ads.zzbfs.zzewz.add(v15_2);
                        try {
                            com.google.android.gms.ads.internal.zzbv.zzls();
                            String v1_85 = ((Integer) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcoy)).intValue();
                            String v3_35 = new java.net.URL(p34);
                            com.google.android.gms.internal.ads.zzbfs v2_70 = 0;
                        } catch (java.io.IOException v0_0) {
                            com.google.android.gms.internal.ads.zzbfs v2_12 = v15_2;
                            String v1_10 = v0_0;
                            String v3_3 = "error";
                            String v4_6 = 0;
                            v10_0 = 0;
                            if ((v1_10 instanceof RuntimeException)) {
                                com.google.android.gms.ads.internal.zzbv.zzlj().zza(v1_10, "VideoStreamFullFileCache.preload");
                            }
                            try {
                                v10_0.close();
                            } catch (java.io.IOException) {
                            }
                            if (!this.zzexc) {
                                int v6_23 = new StringBuilder((25 + String.valueOf(p34).length()));
                                v6_23.append("Preload failed for URL \"");
                                v6_23.append(p34);
                                v6_23.append("\"");
                                com.google.android.gms.internal.ads.zzaxz.zzc(v6_23.toString(), v1_10);
                            } else {
                                int v5_26 = new StringBuilder((26 + String.valueOf(p34).length()));
                                v5_26.append("Preload aborted for URL \"");
                                v5_26.append(p34);
                                v5_26.append("\"");
                                com.google.android.gms.internal.ads.zzaxz.zzen(v5_26.toString());
                            }
                            if (v12_1.exists()) {
                                if (!v12_1.delete()) {
                                    int v5_28 = String.valueOf(v12_1.getAbsolutePath());
                                    if (v5_28.length() == 0) {
                                        String v1_67 = new String("Could not delete partial cache file at ");
                                    } else {
                                        v1_67 = "Could not delete partial cache file at ".concat(v5_28);
                                    }
                                    com.google.android.gms.internal.ads.zzaxz.zzeo(v1_67);
                                }
                            }
                            this.zza(p34, v12_1.getAbsolutePath(), v3_3, v4_6);
                            com.google.android.gms.internal.ads.zzbfs.zzewz.remove(v2_12);
                            return 0;
                        }
                        while(true) {
                            v2_70++;
                            if (v2_70 > 20) {
                                v2_12 = v15_2;
                                try {
                                    throw new java.io.IOException("Too many redirects (20)");
                                } catch (java.io.IOException v0_0) {
                                }
                            } else {
                                int v5_32 = v3_35.openConnection();
                                v5_32.setConnectTimeout(v1_85);
                                v5_32.setReadTimeout(v1_85);
                                try {
                                    if ((v5_32 instanceof java.net.HttpURLConnection)) {
                                        int v5_0 = ((java.net.HttpURLConnection) v5_32);
                                        int v6_1 = new com.google.android.gms.internal.ads.zzbax();
                                        v6_1.zza(v5_0, 0);
                                        v5_0.setInstanceFollowRedirects(0);
                                        int v7_0 = v5_0.getResponseCode();
                                        v6_1.zza(v5_0, v7_0);
                                        if ((v7_0 / 100) != 3) {
                                            if ((v5_0 instanceof java.net.HttpURLConnection)) {
                                                String v1_4 = ((java.net.HttpURLConnection) v5_0).getResponseCode();
                                                if (v1_4 >= 400) {
                                                    try {
                                                        String v3_31;
                                                        String v4_9 = String.valueOf(Integer.toString(v1_4));
                                                    } catch (java.io.IOException v0_6) {
                                                        v1_10 = v0_6;
                                                        v3_3 = "badUrl";
                                                        v4_6 = 0;
                                                        v2_12 = v15_2;
                                                    }
                                                    if (v4_9.length() == 0) {
                                                        v3_31 = new String("HTTP request failed. Code: ");
                                                    } else {
                                                        v3_31 = "HTTP request failed. Code: ".concat(v4_9);
                                                    }
                                                    try {
                                                        int v6_16 = new StringBuilder((32 + String.valueOf(p34).length()));
                                                        v6_16.append("HTTP status code ");
                                                        v6_16.append(v1_4);
                                                        v6_16.append(" at ");
                                                        v6_16.append(p34);
                                                        throw new java.io.IOException(v6_16.toString());
                                                    } catch (java.io.IOException v0_7) {
                                                        v1_10 = v0_7;
                                                        v4_6 = v3_31;
                                                        v3_3 = "badUrl";
                                                    }
                                                }
                                            }
                                            int v7_2 = v5_0.getContentLength();
                                            if (v7_2 >= 0) {
                                                String v1_6 = com.google.android.gms.internal.ads.zzbfs.zzexa.format(((long) v7_2));
                                                String v3_2 = ((Integer) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcou)).intValue();
                                                if (v7_2 <= v3_2) {
                                                    com.google.android.gms.internal.ads.zzbfs v2_11 = new StringBuilder(((20 + String.valueOf(v1_6).length()) + String.valueOf(p34).length()));
                                                    v2_11.append("Caching ");
                                                    v2_11.append(v1_6);
                                                    v2_11.append(" bytes from ");
                                                    v2_11.append(p34);
                                                    com.google.android.gms.internal.ads.zzaxz.zzdn(v2_11.toString());
                                                    int v5_2 = java.nio.channels.Channels.newChannel(v5_0.getInputStream());
                                                    String v4_5 = new java.io.FileOutputStream(v12_1);
                                                    try {
                                                        com.google.android.gms.internal.ads.zzbfs v2_13 = v4_5.getChannel();
                                                        String v1_12 = java.nio.ByteBuffer.allocate(1048576);
                                                        com.google.android.gms.internal.ads.zzbfl v10_1 = com.google.android.gms.ads.internal.zzbv.zzlm();
                                                        long v17 = v10_1.currentTimeMillis();
                                                        String v20 = v15_2;
                                                        try {
                                                            android.os.Handler v11_2 = new com.google.android.gms.internal.ads.zzbai(((Long) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcox)).longValue());
                                                            int v14_3 = ((Long) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcow)).longValue();
                                                            int v6_10 = 0;
                                                        } catch (java.io.IOException v0_1) {
                                                            int v14_0 = v4_5;
                                                            v2_12 = v20;
                                                            v1_10 = v0_1;
                                                            v10_0 = v14_0;
                                                            v3_3 = "error";
                                                            v4_6 = 0;
                                                        }
                                                        while(true) {
                                                            int v21_0 = v5_2.read(v1_12);
                                                            if (v21_0 < 0) {
                                                                v14_0 = v4_5;
                                                                try {
                                                                    v14_0.close();
                                                                } catch (java.io.IOException v0_1) {
                                                                }
                                                                if (com.google.android.gms.internal.ads.zzaxz.isLoggable(3)) {
                                                                    String v1_16 = com.google.android.gms.internal.ads.zzbfs.zzexa.format(((long) v6_10));
                                                                    String v3_9 = new StringBuilder(((22 + String.valueOf(v1_16).length()) + String.valueOf(p34).length()));
                                                                    v3_9.append("Preloaded ");
                                                                    v3_9.append(v1_16);
                                                                    v3_9.append(" bytes from ");
                                                                    v3_9.append(p34);
                                                                    com.google.android.gms.internal.ads.zzaxz.zzdn(v3_9.toString());
                                                                }
                                                                v12_1.setReadable(1, 0);
                                                                if (!v13_0.isFile()) {
                                                                    v13_0.createNewFile();
                                                                } else {
                                                                    v13_0.setLastModified(System.currentTimeMillis());
                                                                }
                                                                this.zza(p34, v12_1.getAbsolutePath(), v6_10);
                                                                v2_12 = v20;
                                                                try {
                                                                    com.google.android.gms.internal.ads.zzbfs.zzewz.remove(v2_12);
                                                                    return 1;
                                                                } catch (java.io.IOException v0_1) {
                                                                }
                                                            } else {
                                                                com.google.android.gms.internal.ads.zzbfl v10_3;
                                                                String v1_33;
                                                                int v6_11 = (v6_10 + v21_0);
                                                                try {
                                                                    if (v6_11 <= v3_2) {
                                                                        try {
                                                                            v1_12.flip();
                                                                        } catch (java.io.IOException v0_2) {
                                                                            v14_0 = v4_5;
                                                                            v1_10 = v0_2;
                                                                            v10_0 = v14_0;
                                                                        }
                                                                        while (v2_13.write(v1_12) > 0) {
                                                                        }
                                                                        v1_12.clear();
                                                                        if ((v10_1.currentTimeMillis() - v17) <= (1000 * v14_3)) {
                                                                            String v26 = v1_12;
                                                                            if (this.zzexc) {
                                                                                break;
                                                                            }
                                                                            int v21_5;
                                                                            String v25_1;
                                                                            int v29;
                                                                            int v31;
                                                                            android.os.Handler v28;
                                                                            com.google.android.gms.internal.ads.zzbfl v27;
                                                                            String v23_1;
                                                                            com.google.android.gms.internal.ads.zzbfs v24;
                                                                            int v19;
                                                                            if (!v11_2.tryAcquire()) {
                                                                                v24 = v2_13;
                                                                                v25_1 = v3_2;
                                                                                v31 = v5_2;
                                                                                v19 = v6_11;
                                                                                v21_5 = v7_2;
                                                                                v27 = v10_1;
                                                                                v28 = v11_2;
                                                                                v29 = v14_3;
                                                                                v23_1 = v26;
                                                                                v14_0 = v4_5;
                                                                            } else {
                                                                                v27 = v10_1;
                                                                                com.google.android.gms.internal.ads.zzbfl v10_2 = new com.google.android.gms.internal.ads.zzbfl;
                                                                                v28 = v11_2;
                                                                                v23_1 = v26;
                                                                                v24 = v2_13;
                                                                                v25_1 = v3_2;
                                                                                v29 = v14_3;
                                                                                v14_0 = v4_5;
                                                                                v19 = v6_11;
                                                                                v31 = v5_2;
                                                                                v21_5 = v7_2;
                                                                                v10_2(this, p34, v12_1.getAbsolutePath(), v6_11, v7_2, 0);
                                                                                com.google.android.gms.internal.ads.zzbat.zztu.post(v10_2);
                                                                            }
                                                                            v4_5 = v14_0;
                                                                            v6_10 = v19;
                                                                            v7_2 = v21_5;
                                                                            v1_12 = v23_1;
                                                                            v2_13 = v24;
                                                                            v3_2 = v25_1;
                                                                            v10_1 = v27;
                                                                            v11_2 = v28;
                                                                            v14_3 = v29;
                                                                            v5_2 = v31;
                                                                        } else {
                                                                            v1_33 = "downloadTimeout";
                                                                            com.google.android.gms.internal.ads.zzbfs v2_24 = Long.toString(v14_3);
                                                                            int v5_9 = new StringBuilder((29 + String.valueOf(v2_24).length()));
                                                                            v5_9.append("Timeout exceeded. Limit: ");
                                                                            v5_9.append(v2_24);
                                                                            v5_9.append(" sec");
                                                                            v10_3 = v5_9.toString();
                                                                            throw new java.io.IOException("stream cache time limit exceeded");
                                                                        }
                                                                    } else {
                                                                        v1_33 = "sizeExceeded";
                                                                        String v3_17 = String.valueOf(Integer.toString(v6_11));
                                                                        if (v3_17.length() == 0) {
                                                                            v10_3 = new String("File too big for full file cache. Size: ");
                                                                        } else {
                                                                            v10_3 = "File too big for full file cache. Size: ".concat(v3_17);
                                                                        }
                                                                        throw new java.io.IOException("stream cache file size limit exceeded");
                                                                    }
                                                                } catch (java.io.IOException v0_3) {
                                                                    v1_10 = v0_3;
                                                                    v10_0 = v4_5;
                                                                } catch (java.io.IOException v0_4) {
                                                                    v3_3 = v1_33;
                                                                    v10_0 = v4_5;
                                                                    v2_12 = v20;
                                                                    v4_6 = 0;
                                                                    v1_10 = v0_4;
                                                                } catch (java.io.IOException v0_5) {
                                                                    v3_3 = v1_33;
                                                                    v2_12 = v20;
                                                                    v1_10 = v0_5;
                                                                    v10_0 = v4_5;
                                                                    v4_6 = v10_3;
                                                                }
                                                            }
                                                            v3_3 = "error";
                                                            v2_12 = v20;
                                                        }
                                                        v1_33 = "externalAbort";
                                                        throw new java.io.IOException("abort requested");
                                                    } catch (java.io.IOException v0_1) {
                                                        v14_0 = v4_5;
                                                        v2_12 = v15_2;
                                                    }
                                                } else {
                                                    String v1_38;
                                                    String v3_26 = new StringBuilder(((33 + String.valueOf(v1_6).length()) + String.valueOf(p34).length()));
                                                    v3_26.append("Content length ");
                                                    v3_26.append(v1_6);
                                                    v3_26.append(" exceeds limit at ");
                                                    v3_26.append(p34);
                                                    com.google.android.gms.internal.ads.zzaxz.zzeo(v3_26.toString());
                                                    String v1_36 = String.valueOf(v1_6);
                                                    if (v1_36.length() == 0) {
                                                        v1_38 = new String("File too big for full file cache. Size: ");
                                                    } else {
                                                        v1_38 = "File too big for full file cache. Size: ".concat(v1_36);
                                                    }
                                                    this.zza(p34, v12_1.getAbsolutePath(), "sizeExceeded", v1_38);
                                                    com.google.android.gms.internal.ads.zzbfs.zzewz.remove(v15_2);
                                                    return 0;
                                                }
                                            } else {
                                                String v1_41;
                                                com.google.android.gms.internal.ads.zzbfs v2_41 = String.valueOf(p34);
                                                if (v2_41.length() == 0) {
                                                    v1_41 = new String("Stream cache aborted, missing content-length header at ");
                                                } else {
                                                    v1_41 = "Stream cache aborted, missing content-length header at ".concat(v2_41);
                                                }
                                                com.google.android.gms.internal.ads.zzaxz.zzeo(v1_41);
                                                this.zza(p34, v12_1.getAbsolutePath(), "contentLengthMissing", 0);
                                                com.google.android.gms.internal.ads.zzbfs.zzewz.remove(v15_2);
                                                return 0;
                                            }
                                        } else {
                                            String v4_15 = v5_0.getHeaderField("Location");
                                            if (v4_15 != null) {
                                                int v6_18 = new java.net.URL(v3_35, v4_15);
                                                String v3_32 = v6_18.getProtocol();
                                                if (v3_32 != null) {
                                                    if ((!v3_32.equals("http")) && (!v3_32.equals("https"))) {
                                                        break;
                                                    }
                                                    String v3_34;
                                                    String v4_16 = String.valueOf(v4_15);
                                                    if (v4_16.length() == 0) {
                                                        v3_34 = new String("Redirecting to ");
                                                    } else {
                                                        v3_34 = "Redirecting to ".concat(v4_16);
                                                    }
                                                    com.google.android.gms.internal.ads.zzaxz.zzdn(v3_34);
                                                    v5_0.disconnect();
                                                    v3_35 = v6_18;
                                                } else {
                                                    throw new java.io.IOException("Protocol is null");
                                                }
                                            } else {
                                                throw new java.io.IOException("Missing Location header in redirect");
                                            }
                                        }
                                    } else {
                                        throw new java.io.IOException("Invalid protocol.");
                                    }
                                } catch (java.io.IOException v0_8) {
                                    v1_10 = v0_8;
                                    v4_6 = 0;
                                    v2_12 = v15_2;
                                    v3_3 = "error";
                                }
                            }
                        }
                        com.google.android.gms.internal.ads.zzbfs v2_48;
                        String v3_36 = String.valueOf(v3_32);
                        if (v3_36.length() == 0) {
                            v2_48 = new String("Unsupported scheme: ");
                        } else {
                            v2_48 = "Unsupported scheme: ".concat(v3_36);
                        }
                        throw new java.io.IOException(v2_48);
                    } else {
                        com.google.android.gms.internal.ads.zzbfs v2_55;
                        String v3_40 = String.valueOf(p34);
                        if (v3_40.length() == 0) {
                            v2_55 = new String("Stream cache already in progress at ");
                        } else {
                            v2_55 = "Stream cache already in progress at ".concat(v3_40);
                        }
                        com.google.android.gms.internal.ads.zzaxz.zzeo(v2_55);
                        this.zza(p34, v12_1.getAbsolutePath(), "inProgress", 0);
                        return 0;
                    }
                } else {
                    com.google.android.gms.internal.ads.zzbfs v2_60;
                    String v1_73 = ((int) v12_1.length());
                    String v3_44 = String.valueOf(p34);
                    if (v3_44.length() == 0) {
                        v2_60 = new String("Stream cache hit at ");
                    } else {
                        v2_60 = "Stream cache hit at ".concat(v3_44);
                    }
                    com.google.android.gms.internal.ads.zzaxz.zzdn(v2_60);
                    this.zza(p34, v12_1.getAbsolutePath(), v1_73);
                    return 1;
                }
            } else {
                String v1_77;
                if (this.zzexb != null) {
                    String v3_48 = this.zzexb.listFiles();
                    String v4_22 = v3_48.length;
                    int v5_31 = nan;
                    com.google.android.gms.internal.ads.zzbfs v2_63 = 0;
                    String v1_76 = 0;
                    while (v1_76 < v4_22) {
                        int v7_9 = v3_48[v1_76];
                        if (!v7_9.getName().endsWith(".done")) {
                            long v12_4 = v7_9.lastModified();
                            if (v12_4 < v5_31) {
                                v2_63 = v7_9;
                                v5_31 = v12_4;
                            }
                        }
                        v1_76++;
                    }
                    if (v2_63 == null) {
                        v1_77 = 0;
                    } else {
                        v1_77 = v2_63.delete();
                        com.google.android.gms.internal.ads.zzbfs v2_64 = this.zzc(v2_63);
                        if (v2_64.isFile()) {
                            v1_77 &= v2_64.delete();
                        }
                    }
                }
            }
        } while(v1_77 != null);
        com.google.android.gms.internal.ads.zzaxz.zzeo("Unable to expire stream cache");
        this.zza(p34, 0, "expireFailed", 0);
        return 0;
    }

Method com.google.android.gms.internal.ads.zzbfs.zzex() calling method java.net.URL.<init>()


    public final boolean zzex(String p34)
    {
        com.google.android.gms.internal.ads.zzbfl v10_0 = 0;
        if (this.zzexb == null) {
            this.zza(p34, 0, "noCacheDir", 0);
            return 0;
        }
        do {
            String v4_0;
            if (this.zzexb != null) {
                String v1_0 = this.zzexb.listFiles();
                String v3_0 = 0;
                v4_0 = 0;
                while (v3_0 < v1_0.length) {
                    if (!v1_0[v3_0].getName().endsWith(".done")) {
                        v4_0++;
                    }
                    v3_0++;
                }
            } else {
                v4_0 = 0;
            }
            if (v4_0 <= ((Integer) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcot)).intValue()) {
                long v12_1 = new java.io.File(this.zzexb, this.zzey(p34));
                String v13_0 = this.zzc(v12_1);
                if ((!v12_1.isFile()) || (!v13_0.isFile())) {
                    int v15_2;
                    String v1_49 = String.valueOf(this.zzexb.getAbsolutePath());
                    com.google.android.gms.internal.ads.zzbfs v2_47 = String.valueOf(p34);
                    if (v2_47.length() == 0) {
                        v15_2 = new String(v1_49);
                    } else {
                        v15_2 = v1_49.concat(v2_47);
                    }
                    if (!com.google.android.gms.internal.ads.zzbfs.zzewz.contains(v15_2)) {
                        com.google.android.gms.internal.ads.zzbfs.zzewz.add(v15_2);
                        try {
                            com.google.android.gms.ads.internal.zzbv.zzls();
                            String v1_85 = ((Integer) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcoy)).intValue();
                            String v3_35 = new java.net.URL(p34);
                            com.google.android.gms.internal.ads.zzbfs v2_70 = 0;
                        } catch (java.io.IOException v0_0) {
                            com.google.android.gms.internal.ads.zzbfs v2_12 = v15_2;
                            String v1_10 = v0_0;
                            String v3_3 = "error";
                            String v4_6 = 0;
                            v10_0 = 0;
                            if ((v1_10 instanceof RuntimeException)) {
                                com.google.android.gms.ads.internal.zzbv.zzlj().zza(v1_10, "VideoStreamFullFileCache.preload");
                            }
                            try {
                                v10_0.close();
                            } catch (java.io.IOException) {
                            }
                            if (!this.zzexc) {
                                int v6_23 = new StringBuilder((25 + String.valueOf(p34).length()));
                                v6_23.append("Preload failed for URL \"");
                                v6_23.append(p34);
                                v6_23.append("\"");
                                com.google.android.gms.internal.ads.zzaxz.zzc(v6_23.toString(), v1_10);
                            } else {
                                int v5_26 = new StringBuilder((26 + String.valueOf(p34).length()));
                                v5_26.append("Preload aborted for URL \"");
                                v5_26.append(p34);
                                v5_26.append("\"");
                                com.google.android.gms.internal.ads.zzaxz.zzen(v5_26.toString());
                            }
                            if (v12_1.exists()) {
                                if (!v12_1.delete()) {
                                    int v5_28 = String.valueOf(v12_1.getAbsolutePath());
                                    if (v5_28.length() == 0) {
                                        String v1_67 = new String("Could not delete partial cache file at ");
                                    } else {
                                        v1_67 = "Could not delete partial cache file at ".concat(v5_28);
                                    }
                                    com.google.android.gms.internal.ads.zzaxz.zzeo(v1_67);
                                }
                            }
                            this.zza(p34, v12_1.getAbsolutePath(), v3_3, v4_6);
                            com.google.android.gms.internal.ads.zzbfs.zzewz.remove(v2_12);
                            return 0;
                        }
                        while(true) {
                            v2_70++;
                            if (v2_70 > 20) {
                                v2_12 = v15_2;
                                try {
                                    throw new java.io.IOException("Too many redirects (20)");
                                } catch (java.io.IOException v0_0) {
                                }
                            } else {
                                int v5_32 = v3_35.openConnection();
                                v5_32.setConnectTimeout(v1_85);
                                v5_32.setReadTimeout(v1_85);
                                try {
                                    if ((v5_32 instanceof java.net.HttpURLConnection)) {
                                        int v5_0 = ((java.net.HttpURLConnection) v5_32);
                                        int v6_1 = new com.google.android.gms.internal.ads.zzbax();
                                        v6_1.zza(v5_0, 0);
                                        v5_0.setInstanceFollowRedirects(0);
                                        int v7_0 = v5_0.getResponseCode();
                                        v6_1.zza(v5_0, v7_0);
                                        if ((v7_0 / 100) != 3) {
                                            if ((v5_0 instanceof java.net.HttpURLConnection)) {
                                                String v1_4 = ((java.net.HttpURLConnection) v5_0).getResponseCode();
                                                if (v1_4 >= 400) {
                                                    try {
                                                        String v3_31;
                                                        String v4_9 = String.valueOf(Integer.toString(v1_4));
                                                    } catch (java.io.IOException v0_6) {
                                                        v1_10 = v0_6;
                                                        v3_3 = "badUrl";
                                                        v4_6 = 0;
                                                        v2_12 = v15_2;
                                                    }
                                                    if (v4_9.length() == 0) {
                                                        v3_31 = new String("HTTP request failed. Code: ");
                                                    } else {
                                                        v3_31 = "HTTP request failed. Code: ".concat(v4_9);
                                                    }
                                                    try {
                                                        int v6_16 = new StringBuilder((32 + String.valueOf(p34).length()));
                                                        v6_16.append("HTTP status code ");
                                                        v6_16.append(v1_4);
                                                        v6_16.append(" at ");
                                                        v6_16.append(p34);
                                                        throw new java.io.IOException(v6_16.toString());
                                                    } catch (java.io.IOException v0_7) {
                                                        v1_10 = v0_7;
                                                        v4_6 = v3_31;
                                                        v3_3 = "badUrl";
                                                    }
                                                }
                                            }
                                            int v7_2 = v5_0.getContentLength();
                                            if (v7_2 >= 0) {
                                                String v1_6 = com.google.android.gms.internal.ads.zzbfs.zzexa.format(((long) v7_2));
                                                String v3_2 = ((Integer) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcou)).intValue();
                                                if (v7_2 <= v3_2) {
                                                    com.google.android.gms.internal.ads.zzbfs v2_11 = new StringBuilder(((20 + String.valueOf(v1_6).length()) + String.valueOf(p34).length()));
                                                    v2_11.append("Caching ");
                                                    v2_11.append(v1_6);
                                                    v2_11.append(" bytes from ");
                                                    v2_11.append(p34);
                                                    com.google.android.gms.internal.ads.zzaxz.zzdn(v2_11.toString());
                                                    int v5_2 = java.nio.channels.Channels.newChannel(v5_0.getInputStream());
                                                    String v4_5 = new java.io.FileOutputStream(v12_1);
                                                    try {
                                                        com.google.android.gms.internal.ads.zzbfs v2_13 = v4_5.getChannel();
                                                        String v1_12 = java.nio.ByteBuffer.allocate(1048576);
                                                        com.google.android.gms.internal.ads.zzbfl v10_1 = com.google.android.gms.ads.internal.zzbv.zzlm();
                                                        long v17 = v10_1.currentTimeMillis();
                                                        String v20 = v15_2;
                                                        try {
                                                            android.os.Handler v11_2 = new com.google.android.gms.internal.ads.zzbai(((Long) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcox)).longValue());
                                                            int v14_3 = ((Long) com.google.android.gms.internal.ads.zzwu.zzpz().zzd(com.google.android.gms.internal.ads.zzaan.zzcow)).longValue();
                                                            int v6_10 = 0;
                                                        } catch (java.io.IOException v0_1) {
                                                            int v14_0 = v4_5;
                                                            v2_12 = v20;
                                                            v1_10 = v0_1;
                                                            v10_0 = v14_0;
                                                            v3_3 = "error";
                                                            v4_6 = 0;
                                                        }
                                                        while(true) {
                                                            int v21_0 = v5_2.read(v1_12);
                                                            if (v21_0 < 0) {
                                                                v14_0 = v4_5;
                                                                try {
                                                                    v14_0.close();
                                                                } catch (java.io.IOException v0_1) {
                                                                }
                                                                if (com.google.android.gms.internal.ads.zzaxz.isLoggable(3)) {
                                                                    String v1_16 = com.google.android.gms.internal.ads.zzbfs.zzexa.format(((long) v6_10));
                                                                    String v3_9 = new StringBuilder(((22 + String.valueOf(v1_16).length()) + String.valueOf(p34).length()));
                                                                    v3_9.append("Preloaded ");
                                                                    v3_9.append(v1_16);
                                                                    v3_9.append(" bytes from ");
                                                                    v3_9.append(p34);
                                                                    com.google.android.gms.internal.ads.zzaxz.zzdn(v3_9.toString());
                                                                }
                                                                v12_1.setReadable(1, 0);
                                                                if (!v13_0.isFile()) {
                                                                    v13_0.createNewFile();
                                                                } else {
                                                                    v13_0.setLastModified(System.currentTimeMillis());
                                                                }
                                                                this.zza(p34, v12_1.getAbsolutePath(), v6_10);
                                                                v2_12 = v20;
                                                                try {
                                                                    com.google.android.gms.internal.ads.zzbfs.zzewz.remove(v2_12);
                                                                    return 1;
                                                                } catch (java.io.IOException v0_1) {
                                                                }
                                                            } else {
                                                                String v1_33;
                                                                com.google.android.gms.internal.ads.zzbfl v10_3;
                                                                int v6_11 = (v6_10 + v21_0);
                                                                try {
                                                                    if (v6_11 <= v3_2) {
                                                                        try {
                                                                            v1_12.flip();
                                                                        } catch (java.io.IOException v0_2) {
                                                                            v14_0 = v4_5;
                                                                            v1_10 = v0_2;
                                                                            v10_0 = v14_0;
                                                                        }
                                                                        while (v2_13.write(v1_12) > 0) {
                                                                        }
                                                                        v1_12.clear();
                                                                        if ((v10_1.currentTimeMillis() - v17) <= (1000 * v14_3)) {
                                                                            String v26 = v1_12;
                                                                            if (this.zzexc) {
                                                                                break;
                                                                            }
                                                                            int v19;
                                                                            int v21_5;
                                                                            String v25_1;
                                                                            android.os.Handler v28;
                                                                            int v29;
                                                                            int v31;
                                                                            com.google.android.gms.internal.ads.zzbfl v27;
                                                                            String v23_1;
                                                                            com.google.android.gms.internal.ads.zzbfs v24;
                                                                            if (!v11_2.tryAcquire()) {
                                                                                v24 = v2_13;
                                                                                v25_1 = v3_2;
                                                                                v31 = v5_2;
                                                                                v19 = v6_11;
                                                                                v21_5 = v7_2;
                                                                                v27 = v10_1;
                                                                                v28 = v11_2;
                                                                                v29 = v14_3;
                                                                                v23_1 = v26;
                                                                                v14_0 = v4_5;
                                                                            } else {
                                                                                v27 = v10_1;
                                                                                com.google.android.gms.internal.ads.zzbfl v10_2 = new com.google.android.gms.internal.ads.zzbfl;
                                                                                v28 = v11_2;
                                                                                v23_1 = v26;
                                                                                v24 = v2_13;
                                                                                v25_1 = v3_2;
                                                                                v29 = v14_3;
                                                                                v14_0 = v4_5;
                                                                                v19 = v6_11;
                                                                                v31 = v5_2;
                                                                                v21_5 = v7_2;
                                                                                v10_2(this, p34, v12_1.getAbsolutePath(), v6_11, v7_2, 0);
                                                                                com.google.android.gms.internal.ads.zzbat.zztu.post(v10_2);
                                                                            }
                                                                            v4_5 = v14_0;
                                                                            v6_10 = v19;
                                                                            v7_2 = v21_5;
                                                                            v1_12 = v23_1;
                                                                            v2_13 = v24;
                                                                            v3_2 = v25_1;
                                                                            v10_1 = v27;
                                                                            v11_2 = v28;
                                                                            v14_3 = v29;
                                                                            v5_2 = v31;
                                                                        } else {
                                                                            v1_33 = "downloadTimeout";
                                                                            com.google.android.gms.internal.ads.zzbfs v2_24 = Long.toString(v14_3);
                                                                            int v5_9 = new StringBuilder((29 + String.valueOf(v2_24).length()));
                                                                            v5_9.append("Timeout exceeded. Limit: ");
                                                                            v5_9.append(v2_24);
                                                                            v5_9.append(" sec");
                                                                            v10_3 = v5_9.toString();
                                                                            throw new java.io.IOException("stream cache time limit exceeded");
                                                                        }
                                                                    } else {
                                                                        v1_33 = "sizeExceeded";
                                                                        String v3_17 = String.valueOf(Integer.toString(v6_11));
                                                                        if (v3_17.length() == 0) {
                                                                            v10_3 = new String("File too big for full file cache. Size: ");
                                                                        } else {
                                                                            v10_3 = "File too big for full file cache. Size: ".concat(v3_17);
                                                                        }
                                                                        throw new java.io.IOException("stream cache file size limit exceeded");
                                                                    }
                                                                } catch (java.io.IOException v0_3) {
                                                                    v1_10 = v0_3;
                                                                    v10_0 = v4_5;
                                                                } catch (java.io.IOException v0_4) {
                                                                    v3_3 = v1_33;
                                                                    v10_0 = v4_5;
                                                                    v2_12 = v20;
                                                                    v4_6 = 0;
                                                                    v1_10 = v0_4;
                                                                } catch (java.io.IOException v0_5) {
                                                                    v3_3 = v1_33;
                                                                    v2_12 = v20;
                                                                    v1_10 = v0_5;
                                                                    v10_0 = v4_5;
                                                                    v4_6 = v10_3;
                                                                }
                                                            }
                                                            v3_3 = "error";
                                                            v2_12 = v20;
                                                        }
                                                        v1_33 = "externalAbort";
                                                        throw new java.io.IOException("abort requested");
                                                    } catch (java.io.IOException v0_1) {
                                                        v14_0 = v4_5;
                                                        v2_12 = v15_2;
                                                    }
                                                } else {
                                                    String v1_38;
                                                    String v3_26 = new StringBuilder(((33 + String.valueOf(v1_6).length()) + String.valueOf(p34).length()));
                                                    v3_26.append("Content length ");
                                                    v3_26.append(v1_6);
                                                    v3_26.append(" exceeds limit at ");
                                                    v3_26.append(p34);
                                                    com.google.android.gms.internal.ads.zzaxz.zzeo(v3_26.toString());
                                                    String v1_36 = String.valueOf(v1_6);
                                                    if (v1_36.length() == 0) {
                                                        v1_38 = new String("File too big for full file cache. Size: ");
                                                    } else {
                                                        v1_38 = "File too big for full file cache. Size: ".concat(v1_36);
                                                    }
                                                    this.zza(p34, v12_1.getAbsolutePath(), "sizeExceeded", v1_38);
                                                    com.google.android.gms.internal.ads.zzbfs.zzewz.remove(v15_2);
                                                    return 0;
                                                }
                                            } else {
                                                String v1_41;
                                                com.google.android.gms.internal.ads.zzbfs v2_41 = String.valueOf(p34);
                                                if (v2_41.length() == 0) {
                                                    v1_41 = new String("Stream cache aborted, missing content-length header at ");
                                                } else {
                                                    v1_41 = "Stream cache aborted, missing content-length header at ".concat(v2_41);
                                                }
                                                com.google.android.gms.internal.ads.zzaxz.zzeo(v1_41);
                                                this.zza(p34, v12_1.getAbsolutePath(), "contentLengthMissing", 0);
                                                com.google.android.gms.internal.ads.zzbfs.zzewz.remove(v15_2);
                                                return 0;
                                            }
                                        } else {
                                            String v4_15 = v5_0.getHeaderField("Location");
                                            if (v4_15 != null) {
                                                int v6_18 = new java.net.URL(v3_35, v4_15);
                                                String v3_32 = v6_18.getProtocol();
                                                if (v3_32 != null) {
                                                    if ((!v3_32.equals("http")) && (!v3_32.equals("https"))) {
                                                        break;
                                                    }
                                                    String v3_34;
                                                    String v4_16 = String.valueOf(v4_15);
                                                    if (v4_16.length() == 0) {
                                                        v3_34 = new String("Redirecting to ");
                                                    } else {
                                                        v3_34 = "Redirecting to ".concat(v4_16);
                                                    }
                                                    com.google.android.gms.internal.ads.zzaxz.zzdn(v3_34);
                                                    v5_0.disconnect();
                                                    v3_35 = v6_18;
                                                } else {
                                                    throw new java.io.IOException("Protocol is null");
                                                }
                                            } else {
                                                throw new java.io.IOException("Missing Location header in redirect");
                                            }
                                        }
                                    } else {
                                        throw new java.io.IOException("Invalid protocol.");
                                    }
                                } catch (java.io.IOException v0_8) {
                                    v1_10 = v0_8;
                                    v4_6 = 0;
                                    v2_12 = v15_2;
                                    v3_3 = "error";
                                }
                            }
                        }
                        com.google.android.gms.internal.ads.zzbfs v2_48;
                        String v3_36 = String.valueOf(v3_32);
                        if (v3_36.length() == 0) {
                            v2_48 = new String("Unsupported scheme: ");
                        } else {
                            v2_48 = "Unsupported scheme: ".concat(v3_36);
                        }
                        throw new java.io.IOException(v2_48);
                    } else {
                        com.google.android.gms.internal.ads.zzbfs v2_55;
                        String v3_40 = String.valueOf(p34);
                        if (v3_40.length() == 0) {
                            v2_55 = new String("Stream cache already in progress at ");
                        } else {
                            v2_55 = "Stream cache already in progress at ".concat(v3_40);
                        }
                        com.google.android.gms.internal.ads.zzaxz.zzeo(v2_55);
                        this.zza(p34, v12_1.getAbsolutePath(), "inProgress", 0);
                        return 0;
                    }
                } else {
                    com.google.android.gms.internal.ads.zzbfs v2_60;
                    String v1_73 = ((int) v12_1.length());
                    String v3_44 = String.valueOf(p34);
                    if (v3_44.length() == 0) {
                        v2_60 = new String("Stream cache hit at ");
                    } else {
                        v2_60 = "Stream cache hit at ".concat(v3_44);
                    }
                    com.google.android.gms.internal.ads.zzaxz.zzdn(v2_60);
                    this.zza(p34, v12_1.getAbsolutePath(), v1_73);
                    return 1;
                }
            } else {
                String v1_77;
                if (this.zzexb != null) {
                    String v3_48 = this.zzexb.listFiles();
                    String v4_22 = v3_48.length;
                    int v5_31 = nan;
                    com.google.android.gms.internal.ads.zzbfs v2_63 = 0;
                    String v1_76 = 0;
                    while (v1_76 < v4_22) {
                        int v7_9 = v3_48[v1_76];
                        if (!v7_9.getName().endsWith(".done")) {
                            long v12_4 = v7_9.lastModified();
                            if (v12_4 < v5_31) {
                                v2_63 = v7_9;
                                v5_31 = v12_4;
                            }
                        }
                        v1_76++;
                    }
                    if (v2_63 == null) {
                        v1_77 = 0;
                    } else {
                        v1_77 = v2_63.delete();
                        com.google.android.gms.internal.ads.zzbfs v2_64 = this.zzc(v2_63);
                        if (v2_64.isFile()) {
                            v1_77 &= v2_64.delete();
                        }
                    }
                }
            }
        } while(v1_77 != null);
        com.google.android.gms.internal.ads.zzaxz.zzeo("Unable to expire stream cache");
        this.zza(p34, 0, "expireFailed", 0);
        return 0;
    }

Method com.google.android.gms.internal.measurement.zzcr.zzb() calling method java.net.URL.<init>()


    private final java.net.URL zzb(com.google.android.gms.internal.measurement.zzck p4, String p5)
    {
        int v4_3;
        if (!p4.zzet()) {
            int v4_5 = com.google.android.gms.internal.measurement.zzbx.zzee();
            String v1_1 = com.google.android.gms.internal.measurement.zzbx.zzef();
            StringBuilder v2_6 = new StringBuilder((((1 + String.valueOf(v4_5).length()) + String.valueOf(v1_1).length()) + String.valueOf(p5).length()));
            v2_6.append(v4_5);
            v2_6.append(v1_1);
            v2_6.append("?");
            v2_6.append(p5);
            v4_3 = v2_6.toString();
        } else {
            int v4_4 = com.google.android.gms.internal.measurement.zzbx.zzed();
            String v1_0 = com.google.android.gms.internal.measurement.zzbx.zzef();
            StringBuilder v2_14 = new StringBuilder((((1 + String.valueOf(v4_4).length()) + String.valueOf(v1_0).length()) + String.valueOf(p5).length()));
            v2_14.append(v4_4);
            v2_14.append(v1_0);
            v2_14.append("?");
            v2_14.append(p5);
            v4_3 = v2_14.toString();
        }
        try {
            return new java.net.URL(v4_3);
        } catch (int v4_7) {
            this.zze("Error trying to parse the hardcoded host url", v4_7);
            return 0;
        }
    }

Method com.google.android.gms.internal.measurement.zzcr.zzd() calling method java.net.URL.<init>()


    private final java.net.URL zzd(com.google.android.gms.internal.measurement.zzck p3)
    {
        int v3_2;
        String v0_2;
        if (!p3.zzet()) {
            int v3_8 = String.valueOf(com.google.android.gms.internal.measurement.zzbx.zzee());
            String v0_0 = String.valueOf(com.google.android.gms.internal.measurement.zzbx.zzef());
            if (v0_0.length() == 0) {
                v0_2 = new String(v3_8);
                v3_2 = v0_2;
            } else {
                v3_2 = v3_8.concat(v0_0);
            }
        } else {
            int v3_4 = String.valueOf(com.google.android.gms.internal.measurement.zzbx.zzed());
            String v0_4 = String.valueOf(com.google.android.gms.internal.measurement.zzbx.zzef());
            if (v0_4.length() == 0) {
                v0_2 = new String(v3_4);
            } else {
                v3_2 = v3_4.concat(v0_4);
            }
        }
        try {
            return new java.net.URL(v3_2);
        } catch (int v3_5) {
            this.zze("Error trying to parse the hardcoded host url", v3_5);
            return 0;
        }
    }

Method com.google.android.gms.internal.measurement.zzcr.zzfc() calling method java.net.URL.<init>()


    private final java.net.URL zzfc()
    {
        int v0_1;
        int v0_4 = String.valueOf(com.google.android.gms.internal.measurement.zzbx.zzed());
        String v1_8 = String.valueOf(((String) com.google.android.gms.internal.measurement.zzcf.zzzo.get()));
        if (v1_8.length() == 0) {
            v0_1 = new String(v0_4);
        } else {
            v0_1 = v0_4.concat(v1_8);
        }
        try {
            return new java.net.URL(v0_1);
        } catch (int v0_2) {
            this.zze("Error trying to parse the hardcoded host url", v0_2);
            return 0;
        }
    }

Method com.google.ads.interactivemedia.v3.internal.ew.a() calling method java.net.URL.<init>()


    private static java.net.URL a(java.net.URL p2, String p3)
    {
        if (p3 != null) {
            String v0_2 = new java.net.URL(p2, p3);
            String v2_6 = v0_2.getProtocol();
            if (("https".equals(v2_6)) || ("http".equals(v2_6))) {
                return v0_2;
            } else {
                String v2_3;
                String v2_1 = String.valueOf(v2_6);
                if (v2_1.length() == 0) {
                    v2_3 = new String("Unsupported protocol redirect: ");
                } else {
                    v2_3 = "Unsupported protocol redirect: ".concat(v2_1);
                }
                throw new java.net.ProtocolException(v2_3);
            }
        } else {
            throw new java.net.ProtocolException("Null location redirect");
        }
    }

Method com.google.ads.interactivemedia.v3.internal.ew.b() calling method java.net.URL.<init>()


    private java.net.HttpURLConnection b(com.google.ads.interactivemedia.v3.internal.eu p19)
    {
        com.google.ads.interactivemedia.v3.internal.ew v11_0;
        int v16;
        java.net.URL v1_3 = new java.net.URL(p19.a.toString());
        int v2_6 = p19.b;
        long v12 = p19.d;
        long v14 = p19.e;
        String v4_0 = 0;
        if ((p19.g & 1) == 0) {
            v11_0 = this;
            v16 = 0;
        } else {
            v11_0 = this;
            v16 = 1;
        }
        if (!v11_0.d) {
            return v11_0.a(v1_3, v2_6, v12, v14, v16, 1);
        }
        while(true) {
            String v0_3 = (v4_0 + 1);
            if (v4_0 > 20) {
                StringBuilder v3_3 = new StringBuilder(31);
                v3_3.append("Too many redirects: ");
                v3_3.append(v0_3);
                throw new java.net.NoRouteToHostException(v3_3.toString());
            } else {
                StringBuilder v3_5 = v11_0.a(v1_3, v2_6, v12, v14, v16, 0);
                String v4_2 = v3_5.getResponseCode();
                if ((v4_2 != 300) && ((v4_2 != 301) && ((v4_2 != 302) && ((v4_2 != 303) && ((v2_6 != 0) || ((v4_2 != 307) && (v4_2 != 308))))))) {
                    break;
                }
                v2_6 = 0;
                String v4_4 = v3_5.getHeaderField("Location");
                v3_5.disconnect();
                v1_3 = com.google.ads.interactivemedia.v3.internal.ew.a(v1_3, v4_4);
                v11_0 = this;
                v4_0 = v0_3;
            }
        }
        return v3_5;
    }

Method com.helpshift.a.a.a.c.<init>() calling method java.net.URL.<init>()


    public c(android.content.Context p1, com.helpshift.a.a.a.a.a p2, String p3, com.helpshift.a.a.a.a p4, com.helpshift.a.a.a.a.b p5, com.helpshift.a.a.a.a.c p6)
    {
        try {
            this.a = p1;
            this.b = p2;
            this.d = p3;
            this.e = p4;
            this.c = new java.net.URL(p3);
            this.f = p5;
            this.g = p6;
        } catch (java.net.MalformedURLException v1_1) {
            com.helpshift.util.l.a("Helpshift_DownloadRun", "Malformed URL ", v1_1);
        }
        return;
    }

Method com.helpshift.network.a.a.e() calling method java.net.URL.<init>()


    public java.net.URL e()
    {
        String v0_0 = this.d();
        if (this.a == 0) {
            java.net.URL v1_4 = new StringBuilder();
            v1_4.append(v0_0);
            v1_4.append("?");
            v1_4.append(this.a(this.k()));
            v0_0 = v1_4.toString();
        }
        return new java.net.URL(v0_0);
    }

Method com.helpshift.support.c$1.run() calling method java.net.URL.<init>()


    public void run()
    {
        try {
            com.helpshift.support.c v0_2;
            String v8_0;
            java.util.HashMap v6_1 = new java.util.HashMap(this.a);
            com.helpshift.support.c v0_60 = this.g.b(this.b);
        } catch (com.helpshift.support.c v0_58) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.b.intValue(), v0_58);
            return;
        } catch (com.helpshift.support.c v0_57) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.a.intValue(), v0_57);
            return;
        } catch (com.helpshift.support.c v0_56) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.d.intValue(), v0_56);
            return;
        } catch (com.helpshift.support.c v0_55) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.e.intValue(), v0_55);
            return;
        } catch (com.helpshift.support.c v0_53) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.f.intValue(), v0_53);
            return;
        } catch (com.helpshift.support.c v0_52) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.b.intValue(), v0_52);
            return;
        }
        if (!this.c.equals("GET")) {
            if (!this.c.equals("POST")) {
                v8_0 = 0;
            } else {
                String v1_32;
                if (!this.d) {
                    v1_32 = this.g.b(this.g.a(this.a, this.b, this.c));
                } else {
                    v1_32 = this.g.b(this.g.c(this.a));
                }
                java.util.HashMap v3_18 = new java.net.URL(v0_60);
                if (!"https://".equals(com.helpshift.common.domain.network.i.a)) {
                    v0_2 = ((java.net.HttpURLConnection) v3_18.openConnection());
                } else {
                    v0_2 = ((javax.net.ssl.HttpsURLConnection) v3_18.openConnection());
                    this.g.a(((javax.net.ssl.HttpsURLConnection) v0_2));
                }
                v0_2.setRequestMethod("POST");
                v0_2.setDoOutput(1);
                v0_2.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
                com.helpshift.support.c.a(v0_2);
                java.util.HashMap v3_31 = v0_2.getOutputStream();
                android.os.Handler v4_37 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(v3_31, "UTF-8"));
                v4_37.write(com.helpshift.support.c.a(v1_32));
                v4_37.flush();
                v4_37.close();
                v3_31.close();
                v8_0 = v0_2;
            }
        } else {
            String v1_63 = this.g.a(this.g.a(this.a, this.b, this.c));
            android.os.Handler v4_40 = new StringBuilder();
            v4_40.append(v0_60);
            v4_40.append("?");
            v4_40.append(v1_63);
            java.util.HashMap v3_35 = new java.net.URL(v4_40.toString());
            if (!"https://".equals(com.helpshift.common.domain.network.i.a)) {
                v0_2 = ((java.net.HttpURLConnection) v3_35.openConnection());
            } else {
                v0_2 = ((javax.net.ssl.HttpsURLConnection) v3_35.openConnection());
                this.g.a(((javax.net.ssl.HttpsURLConnection) v0_2));
            }
            v0_2.setRequestMethod("GET");
            com.helpshift.support.c.a(v0_2);
            String v1_5 = com.helpshift.util.o.c().q().a(this.b);
            if (android.text.TextUtils.isEmpty(v1_5)) {
            } else {
                v0_2.setRequestProperty("If-None-Match", v1_5);
            }
        }
        if (v8_0 == null) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.d.intValue(), 0);
            if ((v8_0 instanceof javax.net.ssl.HttpsURLConnection)) {
                com.helpshift.support.c.a(this.g, ((javax.net.ssl.HttpsURLConnection) v8_0));
            }
            if (v8_0 == null) {
                return;
            }
        } else {
            com.helpshift.support.c v0_5 = v8_0.getResponseCode();
            if (v0_5 >= 300) {
                android.os.Handler v4_3 = new StringBuilder();
                v4_3.append("Api : ");
                v4_3.append(this.b);
                v4_3.append(" \t Status : ");
                v4_3.append(v0_5);
                v4_3.append("\t Thread Id : ");
                v4_3.append(Thread.currentThread().getId());
                com.helpshift.util.l.a("Helpshift_ApiClient", v4_3.toString());
            }
            java.util.HashMap v3_9 = v8_0.getHeaderFields().entrySet();
            android.os.Handler v4_6 = new StringBuilder();
            if ((v0_5 >= 200) && (v0_5 < 300)) {
                java.util.zip.GZIPInputStream v10_2 = new java.io.BufferedInputStream(v8_0.getInputStream());
                java.io.IOException v11_1 = v3_9.iterator();
                while (v11_1.hasNext()) {
                    String v12_14 = ((java.util.Map$Entry) v11_1.next());
                    if ((v12_14.getKey() != null) && (((String) v12_14.getKey()).equals("ETag"))) {
                        com.helpshift.util.o.c().q().a(this.b, ((String) ((java.util.List) v12_14.getValue()).get(0)));
                    }
                }
                java.io.IOException v11_2 = v3_9.iterator();
                while (v11_2.hasNext()) {
                    String v12_5 = ((java.util.Map$Entry) v11_2.next());
                    if ((v12_5.getKey() != null) && ((((String) v12_5.getKey()).equals("Content-Encoding")) && (((String) ((java.util.List) v12_5.getValue()).get(0)).equalsIgnoreCase("gzip")))) {
                        v10_2 = new java.util.zip.GZIPInputStream(v10_2);
                    }
                }
                java.util.zip.GZIPInputStream v10_4 = new java.io.BufferedReader(new java.io.InputStreamReader(v10_2));
                try {
                    while(true) {
                        java.io.IOException v11_5 = v10_4.readLine();
                        v4_6.append(v11_5);
                    }
                    if (v10_4 != null) {
                        v10_4.close();
                    }
                } catch (com.helpshift.support.c v0_6) {
                    if (v10_4 != null) {
                        v10_4.close();
                    }
                    throw v0_6;
                } catch (java.io.IOException v11_6) {
                    com.helpshift.util.l.c("Helpshift_ApiClient", "IO Exception ex", v11_6);
                    if (v10_4 != null) {
                    }
                }
                if (v11_5 == null) {
                }
            }
            java.util.zip.GZIPInputStream v10_6 = new java.util.HashMap();
            v10_6.put("status", Integer.valueOf(v0_5));
            if ((v0_5 < 200) || (v0_5 >= 300)) {
                if (v0_5 != com.helpshift.common.domain.network.j.i.intValue()) {
                    if (v0_5 != com.helpshift.common.domain.network.j.u.intValue()) {
                        if (v0_5 != com.helpshift.common.domain.network.j.q.intValue()) {
                            com.helpshift.support.c.a = 0;
                            com.helpshift.support.c v0_8 = this.f.obtainMessage();
                            v0_8.obj = v10_6;
                            this.f.sendMessage(v0_8);
                        } else {
                            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.q.intValue(), 0);
                        }
                    } else {
                        com.helpshift.support.c.a = (com.helpshift.support.c.a + 1);
                        if (com.helpshift.support.c.a > 3) {
                            com.helpshift.support.c.a = 0;
                            com.helpshift.support.c v0_14 = this.f.obtainMessage();
                            v0_14.obj = v10_6;
                            this.f.sendMessage(v0_14);
                        } else {
                            java.util.zip.GZIPInputStream v10_7 = v3_9.iterator();
                            while (v10_7.hasNext()) {
                                com.helpshift.support.c v0_17 = ((java.util.Map$Entry) v10_7.next());
                                if ((v0_17.getKey() != null) && (((String) v0_17.getKey()).equals("HS-UEpoch"))) {
                                    com.helpshift.util.o.c().q().a(com.helpshift.common.util.a.a(((String) ((java.util.List) v0_17.getValue()).get(0))));
                                    this.g.a(this.c, this.b, v6_1, this.e, this.f);
                                }
                            }
                        }
                    }
                } else {
                    com.helpshift.support.c.a = (com.helpshift.support.c.a + 1);
                    com.helpshift.support.c v0_27 = this.e.obtainMessage();
                    v0_27.obj = 0;
                    this.e.sendMessage(v0_27);
                }
            } else {
                com.helpshift.support.c.a = 0;
                v10_6.put("response", new org.json.JSONArray(v4_6.toString()));
                com.helpshift.support.c v0_33 = this.e.obtainMessage();
                v0_33.obj = v10_6;
                this.e.sendMessage(v0_33);
            }
        }
        v8_0.disconnect();
        return;
    }

Method com.helpshift.support.c$1.run() calling method java.net.URL.<init>()


    public void run()
    {
        try {
            String v8_0;
            com.helpshift.support.c v0_2;
            java.util.HashMap v6_1 = new java.util.HashMap(this.a);
            com.helpshift.support.c v0_60 = this.g.b(this.b);
        } catch (com.helpshift.support.c v0_58) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.b.intValue(), v0_58);
            return;
        } catch (com.helpshift.support.c v0_57) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.a.intValue(), v0_57);
            return;
        } catch (com.helpshift.support.c v0_56) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.d.intValue(), v0_56);
            return;
        } catch (com.helpshift.support.c v0_55) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.e.intValue(), v0_55);
            return;
        } catch (com.helpshift.support.c v0_53) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.f.intValue(), v0_53);
            return;
        } catch (com.helpshift.support.c v0_52) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.b.intValue(), v0_52);
            return;
        }
        if (!this.c.equals("GET")) {
            if (!this.c.equals("POST")) {
                v8_0 = 0;
            } else {
                String v1_32;
                if (!this.d) {
                    v1_32 = this.g.b(this.g.a(this.a, this.b, this.c));
                } else {
                    v1_32 = this.g.b(this.g.c(this.a));
                }
                java.util.HashMap v3_18 = new java.net.URL(v0_60);
                if (!"https://".equals(com.helpshift.common.domain.network.i.a)) {
                    v0_2 = ((java.net.HttpURLConnection) v3_18.openConnection());
                } else {
                    v0_2 = ((javax.net.ssl.HttpsURLConnection) v3_18.openConnection());
                    this.g.a(((javax.net.ssl.HttpsURLConnection) v0_2));
                }
                v0_2.setRequestMethod("POST");
                v0_2.setDoOutput(1);
                v0_2.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
                com.helpshift.support.c.a(v0_2);
                java.util.HashMap v3_31 = v0_2.getOutputStream();
                android.os.Handler v4_37 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(v3_31, "UTF-8"));
                v4_37.write(com.helpshift.support.c.a(v1_32));
                v4_37.flush();
                v4_37.close();
                v3_31.close();
                v8_0 = v0_2;
            }
        } else {
            String v1_63 = this.g.a(this.g.a(this.a, this.b, this.c));
            android.os.Handler v4_40 = new StringBuilder();
            v4_40.append(v0_60);
            v4_40.append("?");
            v4_40.append(v1_63);
            java.util.HashMap v3_35 = new java.net.URL(v4_40.toString());
            if (!"https://".equals(com.helpshift.common.domain.network.i.a)) {
                v0_2 = ((java.net.HttpURLConnection) v3_35.openConnection());
            } else {
                v0_2 = ((javax.net.ssl.HttpsURLConnection) v3_35.openConnection());
                this.g.a(((javax.net.ssl.HttpsURLConnection) v0_2));
            }
            v0_2.setRequestMethod("GET");
            com.helpshift.support.c.a(v0_2);
            String v1_5 = com.helpshift.util.o.c().q().a(this.b);
            if (android.text.TextUtils.isEmpty(v1_5)) {
            } else {
                v0_2.setRequestProperty("If-None-Match", v1_5);
            }
        }
        if (v8_0 == null) {
            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.d.intValue(), 0);
            if ((v8_0 instanceof javax.net.ssl.HttpsURLConnection)) {
                com.helpshift.support.c.a(this.g, ((javax.net.ssl.HttpsURLConnection) v8_0));
            }
            if (v8_0 == null) {
                return;
            }
        } else {
            com.helpshift.support.c v0_5 = v8_0.getResponseCode();
            if (v0_5 >= 300) {
                android.os.Handler v4_3 = new StringBuilder();
                v4_3.append("Api : ");
                v4_3.append(this.b);
                v4_3.append(" \t Status : ");
                v4_3.append(v0_5);
                v4_3.append("\t Thread Id : ");
                v4_3.append(Thread.currentThread().getId());
                com.helpshift.util.l.a("Helpshift_ApiClient", v4_3.toString());
            }
            java.util.HashMap v3_9 = v8_0.getHeaderFields().entrySet();
            android.os.Handler v4_6 = new StringBuilder();
            if ((v0_5 >= 200) && (v0_5 < 300)) {
                java.util.zip.GZIPInputStream v10_2 = new java.io.BufferedInputStream(v8_0.getInputStream());
                java.io.IOException v11_1 = v3_9.iterator();
                while (v11_1.hasNext()) {
                    String v12_14 = ((java.util.Map$Entry) v11_1.next());
                    if ((v12_14.getKey() != null) && (((String) v12_14.getKey()).equals("ETag"))) {
                        com.helpshift.util.o.c().q().a(this.b, ((String) ((java.util.List) v12_14.getValue()).get(0)));
                    }
                }
                java.io.IOException v11_2 = v3_9.iterator();
                while (v11_2.hasNext()) {
                    String v12_5 = ((java.util.Map$Entry) v11_2.next());
                    if ((v12_5.getKey() != null) && ((((String) v12_5.getKey()).equals("Content-Encoding")) && (((String) ((java.util.List) v12_5.getValue()).get(0)).equalsIgnoreCase("gzip")))) {
                        v10_2 = new java.util.zip.GZIPInputStream(v10_2);
                    }
                }
                java.util.zip.GZIPInputStream v10_4 = new java.io.BufferedReader(new java.io.InputStreamReader(v10_2));
                try {
                    while(true) {
                        java.io.IOException v11_5 = v10_4.readLine();
                        v4_6.append(v11_5);
                    }
                    if (v10_4 != null) {
                        v10_4.close();
                    }
                } catch (com.helpshift.support.c v0_6) {
                    if (v10_4 != null) {
                        v10_4.close();
                    }
                    throw v0_6;
                } catch (java.io.IOException v11_6) {
                    com.helpshift.util.l.c("Helpshift_ApiClient", "IO Exception ex", v11_6);
                    if (v10_4 != null) {
                    }
                }
                if (v11_5 == null) {
                }
            }
            java.util.zip.GZIPInputStream v10_6 = new java.util.HashMap();
            v10_6.put("status", Integer.valueOf(v0_5));
            if ((v0_5 < 200) || (v0_5 >= 300)) {
                if (v0_5 != com.helpshift.common.domain.network.j.i.intValue()) {
                    if (v0_5 != com.helpshift.common.domain.network.j.u.intValue()) {
                        if (v0_5 != com.helpshift.common.domain.network.j.q.intValue()) {
                            com.helpshift.support.c.a = 0;
                            com.helpshift.support.c v0_8 = this.f.obtainMessage();
                            v0_8.obj = v10_6;
                            this.f.sendMessage(v0_8);
                        } else {
                            this.g.a(this.b, this.f, com.helpshift.common.domain.network.j.q.intValue(), 0);
                        }
                    } else {
                        com.helpshift.support.c.a = (com.helpshift.support.c.a + 1);
                        if (com.helpshift.support.c.a > 3) {
                            com.helpshift.support.c.a = 0;
                            com.helpshift.support.c v0_14 = this.f.obtainMessage();
                            v0_14.obj = v10_6;
                            this.f.sendMessage(v0_14);
                        } else {
                            java.util.zip.GZIPInputStream v10_7 = v3_9.iterator();
                            while (v10_7.hasNext()) {
                                com.helpshift.support.c v0_17 = ((java.util.Map$Entry) v10_7.next());
                                if ((v0_17.getKey() != null) && (((String) v0_17.getKey()).equals("HS-UEpoch"))) {
                                    com.helpshift.util.o.c().q().a(com.helpshift.common.util.a.a(((String) ((java.util.List) v0_17.getValue()).get(0))));
                                    this.g.a(this.c, this.b, v6_1, this.e, this.f);
                                }
                            }
                        }
                    }
                } else {
                    com.helpshift.support.c.a = (com.helpshift.support.c.a + 1);
                    com.helpshift.support.c v0_27 = this.e.obtainMessage();
                    v0_27.obj = 0;
                    this.e.sendMessage(v0_27);
                }
            } else {
                com.helpshift.support.c.a = 0;
                v10_6.put("response", new org.json.JSONArray(v4_6.toString()));
                com.helpshift.support.c v0_33 = this.e.obtainMessage();
                v0_33.obj = v10_6;
                this.e.sendMessage(v0_33);
            }
        }
        v8_0.disconnect();
        return;
    }

Method com.helpshift.support.webkit.b.shouldInterceptRequest() calling method java.net.URL.<init>()


    public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView p6, String p7)
    {
        java.io.FileNotFoundException v0_2 = this.b.getExternalCacheDir();
        try {
            String v1_3 = new java.net.URL(p7);
        } catch (String v1_4) {
            com.helpshift.util.l.a(com.helpshift.support.webkit.b.a, "MalformedURLException", v1_4);
            v1_3 = 0;
        }
        if (v1_3 != null) {
            String v2_1 = new java.io.File(v0_2, p7.replace("/", "_"));
            if (!v2_1.exists()) {
                if (com.helpshift.util.h.a(v1_3)) {
                    com.helpshift.util.h.a(v1_3, v2_1);
                }
            } else {
                try {
                    return new android.webkit.WebResourceResponse("", "", new java.io.FileInputStream(v2_1));
                } catch (java.io.FileNotFoundException v0_6) {
                    com.helpshift.util.l.b(com.helpshift.support.webkit.b.a, "FileNotFoundException", v0_6);
                }
            }
        }
        return super.shouldInterceptRequest(p6, p7);
    }

Method com.helpshift.util.h.a() calling method java.net.URL.<init>()


    public static String a(String p3)
    {
        try {
            String v1_2 = new StringBuilder();
            v1_2.append("file://");
            v1_2.append(p3);
            return new java.net.URL(v1_2.toString()).openConnection().getContentType();
        } catch (int v3_3) {
            com.helpshift.util.l.a(ark>com.helpshift.util.hark>.a, "openConnection() Exception :", v3_3);
            return 0;
        }
    }

Method com.inmobi.commons.core.network.b.a() calling method java.net.URL.<init>()


    public com.inmobi.commons.core.network.d a()
    {
        this.b.a();
        if (this.b.x == 1) {
            Throwable v0_1;
            if (!com.inmobi.commons.core.utilities.d.a()) {
                v0_1 = new com.inmobi.commons.core.network.d();
                v0_1.b = new com.inmobi.commons.core.network.NetworkError(com.inmobi.commons.core.network.NetworkError$ErrorCode.NETWORK_UNAVAILABLE_ERROR, "Network not reachable currently. Please try again.");
            } else {
                try {
                    Throwable v0_11 = ((java.net.HttpURLConnection) new java.net.URL(this.b.e()).openConnection());
                    this.a(v0_11);
                    this.c = v0_11;
                } catch (Throwable v0_3) {
                    java.io.BufferedWriter v1_1 = new com.inmobi.commons.core.network.d();
                    v1_1.b = new com.inmobi.commons.core.network.NetworkError(com.inmobi.commons.core.network.NetworkError$ErrorCode.NETWORK_IO_ERROR, v0_3.getLocalizedMessage());
                    v0_1 = v1_1;
                } catch (Throwable v0_21) {
                    v1_1 = new com.inmobi.commons.core.network.d();
                    v1_1.b = new com.inmobi.commons.core.network.NetworkError(com.inmobi.commons.core.network.NetworkError$ErrorCode.UNKNOWN_ERROR, v0_21.getLocalizedMessage());
                    try {
                        java.io.BufferedWriter v2_11 = new java.util.HashMap();
                        v2_11.put("type", "GenericException");
                        java.io.OutputStream v4_5 = new StringBuilder();
                        v4_5.append(v0_21.getMessage());
                        v2_11.put("message", v4_5.toString());
                        com.inmobi.commons.core.e.b.a();
                        com.inmobi.commons.core.e.b.a("root", "ExceptionCaught", v2_11);
                    } catch (Exception) {
                        java.io.BufferedWriter v2_13 = new StringBuilder("Error in submitting telemetry event : (");
                        v2_13.append(v0_21.getMessage());
                        v2_13.append(")");
                    }
                }
                if (!this.b.t) {
                    this.c.setInstanceFollowRedirects(0);
                }
                if ("POST".equals(this.b.p)) {
                    Throwable v0_19 = this.b.f();
                    this.c.setRequestProperty("Content-Length", Integer.toString(v0_19.length()));
                    this.c.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                    java.io.BufferedWriter v1_14 = 0;
                    java.io.BufferedWriter v2_7 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(this.c.getOutputStream()));
                    v2_7.write(v0_19);
                    com.inmobi.commons.core.utilities.d.a(v2_7);
                }
                v0_1 = this.b();
            }
            return v0_1;
        } else {
            Throwable v0_6 = new com.inmobi.commons.core.network.d();
            v0_6.b = new com.inmobi.commons.core.network.NetworkError(com.inmobi.commons.core.network.NetworkError$ErrorCode.GDPR_COMPLIANCE_ENFORCED, "Network Request dropped as current request is not GDPR compliant.");
            return v0_6;
        }
    }

Method com.integralads.avid.library.inmobi.DownloadAvidTask.doInBackground() calling method java.net.URL.<init>()


    protected varargs String doInBackground(String[] p8)
    {
        java.io.IOException v8_1 = p8[0];
        if (!android.text.TextUtils.isEmpty(v8_1)) {
            try {
                String v1_8 = new java.net.URL(v8_1).openConnection();
                v1_8.connect();
                int v3_1 = new java.io.BufferedInputStream(v1_8.getInputStream());
                try {
                    String v1_2 = new java.io.StringWriter();
                    byte[] v4_1 = new byte[1024];
                } catch (java.io.IOException v8_2) {
                    String v0_3 = new StringBuilder("AvidLoader: IO error ");
                    v0_3.append(v8_2.getLocalizedMessage());
                    com.integralads.avid.library.inmobi.utils.AvidLogs.e(v0_3.toString());
                    if (v3_1 != 0) {
                        v3_1.close();
                    }
                    return 0;
                }
                while(true) {
                    int v5 = v3_1.read(v4_1);
                    if (v5 == -1) {
                        break;
                    }
                    v1_2.write(new String(v4_1, 0, v5));
                }
                String v0_1 = v1_2.toString();
                v3_1.close();
                return v0_1;
            } catch (java.io.IOException v8_3) {
                v3_1 = 0;
                if (v3_1 != 0) {
                    v3_1.close();
                }
                throw v8_3;
            } catch (java.net.MalformedURLException) {
                v3_1 = 0;
                String v0_5 = new StringBuilder("AvidLoader: something is wrong with the URL \'");
                v0_5.append(v8_1);
                v0_5.append("\'");
                com.integralads.avid.library.inmobi.utils.AvidLogs.e(v0_5.toString());
                if (v3_1 != 0) {
                    v3_1.close();
                }
                return 0;
            } catch (java.io.IOException v8_2) {
                v3_1 = 0;
            } catch (java.io.IOException v8_8) {
                com.integralads.avid.library.inmobi.utils.AvidLogs.e("AvidLoader: can not close Stream", v8_8);
                return 0;
            }
        } else {
            com.integralads.avid.library.inmobi.utils.AvidLogs.e("AvidLoader: URL is empty");
            return 0;
        }
    }

Method com.j.a.d$1.run() calling method java.net.URL.<init>()


    public final void run()
    {
        try {
            int v1_1 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(this.a).openConnection());
            java.io.OutputStream v0_9 = 15000;
            try {
                v1_1.setReadTimeout(15000);
                v1_1.setConnectTimeout(15000);
                v1_1.setRequestMethod(this.b);
            } catch (java.io.OutputStream v0_0) {
                if (v1_1 != 0) {
                    v1_1.disconnect();
                }
                throw v0_0;
            } catch (Exception) {
                v0_9 = v1_1;
                if (v0_9 == null) {
                    return;
                } else {
                    v0_9.disconnect();
                    return;
                }
            }
            if (this.c != null) {
                java.io.OutputStream v0_4 = this.c.keys();
                while (v0_4.hasNext()) {
                    String v2_5 = ((String) v0_4.next());
                    v1_1.setRequestProperty(v2_5, this.c.getString(v2_5));
                }
            }
            v1_1.setDoOutput(0);
            if (this.d != null) {
                v1_1.setDoInput(1);
                java.io.OutputStream v0_8 = v1_1.getOutputStream();
                String v2_3 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(v0_8, "UTF-8"));
                v2_3.write(java.net.URLEncoder.encode(this.d, "UTF-8"));
                v2_3.flush();
                v2_3.close();
                v0_8.close();
            }
            v1_1.getResponseCode();
            if (v1_1 == 0) {
                return;
            } else {
                v1_1.disconnect();
                return;
            }
        } catch (int v1_4) {
            v1_1 = 15000;
            v0_0 = v1_4;
        } catch (Exception) {
        }
    }

Method com.login.nativesso.activity.UploadProfilePicActivity$a.a() calling method java.net.URL.<init>()


    protected varargs String a(Void[] p9)
    {
        try {
            String v9_1 = new StringBuilder();
            v9_1.append("===");
            v9_1.append(System.currentTimeMillis());
            v9_1.append("===");
            String v9_2 = v9_1.toString();
            java.net.HttpURLConnection v0_3 = ((java.net.HttpURLConnection) new java.net.URL(com.login.nativesso.i.b.f).openConnection());
            v0_3.setUseCaches(0);
            v0_3.setDoOutput(1);
            v0_3.setDoInput(1);
            String v3_1 = new StringBuilder();
            v3_1.append("multipart/form-data; boundary=");
            v3_1.append(v9_2);
            v0_3.setRequestProperty("Content-Type", v3_1.toString());
            java.io.PrintWriter v2_1 = com.login.nativesso.g.b.a();
            v0_3.setRequestProperty("channel", v2_1.a("channel", this.b));
            v0_3.setRequestProperty("ssec", v2_1.b(this.b));
            v0_3.setRequestProperty("ticketId", v2_1.a("TICKETID", this.b));
            v0_3.setRequestProperty("tgid", v2_1.a("TGID", this.b));
            java.io.OutputStream v6 = v0_3.getOutputStream();
            java.io.PrintWriter v7_1 = new java.io.PrintWriter(new java.io.OutputStreamWriter(v6, "UTF-8"), 1);
            this.a(v7_1, "datafile", this.a, v9_2, v6);
            return this.a(v7_1, v9_2, v0_3);
        } catch (String v9_4) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_4);
            return "";
        }
    }

Method com.login.nativesso.i.a$a.a() calling method java.net.URL.<init>()


    protected varargs String a(String[] p6)
    {
        try {
            String v6_8 = Long.valueOf((System.currentTimeMillis() / 1000)).toString();
            String v1_0 = new StringBuilder();
            v1_0.append("https://ade.clmbtech.com/uid/syncPartner.htm?pid=7558&cid=");
            v1_0.append(com.login.nativesso.g.b.a().a("TICKETID", com.login.nativesso.d.c.a().d()));
            v1_0.append("&time=");
            v1_0.append(v6_8);
            String v6_2 = ((java.net.HttpURLConnection) new java.net.URL(v1_0.toString()).openConnection());
            v6_2.setRequestMethod("GET");
            v6_2.setRequestProperty("_col_uuid", com.login.nativesso.g.b.a().a("TGID", com.login.nativesso.d.c.a().d()));
            String v6_3 = v6_2.getResponseCode();
            StringBuilder v0_6 = new StringBuilder();
            v0_6.append(v6_3);
            v0_6.append("");
            return v0_6.toString();
        } catch (Exception) {
            return "";
        }
    }

Method com.login.nativesso.i.c.b() calling method java.net.URL.<init>()


    public static String b(String p3)
    {
        try {
            String v1_1 = new StringBuilder();
            v1_1.append(com.login.nativesso.i.b.h);
            v1_1.append("?package=");
            v1_1.append(p3);
            String v3_2 = ((java.net.HttpURLConnection) new java.net.URL(v1_1.toString()).openConnection());
            v3_2.setRequestMethod("GET");
            v3_2.setConnectTimeout(4000);
            v3_2.setReadTimeout(4000);
        } catch (String v3_7) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v3_7);
            return 0;
        }
        if (v3_2.getResponseCode() != 200) {
            return 0;
        } else {
            java.io.BufferedReader v0_6 = new java.io.BufferedReader(new java.io.InputStreamReader(v3_2.getInputStream()));
            String v3_5 = new StringBuffer();
            while(true) {
                String v1_5 = v0_6.readLine();
                if (v1_5 == null) {
                    break;
                }
                v3_5.append(v1_5);
            }
            v0_6.close();
            return v3_5.toString();
        }
    }

Method com.managers.p$a.a() calling method java.net.URL.<init>()


    protected varargs String a(String[] p19)
    {
        com.services.l$aa v3_13 = android.support.v4.content.ContextCompat.getExternalFilesDirs(com.managers.p.a(this.a), 0)[0];
        try {
            byte[] v6_0 = new java.net.URL(p19[0]);
            android.graphics.Typeface v2_0 = p19[1];
            int v8_0 = v6_0.openConnection();
            v8_0.connect();
            int v8_1 = v8_0.getContentLength();
            java.io.BufferedInputStream v9_1 = new java.io.BufferedInputStream(v6_0.openStream(), 8192);
            byte[] v6_3 = new java.io.File(v3_13.getAbsolutePath(), "fonts");
            v6_3.mkdirs();
            com.services.l$aa v3_4 = new StringBuilder();
            v3_4.append(v6_3);
            v3_4.append(java.io.File.separator);
            v3_4.append(v2_0);
            android.graphics.Typeface v2_1 = v3_4.toString();
            com.services.l$aa v3_6 = new java.io.FileOutputStream(v2_1);
            byte[] v6_6 = new byte[1024];
            long v10_2 = 0;
        } catch (Exception v0) {
            android.util.Log.e("Error: ", v0.getMessage());
            return 0;
        }
        while(true) {
            int v12 = v9_1.read(v6_6);
            if (v12 == -1) {
                break;
            }
            long v15 = (v10_2 + ((long) v12));
            long v10_3 = new String[1];
            StringBuilder v11_1 = new StringBuilder();
            v11_1.append("");
            v11_1.append(((int) ((100 * v15) / ((long) v8_1))));
            v10_3[0] = v11_1.toString();
            this.publishProgress(v10_3);
            v3_6.write(v6_6, 0, v12);
            v10_2 = v15;
        }
        v3_6.flush();
        v3_6.close();
        v9_1.close();
        android.graphics.Typeface v2_2 = this.a.a(v2_1, com.managers.p.a(this.a));
        if ((v2_2 == null) || (com.managers.p.b(this.a) == null)) {
            return 0;
        } else {
            com.managers.p.b(this.a).onFontRetrieved(v2_2);
            return 0;
        }
    }

Method com.moat.analytics.mobile.inm.q.a() calling method java.net.URL.<init>()

Couldn't retrieve source code

Method com.moe.pushlibrary.utils.MoEHelperUtils.downloadImageBitmap() calling method java.net.URL.<init>()


    public static android.graphics.Bitmap downloadImageBitmap(String p5)
    {
        if ((p5 != null) && (p5.length() != 0)) {
            try {
                Exception v3_0 = new java.net.URL(p5).openStream();
                int v4 = android.graphics.BitmapFactory.decodeStream(v3_0);
            } catch (Exception v3_4) {
                v4 = 0;
                Object[] v2_3 = new Object[1];
                v2_3[0] = p5;
                com.moengage.core.Logger.f(String.format("Out of Memory Error in image bitmap download for Url: %s.", v2_3), v3_4);
                return v4;
            } catch (Exception v3_3) {
                v4 = 0;
                Object[] v2_2 = new Object[1];
                v2_2[0] = p5;
                com.moengage.core.Logger.f(String.format("Unknown Host Exception in image bitmap download for Url: %s. Device may be offline.", v2_2), v3_3);
                return v4;
            } catch (Exception v3_2) {
                v4 = 0;
                Object[] v2_1 = new Object[1];
                v2_1[0] = p5;
                com.moengage.core.Logger.f(String.format("Malformed URL Exception in image bitmap download for Url: %s. Image Url may be corrupted.", v2_1), v3_2);
                return v4;
            } catch (Exception v3_1) {
                v4 = 0;
                Object[] v2_0 = new Object[1];
                v2_0[0] = p5;
                com.moengage.core.Logger.f(String.format("Exception in image bitmap download for Url: %s", v2_0), v3_1);
                return v4;
            }
            if (v3_0 == null) {
                return v4;
            } else {
                try {
                    v3_0.close();
                } catch (Exception v0_7) {
                    v3_4 = v0_7;
                } catch (Exception v0_5) {
                    v3_3 = v0_5;
                } catch (Exception v0_3) {
                    v3_2 = v0_3;
                } catch (Exception v0_1) {
                    v3_1 = v0_1;
                }
                return v4;
            }
        } else {
            com.moengage.core.Logger.e("Null or empty Url string passed to image bitmap download. Not attempting download.");
            return 0;
        }
    }

Method com.moengage.core.APIManager.uploadLogsToLogEntries() calling method java.net.URL.<init>()


    static boolean uploadLogsToLogEntries(android.content.Context p3, String p4, org.json.JSONObject p5)
    {
        try {
            if (com.moengage.core.ConfigurationProvider.getInstance(p3).isAppEnabled()) {
                if (com.moengage.core.ConfigurationProvider.getInstance(p3).isLogEntryEnabled()) {
                    int v3_1 = p5.toString();
                    int v5_2 = new StringBuilder();
                    v5_2.append("API Manager : uploadLogsToLogEntries : URI ");
                    v5_2.append(p4);
                    com.moengage.core.Logger.v(v5_2.toString());
                    int v5_5 = new StringBuilder();
                    v5_5.append("API Manager : uploadLogsToLogEntries : request ");
                    v5_5.append(v3_1);
                    com.moengage.core.Logger.v(v5_5.toString());
                    if (!android.text.TextUtils.isEmpty(v3_1)) {
                        int v4_2 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(p4).openConnection());
                        int v5_10 = 1;
                        v4_2.setDoOutput(1);
                        v4_2.setRequestProperty("Accept-Charset", "UTF-8");
                        v4_2.setRequestProperty("Content-type", "application/json");
                        int v1_6 = v4_2.getOutputStream();
                        v1_6.write(v3_1.getBytes("UTF-8"));
                        v1_6.close();
                        int v3_4 = new StringBuilder();
                        v3_4.append("API Manager : uploadLogsToLogEntries : response");
                        v3_4.append(v4_2.getResponseCode());
                        com.moengage.core.Logger.v(v3_4.toString());
                        if (v4_2.getResponseCode() != 204) {
                            v5_10 = 0;
                        }
                        return v5_10;
                    } else {
                        return 0;
                    }
                } else {
                }
            }
        } catch (Exception) {
            return 0;
        }
        return 0;
    }

Method com.moengage.core.MoERestClient.execute() calling method java.net.URL.<init>()


    public void execute(com.moengage.core.MoERestClient$RequestMethod p4)
    {
        String v0_2;
        String v0_4 = new java.net.URL(this.getFinalURI(this.url));
        int v1_11 = new StringBuilder();
        v1_11.append("MoERestClient: executing API: ");
        v1_11.append(v0_4.toString());
        com.moengage.core.Logger.v(v1_11.toString());
        if (!this.url.startsWith("https://")) {
            v0_2 = ((java.net.HttpURLConnection) v0_4.openConnection());
        } else {
            v0_2 = ((javax.net.ssl.HttpsURLConnection) v0_4.openConnection());
        }
        if (p4 != com.moengage.core.MoERestClient$RequestMethod.POST) {
            v0_2.setRequestMethod("GET");
        } else {
            this.addBody(v0_2);
        }
        this.responseCode = v0_2.getResponseCode();
        String v4_5 = new StringBuilder();
        v4_5.append("MoERestClient: ResponseCode: ");
        v4_5.append(this.responseCode);
        com.moengage.core.Logger.v(v4_5.toString());
        if (200 == this.responseCode) {
            this.response = this.convertStreamToString(v0_2.getInputStream());
            v0_2.disconnect();
            if (!android.text.TextUtils.isEmpty(this.response)) {
                String v4_13 = new StringBuilder();
                v4_13.append("MoERestClient: Response: ");
                v4_13.append(this.response);
                com.moengage.core.Logger.v(v4_13.toString());
            }
            return;
        } else {
            this.errorResponse = this.convertStreamToString(v0_2.getErrorStream());
            String v4_18 = new StringBuilder();
            v4_18.append("MoERestClient: Response: API Failed: ");
            v4_18.append(this.url);
            v4_18.append(" response code :");
            v4_18.append(this.responseCode);
            v4_18.append("reason : ");
            v4_18.append(this.errorResponse);
            com.moengage.core.Logger.f(v4_18.toString());
            if (!android.text.TextUtils.isEmpty(this.errorResponse)) {
                String v4_23 = new StringBuilder();
                v4_23.append("MoERestClient: with reason: ");
                v4_23.append(this.errorResponse);
                com.moengage.core.Logger.f(v4_23.toString());
            }
            return;
        }
    }

Method com.moengage.inapp.ViewEngine.downloadImageBitmap() calling method java.net.URL.<init>()


    private android.graphics.Bitmap downloadImageBitmap(String p5, android.content.Context p6)
    {
        if (!android.text.TextUtils.isEmpty(p5)) {
            if (!p5.startsWith("resources://")) {
                try {
                    int v5_2 = android.graphics.BitmapFactory.decodeStream(new java.net.URL(p5).openStream());
                } catch (Exception v6_1) {
                    v5_2 = 0;
                    com.moengage.core.Logger.e("ViewEngine:downloadImageBitmap : Image download Exception ", v6_1);
                    return v5_2;
                }
                if (v5_2 == 0) {
                    com.moengage.inapp.MoEInAppFailureLogger.getInstance().updateCampaignFailureCounter(this.mInAppMessage.rules.campaignId, com.moengage.inapp.MoEInAppFailureLogger.FAILURE_REASON_IMAGE_DOWNLOAD_FAILURE);
                    return v5_2;
                } else {
                    Exception v6_4 = new StringBuilder();
                    v6_4.append("ViewEngine: downloadImageBitmap: Bitmap dimensions: width: ");
                    v6_4.append(v5_2.getWidth());
                    v6_4.append(" height: ");
                    v6_4.append(v5_2.getHeight());
                    com.moengage.core.Logger.v(v6_4.toString());
                    return v5_2;
                }
            } else {
                int v5_4 = p6.getResources().getIdentifier(p5.substring(12), "drawable", p6.getPackageName());
                if (v5_4 != 0) {
                    com.moengage.core.Logger.v("ViewEngine: downloadImageBitmap: using a local resource");
                    return android.graphics.BitmapFactory.decodeResource(p6.getResources(), v5_4);
                } else {
                    return 0;
                }
            }
        } else {
            return 0;
        }
    }

Method com.paytm.pgsdk.IntentServicePostNotification.callHttp() calling method java.net.URL.<init>()


    public void callHttp(String p6)
    {
        try {
            Throwable v6_2 = ((java.net.HttpURLConnection) new java.net.URL(p6).openConnection());
            try {
                java.io.InputStreamReader v1_2 = new java.io.InputStreamReader(v6_2.getInputStream());
                int v0_3 = v1_2.read();
            } catch (int v0_4) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_4);
                if (v6_2 == null) {
                    return;
                } else {
                    v6_2.disconnect();
                    return;
                }
            }
            while (v0_3 != -1) {
                int v0_5 = ((char) v0_3);
                int v2_1 = v1_2.read();
                System.out.print(v0_5);
                v0_3 = v2_1;
            }
            if (v6_2 == null) {
                return;
            } else {
            }
        } catch (Throwable v6_1) {
            int v0_1 = v6_1;
            v6_2 = 0;
            if (v6_2 != null) {
                v6_2.disconnect();
            }
            throw v0_1;
        } catch (Throwable v6_4) {
            v0_4 = v6_4;
            v6_2 = 0;
        } catch (int v0_1) {
        }
    }

Method com.paytm.pgsdk.IntentServicePreNotification.callHttp() calling method java.net.URL.<init>()


    public void callHttp(String p6)
    {
        try {
            Throwable v6_2 = ((java.net.HttpURLConnection) new java.net.URL(p6).openConnection());
            try {
                java.io.InputStreamReader v1_2 = new java.io.InputStreamReader(v6_2.getInputStream());
                int v0_3 = v1_2.read();
            } catch (int v0_4) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_4);
                if (v6_2 == null) {
                    return;
                } else {
                    v6_2.disconnect();
                    return;
                }
            }
            while (v0_3 != -1) {
                int v0_5 = ((char) v0_3);
                int v2_1 = v1_2.read();
                System.out.print(v0_5);
                v0_3 = v2_1;
            }
            if (v6_2 == null) {
                return;
            } else {
            }
        } catch (Throwable v6_1) {
            int v0_1 = v6_1;
            v6_2 = 0;
            if (v6_2 != null) {
                v6_2.disconnect();
            }
            throw v0_1;
        } catch (Throwable v6_4) {
            v0_4 = v6_4;
            v6_2 = 0;
        } catch (int v0_1) {
        }
    }

Method com.paytm.pgsdk.PaytmPGActivity$AuthenticatorTask.doInBackground() calling method java.net.URL.<init>()


    protected varargs declared_synchronized String doInBackground(String[] p7)
    {
        try {
            String v0 = "";
            try {
                String v2_11 = new java.net.URL(p7[0]);
                Exception v7_10 = new StringBuilder();
                v7_10.append("URL is ");
                v7_10.append(v2_11.toString());
                com.paytm.pgsdk.PaytmUtility.debugLog(v7_10.toString());
                Exception v7_6 = v2_11.openConnection();
                try {
                    com.paytm.pgsdk.PaytmUtility.debugLog("New Connection is created.");
                } catch (String v1_3) {
                    com.paytm.pgsdk.PaytmUtility.debugLog("Some exception occurred while making client authentication.");
                    com.paytm.pgsdk.PaytmUtility.printStackTrace(v1_3);
                    if (v7_6 == null) {
                        com.paytm.pgsdk.PaytmUtility.debugLog("connection is disconnected");
                    } else {
                        ((java.net.HttpURLConnection) v7_6).disconnect();
                    }
                    return v0;
                }
                if (android.webkit.URLUtil.isHttpsUrl(v2_11.toString())) {
                    com.paytm.pgsdk.PaytmUtility.debugLog("Https url");
                    com.paytm.pgsdk.PaytmUtility.debugLog("Setting SSLSocketFactory to connection...");
                    ((javax.net.ssl.HttpsURLConnection) v7_6).setSSLSocketFactory(new com.paytm.pgsdk.PaytmSSLSocketFactory(this.this$0, com.paytm.pgsdk.PaytmPGService.getService().mCertificate));
                    com.paytm.pgsdk.PaytmUtility.debugLog("SSLSocketFactory is set to connection.");
                }
                v7_6.setDoOutput(1);
                ((java.net.HttpURLConnection) v7_6).setRequestMethod("POST");
                String v1_17 = com.paytm.pgsdk.PaytmUtility.getStringFromBundle(com.paytm.pgsdk.PaytmPGActivity.access$100(this.this$0));
                if ((v1_17 == null) || (v1_17.length() <= 0)) {
                } else {
                    com.paytm.pgsdk.PaytmUtility.debugLog("Getting the output stream to post");
                    String v2_15 = new java.io.PrintWriter(v7_6.getOutputStream());
                    com.paytm.pgsdk.PaytmUtility.debugLog("posting......");
                    v2_15.print(v1_17);
                    v2_15.close();
                    com.paytm.pgsdk.PaytmUtility.debugLog("posted parameters and closing output stream");
                    String v1_21 = ((java.net.HttpURLConnection) v7_6).getResponseCode();
                    String v2_18 = ((java.net.HttpURLConnection) v7_6).getResponseMessage();
                    String v3_8 = new StringBuilder();
                    v3_8.append("Response code is ");
                    v3_8.append(v1_21);
                    com.paytm.pgsdk.PaytmUtility.debugLog(v3_8.toString());
                    String v3_11 = new StringBuilder();
                    v3_11.append("Response Message is ");
                    v3_11.append(v2_18);
                    com.paytm.pgsdk.PaytmUtility.debugLog(v3_11.toString());
                    if (v1_21 != 200) {
                    } else {
                        com.paytm.pgsdk.PaytmUtility.debugLog("Getting the input stream to read response");
                        String v1_1 = new java.util.Scanner(v7_6.getInputStream());
                        com.paytm.pgsdk.PaytmUtility.debugLog("reading......");
                        while (v1_1.hasNextLine()) {
                            String v2_4 = new StringBuilder();
                            v2_4.append(v0);
                            v2_4.append(v1_1.nextLine());
                            v0 = v2_4.toString();
                        }
                        v1_1.close();
                        com.paytm.pgsdk.PaytmUtility.debugLog("read response and closing input stream");
                    }
                }
            } catch (Exception v7_7) {
                v1_3 = v7_7;
                v7_6 = 0;
            }
        } catch (Exception v7_4) {
            throw v7_4;
        }
    }

Method com.payu.custombrowser.Bank$34.run() calling method java.net.URL.<init>()


    public void run()
    {
        com.payu.custombrowser.Bank.c(this.b, 1);
        try {
            if (this.b.f == null) {
                if (this.b.f != null) {
                    this.b.i = new org.json.JSONObject(com.payu.custombrowser.util.CBUtil.decodeContents(this.b.f.openFileInput(this.b.h.getString(this.a))));
                    if ((this.b.f != null) && (!this.b.f.isFinishing())) {
                        this.b.f.runOnUiThread(new com.payu.custombrowser.Bank$34$1(this));
                    }
                    com.payu.custombrowser.Bank.c(this.b, 0);
                }
            } else {
                android.app.Activity v1_1 = this.b.h.getString(this.a);
                if (new java.io.File(this.b.f.getFilesDir(), v1_1).exists()) {
                } else {
                    com.payu.custombrowser.Bank$34$1 v3_8 = new StringBuilder();
                    v3_8.append("https://cbjs.payu.in/js/sdk_js/v3/");
                    v3_8.append(v1_1);
                    v3_8.append(".js");
                    com.payu.custombrowser.Bank$34$1 v2_20 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(v3_8.toString()).openConnection());
                    v2_20.setRequestMethod("GET");
                    v2_20.setSSLSocketFactory(new com.payu.custombrowser.util.h());
                    v2_20.setRequestProperty("Accept-Charset", "UTF-8");
                    if (v2_20.getResponseCode() != 200) {
                    } else {
                        this.b.N.writeFileOutputStream(v2_20.getInputStream(), this.b.f, v1_1, 0);
                    }
                }
            }
        } catch (android.app.Activity v1_37) {
            try {
                if (this.b.f != null) {
                    this.b.i = new org.json.JSONObject(com.payu.custombrowser.util.CBUtil.decodeContents(this.b.f.openFileInput(this.b.h.getString(this.a))));
                    if (this.b.f != null) {
                        if (!this.b.f.isFinishing()) {
                            this.b.f.runOnUiThread(new com.payu.custombrowser.Bank$34$1(this));
                        }
                    }
                    com.payu.custombrowser.Bank.c(this.b, 0);
                }
            } catch (Exception v0_2) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_2);
            } catch (Exception v0_1) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_1);
            }
            throw v1_37;
        } catch (android.app.Activity v1_19) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v1_19);
            if (this.b.f != null) {
                this.b.i = new org.json.JSONObject(com.payu.custombrowser.util.CBUtil.decodeContents(this.b.f.openFileInput(this.b.h.getString(this.a))));
                if (this.b.f != null) {
                    if (!this.b.f.isFinishing()) {
                        this.b.f.runOnUiThread(new com.payu.custombrowser.Bank$34$1(this));
                    }
                }
                com.payu.custombrowser.Bank.c(this.b, 0);
            }
        } catch (Exception v0_4) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_4);
        } catch (Exception v0_3) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_3);
        }
        return;
    }

Method com.payu.custombrowser.b$3.run() calling method java.net.URL.<init>()


    public void run()
    {
        try {
            Exception v0_5 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(java.net.URLDecoder.decode(this.a, "UTF-8")).openConnection());
            byte[] v1_3 = this.b;
            v0_5.setRequestMethod("POST");
            v0_5.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            v0_5.setRequestProperty("Content-Length", String.valueOf(v1_3.length()));
            v0_5.setDoOutput(1);
            v0_5.getOutputStream().write(v1_3.getBytes());
        } catch (Exception v0_2) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_2);
        }
        return;
    }

Method com.payu.custombrowser.services.SnoozeService$1.run() calling method java.net.URL.<init>()


    public void run()
    {
        try {
            com.payu.custombrowser.services.SnoozeService v1_18;
            String v0_8 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(com.payu.custombrowser.services.SnoozeService.a(this.a)).openConnection());
            com.payu.custombrowser.services.SnoozeService.b(this.a);
            String v2_7 = 0;
        } catch (String v0_5) {
            com.payu.custombrowser.services.SnoozeService.b(this.a, "{\"api_status\":\"0\",\"message\":\"Some exception occurred\"}");
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_5);
            return;
        }
        if (android.text.TextUtils.isEmpty(com.payu.custombrowser.util.CBUtil.getCookie("PAYUID", this.a.getApplicationContext()))) {
            if (android.text.TextUtils.isEmpty(com.payu.custombrowser.services.SnoozeService.c(this.a))) {
                v1_18 = 0;
            } else {
                v1_18 = com.payu.custombrowser.services.SnoozeService.c(this.a);
            }
        } else {
            com.payu.custombrowser.services.SnoozeService.b(this.a);
            v1_18 = com.payu.custombrowser.util.CBUtil.getCookie("PAYUID", this.a.getApplicationContext());
        }
        com.payu.custombrowser.services.SnoozeService.b(this.a);
        if (android.text.TextUtils.isEmpty(com.payu.custombrowser.util.CBUtil.getCookie("PHPSESSID", this.a.getApplicationContext()))) {
            if (android.text.TextUtils.isEmpty(com.payu.custombrowser.services.SnoozeService.d(this.a))) {
                if (android.text.TextUtils.isEmpty(com.payu.custombrowser.services.SnoozeService.d(this.a))) {
                    v2_7 = "123456";
                }
            } else {
                v2_7 = com.payu.custombrowser.services.SnoozeService.d(this.a);
            }
        } else {
            com.payu.custombrowser.services.SnoozeService.b(this.a);
            v2_7 = com.payu.custombrowser.util.CBUtil.getCookie("PHPSESSID", this.a.getApplicationContext());
        }
        String v3_22;
        String v4_0;
        if (android.text.TextUtils.isEmpty(com.payu.custombrowser.services.SnoozeService.e(this.a))) {
            v3_22 = com.payu.custombrowser.services.SnoozeService.f(this.a);
            v4_0 = com.payu.custombrowser.services.SnoozeService.g(this.a);
        } else {
            v3_22 = com.payu.custombrowser.services.SnoozeService.b(this.a).getDataFromPostData(com.payu.custombrowser.services.SnoozeService.e(this.a), "key");
            v4_0 = com.payu.custombrowser.services.SnoozeService.b(this.a).getDataFromPostData(com.payu.custombrowser.services.SnoozeService.e(this.a), "txnid");
        }
        StringBuilder v5_1 = new StringBuilder();
        v5_1.append("command=verifyTxnStatus&var1=");
        v5_1.append(v4_0);
        v5_1.append("&key=");
        v5_1.append(v3_22);
        v5_1.append("&priorityParam=");
        v5_1.append(com.payu.custombrowser.services.SnoozeService.h(this.a));
        String v3_3 = v5_1.toString();
        v0_8.setRequestMethod("POST");
        v0_8.setConnectTimeout(120000);
        v0_8.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
        v0_8.setRequestProperty("Content-Length", String.valueOf(v3_3.length()));
        StringBuilder v5_6 = new StringBuilder();
        v5_6.append("PHPSESSID=");
        v5_6.append(v2_7);
        v5_6.append("; PAYUID=");
        v5_6.append(v1_18);
        v0_8.setRequestProperty("Cookie", v5_6.toString());
        v0_8.setDoOutput(1);
        v0_8.getOutputStream().write(v3_3.getBytes());
        if (v0_8.getResponseCode() != 200) {
            com.payu.custombrowser.services.SnoozeService.b(this.a, "{\"api_status\":\"0\",\"message\":\"Some error occurred\"}");
            return;
        } else {
            if (v0_8.getInputStream() == null) {
                return;
            } else {
                String v0_3 = com.payu.custombrowser.util.CBUtil.getStringBufferFromInputStream(v0_8.getInputStream());
                if (v0_3 == null) {
                    return;
                } else {
                    new org.json.JSONObject(v0_3.toString());
                    com.payu.custombrowser.services.SnoozeService.a(this.a, v0_3.toString());
                    com.payu.custombrowser.services.SnoozeService.b(this.a, v0_3.toString());
                    return;
                }
            }
        }
    }

Method com.payu.custombrowser.services.SnoozeService$4.run() calling method java.net.URL.<init>()


    public void run()
    {
        try {
            com.payu.custombrowser.services.SnoozeService.b(this.c);
        } catch (com.payu.custombrowser.services.SnoozeService v2_16) {
            com.payu.custombrowser.services.SnoozeService.b(this.c, -1);
            this.b.cancel();
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v2_16);
            return;
        } catch (android.os.CountDownTimer v0_3) {
            com.payu.custombrowser.services.SnoozeService.r(this.c).postDelayed(com.payu.custombrowser.services.SnoozeService.p(this.c), ((long) Math.min(com.payu.custombrowser.services.SnoozeService.o(this.c), com.payu.custombrowser.services.SnoozeService.q(this.c))));
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_3);
            return;
        } catch (com.payu.custombrowser.services.SnoozeService v2_13) {
            com.payu.custombrowser.services.SnoozeService.b(this.c, -1);
            this.b.cancel();
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v2_13);
            return;
        } catch (Exception) {
            com.payu.custombrowser.services.SnoozeService.b(this.c, -1);
            this.b.cancel();
            return;
        }
        if (!com.payu.custombrowser.util.CBUtil.isNetworkAvailable(this.c.getApplicationContext())) {
            com.payu.custombrowser.services.SnoozeService.r(this.c).postDelayed(com.payu.custombrowser.services.SnoozeService.p(this.c), ((long) Math.min(com.payu.custombrowser.services.SnoozeService.o(this.c), com.payu.custombrowser.services.SnoozeService.q(this.c))));
            return;
        } else {
            com.payu.custombrowser.services.SnoozeService.a(this.c, System.currentTimeMillis());
            com.payu.custombrowser.services.SnoozeService v2_21 = new java.net.URL(this.a).openConnection();
            v2_21.setUseCaches(0);
            v2_21.connect();
            v2_21.getContentLength();
            com.payu.custombrowser.services.SnoozeService v2_22 = v2_21.getInputStream();
            String v3_25 = new byte[1024];
            while ((!com.payu.custombrowser.services.SnoozeService.k(this.c)) && (v2_22.read(v3_25) != -1)) {
            }
            if (!com.payu.custombrowser.services.SnoozeService.k(this.c)) {
                this.b.cancel();
                com.payu.custombrowser.services.SnoozeService.c(this.c, System.currentTimeMillis());
                v2_22.close();
                com.payu.custombrowser.services.SnoozeService.b(this.c, (com.payu.custombrowser.services.SnoozeService.l(this.c) - com.payu.custombrowser.services.SnoozeService.m(this.c)));
            } else {
                this.b.cancel();
                v2_22.close();
                com.payu.custombrowser.services.SnoozeService.b(this.c, ((long) (com.payu.custombrowser.services.SnoozeService.b() + 1)));
            }
            if (com.payu.custombrowser.services.SnoozeService.n(this.c) <= ((long) com.payu.custombrowser.services.SnoozeService.b())) {
                if (!com.payu.custombrowser.services.SnoozeService.i(this.c)) {
                    return;
                } else {
                    if (!com.payu.custombrowser.services.SnoozeService.s(this.c)) {
                        if (com.payu.custombrowser.CBActivity.b != 1) {
                            com.payu.custombrowser.services.SnoozeService.b(this.c, com.payu.custombrowser.services.SnoozeService.u(this.c));
                            com.payu.custombrowser.services.SnoozeService.a(this.c, "internet_restored_notification", "-1");
                            return;
                        } else {
                            com.payu.custombrowser.services.SnoozeService.a(this.c, this.c.getString(com.payu.custombrowser.d$g.internet_restored), this.c.getString(com.payu.custombrowser.d$g.resuming_your_transaction), 1);
                            com.payu.custombrowser.services.SnoozeService.a(this.c, "internet_restored_dialog_foreground", "-1");
                            this.c.a();
                            return;
                        }
                    } else {
                        com.payu.custombrowser.services.SnoozeService.a(this.c, "snooze_verify_api_status", "snooze_verify_api_called");
                        new Thread(com.payu.custombrowser.services.SnoozeService.t(this.c)).start();
                        return;
                    }
                }
            } else {
                com.payu.custombrowser.services.SnoozeService.a(this.c, (com.payu.custombrowser.services.SnoozeService.o(this.c) + com.payu.custombrowser.services.SnoozeService.o(this.c)));
                com.payu.custombrowser.services.SnoozeService.r(this.c).postDelayed(com.payu.custombrowser.services.SnoozeService.p(this.c), ((long) Math.min(com.payu.custombrowser.services.SnoozeService.o(this.c), com.payu.custombrowser.services.SnoozeService.q(this.c))));
                return;
            }
        }
    }

Method com.payu.custombrowser.util.CBUtil.getHttpsConn() calling method java.net.URL.<init>()


    public static javax.net.ssl.HttpsURLConnection getHttpsConn(String p2)
    {
        try {
            int v2_4 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(p2).openConnection());
            v2_4.setRequestMethod("GET");
            v2_4.setSSLSocketFactory(new com.payu.custombrowser.util.h());
            v2_4.setRequestProperty("Accept-Charset", "UTF-8");
            return v2_4;
        } catch (int v2_1) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v2_1);
            return 0;
        }
    }

Method com.payu.custombrowser.util.CBUtil.getHttpsConn() calling method java.net.URL.<init>()


    public javax.net.ssl.HttpsURLConnection getHttpsConn(String p2, String p3, int p4, String p5)
    {
        try {
            int v2_4 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(p2).openConnection());
            v2_4.setRequestMethod("POST");
        } catch (int v2_2) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v2_2);
            return 0;
        }
        if (p4 != -1) {
            v2_4.setConnectTimeout(p4);
        }
        v2_4.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
        if (p3 != null) {
            v2_4.setRequestProperty("Content-Length", String.valueOf(p3.length()));
        }
        if (p5 != null) {
            v2_4.setRequestProperty("Cookie", p5);
        }
        v2_4.setSSLSocketFactory(new com.payu.custombrowser.util.h());
        v2_4.setDoOutput(1);
        if (p3 != null) {
            v2_4.getOutputStream().write(p3.getBytes());
        }
        return v2_4;
    }

Method com.payu.custombrowser.util.b.a() calling method java.net.URL.<init>()


    protected varargs String a(com.payu.custombrowser.bean.a[] p6)
    {
        String v6_1 = p6[0];
        try {
            String v4_2;
            StringBuffer v1_5 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(v6_1.b()).openConnection());
            v1_5.setRequestMethod(v6_1.a());
            v1_5.setSSLSocketFactory(new com.payu.custombrowser.util.h());
            v1_5.setRequestProperty("Content-Type", v6_1.d());
            int v3_2 = new StringBuilder();
            v3_2.append("");
        } catch (String v6_6) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v6_6);
            return v6_6.getMessage().toString();
        }
        if (v6_1.c() == null) {
            v4_2 = 0;
        } else {
            v4_2 = v6_1.c().length();
        }
        v3_2.append(v4_2);
        v1_5.setRequestProperty("Content-Length", v3_2.toString());
        v1_5.getOutputStream().write(v6_1.c().getBytes());
        String v6_4 = v1_5.getInputStream();
        StringBuffer v1_2 = new StringBuffer();
        byte[] v2_8 = new byte[1024];
        while(true) {
            int v3_4 = v6_4.read(v2_8);
            if (v3_4 == -1) {
                break;
            }
            v1_2.append(new String(v2_8, 0, v3_4));
        }
        return v1_2.toString();
    }

Method com.payu.india.e.a.a() calling method java.net.URL.<init>()


    protected varargs com.payu.india.Model.PayuResponse a(com.payu.india.Model.PayuConfig[] p9)
    {
        this.b = p9[0];
        com.payu.india.Model.PayuResponse v1_2 = new com.payu.india.Model.PayuResponse();
        com.payu.india.Model.PostData v2_1 = new com.payu.india.Model.PostData();
        try {
            String v3_1;
            String v9_6 = p9[0];
            switch (v9_6.b()) {
                case 0:
                    v3_1 = new java.net.URL("https://info.payu.in/merchant/postservice.php?form=2");
                    String v9_2 = v9_6.a().getBytes("UTF-8");
                    String v3_7 = ((java.net.HttpURLConnection) v3_1.openConnection());
                    v3_7.setRequestMethod("POST");
                    v3_7.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                    v3_7.setRequestProperty("Content-Length", String.valueOf(v9_2.length));
                    v3_7.setDoOutput(1);
                    v3_7.getOutputStream().write(v9_2);
                    String v9_3 = v3_7.getInputStream();
                    String v3_9 = new StringBuffer();
                    byte[] v5_5 = new byte[1024];
                    while(true) {
                        int v6 = v9_3.read(v5_5);
                        if (v6 == -1) {
                            break;
                        }
                        v3_9.append(new String(v5_5, 0, v6));
                    }
                    String v9_5 = new org.json.JSONObject(v3_9.toString());
                    if (v9_5.has("msg")) {
                        v2_1.b(v9_5.getString("msg"));
                    }
                    if ((!v9_5.has("status")) || (v9_5.getInt("status") != 1)) {
                        v2_1.a(5017);
                        v2_1.a("ERROR");
                    } else {
                        v2_1.a(0);
                        v2_1.a("SUCCESS");
                    }
                    break;
                case 1:
                    v3_1 = new java.net.URL("https://mobiletest.payu.in/merchant/postservice?form=2");
                    break;
                case 2:
                    v3_1 = new java.net.URL("https://test.payu.in/merchant/postservice?form=2");
                    break;
                case 3:
                    v3_1 = new java.net.URL("https://mobiledev.payu.in/merchant/postservice?form=2");
                    break;
                default:
                    v3_1 = new java.net.URL("https://info.payu.in/merchant/postservice.php?form=2");
            }
        } catch (String v9_14) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_14);
        } catch (String v9_13) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_13);
        } catch (String v9_12) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_12);
        } catch (String v9_11) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_11);
        }
        v1_2.a(v2_1);
        return v1_2;
    }

Method com.payu.india.e.b.a() calling method java.net.URL.<init>()


    protected varargs com.payu.india.Model.PayuResponse a(com.payu.india.Model.PayuConfig[] p8)
    {
        com.payu.india.Model.PayuResponse v0_1 = new com.payu.india.Model.PayuResponse();
        com.payu.india.Model.PostData v1_1 = new com.payu.india.Model.PostData();
        try {
            String v3_0;
            String v8_8 = p8[0];
            switch (v8_8.b()) {
                case 0:
                    v3_0 = new java.net.URL("https://info.payu.in/merchant/postservice.php?form=2");
                    String v8_6 = v8_8.a().getBytes("UTF-8");
                    String v3_6 = ((java.net.HttpURLConnection) v3_0.openConnection());
                    v3_6.setRequestMethod("POST");
                    v3_6.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                    v3_6.setRequestProperty("Content-Length", String.valueOf(v8_6.length));
                    v3_6.setDoOutput(1);
                    v3_6.getOutputStream().write(v8_6);
                    String v8_7 = v3_6.getInputStream();
                    String v3_8 = new StringBuffer();
                    String v4_12 = new byte[1024];
                    while(true) {
                        int v5_3 = v8_7.read(v4_12);
                        if (v5_3 == -1) {
                            break;
                        }
                        v3_8.append(new String(v4_12, 0, v5_3));
                    }
                    String v8_10 = new org.json.JSONObject(v3_8.toString());
                    if (v8_10.has("msg")) {
                        v1_1.b(v8_10.getString("msg"));
                    }
                    if ((!v8_10.has("status")) || (v8_10.getInt("status") != 0)) {
                        com.payu.india.Model.CardInformation v2_11 = new com.payu.india.Model.CardInformation();
                        v2_11.a(Boolean.valueOf(v8_10.getString("isDomestic").contentEquals("Y")));
                        v2_11.a(v8_10.getString("issuingBank"));
                        v2_11.c(v8_10.getString("cardType"));
                        v2_11.b(v8_10.getString("cardCategory"));
                        v0_1.a(v2_11);
                    } else {
                        v1_1.a(5017);
                        v1_1.a("ERROR");
                    }
                    break;
                case 1:
                    v3_0 = new java.net.URL("https://mobiletest.payu.in/merchant/postservice?form=2");
                    break;
                case 2:
                    v3_0 = new java.net.URL("https://test.payu.in/merchant/postservice?form=2");
                    break;
                case 3:
                    v3_0 = new java.net.URL("https://mobiledev.payu.in/merchant/postservice?form=2");
                    break;
                default:
                    v3_0 = new java.net.URL("https://info.payu.in/merchant/postservice.php?form=2");
            }
        } catch (String v8_4) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v8_4);
        } catch (String v8_3) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v8_3);
        }
        v0_1.a(v1_1);
        return v0_1;
    }

Method com.payu.india.e.c$a.a() calling method java.net.URL.<init>()


    protected varargs com.payu.india.Model.PayuResponse a(com.payu.india.Model.PayuConfig[] p13)
    {
        com.payu.india.Model.PayuResponse v0_1 = new com.payu.india.Model.PayuResponse();
        StringBuilder v1_1 = new com.payu.india.Model.PostData();
        try {
            String v4_1;
            java.io.IOException v13_15 = p13[0];
            switch (v13_15.b()) {
                case 0:
                    v4_1 = new java.net.URL("https://info.payu.in/merchant/postservice.php?form=2");
                    java.io.IOException v13_2 = v13_15.a().getBytes("UTF-8");
                    String v4_23 = ((java.net.HttpURLConnection) v4_1.openConnection());
                    v4_23.setRequestMethod("POST");
                    v4_23.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                    v4_23.setRequestProperty("Content-Length", String.valueOf(v13_2.length));
                    v4_23.setDoOutput(1);
                    v4_23.getOutputStream().write(v13_2);
                    java.io.IOException v13_13 = v4_23.getInputStream();
                    String v4_30 = new StringBuffer();
                    com.payu.india.Model.Upi v6_58 = new byte[1024];
                    while(true) {
                        String v7_18 = v13_13.read(v6_58);
                        if (v7_18 == -1) {
                            break;
                        }
                        v4_30.append(new String(v6_58, 0, v7_18));
                    }
                    java.io.IOException v13_16 = new org.json.JSONObject(v4_30.toString());
                    if (v13_16.has("ibiboCodes")) {
                        String v4_35 = v13_16.getJSONObject("ibiboCodes");
                        if (v4_35.has("creditcard")) {
                            com.payu.india.Model.Upi v6_62 = v4_35.getJSONObject("creditcard");
                            String v7_20 = new java.util.ArrayList();
                            String v8_34 = v6_62.keys();
                            while (v8_34.hasNext()) {
                                String v9_74 = ((String) v8_34.next());
                                org.json.JSONObject v10_48 = v6_62.getJSONObject(v9_74);
                                com.payu.india.Model.Emi v11_17 = new com.payu.india.Model.PaymentDetails();
                                v11_17.b(v9_74);
                                v11_17.c(v10_48.getString("bank_id"));
                                v11_17.a(v10_48.getString("title"));
                                v11_17.d(v10_48.getString("pgId"));
                                v7_20.add(v11_17);
                            }
                            v0_1.c(v7_20);
                        }
                        if (v4_35.has("debitcard")) {
                            com.payu.india.Model.Upi v6_66 = v4_35.getJSONObject("debitcard");
                            String v7_22 = new java.util.ArrayList();
                            String v8_35 = v6_66.keys();
                            while (v8_35.hasNext()) {
                                String v9_66 = ((String) v8_35.next());
                                org.json.JSONObject v10_47 = new com.payu.india.Model.PaymentDetails();
                                com.payu.india.Model.Emi v11_15 = v6_66.getJSONObject(v9_66);
                                v10_47.b(v9_66);
                                v10_47.c(v11_15.getString("bank_id"));
                                v10_47.a(v11_15.getString("title"));
                                v10_47.d(v11_15.getString("pgId"));
                                v7_22.add(v10_47);
                            }
                            v0_1.d(v7_22);
                        }
                        if (v4_35.has("netbanking")) {
                            com.payu.india.Model.Upi v6_2 = v4_35.getJSONObject("netbanking");
                            String v7_0 = v6_2.keys();
                            String v8_1 = new java.util.ArrayList();
                            while (v7_0.hasNext()) {
                                String v9_58 = ((String) v7_0.next());
                                org.json.JSONObject v10_45 = v6_2.getJSONObject(v9_58);
                                com.payu.india.Model.Emi v11_14 = new com.payu.india.Model.PaymentDetails();
                                v11_14.b(v9_58);
                                v11_14.c(v10_45.getString("bank_id"));
                                v11_14.a(v10_45.getString("title"));
                                v11_14.d(v10_45.getString("pgId"));
                                v8_1.add(v11_14);
                            }
                            java.util.Collections.sort(v8_1, new ark>com.payu.india.e.c$aark>$b(this));
                            v0_1.e(v8_1);
                        }
                        if (v4_35.has("cashcard")) {
                            com.payu.india.Model.Upi v6_8 = v4_35.getJSONObject("cashcard");
                            String v7_1 = v6_8.keys();
                            String v8_3 = new java.util.ArrayList();
                            while (v7_1.hasNext()) {
                                String v9_50 = ((String) v7_1.next());
                                org.json.JSONObject v10_44 = v6_8.getJSONObject(v9_50);
                                com.payu.india.Model.Emi v11_12 = new com.payu.india.Model.PaymentDetails();
                                v11_12.b(v9_50);
                                v11_12.c(v10_44.getString("bank_id"));
                                v11_12.a(v10_44.getString("title"));
                                v11_12.d(v10_44.getString("pgId"));
                                v8_3.add(v11_12);
                            }
                            java.util.Collections.sort(v8_3, new ark>com.payu.india.e.c$aark>$b(this));
                            v0_1.f(v8_3);
                        }
                        if (v4_35.has("ivr")) {
                            com.payu.india.Model.Upi v6_14 = v4_35.getJSONObject("ivr");
                            String v7_2 = v6_14.keys();
                            String v8_5 = new java.util.ArrayList();
                            while (v7_2.hasNext()) {
                                String v9_42 = ((String) v7_2.next());
                                org.json.JSONObject v10_43 = v6_14.getJSONObject(v9_42);
                                com.payu.india.Model.Emi v11_10 = new com.payu.india.Model.PaymentDetails();
                                v11_10.b(v9_42);
                                v11_10.c(v10_43.getString("bank_id"));
                                v11_10.a(v10_43.getString("title"));
                                v11_10.d(v10_43.getString("pgId"));
                                v8_5.add(v11_10);
                            }
                            v0_1.g(v8_5);
                        }
                        if (v4_35.has("ivrdc")) {
                            com.payu.india.Model.Upi v6_18 = v4_35.getJSONObject("ivrdc");
                            String v7_3 = v6_18.keys();
                            String v8_7 = new java.util.ArrayList();
                            while (v7_3.hasNext()) {
                                String v9_34 = ((String) v7_3.next());
                                org.json.JSONObject v10_42 = v6_18.getJSONObject(v9_34);
                                com.payu.india.Model.Emi v11_8 = new com.payu.india.Model.PaymentDetails();
                                v11_8.b(v9_34);
                                v11_8.c(v10_42.getString("bank_id"));
                                v11_8.a(v10_42.getString("title"));
                                v11_8.d(v10_42.getString("pgId"));
                                v8_7.add(v11_8);
                            }
                            v0_1.h(v8_7);
                        }
                        if (v4_35.has("paisawallet")) {
                            com.payu.india.Model.Upi v6_22 = v4_35.getJSONObject("paisawallet");
                            String v7_4 = v6_22.keys();
                            String v8_9 = new java.util.ArrayList();
                            while (v7_4.hasNext()) {
                                String v9_26 = ((String) v7_4.next());
                                org.json.JSONObject v10_41 = v6_22.getJSONObject(v9_26);
                                com.payu.india.Model.Emi v11_6 = new com.payu.india.Model.PaymentDetails();
                                v11_6.b(v9_26);
                                v11_6.c(v10_41.getString("bank_id"));
                                v11_6.a(v10_41.getString("title"));
                                v11_6.d(v10_41.getString("pgId"));
                                v8_9.add(v11_6);
                            }
                            v0_1.i(v8_9);
                        }
                        if (v4_35.has("lazypay")) {
                            com.payu.india.Model.Upi v6_26 = v4_35.getJSONObject("lazypay");
                            String v7_5 = v6_26.keys();
                            String v8_11 = new java.util.ArrayList();
                            while (v7_5.hasNext()) {
                                String v9_18 = ((String) v7_5.next());
                                org.json.JSONObject v10_40 = v6_26.getJSONObject(v9_18);
                                com.payu.india.Model.Emi v11_4 = new com.payu.india.Model.PaymentDetails();
                                v11_4.b(v9_18);
                                v11_4.c(v10_40.getString("bank_id"));
                                v11_4.a(v10_40.getString("title"));
                                v11_4.d(v10_40.getString("pgId"));
                                v8_11.add(v11_4);
                            }
                            v0_1.j(v8_11);
                        }
                        if (v4_35.has("emi")) {
                            com.payu.india.Model.Upi v6_30 = v4_35.getJSONObject("emi");
                            String v7_6 = v6_30.keys();
                            String v8_13 = new java.util.ArrayList();
                            while (v7_6.hasNext()) {
                                String v9_10 = ((String) v7_6.next());
                                org.json.JSONObject v10_39 = v6_30.getJSONObject(v9_10);
                                com.payu.india.Model.Emi v11_2 = new com.payu.india.Model.Emi();
                                v11_2.b(v9_10);
                                v11_2.a(v10_39.getString("bank"));
                                v11_2.c(v10_39.getString("title"));
                                v11_2.d(v10_39.getString("pgId"));
                                v8_13.add(v11_2);
                            }
                            java.util.Collections.sort(v8_13, new ark>com.payu.india.e.c$aark>$a(this));
                            v0_1.b(v8_13);
                        }
                        if (v4_35.has("upi")) {
                            String v4_5 = v4_35.getJSONObject("upi");
                            if (v4_5.has("upi".toUpperCase())) {
                                com.payu.india.Model.Upi v6_41 = v4_5.getJSONObject("upi".toUpperCase());
                                String v7_8 = new com.payu.india.Model.Upi();
                                v7_8.b(v6_41.getString("title"));
                                v7_8.c(v6_41.getString("bank_id"));
                                v7_8.a(v6_41.getString("pgId"));
                                v7_8.d(v6_41.getString("show_form"));
                                v0_1.a(v7_8);
                            }
                            if (v4_5.has("TEZ".toUpperCase())) {
                                String v4_7 = v4_5.getJSONObject("TEZ".toUpperCase());
                                com.payu.india.Model.Upi v6_49 = new com.payu.india.Model.Upi();
                                v6_49.b(v4_7.getString("title"));
                                v6_49.c(v4_7.getString("bank_id"));
                                v6_49.a(v4_7.getString("pgId"));
                                v6_49.d(v4_7.getString("show_form"));
                                v0_1.b(v6_49);
                            }
                        }
                    }
                    if ((v13_16.has("userCards")) && (v13_16.getJSONObject("userCards").has("user_cards"))) {
                        String v4_16 = v13_16.getJSONObject("userCards").getJSONObject("user_cards");
                        com.payu.india.Model.Upi v6_52 = v4_16.keys();
                        String v7_17 = new java.util.ArrayList();
                        while (v6_52.hasNext()) {
                            org.json.JSONObject v10_14;
                            String v8_23 = ((String) v6_52.next());
                            String v9_8 = new com.payu.india.Model.StoredCard();
                            String v8_24 = v4_16.getJSONObject(v8_23);
                            v9_8.a(v8_24.getString("name_on_card"));
                            v9_8.b(v8_24.getString("card_name"));
                            v9_8.c(v8_24.getString("expiry_year"));
                            v9_8.d(v8_24.getString("expiry_month"));
                            v9_8.e(v8_24.getString("card_type"));
                            v9_8.f(v8_24.getString("card_token"));
                            if (v8_24.getInt("is_expired") != 0) {
                                v10_14 = 1;
                            } else {
                                v10_14 = 0;
                            }
                            v9_8.a(Boolean.valueOf(v10_14));
                            v9_8.g(v8_24.getString("card_mode"));
                            v9_8.h(v8_24.getString("card_no"));
                            v9_8.i(v8_24.getString("card_brand"));
                            v9_8.j(v8_24.getString("card_bin"));
                            v9_8.k(v8_24.getString("isDomestic"));
                            v9_8.l(v8_24.getString("issuingBank"));
                            if (v8_24.has("card_cvv")) {
                                v9_8.a(v8_24.getInt("card_cvv"));
                                if ((this.a.b == null) || (this.a.b.get(v9_8.d()) == null)) {
                                    v9_8.b(0);
                                    v9_8.m(0);
                                } else {
                                    v9_8.b(v8_24.getInt("card_cvv"));
                                    v9_8.m(((String) this.a.b.get(v9_8.d())));
                                }
                            }
                            v7_17.add(v9_8);
                        }
                        v0_1.a(v7_17);
                    }
                    if ((!v13_16.has("status")) || (!v13_16.getString("status").contentEquals("0"))) {
                        v1_1.a(0);
                        v1_1.b("Data fetched successfully, Stored card status: ");
                        if ((v13_16.has("userCards")) && (v13_16.getJSONObject("userCards").has("msg"))) {
                            StringBuilder v3_7 = new StringBuilder();
                            v3_7.append(v1_1.b());
                            v3_7.append(" ");
                            v3_7.append(v13_16.getJSONObject("userCards").get("msg").toString());
                            v1_1.b(v3_7.toString());
                        }
                        v1_1.a("SUCCESS");
                    } else {
                        StringBuilder v3_9 = new com.payu.india.Model.PostData();
                        try {
                            v3_9.a(5019);
                            v3_9.a("ERROR");
                            v3_9.b(v13_16.getString("msg"));
                            v1_1 = v3_9;
                        } catch (java.io.IOException v13_12) {
                            v1_1 = v3_9;
                            v1_1.a(5016);
                            v1_1.a("ERROR");
                            v1_1.b(v13_12.getMessage());
                        } catch (java.io.IOException v13_11) {
                            v1_1 = v3_9;
                            v1_1.a(5004);
                            v1_1.a("ERROR");
                            v1_1.b(v13_11.getMessage());
                        } catch (java.io.IOException v13_10) {
                            v1_1 = v3_9;
                            v1_1.a(5014);
                            v1_1.a("ERROR");
                            v1_1.b(v13_10.getMessage());
                        } catch (java.io.IOException v13_9) {
                            v1_1 = v3_9;
                            v1_1.a(5016);
                            v1_1.a("ERROR");
                            v1_1.b(v13_9.getMessage());
                        }
                    }
                    break;
                case 1:
                    v4_1 = new java.net.URL("https://mobiletest.payu.in/merchant/postservice?form=2");
                    break;
                case 2:
                    v4_1 = new java.net.URL("https://test.payu.in/merchant/postservice?form=2");
                    break;
                case 3:
                    v4_1 = new java.net.URL("https://mobiledev.payu.in/merchant/postservice?form=2");
                    break;
                default:
                    v4_1 = new java.net.URL("https://info.payu.in/merchant/postservice.php?form=2");
            }
        } catch (java.io.IOException v13_12) {
        } catch (java.io.IOException v13_11) {
        } catch (java.io.IOException v13_10) {
        } catch (java.io.IOException v13_9) {
        }
        v0_1.a(v1_1);
        return v0_1;
    }

Method com.payu.india.e.d$a.a() calling method java.net.URL.<init>()


    protected varargs String a(String[] p9)
    {
        try {
            int v0_22 = new org.json.JSONArray(p9[0]);
            org.json.JSONArray v2 = v0_22;
            java.io.IOException v9_19 = 0;
        } catch (java.io.IOException v9_22) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_22);
            return 0;
        } catch (java.io.IOException v9_20) {
            com.payu.india.e.d.e(this.a);
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_20);
            return 0;
        } catch (java.io.IOException v9_21) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_21);
            return 0;
        }
        while (v9_19 < v0_22.length()) {
            com.payu.india.e.d v3_11 = this.a;
            String v4_7 = new StringBuilder();
            v4_7.append(((org.json.JSONObject) v0_22.get(v9_19)).getString("merchant_key"));
            v4_7.append("|");
            v4_7.append(((org.json.JSONObject) v0_22.get(v9_19)).getString("txnid"));
            if (v3_11.b(v4_7.toString())) {
                v2 = com.payu.india.e.d.a(v0_22, v9_19);
            }
            v9_19++;
        }
        if (v2.length() <= 0) {
            com.payu.india.e.d.c(this.a).deleteFile(com.payu.india.e.d.b(this.a));
            return 0;
        } else {
            java.io.IOException v9_18 = new StringBuilder();
            v9_18.append("mobile_data=");
            v9_18.append(v2.toString());
            java.io.IOException v9_24 = v9_18.toString();
            int v0_23 = v9_24.getBytes("UTF-8");
            com.payu.india.e.d v3_16 = ((java.net.HttpURLConnection) new java.net.URL(com.payu.india.e.d.f(this.a)).openConnection());
            v3_16.setRequestMethod("POST");
            v3_16.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            v3_16.setRequestProperty("Content-Length", String.valueOf(v9_24.length()));
            v3_16.setDoOutput(1);
            v3_16.getOutputStream().write(v0_23);
            int v0_24 = v3_16.getResponseCode();
            com.payu.india.e.d v3_17 = v3_16.getInputStream();
            String v4_16 = new StringBuffer();
            String v5_16 = new byte[1024];
            while(true) {
                String v6_4 = v3_17.read(v5_16);
                if (v6_4 == -1) {
                    break;
                }
                v4_16.append(new String(v5_16, 0, v6_4));
            }
            if (v0_24 != 200) {
                try {
                    java.io.IOException v9_30 = com.payu.india.e.d.c(this.a).openFileOutput(com.payu.india.e.d.b(this.a), 0);
                    v9_30.write(this.b.getBytes());
                    v9_30.close();
                } catch (java.io.IOException v9_31) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_31);
                }
                return 0;
            } else {
                try {
                    int v0_30 = new org.json.JSONObject(v4_16.toString());
                } catch (java.io.IOException v9_11) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_11);
                    try {
                        java.io.IOException v9_14 = com.payu.india.e.d.c(this.a).openFileOutput(com.payu.india.e.d.b(this.a), 0);
                        v9_14.write(this.b.getBytes());
                        v9_14.close();
                    } catch (java.io.IOException v9_15) {
                        com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_15);
                    }
                    return 0;
                }
                if ((!v0_30.has("status")) || (v0_30.getString("status").equalsIgnoreCase(""))) {
                    try {
                        java.io.IOException v9_3 = com.payu.india.e.d.c(this.a).openFileOutput(com.payu.india.e.d.b(this.a), 0);
                        v9_3.write(this.b.getBytes());
                        v9_3.close();
                    } catch (java.io.IOException v9_4) {
                        com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_4);
                    }
                    return 0;
                } else {
                    com.payu.india.e.d.c(this.a).deleteFile(com.payu.india.e.d.b(this.a));
                    if ((!v0_30.has("status")) || ((!v0_30.getString("status").equalsIgnoreCase("1")) && (!v0_30.getString("status").equalsIgnoreCase("-1")))) {
                        try {
                            java.io.IOException v9_9 = com.payu.india.e.d.c(this.a).openFileOutput(com.payu.india.e.d.b(this.a), 0);
                            v9_9.write(this.b.getBytes());
                            v9_9.close();
                        } catch (java.io.IOException v9_10) {
                            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v9_10);
                        }
                        return 0;
                    } else {
                        int v0_12 = 0;
                        while (v0_12 < v2.length()) {
                            com.payu.india.e.d v3_10 = this.a;
                            String v4_4 = new StringBuilder();
                            v4_4.append(((org.json.JSONObject) v2.get(v0_12)).getString("merchant_key"));
                            v4_4.append("|");
                            v4_4.append(((org.json.JSONObject) v2.get(v0_12)).getString("txnid"));
                            v3_10.a(v4_4.toString(), 1);
                            v0_12++;
                        }
                        return 0;
                    }
                }
            }
        }
    }

Method com.payu.magicretry.c.a$3.run() calling method java.net.URL.<init>()


    public void run()
    {
        while (com.payu.magicretry.c.a.a(this.a)) {
        }
        com.payu.magicretry.c.a.b(this.a);
        if (com.payu.magicretry.c.a.g(this.a)) {
            com.payu.magicretry.c.a v0_1 = "";
            try {
                if (!new java.io.File(com.payu.magicretry.c.a.f(this.a).getFilesDir(), com.payu.magicretry.c.a.c(this.a)).exists()) {
                    com.payu.magicretry.c.a.f(this.a).openFileOutput(com.payu.magicretry.c.a.c(this.a), 0);
                }
            } catch (StringBuffer v6_12) {
                try {
                    int v7_21 = new org.json.JSONArray(v0_1);
                    new org.json.JSONArray();
                } catch (com.payu.magicretry.c.a v0_69) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_69);
                    throw v6_12;
                } catch (com.payu.magicretry.c.a v0_68) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_68);
                } catch (com.payu.magicretry.c.a v0_67) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_67);
                } catch (com.payu.magicretry.c.a v0_66) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_66);
                } catch (com.payu.magicretry.c.a v0_65) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_65);
                } catch (com.payu.magicretry.c.a v0_64) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_64);
                }
                if (com.payu.magicretry.c.a.d(this.a).size() > 0) {
                    com.payu.magicretry.c.a v0_48 = 0;
                }
                if (v7_21.length() <= 0) {
                } else {
                    com.payu.magicretry.c.a v0_51 = new StringBuilder();
                    v0_51.append("command=EventAnalytics&data=");
                    v0_51.append(v7_21.toString());
                    com.payu.magicretry.c.a v0_52 = v0_51.toString();
                    int v7_23 = v0_52.getBytes();
                    String v8_28 = ((java.net.HttpURLConnection) new java.net.URL(com.payu.magicretry.c.a.h(this.a)).openConnection());
                    v8_28.setRequestMethod("POST");
                    v8_28.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                    v8_28.setRequestProperty("Content-Length", String.valueOf(v0_52.length()));
                    v8_28.setDoOutput(1);
                    v8_28.getOutputStream().write(v7_23);
                    com.payu.magicretry.c.a v0_56 = v8_28.getResponseCode();
                    java.io.InputStream v4_3 = v8_28.getInputStream();
                    int v7_27 = new StringBuffer();
                    byte[] v2_3 = new byte[1024];
                }
            } catch (StringBuffer v6_2) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v6_2);
                StringBuffer v6_5 = new org.json.JSONArray(v0_1);
                new org.json.JSONArray();
                if (com.payu.magicretry.c.a.d(this.a).size() > 0) {
                    com.payu.magicretry.c.a v0_16 = 0;
                }
                if (v6_5.length() > 0) {
                    com.payu.magicretry.c.a v0_19 = new StringBuilder();
                    v0_19.append("command=EventAnalytics&data=");
                    v0_19.append(v6_5.toString());
                    com.payu.magicretry.c.a v0_20 = v0_19.toString();
                    StringBuffer v6_7 = v0_20.getBytes();
                    int v7_15 = ((java.net.HttpURLConnection) new java.net.URL(com.payu.magicretry.c.a.h(this.a)).openConnection());
                    v7_15.setRequestMethod("POST");
                    v7_15.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                    v7_15.setRequestProperty("Content-Length", String.valueOf(v0_20.length()));
                    v7_15.setDoOutput(1);
                    v7_15.getOutputStream().write(v6_7);
                    com.payu.magicretry.c.a v0_25 = v7_15.getResponseCode();
                    java.io.InputStream v4_2 = v7_15.getInputStream();
                    StringBuffer v6_9 = new StringBuffer();
                    byte[] v2_2 = new byte[1024];
                }
            } catch (com.payu.magicretry.c.a v0_38) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_38);
            } catch (com.payu.magicretry.c.a v0_37) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_37);
            } catch (com.payu.magicretry.c.a v0_36) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_36);
            } catch (com.payu.magicretry.c.a v0_35) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_35);
            } catch (com.payu.magicretry.c.a v0_34) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_34);
            } catch (com.payu.magicretry.c.a v0_33) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_33);
            }
            StringBuffer v6_17 = com.payu.magicretry.c.a.f(this.a).openFileInput(com.payu.magicretry.c.a.c(this.a));
            while(true) {
                int v7_30 = v6_17.read();
                if (v7_30 == -1) {
                    break;
                }
                String v8_7 = new StringBuilder();
                v8_7.append(v0_1);
                v8_7.append(Character.toString(((char) v7_30)));
                v0_1 = v8_7.toString();
            }
            v6_17.close();
            StringBuffer v6_19 = new org.json.JSONArray(v0_1);
            new org.json.JSONArray();
            if (com.payu.magicretry.c.a.d(this.a).size() > 0) {
                com.payu.magicretry.c.a v0_11 = 0;
                while (v0_11 < com.payu.magicretry.c.a.d(this.a).size()) {
                    v6_19.put(new org.json.JSONObject(((String) com.payu.magicretry.c.a.d(this.a).get(v0_11))));
                    v0_11++;
                }
            }
            if (v6_19.length() > 0) {
                com.payu.magicretry.c.a v0_78 = new StringBuilder();
                v0_78.append("command=EventAnalytics&data=");
                v0_78.append(v6_19.toString());
                com.payu.magicretry.c.a v0_79 = v0_78.toString();
                StringBuffer v6_21 = v0_79.getBytes();
                int v7_38 = ((java.net.HttpURLConnection) new java.net.URL(com.payu.magicretry.c.a.h(this.a)).openConnection());
                v7_38.setRequestMethod("POST");
                v7_38.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                v7_38.setRequestProperty("Content-Length", String.valueOf(v0_79.length()));
                v7_38.setDoOutput(1);
                v7_38.getOutputStream().write(v6_21);
                com.payu.magicretry.c.a v0_3 = v7_38.getResponseCode();
                java.io.InputStream v4_0 = v7_38.getInputStream();
                StringBuffer v6_1 = new StringBuffer();
                byte[] v2_0 = new byte[1024];
                while(true) {
                    int v7_0 = v4_0.read(v2_0);
                    if (v7_0 == -1) {
                        break;
                    }
                    v6_1.append(new String(v2_0, 0, v7_0));
                }
                try {
                    if ((v0_3 == 200) && (new org.json.JSONObject(v6_1.toString()).has("status"))) {
                        com.payu.magicretry.c.a.f(this.a).deleteFile(com.payu.magicretry.c.a.c(this.a));
                        com.payu.magicretry.c.a.a(this.a, new java.util.ArrayList());
                    }
                } catch (com.payu.magicretry.c.a v0_7) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_7);
                }
            }
        }
        if (com.payu.magicretry.c.a.d(this.a).size() > 0) {
            com.payu.magicretry.c.a.i(this.a);
        }
        com.payu.magicretry.c.a.e(this.a);
        return;
    }

Method com.services.j.a() calling method java.net.URL.<init>()


    public com.services.i a(String p6, int p7)
    {
        com.services.i v7_1 = new com.services.i();
        try {
            Boolean v6_1;
            Boolean v6_4 = this.a(new java.net.URL(p6));
            v6_4.setDoInput(1);
            v6_4.setRequestMethod("GET");
            v6_4.setConnectTimeout(120000);
            this.a(v6_4);
            System.currentTimeMillis();
            v6_4.connect();
            System.currentTimeMillis();
            java.io.InputStream v0_1 = v6_4.getInputStream();
            String v1 = v6_4.getContentEncoding();
            int v2 = v6_4.getResponseCode();
            v7_1.a(v2);
        } catch (Exception) {
            return v7_1;
        }
        if ((v2 == 200) || (v2 == 201)) {
            v6_1 = this.a(v0_1, v1);
        } else {
            if (v6_4 != null) {
                v6_4.disconnect();
            }
            v7_1.a(Boolean.valueOf(0));
            v6_1 = 0;
        }
        v7_1.a(v6_1);
        if (v6_1 == null) {
            v7_1.a(v2);
            v7_1.a(Boolean.valueOf(0));
        }
        return v7_1;
    }

Method com.services.j.a() calling method java.net.URL.<init>()


    public String a(String p4)
    {
        javax.net.ssl.HttpsURLConnection v4_1 = this.a(new java.net.URL(p4));
        v4_1.setDoInput(1);
        v4_1.setConnectTimeout(120000);
        this.a(v4_1);
        v4_1.connect();
        String v0_3 = this.a(v4_1.getInputStream(), v4_1.getContentEncoding());
        if ((v4_1.getResponseCode() != 200) && (v4_1 != null)) {
            v4_1.disconnect();
        }
        return v0_3;
    }

Method com.services.j.a() calling method java.net.URL.<init>()

Couldn't retrieve source code

Method com.simpl.android.fingerprint.a.f.a() calling method java.net.URL.<init>()


    static String a()
    {
        String v0_0 = 0;
        try {
            Throwable v1_2 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL("https://approvals-api.getsimpl.com/my-ip").openConnection());
            try {
                v1_2.setRequestMethod("GET");
                v1_2.setReadTimeout(150);
                v1_2.setConnectTimeout(250);
            } catch (java.net.SocketTimeoutException) {
                v0_0 = v1_2;
                if (v0_0 != null) {
                    v0_0.disconnect();
                }
                return "timeout";
            } catch (String v0_1) {
                String v0_7 = v0_1.getMessage();
                if (v1_2 != null) {
                    v1_2.disconnect();
                }
                return v0_7;
            }
            if (v1_2.getResponseCode() != 200) {
                if (v1_2 != null) {
                    v1_2.disconnect();
                }
                return "error";
            } else {
                String v0_10 = ark>com.simpl.android.fingerprint.a.fark>.a(v1_2).getString("ip");
                if (v1_2 != null) {
                    v1_2.disconnect();
                }
                return v0_10;
            }
        } catch (Throwable v1_1) {
            v1_2 = 0;
            String v0_2 = v1_1;
            if (v1_2 != null) {
                v1_2.disconnect();
            }
            throw v0_2;
        } catch (java.net.SocketTimeoutException) {
        } catch (Throwable v1_6) {
            v1_2 = 0;
            v0_1 = v1_6;
        } catch (String v0_2) {
        }
    }

Method com.simpl.android.fingerprint.commons.exception.a.a() calling method java.net.URL.<init>()


    private static void a(java.io.File p6)
    {
        try {
            java.net.HttpURLConnection v0_3 = ((java.net.HttpURLConnection) new java.net.URL("http://airbrakeapp.com/notifier_api/v2/notices").openConnection());
        } catch (Exception) {
            return;
        }
        v0_3.setDoOutput(1);
        v0_3.setRequestProperty("Content-Type", "text/xml; charset=utf-8");
        String v1_2 = new java.io.FileInputStream(p6);
        StringBuilder v2_0 = v0_3.getOutputStream();
        String v3_1 = new byte[4096];
        while(true) {
            int v4 = v1_2.read(v3_1);
            if (v4 < 0) {
                break;
            }
            v2_0.write(v3_1, 0, v4);
        }
        v2_0.flush();
        v2_0.close();
        v1_2.close();
        String v1_3 = v0_3.getResponseCode();
        StringBuilder v2_2 = new StringBuilder("Sent exception file ");
        v2_2.append(p6.getName());
        v2_2.append(" to airbrake. Got response code ");
        v2_2.append(String.valueOf(v1_3));
        p6.delete();
        v0_3.disconnect();
        return;
    }

Method com.simpl.android.zeroClickSdk.internal.h$1.run() calling method java.net.URL.<init>()


    public final void run()
    {
        com.simpl.android.zeroClickSdk.internal.h v0_0 = 0;
        try {
            String v1_10 = new org.json.JSONObject();
            v1_10.put("phone_number", this.a.getPhoneNumber());
        } catch (String v1_25) {
            javax.net.ssl.HttpsURLConnection v2_7 = v0_0;
            if (v2_7 != null) {
                v2_7.disconnect();
            }
            throw v1_25;
        } catch (String v1_24) {
            android.util.Log.e(com.simpl.android.zeroClickSdk.internal.h.a, "Failed while making request", v1_24);
            com.simpl.android.fingerprint.commons.exception.ExceptionNotifier.getSharedInstance().send(v1_24);
            com.simpl.android.zeroClickSdk.internal.h.a(this.c, v1_24);
            if (v0_0 == null) {
                return;
            } else {
                v0_0.disconnect();
                return;
            }
        }
        if (com.simpl.android.zeroClickSdk.internal.h.a(this.c).get() != null) {
            v1_10.put("app_hash", com.simpl.android.zeroClickSdk.internal.h.a(((android.content.Context) com.simpl.android.zeroClickSdk.internal.h.a(this.c).get())));
        }
        Throwable v4_23;
        String v1_23 = String.valueOf(v1_10);
        String v3_33 = new StringBuilder();
        Throwable v4_21 = ((com.simpl.android.zeroClickSdk.internal.i) com.simpl.android.zeroClickSdk.internal.i.a());
        if (!v4_21.b) {
            if (!v4_21.a) {
                v4_23 = "https://subscriptions-api.getsimpl.com/api/v3/";
            } else {
                v4_23 = "https://sandbox-subscriptions-api.getsimpl.com/api/v3/";
            }
        } else {
            v4_23 = "https://staging-subscriptions-api.getsimpl.com/api/v3/";
        }
        v3_33.append(v4_23);
        v3_33.append("zero_click_tokens/initiate");
        javax.net.ssl.HttpsURLConnection v2_9 = new java.net.URL(v3_33.toString());
        new StringBuilder("Final url is => ").append(v2_9.toString());
        v2_7 = ((javax.net.ssl.HttpsURLConnection) v2_9.openConnection());
        try {
            v2_7.setRequestProperty("client-id", this.b);
            v2_7.setRequestProperty("Content-Type", "application/json");
            v2_7.setReadTimeout(30000);
            v2_7.setConnectTimeout(30000);
            String v3_42 = new StringBuilder();
            v3_42.append(v1_23.getBytes().length);
            v2_7.setRequestProperty("Content-length", v3_42.toString());
            v2_7.setDoInput(1);
            v2_7.setDoOutput(1);
            com.simpl.android.zeroClickSdk.internal.h v0_2 = 0;
            v2_7.setUseCaches(0);
            String v3_44 = v2_7.getOutputStream();
            v3_44.write(v1_23.getBytes("UTF-8"));
            v3_44.close();
        } catch (String v1_25) {
        } catch (String v1_24) {
            v0_0 = v2_7;
        }
        if (v2_7.getResponseCode() != 200) {
            Throwable v4_6;
            com.simpl.android.zeroClickSdk.internal.h v0_1;
            if (v2_7.getResponseCode() < 400) {
                String v1_1 = new java.io.BufferedReader(new java.io.InputStreamReader(v2_7.getInputStream()));
                String v3_1 = new StringBuilder();
                while(true) {
                    Throwable v4_0 = v1_1.readLine();
                    if (v4_0 == null) {
                        break;
                    }
                    v3_1.append(v4_0);
                }
                new StringBuilder("response is =>").append(v3_1.toString());
                v1_1.close();
                String v1_3 = new org.json.JSONObject(v3_1.toString());
                String v3_4 = new StringBuilder();
                Throwable v4_4 = v1_3.getJSONArray("errors");
                while (v0_2 < v4_4.length()) {
                    v3_4.append(v4_4.getString(v0_2));
                    v3_4.append("\n");
                    v0_2++;
                }
                v0_1 = this.c;
                StringBuilder v5_4 = new StringBuilder();
                v5_4.append(v3_4.toString());
                v5_4.append("\n");
                v5_4.append(v1_3.getString("error_message"));
                v4_6 = new Throwable(v5_4.toString());
            } else {
                String v1_7 = new java.io.BufferedReader(new java.io.InputStreamReader(v2_7.getErrorStream()));
                String v3_12 = new StringBuilder();
                while(true) {
                    Throwable v4_8 = v1_7.readLine();
                    if (v4_8 == null) {
                        break;
                    }
                    v3_12.append(v4_8);
                }
                new StringBuilder("response is =>").append(v3_12.toString());
                v1_7.close();
                String v1_9 = new org.json.JSONObject(v3_12.toString());
                String v3_16 = new StringBuilder();
                Throwable v4_12 = v1_9.getJSONArray("errors");
                while (v0_2 < v4_12.length()) {
                    v3_16.append(v4_12.getString(v0_2));
                    v3_16.append("\n");
                    v0_2++;
                }
                Throwable v4_14 = new StringBuilder("Error while init zeroclick user => ");
                v4_14.append(v3_16.toString());
                android.util.Log.e(com.simpl.android.zeroClickSdk.internal.h.a, v4_14.toString());
                v0_1 = this.c;
                StringBuilder v5_13 = new StringBuilder();
                v5_13.append(v3_16.toString());
                v5_13.append("\n");
                v5_13.append(v1_9.getString("error_code"));
                v4_6 = new Throwable(v5_13.toString());
            }
            com.simpl.android.zeroClickSdk.internal.h.a(v0_1, v4_6);
        } else {
            com.simpl.android.zeroClickSdk.internal.h v0_5 = new java.io.BufferedReader(new java.io.InputStreamReader(v2_7.getInputStream()));
            String v1_16 = new StringBuilder();
            while(true) {
                String v3_24 = v0_5.readLine();
                if (v3_24 == null) {
                    break;
                }
                v1_16.append(v3_24);
            }
            new StringBuilder("response is =>").append(v1_16.toString());
            v0_5.close();
            com.simpl.android.zeroClickSdk.internal.h v0_7 = new org.json.JSONObject(v1_16.toString());
            if (!v0_7.optBoolean("success")) {
                com.simpl.android.zeroClickSdk.internal.h.a(this.c, new Throwable(v0_7.optString("error_code")));
            } else {
                String v1_22 = new com.simpl.android.zeroClickSdk.SimplZeroClickTokenAuthorization();
                v1_22.setZeroClickVerificationUrl(v0_7.optJSONObject("data").optString("verification_url"));
                com.simpl.android.zeroClickSdk.internal.h.a(this.c, v1_22);
            }
        }
        if (v2_7 == null) {
            return;
        } else {
            v2_7.disconnect();
            return;
        }
    }

Method com.simpl.approvalsdk.b$1.run() calling method java.net.URL.<init>()


    public final void run()
    {
        try {
            Throwable v0_2 = javax.net.ssl.SSLContext.getInstance("TLSv1");
            v0_2.init(0, 0, 0);
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(new com.simpl.approvalsdk.util.NoSSLv3SocketFactory(v0_2.getSocketFactory()));
            try {
                String v2_13 = new StringBuilder();
                v2_13.append(com.simpl.approvalsdk.SimplApproval.getInstance().getApprovalsApiBaseUrl());
                v2_13.append("simpl_buy/approved?phone_number=");
                v2_13.append(com.simpl.approvalsdk.SimplApproval.getInstance().getSimplUser().getPhoneNumber());
                v2_13.append("&merchant_id=");
                v2_13.append(com.simpl.approvalsdk.SimplApproval.getInstance().getMerchantId());
                v2_13.append("&src=android");
                Throwable v0_4 = new java.net.URL(v2_13.toString());
                com.simpl.approvalsdk.b.a();
                new StringBuilder("Final url is => ").append(v0_4.toString());
                Throwable v0_6 = ((javax.net.ssl.HttpsURLConnection) v0_4.openConnection());
                try {
                    v0_6.setReadTimeout(30000);
                    v0_6.setConnectTimeout(30000);
                    v0_6.setDoInput(1);
                    v0_6.setDoOutput(1);
                    v0_6.setRequestMethod("POST");
                    com.simpl.approvalsdk.b v1_3 = 0;
                    v0_6.setUseCaches(0);
                    String v2_26 = v0_6.getOutputStream();
                    String v3_40 = new org.json.JSONObject();
                    v3_40.put("payload", this.a);
                    v2_26.write(v3_40.toString().getBytes());
                    v2_26.close();
                } catch (com.simpl.approvalsdk.b v1_12) {
                    android.util.Log.e(com.simpl.approvalsdk.b.a(), "Failed while making request", v1_12);
                    com.simpl.android.fingerprint.commons.exception.ExceptionNotifier.getSharedInstance().send(v1_12);
                    com.simpl.approvalsdk.b.a(this.b, v1_12);
                    if (v0_6 == null) {
                        return;
                    } else {
                        v0_6.disconnect();
                        return;
                    }
                }
                if (v0_6.getResponseCode() != 200) {
                    com.simpl.approvalsdk.b v1_1;
                    Throwable v4_7;
                    if (v0_6.getResponseCode() < 400) {
                        String v2_0 = new java.io.BufferedReader(new java.io.InputStreamReader(v0_6.getInputStream()));
                        String v3_2 = new StringBuilder();
                        while(true) {
                            Throwable v4_1 = v2_0.readLine();
                            if (v4_1 == null) {
                                break;
                            }
                            v3_2.append(v4_1);
                        }
                        com.simpl.approvalsdk.b.a();
                        new StringBuilder("response is =>").append(v3_2.toString());
                        v2_0.close();
                        String v2_2 = new org.json.JSONObject(v3_2.toString());
                        String v3_5 = new StringBuilder();
                        Throwable v4_5 = v2_2.getJSONArray("errors");
                        while (v1_3 < v4_5.length()) {
                            v3_5.append(v4_5.getString(v1_3));
                            v3_5.append("\n");
                            v1_3++;
                        }
                        v1_1 = this.b;
                        StringBuilder v5_4 = new StringBuilder();
                        v5_4.append(v3_5.toString());
                        v5_4.append("\n");
                        v5_4.append(v2_2.getString("error_message"));
                        v4_7 = new Throwable(v5_4.toString());
                    } else {
                        String v2_6 = new java.io.BufferedReader(new java.io.InputStreamReader(v0_6.getErrorStream()));
                        String v3_12 = new StringBuilder();
                        while(true) {
                            Throwable v4_9 = v2_6.readLine();
                            if (v4_9 == null) {
                                break;
                            }
                            v3_12.append(v4_9);
                        }
                        com.simpl.approvalsdk.b.a();
                        new StringBuilder("response is =>").append(v3_12.toString());
                        v2_6.close();
                        String v2_8 = new org.json.JSONObject(v3_12.toString());
                        String v3_15 = new StringBuilder();
                        Throwable v4_13 = v2_8.getJSONArray("errors");
                        while (v1_3 < v4_13.length()) {
                            v3_15.append(v4_13.getString(v1_3));
                            v3_15.append("\n");
                            v1_3++;
                        }
                        com.simpl.approvalsdk.b v1_5 = com.simpl.approvalsdk.b.a();
                        Throwable v4_15 = new StringBuilder("Error while approving user => ");
                        v4_15.append(v3_15.toString());
                        android.util.Log.e(v1_5, v4_15.toString());
                        v1_1 = this.b;
                        StringBuilder v5_13 = new StringBuilder();
                        v5_13.append(v3_15.toString());
                        v5_13.append("\n");
                        v5_13.append(v2_8.getString("error_message"));
                        v4_7 = new Throwable(v5_13.toString());
                    }
                    com.simpl.approvalsdk.b.a(v1_1, v4_7);
                } else {
                    com.simpl.approvalsdk.b v1_7 = new java.io.BufferedReader(new java.io.InputStreamReader(v0_6.getInputStream()));
                    String v2_16 = new StringBuilder();
                    while(true) {
                        String v3_20 = v1_7.readLine();
                        if (v3_20 == null) {
                            break;
                        }
                        v2_16.append(v3_20);
                    }
                    com.simpl.approvalsdk.b.a();
                    new StringBuilder("response is =>").append(v2_16.toString());
                    v1_7.close();
                    com.simpl.approvalsdk.b v1_9 = new org.json.JSONObject(v2_16.toString());
                    com.simpl.approvalsdk.b.a(this.b, v1_9.getJSONObject("data").optBoolean("approved"), v1_9.getJSONObject("data").optString("button_text"), v1_9.getJSONObject("data").optBoolean("first_transaction"));
                }
                if (v0_6 == null) {
                    return;
                } else {
                    v0_6.disconnect();
                    return;
                }
            } catch (Throwable v0_8) {
                com.simpl.approvalsdk.b v1_13 = v0_8;
                v0_6 = 30000;
                if (v0_6 != null) {
                    v0_6.disconnect();
                }
                throw v1_13;
            } catch (Throwable v0_7) {
                v1_12 = v0_7;
                v0_6 = 30000;
            } catch (com.simpl.approvalsdk.b v1_13) {
            }
        } catch (Throwable v0_1) {
            com.simpl.android.fingerprint.commons.exception.ExceptionNotifier.getSharedInstance().send(v0_1);
            com.simpl.approvalsdk.SimplApproval.getInstance().getGlobalSimplUserApprovalListener().onError(v0_1);
            return;
        }
    }

Method com.til.colombia.android.commons.CommonUtil.c() calling method java.net.URL.<init>()


    private static android.graphics.Bitmap c(String p2)
    {
        try {
            int v2_5 = ((java.net.HttpURLConnection) new java.net.URL(p2).openConnection());
            v2_5.setDoInput(1);
            v2_5.connect();
            return android.graphics.BitmapFactory.decodeStream(v2_5.getInputStream());
        } catch (int v2_2) {
            com.til.colombia.android.internal.Log.a("Col:aos:4.0.0", "", v2_2);
            return 0;
        }
    }

Method com.til.colombia.android.internal.HttpClient.a.c() calling method java.net.URL.<init>()


    private static java.net.HttpURLConnection c(String p3)
    {
        java.net.HttpURLConnection v3_3 = ((java.net.HttpURLConnection) new java.net.URL(com.til.colombia.android.internal.a.d.a(p3)).openConnection());
        com.til.colombia.android.internal.h.i();
        v3_3.setRequestProperty("User-Agent", com.til.colombia.android.internal.h.j());
        v3_3.setConnectTimeout(15000);
        v3_3.setReadTimeout(15000);
        v3_3.setUseCaches(0);
        if ((java.net.HttpCookie.domainMatches(".clmbtech.com", v3_3.getURL().getHost())) && (com.til.colombia.android.internal.a.b().getCookies().size() >= 0)) {
            v3_3.setRequestProperty("Cookie", android.text.TextUtils.join(";", com.til.colombia.android.internal.a.b().getCookies()));
        }
        v3_3.setDoInput(1);
        return v3_3;
    }

Method com.til.colombia.android.internal.a.d.e() calling method java.net.URL.<init>()


    private static java.net.URI e(String p10)
    {
        try {
            Exception v0_1 = new java.net.URL(p10);
            java.net.URI v9 = new java.net.URI;
            v9(v0_1.getProtocol(), v0_1.getUserInfo(), v0_1.getHost(), v0_1.getPort(), v0_1.getPath(), v0_1.getQuery(), v0_1.getRef());
            return v9;
        } catch (Exception v0_2) {
            StringBuilder v2_1 = new StringBuilder("Failed to encode url: ");
            v2_1.append(p10);
            com.til.colombia.android.internal.Log.b("Col:aos:4.0.0", v2_1.toString());
            throw v0_2;
        }
    }

Method com.til.colombia.android.internal.a.g.a() calling method java.net.URL.<init>()


    private static varargs Boolean a(String[] p8)
    {
        if ((p8 != null) && ((p8.length != 0) && (p8[0] != null))) {
            String v1_0 = 0;
            boolean v2_0 = 0;
            while (v1_0 < p8.length) {
                boolean v3_0 = p8[v1_0];
                if (!com.til.colombia.android.commons.a.a.a(v3_0)) {
                    java.io.BufferedInputStream v4_1 = 0;
                    try {
                        if (!com.til.colombia.android.internal.a.h.a(v3_0)) {
                            if (!com.til.colombia.android.commons.a.a.a(v3_0)) {
                                java.net.HttpURLConnection v5_5 = ((java.net.HttpURLConnection) new java.net.URL(com.til.colombia.android.internal.a.d.a(v3_0)).openConnection());
                                com.til.colombia.android.internal.h.i();
                                v5_5.setRequestProperty("User-Agent", com.til.colombia.android.internal.h.j());
                                v5_5.setConnectTimeout(15000);
                                v5_5.setReadTimeout(15000);
                                v5_5.setUseCaches(0);
                                v5_5.connect();
                                try {
                                    if (((v5_5.getResponseCode() / 10) != 20) || (v5_5.getContentLength() >= 26214400)) {
                                        Boolean v8_6 = Boolean.valueOf(0);
                                        if (v5_5 != null) {
                                            v5_5.disconnect();
                                        }
                                        return v8_6;
                                    } else {
                                        try {
                                            java.io.BufferedInputStream v6_7 = new java.io.BufferedInputStream(v5_5.getInputStream());
                                            try {
                                                boolean v3_1 = com.til.colombia.android.commons.a.a.a(v3_0, v6_7);
                                            } catch (Boolean v8_7) {
                                                v4_1 = v6_7;
                                                if (v4_1 != null) {
                                                    v4_1.close();
                                                }
                                                if (v2_0) {
                                                    throw v8_7;
                                                } else {
                                                    Boolean v8_8 = Boolean.valueOf(0);
                                                    if (v5_5 != null) {
                                                        v5_5.disconnect();
                                                    }
                                                    return v8_8;
                                                }
                                            }
                                            v6_7.close();
                                            if (v3_1) {
                                                if (v5_5 != null) {
                                                    v5_5.disconnect();
                                                }
                                                v2_0 = v3_1;
                                                v1_0++;
                                            } else {
                                                Boolean v8_10 = Boolean.valueOf(0);
                                                if (v5_5 != null) {
                                                    v5_5.disconnect();
                                                }
                                                return v8_10;
                                            }
                                        } catch (Boolean v8_7) {
                                        }
                                    }
                                } catch (Boolean v8_3) {
                                    v4_1 = v5_5;
                                } catch (java.io.IOException) {
                                    v4_1 = v5_5;
                                    Boolean v8_2 = Boolean.valueOf(0);
                                    if (v4_1 != null) {
                                        v4_1.disconnect();
                                    }
                                    return v8_2;
                                } catch (Boolean v8_9) {
                                    v4_1 = v5_5;
                                    boolean v2_2 = new StringBuilder("Failed to download : ");
                                    v2_2.append(v8_9.getMessage());
                                    com.til.colombia.android.internal.Log.a("", v2_2.toString());
                                    Boolean v8_1 = Boolean.valueOf(0);
                                    if (v4_1 != null) {
                                        v4_1.disconnect();
                                    }
                                    return v8_1;
                                }
                            } else {
                            }
                        } else {
                        }
                        if (v4_1 != null) {
                            v4_1.disconnect();
                        }
                        throw v8_3;
                    } catch (Boolean v8_3) {
                    } catch (Boolean v8_9) {
                    }
                } else {
                    v2_0 = 1;
                }
            }
            return Boolean.valueOf(v2_0);
        } else {
            return Boolean.valueOf(0);
        }
    }

Method com.til.colombia.android.internal.a.g.a() calling method java.net.URL.<init>()


    private static java.net.HttpURLConnection a(String p2)
    {
        java.net.HttpURLConnection v2_3 = ((java.net.HttpURLConnection) new java.net.URL(com.til.colombia.android.internal.a.d.a(p2)).openConnection());
        com.til.colombia.android.internal.h.i();
        v2_3.setRequestProperty("User-Agent", com.til.colombia.android.internal.h.j());
        v2_3.setConnectTimeout(15000);
        v2_3.setReadTimeout(15000);
        v2_3.setUseCaches(0);
        v2_3.connect();
        return v2_3;
    }

Method com.til.colombia.android.internal.a.f() calling method java.net.URL.<init>()


    private static String f(String p5)
    {
        String v1_0 = 0;
        try {
            while(true) {
                int v2_6 = ((java.net.HttpURLConnection) new java.net.URL(p5).openConnection());
                com.til.colombia.android.internal.h.i();
                v2_6.setRequestProperty("User-Agent", com.til.colombia.android.internal.h.j());
                v2_6.setUseCaches(0);
                v2_6.setRequestMethod("GET");
                String v3_1 = v2_6.getResponseCode();
                v1_0++;
                p5 = String v3_3;
            }
            p5 = v3_3;
            return p5;
        } catch (Exception v0_1) {
            com.til.colombia.android.internal.Log.a("Col:aos:4.0.0", "Cannot get redirect url", v0_1);
            return p5;
        }
        if ((v3_1 < 300) || (v3_1 >= 400)) {
            return p5;
        } else {
            v3_3 = v2_6.getHeaderField("Location");
            if (v3_3 != null) {
                try {
                    if ((v2_6.getResponseCode() != 200) && (v1_0 < 5)) {
                    }
                } catch (String v5_2) {
                    v0_1 = v5_2;
                    p5 = v3_3;
                }
            }
        }
    }

Method com.til.colombia.android.network.a.a() calling method java.net.URL.<init>()


    static boolean a(java.util.List p6)
    {
        if (!p6.isEmpty()) {
            try {
                int v2_0 = ((java.net.HttpURLConnection) new java.net.URL("https://ade.clmbtech.com/cde/mnotify.htm").openConnection());
                int v0_1 = 15000;
                try {
                    v2_0.setConnectTimeout(15000);
                    v2_0.setReadTimeout(15000);
                    v2_0.setDoOutput(1);
                    java.io.OutputStream v4_1 = new StringBuilder();
                    v4_1.append(System.getProperty("http.agent"));
                    v4_1.append("Col:aos:4.0.0");
                    v2_0.setRequestProperty("User-Agent", v4_1.toString());
                    v2_0.setRequestProperty("Content-Type", "application/json; charset=UTF-8");
                    v2_0.setRequestMethod("POST");
                    v2_0.setUseCaches(0);
                    int v3_4 = new java.io.OutputStreamWriter(v2_0.getOutputStream());
                    v3_4.write(p6.toString());
                    v3_4.flush();
                    v2_0.connect();
                } catch (Exception v6_5) {
                    if (v2_0 != 0) {
                        v2_0.disconnect();
                    }
                    throw v6_5;
                } catch (Exception v6_1) {
                    v0_1 = v2_0;
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v6_1);
                    if (v0_1 == 0) {
                        return 0;
                    } else {
                        v0_1.disconnect();
                        return 0;
                    }
                }
                if ((v2_0.getResponseCode() / 10) != 20) {
                    if (v2_0 == 0) {
                        return 0;
                    } else {
                        v2_0.disconnect();
                        return 0;
                    }
                } else {
                    if (v2_0 != 0) {
                        v2_0.disconnect();
                    }
                    return 1;
                }
            } catch (Exception v6_5) {
                v2_0 = v0_1;
            } catch (Exception v6_1) {
            }
        } else {
            return 0;
        }
    }

Method com.til.colombia.android.service.Colombia$a.a() calling method java.net.URL.<init>()


    private varargs Void a()
    {
        if (!com.til.colombia.android.internal.a.F()) {
            com.til.colombia.android.internal.a.i();
        } else {
            try {
                this.a = new java.net.URL(com.til.colombia.android.network.q.a());
            } catch (java.net.MalformedURLException) {
            }
            if (this.a != null) {
                try {
                    org.json.JSONArray v0_4 = ((java.net.HttpURLConnection) this.a.openConnection());
                    v0_4.setConnectTimeout(15000);
                    v0_4.setReadTimeout(15000);
                    String v3_1 = new StringBuilder();
                    v3_1.append(System.getProperty("http.agent"));
                    v3_1.append("Col:aos:4.0.0,");
                    v3_1.append("colombia-dmp-aos:1.2.1");
                    v0_4.setRequestProperty("User-Agent", v3_1.toString());
                    int v2_2 = 0;
                    v0_4.setUseCaches(0);
                    v0_4.setDoInput(1);
                    v0_4.connect();
                    org.json.JSONArray v0_5 = v0_4.getInputStream();
                    String v3_5 = new java.io.BufferedReader(new java.io.InputStreamReader(v0_5, "UTF-8"), 8);
                    String v4_7 = new StringBuilder();
                } catch (org.json.JSONArray v0_13) {
                    com.til.colombia.android.internal.a.i();
                    throw v0_13;
                } catch (Exception) {
                    com.til.colombia.android.internal.a.i();
                }
            } else {
                return 0;
            }
        }
        return 0;
    }

Method com.til.colombia.android.service.Colombia$b.a() calling method java.net.URL.<init>()


    private varargs Void a()
    {
        if (!com.til.colombia.android.internal.a.w()) {
            if (!com.til.colombia.android.internal.a.u()) {
                com.til.colombia.android.internal.a.m();
            }
        } else {
            try {
                this.a = new java.net.URL(com.til.colombia.android.network.q.b());
            } catch (java.net.MalformedURLException) {
            }
            if (this.a != null) {
                try {
                    String v0_5 = ((java.net.HttpURLConnection) this.a.openConnection());
                    v0_5.setConnectTimeout(15000);
                    v0_5.setReadTimeout(15000);
                    StringBuilder v3_1 = new StringBuilder();
                    v3_1.append(System.getProperty("http.agent"));
                    v3_1.append("Col:aos:4.0.0,");
                    v3_1.append("colombia-dmp-aos:1.2.1");
                    v0_5.setRequestProperty("User-Agent", v3_1.toString());
                    v0_5.setUseCaches(0);
                    v0_5.setDoInput(1);
                    v0_5.connect();
                    String v0_6 = v0_5.getInputStream();
                    org.json.JSONObject v2_6 = new java.io.BufferedReader(new java.io.InputStreamReader(v0_6, "UTF-8"), 8);
                    StringBuilder v3_6 = new StringBuilder();
                } catch (Exception) {
                    if (!com.til.colombia.android.internal.a.u()) {
                        com.til.colombia.android.internal.a.m();
                    }
                }
            } else {
                return 0;
            }
        }
        return 0;
    }

Method com.til.colombia.android.service.VASTHelper$a.a() calling method java.net.URL.<init>()


    private varargs com.til.colombia.android.vast.VASTXmlParser a()
    {
        try {
            if (com.til.colombia.android.internal.a.h.a(this.a)) {
                com.til.colombia.android.service.VASTHelper.access$002(this.c, com.til.colombia.android.internal.a.d.a(com.til.colombia.android.service.VASTHelper.access$000(this.c)));
                com.til.colombia.android.vast.VASTXmlParser v1_4 = ((java.net.HttpURLConnection) new java.net.URL(com.til.colombia.android.service.VASTHelper.access$000(this.c)).openConnection());
                v1_4.connect();
                this.a = com.til.colombia.android.commons.CommonUtil.a(v1_4);
            }
        } catch (com.til.colombia.android.vast.VASTXmlParser v1_11) {
            com.til.colombia.android.internal.Log.b("Col:aos:4.0.0", "", v1_11);
            return 0;
        }
        com.til.colombia.android.service.VASTHelper.access$102(this.c, new com.til.colombia.android.vast.VASTXmlParser(com.til.colombia.android.service.VASTHelper.access$200(this.c), this.b));
        if (!com.til.colombia.android.service.VASTHelper.access$100(this.c).process(this.a)) {
            return 0;
        } else {
            com.til.colombia.android.service.VASTHelper.access$300(this.c);
            return com.til.colombia.android.service.VASTHelper.access$100(this.c);
        }
    }

Method com.til.colombia.android.service.cj.run() calling method java.net.URL.<init>()


    public final void run()
    {
        try {
            Throwable v1_5 = new String(com.til.colombia.android.service.LeadGenActivity.access$600(this.b).c);
            String v2_0 = new java.util.ArrayList(com.til.colombia.android.service.LeadGenActivity.access$600(this.b).d);
            Throwable v1_2 = ((java.net.HttpURLConnection) new java.net.URL(v1_5).openConnection());
            try {
                v1_2.setDoOutput(1);
                v1_2.setRequestProperty("Content-Type", "application/json; charset=UTF-8");
                v1_2.setRequestMethod("POST");
                v1_2.setUseCaches(0);
                Exception v0_7 = new java.io.OutputStreamWriter(v1_2.getOutputStream());
                v0_7.write(this.a.toString());
                v0_7.flush();
                v1_2.connect();
                String v3_9 = new StringBuilder("code:");
                v3_9.append(v1_2.getResponseCode());
                com.til.colombia.android.internal.Log.a("Col:aos:4.0.0", v3_9.toString());
                com.til.colombia.android.network.n.a(v2_0, 5, "LeadGen conversion tracked.");
            } catch (Exception v0_1) {
                com.til.colombia.android.internal.Log.a("Col:aos:4.0.0", "", v0_1);
                if (v1_2 == null) {
                    return;
                } else {
                    v1_2.disconnect();
                    return;
                }
            }
            if (v1_2 == null) {
                return;
            } else {
                v1_2.disconnect();
                return;
            }
        } catch (Throwable v1_4) {
            v1_2 = 1;
            Exception v0_2 = v1_4;
            if (v1_2 != null) {
                v1_2.disconnect();
            }
            throw v0_2;
        } catch (Throwable v1_3) {
            v1_2 = 1;
            v0_1 = v1_3;
        } catch (Exception v0_2) {
        }
    }

Method com.til.colombia.android.utils.a$a.a() calling method java.net.URL.<init>()


    private varargs android.graphics.Bitmap a()
    {
        if (!this.isCancelled()) {
            if (android.os.Build$VERSION.SDK_INT < 8) {
                System.setProperty("http.keepAlive", "false");
            }
            Throwable v0_3 = ((com.til.colombia.android.utils.a$b) this.b.get());
            com.til.colombia.android.utils.a v2_2 = ((com.til.colombia.android.utils.a) this.a.get());
            try {
                this.c = com.til.colombia.android.internal.a.d.a(this.c);
                int v3_5 = ((java.net.HttpURLConnection) new java.net.URL(this.c).openConnection());
                try {
                    v3_5.setReadTimeout(com.til.colombia.android.utils.a.b());
                    v3_5.setUseCaches(1);
                    Exception v4_5 = ((java.io.InputStream) v3_5.getContent());
                    String v5_0 = android.graphics.BitmapFactory.decodeStream(v4_5);
                    v4_5.close();
                } catch (Exception v4_1) {
                    com.til.colombia.android.internal.Log.a("Col:aos:4.0.0", "", v4_1);
                    if (v0_3 != null) {
                        v0_3.a();
                    }
                    if (v2_2 != null) {
                        v2_2.a(v0_3);
                    }
                    if (v3_5 != 0) {
                        v3_5.disconnect();
                    }
                    return 0;
                }
                if (v0_3 != null) {
                    if (v5_0 != null) {
                        v0_3.a(v5_0);
                    } else {
                        v0_3.a();
                    }
                }
                if (v2_2 != null) {
                    v2_2.a(v0_3);
                }
                if (v3_5 != 0) {
                    v3_5.disconnect();
                }
                return v5_0;
            } catch (Throwable v0_4) {
                v3_5 = 0;
                if (v3_5 != 0) {
                    v3_5.disconnect();
                }
                throw v0_4;
            } catch (Exception v4_1) {
                v3_5 = 0;
            } catch (Throwable v0_4) {
            }
        } else {
            return 0;
        }
    }

Method com.til.colombia.android.utils.b$b.a() calling method java.net.URL.<init>()


    private static varargs android.graphics.Bitmap a(String[] p5)
    {
        try {
            int v1_1 = ((java.net.HttpURLConnection) new java.net.URL(com.til.colombia.android.internal.a.d.a(p5[0])).openConnection());
            try {
                v1_1.setReadTimeout(10000);
                v1_1.setUseCaches(1);
                String v3_3 = ((java.io.InputStream) v1_1.getContent());
                android.graphics.Bitmap v4 = android.graphics.BitmapFactory.decodeStream(v3_3);
                v3_3.close();
                Exception v5_3 = p5[0];
            } catch (Exception v5_1) {
                com.til.colombia.android.internal.Log.a("Col:aos:4.0.0", "", v5_1);
                if (v1_1 != 0) {
                    v1_1.disconnect();
                }
                return 0;
            }
            if (com.til.colombia.android.commons.a.h.a(v5_3) == null) {
                com.til.colombia.android.commons.a.h.a.put(v5_3, v4);
            }
            if (v1_1 != 0) {
                v1_1.disconnect();
            }
            return v4;
        } catch (Exception v5_2) {
            v1_1 = 0;
            if (v1_1 != 0) {
                v1_1.disconnect();
            }
            throw v5_2;
        } catch (Exception v5_1) {
            v1_1 = 0;
        } catch (Exception v5_2) {
        }
    }

Method com.til.colombia.android.vast.VASTXmlParser.getWrappedVastOrDaast() calling method java.net.URL.<init>()


    private void getWrappedVastOrDaast(org.xmlpull.v1.XmlPullParser p6, String p7)
    {
        String v7_1;
        String v0_0 = "";
        String v1_2 = p7.hashCode();
        if (v1_2 == -1774725798) {
            if (!p7.equals("DAASTAdTagURI")) {
                v7_1 = -1;
            } else {
                v7_1 = 1;
            }
        } else {
            if ((v1_2 != -587420703) || (!p7.equals("VASTAdTagURI"))) {
            } else {
                v7_1 = 0;
            }
        }
        switch (v7_1) {
            case 0:
                p6.require(2, 0, "VASTAdTagURI");
                v0_0 = com.til.colombia.android.internal.a.d.a(com.til.colombia.android.vast.VASTXmlParser.readText(p6));
                p6.require(3, 0, "VASTAdTagURI");
                break;
            case 1:
                p6.require(2, 0, "DAASTAdTagURI");
                v0_0 = com.til.colombia.android.internal.a.d.a(com.til.colombia.android.vast.VASTXmlParser.readText(p6));
                p6.require(3, 0, "DAASTAdTagURI");
                break;
            default:
        }
        if (this.vastListener == null) {
            com.til.colombia.android.internal.Log.a("VASTXmlParser", "No listener set for wrapped VAST xml.");
        } else {
            String v7_11 = new StringBuilder("Notifying VAST listener of new location ");
            v7_11.append(v0_0);
            com.til.colombia.android.internal.Log.a("VASTXmlParser", v7_11.toString());
            this.vastListener.onVASTWrapperFound(v0_0);
        }
        try {
            Exception v6_8 = ((java.net.HttpURLConnection) new java.net.URL(v0_0).openConnection());
            v6_8.connect();
            this.wrappedVASTXml = new com.til.colombia.android.vast.VASTXmlParser(this.context, 0);
            this.hasWrapper = 1;
            this.wrappedVASTXml.process(com.til.colombia.android.commons.CommonUtil.a(v6_8));
            return;
        } catch (Exception v6_10) {
            com.til.colombia.android.internal.Log.b("Col:aos:4.0.0", "", v6_10);
            return;
        }
    }

Method com.til.colombia.dmp.android.DmpManager$b.a() calling method java.net.URL.<init>()

Couldn't retrieve source code

Method com.til.colombia.dmp.android.DmpManager.connectPartner() calling method java.net.URL.<init>()

Couldn't retrieve source code

Method com.til.colombia.dmp.android.DmpManager.getFeedContent() calling method java.net.URL.<init>()


    private org.json.JSONObject getFeedContent(String p11)
    {
        org.json.JSONObject v1_1;
        if (com.til.colombia.dmp.android.Utils.getLongPreferences(this.mContext, "dmpFeeds", "dmpFeedTs") <= ((System.currentTimeMillis() / 1000) - 86400)) {
            v1_1 = 0;
        } else {
            v1_1 = com.til.colombia.dmp.android.Utils.getPreferences(this.mContext, "dmpFeeds", "dmpFeedJson");
        }
        if (!android.text.TextUtils.isEmpty(v1_1)) {
            try {
                return new org.json.JSONObject(v1_1);
            } catch (org.json.JSONObject v1_3) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v1_3);
            }
        }
        try {
            android.content.Context v11_2 = ((java.net.HttpURLConnection) new java.net.URL(p11).openConnection());
            v11_2.setConnectTimeout(10000);
            v11_2.setReadTimeout(10000);
            String v2_7 = new StringBuilder();
            v2_7.append(System.getProperty("http.agent"));
            v2_7.append("dmp-aos:1.6.0");
            v11_2.setRequestProperty("User-Agent", v2_7.toString());
            v11_2.setUseCaches(0);
            v11_2.setDoInput(1);
            v11_2.connect();
            android.content.Context v11_3 = v11_2.getInputStream();
            org.json.JSONObject v1_11 = new java.io.BufferedReader(new java.io.InputStreamReader(v11_3, "UTF-8"), 8);
            String v2_13 = new StringBuilder();
        } catch (android.content.Context v11_9) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v11_9);
            return 0;
        }
        while(true) {
            String v3_6 = v1_11.readLine();
            if (v3_6 == null) {
                break;
            }
            v2_13.append(v3_6);
            v2_13.append("\n");
        }
        v11_3.close();
        if (!android.text.TextUtils.isEmpty(v2_13.toString())) {
            org.json.JSONObject v1_13 = new org.json.JSONObject(v2_13.toString());
            com.til.colombia.dmp.android.Utils.setPreferences(this.mContext, "dmpFeeds", "dmpFeedJson", v1_13.toString());
            com.til.colombia.dmp.android.Utils.setPreferences(this.mContext, "dmpFeeds", "dmpFeedTs", (System.currentTimeMillis() / 1000));
            return v1_13;
        } else {
            return 0;
        }
    }

Method com.til.colombia.dmp.android.DmpManager.sendColombiaEvents() calling method java.net.URL.<init>()


    private boolean sendColombiaEvents(org.json.JSONObject p7)
    {
        if (com.til.colombia.dmp.android.Utils.checkNetworkAvailibility(this.mContext)) {
            try {
                int v2_1 = ((java.net.HttpURLConnection) new java.net.URL(com.til.colombia.dmp.android.Utils.getDmpUrl()).openConnection());
                int v0_1 = 10000;
                try {
                    v2_1.setConnectTimeout(10000);
                    v2_1.setReadTimeout(10000);
                    v2_1.setDoOutput(1);
                    int v4_1 = new StringBuilder();
                    v4_1.append(System.getProperty("http.agent"));
                    v4_1.append("dmp-aos:1.6.0");
                    v2_1.setRequestProperty("User-Agent", v4_1.toString());
                    v2_1.setRequestProperty("Content-Type", "application/json; charset=UTF-8");
                    v2_1.setRequestMethod("POST");
                    v2_1.setUseCaches(0);
                    String v3_4 = new java.io.OutputStreamWriter(v2_1.getOutputStream());
                    v3_4.write(p7.toString());
                    v3_4.flush();
                    v2_1.connect();
                } catch (String v7_5) {
                    if (v2_1 != 0) {
                        v2_1.disconnect();
                    }
                    throw v7_5;
                } catch (String v7_1) {
                    v0_1 = v2_1;
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v7_1);
                    if (v0_1 == 0) {
                        return 0;
                    } else {
                        v0_1.disconnect();
                        return 0;
                    }
                }
                if ((v2_1.getResponseCode() / 10) != 20) {
                    if (v2_1 == 0) {
                        return 0;
                    } else {
                        v2_1.disconnect();
                        return 0;
                    }
                } else {
                    String v3_7 = new StringBuilder("DMP EVENTS PUBLISHED.");
                    v3_7.append(v2_1.getResponseCode());
                    android.util.Log.i("dmp-aos:1.6.0", v3_7.toString());
                    if (v2_1 != 0) {
                        v2_1.disconnect();
                    }
                    return 1;
                }
            } catch (String v7_5) {
                v2_1 = v0_1;
            } catch (String v7_1) {
            }
        } else {
            return 0;
        }
    }

Method com.til.colombia.dmp.android.PSService.onHandleIntent() calling method java.net.URL.<init>()


    protected void onHandleIntent(android.content.Intent p5)
    {
        try {
            this.a = p5.getStringExtra("sid");
            Throwable v5_7 = ((java.net.HttpURLConnection) new java.net.URL(new android.net.Uri$Builder().encodedPath(com.til.colombia.dmp.android.Utils.getPsUrl()).appendQueryParameter("pid", com.til.colombia.dmp.android.Utils.getAAID(this)).appendQueryParameter("sid", this.a).build().toString()).openConnection());
            try {
                v5_7.setConnectTimeout(10000);
                v5_7.setReadTimeout(10000);
                String v1_6 = new StringBuilder();
                v1_6.append(System.getProperty("http.agent"));
                v1_6.append("dmp-aos:1.6.0");
                v5_7.setRequestProperty("User-Agent", v1_6.toString());
                v5_7.setUseCaches(0);
                v5_7.connect();
                String v1_9 = new StringBuilder("sent to server ");
                v1_9.append(v5_7.getResponseCode());
                android.util.Log.i("cps", v1_9.toString());
            } catch (Exception v0_1) {
                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_1);
                if (v5_7 == null) {
                    return;
                } else {
                    v5_7.disconnect();
                    return;
                }
            }
            if (v5_7 == null) {
                return;
            } else {
                v5_7.disconnect();
                return;
            }
        } catch (Throwable v5_10) {
            Exception v0_2 = v5_10;
            v5_7 = 10000;
            if (v5_7 != null) {
                v5_7.disconnect();
            }
            throw v0_2;
        } catch (Throwable v5_9) {
            v0_1 = v5_9;
            v5_7 = 10000;
        } catch (Exception v0_2) {
        }
    }

Method com.til.colombia.dmp.android.a$a.a() calling method java.net.URL.<init>()


    private varargs Boolean a()
    {
        if (com.til.colombia.dmp.android.Utils.checkNetworkAvailibility(this.a.a)) {
            try {
                Throwable v2_2 = ((java.net.HttpURLConnection) new java.net.URL(new android.net.Uri$Builder().encodedPath(com.til.colombia.dmp.android.Utils.getAudUrl()).appendQueryParameter("mid", com.til.colombia.dmp.android.Utils.getAAID(this.a.a)).appendQueryParameter("lite", String.valueOf(com.til.colombia.dmp.android.Utils.getLite())).build().toString()).openConnection());
                try {
                    v2_2.setConnectTimeout(10000);
                    v2_2.setReadTimeout(10000);
                    String v3_9 = new StringBuilder();
                    v3_9.append(System.getProperty("http.agent"));
                    v3_9.append("dmp-aos:1.6.0");
                    v2_2.setRequestProperty("User-Agent", v3_9.toString());
                    v2_2.setRequestProperty("Content-Type", "application/json; charset=UTF-8");
                    v2_2.setRequestMethod("GET");
                    v2_2.setUseCaches(0);
                    v2_2.connect();
                } catch (android.content.Context v0_7) {
                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_7);
                    if (v2_2 == null) {
                        return Boolean.valueOf(0);
                    } else {
                        v2_2.disconnect();
                        return Boolean.valueOf(0);
                    }
                    com.til.colombia.dmp.android.Utils.setPreferences(this.a.a, "ColombiaDMPPref", "alu", (System.currentTimeMillis() / 1000));
                    android.content.Context v0_6 = Boolean.valueOf(1);
                    if (v2_2 != null) {
                        v2_2.disconnect();
                    }
                    return v0_6;
                }
                if ((v2_2.getResponseCode() / 10) != 20) {
                    if (v2_2 == null) {
                        return Boolean.valueOf(0);
                    } else {
                    }
                } else {
                    android.content.Context v0_19 = com.til.colombia.dmp.android.Utils.getStringFromInputStream(v2_2.getInputStream());
                    if (!android.text.TextUtils.isEmpty(v0_19)) {
                        String v3_15 = new java.util.LinkedList();
                        android.content.Context v0_23 = new org.json.JSONObject(v0_19).getJSONObject("Profile").getJSONObject("Audiences").getJSONArray("Audience");
                        if ((v0_23 != null) && (v0_23.length() > 0)) {
                            int v4_3 = 0;
                            while (v4_3 < v0_23.length()) {
                                if ((v0_23.getJSONObject(v4_3) != null) && (v0_23.getJSONObject(v4_3).has("abbr"))) {
                                    v3_15.add(v0_23.getJSONObject(v4_3).getString("abbr"));
                                }
                                v4_3++;
                            }
                        }
                        com.til.colombia.dmp.android.Utils.setPreferences(this.a.a, "ColombiaDMPPref", "audiences", com.til.colombia.dmp.android.Utils.join(v3_15, ","));
                    }
                }
            } catch (Throwable v1_1) {
                v2_2 = 10000;
                android.content.Context v0_9 = v1_1;
                if (v2_2 != null) {
                    v2_2.disconnect();
                }
                throw v0_9;
            } catch (Throwable v2_3) {
                v2_2 = 10000;
                v0_7 = v2_3;
            } catch (android.content.Context v0_9) {
            }
        } else {
            return Boolean.valueOf(0);
        }
    }

Method com.timespointssdk.b.b() calling method java.net.URL.<init>()


    private static String b(String p6)
    {
        String v1_1 = new StringBuilder();
        String v2_0 = 0;
        try {
            Throwable v6_4 = ((java.net.HttpURLConnection) new java.net.URL(p6).openConnection());
            v6_4.setReadTimeout(10000);
            v6_4.setConnectTimeout(15000);
            v6_4.setRequestMethod("GET");
            v6_4.setDoInput(1);
            v6_4.setRequestProperty("Content-Type", "application/json");
            v6_4.setRequestProperty("Accept", "application/json");
            v6_4.connect();
            String v3_5 = v6_4.getResponseCode();
        } catch (Throwable v6_2) {
            if (v2_0 != null) {
                v2_0.close();
            }
            throw v6_2;
        }
        if (com.timespointssdk.a.a.booleanValue()) {
            StringBuilder v4_5 = new StringBuilder();
            v4_5.append("The response is: ");
            v4_5.append(v3_5);
            android.util.Log.d("GetDataFromServer", v4_5.toString());
        }
        Throwable v6_1 = v6_4.getInputStream();
        try {
            String v2_2 = new java.io.BufferedReader(new java.io.InputStreamReader(v6_1));
        } catch (Throwable v0_1) {
            v2_0 = v6_1;
            v6_2 = v0_1;
        }
        while(true) {
            String v3_10 = v2_2.readLine();
            if (v3_10 == null) {
                break;
            }
            v1_1.append(v3_10);
        }
        String v1_2 = v1_1.toString();
        if (com.timespointssdk.a.a.booleanValue()) {
            String v2_6 = new StringBuilder();
            v2_6.append("responseString : ");
            v2_6.append(v1_2);
            android.util.Log.e("GetDataFromServer", v2_6.toString());
        }
        if (v6_1 != null) {
            v6_1.close();
        }
        return v1_2;
    }

Method io.branch.referral.i$c.a() calling method java.net.URL.<init>()

Couldn't retrieve source code

Method io.branch.referral.n.a() calling method java.net.URL.<init>()


    private io.branch.referral.af a(String p21, org.json.JSONObject p22, String p23, int p24, int p25, boolean p26)
    {
        javax.net.ssl.HttpsURLConnection v12_0;
        String v1_4 = p25;
        String v2_61 = new org.json.JSONObject();
        if (p24 > 0) {
            v12_0 = p24;
        } else {
            v12_0 = 3000;
        }
        if (!this.a(v2_61, p25)) {
            return new io.branch.referral.af(p23, -1234);
        } else {
            if (p22 != null) {
                io.branch.referral.Branch v3_6 = p22.keys();
                while (v3_6.hasNext()) {
                    String v4_48 = ((String) v3_6.next());
                    v2_61.put(v4_48, p22.getString(v4_48));
                }
            }
            io.branch.referral.Branch v3_10 = new StringBuilder();
            v3_10.append(p21);
            v3_10.append(this.a(v2_61));
            String v2_26 = v3_10.toString();
            long v14 = System.currentTimeMillis();
            io.branch.referral.Branch v3_0 = 0;
            try {
                if (!p26) {
                    try {
                    } catch (java.io.IOException v0_17) {
                        String v1_14 = -1009;
                        String v2_0 = v0_17;
                        if (p26) {
                            String v4_36 = this.getClass().getSimpleName();
                            String v5_33 = new StringBuilder();
                            v5_33.append("Http connect exception: ");
                            v5_33.append(v2_0.getMessage());
                            io.branch.referral.m.c(v4_36, v5_33.toString());
                        }
                        String v2_52 = new io.branch.referral.af(p23, v1_14);
                        if (io.branch.referral.Branch.a() != null) {
                            String v1_30 = ((int) (System.currentTimeMillis() - v14));
                            String v4_39 = io.branch.referral.Branch.a();
                            String v5_35 = new StringBuilder();
                            v5_35.append(p23);
                            v5_35.append("-");
                            v5_35.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                            v4_39.a(v5_35.toString(), String.valueOf(v1_30));
                        }
                        if (v3_0 != null) {
                            v3_0.disconnect();
                        }
                        return v2_52;
                    } catch (java.io.IOException v0_19) {
                        int v9_1 = -1009;
                        String v1_1 = v0_19;
                        if (p26) {
                            String v2_29 = this.getClass().getSimpleName();
                            String v4_22 = new StringBuilder();
                            v4_22.append("Http connect exception: ");
                            v4_22.append(v1_1.getMessage());
                            io.branch.referral.m.c(v2_29, v4_22.toString());
                        }
                        String v1_24 = new io.branch.referral.af(p23, v9_1);
                        if (io.branch.referral.Branch.a() != null) {
                            String v2_31 = ((int) (System.currentTimeMillis() - v14));
                            String v4_24 = io.branch.referral.Branch.a();
                            String v5_20 = new StringBuilder();
                            v5_20.append(p23);
                            v5_20.append("-");
                            v5_20.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                            v4_24.a(v5_20.toString(), String.valueOf(v2_31));
                        }
                        if (v3_0 != null) {
                            v3_0.disconnect();
                        }
                        return v1_24;
                    }
                    boolean v7_0 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(v2_26).openConnection());
                    try {
                        v7_0.setConnectTimeout(v12_0);
                        v7_0.setReadTimeout(v12_0);
                        javax.net.ssl.HttpsURLConnection v17 = v7_0;
                        String v2_62 = ((int) (System.currentTimeMillis() - v14));
                        try {
                            if (io.branch.referral.Branch.a() != null) {
                                try {
                                    String v4_51 = io.branch.referral.Branch.a();
                                    String v5_45 = new StringBuilder();
                                    v5_45.append(p23);
                                    v5_45.append("-");
                                    v5_45.append(io.branch.referral.Defines$Jsonkey.Last_Round_Trip_Time.getKey());
                                    v4_51.a(v5_45.toString(), String.valueOf(v2_62));
                                } catch (java.io.IOException v0_3) {
                                    String v1_2 = v0_3;
                                    v3_0 = v17;
                                    if (io.branch.referral.Branch.a() != null) {
                                        String v2_55 = ((int) (System.currentTimeMillis() - v14));
                                        String v4_41 = io.branch.referral.Branch.a();
                                        String v5_38 = new StringBuilder();
                                        v5_38.append(p23);
                                        v5_38.append("-");
                                        v5_38.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                        v4_41.a(v5_38.toString(), String.valueOf(v2_55));
                                    }
                                    if (v3_0 != null) {
                                        v3_0.disconnect();
                                    }
                                    throw v1_2;
                                } catch (java.io.IOException v0_2) {
                                    v2_0 = v0_2;
                                    v3_0 = v17;
                                    v1_14 = -1009;
                                } catch (java.io.IOException v0_1) {
                                    v1_1 = v0_1;
                                    v3_0 = v17;
                                    v9_1 = -1009;
                                } catch (java.io.IOException v0_0) {
                                    String v1_0 = v0_0;
                                    v3_0 = v17;
                                    if (p26) {
                                        String v2_22 = this.getClass().getSimpleName();
                                        String v4_18 = new StringBuilder();
                                        v4_18.append("IO exception: ");
                                        v4_18.append(v1_0.getMessage());
                                        io.branch.referral.m.c(v2_22, v4_18.toString());
                                    }
                                    String v1_20 = new io.branch.referral.af(p23, 500);
                                    if (io.branch.referral.Branch.a() != null) {
                                        String v2_25 = ((int) (System.currentTimeMillis() - v14));
                                        String v4_20 = io.branch.referral.Branch.a();
                                        String v5_16 = new StringBuilder();
                                        v5_16.append(p23);
                                        v5_16.append("-");
                                        v5_16.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                        v4_20.a(v5_16.toString(), String.valueOf(v2_25));
                                    }
                                    if (v3_0 != null) {
                                        v3_0.disconnect();
                                    }
                                    return v1_20;
                                }
                            }
                        } catch (java.io.IOException v0_11) {
                            javax.net.ssl.HttpsURLConnection v12_1 = v17;
                            v1_2 = v0_11;
                            v3_0 = v12_1;
                        } catch (java.io.IOException v0_10) {
                            javax.net.ssl.HttpsURLConnection v12_2 = v17;
                            v2_0 = v0_10;
                            v3_0 = v12_2;
                        } catch (java.net.SocketTimeoutException) {
                            javax.net.ssl.HttpsURLConnection v18 = v12_0;
                            v12_1 = v17;
                            if (v1_4 >= this.a.c()) {
                                String v1_26 = new io.branch.referral.af(p23, -111);
                                if (io.branch.referral.Branch.a() != null) {
                                    String v2_38 = ((int) (System.currentTimeMillis() - v14));
                                    io.branch.referral.Branch v3_12 = io.branch.referral.Branch.a();
                                    String v4_28 = new StringBuilder();
                                    v4_28.append(p23);
                                    v4_28.append("-");
                                    v4_28.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                    v3_12.a(v4_28.toString(), String.valueOf(v2_38));
                                }
                                if (v12_1 != null) {
                                    v12_1.disconnect();
                                }
                                return v1_26;
                            } else {
                                try {
                                    Thread.sleep(((long) this.a.d()));
                                } catch (java.io.IOException v0_13) {
                                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_13);
                                }
                                String v1_28 = this.a(p21, p22, p23, v18, (v1_4 + 1), p26);
                                if (io.branch.referral.Branch.a() != null) {
                                    String v2_47 = ((int) (System.currentTimeMillis() - v14));
                                    io.branch.referral.Branch v3_14 = io.branch.referral.Branch.a();
                                    String v4_33 = new StringBuilder();
                                    v4_33.append(p23);
                                    v4_33.append("-");
                                    v4_33.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                    v3_14.a(v4_33.toString(), String.valueOf(v2_47));
                                }
                                if (v12_1 != null) {
                                    v12_1.disconnect();
                                }
                                return v1_28;
                            }
                            String v2_11 = this.a(0, v12_1.getResponseCode(), p23, p26);
                            if (io.branch.referral.Branch.a() != null) {
                                String v1_7 = ((int) (System.currentTimeMillis() - v14));
                                io.branch.referral.Branch v3_3 = io.branch.referral.Branch.a();
                                String v4_6 = new StringBuilder();
                                v4_6.append(p23);
                                v4_6.append("-");
                                v4_6.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                v3_3.a(v4_6.toString(), String.valueOf(v1_7));
                            }
                            if (v12_1 != null) {
                                v12_1.disconnect();
                            }
                            return v2_11;
                        } catch (java.io.IOException v0_9) {
                            v12_1 = v17;
                            v9_1 = -1009;
                            v1_1 = v0_9;
                            v3_0 = v12_1;
                        } catch (java.io.IOException v0_8) {
                            v12_1 = v17;
                            v1_0 = v0_8;
                            v3_0 = v12_1;
                        }
                        v7_0 = v17;
                        try {
                            if ((v7_0.getResponseCode() < 500) || (p25 >= this.a.c())) {
                                v18 = v12_0;
                                v9_1 = -1009;
                                v12_1 = v7_0;
                                try {
                                    if ((v12_1.getResponseCode() == 200) || (v12_1.getErrorStream() == null)) {
                                        String v2_7 = this.a(v12_1.getInputStream(), v12_1.getResponseCode(), p23, p26);
                                        v1_4 = io.branch.referral.Branch.a();
                                        if (v1_4 != null) {
                                            String v1_9 = ((int) (System.currentTimeMillis() - v14));
                                            io.branch.referral.Branch v3_5 = io.branch.referral.Branch.a();
                                            String v4_9 = new StringBuilder();
                                            v4_9.append(p23);
                                            v4_9.append("-");
                                            v4_9.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                            v3_5.a(v4_9.toString(), String.valueOf(v1_9));
                                        }
                                        if (v12_1 != null) {
                                            v12_1.disconnect();
                                        }
                                        return v2_7;
                                    } else {
                                        String v2_13 = this.a(v12_1.getErrorStream(), v12_1.getResponseCode(), p23, p26);
                                        if (io.branch.referral.Branch.a() != null) {
                                            String v1_12 = ((int) (System.currentTimeMillis() - v14));
                                            io.branch.referral.Branch v3_8 = io.branch.referral.Branch.a();
                                            String v4_14 = new StringBuilder();
                                            v4_14.append(p23);
                                            v4_14.append("-");
                                            v4_14.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                            v3_8.a(v4_14.toString(), String.valueOf(v1_12));
                                        }
                                        if (v12_1 != null) {
                                            v12_1.disconnect();
                                        }
                                        return v2_13;
                                    }
                                } catch (java.io.FileNotFoundException) {
                                    if (p26) {
                                        String v4_3 = new StringBuilder();
                                        v4_3.append("A resource conflict occurred with this request ");
                                        v4_3.append(p23);
                                        io.branch.referral.m.c("BranchSDK", v4_3.toString());
                                    }
                                }
                            } else {
                                try {
                                    Thread.sleep(((long) this.a.d()));
                                } catch (java.io.IOException v0_12) {
                                    v1_2 = v0_12;
                                    v3_0 = v7_0;
                                } catch (java.io.IOException v0_7) {
                                    com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_7);
                                } catch (java.io.IOException v0_6) {
                                    v2_0 = v0_6;
                                    v3_0 = v7_0;
                                } catch (java.io.IOException v0_5) {
                                    v1_1 = v0_5;
                                    v3_0 = v7_0;
                                } catch (java.io.IOException v0_4) {
                                    v1_0 = v0_4;
                                    v3_0 = v7_0;
                                }
                                int v16 = (p25 + 1);
                                v18 = v12_0;
                                v12_1 = v7_0;
                                v9_1 = -1009;
                                try {
                                    String v1_16 = this.a(p21, p22, p23, v12_0, v16, p26);
                                } catch (java.net.SocketTimeoutException) {
                                    v1_4 = v16;
                                }
                                if (io.branch.referral.Branch.a() != null) {
                                    String v2_59 = ((int) (System.currentTimeMillis() - v14));
                                    io.branch.referral.Branch v3_15 = io.branch.referral.Branch.a();
                                    String v4_45 = new StringBuilder();
                                    v4_45.append(p23);
                                    v4_45.append("-");
                                    v4_45.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                    v3_15.a(v4_45.toString(), String.valueOf(v2_59));
                                }
                                if (v12_1 != null) {
                                    v12_1.disconnect();
                                }
                                return v1_16;
                            }
                        } catch (java.io.IOException v0_14) {
                            v2_0 = v0_14;
                            v1_14 = v9_1;
                            v3_0 = v12_1;
                        } catch (java.io.IOException v0_9) {
                        } catch (java.io.IOException v0_8) {
                        }
                    } catch (java.io.IOException v0_11) {
                        v12_1 = v7_0;
                    } catch (java.io.IOException v0_10) {
                        v12_2 = v7_0;
                    } catch (java.net.SocketTimeoutException) {
                        v18 = v12_0;
                        v12_1 = v7_0;
                    } catch (java.io.IOException v0_9) {
                        v12_1 = v7_0;
                    } catch (java.io.IOException v0_8) {
                        v12_1 = v7_0;
                    }
                } else {
                    try {
                        String v5_23 = new StringBuilder();
                        v5_23.append("getting ");
                        v5_23.append(v2_26);
                        io.branch.referral.m.c("BranchSDK", v5_23.toString());
                    } catch (java.io.IOException v0_15) {
                        v1_1 = v0_15;
                    }
                }
            } catch (java.io.IOException v0_16) {
                v1_2 = v0_16;
            } catch (java.io.IOException v0_20) {
                v2_0 = v0_20;
            } catch (java.net.SocketTimeoutException) {
                v18 = v12_0;
                v12_1 = 0;
            } catch (java.io.IOException v0_18) {
                v1_0 = v0_18;
            } catch (java.io.IOException v0_11) {
            }
        }
    }

Method io.branch.referral.n.a() calling method java.net.URL.<init>()


    private io.branch.referral.af a(org.json.JSONObject p21, String p22, String p23, int p24, int p25, boolean p26)
    {
        boolean v12_1;
        String v1_0 = p25;
        if (p24 > 0) {
            v12_1 = p24;
        } else {
            v12_1 = 3000;
        }
        org.json.JSONObject v13_0 = new org.json.JSONObject();
        long v14 = System.currentTimeMillis();
        try {
            io.branch.referral.Branch v3_7 = p21.keys();
            try {
                while (v3_7.hasNext()) {
                    String v4_21 = ((String) v3_7.next());
                    try {
                        v13_0.put(v4_21, p21.get(v4_21));
                    } catch (Exception v0_10) {
                        com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_10);
                    }
                }
            } catch (Exception v0_3) {
                int v7_6 = 0;
                String v1_5 = v0_3;
                String v2_10 = v7_6;
                io.branch.referral.Branch v3_10 = -1009;
                if (p26) {
                    String v4_43 = this.getClass().getSimpleName();
                    String v5_41 = new StringBuilder();
                    v5_41.append("Http connect exception: ");
                    v5_41.append(v1_5.getMessage());
                    io.branch.referral.m.c(v4_43, v5_41.toString());
                }
                String v1_32 = new io.branch.referral.af(p23, v3_10);
                if (io.branch.referral.Branch.a() != null) {
                    io.branch.referral.Branch v3_48 = ((int) (System.currentTimeMillis() - v14));
                    String v4_44 = io.branch.referral.Branch.a();
                    String v5_44 = new StringBuilder();
                    v5_44.append(p23);
                    v5_44.append("-");
                    v5_44.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                    v4_44.a(v5_44.toString(), String.valueOf(v3_48));
                }
                if (v2_10 != null) {
                    v2_10.disconnect();
                }
                return v1_32;
            } catch (Exception v0_16) {
                String v1_12 = v0_16;
                boolean v12_0 = 0;
                if (io.branch.referral.Branch.a() != null) {
                    String v2_50 = ((int) (System.currentTimeMillis() - v14));
                    io.branch.referral.Branch v3_50 = io.branch.referral.Branch.a();
                    String v4_47 = new StringBuilder();
                    v4_47.append(p23);
                    v4_47.append("-");
                    v4_47.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                    v3_50.a(v4_47.toString(), String.valueOf(v2_50));
                }
                if (v12_0) {
                    v12_0.disconnect();
                }
                throw v1_12;
            } catch (Exception v0_14) {
                v1_5 = v0_14;
                v2_10 = 0;
            } catch (Exception v0_13) {
                String v1_11 = v0_13;
                v2_10 = 0;
                if (p26) {
                    io.branch.referral.Branch v3_40 = this.getClass().getSimpleName();
                    String v4_40 = new StringBuilder();
                    v4_40.append("Http connect exception: ");
                    v4_40.append(v1_11.getMessage());
                    io.branch.referral.m.c(v3_40, v4_40.toString());
                }
                String v1_28 = new io.branch.referral.af(p23, -1009);
                if (io.branch.referral.Branch.a() != null) {
                    io.branch.referral.Branch v3_44 = ((int) (System.currentTimeMillis() - v14));
                    String v4_41 = io.branch.referral.Branch.a();
                    String v5_38 = new StringBuilder();
                    v5_38.append(p23);
                    v5_38.append("-");
                    v5_38.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                    v4_41.a(v5_38.toString(), String.valueOf(v3_44));
                }
                if (v2_10 != null) {
                    v2_10.disconnect();
                }
                return v1_28;
            } catch (java.net.SocketTimeoutException) {
                boolean v18 = v12_1;
                v12_0 = 0;
                if (v1_0 >= this.a.c()) {
                    String v1_22 = new io.branch.referral.af(p23, -111);
                    if (io.branch.referral.Branch.a() != null) {
                        String v2_34 = ((int) (System.currentTimeMillis() - v14));
                        io.branch.referral.Branch v3_35 = io.branch.referral.Branch.a();
                        String v4_31 = new StringBuilder();
                        v4_31.append(p23);
                        v4_31.append("-");
                        v4_31.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                        v3_35.a(v4_31.toString(), String.valueOf(v2_34));
                    }
                    if (v12_0) {
                        v12_0.disconnect();
                    }
                    return v1_22;
                } else {
                    try {
                        Thread.sleep(((long) this.a.d()));
                    } catch (Exception v0_12) {
                        com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_12);
                    }
                    String v1_24 = this.a(v13_0, p22, p23, v18, (v1_0 + 1), p26);
                    if (io.branch.referral.Branch.a() != null) {
                        String v2_43 = ((int) (System.currentTimeMillis() - v14));
                        io.branch.referral.Branch v3_38 = io.branch.referral.Branch.a();
                        String v4_37 = new StringBuilder();
                        v4_37.append(p23);
                        v4_37.append("-");
                        v4_37.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                        v3_38.a(v4_37.toString(), String.valueOf(v2_43));
                    }
                    if (v12_0) {
                        v12_0.disconnect();
                    }
                    return v1_24;
                }
            } catch (Exception v0_11) {
                String v1_10 = v0_11;
                v2_10 = 0;
                if (p26) {
                    io.branch.referral.Branch v3_25 = this.getClass().getSimpleName();
                    String v4_23 = new StringBuilder();
                    v4_23.append("Exception: ");
                    v4_23.append(v1_10.getMessage());
                    io.branch.referral.m.c(v3_25, v4_23.toString());
                }
                if (android.os.Build$VERSION.SDK_INT >= 11) {
                    if ((v1_10 instanceof android.os.NetworkOnMainThreadException)) {
                        android.util.Log.i("BranchSDK", "Branch Error: Don\'t call our synchronous methods on the main thread!!!");
                    }
                }
                String v1_20 = new io.branch.referral.af(p23, 500);
                if (io.branch.referral.Branch.a() != null) {
                    io.branch.referral.Branch v3_32 = ((int) (System.currentTimeMillis() - v14));
                    String v4_26 = io.branch.referral.Branch.a();
                    String v5_26 = new StringBuilder();
                    v5_26.append(p23);
                    v5_26.append("-");
                    v5_26.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                    v4_26.a(v5_26.toString(), String.valueOf(v3_32));
                }
                if (v2_10 != null) {
                    v2_10.disconnect();
                }
                return v1_20;
            }
            if (this.a(v13_0, p25)) {
                if (p26) {
                    io.branch.referral.Branch v3_19 = new StringBuilder();
                    v3_19.append("posting to ");
                    v3_19.append(p22);
                    io.branch.referral.m.c("BranchSDK", v3_19.toString());
                    io.branch.referral.Branch v3_33 = new StringBuilder();
                    v3_33.append("Post value = ");
                    v3_33.append(v13_0.toString(4));
                    io.branch.referral.m.c("BranchSDK", v3_33.toString());
                }
                v7_6 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(p22).openConnection());
                try {
                    v7_6.setConnectTimeout(v12_1);
                    v7_6.setReadTimeout(v12_1);
                    v7_6.setDoInput(1);
                    v7_6.setDoOutput(1);
                    v7_6.setRequestProperty("Content-Type", "application/json");
                    v7_6.setRequestProperty("Accept", "application/json");
                    v7_6.setRequestMethod("POST");
                    String v2_57 = new java.io.OutputStreamWriter(v7_6.getOutputStream());
                    io.branch.referral.Branch v3_55 = ((int) (System.currentTimeMillis() - v14));
                    try {
                        if (io.branch.referral.Branch.a() != null) {
                            String v4_50 = io.branch.referral.Branch.a();
                            String v5_51 = new StringBuilder();
                            v5_51.append(p23);
                            v5_51.append("-");
                            v5_51.append(io.branch.referral.Defines$Jsonkey.Last_Round_Trip_Time.getKey());
                            v4_50.a(v5_51.toString(), String.valueOf(v3_55));
                        }
                    } catch (java.net.SocketTimeoutException) {
                        v18 = v12_1;
                        v12_0 = v7_6;
                    } catch (Exception v0_9) {
                        v1_12 = v0_9;
                        v12_0 = v7_6;
                    } catch (Exception v0_3) {
                    } catch (Exception v0_2) {
                        v1_11 = v0_2;
                        v2_10 = v7_6;
                    } catch (Exception v0_1) {
                        v1_10 = v0_1;
                        v2_10 = v7_6;
                    }
                    v2_57.write(v13_0.toString());
                    v2_57.flush();
                    try {
                        if ((v7_6.getResponseCode() < 500) || (p25 >= this.a.c())) {
                            v18 = v12_1;
                            v12_0 = v7_6;
                            try {
                                if ((v12_0.getResponseCode() == 200) || (v12_0.getErrorStream() == null)) {
                                    String v2_6 = this.a(v12_0.getInputStream(), v12_0.getResponseCode(), p23, p26);
                                    v1_0 = io.branch.referral.Branch.a();
                                    if (v1_0 != null) {
                                        String v1_4 = ((int) (System.currentTimeMillis() - v14));
                                        io.branch.referral.Branch v3_12 = io.branch.referral.Branch.a();
                                        String v4_5 = new StringBuilder();
                                        v4_5.append(p23);
                                        v4_5.append("-");
                                        v4_5.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                        v3_12.a(v4_5.toString(), String.valueOf(v1_4));
                                    }
                                    if (v12_0) {
                                        v12_0.disconnect();
                                    }
                                    return v2_6;
                                } else {
                                    String v2_12 = this.a(v12_0.getErrorStream(), v12_0.getResponseCode(), p23, p26);
                                    if (io.branch.referral.Branch.a() != null) {
                                        String v1_8 = ((int) (System.currentTimeMillis() - v14));
                                        io.branch.referral.Branch v3_15 = io.branch.referral.Branch.a();
                                        String v4_8 = new StringBuilder();
                                        v4_8.append(p23);
                                        v4_8.append("-");
                                        v4_8.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                        v3_15.a(v4_8.toString(), String.valueOf(v1_8));
                                    }
                                    if (v12_0) {
                                        v12_0.disconnect();
                                    }
                                    return v2_12;
                                }
                            } catch (java.io.FileNotFoundException) {
                                if (p26) {
                                    io.branch.referral.Branch v3_5 = new StringBuilder();
                                    v3_5.append("A resource conflict occurred with this request ");
                                    v3_5.append(p23);
                                    io.branch.referral.m.c("BranchSDK", v3_5.toString());
                                }
                                String v2_9 = this.a(0, v12_0.getResponseCode(), p23, p26);
                                if (io.branch.referral.Branch.a() != null) {
                                    String v1_2 = ((int) (System.currentTimeMillis() - v14));
                                    io.branch.referral.Branch v3_9 = io.branch.referral.Branch.a();
                                    String v4_2 = new StringBuilder();
                                    v4_2.append(p23);
                                    v4_2.append("-");
                                    v4_2.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                    v3_9.a(v4_2.toString(), String.valueOf(v1_2));
                                }
                                if (v12_0) {
                                    v12_0.disconnect();
                                }
                                return v2_9;
                            }
                        } else {
                            try {
                                Thread.sleep(((long) this.a.d()));
                            } catch (Exception v0_4) {
                                com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0_4);
                            }
                            int v16 = (p25 + 1);
                            v18 = v12_1;
                            v12_0 = v7_6;
                            try {
                                String v1_14 = this.a(v13_0, p22, p23, v12_1, v16, p26);
                            } catch (java.net.SocketTimeoutException) {
                                v1_0 = v16;
                            }
                            if (io.branch.referral.Branch.a() != null) {
                                String v2_22 = ((int) (System.currentTimeMillis() - v14));
                                io.branch.referral.Branch v3_18 = io.branch.referral.Branch.a();
                                String v4_14 = new StringBuilder();
                                v4_14.append(p23);
                                v4_14.append("-");
                                v4_14.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                                v3_18.a(v4_14.toString(), String.valueOf(v2_22));
                            }
                            if (v12_0) {
                                v12_0.disconnect();
                            }
                            return v1_14;
                        }
                    } catch (Exception v0_7) {
                        v1_5 = v0_7;
                        v2_10 = v12_0;
                    } catch (Exception v0_6) {
                        v1_11 = v0_6;
                        v2_10 = v12_0;
                    } catch (Exception v0_5) {
                        v1_10 = v0_5;
                        v2_10 = v12_0;
                    }
                } catch (Exception v0_8) {
                    v12_0 = v7_6;
                    v1_12 = v0_8;
                } catch (Exception v0_7) {
                    v12_0 = v7_6;
                } catch (Exception v0_6) {
                    v12_0 = v7_6;
                } catch (java.net.SocketTimeoutException) {
                    v18 = v12_1;
                } catch (Exception v0_5) {
                    v12_0 = v7_6;
                }
            } else {
                String v2_25 = new io.branch.referral.af(p23, -1234);
                v1_0 = io.branch.referral.Branch.a();
                if (v1_0 != null) {
                    String v1_15 = ((int) (System.currentTimeMillis() - v14));
                    io.branch.referral.Branch v3_22 = io.branch.referral.Branch.a();
                    String v4_18 = new StringBuilder();
                    v4_18.append(p23);
                    v4_18.append("-");
                    v4_18.append(io.branch.referral.Defines$Jsonkey.Branch_Round_Trip_Time.getKey());
                    v3_22.a(v4_18.toString(), String.valueOf(v1_15));
                }
                return v2_25;
            }
        } catch (Exception v0_9) {
            v7_6 = 0;
        } catch (Exception v0_0) {
            v3_10 = -1009;
            v1_5 = v0_0;
            v2_10 = 0;
        } catch (Exception v0_2) {
            v7_6 = 0;
        } catch (java.net.SocketTimeoutException) {
            v18 = v12_1;
            v7_6 = 0;
        } catch (Exception v0_1) {
            v7_6 = 0;
        } catch (Exception v0_8) {
        }
    }

Method net.hockeyapp.android.c.a$c.a() calling method java.net.URL.<init>()


    private boolean a(String p19, String p20)
    {
        try {
            long v3_6 = this.a(new java.net.URL(p19));
            v3_6.connect();
            int v4_1 = v3_6.getContentLength();
            byte[] v5_1 = v3_6.getHeaderField("Status");
        } catch (java.io.IOException v0) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v0);
            return 0;
        }
        if ((v5_1 == null) || (v5_1.startsWith("200"))) {
            byte[] v5_4 = new java.io.File(this.c, p20);
            java.io.BufferedInputStream v6_3 = new java.io.BufferedInputStream(v3_6.getInputStream());
            long v3_3 = new java.io.FileOutputStream(v5_4);
            byte[] v5_6 = new byte[1024];
            long v9_0 = 0;
            while(true) {
                int v11 = v6_3.read(v5_6);
                int v13 = 1;
                if (v11 == -1) {
                    break;
                }
                long v16 = (v9_0 + ((long) v11));
                long v9_1 = new Integer[1];
                v9_1[0] = Integer.valueOf(((int) ((100 * v16) / ((long) v4_1))));
                this.publishProgress(v9_1);
                v3_3.write(v5_6, 0, v11);
                v9_0 = v16;
            }
            v3_3.flush();
            v3_3.close();
            v6_3.close();
            if (v9_0 <= 0) {
                v13 = 0;
            }
            return v13;
        } else {
            return 0;
        }
    }

Method net.hockeyapp.android.c.b.a() calling method java.net.URL.<init>()


    protected varargs org.json.JSONArray a(Void[] p3)
    {
        try {
            org.json.JSONArray v3_0 = this.a();
            String v0_6 = new org.json.JSONArray(net.hockeyapp.android.d.j.a(this.e));
        } catch (org.json.JSONArray v3_4) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v3_4);
            return 0;
        }
        if ((!this.b()) || (!this.a(v0_6, v3_0))) {
            String v0_2 = this.a(new java.net.URL(this.a("json")));
            v0_2.connect();
            String v1_4 = new java.io.BufferedInputStream(v0_2.getInputStream());
            String v0_5 = ark>net.hockeyapp.android.c.bark>.a(v1_4);
            v1_4.close();
            String v1_6 = new org.json.JSONArray(v0_5);
            if (!this.a(v1_6, v3_0)) {
                return 0;
            } else {
                return this.b(v1_6);
            }
        } else {
            net.hockeyapp.android.d.d.a("HockeyUpdate", "Returning cached JSON");
            return v0_6;
        }
    }

Method net.hockeyapp.android.c.d.a() calling method java.net.URL.<init>()


    protected varargs Long a(Void[] p14)
    {
        Long v14_0 = 0;
        try {
            java.io.IOException v2_7 = this.a(new java.net.URL(this.b()), 6);
            v2_7.connect();
            String v3_0 = v2_7.getContentLength();
            String v4_1 = v2_7.getContentType();
        } catch (java.io.IOException v0_2) {
            String v4_0 = 0;
            if (v14_0 == null) {
                if (v4_0 != null) {
                    v4_0.close();
                }
            } else {
                v14_0.close();
            }
            throw v0_2;
        } catch (java.io.IOException v2_4) {
            v4_0 = 0;
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v2_4);
            java.io.IOException v0_1 = Long.valueOf(0);
            if (v14_0 == null) {
                if (v4_0 != null) {
                    v4_0.close();
                }
            } else {
                v14_0.close();
            }
            return v0_1;
        } catch (java.io.IOException v0_2) {
        }
        if ((v4_1 == null) || (!v4_1.contains("text"))) {
            String v4_4 = new java.io.File(this.e);
            if ((v4_4.mkdirs()) || (v4_4.exists())) {
                long v5_5 = new java.io.File(v4_4, this.d);
                v4_0 = new java.io.BufferedInputStream(v2_7.getInputStream());
                try {
                    java.io.IOException v2_3 = new java.io.FileOutputStream(v5_5);
                    v14_0 = 1024;
                    try {
                        Long v14_3 = new byte[1024];
                        long v5_6 = 0;
                    } catch (java.io.IOException v0_2) {
                        v14_0 = v2_3;
                    } catch (Long v14_5) {
                        v2_4 = v14_5;
                        v14_0 = v2_3;
                    }
                    while(true) {
                        int v7 = v4_0.read(v14_3);
                        if (v7 == -1) {
                            break;
                        }
                        long v10 = (v5_6 + ((long) v7));
                        long v5_8 = new Integer[1];
                        v5_8[0] = Integer.valueOf(Math.round(((((float) v10) * 1120403456) / ((float) v3_0))));
                        this.publishProgress(v5_8);
                        v2_3.write(v14_3, 0, v7);
                        v5_6 = v10;
                    }
                    v2_3.flush();
                    Long v14_4 = Long.valueOf(v5_6);
                    if (v2_3 == null) {
                        if (v4_0 != null) {
                            v4_0.close();
                        }
                    } else {
                        v2_3.close();
                    }
                    return v14_4;
                } catch (java.io.IOException v2_4) {
                }
            } else {
                String v3_4 = new StringBuilder();
                v3_4.append("Could not create the dir(s):");
                v3_4.append(v4_4.getAbsolutePath());
                throw new java.io.IOException(v3_4.toString());
            }
        } else {
            this.g = "The requested download does not appear to be a file.";
            return Long.valueOf(0);
        }
    }

Method net.hockeyapp.android.c.d.a() calling method java.net.URL.<init>()


    protected java.net.URLConnection a(java.net.URL p4, int p5)
    {
        java.net.HttpURLConnection v0_1 = ((java.net.HttpURLConnection) p4.openConnection());
        this.a(v0_1);
        java.net.URL v1_2 = v0_1.getResponseCode();
        if ((v1_2 == 301) || ((v1_2 == 302) || (v1_2 == 303))) {
            if (p5 != 0) {
                java.net.URL v1_1 = new java.net.URL(v0_1.getHeaderField("Location"));
                if (!p4.getProtocol().equals(v1_1.getProtocol())) {
                    v0_1.disconnect();
                    return this.a(v1_1, (p5 - 1));
                }
            } else {
                return v0_1;
            }
        }
        return v0_1;
    }

Method net.hockeyapp.android.d.e.a() calling method java.net.URL.<init>()


    public java.net.HttpURLConnection a()
    {
        java.net.HttpURLConnection v0_3 = ((java.net.HttpURLConnection) new java.net.URL(this.a).openConnection());
        v0_3.setConnectTimeout(this.e);
        v0_3.setReadTimeout(this.e);
        if (android.os.Build$VERSION.SDK_INT <= 9) {
            v0_3.setRequestProperty("Connection", "close");
        }
        if (!android.text.TextUtils.isEmpty(this.b)) {
            v0_3.setRequestMethod(this.b);
            if ((!android.text.TextUtils.isEmpty(this.c)) || ((this.b.equalsIgnoreCase("POST")) || (this.b.equalsIgnoreCase("PUT")))) {
                v0_3.setDoOutput(1);
            }
        }
        java.io.BufferedOutputStream v1_15 = this.f.keySet().iterator();
        while (v1_15.hasNext()) {
            byte[] v2_15 = ((String) v1_15.next());
            v0_3.setRequestProperty(v2_15, ((String) this.f.get(v2_15)));
        }
        if (!android.text.TextUtils.isEmpty(this.c)) {
            byte[] v2_6 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(v0_3.getOutputStream(), "UTF-8"));
            v2_6.write(this.c);
            v2_6.flush();
            v2_6.close();
        }
        if (this.d != null) {
            v0_3.setRequestProperty("Content-Length", String.valueOf(this.d.d()));
            java.io.BufferedOutputStream v1_24 = new java.io.BufferedOutputStream(v0_3.getOutputStream());
            v1_24.write(this.d.e().toByteArray());
            v1_24.flush();
            v1_24.close();
        }
        return v0_3;
    }

Method com.google.api.client.http.GenericUrl.parseURL() calling method java.net.URL.<init>()


    private static java.net.URL parseURL(String p1)
    {
        try {
            return new java.net.URL(p1);
        } catch (java.net.MalformedURLException v1_1) {
            throw new IllegalArgumentException(v1_1);
        }
    }

Method com.google.api.client.http.GenericUrl.toURL() calling method java.net.URL.<init>()


    public final java.net.URL toURL(String p3)
    {
        try {
            return new java.net.URL(this.toURL(), p3);
        } catch (java.net.MalformedURLException v3_1) {
            throw new IllegalArgumentException(v3_1);
        }
    }

Method com.google.api.client.http.javanet.NetHttpTransport.buildRequest() calling method java.net.URL.<init>()


    protected com.google.api.client.http.javanet.NetHttpRequest buildRequest(String p5, String p6)
    {
        javax.net.ssl.SSLSocketFactory v0_0 = this.supportsMethod(p5);
        Object[] v2_1 = new Object[1];
        v2_1[0] = p5;
        com.google.api.client.util.Preconditions.checkArgument(v0_0, "HTTP method %s not supported", v2_1);
        java.net.HttpURLConnection v6_2 = this.connectionFactory.openConnection(new java.net.URL(p6));
        v6_2.setRequestMethod(p5);
        if ((v6_2 instanceof javax.net.ssl.HttpsURLConnection)) {
            com.google.api.client.http.javanet.NetHttpRequest v5_3 = ((javax.net.ssl.HttpsURLConnection) v6_2);
            if (this.hostnameVerifier != null) {
                v5_3.setHostnameVerifier(this.hostnameVerifier);
            }
            if (this.sslSocketFactory != null) {
                v5_3.setSSLSocketFactory(this.sslSocketFactory);
            }
        }
        return new com.google.api.client.http.javanet.NetHttpRequest(v6_2);
    }

Method com.google.gson.internal.bind.TypeAdapters$21.read() calling method java.net.URL.<init>()


    public java.net.URL read(com.google.gson.stream.JsonReader p4)
    {
        java.net.URL v2_1 = 0;
        if (p4.peek() != com.google.gson.stream.JsonToken.NULL) {
            String v4_1 = p4.nextString();
            if (!"null".equals(v4_1)) {
                v2_1 = new java.net.URL(v4_1);
            }
            return v2_1;
        } else {
            p4.nextNull();
            return 0;
        }
    }

Method com.helpshift.common.platform.g.a() calling method java.net.URL.<init>()


    private com.helpshift.common.platform.network.g a(com.helpshift.common.platform.network.i p15)
    {
        try {
            com.helpshift.common.exception.NetworkException v1_2;
            com.helpshift.common.exception.NetworkException v1_9 = new java.net.URL(p15.c);
            try {
                if (!"https://".equals(com.helpshift.common.domain.network.i.a)) {
                    v1_2 = ((java.net.HttpURLConnection) v1_9.openConnection());
                } else {
                    v1_2 = ((javax.net.ssl.HttpsURLConnection) v1_9.openConnection());
                    this.a(((javax.net.ssl.HttpsURLConnection) v1_2));
                }
            } catch (Exception v0_11) {
                int v2_7 = com.helpshift.common.exception.NetworkException.UNKNOWN_HOST;
                v2_7.route = p15.c;
                throw com.helpshift.common.exception.RootAPIException.a(v0_11, v2_7, "Upload error");
            } catch (Exception v0_9) {
                int v2_6 = com.helpshift.common.exception.NetworkException.NO_CONNECTION;
                v2_6.route = p15.c;
                throw com.helpshift.common.exception.RootAPIException.a(v0_9, v2_6, "Upload error");
            } catch (Exception v0_6) {
                int v2_5 = com.helpshift.common.exception.NetworkException.SSL_PEER_UNVERIFIED;
                v2_5.route = p15.c;
                throw com.helpshift.common.exception.RootAPIException.a(v0_6, v2_5, "Upload error");
            } catch (Exception v0_4) {
                int v2_4 = com.helpshift.common.exception.NetworkException.SSL_HANDSHAKE;
                v2_4.route = p15.c;
                throw com.helpshift.common.exception.RootAPIException.a(v0_4, v2_4, "Upload error");
            } catch (Exception v0_3) {
                int v2_3 = com.helpshift.common.exception.NetworkException.GENERIC;
                v2_3.route = p15.c;
                throw com.helpshift.common.exception.RootAPIException.a(v0_3, v2_3, "Upload error");
            }
            v1_2.setDoInput(1);
            v1_2.setDoOutput(1);
            v1_2.setUseCaches(0);
            v1_2.setRequestMethod(p15.b.name());
            v1_2.setConnectTimeout(p15.e);
            v1_2.setReadTimeout(p15.e);
            java.io.DataOutputStream v6_5 = p15.d.iterator();
            while (v6_5.hasNext()) {
                int v7_10 = ((com.helpshift.common.platform.network.c) v6_5.next());
                v1_2.setRequestProperty(v7_10.a, v7_10.b);
            }
            java.io.DataOutputStream v6_7 = new java.io.DataOutputStream(v1_2.getOutputStream());
            int v7_15 = new StringBuilder();
            v7_15.append("--");
            v7_15.append("*****");
            v7_15.append("\r\n");
            v6_7.writeBytes(v7_15.toString());
            int v7_17 = p15.a;
            int v8_6 = new java.util.ArrayList(v7_17.keySet()).iterator();
            while (v8_6.hasNext()) {
                java.io.FileInputStream v9_2 = ((String) v8_6.next());
                if (!this.a(v9_2)) {
                    byte[] v10_12 = ((String) v7_17.get(v9_2));
                    int v11_3 = new StringBuilder();
                    v11_3.append("Content-Disposition: form-data; name=\"");
                    v11_3.append(v9_2);
                    v11_3.append("\"; ");
                    v11_3.append("\r\n");
                    v6_7.writeBytes(v11_3.toString());
                    java.io.FileInputStream v9_6 = new StringBuilder();
                    v9_6.append("Content-Type: text/plain;charset=UTF-8");
                    v9_6.append("\r\n");
                    v6_7.writeBytes(v9_6.toString());
                    java.io.FileInputStream v9_9 = new StringBuilder();
                    v9_9.append("Content-Length: ");
                    v9_9.append(v10_12.length());
                    v9_9.append("\r\n");
                    v6_7.writeBytes(v9_9.toString());
                    v6_7.writeBytes("\r\n");
                    java.io.FileInputStream v9_12 = new StringBuilder();
                    v9_12.append(v10_12);
                    v9_12.append("\r\n");
                    v6_7.writeBytes(v9_12.toString());
                    java.io.FileInputStream v9_15 = new StringBuilder();
                    v9_15.append("--");
                    v9_15.append("*****");
                    v9_15.append("\r\n");
                    v6_7.writeBytes(v9_15.toString());
                }
            }
            int v8_8 = new java.io.File(((String) v7_17.get("screenshot")));
            int v7_19 = ((String) v7_17.get("originalFileName"));
            if (v7_19 == 0) {
                v7_19 = v8_8.getName();
            }
            java.io.FileInputStream v9_0 = new java.io.FileInputStream(v8_8);
            byte[] v10_1 = new StringBuilder();
            v10_1.append("--");
            v10_1.append("*****");
            v10_1.append("\r\n");
            v6_7.writeBytes(v10_1.toString());
            byte[] v10_4 = new StringBuilder();
            v10_4.append("Content-Disposition: form-data; name=\"screenshot\"; filename=\"");
            v10_4.append(v7_19);
            v10_4.append("\"");
            v10_4.append("\r\n");
            v6_7.writeBytes(v10_4.toString());
            int v7_3 = new StringBuilder();
            v7_3.append("Content-Type: ");
            v7_3.append(p15.f);
            v7_3.append("\r\n");
            v6_7.writeBytes(v7_3.toString());
            int v7_6 = new StringBuilder();
            v7_6.append("Content-Length: ");
            v7_6.append(v8_8.length());
            v7_6.append("\r\n");
            v6_7.writeBytes(v7_6.toString());
            v6_7.writeBytes("\r\n");
            int v8_1 = Math.min(v9_0.available(), 1048576);
            byte[] v10_9 = new byte[v8_1];
            int v11_1 = v9_0.read(v10_9, 0, v8_1);
            while (v11_1 > 0) {
                v6_7.write(v10_9, 0, v8_1);
                v8_1 = Math.min(v9_0.available(), 1048576);
                v11_1 = v9_0.read(v10_9, 0, v8_1);
            }
            v6_7.writeBytes("\r\n");
            String v5_2 = new StringBuilder();
            v5_2.append("--");
            v5_2.append("*****");
            v5_2.append("--");
            v5_2.append("\r\n");
            v6_7.writeBytes(v5_2.toString());
            v9_0.close();
            v6_7.flush();
            v6_7.close();
            int v2_1 = v1_2.getResponseCode();
            com.helpshift.common.platform.network.g v3_1 = new StringBuilder();
            com.helpshift.common.platform.network.g v4_2 = new java.io.BufferedReader(new java.io.InputStreamReader(v1_2.getInputStream()));
            while(true) {
                String v5_5 = v4_2.readLine();
                if (v5_5 == null) {
                    break;
                }
                v3_1.append(v5_5);
            }
            com.helpshift.common.platform.network.g v3_2 = v3_1.toString();
            if ((v2_1 < 200) || (v2_1 >= 300)) {
                com.helpshift.common.platform.network.g v3_4 = new com.helpshift.common.platform.network.g(v2_1, 0, 0);
                if (v1_2 != null) {
                    try {
                        v1_2.disconnect();
                    } catch (Exception v0_1) {
                        com.helpshift.common.exception.NetworkException v1_5 = com.helpshift.common.exception.NetworkException.GENERIC;
                        v1_5.route = p15.c;
                        throw com.helpshift.common.exception.RootAPIException.a(v0_1, v1_5, "Network error");
                    }
                }
                return v3_4;
            } else {
                com.helpshift.common.platform.network.g v4_6 = new com.helpshift.common.platform.network.g(v2_1, v3_2, 0);
                if (v1_2 != null) {
                    try {
                        v1_2.disconnect();
                    } catch (Exception v0_2) {
                        com.helpshift.common.exception.NetworkException v1_6 = com.helpshift.common.exception.NetworkException.GENERIC;
                        v1_6.route = p15.c;
                        throw com.helpshift.common.exception.RootAPIException.a(v0_2, v1_6, "Network error");
                    }
                }
                return v4_6;
            }
        } catch (com.helpshift.common.exception.NetworkException v1_13) {
            v1_2 = 0;
            Exception v0_13 = v1_13;
            if (v1_2 != null) {
                try {
                    v1_2.disconnect();
                } catch (Exception v0_14) {
                    com.helpshift.common.exception.NetworkException v1_11 = com.helpshift.common.exception.NetworkException.GENERIC;
                    v1_11.route = p15.c;
                    throw com.helpshift.common.exception.RootAPIException.a(v0_14, v1_11, "Network error");
                }
            }
            throw v0_13;
        } catch (com.helpshift.common.exception.NetworkException v1_4) {
            v1_2 = 0;
            v0_3 = v1_4;
        } catch (Exception v0_13) {
        }
    }

Method com.helpshift.common.platform.g.b() calling method java.net.URL.<init>()


    private com.helpshift.common.platform.network.g b(com.helpshift.common.platform.network.f p12)
    {
        try {
            com.helpshift.common.exception.NetworkException v1_2;
            if (!"https://".equals(com.helpshift.common.domain.network.i.a)) {
                v1_2 = ((java.net.HttpURLConnection) new java.net.URL(p12.c).openConnection());
                v1_2.setRequestMethod(p12.b.name());
                v1_2.setConnectTimeout(p12.e);
                javax.net.ssl.HttpsURLConnection v2_19 = p12.d.iterator();
                while (v2_19.hasNext()) {
                    java.util.ArrayList v3_1 = ((com.helpshift.common.platform.network.c) v2_19.next());
                    v1_2.setRequestProperty(v3_1.a, v3_1.b);
                }
                if ((p12 instanceof com.helpshift.common.platform.network.e)) {
                    v1_2.setDoOutput(1);
                    javax.net.ssl.HttpsURLConnection v2_22 = v1_2.getOutputStream();
                    java.util.ArrayList v3_15 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(v2_22, "UTF-8"));
                    v3_15.write(((com.helpshift.common.platform.network.e) com.helpshift.common.platform.network.e.cast(p12)).a);
                    v3_15.flush();
                    v3_15.close();
                    v2_22.flush();
                    v2_22.close();
                }
                javax.net.ssl.HttpsURLConnection v2_24 = v1_2.getResponseCode();
                java.util.ArrayList v3_17 = new java.util.ArrayList();
                String v4_12 = v1_2.getHeaderFields();
                java.io.BufferedReader v5_8 = v4_12.keySet().iterator();
                while (v5_8.hasNext()) {
                    java.util.zip.GZIPInputStream v6_18 = ((String) v5_8.next());
                    if (!com.helpshift.common.c.a(v6_18)) {
                        v3_17.add(new com.helpshift.common.platform.network.c(v6_18, ((String) ((java.util.List) v4_12.get(v6_18)).get(0))));
                    }
                }
                if ((v2_24 < 200) || (v2_24 >= 300)) {
                    java.io.BufferedReader v5_12 = new StringBuilder();
                    v5_12.append("Api : ");
                    v5_12.append(p12.c);
                    v5_12.append(" \t Status : ");
                    v5_12.append(v2_24);
                    v5_12.append("\t Thread : ");
                    v5_12.append(Thread.currentThread().getName());
                    com.helpshift.util.l.a("Helpshift_HTTPTrnsport", v5_12.toString());
                    String v4_1 = new com.helpshift.common.platform.network.g(v2_24, 0, v3_17);
                    try {
                        if ((v1_2 instanceof javax.net.ssl.HttpsURLConnection)) {
                            this.b(((javax.net.ssl.HttpsURLConnection) v1_2));
                        }
                    } catch (Exception v0_4) {
                        com.helpshift.common.exception.NetworkException v1_4 = com.helpshift.common.exception.NetworkException.GENERIC;
                        v1_4.route = p12.c;
                        throw com.helpshift.common.exception.RootAPIException.a(v0_4, v1_4, "Network error");
                    }
                    if (v1_2 != null) {
                        v1_2.disconnect();
                    }
                    return v4_1;
                } else {
                    Exception v0_6 = new java.io.BufferedInputStream(v1_2.getInputStream());
                    java.io.BufferedReader v5_3 = v4_12.keySet().iterator();
                    while (v5_3.hasNext()) {
                        java.util.zip.GZIPInputStream v6_9 = ((String) v5_3.next());
                        if ((!com.helpshift.common.c.a(v6_9)) && ((v6_9.equals("Content-Encoding")) && (((String) ((java.util.List) v4_12.get(v6_9)).get(0)).equals("gzip")))) {
                            v0_6 = new java.util.zip.GZIPInputStream(v0_6);
                        }
                    }
                    String v4_3 = new java.io.InputStreamReader(v0_6);
                    java.io.BufferedReader v5_5 = new java.io.BufferedReader(v4_3);
                    java.util.zip.GZIPInputStream v6_7 = new StringBuilder();
                    while(true) {
                        String v7_0 = v5_5.readLine();
                        if (v7_0 == null) {
                            break;
                        }
                        v6_7.append(v7_0);
                    }
                    v0_6.close();
                    v4_3.close();
                    Exception v0_8 = new com.helpshift.common.platform.network.g(v2_24, v6_7.toString(), v3_17);
                    try {
                        if ((v1_2 instanceof javax.net.ssl.HttpsURLConnection)) {
                            this.b(((javax.net.ssl.HttpsURLConnection) v1_2));
                        }
                    } catch (Exception v0_9) {
                        com.helpshift.common.exception.NetworkException v1_7 = com.helpshift.common.exception.NetworkException.GENERIC;
                        v1_7.route = p12.c;
                        throw com.helpshift.common.exception.RootAPIException.a(v0_9, v1_7, "Network error");
                    }
                    if (v1_2 != null) {
                        v1_2.disconnect();
                    }
                    return v0_8;
                }
            } else {
                v1_2 = ((javax.net.ssl.HttpsURLConnection) new java.net.URL(p12.c).openConnection());
                this.a(((javax.net.ssl.HttpsURLConnection) v1_2));
            }
            try {
                if ((v1_2 instanceof javax.net.ssl.HttpsURLConnection)) {
                    this.b(((javax.net.ssl.HttpsURLConnection) v1_2));
                }
            } catch (Exception v0_21) {
                com.helpshift.common.exception.NetworkException v1_11 = com.helpshift.common.exception.NetworkException.GENERIC;
                v1_11.route = p12.c;
                throw com.helpshift.common.exception.RootAPIException.a(v0_21, v1_11, "Network error");
            }
            if (v1_2 != null) {
                v1_2.disconnect();
            }
            throw Exception v0_20;
        } catch (com.helpshift.common.exception.NetworkException v1_14) {
            v1_2 = 0;
            v0_20 = v1_14;
        } catch (com.helpshift.common.exception.NetworkException v1_8) {
            v1_2 = 0;
            Exception v0_10 = v1_8;
            javax.net.ssl.HttpsURLConnection v2_5 = com.helpshift.common.exception.NetworkException.GENERIC;
            v2_5.route = p12.c;
            throw com.helpshift.common.exception.RootAPIException.a(v0_10, v2_5, "Network error");
        } catch (Exception v0_20) {
        } catch (Exception v0_18) {
            javax.net.ssl.HttpsURLConnection v2_9 = com.helpshift.common.exception.NetworkException.UNKNOWN_HOST;
            v2_9.route = p12.c;
            throw com.helpshift.common.exception.RootAPIException.a(v0_18, v2_9, "Network error");
        } catch (Exception v0_16) {
            javax.net.ssl.HttpsURLConnection v2_8 = com.helpshift.common.exception.NetworkException.NO_CONNECTION;
            v2_8.route = p12.c;
            throw com.helpshift.common.exception.RootAPIException.a(v0_16, v2_8, "Network error");
        } catch (Exception v0_14) {
            javax.net.ssl.HttpsURLConnection v2_7 = com.helpshift.common.exception.NetworkException.SSL_PEER_UNVERIFIED;
            v2_7.route = p12.c;
            throw com.helpshift.common.exception.RootAPIException.a(v0_14, v2_7, "Network error");
        } catch (Exception v0_12) {
            javax.net.ssl.HttpsURLConnection v2_6 = com.helpshift.common.exception.NetworkException.SSL_HANDSHAKE;
            v2_6.route = p12.c;
            throw com.helpshift.common.exception.RootAPIException.a(v0_12, v2_6, "Network error");
        } catch (Exception v0_10) {
        }
    }

Method net.hockeyapp.android.c.e.a() calling method java.net.URL.<init>()


    protected varargs Long a(Void[] p3)
    {
        try {
            return Long.valueOf(((long) this.a(new java.net.URL(this.b()), 6).getContentLength()));
        } catch (Long v3_2) {
            com.google.devtools.build.android.desugar.runtime.ThrowableExtension.printStackTrace(v3_2);
            return Long.valueOf(0);
        }
    }

Method com.facebook.ads.internal.r.b.f.<init>() calling method java.net.ServerSocket.<init>()


    private f(com.facebook.ads.internal.r.b.c p4)
    {
        this.a = new Object();
        this.b = java.util.concurrent.Executors.newFixedThreadPool(8);
        this.c = new java.util.concurrent.ConcurrentHashMap();
        this.g = ((com.facebook.ads.internal.r.b.c) com.facebook.ads.internal.r.b.j.a(p4));
        try {
            this.d = new java.net.ServerSocket(0, 8, java.net.InetAddress.getByName("127.0.0.1"));
            this.e = this.d.getLocalPort();
            java.io.IOException v4_8 = new java.util.concurrent.CountDownLatch(1);
            this.f = new Thread(new com.facebook.ads.internal.r.b.f$e(this, v4_8));
            this.f.start();
            v4_8.await();
            android.util.Log.i("ProxyCache", "Proxy cache server started. Ping it...");
            this.b();
            return;
        } catch (java.io.IOException v4_10) {
            this.b.shutdown();
            throw new IllegalStateException("Error starting local proxy server", v4_10);
        }
    }

Method com.payu.custombrowser.util.e.a() calling method java.net.ServerSocket.<init>()


    public void a()
    {
        String v1_0;
        this.c = new java.net.ServerSocket();
        Thread v0_7 = this.c;
        if (this.a == null) {
            v1_0 = new java.net.InetSocketAddress(this.b);
        } else {
            v1_0 = new java.net.InetSocketAddress(this.a, this.b);
        }
        v0_7.bind(v1_0);
        this.e = new Thread(new ark>com.payu.custombrowser.util.eark>$1(this));
        this.e.setDaemon(1);
        this.e.setName("NH Main Listener");
        this.e.start();
        return;
    }