Searched refs:AlertType (Results 1 – 6 of 6) sorted by relevance
25 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()
137 assertEquals(CellBroadcastAlertService.AlertType.CMAS_DEFAULT, in testShowNewAlert()
98 public enum AlertType { enum in CellBroadcastAlertService426 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()
22 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()
44 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()
31 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;305 if (range.mAlertType == AlertType.AREA && !enableAreaUpdateInfoAlerts) { in setCellBroadcastOnSub()