Home
last modified time | relevance | path

Searched refs:mAudioStream (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamPreference.java40 @Nullable private AudioStream mAudioStream; field in AudioStreamPreference
72 if (mAudioStream != null) { in setAudioStreamState()
73 mAudioStream.setState(state); in setAudioStreamState()
78 if (mAudioStream != null) { in setAudioStreamMetadata()
79 mAudioStream.setMetadata(metadata); in setAudioStreamMetadata()
87 return mAudioStream != null ? mAudioStream.getBroadcastId() : -1; in getAudioStreamBroadcastId()
92 return mAudioStream != null ? mAudioStream.getBroadcastName() : null; in getAudioStreamBroadcastName()
96 return mAudioStream != null ? mAudioStream.getRssi() : -1; in getAudioStreamRssi()
101 return mAudioStream != null ? mAudioStream.getMetadata() : null; in getAudioStreamMetadata()
105 return mAudioStream != null in getAudioStreamState()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/android/
DImsMediaAudioSource.cpp39 mAudioStream = nullptr; in ImsMediaAudioSource()
123 if (mAudioStream == nullptr) in Start()
137 auto audioResult = AAudioStream_requestStart(mAudioStream); in Start()
150 mAudioStream, inputState, &nextState, 10 * AAUDIO_STATE_TIMEOUT_NANO); in Start()
187 if (mAudioStream != nullptr) in Stop()
191 aaudio_result_t result = AAudioStream_requestStop(mAudioStream); in Stop()
200 mAudioStream, inputState, &nextState, AAUDIO_STATE_TIMEOUT_NANO); in Stop()
209 AAudioStream_close(mAudioStream); in Stop()
210 mAudioStream = nullptr; in Stop()
273 if (mAudioStream != nullptr && in run()
[all …]
DImsMediaAudioPlayer.cpp41 mAudioStream = nullptr; in ImsMediaAudioPlayer()
141 if (mAudioStream == nullptr) in Start()
182 auto result = AAudioStream_requestStart(mAudioStream); in Start()
198 mAudioStream, inputState, &nextState, AAUDIO_STATE_TIMEOUT_NANO); in Start()
250 if (mAudioStream != nullptr) in Stop()
254 aaudio_result_t result = AAudioStream_requestStop(mAudioStream); in Stop()
263 mAudioStream, inputState, &nextState, AAUDIO_STATE_TIMEOUT_NANO); in Stop()
272 AAudioStream_close(mAudioStream); in Stop()
273 mAudioStream = nullptr; in Stop()
284 if (size == 0 || buffer == nullptr || mAudioStream == nullptr || in onDataFrame()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/android/include/
DImsMediaAudioPlayer.h161 AAudioStream* mAudioStream; variable
DImsMediaAudioSource.h154 AAudioStream* mAudioStream; variable