/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | InCallTonePlayerTest.java | 37 import com.android.server.telecom.InCallTonePlayer; 50 private InCallTonePlayer.Factory mFactory; 62 private InCallTonePlayer.ToneGeneratorFactory mToneGeneratorFactory; 64 private InCallTonePlayer.MediaPlayerAdapter mMediaPlayerAdapter = 65 new InCallTonePlayer.MediaPlayerAdapter() { 95 private InCallTonePlayer.MediaPlayerFactory mMediaPlayerFactory; 98 private InCallTonePlayer.AudioManagerAdapter mAudioManagerAdapter; 103 private InCallTonePlayer mInCallTonePlayer; 113 mFactory = new InCallTonePlayer.Factory(mCallAudioRoutePeripheralAdapter, mLock, in setUp() 116 mInCallTonePlayer = mFactory.createPlayer(InCallTonePlayer.TONE_CALL_ENDED); in setUp()
|
D | CallAudioManagerTest.java | 33 import com.android.server.telecom.InCallTonePlayer; 72 @Mock private InCallTonePlayer.Factory mPlayerFactory; 86 InCallTonePlayer mockInCallTonePlayer = mock(InCallTonePlayer.class); in setUp() 673 verify(mPlayerFactory).createPlayer(InCallTonePlayer.TONE_CALL_ENDED);
|
D | RingerTest.java | 38 import com.android.server.telecom.InCallTonePlayer; 105 @Mock InCallTonePlayer.Factory mockPlayerFactory; 113 @Mock InCallTonePlayer mockTonePlayer;
|
D | CallsManagerTest.java | 78 import com.android.server.telecom.InCallTonePlayer; 185 @Mock private InCallTonePlayer.ToneGeneratorFactory mToneGeneratorFactory;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioManager.java | 56 private final InCallTonePlayer.Factory mPlayerFactory; 64 private InCallTonePlayer mHoldTonePlayer; 69 InCallTonePlayer.Factory playerFactory, in CallAudioManager() 263 mPlayerFactory.createPlayer(InCallTonePlayer.TONE_VIDEO_UPGRADE).startTone(); in onSessionModifyRequestReceived() 756 int toneToPlay = InCallTonePlayer.TONE_INVALID; in playToneForDisconnectedCall() 762 toneToPlay = InCallTonePlayer.TONE_BUSY; in playToneForDisconnectedCall() 765 toneToPlay = InCallTonePlayer.TONE_CONGESTION; in playToneForDisconnectedCall() 768 toneToPlay = InCallTonePlayer.TONE_REORDER; in playToneForDisconnectedCall() 771 toneToPlay = InCallTonePlayer.TONE_INTERCEPT; in playToneForDisconnectedCall() 774 toneToPlay = InCallTonePlayer.TONE_CDMA_DROP; in playToneForDisconnectedCall() [all …]
|
D | RingbackPlayer.java | 33 private final InCallTonePlayer.Factory mPlayerFactory; 43 private InCallTonePlayer mTonePlayer; 45 RingbackPlayer(InCallTonePlayer.Factory playerFactory) { in RingbackPlayer() 72 mTonePlayer = mPlayerFactory.createPlayer(InCallTonePlayer.TONE_RING_BACK); in startRingbackForCall()
|
D | InCallTonePlayer.java | 44 public class InCallTonePlayer extends Thread { class 71 public InCallTonePlayer createPlayer(int tone) { in createPlayer() 72 return new InCallTonePlayer(tone, mCallAudioManager, in createPlayer() 218 private InCallTonePlayer( in InCallTonePlayer() method in InCallTonePlayer
|
D | Ringer.java | 140 private final InCallTonePlayer.Factory mPlayerFactory; 155 private InCallTonePlayer mCallWaitingPlayer; 177 InCallTonePlayer.Factory playerFactory, in Ringer() 432 mPlayerFactory.createPlayer(InCallTonePlayer.TONE_CALL_WAITING); in startCallWaiting()
|
D | TelecomSystem.java | 203 InCallTonePlayer.ToneGeneratorFactory toneGeneratorFactory, in TelecomSystem()
|
D | CallsManager.java | 476 InCallTonePlayer.ToneGeneratorFactory toneGeneratorFactory, in CallsManager() 526 InCallTonePlayer.MediaPlayerFactory mediaPlayerFactory = in CallsManager() 528 new InCallTonePlayer.MediaPlayerAdapterImpl( in CallsManager() 531 InCallTonePlayer.Factory playerFactory = new InCallTonePlayer.Factory( in CallsManager()
|
/packages/apps/Dialer/java/com/android/incallui/ringtone/ |
D | DialerRingtoneManager.java | 39 private final InCallTonePlayer inCallTonePlayer; 51 @NonNull InCallTonePlayer inCallTonePlayer, @NonNull CallList callList) { in DialerRingtoneManager() 118 inCallTonePlayer.play(InCallTonePlayer.TONE_CALL_WAITING); in playCallWaitingTone()
|
D | InCallTonePlayer.java | 33 public class InCallTonePlayer { class 52 public InCallTonePlayer( in InCallTonePlayer() method in InCallTonePlayer
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallNotifier.java | 219 int toneToPlay = InCallTonePlayer.TONE_VOICE_PRIVACY; in handleMessage() 220 new InCallTonePlayer(toneToPlay).start(); in handleMessage() 228 int toneToPlay = InCallTonePlayer.TONE_VOICE_PRIVACY; in handleMessage() 229 new InCallTonePlayer(toneToPlay).start(); in handleMessage() 273 private class InCallTonePlayer extends Thread { class in CallNotifier 306 InCallTonePlayer(int toneId) { in InCallTonePlayer() method in CallNotifier.InCallTonePlayer
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | StatusBarNotifier.java | 92 import com.android.incallui.ringtone.InCallTonePlayer; 140 new InCallTonePlayer(new ToneGeneratorFactory(), new PausableExecutorImpl()), in StatusBarNotifier()
|