Searched refs:mManagedProfileId (Results 1 – 2 of 2) sorted by relevance
80 private int mManagedProfileId; field in SoundWorkSettingsController128 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() local274 Settings.Secure.SYNC_PARENT_SOUNDS, /* enabled= */ 0, mManagedProfileId); in disableWorkSync() local306 if (mManagedProfileId == UserHandle.USER_NULL) { in onManagedProfileAdded()307 mManagedProfileId = profileId; in onManagedProfileAdded()[all …]
51 private final int mManagedProfileId; field in PoliteNotifWorkProfileToggleController72 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()