Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSoundWorkSettingsControllerTest.java89 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in isAvailable_managedProfileAndNotSingleVolume_shouldReturnTrue()
98 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in isAvailable_noManagedProfile_shouldReturnFalse()
107 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in isAvailable_singleVolume_shouldReturnFalse()
129 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in onResume_noVoiceCapability_shouldHidePhoneRingtone()
153 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in onResume_availableButLocked_shouldRedactPreferences()
173 when(mAudioHelper.getManagedProfileId(nullable(UserManager.class))) in onResume_shouldSetUserIdToPreference()
DPoliteNotifWorkProfileToggleControllerTest.java65 when(mAudioHelper.getManagedProfileId(any())).thenReturn(UserHandle.MIN_SECONDARY_USER_ID); in setUp()
98 when(mAudioHelper.getManagedProfileId(any())).thenReturn(UserHandle.USER_NULL); in isAvailable_flagEnabled_workProfileMissing_shouldReturnFalse()
/packages/apps/Settings/src/com/android/settings/gestures/
DDoubleTwistPreferenceController.java105 final int managedProfileUserId = getManagedProfileId(userManager); in setDoubleTwistPreference()
121 public static int getManagedProfileId(UserManager userManager) { in getManagedProfileId() method in DoubleTwistPreferenceController
122 return Utils.getManagedProfileId(userManager, UserHandle.myUserId()); in getManagedProfileId()
/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()
DSoundWorkSettingsController.java128 mManagedProfileId = mHelper.getManagedProfileId(mUserManager); in onResume()
139 return mHelper.getManagedProfileId(mUserManager) != UserHandle.USER_NULL in isAvailable()
318 mManagedProfileId = mHelper.getManagedProfileId(mUserManager); in onManagedProfileRemoved()
DPoliteNotifWorkProfileToggleController.java72 mManagedProfileId = helper.getManagedProfileId(UserManager.get(mContext)); in PoliteNotifWorkProfileToggleController()
DSoundWorkSettings.java146 final boolean hasWorkProfile = audioHelper.getManagedProfileId( in isSupportWorkProfileSound()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DWifiHelper.java69 int profileOwnerUserId = getManagedProfileId(um, UserHandle.myUserId()); in isNetworkLockedDown()
97 private static int getManagedProfileId(UserManager um, int parentUserId) { in getManagedProfileId() method in WifiHelper
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DRestrictedLockUtilsInternal.java260 int managedProfileId = getManagedProfileId(context, userId); in checkIfInputMethodDisallowed()
317 int managedProfileId = getManagedProfileId(context, userId); in checkIfAccessibilityServiceDisallowed()
335 private static int getManagedProfileId(Context context, int userId) { in getManagedProfileId() method in RestrictedLockUtilsInternal
395 int managedProfileId = getManagedProfileId(context, userId); in checkIfUsbDataSignalingIsDisabled()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java224 int profileOwnerUserId = getManagedProfileId(um, UserHandle.myUserId()); in isNetworkLockedDown()
252 private static int getManagedProfileId(UserManager um, int parentUserId) { in getManagedProfileId() method in WifiConfigHelper
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDoubleTwistPreferenceController.java22 protected static int getManagedProfileId(UserManager userManager) { in getManagedProfileId() method in ShadowDoubleTwistPreferenceController
DShadowAudioHelper.java54 protected int getManagedProfileId(UserManager um) { in getManagedProfileId() method in ShadowAudioHelper
/packages/apps/Settings/src/com/android/settings/location/
DLocationInjectedServicesForWorkPreferenceController.java44 final int managedProfileId = Utils.getManagedProfileId(mUserManager, UserHandle.myUserId()); in injectLocationServices()
DLocationInjectedServiceBasePreferenceController.java120 final int managedProfileId = Utils.getManagedProfileId(mUserManager, UserHandle.myUserId()); in getLocationServices()
/packages/apps/Settings/src/com/android/settings/privacy/
DPrivacyDashboardFragment.java107 Utils.getManagedProfileId(
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricStatusPreferenceController.java77 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in BiometricStatusPreferenceController()
/packages/apps/Settings/src/com/android/settings/security/
DVisiblePatternProfilePreferenceController.java72 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in VisiblePatternProfilePreferenceController()
DChangeScreenLockPreferenceController.java63 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in ChangeScreenLockPreferenceController()
DScreenLockPreferenceDetailsUtils.java56 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, mUserId); in ScreenLockPreferenceDetailsUtils()
DLockUnificationPreferenceController.java103 mProfileUserId = Utils.getManagedProfileId(mUm, MY_USER_ID); in LockUnificationPreferenceController()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DMoreSecurityPrivacyFragment.java134 Utils.getManagedProfileId(
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateLocaleBridge.java94 int workUserId = Utils.getManagedProfileId(userManager, mContext.getUserId()); in collectLocaleBridgeInfo()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowUtils.java120 protected static int getManagedProfileId(UserManager um, int parentUserId) { in getManagedProfileId() method in ShadowUtils
/packages/apps/Settings/src/com/android/settings/inputmethod/
DAvailableVirtualKeyboardFragment.java83 ? currentUserId : Utils.getManagedProfileId(userManager, currentUserId); in onAttach()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java127 int profileOwnerUserId = Utils.getManagedProfileId(um, UserHandle.myUserId()); in isNetworkLockedDown()

12