Home
last modified time | relevance | path

Searched refs:getProfileIdsWithDisabled (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DLockUnificationPreferenceControllerTest.java65 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {FAKE_PROFILE_USER_ID}); in setUp()
80 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[0]); in isAvailable_noProfile_false()
DVisiblePatternProfilePreferenceControllerTest.java85 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {FAKE_PROFILE_USER_ID}); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java364 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in applicationsAdapter_onBindViewHolder_notifications_wrongExtraInfo()
387 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in applicationsAdapter_onBindViewHolder_updateSwitch_notifications()
412 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in applicationsAdapter_onBindViewHolder_updateSwitch_notNotifications()
471 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in sortOrderSavedOnRebuild()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactNotificationPreferenceControllerTest.java95 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {10}); in setUp()
129 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {UserHandle.USER_NULL}); in getAvailabilityStatus_noWorkProfile()
DRecentNotifyingAppsPreferenceControllerTest.java113 when(mUserManager.getProfileIdsWithDisabled(0)).thenReturn(new int[] {0}); in setUp()
282 when(mUserManager.getProfileIdsWithDisabled(0)).thenReturn(new int[] {0, 10}); in reloadData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAllAppsInfoPreferenceControllerTest.java58 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in setUp()
DRecentAppsPreferenceControllerTest.java91 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in setUp()
DAppStateNotificationBridgeTest.java103 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in setUp()
291 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{1}); in testLoadAllExtraInfo_multipleUsers()
DRecentAppStatsMixinTest.java87 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserManager.java45 protected int[] getProfileIdsWithDisabled(int userId) { in getProfileIdsWithDisabled() method in ShadowUserManager
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintProfileStatusPreferenceControllerTest.java75 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {1234}); in setUp()
DFingerprintStatusPreferenceControllerTest.java82 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {1234}); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/
DFaceStatusPreferenceControllerTest.java80 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {1234}); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DLockScreenPreferenceControllerTest.java80 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {FAKE_PROFILE_USER_ID}); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUserManager.java138 protected int[] getProfileIdsWithDisabled(@UserIdInt int userId) { in getProfileIdsWithDisabled() method in ShadowUserManager
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryAppListPreferenceControllerTest.java85 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {}); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java438 int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId()
695 final int[] profileIds = um.getProfileIdsWithDisabled(UserHandle.myUserId()); in enforceSameOwner()
/packages/apps/Settings/src/com/android/settings/
DUtils.java431 final int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId()
675 final int[] profileIds = um.getProfileIdsWithDisabled(UserHandle.myUserId()); in enforceSameOwner()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java883 for (int userId : um.getProfileIdsWithDisabled(context.getUserId())) { in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java858 for (int userId : um.getProfileIdsWithDisabled(context.getUserId())) { in onCreateDialog()