Home
last modified time | relevance | path

Searched refs:kTimeoutInNanos (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/oboe/tests/
DtestStreamStates.cpp75 r = mStream->waitForStateChange(StreamState::Starting, &next, kTimeoutInNanos); in checkStreamStateIsStartedAfterStartingTwice()
83 r = mStream->waitForStateChange(StreamState::Starting, &next, kTimeoutInNanos); in checkStreamStateIsStartedAfterStartingTwice()
99 r = mStream->waitForStateChange(StreamState::Stopping, &next, kTimeoutInNanos); in checkStreamStateIsStoppedAfterStoppingTwice()
106 r = mStream->waitForStateChange(StreamState::Stopping, &next, kTimeoutInNanos); in checkStreamStateIsStoppedAfterStoppingTwice()
136 static constexpr int kTimeoutInNanos = 500 * kNanosPerMillisecond; member in StreamStates
143 Result r = mStream->waitForStateChange(StreamState::Uninitialized, &next, kTimeoutInNanos); in TEST_F()
157 r = mStream->waitForStateChange(StreamState::Starting, &next, kTimeoutInNanos); in TEST_F()
175 r = mStream->waitForStateChange(StreamState::Pausing, &next, kTimeoutInNanos); in TEST_F()
192 r = mStream->waitForStateChange(StreamState::Stopping, &next, kTimeoutInNanos); in TEST_F()
203 Result r = mStream->waitForStateChange(StreamState::Uninitialized, &next, kTimeoutInNanos); in TEST_F()
[all …]
DtestStreamWaitState.cpp69 r = mStream->waitForStateChange(StreamState::Starting, &next, kTimeoutInNanos); in checkStopWhileWaiting()
94 r = mStream->waitForStateChange(StreamState::Starting, &next, kTimeoutInNanos); in checkCloseWhileWaiting()
117 static constexpr int kTimeoutInNanos = 100 * kNanosPerMillisecond; member in TestStreamWaitState