Home
last modified time | relevance | path

Searched refs:getProfileIdsWithDisabled (Results 1 – 22 of 22) 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()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DUserManagerCompat.java39 public int[] getProfileIdsWithDisabled(@UserIdInt int userId) { in getProfileIdsWithDisabled() method in UserManagerCompat
40 return mUserManager.getProfileIdsWithDisabled(userId); in getProfileIdsWithDisabled()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DWifiHelper.java98 final int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserManager.java44 protected int[] getProfileIdsWithDisabled(int userId) { in getProfileIdsWithDisabled() method in ShadowUserManager
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DManageApplicationsTest.java353 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()
401 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in applicationsAdapter_onBindViewHolder_updateSwitch_notNotifications()
461 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in sortOrderSavedOnRebuild()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/combination/
DCombinedBiometricStatusPreferenceControllerTest.java90 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {1234}); in setUp()
DBiometricFaceStatusPreferenceControllerTest.java79 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {1234}); in setUp()
DBiometricFingerprintStatusPreferenceControllerTest.java79 when(mUserManager.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/biometrics/activeunlock/
DActiveUnlockStatusPreferenceControllerTest.java80 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {1234}); in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java253 final int[] profileIds = um.getProfileIdsWithDisabled(parentUserId); in getManagedProfileId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/
DFaceStatusPreferenceControllerTest.java100 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {1234}); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintStatusPreferenceControllerTest.java100 when(mUm.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[] {1234}); in setUp()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowUserManager.java211 protected int[] getProfileIdsWithDisabled(@UserIdInt int userId) { in getProfileIdsWithDisabled() method in ShadowUserManager
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DScreenLockPreferenceDetailsUtilsTest.java88 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in setUp()
/packages/apps/Settings/src/com/android/settings/users/
DUserDetailsSettings.java479 int[] userProfiles = mUserManager.getProfileIdsWithDisabled(mUserInfo.id);
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryChartPreferenceControllerTest.java99 doReturn(new int[] {0}).when(mUserManager).getProfileIdsWithDisabled(anyInt()); in setUp()
DDataProcessorTest.java110 doReturn(new int[] {0}).when(mUserManager).getProfileIdsWithDisabled(anyInt()); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DRecentAppStatsMixinTest.java101 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in setUp()
DAppStateNotificationBridgeTest.java100 when(mUserManager.getProfileIdsWithDisabled(anyInt())).thenReturn(new int[]{}); in setUp()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DApplicationsState.java202 for (int userId : mUm.getProfileIdsWithDisabled(UserHandle.myUserId())) { in ApplicationsState()
687 final int[] profileIds = mUm.getProfileIdsWithDisabled(UserHandle.myUserId()); in addUser()
/packages/apps/Settings/src/com/android/settings/
DUtils.java758 final int[] profileIds = um.getProfileIdsWithDisabled(UserHandle.myUserId()); in enforceSameOwner()