Searched refs:getSecureUserId (Results 1 – 14 of 14) sorted by relevance
66 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordClearCredentialUntrusted()70 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredentialUntrusted()78 assertNotEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredentialUntrusted()86 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordChangeCredentialUntrusted()90 assertNotEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredentialUntrusted()91 assertNotEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredentialUntrusted()130 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testUntrustedCredentialChangeBlockedIfSpNotCached()138 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testUntrustedCredentialChangeBlockedIfSpNotCached()
115 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testClearPasswordPrimaryUser()125 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileUnifiedChallenge()126 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()128 mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID); in testManagedProfileUnifiedChallenge()146 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()161 assertEquals(profileSid, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()168 assertEquals(0, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testManagedProfileUnifiedChallenge()169 assertEquals(0, mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()170 assertEquals(0, mGateKeeperService.getSecureUserId(TURNED_OFF_PROFILE_USER_ID)); in testManagedProfileUnifiedChallenge()189 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileSeparateChallenge()[all …]
111 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testPasswordMigration()118 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testPasswordMigration()143 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordChangeCredential()149 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordChangeCredential()171 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testSyntheticPasswordClearCredential()175 assertEquals(0 ,mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredential()183 assertNotEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testSyntheticPasswordClearCredential()267 final long primarySid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); in testManagedProfileUnifiedChallengeMigration()268 final long profileSid = mGateKeeperService.getSecureUserId(MANAGED_PROFILE_USER_ID); in testManagedProfileUnifiedChallengeMigration()285 assertEquals(primarySid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); in testManagedProfileUnifiedChallengeMigration()[all …]
158 if (mGateKeeperService.getSecureUserId(userId) == 0) { in getDecryptedPasswordForTiedProfile()
180 public long getSecureUserId(int userId) throws RemoteException { in getSecureUserId() method in FakeGateKeeperService
47 public static long getSecureUserId() throws IllegalStateException { in getSecureUserId() method in GateKeeper49 return getService().getSecureUserId(UserHandle.myUserId()); in getSecureUserId()
1333 long rootSid = GateKeeper.getSecureUserId(); in getInvalidKeyException()
73 long getSecureUserId(int uid); in getSecureUserId() method
103 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()
240 long rootSid = GateKeeper.getSecureUserId(); in getRootSid()
218 return BigInteger.valueOf(GateKeeper.getSecureUserId()); in getGateKeeperSecureUserId()
835 GateKeeper.getSecureUserId(), in setWrappedKeyEntry()
440 long secureUserId = getGateKeeperService().getSecureUserId(userId); in generateAndLoadKey()
310 if (getGateKeeperService().getSecureUserId(parentId) == 0) { in tieManagedProfileLockIfNecessary()2930 getGateKeeperService().getSecureUserId(userId))); in dump()