Home
last modified time | relevance | path

Searched refs:getPackageImportance (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallConstraintsTest.kt173 val importance = getPackageImportance(TestApp.A) in <lambda>()
205 val importance = getPackageImportance(TestApp.A) in <lambda>()
305 val importance = getPackageImportance(TestApp.A) in <lambda>()
345 val importance = getPackageImportance(HelloWorldUsingSdk1.packageName) in <lambda>()
453 val importance = getPackageImportance(TestApp.A) in <lambda>()
476 private fun getPackageImportance(packageName: String) = in <lambda>() method
478 .getPackageImportance(packageName) in <lambda>()
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java400 assertEquals(IMPORTANCE_GONE, am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
409 am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
423 assertEquals(IMPORTANCE_CACHED, am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
436 assertEquals(IMPORTANCE_GONE, am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
449 am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
459 am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
466 am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
475 am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
483 am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
488 am.getPackageImportance(SIMPLE_PACKAGE_NAME)); in testUidImportanceListener()
[all …]
DRequestTileServiceAddTest.kt168 assertThat(activityManager.getPackageImportance(context.packageName)) in testAppNotInForeground()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java137 () -> activityManager.getPackageImportance("foo.bar.baz"), in testAdoptAllShellPermissions()
148 activityManager.getPackageImportance("foo.bar.baz"); in testAdoptAllShellPermissions()
161 () -> activityManager.getPackageImportance("foo.bar.baz"), in testAdoptAllShellPermissions()
/cts/tests/tests/hibernation/src/android/hibernation/cts/
DAppHibernationIntegrationTest.kt395 .getPackageImportance(packageName) in <lambda>()
407 .getPackageImportance(packageName) in <lambda>()
DAppHibernationUtils.kt244 .getPackageImportance(pkg) in awaitAppState()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DServiceProcessController.java223 int importance = mAm.getPackageImportance(mServicePackage); in ensureProcessGone()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DAlertWindowsImportanceTests.java207 assertImportance(am -> am.getPackageImportance(mServicePackageName), in assertPackageImportance()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt578 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);