Searched refs:managedProfileContext (Results 1 – 3 of 3) sorted by relevance
244 final Context managedProfileContext = getManagedProfileContext(); in updateWorkPreferences() local245 if (Settings.Secure.getIntForUser(managedProfileContext.getContentResolver(), in updateWorkPreferences()284 Context managedProfileContext = getManagedProfileContext(); in updateWorkRingtoneSummaries() local288 updateRingtoneName(managedProfileContext, RingtoneManager.TYPE_RINGTONE)); in updateWorkRingtoneSummaries()291 updateRingtoneName(managedProfileContext, RingtoneManager.TYPE_NOTIFICATION)); in updateWorkRingtoneSummaries()293 updateRingtoneName(managedProfileContext, RingtoneManager.TYPE_ALARM)); in updateWorkRingtoneSummaries()
75 final Context managedProfileContext = createPackageContextAsUser(context, userId); in isCrossProfileCalendarDisallowedByAdmin() local76 final DevicePolicyManager dpm = managedProfileContext.getSystemService( in isCrossProfileCalendarDisallowedByAdmin()