Home
last modified time | relevance | path

Searched refs:waitFor (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/cts/hostsidetests/systemui/src/android/host/systemui/
DTileServiceTest.java51 assertTrue(waitFor("onCreate")); in testAddTile()
52 assertTrue(waitFor("onTileAdded")); in testAddTile()
61 assertTrue(waitFor("onCreate")); in testRemoveTile()
62 assertTrue(waitFor("onTileAdded")); in testRemoveTile()
65 assertTrue(waitFor("onTileRemoved")); in testRemoveTile()
75 assertTrue(waitFor("onStartListening")); in testListeningSettings()
78 assertTrue(waitFor("onStopListening")); in testListeningSettings()
87 assertTrue(waitFor("onTileAdded")); in testCantAddDialog()
91 assertTrue(waitFor("onStartListening")); in testCantAddDialog()
95 assertTrue(waitFor("handleShowDialog")); in testCantAddDialog()
[all …]
DActiveTileServiceTest.java41 assertTrue(waitFor("onCreate")); in testNotListening()
48 assertFalse(waitFor("onStartListening", MAX_RETRIES_BEFORE_GIVING_UP)); in testNotListening()
54 assertTrue(waitFor("onCreate")); in testRequestListening()
60 assertTrue(waitFor("requestListeningState")); in testRequestListening()
61 assertTrue(waitFor("onStartListening")); in testRequestListening()
68 assertTrue(waitFor("onCreate")); in testClick()
77 assertTrue(waitFor("onStartListening")); in testClick()
78 assertTrue(waitFor("onClick")); in testClick()
DCompatChangesTileServiceTest.java65 waitFor("onTileRemoved"); in tearDown()
81 assertTrue(waitFor("onTileAdded")); in testStartActivityWithIntent_requiresPendingIntent_ThrowsException()
85 assertTrue(waitFor("onStartListening")); in testStartActivityWithIntent_requiresPendingIntent_ThrowsException()
90 assertTrue(waitFor("handleStartActivity")); in testStartActivityWithIntent_requiresPendingIntent_ThrowsException()
91 assertTrue(waitFor("UnsupportedOperationException")); in testStartActivityWithIntent_requiresPendingIntent_ThrowsException()
94 assertFalse((waitFor("TestActivity#onResume"))); in testStartActivityWithIntent_requiresPendingIntent_ThrowsException()
107 assertTrue(waitFor("onTileAdded")); in testStartActivityWithIntent_doesNotRequirePendingIntent_lauchesSuccessfully()
111 assertTrue(waitFor("onStartListening")); in testStartActivityWithIntent_doesNotRequirePendingIntent_lauchesSuccessfully()
116 assertTrue(waitFor("handleStartActivity")); in testStartActivityWithIntent_doesNotRequirePendingIntent_lauchesSuccessfully()
119 assertTrue((waitFor("TestActivity#onResume"))); in testStartActivityWithIntent_doesNotRequirePendingIntent_lauchesSuccessfully()
[all …]
DActiveTileServiceCompatChangeTest.java72 waitFor("onTileRemoved"); in tearDown()
91 waitFor("onDestroy"); in testRequestListeningBadPackage_changeEnabled_SecurityException()
95 assertTrue(waitFor("SecurityException")); in testRequestListeningBadPackage_changeEnabled_SecurityException()
136 waitFor("onDestroy"); in executeRequestListeningTest()
140 assertTrue(waitFor("requestListeningState")); in executeRequestListeningTest()
141 assertTrue(waitFor("onStartListening")); in executeRequestListeningTest()
159 protected boolean waitFor(String str) throws DeviceNotAvailableException, InterruptedException { in waitFor() method in ActiveTileServiceCompatChangeTest
/cts/tests/app/src/android/app/cts/
DToolbarActionBarTest.kt63 PollingCheck.waitFor { activity.hasWindowFocus() } in setUp()
75 PollingCheck.waitFor { menuIsVisible.get() } in testOptionsMenuKey()
76 PollingCheck.waitFor { activity.getToolbar().isOverflowMenuShowing() } in testOptionsMenuKey()
83 PollingCheck.waitFor { !activity.getToolbar().hasWindowFocus() } in testOptionsMenuKey()
86 PollingCheck.waitFor { !menuIsVisible.get() } in testOptionsMenuKey()
87 PollingCheck.waitFor { !activity.getToolbar().isOverflowMenuShowing() } in testOptionsMenuKey()
100 PollingCheck.waitFor { menuIsVisible.get() } in testOpenOptionsMenu()
101 PollingCheck.waitFor { activity.getToolbar().isOverflowMenuShowing() } in testOpenOptionsMenu()
105 PollingCheck.waitFor { !menuIsVisible.get() } in testOpenOptionsMenu()
106 PollingCheck.waitFor { !activity.getToolbar().isOverflowMenuShowing() } in testOpenOptionsMenu()
DActivityManagerFgsBgStartTest.java263 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG()
272 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG()
286 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG()
306 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG()
320 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG()
328 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBG()
367 uid2Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBGTwoProcesses()
376 uid2Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBGTwoProcesses()
385 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBGTwoProcesses()
395 uid2Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, in testFgsLocationStartFromBGTwoProcesses()
[all …]
DActivityManagerProcessStateTest.java410 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testUidImportanceListener()
420 uidWatcher.waitFor(WatchUidRunner.CMD_ACTIVE, null); in testUidImportanceListener()
421 uidWatcher.waitFor(WatchUidRunner.CMD_UNCACHED, null); in testUidImportanceListener()
432 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testUidImportanceListener()
459 uidWatcher.waitFor(WatchUidRunner.CMD_ACTIVE, null); in testUidImportanceListener()
460 uidWatcher.waitFor(WatchUidRunner.CMD_UNCACHED, null); in testUidImportanceListener()
475 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testUidImportanceListener()
484 uidWatcher.waitFor(WatchUidRunner.CMD_UNCACHED, null); in testUidImportanceListener()
504 uidWatcher.waitFor(WatchUidRunner.CMD_CACHED, null); in testUidImportanceListener()
570 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testBackgroundCheckService()
[all …]
DActivityManagerNotifyMediaFGSTypeTest.java147 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP); in setupMediaForegroundService()
162 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in setupMediaForegroundService()
180 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in cleanUpMediaForegroundService()
200 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP); in setupMediaService()
223 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in setupMediaService()
263 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testNotifyInactiveMediaForegroundServiceInternal()
286 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testNotifyMediaServiceInternal()
290 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testNotifyMediaServiceInternal()
320 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testNotifyMediaServiceAfterStopForegroundInternal()
326 uid1Watcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testNotifyMediaServiceAfterStopForegroundInternal()
[all …]
DActivityManagerApi29Test.java182 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, in testTopActivityWithAppOps()
189 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY, in testTopActivityWithAppOps()
213 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationWithAppOps()
217 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, in testFgsLocationWithAppOps()
224 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testFgsLocationWithAppOps()
231 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY, in testFgsLocationWithAppOps()
256 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, in testAppOpsHistoricalOps()
271 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testAppOpsHistoricalOps()
277 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY, in testAppOpsHistoricalOps()
317 mUidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, in testCameraWithAppOps()
[all …]
DActivityManagerFgsDelegateTest.java143 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in prepareProcess()
158 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegate()
166 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testFgsDelegate()
174 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegate()
182 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testFgsDelegate()
190 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testFgsDelegate()
211 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS()
219 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS()
228 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS()
236 uidWatcher.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_CACHED_EMPTY); in testFgsDelegateNotAllowedWhenAppCanNotStartFGS()
[all …]
DAlertDialogTest.java78 PollingCheck.waitFor(mActivity.getDialog()::isShowing); in startDialogActivity()
109 PollingCheck.waitFor(() -> mActivity.isPositiveButtonClicked); in doTestAlertDialog()
113 PollingCheck.waitFor(() -> mActivity.isNegativeButtonClicked); in doTestAlertDialog()
117 PollingCheck.waitFor(() -> mActivity.isNeutralButtonClicked); in doTestAlertDialog()
150 PollingCheck.waitFor(() -> in testAlertDialogAPIWithMessage()
155 PollingCheck.waitFor(() -> in testAlertDialogAPIWithMessage()
160 PollingCheck.waitFor(() -> in testAlertDialogAPIWithMessage()
213 PollingCheck.waitFor(() -> mActivity.onCancelCalled); in testAlertDialogCancelable()
DBadProviderTest.java72 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testExitOnCreate()
73 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testExitOnCreate()
74 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testExitOnCreate()
84 uidWatcher.waitFor(WatchUidRunner.CMD_GONE, null); in testExitOnCreate()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DDataSharingServiceTest.java79 PollingCheck.waitFor(() -> dataSharingService.mSessionFinished); in testDataSharingSessionAccepted()
80 PollingCheck.waitFor(() -> ccService.mDataShareSessionFinished); in testDataSharingSessionAccepted()
98 PollingCheck.waitFor(() -> dataSharingService.mSessionFinished); in testDataSharingSessionRejected()
99 PollingCheck.waitFor(() -> ccService.mDataShareSessionFinished); in testDataSharingSessionRejected()
113 PollingCheck.waitFor(() -> dataSharingService.mSessionFinished); in testDataShareRequest_valuesPropagatedToReceiver()
114 PollingCheck.waitFor(() -> ccService.mDataShareSessionFinished); in testDataShareRequest_valuesPropagatedToReceiver()
131 PollingCheck.waitFor(() -> dataSharingService.mSessionFinished); in testDataSharingSessionError_concurrentRequests()
132 PollingCheck.waitFor(() -> ccService.mDataShareSessionFinished); in testDataSharingSessionError_concurrentRequests()
148 PollingCheck.waitFor(() -> ccService.mDataShareSessionErrorCode > 0); in testDataSharingSessionError_senderWasKilledBeforeWrite()
163 PollingCheck.waitFor(() -> ccService.mDataShareSessionFinished); in testDataSharingSessionError_senderWasKilledDuringWrite()
DDataSharingActivityTest.java60 watcher.waitFor(RESUMED); in testHappyPath_dataCopiedSuccessfully()
62 PollingCheck.waitFor(() -> activity.mSessionFinished); in testHappyPath_dataCopiedSuccessfully()
63 PollingCheck.waitFor(() -> service.mDataShareSessionFinished); in testHappyPath_dataCopiedSuccessfully()
80 watcher.waitFor(RESUMED); in testDataSharingSessionIsRejected_propagatedToClient()
82 PollingCheck.waitFor(() -> activity.mSessionFinished); in testDataSharingSessionIsRejected_propagatedToClient()
83 PollingCheck.waitFor(() -> service.mDataShareSessionFinished); in testDataSharingSessionIsRejected_propagatedToClient()
DLoginActivityTest.java116 watcher.waitFor(RESUMED); in testSimpleLifecycle_defaultSession()
120 watcher.waitFor(DESTROYED); in testSimpleLifecycle_defaultSession()
162 watcher.waitFor(RESUMED); in testContentCaptureSessionCache()
165 watcher.waitFor(DESTROYED); in testContentCaptureSessionCache()
194 watcher.waitFor(RESUMED); in testSimpleLifecycle_rootViewSession()
197 watcher.waitFor(DESTROYED); in testSimpleLifecycle_rootViewSession()
296 watcher.waitFor(RESUMED); in testSimpleLifecycle_changeContextAfterCreate()
312 watcher.waitFor(DESTROYED); in testSimpleLifecycle_changeContextAfterCreate()
347 watcher.waitFor(RESUMED); in testSimpleLifecycle_changeContextOnCreate()
350 watcher.waitFor(DESTROYED); in testSimpleLifecycle_changeContextOnCreate()
[all …]
DBlankActivityTest.java93 watcher.waitFor(RESUMED); in testSimpleSessionLifecycle()
96 watcher.waitFor(DESTROYED); in testSimpleSessionLifecycle()
112 watcher.waitFor(RESUMED); in testGetServiceComponentName()
125 watcher.waitFor(DESTROYED); in testGetServiceComponentName()
137 watcher.waitFor(RESUMED); in testGetServiceComponentName_onUiThread()
144 watcher.waitFor(DESTROYED); in testGetServiceComponentName_onUiThread()
157 watcher.waitFor(RESUMED); in testIsContentCaptureFeatureEnabled_onUiThread()
164 watcher.waitFor(DESTROYED); in testIsContentCaptureFeatureEnabled_onUiThread()
177 watcher.waitFor(RESUMED); in testDisableContentCaptureService_onUiThread()
182 watcher.waitFor(DESTROYED); in testDisableContentCaptureService_onUiThread()
[all …]
DBlankWithTitleActivityTest.java55 watcher.waitFor(RESUMED); in testSimpleSessionLifecycle()
58 watcher.waitFor(DESTROYED); in testSimpleSessionLifecycle()
75 watcher.waitFor(RESUMED); in testSimpleSessionLifecycle_noAnimation()
78 watcher.waitFor(DESTROYED); in testSimpleSessionLifecycle_noAnimation()
DChildlessActivityTest.java118 watcher.waitFor(RESUMED); in testDefaultLifecycle()
121 watcher.waitFor(DESTROYED); in testDefaultLifecycle()
134 watcher.waitFor(RESUMED); in testGetContentCapture_disabledWhenNoService()
139 watcher.waitFor(DESTROYED); in testGetContentCapture_disabledWhenNoService()
148 watcher.waitFor(RESUMED); in testGetContentCapture_enabledWhenNoService()
153 watcher.waitFor(DESTROYED); in testGetContentCapture_enabledWhenNoService()
164 watcher1.waitFor(RESUMED); in testLaunchAnotherActivity()
166 watcher1.waitFor(DESTROYED); in testLaunchAnotherActivity()
173 watcher2.waitFor(RESUMED); in testLaunchAnotherActivity()
175 watcher2.waitFor(DESTROYED); in testLaunchAnotherActivity()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPollingCheck.java122 public static void waitFor(final PollingCheckCondition condition) { in waitFor() method in PollingCheck
131 public static void waitFor(final PollingCheckCondition condition, String errorMessage) { in waitFor() method in PollingCheck
140 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() method in PollingCheck
149 public static void waitFor(long timeout, final PollingCheckCondition condition, in waitFor() method in PollingCheck
164 public static void waitFor(long timeout, BooleanSupplier condition, String errorMessage) { in waitFor() method in PollingCheck
173 public static <E> E waitFor(long timeout, Supplier<E> supplier, in waitFor() method in PollingCheck
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWatchUidRunner.java170 public void waitFor(int cmd) { in waitFor() method in WatchUidRunner
172 waitFor(predicate, null); in waitFor()
175 public void waitFor(int cmd, long timeout) { in waitFor() method in WatchUidRunner
177 waitFor(predicate, null, timeout); in waitFor()
180 public void waitFor(int cmd, String procState) { in waitFor() method in WatchUidRunner
184 waitFor(predicate, null); in waitFor()
187 public void waitFor(int cmd, String procState, Integer capability) { in waitFor() method in WatchUidRunner
192 waitFor(predicate, null); in waitFor()
195 public void waitFor(int cmd, String procState, long timeout) { in waitFor() method in WatchUidRunner
199 waitFor(predicate, null, timeout); in waitFor()
[all …]
/cts/tests/tests/car/src/android/car/app/cts/
DCarTaskViewControllerTest.java127 PollingCheck.waitFor(() -> mCallback.mCarTaskViewController != null, in setUp()
234 PollingCheck.waitFor(() -> taskViewCallback.mTaskViewReleased, "TaskView not released"); in multipleControlledCarTaskView_released_whenHostDestroyed()
239 PollingCheck.waitFor(() -> taskViewCallback2.mTaskViewReleased, "TaskView not released"); in multipleControlledCarTaskView_released_whenHostDestroyed()
260 PollingCheck.waitFor(() -> taskViewCallback2.mTaskViewReleased, "TaskView not released"); in releaseControlledCarTaskView_releasesTaskView()
284 PollingCheck.waitFor(() -> EmbeddedTestActivity1.sInstance != null, in controlledRemoteCarTaskView_autoRestartDisabled_doesNotRestartTask_whenKilled()
291 PollingCheck.waitFor(() -> taskViewHolder.mCurrentTask == null, in controlledRemoteCarTaskView_autoRestartDisabled_doesNotRestartTask_whenKilled()
310 PollingCheck.waitFor(() -> EmbeddedTestActivity1.sInstance != null, in controlledRemoteCarTaskView_autoRestartEnabled_restartsTheTask_whenKilled()
315 PollingCheck.waitFor(() -> taskViewHolder.mNumTimesOnTaskVanished == 1, in controlledRemoteCarTaskView_autoRestartEnabled_restartsTheTask_whenKilled()
319 PollingCheck.waitFor(() -> taskViewHolder.mCurrentTask != null, in controlledRemoteCarTaskView_autoRestartEnabled_restartsTheTask_whenKilled()
338 PollingCheck.waitFor(() -> EmbeddedTestActivity1.sInstance != null, in multipleControlledRemoteCarTaskView_bringsEmbeddedTaskToTop_whenActivityResumed()
[all …]
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DTvInteractiveAppServiceTest.java507 PollingCheck.waitFor(TIME_OUT_MS, () -> mTvView.getInputSession() != null); in linkTvView()
522 PollingCheck.waitFor(TIME_OUT_MS, () -> StubTvInputService2.sStubRecordingSession != null); in linkTvRecordingClient()
633 PollingCheck.waitFor(TIME_OUT_MS, () -> mTvIAppView.getInteractiveAppSession() != null); in setUp()
669 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mRecordingTunedCount > 0); in testNotifyRecordingTuned()
684 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mRecordingConnectionFailedCount > 0); in testRecordingConnectionFailed()
694 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mRecordingDisconnected > 0); in testRecordingDisconnected()
704 PollingCheck.waitFor(LONGER_TIME_OUT_MS, () -> mSession.mRecordingErrorCount > 0); in testRecordingError()
716 PollingCheck.waitFor(TIME_OUT_MS, () -> mCallback.mRequestCurrentChannelUriCount > 0); in testRequestCurrentChannelUri()
726 PollingCheck.waitFor(TIME_OUT_MS, () -> mCallback.mRequestCurrentVideoBoundsCount > 0); in testRequestCurrentVideoBounds()
737 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mRecordingStartedCount > 0); in testNotifyRecordingStarted()
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java403 PollingCheck.waitFor(TIME_OUT, () -> session.mReleaseCount > 0); in verifyCommandRelease()
414 PollingCheck.waitFor(TIME_OUT, () -> session.mStartRecordingCount > 0); in verifyCommandStartRecording()
426 PollingCheck.waitFor(TIME_OUT, () -> session.mStartRecordingWithBundleCount > 0); in verifyCommandStartRecordingWithBundle()
442 PollingCheck.waitFor(TIME_OUT, () -> session.mPauseRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecordingWithBundle()
447 PollingCheck.waitFor(TIME_OUT, () -> session.mResumeRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecordingWithBundle()
461 PollingCheck.waitFor(TIME_OUT, () -> session.mPauseRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecording()
466 PollingCheck.waitFor(TIME_OUT, () -> session.mResumeRecordingWithBundleCount > 0); in verifyCommandPauseResumeRecording()
479 PollingCheck.waitFor(TIME_OUT, () -> session.mStopRecordingCount > 0); in verifyCommandStopRecording()
491 PollingCheck.waitFor(TIME_OUT, () -> session.mAppPrivateCommandCount > 0); in verifyCommandSendAppPrivateCommandForRecording()
517 PollingCheck.waitFor(TIME_OUT, () -> mRecordingCallback.mErrorCount > 0); in verifyCallbackError()
[all …]
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DTvAdServiceTest.java211 PollingCheck.waitFor(TIME_OUT_MS, () -> mTvAdView.getAdSession() != null); in setUp()
268 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mCurrentTvInputIdCount > 0); in testSendCurrentTvInputId()
279 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mCurrentVideoBoundsCount > 0); in testSendCurrentVideoBounds()
290 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mCurrentChannelUriCount > 0); in testSendCurrentChannelUri()
302 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mSigningResultCount > 0); in testSendSigningResult()
321 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mTrackInfoListCount > 0); in testSendTrackInfoList()
359 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mTvMessageCount > 0); in testNotifyTvMessage()
370 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mResetAdServiceCount > 0); in testResetAdService()
388 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mErrorCount > 0); in testNotifyError()
400 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mStartAdServiceCount > 0); in testStartAdService()
[all …]
/cts/tests/tests/tv/ad/src/android/media/tv/ad/cts/
DTvAdServiceTest.java180 PollingCheck.waitFor(TIME_OUT_MS, () -> mTvAdView.getAdSession() != null); in setUp()
237 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mCurrentTvInputIdCount > 0); in testSendCurrentTvInputId()
248 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mCurrentVideoBoundsCount > 0); in testSendCurrentVideoBounds()
259 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mCurrentChannelUriCount > 0); in testSendCurrentChannelUri()
271 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mSigningResultCount > 0); in testSendSigningResult()
290 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mTrackInfoListCount > 0); in testSendTrackInfoList()
328 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mTvMessageCount > 0); in testNotifyTvMessage()
339 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mResetAdServiceCount > 0); in testResetAdService()
357 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mErrorCount > 0); in testNotifyError()
369 PollingCheck.waitFor(TIME_OUT_MS, () -> mSession.mStartAdServiceCount > 0); in testStartAdService()
[all …]

12345678910>>...12