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;
31 import com.android.cellbroadcastreceiver.CellBroadcastAlertAudio;
137 assertEquals(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO, in testShowNewAlert()
143 CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY)); in testShowNewAlert()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java501 Intent audioIntent = new Intent(this, CellBroadcastAlertAudio.class); in openEmergencyAlertNotification()
502 audioIntent.setAction(CellBroadcastAlertAudio.ACTION_START_ALERT_AUDIO); in openEmergencyAlertNotification()
544 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_TONE_TYPE, alertType); in openEmergencyAlertNotification()
546 CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in openEmergencyAlertNotification()
554 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_OVERRIDE_DND_EXTRA, true); in openEmergencyAlertNotification()
559 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, messageBody); in openEmergencyAlertNotification()
564 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_LANGUAGE, in openEmergencyAlertNotification()
567 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_SUB_INDEX, in openEmergencyAlertNotification()
569 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_DURATION, in openEmergencyAlertNotification()
684 Intent audioIntent = new Intent(context, CellBroadcastAlertAudio.class); in addToNotificationBar()
[all …]
DCellBroadcastAlertDialog.java411 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in onStop()
691 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in dismiss()
777 stopService(new Intent(this, CellBroadcastAlertAudio.class)); in onKeyDown()
DCellBroadcastAlertAudio.java61 public class CellBroadcastAlertAudio extends Service implements TextToSpeech.OnInitListener, class