Searched refs:mMediaPlayerFactory (Results 1 – 2 of 2) sorted by relevance
95 private InCallTonePlayer.MediaPlayerFactory mMediaPlayerFactory; field in InCallTonePlayerTest111 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()
54 private final MediaPlayerFactory mMediaPlayerFactory; field in InCallTonePlayer.Factory63 mMediaPlayerFactory = mediaPlayerFactory; in Factory()74 mMediaPlayerFactory, mAudioManagerAdapter); in createPlayer()212 private final MediaPlayerFactory mMediaPlayerFactory; field in InCallTonePlayer234 mMediaPlayerFactory = mediaPlayerFactor; in InCallTonePlayer()434 mToneMediaPlayer = mMediaPlayerFactory.get(toneResourceId, attributes); in playMediaTone()