Loading services/tests/uiservicestests/src/com/android/server/notification/BuzzBeepBlinkTest.java +0 −16 Original line number Diff line number Diff line Loading @@ -1010,22 +1010,6 @@ public class BuzzBeepBlinkTest extends UiServiceTestCase { assertEquals(-1, s.getLastAudiblyAlertedMs()); } @Test public void testCanceledNoisyNeverVibrate() throws Exception { NotificationRecord r = getBuzzyBeepyNotification(); final int waitMs = mAudioManager.getFocusRampTimeMs( AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK, r.getAudioAttributes()); mService.buzzBeepBlinkLocked(r); mService.clearNotifications(); verifyNeverVibrate(); Thread.sleep(waitMs); verifyNeverVibrate(); } @Test public void testEmptyUriSoundTreatedAsNoSound() throws Exception { NotificationChannel channel = new NotificationChannel("test", "test", IMPORTANCE_HIGH); Loading Loading
services/tests/uiservicestests/src/com/android/server/notification/BuzzBeepBlinkTest.java +0 −16 Original line number Diff line number Diff line Loading @@ -1010,22 +1010,6 @@ public class BuzzBeepBlinkTest extends UiServiceTestCase { assertEquals(-1, s.getLastAudiblyAlertedMs()); } @Test public void testCanceledNoisyNeverVibrate() throws Exception { NotificationRecord r = getBuzzyBeepyNotification(); final int waitMs = mAudioManager.getFocusRampTimeMs( AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK, r.getAudioAttributes()); mService.buzzBeepBlinkLocked(r); mService.clearNotifications(); verifyNeverVibrate(); Thread.sleep(waitMs); verifyNeverVibrate(); } @Test public void testEmptyUriSoundTreatedAsNoSound() throws Exception { NotificationChannel channel = new NotificationChannel("test", "test", IMPORTANCE_HIGH); Loading