Searched refs:mManagedProfile (Results 1 – 2 of 2) sorted by relevance
46 @Nullable private final UserHandle mManagedProfile; field in ManagedProfileQuietModeEnabler58 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);
37 @Nullable private UserHandle mManagedProfile; field in ContentProtectionWorkSwitchController47 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()