Home
last modified time | relevance | path

Searched refs:CellBroadcastAlertAudio (Results 1 – 6 of 6) sorted by relevance

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertAudioTest.java50 import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio;
64 CellBroadcastServiceTestCase<CellBroadcastAlertAudio> {
83 super(CellBroadcastAlertAudio.class); in CellBroadcastAlertAudioTest()
140 Intent intent = new Intent(mContext, CellBroadcastAlertAudio.class); in createStartAudioIntent()
141 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, in createStartAudioIntent()
143 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in createStartAudioIntent()
149 CellBroadcastAlertAudio audio = getService(); in setUpTtsInstance()
169 Intent intent = new Intent(mContext, CellBroadcastAlertAudio.class); in testStartService()
171 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, in testStartService()
173 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in testStartService()
[all …]
DCellBroadcastAlertServiceTest.java19 import static com.android.cellbroadcastreceiver.CellBroadcastAlertAudio.ALERT_AUDIO_TONE_TYPE;
72 import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio;
359 assertEquals(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO, in testShowNewAlert()
365 CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY)); in testShowNewAlert()
1273 assertEquals(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO, in testAddToNotificationBarForWatch()
1279 CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY)); in testAddToNotificationBarForWatch()
1281 CellBroadcastAlertAudio.ALERT_AUDIO_OVERRIDE_DND_EXTRA, false)); in testAddToNotificationBarForWatch()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java699 Intent audioIntent = new Intent(this, CellBroadcastAlertAudio.class); in openEmergencyAlertNotification()
700 audioIntent.setAction(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO); in openEmergencyAlertNotification()
742 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_TONE_TYPE, alertType); in openEmergencyAlertNotification()
744 CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in openEmergencyAlertNotification()
761 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_OVERRIDE_DND_EXTRA, true); in openEmergencyAlertNotification()
773 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, messageBody); in openEmergencyAlertNotification()
778 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_LANGUAGE, in openEmergencyAlertNotification()
788 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_SUB_INDEX, in openEmergencyAlertNotification()
790 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_DURATION, in openEmergencyAlertNotification()
1001 Intent audioIntent = new Intent(context, CellBroadcastAlertAudio.class); in addToNotificationBar()
[all …]
DCellBroadcastInternalReceiver.java67 context.stopService(new Intent(context, CellBroadcastAlertAudio.class)); in onReceive()
DCellBroadcastAlertDialog.java1070 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in dismissAllFromNotification()
1092 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in dismiss()
1200 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in onKeyDown()
DCellBroadcastAlertAudio.java73 public class CellBroadcastAlertAudio extends Service implements TextToSpeech.OnInitListener, class