Searched refs:isAppInactive (Results 1 – 3 of 3) sorted by relevance
34 public boolean isAppInactive(String pkg) { in isAppInactive() method in TestService.TestReceiver37 return usm.isAppInactive(pkg); in isAppInactive()
19 boolean isAppInactive(String pkg); in isAppInactive() method
917 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()