Searched refs:hasGrant (Results 1 – 3 of 3) sorted by relevance
/packages/apps/KeyChain/robotests/src/com/android/keychain/internal/ |
D | GrantsDatabaseTest.java | 78 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID2, DUMMY_ALIAS)); 84 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS2)); 89 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS)); 91 Assert.assertTrue(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS)); 97 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS)); 103 Assert.assertTrue(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS)); 105 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS)); 113 Assert.assertTrue(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS)); 115 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID, DUMMY_ALIAS)); 116 Assert.assertFalse(mGrantsDB.hasGrant(DUMMY_UID2, DUMMY_ALIAS)); [all …]
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 139 if (!hasGrant(alias)) { 150 if (!hasGrant(alias)) { 157 if (!hasGrant(alias)) { 318 private boolean hasGrant(String alias) { 322 if (!mGrantsDb.hasGrant(callingUid, alias)) { 557 @Override public boolean hasGrant(int uid, String alias) { 559 return mGrantsDb.hasGrant(uid, alias);
|
/packages/apps/KeyChain/src/com/android/keychain/internal/ |
D | GrantsDatabase.java | 166 public boolean hasGrant(final int uid, final String alias) { in hasGrant() method in GrantsDatabase
|