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 com.coupa.android.coupamobile.views.SSOLoginActivity.onCreate() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    protected void onCreate(android.os.Bundle p4)
    {
        super.onCreate(p4);
        this.setContentView(2131427397);
        com.coupa.android.coupamobile.views.SSOLoginActivity.dismissKeyboard(this);
        UnsupportedOperationException v4_7 = this.getIntent();
        if (!v4_7.hasExtra("REDIRECT_LOCATION")) {
            throw new UnsupportedOperationException();
        } else {
            UnsupportedOperationException v4_6 = ((String) v4_7.getExtras().get("REDIRECT_LOCATION"));
            android.webkit.WebView v0_3 = ((android.webkit.WebView) this.findViewById(2131297107));
            com.coupa.android.coupamobile.controllers.SSOLoginController v1_0 = v0_3.getSettings();
            v1_0.setJavaScriptEnabled(1);
            v1_0.setBuiltInZoomControls(1);
            this.controller = new com.coupa.android.coupamobile.controllers.SSOLoginController(this);
            this.controller.initWithNavigatorAndUrl(v0_3, v4_6);
            return;
        }
    }

Method com.facebook.react.views.webview.ReactWebViewManager.setJavaScriptEnabled() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public void setJavaScriptEnabled(android.webkit.WebView p1, boolean p2)
    {
        p1.getSettings().setJavaScriptEnabled(p2);
        return;
    }

Method com.coupa.android.coupamobile.views.WebViewSimpleActivity.onCreate() calling method android.webkit.WebSettings.setJavaScriptEnabled()


    public void onCreate(android.os.Bundle p4)
    {
        String v4_2;
        super.onCreate(p4);
        this.setContentView(2131427399);
        String v4_5 = this.getIntent().getExtras();
        if (v4_5 == null) {
            v4_2 = 0;
        } else {
            v4_2 = v4_5.getString("filepath");
        }
        this.webView = ((android.webkit.WebView) this.findViewById(2131297108));
        this.webView.getSettings().setJavaScriptEnabled(1);
        android.webkit.WebView v0_5 = this.webView;
        StringBuilder v1_2 = new StringBuilder();
        v1_2.append("https://docs.google.com/viewer?");
        v1_2.append(v4_2);
        v0_5.loadUrl(v1_2.toString());
        return;
    }

Method com.reactnative.photoview.PhotoView.a() calling method android.net.Uri.parse()


    public void a(com.facebook.react.bridge.ReadableMap p5, com.reactnative.photoview.ResourceDrawableIdHelper p6)
    {
        this.a = 0;
        if (p5 != null) {
            String v2_1 = p5.f("uri");
            try {
                this.a = android.net.Uri.parse(v2_1);
            } catch (Exception) {
                if (this.a != null) {
                    this.d = 0;
                } else {
                    this.a = p6.c(this.getContext(), v2_1);
                    this.d = 1;
                }
            }
            if (this.a.getScheme() == null) {
                this.a = 0;
            }
            if (!p5.a("headers")) {
            } else {
                this.b = p5.k("headers");
            }
        }
        this.c = 1;
        return;
    }

Method org.reactnative.facedetector.tasks.FileFaceDetectionAsyncTask.onPreExecute() calling method android.net.Uri.parse()


    protected void onPreExecute()
    {
        if (this.a != null) {
            this.b = android.net.Uri.parse(this.a).getPath();
            if (this.b != null) {
                if ((!this.b.startsWith(this.f.getCacheDir().getPath())) && (!this.b.startsWith(this.f.getFilesDir().getPath()))) {
                    com.facebook.react.bridge.Promise v0_5 = 0;
                } else {
                    v0_5 = 1;
                }
                if (v0_5 != null) {
                    if (!new java.io.File(this.b).exists()) {
                        com.facebook.react.bridge.Promise v0_10 = this.c;
                        String v3_1 = new StringBuilder();
                        v3_1.append("The file does not exist. Given path: `");
                        v3_1.append(this.b);
                        v3_1.append("`.");
                        v0_10.a("E_FACE_DETECTION_FAILED", v3_1.toString());
                        this.cancel(1);
                    }
                    return;
                } else {
                    this.c.a("E_FACE_DETECTION_FAILED", "The image has to be in the local app\'s directories.");
                    this.cancel(1);
                    return;
                }
            } else {
                com.facebook.react.bridge.Promise v0_13 = this.c;
                String v3_5 = new StringBuilder();
                v3_5.append("Invalid URI provided: `");
                v3_5.append(this.a);
                v3_5.append("`.");
                v0_13.a("E_FACE_DETECTION_FAILED", v3_5.toString());
                this.cancel(1);
                return;
            }
        } else {
            this.c.a("E_FACE_DETECTION_FAILED", "You have to provide an URI of an image.");
            this.cancel(1);
            return;
        }
    }

Method com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode.setSource() calling method android.net.Uri.parse()


    public void setSource(com.facebook.react.bridge.ReadableArray p4)
    {
        android.net.Uri v4_1;
        android.net.Uri v0_0 = 0;
        if ((p4 != null) && (p4.a() != 0)) {
            v4_1 = p4.i(0).f("uri");
        } else {
            v4_1 = 0;
        }
        if (v4_1 != null) {
            try {
                android.net.Uri v1_0 = android.net.Uri.parse(v4_1);
                try {
                    if (v1_0.getScheme() != null) {
                        v0_0 = v1_0;
                        if (v0_0 == null) {
                            v0_0 = com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode.a(this.Y(), v4_1);
                        }
                    }
                } catch (Exception) {
                }
            } catch (Exception) {
            }
        }
        if (v0_0 != this.a) {
            this.n();
        }
        this.a = v0_0;
        return;
    }

Method com.facebook.react.modules.network.NetworkingModule.sendRequest() calling method android.net.Uri.parse()


    public void sendRequest(String p7, String p8, int p9, com.facebook.react.bridge.ReadableArray p10, com.facebook.react.bridge.ReadableMap p11, String p12, boolean p13, int p14, boolean p15)
    {
        com.facebook.react.modules.core.DeviceEventManagerModule$RCTDeviceEventEmitter v3 = this.getEventEmitter();
        try {
            String v0_7 = android.net.Uri.parse(p8);
            com.facebook.react.modules.network.NetworkingModule v1_5 = this.mUriHandlers.iterator();
        } catch (String v7_11) {
            com.facebook.react.modules.network.ResponseUtil.a(v3, p9, v7_11.getMessage(), v7_11);
            return;
        }
        while (v1_5.hasNext()) {
            int v2_2 = ((com.facebook.react.modules.network.NetworkingModule$UriHandler) v1_5.next());
            if (v2_2.a(v0_7, p12)) {
                com.facebook.react.modules.network.ResponseUtil.a(v3, p9, v2_2.a(v0_7));
                com.facebook.react.modules.network.ResponseUtil.a(v3, p9);
                return;
            }
        }
        String v8_2 = new okhttp3.Request$Builder().url(p8);
        if (p9 != 0) {
            v8_2.tag(Integer.valueOf(p9));
        }
        String v0_6 = this.mClient.newBuilder();
        if (p15 == 0) {
            v0_6.cookieJar(okhttp3.CookieJar.NO_COOKIES);
        }
        if (p13) {
            v0_6.addNetworkInterceptor(new com.facebook.react.modules.network.NetworkingModule$1(this, p12, v3, p9));
        }
        if (p14 != this.mClient.connectTimeoutMillis()) {
            v0_6.readTimeout(((long) p14), java.util.concurrent.TimeUnit.MILLISECONDS);
        }
        okhttp3.OkHttpClient v14_2 = v0_6.build();
        okhttp3.MultipartBody v10_12 = this.extractHeaders(p10, p11);
        if (v10_12 != null) {
            int v2_4;
            String v0_9 = v10_12.get("content-type");
            com.facebook.react.modules.network.NetworkingModule v1_4 = v10_12.get("content-encoding");
            v8_2.headers(v10_12);
            if (p11 == null) {
                v2_4 = 0;
            } else {
                okhttp3.MultipartBody v10_14 = this.mRequestBodyHandlers.iterator();
                while (v10_14.hasNext()) {
                    v2_4 = ((com.facebook.react.modules.network.NetworkingModule$RequestBodyHandler) v10_14.next());
                    if (v2_4.a(p11)) {
                    }
                }
            }
            if ((p11 != null) && ((!p7.toLowerCase().equals("get")) && (!p7.toLowerCase().equals("head")))) {
                if (v2_4 == 0) {
                    if (!p11.a("string")) {
                        if (!p11.a("base64")) {
                            if (!p11.a("uri")) {
                                if (!p11.a("formData")) {
                                    okhttp3.MultipartBody v10_2 = com.facebook.react.modules.network.RequestBodyUtil.b(p7);
                                } else {
                                    if (v0_9 == null) {
                                        v0_9 = "multipart/form-data";
                                    }
                                    okhttp3.MultipartBody v10_1 = this.constructMultipartBody(p11.l("formData"), v0_9, p9);
                                    if (v10_1 != null) {
                                        v10_2 = v10_1.build();
                                    } else {
                                        return;
                                    }
                                }
                            } else {
                                if (v0_9 != null) {
                                    okhttp3.MultipartBody v10_4 = p11.f("uri");
                                    java.io.InputStream v11_2 = com.facebook.react.modules.network.RequestBodyUtil.a(this.getReactApplicationContext(), v10_4);
                                    if (v11_2 != null) {
                                        v10_2 = com.facebook.react.modules.network.RequestBodyUtil.a(okhttp3.MediaType.parse(v0_9), v11_2);
                                    } else {
                                        String v7_2 = new StringBuilder();
                                        v7_2.append("Could not retrieve file for uri ");
                                        v7_2.append(v10_4);
                                        com.facebook.react.modules.network.ResponseUtil.a(v3, p9, v7_2.toString(), 0);
                                        return;
                                    }
                                } else {
                                    com.facebook.react.modules.network.ResponseUtil.a(v3, p9, "Payload is set but no content-type header specified", 0);
                                    return;
                                }
                            }
                        } else {
                            if (v0_9 != null) {
                                v10_2 = okhttp3.RequestBody.create(okhttp3.MediaType.parse(v0_9), okio.ByteString.b(p11.f("base64")));
                            } else {
                                com.facebook.react.modules.network.ResponseUtil.a(v3, p9, "Payload is set but no content-type header specified", 0);
                                return;
                            }
                        }
                    } else {
                        if (v0_9 != null) {
                            okhttp3.MultipartBody v10_10 = p11.f("string");
                            java.io.InputStream v11_4 = okhttp3.MediaType.parse(v0_9);
                            if (!com.facebook.react.modules.network.RequestBodyUtil.a(v1_4)) {
                                v10_2 = okhttp3.RequestBody.create(v11_4, v10_10);
                            } else {
                                v10_2 = com.facebook.react.modules.network.RequestBodyUtil.a(v11_4, v10_10);
                                if (v10_2 == null) {
                                    com.facebook.react.modules.network.ResponseUtil.a(v3, p9, "Failed to gzip request body", 0);
                                    return;
                                }
                            }
                        } else {
                            com.facebook.react.modules.network.ResponseUtil.a(v3, p9, "Payload is set but no content-type header specified", 0);
                            return;
                        }
                    }
                } else {
                    v10_2 = v2_4.a(p11, v0_9);
                }
            } else {
                v10_2 = com.facebook.react.modules.network.RequestBodyUtil.b(p7);
            }
            v8_2.method(p7, this.wrapRequestBodyWithProgressEmitter(v10_2, v3, p9));
            this.addRequest(p9);
            String v7_9 = v14_2.newCall(v8_2.build());
            String v8_3 = new com.facebook.react.modules.network.NetworkingModule$2;
            v8_3(this, p9, v3, p12, p13);
            v7_9.enqueue(v8_3);
            return;
        } else {
            com.facebook.react.modules.network.ResponseUtil.a(v3, p9, "Unrecognized headers format", 0);
            return;
        }
    }

Method com.facebook.react.modules.intent.IntentModule.openURL() calling method android.net.Uri.parse()


    public void openURL(String p5, com.facebook.react.bridge.Promise p6)
    {
        if ((p5 != null) && (!p5.isEmpty())) {
            try {
                String v3_3;
                Boolean v0_3 = this.getCurrentActivity();
                com.facebook.react.bridge.JSApplicationIllegalArgumentException v1_0 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p5));
                int v2_1 = this.getReactApplicationContext().getPackageName();
                String v3_2 = v1_0.resolveActivity(this.getReactApplicationContext().getPackageManager());
            } catch (Boolean v0_2) {
                int v2_5 = new StringBuilder();
                v2_5.append("Could not open URL \'");
                v2_5.append(p5);
                v2_5.append("\': ");
                v2_5.append(v0_2.getMessage());
                p6.a(new com.facebook.react.bridge.JSApplicationIllegalArgumentException(v2_5.toString()));
                return;
            }
            if (v3_2 == null) {
                v3_3 = "";
            } else {
                v3_3 = v3_2.getPackageName();
            }
            if ((v0_3 == null) || (!v2_1.equals(v3_3))) {
                v1_0.addFlags(268435456);
            }
            if (v0_3 == null) {
                this.getReactApplicationContext().startActivity(v1_0);
            } else {
                v0_3.startActivity(v1_0);
            }
            p6.a(Boolean.valueOf(1));
            return;
        } else {
            com.facebook.react.bridge.JSApplicationIllegalArgumentException v1_4 = new StringBuilder();
            v1_4.append("Invalid URL: ");
            v1_4.append(p5);
            p6.a(new com.facebook.react.bridge.JSApplicationIllegalArgumentException(v1_4.toString()));
            return;
        }
    }

Method com.facebook.react.modules.intent.IntentModule.canOpenURL() calling method android.net.Uri.parse()


    public void canOpenURL(String p5, com.facebook.react.bridge.Promise p6)
    {
        if ((p5 != null) && (!p5.isEmpty())) {
            try {
                Boolean v0_1;
                Boolean v0_8 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p5));
                v0_8.addFlags(268435456);
            } catch (Boolean v0_3) {
                StringBuilder v2_1 = new StringBuilder();
                v2_1.append("Could not check if URL \'");
                v2_1.append(p5);
                v2_1.append("\' can be opened: ");
                v2_1.append(v0_3.getMessage());
                p6.a(new com.facebook.react.bridge.JSApplicationIllegalArgumentException(v2_1.toString()));
                return;
            }
            if (v0_8.resolveActivity(this.getReactApplicationContext().getPackageManager()) == null) {
                v0_1 = 0;
            } else {
                v0_1 = 1;
            }
            p6.a(Boolean.valueOf(v0_1));
            return;
        } else {
            com.facebook.react.bridge.JSApplicationIllegalArgumentException v1_5 = new StringBuilder();
            v1_5.append("Invalid URL: ");
            v1_5.append(p5);
            p6.a(new com.facebook.react.bridge.JSApplicationIllegalArgumentException(v1_5.toString()));
            return;
        }
    }

Method com.facebook.react.modules.image.ImageLoaderModule.prefetchImage() calling method android.net.Uri.parse()


    public void prefetchImage(String p3, int p4, com.facebook.react.bridge.Promise p5)
    {
        if ((p3 != null) && (!p3.isEmpty())) {
            com.facebook.datasource.DataSource v3_1 = com.facebook.drawee.backends.pipeline.Fresco.c().c(com.facebook.imagepipeline.request.ImageRequestBuilder.a(android.net.Uri.parse(p3)).n(), this.mCallerContext);
            com.facebook.react.modules.image.ImageLoaderModule$2 v0_2 = new com.facebook.react.modules.image.ImageLoaderModule$2(this, p4, p5);
            this.registerRequest(p4, v3_1);
            v3_1.a(v0_2, com.facebook.common.executors.CallerThreadExecutor.a());
            return;
        } else {
            p5.a("E_INVALID_URI", "Cannot prefetch an image for an empty URI");
            return;
        }
    }

Method com.facebook.react.modules.image.ImageLoaderModule.getSize() calling method android.net.Uri.parse()


    public void getSize(String p3, com.facebook.react.bridge.Promise p4)
    {
        if ((p3 != null) && (!p3.isEmpty())) {
            com.facebook.drawee.backends.pipeline.Fresco.c().a(com.facebook.imagepipeline.request.ImageRequestBuilder.a(android.net.Uri.parse(p3)).n(), this.mCallerContext).a(new com.facebook.react.modules.image.ImageLoaderModule$1(this, p4), com.facebook.common.executors.CallerThreadExecutor.a());
            return;
        } else {
            p4.a("E_INVALID_URI", "Cannot get the size of an image for an empty URI");
            return;
        }
    }

Method com.facebook.react.modules.camera.CameraRollManager.saveToCameraRoll() calling method android.net.Uri.parse()


    public void saveToCameraRoll(String p2, String p3, com.facebook.react.bridge.Promise p4)
    {
        Void[] v4_2 = new Void[0];
        new com.facebook.react.modules.camera.CameraRollManager$SaveToCameraRoll(this.getReactApplicationContext(), android.net.Uri.parse(p2), p4).executeOnExecutor(android.os.AsyncTask.THREAD_POOL_EXECUTOR, v4_2);
        return;
    }

Method com.airbnb.android.react.maps.AirMapMarker.setImage() calling method android.net.Uri.parse()


    public void setImage(String p4)
    {
        if (p4 != null) {
            if ((!p4.startsWith("http://")) && ((!p4.startsWith("https://")) && (!p4.startsWith("file://")))) {
                this.p = this.b(p4);
                if (this.p != null) {
                    android.graphics.drawable.Drawable v4_1 = this.a(p4);
                    this.q = android.graphics.BitmapFactory.decodeResource(this.getResources(), v4_1);
                    if (this.q == null) {
                        android.graphics.drawable.Drawable v4_2 = this.getResources().getDrawable(v4_1);
                        this.q = android.graphics.Bitmap.createBitmap(v4_2.getIntrinsicWidth(), v4_2.getIntrinsicHeight(), android.graphics.Bitmap$Config.ARGB_8888);
                        v4_2.setBounds(0, 0, v4_2.getIntrinsicWidth(), v4_2.getIntrinsicHeight());
                        v4_2.draw(new android.graphics.Canvas(this.q));
                    }
                }
                this.a();
            } else {
                android.graphics.drawable.Drawable v4_5 = com.facebook.imagepipeline.request.ImageRequestBuilder.a(android.net.Uri.parse(p4)).n();
                this.B = com.facebook.drawee.backends.pipeline.Fresco.c().a(v4_5, this);
                this.A.a(((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) ((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) ((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) com.facebook.drawee.backends.pipeline.Fresco.a().b(v4_5)).a(this.C)).a(this.A.d())).l());
            }
        } else {
            this.p = 0;
            this.a();
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlob.actionViewIntent() calling method android.net.Uri.parse()


    public void actionViewIntent(String p4, String p5, com.facebook.react.bridge.Promise p6)
    {
        try {
            android.content.Intent v0_1 = new android.content.Intent("android.intent.action.VIEW");
            StringBuilder v1_2 = new StringBuilder();
            v1_2.append("file://");
            v1_2.append(p4);
            String v4_2 = v0_1.setDataAndType(android.net.Uri.parse(v1_2.toString()), p5);
            v4_2.setFlags(268435456);
            this.getReactApplicationContext().startActivity(v4_2);
            com.RNFetchBlob.RNFetchBlob.ActionViewVisible = 1;
            com.RNFetchBlob.RNFetchBlob.RCTContext.a(new com.RNFetchBlob.RNFetchBlob$3(this, p6));
        } catch (String v4_6) {
            p6.a(v4_6.getLocalizedMessage());
        }
        return;
    }

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

Couldn't retrieve source code

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


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

Method com.google.android.gms.tagmanager.zzm.b() calling method android.net.Uri.parse()


    public final void b(java.util.Map p6)
    {
        Throwable v0_1;
        if (p6.get(com.google.android.gms.tagmanager.zzm.d) == null) {
            v0_1 = 0;
        } else {
            v0_1 = com.google.android.gms.tagmanager.zzgk.a(((com.google.android.gms.internal.zzbs) p6.get(com.google.android.gms.tagmanager.zzm.d)));
        }
        if ((v0_1 == null) || (!this.a(v0_1))) {
            android.content.Context v1_8 = android.net.Uri.parse(com.google.android.gms.tagmanager.zzgk.a(((com.google.android.gms.internal.zzbs) p6.get(com.google.android.gms.tagmanager.zzm.b)))).buildUpon();
            String v6_5 = ((com.google.android.gms.internal.zzbs) p6.get(com.google.android.gms.tagmanager.zzm.c));
            if (v6_5 != null) {
                String v6_6 = com.google.android.gms.tagmanager.zzgk.e(v6_5);
                if ((v6_6 instanceof java.util.List)) {
                    String v6_8 = ((java.util.List) v6_6).iterator();
                    while (v6_8.hasNext()) {
                        String v2_5 = v6_8.next();
                        if ((v2_5 instanceof java.util.Map)) {
                            String v2_8 = ((java.util.Map) v2_5).entrySet().iterator();
                            while (v2_8.hasNext()) {
                                String v3_4 = ((java.util.Map$Entry) v2_8.next());
                                v1_8.appendQueryParameter(v3_4.getKey().toString(), v3_4.getValue().toString());
                            }
                        } else {
                            String v6_1;
                            Throwable v0_2 = String.valueOf(v1_8.build().toString());
                            if (v0_2.length() == 0) {
                                v6_1 = new String("ArbitraryPixel: additional params contains non-map: not sending partial hit: ");
                            } else {
                                v6_1 = "ArbitraryPixel: additional params contains non-map: not sending partial hit: ".concat(v0_2);
                            }
                            com.google.android.gms.tagmanager.zzdj.a(v6_1);
                            return;
                        }
                    }
                } else {
                    String v6_3;
                    Throwable v0_7 = String.valueOf(v1_8.build().toString());
                    if (v0_7.length() == 0) {
                        v6_3 = new String("ArbitraryPixel: additional params not a list: not sending partial hit: ");
                    } else {
                        v6_3 = "ArbitraryPixel: additional params not a list: not sending partial hit: ".concat(v0_7);
                    }
                    com.google.android.gms.tagmanager.zzdj.a(v6_3);
                    return;
                }
            }
            String v6_13;
            String v6_10 = v1_8.build().toString();
            this.g.a().a(v6_10);
            String v6_11 = String.valueOf(v6_10);
            if (v6_11.length() == 0) {
                v6_13 = new String("ArbitraryPixel: url = ");
            } else {
                v6_13 = "ArbitraryPixel: url = ".concat(v6_11);
            }
            com.google.android.gms.tagmanager.zzdj.e(v6_13);
            if (v0_1 == null) {
                return;
            } else {
                try {
                    com.google.android.gms.tagmanager.zzm.f.add(v0_1);
                    com.google.android.gms.tagmanager.zzfu.a(this.h, com.google.android.gms.tagmanager.zzm.e, v0_1, "true");
                    return;
                } catch (Throwable v0_12) {
                    throw v0_12;
                }
            }
        } else {
            return;
        }
    }

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


    public static ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark> a(String p13)
    {
        if (!android.text.TextUtils.isEmpty(p13)) {
            int v8;
            String v0_2 = new org.json.JSONObject(p13);
            ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark> v13_10 = v0_2.optString("photoUrl", 0);
            if (android.text.TextUtils.isEmpty(v13_10)) {
                v8 = 0;
            } else {
                v8 = android.net.Uri.parse(v13_10);
            }
            String v2_1 = Long.parseLong(v0_2.getString("expirationTime"));
            java.util.HashSet v11_1 = new java.util.HashSet();
            ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark> v13_5 = v0_2.getJSONArray("grantedScopes");
            String v4_0 = v13_5.length();
            String v5_0 = 0;
            while (v5_0 < v4_0) {
                v11_1.add(new com.google.android.gms.common.api.Scope(v13_5.getString(v5_0)));
                v5_0++;
            }
            ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark> v13_9 = ark>com.google.android.gms.auth.api.signin.GoogleSignInAccountark>.a(v0_2.optString("id"), v0_2.optString("tokenId", 0), v0_2.optString("email", 0), v0_2.optString("displayName", 0), v0_2.optString("givenName", 0), v0_2.optString("familyName", 0), v8, Long.valueOf(v2_1), v0_2.getString("obfuscatedIdentifier"), v11_1);
            v13_9.h = v0_2.optString("serverAuthCode", 0);
            return v13_9;
        } else {
            return 0;
        }
    }

Method com.google.android.gms.analytics.Tracker.a() calling method android.net.Uri.parse()


    public void a(android.net.Uri p4)
    {
        if (p4 != null) {
            if (!p4.isOpaque()) {
                String v4_5 = p4.getQueryParameter("referrer");
                if (!android.text.TextUtils.isEmpty(v4_5)) {
                    String v4_3;
                    String v4_1 = String.valueOf(v4_5);
                    if (v4_1.length() == 0) {
                        v4_3 = new String("http://hostname/?");
                    } else {
                        v4_3 = "http://hostname/?".concat(v4_1);
                    }
                    String v4_4 = android.net.Uri.parse(v4_3);
                    java.util.Map v0_3 = v4_4.getQueryParameter("utm_id");
                    if (v0_3 != null) {
                        this.c.put("&ci", v0_3);
                    }
                    java.util.Map v0_5 = v4_4.getQueryParameter("anid");
                    if (v0_5 != null) {
                        this.c.put("&anid", v0_5);
                    }
                    java.util.Map v0_7 = v4_4.getQueryParameter("utm_campaign");
                    if (v0_7 != null) {
                        this.c.put("&cn", v0_7);
                    }
                    java.util.Map v0_10 = v4_4.getQueryParameter("utm_content");
                    if (v0_10 != null) {
                        this.c.put("&cc", v0_10);
                    }
                    java.util.Map v0_12 = v4_4.getQueryParameter("utm_medium");
                    if (v0_12 != null) {
                        this.c.put("&cm", v0_12);
                    }
                    java.util.Map v0_14 = v4_4.getQueryParameter("utm_source");
                    if (v0_14 != null) {
                        this.c.put("&cs", v0_14);
                    }
                    java.util.Map v0_16 = v4_4.getQueryParameter("utm_term");
                    if (v0_16 != null) {
                        this.c.put("&ck", v0_16);
                    }
                    java.util.Map v0_18 = v4_4.getQueryParameter("dclid");
                    if (v0_18 != null) {
                        this.c.put("&dclid", v0_18);
                    }
                    java.util.Map v0_21 = v4_4.getQueryParameter("gclid");
                    if (v0_21 != null) {
                        this.c.put("&gclid", v0_21);
                    }
                    String v4_6 = v4_4.getQueryParameter("aclid");
                    if (v4_6 != null) {
                        this.c.put("&aclid", v4_6);
                    }
                } else {
                    return;
                }
            } else {
                return;
            }
        }
        return;
    }

Method com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher.a() calling method android.net.Uri.parse()


    private java.net.HttpURLConnection a(android.net.Uri p8, int p9)
    {
        Object[] v0_0 = ark>com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcherark>.a(p8);
        int v1 = v0_0.getResponseCode();
        if (!ark>com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcherark>.a(v1)) {
            if (!ark>com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcherark>.b(v1)) {
                v0_0.disconnect();
                boolean v2_0 = new Object[2];
                v2_0[0] = p8.toString();
                v2_0[1] = Integer.valueOf(v1);
                throw new java.io.IOException(String.format("Image URL %s returned HTTP code %d", v2_0));
            } else {
                Object[] v0_2;
                boolean v2_2 = v0_0.getHeaderField("Location");
                v0_0.disconnect();
                if (v2_2) {
                    v0_2 = android.net.Uri.parse(v2_2);
                } else {
                    v0_2 = 0;
                }
                boolean v2_3 = p8.getScheme();
                if ((p9 <= null) || ((v0_2 == null) || (v0_2.getScheme().equals(v2_3)))) {
                    java.net.HttpURLConnection v8_6;
                    if (p9 != null) {
                        Object[] v0_3 = new Object[2];
                        v0_3[0] = p8.toString();
                        v0_3[1] = Integer.valueOf(v1);
                        v8_6 = ark>com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcherark>.a("URL %s returned %d without a valid redirect", v0_3);
                    } else {
                        Object[] v0_4 = new Object[1];
                        v0_4[0] = p8.toString();
                        v8_6 = ark>com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcherark>.a("URL %s follows too many redirects", v0_4);
                    }
                    throw new java.io.IOException(v8_6);
                } else {
                    return this.a(v0_2, (p9 - 1));
                }
            }
        } else {
            return v0_0;
        }
    }

Method com.facebook.drawee.view.SimpleDraweeView.a() calling method android.net.Uri.parse()


    public void a(String p1, Object p2)
    {
        int v1_1;
        if (p1 == 0) {
            v1_1 = 0;
        } else {
            v1_1 = android.net.Uri.parse(p1);
        }
        this.a(v1_1, p2);
        return;
    }

Method com.facebook.drawee.view.SimpleDraweeView.b() calling method android.net.Uri.parse()


    private void b(android.content.Context p3, android.util.AttributeSet p4)
    {
        if (!this.isInEditMode()) {
            com.facebook.common.internal.Preconditions.a(com.facebook.drawee.view.SimpleDraweeView.a, "SimpleDraweeView was not initialized!");
            this.b = ((com.facebook.drawee.interfaces.SimpleDraweeControllerBuilder) com.facebook.drawee.view.SimpleDraweeView.a.b());
            if (p4 != 0) {
                android.content.res.TypedArray v3_1 = p3.obtainStyledAttributes(p4, com.facebook.drawee.R$styleable.SimpleDraweeView);
                try {
                    if (!v3_1.hasValue(com.facebook.drawee.R$styleable.SimpleDraweeView_actualImageUri)) {
                        if (v3_1.hasValue(com.facebook.drawee.R$styleable.SimpleDraweeView_actualImageResource)) {
                            int v4_6 = v3_1.getResourceId(com.facebook.drawee.R$styleable.SimpleDraweeView_actualImageResource, -1);
                            if (v4_6 != -1) {
                                this.setActualImageResource(v4_6);
                            }
                        }
                    } else {
                        this.a(android.net.Uri.parse(v3_1.getString(com.facebook.drawee.R$styleable.SimpleDraweeView_actualImageUri)), 0);
                    }
                } catch (int v4_10) {
                    v3_1.recycle();
                    throw v4_10;
                }
                v3_1.recycle();
            }
            return;
        } else {
            return;
        }
    }

Method com.google.android.gms.tagmanager.zzg.a() calling method android.net.Uri.parse()


    public final void a(java.util.Map p3)
    {
        android.content.Context v0_2 = p3.get("gtm.url");
        if (v0_2 == null) {
            String v3_5 = p3.get("gtm");
            if ((v3_5 != null) && ((v3_5 instanceof java.util.Map))) {
                v0_2 = ((java.util.Map) v3_5).get("url");
            }
        }
        if (v0_2 != null) {
            if ((v0_2 instanceof String)) {
                String v3_4 = android.net.Uri.parse(((String) v0_2)).getQueryParameter("referrer");
                if (v3_4 != null) {
                    com.google.android.gms.tagmanager.zzcx.c(this.a, v3_4);
                }
            } else {
                return;
            }
        }
        return;
    }

Method com.facebook.react.views.toolbar.ReactToolbar.a() calling method android.net.Uri.parse()


    private void a(com.facebook.react.bridge.ReadableMap p3, ark>com.facebook.react.views.toolbar.ReactToolbarark>$IconControllerListener p4, com.facebook.drawee.view.DraweeHolder p5)
    {
        int v1_0;
        if (p3 == null) {
            v1_0 = 0;
        } else {
            v1_0 = p3.f("uri");
        }
        if (v1_0 != 0) {
            if ((!v1_0.startsWith("http://")) && ((!v1_0.startsWith("https://")) && (!v1_0.startsWith("file://")))) {
                p4.a(this.b(v1_0));
            } else {
                p4.a(this.a(p3));
                p5.a(((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) ((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) com.facebook.drawee.backends.pipeline.Fresco.a().a(android.net.Uri.parse(v1_0)).a(p4)).a(p5.d())).l());
                p5.f().setVisible(1, 1);
            }
        } else {
            p4.a(0);
            p4.a(0);
        }
        return;
    }

Method com.facebook.react.modules.image.ImageLoaderModule$3.a() calling method android.net.Uri.parse()


    protected varargs void a(Void[] p6)
    {
        p6 = com.facebook.react.bridge.Arguments.b();
        com.facebook.react.bridge.Promise v0_0 = com.facebook.drawee.backends.pipeline.Fresco.c();
        int v1 = 0;
        while (v1 < this.a.a()) {
            String v2_1 = this.a.d(v1);
            String v3_0 = android.net.Uri.parse(v2_1);
            if (!v0_0.a(v3_0)) {
                if (v0_0.b(v3_0)) {
                    p6.putString(v2_1, "disk");
                }
            } else {
                p6.putString(v2_1, "memory");
            }
            v1++;
        }
        this.b.a(p6);
        return;
    }

Method com.facebook.react.modules.camera.ImageStoreManager$GetBase64Task.a() calling method android.net.Uri.parse()


    protected varargs void a(Void[] p6)
    {
        try {
            String v1_0 = com.facebook.react.modules.camera.ImageStoreManager.access$100(this.a).getContentResolver().openInputStream(android.net.Uri.parse(this.b));
            try {
                String v2_0 = this.c;
                com.facebook.react.bridge.Callback v3_0 = new Object[1];
                v3_0[0] = this.a.convertInputStreamToBase64OutputStream(v1_0);
                v2_0.a(v3_0);
            } catch (String v2_3) {
                com.facebook.react.modules.camera.ImageStoreManager.access$200(v1_0);
                throw v2_3;
            } catch (String v2_1) {
                com.facebook.react.bridge.Callback v3_1 = this.d;
                Object[] v4_2 = new Object[1];
                v4_2[0] = v2_1.getMessage();
                v3_1.a(v4_2);
            }
            com.facebook.react.modules.camera.ImageStoreManager.access$200(v1_0);
            return;
        } catch (String v1_2) {
            String v2_4 = this.d;
            Object[] v0_1 = new Object[1];
            v0_1[0] = v1_2.getMessage();
            v2_4.a(v0_1);
            return;
        }
    }

Method com.facebook.react.modules.camera.ImageEditingManager$CropTask.a() calling method android.net.Uri.parse()


    protected varargs void a(Void[] p5)
    {
        try {
            Object[] v2_10;
            com.facebook.react.bridge.Callback v1_3 = new android.graphics.BitmapFactory$Options();
        } catch (com.facebook.react.bridge.Callback v1_8) {
            Object[] v2_8 = this.j;
            Object[] v0_1 = new Object[1];
            v0_1[0] = v1_8.getMessage();
            v2_8.a(v0_1);
            return;
        }
        if ((this.g <= 0) || (this.h <= 0)) {
            v2_10 = 0;
        } else {
            v2_10 = 1;
        }
        Object[] v2_0;
        if (v2_10 == null) {
            v2_0 = this.a(v1_3);
        } else {
            v2_0 = this.a(this.g, this.h, v1_3);
        }
        com.facebook.react.bridge.Callback v1_0 = v1_3.outMimeType;
        if (v1_0 != null) {
            if (!v1_0.isEmpty()) {
                String v3_3 = com.facebook.react.modules.camera.ImageEditingManager.access$300(this.a, v1_0);
                com.facebook.react.modules.camera.ImageEditingManager.access$400(v2_0, v1_0, v3_3);
                if (v1_0.equals("image/jpeg")) {
                    com.facebook.react.modules.camera.ImageEditingManager.access$500(this.a, android.net.Uri.parse(this.b), v3_3);
                }
                com.facebook.react.bridge.Callback v1_5 = this.i;
                Object[] v2_5 = new Object[1];
                v2_5[0] = android.net.Uri.fromFile(v3_3).toString();
                v1_5.a(v2_5);
                return;
            } else {
            }
        }
        throw new java.io.IOException("Could not determine MIME type");
    }

Method com.facebook.react.modules.camera.ImageEditingManager$CropTask.a() calling method android.net.Uri.parse()


    private java.io.InputStream a()
    {
        java.io.IOException v0_1;
        if (!com.facebook.react.modules.camera.ImageEditingManager.access$200(this.b)) {
            v0_1 = new java.net.URL(this.b).openConnection().getInputStream();
        } else {
            v0_1 = this.a.getContentResolver().openInputStream(android.net.Uri.parse(this.b));
        }
        if (v0_1 != null) {
            return v0_1;
        } else {
            String v1_3 = new StringBuilder();
            v1_3.append("Cannot open bitmap: ");
            v1_3.append(this.b);
            throw new java.io.IOException(v1_3.toString());
        }
    }

Method com.facebook.imagepipeline.cache.MediaVariationsIndexDatabase.b() calling method android.net.Uri.parse()


    protected com.facebook.imagepipeline.request.MediaVariations b(String p19, com.facebook.imagepipeline.request.MediaVariations$Builder p20)
    {
        try {
            android.database.SQLException v5_2 = this.c.a();
            try {
                int v9_2 = new String[1];
                v9_2[0] = p19;
                android.database.SQLException v5_0 = v5_2.query("media_variations_index", com.facebook.imagepipeline.cache.MediaVariationsIndexDatabase.b, "media_id = ?", v9_2, 0, 0, 0);
                try {
                    if (v5_0.getCount() != 0) {
                        com.facebook.imagepipeline.request.MediaVariations v6_3 = v5_0.getColumnIndexOrThrow("cache_key");
                        int v7_2 = v5_0.getColumnIndexOrThrow("width");
                        int v8_1 = v5_0.getColumnIndexOrThrow("height");
                        int v9_1 = v5_0.getColumnIndexOrThrow("cache_choice");
                        while (v5_0.moveToNext()) {
                            com.facebook.imagepipeline.request.MediaVariations$Builder v10_4;
                            com.facebook.imagepipeline.request.ImageRequest$CacheChoice v14_1;
                            com.facebook.imagepipeline.request.MediaVariations$Builder v10_2 = v5_0.getString(v9_1);
                            android.net.Uri v11_2 = android.net.Uri.parse(v5_0.getString(v6_3));
                            int v12_1 = v5_0.getInt(v7_2);
                            int v15 = v5_0.getInt(v8_1);
                            if (!android.text.TextUtils.isEmpty(v10_2)) {
                                v14_1 = com.facebook.imagepipeline.request.ImageRequest$CacheChoice.valueOf(v10_2);
                                v10_4 = p20;
                            } else {
                                v10_4 = p20;
                                v14_1 = 0;
                            }
                            v10_4.a(v11_2, v12_1, v15, v14_1);
                        }
                        com.facebook.imagepipeline.request.MediaVariations v6_4 = p20.a();
                        if (v5_0 != null) {
                            v5_0.close();
                        }
                        return v6_4;
                    } else {
                        com.facebook.imagepipeline.request.MediaVariations v6_6 = p20.a();
                        if (v5_0 != null) {
                            v5_0.close();
                        }
                        return v6_6;
                    }
                } catch (Throwable v0_4) {
                    Throwable v1_0 = v0_4;
                    if (v5_0 != null) {
                        v5_0.close();
                    }
                    throw v1_0;
                } catch (Throwable v0_2) {
                    com.facebook.imagepipeline.request.ImageRequest$CacheChoice v14_0 = v5_0;
                    android.database.SQLException v5_1 = v0_2;
                    try {
                        int v8_3 = new Object[1];
                        v8_3[0] = p19;
                        com.facebook.common.logging.FLog.b(com.facebook.imagepipeline.cache.MediaVariationsIndexDatabase.a, v5_1, "Error reading for %s", v8_3);
                        throw v5_1;
                    } catch (Throwable v0_3) {
                        v1_0 = v0_3;
                        v5_0 = v14_0;
                    }
                }
            } catch (Throwable v0_1) {
                v1_0 = v0_1;
                v5_0 = 0;
            } catch (Throwable v0_0) {
                v5_1 = v0_0;
                v14_0 = 0;
            }
        } catch (Throwable v0_5) {
            throw v0_5;
        }
    }

Method com.bumptech.glide.load.model.StringLoader.b() calling method android.net.Uri.parse()


    private static android.net.Uri b(String p2)
    {
        if (!android.text.TextUtils.isEmpty(p2)) {
            android.net.Uri v2_1;
            if (p2.charAt(0) != 47) {
                android.net.Uri v0_3 = android.net.Uri.parse(p2);
                if (v0_3.getScheme() != null) {
                    v2_1 = v0_3;
                } else {
                    v2_1 = com.bumptech.glide.load.model.StringLoader.c(p2);
                }
            } else {
                v2_1 = com.bumptech.glide.load.model.StringLoader.c(p2);
            }
            return v2_1;
        } else {
            return 0;
        }
    }

Method com.bumptech.glide.load.model.ResourceLoader.b() calling method android.net.Uri.parse()


    private android.net.Uri b(Integer p5)
    {
        try {
            android.content.res.Resources$NotFoundException v0_1 = new StringBuilder();
            v0_1.append("android.resource://");
            v0_1.append(this.b.getResourcePackageName(p5.intValue()));
            v0_1.append(47);
            v0_1.append(this.b.getResourceTypeName(p5.intValue()));
            v0_1.append(47);
            v0_1.append(this.b.getResourceEntryName(p5.intValue()));
            return android.net.Uri.parse(v0_1.toString());
        } catch (android.content.res.Resources$NotFoundException v0_4) {
            if (android.util.Log.isLoggable("ResourceLoader", 5)) {
                StringBuilder v2_5 = new StringBuilder();
                v2_5.append("Received invalid resource id: ");
                v2_5.append(p5);
                android.util.Log.w("ResourceLoader", v2_5.toString(), v0_4);
            }
            return 0;
        }
    }

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


    private android.content.Intent a(android.database.Cursor p9, int p10, String p11)
    {
        try {
            ark>android.support.v7.widget.SearchViewark> v1_6 = android.support.v7.widget.SuggestionsAdapter.a(p9, "suggest_intent_action");
        } catch (android.content.Intent v10_1) {
            try {
                String v9_1 = p9.getPosition();
            } catch (RuntimeException) {
                v9_1 = -1;
            }
            ark>android.support.v7.widget.SearchViewark> v1_9 = new StringBuilder();
            v1_9.append("Search suggestions cursor at row ");
            v1_9.append(v9_1);
            v1_9.append(" returned exception.");
            android.util.Log.w("SearchView", v1_9.toString(), v10_1);
            return 0;
        }
        if (v1_6 == null) {
            v1_6 = this.h.getSuggestIntentAction();
        }
        if (v1_6 == null) {
            v1_6 = "android.intent.action.SEARCH";
        }
        String v2_0 = v1_6;
        ark>android.support.v7.widget.SearchViewark> v1_2 = android.support.v7.widget.SuggestionsAdapter.a(p9, "suggest_intent_data");
        if (v1_2 == null) {
            v1_2 = this.h.getSuggestIntentData();
        }
        if (v1_2 != null) {
            android.net.Uri v3_1 = android.support.v7.widget.SuggestionsAdapter.a(p9, "suggest_intent_data_id");
            if (v3_1 != null) {
                String v4_1 = new StringBuilder();
                v4_1.append(v1_2);
                v4_1.append("/");
                v4_1.append(android.net.Uri.encode(v3_1));
                v1_2 = v4_1.toString();
            }
        }
        android.net.Uri v3_2;
        if (v1_2 != null) {
            v3_2 = android.net.Uri.parse(v1_2);
        } else {
            v3_2 = 0;
        }
        return this.a(v2_0, v3_2, android.support.v7.widget.SuggestionsAdapter.a(p9, "suggest_intent_extra_data"), android.support.v7.widget.SuggestionsAdapter.a(p9, "suggest_intent_query"), p10, p11);
    }

Method com.imagepicker.utils.RealPathUtil.a() calling method android.net.Uri.parse()


    public static String a(android.content.Context p5, android.net.Uri p6)
    {
        boolean v0_12;
        if (android.os.Build$VERSION.SDK_INT < 19) {
            v0_12 = 0;
        } else {
            v0_12 = 1;
        }
        android.net.Uri v3_1 = 0;
        if ((!v0_12) || (!android.provider.DocumentsContract.isDocumentUri(p5, p6))) {
            if (!"content".equalsIgnoreCase(p6.getScheme())) {
                if ("file".equalsIgnoreCase(p6.getScheme())) {
                    return p6.getPath();
                }
            } else {
                if (!ark>com.imagepicker.utils.RealPathUtilark>.d(p6)) {
                    if (!ark>com.imagepicker.utils.RealPathUtilark>.b(p5, p6)) {
                        return ark>com.imagepicker.utils.RealPathUtilark>.a(p5, p6, 0, 0);
                    } else {
                        return ark>com.imagepicker.utils.RealPathUtilark>.c(p5, p6);
                    }
                } else {
                    return p6.getLastPathSegment();
                }
            }
        } else {
            if (!ark>com.imagepicker.utils.RealPathUtilark>.a(p6)) {
                if (!ark>com.imagepicker.utils.RealPathUtilark>.b(p6)) {
                    if (ark>com.imagepicker.utils.RealPathUtilark>.c(p6)) {
                        String v6_5 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                        boolean v0_14 = v6_5[0];
                        if (!"image".equals(v0_14)) {
                            if (!"video".equals(v0_14)) {
                                if ("audio".equals(v0_14)) {
                                    v3_1 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                }
                            } else {
                                v3_1 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                            }
                        } else {
                            v3_1 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                        }
                        boolean v0_16 = new String[1];
                        v0_16[0] = v6_5[1];
                        return ark>com.imagepicker.utils.RealPathUtilark>.a(p5, v3_1, "_id=?", v0_16);
                    }
                } else {
                    return ark>com.imagepicker.utils.RealPathUtilark>.a(p5, android.content.ContentUris.withAppendedId(android.net.Uri.parse("content://downloads/public_downloads"), Long.valueOf(android.provider.DocumentsContract.getDocumentId(p6)).longValue()), 0, 0);
                }
            } else {
                String v5_12 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                if ("primary".equalsIgnoreCase(v5_12[0])) {
                    String v6_3 = new StringBuilder();
                    v6_3.append(android.os.Environment.getExternalStorageDirectory());
                    v6_3.append("/");
                    v6_3.append(v5_12[1]);
                    return v6_3.toString();
                }
            }
        }
        return 0;
    }

Method com.google.android.gms.tagmanager.zzcx.a() calling method android.net.Uri.parse()


    public static String a(String p2, String p3)
    {
        if (p3 != 0) {
            String v2_1;
            String v2_5 = String.valueOf(p2);
            if (v2_5.length() == 0) {
                v2_1 = new String("http://hostname/?");
            } else {
                v2_1 = "http://hostname/?".concat(v2_5);
            }
            return android.net.Uri.parse(v2_1).getQueryParameter(p3);
        } else {
            if (p2.length() <= 0) {
                return 0;
            } else {
                return p2;
            }
        }
    }

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


    static zzdmf()
    {
        com.google.android.gms.internal.zzdmf.a = android.net.Uri.parse("content://com.google.android.gsf.gservices");
        com.google.android.gms.internal.zzdmf.b = android.net.Uri.parse("content://com.google.android.gsf.gservices/prefix");
        com.google.android.gms.internal.zzdmf.c = java.util.regex.Pattern.compile("^(1|true|t|on|yes|y)$", 2);
        com.google.android.gms.internal.zzdmf.d = java.util.regex.Pattern.compile("^(0|false|f|off|no|n)$", 2);
        com.google.android.gms.internal.zzdmf.e = new java.util.concurrent.atomic.AtomicBoolean();
        com.google.android.gms.internal.zzdmf.f = new java.util.HashMap();
        com.google.android.gms.internal.zzdmf.g = new java.util.HashMap();
        com.google.android.gms.internal.zzdmf.h = new java.util.HashMap();
        com.google.android.gms.internal.zzdmf.i = new java.util.HashMap();
        String[] v0_16 = new String[0];
        com.google.android.gms.internal.zzdmf.j = v0_16;
        return;
    }

Method com.google.android.gms.internal.zzcue.a() calling method android.net.Uri.parse()


    public static android.net.Uri a(String p2)
    {
        android.net.Uri v2_1;
        android.net.Uri v2_4 = String.valueOf(android.net.Uri.encode(p2));
        if (v2_4.length() == 0) {
            v2_1 = new String("content://com.google.android.gms.phenotype/");
        } else {
            v2_1 = "content://com.google.android.gms.phenotype/".concat(v2_4);
        }
        return android.net.Uri.parse(v2_1);
    }

Method com.google.android.gms.internal.zzcid.a() calling method android.net.Uri.parse()


    public final void a(android.content.Context p13, android.content.Intent p14)
    {
        com.google.android.gms.internal.zzcim v2 = com.google.android.gms.internal.zzcim.a(p13);
        com.google.android.gms.internal.zzchm v7 = v2.f();
        if (p14 != null) {
            com.google.android.gms.internal.zzcie v0_9 = p14.getAction();
            v7.E().a("Local receiver got", v0_9);
            if (!"com.google.android.gms.measurement.UPLOAD".equals(v0_9)) {
                if ("com.android.vending.INSTALL_REFERRER".equals(v0_9)) {
                    android.content.BroadcastReceiver$PendingResult v8 = this.a.a();
                    com.google.android.gms.internal.zzcie v0_3 = p14.getStringExtra("referrer");
                    if (v0_3 != null) {
                        v7.C().a("Install referrer extras are", v0_3);
                        if (!v0_3.contains("?")) {
                            com.google.android.gms.internal.zzcie v0_4 = String.valueOf(v0_3);
                            if (v0_4.length() == 0) {
                                v0_3 = new String("?");
                            } else {
                                v0_3 = "?".concat(v0_4);
                            }
                        }
                        android.os.Bundle v5 = v2.o().a(android.net.Uri.parse(v0_3));
                        if (v5 != null) {
                            long v9_1 = (1000 * p14.getLongExtra("referrer_timestamp_seconds", 0));
                            if (v9_1 == 0) {
                                v7.A().a("Install referrer is missing timestamp");
                            }
                            com.google.android.gms.internal.zzcih v14_4 = v2.h();
                            com.google.android.gms.internal.zzcie v11 = new com.google.android.gms.internal.zzcie;
                            v11(this, v2, v9_1, v5, p13, v7, v8);
                            v14_4.a(v11);
                        } else {
                            v7.E().a("No campaign defined in install referrer broadcast");
                            if (v8 != null) {
                                v8.finish();
                                return;
                            }
                        }
                    } else {
                        v7.E().a("Install referrer extras are null");
                        if (v8 != null) {
                            v8.finish();
                        }
                        return;
                    }
                }
                return;
            } else {
                com.google.android.gms.internal.zzcih v14_9 = new android.content.Intent().setClassName(p13, "com.google.android.gms.measurement.AppMeasurementService");
                v14_9.setAction("com.google.android.gms.measurement.UPLOAD");
                v7.E().a("Starting wakeful intent.");
                this.a.a(p13, v14_9);
                return;
            }
        } else {
            v7.A().a("Receiver called with null intent");
            return;
        }
    }

Method com.google.android.gms.gcm.zza.b() calling method android.net.Uri.parse()


    final boolean b(android.os.Bundle p14)
    {
        android.app.Notification v0_1 = this.b(p14, "gcm.n.title");
        if (android.text.TextUtils.isEmpty(v0_1)) {
            v0_1 = this.b.getApplicationInfo().loadLabel(this.b.getPackageManager());
        }
        StringBuilder v4_5;
        android.app.NotificationManager v1_2 = this.b(p14, "gcm.n.body");
        int v2_1 = com.google.android.gms.gcm.zza.a(p14, "gcm.n.icon");
        if (android.text.TextUtils.isEmpty(v2_1)) {
            int v2_11 = this.b.getApplicationInfo().icon;
            if (v2_11 != 0) {
                v4_5 = v2_11;
            } else {
                v4_5 = 17301651;
            }
        } else {
            android.net.Uri v3_4 = this.b.getResources();
            v4_5 = v3_4.getIdentifier(v2_1, "drawable", this.b.getPackageName());
            if (v4_5 == null) {
                v4_5 = v3_4.getIdentifier(v2_1, "mipmap", this.b.getPackageName());
                if (v4_5 == null) {
                    String v5_7 = new StringBuilder((String.valueOf(v2_1).length() + 57));
                    v5_7.append("Icon resource ");
                    v5_7.append(v2_1);
                    v5_7.append(" not found. Notification will use app icon.");
                    android.util.Log.w("GcmNotification", v5_7.toString());
                }
            }
        }
        android.net.Uri v3_1;
        int v2_13 = com.google.android.gms.gcm.zza.a(p14, "gcm.n.color");
        android.net.Uri v3_7 = com.google.android.gms.gcm.zza.a(p14, "gcm.n.sound2");
        String v6_8 = 0;
        if (!android.text.TextUtils.isEmpty(v3_7)) {
            if (("default".equals(v3_7)) || (this.b.getResources().getIdentifier(v3_7, "raw", this.b.getPackageName()) == 0)) {
                v3_1 = android.media.RingtoneManager.getDefaultUri(2);
            } else {
                android.app.NotificationChannel v7_27 = this.b.getPackageName();
                StringBuilder v9_5 = new StringBuilder((((String.valueOf("android.resource://").length() + 5) + String.valueOf(v7_27).length()) + String.valueOf(v3_7).length()));
                v9_5.append("android.resource://");
                v9_5.append(v7_27);
                v9_5.append("/raw/");
                v9_5.append(v3_7);
                v3_1 = android.net.Uri.parse(v9_5.toString());
            }
        } else {
            v3_1 = 0;
        }
        android.app.Notification v0_5;
        String v5_1 = this.c(p14);
        if ((!com.google.android.gms.common.util.zzq.h()) || (this.b.getApplicationInfo().targetSdkVersion <= 25)) {
            StringBuilder v4_0 = new android.support.v4.app.NotificationCompat$Builder(this.b).a(1).a(v4_5);
            if (!android.text.TextUtils.isEmpty(v0_1)) {
                v4_0.a(v0_1);
            }
            if (!android.text.TextUtils.isEmpty(v1_2)) {
                v4_0.b(v1_2);
            }
            if (!android.text.TextUtils.isEmpty(v2_13)) {
                v4_0.b(android.graphics.Color.parseColor(v2_13));
            }
            if (v3_1 != null) {
                v4_0.a(v3_1);
            }
            if (v5_1 != null) {
                v4_0.a(v5_1);
            }
            v0_5 = v4_0.a();
        } else {
            android.app.NotificationChannel v7_6 = com.google.android.gms.gcm.zza.a(p14, "gcm.n.android_channel_id");
            if (com.google.android.gms.common.util.zzq.h()) {
                String v6_6 = ((android.app.NotificationManager) this.b.getSystemService(android.app.NotificationManager));
                if (!android.text.TextUtils.isEmpty(v7_6)) {
                    if (v6_6.getNotificationChannel(v7_6) == null) {
                        int v12_1 = new StringBuilder((String.valueOf(v7_6).length() + 122));
                        v12_1.append("Notification Channel requested (");
                        v12_1.append(v7_6);
                        v12_1.append(") has not been created by the app. Manifest configuration, or default, value will be used.");
                        android.util.Log.w("GcmNotification", v12_1.toString());
                    } else {
                        v6_8 = v7_6;
                        StringBuilder v4_1 = new android.app.Notification$Builder(this.b).setAutoCancel(1).setSmallIcon(v4_5);
                        if (!android.text.TextUtils.isEmpty(v0_1)) {
                            v4_1.setContentTitle(v0_1);
                        }
                        if (!android.text.TextUtils.isEmpty(v1_2)) {
                            v4_1.setContentText(v1_2);
                            v4_1.setStyle(new android.app.Notification$BigTextStyle().bigText(v1_2));
                        }
                        if (!android.text.TextUtils.isEmpty(v2_13)) {
                            v4_1.setColor(android.graphics.Color.parseColor(v2_13));
                        }
                        if (v3_1 != null) {
                            v4_1.setSound(v3_1);
                        }
                        if (v5_1 != null) {
                            v4_1.setContentIntent(v5_1);
                        }
                        if (v6_8 != null) {
                            v4_1.setChannelId(v6_8);
                        }
                        v0_5 = v4_1.build();
                        String v14_1 = com.google.android.gms.gcm.zza.a(p14, "gcm.n.tag");
                        if (android.util.Log.isLoggable("GcmNotification", 3)) {
                            android.util.Log.d("GcmNotification", "Showing notification");
                        }
                        android.app.NotificationManager v1_9 = ((android.app.NotificationManager) this.b.getSystemService("notification"));
                        if (android.text.TextUtils.isEmpty(v14_1)) {
                            int v2_5 = android.os.SystemClock.uptimeMillis();
                            StringBuilder v4_4 = new StringBuilder(37);
                            v4_4.append("GCM-Notification:");
                            v4_4.append(v2_5);
                            v14_1 = v4_4.toString();
                        }
                        v1_9.notify(v14_1, 0, v0_5);
                        return 1;
                    }
                }
                if (this.c == null) {
                    android.app.NotificationChannel v7_14;
                    String v10_7;
                    this.c = this.a().getString("com.google.android.gms.gcm.default_notification_channel_id");
                    if (android.text.TextUtils.isEmpty(this.c)) {
                        v7_14 = "GcmNotification";
                        v10_7 = "Missing Default Notification Channel metadata in AndroidManifest. Default value will be used.";
                    } else {
                        if (v6_6.getNotificationChannel(this.c) == null) {
                            v7_14 = "GcmNotification";
                            v10_7 = "Notification Channel set in AndroidManifest.xml has not been created by the app. Default value will be used.";
                        } else {
                            v6_8 = this.c;
                        }
                    }
                    android.util.Log.w(v7_14, v10_7);
                    if (v6_6.getNotificationChannel("fcm_fallback_notification_channel") == null) {
                        v6_6.createNotificationChannel(new android.app.NotificationChannel("fcm_fallback_notification_channel", this.b.getString(com.google.android.gms.R$string.gcm_fallback_notification_channel_label), 3));
                    }
                    this.c = "fcm_fallback_notification_channel";
                }
            }
        }
    }

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


    private static int c(android.content.Context p8, String p9, boolean p10)
    {
        Throwable v0 = 0;
        try {
            Throwable v8_3;
            android.database.Cursor v1_0 = p8.getContentResolver();
        } catch (Throwable v8_6) {
            if (v0 != null) {
                v0.close();
            }
            throw v8_6;
        } catch (Throwable v8_5) {
            Throwable v9_6 = 0;
            try {
                if (!(v8_5 instanceof com.google.android.gms.dynamite.DynamiteModule$zzc)) {
                    throw new com.google.android.gms.dynamite.DynamiteModule$zzc("V2 version check failed", v8_5, 0);
                } else {
                    throw v8_5;
                }
            } catch (Throwable v8_6) {
                v0 = v9_6;
            }
        }
        if (p10 == null) {
            v8_3 = "api";
        } else {
            v8_3 = "api_force_staging";
        }
        int v3_5 = new StringBuilder((((String.valueOf("content://com.google.android.gms.chimera/").length() + 1) + String.valueOf(v8_3).length()) + String.valueOf(p9).length()));
        v3_5.append("content://com.google.android.gms.chimera/");
        v3_5.append(v8_3);
        v3_5.append("/");
        v3_5.append(p9);
        Throwable v8_4 = v1_0.query(android.net.Uri.parse(v3_5.toString()), 0, 0, 0, 0);
        try {
            if (v8_4 != null) {
                if (v8_4.moveToFirst()) {
                    Throwable v9_3 = v8_4.getInt(0);
                    if (v9_3 > null) {
                        com.google.android.gms.dynamite.DynamiteModule.i = v8_4.getString(2);
                        com.google.android.gms.dynamite.DynamiteModule$zza v10_3 = ((com.google.android.gms.dynamite.DynamiteModule$zza) com.google.android.gms.dynamite.DynamiteModule.j.get());
                        if ((v10_3 != null) && (v10_3.a == null)) {
                            v10_3.a = v8_4;
                            v8_4 = 0;
                        }
                    }
                    if (v8_4 != null) {
                        v8_4.close();
                    }
                    return v9_3;
                } else {
                }
            }
        } catch (Throwable v9_10) {
            v0 = v8_4;
            v8_6 = v9_10;
        } catch (Throwable v9_9) {
            v9_6 = v8_4;
            v8_5 = v9_9;
        }
        android.util.Log.w("DynamiteModule", "Failed to retrieve remote module version.");
        throw new com.google.android.gms.dynamite.DynamiteModule$zzc("Failed to connect to dynamite module ContentResolver.", 0);
    }

Method com.google.android.gms.common.internal.zzak.a() calling method android.net.Uri.parse()


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

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


    static zzak()
    {
        android.net.Uri v0_3 = android.net.Uri.parse("https://plus.google.com/");
        com.google.android.gms.common.internal.zzak.a = v0_3;
        com.google.android.gms.common.internal.zzak.b = 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 v0_3 = this.a;
        java.io.IOException v1_7 = android.net.Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
        String v2_0 = v0_3.keySet().iterator();
        while (v2_0.hasNext()) {
            String v3_6 = ((String) v2_0.next());
            v1_7.appendQueryParameter(v3_6, ((String) v0_3.get(v3_6)));
        }
        String v0_2 = v1_7.build().toString();
        try {
            java.io.IOException v1_3 = ((java.net.HttpURLConnection) new java.net.URL(v0_2).openConnection());
        } catch (java.io.IOException v1_6) {
            String v2_5 = "HttpUrlPinger";
            String v3_4 = v1_6.getMessage();
            StringBuilder v5_5 = new StringBuilder(((String.valueOf(v0_2).length() + 32) + String.valueOf(v3_4).length()));
            String v4_9 = "Error while parsing ping URL: ";
            v5_5.append(v4_9);
            v5_5.append(v0_2);
            v5_5.append(". ");
            v5_5.append(v3_4);
            android.util.Log.w(v2_5, v5_5.toString(), v1_6);
            return;
        } catch (java.io.IOException v1_6) {
            v2_5 = "HttpUrlPinger";
            v3_4 = v1_6.getMessage();
            v5_5 = new StringBuilder(((String.valueOf(v0_2).length() + 27) + String.valueOf(v3_4).length()));
            v4_9 = "Error while pinging URL: ";
            v5_5.append(v4_9);
            v5_5.append(v0_2);
            v5_5.append(". ");
            v5_5.append(v3_4);
            android.util.Log.w(v2_5, v5_5.toString(), v1_6);
            return;
        }
        String v2_1 = v1_3.getResponseCode();
        if ((v2_1 < 200) || (v2_1 >= 300)) {
            StringBuilder v5_1 = new StringBuilder((String.valueOf(v0_2).length() + 65));
            v5_1.append("Received non-success response code ");
            v5_1.append(v2_1);
            v5_1.append(" from pinging URL: ");
            v5_1.append(v0_2);
            android.util.Log.w("HttpUrlPinger", v5_1.toString());
        }
        v1_3.disconnect();
        return;
    }

Method com.flurry.sdk.mv.a() calling method android.net.Uri.parse()


    static synthetic void a(ark>com.flurry.sdk.mvark> p4, com.flurry.sdk.b$b p5)
    {
        android.content.Context v0_1 = com.flurry.sdk.kh.a().a;
        if (!com.flurry.sdk.mt.a(v0_1)) {
            ark>com.flurry.sdk.mvark>.b(v0_1, p5);
            return;
        } else {
            com.flurry.sdk.mt.a(v0_1, new android.support.customtabs.CustomTabsIntent$Builder().setShowTitle(1).build(), android.net.Uri.parse(p5.a.toString()), new ark>com.flurry.sdk.mvark>$2(p4, p5));
            return;
        }
    }

Method com.flurry.sdk.mu.a() calling method android.net.Uri.parse()


    static String a(android.content.Context p10)
    {
        if (ark>com.flurry.sdk.muark>.b == null) {
            int v3_1;
            boolean v0_2 = p10.getPackageManager();
            android.content.Intent v1_1 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("http://www.example.com"));
            int v3_0 = v0_2.resolveActivity(v1_1, 0);
            if (v3_0 == 0) {
                v3_1 = 0;
            } else {
                v3_1 = v3_0.activityInfo.packageName;
            }
            java.util.Iterator v5_0 = v0_2.queryIntentActivities(v1_1, 0);
            java.util.ArrayList v6_1 = new java.util.ArrayList();
            java.util.Iterator v5_1 = v5_0.iterator();
            while (v5_1.hasNext()) {
                String v7_2 = ((android.content.pm.ResolveInfo) v5_1.next());
                android.content.pm.ResolveInfo v8_1 = new android.content.Intent();
                v8_1.setAction("android.support.customtabs.action.CustomTabsService");
                v8_1.setPackage(v7_2.activityInfo.packageName);
                if (v0_2.resolveService(v8_1, 0) != null) {
                    v6_1.add(v7_2.activityInfo.packageName);
                }
            }
            if (!v6_1.isEmpty()) {
                if (v6_1.size() != 1) {
                    if ((android.text.TextUtils.isEmpty(v3_1)) || ((ark>com.flurry.sdk.muark>.a(p10, v1_1)) || (!v6_1.contains(v3_1)))) {
                        if (!v6_1.contains("com.android.chrome")) {
                            if (!v6_1.contains("com.chrome.beta")) {
                                if (!v6_1.contains("com.chrome.dev")) {
                                    if (v6_1.contains("com.google.android.apps.chrome")) {
                                        ark>com.flurry.sdk.muark>.b = "com.google.android.apps.chrome";
                                    }
                                } else {
                                    ark>com.flurry.sdk.muark>.b = "com.chrome.dev";
                                }
                            } else {
                                ark>com.flurry.sdk.muark>.b = "com.chrome.beta";
                            }
                        } else {
                            ark>com.flurry.sdk.muark>.b = "com.android.chrome";
                        }
                    } else {
                        ark>com.flurry.sdk.muark>.b = v3_1;
                    }
                } else {
                    ark>com.flurry.sdk.muark>.b = ((String) v6_1.get(0));
                }
            } else {
                ark>com.flurry.sdk.muark>.b = 0;
            }
            return ark>com.flurry.sdk.muark>.b;
        } else {
            return ark>com.flurry.sdk.muark>.b;
        }
    }

Method com.flurry.sdk.mt.a() calling method android.net.Uri.parse()


    public static void a(android.content.Context p3, android.support.customtabs.CustomTabsIntent p4, android.net.Uri p5, ark>com.flurry.sdk.mtark>$a p6)
    {
        if (ark>com.flurry.sdk.mtark>.a(p3)) {
            if (android.os.Build$VERSION.SDK_INT >= 22) {
                String v6_3 = p4.intent;
                android.net.Uri v1_0 = new StringBuilder("2//");
                v1_0.append(p3.getPackageName());
                v6_3.putExtra("android.intent.extra.REFERRER", android.net.Uri.parse(v1_0.toString()));
            }
            p4.intent.setPackage(com.flurry.sdk.mu.a(p3));
            p4.launchUrl(p3, p5);
            return;
        } else {
            p6.a(p3);
            return;
        }
    }

Method com.flurry.sdk.mn.e() calling method android.net.Uri.parse()


    public static boolean e(String p3)
    {
        int v1 = 0;
        if (!android.text.TextUtils.isEmpty(p3)) {
            int v3_3 = android.net.Uri.parse(p3);
            if ((v3_3.getHost() != null) && ((v3_3.getHost().equals("play.google.com")) && ((v3_3.getScheme() != null) && (v3_3.getScheme().startsWith("http"))))) {
                v1 = 1;
            }
        }
        return v1;
    }

Method com.flurry.sdk.mn.d() calling method android.net.Uri.parse()


    public static boolean d(String p2)
    {
        int v1 = 0;
        if (!android.text.TextUtils.isEmpty(p2)) {
            int v2_3 = android.net.Uri.parse(p2);
            if ((v2_3.getScheme() != null) && (v2_3.getScheme().equals("market"))) {
                v1 = 1;
            }
        }
        return v1;
    }

Method com.flurry.sdk.mi.a() calling method android.net.Uri.parse()


    public static String a(String p2)
    {
        if (!android.text.TextUtils.isEmpty(p2)) {
            if (android.net.Uri.parse(p2).getScheme() != null) {
                return p2;
            } else {
                StringBuilder v0_1 = new StringBuilder("http://");
                v0_1.append(p2);
                return v0_1.toString();
            }
        } else {
            return p2;
        }
    }

Method com.facebook.react.views.webview.ReactWebViewManager$ReactWebViewClient.shouldOverrideUrlLoading() calling method android.net.Uri.parse()


    public boolean shouldOverrideUrlLoading(android.webkit.WebView p5, String p6)
    {
        if ((this.b == null) || (this.b.a() <= 0)) {
            boolean v0_3 = 0;
        } else {
            boolean v0_2 = this.b.b().iterator();
            while (v0_2.hasNext()) {
                if (p6.startsWith(((String) v0_2.next()))) {
                    v0_3 = 1;
                }
            }
        }
        if ((v0_3) || ((!p6.startsWith("http://")) && ((!p6.startsWith("https://")) && ((!p6.startsWith("file://")) && (!p6.equals("about:blank")))))) {
            try {
                boolean v0_14 = new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(p6));
                v0_14.setFlags(268435456);
                p5.getContext().startActivity(v0_14);
            } catch (android.content.ActivityNotFoundException v5_2) {
                StringBuilder v2_4 = new StringBuilder();
                v2_4.append("activity not found to handle uri scheme for: ");
                v2_4.append(p6);
                com.facebook.common.logging.FLog.b("ReactNative", v2_4.toString(), v5_2);
            }
            return 1;
        } else {
            return 0;
        }
    }

Method com.facebook.react.views.imagehelper.ImageSource.a() calling method android.net.Uri.parse()


    private android.net.Uri a(android.content.Context p3)
    {
        try {
            android.net.Uri v0_1 = android.net.Uri.parse(this.b);
        } catch (Exception) {
            return this.b(p3);
        }
        if (v0_1.getScheme() == null) {
            v0_1 = this.b(p3);
        }
        return v0_1;
    }

Method com.facebook.react.modules.network.RequestBodyUtil.a() calling method android.net.Uri.parse()


    public static java.io.InputStream a(android.content.Context p3, String p4)
    {
        try {
            String v0_0 = android.net.Uri.parse(p4);
        } catch (java.io.InputStream v3_3) {
            StringBuilder v1_1 = new StringBuilder();
            v1_1.append("Could not retrieve file for contentUri ");
            v1_1.append(p4);
            com.facebook.common.logging.FLog.c("ReactNative", v1_1.toString(), v3_3);
            return 0;
        }
        if (!v0_0.getScheme().startsWith("http")) {
            return p3.getContentResolver().openInputStream(v0_0);
        } else {
            return ark>com.facebook.react.modules.network.RequestBodyUtilark>.a(p3, v0_0);
        }
    }

Method com.facebook.react.devsupport.RedBoxDialog$OpenStackFrameTask.a() calling method android.net.Uri.parse()


    protected varargs Void a(com.facebook.react.devsupport.interfaces.StackFrame[] p8)
    {
        try {
            String v1_4 = android.net.Uri.parse(this.b.j()).buildUpon().path("/open-stack-frame").query(0).build().toString();
            String v2_1 = new okhttp3.OkHttpClient();
            int v3 = p8.length;
            int v4 = 0;
        } catch (Exception v8_1) {
            com.facebook.common.logging.FLog.c("ReactNative", "Could not open stack frame", v8_1);
            return 0;
        }
        while (v4 < v3) {
            v2_1.newCall(new okhttp3.Request$Builder().url(v1_4).post(okhttp3.RequestBody.create(ark>com.facebook.react.devsupport.RedBoxDialog$OpenStackFrameTaskark>.a, ark>com.facebook.react.devsupport.RedBoxDialog$OpenStackFrameTaskark>.a(p8[v4]).toString())).build()).execute();
            v4++;
        }
        return 0;
    }

Method com.facebook.react.devsupport.RedBoxDialog$CopyToHostClipBoardTask.a() calling method android.net.Uri.parse()


    protected varargs Void a(String[] p8)
    {
        try {
            String v1_4 = android.net.Uri.parse(this.a.j()).buildUpon().path("/copy-to-clipboard").query(0).build().toString();
            String v2_0 = p8.length;
            int v3 = 0;
        } catch (Exception v8_1) {
            com.facebook.common.logging.FLog.c("ReactNative", "Could not copy to the host clipboard", v8_1);
            return 0;
        }
        while (v3 < v2_0) {
            new okhttp3.OkHttpClient().newCall(new okhttp3.Request$Builder().url(v1_4).post(okhttp3.RequestBody.create(0, p8[v3])).build()).execute();
            v3++;
        }
        return 0;
    }

Method com.facebook.react.devsupport.DevSupportManagerImpl$JscProfileTask.a() calling method android.net.Uri.parse()


    protected varargs Void a(String[] p8)
    {
        try {
            String v1_3 = android.net.Uri.parse(this.b).buildUpon().path("/jsc-profile").query(0).build().toString();
            String v2_1 = new okhttp3.OkHttpClient();
            int v3 = p8.length;
            int v4 = 0;
        } catch (java.io.IOException v8_1) {
            com.facebook.common.logging.FLog.c("ReactNative", "Failed not talk to server", v8_1);
            return 0;
        }
        while (v4 < v3) {
            v2_1.newCall(new okhttp3.Request$Builder().url(v1_3).post(okhttp3.RequestBody.create(ark>com.facebook.react.devsupport.DevSupportManagerImpl$JscProfileTaskark>.a, p8[v4])).build()).execute();
            v4++;
        }
        return 0;
    }

Method com.facebook.react.devsupport.DebugOverlayController.a() calling method android.net.Uri.parse()


    public static void a(android.content.Context p4)
    {
        if ((android.os.Build$VERSION.SDK_INT >= 23) && (!android.provider.Settings.canDrawOverlays(p4))) {
            String v2_4 = new StringBuilder();
            v2_4.append("package:");
            v2_4.append(p4.getPackageName());
            android.content.Intent v0_1 = new android.content.Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION", android.net.Uri.parse(v2_4.toString()));
            v0_1.setFlags(268435456);
            com.facebook.common.logging.FLog.c("ReactNative", "Overlay permissions needs to be granted in order for react native apps to run in dev mode");
            if (ark>com.facebook.react.devsupport.DebugOverlayControllerark>.a(p4, v0_1)) {
                p4.startActivity(v0_1);
            }
        }
        return;
    }

Method com.coupa.android.coupamobile.views.RequisitionLineActivity$2.onItemClick() calling method android.net.Uri.parse()


    public void onItemClick(android.widget.AdapterView p4, android.view.View p5, int p6, long p7)
    {
        this.position = p6;
        com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_26 = ((com.coupa.android.coupamobile.models.value_objects.Attachment) com.coupa.android.coupamobile.views.RequisitionLineActivity.access$400(this.this$0).attachmentList.get(p6));
        String v5_36 = v4_26.getType();
        if (!com.coupa.android.coupamobile.core.data.DataItemBase.isNullOrEmpty(v5_36)) {
            if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentText.toString())) {
                if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentUrl.toString())) {
                    if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentFile.toString())) {
                        if (v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentImageScan.toString())) {
                            String v5_28 = v4_26.isFileExists(com.coupa.android.coupamobile.models.value_objects.RequisitionLine);
                            com.coupa.android.coupamobile.views.RequisitionLineActivity.access$508(this.this$0);
                            if (v5_28 != null) {
                                String v5_30 = new StringBuilder();
                                v5_30.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                                v5_30.append(v4_26.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.RequisitionLine));
                                String v5_32 = new java.io.File(v5_30.toString());
                                if (v5_32.exists()) {
                                    v5_32.setLastModified(new java.util.Date().getTime());
                                    com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_27 = android.net.Uri.fromFile(v5_32);
                                    String v5_34 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_27, this.this$0);
                                    android.content.Intent v6_39 = new android.content.Intent("android.intent.action.VIEW");
                                    v6_39.setDataAndType(v4_27, v5_34);
                                    try {
                                        this.this$0.startActivity(v6_39);
                                    } catch (com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_29) {
                                        if ((v4_29 instanceof android.content.ActivityNotFoundException)) {
                                            com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6(this));
                                        }
                                    }
                                }
                            } else {
                                String v5_37 = new android.app.ProgressDialog(this.this$0);
                                v5_37.setProgressStyle(0);
                                v5_37.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                                v5_37.setIndeterminate(1);
                                v5_37.setCanceledOnTouchOutside(1);
                                v5_37.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$4(this));
                                v5_37.show();
                                v4_26.getFileImageScanFromServer(new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$5(this, v5_37));
                            }
                        }
                    } else {
                        String v5_1 = v4_26.isFileExists(com.coupa.android.coupamobile.models.value_objects.RequisitionLine);
                        com.coupa.android.coupamobile.views.RequisitionLineActivity.access$508(this.this$0);
                        if (v5_1 != null) {
                            String v5_3 = new StringBuilder();
                            v5_3.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                            v5_3.append(v4_26.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.RequisitionLine));
                            String v5_5 = new java.io.File(v5_3.toString());
                            if (v5_5.exists()) {
                                v5_5.setLastModified(new java.util.Date().getTime());
                                com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_6 = android.net.Uri.fromFile(v5_5);
                                String v5_7 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_6, this.this$0);
                                android.content.Intent v6_11 = new android.content.Intent("android.intent.action.VIEW");
                                v6_11.setDataAndType(v4_6, v5_7);
                                try {
                                    this.this$0.startActivity(v6_11);
                                } catch (com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_8) {
                                    if ((v4_8 instanceof android.content.ActivityNotFoundException)) {
                                        com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$3(this));
                                    }
                                }
                            }
                        } else {
                            String v5_9 = new android.app.ProgressDialog(this.this$0);
                            v5_9.setProgressStyle(0);
                            v5_9.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                            v5_9.setIndeterminate(1);
                            v5_9.setCanceledOnTouchOutside(1);
                            v5_9.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$1(this));
                            v5_9.show();
                            v4_26.getFileAttachmentFromServer(com.coupa.android.coupamobile.models.value_objects.RequisitionLine, new com.coupa.android.coupamobile.views.RequisitionLineActivity$2$2(this, v5_9));
                        }
                    }
                } else {
                    if (v4_26.getUrl() != null) {
                        com.coupa.android.coupamobile.views.RequisitionLineActivity$2$6 v4_13 = v4_26.getUrl().trim();
                        if ((!v4_13.startsWith("http://")) && (!v4_13.startsWith("https://"))) {
                            String v5_17 = new StringBuilder();
                            v5_17.append("http://");
                            v5_17.append(v4_13);
                            v4_13 = v5_17.toString();
                        }
                        this.this$0.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v4_13)));
                    }
                }
            } else {
                if (v4_26.getText() != null) {
                    String v5_25 = new android.app.AlertDialog$Builder(this.this$0).setIcon(17301659).setTitle(2131624284).setMessage(v4_26.getText());
                    v5_25.setMessage(v4_26.getText());
                    v5_25.setPositiveButton(2131624344, 0);
                    v5_25.show();
                }
            }
        }
        return;
    }

Method com.coupa.android.coupamobile.views.EditRequisitionActivity$3.onItemClick() calling method android.net.Uri.parse()


    public void onItemClick(android.widget.AdapterView p4, android.view.View p5, int p6, long p7)
    {
        this.position = p6;
        com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_26 = ((com.coupa.android.coupamobile.models.value_objects.Attachment) com.coupa.android.coupamobile.views.EditRequisitionActivity.access$500(this.this$0).attachmentList.get(p6));
        String v5_36 = v4_26.getType();
        if (!com.coupa.android.coupamobile.core.data.DataItemBase.isNullOrEmpty(v5_36)) {
            if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentText.toString())) {
                if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentUrl.toString())) {
                    if (!v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentFile.toString())) {
                        if (v5_36.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentImageScan.toString())) {
                            String v5_28 = v4_26.isFileExists(com.coupa.android.coupamobile.models.value_objects.Requisition);
                            com.coupa.android.coupamobile.views.EditRequisitionActivity.access$608(this.this$0);
                            if (v5_28 != null) {
                                String v5_30 = new StringBuilder();
                                v5_30.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                                v5_30.append(v4_26.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.Requisition));
                                String v5_32 = new java.io.File(v5_30.toString());
                                if (v5_32.exists()) {
                                    v5_32.setLastModified(new java.util.Date().getTime());
                                    com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_27 = android.net.Uri.fromFile(v5_32);
                                    String v5_34 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_27, this.this$0);
                                    android.content.Intent v6_39 = new android.content.Intent("android.intent.action.VIEW");
                                    v6_39.setDataAndType(v4_27, v5_34);
                                    try {
                                        this.this$0.startActivity(v6_39);
                                    } catch (com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_29) {
                                        if ((v4_29 instanceof android.content.ActivityNotFoundException)) {
                                            com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6(this));
                                        }
                                    }
                                }
                            } else {
                                String v5_37 = new android.app.ProgressDialog(this.this$0);
                                v5_37.setProgressStyle(0);
                                v5_37.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                                v5_37.setIndeterminate(1);
                                v5_37.setCanceledOnTouchOutside(1);
                                v5_37.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$4(this));
                                v5_37.show();
                                v4_26.getFileImageScanFromServer(new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$5(this, v5_37));
                            }
                        }
                    } else {
                        String v5_1 = v4_26.isFileExists(com.coupa.android.coupamobile.models.value_objects.Requisition);
                        com.coupa.android.coupamobile.views.EditRequisitionActivity.access$608(this.this$0);
                        if (v5_1 != null) {
                            String v5_3 = new StringBuilder();
                            v5_3.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                            v5_3.append(v4_26.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.Requisition));
                            String v5_5 = new java.io.File(v5_3.toString());
                            if (v5_5.exists()) {
                                v5_5.setLastModified(new java.util.Date().getTime());
                                com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_6 = android.net.Uri.fromFile(v5_5);
                                String v5_7 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_6, this.this$0);
                                android.content.Intent v6_11 = new android.content.Intent("android.intent.action.VIEW");
                                v6_11.setDataAndType(v4_6, v5_7);
                                try {
                                    this.this$0.startActivity(v6_11);
                                } catch (com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_8) {
                                    if ((v4_8 instanceof android.content.ActivityNotFoundException)) {
                                        com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$3(this));
                                    }
                                }
                            }
                        } else {
                            String v5_9 = new android.app.ProgressDialog(this.this$0);
                            v5_9.setProgressStyle(0);
                            v5_9.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                            v5_9.setIndeterminate(1);
                            v5_9.setCanceledOnTouchOutside(1);
                            v5_9.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$1(this));
                            v5_9.show();
                            v4_26.getFileAttachmentFromServer(com.coupa.android.coupamobile.models.value_objects.Requisition, new com.coupa.android.coupamobile.views.EditRequisitionActivity$3$2(this, v5_9));
                        }
                    }
                } else {
                    if (v4_26.getUrl() != null) {
                        com.coupa.android.coupamobile.views.EditRequisitionActivity$3$6 v4_13 = v4_26.getUrl().trim();
                        if ((!v4_13.startsWith("http://")) && (!v4_13.startsWith("https://"))) {
                            String v5_17 = new StringBuilder();
                            v5_17.append("http://");
                            v5_17.append(v4_13);
                            v4_13 = v5_17.toString();
                        }
                        this.this$0.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v4_13)));
                    }
                }
            } else {
                if (v4_26.getText() != null) {
                    String v5_25 = new android.app.AlertDialog$Builder(this.this$0).setIcon(17301659).setTitle(2131624284).setMessage(v4_26.getText());
                    v5_25.setMessage(v4_26.getText());
                    v5_25.setPositiveButton(2131624344, 0);
                    v5_25.show();
                }
            }
        }
        return;
    }

Method com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3.onItemClick() calling method android.net.Uri.parse()


    public void onItemClick(android.widget.AdapterView p4, android.view.View p5, int p6, long p7)
    {
        this.position = p6;
        com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_22 = ((com.coupa.android.coupamobile.models.value_objects.Attachment) com.coupa.android.coupamobile.views.EditInvoiceReportActivity.access$300(this.this$0).get(p6));
        String v5_35 = v4_22.getType();
        if (!com.coupa.android.coupamobile.core.data.DataItemBase.isNullOrEmpty(v5_35)) {
            if (!v5_35.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentText.toString())) {
                if (!v5_35.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentUrl.toString())) {
                    if (!v5_35.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentFile.toString())) {
                        if (v5_35.equalsIgnoreCase(com.coupa.android.coupamobile.models.value_objects.Attachment$AttachmentType.AttachmentImageScan.toString())) {
                            String v5_28 = v4_22.isFileExists(com.coupa.android.coupamobile.models.value_objects.InvoiceReport);
                            com.coupa.android.coupamobile.views.EditInvoiceReportActivity.access$408(this.this$0);
                            if (v5_28 != null) {
                                String v5_30 = new StringBuilder();
                                v5_30.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                                v5_30.append(v4_22.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.InvoiceReport));
                                String v5_32 = new java.io.File(v5_30.toString());
                                if (v5_32.exists()) {
                                    v5_32.setLastModified(new java.util.Date().getTime());
                                    com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_26 = android.net.Uri.fromFile(v5_32);
                                    String v5_34 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_26, this.this$0);
                                    android.content.Intent v6_39 = new android.content.Intent("android.intent.action.VIEW");
                                    v6_39.setDataAndType(v4_26, v5_34);
                                    try {
                                        this.this$0.startActivity(v6_39);
                                    } catch (com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_28) {
                                        if ((v4_28 instanceof android.content.ActivityNotFoundException)) {
                                            com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6(this));
                                        }
                                    }
                                }
                            } else {
                                String v5_37 = new android.app.ProgressDialog(this.this$0);
                                v5_37.setProgressStyle(0);
                                v5_37.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                                v5_37.setIndeterminate(1);
                                v5_37.setCanceledOnTouchOutside(1);
                                v5_37.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$4(this));
                                v5_37.show();
                                v4_22.getFileImageScanFromServer(new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$5(this, v5_37));
                            }
                        }
                    } else {
                        String v5_1 = v4_22.isFileExists(com.coupa.android.coupamobile.models.value_objects.InvoiceReport);
                        com.coupa.android.coupamobile.views.EditInvoiceReportActivity.access$408(this.this$0);
                        if (v5_1 != null) {
                            String v5_3 = new StringBuilder();
                            v5_3.append(com.coupa.android.coupamobile.core.utils.FileHelper.getInstance().getDocPath());
                            v5_3.append(v4_22.getLocalAttachmentFileName(com.coupa.android.coupamobile.models.value_objects.InvoiceReport));
                            String v5_5 = new java.io.File(v5_3.toString());
                            if (v5_5.exists()) {
                                v5_5.setLastModified(new java.util.Date().getTime());
                                com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_6 = android.net.Uri.fromFile(v5_5);
                                String v5_7 = com.coupa.android.coupamobile.core.utils.FileHelper.getMIMETypeFromUri(v4_6, this.this$0);
                                android.content.Intent v6_12 = new android.content.Intent("android.intent.action.VIEW");
                                v6_12.setDataAndType(v4_6, v5_7);
                                try {
                                    this.this$0.startActivity(v6_12);
                                } catch (com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_8) {
                                    if ((v4_8 instanceof android.content.ActivityNotFoundException)) {
                                        com.coupa.android.coupamobile.core.ui.AsyncAlert.runOnUiThread(new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$3(this));
                                    }
                                }
                            }
                        } else {
                            String v5_9 = new android.app.ProgressDialog(this.this$0);
                            v5_9.setProgressStyle(0);
                            v5_9.setMessage(com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624247));
                            v5_9.setIndeterminate(1);
                            v5_9.setCanceledOnTouchOutside(1);
                            v5_9.setButton(-1, com.coupa.android.coupamobile.core.ApplicationBase.getStrRes(2131624344), new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$1(this));
                            v5_9.show();
                            v4_22.getFileAttachmentFromServer(com.coupa.android.coupamobile.models.value_objects.InvoiceReport, new com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$2(this, v5_9));
                        }
                    }
                } else {
                    if (v4_22.getUrl() != null) {
                        com.coupa.android.coupamobile.views.EditInvoiceReportActivity$3$6 v4_13 = v4_22.getUrl().trim();
                        if ((!v4_13.startsWith("http://")) && (!v4_13.startsWith("https://"))) {
                            String v5_17 = new StringBuilder();
                            v5_17.append("http://");
                            v5_17.append(v4_13);
                            v4_13 = v5_17.toString();
                        }
                        this.this$0.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse(v4_13)));
                    }
                }
            } else {
                if (v4_22.getText() != null) {
                    String v5_25 = new android.app.AlertDialog$Builder(this.this$0).setIcon(17301659).setTitle(2131624284).setMessage(v4_22.getText());
                    v5_25.setMessage(v4_22.getText());
                    v5_25.setPositiveButton(2131624344, 0);
                    v5_25.show();
                }
            }
        }
        return;
    }

Method com.coupa.android.coupamobile.core.cs_api.CSApi$2.onClick() calling method android.net.Uri.parse()


    public void onClick(android.content.DialogInterface p3, int p4)
    {
        com.coupa.android.coupamobile.controllers.SettingsController.logoutNoPrompt(com.coupa.android.coupamobile.CoupaMobileApplication.AppContext, 1);
        p3.dismiss();
        this.val$finalCurrentResumedActivity.startActivity(new android.content.Intent("android.intent.action.VIEW", android.net.Uri.parse("market://details?id=com.coupa.android.coupamobile")));
        return;
    }

Method com.airbnb.android.react.maps.ImageReader.a() calling method android.net.Uri.parse()


    public void a(String p3)
    {
        if (p3 != null) {
            if ((!p3.startsWith("http://")) && ((!p3.startsWith("https://")) && (!p3.startsWith("file://")))) {
                com.airbnb.android.react.maps.ImageReadable v0_2 = this.c(p3);
                if (v0_2 != null) {
                    this.a.setIconBitmapDescriptor(v0_2);
                    this.a.setIconBitmap(android.graphics.BitmapFactory.decodeResource(this.c, this.b(p3)));
                }
                this.a.a();
            } else {
                com.airbnb.android.react.maps.ImageReadable v3_6 = com.facebook.imagepipeline.request.ImageRequestBuilder.a(android.net.Uri.parse(p3)).n();
                this.e = com.facebook.drawee.backends.pipeline.Fresco.c().a(v3_6, this);
                this.d.a(((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) ((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) ((com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilder) com.facebook.drawee.backends.pipeline.Fresco.a().b(v3_6)).a(this.f)).a(this.d.d())).l());
            }
        } else {
            this.a.setIconBitmapDescriptor(0);
            this.a.a();
        }
        return;
    }

Method com.airbnb.android.react.maps.FileUtil.a() calling method android.net.Uri.parse()


    protected varargs java.io.InputStream a(String[] p6)
    {
        try {
            java.io.InputStream v1_4 = android.net.Uri.parse(p6[0]);
        } catch (java.io.InputStream v1_3) {
            this.c = v1_3;
            StringBuilder v3_1 = new StringBuilder();
            v3_1.append("Could not retrieve file for contentUri ");
            v3_1.append(p6[0]);
            com.facebook.common.logging.FLog.c("ReactNative", v3_1.toString(), v1_3);
            return 0;
        }
        if (!v1_4.getScheme().startsWith("http")) {
            return this.d.getContentResolver().openInputStream(v1_4);
        } else {
            return this.a(this.d, v1_4);
        }
    }

Method com.RNFetchBlob.Utils.PathResolver.a() calling method android.net.Uri.parse()


    public static String a(android.content.Context p5, android.net.Uri p6)
    {
        boolean v0_18;
        if (android.os.Build$VERSION.SDK_INT < 19) {
            v0_18 = 0;
        } else {
            v0_18 = 1;
        }
        android.net.Uri v3_0 = 0;
        if ((!v0_18) || (!android.provider.DocumentsContract.isDocumentUri(p5, p6))) {
            if (!"content".equalsIgnoreCase(p6.getScheme())) {
                if ("file".equalsIgnoreCase(p6.getScheme())) {
                    return p6.getPath();
                }
            } else {
                if (!ark>com.RNFetchBlob.Utils.PathResolverark>.d(p6)) {
                    return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, p6, 0, 0);
                } else {
                    return p6.getLastPathSegment();
                }
            }
        } else {
            if (!ark>com.RNFetchBlob.Utils.PathResolverark>.a(p6)) {
                if (!ark>com.RNFetchBlob.Utils.PathResolverark>.b(p6)) {
                    if (!ark>com.RNFetchBlob.Utils.PathResolverark>.c(p6)) {
                        if (!"content".equalsIgnoreCase(p6.getScheme())) {
                            try {
                                boolean v0_20 = p5.getContentResolver().openInputStream(p6);
                            } catch (String v5_16) {
                                com.RNFetchBlob.RNFetchBlobUtils.b(v5_16.toString());
                                return 0;
                            }
                            if (v0_20) {
                                byte[] v6_11 = ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5.getContentResolver(), p6);
                                if (v6_11 != null) {
                                    java.io.File v1_6 = new java.io.File(p5.getCacheDir(), v6_11);
                                    String v5_14 = new java.io.FileOutputStream(v1_6);
                                    byte[] v6_13 = new byte[1024];
                                    while (v0_20.read(v6_13) > 0) {
                                        v5_14.write(v6_13);
                                    }
                                    v5_14.close();
                                    v0_20.close();
                                    return v1_6.getAbsolutePath();
                                }
                            }
                        } else {
                            if (!ark>com.RNFetchBlob.Utils.PathResolverark>.d(p6)) {
                                return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, p6, 0, 0);
                            } else {
                                return p6.getLastPathSegment();
                            }
                        }
                    } else {
                        byte[] v6_15 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                        boolean v0_23 = v6_15[0];
                        if (!"image".equals(v0_23)) {
                            if (!"video".equals(v0_23)) {
                                if ("audio".equals(v0_23)) {
                                    v3_0 = android.provider.MediaStore$Audio$Media.EXTERNAL_CONTENT_URI;
                                }
                            } else {
                                v3_0 = android.provider.MediaStore$Video$Media.EXTERNAL_CONTENT_URI;
                            }
                        } else {
                            v3_0 = android.provider.MediaStore$Images$Media.EXTERNAL_CONTENT_URI;
                        }
                        boolean v0_3 = new String[1];
                        v0_3[0] = v6_15[1];
                        return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, v3_0, "_id=?", v0_3);
                    }
                } else {
                    return ark>com.RNFetchBlob.Utils.PathResolverark>.a(p5, android.content.ContentUris.withAppendedId(android.net.Uri.parse("content://downloads/public_downloads"), Long.valueOf(android.provider.DocumentsContract.getDocumentId(p6)).longValue()), 0, 0);
                }
            } else {
                String v5_4 = android.provider.DocumentsContract.getDocumentId(p6).split(":");
                if ("primary".equalsIgnoreCase(v5_4[0])) {
                    byte[] v6_10 = new StringBuilder();
                    v6_10.append(android.os.Environment.getExternalStorageDirectory());
                    v6_10.append("/");
                    v6_10.append(v5_4[1]);
                    return v6_10.toString();
                }
            }
        }
        return 0;
    }

Method com.RNFetchBlob.RNFetchBlobReq.run() calling method android.net.Uri.parse()


    public void run()
    {
        if ((this.f.d == null) || ((!this.f.d.a("useDownloadManager")) || (!this.f.d.c("useDownloadManager")))) {
            com.RNFetchBlob.RNFetchBlobReq$3 v2_7;
            okhttp3.Call v0_5 = this.g;
            if (!this.f.c.isEmpty()) {
                com.RNFetchBlob.RNFetchBlobReq$3 v2_5 = new StringBuilder();
                v2_5.append(".");
                v2_5.append(this.f.c);
                v2_7 = v2_5.toString();
            } else {
                v2_7 = "";
            }
            if (this.f.f != null) {
                v0_5 = com.RNFetchBlob.RNFetchBlobUtils.a(this.f.f);
                if (v0_5 == null) {
                    v0_5 = this.g;
                }
                com.RNFetchBlob.RNFetchBlobReq$RequestType v6_38 = new StringBuilder();
                v6_38.append(com.RNFetchBlob.RNFetchBlobFS.a(com.RNFetchBlob.RNFetchBlob.RCTContext, v0_5));
                v6_38.append(v2_7);
                String v3_69 = new java.io.File(v6_38.toString());
                if (v3_69.exists()) {
                    okhttp3.Call v0_14 = this.n;
                    com.RNFetchBlob.RNFetchBlobReq$3 v2_13 = new Object[3];
                    v2_13[0] = 0;
                    v2_13[1] = "path";
                    v2_13[2] = v3_69.getAbsolutePath();
                    v0_14.a(v2_13);
                    return;
                }
            }
            if (this.f.b == null) {
                if (this.f.a.booleanValue()) {
                    String v3_76 = new StringBuilder();
                    v3_76.append(com.RNFetchBlob.RNFetchBlobFS.a(com.RNFetchBlob.RNFetchBlob.RCTContext, v0_5));
                    v3_76.append(v2_7);
                    this.k = v3_76.toString();
                }
            } else {
                this.k = this.f.b;
            }
            try {
                okhttp3.Call v0_57;
                if (!this.f.e.booleanValue()) {
                    v0_57 = this.x.newBuilder();
                    com.RNFetchBlob.RNFetchBlobReq$3 v2_19 = new okhttp3.Request$Builder();
                    try {
                        v2_19.url(new java.net.URL(this.i));
                    } catch (String v3_79) {
                        v3_79.printStackTrace();
                    }
                    String v3_81 = new java.util.HashMap();
                    if (this.m != null) {
                        com.RNFetchBlob.RNFetchBlobReq$RequestType v6_1 = this.m.a();
                        while (v6_1.hasNextKey()) {
                            String v7_31 = v6_1.nextKey();
                            String v8_10 = this.m.f(v7_31);
                            if (!v7_31.equalsIgnoreCase("RNFB-Response")) {
                                v2_19.header(v7_31.toLowerCase(), v8_10);
                                v3_81.put(v7_31.toLowerCase(), v8_10);
                            } else {
                                if (!v8_10.equalsIgnoreCase("base64")) {
                                    if (v8_10.equalsIgnoreCase("utf8")) {
                                        this.t = com.RNFetchBlob.RNFetchBlobReq$ResponseFormat.b;
                                    }
                                } else {
                                    this.t = com.RNFetchBlob.RNFetchBlobReq$ResponseFormat.c;
                                }
                            }
                        }
                    }
                    if ((this.h.equalsIgnoreCase("post")) || (this.h.equalsIgnoreCase("put"))) {
                        com.RNFetchBlob.RNFetchBlobReq$RequestType v6_11 = this.a(v3_81, "Content-Type").toLowerCase();
                        if (this.l == null) {
                            if (v6_11.isEmpty()) {
                                v2_19.header("Content-Type", "application/octet-stream");
                                this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.b;
                            }
                        } else {
                            this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.a;
                        }
                        if (this.j != null) {
                            if (!this.j.startsWith("RNFetchBlob-file://")) {
                                if (!v6_11.toLowerCase().contains(";base64")) {
                                    if (!v6_11.toLowerCase().startsWith("application/octet")) {
                                        this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.c;
                                        com.RNFetchBlob.RNFetchBlobReq$RequestType v6_19 = this.a(v3_81, "Transfer-Encoding").equalsIgnoreCase("chunked");
                                        switch (com.RNFetchBlob.RNFetchBlobReq$4.a[this.r.ordinal()]) {
                                            case 1:
                                                this.q = new com.RNFetchBlob.RNFetchBlobBody(this.g).a(v6_19).a(this.r).a(this.j).a(okhttp3.MediaType.parse(this.a(v3_81, "content-type")));
                                                v2_19.method(this.h, this.q);
                                            case 2:
                                                this.q = new com.RNFetchBlob.RNFetchBlobBody(this.g).a(v6_19).a(this.r).a(this.j).a(okhttp3.MediaType.parse(this.a(v3_81, "content-type")));
                                                v2_19.method(this.h, this.q);
                                                break;
                                            case 3:
                                                String v3_9 = new StringBuilder();
                                                v3_9.append("RNFetchBlob-");
                                                v3_9.append(this.g);
                                                String v3_10 = v3_9.toString();
                                                okhttp3.RequestBody v4_7 = new com.RNFetchBlob.RNFetchBlobBody(this.g).a(v6_19).a(this.r).a(this.l);
                                                com.RNFetchBlob.RNFetchBlobReq$RequestType v6_27 = new StringBuilder();
                                                v6_27.append("multipart/form-data; boundary=");
                                                v6_27.append(v3_10);
                                                this.q = v4_7.a(okhttp3.MediaType.parse(v6_27.toString()));
                                                v2_19.method(this.h, this.q);
                                                break;
                                            case 4:
                                                if ((!this.h.equalsIgnoreCase("post")) && (!this.h.equalsIgnoreCase("put"))) {
                                                    if (!this.h.equalsIgnoreCase("patch")) {
                                                        v2_19.method(this.h, 0);
                                                    } else {
                                                    }
                                                }
                                                com.RNFetchBlob.RNFetchBlobReq$RequestType v6_23 = new byte[0];
                                                v2_19.method(this.h, okhttp3.RequestBody.create(0, v6_23));
                                                break;
                                            default:
                                        }
                                        com.RNFetchBlob.RNFetchBlobReq$3 v2_6 = v2_19.build();
                                        v0_57.addNetworkInterceptor(new com.RNFetchBlob.RNFetchBlobReq$1(this));
                                        v0_57.addInterceptor(new com.RNFetchBlob.RNFetchBlobReq$2(this, v2_6));
                                        if (this.f.j >= 0) {
                                            v0_57.connectTimeout(this.f.j, java.util.concurrent.TimeUnit.MILLISECONDS);
                                            v0_57.readTimeout(this.f.j, java.util.concurrent.TimeUnit.MILLISECONDS);
                                        }
                                        v0_57.connectionPool(com.RNFetchBlob.RNFetchBlobReq.d);
                                        v0_57.retryOnConnectionFailure(0);
                                        v0_57.followRedirects(this.f.l.booleanValue());
                                        v0_57.followSslRedirects(this.f.l.booleanValue());
                                        v0_57.retryOnConnectionFailure(1);
                                        okhttp3.Call v0_8 = com.RNFetchBlob.RNFetchBlobReq.a(v0_57).build().newCall(v2_6);
                                        com.RNFetchBlob.RNFetchBlobReq.a.put(this.g, v0_8);
                                        v0_8.enqueue(new com.RNFetchBlob.RNFetchBlobReq$3(this));
                                    } else {
                                    }
                                }
                                com.RNFetchBlob.RNFetchBlobReq$RequestType v6_14 = v6_11.replace(";base64", "").replace(";BASE64", "");
                                if (v3_81.containsKey("content-type")) {
                                    v3_81.put("content-type", v6_14);
                                }
                                if (v3_81.containsKey("Content-Type")) {
                                    v3_81.put("Content-Type", v6_14);
                                }
                                this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.b;
                            } else {
                                this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.b;
                            }
                        }
                    } else {
                        if (!this.h.equalsIgnoreCase("patch")) {
                            this.r = com.RNFetchBlob.RNFetchBlobReq$RequestType.d;
                        } else {
                        }
                    }
                } else {
                    v0_57 = com.RNFetchBlob.RNFetchBlobUtils.a(this.x);
                }
            } catch (okhttp3.Call v0_10) {
                v0_10.printStackTrace();
                this.a();
                com.RNFetchBlob.RNFetchBlobReq$3 v2_11 = this.n;
                android.content.IntentFilter v1_1 = new Object[1];
                String v3_47 = new StringBuilder();
                v3_47.append("RNFetchBlob request error: ");
                v3_47.append(v0_10.getMessage());
                v3_47.append(v0_10.getCause());
                v1_1[0] = v3_47.toString();
                v2_11.a(v1_1);
            }
            return;
        } else {
            com.RNFetchBlob.RNFetchBlobReq$3 v2_15 = new android.app.DownloadManager$Request(android.net.Uri.parse(this.i));
            v2_15.setNotificationVisibility(1);
            if (this.f.d.a("title")) {
                v2_15.setTitle(this.f.d.f("title"));
            }
            if (this.f.d.a("description")) {
                v2_15.setDescription(this.f.d.f("description"));
            }
            if (this.f.d.a("path")) {
                okhttp3.Call v0_34 = new StringBuilder();
                v0_34.append("file://");
                v0_34.append(this.f.d.f("path"));
                v2_15.setDestinationUri(android.net.Uri.parse(v0_34.toString()));
            }
            if (this.f.d.a("mime")) {
                v2_15.setMimeType(this.f.d.f("mime"));
            }
            okhttp3.Call v0_44 = this.m.a();
            if ((this.f.d.a("mediaScannable")) && (this.f.d.a("mediaScannable") == 1)) {
                v2_15.allowScanningByMediaScanner();
            }
            while (v0_44.hasNextKey()) {
                android.content.IntentFilter v1_10 = v0_44.nextKey();
                v2_15.addRequestHeader(v1_10, this.m.f(v1_10));
            }
            okhttp3.Call v0_46 = com.RNFetchBlob.RNFetchBlob.RCTContext.getApplicationContext();
            this.p = ((android.app.DownloadManager) v0_46.getSystemService("download")).enqueue(v2_15);
            v0_46.registerReceiver(this, new android.content.IntentFilter("android.intent.action.DOWNLOAD_COMPLETE"));
            return;
        }
    }

Method com.RNFetchBlob.RNFetchBlobReq.onReceive() calling method android.net.Uri.parse()


    public void onReceive(android.content.Context p13, android.content.Intent p14)
    {
        if ("android.intent.action.DOWNLOAD_COMPLETE".equals(p14.getAction())) {
            String v13_14 = com.RNFetchBlob.RNFetchBlob.RCTContext.getApplicationContext();
            if (p14.getExtras().getLong("extra_download_id") == this.p) {
                String v13_13;
                com.facebook.react.bridge.Callback v14_12 = new android.app.DownloadManager$Query();
                Object[] v1_4 = new long[1];
                v1_4[0] = this.p;
                v14_12.setFilterById(v1_4);
                Object[] v1_7 = ((android.app.DownloadManager) v13_14.getSystemService("download"));
                v1_7.query(v14_12);
                com.facebook.react.bridge.Callback v14_13 = v1_7.query(v14_12);
                if (!v14_13.moveToFirst()) {
                    v13_13 = 0;
                } else {
                    Object[] v1_11 = v14_13.getInt(v14_13.getColumnIndex("status"));
                    if (v1_11 != 16) {
                        com.facebook.react.bridge.Callback v14_14 = v14_13.getString(v14_13.getColumnIndex("local_uri"));
                        if ((v14_14 == null) || ((!this.f.d.a("mime")) || (!this.f.d.f("mime").contains("image")))) {
                        } else {
                            android.net.Uri v7 = android.net.Uri.parse(v14_14);
                            android.content.ContentResolver v6_7 = v13_14.getContentResolver();
                            String[] v8 = new String[1];
                            v8[0] = "_data";
                            String v13_12 = v6_7.query(v7, v8, 0, 0, 0);
                            if (v13_12 == null) {
                            } else {
                                v13_12.moveToFirst();
                                v13_13 = v13_12.getString(0);
                            }
                        }
                    } else {
                        String v13_8 = this.n;
                        com.facebook.react.bridge.Callback v14_9 = new Object[3];
                        String v2_2 = new StringBuilder();
                        v2_2.append("Download manager failed to download from  ");
                        v2_2.append(this.i);
                        v2_2.append(". Statu Code = ");
                        v2_2.append(v1_11);
                        v14_9[0] = v2_2.toString();
                        v14_9[1] = 0;
                        v14_9[2] = 0;
                        v13_8.a(v14_9);
                        return;
                    }
                }
                if (!this.f.d.a("path")) {
                    if (v13_13 != null) {
                        com.facebook.react.bridge.Callback v14_18 = this.n;
                        Object[] v1_22 = new Object[3];
                        v1_22[0] = 0;
                        v1_22[1] = "path";
                        v1_22[2] = v13_13;
                        v14_18.a(v1_22);
                    } else {
                        String v13_15 = this.n;
                        com.facebook.react.bridge.Callback v14_19 = new Object[3];
                        v14_19[0] = "Download manager could not resolve downloaded file path.";
                        v14_19[1] = "path";
                        v14_19[2] = 0;
                        v13_15.a(v14_19);
                    }
                } else {
                    try {
                        String v13_3 = this.f.d.f("path");
                    } catch (String v13_6) {
                        v13_6.printStackTrace();
                        com.facebook.react.bridge.Callback v14_8 = this.n;
                        Object[] v1_2 = new Object[2];
                        v1_2[0] = v13_6.getLocalizedMessage();
                        v1_2[1] = 0;
                        v14_8.a(v1_2);
                    }
                    if (new java.io.File(v13_3).exists()) {
                        com.facebook.react.bridge.Callback v14_6 = this.n;
                        Object[] v1_1 = new Object[3];
                        v1_1[0] = 0;
                        v1_1[1] = "path";
                        v1_1[2] = v13_3;
                        v14_6.a(v1_1);
                    } else {
                        throw new Exception("Download manager download failed, the file does not downloaded to destination.");
                    }
                }
            }
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method android.net.Uri.parse()


    public void a(String p9, String p10, int p11, int p12, String p13)
    {
        byte[] v0_0 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p9);
        if (v0_0 != null) {
            p9 = v0_0;
        }
        try {
            String v1_18;
            if (!p10.equalsIgnoreCase("base64")) {
                v1_18 = 4096;
                if (p11 <= null) {
                    p11 = v1_18;
                } else {
                }
                if ((v0_0 == null) || (!p9.startsWith("bundle-assets://"))) {
                    if (v0_0 != null) {
                        java.io.FileInputStream v9_2 = new java.io.FileInputStream(new java.io.File(p9));
                    } else {
                        v9_2 = com.RNFetchBlob.RNFetchBlob.RCTContext.getContentResolver().openInputStream(android.net.Uri.parse(p9));
                    }
                } else {
                    v9_2 = com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(p9.replace("bundle-assets://", ""));
                }
                byte[] v0_8 = new byte[p11];
                int v3 = 0;
                if (!p10.equalsIgnoreCase("utf8")) {
                    if (!p10.equalsIgnoreCase("ascii")) {
                        if (!p10.equalsIgnoreCase("base64")) {
                            String v11_7 = new StringBuilder();
                            v11_7.append("unrecognized encoding `");
                            v11_7.append(p10);
                            v11_7.append("`");
                            this.a(p13, "error", v11_7.toString());
                            v3 = 1;
                            if (v3 == 0) {
                                this.a(p13, "end", "");
                            }
                            v9_2.close();
                        }
                        do {
                            String v1_15 = v9_2.read(v0_8);
                            if (v1_15 != -1) {
                                if (v1_15 >= p11) {
                                    this.a(p13, "data", android.util.Base64.encodeToString(v0_8, 2));
                                } else {
                                    byte[] v5_1 = new byte[v1_15];
                                    int v6 = 0;
                                    while (v6 < v1_15) {
                                        v5_1[v6] = v0_8[v6];
                                        v6++;
                                    }
                                    this.a(p13, "data", android.util.Base64.encodeToString(v5_1, 2));
                                }
                            }
                        } while(p12 <= null);
                        android.os.SystemClock.sleep(((long) p12));
                    }
                    do {
                        String v11_9 = v9_2.read(v0_8);
                        if (v11_9 != -1) {
                            String v1_19 = com.facebook.react.bridge.Arguments.a();
                            long v4_0 = 0;
                            while (v4_0 < v11_9) {
                                v1_19.pushInt(v0_8[v4_0]);
                                v4_0++;
                            }
                            this.a(p13, "data", v1_19);
                        }
                    } while(p12 <= null);
                    android.os.SystemClock.sleep(((long) p12));
                } else {
                    String v11_3 = java.nio.charset.Charset.forName("UTF-8").newEncoder();
                    do {
                        String v1_0 = v9_2.read(v0_8);
                        if (v1_0 != -1) {
                            v11_3.encode(java.nio.ByteBuffer.wrap(v0_8).asCharBuffer());
                            this.a(p13, "data", new String(v0_8, 0, v1_0));
                        }
                    } while(p12 <= null);
                    android.os.SystemClock.sleep(((long) p12));
                }
            } else {
                v1_18 = 4095;
            }
        } catch (java.io.FileInputStream v9_1) {
            String v12_3 = new StringBuilder();
            v12_3.append("Failed to convert data to ");
            v12_3.append(p10);
            v12_3.append(" encoded string, this might due to the source data is not able to convert using this encoding.");
            this.a(p13, "warn", v12_3.toString());
            v9_1.printStackTrace();
        }
        return;
    }

Method com.RNFetchBlob.RNFetchBlobFS.e() calling method android.net.Uri.parse()


    static String e(String p2)
    {
        if (p2 != null) {
            if (p2.matches("\\w+\\:.*")) {
                if (!p2.startsWith("file://")) {
                    android.net.Uri v0_1 = android.net.Uri.parse(p2);
                    if (!p2.startsWith("bundle-assets://")) {
                        return com.RNFetchBlob.Utils.PathResolver.a(com.RNFetchBlob.RNFetchBlob.RCTContext, v0_1);
                    } else {
                        return p2;
                    }
                } else {
                    return p2.replace("file://", "");
                }
            } else {
                return p2;
            }
        } else {
            return 0;
        }
    }

Method com.RNFetchBlob.RNFetchBlobFS.a() calling method android.net.Uri.parse()


    public static void a(String p5, String p6, com.facebook.react.bridge.Promise p7)
    {
        byte v0_0 = ark>com.RNFetchBlob.RNFetchBlobFSark>.e(p5);
        if (v0_0 != 0) {
            p5 = v0_0;
        }
        byte[] v2_1;
        int v1 = 0;
        if ((v0_0 == 0) || (!v0_0.startsWith("bundle-assets://"))) {
            if (v0_0 != 0) {
                byte v0_2 = new java.io.File(p5);
                v2_1 = new byte[((int) v0_2.length())];
                String v5_5 = new java.io.FileInputStream(v0_2);
                v5_5.read(v2_1);
                v5_5.close();
                String v5_12;
                String v5_10 = p6.toLowerCase();
                byte v0_11 = v5_10.hashCode();
                if (v0_11 == -1396204209) {
                    if (!v5_10.equals("base64")) {
                        v5_12 = -1;
                    } else {
                        v5_12 = 0;
                    }
                } else {
                    if (v0_11 == 3600241) {
                        if (!v5_10.equals("utf8")) {
                        } else {
                            v5_12 = 2;
                        }
                    } else {
                        if (v0_11 == 93106001) {
                            if (!v5_10.equals("ascii")) {
                            } else {
                                v5_12 = 1;
                            }
                        } else {
                        }
                    }
                }
                switch (v5_12) {
                    case 0:
                        p7.a(android.util.Base64.encodeToString(v2_1, 2));
                        break;
                    case 1:
                        String v5_17 = com.facebook.react.bridge.Arguments.a();
                        int v6_1 = v2_1.length;
                        while (v1 < v6_1) {
                            v5_17.pushInt(v2_1[v1]);
                            v1++;
                        }
                        p7.a(v5_17);
                        break;
                    case 2:
                        p7.a(new String(v2_1));
                        break;
                    default:
                        p7.a(new String(v2_1));
                }
            } else {
                String v5_7 = com.RNFetchBlob.RNFetchBlob.RCTContext.getContentResolver().openInputStream(android.net.Uri.parse(p5));
                v2_1 = new byte[v5_7.available()];
                v5_7.read(v2_1);
                v5_7.close();
            }
        } else {
            String v5_8 = p5.replace("bundle-assets://", "");
            byte v0_10 = ((int) com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().openFd(v5_8).getLength());
            v2_1 = new byte[v0_10];
            String v5_9 = com.RNFetchBlob.RNFetchBlob.RCTContext.getAssets().open(v5_8);
            v5_9.read(v2_1, 0, v0_10);
            v5_9.close();
        }
        return;
    }

Method com.newrelic.agent.android.harvest.HarvestConnection.send() calling method org.apache.http.client.HttpClient.execute()


    public com.newrelic.agent.android.harvest.HarvestResponse send(org.apache.http.client.methods.HttpPost p5)
    {
        com.newrelic.agent.android.logging.AgentLog v0_1 = new com.newrelic.agent.android.harvest.HarvestResponse();
        try {
            com.newrelic.agent.android.logging.AgentLog v1_6 = new com.newrelic.agent.android.stats.TicToc();
            v1_6.tic();
            String v5_7 = this.collectorClient.execute(p5);
            v0_1.setResponseTime(v1_6.toc());
            v0_1.setStatusCode(v5_7.getStatusLine().getStatusCode());
            try {
                v0_1.setResponseBody(com.newrelic.agent.android.harvest.HarvestConnection.readResponse(v5_7));
            } catch (String v5_4) {
                v5_4.printStackTrace();
                com.newrelic.agent.android.logging.AgentLog v1_7 = this.log;
                StringBuilder v2_3 = new StringBuilder();
                v2_3.append("Failed to retrieve collector response: ");
                v2_3.append(v5_4.getMessage());
                v1_7.error(v2_3.toString());
            }
            return v0_1;
        } catch (String v5_1) {
            com.newrelic.agent.android.logging.AgentLog v0_2 = this.log;
            com.newrelic.agent.android.logging.AgentLog v1_3 = new StringBuilder();
            v1_3.append("Failed to send POST to collector: ");
            v1_3.append(v5_1.getMessage());
            v0_2.error(v1_3.toString());
            this.recordCollectorError(v5_1);
            return 0;
        }
    }

Method com.newrelic.agent.android.instrumentation.HttpInstrumentation.execute() calling method org.apache.http.client.HttpClient.execute()


    public static org.apache.http.HttpResponse execute(org.apache.http.client.HttpClient p1, org.apache.http.client.methods.HttpUriRequest p2, org.apache.http.protocol.HttpContext p3)
    {
        com.newrelic.agent.android.instrumentation.TransactionState v0_1 = new com.newrelic.agent.android.instrumentation.TransactionState();
        try {
            return com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p1.execute(com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p2, v0_1), p3), v0_1);
        } catch (java.io.IOException v1_3) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_3);
            throw v1_3;
        }
    }

Method com.newrelic.agent.android.instrumentation.HttpInstrumentation.execute() calling method org.apache.http.client.HttpClient.execute()


    public static org.apache.http.HttpResponse execute(org.apache.http.client.HttpClient p1, org.apache.http.client.methods.HttpUriRequest p2)
    {
        com.newrelic.agent.android.instrumentation.TransactionState v0_1 = new com.newrelic.agent.android.instrumentation.TransactionState();
        try {
            return com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p1.execute(com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p2, v0_1)), v0_1);
        } catch (java.io.IOException v1_3) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_3);
            throw v1_3;
        }
    }

Method com.newrelic.agent.android.instrumentation.HttpInstrumentation.execute() calling method org.apache.http.client.HttpClient.execute()


    public static org.apache.http.HttpResponse execute(org.apache.http.client.HttpClient p1, org.apache.http.HttpHost p2, org.apache.http.HttpRequest p3, org.apache.http.protocol.HttpContext p4)
    {
        com.newrelic.agent.android.instrumentation.TransactionState v0_1 = new com.newrelic.agent.android.instrumentation.TransactionState();
        try {
            return com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p1.execute(p2, com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p2, p3, v0_1), p4), v0_1);
        } catch (java.io.IOException v1_3) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_3);
            throw v1_3;
        }
    }

Method com.newrelic.agent.android.instrumentation.HttpInstrumentation.execute() calling method org.apache.http.client.HttpClient.execute()


    public static org.apache.http.HttpResponse execute(org.apache.http.client.HttpClient p1, org.apache.http.HttpHost p2, org.apache.http.HttpRequest p3)
    {
        com.newrelic.agent.android.instrumentation.TransactionState v0_1 = new com.newrelic.agent.android.instrumentation.TransactionState();
        try {
            return com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p1.execute(p2, com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p2, p3, v0_1)), v0_1);
        } catch (java.io.IOException v1_3) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_3);
            throw v1_3;
        }
    }

Method com.newrelic.agent.android.instrumentation.HttpInstrumentation.execute() calling method org.apache.http.client.HttpClient.execute()


    public static Object execute(org.apache.http.client.HttpClient p1, org.apache.http.client.methods.HttpUriRequest p2, org.apache.http.client.ResponseHandler p3, org.apache.http.protocol.HttpContext p4)
    {
        com.newrelic.agent.android.instrumentation.TransactionState v0_1 = new com.newrelic.agent.android.instrumentation.TransactionState();
        try {
            return p1.execute(com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p2, v0_1), com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p3, v0_1), p4);
        } catch (java.io.IOException v1_1) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_1);
            throw v1_1;
        } catch (java.io.IOException v1_3) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_3);
            throw v1_3;
        }
    }

Method com.newrelic.agent.android.instrumentation.HttpInstrumentation.execute() calling method org.apache.http.client.HttpClient.execute()


    public static Object execute(org.apache.http.client.HttpClient p1, org.apache.http.client.methods.HttpUriRequest p2, org.apache.http.client.ResponseHandler p3)
    {
        com.newrelic.agent.android.instrumentation.TransactionState v0_1 = new com.newrelic.agent.android.instrumentation.TransactionState();
        try {
            return p1.execute(com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p2, v0_1), com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p3, v0_1));
        } catch (java.io.IOException v1_1) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_1);
            throw v1_1;
        } catch (java.io.IOException v1_3) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_3);
            throw v1_3;
        }
    }

Method com.newrelic.agent.android.instrumentation.HttpInstrumentation.execute() calling method org.apache.http.client.HttpClient.execute()


    public static Object execute(org.apache.http.client.HttpClient p1, org.apache.http.HttpHost p2, org.apache.http.HttpRequest p3, org.apache.http.client.ResponseHandler p4, org.apache.http.protocol.HttpContext p5)
    {
        com.newrelic.agent.android.instrumentation.TransactionState v0_1 = new com.newrelic.agent.android.instrumentation.TransactionState();
        try {
            return p1.execute(p2, com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p2, p3, v0_1), com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p4, v0_1), p5);
        } catch (java.io.IOException v1_1) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_1);
            throw v1_1;
        } catch (java.io.IOException v1_3) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_3);
            throw v1_3;
        }
    }

Method com.newrelic.agent.android.instrumentation.HttpInstrumentation.execute() calling method org.apache.http.client.HttpClient.execute()


    public static Object execute(org.apache.http.client.HttpClient p1, org.apache.http.HttpHost p2, org.apache.http.HttpRequest p3, org.apache.http.client.ResponseHandler p4)
    {
        com.newrelic.agent.android.instrumentation.TransactionState v0_1 = new com.newrelic.agent.android.instrumentation.TransactionState();
        try {
            return p1.execute(p2, com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p2, p3, v0_1), com.newrelic.agent.android.instrumentation.HttpInstrumentation.delegate(p4, v0_1));
        } catch (java.io.IOException v1_1) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_1);
            throw v1_1;
        } catch (java.io.IOException v1_3) {
            com.newrelic.agent.android.instrumentation.HttpInstrumentation.httpClientError(v0_1, v1_3);
            throw v1_3;
        }
    }

Method com.coupa.android.coupamobile.helpers.MerchantLocationHelper.getMerchantsJson() calling method org.apache.http.client.HttpClient.execute()


    public static String getMerchantsJson(double p6, double p8)
    {
        org.apache.http.client.methods.HttpGet v2_2 = new Object[1];
        v2_2[0] = Double.valueOf(p6);
        String v6_1 = String.format("%f", v2_2).replaceAll(",", ".");
        org.apache.http.client.methods.HttpGet v2_1 = new Object[1];
        v2_1[0] = Double.valueOf(p8);
        java.io.InputStreamReader v8_3 = String.format("%f", v2_1).replaceAll(",", ".");
        StringBuilder v9_2 = new StringBuilder();
        org.apache.http.impl.client.DefaultHttpClient v0_4 = new org.apache.http.impl.client.DefaultHttpClient();
        Object[] v4_1 = new Object[5];
        v4_1[0] = "Restaurant";
        v4_1[1] = v6_1;
        v4_1[2] = v8_3;
        v4_1[3] = Integer.valueOf(30);
        v4_1[4] = "10000005383";
        try {
            String v6_8 = v0_4.execute(new org.apache.http.client.methods.HttpGet(String.format(com.coupa.android.coupamobile.helpers.MerchantLocationHelper.cityGridUrl, v4_1)));
        } catch (String v6_15) {
            java.io.BufferedReader v7_10 = new StringBuilder();
            v7_10.append("Error ");
            v7_10.append(v6_15.getMessage());
            return v7_10.toString();
        } catch (String v6_12) {
            java.io.BufferedReader v7_8 = new StringBuilder();
            v7_8.append("Error ");
            v7_8.append(v6_12.getMessage());
            return v7_8.toString();
        }
        if (v6_8.getStatusLine().getStatusCode() == 200) {
            java.io.BufferedReader v7_6 = new java.io.BufferedReader(new java.io.InputStreamReader(v6_8.getEntity().getContent()));
            while(true) {
                String v6_11 = v7_6.readLine();
                if (v6_11 == null) {
                    break;
                }
                v9_2.append(v6_11);
            }
        }
        return v9_2.toString();
    }

Method com.coupa.android.coupamobile.core.utils.GMapV2GetRouteDirection.getDocument() calling method org.apache.http.client.HttpClient.execute()


    public org.w3c.dom.Document getDocument(String p3, String p4, String p5, String p6)
    {
        org.w3c.dom.Document v3_8;
        java.io.ByteArrayInputStream v5_1 = com.coupa.android.coupamobile.utils.ManifestMetaDataHelper.getMetaData(com.coupa.android.coupamobile.core.ApplicationBase.AppContext, "DIRECTIONS_API_KEY");
        StringBuilder v0_2 = new StringBuilder();
        v0_2.append("https://maps.googleapis.com/maps/api/directions/xml?origin=");
        v0_2.append(java.net.URLEncoder.encode(p3, "utf-8"));
        v0_2.append("&destination=");
        v0_2.append(java.net.URLEncoder.encode(p4, "utf-8"));
        v0_2.append("&sensor=false&units=");
        if (!p6.equals("km")) {
            v3_8 = "imperial";
        } else {
            v3_8 = "metric";
        }
        v0_2.append(v3_8);
        v0_2.append("&mode=driving&key=");
        v0_2.append(v5_1);
        try {
            org.w3c.dom.Document v3_13 = new org.apache.http.impl.client.DefaultHttpClient().execute(new org.apache.http.client.methods.HttpPost(v0_2.toString()), new org.apache.http.protocol.BasicHttpContext()).getEntity().getContent();
            javax.xml.parsers.DocumentBuilder v4_4 = javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder();
            java.io.ByteArrayInputStream v5_5 = new java.io.BufferedReader(new java.io.InputStreamReader(v3_13));
            org.w3c.dom.Document v3_15 = new StringBuilder();
        } catch (org.w3c.dom.Document v3_19) {
            v3_19.printStackTrace();
            return 0;
        }
        while(true) {
            String v6_5 = v5_5.readLine();
            if (v6_5 == null) {
                break;
            }
            v3_15.append(v6_5);
        }
        return v4_4.parse(new java.io.ByteArrayInputStream(v3_15.toString().getBytes("UTF8")));
    }

Method com.coupa.android.coupamobile.core.utils.GMapV2GetRouteDirection.getDocument() calling method org.apache.http.client.HttpClient.execute()


    public org.w3c.dom.Document getDocument(com.google.android.gms.maps.model.LatLng p3, com.google.android.gms.maps.model.LatLng p4, String p5)
    {
        org.apache.http.protocol.BasicHttpContext v5_1 = new StringBuilder();
        v5_1.append("http://maps.googleapis.com/maps/api/directions/xml?origin=");
        v5_1.append(p3.a);
        v5_1.append(",");
        v5_1.append(p3.b);
        v5_1.append("&destination=");
        v5_1.append(p4.a);
        v5_1.append(",");
        v5_1.append(p4.b);
        v5_1.append("&sensor=false&units=metric&mode=driving");
        try {
            return javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new org.apache.http.impl.client.DefaultHttpClient().execute(new org.apache.http.client.methods.HttpPost(v5_1.toString()), new org.apache.http.protocol.BasicHttpContext()).getEntity().getContent());
        } catch (int v3_10) {
            v3_10.printStackTrace();
            return 0;
        }
    }

Method com.coupa.android.coupamobile.core.http.HttpNetworkQueue.run() calling method org.apache.http.client.HttpClient.execute()


    public void run()
    {
        try {
            while(true) {
                com.coupa.android.coupamobile.core.http.HttpResponseCallback v0_6 = ((com.coupa.android.coupamobile.core.http.HttpNetworkQueue$AsyncHttpRequestWrapper) this.queue.take());
                com.coupa.android.coupamobile.core.cs_api.CSApiResponse.reqWrapperForDebug = v0_6.request;
                this.notifyStopLoading();
                this.isLoading = 0;
            }
        } catch (InterruptedException) {
            return;
        }
        if (v0_6 != null) {
            this.isLoading = 1;
            this.notifyStartLoading();
            try {
                org.apache.http.HttpResponse vtmp2 = this.httpClient.execute(v0_6.request);
            } catch (com.coupa.android.coupamobile.core.http.HttpResponseCallback v0_3) {
                v0_3.printStackTrace();
            } catch (java.io.IOException v1_2) {
                if (v0_6.callback == null) {
                } else {
                    v0_6.callback.onError(v1_2);
                }
            }
            if (v0_6.callback == null) {
            } else {
                v0_6.callback.onSuccess(vtmp2);
            }
        } else {
            Thread.sleep(100);
        }
    }

Method com.facebook.react.views.webview.ReactWebViewManager.addEventEmitters() calling method android.webkit.WebView.setWebViewClient()


    protected void addEventEmitters(com.facebook.react.uimanager.ThemedReactContext p1, android.webkit.WebView p2)
    {
        p2.setWebViewClient(new com.facebook.react.views.webview.ReactWebViewManager$ReactWebViewClient());
        return;
    }

Method com.facebook.react.views.webview.ReactWebViewManager$ReactWebView.setWebViewClient() calling method android.webkit.WebView.setWebViewClient()


    public void setWebViewClient(android.webkit.WebViewClient p1)
    {
        super.setWebViewClient(p1);
        this.c = ((com.facebook.react.views.webview.ReactWebViewManager$ReactWebViewClient) p1);
        return;
    }

Method com.coupa.android.coupamobile.controllers.WebViewFormController.loadLocalHomePage() calling method android.webkit.WebView.setWebViewClient()


    public void loadLocalHomePage(android.webkit.WebView p3)
    {
        String v0_3 = new com.coupa.android.coupamobile.controllers.WebViewFormController$CoupaWebViewClient(this, 0);
        p3.setWebViewClient(v0_3);
        if (!v0_3.isShouldOverrideUrlLoadingWorking()) {
            p3.getSettings().setUserAgentString("full-shit");
        }
        p3.loadUrl(com.coupa.android.coupamobile.core.utils.FileHelper.getFileURL("expense_line_form.html"));
        return;
    }

Method com.coupa.android.coupamobile.controllers.SSOLoginController.initWithNavigatorAndUrl() calling method android.webkit.WebView.setWebViewClient()


    public void initWithNavigatorAndUrl(android.webkit.WebView p3, String p4)
    {
        com.coupa.android.coupamobile.utils.LogWrapper.v("SSOLoginController.initWithNavigatorAndUrl in");
        if (p3 != null) {
            android.webkit.CookieManager.getInstance().setAcceptCookie(1);
            p3.setWebViewClient(new com.coupa.android.coupamobile.controllers.SSOLoginController$SSOWebViewClient(this, this.activityContext));
            if (p4 == null) {
                p3.loadUrl("http://coupa.com");
            } else {
                p3.loadUrl(p4);
            }
            return;
        } else {
            return;
        }
    }

Method com.facebook.react.views.webview.ReactWebViewManager.setSource() calling method android.webkit.WebView.loadData()


    public void setSource(android.webkit.WebView p8, com.facebook.react.bridge.ReadableMap p9)
    {
        if (p9 != 0) {
            if (!p9.a("html")) {
                if (p9.a("uri")) {
                    String v0_2 = p9.f("uri");
                    byte[] v1_1 = p8.getUrl();
                    if ((v1_1 == null) || (!v1_1.equals(v0_2))) {
                        if ((!p9.a("method")) || (!p9.f("method").equals("POST"))) {
                            byte[] v1_9 = new java.util.HashMap();
                            if (p9.a("headers")) {
                                int v9_1 = p9.k("headers");
                                com.facebook.react.bridge.ReadableMapKeySetIterator v2_4 = v9_1.a();
                                while (v2_4.hasNextKey()) {
                                    String v3_1 = v2_4.nextKey();
                                    if (!"user-agent".equals(v3_1.toLowerCase(java.util.Locale.ENGLISH))) {
                                        v1_9.put(v3_1, v9_1.f(v3_1));
                                    } else {
                                        if (p8.getSettings() != null) {
                                            p8.getSettings().setUserAgentString(v9_1.f(v3_1));
                                        }
                                    }
                                }
                            }
                            p8.loadUrl(v0_2, v1_9);
                            return;
                        } else {
                            byte[] v1_10 = 0;
                            if (p9.a("body")) {
                                int v9_2 = p9.f("body");
                                try {
                                    v1_10 = v9_2.getBytes("UTF-8");
                                } catch (java.io.UnsupportedEncodingException) {
                                    v1_10 = v9_2.getBytes();
                                }
                            }
                            if (v1_10 == null) {
                                v1_10 = new byte[0];
                            }
                            p8.postUrl(v0_2, v1_10);
                            return;
                        }
                    } else {
                        return;
                    }
                }
            } else {
                String v3_3 = p9.f("html");
                if (!p9.a("baseUrl")) {
                    p8.loadData(v3_3, "text/html", "UTF-8");
                } else {
                    p8.loadDataWithBaseURL(p9.f("baseUrl"), v3_3, "text/html", "UTF-8", 0);
                }
                return;
            }
        }
        p8.loadUrl("about:blank");
        return;
    }

Method com.facebook.react.views.webview.ReactWebViewManager.setSource() calling method android.webkit.WebView.loadUrl()


    public void setSource(android.webkit.WebView p8, com.facebook.react.bridge.ReadableMap p9)
    {
        if (p9 != 0) {
            if (!p9.a("html")) {
                if (p9.a("uri")) {
                    String v0_2 = p9.f("uri");
                    byte[] v1_1 = p8.getUrl();
                    if ((v1_1 == null) || (!v1_1.equals(v0_2))) {
                        if ((!p9.a("method")) || (!p9.f("method").equals("POST"))) {
                            byte[] v1_9 = new java.util.HashMap();
                            if (p9.a("headers")) {
                                int v9_1 = p9.k("headers");
                                com.facebook.react.bridge.ReadableMapKeySetIterator v2_4 = v9_1.a();
                                while (v2_4.hasNextKey()) {
                                    String v3_1 = v2_4.nextKey();
                                    if (!"user-agent".equals(v3_1.toLowerCase(java.util.Locale.ENGLISH))) {
                                        v1_9.put(v3_1, v9_1.f(v3_1));
                                    } else {
                                        if (p8.getSettings() != null) {
                                            p8.getSettings().setUserAgentString(v9_1.f(v3_1));
                                        }
                                    }
                                }
                            }
                            p8.loadUrl(v0_2, v1_9);
                            return;
                        } else {
                            byte[] v1_10 = 0;
                            if (p9.a("body")) {
                                int v9_2 = p9.f("body");
                                try {
                                    v1_10 = v9_2.getBytes("UTF-8");
                                } catch (java.io.UnsupportedEncodingException) {
                                    v1_10 = v9_2.getBytes();
                                }
                            }
                            if (v1_10 == null) {
                                v1_10 = new byte[0];
                            }
                            p8.postUrl(v0_2, v1_10);
                            return;
                        }
                    } else {
                        return;
                    }
                }
            } else {
                String v3_3 = p9.f("html");
                if (!p9.a("baseUrl")) {
                    p8.loadData(v3_3, "text/html", "UTF-8");
                } else {
                    p8.loadDataWithBaseURL(p9.f("baseUrl"), v3_3, "text/html", "UTF-8", 0);
                }
                return;
            }
        }
        p8.loadUrl("about:blank");
        return;
    }

Method com.facebook.react.views.webview.ReactWebViewManager.receiveCommand() calling method android.webkit.WebView.loadUrl()


    public void receiveCommand(android.webkit.WebView p3, int p4, com.facebook.react.bridge.ReadableArray p5)
    {
        switch (p4) {
            case 1:
                p3.goBack();
                break;
            case 2:
                p3.goForward();
                break;
            case 3:
                p3.reload();
                break;
            case 4:
                p3.stopLoading();
                break;
            case 5:
                try {
                    RuntimeException v4_3 = new org.json.JSONObject();
                    v4_3.put("data", p5.d(0));
                    String v5_3 = new StringBuilder();
                    v5_3.append("javascript:(function () {var event;var data = ");
                    v5_3.append(v4_3.toString());
                    v5_3.append(";try {event = new MessageEvent(\'message\', data);} catch (e) {event = document.createEvent(\'MessageEvent\');event.initMessageEvent(\'message\', true, true, data.data, data.origin, data.lastEventId, data.source);}document.dispatchEvent(event);})();");
                    p3.loadUrl(v5_3.toString());
                } catch (org.json.JSONException v3_1) {
                    throw new RuntimeException(v3_1);
                }
                break;
            case 6:
                RuntimeException v4_8 = new StringBuilder();
                v4_8.append("javascript:");
                v4_8.append(p5.d(0));
                p3.loadUrl(v4_8.toString());
                break;
            default:
        }
        return;
    }

Method com.coupa.android.coupamobile.controllers.WebViewFormController.loadLocalHomePage() calling method android.webkit.WebView.loadUrl()


    public void loadLocalHomePage(android.webkit.WebView p3)
    {
        String v0_3 = new com.coupa.android.coupamobile.controllers.WebViewFormController$CoupaWebViewClient(this, 0);
        p3.setWebViewClient(v0_3);
        if (!v0_3.isShouldOverrideUrlLoadingWorking()) {
            p3.getSettings().setUserAgentString("full-shit");
        }
        p3.loadUrl(com.coupa.android.coupamobile.core.utils.FileHelper.getFileURL("expense_line_form.html"));
        return;
    }

Method com.coupa.android.coupamobile.controllers.SSOLoginController.initWithNavigatorAndUrl() calling method android.webkit.WebView.loadUrl()


    public void initWithNavigatorAndUrl(android.webkit.WebView p3, String p4)
    {
        com.coupa.android.coupamobile.utils.LogWrapper.v("SSOLoginController.initWithNavigatorAndUrl in");
        if (p3 != null) {
            android.webkit.CookieManager.getInstance().setAcceptCookie(1);
            p3.setWebViewClient(new com.coupa.android.coupamobile.controllers.SSOLoginController$SSOWebViewClient(this, this.activityContext));
            if (p4 == null) {
                p3.loadUrl("http://coupa.com");
            } else {
                p3.loadUrl(p4);
            }
            return;
        } else {
            return;
        }
    }

Method com.coupa.android.coupamobile.views.WebViewSimpleActivity.onCreate() calling method android.webkit.WebView.loadUrl()


    public void onCreate(android.os.Bundle p4)
    {
        String v4_2;
        super.onCreate(p4);
        this.setContentView(2131427399);
        String v4_5 = this.getIntent().getExtras();
        if (v4_5 == null) {
            v4_2 = 0;
        } else {
            v4_2 = v4_5.getString("filepath");
        }
        this.webView = ((android.webkit.WebView) this.findViewById(2131297108));
        this.webView.getSettings().setJavaScriptEnabled(1);
        android.webkit.WebView v0_5 = this.webView;
        StringBuilder v1_2 = new StringBuilder();
        v1_2.append("https://docs.google.com/viewer?");
        v1_2.append(v4_2);
        v0_5.loadUrl(v1_2.toString());
        return;
    }

Method com.coupa.android.coupamobile.controllers.WebViewFormController$1.run() calling method android.webkit.WebView.loadUrl()


    public void run()
    {
        this.this$0.webView = this.this$0.getWebView();
        if (this.this$0.webView != null) {
            android.webkit.WebView v0_4 = this.this$0.webView;
            String v1_2 = new StringBuilder();
            v1_2.append("javascript:");
            v1_2.append(this.val$script);
            v0_4.loadUrl(v1_2.toString());
        }
        return;
    }