/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | MetaDataTest.java | 59 XmlResourceParser xml = ci.loadXmlMetaData(mContext.getPackageManager(), in checkMetaData() 100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo( in testActivityWithData() 105 ai = mContext.getPackageManager().getActivityInfo(cn, 0); in testActivityWithData() 113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo( in testReceiverWithData() 118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0); in testReceiverWithData() 126 ServiceInfo si = mContext.getPackageManager().getServiceInfo( in testServiceWithData() 131 si = mContext.getPackageManager().getServiceInfo(cn, 0); in testServiceWithData() 139 ProviderInfo pi = mContext.getPackageManager().resolveContentProvider( in testProviderWithData() 144 pi = mContext.getPackageManager().resolveContentProvider( in testProviderWithData() 154 PermissionInfo pi = mContext.getPackageManager().getPermissionInfo( in testPermissionWithData() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | LaunchWarningWindow.java | 46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow() 49 next.info.applicationInfo.loadLabel(context.getPackageManager()).toString())); in LaunchWarningWindow() 51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow() 54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString())); in LaunchWarningWindow()
|
D | CompatModePackages.java | 149 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in handlePackageAddedLocked() 248 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in getPackageScreenCompatModeLocked() 260 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); in setPackageScreenCompatModeLocked() 368 final IPackageManager pm = AppGlobals.getPackageManager(); in saveCompatModes()
|
D | AppNotRespondingDialog.java | 52 ? activity.info.loadLabel(context.getPackageManager()) in AppNotRespondingDialog() 56 (name2=context.getPackageManager().getApplicationLabel(app.info)) != null) { in AppNotRespondingDialog()
|
/frameworks/base/core/java/android/app/ |
D | AppGlobals.java | 46 public static IPackageManager getPackageManager() { in getPackageManager() method in AppGlobals 47 return ActivityThread.getPackageManager(); in getPackageManager()
|
D | TaskStackBuilder.java | 109 target = nextIntent.resolveActivity(mSourceContext.getPackageManager()); in addNextIntentWithParentStack() 135 target = parent.resolveActivity(mSourceContext.getPackageManager()); in addParentStack() 166 PackageManager pm = mSourceContext.getPackageManager(); in addParentStack()
|
D | AliasActivity.java | 58 ActivityInfo ai = getPackageManager().getActivityInfo( in onCreate() 60 parser = ai.loadXmlMetaData(getPackageManager(), in onCreate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | HeavyWeightSwitcherActivity.java | 109 ApplicationInfo info = getPackageManager().getApplicationInfo( in setIconAndText() 111 appName = info.loadLabel(getPackageManager()); in setIconAndText() 112 appIcon = info.loadIcon(getPackageManager()); in setIconAndText()
|
D | IntentForwarderActivity.java | 96 final android.content.pm.ResolveInfo ri = getPackageManager().resolveActivityAsUser( in onCreate() 135 IPackageManager ipm = AppGlobals.getPackageManager(); in canForward()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | PowerTest.java | 54 PackageManager pm = getPackageManager(); 63 PackageManager pm = getPackageManager();
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
D | VersionDialog.java | 52 activity.getApplicationInfo().loadLabel(activity.getPackageManager()), in onCreateDialog() 53 context.getApplicationInfo().loadLabel(context.getPackageManager()))); in onCreateDialog()
|
D | SharedLibraryMain.java | 45 pi = context.getPackageManager().getPackageInfo(LIBRARY_PACKAGE, 0); in getVersion()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | MediaSizeUtils.java | 100 return lhs.getLabel(mContext.getPackageManager()). in compare() 101 compareTo(rhs.getLabel(mContext.getPackageManager())); in compare()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentTasksLoader.java | 152 final PackageManager pm = mContext.getPackageManager(); in isCurrentHomeActivity() 168 final PackageManager pm = mContext.getPackageManager(); in createTaskDescription() 169 final IPackageManager ipm = AppGlobals.getPackageManager(); in createTaskDescription() 201 final PackageManager pm = mContext.getPackageManager(); in loadThumbnailAndIcon() 206 icon = mContext.getPackageManager().getUserBadgedIcon(icon, new UserHandle(td.userId)); in loadThumbnailAndIcon() 451 final PackageManager pm = mContext.getPackageManager(); in loadTasksInBackground()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | PreviewInflater.java | 81 PackageManager packageManager = mContext.getPackageManager(); in getWidgetInfo() 110 PackageManager packageManager = ctx.getPackageManager(); in wouldLaunchResolverActivity()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 101 MyMockPackageManager mockPM = new MyMockPackageManager(mContext.getPackageManager()); in testSearchablesListReal() 121 MyMockPackageManager mockPM = new MyMockPackageManager(mContext.getPackageManager()); in testSearchablesListEmpty() 255 public PackageManager getPackageManager() { in getPackageManager() method in SearchablesTest.MyMockContext
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCase.java | 31 PackageManager pm = getPackageManager(); in onStart()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 479 return mContext.getPackageManager() in isUserAGoat() 964 return mContext.getPackageManager().getUserBadgedIcon(icon, user); in getBadgedIconForUser() 994 return mContext.getPackageManager().getUserBadgedDrawableForDensity(badgedDrawable, user, in getBadgedDrawableForUser() 1011 return mContext.getPackageManager().getUserBadgedLabel(label, user); in getBadgedLabelForUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 82 mPm = mContext.getPackageManager(); in LauncherAppsImpl() 237 IPackageManager pm = AppGlobals.getPackageManager(); in isPackageEnabled() 255 IPackageManager pm = AppGlobals.getPackageManager(); in isActivityEnabled() 279 IPackageManager pm = AppGlobals.getPackageManager(); in startActivityAsUser()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProviderInfo.java | 367 Resources resources = context.getPackageManager().getResourcesForApplication( in loadDrawable() 378 return loadDefaultIcon ? providerInfo.loadIcon(context.getPackageManager()) : null; in loadDrawable()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderPackageFilter.java | 43 IPackageManager pm = AppGlobals.getPackageManager(); in matches()
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/ |
D | manifest-receivers.jd | 42 PackageManager pm = context.getPackageManager();
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | PmPermissionsTests.java | 34 mPm = getContext().getPackageManager(); in setUp()
|
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/ |
D | manifest-receivers.jd | 42 PackageManager pm = context.getPackageManager();
|
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/ |
D | manifest-receivers.jd | 42 PackageManager pm = context.getPackageManager();
|