/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.cpp | 43 AudioStream::AudioStream() in AudioStream() function in aaudio::AudioStream 50 AudioStream::~AudioStream() { in ~AudioStream() 69 aaudio_result_t AudioStream::open(const AudioStreamBuilder& builder) in open() 122 void AudioStream::logOpenActual() { in logOpenActual() 147 void AudioStream::logReleaseBufferState() { in logReleaseBufferState() 157 aaudio_result_t AudioStream::systemStart() { in systemStart() 211 aaudio_result_t AudioStream::systemPause() { in systemPause() 265 aaudio_result_t AudioStream::safeFlush() { in safeFlush() 285 aaudio_result_t AudioStream::systemStopInternal() { in systemStopInternal() 295 aaudio_result_t AudioStream::systemStopFromApp() { in systemStopFromApp() [all …]
|
D | AAudioAudio.cpp | 56 static AudioStream *convertAAudioStreamToAudioStream(AAudioStream* stream) in convertAAudioStreamToAudioStream() 58 return (AudioStream*) stream; in convertAAudioStreamToAudioStream() 249 AudioStream *audioStream = nullptr; in AAudioStreamBuilder_openStream() 278 AudioStream* audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_release() 297 AudioStream* audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_close() 319 AudioStream *audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_requestStart() 329 AudioStream *audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_requestPause() 336 AudioStream *audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_requestFlush() 343 AudioStream *audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_requestStop() 354 AudioStream *audioStream = convertAAudioStreamToAudioStream(stream); in AAudioStream_waitForStateChange() [all …]
|
D | AudioStreamBuilder.h | 107 aaudio_result_t build(AudioStream **streamPtr); 115 static void stopUsingStream(AudioStream *stream); 119 static AudioStream *startUsingStream(android::sp<AudioStream> &spAudioStream);
|
D | AudioStreamBuilder.cpp | 71 android::sp<AudioStream> &stream) { in builder_createStream() 104 aaudio_result_t AudioStreamBuilder::build(AudioStream** streamPtr) { in build() 208 android::sp<AudioStream> audioStream; in build() 235 AudioStream *AudioStreamBuilder::startUsingStream(android::sp<AudioStream> &audioStream) { in startUsingStream() 244 void AudioStreamBuilder::stopUsingStream(AudioStream *stream) { in stopUsingStream() 246 android::sp<AudioStream> spAudioStream(stream); in stopUsingStream()
|
D | AudioStream.h | 53 class AudioStream : public android::AudioSystem::AudioDeviceCallback { 56 AudioStream(); 58 virtual ~AudioStream(); 507 void registerWithAudioManager(const android::sp<AudioStream>& parent); 552 android::wp<AudioStream> mParent GUARDED_BY(mParentLock);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/ |
D | AudioRepository.kt | 30 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>() 75 fun getAudioStream(audioStream: AudioStream): Flow<AudioStreamModel> in <lambda>() 78 suspend fun getLastAudibleVolume(audioStream: AudioStream): Int in <lambda>() 80 suspend fun setVolume(audioStream: AudioStream, volume: Int) in <lambda>() 86 suspend fun setMuted(audioStream: AudioStream, isMuted: Boolean): Boolean in <lambda>() 88 suspend fun setRingerMode(audioStream: AudioStream, mode: RingerMode) in <lambda>() 103 private val streamSettingNames: Map<AudioStream, String> = 105 AudioStream(AudioManager.STREAM_VOICE_CALL) to Settings.System.VOLUME_VOICE, 106 AudioStream(AudioManager.STREAM_SYSTEM) to Settings.System.VOLUME_SYSTEM, 107 AudioStream(AudioManager.STREAM_RING) to Settings.System.VOLUME_RING, [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/ |
D | AudioStreamSliderViewModel.kt | 24 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>() 65 AudioStream(AudioManager.STREAM_MUSIC) to R.drawable.ic_music_note, in <lambda>() 66 AudioStream(AudioManager.STREAM_VOICE_CALL) to R.drawable.ic_call, in <lambda>() 67 AudioStream(AudioManager.STREAM_BLUETOOTH_SCO) to R.drawable.ic_call, in <lambda>() 68 AudioStream(AudioManager.STREAM_RING) to R.drawable.ic_ring_volume, in <lambda>() 69 AudioStream(AudioManager.STREAM_NOTIFICATION) to R.drawable.ic_volume_ringer, in <lambda>() 70 AudioStream(AudioManager.STREAM_ALARM) to R.drawable.ic_volume_alarm, in <lambda>() 74 AudioStream(AudioManager.STREAM_MUSIC) to R.string.stream_music, in <lambda>() 75 AudioStream(AudioManager.STREAM_VOICE_CALL) to R.string.stream_voice_call, in <lambda>() 76 AudioStream(AudioManager.STREAM_BLUETOOTH_SCO) to R.string.stream_voice_call, in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/data/repository/ |
D | FakeAudioRepository.kt | 22 import com.android.settingslib.volume.shared.model.AudioStream 42 private val models: MutableMap<AudioStream, MutableStateFlow<AudioStreamModel>> = mutableMapOf() 43 private val lastAudibleVolumes: MutableMap<AudioStream, Int> = mutableMapOf() 47 audioStream: AudioStream in getAudioStreamModelState() 63 override fun getAudioStream(audioStream: AudioStream): StateFlow<AudioStreamModel> = in getAudioStream() 66 override suspend fun setVolume(audioStream: AudioStream, volume: Int) { in getAudioStream() 70 override suspend fun setMuted(audioStream: AudioStream, isMuted: Boolean): Boolean { in setMuted() 80 override suspend fun getLastAudibleVolume(audioStream: AudioStream): Int = in getLastAudibleVolume() 99 fun setLastAudibleVolume(audioStream: AudioStream, volume: Int) { in setLastAudibleVolume() 103 override suspend fun setRingerMode(audioStream: AudioStream, mode: RingerMode) { in setRingerMode()
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
D | AudioGroup.java | 101 private final Map<AudioStream, Long> mStreams; 125 mStreams = new HashMap<AudioStream, Long>(); in AudioGroup() 131 public AudioStream[] getStreams() { in getStreams() 133 return mStreams.keySet().toArray(new AudioStream[mStreams.size()]); in getStreams() 165 synchronized void add(AudioStream stream) { in add() 191 synchronized void remove(AudioStream stream) { in remove() 221 for (AudioStream stream : getStreams()) { in clear()
|
D | AudioStream.java | 47 public class AudioStream extends RtpStream { class 60 public AudioStream(InetAddress address) throws SocketException { in AudioStream() method in AudioStream
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 98 class AudioStream class 101 AudioStream(); 102 ~AudioStream(); 109 void encode(int tick, AudioStream *chain); 148 AudioStream *mNext; 153 AudioStream::AudioStream() in AudioStream() function in __anon5fc701100111::AudioStream 161 AudioStream::~AudioStream() in ~AudioStream() 169 bool AudioStream::set(int mode, int socket, sockaddr_storage *remote, in set() 230 void AudioStream::sendDtmf(int event) in sendDtmf() 238 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) in mix() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/ |
D | AudioVolumeInteractorTest.kt | 26 import com.android.settingslib.volume.shared.model.AudioStream 61 .getAudioStream(AudioStream(AudioManager.STREAM_RING)) in setUp() 107 underTest.canChangeVolume(AudioStream(AudioManager.STREAM_NOTIFICATION)) in ringMuted_notificationVolume_cantChange() 110 underTest.setMuted(AudioStream(AudioManager.STREAM_RING), true) in ringMuted_notificationVolume_cantChange() 129 underTest.canChangeVolume(AudioStream(AudioManager.STREAM_NOTIFICATION)) in zenMuted_cantChange() 132 underTest.setMuted(AudioStream(AudioManager.STREAM_RING), true) in zenMuted_cantChange() 176 underTest.setMuted(AudioStream(AudioManager.STREAM_NOTIFICATION), true) in ringerModeVibrateAndMuted_getNotificationStream_volumeIsMin() 180 underTest.getAudioStream(AudioStream(AudioManager.STREAM_NOTIFICATION)) in ringerModeVibrateAndMuted_getNotificationStream_volumeIsMin() 197 underTest.getAudioStream(AudioStream(AudioManager.STREAM_RING)) in ringerModeVibrate_getRingerStream_volumeIsMin() 229 underTest.setMuted(AudioStream(AudioManager.STREAM_RING), true) in muteRingerStream_ringerMode_vibrate() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | NotificationsSoundPolicyInteractorTest.kt | 27 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>() 171 for (stream in AudioStream.supportedStreamTypes) { in <lambda>() 172 val isZenMuted by collectLastValue(underTest.isZenMuted(AudioStream(stream))) in <lambda>() 188 for (stream in AudioStream.supportedStreamTypes) { in <lambda>() 189 val isZenMuted by collectLastValue(underTest.isZenMuted(AudioStream(stream))) in <lambda>() 211 for (stream in AudioStream.supportedStreamTypes) { in <lambda>() 212 val isZenMuted by collectLastValue(underTest.isZenMuted(AudioStream(stream))) in <lambda>() 233 collectLastValue(underTest.isZenMuted(AudioStream(AudioManager.STREAM_ALARM))) in <lambda>() 253 collectLastValue(underTest.isZenMuted(AudioStream(AudioManager.STREAM_MUSIC))) in <lambda>() 278 underTest.isZenMuted(AudioStream(AudioManager.STREAM_NOTIFICATION)) in <lambda>() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/shared/model/ |
D | AudioManagerEvent.kt | 22 data class StreamMuteChanged(override val audioStream: AudioStream) : StreamAudioManagerEvent 24 data class StreamVolumeChanged(override val audioStream: AudioStream) : StreamAudioManagerEvent 36 val audioStream: AudioStream
|
D | AudioStreamModel.kt | 21 val audioStream: AudioStream,
|
D | AudioStream.kt | 23 value class AudioStream(val value: Int) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/domain/interactor/ |
D | AudioVolumeInteractor.kt | 22 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>() 38 fun getAudioStream(audioStream: AudioStream): Flow<AudioStreamModel> = in <lambda>() 50 suspend fun setVolume(audioStream: AudioStream, volume: Int) { in <lambda>() 63 suspend fun setMuted(audioStream: AudioStream, isMuted: Boolean) { in <lambda>() 86 fun canChangeVolume(audioStream: AudioStream): Flow<Boolean> { in <lambda>() 90 getAudioStream(AudioStream(AudioManager.STREAM_RING)).map { it.isMuted }, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/domain/model/ |
D | SliderType.kt | 19 import com.android.settingslib.volume.shared.model.AudioStream 26 data class Stream(val stream: AudioStream) : SliderType
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/ |
D | AudioRepositoryTest.kt | 27 import com.android.settingslib.volume.shared.model.AudioStream 87 triggerEvent(AudioManagerEvent.StreamVolumeChanged(AudioStream(streamType))) in setup() 93 triggerEvent(AudioManagerEvent.StreamMuteChanged(AudioStream(streamType))) in setup() 165 val audioStream = AudioStream(AudioManager.STREAM_SYSTEM) in adjustingVolume_changesTheStream() 194 val audioStream = AudioStream(AudioManager.STREAM_SYSTEM) in muteStream_mutesTheStream() 223 val audioStream = AudioStream(AudioManager.STREAM_SYSTEM) in unmuteStream_unmutesTheStream()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/shared/ |
D | AudioManagerEventsReceiverTest.kt | 26 import com.android.settingslib.volume.shared.model.AudioStream 92 AudioStream(AudioManager.STREAM_SYSTEM), in validIntent_translatedToEvent() 95 AudioStream(AudioManager.STREAM_SYSTEM), in validIntent_translatedToEvent()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/statusbar/notification/domain/interactor/ |
D | NotificationsSoundPolicyInteractor.kt | 25 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>() 62 fun isZenMuted(stream: AudioStream): Flow<Boolean> { in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/shared/ |
D | AudioManagerEventsReceiver.kt | 26 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>() 103 val audioStream = AudioStream(audioStreamType) in toAudioManagerEvent()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | README.md | 1 The legacy folder contains the classes that implement AAudio AudioStream on top of
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/domain/interactor/ |
D | AudioSlidersInteractor.kt | 22 import com.android.settingslib.volume.shared.model.AudioStream in <lambda>() 84 add(SliderType.Stream(AudioStream(stream))) in <lambda>()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipAudioCall.java | 26 import android.net.rtp.AudioStream; 188 private AudioStream mAudioStream; 373 mAudioStream = new AudioStream(InetAddress.getByName( in transferToNewSession() 640 mAudioStream = new AudioStream(InetAddress.getByName( 711 mAudioStream = new AudioStream(InetAddress.getByName( 948 public AudioStream getAudioStream() { 1029 AudioStream stream = mAudioStream;
|