/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.h | 47 aaudio_result_t getTimestamp(clockid_t clockId, 51 virtual aaudio_result_t updateStateMachine() override; 53 aaudio_result_t open(const AudioStreamBuilder &builder) override; 55 aaudio_result_t setBufferSize(int32_t requestedFrames) override; 65 aaudio_result_t registerThread() override; 67 aaudio_result_t unregisterThread() override; 79 aaudio_result_t startClient(const android::AudioClient& client, 83 aaudio_result_t stopClient(audio_port_handle_t clientHandle); 90 aaudio_result_t requestStart_l() REQUIRES(mStreamLock) override; 91 aaudio_result_t requestStop_l() REQUIRES(mStreamLock) override; [all …]
|
D | AudioStreamInternalPlay.h | 37 aaudio_result_t open(const AudioStreamBuilder &builder) override; 39 aaudio_result_t requestPause_l() override; 41 aaudio_result_t requestFlush_l() override; 53 aaudio_result_t write(const void *buffer, 83 aaudio_result_t processDataNow(void *buffer, 94 aaudio_result_t writeNowWithConversion(const void *buffer,
|
D | AudioStreamInternal.cpp | 81 aaudio_result_t AudioStreamInternal::open(const AudioStreamBuilder &builder) { in open() 83 aaudio_result_t result = AAUDIO_OK; in open() 226 aaudio_result_t AudioStreamInternal::configureDataInformation(int32_t callbackFrames) { in configureDataInformation() 314 aaudio_result_t AudioStreamInternal::release_l() { in release_l() 315 aaudio_result_t result = AAUDIO_OK; in release_l() 340 aaudio_result_t result2 = AudioStream::release_l(); in release_l() 358 aaudio_result_t AudioStreamInternal::exitStandby_l() { in exitStandby_l() 373 aaudio_result_t result = mServiceInterface.exitStandby( in exitStandby_l() 423 aaudio_result_t AudioStreamInternal::requestStart_l() in requestStart_l() 447 aaudio_result_t result = mServiceInterface.startStream(mServiceStreamHandle); in requestStart_l() [all …]
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamBase.h | 79 virtual aaudio_result_t open(const aaudio::AAudioStreamRequest &request) = 0; 85 aaudio_result_t close() EXCLUDES(mLock); 93 aaudio_result_t start() EXCLUDES(mLock); 101 aaudio_result_t pause() EXCLUDES(mLock); 110 aaudio_result_t stop() EXCLUDES(mLock); 117 aaudio_result_t flush() EXCLUDES(mLock); 122 aaudio_result_t exitStandby(AudioEndpointParcelable *parcelable) EXCLUDES(mLock); 124 virtual aaudio_result_t startClient(const android::AudioClient& client, in startClient() 131 virtual aaudio_result_t stopClient(audio_port_handle_t clientHandle __unused) { in stopClient() 136 aaudio_result_t registerAudioThread(pid_t clientThreadId, int priority) EXCLUDES(mLock); [all …]
|
D | AAudioServiceStreamMMAP.cpp | 54 aaudio_result_t AAudioServiceStreamMMAP::open(const aaudio::AAudioStreamRequest &request) { in open() 64 aaudio_result_t result = AAudioServiceStreamBase::open(request); in open() 86 aaudio_result_t AAudioServiceStreamMMAP::startDevice() { in startDevice() 87 aaudio_result_t result = AAudioServiceStreamBase::startDevice(); in startDevice() 96 aaudio_result_t AAudioServiceStreamMMAP::pause_l() { in pause_l() 100 aaudio_result_t result = AAudioServiceStreamBase::pause_l(); in pause_l() 108 aaudio_result_t AAudioServiceStreamMMAP::stop_l() { in stop_l() 112 aaudio_result_t result = AAudioServiceStreamBase::stop_l(); in stop_l() 120 aaudio_result_t AAudioServiceStreamMMAP::standby_l() { in standby_l() 126 aaudio_result_t result = endpoint->standby(); in standby_l() [all …]
|
D | AAudioServiceEndpointMMAP.h | 51 aaudio_result_t open(const aaudio::AAudioStreamRequest &request) override; 55 aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream, 58 aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream, 61 aaudio_result_t startClient(const android::AudioClient& client, 65 aaudio_result_t stopClient(audio_port_handle_t clientHandle) override; 67 aaudio_result_t standby() override; 69 aaudio_result_t exitStandby(AudioEndpointParcelable* parcelable) override; 71 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override; 73 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override; 86 aaudio_result_t getDownDataDescription(AudioEndpointParcelable* parcelable); [all …]
|
D | AAudioServiceStreamMMAP.h | 52 aaudio_result_t open(const aaudio::AAudioStreamRequest &request) override; 54 aaudio_result_t startClient(const android::AudioClient& client, 58 aaudio_result_t stopClient(audio_port_handle_t clientHandle) override; 70 aaudio_result_t pause_l() REQUIRES(mLock) override; 72 aaudio_result_t stop_l() REQUIRES(mLock) override; 74 aaudio_result_t standby_l() REQUIRES(mLock) override; 76 aaudio_result_t exitStandby_l(AudioEndpointParcelable* parcelable) REQUIRES(mLock) override; 78 aaudio_result_t getAudioDataDescription_l( 81 aaudio_result_t getFreeRunningPosition_l(int64_t *positionFrames, 84 aaudio_result_t getHardwareTimestamp_l( [all …]
|
D | AAudioServiceEndpoint.h | 50 virtual aaudio_result_t open(const aaudio::AAudioStreamRequest &request) = 0; 58 aaudio_result_t registerStream(android::sp<AAudioServiceStreamBase> stream); 60 aaudio_result_t unregisterStream(android::sp<AAudioServiceStreamBase> stream); 62 virtual aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream, 65 virtual aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream, 68 virtual aaudio_result_t startClient(const android::AudioClient& client, in startClient() 75 virtual aaudio_result_t stopClient(audio_port_handle_t clientHandle) { in stopClient() 80 virtual aaudio_result_t standby() { in standby() 85 virtual aaudio_result_t exitStandby(AudioEndpointParcelable* parcelable) { in exitStandby() 95 virtual aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) = 0; [all …]
|
D | AAudioServiceEndpointShared.h | 46 aaudio_result_t open(const aaudio::AAudioStreamRequest &request) override; 50 aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream, 53 aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream, 56 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override; 58 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override; 68 aaudio_result_t startSharingThread_l() REQUIRES(mLockStreams); 70 aaudio_result_t stopSharingThread();
|
D | AAudioServiceStreamBase.cpp | 138 aaudio_result_t AAudioServiceStreamBase::open(const aaudio::AAudioStreamRequest &request) { in open() 140 aaudio_result_t result = AAUDIO_OK; in open() 200 aaudio_result_t AAudioServiceStreamBase::close() { in close() 201 aaudio_result_t result = sendCommand(CLOSE, nullptr, true /*waitForReply*/, TIMEOUT_NANOS); in close() 211 aaudio_result_t AAudioServiceStreamBase::close_l() { in close_l() 222 aaudio_result_t AAudioServiceStreamBase::startDevice() { in startDevice() 237 aaudio_result_t AAudioServiceStreamBase::start() { in start() 241 aaudio_result_t AAudioServiceStreamBase::start_l() { in start_l() 243 aaudio_result_t result = AAUDIO_OK; in start_l() 291 aaudio_result_t AAudioServiceStreamBase::pause() { in pause() [all …]
|
D | AAudioServiceEndpointShared.cpp | 62 aaudio_result_t AAudioServiceEndpointShared::open(const aaudio::AAudioStreamRequest &request) { in open() 63 aaudio_result_t result = AAUDIO_OK; in open() 120 aaudio_result_t aaudio::AAudioServiceEndpointShared::startSharingThread_l() { in startSharingThread_l() 129 aaudio_result_t result = getStreamInternal()->createThread(periodNanos, in startSharingThread_l() 138 aaudio_result_t aaudio::AAudioServiceEndpointShared::stopSharingThread() { in stopSharingThread() 143 aaudio_result_t AAudioServiceEndpointShared::startStream( in startStream() 147 aaudio_result_t result = AAUDIO_OK; in startStream() 180 aaudio_result_t AAudioServiceEndpointShared::stopStream(sp<AAudioServiceStreamBase> sharedStream, in stopStream() 193 aaudio_result_t AAudioServiceEndpointShared::getFreeRunningPosition(int64_t *positionFrames, in getFreeRunningPosition() 205 aaudio_result_t AAudioServiceEndpointShared::getTimestamp(int64_t *positionFrames, in getTimestamp() [all …]
|
D | AAudioServiceEndpointMMAP.cpp | 71 aaudio_result_t AAudioServiceEndpointMMAP::open(const aaudio::AAudioStreamRequest &request) { in open() 72 aaudio_result_t result = AAUDIO_OK; in open() 113 aaudio_result_t AAudioServiceEndpointMMAP::openWithFormat(audio_format_t audioFormat) { in openWithFormat() 114 aaudio_result_t result = AAUDIO_OK; in openWithFormat() 247 aaudio_result_t AAudioServiceEndpointMMAP::startStream(sp<AAudioServiceStreamBase> stream, in startStream() 256 aaudio_result_t result = startClient( in startStream() 266 aaudio_result_t AAudioServiceEndpointMMAP::stopStream(sp<AAudioServiceStreamBase> stream, in stopStream() 281 aaudio_result_t AAudioServiceEndpointMMAP::startClient(const android::AudioClient& client, in startClient() 289 aaudio_result_t AAudioServiceEndpointMMAP::stopClient(audio_port_handle_t clientHandle) { in stopClient() 291 aaudio_result_t result = AAudioConvert_androidToAAudioResult(mMmapStream->stop(clientHandle)); in stopClient() [all …]
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioBinderAdapter.cpp | 47 aaudio_result_t AAudioBinderAdapter::closeStream(aaudio_handle_t streamHandle) { in closeStream() 48 aaudio_result_t result; in closeStream() 56 aaudio_result_t AAudioBinderAdapter::getStreamDescription(aaudio_handle_t streamHandle, in getStreamDescription() 58 aaudio_result_t result; in getStreamDescription() 70 aaudio_result_t AAudioBinderAdapter::startStream(aaudio_handle_t streamHandle) { in startStream() 71 aaudio_result_t result; in startStream() 79 aaudio_result_t AAudioBinderAdapter::pauseStream(aaudio_handle_t streamHandle) { in pauseStream() 80 aaudio_result_t result; in pauseStream() 88 aaudio_result_t AAudioBinderAdapter::stopStream(aaudio_handle_t streamHandle) { in stopStream() 89 aaudio_result_t result; in stopStream() [all …]
|
D | AAudioServiceInterface.h | 53 virtual aaudio_result_t closeStream(aaudio_handle_t streamHandle) = 0; 58 virtual aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, 64 virtual aaudio_result_t startStream(aaudio_handle_t streamHandle) = 0; 69 virtual aaudio_result_t pauseStream(aaudio_handle_t streamHandle) = 0; 74 virtual aaudio_result_t stopStream(aaudio_handle_t streamHandle) = 0; 79 virtual aaudio_result_t flushStream(aaudio_handle_t streamHandle) = 0; 84 virtual aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle, 88 virtual aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle, 91 virtual aaudio_result_t startClient(aaudio_handle_t streamHandle, 96 virtual aaudio_result_t stopClient(aaudio_handle_t streamHandle, [all …]
|
D | AAudioBinderAdapter.h | 40 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override; 42 aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, 45 aaudio_result_t startStream(aaudio_handle_t streamHandle) override; 47 aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override; 49 aaudio_result_t stopStream(aaudio_handle_t streamHandle) override; 51 aaudio_result_t flushStream(aaudio_handle_t streamHandle) override; 53 aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle, 57 aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle, 60 aaudio_result_t exitStandby(aaudio_handle_t streamHandle,
|
D | AAudioBinderClient.h | 60 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override; 65 aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, 72 aaudio_result_t startStream(aaudio_handle_t streamHandle) override; 78 aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override; 80 aaudio_result_t stopStream(aaudio_handle_t streamHandle) override; 86 aaudio_result_t flushStream(aaudio_handle_t streamHandle) override; 92 aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle, 96 aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle, 99 aaudio_result_t startClient(aaudio_handle_t streamHandle __unused, in startClient() 106 aaudio_result_t stopClient(aaudio_handle_t streamHandle __unused, in stopClient() [all …]
|
D | SharedMemoryParcelable.h | 58 aaudio_result_t resolve(int32_t offsetInBytes, int32_t sizeInBytes, void **regionAddressPtr); 61 aaudio_result_t close(); 63 aaudio_result_t closeAndReleaseFd(); 84 aaudio_result_t resolveSharedMemory(const android::base::unique_fd& fd); 85 aaudio_result_t validate() const;
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.h | 68 bool checkPauseStateTransition(aaudio_result_t *result); 83 virtual aaudio_result_t requestStart_l() REQUIRES(mStreamLock) = 0; 85 virtual aaudio_result_t requestPause_l() REQUIRES(mStreamLock) { in requestPause_l() 90 virtual aaudio_result_t requestFlush_l() REQUIRES(mStreamLock) { in requestFlush_l() 95 virtual aaudio_result_t requestStop_l() REQUIRES(mStreamLock) = 0; 98 virtual aaudio_result_t getTimestamp(clockid_t clockId, 106 virtual aaudio_result_t updateStateMachine() = 0; 110 virtual aaudio_result_t waitForStateChange(aaudio_stream_state_t currentState, 118 virtual aaudio_result_t open(const AudioStreamBuilder& builder); 140 virtual aaudio_result_t release_l() REQUIRES(mStreamLock) { in release_l() [all …]
|
D | AudioStream.cpp | 68 aaudio_result_t AudioStream::open(const AudioStreamBuilder& builder) in open() 71 aaudio_result_t result = builder.validate(); in open() 151 aaudio_result_t AudioStream::systemStart() { in systemStart() 187 aaudio_result_t result = requestStart_l(); in systemStart() 195 aaudio_result_t AudioStream::systemPause() { in systemPause() 237 aaudio_result_t result = requestPause_l(); in systemPause() 245 aaudio_result_t AudioStream::safeFlush() { in safeFlush() 257 aaudio_result_t result = AAudio_isFlushAllowed(getState()); in safeFlush() 265 aaudio_result_t AudioStream::systemStopInternal() { in systemStopInternal() 267 aaudio_result_t result = safeStop_l(); in systemStopInternal() [all …]
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.h | 43 aaudio_result_t open(const AudioStreamBuilder & builder) override; 44 aaudio_result_t release_l() override; 48 aaudio_result_t requestStart_l() REQUIRES(mStreamLock) override; 49 aaudio_result_t requestPause_l() REQUIRES(mStreamLock) override; 50 aaudio_result_t requestFlush_l() REQUIRES(mStreamLock) override; 51 aaudio_result_t requestStop_l() REQUIRES(mStreamLock) override; 64 aaudio_result_t getTimestamp(clockid_t clockId, 68 aaudio_result_t write(const void *buffer, 72 aaudio_result_t setBufferSize(int32_t requestedFrames) override; 82 aaudio_result_t updateStateMachine() override;
|
D | AudioStreamRecord.h | 41 aaudio_result_t open(const AudioStreamBuilder & builder) override; 42 aaudio_result_t release_l() override; 45 virtual aaudio_result_t getTimestamp(clockid_t clockId, 49 aaudio_result_t read(void *buffer, 53 aaudio_result_t setBufferSize(int32_t requestedFrames) override; 61 aaudio_result_t updateStateMachine() override; 80 aaudio_result_t requestStart_l() REQUIRES(mStreamLock) override; 81 aaudio_result_t requestStop_l() REQUIRES(mStreamLock) override;
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimpleRecorder.h | 100 aaudio_result_t open(const AAudioParameters ¶meters, 104 aaudio_result_t result = AAUDIO_OK; 144 aaudio_result_t open(int channelCount, int sampSampleRate, aaudio_format_t format, in open() 148 aaudio_result_t result = AAUDIO_OK; in open() 179 aaudio_result_t close() { in close() 188 aaudio_result_t prime() { in prime() 193 aaudio_result_t result = numFrames; in prime() 201 aaudio_result_t start() { in start() 202 aaudio_result_t result = AAudioStream_requestStart(mStream); in start() 213 aaudio_result_t stop() { in stop() [all …]
|
D | AAudioSimplePlayer.h | 119 aaudio_result_t open(const AAudioParameters ¶meters, 123 aaudio_result_t result = AAUDIO_OK; 157 aaudio_result_t open(int channelCount, int sampSampleRate, aaudio_format_t format, in open() 161 aaudio_result_t result = AAUDIO_OK; in open() 193 aaudio_result_t close() { in close() 202 aaudio_result_t prime() { in prime() 207 aaudio_result_t result = numFrames; in prime() 215 aaudio_result_t start() { in start() 216 aaudio_result_t result = AAudioStream_requestStart(mStream); in start() 225 aaudio_result_t stop() { in stop() [all …]
|
/frameworks/av/services/oboeservice/fuzzer/ |
D | oboeservice_fuzzer.cpp | 152 aaudio_result_t closeStream(aaudio_handle_t streamHandle) override; 154 aaudio_result_t getStreamDescription(aaudio_handle_t streamHandle, 157 aaudio_result_t startStream(aaudio_handle_t streamHandle) override; 159 aaudio_result_t pauseStream(aaudio_handle_t streamHandle) override; 161 aaudio_result_t stopStream(aaudio_handle_t streamHandle) override; 163 aaudio_result_t flushStream(aaudio_handle_t streamHandle) override; 165 aaudio_result_t registerAudioThread(aaudio_handle_t streamHandle, pid_t clientThreadId, 168 aaudio_result_t unregisterAudioThread(aaudio_handle_t streamHandle, 171 aaudio_result_t startClient(aaudio_handle_t streamHandle UNUSED_PARAM, in startClient() 178 aaudio_result_t stopClient(aaudio_handle_t streamHandle UNUSED_PARAM, in stopClient() [all …]
|
/frameworks/av/media/libaaudio/include/aaudio/ |
D | AAudio.h | 200 typedef int32_t aaudio_result_t; typedef 744 AAUDIO_API const char * AAudio_convertResultToText(aaudio_result_t returnCode) __INTRODUCED_IN(26); 777 AAUDIO_API aaudio_result_t AAudio_createStreamBuilder(AAudioStreamBuilder** builder) 1289 aaudio_result_t error); 1329 AAUDIO_API aaudio_result_t AAudioStreamBuilder_openStream(AAudioStreamBuilder* builder, 1340 AAUDIO_API aaudio_result_t AAudioStreamBuilder_delete(AAudioStreamBuilder* builder) 1395 AAUDIO_API aaudio_result_t AAudioStream_release(AAudioStream* stream) __INTRODUCED_IN(30); 1408 AAUDIO_API aaudio_result_t AAudioStream_close(AAudioStream* stream) __INTRODUCED_IN(26); 1422 AAUDIO_API aaudio_result_t AAudioStream_requestStart(AAudioStream* stream) __INTRODUCED_IN(26); 1439 AAUDIO_API aaudio_result_t AAudioStream_requestPause(AAudioStream* stream) __INTRODUCED_IN(26); [all …]
|