Home
last modified time | relevance | path

Searched refs:mMediaPlayerFactory (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallTonePlayerTest.java95 private InCallTonePlayer.MediaPlayerFactory mMediaPlayerFactory; field in InCallTonePlayerTest
111 when(mMediaPlayerFactory.get(anyInt(), any())).thenReturn(mMediaPlayerAdapter); in setUp()
114 mToneGeneratorFactory, mMediaPlayerFactory, mAudioManagerAdapter); in setUp()
134 verify(mMediaPlayerFactory, never()).get(anyInt(), any()); in testNoEndCallToneInSilence()
145 verify(mMediaPlayerFactory, timeout(5000)).get(anyInt(), any()); in testEndCallToneWhenNotSilenced()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallTonePlayer.java54 private final MediaPlayerFactory mMediaPlayerFactory; field in InCallTonePlayer.Factory
63 mMediaPlayerFactory = mediaPlayerFactory; in Factory()
74 mMediaPlayerFactory, mAudioManagerAdapter); in createPlayer()
210 private final MediaPlayerFactory mMediaPlayerFactory; field in InCallTonePlayer
232 mMediaPlayerFactory = mediaPlayerFactor; in InCallTonePlayer()
422 mToneMediaPlayer = mMediaPlayerFactory.get(toneResourceId, attributes); in playMediaTone()