/external/webrtc/webrtc/modules/audio_device/android/ |
D | audio_manager.cc | 33 AudioManager::JavaAudioManager::JavaAudioManager( in JavaAudioManager() 47 AudioManager::JavaAudioManager::~JavaAudioManager() { in ~JavaAudioManager() 51 bool AudioManager::JavaAudioManager::Init() { in Init() 55 void AudioManager::JavaAudioManager::Close() { in Close() 59 bool AudioManager::JavaAudioManager::IsCommunicationModeEnabled() { in IsCommunicationModeEnabled() 63 bool AudioManager::JavaAudioManager::IsDeviceBlacklistedForOpenSLESUsage() { in IsDeviceBlacklistedForOpenSLESUsage() 69 AudioManager::AudioManager() in AudioManager() function in webrtc::AudioManager 83 reinterpret_cast<void*>(&webrtc::AudioManager::CacheAudioParameters)}}; in AudioManager() 94 AudioManager::~AudioManager() { in ~AudioManager() 100 void AudioManager::SetActiveAudioLayer( in SetActiveAudioLayer() [all …]
|
D | audio_manager.h | 33 class AudioManager { 58 AudioManager(); 59 ~AudioManager(); 137 rtc::scoped_ptr<AudioManager::JavaAudioManager> j_audio_manager_;
|
D | audio_manager_unittest.cc | 30 audio_manager_.reset(new AudioManager()); in AudioManagerTest() 36 AudioManager* audio_manager() const { return audio_manager_.get(); } in audio_manager() 46 rtc::scoped_ptr<AudioManager> audio_manager_;
|
D | audio_record_jni.h | 69 explicit AudioRecordJni(AudioManager* audio_manager); 129 const AudioManager* audio_manager_;
|
D | opensles_player.h | 63 explicit OpenSLESPlayer(AudioManager* audio_manager);
|
D | audio_track_jni.h | 65 explicit AudioTrackJni(AudioManager* audio_manager);
|
D | audio_device_template.h | 41 AudioManager* audio_manager) in AudioDeviceTemplate() 496 AudioManager* const audio_manager_;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AudioManagerTest.java | 4 import android.media.AudioManager; 15 private AudioManager audioManager; 17 private AudioManager.OnAudioFocusChangeListener listener; 21 audioManager = Robolectric.newInstanceOf(AudioManager.class); in setUp() 23 listener = new AudioManager.OnAudioFocusChangeListener() { in setUp() 42 assertEquals(AudioManager.AUDIOFOCUS_REQUEST_GRANTED, value); in requestAudioFocus_shouldReturnTheSpecifiedValue() 44 shadowAudioManager.setNextFocusRequestResponse(AudioManager.AUDIOFOCUS_REQUEST_FAILED); in requestAudioFocus_shouldReturnTheSpecifiedValue() 47 assertEquals(AudioManager.AUDIOFOCUS_REQUEST_FAILED, value); in requestAudioFocus_shouldReturnTheSpecifiedValue() 63 assertEquals(45, audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)); in shouldGetStreamMaxVolume() 70 assertEquals(5, audioManager.getStreamVolume(AudioManager.STREAM_MUSIC)); in shouldGetVolume() [all …]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
D | AudioManagerFacade.java | 21 import android.media.AudioManager; 22 import android.media.AudioManager.OnAudioFocusChangeListener; 33 private final AudioManager mAudio; 41 mAudio = (AudioManager) mService.getSystemService(Context.AUDIO_SERVICE); in AudioManagerFacade() 44 if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK) { in AudioManagerFacade() 46 } else if (focusChange == AudioManager.AUDIOFOCUS_GAIN) { in AudioManagerFacade() 66 AudioManager.STREAM_MUSIC, in audioRequestAudioFocus() 67 AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK); in audioRequestAudioFocus() 68 if (status == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) { in audioRequestAudioFocus()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAudioManager.java | 3 import android.media.AudioManager; 8 @Implements(AudioManager.class) 15 private int nextResponseValue = AudioManager.AUDIOFOCUS_REQUEST_GRANTED; 16 private AudioManager.OnAudioFocusChangeListener lastAbandonedAudioFocusListener; 35 …public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener l, int streamTy… in requestAudioFocus() 41 public int abandonAudioFocus(AudioManager.OnAudioFocusChangeListener l) { in abandonAudioFocus() 78 public AudioManager.OnAudioFocusChangeListener getLastAbandonedAudioFocusListener() { in getLastAbandonedAudioFocusListener() 83 public final AudioManager.OnAudioFocusChangeListener listener; 87 …private AudioFocusRequest(AudioManager.OnAudioFocusChangeListener listener, int streamType, int du… in AudioFocusRequest()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | SettingsFacade.java | 24 import android.media.AudioManager; 50 private final AudioManager mAudio; 64 mAudio = (AudioManager) mService.getSystemService(Context.AUDIO_SERVICE); in SettingsFacade() 93 return mAudio.getRingerMode() == AudioManager.RINGER_MODE_SILENT; in checkRingerSilentMode() 103 mAudio.setRingerMode(enabled ? AudioManager.RINGER_MODE_SILENT in toggleRingerSilentMode() 104 : AudioManager.RINGER_MODE_NORMAL); in toggleRingerSilentMode() 110 if (AudioManager.isValidRingerMode(mode)) { in setRingerMode() 125 return mAudio.getStreamMaxVolume(AudioManager.STREAM_RING); in getMaxRingerVolume() 130 return mAudio.getStreamVolume(AudioManager.STREAM_RING); in getRingerVolume() 135 mAudio.setStreamVolume(AudioManager.STREAM_RING, volume, 0); in setRingerVolume() [all …]
|
D | ToneGeneratorFacade.java | 19 import android.media.AudioManager; 37 mToneGenerator = new ToneGenerator(AudioManager.STREAM_MUSIC, 100); in ToneGeneratorFacade()
|
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioTrack.java | 19 import android.media.AudioManager; 42 private final AudioManager audioManager; 148 audioManager = (AudioManager) context.getSystemService( in WebRtcAudioTrack() 186 audioTrack = new AudioTrack(AudioManager.STREAM_VOICE_CALL, in initPlayout() 198 assertTrue(audioTrack.getStreamType() == AudioManager.STREAM_VOICE_CALL); in initPlayout() 226 return audioManager.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL); 237 audioManager.setStreamVolume(AudioManager.STREAM_VOICE_CALL, volume, 0); 252 return audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL);
|
D | WebRtcAudioManager.java | 17 import android.media.AudioManager; 74 private final AudioManager audioManager; 93 audioManager = (AudioManager) context.getSystemService( in WebRtcAudioManager() 123 return (audioManager.getMode() == AudioManager.MODE_IN_COMMUNICATION); in isCommunicationModeEnabled() 205 AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE); in getSampleRateOnJellyBeanMR10OrHigher() 219 AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER); in getLowLatencyOutputFramesPerBuffer()
|
D | WebRtcAudioUtils.java | 18 import android.media.AudioManager;
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | AppRTCAudioManager.java | 20 import android.media.AudioManager; 47 private AudioManager audioManager; 48 private int savedAudioMode = AudioManager.MODE_INVALID; 105 audioManager = ((AudioManager) context.getSystemService( in AppRTCAudioManager() 134 audioManager.requestAudioFocus(null, AudioManager.STREAM_VOICE_CALL, in init() 135 AudioManager.AUDIOFOCUS_GAIN_TRANSIENT); in init() 141 audioManager.setMode(AudioManager.MODE_IN_COMMUNICATION); in init()
|
/external/webrtc/webrtc/voice_engine/test/android/android_test/src/org/webrtc/voiceengine/test/ |
D | AndroidTest.java | 28 import android.media.AudioManager; 352 setVolumeControlStream(AudioManager.STREAM_VOICE_CALL); in onCreate() 356 AudioManager am = in onCreate() 357 (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate() 358 _maxVolume = am.getStreamMaxVolume(AudioManager.STREAM_VOICE_CALL); in onCreate() 699 new AudioTrack(AudioManager.STREAM_VOICE_CALL, 16000, in playAudioFromFile() 804 AudioManager.STREAM_VOICE_CALL)); in playAudioInThread() 810 AudioManager.STREAM_VOICE_CALL, in playAudioInThread()
|
/external/webrtc/webrtc/modules/audio_device/test/android/audio_device_android_test/src/org/webrtc/voiceengine/test/ |
D | AudioDeviceAndroidTest.java | 4 import android.media.AudioManager; 31 setVolumeControlStream(AudioManager.STREAM_VOICE_CALL); in onCreate()
|
/external/webrtc/webrtc/modules/audio_device/ |
D | audio_device_impl.h | 24 class AudioManager; variable 199 AudioManager* GetAndroidAudioManagerForTest() { in GetAndroidAudioManagerForTest() 219 rtc::scoped_ptr<AudioManager> _audioManagerAndroid;
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SoundSystem.java | 22 import android.media.AudioManager; 43 mSoundPool = new SoundPool(MAX_STREAMS, AudioManager.STREAM_MUSIC, 0); in SoundSystem()
|
D | DifficultyMenuActivity.java | 8 import android.media.AudioManager; 107 setVolumeControlStream(AudioManager.STREAM_MUSIC); in onCreate()
|
D | ExtrasMenuActivity.java | 12 import android.media.AudioManager; 128 setVolumeControlStream(AudioManager.STREAM_MUSIC); in onCreate()
|
D | LevelSelectActivity.java | 22 import android.media.AudioManager; 197 setVolumeControlStream(AudioManager.STREAM_MUSIC); in onCreate()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
D | TerminalManager.java | 27 import android.media.AudioManager; 223 mediaPlayer.setAudioStreamType(AudioManager.STREAM_NOTIFICATION); in enableMediaPlayer()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
D | ConsoleActivity.java | 35 import android.media.AudioManager; 272 setVolumeControlStream(AudioManager.STREAM_MUSIC); in onCreate() 599 setVolumeControlStream(AudioManager.STREAM_NOTIFICATION); in onPrepareOptionsMenu() 642 setVolumeControlStream(AudioManager.STREAM_MUSIC); in onOptionsMenuClosed()
|