Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/
DSoundWorkSettingsController.java80 private int mManagedProfileId; field in SoundWorkSettingsController
128 mManagedProfileId = mHelper.getManagedProfileId(mUserManager); in onResume()
190 if (mManagedProfileId == UserHandle.USER_NULL) { in getManagedProfileContext()
193 return mHelper.createPackageContextAsUser(mManagedProfileId); in getManagedProfileContext()
201 pref.setUserId(mManagedProfileId); in initWorkPreference()
244 Settings.Secure.SYNC_PARENT_SOUNDS, /* def= */ 0, mManagedProfileId) == 1) { in updateWorkPreferences()
253 Settings.Secure.SYNC_PARENT_SOUNDS, /* enabled= */ 1, mManagedProfileId); in enableWorkSync() local
274 Settings.Secure.SYNC_PARENT_SOUNDS, /* enabled= */ 0, mManagedProfileId); in disableWorkSync() local
306 if (mManagedProfileId == UserHandle.USER_NULL) { in onManagedProfileAdded()
307 mManagedProfileId = profileId; in onManagedProfileAdded()
[all …]
DPoliteNotifWorkProfileToggleController.java51 private final int mManagedProfileId; field in PoliteNotifWorkProfileToggleController
72 mManagedProfileId = helper.getManagedProfileId(UserManager.get(mContext)); in PoliteNotifWorkProfileToggleController()
105 return (mManagedProfileId != UserHandle.USER_NULL) ? AVAILABLE : DISABLED_FOR_USER; in getAvailabilityStatus()
114 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, mManagedProfileId) != OFF; in isChecked()
121 mManagedProfileId); in setChecked()