Searched defs:grant (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Browser2/src/org/chromium/webview_shell/
H A DWebViewBrowserActivity.java94 // look up the request in order to grant the approprate permissions.
117 public void grant(String[] resources) { method in class:WebViewBrowserActivity.GeoPermissionRequest
145 public void grant(String[] resources) { method in class:WebViewBrowserActivity.FilePermissionRequest
278 request.grant(request.getResources());
282 // Find what Android permissions we need before we can grant these WebKit permissions.
294 // If there are no such Android permissions, grant the WebKit permissions immediately.
296 request.grant(request.getResources());
314 // Verify that we can now grant all the requested permissions. Note that although grant()
315 // takes a list of permissions, grant() i
[all...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
H A DAppPermissionsFragmentWear.java363 private void setPermission(AppPermissionGroup group, SwitchPreference pref, boolean grant) { argument
364 if (grant) {
370 pref.setChecked(grant);

Completed in 93 milliseconds