Searched refs:InCallTonePlayer (Results 1 – 6 of 6) sorted by relevance
29 private final InCallTonePlayer.Factory mPlayerFactory;33 InCallToneMonitor(InCallTonePlayer.Factory playerFactory, CallsManager callsManager) { in InCallToneMonitor()46 int toneToPlay = InCallTonePlayer.TONE_INVALID; in onCallStateChanged()52 toneToPlay = InCallTonePlayer.TONE_BUSY; in onCallStateChanged()55 toneToPlay = InCallTonePlayer.TONE_CONGESTION; in onCallStateChanged()58 toneToPlay = InCallTonePlayer.TONE_REORDER; in onCallStateChanged()61 toneToPlay = InCallTonePlayer.TONE_INTERCEPT; in onCallStateChanged()64 toneToPlay = InCallTonePlayer.TONE_CDMA_DROP; in onCallStateChanged()67 toneToPlay = InCallTonePlayer.TONE_UNOBTAINABLE_NUMBER; in onCallStateChanged()70 toneToPlay = InCallTonePlayer.TONE_CALL_ENDED; in onCallStateChanged()[all …]
33 private final InCallTonePlayer.Factory mPlayerFactory;43 private InCallTonePlayer mTonePlayer;45 RingbackPlayer(CallsManager callsManager, InCallTonePlayer.Factory playerFactory) { in RingbackPlayer()108 mTonePlayer = mPlayerFactory.createPlayer(InCallTonePlayer.TONE_RING_BACK); in startRingbackForCall()
29 public final class InCallTonePlayer extends Thread { class41 InCallTonePlayer createPlayer(int tone) { in createPlayer()42 return new InCallTonePlayer(tone, mCallAudioManager); in createPlayer()97 private InCallTonePlayer(int toneId, CallAudioManager callAudioManager) { in InCallTonePlayer() method in InCallTonePlayer
62 private final InCallTonePlayer.Factory mPlayerFactory;66 private InCallTonePlayer mCallWaitingPlayer;77 InCallTonePlayer.Factory playerFactory, in Ringer()214 mPlayerFactory.createPlayer(InCallTonePlayer.TONE_CALL_WAITING); in startRingingOrCallWaiting()
157 InCallTonePlayer.Factory playerFactory = new InCallTonePlayer.Factory(mCallAudioManager); in CallsManager()
227 int toneToPlay = InCallTonePlayer.TONE_VOICE_PRIVACY; in handleMessage()228 new InCallTonePlayer(toneToPlay).start(); in handleMessage()236 int toneToPlay = InCallTonePlayer.TONE_VOICE_PRIVACY; in handleMessage()237 new InCallTonePlayer(toneToPlay).start(); in handleMessage()440 int toneToPlay = InCallTonePlayer.TONE_REDIAL; in onPhoneStateChanged()441 new InCallTonePlayer(toneToPlay).start(); in onPhoneStateChanged()512 int toneToPlay = InCallTonePlayer.TONE_NONE; in onDisconnect()521 if ((toneToPlay == InCallTonePlayer.TONE_NONE) in onDisconnect()528 toneToPlay = InCallTonePlayer.TONE_CALL_ENDED; in onDisconnect()537 if (toneToPlay == InCallTonePlayer.TONE_NONE) { in onDisconnect()[all …]