/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/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 | AppNotRespondingDialog.java | 54 ? activity.info.loadLabel(context.getPackageManager()) in AppNotRespondingDialog() 58 (name2=context.getPackageManager().getApplicationLabel(app.info)) != null) { in AppNotRespondingDialog()
|
D | CompatModePackages.java | 124 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0); in handlePackageAddedLocked() 223 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0); in getPackageScreenCompatModeLocked() 235 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0); in setPackageScreenCompatModeLocked() 355 final IPackageManager pm = AppGlobals.getPackageManager(); in saveCompatModes()
|
D | AppWaitingForDebuggerDialog.java | 34 mAppName = context.getPackageManager().getApplicationLabel(app.info); in AppWaitingForDebuggerDialog()
|
D | StrictModeViolationDialog.java | 51 (name=context.getPackageManager().getApplicationLabel(app.info)) != null) { in StrictModeViolationDialog()
|
D | AppErrorDialog.java | 51 (name=context.getPackageManager().getApplicationLabel(app.info)) != null) { in AppErrorDialog()
|
/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 | AliasActivity.java | 58 ActivityInfo ai = getPackageManager().getActivityInfo( in onCreate() 60 parser = ai.loadXmlMetaData(getPackageManager(), in onCreate()
|
/frameworks/base/core/java/android/server/search/ |
D | Searchables.java | 118 ai = mContext.getPackageManager(). in getSearchableInfo() 198 final PackageManager pm = mContext.getPackageManager(); in buildSearchableList() 265 PackageManager pm = mContext.getPackageManager(); in findGlobalSearchActivities() 304 PackageManager pm = mContext.getPackageManager(); in isInstalled() 377 PackageManager pm = mContext.getPackageManager(); in findWebSearchActivity()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | HeavyWeightSwitcherActivity.java | 110 ApplicationInfo info = getPackageManager().getApplicationInfo( in setIconAndText() 112 appName = info.loadLabel(getPackageManager()); in setIconAndText() 113 appIcon = info.loadIcon(getPackageManager()); in setIconAndText()
|
D | ResolverActivity.java | 83 mPm = getPackageManager(); in onCreate() 201 getPackageManager().addPreferredActivity(filter, bestMatch, set, in onIntentSelected() 281 getPackageManager(), 0); in ResolveListAdapter() 297 ri.loadLabel(getPackageManager()), null, ii)); in ResolveListAdapter()
|
/frameworks/base/services/java/com/android/server/ |
D | RecognitionManagerService.java | 76 mContext.getPackageManager().getServiceInfo(comp, 0); in systemReady() 90 mContext.getPackageManager().queryIntentServices( in findAvailRecognizer()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | PowerTest.java | 73 PackageManager pm = getPackageManager(); 82 PackageManager pm = getPackageManager();
|
/frameworks/base/core/tests/coretests/src/android/app/ |
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/core/java/android/webkit/ |
D | PluginManager.java | 115 PackageManager pm = mContext.getPackageManager(); in getPluginDirectories() 210 PackageManager pm = mContext.getPackageManager(); in containsPluginPermissionAndSignatures()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | PmPermissionsTests.java | 34 mPm = getContext().getPackageManager(); in setUp()
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 239 String[] packages = mContext.getPackageManager().getPackagesForUid(callerUid); in inSystemImage() 243 mContext.getPackageManager().getPackageInfo(name, 0 /* flags */); in inSystemImage() 255 PackageManager pm = mContext.getPackageManager(); in generateServicesMap() 371 PackageManager pm = mContext.getPackageManager(); in parseServiceInfo()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TtsEngines.java | 99 PackageManager pm = mContext.getPackageManager(); in getEngineInfo() 120 PackageManager pm = mContext.getPackageManager(); in getEngines() 159 PackageManager pm = mContext.getPackageManager(); in getSettingsIntent()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SimSmsInterfaceManager.java | 236 String client = context.getPackageManager().getNameForUid( in enableCellBroadcastRange() 263 String client = context.getPackageManager().getNameForUid( in disableCellBroadcastRange()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaMimeTest.java | 121 return mContext.getPackageManager().resolveActivity( in resolveMime()
|
/frameworks/base/core/java/android/speech/ |
D | RecognizerIntent.java | 290 ResolveInfo ri = context.getPackageManager().resolveActivity( in getVoiceDetailsIntent()
|
/frameworks/base/voip/java/android/net/sip/ |
D | SipManager.java | 131 return context.getPackageManager().hasSystemFeature( in isApiSupported() 139 return context.getPackageManager().hasSystemFeature( in isVoipSupported()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 92 mPm = mContext.getPackageManager(); in AppSecurityPermissions() 98 mPm = mContext.getPackageManager(); in AppSecurityPermissions() 119 mPm = mContext.getPackageManager(); in AppSecurityPermissions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentTasksLoader.java | 121 final PackageManager pm = mContext.getPackageManager(); in createTaskDescription() 218 final PackageManager pm = mContext.getPackageManager(); in getRecentTasks()
|