Searched refs:mGateKeeperService (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTests.java | 106 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testClearPasswordPrimaryUser() 116 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileUnifiedChallenge() 117 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 119 mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 128 mGateKeeperService.clearAuthToken(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 129 mGateKeeperService.clearAuthToken(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge() 136 assertNotNull(mGateKeeperService.getAuthToken(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 137 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 140 assertNull(mGateKeeperService.getAuthToken(TURNED_OFF_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() 151 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge() [all …]
|
D | SyntheticPasswordTests.java | 77 mGateKeeperService, mUserManager, mPasswordSlotManager); in testPasswordBasedSyntheticPassword() 78 AuthenticationToken authToken = manager.newSyntheticPasswordAndSid(mGateKeeperService, null, in testPasswordBasedSyntheticPassword() 80 long handle = manager.createPasswordBasedSyntheticPassword(mGateKeeperService, in testPasswordBasedSyntheticPassword() 84 mGateKeeperService, handle, password, USER_ID, null); in testPasswordBasedSyntheticPassword() 88 result = manager.unwrapPasswordBasedSyntheticPassword(mGateKeeperService, handle, in testPasswordBasedSyntheticPassword() 119 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordChangeCredential() 123 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredential() 145 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordClearCredential() 148 assertEquals(0 ,mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredential() 154 assertNotEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredential() [all …]
|
D | BaseLockSettingsServiceTests.java | 90 FakeGateKeeperService mGateKeeperService; field in BaseLockSettingsServiceTests 113 mGateKeeperService = new FakeGateKeeperService(); in setUp_baseServices() 150 mSpManager = new MockSyntheticPasswordManager(mContext, mStorage, mGateKeeperService, in setUp_baseServices() 154 mGateKeeperService, mKeyStore, setUpStorageManagerMock(), mActivityManager, in setUp_baseServices()
|
D | LockSettingsServiceTestable.java | 177 mGateKeeperService = gatekeeper; in LockSettingsServiceTestable() 197 if (mGateKeeperService.getSecureUserId(userId) == 0) { in getDecryptedPasswordForTiedProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformKeyManagerTest.java | 90 @Mock private IGateKeeperService mGateKeeperService; field in PlatformKeyManagerTest 108 mContext, mKeyStoreProxy, mRecoverableKeyStoreDb, mGateKeeperService); in setUp() 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() 591 private IGateKeeperService mGateKeeperService; field in PlatformKeyManagerTest.PlatformKeyManagerTestable 599 mGateKeeperService = gateKeeperService; in PlatformKeyManagerTestable() 604 return mGateKeeperService; in getGateKeeperService()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 249 protected IGateKeeperService mGateKeeperService; field in LockSettingsService 2727 mGateKeeperService.asBinder().unlinkToDeath(this, 0); in binderDied() 2728 mGateKeeperService = null; in binderDied() 2733 if (mGateKeeperService != null) { in getGateKeeperService() 2734 return mGateKeeperService; in getGateKeeperService() 2744 mGateKeeperService = IGateKeeperService.Stub.asInterface(service); in getGateKeeperService() 2745 return mGateKeeperService; in getGateKeeperService()
|