Home
last modified time | relevance | path

Searched refs:getPackageManager (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java59 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/
DLaunchWarningWindow.java46 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()
DAppNotRespondingDialog.java54 ? activity.info.loadLabel(context.getPackageManager()) in AppNotRespondingDialog()
58 (name2=context.getPackageManager().getApplicationLabel(app.info)) != null) { in AppNotRespondingDialog()
DCompatModePackages.java124 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()
DAppWaitingForDebuggerDialog.java34 mAppName = context.getPackageManager().getApplicationLabel(app.info); in AppWaitingForDebuggerDialog()
DStrictModeViolationDialog.java51 (name=context.getPackageManager().getApplicationLabel(app.info)) != null) { in StrictModeViolationDialog()
DAppErrorDialog.java51 (name=context.getPackageManager().getApplicationLabel(app.info)) != null) { in AppErrorDialog()
/frameworks/base/core/java/android/app/
DAppGlobals.java46 public static IPackageManager getPackageManager() { in getPackageManager() method in AppGlobals
47 return ActivityThread.getPackageManager(); in getPackageManager()
DAliasActivity.java58 ActivityInfo ai = getPackageManager().getActivityInfo( in onCreate()
60 parser = ai.loadXmlMetaData(getPackageManager(), in onCreate()
/frameworks/base/core/java/android/server/search/
DSearchables.java118 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/
DHeavyWeightSwitcherActivity.java110 ApplicationInfo info = getPackageManager().getApplicationInfo( in setIconAndText()
112 appName = info.loadLabel(getPackageManager()); in setIconAndText()
113 appIcon = info.loadIcon(getPackageManager()); in setIconAndText()
DResolverActivity.java83 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/
DRecognitionManagerService.java76 mContext.getPackageManager().getServiceInfo(comp, 0); in systemReady()
90 mContext.getPackageManager().queryIntentServices( in findAvailRecognizer()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java73 PackageManager pm = getPackageManager();
82 PackageManager pm = getPackageManager();
/frameworks/base/core/tests/coretests/src/android/app/
DSearchablesTest.java101 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/
DPluginManager.java115 PackageManager pm = mContext.getPackageManager(); in getPluginDirectories()
210 PackageManager pm = mContext.getPackageManager(); in containsPluginPermissionAndSignatures()
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DPmPermissionsTests.java34 mPm = getContext().getPackageManager(); in setUp()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java239 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/
DTtsEngines.java99 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/
DSimSmsInterfaceManager.java236 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/
DMediaMimeTest.java121 return mContext.getPackageManager().resolveActivity( in resolveMime()
/frameworks/base/core/java/android/speech/
DRecognizerIntent.java290 ResolveInfo ri = context.getPackageManager().resolveActivity( in getVoiceDetailsIntent()
/frameworks/base/voip/java/android/net/sip/
DSipManager.java131 return context.getPackageManager().hasSystemFeature( in isApiSupported()
139 return context.getPackageManager().hasSystemFeature( in isVoipSupported()
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java92 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/
DRecentTasksLoader.java121 final PackageManager pm = mContext.getPackageManager(); in createTaskDescription()
218 final PackageManager pm = mContext.getPackageManager(); in getRecentTasks()

12345