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

  /packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ringtone/
InCallTonePlayerTest.java 36 private InCallTonePlayer mInCallTonePlayer;
53 mInCallTonePlayer = new InCallTonePlayer(mToneGeneratorFactory, mExecutor);
60 mInCallTonePlayer.stop();
66 assertFalse(mInCallTonePlayer.isPlayingTone());
70 mInCallTonePlayer.play(InCallTonePlayer.TONE_CALL_WAITING);
73 assertTrue(mInCallTonePlayer.isPlayingTone());
78 mInCallTonePlayer.play(Integer.MIN_VALUE);
84 mInCallTonePlayer.play(InCallTonePlayer.TONE_CALL_WAITING);
87 mInCallTonePlayer.play(InCallTonePlayer.TONE_CALL_WAITING);
93 mInCallTonePlayer.play(InCallTonePlayer.TONE_CALL_WAITING)
    [all...]
DialerRingtoneManagerTest.java 39 @Mock private InCallTonePlayer mInCallTonePlayer;
49 mRingtoneManagerEnabled = new DialerRingtoneManager(mInCallTonePlayer, mCallList);
51 mRingtoneManagerDisabled = new DialerRingtoneManager(mInCallTonePlayer, mCallList);
64 new DialerRingtoneManager(mInCallTonePlayer, null);
153 Mockito.when(mInCallTonePlayer.isPlayingTone()).thenReturn(true);
177 Mockito.verify(mInCallTonePlayer, Mockito.never()).play(Mockito.anyInt());
185 Mockito.verify(mInCallTonePlayer, Mockito.never()).play(Mockito.anyInt());
193 Mockito.verify(mInCallTonePlayer).play(Mockito.anyInt());
201 Mockito.verify(mInCallTonePlayer, Mockito.never()).stop();
209 Mockito.verify(mInCallTonePlayer, Mockito.never()).stop()
    [all...]
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/
DialerRingtoneManager.java 45 private final InCallTonePlayer mInCallTonePlayer;
56 mInCallTonePlayer = Preconditions.checkNotNull(inCallTonePlayer);
113 && !mInCallTonePlayer.isPlayingTone();
123 mInCallTonePlayer.play(InCallTonePlayer.TONE_CALL_WAITING);
133 mInCallTonePlayer.stop();

Completed in 68 milliseconds