Searched refs:grant (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/core/java/android/webkit/ |
H A D | PermissionRequest.java | 27 * 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/tests/src/android/security/ |
H A D | KeyStoreTest.java | 476 assertTrue("Should be able to grant key to other user", 477 mKeyStore.grant(TEST_KEYNAME, 0)); 486 assertTrue("Should be able to grant key to other user", mKeyStore.grant(TEST_KEYNAME, 0)); 493 assertFalse("Should not be able to grant without first initializing the keystore", 494 mKeyStore.grant(TEST_KEYNAME, 0)); 498 assertFalse("Should not be able to grant without first initializing the keystore", 499 mKeyStore.grant(TEST_KEYNAME, 0)); 510 assertTrue("Should be able to grant key to other user", 511 mKeyStore.grant(TEST_KEYNAM [all...] |
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 266 public boolean grant(String key, int uid) { method in class:KeyStore 268 return mBinder.grant(key, uid) == NO_ERROR;
|
/frameworks/base/core/java/android/security/ |
H A D | IKeystoreService.java | 370 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 D | WebViewContentsClientAdapter.java | 641 // grant()/deny(), and no need to be notified the cancellation of request. 1101 public void grant(String[] resources) { method in class:WebViewContentsClientAdapter.PermissionRequestAdapter 1104 mAwPermissionRequest.grant();
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 476 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);
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
H A D | Pm.java | 198 if ("grant".equals(op)) { 1517 private int runGrantRevokePermission(boolean grant) { argument 1531 if (grant) { 1816 System.err.println(" pm grant PACKAGE PERMISSION"); 1889 System.err.println("pm grant, revoke: these commands either grant or revoke permissions");
|
/frameworks/base/docs/html/guide/ |
H A D | guide_toc.cs | 168 <li><a href="<?cs var:toroot ?>guide/topics/manifest/grant-uri-permission-element.html"><grant-uri-permission></a></li>
|
Completed in 2500 milliseconds