Searched refs:mockGetCallingUserHandle (Results 1 – 3 of 3) sorted by relevance
178 mockGetCallingUserHandle(TEST_USER_ID); in setUp()311 mockGetCallingUserHandle(TEST_USER_ID); in testSetMediaSource_multiUsers()318 mockGetCallingUserHandle(ANOTHER_TEST_USER_ID); in testSetMediaSource_multiUsers()328 mockGetCallingUserHandle(TEST_USER_ID); in testSetMediaSource_multiUsers()335 mockGetCallingUserHandle(TEST_USER_ID); in testSetMediaSource_throwsSecurityExceptionWhenUserDoesNotMatch()344 mockGetCallingUserHandle(TEST_USER_ID); in testGetMediaSource_throwsSecurityExceptionWhenUserDoesNotMatch()356 mockGetCallingUserHandle(TEST_USER_ID); in testGetMediaSource_returnsDefaultSourceForUninitializedUser()367 mockGetCallingUserHandle(UserHandle.USER_SYSTEM); in testSetAndGetMediaSource_systemUserCanCallForOtherUser()376 mockGetCallingUserHandle(TEST_USER_ID); in testDefaultMediaSource_currentUserInitialized()387 mockGetCallingUserHandle(TEST_USER_ID); in testDefaultMediaSource_backgroundUserInitialized()[all …]
1079 mockGetCallingUserHandle(currentUser.getIdentifier()); in testRemoveUserWithRestriction_nonAdminRemovingAdmin()1093 mockGetCallingUserHandle(currentUser.getIdentifier()); in testRemoveUserWithRestriction_nonAdminRemovingNonAdmin()1107 mockGetCallingUserHandle(currentUser.getIdentifier()); in testRemoveUserWithRestriction_nonAdminRemovingItself()1124 mockGetCallingUserHandle(currentUser.getIdentifier()); in testRemoveUserWithRestriction_adminRemovingAdmin()1140 mockGetCallingUserHandle(currentUser.getIdentifier()); in testRemoveUserWithRestriction_adminRemovingNonAdmin()1156 mockGetCallingUserHandle(currentUser.getIdentifier()); in testRemoveUserWithRestriction_adminRemovingItself()2265 mockGetCallingUserHandle(currentUser.getIdentifier()); in testCreateUserWithRestrictions_nonAdminCreatingAdmin()
472 protected final void mockGetCallingUserHandle(@UserIdInt int userId) { in mockGetCallingUserHandle() method in AbstractExtendedMockitoTestCase