Home
last modified time | relevance | path

Searched refs:getManagedProfileId (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DWorkSoundPreferenceControllerTest.java95 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in isAvailable_managedProfileAndNotSingleVolume_shouldReturnTrue()
105 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in isAvailable_noManagedProfile_shouldReturnFalse()
115 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in isAvailable_singleVolume_shouldReturnFalse()
129 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in onManagedProfileAdded_shouldDisplayPreferenceCategory()
138 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in onManagedProfileAdded_shouldDisplayPreferenceCategory()
151 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in onManagedProfileRemoved_shouldHidePreferenceCategory()
162 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in onManagedProfileRemoved_shouldHidePreferenceCategory()
171 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in displayPreference_isAvailable_shouldShowPreferenceCategory()
184 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in displayPreference_notAvailable_shouldHidePreferenceCategory()
208 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in onResume_noVoiceCapability_shouldHidePhoneRingtone()
[all …]
/packages/apps/Settings/src/com/android/settings/gestures/
DDoubleTwistPreferenceController.java100 final int managedProfileUserId = getManagedProfileId(userManager); in setDoubleTwistPreference()
116 public static int getManagedProfileId(UserManager userManager) { in getManagedProfileId() method in DoubleTwistPreferenceController
117 return Utils.getManagedProfileId(userManager, UserHandle.myUserId()); in getManagedProfileId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DDoubleTwistPreferenceController.java100 final int managedProfileUserId = getManagedProfileId(userManager); in setDoubleTwistPreference()
116 public static int getManagedProfileId(UserManager userManager) { in getManagedProfileId() method in DoubleTwistPreferenceController
117 return Utils.getManagedProfileId(userManager, UserHandle.myUserId()); in getManagedProfileId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DAudioHelper.java45 public int getManagedProfileId(UserManager um) { in getManagedProfileId() method in AudioHelper
46 return Utils.getManagedProfileId(um, UserHandle.myUserId()); in getManagedProfileId()
DWorkSoundPreferenceController.java113 mManagedProfileId = mHelper.getManagedProfileId(mUserManager); in onResume()
129 return mHelper.getManagedProfileId(mUserManager) != UserHandle.USER_NULL in isAvailable()
305 mManagedProfileId = mHelper.getManagedProfileId(mUserManager); in onManagedProfileRemoved()
/packages/apps/Settings/src/com/android/settings/notification/
DAudioHelper.java47 public int getManagedProfileId(UserManager um) { in getManagedProfileId() method in AudioHelper
48 return Utils.getManagedProfileId(um, UserHandle.myUserId()); in getManagedProfileId()
DWorkSoundPreferenceController.java113 mManagedProfileId = mHelper.getManagedProfileId(mUserManager); in onResume()
129 return mHelper.getManagedProfileId(mUserManager) != UserHandle.USER_NULL in isAvailable()
305 mManagedProfileId = mHelper.getManagedProfileId(mUserManager); in onManagedProfileRemoved()
DRedactNotificationPreferenceController.java54 mProfileUserId = Utils.getManagedProfileId(mUm, UserHandle.myUserId()); in RedactNotificationPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAudioHelper.java36 protected int getManagedProfileId(UserManager um) { in getManagedProfileId() method in ShadowAudioHelper
DShadowDoubleTwistPreferenceController.java22 protected static int getManagedProfileId(UserManager userManager) { in getManagedProfileId() method in ShadowDoubleTwistPreferenceController
DShadowUtils.java94 protected static int getManagedProfileId(UserManager um, int parentUserId) { in getManagedProfileId() method in ShadowUtils
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricStatusPreferenceController.java78 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in BiometricStatusPreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/
DBiometricStatusPreferenceController.java77 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in BiometricStatusPreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DVisiblePatternProfilePreferenceController.java65 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in VisiblePatternProfilePreferenceController()
DChangeScreenLockPreferenceController.java66 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in ChangeScreenLockPreferenceController()
DLockUnificationPreferenceController.java91 mProfileUserId = Utils.getManagedProfileId(mUm, MY_USER_ID); in LockUnificationPreferenceController()
/packages/apps/Settings/src/com/android/settings/security/
DVisiblePatternProfilePreferenceController.java65 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in VisiblePatternProfilePreferenceController()
DChangeScreenLockPreferenceController.java66 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in ChangeScreenLockPreferenceController()
DLockUnificationPreferenceController.java91 mProfileUserId = Utils.getManagedProfileId(mUm, MY_USER_ID); in LockUnificationPreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationServicePreferenceController.java145 final int profileUserId = Utils.getManagedProfileId(mUserManager, UserHandle.myUserId()); in getLocationServices()
/packages/apps/Settings/src/com/android/settings/location/
DLocationServicePreferenceController.java145 final int profileUserId = Utils.getManagedProfileId(mUserManager, UserHandle.myUserId()); in getLocationServices()
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java110 final int managedProfileId = Utils.getManagedProfileId(um, UserHandle.myUserId()); in updateList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/
DManagedServiceSettings.java110 final int managedProfileId = Utils.getManagedProfileId(um, UserHandle.myUserId()); in updateList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateNotificationBridge.java67 int workUserId = Utils.getManagedProfileId(userManager, mContext.getUserId()); in AppStateNotificationBridge()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java67 int workUserId = Utils.getManagedProfileId(userManager, mContext.getUserId()); in AppStateNotificationBridge()

12