Searched refs:toneGenerator (Results 1 – 4 of 4) sorted by relevance
106 ToneGenerator toneGenerator = null; in playOnBackgroundThread() local109 toneGenerator = toneGeneratorFactory.newInCallToneGenerator(info.stream, info.volume); in playOnBackgroundThread()110 toneGenerator.startTone(info.tone); in playOnBackgroundThread()124 if (toneGenerator != null) { in playOnBackgroundThread()125 toneGenerator.release(); in playOnBackgroundThread()
367 ToneGenerator toneGenerator = null; in playToneGeneratorTone() local372 toneGenerator = mToneGenerator.get(stream, toneVolume); in playToneGeneratorTone()388 toneGenerator.startTone(toneType); in playToneGeneratorTone()400 if (toneGenerator != null) { in playToneGeneratorTone()401 toneGenerator.release(); in playToneGeneratorTone()
391 ToneGenerator toneGenerator; in run() local400 toneGenerator = new ToneGenerator(stream, toneVolume); in run()405 toneGenerator = null; in run()425 if (toneGenerator != null) { in run()463 toneGenerator.startTone(toneType); in run()471 toneGenerator.stopTone(); in run()475 toneGenerator.release(); in run()
178 private ToneGenerator toneGenerator; field in DialpadFragment752 if (toneGenerator == null) { in onStart()754 toneGenerator = new ToneGenerator(DIAL_TONE_STREAM_TYPE, TONE_RELATIVE_VOLUME); in onStart()759 toneGenerator = null; in onStart()860 if (toneGenerator != null) { in onStop()861 toneGenerator.release(); in onStop()862 toneGenerator = null; in onStop()1277 if (toneGenerator == null) { in playTone()1283 toneGenerator.startTone(tone, durationMs); in playTone()1294 if (toneGenerator == null) { in stopTone()[all …]