Lines Matching refs:audioManager
31 import android.media.AudioManager;
93 // transitions for AudioManager.setMode() are allowed.
1943 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
1944 audioManager.setSpeakerphoneOn(flag);
1977 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
1978 return audioManager.isSpeakerphoneOn();
1984 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
1991 audioManager.setParameters("noise_suppression=auto");
1993 audioManager.setParameters("noise_suppression=off");
2024 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
2025 String noiseSuppression = audioManager.getParameters("noise_suppression");
2096 AudioManager audioManager =
2097 (AudioManager) phone.getContext().getSystemService(Context.AUDIO_SERVICE);
2099 audioManager.setMicrophoneMute(muted);
2118 AudioManager audioManager =
2119 (AudioManager) app.getSystemService(Context.AUDIO_SERVICE);
2120 return audioManager.isMicrophoneMute();
2137 AudioManager audioManager = (AudioManager)
2139 int modeBefore = audioManager.getMode();
2141 int modeAfter = audioManager.getMode();
2153 case AudioManager.MODE_INVALID: return "MODE_INVALID";
2154 case AudioManager.MODE_CURRENT: return "MODE_CURRENT";
2155 case AudioManager.MODE_NORMAL: return "MODE_NORMAL";
2156 case AudioManager.MODE_RINGTONE: return "MODE_RINGTONE";
2157 case AudioManager.MODE_IN_CALL: return "MODE_IN_CALL";