Searched refs:featureName (Results 1 – 2 of 2) sorted by relevance
107 public static void assumeFeature(@WebViewFeature.WebViewSupportFeature String featureName) { in assumeFeature() argument108 final String msg = "This device does not have the feature '" + featureName + "'"; in assumeFeature()109 final boolean hasFeature = WebViewFeature.isFeatureSupported(featureName); in assumeFeature()123 @WebViewFeature.WebViewSupportFeature String featureName) { in assumeFeatureNotAvailable()124 final String msg = "This device has the feature '" + featureName + "'"; in assumeFeatureNotAvailable()125 final boolean hasFeature = WebViewFeature.isFeatureSupported(featureName); in assumeFeatureNotAvailable()139 @WebViewFeature.WebViewStartupFeature String featureName, in assumeStartupFeature()141 final String msg = "This device does not have the feature '" + featureName + "'"; in assumeStartupFeature()142 final boolean hasFeature = WebViewFeature.isStartupFeatureSupported(context, featureName); in assumeStartupFeature()156 @WebViewFeature.WebViewStartupFeature String featureName, Context context) { in assumeStartupFeatureNotAvailable()[all …]
171 public static void checkFeature(@NonNull String featureName) { in checkFeature() argument172 final String msg = "This device does not have the feature '" + featureName + "'"; in checkFeature()173 final boolean hasFeature = WebViewFeature.isFeatureSupported(featureName); in checkFeature()189 public static void checkStartupFeature(@NonNull Context ctx, @NonNull String featureName) { in checkStartupFeature() argument190 final String msg = "This device does not have the startup feature '" + featureName + "'"; in checkStartupFeature()191 final boolean hasFeature = WebViewFeature.isStartupFeatureSupported(ctx, featureName); in checkStartupFeature()