Info Call to dangerous WebView settings API

Description

List of all WebView methods used in the application.

Recommendation

If your application accesses sensitive data with a WebView, you may want to use the clearCache() method to delete any files stored locally.

Any URI received via an intent from outside a trust-boundary should be validated before rendering it with WebView

Technical details

Method org.apache.cordova.engine.SystemWebViewEngine.initWebViewSettings() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    private void initWebViewSettings()
    {
        this.webView.setInitialScale(0);
        this.webView.setVerticalScrollBarEnabled(0);
        android.webkit.WebSettings v9 = this.webView.getSettings();
        v9.setJavaScriptEnabled(1);
        v9.setJavaScriptCanOpenWindowsAutomatically(1);
        v9.setLayoutAlgorithm(android.webkit.WebSettings$LayoutAlgorithm.NORMAL);
        try {
            int v12_3 = new Class[1];
            v12_3[0] = Boolean.TYPE;
            reflect.Method v5 = android.webkit.WebSettings.getMethod("setNavDump", v12_3);
            org.apache.cordova.LOG.d("SystemWebViewEngine", new StringBuilder().append("CordovaWebView is running on device made by: ").append(android.os.Build.MANUFACTURER).toString());
        } catch (reflect.InvocationTargetException v4) {
            org.apache.cordova.LOG.d("SystemWebViewEngine", "We are on a modern version of Android, we will deprecate HTC 2.3 devices in 2.8");
            v9.setSaveFormData(0);
            v9.setSavePassword(0);
            if (android.os.Build$VERSION.SDK_INT >= 16) {
                v9.setAllowUniversalAccessFromFileURLs(1);
            }
            if (android.os.Build$VERSION.SDK_INT >= 17) {
                v9.setMediaPlaybackRequiresUserGesture(0);
            }
            String v2 = this.webView.getContext().getApplicationContext().getDir("database", 0).getPath();
            v9.setDatabaseEnabled(1);
            v9.setDatabasePath(v2);
            if (((this.webView.getContext().getApplicationContext().getApplicationInfo().flags & 2) != 0) && (android.os.Build$VERSION.SDK_INT >= 19)) {
                this.enableRemoteDebugging();
            }
            v9.setGeolocationDatabasePath(v2);
            v9.setDomStorageEnabled(1);
            v9.setGeolocationEnabled(1);
            v9.setAppCacheMaxSize(5242880);
            v9.setAppCachePath(v2);
            v9.setAppCacheEnabled(1);
            String v3 = v9.getUserAgentString();
            String v8 = this.preferences.getString("OverrideUserAgent", 0);
            if (v8 == null) {
                String v1 = this.preferences.getString("AppendUserAgent", 0);
                if (v1 != null) {
                    v9.setUserAgentString(new StringBuilder().append(v3).append(" ").append(v1).toString());
                }
            } else {
                v9.setUserAgentString(v8);
            }
            android.content.IntentFilter v6_1 = new android.content.IntentFilter();
            v6_1.addAction("android.intent.action.CONFIGURATION_CHANGED");
            if (this.receiver == null) {
                this.receiver = new org.apache.cordova.engine.SystemWebViewEngine$2(this, v9);
                this.webView.getContext().registerReceiver(this.receiver, v6_1);
            }
            return;
        } catch (reflect.InvocationTargetException v4) {
            org.apache.cordova.LOG.d("SystemWebViewEngine", "Doing the NavDump failed with bad arguments");
        } catch (reflect.InvocationTargetException v4) {
            org.apache.cordova.LOG.d("SystemWebViewEngine", "This should never happen: IllegalAccessException means this isn\'t Android anymore");
        } catch (reflect.InvocationTargetException v4) {
            org.apache.cordova.LOG.d("SystemWebViewEngine", "This should never happen: InvocationTargetException means this isn\'t Android anymore.");
        }
        if ((android.os.Build$VERSION.SDK_INT >= 11) || (!android.os.Build.MANUFACTURER.contains("HTC"))) {
        } else {
            android.content.Context v10_32 = new Object[1];
            v10_32[0] = Boolean.valueOf(1);
            v5.invoke(v9, v10_32);
        }
    }

Method bolts.WebViewAppLinkResolver$2.then() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public bolts.Task then(bolts.Task p8)
    {
        int v4 = 0;
        bolts.TaskCompletionSource v6_1 = new bolts.TaskCompletionSource();
        android.webkit.WebView v0_1 = new android.webkit.WebView(bolts.WebViewAppLinkResolver.access$200(this.this$0));
        v0_1.getSettings().setJavaScriptEnabled(1);
        v0_1.setNetworkAvailable(0);
        v0_1.setWebViewClient(new bolts.WebViewAppLinkResolver$2$1(this));
        v0_1.addJavascriptInterface(new bolts.WebViewAppLinkResolver$2$2(this, v6_1), "boltsWebViewAppLinkResolverResult");
        String v3 = 0;
        if (this.val$contentType.get() != null) {
            v3 = ((String) this.val$contentType.get()).split(";")[0];
        }
        v0_1.loadDataWithBaseURL(this.val$url.toString(), ((String) this.val$content.get()), v3, v4, v4);
        return v6_1.getTask();
    }

Method com.facebook.internal.WebDialog.setUpWebView() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    private void setUpWebView(int p8)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext().getApplicationContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p8, p8, p8, p8);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

Method com.facebook.FacebookActivity.handlePassThroughUrl() calling method android.net.Uri.parse()


    private void handlePassThroughUrl(String p12)
    {
        if ((p12 != null) && (p12.startsWith(com.facebook.FacebookActivity.getRedirectUrl()))) {
            android.net.Uri v6 = android.net.Uri.parse(p12);
            android.os.Bundle v7 = com.facebook.internal.Utility.parseUrlQueryString(v6.getQuery());
            v7.putAll(com.facebook.internal.Utility.parseUrlQueryString(v6.getFragment()));
            if ((!(this.singleFragment instanceof com.facebook.login.LoginFragment)) || (!((com.facebook.login.LoginFragment) this.singleFragment).validateChallengeParam(v7))) {
                this.sendResult(0, new com.facebook.FacebookException("Invalid state parameter"));
            }
            String v0 = v7.getString("error");
            if (v0 == null) {
                v0 = v7.getString("error_type");
            }
            String v3 = v7.getString("error_msg");
            if (v3 == null) {
                v3 = v7.getString("error_message");
            }
            if (v3 == null) {
                v3 = v7.getString("error_description");
            }
            String v2 = v7.getString("error_code");
            int v1 = -1;
            if (!com.facebook.internal.Utility.isNullOrEmpty(v2)) {
                try {
                    v1 = Integer.parseInt(v2);
                } catch (NumberFormatException v4) {
                    v1 = -1;
                }
            }
            if ((!com.facebook.internal.Utility.isNullOrEmpty(v0)) || ((!com.facebook.internal.Utility.isNullOrEmpty(v3)) || (v1 != -1))) {
                if ((v0 == null) || ((!v0.equals("access_denied")) && (!v0.equals("OAuthAccessDeniedException")))) {
                    if (v1 != 4201) {
                        this.sendResult(0, new com.facebook.FacebookServiceException(new com.facebook.FacebookRequestError(v1, v0, v3), v3));
                    } else {
                        this.sendResult(0, new com.facebook.FacebookOperationCanceledException());
                    }
                } else {
                    this.sendResult(0, new com.facebook.FacebookOperationCanceledException());
                }
            } else {
                this.sendResult(v7, 0);
            }
        }
        return;
    }

Method android.support.v7.widget.SuggestionsAdapter.getDrawableFromResourceValue() calling method android.net.Uri.parse()


    private android.graphics.drawable.Drawable getDrawableFromResourceValue(String p10)
    {
        if ((p10 != null) && ((!p10.isEmpty()) && (!"0".equals(p10)))) {
            try {
                int v3 = Integer.parseInt(p10);
                String v1 = new StringBuilder().append("android.resource://").append(this.mProviderContext.getPackageName()).append("/").append(v3).toString();
                android.graphics.drawable.Drawable v0 = this.checkIconCache(v1);
            } catch (android.content.res.Resources$NotFoundException v2) {
                android.util.Log.w("SuggestionsAdapter", new StringBuilder().append("Icon resource not found: ").append(p10).toString());
                v0 = 0;
            } catch (android.content.res.Resources$NotFoundException v2) {
                v0 = this.checkIconCache(p10);
                if (v0 == null) {
                    v0 = this.getDrawable(android.net.Uri.parse(p10));
                    this.storeInIconCache(p10, v0);
                }
            }
            if (v0 == null) {
                v0 = android.support.v4.content.ContextCompat.getDrawable(this.mProviderContext, v3);
                this.storeInIconCache(v1, v0);
            }
        } else {
            v0 = 0;
        }
        return v0;
    }

Method android.support.v4.widget.SimpleCursorAdapter.setViewImage() calling method android.net.Uri.parse()


    public void setViewImage(android.widget.ImageView p3, String p4)
    {
        try {
            p3.setImageResource(Integer.parseInt(p4));
        } catch (NumberFormatException v0) {
            p3.setImageURI(android.net.Uri.parse(p4));
        }
        return;
    }

Method com.google.android.gms.common.images.WebImage.zza() calling method android.net.Uri.parse()


    private static android.net.Uri zza(org.json.JSONObject p2)
    {
        android.net.Uri v0 = 0;
        if (p2.has("url")) {
            try {
                v0 = android.net.Uri.parse(p2.getString("url"));
            } catch (org.json.JSONException v1) {
            }
        }
        return v0;
    }

Method com.google.android.gms.common.data.DataHolder.parseUri() calling method android.net.Uri.parse()


    public final android.net.Uri parseUri(String p2, int p3, int p4)
    {
        android.net.Uri v0_1;
        android.net.Uri v0_0 = this.getString(p2, p3, p4);
        if (v0_0 != null) {
            v0_1 = android.net.Uri.parse(v0_0);
        } else {
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.google.android.gms.auth.api.signin.GoogleSignInAccount.fromJsonString() calling method android.net.Uri.parse()


    public static com.google.android.gms.auth.api.signin.GoogleSignInAccount fromJsonString(String p14)
    {
        com.google.android.gms.auth.api.signin.GoogleSignInAccount v10 = 0;
        if (!android.text.TextUtils.isEmpty(p14)) {
            int v6;
            org.json.JSONObject v11_1 = new org.json.JSONObject(p14);
            com.google.android.gms.auth.api.signin.GoogleSignInAccount v0_9 = v11_1.optString("photoUrl", 0);
            if (android.text.TextUtils.isEmpty(v0_9)) {
                v6 = 0;
            } else {
                v6 = android.net.Uri.parse(v0_9);
            }
            long v12 = Long.parseLong(v11_1.getString("expirationTime"));
            java.util.HashSet v9_1 = new java.util.HashSet();
            String v1_1 = v11_1.getJSONArray("grantedScopes");
            String v2_0 = v1_1.length();
            com.google.android.gms.auth.api.signin.GoogleSignInAccount v0_4 = 0;
            while (v0_4 < v2_0) {
                v9_1.add(new com.google.android.gms.common.api.Scope(v1_1.getString(v0_4)));
                v0_4++;
            }
            v10 = com.google.android.gms.auth.api.signin.GoogleSignInAccount.create(v11_1.optString("id"), v11_1.optString("tokenId", 0), v11_1.optString("email", 0), v11_1.optString("displayName", 0), v11_1.optString("givenName", 0), v11_1.optString("familyName", 0), v6, Long.valueOf(v12), v11_1.getString("obfuscatedIdentifier"), v9_1).setServerAuthCode(v11_1.optString("serverAuthCode", 0));
        }
        return v10;
    }

Method org.apache.cordova.filetransfer.FileTransfer.upload() calling method android.net.Uri.parse()


    private void upload(String p24, String p25, org.json.JSONArray p26, org.apache.cordova.CallbackContext p27)
    {
        org.json.JSONObject v12_0;
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("upload ").append(p24).append(" to ").append(p25).toString());
        String v13 = org.apache.cordova.filetransfer.FileTransfer.getArgument(p26, 2, "file");
        String v14 = org.apache.cordova.filetransfer.FileTransfer.getArgument(p26, 3, "image.jpg");
        String v15 = org.apache.cordova.filetransfer.FileTransfer.getArgument(p26, 4, "image/jpeg");
        if (p26.optJSONObject(5) != null) {
            v12_0 = p26.optJSONObject(5);
        } else {
            v12_0 = new org.json.JSONObject();
        }
        if ((!p26.optBoolean(7)) && (!p26.isNull(7))) {
            int v16 = 0;
        } else {
            v16 = 1;
        }
        org.json.JSONObject v10;
        if (p26.optJSONObject(8) != null) {
            v10 = p26.optJSONObject(8);
        } else {
            v10 = v12_0.optJSONObject("headers");
        }
        int v17;
        String v18 = p26.getString(9);
        String v9 = org.apache.cordova.filetransfer.FileTransfer.getArgument(p26, 10, "POST");
        Integer v7_1 = this.webView.getResourceApi();
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("fileKey: ").append(v13).toString());
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("fileName: ").append(v14).toString());
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("mimeType: ").append(v15).toString());
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("params: ").append(v12_0).toString());
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("chunkedMode: ").append(v16).toString());
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("headers: ").append(v10).toString());
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("objectId: ").append(v18).toString());
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("httpMethod: ").append(v9).toString());
        android.net.Uri v20 = v7_1.remapUri(android.net.Uri.parse(p25));
        int v21 = org.apache.cordova.CordovaResourceApi.getUriType(v20);
        if (v21 != 6) {
            v17 = 0;
        } else {
            v17 = 1;
        }
        if ((v21 == 5) || (v17 != 0)) {
            String v5_1 = new org.apache.cordova.filetransfer.FileTransfer$RequestContext(p24, p25, p27);
            org.apache.cordova.filetransfer.FileTransfer.activeRequests.put(v18, v5_1);
            this.cordova.getThreadPool().execute(new org.apache.cordova.filetransfer.FileTransfer$1(this, v5_1, p24, v7_1, v20, v9, v10, p25, v12_0, v13, v14, v15, v16, v17, v18));
        } else {
            org.json.JSONObject v19 = org.apache.cordova.filetransfer.FileTransfer.createFileTransferError(org.apache.cordova.filetransfer.FileTransfer.INVALID_URL_ERR, p24, p25, 0, Integer.valueOf(0), 0);
            org.apache.cordova.LOG.e("FileTransfer", new StringBuilder().append("Unsupported URI: ").append(v20).toString());
            p27.sendPluginResult(new org.apache.cordova.PluginResult(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, v19));
        }
        return;
    }

Method org.apache.cordova.filetransfer.FileTransfer.download() calling method android.net.Uri.parse()


    private void download(String p25, String p26, org.json.JSONArray p27, org.apache.cordova.CallbackContext p28)
    {
        int v21;
        org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("download ").append(p25).append(" to ").append(p26).toString());
        Integer v7_2 = this.webView.getResourceApi();
        String v12 = p27.getString(3);
        org.json.JSONObject v10 = p27.optJSONObject(4);
        android.net.Uri v19 = v7_2.remapUri(android.net.Uri.parse(p25));
        int v20 = org.apache.cordova.CordovaResourceApi.getUriType(v19);
        if (v20 != 6) {
            v21 = 0;
        } else {
            v21 = 1;
        }
        if ((v21 != 0) || (v20 == 5)) {
            int v9 = 0;
        } else {
            v9 = 1;
        }
        if (v20 != -1) {
            Boolean v18 = 0;
            if (v9 != 0) {
                v18 = Boolean.valueOf(1);
            }
            if (v18 == null) {
                try {
                    String v6_10 = new Class[0];
                    org.apache.cordova.filetransfer.FileTransfer v4_28 = new Object[0];
                    v18 = Boolean.valueOf(((org.apache.cordova.Whitelist) this.webView.getClass().getMethod("getWhitelist", v6_10).invoke(this.webView, v4_28)).isUrlWhiteListed(p25));
                } catch (Throwable v3) {
                } catch (Throwable v3) {
                } catch (Throwable v3) {
                }
            }
            if (v18 == null) {
                try {
                    String v6_12 = new Class[0];
                    org.apache.cordova.filetransfer.FileTransfer v4_32 = new Object[0];
                    org.apache.cordova.PluginManager v16_1 = ((org.apache.cordova.PluginManager) this.webView.getClass().getMethod("getPluginManager", v6_12).invoke(this.webView, v4_32));
                    Throwable v3_34 = v16_1.getClass();
                    String v6_1 = new Class[1];
                    v6_1[0] = String;
                    reflect.Method v17 = v3_34.getMethod("shouldAllowRequest", v6_1);
                    Throwable v3_2 = new Object[1];
                    v3_2[0] = p25;
                    v18 = ((Boolean) v17.invoke(v16_1, v3_2));
                } catch (Throwable v3) {
                } catch (Throwable v3) {
                } catch (Throwable v3) {
                }
            }
            if (Boolean.TRUE.equals(v18)) {
                org.apache.cordova.filetransfer.FileTransfer$RequestContext v5_1 = new org.apache.cordova.filetransfer.FileTransfer$RequestContext(p25, p26, p28);
                org.apache.cordova.filetransfer.FileTransfer.activeRequests.put(v12, v5_1);
                this.cordova.getThreadPool().execute(new org.apache.cordova.filetransfer.FileTransfer$2(this, v5_1, p26, v7_2, v19, v9, v10, p25, v12));
            } else {
                org.apache.cordova.LOG.w("FileTransfer", new StringBuilder().append("Source URL is not in white list: \'").append(p25).append("\'").toString());
                p28.sendPluginResult(new org.apache.cordova.PluginResult(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, org.apache.cordova.filetransfer.FileTransfer.createFileTransferError(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, p25, p26, 0, Integer.valueOf(401), 0)));
            }
        } else {
            org.json.JSONObject v13_1 = org.apache.cordova.filetransfer.FileTransfer.createFileTransferError(org.apache.cordova.filetransfer.FileTransfer.INVALID_URL_ERR, p25, p26, 0, Integer.valueOf(0), 0);
            org.apache.cordova.LOG.e("FileTransfer", new StringBuilder().append("Unsupported URI: ").append(v19).toString());
            p28.sendPluginResult(new org.apache.cordova.PluginResult(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, v13_1));
        }
        return;
    }

Method org.apache.cordova.file.FileUtils.remapUri() calling method android.net.Uri.parse()


    public android.net.Uri remapUri(android.net.Uri p8)
    {
        android.net.Uri v4 = 0;
        if ("cdvfile".equals(p8.getScheme())) {
            try {
                org.apache.cordova.file.LocalFilesystemURL v2 = org.apache.cordova.file.LocalFilesystemURL.parse(p8);
                org.apache.cordova.file.Filesystem v1 = this.filesystemForURL(v2);
            } catch (IllegalArgumentException v0) {
            }
            if ((v1 != null) && (v1.filesystemPathForURL(v2) != null)) {
                v4 = android.net.Uri.parse(new StringBuilder().append("file://").append(v1.filesystemPathForURL(v2)).toString());
            }
        }
        return v4;
    }

Method org.apache.cordova.file.FileUtils.resolveLocalFileSystemURI() calling method android.net.Uri.parse()


    private org.json.JSONObject resolveLocalFileSystemURI(String p9)
    {
        if (p9 != null) {
            android.net.Uri v5 = android.net.Uri.parse(p9);
            int v3 = 0;
            org.apache.cordova.file.LocalFilesystemURL v2 = org.apache.cordova.file.LocalFilesystemURL.parse(v5);
            if (v2 == null) {
                v2 = this.resolveNativeUri(v5);
                v3 = 1;
            }
            try {
                org.apache.cordova.file.Filesystem v1 = this.filesystemForURL(v2);
            } catch (IllegalArgumentException v0) {
                java.net.MalformedURLException v4_1 = new java.net.MalformedURLException("Unrecognized filesystem URL");
                v4_1.initCause(v0);
                throw v4_1;
            }
            if (v1 != null) {
                if (!v1.exists(v2)) {
                    throw new java.io.FileNotFoundException();
                } else {
                    if (v3 == 0) {
                        v2 = v1.toLocalUri(v1.toNativeUri(v2));
                    }
                    return v1.getEntryForLocalURL(v2);
                }
            } else {
                throw new java.net.MalformedURLException("No installed handlers for this URL");
            }
        } else {
            throw new java.net.MalformedURLException("Unrecognized filesystem URL");
        }
    }

Method org.apache.cordova.file.ContentFilesystem.toNativeUri() calling method android.net.Uri.parse()


    public android.net.Uri toNativeUri(org.apache.cordova.file.LocalFilesystemURL p7)
    {
        android.net.Uri v4_19;
        String v0 = p7.uri.getEncodedPath().substring((this.name.length() + 2));
        if (v0.length() >= 2) {
            String v3 = new StringBuilder().append("content://").append(v0).toString();
            String v2 = p7.uri.getEncodedQuery();
            if (v2 != null) {
                v3 = new StringBuilder().append(v3).append(63).append(v2).toString();
            }
            String v1 = p7.uri.getEncodedFragment();
            if (v1 != null) {
                v3 = new StringBuilder().append(v3).append(35).append(v1).toString();
            }
            v4_19 = android.net.Uri.parse(v3);
        } else {
            v4_19 = 0;
        }
        return v4_19;
    }

Method org.apache.cordova.file.ContentFilesystem.<init>() calling method android.net.Uri.parse()


    public ContentFilesystem(android.content.Context p3, org.apache.cordova.CordovaResourceApi p4)
    {
        super(android.net.Uri.parse("content://"), "content", p4);
        super.context = p3;
        return;
    }

Method org.apache.cordova.file.AssetFilesystem.<init>() calling method android.net.Uri.parse()


    public AssetFilesystem(android.content.res.AssetManager p3, org.apache.cordova.CordovaResourceApi p4)
    {
        super(android.net.Uri.parse("file:///android_asset/"), "assets", p4);
        super.assetManager = p3;
        return;
    }

Method org.apache.cordova.facebook.ConnectPlugin.executeDialog() calling method android.net.Uri.parse()


    private void executeDialog(org.json.JSONArray p25, org.apache.cordova.CallbackContext p26)
    {
        java.util.HashMap v19_1 = new java.util.HashMap();
        String v14 = 0;
        try {
            org.json.JSONObject v18_0 = p25.getJSONObject(0);
        } catch (IllegalArgumentException v8) {
            v18_0 = new org.json.JSONObject();
        }
        java.util.Iterator v10 = v18_0.keys();
        while (v10.hasNext()) {
            String v13_3 = ((String) v10.next());
            if (!v13_3.equals("method")) {
                try {
                    v19_1.put(v13_3, v18_0.getString(v13_3));
                } catch (IllegalArgumentException v8) {
                    android.util.Log.w("ConnectPlugin", "Non-string parameter provided to dialog discarded");
                }
            } else {
                try {
                    v14 = v18_0.getString(v13_3);
                } catch (IllegalArgumentException v8) {
                    android.util.Log.w("ConnectPlugin", "Nonstring method parameter provided to dialog");
                }
            }
        }
        if (v14 != null) {
            if (!v14.equalsIgnoreCase("apprequests")) {
                if ((!v14.equalsIgnoreCase("share")) && (!v14.equalsIgnoreCase("feed"))) {
                    if (!v14.equalsIgnoreCase("share_open_graph")) {
                        if (!v14.equalsIgnoreCase("send")) {
                            p26.error("Unsupported dialog method.");
                        } else {
                            if (com.facebook.share.widget.MessageDialog.canShow(com.facebook.share.model.ShareLinkContent)) {
                                this.showDialogContext = p26;
                                org.apache.cordova.PluginResult v20_3 = new org.apache.cordova.PluginResult;
                                v20_3(org.apache.cordova.PluginResult$Status.NO_RESULT);
                                v20_3.setKeepCallback(1);
                                this.showDialogContext.sendPluginResult(v20_3);
                                com.facebook.share.model.ShareLinkContent$Builder v6_3 = new com.facebook.share.model.ShareLinkContent$Builder();
                                if (v19_1.containsKey("link")) {
                                    v6_3.setContentUrl(android.net.Uri.parse(((String) v19_1.get("link"))));
                                }
                                if (v19_1.containsKey("caption")) {
                                    v6_3.setContentTitle(((String) v19_1.get("caption")));
                                }
                                if (v19_1.containsKey("picture")) {
                                    v6_3.setImageUrl(android.net.Uri.parse(((String) v19_1.get("picture"))));
                                }
                                if (v19_1.containsKey("description")) {
                                    v6_3.setContentDescription(((String) v19_1.get("description")));
                                }
                                this.messageDialog.show(v6_3.build());
                            } else {
                                p26.error("Cannot show dialog");
                            }
                        }
                    } else {
                        if (com.facebook.share.widget.ShareDialog.canShow(com.facebook.share.model.ShareOpenGraphContent)) {
                            this.showDialogContext = p26;
                            org.apache.cordova.PluginResult v20_0 = new org.apache.cordova.PluginResult;
                            v20_0(org.apache.cordova.PluginResult$Status.NO_RESULT);
                            v20_0.setKeepCallback(1);
                            this.showDialogContext.sendPluginResult(v20_0);
                            if (!v19_1.containsKey("action")) {
                                p26.error("Missing required parameter \'action\'");
                            }
                            if (!v19_1.containsKey("object")) {
                                p26.error("Missing required parameter \'object\'.");
                            }
                            com.facebook.share.model.ShareOpenGraphObject$Builder v15_1 = new com.facebook.share.model.ShareOpenGraphObject$Builder();
                            org.json.JSONObject v12_1 = new org.json.JSONObject(((String) v19_1.get("object")));
                            java.util.Iterator v16 = v12_1.keys();
                            String v17 = "";
                            while (v16.hasNext()) {
                                String v13_1 = ((String) v16.next());
                                String v21 = v12_1.getString(v13_1);
                                v15_1.putString(v13_1, v21);
                                if (v13_1.equals("og:type")) {
                                    v17 = v21;
                                }
                            }
                            if (v17.equals("")) {
                                p26.error("Missing required object parameter \'og:type\'");
                            }
                            com.facebook.share.model.ShareOpenGraphAction$Builder v2_1 = new com.facebook.share.model.ShareOpenGraphAction$Builder();
                            v2_1.setActionType(((String) v19_1.get("action")));
                            if (v19_1.containsKey("action_properties")) {
                                org.json.JSONObject v11_1 = new org.json.JSONObject(((String) v19_1.get("action_properties")));
                                java.util.Iterator v4 = v11_1.keys();
                                while (v4.hasNext()) {
                                    String v3_1 = ((String) v4.next());
                                    v2_1.putString(v3_1, v11_1.getString(v3_1));
                                }
                            }
                            v2_1.putObject(v17, v15_1.build());
                            this.shareDialog.show(new com.facebook.share.model.ShareOpenGraphContent$Builder().setPreviewPropertyName(v17).setAction(v2_1.build()).build());
                        } else {
                            p26.error("Cannot show dialog");
                        }
                    }
                } else {
                    if (com.facebook.share.widget.ShareDialog.canShow(com.facebook.share.model.ShareLinkContent)) {
                        this.showDialogContext = p26;
                        org.apache.cordova.PluginResult v20_1 = new org.apache.cordova.PluginResult;
                        v20_1(org.apache.cordova.PluginResult$Status.NO_RESULT);
                        v20_1.setKeepCallback(1);
                        this.showDialogContext.sendPluginResult(v20_1);
                        com.facebook.share.model.ShareOpenGraphContent$Builder v7_1 = this.buildContent(v19_1);
                        this.cordova.setActivityResultCallback(this);
                        this.shareDialog.show(v7_1);
                    } else {
                        p26.error("Cannot show dialog");
                    }
                }
            } else {
                if (com.facebook.share.widget.GameRequestDialog.canShow()) {
                    this.showDialogContext = p26;
                    org.apache.cordova.PluginResult v20_2 = new org.apache.cordova.PluginResult;
                    v20_2(org.apache.cordova.PluginResult$Status.NO_RESULT);
                    v20_2.setKeepCallback(1);
                    this.showDialogContext.sendPluginResult(v20_2);
                    com.facebook.share.model.ShareLinkContent$Builder v6_1 = new com.facebook.share.model.GameRequestContent$Builder();
                    if (v19_1.containsKey("message")) {
                        v6_1.setMessage(((String) v19_1.get("message")));
                    }
                    if (v19_1.containsKey("to")) {
                        v6_1.setTo(((String) v19_1.get("to")));
                    }
                    if (v19_1.containsKey("data")) {
                        v6_1.setData(((String) v19_1.get("data")));
                    }
                    if (v19_1.containsKey("title")) {
                        v6_1.setTitle(((String) v19_1.get("title")));
                    }
                    if (v19_1.containsKey("objectId")) {
                        v6_1.setObjectId(((String) v19_1.get("objectId")));
                    }
                    if (v19_1.containsKey("actionType")) {
                        try {
                            v6_1.setActionType(com.facebook.share.model.GameRequestContent$ActionType.valueOf(((String) v19_1.get("actionType"))));
                        } catch (IllegalArgumentException v8) {
                            android.util.Log.w("ConnectPlugin", "Discarding invalid argument actionType");
                        }
                    }
                    if (v19_1.containsKey("filters")) {
                        try {
                            v6_1.setFilters(com.facebook.share.model.GameRequestContent$Filters.valueOf(((String) v19_1.get("filters"))));
                        } catch (IllegalArgumentException v8) {
                            android.util.Log.w("ConnectPlugin", "Discarding invalid argument filters");
                        }
                    }
                    this.cordova.setActivityResultCallback(this);
                    this.gameRequestDialog.show(v6_1.build());
                } else {
                    p26.error("Cannot show dialog");
                }
            }
        } else {
            p26.error("No method provided");
        }
        return;
    }

Method org.apache.cordova.facebook.ConnectPlugin.buildContent() calling method android.net.Uri.parse()


    private com.facebook.share.model.ShareLinkContent buildContent(java.util.Map p3)
    {
        com.facebook.share.model.ShareLinkContent$Builder v0_1 = new com.facebook.share.model.ShareLinkContent$Builder();
        if (p3.containsKey("href")) {
            v0_1.setContentUrl(android.net.Uri.parse(((String) p3.get("href"))));
        }
        if (p3.containsKey("caption")) {
            v0_1.setContentTitle(((String) p3.get("caption")));
        }
        if (p3.containsKey("description")) {
            v0_1.setContentDescription(((String) p3.get("description")));
        }
        if (p3.containsKey("link")) {
            v0_1.setContentUrl(android.net.Uri.parse(((String) p3.get("link"))));
        }
        if (p3.containsKey("picture")) {
            v0_1.setImageUrl(android.net.Uri.parse(((String) p3.get("picture"))));
        }
        if (p3.containsKey("quote")) {
            v0_1.setQuote(((String) p3.get("quote")));
        }
        return v0_1.build();
    }

Method org.apache.cordova.camera.CameraLauncher.onRestoreStateForActivityResult() calling method android.net.Uri.parse()


    public void onRestoreStateForActivityResult(android.os.Bundle p3, org.apache.cordova.CallbackContext p4)
    {
        this.destType = p3.getInt("destType");
        this.srcType = p3.getInt("srcType");
        this.mQuality = p3.getInt("mQuality");
        this.targetWidth = p3.getInt("targetWidth");
        this.targetHeight = p3.getInt("targetHeight");
        this.encodingType = p3.getInt("encodingType");
        this.mediaType = p3.getInt("mediaType");
        this.numPics = p3.getInt("numPics");
        this.allowEdit = p3.getBoolean("allowEdit");
        this.correctOrientation = p3.getBoolean("correctOrientation");
        this.saveToPhotoAlbum = p3.getBoolean("saveToPhotoAlbum");
        if (p3.containsKey("croppedUri")) {
            this.croppedUri = android.net.Uri.parse(p3.getString("croppedUri"));
        }
        if (p3.containsKey("imageUri")) {
            this.imageUri = new org.apache.cordova.camera.CordovaUri(android.net.Uri.parse(p3.getString("imageUri")));
        }
        this.callbackContext = p4;
        return;
    }

Method org.apache.cordova.camera.CameraLauncher.checkForDuplicateImage() calling method android.net.Uri.parse()


    private void checkForDuplicateImage(int p10)
    {
        int v3 = 1;
        android.net.Uri v0 = this.whichContentStore();
        android.database.Cursor v2 = this.queryImgDB(v0);
        int v1 = v2.getCount();
        if ((p10 == 1) && (this.saveToPhotoAlbum)) {
            v3 = 2;
        }
        if ((v1 - this.numPics) == v3) {
            v2.moveToLast();
            int v4 = Integer.valueOf(v2.getString(v2.getColumnIndex("_id"))).intValue();
            if (v3 == 2) {
                v4--;
            }
            this.cordova.getActivity().getContentResolver().delete(android.net.Uri.parse(new StringBuilder().append(v0).append("/").append(v4).toString()), 0, 0);
            v2.close();
        }
        return;
    }

Method org.apache.cordova.CordovaWebViewImpl.showWebPage() calling method android.net.Uri.parse()


    public void showWebPage(String p10, boolean p11, boolean p12, java.util.Map p13)
    {
        String v5_2 = new Object[3];
        v5_2[0] = p10;
        v5_2[1] = Boolean.valueOf(p11);
        v5_2[2] = Boolean.valueOf(p12);
        org.apache.cordova.LOG.d("CordovaWebViewImpl", "showWebPage(%s, %b, %b, HashMap)", v5_2);
        if (p12) {
            this.engine.clearHistory();
        }
        if (!p11) {
            if (!this.pluginManager.shouldAllowNavigation(p10)) {
                org.apache.cordova.LOG.w("CordovaWebViewImpl", new StringBuilder().append("showWebPage: Refusing to load URL into webview since it is not in the <allow-navigation> whitelist. URL=").append(p10).toString());
            } else {
                this.loadUrlIntoView(p10, 1);
            }
        }
        if (this.pluginManager.shouldOpenExternalUrl(p10).booleanValue()) {
            try {
                android.content.Intent v1_1 = new android.content.Intent("android.intent.action.VIEW");
                v1_1.addCategory("android.intent.category.BROWSABLE");
                android.net.Uri v2 = android.net.Uri.parse(p10);
            } catch (android.content.ActivityNotFoundException v0) {
                org.apache.cordova.LOG.e("CordovaWebViewImpl", new StringBuilder().append("Error loading url ").append(p10).toString(), v0);
            }
            if (!"file".equals(v2.getScheme())) {
                v1_1.setData(v2);
            } else {
                v1_1.setDataAndType(v2, this.resourceApi.getMimeType(v2));
            }
            this.cordova.getActivity().startActivity(v1_1);
        } else {
            org.apache.cordova.LOG.w("CordovaWebViewImpl", new StringBuilder().append("showWebPage: Refusing to send intent for URL since it is not in the <allow-intent> whitelist. URL=").append(p10).toString());
        }
        return;
    }

Method me.leolin.shortcutbadger.impl.SamsungHomeBadger.executeBadge() calling method android.net.Uri.parse()


    public void executeBadge(android.content.Context p13, android.content.ComponentName p14, int p15)
    {
        android.net.Uri v1 = android.net.Uri.parse("content://com.sec.badge/apps?notify=true");
        android.content.ContentResolver v0 = p13.getContentResolver();
        try {
            int v4_2 = new String[1];
            v4_2[0] = p14.getPackageName();
            android.database.Cursor v7 = v0.query(v1, me.leolin.shortcutbadger.impl.SamsungHomeBadger.CONTENT_PROJECTION, "package=?", v4_2, 0);
        } catch (int v2_10) {
            me.leolin.shortcutbadger.util.CloseHelper.close(v7);
            throw v2_10;
        }
        if (v7 != null) {
            String v9 = p14.getClassName();
            int v8 = 0;
            while (v7.moveToNext()) {
                int v10 = v7.getInt(0);
                android.content.ContentValues v6_1 = this.getContentValues(p14, p15, 0);
                String[] v3_1 = new String[1];
                v3_1[0] = String.valueOf(v10);
                v0.update(v1, v6_1, "_id=?", v3_1);
                if (v9.equals(v7.getString(v7.getColumnIndex("class")))) {
                    v8 = 1;
                }
            }
            if (v8 == 0) {
                v0.insert(v1, this.getContentValues(p14, p15, 1));
            }
        }
        me.leolin.shortcutbadger.util.CloseHelper.close(v7);
        return;
    }

Method me.leolin.shortcutbadger.impl.NovaHomeBadger.executeBadge() calling method android.net.Uri.parse()


    public void executeBadge(android.content.Context p6, android.content.ComponentName p7, int p8)
    {
        try {
            android.content.ContentValues v0_1 = new android.content.ContentValues();
            v0_1.put("tag", new StringBuilder().append(p7.getPackageName()).append("/").append(p7.getClassName()).toString());
            v0_1.put("count", Integer.valueOf(p8));
            p6.getContentResolver().insert(android.net.Uri.parse("content://com.teslacoilsw.notifier/unread_count"), v0_1);
        } catch (me.leolin.shortcutbadger.ShortcutBadgeException v2) {
        } catch (Exception v1) {
            throw new me.leolin.shortcutbadger.ShortcutBadgeException(v1.getMessage());
        }
        return;
    }

Method com.google.android.gms.internal.stable.zzg.<clinit>() calling method android.net.Uri.parse()


    static zzg()
    {
        com.google.android.gms.internal.stable.zzg.CONTENT_URI = android.net.Uri.parse("content://com.google.settings/partner");
        return;
    }

Method com.facebook.internal.FacebookWebFallbackDialog.parseResponseUri() calling method android.net.Uri.parse()


    protected android.os.Bundle parseResponseUri(String p12)
    {
        android.os.Bundle v7 = com.facebook.internal.Utility.parseUrlQueryString(android.net.Uri.parse(p12).getQuery());
        String v2 = v7.getString("bridge_args");
        v7.remove("bridge_args");
        if (!com.facebook.internal.Utility.isNullOrEmpty(v2)) {
            try {
                v7.putBundle("com.facebook.platform.protocol.BRIDGE_ARGS", com.facebook.internal.BundleJSONConverter.convertToBundle(new org.json.JSONObject(v2)));
            } catch (org.json.JSONException v3_0) {
                com.facebook.internal.Utility.logd(com.facebook.internal.FacebookWebFallbackDialog.TAG, "Unable to parse bridge_args JSON", v3_0);
            }
        }
        String v6 = v7.getString("method_results");
        v7.remove("method_results");
        if (!com.facebook.internal.Utility.isNullOrEmpty(v6)) {
            if (com.facebook.internal.Utility.isNullOrEmpty(v6)) {
                v6 = "{}";
            }
            try {
                v7.putBundle("com.facebook.platform.protocol.RESULT_ARGS", com.facebook.internal.BundleJSONConverter.convertToBundle(new org.json.JSONObject(v6)));
            } catch (org.json.JSONException v3_1) {
                com.facebook.internal.Utility.logd(com.facebook.internal.FacebookWebFallbackDialog.TAG, "Unable to parse bridge_args JSON", v3_1);
            }
        }
        v7.remove("version");
        v7.putInt("com.facebook.platform.protocol.PROTOCOL_VERSION", com.facebook.internal.NativeProtocol.getLatestKnownVersion());
        return v7;
    }

Method com.facebook.applinks.FacebookAppLinkResolver.getWebFallbackUriFromJson() calling method android.net.Uri.parse()


    private static android.net.Uri getWebFallbackUriFromJson(android.net.Uri p7, org.json.JSONObject p8)
    {
        android.net.Uri v4 = 0;
        try {
            org.json.JSONObject v2 = p8.getJSONObject("web");
        } catch (org.json.JSONException v0) {
            v4 = p7;
            return v4;
        }
        if (com.facebook.applinks.FacebookAppLinkResolver.tryGetBooleanFromJson(v2, "should_fallback", 1)) {
            String v3 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(v2, "url", 0);
            v4 = 0;
            if (v3 != null) {
                v4 = android.net.Uri.parse(v3);
            }
            if (v4 != null) {
                return v4;
            } else {
                v4 = p7;
                return v4;
            }
        } else {
            return v4;
        }
    }

Method com.facebook.applinks.FacebookAppLinkResolver.getAndroidTargetFromJson() calling method android.net.Uri.parse()


    private static bolts.AppLink$Target getAndroidTargetFromJson(org.json.JSONObject p7)
    {
        bolts.AppLink$Target v5_0 = 0;
        String v2 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(p7, "package", 0);
        if (v2 != null) {
            String v1 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(p7, "class", 0);
            String v0 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(p7, "app_name", 0);
            String v4 = com.facebook.applinks.FacebookAppLinkResolver.tryGetStringFromJson(p7, "url", 0);
            android.net.Uri v3 = 0;
            if (v4 != null) {
                v3 = android.net.Uri.parse(v4);
            }
            v5_0 = new bolts.AppLink$Target(v2, v1, v3, v0);
        }
        return v5_0;
    }

Method com.facebook.Profile$1.onSuccess() calling method android.net.Uri.parse()


    public void onSuccess(org.json.JSONObject p9)
    {
        String v1 = p9.optString("id");
        if (v1 != null) {
            int v6;
            String v7 = p9.optString("link");
            String v2_1 = p9.optString("first_name");
            String v3_1 = p9.optString("middle_name");
            String v4_1 = p9.optString("last_name");
            String v5_1 = p9.optString("name");
            if (v7 == null) {
                v6 = 0;
            } else {
                v6 = android.net.Uri.parse(v7);
            }
            com.facebook.Profile.setCurrentProfile(new com.facebook.Profile(v1, v2_1, v3_1, v4_1, v5_1, v6));
        }
        return;
    }

Method bolts.WebViewAppLinkResolver.tryCreateUrl() calling method android.net.Uri.parse()


    private static android.net.Uri tryCreateUrl(String p1)
    {
        android.net.Uri v0;
        if (p1 != null) {
            v0 = android.net.Uri.parse(p1);
        } else {
            v0 = 0;
        }
        return v0;
    }

Method android.support.v7.widget.SearchView.createIntentFromSuggestion() calling method android.net.Uri.parse()


    private android.content.Intent createIntentFromSuggestion(android.database.Cursor p13, int p14, String p15)
    {
        try {
            String v1 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_action");
        } catch (RuntimeException v8) {
            try {
                int v11 = p13.getPosition();
            } catch (RuntimeException v9) {
                v11 = -1;
            }
            android.util.Log.w("SearchView", new StringBuilder().append("Search suggestions cursor at row ").append(v11).append(" returned exception.").toString(), v8);
            android.content.Intent v0_12 = 0;
            return v0_12;
        }
        if (v1 == null) {
            v1 = this.mSearchable.getSuggestIntentAction();
        }
        if (v1 == null) {
            v1 = "android.intent.action.SEARCH";
        }
        String v7 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_data");
        if (v7 == null) {
            v7 = this.mSearchable.getSuggestIntentData();
        }
        if (v7 != null) {
            String v10 = android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_data_id");
            if (v10 != null) {
                v7 = new StringBuilder().append(v7).append("/").append(android.net.Uri.encode(v10)).toString();
            }
        }
        android.net.Uri v2;
        if (v7 != null) {
            v2 = android.net.Uri.parse(v7);
        } else {
            v2 = 0;
        }
        v0_12 = this.createIntent(v1, v2, android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_extra_data"), android.support.v7.widget.SuggestionsAdapter.getColumnString(p13, "suggest_intent_query"), p14, p15);
        return v0_12;
    }

Method android.support.v4.app.ActivityCompat.getReferrer() calling method android.net.Uri.parse()


    public static android.net.Uri getReferrer(android.app.Activity p5)
    {
        int v1_0;
        if (android.os.Build$VERSION.SDK_INT < 22) {
            android.content.Intent v0 = p5.getIntent();
            v1_0 = ((android.net.Uri) v0.getParcelableExtra("android.intent.extra.REFERRER"));
            if (v1_0 == 0) {
                String v2 = v0.getStringExtra("android.intent.extra.REFERRER_NAME");
                if (v2 == null) {
                    v1_0 = 0;
                } else {
                    v1_0 = android.net.Uri.parse(v2);
                }
            }
        } else {
            v1_0 = p5.getReferrer();
        }
        return v1_0;
    }

Method org.apache.cordova.filetransfer.FileTransfer$2.run() calling method android.net.Uri.parse()


    public void run()
    {
        if (!this.val$context.aborted) {
            android.net.Uri v26 = android.net.Uri.parse(this.val$target);
            org.apache.cordova.PluginResult$Status v28_10 = this.val$resourceApi;
            if (v26.getScheme() == null) {
                v26 = android.net.Uri.fromFile(new java.io.File(this.val$target));
            }
            android.net.Uri v25 = v28_10.remapUri(v26);
            java.net.HttpURLConnection v7 = 0;
            org.apache.cordova.PluginResult v23_1 = 0;
            org.apache.cordova.filetransfer.FileTransfer$TrackingInputStream v15 = 0;
            int v6 = 0;
            java.io.OutputStream v17 = 0;
            try {
                org.apache.cordova.PluginResult v24;
                java.io.File v11 = this.val$resourceApi.mapUriToFile(v25);
                this.val$context.targetFile = v11;
                org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("Download file:").append(this.val$sourceUri).toString());
                org.apache.cordova.filetransfer.FileProgressResult v20_1 = new org.apache.cordova.filetransfer.FileProgressResult();
            } catch (org.apache.cordova.PluginResult$Status v28_20) {
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                if (v23_1 == null) {
                    v23_1 = new org.apache.cordova.PluginResult;
                    v23_1(org.apache.cordova.PluginResult$Status.ERROR, org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, 0));
                }
                if (v6 == 0) {
                    if (v23_1.getStatus() != org.apache.cordova.PluginResult$Status.OK.ordinal()) {
                        if (v11 != null) {
                            v11.delete();
                        }
                    }
                }
                this.val$context.sendPluginResult(v23_1);
                throw v28_20;
            } catch (Throwable v9_3) {
                v24 = 0;
                org.json.JSONObject v10_4 = org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.FILE_NOT_FOUND_ERR, this.val$source, this.val$target, v7, v9_3);
                org.apache.cordova.LOG.e("FileTransfer", v10_4.toString(), v9_3);
                org.apache.cordova.PluginResult v23_5 = new org.apache.cordova.PluginResult;
                v23_5(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, v10_4);
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                if (v23_5 == null) {
                    v23_5 = new org.apache.cordova.PluginResult;
                    v23_5(org.apache.cordova.PluginResult$Status.ERROR, org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, 0));
                }
                if (v6 == 0) {
                    if (v23_5.getStatus() != org.apache.cordova.PluginResult$Status.OK.ordinal()) {
                        if (v11 != null) {
                            v11.delete();
                        }
                    }
                }
                this.val$context.sendPluginResult(v23_5);
            } catch (Throwable v9_2) {
                v24 = 0;
                org.json.JSONObject v10_3 = org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, v9_2);
                org.apache.cordova.LOG.e("FileTransfer", v10_3.toString(), v9_2);
                org.apache.cordova.PluginResult v23_4 = new org.apache.cordova.PluginResult;
                v23_4(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, v10_3);
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                if (v23_4 == null) {
                    v23_4 = new org.apache.cordova.PluginResult;
                    v23_4(org.apache.cordova.PluginResult$Status.ERROR, org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, 0));
                }
                if (v6 == 0) {
                    if (v23_4.getStatus() != org.apache.cordova.PluginResult$Status.OK.ordinal()) {
                        if (v11 != null) {
                            v11.delete();
                        }
                    }
                }
                this.val$context.sendPluginResult(v23_4);
            } catch (Throwable v9_1) {
                v24 = 0;
                org.apache.cordova.LOG.e("FileTransfer", v9_1.getMessage(), v9_1);
                org.apache.cordova.PluginResult v23_3 = new org.apache.cordova.PluginResult;
                v23_3(org.apache.cordova.PluginResult$Status.JSON_EXCEPTION);
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                if (v23_3 == null) {
                    v23_3 = new org.apache.cordova.PluginResult;
                    v23_3(org.apache.cordova.PluginResult$Status.ERROR, org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, 0));
                }
                if (v6 == 0) {
                    if (v23_3.getStatus() != org.apache.cordova.PluginResult$Status.OK.ordinal()) {
                        if (v11 != null) {
                            v11.delete();
                        }
                    }
                }
                this.val$context.sendPluginResult(v23_3);
            } catch (Throwable v9_0) {
                v24 = 0;
                org.json.JSONObject v10_2 = org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, v9_0);
                org.apache.cordova.LOG.e("FileTransfer", v10_2.toString(), v9_0);
                org.apache.cordova.PluginResult v23_2 = new org.apache.cordova.PluginResult;
                v23_2(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, v10_2);
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                if (v23_2 == null) {
                    v23_2 = new org.apache.cordova.PluginResult;
                    v23_2(org.apache.cordova.PluginResult$Status.ERROR, org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, 0));
                }
                if (v6 == 0) {
                    if (v23_2.getStatus() != org.apache.cordova.PluginResult$Status.OK.ordinal()) {
                        if (v11 != null) {
                            v11.delete();
                        }
                    }
                }
                this.val$context.sendPluginResult(v23_2);
            } catch (org.apache.cordova.PluginResult$Status v28_20) {
                v23_1 = v24;
            }
            if (!this.val$isLocalTransfer) {
                v7 = this.val$resourceApi.createHttpConnection(this.val$sourceUri);
                v7.setRequestMethod("GET");
                String v8 = org.apache.cordova.filetransfer.FileTransfer.access$000(this.this$0, this.val$sourceUri.toString());
                if (v8 != null) {
                    v7.setRequestProperty("cookie", v8);
                }
                v7.setRequestProperty("Accept-Encoding", "gzip");
                if (this.val$headers != null) {
                    org.apache.cordova.filetransfer.FileTransfer.access$100(v7, this.val$headers);
                }
                v7.connect();
                if (v7.getResponseCode() != 304) {
                    if (((v7.getContentEncoding() == null) || (v7.getContentEncoding().equalsIgnoreCase("gzip"))) && (v7.getContentLength() != -1)) {
                        v20_1.setLengthComputable(1);
                        v20_1.setTotal(((long) v7.getContentLength()));
                    }
                    v15 = org.apache.cordova.filetransfer.FileTransfer.access$300(v7);
                    v24 = 0;
                } else {
                    v6 = 1;
                    v7.disconnect();
                    org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("Resource not modified: ").append(this.val$source).toString());
                    v24 = new org.apache.cordova.PluginResult;
                    v24(org.apache.cordova.PluginResult$Status.ERROR, org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.NOT_MODIFIED_ERR, this.val$source, this.val$target, v7, 0));
                }
            } else {
                org.apache.cordova.CordovaResourceApi$OpenForReadResult v22 = this.val$resourceApi.openForRead(this.val$sourceUri);
                if (v22.length != -1) {
                    v20_1.setLengthComputable(1);
                    v20_1.setTotal(v22.length);
                }
                org.apache.cordova.filetransfer.FileTransfer$SimpleTrackingInputStream v16 = new org.apache.cordova.filetransfer.FileTransfer$SimpleTrackingInputStream;
                v16(v22.inputStream);
                v15 = v16;
                v24 = 0;
            }
            org.apache.cordova.PluginResult v23_0;
            if (v6 != 0) {
                v23_0 = v24;
            } else {
                try {
                } catch (org.apache.cordova.PluginResult$Status v28_62) {
                    this.val$context.connection = 0;
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v15);
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v17);
                    throw v28_62;
                } catch (Throwable v9_3) {
                } catch (Throwable v9_2) {
                } catch (Throwable v9_1) {
                } catch (Throwable v9_0) {
                }
                if (!this.val$context.aborted) {
                    this.val$context.connection = v7;
                    byte[] v4 = new byte[16384];
                    v17 = this.val$resourceApi.openOutputStream(v25);
                    while(true) {
                        int v5 = v15.read(v4);
                        if (v5 <= 0) {
                            break;
                        }
                        v17.write(v4, 0, v5);
                        v20_1.setLoaded(v15.getTotalRawBytesRead());
                        org.apache.cordova.PluginResult v21 = new org.apache.cordova.PluginResult;
                        v21(org.apache.cordova.PluginResult$Status.OK, v20_1.toJSONObject());
                        v21.setKeepCallback(1);
                        this.val$context.sendPluginResult(v21);
                    }
                    this.val$context.connection = 0;
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v15);
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v17);
                    org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("Saved file: ").append(this.val$target).toString());
                    Class v27 = this.this$0.webView.getClass();
                    try {
                        org.apache.cordova.PluginResult v0_62 = new Class[0];
                        org.apache.cordova.PluginResult v0_69 = new Object[0];
                        org.apache.cordova.PluginManager v18 = ((org.apache.cordova.PluginManager) v27.getMethod("getPluginManager", v0_62).invoke(this.this$0.webView, v0_69));
                    } catch (org.apache.cordova.PluginResult$Status v28) {
                    } catch (org.apache.cordova.PluginResult$Status v28) {
                    } catch (org.apache.cordova.PluginResult$Status v28) {
                    }
                    if (v18 == null) {
                        try {
                            v18 = ((org.apache.cordova.PluginManager) v27.getField("pluginManager").get(this.this$0.webView));
                        } catch (org.apache.cordova.PluginResult$Status v28) {
                        } catch (org.apache.cordova.PluginResult$Status v28) {
                        }
                    }
                    v11 = this.val$resourceApi.mapUriToFile(v25);
                    this.val$context.targetFile = v11;
                    org.apache.cordova.file.FileUtils v13_1 = ((org.apache.cordova.file.FileUtils) v18.getPlugin("File"));
                    if (v13_1 == null) {
                        org.apache.cordova.LOG.e("FileTransfer", "File plugin not found; cannot save downloaded file");
                        v23_0 = new org.apache.cordova.PluginResult;
                        v23_0(org.apache.cordova.PluginResult$Status.ERROR, "File plugin not found; cannot save downloaded file");
                    } else {
                        org.json.JSONObject v12 = v13_1.getEntryForFile(v11);
                        if (v12 == null) {
                            org.json.JSONObject v10_1 = org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, 0);
                            org.apache.cordova.LOG.e("FileTransfer", "File plugin cannot represent download path");
                            v23_0 = new org.apache.cordova.PluginResult;
                            v23_0(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, v10_1);
                        } else {
                            v23_0 = new org.apache.cordova.PluginResult;
                            v23_0(org.apache.cordova.PluginResult$Status.OK, v12);
                        }
                    }
                } else {
                    this.val$context.connection = 0;
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v15);
                    org.apache.cordova.filetransfer.FileTransfer.access$200(0);
                    org.apache.cordova.filetransfer.FileTransfer.access$500();
                    org.apache.cordova.PluginResult v23_6;
                    org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                    if (v24 != null) {
                        v23_6 = v24;
                    } else {
                        v23_6 = new org.apache.cordova.PluginResult;
                        v23_6(org.apache.cordova.PluginResult$Status.ERROR, org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, 0));
                    }
                    if ((v6 == 0) && ((v23_6.getStatus() != org.apache.cordova.PluginResult$Status.OK.ordinal()) && (v11 != null))) {
                        v11.delete();
                    }
                    this.val$context.sendPluginResult(v23_6);
                    return;
                }
            }
            org.apache.cordova.filetransfer.FileTransfer.access$500();
            org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
            if (v23_0 == null) {
                v23_0 = new org.apache.cordova.PluginResult;
                v23_0(org.apache.cordova.PluginResult$Status.ERROR, org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v7, 0));
            }
            if ((v6 == 0) && ((v23_0.getStatus() != org.apache.cordova.PluginResult$Status.OK.ordinal()) && (v11 != null))) {
                v11.delete();
            }
            this.val$context.sendPluginResult(v23_0);
        }
        return;
    }

Method org.apache.cordova.filetransfer.FileTransfer$1.run() calling method android.net.Uri.parse()


    public void run()
    {
        if (!this.val$context.aborted) {
            android.net.Uri v33 = android.net.Uri.parse(this.val$source);
            Throwable v36_10 = this.val$resourceApi;
            if (v33.getScheme() == null) {
                v33 = android.net.Uri.fromFile(new java.io.File(this.val$source));
            }
            android.net.Uri v29 = v36_10.remapUri(v33);
            int v34 = 0;
            int v14 = -1;
            try {
                int v18;
                org.apache.cordova.filetransfer.FileUploadResult v27_1 = new org.apache.cordova.filetransfer.FileUploadResult();
                org.apache.cordova.filetransfer.FileProgressResult v22_1 = new org.apache.cordova.filetransfer.FileProgressResult();
                java.net.HttpURLConnection v10 = this.val$resourceApi.createHttpConnection(this.val$targetUri);
                v10.setDoInput(1);
                v10.setDoOutput(1);
                v10.setUseCaches(0);
                v10.setRequestMethod(this.val$httpMethod);
            } catch (Throwable v36_122) {
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                throw v36_122;
            } catch (org.json.JSONException v12_3) {
                org.json.JSONObject v13_2 = org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.FILE_NOT_FOUND_ERR, this.val$source, this.val$target, v10, v12_3);
                org.apache.cordova.LOG.e("FileTransfer", v13_2.toString(), v12_3);
                Throwable v36_116 = this.val$context;
                java.util.HashMap v37_83 = new org.apache.cordova.PluginResult;
                v37_83(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, v13_2);
                v36_116.sendPluginResult(v37_83);
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                try {
                    org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                } catch (Throwable v36_118) {
                    throw v36_118;
                }
            } catch (org.json.JSONException v12_2) {
                org.json.JSONObject v13_1 = org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v10, v12_2);
                org.apache.cordova.LOG.e("FileTransfer", v13_1.toString(), v12_2);
                org.apache.cordova.LOG.e("FileTransfer", new StringBuilder().append("Failed after uploading ").append(v34).append(" of ").append(v14).append(" bytes.").toString());
                Throwable v36_111 = this.val$context;
                java.util.HashMap v37_80 = new org.apache.cordova.PluginResult;
                v37_80(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, v13_1);
                v36_111.sendPluginResult(v37_80);
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                try {
                    org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                } catch (Throwable v36_113) {
                    throw v36_113;
                }
            } catch (org.json.JSONException v12_1) {
                org.apache.cordova.LOG.e("FileTransfer", v12_1.getMessage(), v12_1);
                this.val$context.sendPluginResult(new org.apache.cordova.PluginResult(org.apache.cordova.PluginResult$Status.JSON_EXCEPTION));
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                try {
                    org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                } catch (Throwable v36_106) {
                    throw v36_106;
                }
            } catch (Throwable v31) {
                org.json.JSONObject v13_0 = org.apache.cordova.filetransfer.FileTransfer.access$400(org.apache.cordova.filetransfer.FileTransfer.CONNECTION_ERR, this.val$source, this.val$target, v10, v31);
                org.apache.cordova.LOG.e("FileTransfer", v13_0.toString(), v31);
                Throwable v36_99 = this.val$context;
                java.util.HashMap v37_64 = new org.apache.cordova.PluginResult;
                v37_64(org.apache.cordova.PluginResult$Status.IO_EXCEPTION, v13_0);
                v36_99.sendPluginResult(v37_64);
                org.apache.cordova.filetransfer.FileTransfer.access$500();
                try {
                    org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                } catch (Throwable v36_101) {
                    throw v36_101;
                }
            }
            if ((this.val$headers != null) && (this.val$headers.has("Content-Type"))) {
                v18 = 0;
            } else {
                v18 = 1;
            }
            if (v18 != 0) {
                v10.setRequestProperty("Content-Type", "multipart/form-data; boundary=+++++");
            }
            String v11 = org.apache.cordova.filetransfer.FileTransfer.access$000(this.this$0, this.val$target);
            if (v11 != null) {
                v10.setRequestProperty("Cookie", v11);
            }
            if (this.val$headers != null) {
                org.apache.cordova.filetransfer.FileTransfer.access$100(v10, this.val$headers);
            }
            StringBuilder v4_1 = new StringBuilder();
            try {
                java.util.Iterator v16 = this.val$params.keys();
            } catch (org.json.JSONException v12_0) {
                org.apache.cordova.LOG.e("FileTransfer", v12_0.getMessage(), v12_0);
                v4_1.append("--").append("+++++").append("\r\n");
                v4_1.append("Content-Disposition: form-data; name=\"").append(this.val$fileKey).append("\";");
                v4_1.append(" filename=\"").append(this.val$fileName).append(34).append("\r\n");
                v4_1.append("Content-Type: ").append(this.val$mimeType).append("\r\n").append("\r\n");
                byte[] v5 = v4_1.toString().getBytes("UTF-8");
                byte[] v32 = "\r\n--+++++--\r\n".getBytes("UTF-8");
                org.apache.cordova.CordovaResourceApi$OpenForReadResult v24 = this.val$resourceApi.openForRead(v29);
                if (v24.length >= 0) {
                    v14 = ((int) v24.length);
                    if (v18 != 0) {
                        v14 += (v5.length + v32.length);
                    }
                    v22_1.setLengthComputable(1);
                    v22_1.setTotal(((long) v14));
                }
                int v35_0;
                org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("Content Length: ").append(v14).toString());
                if ((!this.val$chunkedMode) && (android.os.Build$VERSION.SDK_INT >= 8)) {
                    v35_0 = 0;
                } else {
                    v35_0 = 1;
                }
                if ((v35_0 == 0) && (v14 != -1)) {
                    int v35_1 = 0;
                } else {
                    v35_1 = 1;
                }
                if (v35_1 == 0) {
                    v10.setFixedLengthStreamingMode(v14);
                    if (this.val$useHttps) {
                        org.apache.cordova.LOG.w("FileTransfer", "setFixedLengthStreamingMode could cause OutOfMemoryException - switch to chunkedMode=true to avoid it if this is an issue.");
                    }
                } else {
                    v10.setChunkedStreamingMode(16384);
                    v10.setRequestProperty("Transfer-Encoding", "chunked");
                }
                v10.connect();
                try {
                    java.io.OutputStream v28 = v10.getOutputStream();
                } catch (Throwable v36_94) {
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v24.inputStream);
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v28);
                    throw v36_94;
                }
                if (!this.val$context.aborted) {
                    this.val$context.connection = v10;
                    if (v18 != 0) {
                        v28.write(v5);
                        v34 = (0 + v5.length);
                    }
                    int v7_0 = Math.min(v24.inputStream.available(), 16384);
                    byte[] v6_0 = new byte[v7_0];
                    int v9_0 = v24.inputStream.read(v6_0, 0, v7_0);
                    long v20 = 0;
                    while (v9_0 > 0) {
                        v34 += v9_0;
                        v27_1.setBytesSent(((long) v34));
                        v28.write(v6_0, 0, v9_0);
                        if (((long) v34) > (102400 + v20)) {
                            v20 = ((long) v34);
                            org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("Uploaded ").append(v34).append(" of ").append(v14).append(" bytes").toString());
                        }
                        v9_0 = v24.inputStream.read(v6_0, 0, Math.min(v24.inputStream.available(), 16384));
                        v22_1.setLoaded(((long) v34));
                        org.apache.cordova.PluginResult v23 = new org.apache.cordova.PluginResult;
                        v23(org.apache.cordova.PluginResult$Status.OK, v22_1.toJSONObject());
                        v23.setKeepCallback(1);
                        this.val$context.sendPluginResult(v23);
                    }
                    if (v18 != 0) {
                        v28.write(v32);
                        v34 += v32.length;
                    }
                    v28.flush();
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v24.inputStream);
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v28);
                    this.val$context.connection = 0;
                    org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("Sent ").append(v34).append(" of ").append(v14).toString());
                    int v25 = v10.getResponseCode();
                    org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("response code: ").append(v25).toString());
                    org.apache.cordova.LOG.d("FileTransfer", new StringBuilder().append("response headers: ").append(v10.getHeaderFields()).toString());
                    try {
                        org.apache.cordova.filetransfer.FileTransfer$TrackingInputStream v15 = org.apache.cordova.filetransfer.FileTransfer.access$300(v10);
                    } catch (Throwable v36_71) {
                        this.val$context.connection = 0;
                        org.apache.cordova.filetransfer.FileTransfer.access$200(v15);
                        throw v36_71;
                    }
                    if (!this.val$context.aborted) {
                        this.val$context.connection = v10;
                        java.io.ByteArrayOutputStream v19 = new java.io.ByteArrayOutputStream;
                        v19(Math.max(1024, v10.getContentLength()));
                        byte[] v6_1 = new byte[1024];
                        while(true) {
                            int v9_1 = v15.read(v6_1);
                            if (v9_1 <= 0) {
                                break;
                            }
                            v19.write(v6_1, 0, v9_1);
                        }
                        String v26 = v19.toString("UTF-8");
                        this.val$context.connection = 0;
                        org.apache.cordova.filetransfer.FileTransfer.access$200(v15);
                        org.apache.cordova.LOG.d("FileTransfer", "got response from server");
                        org.apache.cordova.LOG.d("FileTransfer", v26.substring(0, Math.min(256, v26.length())));
                        v27_1.setResponseCode(v25);
                        v27_1.setResponse(v26);
                        this.val$context.sendPluginResult(new org.apache.cordova.PluginResult(org.apache.cordova.PluginResult$Status.OK, v27_1.toJSONObject()));
                        org.apache.cordova.filetransfer.FileTransfer.access$500();
                        try {
                            org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                        } catch (Throwable v36_68) {
                            throw v36_68;
                        }
                    } else {
                        this.val$context.connection = 0;
                        org.apache.cordova.filetransfer.FileTransfer.access$200(v15);
                        org.apache.cordova.filetransfer.FileTransfer.access$500();
                        try {
                            org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                        } catch (Throwable v36_78) {
                            throw v36_78;
                        }
                    }
                } else {
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v24.inputStream);
                    org.apache.cordova.filetransfer.FileTransfer.access$200(v28);
                    org.apache.cordova.filetransfer.FileTransfer.access$500();
                    try {
                        org.apache.cordova.filetransfer.FileTransfer.access$500().remove(this.val$objectId);
                    } catch (Throwable v36_121) {
                        throw v36_121;
                    }
                }
            }
            while (v16.hasNext()) {
                Object v17 = v16.next();
                if (!String.valueOf(v17).equals("headers")) {
                    v4_1.append("--").append("+++++").append("\r\n");
                    v4_1.append("Content-Disposition: form-data; name=\"").append(v17.toString()).append(34);
                    v4_1.append("\r\n").append("\r\n");
                    v4_1.append(this.val$params.getString(v17.toString()));
                    v4_1.append("\r\n");
                }
            }
        }
        return;
    }

Method org.apache.cordova.file.LocalFilesystemURL.parse() calling method android.net.Uri.parse()


    public static org.apache.cordova.file.LocalFilesystemURL parse(String p1)
    {
        return org.apache.cordova.file.LocalFilesystemURL.parse(android.net.Uri.parse(p1));
    }

Method org.apache.cordova.engine.SystemWebViewClient.shouldInterceptRequest() calling method android.net.Uri.parse()


    public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView p11, String p12)
    {
        try {
            int v5_5;
            if (this.parentEngine.pluginManager.shouldAllowRequest(p12)) {
                org.apache.cordova.CordovaResourceApi v3 = this.parentEngine.resourceApi;
                android.net.Uri v1 = android.net.Uri.parse(p12);
                android.net.Uri v2 = v3.remapUri(v1);
                if ((v1.equals(v2)) && ((!org.apache.cordova.engine.SystemWebViewClient.needsSpecialsInAssetUrlFix(v1)) && (!org.apache.cordova.engine.SystemWebViewClient.needsKitKatContentUrlFix(v1)))) {
                    v5_5 = 0;
                } else {
                    org.apache.cordova.CordovaResourceApi$OpenForReadResult v4 = v3.openForRead(v2, 1);
                    v5_5 = new android.webkit.WebResourceResponse(v4.mimeType, "UTF-8", v4.inputStream);
                }
            } else {
                org.apache.cordova.LOG.w("SystemWebViewClient", new StringBuilder().append("URL blocked by whitelist: ").append(p12).toString());
                v5_5 = new android.webkit.WebResourceResponse("text/plain", "UTF-8", 0);
            }
        } catch (java.io.IOException v0) {
            if (!(v0 instanceof java.io.FileNotFoundException)) {
                org.apache.cordova.LOG.e("SystemWebViewClient", "Error occurred while loading a file (returning a 404).", v0);
            }
            v5_5 = new android.webkit.WebResourceResponse("text/plain", "UTF-8", 0);
        }
        return v5_5;
    }

Method org.apache.cordova.camera.FileHelper.getRealPathFromURI_API11_And_Above() calling method android.net.Uri.parse()


    public static String getRealPathFromURI_API11_And_Above(android.content.Context p13, android.net.Uri p14)
    {
        int v3;
        boolean v8_2 = 0;
        if (android.os.Build$VERSION.SDK_INT < 19) {
            v3 = 0;
        } else {
            v3 = 1;
        }
        if ((v3 == 0) || (!android.provider.DocumentsContract.isDocumentUri(p13, p14))) {
            if (!"content".equalsIgnoreCase(p14.getScheme())) {
                if ("file".equalsIgnoreCase(p14.getScheme())) {
                    v8_2 = p14.getPath();
                }
            } else {
                if (!org.apache.cordova.camera.FileHelper.isGooglePhotosUri(p14)) {
                    v8_2 = org.apache.cordova.camera.FileHelper.getDataColumn(p13, p14, 0, 0);
                } else {
                    v8_2 = p14.getLastPathSegment();
                }
            }
        } else {
            if (!org.apache.cordova.camera.FileHelper.isExternalStorageDocument(p14)) {
                if (!org.apache.cordova.camera.FileHelper.isDownloadsDocument(p14)) {
                    if (org.apache.cordova.camera.FileHelper.isMediaDocument(p14)) {
                        String[] v6_0 = android.provider.DocumentsContract.getDocumentId(p14).split(":");
                        String v7_0 = v6_0[0];
                        android.net.Uri v0_0 = 0;
                        if (!"image".equals(v7_0)) {
                            if (!"video".equals(v7_0)) {
                                if ("audio".equals(v7_0)) {
                                    v0_0 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                }
                            } else {
                                v0_0 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                            }
                        } else {
                            v0_0 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                        }
                        String[] v5 = new String[1];
                        v5[0] = v6_0[1];
                        v8_2 = org.apache.cordova.camera.FileHelper.getDataColumn(p13, v0_0, "_id=?", v5);
                    }
                } else {
                    v8_2 = org.apache.cordova.camera.FileHelper.getDataColumn(p13, android.content.ContentUris.withAppendedId(android.net.Uri.parse("content://downloads/public_downloads"), Long.valueOf(android.provider.DocumentsContract.getDocumentId(p14)).longValue()), 0, 0);
                }
            } else {
                String[] v6_1 = android.provider.DocumentsContract.getDocumentId(p14).split(":");
                if ("primary".equalsIgnoreCase(v6_1[0])) {
                    v8_2 = new StringBuilder().append(android.os.Environment.getExternalStorageDirectory()).append("/").append(v6_1[1]).toString();
                }
            }
        }
        return v8_2;
    }

Method org.apache.cordova.camera.FileHelper.getRealPath() calling method android.net.Uri.parse()


    public static String getRealPath(String p1, org.apache.cordova.CordovaInterface p2)
    {
        return org.apache.cordova.camera.FileHelper.getRealPath(android.net.Uri.parse(p1), p2);
    }

Method org.apache.cordova.camera.FileHelper.getMimeType() calling method android.net.Uri.parse()


    public static String getMimeType(String p3, org.apache.cordova.CordovaInterface p4)
    {
        String v0;
        android.net.Uri v1 = android.net.Uri.parse(p3);
        if (!p3.startsWith("content://")) {
            v0 = org.apache.cordova.camera.FileHelper.getMimeTypeForExtension(v1.getPath());
        } else {
            v0 = p4.getActivity().getContentResolver().getType(v1);
        }
        return v0;
    }

Method org.apache.cordova.camera.FileHelper.getInputStreamFromUriString() calling method android.net.Uri.parse()


    public static java.io.InputStream getInputStreamFromUriString(String p7, org.apache.cordova.CordovaInterface p8)
    {
        java.io.FileInputStream v3_0;
        if (!p7.startsWith("content")) {
            if (!p7.startsWith("file://")) {
                v3_0 = new java.io.FileInputStream(p7);
            } else {
                int v1 = p7.indexOf("?");
                if (v1 > -1) {
                    p7 = p7.substring(0, v1);
                }
                if (!p7.startsWith("file:///android_asset/")) {
                    try {
                        v3_0 = p8.getActivity().getContentResolver().openInputStream(android.net.Uri.parse(p7));
                    } catch (Exception v0) {
                        v3_0 = 0;
                    }
                    if (v3_0 == null) {
                        v3_0 = new java.io.FileInputStream(org.apache.cordova.camera.FileHelper.getRealPath(p7, p8));
                    }
                } else {
                    v3_0 = p8.getActivity().getAssets().open(android.net.Uri.parse(p7).getPath().substring(15));
                }
            }
        } else {
            v3_0 = p8.getActivity().getContentResolver().openInputStream(android.net.Uri.parse(p7));
        }
        return v3_0;
    }

Method org.apache.cordova.camera.CordovaUri.<init>() calling method android.net.Uri.parse()


    CordovaUri(android.net.Uri p3)
    {
        if (!p3.getScheme().equals("content")) {
            this.fileUri = p3;
            this.fileName = org.apache.cordova.camera.FileHelper.stripFileProtocol(p3.toString());
        } else {
            this.androidUri = p3;
            this.fileName = this.getFileNameFromUri(this.androidUri);
            this.fileUri = android.net.Uri.parse(new StringBuilder().append("file://").append(this.fileName).toString());
        }
        return;
    }

Method org.apache.cordova.Whitelist.isUrlWhiteListed() calling method android.net.Uri.parse()


    public boolean isUrlWhiteListed(String p6)
    {
        int v3 = 1;
        if (this.whiteList != null) {
            android.net.Uri v1 = android.net.Uri.parse(p6);
            java.util.Iterator v2 = this.whiteList.iterator();
            while (v2.hasNext()) {
                if (((org.apache.cordova.Whitelist$URLPattern) v2.next()).matches(v1)) {
                }
            }
            v3 = 0;
        }
        return v3;
    }

Method org.apache.cordova.CordovaPlugin.fromPluginUri() calling method android.net.Uri.parse()


    protected android.net.Uri fromPluginUri(android.net.Uri p2)
    {
        return android.net.Uri.parse(p2.getQueryParameter("origUri"));
    }

Method com.google.firebase.messaging.zza.zzh() calling method android.net.Uri.parse()


    final boolean zzh(android.os.Bundle p13)
    {
        android.app.Notification v0_76;
        if (!"1".equals(com.google.firebase.messaging.zza.zza(p13, "gcm.n.noui"))) {
            android.app.Notification v0_56;
            if (((android.app.KeyguardManager) this.zzv.getSystemService("keyguard")).inKeyguardRestrictedInputMode()) {
                v0_56 = 0;
            } else {
                if (!com.google.android.gms.common.util.PlatformVersion.isAtLeastLollipop()) {
                    android.os.SystemClock.sleep(10);
                }
                android.app.Notification v1_1 = android.os.Process.myPid();
                android.app.Notification v0_40 = ((android.app.ActivityManager) this.zzv.getSystemService("activity")).getRunningAppProcesses();
                if (v0_40 == null) {
                } else {
                    String v2_8 = v0_40.iterator();
                    while (v2_8.hasNext()) {
                        android.app.Notification v0_63 = ((android.app.ActivityManager$RunningAppProcessInfo) v2_8.next());
                        if (v0_63.pid == v1_1) {
                            if (v0_63.importance != 100) {
                                v0_56 = 0;
                            } else {
                                v0_56 = 1;
                            }
                        }
                    }
                }
            }
            if (v0_56 == null) {
                android.app.Notification v1_16;
                android.app.Notification v0_75 = this.zzd(p13, "gcm.n.title");
                if (!android.text.TextUtils.isEmpty(v0_75)) {
                    v1_16 = v0_75;
                } else {
                    v1_16 = this.zzv.getApplicationInfo().loadLabel(this.zzv.getPackageManager());
                }
                String v2_6;
                String v7 = this.zzd(p13, "gcm.n.body");
                String v2_14 = com.google.firebase.messaging.zza.zza(p13, "gcm.n.icon");
                if (android.text.TextUtils.isEmpty(v2_14)) {
                    android.app.Notification v0_4 = this.zzar().getInt("com.google.firebase.messaging.default_notification_icon", 0);
                    if ((v0_4 == null) || (!this.zzb(v0_4))) {
                        v0_4 = this.zzv.getApplicationInfo().icon;
                    }
                    if ((v0_4 == null) || (!this.zzb(v0_4))) {
                        v0_4 = 17301651;
                    }
                    v2_6 = v0_4;
                } else {
                    int v3_22 = this.zzv.getResources();
                    android.app.Notification v0_87 = v3_22.getIdentifier(v2_14, "drawable", this.zzv.getPackageName());
                    if ((v0_87 == null) || (!this.zzb(v0_87))) {
                        android.app.Notification v0_89 = v3_22.getIdentifier(v2_14, "mipmap", this.zzv.getPackageName());
                        if ((v0_89 == null) || (!this.zzb(v0_89))) {
                            android.util.Log.w("FirebaseMessaging", new StringBuilder((String.valueOf(v2_14).length() + 61)).append("Icon resource ").append(v2_14).append(" not found. Notification will use default icon.").toString());
                        } else {
                            v2_6 = v0_89;
                        }
                    } else {
                        v2_6 = v0_87;
                    }
                }
                int v3_11;
                Integer v8 = this.zzl(com.google.firebase.messaging.zza.zza(p13, "gcm.n.color"));
                android.app.Notification v0_10 = com.google.firebase.messaging.zza.zzi(p13);
                if (!android.text.TextUtils.isEmpty(v0_10)) {
                    if (("default".equals(v0_10)) || (this.zzv.getResources().getIdentifier(v0_10, "raw", this.zzv.getPackageName()) == 0)) {
                        v3_11 = android.media.RingtoneManager.getDefaultUri(2);
                    } else {
                        int v3_13 = this.zzv.getPackageName();
                        v3_11 = android.net.Uri.parse(new StringBuilder(((String.valueOf(v3_13).length() + 24) + String.valueOf(v0_10).length())).append("android.resource://").append(v3_13).append("/raw/").append(v0_10).toString());
                    }
                } else {
                    v3_11 = 0;
                }
                StringBuilder v4_15;
                StringBuilder v4_10 = com.google.firebase.messaging.zza.zza(p13, "gcm.n.click_action");
                if (android.text.TextUtils.isEmpty(v4_10)) {
                    StringBuilder v4_11 = com.google.firebase.messaging.zza.zzg(p13);
                    if (v4_11 == null) {
                        android.app.Notification v0_23 = this.zzv.getPackageManager().getLaunchIntentForPackage(this.zzv.getPackageName());
                        if (v0_23 == null) {
                            android.util.Log.w("FirebaseMessaging", "No activity found to launch app");
                        }
                        v4_15 = v0_23;
                    } else {
                        android.app.Notification v0_26 = new android.content.Intent("android.intent.action.VIEW");
                        v0_26.setPackage(this.zzv.getPackageName());
                        v0_26.setData(v4_11);
                        v4_15 = v0_26;
                    }
                } else {
                    android.app.Notification v0_28 = new android.content.Intent(v4_10);
                    v0_28.setPackage(this.zzv.getPackageName());
                    v0_28.setFlags(268435456);
                    v4_15 = v0_28;
                }
                StringBuilder v4_19;
                if (v4_15 != null) {
                    v4_15.addFlags(67108864);
                    android.app.Notification v0_31 = new android.os.Bundle(p13);
                    com.google.firebase.messaging.FirebaseMessagingService.zzj(v0_31);
                    v4_15.putExtras(v0_31);
                    StringBuilder v5_10 = v0_31.keySet().iterator();
                    while (v5_10.hasNext()) {
                        android.app.Notification v0_37 = ((String) v5_10.next());
                        if ((v0_37.startsWith("gcm.n.")) || (v0_37.startsWith("gcm.notification."))) {
                            v4_15.removeExtra(v0_37);
                        }
                    }
                    v4_19 = android.app.PendingIntent.getActivity(this.zzv, com.google.firebase.messaging.zza.zzdk.incrementAndGet(), v4_15, 1073741824);
                } else {
                    v4_19 = 0;
                }
                StringBuilder v5_14;
                if (p13 != null) {
                    v5_14 = "1".equals(p13.getString("google.c.a.e"));
                } else {
                    v5_14 = 0;
                }
                StringBuilder v4_20;
                StringBuilder v5_15;
                if (v5_14 == null) {
                    v5_15 = v4_19;
                    v4_20 = 0;
                } else {
                    android.app.Notification v0_42 = new android.content.Intent("com.google.firebase.messaging.NOTIFICATION_OPEN");
                    com.google.firebase.messaging.zza.zza(v0_42, p13);
                    v0_42.putExtra("pending_intent", v4_19);
                    StringBuilder v4_22 = com.google.firebase.iid.zzau.zza(this.zzv, com.google.firebase.messaging.zza.zzdk.incrementAndGet(), v0_42, 1073741824);
                    android.app.Notification v0_44 = new android.content.Intent("com.google.firebase.messaging.NOTIFICATION_DISMISS");
                    com.google.firebase.messaging.zza.zza(v0_44, p13);
                    v5_15 = v4_22;
                    v4_20 = com.google.firebase.iid.zzau.zza(this.zzv, com.google.firebase.messaging.zza.zzdk.incrementAndGet(), v0_44, 1073741824);
                }
                if ((!com.google.android.gms.common.util.PlatformVersion.isAtLeastO()) || (this.zzv.getApplicationInfo().targetSdkVersion <= 25)) {
                    android.app.Notification v0_53 = new android.support.v4.app.NotificationCompat$Builder(this.zzv).setAutoCancel(1).setSmallIcon(v2_6);
                    if (!android.text.TextUtils.isEmpty(v1_16)) {
                        v0_53.setContentTitle(v1_16);
                    }
                    if (!android.text.TextUtils.isEmpty(v7)) {
                        v0_53.setContentText(v7);
                        v0_53.setStyle(new android.support.v4.app.NotificationCompat$BigTextStyle().bigText(v7));
                    }
                    if (v8 != null) {
                        v0_53.setColor(v8.intValue());
                    }
                    if (v3_11 != 0) {
                        v0_53.setSound(v3_11);
                    }
                    if (v5_15 != null) {
                        v0_53.setContentIntent(v5_15);
                    }
                    if (v4_20 != null) {
                        v0_53.setDeleteIntent(v4_20);
                    }
                    android.app.Notification v1_8 = v0_53.build();
                } else {
                    android.app.Notification v0_65;
                    android.app.NotificationChannel v6_13 = com.google.firebase.messaging.zza.zza(p13, "gcm.n.android_channel_id");
                    if (com.google.android.gms.common.util.PlatformVersion.isAtLeastO()) {
                        android.app.Notification v0_61 = ((android.app.NotificationManager) this.zzv.getSystemService(android.app.NotificationManager));
                        if (!android.text.TextUtils.isEmpty(v6_13)) {
                            if (v0_61.getNotificationChannel(v6_13) == null) {
                                android.util.Log.w("FirebaseMessaging", new StringBuilder((String.valueOf(v6_13).length() + 122)).append("Notification Channel requested (").append(v6_13).append(") has not been created by the app. Manifest configuration, or default, value will be used.").toString());
                            } else {
                                v0_65 = v6_13;
                                String v2_10 = new android.app.Notification$Builder(this.zzv).setAutoCancel(1).setSmallIcon(v2_6);
                                if (!android.text.TextUtils.isEmpty(v1_16)) {
                                    v2_10.setContentTitle(v1_16);
                                }
                                if (!android.text.TextUtils.isEmpty(v7)) {
                                    v2_10.setContentText(v7);
                                    v2_10.setStyle(new android.app.Notification$BigTextStyle().bigText(v7));
                                }
                                if (v8 != null) {
                                    v2_10.setColor(v8.intValue());
                                }
                                if (v3_11 != 0) {
                                    v2_10.setSound(v3_11);
                                }
                                if (v5_15 != null) {
                                    v2_10.setContentIntent(v5_15);
                                }
                                if (v4_20 != null) {
                                    v2_10.setDeleteIntent(v4_20);
                                }
                                if (v0_65 != null) {
                                    v2_10.setChannelId(v0_65);
                                }
                                v1_8 = v2_10.build();
                                String v2_11 = com.google.firebase.messaging.zza.zza(p13, "gcm.n.tag");
                                if (android.util.Log.isLoggable("FirebaseMessaging", 3)) {
                                    android.util.Log.d("FirebaseMessaging", "Showing notification");
                                }
                                android.app.Notification v0_74 = ((android.app.NotificationManager) this.zzv.getSystemService("notification"));
                                if (android.text.TextUtils.isEmpty(v2_11)) {
                                    v2_11 = new StringBuilder(37).append("FCM-Notification:").append(android.os.SystemClock.uptimeMillis()).toString();
                                }
                                v0_74.notify(v2_11, 0, v1_8);
                                v0_76 = 1;
                                return v0_76;
                            }
                        }
                        android.app.NotificationChannel v6_18 = this.zzar().getString("com.google.firebase.messaging.default_notification_channel_id");
                        if (android.text.TextUtils.isEmpty(v6_18)) {
                            android.util.Log.w("FirebaseMessaging", "Missing Default Notification Channel metadata in AndroidManifest. Default value will be used.");
                        } else {
                            if (v0_61.getNotificationChannel(v6_18) == null) {
                                android.util.Log.w("FirebaseMessaging", "Notification Channel set in AndroidManifest.xml has not been created by the app. Default value will be used.");
                            } else {
                                v0_65 = v6_18;
                            }
                        }
                        if (v0_61.getNotificationChannel("fcm_fallback_notification_channel") == null) {
                            v0_61.createNotificationChannel(new android.app.NotificationChannel("fcm_fallback_notification_channel", this.zzv.getString(com.google.firebase.messaging.R$string.fcm_fallback_notification_channel_label), 3));
                        }
                        v0_65 = "fcm_fallback_notification_channel";
                    } else {
                        v0_65 = 0;
                    }
                }
            } else {
                v0_76 = 0;
            }
        } else {
            v0_76 = 1;
        }
        return v0_76;
    }

Method com.google.firebase.messaging.zza.zzg() calling method android.net.Uri.parse()


    static android.net.Uri zzg(android.os.Bundle p2)
    {
        int v0_2 = com.google.firebase.messaging.zza.zza(p2, "gcm.n.link_android");
        if (android.text.TextUtils.isEmpty(v0_2)) {
            v0_2 = com.google.firebase.messaging.zza.zza(p2, "gcm.n.link");
        }
        int v0_1;
        if (android.text.TextUtils.isEmpty(v0_2)) {
            v0_1 = 0;
        } else {
            v0_1 = android.net.Uri.parse(v0_2);
        }
        return v0_1;
    }

Method com.google.android.gms.phenotype.Phenotype.getContentProviderUri() calling method android.net.Uri.parse()


    public static android.net.Uri getContentProviderUri(String p3)
    {
        android.net.Uri v0_0;
        android.net.Uri v0_3 = String.valueOf(android.net.Uri.encode(p3));
        if (v0_3.length() == 0) {
            v0_0 = new String("content://com.google.android.gms.phenotype/");
        } else {
            v0_0 = "content://com.google.android.gms.phenotype/".concat(v0_3);
        }
        return android.net.Uri.parse(v0_0);
    }

Method com.google.android.gms.internal.stable.zzi.<clinit>() calling method android.net.Uri.parse()


    static zzi()
    {
        com.google.android.gms.internal.stable.zzi.CONTENT_URI = android.net.Uri.parse("content://com.google.android.gsf.gservices");
        com.google.android.gms.internal.stable.zzi.zzagv = android.net.Uri.parse("content://com.google.android.gsf.gservices/prefix");
        com.google.android.gms.internal.stable.zzi.zzagw = java.util.regex.Pattern.compile("^(1|true|t|on|yes|y)$", 2);
        com.google.android.gms.internal.stable.zzi.zzagx = java.util.regex.Pattern.compile("^(0|false|f|off|no|n)$", 2);
        com.google.android.gms.internal.stable.zzi.zzagy = new java.util.concurrent.atomic.AtomicBoolean();
        com.google.android.gms.internal.stable.zzi.zzagz = new java.util.HashMap();
        com.google.android.gms.internal.stable.zzi.zzaha = new java.util.HashMap();
        com.google.android.gms.internal.stable.zzi.zzahb = new java.util.HashMap();
        com.google.android.gms.internal.stable.zzi.zzahc = new java.util.HashMap();
        String[] v0_16 = new String[0];
        com.google.android.gms.internal.stable.zzi.zzahf = v0_16;
        return;
    }

Method com.google.android.gms.internal.phenotype.zzf.<clinit>() calling method android.net.Uri.parse()


    static zzf()
    {
        com.google.android.gms.internal.phenotype.zzf.CONTENT_URI = android.net.Uri.parse("content://com.google.android.gsf.gservices");
        com.google.android.gms.internal.phenotype.zzf.zzbe = android.net.Uri.parse("content://com.google.android.gsf.gservices/prefix");
        com.google.android.gms.internal.phenotype.zzf.zzbf = java.util.regex.Pattern.compile("^(1|true|t|on|yes|y)$", 2);
        com.google.android.gms.internal.phenotype.zzf.zzbg = java.util.regex.Pattern.compile("^(0|false|f|off|no|n)$", 2);
        com.google.android.gms.internal.phenotype.zzf.zzbh = new java.util.concurrent.atomic.AtomicBoolean();
        com.google.android.gms.internal.phenotype.zzf.zzbj = new java.util.HashMap();
        com.google.android.gms.internal.phenotype.zzf.zzbk = new java.util.HashMap();
        com.google.android.gms.internal.phenotype.zzf.zzbl = new java.util.HashMap();
        com.google.android.gms.internal.phenotype.zzf.zzbm = new java.util.HashMap();
        String[] v0_16 = new String[0];
        com.google.android.gms.internal.phenotype.zzf.zzbp = v0_16;
        return;
    }

Method com.google.android.gms.internal.measurement.zzws.<clinit>() calling method android.net.Uri.parse()


    static zzws()
    {
        com.google.android.gms.internal.measurement.zzws.CONTENT_URI = android.net.Uri.parse("content://com.google.android.gsf.gservices");
        com.google.android.gms.internal.measurement.zzws.zzbol = android.net.Uri.parse("content://com.google.android.gsf.gservices/prefix");
        com.google.android.gms.internal.measurement.zzws.zzbom = java.util.regex.Pattern.compile("^(1|true|t|on|yes|y)$", 2);
        com.google.android.gms.internal.measurement.zzws.zzbon = java.util.regex.Pattern.compile("^(0|false|f|off|no|n)$", 2);
        com.google.android.gms.internal.measurement.zzws.zzboo = new java.util.concurrent.atomic.AtomicBoolean();
        com.google.android.gms.internal.measurement.zzws.zzboq = new java.util.HashMap();
        com.google.android.gms.internal.measurement.zzws.zzbor = new java.util.HashMap();
        com.google.android.gms.internal.measurement.zzws.zzbos = new java.util.HashMap();
        com.google.android.gms.internal.measurement.zzws.zzbot = new java.util.HashMap();
        String[] v0_16 = new String[0];
        com.google.android.gms.internal.measurement.zzws.zzbow = v0_16;
        return;
    }

Method com.google.android.gms.internal.measurement.zzgd.onReceive() calling method android.net.Uri.parse()


    public final void onReceive(android.content.Context p13, android.content.Intent p14)
    {
        com.google.android.gms.internal.measurement.zzgn v3 = com.google.android.gms.internal.measurement.zzgn.zza(p13, 0, 0);
        com.google.android.gms.internal.measurement.zzfi v8 = v3.zzgi();
        if (p14 != null) {
            v3.zzgl();
            com.google.android.gms.internal.measurement.zzgi v0_18 = p14.getAction();
            v8.zzjc().zzg("Local receiver got", v0_18);
            if (!"com.google.android.gms.measurement.UPLOAD".equals(v0_18)) {
                if ("com.android.vending.INSTALL_REFERRER".equals(v0_18)) {
                    try {
                        v3.zzgh().zzc(new com.google.android.gms.internal.measurement.zzge(this, v3, v8));
                    } catch (com.google.android.gms.internal.measurement.zzgi v0_4) {
                        v8.zziy().zzg("Install Referrer Reporter encountered a problem", v0_4);
                    }
                    android.content.BroadcastReceiver$PendingResult v9 = this.zzamz.doGoAsync();
                    com.google.android.gms.internal.measurement.zzgi v0_7 = p14.getStringExtra("referrer");
                    if (v0_7 != null) {
                        v8.zzja().zzg("Install referrer extras are", v0_7);
                        if (!v0_7.contains("?")) {
                            com.google.android.gms.internal.measurement.zzgi v0_8 = String.valueOf(v0_7);
                            if (v0_8.length() == 0) {
                                v0_7 = new String("?");
                            } else {
                                v0_7 = "?".concat(v0_8);
                            }
                        }
                        android.os.Bundle v6 = v3.zzgg().zza(android.net.Uri.parse(v0_7));
                        if (v6 != null) {
                            long v4_1 = (1000 * p14.getLongExtra("referrer_timestamp_seconds", 0));
                            if (v4_1 == 0) {
                                v8.zziy().log("Install referrer is missing timestamp");
                            }
                            v3.zzgh().zzc(new com.google.android.gms.internal.measurement.zzgf(this, v3, v4_1, v6, p13, v8, v9));
                        } else {
                            v8.zzjc().log("No campaign defined in install referrer broadcast");
                            if (v9 != null) {
                                v9.finish();
                            }
                        }
                    } else {
                        v8.zzjc().log("Install referrer extras are null");
                        if (v9 != null) {
                            v9.finish();
                        }
                    }
                }
            } else {
                com.google.android.gms.internal.measurement.zzgi v0_20 = new android.content.Intent().setClassName(p13, "com.google.android.gms.measurement.AppMeasurementService");
                v0_20.setAction("com.google.android.gms.measurement.UPLOAD");
                v8.zzjc().log("Starting wakeful intent.");
                this.zzamz.doStartService(p13, v0_20);
            }
        } else {
            v8.zziy().log("Receiver called with null intent");
        }
        return;
    }

Method com.google.android.gms.internal.measurement.zzfz.zzc() calling method android.net.Uri.parse()


    final void zzc(android.os.Bundle p11)
    {
        this.zzacv.zzgh().zzab();
        if (p11 != null) {
            android.content.ServiceConnection v2_0 = (p11.getLong("install_begin_timestamp_seconds", 0) * 1000);
            if (v2_0 != 0) {
                com.google.android.gms.common.stats.ConnectionTracker v0_16 = p11.getString("install_referrer");
                if ((v0_16 != null) && (!v0_16.isEmpty())) {
                    com.google.android.gms.common.stats.ConnectionTracker v0_20;
                    this.zzacv.zzgi().zzjc().zzg("InstallReferrer API result", v0_16);
                    android.content.Context v1_10 = this.zzacv.zzgg();
                    com.google.android.gms.common.stats.ConnectionTracker v0_18 = String.valueOf(v0_16);
                    if (v0_18.length() == 0) {
                        v0_20 = new String("?");
                    } else {
                        v0_20 = "?".concat(v0_18);
                    }
                    android.content.Context v1_11 = v1_10.zza(android.net.Uri.parse(v0_20));
                    if (v1_11 != null) {
                        com.google.android.gms.common.stats.ConnectionTracker v0_26;
                        com.google.android.gms.common.stats.ConnectionTracker v0_24 = v1_11.getString("medium");
                        if ((v0_24 == null) || (("(not set)".equalsIgnoreCase(v0_24)) || ("organic".equalsIgnoreCase(v0_24)))) {
                            v0_26 = 0;
                        } else {
                            v0_26 = 1;
                        }
                        if (v0_26 != null) {
                            String v4_6 = (p11.getLong("referrer_click_timestamp_seconds", 0) * 1000);
                            if (v4_6 != 0) {
                                v1_11.putLong("click_timestamp", v4_6);
                            } else {
                                this.zzacv.zzgi().zziv().log("Install Referrer is missing click timestamp for ad campaign");
                                return;
                            }
                        }
                        if (v2_0 != this.zzacv.zzgj().zzalz.get()) {
                            v1_11.putString("_cis", "referrer API");
                            this.zzacv.zzgj().zzalz.set(v2_0);
                            this.zzacv.zzfy().logEvent("auto", "_cmp", v1_11);
                            if (this.zzamw != null) {
                                com.google.android.gms.common.stats.ConnectionTracker.getInstance().unbindService(this.zzacv.getContext(), this.zzamw);
                            }
                        } else {
                            this.zzacv.zzgi().zzjc().log("Campaign has already been logged");
                        }
                    } else {
                        this.zzacv.zzgi().zziv().log("No campaign params defined in install referrer result");
                    }
                } else {
                    this.zzacv.zzgi().zziv().log("No referrer defined in install referrer response");
                }
            } else {
                this.zzacv.zzgi().zziv().log("Service response is missing Install Referrer install timestamp");
            }
        }
        return;
    }

Method com.google.android.gms.internal.measurement.zzez.<clinit>() calling method android.net.Uri.parse()


    static zzez()
    {
        com.google.android.gms.internal.measurement.zzez$zza v0_90;
        com.google.android.gms.internal.measurement.zzez.zzaht = new java.util.ArrayList();
        com.google.android.gms.internal.measurement.zzez.zzahu = new java.util.ArrayList();
        com.google.android.gms.internal.measurement.zzez.zzahv = new java.util.ArrayList();
        com.google.android.gms.internal.measurement.zzez.zzahw = new java.util.ArrayList();
        com.google.android.gms.internal.measurement.zzez.zzahx = new java.util.ArrayList();
        com.google.android.gms.internal.measurement.zzez$zza v0_66 = String.valueOf(android.net.Uri.encode("com.google.android.gms.measurement"));
        if (v0_66.length() == 0) {
            v0_90 = new String("content://com.google.android.gms.phenotype/");
        } else {
            v0_90 = "content://com.google.android.gms.phenotype/".concat(v0_66);
        }
        com.google.android.gms.internal.measurement.zzez.zzahy = new com.google.android.gms.internal.measurement.zzxh(android.net.Uri.parse(v0_90));
        com.google.android.gms.internal.measurement.zzez.zzahz = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.log_third_party_store_events_enabled", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzaia = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.log_installs_enabled", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzaib = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.log_upgrades_enabled", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzaic = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.log_androidId_enabled", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzaid = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload_dsid_enabled", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzaie = com.google.android.gms.internal.measurement.zzez$zza.zzd("measurement.log_tag", "FA", "FA-SVC");
        com.google.android.gms.internal.measurement.zzez.zzaif = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.ad_id_cache_time", 10000, 10000);
        com.google.android.gms.internal.measurement.zzez.zzaig = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.monitoring.sample_period_millis", 86400000, 86400000);
        com.google.android.gms.internal.measurement.zzez.zzaih = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.config.cache_time", 86400000, 3600000);
        com.google.android.gms.internal.measurement.zzez.zzaii = com.google.android.gms.internal.measurement.zzez$zza.zzd("measurement.config.url_scheme", "https", "https");
        com.google.android.gms.internal.measurement.zzez.zzaij = com.google.android.gms.internal.measurement.zzez$zza.zzd("measurement.config.url_authority", "app-measurement.com", "app-measurement.com");
        com.google.android.gms.internal.measurement.zzez.zzaik = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.max_bundles", 100, 100);
        com.google.android.gms.internal.measurement.zzez.zzail = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.max_batch_size", 65536, 65536);
        com.google.android.gms.internal.measurement.zzez.zzaim = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.max_bundle_size", 65536, 65536);
        com.google.android.gms.internal.measurement.zzez.zzain = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.max_events_per_bundle", 1000, 1000);
        com.google.android.gms.internal.measurement.zzez.zzaio = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.max_events_per_day", 100000, 100000);
        com.google.android.gms.internal.measurement.zzez.zzaip = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.max_error_events_per_day", 1000, 1000);
        com.google.android.gms.internal.measurement.zzez.zzaiq = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.max_public_events_per_day", 50000, 50000);
        com.google.android.gms.internal.measurement.zzez.zzair = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.max_conversions_per_day", 500, 500);
        com.google.android.gms.internal.measurement.zzez.zzais = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.max_realtime_events_per_day", 10, 10);
        com.google.android.gms.internal.measurement.zzez.zzait = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.store.max_stored_events_per_app", 100000, 100000);
        com.google.android.gms.internal.measurement.zzez.zzaiu = com.google.android.gms.internal.measurement.zzez$zza.zzd("measurement.upload.url", "https://app-measurement.com/a", "https://app-measurement.com/a");
        com.google.android.gms.internal.measurement.zzez.zzaiv = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.backoff_period", 43200000, 43200000);
        com.google.android.gms.internal.measurement.zzez.zzaiw = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.window_interval", 3600000, 3600000);
        com.google.android.gms.internal.measurement.zzez.zzaix = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.interval", 3600000, 3600000);
        com.google.android.gms.internal.measurement.zzez.zzaiy = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.realtime_upload_interval", 10000, 10000);
        com.google.android.gms.internal.measurement.zzez.zzaiz = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.debug_upload_interval", 1000, 1000);
        com.google.android.gms.internal.measurement.zzez.zzaja = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.minimum_delay", 500, 500);
        com.google.android.gms.internal.measurement.zzez.zzajb = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.alarm_manager.minimum_interval", 60000, 60000);
        com.google.android.gms.internal.measurement.zzez.zzajc = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.stale_data_deletion_interval", 86400000, 86400000);
        com.google.android.gms.internal.measurement.zzez.zzajd = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.refresh_blacklisted_config_interval", 604800000, 604800000);
        com.google.android.gms.internal.measurement.zzez.zzaje = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.initial_upload_delay_time", 15000, 15000);
        com.google.android.gms.internal.measurement.zzez.zzajf = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.retry_time", 1800000, 1800000);
        com.google.android.gms.internal.measurement.zzez.zzajg = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.upload.retry_count", 6, 6);
        com.google.android.gms.internal.measurement.zzez.zzajh = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.upload.max_queue_time", 1.1952436104e-314, 1.1952436104e-314);
        com.google.android.gms.internal.measurement.zzez.zzaji = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.lifetimevalue.max_currency_tracked", 4, 4);
        com.google.android.gms.internal.measurement.zzez.zzajj = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.audience.filter_result_max_count", 200, 200);
        com.google.android.gms.internal.measurement.zzez.zzajk = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.service_client.idle_disconnect_millis", 5000, 5000);
        com.google.android.gms.internal.measurement.zzez.zzajl = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.test.boolean_flag", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzajm = com.google.android.gms.internal.measurement.zzez$zza.zzd("measurement.test.string_flag", "---", "---");
        com.google.android.gms.internal.measurement.zzez.zzajn = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.test.long_flag", -1, -1);
        com.google.android.gms.internal.measurement.zzez.zzajo = com.google.android.gms.internal.measurement.zzez$zza.zzc("measurement.test.int_flag", -2, -2);
        com.google.android.gms.internal.measurement.zzez.zzajp = com.google.android.gms.internal.measurement.zzez$zza.zza("measurement.test.double_flag", -3.0, -3.0);
        com.google.android.gms.internal.measurement.zzez.zzajq = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.lifetimevalue.user_engagement_tracking_enabled", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzajr = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.audience.complex_param_evaluation", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzajs = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.validation.internal_limits_internal_event_params", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzajt = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.quality.unsuccessful_update_retry_counter", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzaju = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.iid.disable_on_collection_disabled", 1, 1);
        com.google.android.gms.internal.measurement.zzez.zzajv = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.app_launch.call_only_when_enabled", 1, 1);
        com.google.android.gms.internal.measurement.zzez.zzajw = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.run_on_worker_inline", 1, 0);
        com.google.android.gms.internal.measurement.zzez.zzajx = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.audience.dynamic_filters", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzajy = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.reset_analytics.persist_time", 0, 0);
        com.google.android.gms.internal.measurement.zzez.zzajz = com.google.android.gms.internal.measurement.zzez$zza.zzb("measurement.validation.value_and_currency_params", 0, 0);
        return;
    }

Method com.google.android.gms.dynamite.DynamiteModule.getQueryUri() calling method android.net.Uri.parse()


    public static android.net.Uri getQueryUri(String p3, boolean p4)
    {
        android.net.Uri v0_0;
        if (!p4) {
            v0_0 = "api";
        } else {
            v0_0 = "api_force_staging";
        }
        return android.net.Uri.parse(new StringBuilder(((String.valueOf(v0_0).length() + 42) + String.valueOf(p3).length())).append("content://com.google.android.gms.chimera/").append(v0_0).append("/").append(p3).toString());
    }

Method com.google.android.gms.common.internal.GmsIntents.getPlayStoreUri() calling method android.net.Uri.parse()


    public static android.net.Uri getPlayStoreUri(String p2)
    {
        return android.net.Uri.parse("https://play.google.com/store/apps/details").buildUpon().appendQueryParameter("id", p2).build();
    }

Method com.google.android.gms.common.internal.GmsIntents.createShowProfileIntent() calling method android.net.Uri.parse()


    public static android.content.Intent createShowProfileIntent(android.content.Context p3, String p4)
    {
        Object[] v1_1 = new Object[1];
        v1_1[0] = p4;
        return com.google.android.gms.common.internal.GmsIntents.zza(p3, android.net.Uri.parse(String.format("https://plus.google.com/%s/about", v1_1)));
    }

Method com.google.android.gms.common.internal.GmsIntents.createPlayStoreLightPurchaseFlowIntent() calling method android.net.Uri.parse()


    public static android.content.Intent createPlayStoreLightPurchaseFlowIntent(android.content.Context p6, String p7, String p8)
    {
        android.content.Intent v0_2 = new android.content.Intent("com.android.vending.billing.PURCHASE");
        v0_2.addCategory("android.intent.category.DEFAULT");
        v0_2.setPackage("com.android.vending");
        if (!android.text.TextUtils.isEmpty(p7)) {
            v0_2.putExtra("authAccount", p7);
        }
        v0_2.putExtra("backend", 3);
        v0_2.putExtra("document_type", 1);
        v0_2.putExtra("full_docid", p8);
        v0_2.putExtra("backend_docid", p8);
        v0_2.putExtra("offer_type", 1);
        if (!com.google.android.gms.common.internal.GmsIntents.isIntentResolvable(p6.getPackageManager(), v0_2)) {
            v0_2 = new android.content.Intent("android.intent.action.VIEW");
            Object[] v3_1 = new Object[2];
            v3_1[0] = p8;
            v3_1[1] = Integer.valueOf(1);
            v0_2.setData(android.net.Uri.parse(String.format(java.util.Locale.US, "https://play.google.com/store/apps/details?id=%1$s&rdid=%1$s&rdot=%2$d", v3_1)));
            v0_2.setPackage("com.android.vending");
            v0_2.putExtra("use_direct_purchase", 1);
        }
        return v0_2;
    }

Method com.google.android.gms.common.internal.GmsIntents.createPlayStoreIntent() calling method android.net.Uri.parse()


    public static android.content.Intent createPlayStoreIntent(String p3, String p4)
    {
        android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
        int v1_1 = android.net.Uri.parse("market://details").buildUpon().appendQueryParameter("id", p3);
        if (!android.text.TextUtils.isEmpty(p4)) {
            v1_1.appendQueryParameter("pcampaignid", p4);
        }
        v0_1.setData(v1_1.build());
        v0_1.setPackage("com.android.vending");
        v0_1.addFlags(524288);
        return v0_1;
    }

Method com.google.android.gms.common.internal.GmsIntents.createPlayStoreGamesIntent() calling method android.net.Uri.parse()


    public static android.content.Intent createPlayStoreGamesIntent(android.content.Context p4)
    {
        int v0_3;
        int v1_1 = new android.content.Intent("android.intent.action.VIEW");
        v1_1.setData(android.net.Uri.parse("http://play.google.com/store/apps/category/GAME"));
        v1_1.addFlags(524288);
        v1_1.setPackage("com.android.vending");
        if (p4.getPackageManager().resolveActivity(v1_1, 65536) != null) {
            v0_3 = v1_1;
        } else {
            v0_3 = new android.content.Intent(v1_1.getAction(), v1_1.getData());
            v0_3.setFlags(v1_1.getFlags());
        }
        return v0_3;
    }

Method com.google.android.gms.common.internal.GmsIntents.<clinit>() calling method android.net.Uri.parse()


    static GmsIntents()
    {
        android.net.Uri v0_3 = android.net.Uri.parse("https://plus.google.com/");
        com.google.android.gms.common.internal.GmsIntents.zztz = v0_3;
        com.google.android.gms.common.internal.GmsIntents.zzua = v0_3.buildUpon().appendPath("circles").appendPath("find").build();
        return;
    }

Method com.google.android.gms.ads.identifier.zza.run() calling method android.net.Uri.parse()


    public final void run()
    {
        new com.google.android.gms.ads.identifier.zzc();
        String v2_4 = this.zzl;
        String v3_4 = android.net.Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
        String v4_3 = v2_4.keySet().iterator();
        while (v4_3.hasNext()) {
            RuntimeException v0_2 = ((String) v4_3.next());
            v3_4.appendQueryParameter(v0_2, ((String) v2_4.get(v0_2)));
        }
        String v2_3 = v3_4.build().toString();
        try {
            RuntimeException v0_8 = ((java.net.HttpURLConnection) new java.net.URL(v2_3).openConnection());
        } catch (RuntimeException v0_12) {
            String v3_5 = v0_12.getMessage();
            v2_3 = new StringBuilder(((String.valueOf(v2_3).length() + 32) + String.valueOf(v3_5).length())).append("Error while parsing ping URL: ").append(v2_3).append(". ").append(v3_5).toString();
            android.util.Log.w("HttpUrlPinger", v2_3, v0_12);
            return;
        } catch (RuntimeException v0_11) {
            String v3_3 = v0_11.getMessage();
            v2_3 = new StringBuilder(((String.valueOf(v2_3).length() + 27) + String.valueOf(v3_3).length())).append("Error while pinging URL: ").append(v2_3).append(". ").append(v3_3).toString();
            android.util.Log.w("HttpUrlPinger", v2_3, v0_11);
            return;
        } catch (RuntimeException v0_11) {
        }
        String v1_2 = v0_8.getResponseCode();
        if ((v1_2 < 200) || (v1_2 >= 300)) {
            android.util.Log.w("HttpUrlPinger", new StringBuilder((String.valueOf(v2_3).length() + 65)).append("Received non-success response code ").append(v1_2).append(" from pinging URL: ").append(v2_3).toString());
        }
        v0_8.disconnect();
        return;
    }

Method com.facebook.messenger.MessengerUtils.startViewUri() calling method android.net.Uri.parse()


    private static void startViewUri(android.content.Context p3, String p4)
    {
        p3.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p4)));
        return;
    }

Method com.facebook.messenger.MessengerUtils.getAllAvailableProtocolVersions() calling method android.net.Uri.parse()


    private static java.util.Set getAllAvailableProtocolVersions(android.content.Context p10)
    {
        Integer v3_0 = 0;
        android.content.ContentResolver v0 = p10.getContentResolver();
        java.util.HashSet v6_1 = new java.util.HashSet();
        android.net.Uri v1 = android.net.Uri.parse("content://com.facebook.orca.provider.MessengerPlatformProvider/versions");
        String[] v2 = new String[1];
        v2[0] = "version";
        android.database.Cursor v7 = v0.query(v1, v2, v3_0, v3_0, v3_0);
        if (v7 != null) {
            try {
                int v9 = v7.getColumnIndex("version");
            } catch (Integer v3_3) {
                v7.close();
                throw v3_3;
            }
            while (v7.moveToNext()) {
                v6_1.add(Integer.valueOf(v7.getInt(v9)));
            }
            v7.close();
        }
        return v6_1;
    }

Method com.facebook.internal.WebDialog.parseResponseUri() calling method android.net.Uri.parse()


    protected android.os.Bundle parseResponseUri(String p4)
    {
        android.net.Uri v1 = android.net.Uri.parse(p4);
        android.os.Bundle v0 = com.facebook.internal.Utility.parseUrlQueryString(v1.getQuery());
        v0.putAll(com.facebook.internal.Utility.parseUrlQueryString(v1.getFragment()));
        return v0;
    }

Method com.facebook.internal.WebDialog$DialogWebViewClient.shouldOverrideUrlLoading() calling method android.net.Uri.parse()


    public boolean shouldOverrideUrlLoading(android.webkit.WebView p13, String p14)
    {
        int v8_3;
        com.facebook.internal.Utility.logd("FacebookSDK.WebDialog", new StringBuilder().append("Redirect URL: ").append(p14).toString());
        if (!p14.startsWith(com.facebook.internal.WebDialog.access$100(this.this$0))) {
            if (!p14.startsWith("fbconnect://cancel")) {
                if (!p14.contains("touch")) {
                    try {
                        this.this$0.getContext().startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p14)));
                        v8_3 = 1;
                    } catch (android.content.ActivityNotFoundException v0) {
                        v8_3 = 0;
                    }
                } else {
                    v8_3 = 0;
                }
            } else {
                this.this$0.cancel();
                v8_3 = 1;
            }
        } else {
            android.os.Bundle v7 = this.this$0.parseResponseUri(p14);
            String v1 = v7.getString("error");
            if (v1 == null) {
                v1 = v7.getString("error_type");
            }
            String v4 = v7.getString("error_msg");
            if (v4 == null) {
                v4 = v7.getString("error_message");
            }
            if (v4 == null) {
                v4 = v7.getString("error_description");
            }
            String v3 = v7.getString("error_code");
            int v2 = -1;
            if (!com.facebook.internal.Utility.isNullOrEmpty(v3)) {
                try {
                    v2 = Integer.parseInt(v3);
                } catch (NumberFormatException v5) {
                    v2 = -1;
                }
            }
            if ((!com.facebook.internal.Utility.isNullOrEmpty(v1)) || ((!com.facebook.internal.Utility.isNullOrEmpty(v4)) || (v2 != -1))) {
                if ((v1 == null) || ((!v1.equals("access_denied")) && (!v1.equals("OAuthAccessDeniedException")))) {
                    if (v2 != 4201) {
                        this.this$0.sendErrorToListener(new com.facebook.FacebookServiceException(new com.facebook.FacebookRequestError(v2, v1, v4), v4));
                    } else {
                        this.this$0.cancel();
                    }
                } else {
                    this.this$0.cancel();
                }
            } else {
                this.this$0.sendSuccessToListener(v7);
            }
            v8_3 = 1;
        }
        return v8_3;
    }

Method com.facebook.internal.Validate.hasCustomTabRedirectActivity() calling method android.net.Uri.parse()


    public static boolean hasCustomTabRedirectActivity(android.content.Context p9)
    {
        com.facebook.internal.Validate.notNull(p9, "context");
        android.content.pm.PackageManager v6 = p9.getPackageManager();
        java.util.List v4 = 0;
        if (v6 != null) {
            android.content.Intent v5_1 = new android.content.Intent();
            v5_1.setAction("android.intent.action.VIEW");
            v5_1.addCategory("android.intent.category.DEFAULT");
            v5_1.addCategory("android.intent.category.BROWSABLE");
            v5_1.setData(android.net.Uri.parse(new StringBuilder().append("fb").append(com.facebook.FacebookSdk.getApplicationId()).append("://authorize").toString()));
            v4 = v6.queryIntentActivities(v5_1, 64);
        }
        int v7_12;
        int v1 = 0;
        if (v4 == null) {
            v7_12 = v1;
        } else {
            java.util.Iterator v2 = v4.iterator();
            while (v2.hasNext()) {
                if (!((android.content.pm.ResolveInfo) v2.next()).activityInfo.name.equals(com.facebook.CustomTabActivity.getName())) {
                    v7_12 = 0;
                } else {
                    v1 = 1;
                }
            }
        }
        return v7_12;
    }

Method com.facebook.internal.Utility$DialogFeatureConfig.parseDialogConfig() calling method android.net.Uri.parse()


    private static com.facebook.internal.Utility$DialogFeatureConfig parseDialogConfig(org.json.JSONObject p11)
    {
        com.facebook.internal.Utility$DialogFeatureConfig v8_0 = 0;
        String v2 = p11.optString("name");
        if (!com.facebook.internal.Utility.isNullOrEmpty(v2)) {
            String[] v0 = v2.split("\\|");
            if (v0.length == 2) {
                String v1 = v0[0];
                String v4 = v0[1];
                if ((!com.facebook.internal.Utility.isNullOrEmpty(v1)) && (!com.facebook.internal.Utility.isNullOrEmpty(v4))) {
                    String v6 = p11.optString("url");
                    android.net.Uri v3 = 0;
                    if (!com.facebook.internal.Utility.isNullOrEmpty(v6)) {
                        v3 = android.net.Uri.parse(v6);
                    }
                    v8_0 = new com.facebook.internal.Utility$DialogFeatureConfig(v1, v4, v3, com.facebook.internal.Utility$DialogFeatureConfig.parseVersionSpec(p11.optJSONArray("versions")));
                }
            }
        }
        return v8_0;
    }

Method com.facebook.internal.UrlRedirectCache.getRedirectedUri() calling method android.net.Uri.parse()


    static android.net.Uri getRedirectedUri(android.net.Uri p12)
    {
        android.net.Uri v9_0 = 0;
        if (p12 != null) {
            String v7 = p12.toString();
            int v3_0 = 0;
            try {
                com.facebook.internal.FileLruCache v2 = com.facebook.internal.UrlRedirectCache.getCache();
                int v5 = 0;
                int v4 = 0;
                try {
                    while(true) {
                        java.io.InputStream v6 = v2.get(v7, com.facebook.internal.UrlRedirectCache.REDIRECT_CONTENT_TAG);
                        com.facebook.internal.Utility.closeQuietly(v3_0);
                        v7 = StringBuilder v8_1.toString();
                        v4 = v3_0;
                    }
                    if (v5 == 0) {
                        com.facebook.internal.Utility.closeQuietly(v4);
                    } else {
                        v9_0 = android.net.Uri.parse(v7);
                        com.facebook.internal.Utility.closeQuietly(v4);
                    }
                } catch (android.net.Uri v9_1) {
                    v3_0 = v4;
                    com.facebook.internal.Utility.closeQuietly(v3_0);
                    throw v9_1;
                } catch (int v10) {
                    v3_0 = v4;
                    com.facebook.internal.Utility.closeQuietly(v3_0);
                }
                if (v6 == null) {
                } else {
                    v5 = 1;
                    v3_0 = new java.io.InputStreamReader(v6);
                    char[] v0 = new char[128];
                    v8_1 = new StringBuilder();
                    while(true) {
                        int v1 = v3_0.read(v0, 0, v0.length);
                        if (v1 <= 0) {
                            break;
                        }
                        v8_1.append(v0, 0, v1);
                    }
                }
            } catch (android.net.Uri v9_1) {
            } catch (int v10) {
            }
        }
        return v9_0;
    }

Method com.facebook.internal.NativeProtocol.buildPlatformProviderVersionURI() calling method android.net.Uri.parse()


    private static android.net.Uri buildPlatformProviderVersionURI(com.facebook.internal.NativeProtocol$NativeAppInfo p2)
    {
        return android.net.Uri.parse(new StringBuilder().append("content://").append(p2.getPackage()).append(".provider.PlatformProvider/versions").toString());
    }

Method com.facebook.internal.ImageResponseCache.interceptAndCacheImageStream() calling method android.net.Uri.parse()


    static java.io.InputStream interceptAndCacheImageStream(android.content.Context p5, java.net.HttpURLConnection p6)
    {
        java.io.InputStream v1 = 0;
        if (p6.getResponseCode() == 200) {
            android.net.Uri v2 = android.net.Uri.parse(p6.getURL().toString());
            v1 = p6.getInputStream();
            try {
                if (com.facebook.internal.ImageResponseCache.isCDNURL(v2)) {
                    v1 = com.facebook.internal.ImageResponseCache.getCache(p5).interceptAndPut(v2.toString(), new com.facebook.internal.ImageResponseCache$BufferedHttpInputStream(v1, p6));
                }
            } catch (String v3) {
            }
        }
        return v1;
    }

Method com.facebook.internal.ImageDownloader.download() calling method android.net.Uri.parse()


    private static void download(com.facebook.internal.ImageDownloader$RequestKey p19, android.content.Context p20)
    {
        java.io.InputStream v14 = 0;
        com.facebook.FacebookException v8_0 = 0;
        android.graphics.Bitmap v2 = 0;
        int v10 = 1;
        try {
            java.net.HttpURLConnection v5 = ((java.net.HttpURLConnection) new java.net.URL(p19.uri.toString()).openConnection());
            v5.setInstanceFollowRedirects(0);
            switch (v5.getResponseCode()) {
                case 200:
                    v14 = com.facebook.internal.ImageResponseCache.interceptAndCacheImageStream(p20, v5);
                    v2 = android.graphics.BitmapFactory.decodeStream(v14);
                    com.facebook.internal.Utility.closeQuietly(v14);
                    com.facebook.internal.Utility.disconnectQuietly(v5);
                    break;
                case 301:
                case 302:
                    v10 = 0;
                    String v12 = v5.getHeaderField("location");
                    if (com.facebook.internal.Utility.isNullOrEmpty(v12)) {
                    } else {
                        android.net.Uri v13 = android.net.Uri.parse(v12);
                        com.facebook.internal.UrlRedirectCache.cacheUriRedirect(p19.uri, v13);
                        com.facebook.internal.ImageDownloader$DownloaderContext v6 = com.facebook.internal.ImageDownloader.removePendingRequest(p19);
                        if ((v6 == null) || (v6.isCancelled)) {
                        } else {
                            com.facebook.internal.ImageRequest v16_10 = v6.request;
                            com.facebook.internal.ImageDownloader$RequestKey v17_0 = new com.facebook.internal.ImageDownloader$RequestKey;
                            v17_0(v13, p19.tag);
                            com.facebook.internal.ImageDownloader.enqueueCacheRead(v16_10, v17_0, 0);
                        }
                    }
                    break;
                default:
                    v14 = v5.getErrorStream();
                    StringBuilder v9_1 = new StringBuilder();
                    if (v14 == null) {
                        v9_1.append(p20.getString(com.facebook.R$string.com_facebook_image_download_unknown_error));
                    } else {
                        java.io.InputStreamReader v11_1 = new java.io.InputStreamReader(v14);
                        char[] v3 = new char[128];
                        while(true) {
                            int v4 = v11_1.read(v3, 0, v3.length);
                            if (v4 <= 0) {
                                break;
                            }
                            v9_1.append(v3, 0, v4);
                        }
                        com.facebook.internal.Utility.closeQuietly(v11_1);
                    }
                    v8_0 = new com.facebook.FacebookException(v9_1.toString());
            }
        } catch (com.facebook.internal.ImageRequest v16_17) {
            com.facebook.internal.Utility.closeQuietly(v14);
            com.facebook.internal.Utility.disconnectQuietly(v5);
            throw v16_17;
        } catch (java.io.IOException v7) {
            v8_0 = v7;
            com.facebook.internal.Utility.closeQuietly(v14);
            com.facebook.internal.Utility.disconnectQuietly(v5);
        }
        if (v10 != 0) {
            com.facebook.internal.ImageDownloader.issueResponse(p19, v8_0, v2, 0);
        }
        return;
    }

Method com.facebook.internal.AttributionIdentifiers.getAttributionIdentifiers() calling method android.net.Uri.parse()


    public static com.facebook.internal.AttributionIdentifiers getAttributionIdentifiers(android.content.Context p16)
    {
        if ((com.facebook.internal.AttributionIdentifiers.recentlyFetchedIdentifiers == null) || ((System.currentTimeMillis() - com.facebook.internal.AttributionIdentifiers.recentlyFetchedIdentifiers.fetchTime) >= 3600000)) {
            com.facebook.internal.AttributionIdentifiers v10 = com.facebook.internal.AttributionIdentifiers.getAndroidId(p16);
            android.database.Cursor v8 = 0;
            try {
                String[] v2 = new String[3];
                v2[0] = "aid";
                v2[1] = "androidid";
                v2[2] = "limit_tracking";
                android.net.Uri v1 = 0;
            } catch (Exception v9) {
                android.util.Log.d(com.facebook.internal.AttributionIdentifiers.TAG, new StringBuilder().append("Caught unexpected exception in getAttributionId(): ").append(v9.toString()).toString());
                boolean v0_1 = 0;
                if (v8 == null) {
                    return v0_1;
                } else {
                    v8.close();
                    return v0_1;
                }
                if (v8 != null) {
                    v8.close();
                }
                v0_1 = com.facebook.internal.AttributionIdentifiers.cacheAndReturnIdentifiers(v10);
            } catch (boolean v0_2) {
                if (v8 != null) {
                    v8.close();
                }
                throw v0_2;
            }
            if (p16.getPackageManager().resolveContentProvider("com.facebook.katana.provider.AttributionIdProvider", 0) == null) {
                if (p16.getPackageManager().resolveContentProvider("com.facebook.wakizashi.provider.AttributionIdProvider", 0) != null) {
                    v1 = android.net.Uri.parse("content://com.facebook.wakizashi.provider.AttributionIdProvider");
                }
            } else {
                v1 = android.net.Uri.parse("content://com.facebook.katana.provider.AttributionIdProvider");
            }
            String v11 = com.facebook.internal.AttributionIdentifiers.getInstallerPackageName(p16);
            if (v11 != null) {
                v10.androidInstallerPackage = v11;
            }
            if (v1 != null) {
                v8 = p16.getContentResolver().query(v1, v2, 0, 0, 0);
                if ((v8 != null) && (v8.moveToFirst())) {
                    int v7 = v8.getColumnIndex("aid");
                    int v6 = v8.getColumnIndex("androidid");
                    int v12 = v8.getColumnIndex("limit_tracking");
                    v10.attributionId = v8.getString(v7);
                    if ((v6 > 0) && ((v12 > 0) && (v10.getAndroidAdvertiserId() == null))) {
                        v10.androidAdvertiserId = v8.getString(v6);
                        v10.limitTracking = Boolean.parseBoolean(v8.getString(v12));
                    }
                } else {
                    v0_1 = com.facebook.internal.AttributionIdentifiers.cacheAndReturnIdentifiers(v10);
                    if (v8 != null) {
                        v8.close();
                    }
                }
            } else {
                v0_1 = com.facebook.internal.AttributionIdentifiers.cacheAndReturnIdentifiers(v10);
                if (0 != 0) {
                    0.close();
                }
            }
        } else {
            v0_1 = com.facebook.internal.AttributionIdentifiers.recentlyFetchedIdentifiers;
        }
        return v0_1;
    }

Method com.facebook.applinks.AppLinkData.createFromJson() calling method android.net.Uri.parse()


    private static com.facebook.applinks.AppLinkData createFromJson(String p12)
    {
        com.facebook.applinks.AppLinkData v1_0;
        if (p12 != null) {
            try {
                org.json.JSONObject v0_1 = new org.json.JSONObject(p12);
                String v8 = v0_1.getString("version");
            } catch (com.facebook.FacebookException v4_1) {
                android.util.Log.d(com.facebook.applinks.AppLinkData.TAG, "Unable to parse AppLink JSON", v4_1);
                v1_0 = 0;
            } catch (com.facebook.FacebookException v4_0) {
                android.util.Log.d(com.facebook.applinks.AppLinkData.TAG, "Unable to parse AppLink JSON", v4_0);
            }
            if ((!v0_1.getJSONObject("bridge_args").getString("method").equals("applink")) || (!v8.equals("2"))) {
            } else {
                v1_0 = new com.facebook.applinks.AppLinkData();
                v1_0.arguments = v0_1.getJSONObject("method_args");
                if (!v1_0.arguments.has("ref")) {
                    if (v1_0.arguments.has("referer_data")) {
                        org.json.JSONObject v7 = v1_0.arguments.getJSONObject("referer_data");
                        if (v7.has("fb_ref")) {
                            v1_0.ref = v7.getString("fb_ref");
                        }
                    }
                } else {
                    v1_0.ref = v1_0.arguments.getString("ref");
                }
                if (v1_0.arguments.has("target_url")) {
                    v1_0.targetUri = android.net.Uri.parse(v1_0.arguments.getString("target_url"));
                }
                if (v1_0.arguments.has("extras")) {
                    org.json.JSONObject v5 = v1_0.arguments.getJSONObject("extras");
                    if (v5.has("deeplink_context")) {
                        org.json.JSONObject v3 = v5.getJSONObject("deeplink_context");
                        if (v3.has("promo_code")) {
                            v1_0.promotionCode = v3.getString("promo_code");
                        }
                    }
                }
                v1_0.argumentBundle = com.facebook.applinks.AppLinkData.toBundle(v1_0.arguments);
            }
        } else {
            v1_0 = 0;
        }
        return v1_0;
    }

Method com.facebook.applinks.AppLinkData.createFromAlApplinkData() calling method android.net.Uri.parse()


    public static com.facebook.applinks.AppLinkData createFromAlApplinkData(android.content.Intent p10)
    {
        com.facebook.applinks.AppLinkData v0_0;
        if (p10 != null) {
            android.os.Bundle v1 = p10.getBundleExtra("al_applink_data");
            if (v1 != null) {
                v0_0 = new com.facebook.applinks.AppLinkData();
                v0_0.targetUri = p10.getData();
                if (v0_0.targetUri == null) {
                    String v7 = v1.getString("target_url");
                    if (v7 != null) {
                        v0_0.targetUri = android.net.Uri.parse(v7);
                    }
                }
                v0_0.argumentBundle = v1;
                v0_0.arguments = 0;
                android.os.Bundle v6 = v1.getBundle("referer_data");
                if (v6 != null) {
                    v0_0.ref = v6.getString("fb_ref");
                }
                android.os.Bundle v5 = v1.getBundle("extras");
                if (v5 != null) {
                    String v2 = v5.getString("deeplink_context");
                    if (v2 != null) {
                        try {
                            org.json.JSONObject v3_1 = new org.json.JSONObject(v2);
                        } catch (org.json.JSONException v4) {
                            android.util.Log.d(com.facebook.applinks.AppLinkData.TAG, "Unable to parse deeplink_context JSON", v4);
                        }
                        if (v3_1.has("promo_code")) {
                            v0_0.promotionCode = v3_1.getString("promo_code");
                        }
                    }
                }
            } else {
                v0_0 = 0;
            }
        } else {
            v0_0 = 0;
        }
        return v0_0;
    }

Method com.facebook.Profile.<init>() calling method android.net.Uri.parse()


    Profile(org.json.JSONObject p4)
    {
        android.net.Uri v1 = 0;
        this.id = p4.optString("id", 0);
        this.firstName = p4.optString("first_name", 0);
        this.middleName = p4.optString("middle_name", 0);
        this.lastName = p4.optString("last_name", 0);
        this.name = p4.optString("name", 0);
        String v0 = p4.optString("link_uri", 0);
        if (v0 != null) {
            v1 = android.net.Uri.parse(v0);
        }
        this.linkUri = v1;
        return;
    }

Method com.facebook.Profile.<init>() calling method android.net.Uri.parse()


    private Profile(android.os.Parcel p3)
    {
        android.net.Uri v1_3;
        this.id = p3.readString();
        this.firstName = p3.readString();
        this.middleName = p3.readString();
        this.lastName = p3.readString();
        this.name = p3.readString();
        String v0 = p3.readString();
        if (v0 != null) {
            v1_3 = android.net.Uri.parse(v0);
        } else {
            v1_3 = 0;
        }
        this.linkUri = v1_3;
        return;
    }

Method bolts.MeasurementEvent.getApplinkLogData() calling method android.net.Uri.parse()


    private static android.os.Bundle getApplinkLogData(android.content.Context p11, String p12, android.os.Bundle p13, android.content.Intent p14)
    {
        android.os.Bundle v3_1 = new android.os.Bundle();
        android.content.ComponentName v6 = p14.resolveActivity(p11.getPackageManager());
        if (v6 != null) {
            v3_1.putString("class", v6.getShortClassName());
        }
        if (!"al_nav_out".equals(p12)) {
            if ("al_nav_in".equals(p12)) {
                if (p14.getData() != null) {
                    v3_1.putString("inputURL", p14.getData().toString());
                }
                if (p14.getScheme() != null) {
                    v3_1.putString("inputURLScheme", p14.getScheme());
                }
            }
        } else {
            if (v6 != null) {
                v3_1.putString("package", v6.getPackageName());
            }
            if (p14.getData() != null) {
                v3_1.putString("outputURL", p14.getData().toString());
            }
            if (p14.getScheme() != null) {
                v3_1.putString("outputURLScheme", p14.getScheme());
            }
        }
        java.util.Iterator v0 = p13.keySet().iterator();
        while (v0.hasNext()) {
            String v2_1 = ((String) v0.next());
            Object v5 = p13.get(v2_1);
            if (!(v5 instanceof android.os.Bundle)) {
                String v4_1 = bolts.MeasurementEvent.objectToJSONString(v5);
                if (!v2_1.equals("target_url")) {
                    v3_1.putString(v2_1, v4_1);
                } else {
                    android.net.Uri v8 = android.net.Uri.parse(v4_1);
                    v3_1.putString("targetURL", v8.toString());
                    v3_1.putString("targetURLHost", v8.getHost());
                }
            } else {
                java.util.Iterator v1 = ((android.os.Bundle) v5).keySet().iterator();
                while (v1.hasNext()) {
                    String v7_1 = ((String) v1.next());
                    String v4_0 = bolts.MeasurementEvent.objectToJSONString(((android.os.Bundle) v5).get(v7_1));
                    if (v2_1.equals("referer_app_link")) {
                        if (!v7_1.equalsIgnoreCase("url")) {
                            if (!v7_1.equalsIgnoreCase("app_name")) {
                                if (v7_1.equalsIgnoreCase("package")) {
                                    v3_1.putString("sourceApplication", v4_0);
                                }
                            } else {
                                v3_1.putString("refererAppName", v4_0);
                            }
                        } else {
                            v3_1.putString("refererURL", v4_0);
                        }
                    }
                    v3_1.putString(new StringBuilder().append(v2_1).append("/").append(v7_1).toString(), v4_0);
                }
            }
        }
        return v3_1;
    }

Method bolts.AppLinks.getTargetUrlFromInboundIntent() calling method android.net.Uri.parse()


    public static android.net.Uri getTargetUrlFromInboundIntent(android.content.Context p4, android.content.Intent p5)
    {
        android.net.Uri v2 = 0;
        android.os.Bundle v0 = bolts.AppLinks.getAppLinkData(p5);
        if (v0 != null) {
            String v1 = v0.getString("target_url");
            if (v1 != null) {
                bolts.MeasurementEvent.sendBroadcastEvent(p4, "al_nav_in", p5, 0);
                v2 = android.net.Uri.parse(v1);
            }
        }
        return v2;
    }

Method bolts.AppLinks.getTargetUrl() calling method android.net.Uri.parse()


    public static android.net.Uri getTargetUrl(android.content.Intent p3)
    {
        android.net.Uri v2_0;
        android.os.Bundle v0 = bolts.AppLinks.getAppLinkData(p3);
        if (v0 == null) {
            v2_0 = p3.getData();
        } else {
            String v1 = v0.getString("target_url");
            if (v1 == null) {
            } else {
                v2_0 = android.net.Uri.parse(v1);
            }
        }
        return v2_0;
    }

Method bolts.AppLinkNavigation.navigateInBackground() calling method android.net.Uri.parse()


    public static bolts.Task navigateInBackground(android.content.Context p1, java.net.URL p2, bolts.AppLinkResolver p3)
    {
        return bolts.AppLinkNavigation.navigateInBackground(p1, android.net.Uri.parse(p2.toString()), p3);
    }

Method bolts.AppLinkNavigation.navigateInBackground() calling method android.net.Uri.parse()


    public static bolts.Task navigateInBackground(android.content.Context p1, String p2, bolts.AppLinkResolver p3)
    {
        return bolts.AppLinkNavigation.navigateInBackground(p1, android.net.Uri.parse(p2), p3);
    }

Method androidx.browser.browseractions.BrowserActionsIntent.launchIntent() calling method android.net.Uri.parse()


    static void launchIntent(android.content.Context p7, android.content.Intent p8, java.util.List p9)
    {
        if ((p9 != null) && (p9.size() != 0)) {
            if (p9.size() != 1) {
                android.content.pm.ResolveInfo v0 = p7.getPackageManager().resolveActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("https://www.example.com")), 65536);
                if (v0 != null) {
                    String v1 = v0.activityInfo.packageName;
                    int v2 = 0;
                    while (v2 < p9.size()) {
                        if (!v1.equals(((android.content.pm.ResolveInfo) p9.get(v2)).activityInfo.packageName)) {
                            v2++;
                        } else {
                            p8.setPackage(v1);
                            break;
                        }
                    }
                }
            } else {
                p8.setPackage(((android.content.pm.ResolveInfo) p9.get(0)).activityInfo.packageName);
            }
            android.support.v4.content.ContextCompat.startActivity(p7, p8, 0);
        } else {
            androidx.browser.browseractions.BrowserActionsIntent.openFallbackBrowserActionsMenu(p7, p8);
        }
        return;
    }

Method androidx.browser.browseractions.BrowserActionsIntent.getBrowserActionsIntentHandlers() calling method android.net.Uri.parse()


    private static java.util.List getBrowserActionsIntentHandlers(android.content.Context p4)
    {
        return p4.getPackageManager().queryIntentActivities(new android.content.Intent("androidx.browser.browseractions.browser_action_open", android.net.Uri.parse("https://www.example.com")), 131072);
    }

Method android.support.v4.media.MediaMetadataCompat.getDescription() calling method android.net.Uri.parse()


    public android.support.v4.media.MediaDescriptionCompat getDescription()
    {
        android.support.v4.media.MediaDescriptionCompat v19_17;
        if (this.mDescription == null) {
            String v12 = this.getString("android.media.metadata.MEDIA_ID");
            android.support.v4.media.MediaDescriptionCompat v0_4 = new CharSequence[3];
            CharSequence[] v16 = v0_4;
            CharSequence v8 = 0;
            android.net.Uri v9 = 0;
            CharSequence v6 = this.getText("android.media.metadata.DISPLAY_TITLE");
            if (android.text.TextUtils.isEmpty(v6)) {
                int v17 = 0;
                int v10 = 0;
                while ((v17 < v16.length) && (v10 < android.support.v4.media.MediaMetadataCompat.PREFERRED_DESCRIPTION_ORDER.length)) {
                    int v11 = (v10 + 1);
                    String v15_0 = this.getText(android.support.v4.media.MediaMetadataCompat.PREFERRED_DESCRIPTION_ORDER[v10]);
                    if (!android.text.TextUtils.isEmpty(v15_0)) {
                        int v18 = (v17 + 1);
                        v16[v17] = v15_0;
                        v17 = v18;
                    }
                    v10 = v11;
                }
            } else {
                v16[0] = v6;
                v16[1] = this.getText("android.media.metadata.DISPLAY_SUBTITLE");
                v16[2] = this.getText("android.media.metadata.DISPLAY_DESCRIPTION");
            }
            int v7_0 = 0;
            while (v7_0 < android.support.v4.media.MediaMetadataCompat.PREFERRED_BITMAP_ORDER.length) {
                String v15_1 = this.getBitmap(android.support.v4.media.MediaMetadataCompat.PREFERRED_BITMAP_ORDER[v7_0]);
                if (v15_1 == null) {
                    v7_0++;
                } else {
                    v8 = v15_1;
                    break;
                }
            }
            int v7_1 = 0;
            while (v7_1 < android.support.v4.media.MediaMetadataCompat.PREFERRED_URI_ORDER.length) {
                String v15_2 = this.getString(android.support.v4.media.MediaMetadataCompat.PREFERRED_URI_ORDER[v7_1]);
                if (android.text.TextUtils.isEmpty(v15_2)) {
                    v7_1++;
                } else {
                    v9 = android.net.Uri.parse(v15_2);
                    break;
                }
            }
            android.net.Uri v13 = 0;
            String v14 = this.getString("android.media.metadata.MEDIA_URI");
            if (!android.text.TextUtils.isEmpty(v14)) {
                v13 = android.net.Uri.parse(v14);
            }
            android.support.v4.media.MediaDescriptionCompat$Builder v4_1 = new android.support.v4.media.MediaDescriptionCompat$Builder();
            v4_1.setMediaId(v12);
            v4_1.setTitle(v16[0]);
            v4_1.setSubtitle(v16[1]);
            v4_1.setDescription(v16[2]);
            v4_1.setIconBitmap(v8);
            v4_1.setIconUri(v9);
            v4_1.setMediaUri(v13);
            android.os.Bundle v5_1 = new android.os.Bundle();
            if (this.mBundle.containsKey("android.media.metadata.BT_FOLDER_TYPE")) {
                v5_1.putLong("android.media.extra.BT_FOLDER_TYPE", this.getLong("android.media.metadata.BT_FOLDER_TYPE"));
            }
            if (this.mBundle.containsKey("android.media.metadata.DOWNLOAD_STATUS")) {
                v5_1.putLong("android.media.extra.DOWNLOAD_STATUS", this.getLong("android.media.metadata.DOWNLOAD_STATUS"));
            }
            if (!v5_1.isEmpty()) {
                v4_1.setExtras(v5_1);
            }
            this.mDescription = v4_1.build();
            v19_17 = this.mDescription;
        } else {
            v19_17 = this.mDescription;
        }
        return v19_17;
    }

Method android.support.v4.app.RemoteInput.getDataResultsFromIntent() calling method android.net.Uri.parse()


    public static java.util.Map getDataResultsFromIntent(android.content.Intent p10, String p11)
    {
        java.util.Map v7 = 0;
        if (android.os.Build$VERSION.SDK_INT < 26) {
            if (android.os.Build$VERSION.SDK_INT < 16) {
                android.util.Log.w("RemoteInput", "RemoteInput is only supported from API Level 16");
            } else {
                android.content.Intent v1 = android.support.v4.app.RemoteInput.getClipDataIntentFromIntent(p10);
                if (v1 != null) {
                    java.util.Map v5_1 = new java.util.HashMap();
                    boolean v8_2 = v1.getExtras().keySet().iterator();
                    while (v8_2.hasNext()) {
                        String v3_1 = ((String) v8_2.next());
                        if (v3_1.startsWith("android.remoteinput.dataTypeResultsData")) {
                            String v4 = v3_1.substring("android.remoteinput.dataTypeResultsData".length());
                            if (!v4.isEmpty()) {
                                String v6 = v1.getBundleExtra(v3_1).getString(p11);
                                if ((v6 != null) && (!v6.isEmpty())) {
                                    v5_1.put(v4, android.net.Uri.parse(v6));
                                }
                            }
                        }
                    }
                    if (v5_1.isEmpty()) {
                        v5_1 = 0;
                    }
                    v7 = v5_1;
                }
            }
        } else {
            v7 = android.app.RemoteInput.getDataResultsFromIntent(p10, p11);
        }
        return v7;
    }

Method android.support.customtabs.CustomTabsClient.getPackageName() calling method android.net.Uri.parse()


    public static String getPackageName(android.content.Context p10, java.util.List p11, boolean p12)
    {
        java.util.ArrayList v3_0;
        android.content.pm.PackageManager v5 = p10.getPackageManager();
        if (p11 != null) {
            v3_0 = p11;
        } else {
            v3_0 = new java.util.ArrayList();
        }
        android.content.Intent v0_0 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("http://"));
        if (!p12) {
            android.content.pm.ResolveInfo v1 = v5.resolveActivity(v0_0, 0);
            if (v1 != null) {
                int v2_0 = v1.activityInfo.packageName;
                java.util.ArrayList v4_1 = new java.util.ArrayList((v3_0.size() + 1));
                v4_1.add(v2_0);
                if (p11 != null) {
                    v4_1.addAll(p11);
                }
                v3_0 = v4_1;
            }
        }
        android.content.Intent v6_1 = new android.content.Intent("android.support.customtabs.action.CustomTabsService");
        int v7_4 = v3_0.iterator();
        while (v7_4.hasNext()) {
            int v2_1 = ((String) v7_4.next());
            v6_1.setPackage(v2_1);
            if (v5.resolveService(v6_1, 0) != null) {
            }
            return v2_1;
        }
        v2_1 = 0;
        return v2_1;
    }

Method org.apache.cordova.engine.SystemWebView.setWebViewClient() calling method android.webkit.WebView.setWebViewClient()


    public void setWebViewClient(android.webkit.WebViewClient p2)
    {
        this.viewClient = ((org.apache.cordova.engine.SystemWebViewClient) p2);
        super.setWebViewClient(p2);
        return;
    }

Method bolts.WebViewAppLinkResolver$2.then() calling method android.webkit.WebView.setWebViewClient()


    public bolts.Task then(bolts.Task p8)
    {
        int v4 = 0;
        bolts.TaskCompletionSource v6_1 = new bolts.TaskCompletionSource();
        android.webkit.WebView v0_1 = new android.webkit.WebView(bolts.WebViewAppLinkResolver.access$200(this.this$0));
        v0_1.getSettings().setJavaScriptEnabled(1);
        v0_1.setNetworkAvailable(0);
        v0_1.setWebViewClient(new bolts.WebViewAppLinkResolver$2$1(this));
        v0_1.addJavascriptInterface(new bolts.WebViewAppLinkResolver$2$2(this, v6_1), "boltsWebViewAppLinkResolverResult");
        String v3 = 0;
        if (this.val$contentType.get() != null) {
            v3 = ((String) this.val$contentType.get()).split(";")[0];
        }
        v0_1.loadDataWithBaseURL(this.val$url.toString(), ((String) this.val$content.get()), v3, v4, v4);
        return v6_1.getTask();
    }

Method com.facebook.internal.WebDialog.setUpWebView() calling method android.webkit.WebView.setWebViewClient()


    private void setUpWebView(int p8)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext().getApplicationContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p8, p8, p8, p8);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

Method org.apache.cordova.engine.SystemWebViewEngine.exposeJsInterface() calling method android.webkit.WebView.addJavascriptInterface()


    private static void exposeJsInterface(android.webkit.WebView p3, org.apache.cordova.CordovaBridge p4)
    {
        if (android.os.Build$VERSION.SDK_INT >= 17) {
            p3.addJavascriptInterface(new org.apache.cordova.engine.SystemExposedJsApi(p4), "_cordovaNative");
        } else {
            org.apache.cordova.LOG.i("SystemWebViewEngine", "Disabled addJavascriptInterface() bridge since Android version is old.");
        }
        return;
    }

Method bolts.WebViewAppLinkResolver$2.then() calling method android.webkit.WebView.addJavascriptInterface()


    public bolts.Task then(bolts.Task p8)
    {
        int v4 = 0;
        bolts.TaskCompletionSource v6_1 = new bolts.TaskCompletionSource();
        android.webkit.WebView v0_1 = new android.webkit.WebView(bolts.WebViewAppLinkResolver.access$200(this.this$0));
        v0_1.getSettings().setJavaScriptEnabled(1);
        v0_1.setNetworkAvailable(0);
        v0_1.setWebViewClient(new bolts.WebViewAppLinkResolver$2$1(this));
        v0_1.addJavascriptInterface(new bolts.WebViewAppLinkResolver$2$2(this, v6_1), "boltsWebViewAppLinkResolverResult");
        String v3 = 0;
        if (this.val$contentType.get() != null) {
            v3 = ((String) this.val$contentType.get()).split(";")[0];
        }
        v0_1.loadDataWithBaseURL(this.val$url.toString(), ((String) this.val$content.get()), v3, v4, v4);
        return v6_1.getTask();
    }

Method com.facebook.internal.FacebookWebFallbackDialog.cancel() calling method android.webkit.WebView.loadUrl()


    public void cancel()
    {
        android.webkit.WebView v2 = this.getWebView();
        if ((this.isPageFinished()) && ((!this.isListenerCalled()) && ((v2 != null) && (v2.isShown())))) {
            if (!this.waitingForDialogToClose) {
                this.waitingForDialogToClose = 1;
                v2.loadUrl(new StringBuilder().append("javascript:").append("(function() {  var event = document.createEvent(\'Event\');  event.initEvent(\'fbPlatformDialogMustClose\',true,true);  document.dispatchEvent(event);})();").toString());
                new android.os.Handler(android.os.Looper.getMainLooper()).postDelayed(new com.facebook.internal.FacebookWebFallbackDialog$1(this), 1500);
            }
        } else {
            super.cancel();
        }
        return;
    }

Method com.facebook.internal.WebDialog.setUpWebView() calling method android.webkit.WebView.loadUrl()


    private void setUpWebView(int p8)
    {
        android.widget.LinearLayout v0_1 = new android.widget.LinearLayout(this.getContext());
        this.webView = new com.facebook.internal.WebDialog$3(this, this.getContext().getApplicationContext());
        this.webView.setVerticalScrollBarEnabled(0);
        this.webView.setHorizontalScrollBarEnabled(0);
        this.webView.setWebViewClient(new com.facebook.internal.WebDialog$DialogWebViewClient(this, 0));
        this.webView.getSettings().setJavaScriptEnabled(1);
        this.webView.loadUrl(this.url);
        this.webView.setLayoutParams(new android.widget.FrameLayout$LayoutParams(-1, -1));
        this.webView.setVisibility(4);
        this.webView.getSettings().setSavePassword(0);
        this.webView.getSettings().setSaveFormData(0);
        this.webView.setFocusable(1);
        this.webView.setFocusableInTouchMode(1);
        this.webView.setOnTouchListener(new com.facebook.internal.WebDialog$4(this));
        v0_1.setPadding(p8, p8, p8, p8);
        v0_1.addView(this.webView);
        v0_1.setBackgroundColor(-872415232);
        this.contentFrameLayout.addView(v0_1);
        return;
    }

Method bolts.WebViewAppLinkResolver$2$1.runJavaScript() calling method android.webkit.WebView.loadUrl()


    private void runJavaScript(android.webkit.WebView p2)
    {
        if (!this.loaded) {
            this.loaded = 1;
            p2.loadUrl("javascript:boltsWebViewAppLinkResolverResult.setValue((function() {  var metaTags = document.getElementsByTagName(\'meta\');  var results = [];  for (var i = 0; i < metaTags.length; i++) {    var property = metaTags[i].getAttribute(\'property\');    if (property && property.substring(0, \'al:\'.length) === \'al:\') {      var tag = { \"property\": metaTags[i].getAttribute(\'property\') };      if (metaTags[i].hasAttribute(\'content\')) {        tag[\'content\'] = metaTags[i].getAttribute(\'content\');      }      results.push(tag);    }  }  return JSON.stringify(results);})())");
        }
        return;
    }