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 | 223 if (!hasGrant(alias, caller)) { 244 if (!hasGrant(alias, Process.WIFI_UID)) { 261 if (!hasGrant(alias, caller) && !isSystemUid(caller)) { 280 if (!hasGrant(alias, caller) && !isSystemUid(caller)) { 429 private boolean hasGrant(String alias, CallerIdentity caller) { 430 return hasGrant(alias, caller.mUid); 433 private boolean hasGrant(String alias, int targetUid) { 436 if (!mGrantsDb.hasGrant(targetUid, alias)) { 741 @Override public boolean hasGrant(int uid, String alias) { 743 return mGrantsDb.hasGrant(uid, alias);
|
/packages/apps/KeyChain/src/com/android/keychain/internal/ |
D | GrantsDatabase.java | 176 public boolean hasGrant(final int uid, final String alias) { in hasGrant() method in GrantsDatabase
|