Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManagerTest.java25 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
68 assertEquals(AlertType.EARTHQUAKE, list.get(0).mAlertType); in testGetCellBroadcastChannelRanges()
73 assertEquals(AlertType.TSUNAMI, list.get(1).mAlertType); in testGetCellBroadcastChannelRanges()
78 assertEquals(AlertType.OTHER, list.get(2).mAlertType); in testGetCellBroadcastChannelRanges()
83 assertEquals(AlertType.CMAS_DEFAULT, list.get(3).mAlertType); in testGetCellBroadcastChannelRanges()
88 assertEquals(AlertType.CMAS_DEFAULT, list.get(4).mAlertType); in testGetCellBroadcastChannelRanges()
DCellBroadcastAlertServiceTest.java137 assertEquals(CellBroadcastAlertService.AlertType.CMAS_DEFAULT, in testShowNewAlert()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java98 public enum AlertType { enum in CellBroadcastAlertService
426 if (range.mAlertType == AlertType.AREA) { in isMessageEnabledByUser()
500 AlertType alertType = AlertType.CMAS_DEFAULT; in openEmergencyAlertNotification()
505 alertType = AlertType.ETWS_DEFAULT; in openEmergencyAlertNotification()
513 alertType = AlertType.EARTHQUAKE; in openEmergencyAlertNotification()
516 alertType = AlertType.TSUNAMI; in openEmergencyAlertNotification()
519 alertType = AlertType.OTHER; in openEmergencyAlertNotification()
DCellBroadcastChannelManager.java22 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
57 public AlertType mAlertType;
62 mAlertType = AlertType.CMAS_DEFAULT; in CellBroadcastChannelRange()
77 mAlertType = AlertType.valueOf(value.toUpperCase()); in CellBroadcastChannelRange()
DCellBroadcastAlertAudio.java44 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
342 AlertType alertType = AlertType.CMAS_DEFAULT; in onStartCommand()
344 alertType = (AlertType) intent.getSerializableExtra(ALERT_AUDIO_TONE_TYPE); in onStartCommand()
366 private void playAlertTone(AlertType alertType) { in playAlertTone()
DCellBroadcastConfigService.java31 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
305 if (range.mAlertType == AlertType.AREA && !enableAreaUpdateInfoAlerts) { in setCellBroadcastOnSub()