/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceControllerTest.java | 196 mockGetCurrentUser(UserHandle.USER_SYSTEM); in init_systemUser() 209 mockGetCurrentUser(UserHandle.USER_SYSTEM); in testBindService_callsUnbindServiceWhenFalseReturned() 225 mockGetCurrentUser(UserHandle.USER_SYSTEM); in testOnNullBinding_callsUnbindService() 251 mockGetCurrentUser(UserHandle.USER_SYSTEM); in fgUserUnlocked() 259 mockGetCurrentUser(FG_USER_ID); in fgUserUnlocked() 283 mockGetCurrentUser(UserHandle.USER_SYSTEM); in testVisibleUsers() 315 mockGetCurrentUser(FG_USER_ID); in testVisibleUsers() 351 mockGetCurrentUser(UserHandle.USER_SYSTEM); in packageChanged_bindsTheService() 359 mockGetCurrentUser(FG_USER_ID); in packageChanged_bindsTheService() 383 mockGetCurrentUser(UserHandle.USER_SYSTEM); in packageRemoved_unbindsTheService() [all …]
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/ |
D | SharedExtendedMockitoTestCase.java | 77 public void mockGetCurrentUser(int user) { in mockGetCurrentUser() method in SharedExtendedMockitoTestCase.Mocker 78 mAndroidMocker.mockGetCurrentUser(user); in mockGetCurrentUser()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | UserLifecycleEventFilterTest.java | 196 mockGetCurrentUser(USER112.getIdentifier()); in testApply_currentUserFilter() 207 mockGetCurrentUser(USER111.getIdentifier()); in testApply_currentUserFilter_evaluatedAtFilterApplyTime() 211 mockGetCurrentUser(USER112.getIdentifier()); in testApply_currentUserFilter_evaluatedAtFilterApplyTime()
|
D | InitialUserSetterTest.java | 126 mockGetCurrentUser(CURRENT_USER_ID); in setFixtures() 198 mockGetCurrentUser(CURRENT_USER_ID); in testSwitchUser_ok_guestReplaced() 296 mockGetCurrentUser(CURRENT_USER_ID); in testSwitchUser_ok_targetIsCurrentUser() 550 mockGetCurrentUser(CURRENT_USER_ID); in testReplaceUser_ok() 570 mockGetCurrentUser(CURRENT_USER_ID); in testReplaceUser_fail_cantCreate() 582 mockGetCurrentUser(CURRENT_USER_ID); in testReplaceUser_ok_sameUser()
|
D | CarUserServiceTest.java | 727 mockGetCurrentUser(user1); in testBackgroundUserList() 739 mockGetCurrentUser(user3); in testBackgroundUserList() 743 mockGetCurrentUser(user4Guest); in testBackgroundUserList() 747 mockGetCurrentUser(user5); in testBackgroundUserList() 761 mockGetCurrentUser(user1); in testBackgroundUsersStartStopKeepBackgroundUserList() 764 mockGetCurrentUser(user2); in testBackgroundUsersStartStopKeepBackgroundUserList() 767 mockGetCurrentUser(user3); in testBackgroundUsersStartStopKeepBackgroundUserList() 2490 mockGetCurrentUser(newUser.getIdentifier()); in testStartUserInBackground_currentUser()
|
D | CarUserNoticeServiceTest.java | 130 mockGetCurrentUser(USER_ID); in setUpMocks()
|
D | ExperimentalCarUserServiceTest.java | 248 mockGetCurrentUser(user1Id); in testStopPassenger()
|
D | BaseCarUserServiceTestCase.java | 678 mockGetCurrentUser(user.getIdentifier()); in mockCurrentUser()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/ |
D | AdServicesExtendedMockitoTestCase.java | 151 public void mockGetCurrentUser(int user) { in mockGetCurrentUser() method in AdServicesExtendedMockitoTestCase.Mocker 152 mAndroidMocker.mockGetCurrentUser(user); in mockGetCurrentUser()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/mockito/ |
D | AndroidStaticMocker.java | 58 void mockGetCurrentUser(int user); in mockGetCurrentUser() method
|
D | AndroidExtendedMockitoMocker.java | 90 public void mockGetCurrentUser(int user) { in mockGetCurrentUser() method in AndroidExtendedMockitoMocker
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/ |
D | AdServicesShellCommandTest.java | 106 mocker.mockGetCurrentUser(SYSTEM_USER); in setFixtures() 433 mocker.mockGetCurrentUser(secondaryUser); in testExec_validAdServicesShellCommand_secondaryUser_noArgs()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AbstractExtendedMockitoTestCase.java | 438 protected final void mockGetCurrentUser(@UserIdInt int userId) { in mockGetCurrentUser() method in AbstractExtendedMockitoTestCase
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 3058 mockGetCurrentUser(userId); in setCurrentUser()
|