/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 | 31 import com.android.server.telecom.InCallTonePlayer; 64 @Mock private InCallTonePlayer.Factory mPlayerFactory; 77 InCallTonePlayer mockInCallTonePlayer = mock(InCallTonePlayer.class); in setUp() 315 verify(mPlayerFactory).createPlayer(InCallTonePlayer.TONE_CALL_ENDED);
|
D | RingerTest.java | 38 import com.android.server.telecom.InCallTonePlayer; 104 @Mock InCallTonePlayer.Factory mockPlayerFactory; 112 @Mock InCallTonePlayer mockTonePlayer;
|
D | CallsManagerTest.java | 71 import com.android.server.telecom.InCallTonePlayer; 165 @Mock private InCallTonePlayer.ToneGeneratorFactory mToneGeneratorFactory;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioManager.java | 54 private final InCallTonePlayer.Factory mPlayerFactory; 62 private InCallTonePlayer mHoldTonePlayer; 67 InCallTonePlayer.Factory playerFactory, in CallAudioManager() 255 mPlayerFactory.createPlayer(InCallTonePlayer.TONE_VIDEO_UPGRADE).startTone(); in onSessionModifyRequestReceived() 700 int toneToPlay = InCallTonePlayer.TONE_INVALID; in playToneForDisconnectedCall() 706 toneToPlay = InCallTonePlayer.TONE_BUSY; in playToneForDisconnectedCall() 709 toneToPlay = InCallTonePlayer.TONE_CONGESTION; in playToneForDisconnectedCall() 712 toneToPlay = InCallTonePlayer.TONE_REORDER; in playToneForDisconnectedCall() 715 toneToPlay = InCallTonePlayer.TONE_INTERCEPT; in playToneForDisconnectedCall() 718 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 | 136 private final InCallTonePlayer.Factory mPlayerFactory; 151 private InCallTonePlayer mCallWaitingPlayer; 170 InCallTonePlayer.Factory playerFactory, in Ringer() 426 mPlayerFactory.createPlayer(InCallTonePlayer.TONE_CALL_WAITING); in startCallWaiting()
|
D | TelecomSystem.java | 198 InCallTonePlayer.ToneGeneratorFactory toneGeneratorFactory, in TelecomSystem()
|
D | CallsManager.java | 431 InCallTonePlayer.ToneGeneratorFactory toneGeneratorFactory, in CallsManager() 476 InCallTonePlayer.MediaPlayerFactory mediaPlayerFactory = in CallsManager() 478 new InCallTonePlayer.MediaPlayerAdapterImpl( in CallsManager() 481 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 | 218 int toneToPlay = InCallTonePlayer.TONE_VOICE_PRIVACY; in handleMessage() 219 new InCallTonePlayer(toneToPlay).start(); in handleMessage() 227 int toneToPlay = InCallTonePlayer.TONE_VOICE_PRIVACY; in handleMessage() 228 new InCallTonePlayer(toneToPlay).start(); in handleMessage() 272 private class InCallTonePlayer extends Thread { class in CallNotifier 305 InCallTonePlayer(int toneId) { in InCallTonePlayer() method in CallNotifier.InCallTonePlayer
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | TelecomService.java | 45 import com.android.server.telecom.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()
|