Home
last modified time | relevance | path

Searched refs:managedProfileContext (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DWorkSoundPreferenceController.java244 final Context managedProfileContext = getManagedProfileContext(); in updateWorkPreferences() local
245 if (Settings.Secure.getIntForUser(managedProfileContext.getContentResolver(), in updateWorkPreferences()
284 Context managedProfileContext = getManagedProfileContext(); in updateWorkRingtoneSummaries() local
288 updateRingtoneName(managedProfileContext, RingtoneManager.TYPE_RINGTONE)); in updateWorkRingtoneSummaries()
291 updateRingtoneName(managedProfileContext, RingtoneManager.TYPE_NOTIFICATION)); in updateWorkRingtoneSummaries()
293 updateRingtoneName(managedProfileContext, RingtoneManager.TYPE_ALARM)); in updateWorkRingtoneSummaries()
/packages/apps/Settings/src/com/android/settings/notification/
DWorkSoundPreferenceController.java244 final Context managedProfileContext = getManagedProfileContext(); in updateWorkPreferences() local
245 if (Settings.Secure.getIntForUser(managedProfileContext.getContentResolver(), in updateWorkPreferences()
284 Context managedProfileContext = getManagedProfileContext(); in updateWorkRingtoneSummaries() local
288 updateRingtoneName(managedProfileContext, RingtoneManager.TYPE_RINGTONE)); in updateWorkRingtoneSummaries()
291 updateRingtoneName(managedProfileContext, RingtoneManager.TYPE_NOTIFICATION)); in updateWorkRingtoneSummaries()
293 updateRingtoneName(managedProfileContext, RingtoneManager.TYPE_ALARM)); in updateWorkRingtoneSummaries()
/packages/apps/Settings/src/com/android/settings/accounts/
DCrossProfileCalendarPreferenceController.java75 final Context managedProfileContext = createPackageContextAsUser(context, userId); in isCrossProfileCalendarDisallowedByAdmin() local
76 final DevicePolicyManager dpm = managedProfileContext.getSystemService( in isCrossProfileCalendarDisallowedByAdmin()