Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManagerTest.java23 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
67 assertEquals(AlertType.ETWS_EARTHQUAKE, list.get(0).mAlertType); in testGetCellBroadcastChannelRanges()
72 assertEquals(AlertType.ETWS_TSUNAMI, list.get(1).mAlertType); in testGetCellBroadcastChannelRanges()
77 assertEquals(AlertType.OTHER, list.get(2).mAlertType); in testGetCellBroadcastChannelRanges()
82 assertEquals(AlertType.DEFAULT, list.get(3).mAlertType); in testGetCellBroadcastChannelRanges()
87 assertEquals(AlertType.DEFAULT, list.get(4).mAlertType); in testGetCellBroadcastChannelRanges()
92 assertEquals(AlertType.TEST, list.get(5).mAlertType); in testGetCellBroadcastChannelRanges()
DCellBroadcastAlertServiceTest.java137 assertEquals(CellBroadcastAlertService.AlertType.DEFAULT, in testShowNewAlert()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java111 public enum AlertType { enum in CellBroadcastAlertService
470 if (range.mAlertType == AlertType.AREA) { in isChannelEnabled()
487 } else if (range.mAlertType == AlertType.TEST) { in isChannelEnabled()
575 AlertType alertType = AlertType.DEFAULT; in openEmergencyAlertNotification()
577 alertType = AlertType.ETWS_DEFAULT; in openEmergencyAlertNotification()
585 alertType = AlertType.ETWS_EARTHQUAKE; in openEmergencyAlertNotification()
588 alertType = AlertType.ETWS_TSUNAMI; in openEmergencyAlertNotification()
591 alertType = AlertType.TEST; in openEmergencyAlertNotification()
594 alertType = AlertType.OTHER; in openEmergencyAlertNotification()
742 AlertType.OTHER); in addToNotificationBar()
DCellBroadcastAlertAudio.java46 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
318 AlertType alertType = AlertType.DEFAULT; in onStartCommand()
320 alertType = (AlertType) intent.getSerializableExtra(ALERT_AUDIO_TONE_TYPE); in onStartCommand()
343 private void playAlertTone(AlertType alertType, int[] patternArray) { in playAlertTone()
DCellBroadcastChannelManager.java26 import com.android.cellbroadcastreceiver.CellBroadcastAlertService.AlertType;
104 public AlertType mAlertType;
113 mAlertType = AlertType.DEFAULT; in CellBroadcastChannelRange()
135 mAlertType = AlertType.valueOf(value.toUpperCase()); in CellBroadcastChannelRange()