Home
last modified time | relevance | path

Searched refs:TEST_USER_ID (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogicTest.java60 private static final int TEST_USER_ID = 123; field in NonRequiredAppsLogicTest
85 eq(mContext), eq(TEST_USER_ID))).thenReturn(TEST_MDM_COMPONENT_NAME); in setUp()
97 assertTrue(logic.getSystemAppsToRemove(TEST_USER_ID).isEmpty()); in testGetSystemAppsToRemove_NewLeave()
110 logic.getSystemAppsToRemove(TEST_USER_ID)); in testGetSystemAppsToRemove_newProfile_returnsBlacklistedApps()
126 logic.getSystemAppsToRemove(TEST_USER_ID)); in testGetSystemAppsToRemove_deviceAdminComponentIsNotGiven_newProfile_returnsBlacklistedApps()
138 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(false); in testGetSystemAppsToRemove_OtaLeave()
141 assertTrue(logic.getSystemAppsToRemove(TEST_USER_ID).isEmpty()); in testGetSystemAppsToRemove_OtaLeave()
156 assertEquals(Collections.singleton(APPS.get(4)), logic.getSystemAppsToRemove(TEST_USER_ID)); in testGetSystemAppsToRemove_OtaDelete()
166 logic.maybeTakeSystemAppsSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_NewLeave()
179 logic.maybeTakeSystemAppsSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_NewDelete()
[all …]
DSystemAppsSnapshotTest.java52 private static final int TEST_USER_ID = 123; field in SystemAppsSnapshotTest
69 when(mUserManager.getUserSerialNumber(TEST_USER_ID)).thenReturn(TEST_USER_SERIAL_NUMBER); in setUp()
86 assertFalse(mSystemAppsSnapshot.hasSnapshot(TEST_USER_ID)); in testHasSnapshot()
89 mSystemAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in testHasSnapshot()
92 assertTrue(mSystemAppsSnapshot.hasSnapshot(TEST_USER_ID)); in testHasSnapshot()
101 assertTrue(mSystemAppsSnapshot.getSnapshot(TEST_USER_ID).isEmpty()); in testGetSnapshot()
104 mSystemAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in testGetSnapshot()
107 assertSetEquals(mSystemAppsSnapshot.getSnapshot(TEST_USER_ID), in testGetSnapshot()
112 when(mUtils.getCurrentSystemApps(mockIPackageManager, TEST_USER_ID)) in setCurrentSystemApps()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DSetDevicePolicyTaskTest.java52 private static final int TEST_USER_ID = 123; field in SetDevicePolicyTaskTest
82 TEST_USER_ID)).thenReturn(true); in setUp()
83 when(mUtils.findDeviceAdmin(null, ADMIN_COMPONENT_NAME, mContext, TEST_USER_ID)) in setUp()
96 mTask.run(TEST_USER_ID); in testEnableDevicePolicyApp_DefaultToDefault()
114 mTask.run(TEST_USER_ID); in testEnableDevicePolicyApp_DisabledToDefault()
133 mTask.run(TEST_USER_ID); in testEnableDevicePolicyApp_EnabledToEnabled()
151 mTask.run(TEST_USER_ID); in testEnableDevicePolicyApp_PackageNotFound()
164 mTask.run(TEST_USER_ID); in testSetActiveAdmin()
167 verify(mDevicePolicyManager).setActiveAdmin(ADMIN_COMPONENT_NAME, true, TEST_USER_ID); in testSetActiveAdmin()
178 mTask.run(TEST_USER_ID); in testSetDeviceOwner()
[all …]
DDeleteNonRequiredAppsTaskTest.java56 private static final int TEST_USER_ID = 123; field in DeleteNonRequiredAppsTaskTest
89 when(mLogic.getSystemAppsToRemove(TEST_USER_ID)).thenReturn(Collections.emptySet()); in testNoAppsToDelete()
93 mTask.run(TEST_USER_ID); in testNoAppsToDelete()
96 verify(mLogic).maybeTakeSystemAppsSnapshot(TEST_USER_ID); in testNoAppsToDelete()
109 when(mLogic.getSystemAppsToRemove(TEST_USER_ID)) in testAppsToDelete()
115 mTask.run(TEST_USER_ID); in testAppsToDelete()
118 verify(mLogic).maybeTakeSystemAppsSnapshot(TEST_USER_ID); in testAppsToDelete()
131 when(mLogic.getSystemAppsToRemove(TEST_USER_ID)) in testAllAppsAlreadyDeleted()
135 mTask.run(TEST_USER_ID); in testAllAppsAlreadyDeleted()
138 verify(mLogic).maybeTakeSystemAppsSnapshot(TEST_USER_ID); in testAllAppsAlreadyDeleted()
[all …]
DManagedProfileSettingsTaskTest.java55 private static final int TEST_USER_ID = 123; field in ManagedProfileSettingsTaskTest
95 mTask.run(TEST_USER_ID); in testNoMainColor()
103 .setOrganizationColorForUser(anyInt(), eq(TEST_USER_ID)); in testNoMainColor()
106 verify(mSettingsFacade).setUserSetupCompleted(mContext, TEST_USER_ID); in testNoMainColor()
108 DEFAULT_CONTACT_REMOTE_SEARCH, TEST_USER_ID); in testNoMainColor()
111 verify(mCrossProfileIntentFiltersSetter).setFilters(anyInt(), eq(TEST_USER_ID)); in testNoMainColor()
121 mTask.run(TEST_USER_ID); in testMainColor()
128 verify(mDevicePolicyManager).setOrganizationColorForUser(Color.GREEN, TEST_USER_ID); in testMainColor()
131 verify(mSettingsFacade).setUserSetupCompleted(mContext, TEST_USER_ID); in testMainColor()
133 DEFAULT_CONTACT_REMOTE_SEARCH, TEST_USER_ID); in testMainColor()
[all …]
DStartManagedProfileTaskTest.java54 private static final int TEST_USER_ID = 123; field in StartManagedProfileTaskTest
61 .putExtra(Intent.EXTRA_USER_HANDLE, TEST_USER_ID);
102 }).when(mIActivityManager).startUserInBackground(TEST_USER_ID); in testSuccess()
105 new Handler(mHandlerThread.getLooper()).post(() -> mTask.run(TEST_USER_ID)); in testSuccess()
113 eq(UserHandle.of(TEST_USER_ID)), in testSuccess()
134 when(mIActivityManager.startUserInBackground(TEST_USER_ID)).thenReturn(false); in testError()
137 mTask.run(TEST_USER_ID); in testError()
142 eq(UserHandle.of(TEST_USER_ID)), in testError()
156 when(mIActivityManager.startUserInBackground(TEST_USER_ID)) in testRemoteException()
160 mTask.run(TEST_USER_ID); in testRemoteException()
[all …]
DInstallExistingPackageTaskTest.java52 private static final int TEST_USER_ID = 123; field in InstallExistingPackageTaskTest
76 when(mPackageManager.installExistingPackageAsUser(INSTALL_PACKAGE_NAME, TEST_USER_ID)) in testSuccess()
80 mTask.run(TEST_USER_ID); in testSuccess()
83 verify(mPackageManager).installExistingPackageAsUser(INSTALL_PACKAGE_NAME, TEST_USER_ID); in testSuccess()
91 when(mPackageManager.installExistingPackageAsUser(INSTALL_PACKAGE_NAME, TEST_USER_ID)) in testPackageNotFound()
95 mTask.run(TEST_USER_ID); in testPackageNotFound()
105 when(mPackageManager.installExistingPackageAsUser(INSTALL_PACKAGE_NAME, TEST_USER_ID)) in testInstallFailed()
109 mTask.run(TEST_USER_ID); in testInstallFailed()
DInstallPackageTaskTest.java73 private static final int TEST_USER_ID = 123; field in InstallPackageTaskTest
129 mTask.run(TEST_USER_ID); in testNoDownloadLocation()
142 mTask.run(TEST_USER_ID); in testSuccess()
167 mTask.run(TEST_USER_ID); in testSuccess_allowTestOnly()
192 mTask.run(TEST_USER_ID); in testInstallFailedVersionDowngrade()
217 mTask.run(TEST_USER_ID); in testInstallFailedOtherError()
242 mTask.run(TEST_USER_ID); in testDifferentPackageName()
DCreateManagedProfileTaskTest.java54 private static final int TEST_USER_ID = 123; field in CreateManagedProfileTaskTest
86 .thenReturn(new UserInfo(TEST_USER_ID, null, 0)); in testSuccess()
95 verify(mLogic).maybeTakeSystemAppsSnapshot(TEST_USER_ID); in testSuccess()
99 assertEquals(TEST_USER_ID, mTask.getProfileUserId()); in testSuccess()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DPowerButtonInstantLockPreferenceControllerTest.java45 private static final int TEST_USER_ID = 0; field in PowerButtonInstantLockPreferenceControllerTest
67 mContext, TEST_USER_ID, mLockPatternUtils); in setUp()
72 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); in isAvailable_lockSetToPattern_shouldReturnTrue()
73 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) in isAvailable_lockSetToPattern_shouldReturnTrue()
81 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); in isAvailable_lockSetToPin_shouldReturnTrue()
82 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) in isAvailable_lockSetToPin_shouldReturnTrue()
90 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); in isAvailable_lockSetToPassword_shouldReturnTrue()
91 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) in isAvailable_lockSetToPassword_shouldReturnTrue()
99 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false); in isAvailable_lockSetToNone_shouldReturnFalse()
109 when(mLockPatternUtils.getPowerButtonInstantlyLocks(TEST_USER_ID)).thenReturn(true); in updateState_shouldSetPref()
[all …]
DPatternVisiblePreferenceControllerTest.java42 private static final int TEST_USER_ID = 0; field in PatternVisiblePreferenceControllerTest
55 new PatternVisiblePreferenceController(mContext, TEST_USER_ID, mLockPatternUtils); in setUp()
61 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); in isAvailable_lockSetToPattern_shouldReturnTrue()
62 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) in isAvailable_lockSetToPattern_shouldReturnTrue()
70 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); in isAvailable_lockSetToPin_shouldReturnFalse()
71 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) in isAvailable_lockSetToPin_shouldReturnFalse()
79 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false); in isAvailable_lockSetToNone_shouldReturnFalse()
86 when(mLockPatternUtils.isVisiblePatternEnabled(TEST_USER_ID)).thenReturn(true); in updateState_shouldSetPref()
90 when(mLockPatternUtils.isVisiblePatternEnabled(TEST_USER_ID)).thenReturn(false); in updateState_shouldSetPref()
99 verify(mLockPatternUtils).setVisiblePatternEnabled(true, TEST_USER_ID); in onPreferenceChange_shouldUpdateLockPatternUtils()
DLockAfterTimeoutPreferenceControllerTest.java55 private static final int TEST_USER_ID = 0; field in LockAfterTimeoutPreferenceControllerTest
77 mContext, TEST_USER_ID, mLockPatternUtils); in setUp()
82 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); in isAvailable_lockSetToPattern_shouldReturnTrue()
83 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) in isAvailable_lockSetToPattern_shouldReturnTrue()
91 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); in isAvailable_lockSetToPin_shouldReturnTrue()
92 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) in isAvailable_lockSetToPin_shouldReturnTrue()
100 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true); in isAvailable_lockSetToPassword_shouldReturnTrue()
101 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID)) in isAvailable_lockSetToPassword_shouldReturnTrue()
109 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false); in isAvailable_lockSetToNone_shouldReturnFalse()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/interactacrossprofiles/
DCrossProfileAppsSnapshotTest.java45 private static final int TEST_USER_ID = 123; field in CrossProfileAppsSnapshotTest
56 shadowOf(mUserManager).addUser(TEST_USER_ID, "Username", /* flags= */ 0); in setUp()
69 assertThat(mCrossProfileAppsSnapshot.hasSnapshot(TEST_USER_ID)).isFalse(); in hasSnapshot_noSnapshotTaken_returnsFalse()
74 mCrossProfileAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in hasSnapshot_snapshotTaken_returnsTrue()
76 assertThat(mCrossProfileAppsSnapshot.hasSnapshot(TEST_USER_ID)).isTrue(); in hasSnapshot_snapshotTaken_returnsTrue()
81 assertThat(mCrossProfileAppsSnapshot.getSnapshot(TEST_USER_ID)).isEmpty(); in getSnapshot_noSnapshotTaken_returnsEmptySet()
87 mCrossProfileAppsSnapshot.takeNewSnapshot(TEST_USER_ID); in getSnapshot_snapshotTaken_returnsPreviousCrossProfilePackages()
89 assertThat(mCrossProfileAppsSnapshot.getSnapshot(TEST_USER_ID)) in getSnapshot_snapshotTaken_returnsPreviousCrossProfilePackages()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/
DUpdateInteractAcrossProfilesAppOpTaskTest.java56 private static final int TEST_USER_ID = 123; field in UpdateInteractAcrossProfilesAppOpTaskTest
79 shadowOf(mUserManager).addUser(TEST_USER_ID, "Username", /* flags= */ 0); in setUp()
87 task.run(TEST_USER_ID); in run_firstRun_appOpIsNotReset()
98 task.run(TEST_USER_ID); in run_packageIsRemovedButStillConfigurable_appOpIsNotReset()
101 task.run(TEST_USER_ID); in run_packageIsRemovedButStillConfigurable_appOpIsNotReset()
112 task.run(TEST_USER_ID); in run_packageIsNoLongerConfigurable_appOpIsReset()
115 task.run(TEST_USER_ID); in run_packageIsNoLongerConfigurable_appOpIsReset()
125 task.run(TEST_USER_ID); in run_packageIsNotRemoved_appOpIsNotReset()
128 task.run(TEST_USER_ID); in run_packageIsNotRemoved_appOpIsNotReset()
DCreateManagedProfileTaskRoboTest.java60 private static final int TEST_USER_ID = 0; field in CreateManagedProfileTaskRoboTest
86 new CreateManagedProfileTask(mContext, TEST_PARAMS, mCallback).run(TEST_USER_ID); in run_clearsNonDefaultInteractAcrossProfilesAppOps()
104 new CreateManagedProfileTask(mContext, TEST_PARAMS, mCallback).run(TEST_USER_ID); in run_grantsDefaultConfigurableInteractAcrossProfilesAppOps()
119 new CreateManagedProfileTask(mContext, TEST_PARAMS, mCallback).run(TEST_USER_ID); in run_clearsDefaultNotConfigurableInteractAcrossProfilesAppOps()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DTaskExecutorTest.java37 private final int TEST_USER_ID = 123; field in TaskExecutorTest
55 mExecutor.execute(TEST_USER_ID, mTask1); in testExecute_firstTask()
58 verify(mTask1).run(TEST_USER_ID); in testExecute_firstTask()
64 mExecutor.execute(TEST_USER_ID, mTask1); in testExecute_twoTask()
67 verify(mTask1).run(TEST_USER_ID); in testExecute_twoTask()
70 mExecutor.execute(TEST_USER_ID, mTask2); in testExecute_twoTask()
73 verify(mTask2).run(TEST_USER_ID); in testExecute_twoTask()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java72 private static final int TEST_USER_ID = 10; field in UtilsTest
117 MATCH_UNINSTALLED_PACKAGES, TEST_USER_ID)) in testGetCurrentSystemApps()
120 MATCH_UNINSTALLED_PACKAGES | MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS, TEST_USER_ID)) in testGetCurrentSystemApps()
124 Set<String> res = mUtils.getCurrentSystemApps(mockIPackageManager, TEST_USER_ID); in testGetCurrentSystemApps()
135 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, TEST_USER_ID); in testSetComponentEnabledSetting()
140 eq(TEST_USER_ID)); in testSetComponentEnabledSetting()
265 mUtils.findDeviceAdmin(null, TEST_COMPONENT_NAME_2, mockContext, TEST_USER_ID)); in testFindDeviceAdmin_ComponentName()
275 TEST_PACKAGE_NAME_1, null, mockContext, TEST_USER_ID)); in testFindDeviceAdmin_PackageName()
282 TEST_USER_ID)) in testFindDeviceAdmin_NoPackageName()
288 TEST_PACKAGE_NAME_1, null, mockContext, TEST_USER_ID); in testFindDeviceAdmin_NoPackageName()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUserDetailsFragmentTest.java46 private static final int TEST_USER_ID = 10; field in UserDetailsFragmentTest
62 Shadows.shadowOf(mUserManager).addUser(TEST_USER_ID, TEST_NAME, /* flags= */ 0); in setUpTestActivity()
73 UserUtils.getUserDisplayName(mContext, mUserManager.getUserInfo(TEST_USER_ID))); in testCarUserManagerHelperUpdateListener_showsCorrectText()
81 UserUtils.getUserDisplayName(mContext, mUserManager.getUserInfo(TEST_USER_ID))); in testCarUserManagerHelperUpdateListener_textChangesWithUserUpdate()
83 mUserManager.removeUser(TEST_USER_ID); in testCarUserManagerHelperUpdateListener_textChangesWithUserUpdate()
84 Shadows.shadowOf(mUserManager).addUser(TEST_USER_ID, TEST_UPDATED_NAME, /* flags= */ 0); in testCarUserManagerHelperUpdateListener_textChangesWithUserUpdate()
88 UserUtils.getUserDisplayName(mContext, mUserManager.getUserInfo(TEST_USER_ID))); in testCarUserManagerHelperUpdateListener_textChangesWithUserUpdate()
92 mUserDetailsFragment = UserDetailsFragment.newInstance(TEST_USER_ID); in createUserDetailsFragment()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DEncryptionControllerTest.java49 private static final int TEST_USER_ID = 10; field in EncryptionControllerTest
86 verify(mUtils).enableComponent(TEST_HOME_RECEIVER, TEST_USER_ID); in testDeviceOwner()
87 verify(mPackageManager).flushPackageRestrictionsAsUser(TEST_USER_ID); in testDeviceOwner()
110 verify(mUtils).enableComponent(TEST_HOME_RECEIVER, TEST_USER_ID); in testProfileOwnerDuringSuw()
111 verify(mPackageManager).flushPackageRestrictionsAsUser(TEST_USER_ID); in testProfileOwnerDuringSuw()
145 verify(mUtils).disableComponent(TEST_HOME_RECEIVER, TEST_USER_ID); in testCancelProvisioningReminder()
176 mNotificationHelper, TEST_USER_ID); in createEncryptionController()
DPreProvisioningControllerTest.java83 private static final int TEST_USER_ID = 10; field in PreProvisioningControllerTest
156 when(mUserManager.getUserHandle()).thenReturn(TEST_USER_ID); in setUp()
261 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(TEST_USER_ID); in testManagedProfile_withExistingProfile()
264 verify(mUi).showDeleteManagedProfileDialog(any(), any(), eq(TEST_USER_ID)); in testManagedProfile_withExistingProfile()
374 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(TEST_USER_ID); in testManagedProfile_restrictedFromRemovingExisting()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DFocusInteractionTest.java52 private static final int TEST_USER_ID = 10; field in FocusInteractionTest
114 .isRejectNavigationOnCallEnabledInSettings(TEST_USER_ID); in evaluateResult_forCallAndNavigation_withNavigationNotRejected_returnsConcurrent()
116 mFocusInteraction.setUserIdForSettings(TEST_USER_ID); in evaluateResult_forCallAndNavigation_withNavigationNotRejected_returnsConcurrent()
129 .isRejectNavigationOnCallEnabledInSettings(TEST_USER_ID); in evaluateResult_forCallAndNavigation_withNavigationRejected_returnsConcurrent()
130 mFocusInteraction.setUserIdForSettings(TEST_USER_ID); in evaluateResult_forCallAndNavigation_withNavigationRejected_returnsConcurrent()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerEntryPreferenceControllerTest.java66 private static final int TEST_USER_ID = 10; field in DefaultAutofillPickerEntryPreferenceControllerTest
155 TEST_USER_ID, ComponentName.unflattenFromString(TEST_COMPONENT)); in getSettingIntent_noServiceInterface_returnsNull()
174 TEST_USER_ID, ComponentName.unflattenFromString(TEST_COMPONENT)); in getSettingIntent_hasServiceInterface_returnsIntent()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java67 private static final int TEST_USER_ID = 10; field in CarZonesAudioFocusTest
198 carZonesAudioFocus.updateUserForZoneId(PRIMARY_ZONE_ID, TEST_USER_ID); in onAudioFocusRequest_forNavigationWhileOnCall_rejectNavOnCall_requestFailed()
227 carZonesAudioFocus.updateUserForZoneId(PRIMARY_ZONE_ID, TEST_USER_ID); in onAudioFocusRequest_forNavigationWhileOnCall_noRejectNavOnCall_requestSucceeds()
315 when(mCarAudioSettings.isRejectNavigationOnCallEnabledInSettings(TEST_USER_ID)) in setUpRejectNavigationOnCallValue()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DFinancedDeviceProvisioningControllerTest.java43 private static final int TEST_USER_ID = 123; field in FinancedDeviceProvisioningControllerTest
114 TEST_USER_ID, in createController()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java74 private static final int TEST_USER_ID = 100; field in CarMediaServiceTest
103 UserInfo userInfo = new UserInfo(TEST_USER_ID, "test_user", UserInfo.FLAG_PRIMARY); in setUp()
104 AndroidMockitoHelper.mockAmGetCurrentUser(TEST_USER_ID); in setUp()

12