Home
last modified time | relevance | path

Searched refs:mManagedProfile (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accounts/
DManagedProfileQuietModeEnabler.java46 @Nullable private final UserHandle mManagedProfile; field in ManagedProfileQuietModeEnabler
58 mManagedProfile = Utils.getManagedProfile(mUserManager); in ManagedProfileQuietModeEnabler()
62 if (mManagedProfile == null) { in setQuietModeEnabled()
67 mUserManager.requestQuietModeEnabled(enabled, mManagedProfile); in setQuietModeEnabled()
70 mUserManager.requestQuietModeEnabled(enabled, mManagedProfile); in setQuietModeEnabled()
75 return mManagedProfile != null && mUserManager.isQuietModeEnabled(mManagedProfile); in isQuietModeEnabled()
92 return (mManagedProfile != null); in isAvailable()
119 if (intentUserIdentifier == mManagedProfile.getIdentifier()) {
123 + " does not match managed user: " + mManagedProfile);
/packages/apps/Settings/src/com/android/settings/security/
DContentProtectionWorkSwitchController.java37 @Nullable private UserHandle mManagedProfile; field in ContentProtectionWorkSwitchController
47 mManagedProfile = getManagedProfile(); in ContentProtectionWorkSwitchController()
48 if (mManagedProfile != null) { in ContentProtectionWorkSwitchController()
49 mContentProtectionPolicy = getContentProtectionPolicy(mManagedProfile); in ContentProtectionWorkSwitchController()
59 if (mManagedProfile == null) { in getAvailabilityStatus()
88 manageDevicePolicyEnabled() ? mManagedProfile : getManagedProfile(); in displayPreference()