Lines Matching refs:mToneGenerator
115 private ToneGenerator mToneGenerator; field in EmergencyDialer
233 if (mToneGenerator == null) { in onCreate()
235 mToneGenerator = new ToneGenerator(DIAL_TONE_STREAM_TYPE, TONE_RELATIVE_VOLUME); in onCreate()
238 mToneGenerator = null; in onCreate()
254 if (mToneGenerator != null) { in onDestroy()
255 mToneGenerator.release(); in onDestroy()
256 mToneGenerator = null; in onDestroy()
477 if (mToneGenerator == null) { in onResume()
479 mToneGenerator = new ToneGenerator(AudioManager.STREAM_DTMF, in onResume()
483 mToneGenerator = null; in onResume()
506 if (mToneGenerator != null) { in onPause()
507 mToneGenerator.release(); in onPause()
508 mToneGenerator = null; in onPause()
567 if (mToneGenerator == null) { in playTone()
573 mToneGenerator.startTone(tone, TONE_LENGTH_MS); in playTone()