Searched refs:getPackageImportance (Results 1 – 9 of 9) sorted by relevance
173 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 in android.packageinstaller.install.cts.InstallConstraintsTest478 .getPackageImportance(packageName) in <lambda>()
400 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 …]
168 assertThat(activityManager.getPackageImportance(context.packageName)) in testAppNotInForeground()
137 () -> activityManager.getPackageImportance("foo.bar.baz"), in testAdoptAllShellPermissions()148 activityManager.getPackageImportance("foo.bar.baz"); in testAdoptAllShellPermissions()161 () -> activityManager.getPackageImportance("foo.bar.baz"), in testAdoptAllShellPermissions()
395 .getPackageImportance(packageName) in <lambda>()407 .getPackageImportance(packageName) in <lambda>()
244 .getPackageImportance(pkg) in awaitAppState()
223 int importance = mAm.getPackageImportance(mServicePackage); in ensureProcessGone()
207 assertImportance(am -> am.getPackageImportance(mServicePackageName), in assertPackageImportance()
578 …ermission(android.Manifest.permission.PACKAGE_USAGE_STATS) public int getPackageImportance(String);