Home
last modified time | relevance | path

Searched defs:pm (Results 1 – 16 of 16) sorted by relevance

/platform_testing/utils/permissions/src/com/android/permissionutils/
DGrantPermissionUtil.java37 PackageManager pm = context.getPackageManager(); in grantAllPermissions() local
70 PackageManager pm = context.getPackageManager(); in getMissingPermissions() local
/platform_testing/libraries/sts-common-util/apps/MainlineModuleDetector/src/com/android/cts/mainlinemoduledetector/
DMainlineModuleDetector.java37 PackageManager pm = getApplicationContext().getPackageManager(); in onCreate() local
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DAppVersionRule.java56 PackageManager pm = in getVersion() local
DNavigationModeRule.java60 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in packageExists() local
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemAppJankTests.java112 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in launchApp() local
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DOverviewHelper.java100 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in populateManyRecentApps() local
238 final PackageManager pm = InstrumentationRegistry.getInstrumentation().getTargetContext() in isRecentsInLauncher() local
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper2.java414 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in getVersion() local
616 private boolean packageNeedsNotificationPermission(PackageManager pm, String pkg) { in packageNeedsNotificationPermission()
657 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in maybeGrantNotificationPermission() local
684 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in restoreNotificationPermissionState() local
DAbstractStandardAppHelper.java455 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in getVersion() local
653 private boolean packageNeedsNotificationPermission(PackageManager pm, String pkg) { in packageNeedsNotificationPermission()
694 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in maybeGrantNotificationPermission() local
721 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in restoreNotificationPermissionState() local
/platform_testing/libraries/device-collectors/src/main/java/android/device/stressmodes/
DLockContentionStressMode.java50 final PackageManager pm = context.getPackageManager(); in LockContentionStressMode() local
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestCase.java175 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in getPackageVersion() local
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
DDialerJankTests.java82 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in launchApp() local
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DAppTransitionTests.java415 PackageManager pm = getInstrumentation().getContext() in createLaunchIntentMappings() local
425 private void resolveLoop(List<ResolveInfo> ris, Intent intentToResolve, PackageManager pm) { in resolveLoop()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsAppInfoHelperImpl.java377 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in isApplicationDisabled() local
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DTvLauncherStrategy.java233 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in getVersionCode() local
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DTvLauncherStrategy.java247 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in getVersionCode() local
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DPerfettoTracingStrategy.java378 PowerManager pm = in getWakeLock() local