/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactDirectoryManagerTest.java | 53 private ContactsMockPackageManager mPackageManager; field in ContactDirectoryManagerTest 118 mPackageManager = (ContactsMockPackageManager) getProvider() in setUp() 146 mPackageManager.setInstalledPackages( in testScanAllProviders() 195 mPackageManager.setInstalledPackages( in testPackageInstalled() 224 mPackageManager.getInstalledPackages(0).add( in testPackageInstalled() 246 mPackageManager.setInstalledPackages( in testPackageUninstalled() 276 mPackageManager.getInstalledPackages(0).remove(1); in testPackageUninstalled() 292 mPackageManager.setInstalledPackages( in testPackageReplaced() 350 mPackageManager.setInstalledPackages( in testPackageRenamed() 380 PackageInfo info = mPackageManager.getInstalledPackages(0).get(1); in testPackageRenamed() [all …]
|
D | ContactsActor.java | 236 private final ContactsMockPackageManager mPackageManager; field in ContactsActor.RestrictionMockContext 254 mPackageManager = new ContactsMockPackageManager(); in RestrictionMockContext() 255 mPackageManager.addPackage(1000, PACKAGE_GREY); in RestrictionMockContext() 256 mPackageManager.addPackage(2000, PACKAGE_RED); in RestrictionMockContext() 257 mPackageManager.addPackage(3000, PACKAGE_GREEN); in RestrictionMockContext() 258 mPackageManager.addPackage(4000, PACKAGE_BLUE); in RestrictionMockContext() 274 return mPackageManager; in getPackageManager()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | Compatibility.java | 110 PackageManager mPackageManager; field in Compatibility.Service 119 if (mPackageManager == null) { in onHandleIntent() 120 mPackageManager = getPackageManager(); in onHandleIntent() 150 …List<ResolveInfo> ris = mPackageManager.queryIntentActivities(i, PackageManager.GET_DISABLED_COMPO… in pickDefaultControlPanel() 200 …List<ResolveInfo> ris = mPackageManager.queryBroadcastReceivers(i, PackageManager.GET_DISABLED_COM… in setDefault() 204 … ris = mPackageManager.queryBroadcastReceivers(i, PackageManager.GET_DISABLED_COMPONENTS); in setDefault() 226 mPackageManager.setComponentEnabledSetting(comp, in setupReceivers() 231 mPackageManager.setComponentEnabledSetting(comp, in setupReceivers()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | ResolveCache.java | 64 private final PackageManager mPackageManager; field in ResolveCache 116 mPackageManager = context.getPackageManager(); in ResolveCache() 136 final List<ResolveInfo> matches = mPackageManager.queryIntentActivities(intent, in getEntry() 149 final Drawable icon = bestResolve.loadIcon(mPackageManager); in getEntry() 171 final ResolveInfo foundResolve = mPackageManager.resolveActivity(intent, in getBestResolve() 211 final CharSequence infoStr = info != null ? info.loadLabel(mPackageManager) : null; in getDescription()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | IconCache.java | 49 private final PackageManager mPackageManager; field in IconCache 59 mPackageManager = context.getPackageManager(); in IconCache() 85 resources = mPackageManager.getResourcesForApplication(packageName); in getFullResIcon() 105 resources = mPackageManager.getResourcesForApplication( in getFullResIcon() 164 final ResolveInfo resolveInfo = mPackageManager.resolveActivity(intent, 0); in getIcon() 204 entry.title = info.loadLabel(mPackageManager).toString(); in cacheLocked()
|
D | LauncherModel.java | 2544 private PackageManager mPackageManager; 2547 mPackageManager = pm; 2552 mPackageManager = pm; 2563 labelA = a.loadLabel(mPackageManager).toString(); 2570 labelB = b.loadLabel(mPackageManager).toString(); 2579 private PackageManager mPackageManager; 2582 mPackageManager = pm; 2593 ((ResolveInfo) a).loadLabel(mPackageManager).toString(); 2601 ((ResolveInfo) b).loadLabel(mPackageManager).toString();
|
D | WidgetPreviewLoader.java | 111 private PackageManager mPackageManager; field in WidgetPreviewLoader 144 mPackageManager = mContext.getPackageManager(); in WidgetPreviewLoader() 430 drawable = mPackageManager.getDrawable(packageName, previewImage, null); in generateWidgetPreview()
|
D | AppsCustomizePagedView.java | 166 private final PackageManager mPackageManager; field in AppsCustomizePagedView 249 mPackageManager = context.getPackageManager(); in AppsCustomizePagedView() 1220 widget.applyFromResolveInfo(mPackageManager, info, mWidgetPreviewLoader); in syncWidgetPageItems() 1642 Log.d(tag, " label=\"" + info.loadLabel(mPackageManager) + "\" icon="
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactDirectoryManager.java | 102 private final PackageManager mPackageManager; field in ContactDirectoryManager 107 mPackageManager = mContext.getPackageManager(); in ContactDirectoryManager() 119 final String[] callerPackages = mPackageManager.getPackagesForUid(callingUid); in scanPackagesByUid() 164 Resources resources = mPackageManager.getResourcesForApplication(packageName); in getResourceNameById() 256 for (String packageName : getDirectoryProviderPackages(mPackageManager)) { in scanAllPackages() 268 packageInfo = mPackageManager.getPackageInfo(packageName, in scanAllPackages() 338 packageInfo = mPackageManager.getPackageInfo(packageName, in onPackageChanged()
|
/packages/apps/Phone/src/com/android/phone/sip/ |
D | SipSettings.java | 75 private PackageManager mPackageManager; field in SipSettings 133 String[] pkgs = mPackageManager.getPackagesForUid(uid); in getPackageNameFromUid() 135 mPackageManager.getApplicationInfo(pkgs[0], 0); in getPackageNameFromUid() 136 return ai.loadLabel(mPackageManager).toString(); in getPackageNameFromUid() 151 mPackageManager = getPackageManager(); in onCreate()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperListAdapter.java | 56 private final PackageManager mPackageManager; field in LiveWallpaperListAdapter 63 mPackageManager = context.getPackageManager(); in LiveWallpaperListAdapter() 65 List<ResolveInfo> list = mPackageManager.queryIntentServices( in LiveWallpaperListAdapter() 117 holder.title.setText(wallpaperInfo.info.loadLabel(mPackageManager)); in getView()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pLinkManager.java | 192 PackageManager mPackageManager; field in P2pLinkManager 225 mPackageManager = context.getPackageManager(); in P2pLinkManager() 287 mValidCallbackPackages = mPackageManager.getPackagesForUid(callingUid); in setNdefCallback() 384 mPackageManager = mContext.createPackageContextAsUser("android", 0, in onUserSwitched() 464 ApplicationInfo ai = mPackageManager.getApplicationInfo(pkgName, in beamDefaultDisabled()
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | ContactsMockContext.java | 35 private ContactsMockPackageManager mPackageManager; field in ContactsMockContext 43 mPackageManager = new ContactsMockPackageManager(); in ContactsMockContext() 68 return mPackageManager; in getPackageManager()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AppWidgetPickActivity.java | 60 private PackageManager mPackageManager; field in AppWidgetPickActivity 64 mPackageManager = getPackageManager(); in onCreate() 121 Resources packageResources = mPackageManager. in createItem()
|
D | KeyguardAppWidgetPickActivity.java | 202 private PackageManager mPackageManager; field in KeyguardAppWidgetPickActivity.Item.WidgetPreviewLoader 208 mPackageManager = context.getPackageManager(); in WidgetPreviewLoader() 309 drawable = mPackageManager.getDrawable(packageName, previewImage, null); in getWidgetPreview() 399 resources = mPackageManager.getResourcesForApplication(packageName); in getFullResIcon()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AppRestrictionsFragment.java | 110 private PackageManager mPackageManager; field in AppRestrictionsFragment 288 mPackageManager = getActivity().getPackageManager(); in onCreate() 395 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); in isSystemPackage() 442 final PackageManager pm = mPackageManager; in addSystemApps() 490 final PackageManager pm = mPackageManager; in fetchAndMergeApps() 582 final PackageManager pm = mPackageManager; in populateApps()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailDisplayUtils.java | 444 private final PackageManager mPackageManager; field in ContactDetailDisplayUtils.DefaultImageGetter 447 mPackageManager = packageManager; in DefaultImageGetter() 507 return mPackageManager.getResourcesForApplication(packageName); in getResourcesForResourceName()
|