Home
last modified time | relevance | path

Searched refs:packageManager (Results 1 – 17 of 17) sorted by relevance

/platform_testing/libraries/collectors-helper/app/src/com/android/helpers/
DAppVersionHelper.java41 private PackageManager packageManager; field in AppVersionHelper
47 packageManager = context.getPackageManager(); in setUp()
62 List<PackageInfo> pkgInfos = packageManager.getInstalledPackages(0); in getMetrics()
71 PackageInfo pkgInfo = packageManager.getPackageInfo(pkg, 0); in getMetrics()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DSuspendUnsuspendAppRule.java105 void setPackageManager(PackageManager packageManager) { in setPackageManager() argument
106 mPackageManager = packageManager; in setPackageManager()
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/
DClockAppHelper.kt32 pkgManager: PackageManager = instrumentation.context.packageManager
DCameraAppHelper.kt32 pkgManager: PackageManager = instrumentation.context.packageManager
DMessagingAppHelper.kt35 pkgManager: PackageManager = instrumentation.context.packageManager
DBrowserAppHelper.kt38 pkgManager: PackageManager = instrumentation.context.packageManager
DCalendarAppHelper.kt32 pkgManager: PackageManager = instrumentation.context.packageManager
DNetflixAppHelper.kt36 pkgManager: PackageManager = instrumentation.context.packageManager
DYouTubeAppHelper.kt37 pkgManager: PackageManager = instrumentation.context.packageManager
DStandardAppHelper.kt53 protected val pkgManager: PackageManager = instrumentation.context.packageManager
DMapsAppHelper.kt36 pkgManager: PackageManager = instrumentation.context.packageManager
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DLaunchAppUtils.kt35 packageManager.getLaunchIntentForPackage(app.packageName)?.apply { in Context()
DCommonUtils.java236 PackageManager packageManager = getContext().getPackageManager(); in launchApp() local
237 appIntent = packageManager.getLaunchIntentForPackage( in launchApp()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DUtils.kt229 val packageManager = InstrumentationRegistry.getInstrumentation().context.getPackageManager() in outputFileName() constant
230 val uid = packageManager.getApplicationInfo(SYSTEMUI_PACKAGE, 0).uid in outputFileName()
231 return requireNotNull(packageManager.getNameForUid(uid)) in outputFileName()
/platform_testing/libraries/notes-role-test-helper/src/android/platform/helpers/notesrole/
DNotesRoleUtil.kt167 runCatching { context.packageManager.getPackageInfo(packageName, /* flags= */ 0) }.isSuccess in isPackageInstalled()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DBatteryUsageStatsHelper.java64 PackageManager packageManager = in batteryUsageStatsFromBucket() local
171 String[] packagesForUid = packageManager.getPackagesForUid(perUidConsumer.uid); in batteryUsageStatsFromBucket()
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DAutomationUtils.kt337 context.packageManager.getPackageUid(packageName, 0) in stopPackage()