Searched refs:mAudioManager (Results 1 – 9 of 9) sorted by relevance
28 private AudioManager mAudioManager; field in SoundManager39 if (mAudioManager == null) { in updateRingerMode()40 mAudioManager = (AudioManager) mContext in updateRingerMode()43 mSilentMode = (mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_NORMAL); in updateRingerMode()56 if (mAudioManager == null) { in playKeyDown()61 mAudioManager.playSoundEffect(sound, FX_VOLUME); in playKeyDown()
82 private AudioManager mAudioManager; field in SoundAndDisplaySettings99 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate()165 final int ringerMode = mAudioManager.getRingerMode(); in updateState()182 vibrateSetting = mAudioManager.getVibrateSetting(AudioManager.VIBRATE_TYPE_RINGER) in updateState()241 mAudioManager.setRingerMode(vibrate ? AudioManager.RINGER_MODE_VIBRATE : in setRingerMode()244 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in setRingerMode()245 mAudioManager.setVibrateSetting(AudioManager.VIBRATE_TYPE_RINGER, in setRingerMode()267 mAudioManager.loadSoundEffects(); in onPreferenceTreeClick()269 mAudioManager.unloadSoundEffects(); in onPreferenceTreeClick()
80 private AudioManager mAudioManager; field in VoiceDialerActivity91 mAudioManager = (AudioManager)getSystemService(AUDIO_SERVICE); in onCreate()231 … if ((mAudioManager != null) && (mAudioManager.shouldVibrate(AudioManager.VIBRATE_TYPE_RINGER))) { in playSound()
87 private AudioManager mAudioManager; field in BluetoothHandsfree212 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in BluetoothHandsfree()296 mAudioManager.setParameters(HEADSET_NAME+"="+name+";"+HEADSET_NREC+"=on"); in configAudioParameters()938 mAudioManager.setBluetoothScoOn(true);954 mAudioManager.setBluetoothScoOn(true);967 mAudioManager.setBluetoothScoOn(false);1133 mAudioManager.setBluetoothScoOn(false); in audioOff()2017 mAudioManager.setParameters(HEADSET_NREC+"=off"); in initializeHandsfreeAtParser()2020 mAudioManager.setParameters(HEADSET_NREC+"=on"); in initializeHandsfreeAtParser()2090 int flag = mAudioManager.isBluetoothScoOn() ? AudioManager.FLAG_SHOW_UI:0; in initializeHandsfreeAtParser()[all …]
1648 private AudioManager mAudioManager; field in CallNotifier.EmergencyTonePlayerVibrator1656 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in EmergencyTonePlayerVibrator()1664 int ringerMode = mAudioManager.getRingerMode(); in start()
159 private AudioManager mAudioManager; field in CallFeaturesSetting389 mAudioManager.setParameter(HAC_KEY, hac != 0 ? HAC_VAL_ON : HAC_VAL_OFF); in onPreferenceTreeClick()1191 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate()
140 private AudioManager mAudioManager; field in LatinIME999 if (mAudioManager == null) { in updateRingerMode()1000 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in updateRingerMode()1002 if (mAudioManager != null) { in updateRingerMode()1003 mSilentMode = (mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_NORMAL); in updateRingerMode()1010 if (mAudioManager == null) { in playKeyClick()1030 mAudioManager.playSoundEffect(sound, FX_VOLUME); in playKeyClick()
306 private AudioManager mAudioManager; field in GridViewSpecial.MyGestureDetector365 if (mAudioManager == null) { in onSingleTapConfirmed()366 mAudioManager = (AudioManager) getContext() in onSingleTapConfirmed()369 mAudioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onSingleTapConfirmed()
304 private AudioManager mAudioManager; field in GridViewSpecial.MyGestureDetector363 if (mAudioManager == null) { in onSingleTapConfirmed()364 mAudioManager = (AudioManager) getContext() in onSingleTapConfirmed()367 mAudioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onSingleTapConfirmed()