Searched refs:userContext (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | SearchableInfo.java | 517 Context userContext = null; in getActivityMetaData() local 519 userContext = context.createPackageContextAsUser("system", 0, in getActivityMetaData() 527 activityInfo.loadXmlMetaData(userContext.getPackageManager(), MD_LABEL_SEARCHABLE); in getActivityMetaData() 533 SearchableInfo searchable = getActivityMetaData(userContext, xml, cName); in getActivityMetaData()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardHostView.java | 170 Context userContext = null; in KeyguardHostView() local 173 userContext = mContext.createPackageContextAsUser(packageName, 0, in KeyguardHostView() 179 userContext = context; in KeyguardHostView() 182 mAppWidgetHost = new AppWidgetHost(userContext, APPWIDGET_HOST_ID, mOnClickHandler, in KeyguardHostView() 185 mAppWidgetManager = AppWidgetManager.getInstance(userContext); in KeyguardHostView()
|