/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RingtoneFactory.java | 70 Context userContext = isWorkContact(incomingCall) ? in getRingtone() local 76 if(ringtoneUri != null && userContext != null) { in getRingtone() 78 ringtone = RingtoneManager.getRingtone(userContext, ringtoneUri, volumeShaperConfig); in getRingtone() 83 Context contextToUse = hasDefaultRingtoneForUser(userContext) ? userContext : mContext; in getRingtone() 145 private boolean hasDefaultRingtoneForUser(Context userContext) { in hasDefaultRingtoneForUser() argument 146 if(userContext == null) { in hasDefaultRingtoneForUser() 149 return !TextUtils.isEmpty(Settings.System.getStringForUser(userContext.getContentResolver(), in hasDefaultRingtoneForUser() 150 Settings.System.RINGTONE, userContext.getUserId())); in hasDefaultRingtoneForUser()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | AppPreference.java | 52 Context userContext = getUserContext(); in AppPreference() local 53 PackageManager pm = userContext.getPackageManager(); in AppPreference() 60 label = VpnConfig.getVpnLabel(userContext, mPackageName).toString(); in AppPreference()
|
D | VpnSettings.java | 382 Context userContext = getActivity().createPackageContextAsUser( in onPreferenceClick() local 384 PackageManager pm = userContext.getPackageManager(); in onPreferenceClick() 387 userContext.startActivityAsUser(appIntent, user); in onPreferenceClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | AppPreference.java | 52 Context userContext = getUserContext(); in AppPreference() local 53 PackageManager pm = userContext.getPackageManager(); in AppPreference() 60 label = VpnConfig.getVpnLabel(userContext, mPackageName).toString(); in AppPreference()
|
D | VpnSettings.java | 383 Context userContext = getActivity().createPackageContextAsUser( in onPreferenceClick() local 385 PackageManager pm = userContext.getPackageManager(); in onPreferenceClick() 388 userContext.startActivityAsUser(appIntent, user); in onPreferenceClick()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | AppLocationPermissionPreferenceController.java | 96 final Context userContext = Utils.createPackageContextAsUser(mContext, in updateState() local 98 if (userContext == null) { in updateState() 107 userContext.getSystemService(PermissionControllerManager.class); in updateState()
|
D | TopLevelLocationPreferenceController.java | 87 final Context userContext = Utils.createPackageContextAsUser(mContext, in updateState() local 89 if (userContext == null) { in updateState() 96 userContext.getSystemService(PermissionControllerManager.class); in updateState()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | AssistantRoleBehavior.java | 114 Context userContext = UserUtils.getUserContext(context, user); in getQualifyingPackagesAsUser() local 115 ActivityManager userActivityManager = userContext.getSystemService(ActivityManager.class); in getQualifyingPackagesAsUser() 116 PackageManager userPackageManager = userContext.getPackageManager(); in getQualifyingPackagesAsUser()
|
D | RequiredBroadcastReceiver.java | 48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser() local 49 PackageManager userPackageManager = userContext.getPackageManager(); in queryIntentComponentsAsUser()
|
D | RequiredActivity.java | 48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser() local 49 PackageManager userPackageManager = userContext.getPackageManager(); in queryIntentComponentsAsUser()
|
D | RequiredContentProvider.java | 48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser() local 49 PackageManager userPackageManager = userContext.getPackageManager(); in queryIntentComponentsAsUser()
|
D | RequiredService.java | 48 Context userContext = UserUtils.getUserContext(context, user); in queryIntentComponentsAsUser() local 49 PackageManager userPackageManager = userContext.getPackageManager(); in queryIntentComponentsAsUser()
|
D | BrowserRoleBehavior.java | 92 Context userContext = UserUtils.getUserContext(context, user); in getQualifyingPackagesAsUserInternal() local 93 PackageManager userPackageManager = userContext.getPackageManager(); in getQualifyingPackagesAsUserInternal()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeEventRuleSettings.java | 189 final Context userContext = getContextForUser(context, user); in getCalendars() local 190 if (userContext != null) { in getCalendars() 191 addCalendars(userContext, calendars); in getCalendars()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeEventRuleSettings.java | 189 final Context userContext = getContextForUser(context, user); in getCalendars() local 190 if (userContext != null) { in getCalendars() 191 addCalendars(userContext, calendars); in getCalendars()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | VpnPreferenceController.java | 172 Context userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), in getNameForVpnConfig() local 174 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | VpnPreferenceController.java | 172 Context userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), in getNameForVpnConfig() local 174 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | Utils.java | 751 Context userContext = getParentUserContext(application); in updateUserSensitive() local 752 PackageManager pm = userContext.getPackageManager(); in updateUserSensitive() 753 RoleManager rm = userContext.getSystemService(RoleManager.class); in updateUserSensitive() 754 SharedPreferences prefs = userContext.getSharedPreferences(PREFERENCES_FILE, MODE_PRIVATE); in updateUserSensitive()
|