Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java52 @Mock android.media.IRingtonePlayer mRingtonePlayer; field in BuzzBeepBlinkTest
70 when(mAudioManager.getRingtonePlayer()).thenReturn(mRingtonePlayer); in setUp()
166 verify(mRingtonePlayer, never()).playAsync((Uri) anyObject(), (UserHandle) anyObject(), in verifyNeverBeep()
171 verify(mRingtonePlayer, times(1)).playAsync((Uri) anyObject(), (UserHandle) anyObject(), in verifyBeep()
176 verify(mRingtonePlayer, times(1)).playAsync((Uri) anyObject(), (UserHandle) anyObject(), in verifyBeepLooped()
181 verify(mRingtonePlayer, never()).stopAsync(); in verifyNeverStopAudio()
185 verify(mRingtonePlayer, times(1)).stopAsync(); in verifyStopAudio()
262 Mockito.reset(mRingtonePlayer); in testBeepTwice()
278 Mockito.reset(mRingtonePlayer); in testHonorAlertOnlyOnceForBeep()
318 Mockito.reset(mRingtonePlayer); in testQuietUpdateDoesNotCancelAudioFromOther()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java509 private volatile IRingtonePlayer mRingtonePlayer; field in AudioService
5624 mRingtonePlayer = player; in setRingtonePlayer()
5629 return mRingtonePlayer; in getRingtonePlayer()