Home
last modified time | relevance | path

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

/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/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DManagedProfileChecker.java27 UserHandle managedProfile = new Utils().getManagedProfile(context);
28 return managedProfile != null;
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGenericController.java165 final boolean managedProfile = mContext.getSystemService(UserManager.class) in isScreenLockVisible()
171 && !managedProfile; // Profiles should use unified challenge instead. in isScreenLockVisible()
175 && !managedProfile; // Swipe doesn't make sense for profiles. in isScreenLockVisible()
/packages/apps/Settings/src/com/android/settings/widget/
DRadioButtonPickerFragment.java76 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in onAttach() local
77 mUserId = mForWork && managedProfile != null in onAttach()
78 ? managedProfile.getIdentifier() in onAttach()
/packages/apps/Settings/tests/legacy_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/apps/Settings/src/com/android/settings/notification/
DRedactionInterstitial.java182 final boolean managedProfile = UserManager.get(getContext()).isManagedProfile(mUserId); in loadFromSettings()
185 final boolean showNotifications = managedProfile || Settings.Secure.getIntForUser( in loadFromSettings()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java312 final UserInfo managedProfile = in testGetNumberOfOwnerInstalledCaCertsForManagedProfile() local
322 mProfiles.add(managedProfile); in testGetNumberOfOwnerInstalledCaCertsForManagedProfile()