Home | History | Annotate | Download | only in phone

Lines Matching refs:mToneGenerator

106     private ToneGenerator mToneGenerator;
220 // if the mToneGenerator creation fails, just continue without it. It is
223 if (mToneGenerator == null) {
225 mToneGenerator = new ToneGenerator(DIAL_TONE_STREAM_TYPE, TONE_RELATIVE_VOLUME);
228 mToneGenerator = null;
248 if (mToneGenerator != null) {
249 mToneGenerator.release();
250 mToneGenerator = null;
492 // if the mToneGenerator creation fails, just continue without it. It is
495 if (mToneGenerator == null) {
497 mToneGenerator = new ToneGenerator(AudioManager.STREAM_DTMF,
501 mToneGenerator = null;
524 if (mToneGenerator != null) {
525 mToneGenerator.release();
526 mToneGenerator = null;
587 if (mToneGenerator == null) {
588 Log.w(LOG_TAG, "playTone: mToneGenerator == null, tone: " + tone);
593 mToneGenerator.startTone(tone, TONE_LENGTH_MS);