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.java354 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in applicationsAdapter_onBindViewHolder_notifications_wrongExtraInfo()
376 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in applicationsAdapter_onBindViewHolder_updateSwitch_notifications()
400 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in applicationsAdapter_onBindViewHolder_updateSwitch_notNotifications()
458 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.java115 when(mUserManager.getProfileIdsWithDisabled(0)).thenReturn(new int[] {0}); in setUp()
298 when(mUserManager.getProfileIdsWithDisabled(0)).thenReturn(new int[] {0, 10}); in reloadData()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserManager.java49 protected int[] getProfileIdsWithDisabled(int userId) { in getProfileIdsWithDisabled() method in ShadowUserManager
/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()
286 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{1}); in testLoadAllExtraInfo_multipleUsers()
DRecentAppStatsMixinTest.java87 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in setUp()
/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/testutils/shadow/
DShadowUserManager.java122 protected int[] getProfileIdsWithDisabled(@UserIdInt int userId) { in getProfileIdsWithDisabled() method in ShadowUserManager
/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.java81 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {FAKE_PROFILE_USER_ID}); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryAppListPreferenceControllerTest.java91 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {}); in setUp()
/packages/apps/Settings/src/com/android/settings/
DUtils.java433 int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId()
690 final int[] profileIds = um.getProfileIdsWithDisabled(UserHandle.myUserId()); in enforceSameOwner()
/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/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()