Home
last modified time | relevance | path

Searched refs:convertToText (Results 1 – 19 of 19) sorted by relevance

/external/oboe/src/common/
DUtilities.cpp70 const char *convertToText<Result>(Result returnCode) { in convertToText() function
95 const char *convertToText<AudioFormat>(AudioFormat format) { in convertToText() function
106 const char *convertToText<PerformanceMode>(PerformanceMode mode) { in convertToText() function
116 const char *convertToText<SharingMode>(SharingMode mode) { in convertToText() function
125 const char *convertToText<DataCallbackResult>(DataCallbackResult result) { in convertToText() function
134 const char *convertToText<Direction>(Direction direction) { in convertToText() function
143 const char *convertToText<StreamState>(StreamState state) { in convertToText() function
164 const char *convertToText<AudioApi>(AudioApi audioApi) { in convertToText() function
175 const char *convertToText<AudioStream*>(AudioStream* stream) { in convertToText() function
181 <<"Direction: "<<oboe::convertToText(stream->getDirection())<<std::endl in convertToText()
[all …]
DAudioStreamBuilder.cpp192 convertToText(setBufferResult.error())); in openStream()
/external/oboe/tests/
DtestStreamStates.cpp39 EXPECT_EQ(r, Result::OK) << "Failed to open stream " << convertToText(r); in openStream()
44 EXPECT_EQ(d, direction) << convertToText(mStream->getDirection()); in openStream()
58 EXPECT_EQ(r, Result::OK) << "Failed to close stream. " << convertToText(r); in closeStream()
67 EXPECT_EQ(r, Result::OK) << "requestStart returned: " << convertToText(r); in checkStreamStateIsStartedAfterStartingTwice()
120 ASSERT_EQ(r, Result::OK) << "requestStart returned: " << convertToText(r); in checkStreamLeftRunningShouldNotInterfereWithNextOpen()
123 EXPECT_EQ(r, Result::OK) << "requestStop returned: " << convertToText(r); in checkStreamLeftRunningShouldNotInterfereWithNextOpen()
137 EXPECT_EQ(r, Result::OK) << convertToText(r); in TEST_F()
138 ASSERT_EQ(next, StreamState::Open) << convertToText(next); in TEST_F()
197 EXPECT_EQ(r, Result::OK) << convertToText(r); in TEST_F()
198 ASSERT_EQ(next, StreamState::Open) << convertToText(next); in TEST_F()
[all …]
DtestStreamWaitState.cpp38 EXPECT_EQ(r, Result::OK) << "Failed to open stream " << convertToText(r); in openStream()
43 EXPECT_EQ(d, direction) << convertToText(mStream->getDirection()); in openStream()
49 EXPECT_EQ(r, Result::OK) << "Failed to open stream " << convertToText(r); in openStream()
56 "Failed to close stream. " << convertToText(r); in closeStream()
73 EXPECT_EQ(next, StreamState::Started) << "next = " << convertToText(next); in checkStopWhileWaiting()
89 ASSERT_EQ(next, StreamState::Stopped) << "next = " << convertToText(next); in checkStopWhileWaiting()
98 EXPECT_EQ(next, StreamState::Started) << "next = " << convertToText(next); in checkCloseWhileWaiting()
109 EXPECT_TRUE(r == Result::OK || r == Result::ErrorClosed) << "r = " << convertToText(r); in checkCloseWhileWaiting()
114 || next == StreamState::Closed) << "next = " << convertToText(next); in checkCloseWhileWaiting()
DtestXRunBehaviour.cpp37 EXPECT_EQ(r, Result::OK) << "Failed to open stream " << convertToText(r); in openStream()
43 EXPECT_EQ(r, Result::OK) << "Failed to close stream. " << convertToText(r); in closeStream()
DtestStreamOpen.cpp42 EXPECT_EQ(r, Result::OK) << "Failed to open stream " << convertToText(r); in openStream()
50 EXPECT_EQ(r, Result::OK) << "Failed to close stream. " << convertToText(r); in closeStream()
148 EXPECT_NE(r, Result::OK) << "Should not open stream " << convertToText(r); in TEST_F()
160 EXPECT_NE(r, Result::OK) << "Should not open stream " << convertToText(r); in TEST_F()
267 ASSERT_EQ(r, Result::ErrorInvalidFormat) << convertToText(r); in TEST_F()
/external/oboe/samples/LiveEffect/src/main/cpp/
DLiveEffectEngine.cpp174 LOGW("Error stopping stream: %s", oboe::convertToText(result)); in closeStream()
178 LOGE("Error closing stream: %s", oboe::convertToText(result)); in closeStream()
222 oboe::convertToText(oboeStream->getDirection()), in onErrorBeforeClose()
223 oboe::convertToText(error)); in onErrorBeforeClose()
235 oboe::convertToText(oboeStream->getDirection()), in onErrorAfterClose()
236 oboe::convertToText(error)); in onErrorAfterClose()
/external/oboe/apps/OboeTester/app/src/main/cpp/
DFullDuplexStream.cpp60 __func__, convertToText(resultAvailable.error())); in onAudioReady()
67 LOGE("%s() read() returned %s\n", __func__, convertToText(resultRead.error())); in onAudioReady()
76 … LOGE("%s() getAvailableFrames() returned %s\n", __func__, convertToText(resultAvailable.error())); in onAudioReady()
84 LOGE("%s() read() returned %s\n", __func__, convertToText(resultRead.error())); in onAudioReady()
DNativeAudioContext.cpp415 LOGE("%s() returned %s\n", __func__, convertToText(result.error())); in runBlockingIO()
457 LOGE("%s() : read() returned %s\n", __func__, convertToText(result.error())); in runBlockingIO()
/external/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp42 LOGE("Failed to start stream. Error: %s", convertToText(result)); in load()
151 LOGE("The audio stream was closed, please restart the game. Error: %s", convertToText(error)); in onErrorAfterClose()
185 LOGE("Failed to open stream. Error: %s", convertToText(result)); in openStream()
199 LOGW("Failed to set buffer size. Error: %s", convertToText(setBufferSizeResult.error())); in openStream()
/external/oboe/samples/iolib/src/main/cpp/player/
DSimpleMultiPlayer.cpp93 "openStream failed. Error: %s", convertToText(result)); in openStream()
106 "setBufferSizeInFrames failed. Error: %s", convertToText(result)); in openStream()
120 "requestStart failed. Error: %s", convertToText(result)); in startStream()
/external/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp69 LOGE("Error calculating latency: %s", oboe::convertToText(result.error())); in getCurrentOutputLatencyMillis()
150 LOGE("Error creating playback stream. Error: %s", oboe::convertToText(result)); in start()
/external/oboe/include/oboe/
DUtilities.h60 const char * convertToText(FromType input);
DResultWithValue.h145 strm << convertToText(result.error());
/external/oboe/samples/shared/
DDefaultErrorCallback.h47 LOGE("Error was %s", oboe::convertToText(error)); in onErrorAfterClose()
/external/oboe/samples/MegaDrone/src/main/cpp/
DMegaDroneEngine.cpp89 LOGE("Failed to create the playback stream. Error: %s", convertToText(result)); in start()
/external/oboe/docs/
DGettingStarted.md195 …nvenience method for converting its types into human-readable strings called `oboe::convertToText`:
198 LOGE("Failed to create stream. Error: %s", oboe::convertToText(result));
208 LOGI("AudioStream format is %s", oboe::convertToText(format));
DFullGuide.md102 convertToText(result));
505 * `convertToText()`
/external/oboe/src/opensles/
DAudioOutputStreamOpenSLES.cpp400 LOGW("Failed to flush the stream. Error %s", convertToText(flush())); in requestStop()