Searched refs:getSecureUserId (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | SyntheticPasswordTests.java | 80 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testPasswordMigration() 86 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testPasswordMigration() 105 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordChangeCredential() 110 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredential() 130 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordClearCredential() 133 assertEquals(0 ,mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredential() 139 assertNotSame(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredential() 147 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordClearCredentialUntrusted() 150 assertEquals(0 ,mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredentialUntrusted() 156 assertNotSame(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredentialUntrusted() [all …]
|
D | LockSettingsServiceTests.java | 91 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testClearPasswordPrimaryUser() 99 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileUnifiedChallenge() 100 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 102 mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 120 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 134 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 140 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testManagedProfileUnifiedChallenge() 141 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 142 assertEquals(0, mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 159 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileSeparateChallenge() [all …]
|
D | LockSettingsServiceTestable.java | 130 if (mGateKeeperService.getSecureUserId(userId) == 0) { in getDecryptedPasswordForTiedProfile()
|
D | MockGateKeeperService.java | 176 public long getSecureUserId(int userId) throws RemoteException { in getSecureUserId() method in MockGateKeeperService
|
/frameworks/base/keystore/java/android/security/ |
D | GateKeeper.java | 45 public static long getSecureUserId() throws IllegalStateException { in getSecureUserId() method in GateKeeper 47 return getService().getSecureUserId(UserHandle.myUserId()); in getSecureUserId()
|
D | KeyStore.java | 737 long rootSid = GateKeeper.getSecureUserId(); in getInvalidKeyException()
|
/frameworks/base/core/java/android/service/gatekeeper/ |
D | IGateKeeperService.aidl | 73 long getSecureUserId(int uid); in getSecureUserId() method
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeymasterUtils.java | 209 long rootSid = GateKeeper.getSecureUserId(); in getRootSid()
|
D | AndroidKeyStoreSecretKeyFactorySpi.java | 208 return BigInteger.valueOf(GateKeeper.getSecureUserId()); in getGateKeeperSecureUserId()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockSettingsService.java | 256 if (getGateKeeperService().getSecureUserId(parentId) == 0) { in tieManagedProfileLockIfNecessary() 2202 getGateKeeperService().getSecureUserId(userId))); in dump()
|