Home
last modified time | relevance | path

Searched refs:STATE_FG_SERVICE (Results 1 – 7 of 7) sorted by relevance

/cts/tests/app/src/android/app/cts/
DActivityManagerFgsDelegateTest.java160 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegate()
176 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegate()
213 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS()
221 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS()
259 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testAppInBgWithActivePlayingMediaSessionAndNotificationIsStillInBg()
285 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testAppInBgWithActivePlayingMediaSessionWithMediaControllerAndNotificationGoesToFgs()
307 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testAppInBgWithActiveStoppedMediaSessionAndNotificationIsStillInBg()
330 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testAppInBgWithNonActivePlayingMediaSessionAndNotificationIsStillInBg()
351 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testAppInBgWithActivePlayingMediaSessionAndNoNotificationIsStillInBg()
377 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testAppInBgWithActiveStoppedMediaSessionWithMediaControllerAndNotificationIsStillInBg()
[all …]
DActivityManagerFgsBgStartTest.java247 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationStartFromBG()
271 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationStartFromBG()
306 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationStartFromBG()
354 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationStartFromBGTwoProcesses()
383 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationStartFromBGTwoProcesses()
440 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationPendingIntent()
459 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationPendingIntent()
474 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationPendingIntent()
505 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationPendingIntent()
566 WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationStartFromBGWithBind()
[all …]
DActivityManagerApi29Test.java213 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationWithAppOps()
224 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationWithAppOps()
271 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testAppOpsHistoricalOps()
317 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testCameraWithAppOps()
337 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testCameraWithAppOps()
DActivityManagerProcessStateTest.java415 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener()
454 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener()
478 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testUidImportanceListener()
787 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testBackgroundCheckStopsService()
1118 uidWatcher.expect(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testForegroundServiceAppOp()
1179 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testForegroundServiceAppOp()
1656 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testCycleFgs()
1661 uid3Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testCycleFgs()
1725 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testCycleFgsTriangle()
1730 uid2Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testCycleFgsTriangle()
[all …]
DActivityManagerTest.java1761 watchers[0].waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testServiceDoneLRUPosition()
2036 WatchUidRunner.STATE_FG_SERVICE, null); in testKillBackgroundProcess()
2053 WatchUidRunner.STATE_FG_SERVICE, null); in testKillBackgroundProcess()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWatchUidRunner.java58 public static final String STATE_FG_SERVICE = "FGS"; field in WatchUidRunner
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/
DActivityManagerForegroundServiceTypeTest.java340 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, null); in startAndStopFgsType()