Home
last modified time | relevance | path

Searched refs:waitForStateChange (Results 1 – 13 of 13) 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()
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()
217 r = mStream->waitForStateChange(StreamState::Starting, &next, kTimeoutInNanos); in TEST_F()
[all …]
DtestStreamWaitState.cpp61 Result result = mStream->waitForStateChange(mStream->getState(), &next, timeout); in checkWaitZeroTimeout()
69 r = mStream->waitForStateChange(StreamState::Starting, &next, kTimeoutInNanos); in checkStopWhileWaiting()
79 r = mStream->waitForStateChange(StreamState::Started, &next, 1000 * kNanosPerMillisecond); in checkStopWhileWaiting()
84 … r = mStream->waitForStateChange(StreamState::Stopping, &next, 1000 * kNanosPerMillisecond); in checkStopWhileWaiting()
94 r = mStream->waitForStateChange(StreamState::Starting, &next, kTimeoutInNanos); in checkCloseWhileWaiting()
104 r = mStream->waitForStateChange(StreamState::Started, &next, 1000 * kNanosPerMillisecond); in checkCloseWhileWaiting()
DtestStreamClosedMethods.cpp311 Result r = mStream->waitForStateChange(StreamState::Open, &next, 0); in TEST_F()
/third_party/skia/third_party/externals/oboe/src/common/
DFilterAudioStream.h116 Result waitForStateChange( in waitForStateChange() function
120 return mChildStream->waitForStateChange(inputState, nextState, timeoutNanoseconds); in waitForStateChange()
DAudioStream.cpp92 Result result = waitForStateChange(state, &nextState, timeoutNanoseconds); in waitForStateTransition()
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.h77 Result waitForStateChange(StreamState currentState,
DAudioStreamOpenSLES.cpp366 Result AudioStreamOpenSLES::waitForStateChange(StreamState currentState, in waitForStateChange() function in AudioStreamOpenSLES
/third_party/skia/third_party/externals/oboe/src/aaudio/
DAudioStreamAAudio.h76 Result waitForStateChange(StreamState currentState,
DAudioStreamAAudio.cpp451 Result AudioStreamAAudio::waitForStateChange(StreamState currentState, in waitForStateChange() function in oboe::AudioStreamAAudio
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp80 result = outStream->waitForStateChange(currentState, &nextState, timeoutNanos); in startStreams()
/third_party/skia/third_party/externals/oboe/docs/
DFullGuide.md241 `AudioStream::waitForStateChange()` can be used to wait for a state change.
242 Note that most apps will not need to call `waitForStateChange()` and can just
251 Since you can't wait for the Paused state, use `waitForStateChange()` to wait for *any state
259 result = stream->waitForStateChange(inputState, &nextState, timeoutNanos);
271 `waitForStateChange()` after calling `AudioStream::close()` since the underlying stream resources
273 while `waitForStateChange()` is running in another thread.
491 To be safe, don't call `waitForStateChange()` or read or write to the same stream from two differen…
/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStream.h162 virtual Result waitForStateChange(StreamState inputState,
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
Djni-bridge.cpp409 oboe::Result result = oboeStream->waitForStateChange( in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState()