Home
last modified time | relevance | path

Searched refs:userContext (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java197 userContext(context).getPackageManager().setComponentEnabledSetting( in setTunerEnabled()
205 return userContext(context).getPackageManager().getComponentEnabledSetting( in isTunerEnabled()
210 private static Context userContext(Context context) { in userContext() method in TunerService
/frameworks/base/core/java/android/app/
DSearchableInfo.java518 Context userContext = null; in getActivityMetaData() local
520 userContext = context.createPackageContextAsUser("system", 0, in getActivityMetaData()
528 activityInfo.loadXmlMetaData(userContext.getPackageManager(), MD_LABEL_SEARCHABLE); in getActivityMetaData()
534 SearchableInfo searchable = getActivityMetaData(userContext, xml, cName); in getActivityMetaData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java195 Context userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), in getNameForVpnConfig() local
197 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig()
/frameworks/base/services/core/java/com/android/server/notification/
DCalendarTracker.java73 public CalendarTracker(Context systemContext, Context userContext) { in CalendarTracker() argument
75 mUserContext = userContext; in CalendarTracker()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java541 Context userContext = mContext; in onPackageChanged() local
545 userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), 0, in onPackageChanged()
554 ComponentName componentName = getDefaultSendToApplication(userContext, true); in onPackageChanged()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1919 final Context userContext; in manageNotification() local
1921 userContext = mContext.createPackageContextAsUser("android", 0, userHandle); in manageNotification()
1926 final Notification noti = new Notification.Builder(userContext) in manageNotification()
4605 final Context userContext; in getApplicationLabel() local
4608 userContext = mContext.createPackageContextAsUser(packageName, 0, handle); in getApplicationLabel()
4613 ApplicationInfo appInfo = userContext.getApplicationInfo(); in getApplicationLabel()
4616 PackageManager pm = userContext.getPackageManager(); in getApplicationLabel()