Home
last modified time | relevance | path

Searched refs:CURRENT_USER_ID (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java108 private static final int CURRENT_USER_ID = 0; field in CallLogManagerTest
132 UserHandle.of(CURRENT_USER_ID) in setUp()
150 UserHandle.of(CURRENT_USER_ID) in setUp()
154 UserInfo userInfo = new UserInfo(CURRENT_USER_ID, "test", 0); in setUp()
172 when(userManager.getUserInfo(eq(CURRENT_USER_ID))).thenReturn(userInfo); in setUp()
197 UserHandle.of(CURRENT_USER_ID) in testDontLogCancelledCall()
209 .thenReturn(makeFakePhoneAccount(mDefaultAccountHandle, CURRENT_USER_ID)); in testDontLogChoosingAccountCall()
221 UserHandle.of(CURRENT_USER_ID) in testDontLogChoosingAccountCall()
257 UserHandle.of(CURRENT_USER_ID) in testDontLogUnloggableNumbers()
271 UserHandle.of(CURRENT_USER_ID) in testDontLogUnloggableNumbers()
[all …]
DInCallControllerTests.java122 private static final int CURRENT_USER_ID = 900973; field in InCallControllerTests
145 private UserHandle mUserHandle = UserHandle.of(CURRENT_USER_ID);
293 when(mDefaultDialerCache.getDefaultDialerApplication(CURRENT_USER_ID)) in testBindToService_DefaultDialer_NoEmergency()
306 eq(CURRENT_USER_ID)); in testBindToService_DefaultDialer_NoEmergency()
347 when(mDefaultDialerCache.getDefaultDialerApplication(CURRENT_USER_ID)) in testBindToService_SystemDialer_Emergency()
366 eq(CURRENT_USER_ID)); in testBindToService_SystemDialer_Emergency()
424 when(mDefaultDialerCache.getDefaultDialerApplication(CURRENT_USER_ID)) in testBindToService_SystemDialer_Crash()
445 eq(CURRENT_USER_ID)); in testBindToService_SystemDialer_Crash()
514 when(mDefaultDialerCache.getDefaultDialerApplication(CURRENT_USER_ID)) in testBindToService_DefaultDialer_FallBackToSystem()
528 eq(CURRENT_USER_ID)); in testBindToService_DefaultDialer_FallBackToSystem()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordControllerTest.java59 private static final int CURRENT_USER_ID = 101; field in SetNewPasswordControllerTest
80 CURRENT_USER_ID, mPackageManager, mFingerprintManager, mFaceManager, in setUp()
95 when(mFingerprintManager.hasEnrolledFingerprints(CURRENT_USER_ID)).thenReturn(false); in launchChooseLockWithFingerprint()
115 when(mFaceManager.hasEnrolledTemplates(CURRENT_USER_ID)).thenReturn(false); in launchChooseLockWithFace()
163 when(mFingerprintManager.hasEnrolledFingerprints(CURRENT_USER_ID)).thenReturn(false); in launchChooseLockWithoutFingerprint_noFingerprintSensor()
182 when(mFaceManager.hasEnrolledTemplates(CURRENT_USER_ID)).thenReturn(false); in launchChooseLockWithoutFace_noFaceSensor()
201 when(mFingerprintManager.hasEnrolledFingerprints(CURRENT_USER_ID)).thenReturn(true); in launchChooseLockWithoutFingerprint_hasFingerprintEnrolled()
220 when(mFaceManager.hasEnrolledTemplates(CURRENT_USER_ID)).thenReturn(true); in launchChooseLockWithoutFace_hasFaceEnrolled()
239 when(mFingerprintManager.hasEnrolledFingerprints(CURRENT_USER_ID)).thenReturn(true); in launchChooseLockWithoutFingerprint_deviceAdminDisallowFingerprintForKeyguard()
258 when(mFaceManager.hasEnrolledTemplates(CURRENT_USER_ID)).thenReturn(true); in launchChooseLockWithoutFace_deviceAdminDisallowFaceForKeyguard()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuardTest.java245 private static final int CURRENT_USER_ID = 0; field in EnterprisePolicyGuardTest
248 new UserInfo(CURRENT_USER_ID, "user0", CURRENT_USER_ID);
268 when(mockUm.getUserHandle()).thenReturn(CURRENT_USER_ID); in getMockContext()