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 ru.yandex.disk.DeveloperSettingsActivity$a.a() calling method java.net.URL.<init>()


    private boolean a(String p5)
    {
        int v0 = 0;
        try {
            if ((android.text.TextUtils.isEmpty(p5)) || (new java.net.URL(p5).getHost() != null)) {
                v0 = 1;
            } else {
                throw new IllegalArgumentException("null host name");
            }
        } catch (IllegalArgumentException v1_2) {
            ru.yandex.disk.Log.e("DeveloperSettingsA", "bad input", v1_2);
            android.widget.Toast.makeText(this.getContext(), "Invalid URL", 0).show();
        }
        return v0;
    }

Method okhttp3.HttpUrl.url() calling method java.net.URL.<init>()


    public java.net.URL url()
    {
        try {
            return new java.net.URL(this.url);
        } catch (java.net.MalformedURLException v0_2) {
            throw new RuntimeException(v0_2);
        }
    }

Method it.sephiroth.android.library.picasso.UrlConnectionDownloader.openConnection() calling method java.net.URL.<init>()


    protected java.net.HttpURLConnection openConnection(android.net.Uri p3)
    {
        java.net.HttpURLConnection v0_3 = ((java.net.HttpURLConnection) new java.net.URL(p3.toString()).openConnection());
        v0_3.setConnectTimeout(15000);
        v0_3.setReadTimeout(20000);
        return v0_3;
    }

Method com.yandex.sslpinning.core.tinynet.c.a() calling method java.net.URL.<init>()


    public org.apache.http.HttpResponse a(com.yandex.sslpinning.core.tinynet.i p7)
    {
        String v0_2 = p7.a();
        org.apache.http.message.BasicHttpResponse v2_5 = new java.util.HashMap();
        v2_5.putAll(p7.b());
        java.util.Iterator v3_0 = this.a(new java.net.URL(v0_2), p7);
        org.apache.http.message.BasicHeader v4_0 = v2_5.keySet().iterator();
        while (v4_0.hasNext()) {
            String v0_18 = ((String) v4_0.next());
            v3_0.addRequestProperty(v0_18, ((String) v2_5.get(v0_18)));
        }
        ark>com.yandex.sslpinning.core.tinynet.cark>.a(v3_0, p7);
        String v0_4 = new org.apache.http.ProtocolVersion("HTTP", 1, 1);
        if (v3_0.getResponseCode() != -1) {
            org.apache.http.message.BasicHttpResponse v2_4 = new org.apache.http.message.BasicHttpResponse(new org.apache.http.message.BasicStatusLine(v0_4, v3_0.getResponseCode(), v3_0.getResponseMessage()));
            v2_4.setEntity(ark>com.yandex.sslpinning.core.tinynet.cark>.a(v3_0));
            java.util.Iterator v3_1 = v3_0.getHeaderFields().entrySet().iterator();
            while (v3_1.hasNext()) {
                String v0_10 = ((java.util.Map$Entry) v3_1.next());
                if (v0_10.getKey() != null) {
                    v2_4.addHeader(new org.apache.http.message.BasicHeader(((String) v0_10.getKey()), ((String) ((java.util.List) v0_10.getValue()).get(0))));
                }
            }
            return v2_4;
        } else {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        }
    }

Method com.yandex.metrica.impl.ob.hd.a() calling method java.net.URL.<init>()


    public org.apache.http.HttpResponse a(com.yandex.metrica.impl.ob.hk p8)
    {
        String v0_19 = p8.a();
        org.apache.http.message.BasicHttpResponse v3_1 = new java.util.HashMap();
        v3_1.putAll(p8.b());
        java.util.Iterator v2_0 = new java.net.URL(v0_19);
        String v1_3 = this.a(v2_0);
        String v0_13 = p8.n();
        v1_3.setConnectTimeout(v0_13);
        v1_3.setReadTimeout(v0_13);
        v1_3.setUseCaches(0);
        v1_3.setDoInput(1);
        if (("https".equals(v2_0.getProtocol())) && (this.a != null)) {
            ((javax.net.ssl.HttpsURLConnection) v1_3).setSSLSocketFactory(this.a);
        }
        org.apache.http.message.BasicHeader v4_2 = v3_1.keySet().iterator();
        while (v4_2.hasNext()) {
            String v0_12 = ((String) v4_2.next());
            v1_3.addRequestProperty(v0_12, ((String) v3_1.get(v0_12)));
        }
        switch (p8.d()) {
            case -1:
                String v0_31 = p8.j();
                if (v0_31 == null) {
                } else {
                    v1_3.setDoOutput(1);
                    v1_3.setRequestMethod("POST");
                    v1_3.addRequestProperty("Content-Type", p8.i());
                    java.util.Iterator v2_8 = new java.io.DataOutputStream(v1_3.getOutputStream());
                    v2_8.write(v0_31);
                    v2_8.close();
                }
                break;
            case 0:
                v1_3.setRequestMethod("GET");
                break;
            case 1:
                v1_3.setRequestMethod("POST");
                ark>com.yandex.metrica.impl.ob.hdark>.a(v1_3, p8);
                break;
            case 2:
                v1_3.setRequestMethod("PUT");
                ark>com.yandex.metrica.impl.ob.hdark>.a(v1_3, p8);
                break;
            case 3:
                v1_3.setRequestMethod("DELETE");
                break;
            case 4:
                v1_3.setRequestMethod("HEAD");
                break;
            case 5:
                v1_3.setRequestMethod("OPTIONS");
                break;
            case 6:
                v1_3.setRequestMethod("TRACE");
                break;
            case 7:
                v1_3.setRequestMethod("PATCH");
                ark>com.yandex.metrica.impl.ob.hdark>.a(v1_3, p8);
                break;
            default:
                throw new IllegalStateException("Unknown method type.");
        }
        String v0_33 = new org.apache.http.ProtocolVersion("HTTP", 1, 1);
        if (v1_3.getResponseCode() != -1) {
            org.apache.http.message.BasicHttpResponse v3_7 = new org.apache.http.message.BasicHttpResponse(new org.apache.http.message.BasicStatusLine(v0_33, v1_3.getResponseCode(), v1_3.getResponseMessage()));
            v3_7.setEntity(ark>com.yandex.metrica.impl.ob.hdark>.a(v1_3));
            java.util.Iterator v2_14 = v1_3.getHeaderFields().entrySet().iterator();
            while (v2_14.hasNext()) {
                String v0_2 = ((java.util.Map$Entry) v2_14.next());
                if (v0_2.getKey() != null) {
                    v3_7.addHeader(new org.apache.http.message.BasicHeader(((String) v0_2.getKey()), ((String) ((java.util.List) v0_2.getValue()).get(0))));
                }
            }
            return v3_7;
        } else {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        }
    }

Method com.yandex.metrica.impl.ob.ef.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(ark>com.yandex.metrica.impl.ob.efark>$a.a);
        v0_3.setReadTimeout(ark>com.yandex.metrica.impl.ob.efark>$a.a);
        v0_3.setDoInput(1);
        v0_3.setRequestProperty("Accept", "application/json");
        v0_3.setRequestProperty("User-Agent", com.yandex.metrica.impl.bd.a("com.yandex.mobile.metrica.sdk"));
        return v0_3;
    }

Method com.yandex.disk.rest.RestClient.<init>() calling method java.net.URL.<init>()


    public RestClient(com.yandex.disk.rest.Credentials p3, okhttp3.OkHttpClient$Builder p4, String p5)
    {
        this.credentials = p3;
        this.setUpInterceptors(p3, p4);
        this.client = p4.build();
        try {
            this.serverURL = new java.net.URL(p5).toExternalForm();
            this.builder = this.createRestAdapterBuilder();
            this.cloudApi = ((com.yandex.disk.rest.retrofit.CloudApi) this.builder.build().create(com.yandex.disk.rest.retrofit.CloudApi));
            return;
        } catch (java.net.MalformedURLException v0_5) {
            throw new RuntimeException(v0_5);
        }
    }

Method com.yandex.auth.authenticator.Authenticator.getAuthTokenLabel() calling method java.net.URL.<init>()


    public String getAuthTokenLabel(String p7)
    {
        try {
            String v0_0;
            String v0_5 = java.util.Locale.getDefault().getLanguage();
            int v2_10 = new com.yandex.auth.login.z(p7);
        } catch (String v0_4) {
            com.yandex.auth.util.g.a(0);
            throw v0_4;
        } catch (String v0) {
            v0_0 = this.b.getString(com.yandex.auth.R$string.error_load_scope_description);
            com.yandex.auth.util.g.a(0);
            return v0_0;
        } catch (String v0) {
            v0_0 = this.b.getString(com.yandex.auth.R$string.error_load_scope_description);
            com.yandex.auth.util.g.a(0);
            return v0_0;
        }
        if (v2_10.a == null) {
            v0_0 = this.b.getString(com.yandex.auth.R$string.auth_token_label);
            com.yandex.auth.util.g.a(0);
            return v0_0;
        } else {
            java.net.URL v3_1 = new java.net.URL(new StringBuilder("https://oauth.yandex.ru/client/").append(v2_10.a).append("/info?locale=").append(v0_5).toString());
            new StringBuilder("getAuthTokenLabel called for uri ").append(v3_1);
            java.io.InputStream v1_1 = v3_1.openStream();
            v0_0 = com.yandex.auth.authenticator.Authenticator.a(new org.json.JSONObject(com.yandex.auth.util.g.a(v1_1)).getJSONArray("localized_scope"));
            com.yandex.auth.util.g.a(v1_1);
            return v0_0;
        }
    }

Method ru.yandex.disk.DeveloperSettings.a() calling method java.net.URL.<init>()


    private java.net.URL a(String p6)
    {
        String v2_1 = this.a.getString(p6, 0);
        if (ru.yandex.disk.gs.c) {
            ru.yandex.disk.Log.b("DeveloperSettings", new StringBuilder().append(p6).append(": ").append(v2_1).toString());
        }
        if ((v2_1 == null) || (android.text.TextUtils.isEmpty(v2_1.trim()))) {
            int v0_3 = 0;
        } else {
            try {
                v0_3 = new java.net.URL(v2_1);
            } catch (int v0_5) {
                ru.yandex.disk.Log.a("DeveloperSettings", v0_5);
                v0_3 = 0;
            }
        }
        return v0_3;
    }

Method com.yandex.disk.client.m.<clinit>() calling method java.net.URL.<init>()


    static m()
    {
        com.yandex.disk.client.m.c = 1;
        try {
            com.yandex.disk.client.m.a = new java.net.URL("https://webdav.yandex.ru:443");
            com.yandex.disk.client.m.d = okhttp3.RequestBody.create(0, "");
            com.yandex.disk.client.m.e = java.util.regex.Pattern.compile("bytes\\D+(\\d+)-\\d+/(\\d+)");
            return;
        } catch (java.net.MalformedURLException v0_3) {
            throw new RuntimeException(v0_3);
        }
    }

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


    public Boolean a()
    {
        Boolean v1_0 = 0;
        try {
            Throwable v0_4 = ((java.net.HttpURLConnection) new java.net.URL(this.a).openConnection());
            try {
                Boolean v1_2;
                v0_4.setRequestMethod("HEAD");
            } catch (Boolean v1_3) {
                v1_0 = v0_4;
                Throwable v0_1 = v1_3;
                if (v1_0 != null) {
                    v1_0.disconnect();
                }
                throw v0_1;
            }
            if (v0_4.getResponseCode() <= 0) {
                v1_2 = 0;
            } else {
                v1_2 = 1;
            }
            Boolean v1_4 = Boolean.valueOf(v1_2);
            if (v0_4 != null) {
                v0_4.disconnect();
            }
            return v1_4;
        } catch (Throwable v0_1) {
        }
    }

Method com.squareup.okhttp.q.a() calling method java.net.URL.<init>()


    public java.net.URL a()
    {
        try {
            java.net.URL v0_0 = this.f;
        } catch (java.net.URL v0_2) {
            throw new RuntimeException(new StringBuilder().append("Malformed URL: ").append(this.a).toString(), v0_2);
        }
        if (v0_0 == null) {
            v0_0 = new java.net.URL(this.a);
            this.f = v0_0;
        }
        return v0_0;
    }

Method com.squareup.okhttp.internal.a.g.o() calling method java.net.URL.<init>()


    public com.squareup.okhttp.q o()
    {
        if (this.o != null) {
            com.squareup.okhttp.q v0_6;
            if (this.j() == null) {
                v0_6 = this.a.d();
            } else {
                v0_6 = this.j().b();
            }
            com.squareup.okhttp.q v0_3;
            switch (this.o.c()) {
                case 300:
                case 301:
                case 302:
                case 303:
                    if (this.a.p()) {
                        com.squareup.okhttp.q v0_19 = this.o.a("Location");
                        if (v0_19 != null) {
                            java.net.URL v2_8 = new java.net.URL(this.k.a(), v0_19);
                            if ((v2_8.getProtocol().equals("https")) || (v2_8.getProtocol().equals("http"))) {
                                if ((v2_8.getProtocol().equals(this.k.a().getProtocol())) || (this.a.o())) {
                                    com.squareup.okhttp.q v0_30 = this.k.g();
                                    if (com.squareup.okhttp.internal.a.h.c(this.k.d())) {
                                        v0_30.a("GET", 0);
                                        v0_30.b("Transfer-Encoding");
                                        v0_30.b("Content-Length");
                                        v0_30.b("Content-Type");
                                    }
                                    if (!this.b(v2_8)) {
                                        v0_30.b("Authorization");
                                    }
                                    v0_3 = v0_30.a(v2_8).a();
                                } else {
                                    v0_3 = 0;
                                }
                            } else {
                                v0_3 = 0;
                            }
                        } else {
                            v0_3 = 0;
                        }
                    } else {
                        v0_3 = 0;
                    }
                    break;
                case 307:
                case 308:
                    if ((this.k.d().equals("GET")) || (this.k.d().equals("HEAD"))) {
                    } else {
                        v0_3 = 0;
                    }
                    break;
                case 401:
                    v0_3 = com.squareup.okhttp.internal.a.j.a(this.a.m(), this.o, v0_6);
                    break;
                case 407:
                    if (v0_6.type() == java.net.Proxy$Type.HTTP) {
                    } else {
                        throw new java.net.ProtocolException("Received HTTP_PROXY_AUTH (407) code while not using proxy");
                    }
                    break;
                default:
                    v0_3 = 0;
            }
            return v0_3;
        } else {
            throw new IllegalStateException();
        }
    }

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


    private com.squareup.okhttp.q a(com.squareup.okhttp.q p8)
    {
        com.squareup.okhttp.q v0_13;
        if (this.b.c()) {
            com.squareup.okhttp.q v0_9;
            String v1_6 = p8.a().getHost();
            String v2_0 = com.squareup.okhttp.internal.h.a(p8.a());
            if (v2_0 != com.squareup.okhttp.internal.h.a("https")) {
                v0_9 = new StringBuilder().append(v1_6).append(":").append(v2_0).toString();
            } else {
                v0_9 = v1_6;
            }
            com.squareup.okhttp.q v0_11 = new com.squareup.okhttp.q$a().a(new java.net.URL("https", v1_6, v2_0, "/")).a("Host", v0_9).a("Proxy-Connection", "Keep-Alive");
            String v1_3 = p8.a("User-Agent");
            if (v1_3 != null) {
                v0_11.a("User-Agent", v1_3);
            }
            String v1_5 = p8.a("Proxy-Authorization");
            if (v1_5 != null) {
                v0_11.a("Proxy-Authorization", v1_5);
            }
            v0_13 = v0_11.a();
        } else {
            v0_13 = 0;
        }
        return v0_13;
    }

Method com.localytics.android.PushManager$1$1.doInBackground() calling method java.net.URL.<init>()


    protected varargs String doInBackground(Void[] p12)
    {
        try {
            if (android.text.TextUtils.isEmpty(this.val$pushRegID)) {
                String v0_6 = 0;
            } else {
                InterruptedException v1_8 = this.this$1.this$0.mLocalyticsDao.getInstallationId();
                String v3_4 = new Object[5];
                v3_4[0] = this.this$1.val$campaign;
                v3_4[1] = this.this$1.val$creative;
                v3_4[2] = this.val$pushRegID;
                v3_4[3] = v1_8;
                v3_4[4] = Long.toString(Math.round((((double) this.this$1.this$0.mLocalyticsDao.getCurrentTimeMillis()) / 1000.0)));
                try {
                    String v0_12 = ((java.net.HttpURLConnection) com.localytics.android.BaseUploadThread.createURLConnection(new java.net.URL(String.format("https://pushapi.localytics.com/push_test?platform=android&type=prod&campaign=%s&creative=%s&token=%s&install_id=%s&client_ts=%s", v3_4)), this.this$1.this$0.mLocalyticsDao.getProxy()));
                    try {
                        v0_12.setConnectTimeout(5000);
                        v0_12.setReadTimeout(5000);
                        v0_12.setDoOutput(0);
                        v0_12.setRequestProperty("x-install-id", v1_8);
                        v0_12.setRequestProperty("x-app-id", com.localytics.android.DatapointHelper.getAppVersion(this.this$1.this$0.mLocalyticsDao.getAppContext()));
                        v0_12.setRequestProperty("x-client-version", com.localytics.android.Constants.LOCALYTICS_CLIENT_LIBRARY_VERSION);
                        v0_12.setRequestProperty("x-app-version", com.localytics.android.DatapointHelper.getAppVersion(this.this$1.this$0.mLocalyticsDao.getAppContext()));
                        v0_12.setRequestProperty("x-customer-id", ((String) this.this$1.val$customerIdFuture.get()));
                        v0_12.getInputStream();
                    } catch (InterruptedException v1_3) {
                        InterruptedException v1_0 = v0_12;
                        String v0_5 = v1_3;
                        if (v1_0 != null) {
                            v1_0.disconnect();
                        }
                        throw v0_5;
                    } catch (InterruptedException v1_2) {
                        v1_0 = v0_12;
                        String v0_4 = v1_2;
                        String v3_5 = new StringBuilder("Unfortunately, something went wrong. Push test activation was unsuccessful.");
                        if (com.localytics.android.Localytics.isLoggingEnabled()) {
                            if ((v0_4 instanceof java.io.FileNotFoundException)) {
                                v3_5.append("\n\nCause:\nPush registration token has not yet been processed. Please wait a few minutes and try again.");
                                com.localytics.android.Localytics$Log.e("Activating push test has failed", v0_4);
                            }
                        }
                        v0_6 = v3_5.toString();
                        if (v1_0 != null) {
                            v1_0.disconnect();
                        }
                    } catch (InterruptedException v1_1) {
                        v1_0 = v0_12;
                        String v0_3 = v1_1;
                        com.localytics.android.Localytics$Log.e("Exception while handling test mode", v0_3);
                        if (v1_0 == null) {
                        } else {
                            v1_0.disconnect();
                        }
                    } catch (InterruptedException v1_13) {
                        v1_0 = v0_12;
                        String v0_2 = v1_13;
                        com.localytics.android.Localytics$Log.e("Exception while handling test mode", v0_2);
                        if (v1_0 == null) {
                        } else {
                            v1_0.disconnect();
                        }
                    }
                    if (v0_12 == null) {
                    } else {
                        v0_12.disconnect();
                    }
                } catch (String v0_4) {
                    v1_0 = 0;
                } catch (String v0_3) {
                    v1_0 = 0;
                } catch (String v0_2) {
                    v1_0 = 0;
                } catch (String v0_5) {
                }
            }
        } catch (String v0_7) {
            com.localytics.android.Localytics$Log.e("Exception while handling test mode", v0_7);
        }
        return v0_6;
    }

Method com.localytics.android.MarketingWebViewManager.shouldInterceptRequest() calling method java.net.URL.<init>()


    public boolean shouldInterceptRequest(android.webkit.WebView p4, String p5)
    {
        int v0 = 1;
        try {
            switch (com.localytics.android.MarketingWebViewManager$8.$SwitchMap$com$localytics$android$MarketingWebViewManager$ProtocolHandleAction[this.handleFileProtocolRequest(new java.net.URL(p5)).ordinal()]) {
                case 1:
                case 2:
                    v0 = 0;
                    break;
            }
        } catch (java.net.MalformedURLException v1) {
        }
        return v0;
    }

Method com.localytics.android.MarketingWebViewManager.handleUrl() calling method java.net.URL.<init>()


    com.localytics.android.MarketingWebViewManager$ProtocolHandleAction handleUrl(String p9)
    {
        android.os.Message v1_31 = new Object[1];
        v1_31[0] = p9;
        com.localytics.android.Localytics$Log.w(String.format("[Marketing Nav Handler]: Evaluating marketing URL:\n\tURL:%s", v1_31));
        android.os.Message v1_1 = com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.PROTOCOL_UNMATCHED;
        try {
            String v2_7 = new java.net.URI(p9);
            try {
                if (android.text.TextUtils.isEmpty(v2_7.getScheme())) {
                    com.localytics.android.MarketingWebViewManager$ProtocolHandleAction v0_7 = ((String) this.mCampaign.getWebViewAttributes().get("base_path"));
                    if (!android.text.TextUtils.isEmpty(v0_7)) {
                        p9 = new StringBuilder().append("file://").append(v0_7).append(47).append(p9).toString();
                    }
                    v2_7 = new java.net.URI(p9);
                }
                try {
                    this.tagMarketingActionForURL(v2_7);
                    String v3_15 = new java.net.URL(p9);
                    com.localytics.android.MarketingWebViewManager$ProtocolHandleAction v0_13 = this.handleFileProtocolRequest(v3_15);
                    try {
                        if (v0_13 == com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.PROTOCOL_UNMATCHED) {
                            v0_13 = this.handleHttpProtocolRequest(v3_15);
                            if (v0_13 == com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.PROTOCOL_UNMATCHED) {
                                v0_13 = this.handleCustomProtocolRequest(v3_15);
                                if (v0_13 == com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.PROTOCOL_UNMATCHED) {
                                    Object[] v4_2 = new Object[1];
                                    v4_2[0] = v3_15.getProtocol();
                                    com.localytics.android.Localytics$Log.w(String.format("[Marketing Nav Handler]: Protocol handler scheme not recognized. Attempting to load the URL... [Scheme: %s]", v4_2));
                                    if ((v0_13 != com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.OPENING_INTERNAL) || ((v2_7 == null) || (!v2_7.getScheme().equals("file")))) {
                                        return v0_13;
                                    } else {
                                        this.mMessageHandler.obtainMessage(2, v2_7.toString()).sendToTarget();
                                        return v0_13;
                                    }
                                } else {
                                    if ((v0_13 != com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.OPENING_INTERNAL) || ((v2_7 == null) || (!v2_7.getScheme().equals("file")))) {
                                        return v0_13;
                                    } else {
                                        this.mMessageHandler.obtainMessage(2, v2_7.toString()).sendToTarget();
                                        return v0_13;
                                    }
                                }
                            } else {
                                if ((v0_13 != com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.OPENING_INTERNAL) || ((v2_7 == null) || (!v2_7.getScheme().equals("file")))) {
                                    return v0_13;
                                } else {
                                    this.mMessageHandler.obtainMessage(2, v2_7.toString()).sendToTarget();
                                    return v0_13;
                                }
                            }
                        } else {
                            if ((v0_13 != com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.OPENING_INTERNAL) || ((v2_7 == null) || (!v2_7.getScheme().equals("file")))) {
                                return v0_13;
                            } else {
                                this.mMessageHandler.obtainMessage(2, v2_7.toString()).sendToTarget();
                                return v0_13;
                            }
                        }
                    } catch (android.os.Message v1_6) {
                        v1_1 = v0_13;
                        com.localytics.android.MarketingWebViewManager$ProtocolHandleAction v0_0 = v1_6;
                        if (v1_1 == com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.OPENING_INTERNAL) {
                            if (v2_7 != null) {
                                if (v2_7.getScheme().equals("file")) {
                                    this.mMessageHandler.obtainMessage(2, v2_7.toString()).sendToTarget();
                                }
                            }
                        }
                        throw v0_0;
                    } catch (android.os.Message v1) {
                        android.os.Message v1_11 = v2_7;
                        try {
                            v0_13 = this.handleCustomProtocolRequest(p9);
                        } catch (String v2_17) {
                            v2_7 = v1_11;
                            v1_1 = v0_13;
                            v0_0 = v2_17;
                        }
                        if (v0_13 == com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.PROTOCOL_UNMATCHED) {
                            if (v0_13 != com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.OPENING_INTERNAL) {
                                return v0_13;
                            } else {
                                if (v1_11 == null) {
                                    return v0_13;
                                } else {
                                    if (!v1_11.getScheme().equals("file")) {
                                        return v0_13;
                                    } else {
                                        this.mMessageHandler.obtainMessage(2, v1_11.toString()).sendToTarget();
                                        return v0_13;
                                    }
                                }
                            }
                        } else {
                            if (v0_13 != com.localytics.android.MarketingWebViewManager$ProtocolHandleAction.OPENING_INTERNAL) {
                                return v0_13;
                            } else {
                                if (v1_11 == null) {
                                    return v0_13;
                                } else {
                                    if (!v1_11.getScheme().equals("file")) {
                                        return v0_13;
                                    } else {
                                        this.mMessageHandler.obtainMessage(2, v1_11.toString()).sendToTarget();
                                        return v0_13;
                                    }
                                }
                            }
                        }
                    }
                } catch (com.localytics.android.MarketingWebViewManager$ProtocolHandleAction v0) {
                    v1_11 = v2_7;
                }
            } catch (com.localytics.android.MarketingWebViewManager$ProtocolHandleAction v0_0) {
            } catch (com.localytics.android.MarketingWebViewManager$ProtocolHandleAction v0) {
                v1_11 = v2_7;
            }
        } catch (String v2_12) {
            v2_7 = 0;
            v0_0 = v2_12;
        } catch (String v2) {
            v1_11 = 0;
        }
    }

Method com.localytics.android.MarketingDownloader.request() calling method java.net.URL.<init>()


    static String request(String p4)
    {
        String v0_11 = ((java.net.HttpURLConnection) new java.net.URL(p4).openConnection());
        v0_11.setRequestProperty("Accept-Encoding", "gzip");
        java.io.IOException v1_1 = 0;
        try {
            String v0_3;
            if (!"gzip".equals(v0_11.getContentEncoding())) {
                v0_3 = new java.io.InputStreamReader(v0_11.getInputStream());
                java.io.BufferedReader v2_6 = new java.io.BufferedReader(v0_3);
                try {
                    String v0_9 = new StringBuilder();
                } catch (String v0_6) {
                    v1_1 = v2_6;
                }
                while(true) {
                    java.io.IOException v1_0 = v2_6.readLine();
                    if (v1_0 == null) {
                        break;
                    }
                    v0_9.append(v1_0);
                }
                String v0_10 = v0_9.toString();
                if (v2_6 != null) {
                    try {
                        v2_6.close();
                    } catch (java.io.IOException v1) {
                    }
                }
                return v0_10;
            } else {
                v0_3 = new java.io.InputStreamReader(new java.util.zip.GZIPInputStream(v0_11.getInputStream()), "UTF-8");
            }
        } catch (String v0_6) {
        }
        if (v1_1 != null) {
            try {
                v1_1.close();
            } catch (java.io.IOException v1) {
            }
        }
        throw v0_6;
    }

Method com.localytics.android.CreativeDownloadTask.downloadFile() calling method java.net.URL.<init>()


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

Method com.localytics.android.BaseUploadThread.upload() calling method java.net.URL.<init>()


    boolean upload(com.localytics.android.BaseUploadThread$UploadType p10, String p11, String p12, int p13, boolean p14)
    {
        if (p11 != null) {
            if (p12 != null) {
                if (p10 != com.localytics.android.BaseUploadThread$UploadType.ANALYTICS) {
                    if (p10 == com.localytics.android.BaseUploadThread$UploadType.PROFILES) {
                        int v1_50 = new Object[1];
                        v1_50[0] = com.localytics.android.BaseUploadThread.formatUploadBody(p12);
                        com.localytics.android.Localytics$Log.v(String.format("Profile upload body is: \n%s", v1_50));
                    }
                } else {
                    int v1_23 = new Object[1];
                    v1_23[0] = p12;
                    com.localytics.android.Localytics$Log.v(String.format("Analytics upload body before compression is: \n%s", v1_23));
                }
                int v2_29 = 0;
                try {
                    int v1_41;
                    Object[] v3_4;
                    int v0_11 = p12.getBytes("UTF-8");
                } catch (int v0_20) {
                    if (v2_29 != 0) {
                        try {
                            v2_29.close();
                        } catch (int v0_24) {
                            com.localytics.android.Localytics$Log.w("Caught exception", v0_24);
                            int v0_5 = 0;
                            return v0_5;
                        }
                    }
                    throw v0_20;
                } catch (int v0_17) {
                    v1_41 = 0;
                    com.localytics.android.Localytics$Log.w("UnsupportedEncodingException", v0_17);
                    v0_5 = 0;
                    if (v1_41 == 0) {
                        return v0_5;
                    } else {
                        try {
                            v1_41.close();
                        } catch (int v0_23) {
                            com.localytics.android.Localytics$Log.w("Caught exception", v0_23);
                            v0_5 = 0;
                        }
                        return v0_5;
                    }
                    if (v1_41 != 0) {
                        try {
                            v1_41.close();
                        } catch (int v0_25) {
                            com.localytics.android.Localytics$Log.w("Caught exception", v0_25);
                            v0_5 = 0;
                            return v0_5;
                        }
                        int v0_29 = ((java.net.HttpURLConnection) com.localytics.android.BaseUploadThread.createURLConnection(new java.net.URL(p11), this.mLocalyticsDao.getProxy()));
                        int v1_28 = 60000;
                        try {
                            int v1_1;
                            v0_29.setConnectTimeout(60000);
                            v0_29.setReadTimeout(60000);
                        } catch (int v1_34) {
                            v1_28 = v0_29;
                            int v0_7 = v1_34;
                            if (v1_28 != 0) {
                                v1_28.disconnect();
                            }
                            throw v0_7;
                        } catch (int v1_30) {
                            double v6_1 = v0_29;
                            int v0_8 = v1_30;
                            try {
                                if (p13 != 2) {
                                    v0_5 = this.upload(p10, p11, p12, (p13 + 1), p14);
                                    if (v6_1 == 0) {
                                        return v0_5;
                                    } else {
                                        v6_1.disconnect();
                                        return v0_5;
                                    }
                                } else {
                                    com.localytics.android.Localytics$Log.w("ClientProtocolException", v0_8);
                                    v0_5 = 0;
                                    if (v6_1 == 0) {
                                        return v0_5;
                                    } else {
                                        v6_1.disconnect();
                                        return v0_5;
                                    }
                                }
                            } catch (int v0_7) {
                                v1_28 = v6_1;
                            }
                        } catch (int v1_29) {
                            v1_28 = v0_29;
                            int v0_6 = v1_29;
                            com.localytics.android.Localytics$Log.w("ClientProtocolException", v0_6);
                            v0_5 = 0;
                            if (v1_28 == 0) {
                                return v0_5;
                            } else {
                                v1_28.disconnect();
                                return v0_5;
                            }
                        } catch (int v1_27) {
                            v1_28 = v0_29;
                            int v0_4 = v1_27;
                            com.localytics.android.Localytics$Log.w("ClientProtocolException", v0_4);
                            v0_5 = 0;
                            if (v1_28 == 0) {
                                return v0_5;
                            } else {
                                v1_28.disconnect();
                                return v0_5;
                            }
                        }
                        if ((p10 == com.localytics.android.BaseUploadThread$UploadType.MARKETING) || (p10 == com.localytics.android.BaseUploadThread$UploadType.MANIFEST)) {
                            v1_1 = 0;
                        } else {
                            v1_1 = 1;
                        }
                        v0_29.setDoOutput(v1_1);
                        if (p10 != com.localytics.android.BaseUploadThread$UploadType.ANALYTICS) {
                            v0_29.setRequestProperty("Content-Type", "application/json; charset=utf-8");
                        } else {
                            v0_29.setRequestProperty("Content-Type", "application/x-gzip");
                            v0_29.setRequestProperty("Content-Encoding", "gzip");
                            v0_29.setRequestProperty("X-DONT-SEND-AMP", "1");
                        }
                        if (((p10 == com.localytics.android.BaseUploadThread$UploadType.MARKETING) || (p10 == com.localytics.android.BaseUploadThread$UploadType.MANIFEST)) && (com.localytics.android.Constants.isTestModeEnabled())) {
                            v0_29.setRequestProperty("AMP-Test-Mode", "1");
                        }
                        if (p14) {
                            v0_29.setRequestProperty("X-NO-DELAY", "1");
                        }
                        v0_29.setRequestProperty("Accept-Encoding", "");
                        v0_29.setRequestProperty("x-upload-time", Long.toString(Math.round((((double) this.mLocalyticsDao.getCurrentTimeMillis()) / 1000.0))));
                        v0_29.setRequestProperty("x-install-id", this.mLocalyticsDao.getInstallationId());
                        v0_29.setRequestProperty("x-app-id", this.mLocalyticsDao.getAppKey());
                        v0_29.setRequestProperty("x-client-version", com.localytics.android.Constants.LOCALYTICS_CLIENT_LIBRARY_VERSION);
                        v0_29.setRequestProperty("x-app-version", com.localytics.android.DatapointHelper.getAppVersion(this.mLocalyticsDao.getAppContext()));
                        v0_29.setRequestProperty("x-customer-id", this.customerID);
                        if ((p10 != com.localytics.android.BaseUploadThread$UploadType.MARKETING) && (p10 != com.localytics.android.BaseUploadThread$UploadType.MANIFEST)) {
                            v0_29.setFixedLengthStreamingMode(v3_4.length);
                            try {
                                int v2_18 = v0_29.getOutputStream();
                                v2_18.write(v3_4);
                            } catch (int v1_24) {
                                if (v2_18 != 0) {
                                    v2_18.flush();
                                    v2_18.close();
                                }
                                throw v1_24;
                            }
                            if (v2_18 != 0) {
                                v2_18.flush();
                                v2_18.close();
                            }
                        }
                        int v1_25 = v0_29.getResponseCode();
                        Object[] v3_2 = new Object[2];
                        v3_2[0] = this.mSessionHandler.siloName;
                        v3_2[1] = Integer.valueOf(v1_25);
                        com.localytics.android.Localytics$Log.v(String.format("%s upload complete with status %d", v3_2));
                        if (v1_25 != 429) {
                            if ((v1_25 < 400) || (v1_25 > 499)) {
                                if ((v1_25 < 500) || (v1_25 > 599)) {
                                    this.retrieveHttpResponse(v0_29.getInputStream());
                                    if (v0_29 != 0) {
                                        v0_29.disconnect();
                                    }
                                    v0_5 = 1;
                                    return v0_5;
                                } else {
                                    if (v0_29 != 0) {
                                        v0_29.disconnect();
                                    }
                                    v0_5 = 0;
                                    return v0_5;
                                }
                            } else {
                                if (v0_29 != 0) {
                                    v0_29.disconnect();
                                }
                                v0_5 = 1;
                                return v0_5;
                            }
                        } else {
                            if (v0_29 != 0) {
                                v0_29.disconnect();
                            }
                            v0_5 = 0;
                            return v0_5;
                        }
                    }
                    try {
                    } catch (int v0_7) {
                    } catch (int v0_8) {
                        v6_1 = 60000;
                    } catch (int v0_6) {
                    } catch (int v0_4) {
                    }
                } catch (int v0_16) {
                    com.localytics.android.Localytics$Log.w("IOException", v0_16);
                    v0_5 = 0;
                    if (v2_29 == 0) {
                        return v0_5;
                    } else {
                        try {
                            v2_29.close();
                        } catch (int v0_21) {
                            com.localytics.android.Localytics$Log.w("Caught exception", v0_21);
                            v0_5 = 0;
                        }
                        return v0_5;
                    }
                } catch (int v0_20) {
                    v2_29 = v1_41;
                }
                if (p10 != com.localytics.android.BaseUploadThread$UploadType.ANALYTICS) {
                    v1_41 = 0;
                    v3_4 = v0_11;
                } else {
                    Object[] v3_6 = new java.io.ByteArrayOutputStream(v0_11.length);
                    v1_41 = new java.util.zip.GZIPOutputStream(v3_6);
                    try {
                        v1_41.write(v0_11);
                        v1_41.finish();
                        v3_4 = v3_6.toByteArray();
                    } catch (int v0_17) {
                    } catch (int v0_16) {
                        v2_29 = v1_41;
                    }
                }
            } else {
                throw new IllegalArgumentException("body cannot be null");
            }
        } else {
            throw new IllegalArgumentException("url cannot be null");
        }
    }

Method com.google.gson.internal.a.m$15.a() calling method java.net.URL.<init>()


    public java.net.URL a(com.google.gson.stream.a p4)
    {
        java.net.URL v0_0 = 0;
        if (p4.f() != com.google.gson.stream.JsonToken.NULL) {
            String v1_1 = p4.h();
            if (!"null".equals(v1_1)) {
                v0_0 = new java.net.URL(v1_1);
            }
        } else {
            p4.j();
        }
        return v0_0;
    }

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


    public org.apache.http.HttpResponse zza(com.google.android.gms.internal.zzk p7, java.util.Map p8)
    {
        String v0_0;
        String v1_2 = p7.getUrl();
        org.apache.http.message.BasicHttpResponse v2_3 = new java.util.HashMap();
        v2_3.putAll(p7.getHeaders());
        v2_3.putAll(p8);
        if (this.zzce == null) {
            v0_0 = v1_2;
        } else {
            v0_0 = this.zzce.zzh(v1_2);
            if (v0_0 == null) {
                String v0_24;
                String v0_21 = String.valueOf(v1_2);
                if (v0_21.length() == 0) {
                    v0_24 = new String("URL blocked by rewriter: ");
                } else {
                    v0_24 = "URL blocked by rewriter: ".concat(v0_21);
                }
                throw new java.io.IOException(v0_24);
            }
        }
        java.util.Iterator v3_0 = this.zza(new java.net.URL(v0_0), p7);
        org.apache.http.message.BasicHeader v4_0 = v2_3.keySet().iterator();
        while (v4_0.hasNext()) {
            String v0_20 = ((String) v4_0.next());
            v3_0.addRequestProperty(v0_20, ((String) v2_3.get(v0_20)));
        }
        com.google.android.gms.internal.zzz.zza(v3_0, p7);
        String v0_5 = new org.apache.http.ProtocolVersion("HTTP", 1, 1);
        if (v3_0.getResponseCode() != -1) {
            org.apache.http.message.BasicHttpResponse v2_5 = new org.apache.http.message.BasicHttpResponse(new org.apache.http.message.BasicStatusLine(v0_5, v3_0.getResponseCode(), v3_0.getResponseMessage()));
            v2_5.setEntity(com.google.android.gms.internal.zzz.zza(v3_0));
            java.util.Iterator v3_1 = v3_0.getHeaderFields().entrySet().iterator();
            while (v3_1.hasNext()) {
                String v0_11 = ((java.util.Map$Entry) v3_1.next());
                if (v0_11.getKey() != null) {
                    v2_5.addHeader(new org.apache.http.message.BasicHeader(((String) v0_11.getKey()), ((String) ((java.util.List) v0_11.getValue()).get(0))));
                }
            }
            return v2_5;
        } else {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        }
    }

Method com.google.android.gms.internal.zzaok$10.zzv() calling method java.net.URL.<init>()


    public java.net.URL zzv(com.google.android.gms.internal.zzaom p4)
    {
        java.net.URL v0_0 = 0;
        if (p4.b() != com.google.android.gms.internal.zzaon.bhx) {
            String v1_1 = p4.nextString();
            if (!"null".equals(v1_1)) {
                v0_0 = new java.net.URL(v1_1);
            }
        } else {
            p4.nextNull();
        }
        return v0_0;
    }

Method com.google.android.exoplayer.upstream.f.b() calling method java.net.URL.<init>()


    private java.net.HttpURLConnection b(com.google.android.exoplayer.upstream.d p13)
    {
        int v8;
        java.net.URL v2_2 = new java.net.URL(p13.a.toString());
        int v3_2 = p13.b;
        long v4 = p13.d;
        long v6 = p13.e;
        if ((p13.g & 1) == 0) {
            v8 = 0;
        } else {
            v8 = 1;
        }
        int v0_3;
        if (this.d) {
            int v1_3 = 0;
            while(true) {
                int v10 = (v1_3 + 1);
                if (v1_3 > 20) {
                    throw new java.net.NoRouteToHostException(new StringBuilder().append("Too many redirects: ").append(v10).toString());
                } else {
                    int v1_11 = this.a(v2_2, v3_2, v4, v6, v8, 0);
                    String v9_3 = v1_11.getResponseCode();
                    if ((v9_3 != 300) && ((v9_3 != 301) && ((v9_3 != 302) && ((v9_3 != 303) && ((v3_2 != 0) || ((v9_3 != 307) && (v9_3 != 308))))))) {
                        break;
                    }
                    v3_2 = 0;
                    String v9_5 = v1_11.getHeaderField("Location");
                    v1_11.disconnect();
                    v2_2 = com.google.android.exoplayer.upstream.f.a(v2_2, v9_5);
                    v1_3 = v10;
                }
            }
            v0_3 = v1_11;
        } else {
            v0_3 = this.a(v2_2, v3_2, v4, v6, v8, 1);
        }
        return v0_3;
    }

Method com.google.android.exoplayer.upstream.f.a() calling method java.net.URL.<init>()


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

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


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

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


    private java.io.InputStream a(java.net.URL p6, int p7, java.net.URL p8, java.util.Map p9)
    {
        if (p7 < 5) {
            try {
                if ((p8 != null) && (p6.toURI().equals(p8.toURI()))) {
                    throw new java.io.IOException("In re-direct loop");
                }
            } catch (String v0) {
            }
            this.d = this.c.a(p6);
            String v2_0 = p9.entrySet().iterator();
            while (v2_0.hasNext()) {
                String v0_35 = ((java.util.Map$Entry) v2_0.next());
                this.d.addRequestProperty(((String) v0_35.getKey()), ((String) v0_35.getValue()));
            }
            String v0_29;
            this.d.setConnectTimeout(2500);
            this.d.setReadTimeout(2500);
            this.d.setUseCaches(0);
            this.d.setDoInput(1);
            this.d.connect();
            if (!this.f) {
                String v0_18 = this.d.getResponseCode();
                if ((v0_18 / 100) != 2) {
                    if ((v0_18 / 100) != 3) {
                        if (v0_18 != -1) {
                            throw new java.io.IOException(new StringBuilder().append("Request failed ").append(v0_18).append(": ").append(this.d.getResponseMessage()).toString());
                        } else {
                            throw new java.io.IOException("Unable to retrieve response code from HttpUrlConnection.");
                        }
                    } else {
                        String v0_27 = this.d.getHeaderField("Location");
                        if (!android.text.TextUtils.isEmpty(v0_27)) {
                            v0_29 = this.a(new java.net.URL(p6, v0_27), (p7 + 1), p6, p9);
                        } else {
                            throw new java.io.IOException("Received empty or null redirect url");
                        }
                    }
                } else {
                    v0_29 = this.a(this.d);
                }
            } else {
                v0_29 = 0;
            }
            return v0_29;
        } else {
            throw new java.io.IOException("Too many (> 5) redirects!");
        }
    }

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


    public org.apache.http.HttpResponse a(com.android.volley.Request p7, java.util.Map p8)
    {
        String v0_0;
        String v1_2 = p7.getUrl();
        org.apache.http.message.BasicHttpResponse v2_3 = new java.util.HashMap();
        v2_3.putAll(p7.getHeaders());
        v2_3.putAll(p8);
        if (this.a == null) {
            v0_0 = v1_2;
        } else {
            v0_0 = this.a.a(v1_2);
            if (v0_0 == null) {
                throw new java.io.IOException(new StringBuilder().append("URL blocked by rewriter: ").append(v1_2).toString());
            }
        }
        java.util.Iterator v3_0 = this.a(new java.net.URL(v0_0), p7);
        org.apache.http.message.BasicHeader v4_0 = v2_3.keySet().iterator();
        while (v4_0.hasNext()) {
            String v0_20 = ((String) v4_0.next());
            v3_0.addRequestProperty(v0_20, ((String) v2_3.get(v0_20)));
        }
        ark>com.android.volley.toolbox.gark>.a(v3_0, p7);
        String v0_5 = new org.apache.http.ProtocolVersion("HTTP", 1, 1);
        if (v3_0.getResponseCode() != -1) {
            org.apache.http.message.BasicHttpResponse v2_5 = new org.apache.http.message.BasicHttpResponse(new org.apache.http.message.BasicStatusLine(v0_5, v3_0.getResponseCode(), v3_0.getResponseMessage()));
            v2_5.setEntity(ark>com.android.volley.toolbox.gark>.a(v3_0));
            java.util.Iterator v3_1 = v3_0.getHeaderFields().entrySet().iterator();
            while (v3_1.hasNext()) {
                String v0_11 = ((java.util.Map$Entry) v3_1.next());
                if (v0_11.getKey() != null) {
                    v2_5.addHeader(new org.apache.http.message.BasicHeader(((String) v0_11.getKey()), ((String) ((java.util.List) v0_11.getValue()).get(0))));
                }
            }
            return v2_5;
        } else {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        }
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService.<init>() calling method java.net.URL.<init>()


    public AdobeNetworkHttpService(String p9, String p10, java.util.Map p11)
    {
        this._baseURL = 0;
        this._applicationName = 0;
        this._additionalHTTPHeaders = 0;
        this._numConcurrentRequests = 5;
        this._accessToken = 0;
        this._serviceDelegate = 0;
        this._requestExecutor = 0;
        this._recentErrorCount = 0;
        try {
            this._baseURL = new java.net.URL(p9);
        } catch (java.util.concurrent.atomic.AtomicInteger v0_3) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService.getName(), "Malformed url", v0_3);
        }
        this._applicationName = p10;
        this._additionalHTTPHeaders = p11;
        this._numConcurrentRequests = 5;
        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService._recentErrorThresholdToDisconnect = 5;
        this._recentErrorCount = new java.util.concurrent.atomic.AtomicInteger(0);
        this._requestExecutor = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequestExecutor(this._numConcurrentRequests, this._numConcurrentRequests, 100, java.util.concurrent.TimeUnit.MILLISECONDS, new java.util.concurrent.LinkedBlockingQueue());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTask.openConnection() calling method java.net.URL.<init>()


    protected java.net.URLConnection openConnection(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequest p4)
    {
        java.net.URL v0_0 = p4.getUrl();
        if ((p4.shouldAddClientId()) && ((p4.getRequestMethod() != com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequestMethod.AdobeNetworkHttpRequestMethodPOST) && (p4.getRequestMethod() != com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequestMethod.AdobeNetworkHttpRequestMethodPUT))) {
            p4.addQueryParameters("client_id", com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientId());
        }
        String v1_2 = p4.getQueryString();
        if ((v1_2 != null) && (!v1_2.isEmpty())) {
            if (!p4.getUrl().toString().contains("?")) {
                v0_0 = new java.net.URL(new StringBuilder().append(p4.getUrl()).append("?").append(p4.getQueryString()).toString());
            } else {
                v0_0 = new java.net.URL(new StringBuilder().append(p4.getUrl()).append("&").append(p4.getQueryString()).toString());
            }
        }
        java.net.URL v0_6 = v0_0.openConnection();
        this.setHttpRequestParameters(p4, v0_6);
        return v0_6;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getValidateTokenURL() calling method java.net.URL.<init>()


    java.net.URL getValidateTokenURL()
    {
        try {
            int v0_1 = new java.net.URL(new StringBuilder().append(this.imsHost).append("/ims/validate_token/v1").toString());
        } catch (int v0) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Invalid validate token url");
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getTokenURL() calling method java.net.URL.<init>()


    java.net.URL getTokenURL()
    {
        try {
            int v0_1 = new java.net.URL(new StringBuilder().append(this.imsHost).append("/ims/token/v1").toString());
        } catch (int v0_2) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Invalid token url", v0_2);
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSocialProviderURL() calling method java.net.URL.<init>()


    java.net.URL getSocialProviderURL()
    {
        try {
            int v0_1 = new java.net.URL(new StringBuilder().append(this.imsHost).append("/ims/social/providers/").toString());
        } catch (int v0_2) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Invalid social-provider url", v0_2);
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSignUpURL() calling method java.net.URL.<init>()


    public java.net.URL getSignUpURL()
    {
        java.net.MalformedURLException v0_17;
        String v3_9 = this.getAuthURL().toString();
        if (this.grantType != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType.AdobeAuthIMSGrantTypeAuthorization) {
            try {
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_4 = java.net.URLEncoder.encode(this.getDeviceID(), "UTF-8");
                java.net.MalformedURLException v0_8 = java.net.URLEncoder.encode(this.getDeviceName(), "UTF-8");
            } catch (java.net.MalformedURLException v0_9) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Error during encode process", v0_9);
                v0_8 = 0;
                v2_4 = 0;
            }
            v0_17 = new StringBuilder().append(v3_9).append("?redirect_uri=signin%3A%2F%2Fcomplete&scope=").append(this.clientScope).append("&idp_flow=create_account&force_marketing_permission=true&response_type=device&device_id=").append(v2_4).append("&device_name=").append(v0_8).append("&client_id=").append(this.getClientID()).append("&locale=").append(this.getCurrentLocale()).toString();
        } else {
            v0_17 = new StringBuilder().append(v3_9).append("?redirect_uri=signin%3A%2F%2Fcomplete&scope=").append(this.clientScope).append("&idp_flow=create_account&force_marketing_permission=true&client_id=").append(this.getClientID()).append("&locale=").append(this.getCurrentLocale()).toString();
        }
        if ((this.getClientState() == null) || (this.getClientState().equals(""))) {
            com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_3 = v0_17;
        } else {
            try {
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_1 = java.net.URLEncoder.encode(this.getClientState(), "UTF-8");
            } catch (com.adobe.creativesdk.foundation.internal.utils.logging.Level v2_2) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Error during encode process", v2_2);
                v2_1 = 0;
            }
            v2_3 = new StringBuilder().append(v0_17).append("&state=").append(v2_1).toString();
        }
        try {
            java.net.URL v1_1 = new java.net.URL(v2_3);
        } catch (java.net.MalformedURLException v0_6) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Malformed url", v0_6);
        }
        return v1_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSignOutURL() calling method java.net.URL.<init>()


    java.net.URL getSignOutURL()
    {
        try {
            int v0_18 = new java.net.URL(new StringBuilder().append(new StringBuilder().append(this.imsHost).append(this.getLogoutAPI()).toString()).append("?").append("access_token").append("=").append(this.accessToken).append("&").append("client_id").append("=").append(this.getClientID()).append("&").append("client_secret").append("=").append(this.getClientSecret()).toString());
        } catch (int v0_19) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Malformed exception", v0_19);
            v0_18 = 0;
        }
        return v0_18;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSignInURL() calling method java.net.URL.<init>()


    public java.net.URL getSignInURL()
    {
        java.net.MalformedURLException v0_17;
        String v3_9 = this.getAuthURL().toString();
        if (this.grantType != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType.AdobeAuthIMSGrantTypeAuthorization) {
            try {
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_4 = java.net.URLEncoder.encode(this.getDeviceID(), "UTF-8");
                java.net.MalformedURLException v0_8 = java.net.URLEncoder.encode(this.getDeviceName(), "UTF-8");
            } catch (java.net.MalformedURLException v0_9) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Error during encode", v0_9);
                v1_4 = "";
                v0_8 = "";
            }
            v0_17 = new StringBuilder().append(v3_9).append("?redirect_uri=signin%3A%2F%2Fcomplete&scope=").append(this.clientScope).append("&force_marketing_permission=true&idp_flow=login&response_type=device&device_id=").append(v1_4).append("&device_name=").append(v0_8).append("&client_id=").append(this.getClientID()).append("&dc=false&locale=").append(this.getCurrentLocale()).toString();
        } else {
            v0_17 = new StringBuilder().append(v3_9).append("?redirect_uri=signin%3A%2F%2Fcomplete&scope=").append(this.clientScope).append("&force_marketing_permission=true&idp_flow=login&client_id=").append(this.getClientID()).append("&dc=false&locale=").append(this.getCurrentLocale()).toString();
        }
        if ((this.getClientState() == null) || (this.getClientState().equals(""))) {
            com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_3 = v0_17;
        } else {
            try {
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_1 = java.net.URLEncoder.encode(this.getClientState(), "UTF-8");
            } catch (com.adobe.creativesdk.foundation.internal.utils.logging.Level v1_2) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Error during encode process", v1_2);
                v1_1 = 0;
            }
            v1_3 = new StringBuilder().append(v0_17).append("&state=").append(v1_1).toString();
        }
        try {
            java.net.URL v2_1 = new java.net.URL(v1_3);
        } catch (java.net.MalformedURLException v0_6) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Sign in url is malformed", v0_6);
        }
        return v2_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getFBLoginURL() calling method java.net.URL.<init>()


    java.net.URL getFBLoginURL()
    {
        try {
            int v0_1 = new java.net.URL(new StringBuilder().append(this.imsHost).append(this.getFBLoginAPI()).toString());
        } catch (int v0_2) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Invalid FB-login URL", v0_2);
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getDeviceURL() calling method java.net.URL.<init>()


    java.net.URL getDeviceURL()
    {
        try {
            int v0_1 = new java.net.URL(new StringBuilder().append(this.imsHost).append("/ims/login/v1/device").toString());
        } catch (int v0_2) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Invalid device url", v0_2);
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getAuthURL() calling method java.net.URL.<init>()


    java.net.URL getAuthURL()
    {
        try {
            int v0_1 = new java.net.URL(new StringBuilder().append(this.imsHost).append(this.getLoginAPI()).toString());
        } catch (int v0_2) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AuthIMS", "Invalid auth URL", v0_2);
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthContinuableEventActivity$AdobeAuthContinuableEventFragment.getLaodingURL() calling method java.net.URL.<init>()


    java.net.URL getLaodingURL()
    {
        try {
            int v0_1 = new java.net.URL(this._jumpURL);
        } catch (int v0_2) {
            v0_2.printStackTrace();
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.sendEvent() calling method java.net.URL.<init>()


    public com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpResponse sendEvent(String p7)
    {
        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpResponse v0_0 = 0;
        if (this.isAnalyticsEnabled) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.INFO, "ETSAnalytics", p7);
            try {
                com.adobe.creativesdk.foundation.internal.net.AdobeNetworkRequestPriority v1_2 = new java.net.URL(this.getEndpointURL());
            } catch (com.adobe.creativesdk.foundation.internal.net.AdobeNetworkRequestPriority v1_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v1_1.getMessage(), v1_1);
                v1_2 = 0;
            }
            if (v1_2 != null) {
                com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequest v2_2 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequest(v1_2, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequestMethod.AdobeNetworkHttpRequestMethodPOST, 0);
                v2_2.setRequestProperty("Content-Type", "application/json");
                v2_2.setRequestProperty("x-api-key", com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getClientID());
                v2_2.setRequestProperty("Authorization", new StringBuilder().append("Bearer ").append(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken()).toString());
                try {
                    com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpResponse v0_1 = p7.getBytes("UTF-8");
                } catch (com.adobe.creativesdk.foundation.internal.net.AdobeNetworkRequestPriority v1_12) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v1_12.getMessage(), v1_12);
                }
                v2_2.setBody(v0_1);
                v0_0 = this.networkService.getResponseForDataRequest(v2_2, com.adobe.creativesdk.foundation.internal.net.AdobeNetworkRequestPriority.NORMAL);
            }
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getUserProfileForToken() calling method java.net.URL.<init>()


    public com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle getUserProfileForToken(String p11, com.adobe.creativesdk.foundation.IAdobeGenericCompletionCallback p12, com.adobe.creativesdk.foundation.IAdobeGenericErrorCallback p13, android.os.Handler p14)
    {
        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpTaskHandle v8 = 0;
        org.json.JSONObject v7 = this.getUserProfileFromCache();
        if ((com.adobe.creativesdk.foundation.adobeinternal.net.AdobeNetworkReachabilityUtil.isOnline()) && (this.getService() != null)) {
            if ((v7 != null) || (!com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.getSharedAuthManager().isAuthenticated())) {
                com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$4 v5_0 = 0;
            } else {
                v5_0 = 1;
            }
            try {
                com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$4 v0_3 = new java.net.URL(com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getRelativeTo("/api/v2/profile", this.getService().baseURL().toString()));
            } catch (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$4 v0_4) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), 0, v0_4);
                v0_3 = 0;
            }
            com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequest v9_1 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequest();
            v9_1.setUrl(v0_3);
            v9_1.setRequestMethod(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpRequestMethod.AdobeNetworkHttpRequestMethodGET);
            v8 = this.getResponseFor(v9_1, v8, v8, new com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$4(this, p11, p12, p14, v5_0, p13, v7), p14);
        } else {
            if (v7 == null) {
                this.postResposeToErrorBlock(new com.adobe.creativesdk.foundation.network.AdobeNetworkException(com.adobe.creativesdk.foundation.network.AdobeNetworkException$AdobeNetworkErrorCode.AdobeNetworkErrorOffline), p13, p14);
            } else {
                this.postResponseToSuccessBlock(v7, p11, p12, p14);
            }
        }
        return v8;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint() calling method java.net.URL.<init>()


    private static com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint getServiceEndpoint()
    {
        int v0_0;
        int v2 = 0;
        switch (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$8.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_0 = "https://entitlements.adobe.io";
                try {
                    int v0_2 = new com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint(0, new java.net.URL(v0_0), com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceType.AdobeCloudServiceTypeEntitlement);
                } catch (int v0) {
                    v0_2 = 0;
                }
                v2 = v0_2;
                break;
            case 2:
            case 3:
                v0_0 = "https://entitlements-stage.adobe.io";
                break;
            default:
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), "An undefined authentication endpoint has been specified.");
        }
        return v2;
    }

Method com.adobe.creativesdk.aviary.internal.utils.DecodeUtils.openRemoteInputStream() calling method java.net.URL.<init>()


    static java.io.InputStream openRemoteInputStream(android.net.Uri p5)
    {
        try {
            java.net.URL v2_1 = new java.net.URL(p5.toString());
            try {
                String v0_0 = ((java.net.HttpURLConnection) v2_1.openConnection());
                v0_0.setInstanceFollowRedirects(0);
                try {
                    String v0_2;
                    int v3_1 = v0_0.getResponseCode();
                } catch (String v0_3) {
                    v0_3.printStackTrace();
                    v0_2 = 0;
                    return v0_2;
                }
                if ((v3_1 != 301) && ((v3_1 != 302) && (v3_1 != 303))) {
                    try {
                        v0_2 = ((java.io.InputStream) v2_1.getContent());
                    } catch (String v0_6) {
                        v0_6.printStackTrace();
                        v0_2 = 0;
                    }
                    return v0_2;
                } else {
                    v0_2 = com.adobe.creativesdk.aviary.internal.utils.DecodeUtils.openRemoteInputStream(android.net.Uri.parse(v0_0.getHeaderField("Location")));
                    return v0_2;
                }
            } catch (String v0_1) {
                v0_1.printStackTrace();
                v0_2 = 0;
                return v0_2;
            }
        } catch (String v0_9) {
            v0_9.printStackTrace();
            v0_2 = 0;
            return v0_2;
        }
    }

Method com.adobe.creativesdk.aviary.dialogs.FeedBackDialogFragment$4.call() calling method java.net.URL.<init>()


    public void call(rx.f p5)
    {
        android.util.Log.d("FeedBackDialog", "loadSurvey::call");
        Throwable v1_3 = 0;
        try {
        } catch (Boolean v0_11) {
            if (p5.isUnsubscribed()) {
                return;
            } else {
                p5.onError(v0_11);
                return;
            }
        }
        try {
            Boolean v0_2 = ((java.net.HttpURLConnection) new java.net.URL("https://s3.amazonaws.com/static-sites-aviary-prod-us-east-1/android-survey-redirect.html").openConnection());
            try {
                Throwable v1_1 = v0_2.getResponseCode();
            } catch (Throwable v1_4) {
                v1_3 = v0_2;
                Boolean v0_4 = v1_4;
                if (v1_3 != null) {
                    v1_3.disconnect();
                }
                throw v0_4;
            } catch (Throwable v1_2) {
                v1_3 = v0_2;
                Boolean v0_3 = v1_2;
                if (!p5.isUnsubscribed()) {
                    p5.onError(v0_3);
                }
                if (v1_3 == null) {
                    return;
                } else {
                    v1_3.disconnect();
                    return;
                }
            }
            if (v0_2 != null) {
                v0_2.disconnect();
            }
            if (p5.isUnsubscribed()) {
                return;
            } else {
                Boolean v0_8;
                if (v1_1 != 200) {
                    v0_8 = 0;
                } else {
                    v0_8 = 1;
                }
                p5.onNext(Boolean.valueOf(v0_8));
                p5.onCompleted();
                return;
            }
        } catch (Boolean v0_4) {
        } catch (Boolean v0_3) {
        }
    }

Method com.yandex.metrica.impl.ob.ff.a() calling method java.net.ServerSocket.<init>()


    java.net.ServerSocket a(int p2)
    {
        return new java.net.ServerSocket(p2);
    }

Method ru.yandex.searchlib.network.HttpRequestExecutor.a() calling method java.net.URL.<init>()


    public ru.yandex.searchlib.network.e a(ru.yandex.searchlib.network.d p11)
    {
        java.io.InputStream v1_0 = 0;
        long v4_0 = System.currentTimeMillis();
        try {
            String v2_5 = p11.a().toString();
            try {
                ru.yandex.searchlib.util.o.b("SearchLib:HttpRequestExecutor", new StringBuilder().append("execute request for: ").append(v2_5).toString());
                String v0_5 = ((java.net.HttpURLConnection) new java.net.URL(v2_5).openConnection());
                try {
                    if (this.a != -1) {
                        v0_5.setConnectTimeout(this.a);
                    }
                } catch (java.io.InputStream v1_2) {
                    v1_0 = v2_5;
                    String v2_0 = v0_5;
                    String v0_1 = v1_2;
                    if (v2_0 != null) {
                        v2_0.disconnect();
                    }
                    if (ru.yandex.searchlib.util.o.a()) {
                        ru.yandex.searchlib.util.o.b("SearchLib:HttpRequestExecutor", new StringBuilder().append("Finished request: ").append(v1_0).append(" in ").append((System.currentTimeMillis() - v4_0)).append(" ms").toString());
                    }
                    throw v0_1;
                }
                if (this.b != -1) {
                    v0_5.setReadTimeout(this.b);
                }
                v0_5.setRequestProperty("accept-encoding", "gzip");
                v0_5.setRequestMethod(p11.b());
                v0_5.connect();
                java.io.InputStream v1_14 = v0_5.getResponseCode();
                if (v1_14 != 200) {
                    throw new ark>ru.yandex.searchlib.network.HttpRequestExecutorark>$BadResponseCodeException(v1_14);
                } else {
                    java.io.InputStream v1_16 = this.a(v0_5, v0_5.getInputStream());
                    if (this.c != null) {
                        long v6_2 = this.c.iterator();
                        String v3_0 = v1_16;
                        while (v6_2.hasNext()) {
                            v3_0 = ((ru.yandex.searchlib.network.b) v6_2.next()).a(v0_5, v3_0);
                        }
                        v1_16 = v3_0;
                    }
                    java.io.InputStream v1_18 = p11.d().b(v1_16);
                    if (v0_5 != null) {
                        v0_5.disconnect();
                    }
                    if (ru.yandex.searchlib.util.o.a()) {
                        ru.yandex.searchlib.util.o.b("SearchLib:HttpRequestExecutor", new StringBuilder().append("Finished request: ").append(v2_5).append(" in ").append((System.currentTimeMillis() - v4_0)).append(" ms").toString());
                    }
                    return v1_18;
                }
            } catch (String v0_1) {
                v2_0 = 0;
                v1_0 = v2_5;
            }
        } catch (String v0_1) {
            v2_0 = 0;
        }
    }

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


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

Method ru.yandex.disk.remote.webdav.WebdavClient$d.<init>() calling method java.net.URL.<init>()


    public WebdavClient$d(String p3)
    {
        try {
            this.b = new java.net.URL(p3);
            return;
        } catch (java.net.MalformedURLException v0_2) {
            throw new RuntimeException(v0_2);
        }
    }