Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DCachedSyntheticPasswordTests.java72 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordClearCredentialUntrusted()
76 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredentialUntrusted()
84 assertNotEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredentialUntrusted()
93 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordChangeCredentialUntrusted()
97 assertNotEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredentialUntrusted()
98 assertNotEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredentialUntrusted()
139 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testUntrustedCredentialChangeBlockedIfSpNotCached()
147 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testUntrustedCredentialChangeBlockedIfSpNotCached()
DLockSettingsServiceTests.java123 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testClearPasswordPrimaryUser()
134 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileUnifiedChallenge()
135 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
137 mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()
155 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
170 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
177 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testManagedProfileUnifiedChallenge()
178 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
179 assertEquals(0, mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()
199 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileSeparateChallenge()
[all …]
DSyntheticPasswordTests.java121 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordChangeCredential()
127 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredential()
151 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordClearCredential()
155 assertEquals(0 ,mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredential()
163 assertNotEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredential()
343 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNeedsMigration()
354 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNoMigration()
DLockSettingsServiceTestable.java158 if (mGateKeeperService.getSecureUserId(userId) == 0) { in getDecryptedPasswordForTiedProfile()
DFakeGateKeeperService.java180 public long getSecureUserId(int userId) throws RemoteException { in getSecureUserId() method in FakeGateKeeperService
/frameworks/base/keystore/java/android/security/
DGateKeeper.java47 public static long getSecureUserId() throws IllegalStateException { in getSecureUserId() method in GateKeeper
49 return getService().getSecureUserId(UserHandle.myUserId()); in getSecureUserId()
DKeyStore.java1344 long rootSid = GateKeeper.getSecureUserId(); in getInvalidKeyException()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java103 when(mGateKeeperService.getSecureUserId(USER_ID_FIXTURE)).thenReturn(USER_SID); in setUp()
216 when(mGateKeeperService.getSecureUserId(USER_ID_FIXTURE)) in init_doesNotCreateDecryptKeyIfNoSid()
229 when(mGateKeeperService.getSecureUserId(USER_ID_FIXTURE)).thenThrow(new RemoteException()); in init_doesNotCreateDecryptKeyOnGateKeeperException()
/frameworks/base/identity/java/android/security/identity/
DCredstoreWritableIdentityCredential.java159 long rootSid = GateKeeper.getSecureUserId(); in getRootSid()
/frameworks/base/keystore/java/android/security/keystore/
DKeymasterUtils.java240 long rootSid = GateKeeper.getSecureUserId(); in getRootSid()
DAndroidKeyStoreSecretKeyFactorySpi.java218 return BigInteger.valueOf(GateKeeper.getSecureUserId()); in getGateKeeperSecureUserId()
DAndroidKeyStoreSpi.java835 GateKeeper.getSecureUserId(), in setWrappedKeyEntry()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java450 long secureUserId = getGateKeeperService().getSecureUserId(userId); in generateAndLoadKey()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java333 if (getGateKeeperService().getSecureUserId(parentId) == 0) { in tieManagedProfileLockIfNecessary()
2991 getGateKeeperService().getSecureUserId(userId))); in dump()
/frameworks/base/config/
Dboot-image-profile.txt42411 HSPLandroid/service/gatekeeper/IGateKeeperService$Stub$Proxy;->getSecureUserId(I)J