Searched refs:mRingtonePlayer (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BuzzBeepBlinkTest.java | 91 @Mock android.media.IRingtonePlayer mRingtonePlayer; field in BuzzBeepBlinkTest 134 when(mAudioManager.getRingtonePlayer()).thenReturn(mRingtonePlayer); in setUp() 342 verify(mRingtonePlayer, never()).playAsync((Uri) anyObject(), (UserHandle) anyObject(), in verifyNeverBeep() 347 verify(mRingtonePlayer, times(1)).playAsync((Uri) anyObject(), (UserHandle) anyObject(), in verifyBeep() 352 verify(mRingtonePlayer, times(1)).playAsync((Uri) anyObject(), (UserHandle) anyObject(), in verifyBeepLooped() 357 verify(mRingtonePlayer, never()).stopAsync(); in verifyNeverStopAudio() 361 verify(mRingtonePlayer, times(1)).stopAsync(); in verifyStopAudio() 531 Mockito.reset(mRingtonePlayer); in testBeepTwice() 550 Mockito.reset(mRingtonePlayer); in testHonorAlertOnlyOnceForBeep() 615 Mockito.reset(mRingtonePlayer); in testQuietUpdateDoesNotCancelAudioFromOther() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 504 private volatile IRingtonePlayer mRingtonePlayer; field in AudioService 6111 mRingtonePlayer = player; in setRingtonePlayer() 6116 return mRingtonePlayer; in getRingtonePlayer()
|