Home
last modified time | relevance | path

Searched refs:mPM (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/app/
DApplicationPackageManager.java186 PackageInfo pi = mPM.getPackageInfoVersioned(versionedPackage, in getPackageInfo()
214 return mPM.currentToCanonicalPackageNames(names); in currentToCanonicalPackageNames()
223 return mPM.canonicalToCurrentPackageNames(names); in canonicalToCurrentPackageNames()
294 int[] gids = mPM.getPackageGids(packageName, in getPackageGids()
320 int uid = mPM.getPackageUid(packageName, in getPackageUidAsUser()
458 ActivityInfo ai = mPM.getActivityInfo(className, in getActivityInfo()
475 ActivityInfo ai = mPM.getReceiverInfo(className, in getReceiverInfo()
492 ServiceInfo si = mPM.getServiceInfo(className, in getServiceInfo()
509 ProviderInfo pi = mPM.getProviderInfo(className, in getProviderInfo()
524 return mPM.getSystemSharedLibraryNames(); in getSystemSharedLibraryNames()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDynamicCodeLoggerTests.java85 @Mock IPackageManager mPM; field in DynamicCodeLoggerTests
109 mDynamicCodeLogger = new DynamicCodeLogger(mPM, mInstaller, packageDynamicCodeLoading) { in setup()
125 doReturn(packageInfo).when(mPM) in setup()
263 verify(mPM, atMost(1)).getPackageInfo(OWNING_PACKAGE_NAME, /*flags*/ 0, OWNER_USER_ID); in testMultipleLoadersAndFiles()
268 reset(mPM); in testUnknownOwner()
274 verifyZeroInteractions(mPM); in testUnknownOwner()
279 reset(mPM); in testUninstalledPackage()
289 doReturn(uid).when(mPM).getPackageUid(packageName, /*flags*/ 0, OWNER_USER_ID); in setPackageUid()
306 when(mPM.getPackagesForUid(loadingUid)).thenReturn(packageNames); in recordLoadNative()
DDexManagerTests.java74 @Mock IPackageManager mPM; field in DexManagerTests
117 mDexManager = new DexManager(/*Context*/ null, mPM, /*PackageDexOptimizer*/ null, in setup()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DNumPadKey.java41 private final PowerManager mPM; field in NumPadKey
64 mPM.userActivity(SystemClock.uptimeMillis(), false); in userActivity()
96 mPM = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in NumPadKey()
DPasswordTextView.java95 private PowerManager mPM; field in PasswordTextView
152 mPM = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in PasswordTextView()
247 mPM.userActivity(SystemClock.uptimeMillis(), false); in userActivity()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java491 mPM = pm; in DisplayNameComparator()
495 CharSequence sa = aa.loadLabel(mPM); in compare()
497 CharSequence sb = ab.loadLabel(mPM); in compare()
503 private PackageManager mPM; field in PackageItemInfo.DisplayNameComparator
DResolveInfo.java506 mPM = pm; in DisplayNameComparator()
518 CharSequence sa = a.loadLabel(mPM); in compare()
520 CharSequence sb = b.loadLabel(mPM); in compare()
527 private PackageManager mPM; field in ResolveInfo.DisplayNameComparator
DApplicationInfo.java1598 mPM = pm; in DisplayNameComparator()
1602 CharSequence sa = mPM.getApplicationLabel(aa); in compare()
1606 CharSequence sb = mPM.getApplicationLabel(ab); in compare()
1617 private PackageManager mPM; field in ApplicationInfo.DisplayNameComparator
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java35 IPackageManager mPM; field in JobSchedulerShellCommand
39 mPM = AppGlobals.getPackageManager(); in JobSchedulerShellCommand()
90 final int perm = mPM.checkUidPermission( in checkPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java228 private final PowerManager mPM; field in KeyguardViewMediator
735 mPM = powerManager; in KeyguardViewMediator()
754 mPM.userActivity(SystemClock.uptimeMillis(), false); in userActivity()
763 mShowKeyguardWakeLock = mPM.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "show keyguard"); in setupLocked()
798 mDeviceInteractive = mPM.isInteractive(); in setupLocked()