Searched refs:getSecureUserId (Results 1 – 15 of 15) sorted by relevance
72 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()
123 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 …]
121 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()
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()
1344 long rootSid = GateKeeper.getSecureUserId(); in getInvalidKeyException()
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()
159 long rootSid = GateKeeper.getSecureUserId(); in getRootSid()
240 long rootSid = GateKeeper.getSecureUserId(); in getRootSid()
218 return BigInteger.valueOf(GateKeeper.getSecureUserId()); in getGateKeeperSecureUserId()
835 GateKeeper.getSecureUserId(), in setWrappedKeyEntry()
450 long secureUserId = getGateKeeperService().getSecureUserId(userId); in generateAndLoadKey()
333 if (getGateKeeperService().getSecureUserId(parentId) == 0) { in tieManagedProfileLockIfNecessary()2991 getGateKeeperService().getSecureUserId(userId))); in dump()
42411 HSPLandroid/service/gatekeeper/IGateKeeperService$Stub$Proxy;->getSecureUserId(I)J