Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DApplicationPackageManager.java247 PackageInfo pi = mPM.getPackageInfoVersioned(versionedPackage, in getPackageInfo()
281 return mPM.currentToCanonicalPackageNames(names); in currentToCanonicalPackageNames()
290 return mPM.canonicalToCurrentPackageNames(names); in canonicalToCurrentPackageNames()
354 return mPM.getLaunchIntentSenderForPackage(packageName, mContext.getPackageName(), in getLaunchIntentSenderForPackage()
377 int[] gids = mPM.getPackageGids(packageName, in getPackageGids()
415 int uid = mPM.getPackageUid(packageName, in getPackageUidAsUser()
557 int version = mPM.getTargetSdkVersion(packageName); in getTargetSdkVersion()
578 ActivityInfo ai = mPM.getActivityInfo(className, in getActivityInfo()
601 ActivityInfo ai = mPM.getReceiverInfo(className, in getReceiverInfo()
624 ServiceInfo si = mPM.getServiceInfo(className, in getServiceInfo()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDynamicCodeLoggerTests.java87 @Mock IPackageManager mPM; field in DynamicCodeLoggerTests
111 mDynamicCodeLogger = new DynamicCodeLogger(mPM, mInstaller, packageDynamicCodeLoading) { in setup()
127 doReturn(packageInfo).when(mPM) in setup()
265 verify(mPM, atMost(1)).getPackageInfo(OWNING_PACKAGE_NAME, /*flags*/ 0, OWNER_USER_ID); in testMultipleLoadersAndFiles()
270 reset(mPM); in testUnknownOwner()
276 verifyZeroInteractions(mPM); in testUnknownOwner()
281 reset(mPM); in testUninstalledPackage()
291 doReturn(uid).when(mPM).getPackageUid(packageName, /*flags*/ 0, OWNER_USER_ID); in setPackageUid()
308 when(mPM.getPackagesForUid(loadingUid)).thenReturn(packageNames); in recordLoadNative()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java521 mPM = pm; in DisplayNameComparator()
525 CharSequence sa = aa.loadLabel(mPM); in compare()
527 CharSequence sb = ab.loadLabel(mPM); in compare()
533 private final PackageManager mPM; field in PackageItemInfo.DisplayNameComparator
DResolveInfo.java571 mPM = pm; in DisplayNameComparator()
583 CharSequence sa = a.loadLabel(mPM); in compare()
585 CharSequence sb = b.loadLabel(mPM); in compare()
592 private final PackageManager mPM; field in ResolveInfo.DisplayNameComparator
DApplicationInfo.java1920 mPM = pm; in DisplayNameComparator()
1924 CharSequence sa = mPM.getApplicationLabel(aa); in compare()
1928 CharSequence sb = mPM.getApplicationLabel(ab); in compare()
1939 private final PackageManager mPM; field in ApplicationInfo.DisplayNameComparator
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DNumPadKey.java50 private final PowerManager mPM; field in NumPadKey
78 mPM.userActivity(SystemClock.uptimeMillis(), false); in userActivity()
109 mPM = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in NumPadKey()
DPasswordTextView.java84 private PowerManager mPM; field in PasswordTextView
145 mPM = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in PasswordTextView()
260 mPM.userActivity(SystemClock.uptimeMillis(), false); in onUserActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java352 private final PowerManager mPM; field in KeyguardViewMediator
855 mPM.wakeUp(mSystemClock.uptimeMillis(),
1483 mPM = powerManager;
1546 mShowKeyguardWakeLock = mPM.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "show keyguard");
1554 mUiBgExecutor.execute(() -> mPM.userActivity(mSystemClock.uptimeMillis(), false));
1556 mPM.userActivity(mSystemClock.uptimeMillis(), false);
1600 mDeviceInteractive = mPM.isInteractive();
2326 if (mPM.isInteractive() && !mHiding) {
3022 mPM.wakeUp(mSystemClock.uptimeMillis(), PowerManager.WAKE_REASON_GESTURE,
3032 && mPM.isInteractive(), WakeAndUnlockUpdateReason.HIDE);
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java43 IPackageManager mPM; field in JobSchedulerShellCommand
47 mPM = AppGlobals.getPackageManager(); in JobSchedulerShellCommand()
124 final int perm = mPM.checkUidPermission(permission, uid); in checkPermission()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
DDexManagerTests.java82 @Mock IPackageManager mPM; field in DexManagerTests
162 mDynamicCodeLogger, mPM); in setup()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12352 Landroid/content/pm/PackageItemInfo$DisplayNameComparator;->mPM:Landroid/content/pm/PackageManager;
13155 Landroid/content/pm/ResolveInfo$DisplayNameComparator;->mPM:Landroid/content/pm/PackageManager;