/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamBase.cpp | 86 aaudio_result_t result = AAUDIO_OK; in open() 103 if (result != AAUDIO_OK) { in open() 132 aaudio_result_t result = AAUDIO_OK; in close() 134 return AAUDIO_OK; in close() 179 aaudio_result_t result = AAUDIO_OK; in start() 182 return AAUDIO_OK; in start() 190 if (result != AAUDIO_OK) goto error; in start() 197 if (result != AAUDIO_OK) goto error; in start() 207 aaudio_result_t result = AAUDIO_OK; in pause() 217 if (result != AAUDIO_OK) { in pause() [all …]
|
D | AAudioServiceStreamMMAP.cpp | 54 return AAUDIO_OK; in close() 69 if (result != AAUDIO_OK) { in open() 80 if (result != AAUDIO_OK) { in open() 86 return AAUDIO_OK; in open() 94 if (!mInService && result == AAUDIO_OK) { in startDevice() 106 return AAUDIO_OK; in pause() 118 return AAUDIO_OK; in stop() 162 if (result == AAUDIO_OK) { in getFreeRunningPosition() 190 return AAUDIO_OK; in getHardwareTimestamp()
|
D | AAudioServiceEndpointShared.cpp | 59 aaudio_result_t result = AAUDIO_OK; in open() 117 aaudio_result_t result = AAUDIO_OK; in startStream() 123 if (result != AAUDIO_OK) { in startStream() 127 if (result != AAUDIO_OK) { in startStream() 135 if (result == AAUDIO_OK) { in startStream() 137 if (result != AAUDIO_OK) { in startStream() 159 return AAUDIO_OK; in stopStream() 169 return AAUDIO_OK; in getFreeRunningPosition()
|
D | AAudioServiceStreamShared.cpp | 124 if (result != AAUDIO_OK) { in open() 180 if (result != AAUDIO_OK) { in open() 192 if (result != AAUDIO_OK) { in open() 197 return AAUDIO_OK; in open() 232 return AAUDIO_OK; in getAudioDataDescription() 247 return AAUDIO_OK; in getFreeRunningPosition() 265 if (result == AAUDIO_OK) { in getHardwareTimestamp()
|
D | AAudioClientTracker.cpp | 82 return AAUDIO_OK; // TODO should this be considered an error in registerClient() 105 aaudio_result_t result = AAUDIO_OK; in registerClientStream() 134 return AAUDIO_OK; in unregisterClientStream() 155 return AAUDIO_OK; in registerClientStream() 162 return AAUDIO_OK; in unregisterClientStream()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStreamBuilder.cpp | 67 aaudio_result_t result = AAUDIO_OK; in builder_createStream() 108 if (result != AAUDIO_OK) { in build() 148 if (result == AAUDIO_OK) { in build() 151 if (result == AAUDIO_OK) { in build() 163 if (result == AAUDIO_OK) { in build() 165 if (result == AAUDIO_OK) { in build() 183 if (result != AAUDIO_OK) { in validate() 207 return AAUDIO_OK; in validate()
|
D | AudioStream.cpp | 72 if (result != AAUDIO_OK) { in open() 103 return AAUDIO_OK; in open() 112 if (result != AAUDIO_OK) { in waitForStateChange() 126 if (result != AAUDIO_OK) { in waitForStateChange() 135 return (state == currentState) ? AAUDIO_ERROR_TIMEOUT : AAUDIO_OK; in waitForStateChange() 144 if (mThreadRegistrationResult == AAUDIO_OK) { in wrapUserThread() 181 return AAUDIO_OK; in createThread()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 80 aaudio_result_t result = AAUDIO_OK; in open() 125 if (result != AAUDIO_OK) { in open() 138 if (result != AAUDIO_OK) { in open() 144 if (result != AAUDIO_OK) { in open() 150 if (result != AAUDIO_OK) { in open() 206 aaudio_result_t result = AAUDIO_OK; in close() 218 if (result != AAUDIO_OK) { in close() 234 return (result != AAUDIO_OK) ? result : result2; in close() 291 if (result == AAUDIO_OK && getDataCallbackProc() != nullptr) { in requestStart() 299 if (result != AAUDIO_OK) { in requestStart() [all …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_n_streams.cpp | 32 aaudio_result_t result = AAUDIO_OK; in testMaxStreams() 38 if (result != AAUDIO_OK) { in testMaxStreams() 47 if (result != AAUDIO_OK) { in testMaxStreams() 63 if (result != AAUDIO_OK) { in testMaxStreams() 93 if (result == AAUDIO_OK) { in main() 98 return (result != AAUDIO_OK) ? EXIT_FAILURE : EXIT_SUCCESS; in main()
|
D | test_recovery.cpp | 45 aaudio_result_t result = AAUDIO_OK; in main() 68 if (result != AAUDIO_OK) { in main() 80 if (result != AAUDIO_OK) { in main() 105 if (result != AAUDIO_OK) { in main() 115 while (result == AAUDIO_OK && framesTotal < framesMax) { in main() 136 if (result != AAUDIO_OK) { in main() 141 if (result != AAUDIO_OK) { in main()
|
D | test_marshalling.cpp | 57 EXPECT_EQ(AAUDIO_OK, sharedMemoryA.resolve(0, 16, ®ion1)); // fits in region in TEST() 58 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(-2, 16, ®ion1)); // offset is negative in TEST() 59 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(0, memSizeBytes + 8, ®ion1)); // size too big in TEST() 60 … EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(memSizeBytes - 8, 16, ®ion1)); // goes past the end in TEST() 74 EXPECT_EQ(AAUDIO_OK, sharedMemoryB.resolve(0, 16, ®ion2)); in TEST() 94 EXPECT_EQ(AAUDIO_OK, sharedRegionA.resolve(sharedMemories, ®ion1)); in TEST() 107 EXPECT_EQ(AAUDIO_OK, sharedRegionB.resolve(sharedMemories, ®ion2)); in TEST() 141 EXPECT_EQ(AAUDIO_OK, ringBufferA.resolve(sharedMemories, &descriptorA)); in TEST() 157 EXPECT_EQ(AAUDIO_OK, ringBufferB.resolve(sharedMemories, &descriptorB)); in TEST()
|
D | test_no_close.cpp | 29 aaudio_result_t result = AAUDIO_OK; in main() 34 if (result != AAUDIO_OK) { in main() 40 if (result != AAUDIO_OK) { in main() 50 return (result != AAUDIO_OK) ? EXIT_FAILURE : EXIT_SUCCESS; in main()
|
D | test_timestamps.cpp | 111 aaudio_result_t result = AAUDIO_OK; in testTimeStamps() 140 if (result != AAUDIO_OK) { in testTimeStamps() 155 if (result != AAUDIO_OK) { in testTimeStamps() 170 result = AAUDIO_OK; in testTimeStamps() 177 result = AAUDIO_OK; in testTimeStamps() 216 if (result != AAUDIO_OK) { in testTimeStamps() 234 if (result != AAUDIO_OK) { in testTimeStamps() 249 if (timestamp->result != AAUDIO_OK) { in testTimeStamps() 292 aaudio_result_t result = AAUDIO_OK; in main() 338 return (result == AAUDIO_OK) ? EXIT_SUCCESS : EXIT_FAILURE; in main()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimpleRecorder.h | 104 aaudio_result_t result = AAUDIO_OK; 109 if (result != AAUDIO_OK) return result; 124 if (result != AAUDIO_OK) { 129 if (result == AAUDIO_OK) { 148 aaudio_result_t result = AAUDIO_OK; in open() 153 if (result != AAUDIO_OK) return result; in open() 170 if (result != AAUDIO_OK) { in open() 185 return AAUDIO_OK; in close() 204 if (result != AAUDIO_OK) { in start() 214 if (result != AAUDIO_OK) { in stop() [all …]
|
D | AAudioSimplePlayer.h | 108 aaudio_result_t result = AAUDIO_OK; 113 if (result != AAUDIO_OK) return result; 131 if (result == AAUDIO_OK) { 147 aaudio_result_t result = AAUDIO_OK; in open() 152 if (result != AAUDIO_OK) return result; in open() 184 return AAUDIO_OK; in close() 203 if (result != AAUDIO_OK) { in start() 213 if (result != AAUDIO_OK) { in stop() 250 WakeUp waker{AAUDIO_OK}; 289 if (result == AAUDIO_OK && // valid? in SimplePlayerDataCallbackProc()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine_callback.cpp | 43 aaudio_result_t result = AAUDIO_OK; in testOpenPlayClose() 54 if (result != AAUDIO_OK) { in testOpenPlayClose() 75 if (result != AAUDIO_OK) { in testOpenPlayClose() 82 if (result != AAUDIO_OK) { in testOpenPlayClose() 94 long ret = myData.waker.wait(AAUDIO_OK, NANOS_PER_SECOND); in testOpenPlayClose() 103 if (result != AAUDIO_OK) { in testOpenPlayClose() 114 if (result != AAUDIO_OK) { in testOpenPlayClose() 119 if (result != AAUDIO_OK) { in testOpenPlayClose()
|
D | write_sine.cpp | 38 aaudio_result_t result = AAUDIO_OK; in main() 67 if (result != AAUDIO_OK) { in main() 109 if (result != AAUDIO_OK) { in main() 182 if (result != AAUDIO_OK) { in main() 201 return (result != AAUDIO_OK) ? EXIT_FAILURE : EXIT_SUCCESS; in main()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AudioEndpointParcelable.cpp | 93 if (result != AAUDIO_OK) return result; in resolve() 96 if (result != AAUDIO_OK) return result; in resolve() 120 if (result != AAUDIO_OK) { in validate() 125 if ((result = mUpMessageQueueParcelable.validate()) != AAUDIO_OK) { in validate() 129 if ((result = mDownMessageQueueParcelable.validate()) != AAUDIO_OK) { in validate() 133 if ((result = mUpDataQueueParcelable.validate()) != AAUDIO_OK) { in validate() 137 if ((result = mDownDataQueueParcelable.validate()) != AAUDIO_OK) { in validate() 141 return AAUDIO_OK; in validate()
|
D | RingBufferParcelable.cpp | 132 if (result != AAUDIO_OK) { in resolve() 138 if (result != AAUDIO_OK) { in resolve() 143 if (result != AAUDIO_OK) { in resolve() 151 return AAUDIO_OK; in resolve() 168 if ((result = mReadCounterParcelable.validate()) != AAUDIO_OK) { in validate() 172 if ((result = mWriteCounterParcelable.validate()) != AAUDIO_OK) { in validate() 176 if ((result = mDataParcelable.validate()) != AAUDIO_OK) { in validate() 180 return AAUDIO_OK; in validate()
|
D | SharedMemoryParcelable.cpp | 93 return AAUDIO_OK; in close() 104 return AAUDIO_OK; in resolveSharedMemory() 119 aaudio_result_t result = AAUDIO_OK; in resolve() 130 if (result == AAUDIO_OK && mResolvedAddress != MMAP_UNRESOLVED_ADDRESS) { in resolve() 148 return AAUDIO_OK; in validate()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor_callback.cpp | 48 if (result != AAUDIO_OK) { in main() 56 if (result != AAUDIO_OK) { in main() 74 if (result != AAUDIO_OK) { in main() 86 if (result != AAUDIO_OK) { in main() 91 if (result != AAUDIO_OK) { in main() 114 if (result != AAUDIO_OK) { in main() 118 if (result != AAUDIO_OK) { in main()
|
D | input_monitor.cpp | 72 if (result != AAUDIO_OK) { in main() 116 if (result != AAUDIO_OK) { in main() 165 if (timeResult == AAUDIO_OK) { in main() 189 if (result != AAUDIO_OK) { in main() 199 return (result != AAUDIO_OK) ? EXIT_FAILURE : EXIT_SUCCESS; in main()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 54 aaudio_result_t result = AAUDIO_OK; in open() 195 return AAUDIO_OK; in open() 205 return AAUDIO_OK; in close() 246 return AAUDIO_OK; in requestStart() 269 return AAUDIO_OK; in requestPause() 287 return AAUDIO_OK; in requestFlush() 305 return AAUDIO_OK; in requestStop() 350 return AAUDIO_OK; in updateStateMachine() 360 if (result != AAUDIO_OK) { in write() 387 if (result != AAUDIO_OK) { in write() [all …]
|
D | AudioStreamRecord.cpp | 49 aaudio_result_t result = AAUDIO_OK; in open() 52 if (result != AAUDIO_OK) { in open() 177 return AAUDIO_OK; in open() 227 return AAUDIO_OK; in requestStart() 242 return AAUDIO_OK; in requestStop() 247 aaudio_result_t result = AAUDIO_OK; in updateStateMachine() 278 if (result != AAUDIO_OK) { in read() 304 if (result != AAUDIO_OK) { in read()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 56 aaudio_result_t inputError = AAUDIO_OK; 57 aaudio_result_t outputError = AAUDIO_OK; 254 aaudio_result_t result = AAUDIO_OK; in main() 343 if (result != AAUDIO_OK) { in main() 361 if (result != AAUDIO_OK) { in main() 391 if (result != AAUDIO_OK) { in main() 398 if (result != AAUDIO_OK) { in main() 407 if (loopbackData.inputError != AAUDIO_OK) { in main() 410 } else if (loopbackData.outputError != AAUDIO_OK) { in main() 446 if (loopbackData.inputError == AAUDIO_OK) { in main() [all …]
|