Searched refs:AudioSystem (Results 51 - 75 of 78) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java35 import android.media.AudioSystem;
879 && AudioSystem.isStreamActive(suggestedStream, 0)) {
884 && !AudioSystem.isStreamActive(AudioManager.STREAM_MUSIC, 0)) {
H A DMediaSessionRecord.java25 import android.media.AudioSystem;
460 if (AudioSystem.isStreamActive(stream, 0)) {
H A DMediaRouterService.java28 import android.media.AudioSystem;
1385 return AudioSystem.STREAM_MUSIC;
/frameworks/av/services/audioflinger/
H A DThreads.cpp1221 lStatus = AudioSystem::registerEffect(desc, mId, chain->strategy(), sessionId, id);
1263 AudioSystem::unregisterEffect(effect->id());
1772 uint32_t strategy = AudioSystem::getStrategyForStream(streamType);
1776 uint32_t actual = AudioSystem::getStrategyForStream(t->streamType());
1809 chain->setStrategy(AudioSystem::getStrategyForStream(track->streamType()));
1905 status = AudioSystem::startOutput(mId, track->streamType(),
1912 AudioSystem::stopOutput(mId, track->streamType(),
1966 track->triggerEvents(AudioSystem::SYNC_EVENT_PRESENTATION_COMPLETE);
2304 return AudioSystem::getStrategyForStream(AUDIO_STREAM_MUSIC);
2309 return AudioSystem
[all...]
H A DEffects.cpp212 AudioSystem::unregisterEffect(mId);
592 status_t status = AudioSystem::setEffectEnabled(mId, enabled);
1349 mStrategy = AudioSystem::getStrategyForStream(AUDIO_STREAM_MUSIC);
H A DPatchPanel.cpp451 patch->mPatchRecord->start(AudioSystem::SYNC_EVENT_NONE, 0);
H A DThreads.h1243 AudioSystem::sync_event_t event,
/frameworks/av/include/media/
H A DAudioSystem.h39 class AudioSystem class in namespace:android
/frameworks/av/media/libstagefright/
H A DUtils.cpp32 #include <media/AudioSystem.h>
831 ALOGE(" Couldn't map mime type \"%s\" to a valid AudioSystem::audio_format !", mime);
889 return AudioSystem::isOffloadSupported(info);
/frameworks/av/services/radio/
H A DRadioService.cpp38 #include <media/AudioSystem.h>
634 AudioSystem::setDeviceConnectionState(AUDIO_DEVICE_IN_FM_TUNER,
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp29 #include <media/AudioSystem.h>
613 // AudioSystem callback to be called while in critical section (in case of media server
933 status_t status = AudioSystem::getOutputSamplingRate(&afSamplingRate, nativeStreamType);
935 ALOGE("Error %d in AudioSystem::getOutputSamplingRate() for stream type %d "
H A Dandroid_media_AudioRecord.cpp341 lpRecorder->start((AudioSystem::sync_event_t)event, triggerSession));
468 // AudioSystem callback to be called while in critical section (in case of media server
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp695 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
698 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
/frameworks/base/services/core/java/com/android/server/audio/
H A DMediaFocusControl.java37 import android.media.AudioSystem;
574 return (fr.hasSameClient(AudioSystem.IN_VOICE_COMM_FOCUS_ID) || fr.isLockedFocusOwner());
900 (mIsRinging || (mAudioService.getMode() == AudioSystem.MODE_IN_CALL))) {
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp85 AudioSystem::setMode(state);
H A DAudioPolicyInterfaceImplLegacy.cpp85 AudioSystem::setMode(state);
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp396 mp->mSessionId = android::AudioSystem::newAudioUniqueId();
399 // android::AudioSystem::acquireAudioSessionId(mp->mSessionId);
501 // android::AudioSystem::releaseAudioSessionId(mp->mSessionId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialog.java39 import android.media.AudioSystem;
1011 if (D.BUG) Log.d(TAG, AudioSystem.streamToString(mRow.stream)
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDeviceTv.java40 import android.media.AudioSystem;
938 AudioSystem.DEVICE_OUT_HDMI_ARC,
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1561 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) {
1564 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) {
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java851 int s = AudioSystem.newAudioSessionId();
914 int s = AudioSystem.newAudioSessionId();
H A DMediaCodec.java1767 values[i] = AudioSystem.getAudioHwSyncForSession(sessionId);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp40 #include <media/AudioSystem.h>
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp803 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) {
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java59 import android.media.AudioSystem;
2480 } else if (n.audioStreamType >= 0 && n.audioStreamType < AudioSystem.getNumStreamTypes()) {
2485 } else if (n.audioStreamType == AudioSystem.STREAM_DEFAULT) {

Completed in 686 milliseconds

1234