HomeSort by relevance Sort by last modified time
    Searched defs:audioManager (Results 26 - 50 of 57) sorted by null

12 3

  /frameworks/base/media/java/android/media/
Ringtone.java 62 private final AudioManager mAudioManager;
91 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
100 * @param streamType The stream, see {@link AudioManager}.
113 * @return The stream type, see {@link AudioManager}.
240 AudioManager audioManager =
241 (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
242 mRemotePlayer = audioManager.getRingtonePlayer();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBarPolicy.java 29 import android.media.AudioManager;
135 filter.addAction(AudioManager.RINGER_MODE_CHANGED_ACTION);
136 filter.addAction(AudioManager.INTERNAL_RINGER_MODE_CHANGED_ACTION);
137 filter.addAction(AudioManager.ACTION_HEADSET_PLUG);
240 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
266 && audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_SILENT) {
271 audioManager.getRingerModeInternal() == AudioManager.RINGER_MODE_VIBRATE)
    [all...]
  /frameworks/base/services/core/java/com/android/server/hdmi/
HdmiControlService.java 52 import android.media.AudioManager;
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
HifiUltrasoundSpeakerTestActivity.java 24 import android.media.AudioManager;
102 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
103 String micSupportString = audioManager.getProperty(
104 AudioManager.PROPERTY_SUPPORT_MIC_NEAR_ULTRASOUND);
105 String spkrSupportString = audioManager.getProperty(
106 AudioManager.PROPERTY_SUPPORT_SPEAKER_NEAR_ULTRASOUND);
342 audioTrack = new AudioTrack(AudioManager.STREAM_MUSIC,
  /cts/tests/tests/media/src/android/media/cts/
AudioTrackSurroundTest.java 29 import android.media.AudioManager;
102 AudioManager audioManager = (AudioManager) getContext()
104 AudioDeviceInfo[] infos = audioManager.getDevices(AudioManager.GET_DEVICES_OUTPUTS);
204 AudioTrack track = new AudioTrack(AudioManager.STREAM_MUSIC,
  /packages/apps/MusicFX/src/com/android/musicfx/
ActivityMusic.java 34 import android.media.AudioManager;
189 final AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
192 || audioManager.isBluetoothA2dpOn();
201 } else if (action.equals(AudioManager.ACTION_AUDIO_BECOMING_NOISY)) {
202 mIsHeadsetOn = audioManager.isBluetoothA2dpOn() || audioManager.isWiredHeadsetOn();
209 mIsHeadsetOn = audioManager.isWiredHeadsetOn();
480 intentFilter.addAction(AudioManager.ACTION_AUDIO_BECOMING_NOISY)
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
BasicCallTests.java 32 import android.media.AudioManager;
480 AudioManager audioManager = (AudioManager) mComponentContextFixture.getTestDouble()
486 verify(audioManager, timeout(TEST_TIMEOUT)).requestAudioFocusForCall(anyInt(), anyInt());
487 verify(audioManager, timeout(TEST_TIMEOUT).atLeastOnce())
488 .setMode(AudioManager.MODE_IN_CALL);
498 verify(audioManager, timeout(TEST_TIMEOUT))
501 verify(audioManager, timeout(TEST_TIMEOUT))
507 verify(audioManager, timeout(TEST_TIMEOUT)
    [all...]
  /packages/services/Telephony/src/com/android/phone/
EmergencyDialer.java 28 import android.media.AudioManager;
105 private static final int DIAL_TONE_STREAM_TYPE = AudioManager.STREAM_DTMF;
479 mToneGenerator = new ToneGenerator(AudioManager.STREAM_DTMF,
559 AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
560 int ringerMode = audioManager.getRingerMode();
561 if ((ringerMode == AudioManager.RINGER_MODE_SILENT)
562 || (ringerMode == AudioManager.RINGER_MODE_VIBRATE)) {
PhoneUtils.java 29 import android.media.AudioManager;
95 // transitions for AudioManager.setMode() are allowed.
    [all...]
  /frameworks/base/services/core/java/com/android/server/
VibratorService.java 27 import android.media.AudioManager;
489 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
490 int ringerMode = audioManager.getRingerModeInternal();
494 return ringerMode != AudioManager.RINGER_MODE_SILENT;
496 return ringerMode == AudioManager.RINGER_MODE_VIBRATE;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipPhone.java 20 import android.media.AudioManager;
349 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE);
350 String echoSuppression = audioManager.getParameters("ec_supported");
570 Boolean ret = ((AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE))
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleNotifications.java 29 import android.media.AudioManager;
    [all...]
  /frameworks/base/core/java/com/android/internal/policy/
PhoneWindow.java 74 import android.media.AudioManager;
248 private int mVolumeControlStreamType = AudioManager.USE_DEFAULT_STREAM_TYPE;
251 private AudioManager mAudioManager;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
AppCompatDelegateImplV9.java 31 import android.media.AudioManager;
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/dialpad/
DialpadFragment.java 35 import android.media.AudioManager;
167 private static final int DIAL_TONE_STREAM_TYPE = AudioManager.STREAM_DTMF;
    [all...]
  /frameworks/base/core/java/android/view/
ViewRootImpl.java 52 import android.media.AudioManager;
368 AudioManager mAudioManager;
    [all...]
  /frameworks/base/services/core/java/com/android/server/policy/
PhoneWindowManager.java 76 import android.media.AudioManager;
    [all...]
  /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DevicePolicyManagerService.java 75 import android.media.AudioManager;
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
  /development/samples/training/NavigationDrawer/libs/
android-support-v4.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/18.0.0/
support-v4-18.0.0.jar 
  /developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/
android-support-v4.jar 
  /developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/
android-support-v4.jar 

Completed in 1533 milliseconds

12 3