Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertAudioTest.java36 import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio;
43 CellBroadcastServiceTestCase<CellBroadcastAlertAudio> {
57 super(CellBroadcastAlertAudio.class); in CellBroadcastAlertAudioTest()
119 Intent intent = new Intent(mContext, CellBroadcastAlertAudio.class); in testStartService()
121 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, in testStartService()
123 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in testStartService()
125 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_LANGUAGE, in testStartService()
127 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_OVERRIDE_DND_EXTRA, in testStartService()
153 Intent intent = new Intent(mContext, CellBroadcastAlertAudio.class); in testStartServiceNotInCallOverrideDnd()
155 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, in testStartServiceNotInCallOverrideDnd()
[all …]
DCellBroadcastAlertServiceTest.java19 import static com.android.cellbroadcastreceiver.CellBroadcastAlertAudio.ALERT_AUDIO_TONE_TYPE;
35 import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio;
176 assertEquals(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO, in testShowNewAlert()
182 CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY)); in testShowNewAlert()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java515 Intent audioIntent = new Intent(this, CellBroadcastAlertAudio.class); in openEmergencyAlertNotification()
516 audioIntent.setAction(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO); in openEmergencyAlertNotification()
558 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_TONE_TYPE, alertType); in openEmergencyAlertNotification()
560 CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in openEmergencyAlertNotification()
568 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_OVERRIDE_DND_EXTRA, true); in openEmergencyAlertNotification()
573 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, messageBody); in openEmergencyAlertNotification()
578 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_LANGUAGE, in openEmergencyAlertNotification()
581 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_SUB_INDEX, in openEmergencyAlertNotification()
583 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_DURATION, in openEmergencyAlertNotification()
698 Intent audioIntent = new Intent(context, CellBroadcastAlertAudio.class); in addToNotificationBar()
[all …]
DCellBroadcastAlertDialog.java419 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in onStop()
699 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in dismiss()
785 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in onKeyDown()
DCellBroadcastAlertAudio.java61 public class CellBroadcastAlertAudio extends Service implements TextToSpeech.OnInitListener, class