Home
last modified time | relevance | path

Searched refs:feature (Results 1 – 20 of 20) sorted by relevance

/webkit/webkit/src/main/java/androidx/webkit/internal/
DServiceWorkerWebSettingsImpl.java92 final ApiFeature.N feature = WebViewFeatureInternal.SERVICE_WORKER_CACHE_MODE; in setCacheMode() local
93 if (feature.isSupportedByFramework()) { in setCacheMode()
95 } else if (feature.isSupportedByWebView()) { in setCacheMode()
104 final ApiFeature.N feature = WebViewFeatureInternal.SERVICE_WORKER_CACHE_MODE; in getCacheMode() local
105 if (feature.isSupportedByFramework()) { in getCacheMode()
107 } else if (feature.isSupportedByWebView()) { in getCacheMode()
116 final ApiFeature.N feature = WebViewFeatureInternal.SERVICE_WORKER_CONTENT_ACCESS; in setAllowContentAccess() local
117 if (feature.isSupportedByFramework()) { in setAllowContentAccess()
119 } else if (feature.isSupportedByWebView()) { in setAllowContentAccess()
128 final ApiFeature.N feature = WebViewFeatureInternal.SERVICE_WORKER_CONTENT_ACCESS; in getAllowContentAccess() local
[all …]
DProfileImpl.java58 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in getName() local
59 if (feature.isSupportedByWebView()) { in getName()
68 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in getCookieManager() local
69 if (feature.isSupportedByWebView()) { in getCookieManager()
78 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in getWebStorage() local
79 if (feature.isSupportedByWebView()) { in getWebStorage()
89 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in getGeolocationPermissions() local
90 if (feature.isSupportedByWebView()) { in getGeolocationPermissions()
100 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in getServiceWorkerController() local
101 if (feature.isSupportedByWebView()) { in getServiceWorkerController()
[all …]
DTracingControllerImpl.java40 final ApiFeature.P feature = WebViewFeatureInternal.TRACING_CONTROLLER_BASIC_USAGE; in TracingControllerImpl() local
41 if (feature.isSupportedByFramework()) { in TracingControllerImpl()
44 } else if (feature.isSupportedByWebView()) { in TracingControllerImpl()
69 final ApiFeature.P feature = WebViewFeatureInternal.TRACING_CONTROLLER_BASIC_USAGE; in isTracing() local
70 if (feature.isSupportedByFramework()) { in isTracing()
72 } else if (feature.isSupportedByWebView()) { in isTracing()
85 final ApiFeature.P feature = WebViewFeatureInternal.TRACING_CONTROLLER_BASIC_USAGE; in start() local
86 if (feature.isSupportedByFramework()) { in start()
88 } else if (feature.isSupportedByWebView()) { in start()
98 final ApiFeature.P feature = WebViewFeatureInternal.TRACING_CONTROLLER_BASIC_USAGE; in stop() local
[all …]
DSafeBrowsingResponseImpl.java81 final ApiFeature.O_MR1 feature = in showInterstitial() local
83 if (feature.isSupportedByFramework()) { in showInterstitial()
85 } else if (feature.isSupportedByWebView()) { in showInterstitial()
94 final ApiFeature.O_MR1 feature = WebViewFeatureInternal.SAFE_BROWSING_RESPONSE_PROCEED; in proceed() local
95 if (feature.isSupportedByFramework()) { in proceed()
97 } else if (feature.isSupportedByWebView()) { in proceed()
106 final ApiFeature.O_MR1 feature = in backToSafety() local
108 if (feature.isSupportedByFramework()) { in backToSafety()
110 } else if (feature.isSupportedByWebView()) { in backToSafety()
DWebMessagePortImpl.java74 final ApiFeature.M feature = WebViewFeatureInternal.WEB_MESSAGE_PORT_POST_MESSAGE; in postMessage() local
76 if (feature.isSupportedByFramework() && message.getType() == WebMessageCompat.TYPE_STRING) { in postMessage()
78 } else if (feature.isSupportedByWebView() in postMessage()
90 final ApiFeature.M feature = WebViewFeatureInternal.WEB_MESSAGE_PORT_CLOSE; in close() local
91 if (feature.isSupportedByFramework()) { in close()
93 } else if (feature.isSupportedByWebView()) { in close()
102 final ApiFeature.M feature = WebViewFeatureInternal.WEB_MESSAGE_PORT_SET_MESSAGE_CALLBACK; in setWebMessageCallback() local
103 if (feature.isSupportedByWebView()) { in setWebMessageCallback()
109 } else if (feature.isSupportedByFramework()) { in setWebMessageCallback()
119 final ApiFeature.M feature = WebViewFeatureInternal.CREATE_WEB_MESSAGE_CHANNEL; in setWebMessageCallback() local
[all …]
DProfileStoreImpl.java62 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in getOrCreateProfile() local
63 if (feature.isSupportedByWebView()) { in getOrCreateProfile()
73 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in getProfile() local
74 if (feature.isSupportedByWebView()) { in getProfile()
89 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in getAllProfileNames() local
90 if (feature.isSupportedByWebView()) { in getAllProfileNames()
99 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in deleteProfile() local
100 if (feature.isSupportedByWebView()) { in deleteProfile()
DWebResourceErrorImpl.java80 final ApiFeature.M feature = WebViewFeatureInternal.WEB_RESOURCE_ERROR_GET_CODE; in getErrorCode() local
81 if (feature.isSupportedByFramework()) { in getErrorCode()
83 } else if (feature.isSupportedByWebView()) { in getErrorCode()
92 final ApiFeature.M feature = WebViewFeatureInternal.WEB_RESOURCE_ERROR_GET_DESCRIPTION; in getDescription() local
93 if (feature.isSupportedByFramework()) { in getDescription()
95 } else if (feature.isSupportedByWebView()) { in getDescription()
DServiceWorkerControllerImpl.java42 final ApiFeature.N feature = WebViewFeatureInternal.SERVICE_WORKER_BASIC_USAGE; in ServiceWorkerControllerImpl() local
43 if (feature.isSupportedByFramework()) { in ServiceWorkerControllerImpl()
49 } else if (feature.isSupportedByWebView()) { in ServiceWorkerControllerImpl()
81 final ApiFeature.N feature = WebViewFeatureInternal.SERVICE_WORKER_BASIC_USAGE; in setServiceWorkerClient() local
82 if (feature.isSupportedByFramework()) { in setServiceWorkerClient()
88 } else if (feature.isSupportedByWebView()) { in setServiceWorkerClient()
DJavaScriptReplyProxyImpl.java52 final ApiFeature.NoFramework feature = WebViewFeatureInternal.WEB_MESSAGE_LISTENER; in postMessage() local
53 if (feature.isSupportedByWebView()) { in postMessage()
64 final ApiFeature.NoFramework feature = WebViewFeatureInternal.WEB_MESSAGE_ARRAY_BUFFER; in postMessage() local
65 if (feature.isSupportedByWebView()) { in postMessage()
DWebViewRenderProcessImpl.java82 final ApiFeature.Q feature = WebViewFeatureInternal.WEB_VIEW_RENDERER_TERMINATE; in terminate() local
83 if (feature.isSupportedByFramework()) { in terminate()
86 } else if (feature.isSupportedByWebView()) { in terminate()
DWebViewFeatureInternal.java784 for (ConditionallySupportedFeature feature : internalFeatures) { in isSupported()
785 if (feature.getPublicFeatureName().equals(publicFeatureValue)) { in isSupported()
786 matchingFeatures.add(feature); in isSupported()
792 for (ConditionallySupportedFeature feature : matchingFeatures) { in isSupported()
793 if (feature.isSupported()) return true; in isSupported()
810 for (StartupApiFeature feature : internalFeatures) { in isStartupFeatureSupported()
811 if (feature.getPublicFeatureName().equals(publicFeatureValue)) { in isStartupFeatureSupported()
812 matchingFeatures.add(feature); in isStartupFeatureSupported()
818 for (StartupApiFeature feature : matchingFeatures) { in isStartupFeatureSupported()
819 if (feature.isSupported(context)) return true; in isStartupFeatureSupported()
DProxyControllerImpl.java63 ApiFeature.NoFramework feature = WebViewFeatureInternal.PROXY_OVERRIDE; in clearProxyOverride() local
64 if (feature.isSupportedByWebView()) { in clearProxyOverride()
/webkit/webkit/src/main/java/androidx/webkit/
DWebSettingsCompat.java78 ApiFeature.M feature = WebViewFeatureInternal.OFF_SCREEN_PRERASTER; in setOffscreenPreRaster() local
79 if (feature.isSupportedByFramework()) { in setOffscreenPreRaster()
81 } else if (feature.isSupportedByWebView()) { in setOffscreenPreRaster()
103 ApiFeature.M feature = WebViewFeatureInternal.OFF_SCREEN_PRERASTER; in getOffscreenPreRaster() local
104 if (feature.isSupportedByFramework()) { in getOffscreenPreRaster()
106 } else if (feature.isSupportedByWebView()) { in getOffscreenPreRaster()
136 ApiFeature.O feature = WebViewFeatureInternal.SAFE_BROWSING_ENABLE; in setSafeBrowsingEnabled() local
137 if (feature.isSupportedByFramework()) { in setSafeBrowsingEnabled()
139 } else if (feature.isSupportedByWebView()) { in setSafeBrowsingEnabled()
160 ApiFeature.O feature = WebViewFeatureInternal.SAFE_BROWSING_ENABLE; in getSafeBrowsingEnabled() local
[all …]
DWebViewCompat.java191 ApiFeature.M feature = WebViewFeatureInternal.VISUAL_STATE_CALLBACK; in postVisualStateCallback() local
192 if (feature.isSupportedByFramework()) { in postVisualStateCallback()
194 } else if (feature.isSupportedByWebView()) { in postVisualStateCallback()
235 ApiFeature.O_MR1 feature = WebViewFeatureInternal.START_SAFE_BROWSING; in startSafeBrowsing() local
236 if (feature.isSupportedByFramework()) { in startSafeBrowsing()
238 } else if (feature.isSupportedByWebView()) { in startSafeBrowsing()
350 ApiFeature.O_MR1 feature = in getSafeBrowsingPrivacyPolicyUrl() local
352 if (feature.isSupportedByFramework()) { in getSafeBrowsingPrivacyPolicyUrl()
354 } else if (feature.isSupportedByWebView()) { in getSafeBrowsingPrivacyPolicyUrl()
452 ApiFeature.NoFramework feature = WebViewFeatureInternal.CACHE_PROVIDER; in getProvider() local
[all …]
DProcessGlobalConfig.java117 final StartupApiFeature.P feature = in setDataDirectorySuffix() local
119 if (!feature.isSupported(context)) { in setDataDirectorySuffix()
174 final StartupApiFeature.NoFramework feature = in setDirectoryBasePaths() local
176 if (!feature.isSupported(context)) { in setDirectoryBasePaths()
205 final StartupApiFeature.NoFramework feature = in setPartitionedCookiesEnabled() local
207 if (!feature.isSupported(context)) { in setPartitionedCookiesEnabled()
255 final StartupApiFeature.P feature = in apply() local
257 if (feature.isSupportedByFramework()) { in apply()
DWebStorageCompat.java71 final ApiFeature.NoFramework feature = WebViewFeatureInternal.DELETE_BROWSING_DATA; in deleteBrowsingData() local
72 if (feature.isSupportedByWebView()) { in deleteBrowsingData()
130 final ApiFeature.NoFramework feature = WebViewFeatureInternal.DELETE_BROWSING_DATA; in deleteBrowsingDataForSite() local
131 if (feature.isSupportedByWebView()) { in deleteBrowsingDataForSite()
DWebResourceRequestCompat.java51 ApiFeature.N feature = WebViewFeatureInternal.WEB_RESOURCE_REQUEST_IS_REDIRECT; in isRedirect() local
52 if (feature.isSupportedByFramework()) { in isRedirect()
54 } else if (feature.isSupportedByWebView()) { in isRedirect()
DCookieManagerCompat.java53 ApiFeature.NoFramework feature = WebViewFeatureInternal.GET_COOKIE_INFO; in getCookieInfo() local
54 if (feature.isSupportedByWebView()) { in getCookieInfo()
DProfileStore.java56 ApiFeature.NoFramework feature = WebViewFeatureInternal.MULTI_PROFILE; in getInstance() local
57 if (feature.isSupportedByWebView()) { in getInstance()
DWebViewFeature.java734 public static boolean isFeatureSupported(@WebViewSupportFeature @NonNull String feature) { in isFeatureSupported() argument
735 return WebViewFeatureInternal.isSupported(feature); in isFeatureSupported()