Searched refs:mRingtonePlayer (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAttentionHelperTest.java | 135 @Mock android.media.IRingtonePlayer mRingtonePlayer; field in NotificationAttentionHelperTest 200 when(mAudioManager.getRingtonePlayer()).thenReturn(mRingtonePlayer); in setUp() 539 verify(mRingtonePlayer, never()).playAsync(any(), any(), anyBoolean(), any(), anyFloat()); in verifyNeverBeep() 543 verify(mRingtonePlayer, times(1)).playAsync(any(), any(), eq(false), any(), in verifyBeepUnlooped() 548 verify(mRingtonePlayer, times(1)).playAsync(any(), any(), eq(true), any(), in verifyBeepLooped() 553 verify(mRingtonePlayer, times(times)).playAsync(any(), any(), anyBoolean(), any(), in verifyBeep() 558 verify(mRingtonePlayer, times(1)).playAsync(any(), any(), anyBoolean(), any(), eq(volume)); in verifyBeepVolume() 562 verify(mRingtonePlayer, never()).stopAsync(); in verifyNeverStopAudio() 566 verify(mRingtonePlayer, times(1)).stopAsync(); in verifyStopAudio() 851 Mockito.reset(mRingtonePlayer); in testBeepTwice() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 778 private volatile IRingtonePlayer mRingtonePlayer; field in AudioService 11281 mRingtonePlayer = player; in setRingtonePlayer() 11286 return mRingtonePlayer; in getRingtonePlayer()
|