Home
last modified time | relevance | path

Searched refs:isAppInactive (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/app.usage/TestApp1/src/android/app/usage/cts/test1/
DTestService.java34 public boolean isAppInactive(String pkg) { in isAppInactive() method in TestService.TestReceiver
37 return usm.isAppInactive(pkg); in isAppInactive()
/cts/tests/tests/app.usage/TestApp1/aidl/android/app/usage/cts/
DITestReceiver.aidl19 boolean isAppInactive(String pkg); in isAppInactive() method
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java917 waitUntil(() -> mUsageStatsManager.isAppInactive(mTargetPackage), true); in testIsAppInactive()
925 waitUntil(() -> mUsageStatsManager.isAppInactive(mTargetPackage), false); in testIsAppInactive()
934 waitUntil(() -> mUsageStatsManager.isAppInactive(TEST_APP_PKG), true); in testIsAppInactive()
942 waitUntil(() -> mUsageStatsManager.isAppInactive(TEST_APP_PKG), false); in testIsAppInactive()
962 waitUntil(() -> mUsageStatsManager.isAppInactive(TEST_APP_PKG), true); in testIsAppInactive_Charging()
967 waitUntil(() -> mUsageStatsManager.isAppInactive(TEST_APP_PKG), false); in testIsAppInactive_Charging()
1827 return testService.isAppInactive(pkg); in isAppInactiveAsPermissionlessApp()