/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | LockSettingsServiceTests.java | 122 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileUnifiedChallenge() 125 mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 155 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testManagedProfileUnifiedChallenge() 156 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 157 assertEquals(0, mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 167 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileSeparateChallenge() 199 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileChallengeUnification_parentUserNoPassword() 204 assertNotEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileChallengeUnification_parentUserNoPassword() 210 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileChallengeUnification_parentUserNoPassword() 515 assertEquals(0, mGateKeeperService.getSecureUserId(userId)); in setCredential() [all …]
|
H A D | SyntheticPasswordTests.java | 129 return mGateKeeperService.getSecureUserId(SyntheticPasswordManager.fakeUserId(userId)) != 0; in lskfGatekeeperHandleExists() 176 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testChangeCredential() 180 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testChangeCredential() 203 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testClearCredential() 206 assertEquals(0 ,mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testClearCredential() 212 assertNotEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testClearCredential() 415 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testEscrowTokenActivatedImmediatelyIfNoUserPassword()
|
H A D | LockSettingsServiceTestable.java | 184 if (mGateKeeperService.getSecureUserId(userId) == 0) { in getDecryptedPasswordForTiedProfile()
|
H A D | FakeGateKeeperService.java | 180 public long getSecureUserId(int userId) throws RemoteException { in getSecureUserId() method in FakeGateKeeperService
|
/aosp14/frameworks/base/keystore/java/android/security/ |
H A D | GateKeeper.java | 47 public static long getSecureUserId() throws IllegalStateException { in getSecureUserId() method in GateKeeper 49 return getService().getSecureUserId(UserHandle.myUserId()); in getSecureUserId()
|
/aosp14/system/core/gatekeeperd/binder/android/service/gatekeeper/ |
H A D | IGateKeeperService.aidl | 74 long getSecureUserId(int userId); in getSecureUserId() method
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
H A D | PlatformKeyManagerTest.java | 113 when(mGateKeeperService.getSecureUserId(USER_ID_FIXTURE)).thenReturn(USER_SID); in setUp() 231 when(mGateKeeperService.getSecureUserId(USER_ID_FIXTURE)) in init_createsDecryptKeyIfNoSid() 244 when(mGateKeeperService.getSecureUserId(USER_ID_FIXTURE)).thenThrow(new RemoteException()); in init_createsDecryptKeyOnGateKeeperException()
|
/aosp14/frameworks/base/keystore/java/android/security/keystore2/ |
H A D | KeyStoreCryptoOperationUtils.java | 71 long rootSid = GateKeeper.getSecureUserId(); in canUserAuthorizationSucceed()
|
H A D | AndroidKeyStoreSecretKeyFactorySpi.java | 269 return BigInteger.valueOf(GateKeeper.getSecureUserId()); in getGateKeeperSecureUserId()
|
H A D | KeyStore2ParameterUtils.java | 233 long rootSid = GateKeeper.getSecureUserId(); in getRootSid()
|
H A D | AndroidKeyStoreSpi.java | 959 authenticatorSpec.authenticatorId = GateKeeper.getSecureUserId(); in setWrappedKeyEntry()
|
/aosp14/frameworks/base/identity/java/android/security/identity/ |
H A D | CredstoreWritableIdentityCredential.java | 167 long rootSid = GateKeeper.getSecureUserId(); in getRootSid()
|
/aosp14/system/core/gatekeeperd/ |
H A D | gatekeeperd.cpp | 417 Status getSecureUserId(int32_t userId, int64_t* sid) override { in getSecureUserId() function in android::GateKeeperProxy
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsService.java | 411 parentSid = getGateKeeperService().getSecureUserId(parentId); in tieProfileLockIfNecessary() 1355 long parentSid = getGateKeeperService().getSecureUserId( in getDecryptedPasswordForTiedProfile() 1930 parentSid = getGateKeeperService().getSecureUserId(parentUserId); in tieProfileLockToParent() 3220 getGateKeeperService().getSecureUserId(userId)));
|