/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | PreIndexDataCollector.java | 132 List<SearchIndexableResource> getIndexablesForXmlResourceUri(Context packageContext, in getIndexablesForXmlResourceUri() argument 135 final ContentResolver resolver = packageContext.getContentResolver(); in getIndexablesForXmlResourceUri() 148 SearchIndexableResource sir = new SearchIndexableResource(packageContext); in getIndexablesForXmlResourceUri() 182 final Context packageContext = mContext.createPackageContext(packageName, 0); in getNonIndexablesKeysFromRemoteProvider() local 185 return getNonIndexablesKeys(packageContext, uriForNonIndexableKeys, in getNonIndexablesKeysFromRemoteProvider() 215 List<SearchIndexableRaw> getIndexablesForRawDataUri(Context packageContext, String packageName, in getIndexablesForRawDataUri() argument 217 final ContentResolver resolver = packageContext.getContentResolver(); in getIndexablesForRawDataUri() 250 SearchIndexableRaw data = new SearchIndexableRaw(packageContext); in getIndexablesForRawDataUri() 277 List<Pair<String, String>> getSiteMapFromProvider(Context packageContext, Uri uri) { in getSiteMapFromProvider() argument 278 final ContentResolver resolver = packageContext.getContentResolver(); in getSiteMapFromProvider() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | Util.java | 47 public static Uri getResourceUri(Context packageContext, int res) { in getResourceUri() argument 49 Resources resources = packageContext.getResources(); in getResourceUri() 50 return getResourceUri(resources, packageContext.getPackageName(), res); in getResourceUri() 52 Log.e(TAG, "Resource not found: " + res + " in " + packageContext.getPackageName()); in getResourceUri()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | CarNotificationHeaderView.java | 121 Context packageContext = sbn.getPackageContext(getContext()); in bind() local 125 Drawable drawable = notification.getSmallIcon().loadDrawable(packageContext); in bind() 218 final Context packageContext = sbn.getPackageContext(mContext); in loadHeaderAppName() local 219 final PackageManager pm = packageContext.getPackageManager(); in loadHeaderAppName() 221 CharSequence name = pm.getApplicationLabel(packageContext.getApplicationInfo()); in loadHeaderAppName()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | CursorToSearchResultConverter.java | 164 Context packageContext = contextMap.get(pkgName); in getIconForPackage() local 165 if (packageContext == null) { in getIconForPackage() 169 packageContext = new ContextThemeWrapper( in getIconForPackage() 172 contextMap.put(pkgName, packageContext); in getIconForPackage() 179 final Drawable drawable = packageContext.getDrawable(iconId); in getIconForPackage()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/ |
D | MediaSourceColors.java | 112 Context packageContext = mContext.createPackageContext(packageName, 0); in extractColors() local 119 packageContext.setTheme(appTheme); in extractColors() 120 Resources.Theme theme = packageContext.getTheme(); in extractColors()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
D | ActivityInstrumentationTestCaseIntent.java | 28 public ActivityInstrumentationTestCaseIntent(Context packageContext, Class<?> cls) { in ActivityInstrumentationTestCaseIntent() argument 29 super(packageContext, cls); in ActivityInstrumentationTestCaseIntent()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | PreviewActivity.java | 41 public static Intent newIntent(Context packageContext, WallpaperInfo wallpaperInfo) { in newIntent() argument 42 Intent intent = new Intent(packageContext, PreviewActivity.class); in newIntent()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | Action.java | 299 Context packageContext = context.createPackageContext(mResourcePackageName, 0); in getIndicator() local 300 icon = packageContext.getDrawable(mDrawableResource); in getIndicator()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/networkstack/ |
D | ModuleNetworkStackClient.java | 46 public static synchronized ModuleNetworkStackClient getInstance(Context packageContext) { in getInstance() argument
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | DownloadService.java | 152 public static Intent makeDownloadIntent(Context packageContext, Network network, in makeDownloadIntent() argument 154 final Intent intent = new Intent(packageContext, DownloadService.class); in makeDownloadIntent()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 3733 final Context packageContext = getContext().createPackageContext(packageName, 0); in getTitleFromResourceUri() local 3734 final Configuration configuration = packageContext.getResources().getConfiguration(); in getTitleFromResourceUri() 3736 resources = packageContext.createConfigurationContext(configuration).getResources(); in getTitleFromResourceUri()
|