Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java253 userContext(context).getPackageManager().setComponentEnabledSetting( in setTunerEnabled()
261 return userContext(context).getPackageManager().getComponentEnabledSetting( in isTunerEnabled()
266 private static Context userContext(Context context) { in userContext() method in TunerService
/frameworks/base/core/java/android/app/
DSearchableInfo.java519 Context userContext = null; in getActivityMetaData() local
521 userContext = context.createPackageContextAsUser("system", 0, in getActivityMetaData()
529 activityInfo.loadXmlMetaData(userContext.getPackageManager(), MD_LABEL_SEARCHABLE); in getActivityMetaData()
535 SearchableInfo searchable = getActivityMetaData(userContext, xml, cName); in getActivityMetaData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java205 Context userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), in getNameForVpnConfig() local
207 return VpnConfig.getVpnLabel(userContext, vpnPackage).toString(); in getNameForVpnConfig()
/frameworks/base/services/core/java/com/android/server/notification/
DCalendarTracker.java74 public CalendarTracker(Context systemContext, Context userContext) { in CalendarTracker() argument
76 mUserContext = userContext; in CalendarTracker()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java676 Context userContext = mContext; in onPackageChanged() local
680 userContext = mContext.createPackageContextAsUser(mContext.getPackageName(), 0, in onPackageChanged()
689 ComponentName componentName = getDefaultSendToApplication(userContext, true); in onPackageChanged()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2732 final Context userContext; in manageNotification() local
2735 userContext = mContext.createPackageContextAsUser(packageName, 0, userHandle); in manageNotification()
2740 final Notification noti = new Notification.Builder(userContext) in manageNotification()
6166 final Context userContext; in getApplicationLabel() local
6169 userContext = mContext.createPackageContextAsUser(packageName, 0, handle); in getApplicationLabel()
6174 ApplicationInfo appInfo = userContext.getApplicationInfo(); in getApplicationLabel()
6177 PackageManager pm = userContext.getPackageManager(); in getApplicationLabel()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java536 Context userContext = mContext.createPackageContextAsUser(providerPackage, 0, in createMaskedWidgetBitmap() local
538 PackageManager pm = userContext.getPackageManager(); in createMaskedWidgetBitmap()