Searched refs:grant (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/keystore/tests/src/android/security/
H A DKeyStoreTest.java466 assertTrue("Should be able to grant key to other user",
467 mKeyStore.grant(TEST_KEYNAME, 0));
476 assertTrue("Should be able to grant key to other user", mKeyStore.grant(TEST_KEYNAME, 0));
483 assertFalse("Should not be able to grant without first initializing the keystore",
484 mKeyStore.grant(TEST_KEYNAME, 0));
488 assertFalse("Should not be able to grant without first initializing the keystore",
489 mKeyStore.grant(TEST_KEYNAME, 0));
499 assertTrue("Should be able to grant key to other user",
500 mKeyStore.grant(TEST_KEYNAM
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java249 public boolean grant(String key, int uid) { method in class:KeyStore
251 return mBinder.grant(key, uid) == NO_ERROR;
/frameworks/base/core/java/android/security/
H A DIKeystoreService.java359 public int grant(String name, int granteeUid) throws RemoteException { method in class:IKeystoreService.Stub.Proxy
575 public int grant(String name, int granteeUid) throws RemoteException; method in interface:IKeystoreService
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java143 if ("grant".equals(op)) {
1243 private void runGrantRevokePermission(boolean grant) { argument
1257 if (grant) {
1468 System.err.println(" pm grant PACKAGE PERMISSION");
1527 System.err.println("pm grant, revoke: these commands either grant or revoke permissions");

Completed in 305 milliseconds