Home
last modified time | relevance | path

Searched refs:managedProfile (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGenericController.java104 final boolean managedProfile = mUserId != UserHandle.myUserId(); in isScreenLockVisible()
108 && !managedProfile; // Profiles should use unified challenge instead. in isScreenLockVisible()
111 && !managedProfile; // Swipe doesn't make sense for profiles. in isScreenLockVisible()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGenericController.java104 final boolean managedProfile = mUserId != UserHandle.myUserId(); in isScreenLockVisible()
108 && !managedProfile; // Profiles should use unified challenge instead. in isScreenLockVisible()
111 && !managedProfile; // Swipe doesn't make sense for profiles. in isScreenLockVisible()
/packages/apps/Settings/src/com/android/settings/location/
DLocationEnabler.java136 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in isManagedProfileRestrictedByBase() local
137 return managedProfile != null in isManagedProfileRestrictedByBase()
138 && hasShareLocationRestriction(managedProfile.getIdentifier()); in isManagedProfileRestrictedByBase()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationEnabler.java136 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in isManagedProfileRestrictedByBase() local
137 return managedProfile != null in isManagedProfileRestrictedByBase()
138 && hasShareLocationRestriction(managedProfile.getIdentifier()); in isManagedProfileRestrictedByBase()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRadioButtonPickerFragment.java75 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in onAttach() local
76 mUserId = mForWork && managedProfile != null in onAttach()
77 ? managedProfile.getIdentifier() in onAttach()
/packages/apps/Settings/src/com/android/settings/widget/
DRadioButtonPickerFragment.java75 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in onAttach() local
76 mUserId = mForWork && managedProfile != null in onAttach()
77 ? managedProfile.getIdentifier() in onAttach()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUtilsTest.java51 UserInfo managedProfile = new UserInfo(TEST_MANAGED_PROFILE_ID, null, in setUp() local
53 when(mUserManager.getUserInfo(eq(TEST_MANAGED_PROFILE_ID))).thenReturn(managedProfile); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DRedactionInterstitial.java177 final boolean managedProfile = UserManager.get(getContext()).isManagedProfile(mUserId); in loadFromSettings()
180 final boolean showNotifications = managedProfile || Settings.Secure.getIntForUser( in loadFromSettings()
/packages/apps/Settings/src/com/android/settings/notification/
DRedactionInterstitial.java176 final boolean managedProfile = UserManager.get(getContext()).isManagedProfile(mUserId); in loadFromSettings()
179 final boolean showNotifications = managedProfile || Settings.Secure.getIntForUser( in loadFromSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java321 final UserInfo managedProfile = in testGetNumberOfOwnerInstalledCaCertsForManagedProfile() local
331 mProfiles.add(managedProfile); in testGetNumberOfOwnerInstalledCaCertsForManagedProfile()