Home
last modified time | relevance | path

Searched refs:mRingbackPlayer (Results 1 – 3 of 3) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingbackPlayerTest.java47 private RingbackPlayer mRingbackPlayer; field in RingbackPlayerTest
54 mRingbackPlayer = new RingbackPlayer(mFactory); in setUp()
75 mRingbackPlayer.startRingbackForCall(mCall); in testPlayerSync()
76 mRingbackPlayer.stopRingbackForCall(mCall); in testPlayerSync()
77 assertFalse(mRingbackPlayer.isRingbackPlaying()); in testPlayerSync()
DCallAudioManagerTest.java84 @Mock private RingbackPlayer mRingbackPlayer; field in CallAudioManagerTest
113 mRingbackPlayer, in setUp()
367 verify(mRingbackPlayer).startRingbackForCall(any(Call.class));
373 verify(mRingbackPlayer, never()).stopRingbackForCall(any(Call.class));
375 verify(mRingbackPlayer, times(1)).startRingbackForCall(any(Call.class));
381 verify(mRingbackPlayer).stopRingbackForCall(any(Call.class));
383 verify(mRingbackPlayer, times(1)).startRingbackForCall(any(Call.class));
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java66 private final RingbackPlayer mRingbackPlayer; field in CallAudioManager
111 mRingbackPlayer = ringbackPlayer; in CallAudioManager()
358 mRingbackPlayer.startRingbackForCall(call); in onRingbackRequested()
360 mRingbackPlayer.stopRingbackForCall(call); in onRingbackRequested()
986 mRingbackPlayer.startRingbackForCall(call); in playRingbackForCall()
991 mRingbackPlayer.stopRingbackForCall(call); in stopRingbackForCall()