HomeSort by relevance Sort by last modified time
    Searched refs:toneGenerator (Results 1 - 3 of 3) sorted by null

  /packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/
InCallTonePlayer.java 23 import android.media.ToneGenerator;
50 * {@link ToneGenerator}s.
98 return new ToneGeneratorInfo(ToneGenerator.TONE_SUP_CALL_WAITING,
108 ToneGenerator toneGenerator = null;
111 toneGenerator = mToneGeneratorFactory.newInCallToneGenerator(info.stream, info.volume);
112 toneGenerator.startTone(info.tone);
126 if (toneGenerator != null) {
127 toneGenerator.release();
  /packages/services/Telecomm/src/com/android/server/telecom/
InCallTonePlayer.java 20 import android.media.ToneGenerator;
27 * Play a call-related tone (ringback, busy signal, etc.) through ToneGenerator. To use, create an
131 ToneGenerator toneGenerator = null;
141 final int toneType; // Passed to ToneGenerator.startTone.
142 final int toneVolume; // Passed to the ToneGenerator constructor.
148 toneType = ToneGenerator.TONE_SUP_BUSY;
153 toneType = ToneGenerator.TONE_PROP_PROMPT;
161 toneType = ToneGenerator.TONE_SUP_CALL_WAITING;
166 toneType = ToneGenerator.TONE_CDMA_CALLDROP_LITE
    [all...]
  /packages/services/Telephony/src/com/android/phone/
CallNotifier.java 35 import android.media.ToneGenerator;
81 // ToneGenerator instance for playing SignalInfo tones
82 private ToneGenerator mSignalInfoToneGenerator;
156 // Instantiate the ToneGenerator for SignalInfo and CallWaiting
158 // around forever. Need to change it so as to create a ToneGenerator instance only
162 mSignalInfoToneGenerator = new ToneGenerator(AudioManager.STREAM_VOICE_CALL,
281 * during a call, using the ToneGenerator.
339 int toneType = 0; // passed to ToneGenerator.startTone()
340 int toneVolume; // passed to the ToneGenerator constructor
346 toneType = ToneGenerator.TONE_SUP_CALL_WAITING
    [all...]

Completed in 136 milliseconds