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

/frameworks/base/core/java/android/webkit/
H A DPermissionRequest.java27 * Either {@link #grant(String[]) grant()} or {@link #deny()} must be called in UI
64 * Call this method to grant origin the permission to access the given resources.
67 * @param resources the resources granted to be accessed by origin, to grant
73 public abstract void grant(String[] resources); method in class:PermissionRequest
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java266 public boolean grant(String key, int uid) { method in class:KeyStore
268 return mBinder.grant(key, uid) == NO_ERROR;
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java214 if ("grant".equals(op)) {
1494 private void runGrantRevokePermission(boolean grant) { argument
1508 if (grant) {
1779 System.err.println(" pm grant PACKAGE PERMISSION");
1852 System.err.println("pm grant, revoke: these commands either grant or revoke permissions");
/frameworks/base/core/java/android/security/
H A DIKeystoreService.java370 public int grant(String name, int granteeUid) throws RemoteException { method in class:IKeystoreService.Stub.Proxy
644 public int grant(String name, int granteeUid) throws RemoteException; method in interface:IKeystoreService
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewContentsClientAdapter.java637 // grant()/deny(), and no need to be notified the cancellation of request.
1088 public void grant(String[] resources) { method in class:WebViewContentsClientAdapter.PermissionRequestAdapter
1091 mAwPermissionRequest.grant();
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java476 Pair<Integer, String> grant = mPackagesWithBindWidgetPermission.valueAt(i);
477 dumpGrant(grant, i, pw);
632 // The grants are stored in user state wich gets the grant.
656 // The grants are stored in user state wich gets the grant.
1984 private static void dumpGrant(Pair<Integer, String> grant, int index, PrintWriter pw) { argument
1986 pw.print(" user="); pw.print(grant.first);
1987 pw.print(" package="); pw.println(grant.second);

Completed in 178 milliseconds