Home
last modified time | relevance | path

Searched refs:getSecureUserId (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DSyntheticPasswordTests.java80 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 …]
DLockSettingsServiceTests.java91 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 …]
DLockSettingsServiceTestable.java130 if (mGateKeeperService.getSecureUserId(userId) == 0) { in getDecryptedPasswordForTiedProfile()
DMockGateKeeperService.java176 public long getSecureUserId(int userId) throws RemoteException { in getSecureUserId() method in MockGateKeeperService
/frameworks/base/keystore/java/android/security/
DGateKeeper.java45 public static long getSecureUserId() throws IllegalStateException { in getSecureUserId() method in GateKeeper
47 return getService().getSecureUserId(UserHandle.myUserId()); in getSecureUserId()
DKeyStore.java737 long rootSid = GateKeeper.getSecureUserId(); in getInvalidKeyException()
/frameworks/base/core/java/android/service/gatekeeper/
DIGateKeeperService.aidl73 long getSecureUserId(int uid); in getSecureUserId() method
/frameworks/base/keystore/java/android/security/keystore/
DKeymasterUtils.java209 long rootSid = GateKeeper.getSecureUserId(); in getRootSid()
DAndroidKeyStoreSecretKeyFactorySpi.java208 return BigInteger.valueOf(GateKeeper.getSecureUserId()); in getGateKeeperSecureUserId()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java256 if (getGateKeeperService().getSecureUserId(parentId) == 0) { in tieManagedProfileLockIfNecessary()
2202 getGateKeeperService().getSecureUserId(userId))); in dump()