Searched refs:handler (Results 1 – 7 of 7) sorted by relevance
| /webkit/webkit/src/main/java/androidx/webkit/ |
| D | WebViewAssetLoader.java | 411 boolean httpEnabled, final @NonNull PathHandler handler) { in PathMatcher() argument 421 mHandler = handler; in PathMatcher() 517 public @NonNull Builder addPathHandler(@NonNull String path, @NonNull PathHandler handler) { in addPathHandler() argument 518 mHandlerList.add(Pair.create(path, handler)); in addPathHandler() 531 PathHandler handler = pair.second; in build() local 532 pathMatcherList.add(new PathMatcher(mDomain, path, mHttpAllowed, handler)); in build() 556 PathHandler handler = matcher.match(url); in shouldInterceptRequest() local 558 if (handler == null) continue; in shouldInterceptRequest() 560 WebResourceResponse response = handler.handle(suffixPath); in shouldInterceptRequest()
|
| D | WebViewClientCompat.java | 124 /* WebResourceError */ @NonNull InvocationHandler handler) { in onReceivedError() argument 125 onReceivedError(view, request, new WebResourceErrorImpl(handler)); in onReceivedError() 205 /* SafeBrowsingResponse */ @NonNull InvocationHandler handler) { in onSafeBrowsingHit() argument 206 onSafeBrowsingHit(view, request, threatType, new SafeBrowsingResponseImpl(handler)); in onSafeBrowsingHit()
|
| D | WebMessagePortCompat.java | 161 public abstract void setWebMessageCallback(@Nullable Handler handler, in setWebMessageCallback() argument
|
| /webkit/webkit/src/main/java/androidx/webkit/internal/ |
| D | WebViewProviderAdapter.java | 147 InvocationHandler handler = mImpl.getWebViewRendererClient(); in getWebViewRenderProcessClient() local 148 if (handler == null) return null; in getWebViewRenderProcessClient() 151 handler)).getWebViewRenderProcessClient(); in getWebViewRenderProcessClient() 162 InvocationHandler handler = webViewRenderProcessClient != null in setWebViewRenderProcessClient() local 166 mImpl.setWebViewRendererClient(handler); in setWebViewRenderProcessClient()
|
| D | WebMessagePortImpl.java | 117 public void setWebMessageCallback(@Nullable Handler handler, in setWebMessageCallback() argument 125 new WebMessageCallbackAdapter(callback)), handler); in setWebMessageCallback() local 127 ApiHelperForM.setWebMessageCallback(getFrameworksImpl(), callback, handler); in setWebMessageCallback() local
|
| D | ApiHelperForM.java | 83 @Nullable Handler handler) { in setWebMessageCallback() argument 90 }, handler); in setWebMessageCallback()
|
| /webkit/integration-tests/instrumentation/src/androidTest/java/androidx/webkit/ |
| D | WebViewAssetLoaderTest.java | 196 PathHandler handler = in testCreateInternalStorageHandler_entireDataDir() local 205 PathHandler handler = in testCreateInternalStorageHandler_entireCacheDir() local 214 PathHandler handler = in testCreateInternalStorageHandler_databasesDir() local 223 PathHandler handler = in testCreateInternalStorageHandler_libDir() local 232 PathHandler handler = in testCreateInternalStorageHandler_webViewDir() local 241 PathHandler handler = in testCreateInternalStorageHandler_sharedPrefsDir() local 250 PathHandler handler = in testHostInternalStorageHandler_invalidAccess() local 253 .addPathHandler("/public-data/", handler) in testHostInternalStorageHandler_invalidAccess()
|