Searched refs:CellBroadcastAlertAudio (Results 1 – 6 of 6) sorted by relevance
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 49 import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio; 63 CellBroadcastServiceTestCase<CellBroadcastAlertAudio> { 82 super(CellBroadcastAlertAudio.class); in CellBroadcastAlertAudioTest() 139 Intent intent = new Intent(mContext, CellBroadcastAlertAudio.class); in createStartAudioIntent() 140 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, in createStartAudioIntent() 142 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in createStartAudioIntent() 148 CellBroadcastAlertAudio audio = getService(); in setUpTtsInstance() 168 Intent intent = new Intent(mContext, CellBroadcastAlertAudio.class); in testStartService() 170 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, in testStartService() 172 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in testStartService() [all …]
|
D | CellBroadcastAlertServiceTest.java | 19 import static com.android.cellbroadcastreceiver.CellBroadcastAlertAudio.ALERT_AUDIO_TONE_TYPE; 68 import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio; 351 assertEquals(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO, in testShowNewAlert() 357 CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY)); in testShowNewAlert() 833 assertEquals(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO, in testAddToNotificationBarForWatch() 839 CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY)); in testAddToNotificationBarForWatch() 841 CellBroadcastAlertAudio.ALERT_AUDIO_OVERRIDE_DND_EXTRA, false)); in testAddToNotificationBarForWatch()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 671 Intent audioIntent = new Intent(this, CellBroadcastAlertAudio.class); in openEmergencyAlertNotification() 672 audioIntent.setAction(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO); in openEmergencyAlertNotification() 714 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_TONE_TYPE, alertType); in openEmergencyAlertNotification() 716 CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in openEmergencyAlertNotification() 733 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_OVERRIDE_DND_EXTRA, true); in openEmergencyAlertNotification() 745 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, messageBody); in openEmergencyAlertNotification() 750 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_LANGUAGE, in openEmergencyAlertNotification() 760 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_SUB_INDEX, in openEmergencyAlertNotification() 762 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_DURATION, in openEmergencyAlertNotification() 968 Intent audioIntent = new Intent(context, CellBroadcastAlertAudio.class); in addToNotificationBar() [all …]
|
D | CellBroadcastInternalReceiver.java | 67 context.stopService(new Intent(context, CellBroadcastAlertAudio.class)); in onReceive()
|
D | CellBroadcastAlertDialog.java | 1069 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in dismissAllFromNotification() 1091 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in dismiss() 1199 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in onKeyDown()
|
D | CellBroadcastAlertAudio.java | 72 public class CellBroadcastAlertAudio extends Service implements TextToSpeech.OnInitListener, class
|