Home
last modified time | relevance | path

Searched refs:mEmergencyLevel (Results 1 – 2 of 2) sorted by relevance

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastChannelManagerTest.java130 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(0).mEmergencyLevel); in verifyChannelRangesForConfig1()
141 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(1).mEmergencyLevel); in verifyChannelRangesForConfig1()
153 assertEquals(CellBroadcastChannelRange.LEVEL_NOT_EMERGENCY, list.get(2).mEmergencyLevel); in verifyChannelRangesForConfig1()
165 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(3).mEmergencyLevel); in verifyChannelRangesForConfig1()
176 assertEquals(CellBroadcastChannelRange.LEVEL_UNKNOWN, list.get(4).mEmergencyLevel); in verifyChannelRangesForConfig1()
187 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(5).mEmergencyLevel); in verifyChannelRangesForConfig1()
219 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(9).mEmergencyLevel); in verifyChannelRangesForConfig1()
230 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(0).mEmergencyLevel); in verifyChannelRangesForConfig2()
241 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(1).mEmergencyLevel); in verifyChannelRangesForConfig2()
253 assertEquals(CellBroadcastChannelRange.LEVEL_NOT_EMERGENCY, list.get(2).mEmergencyLevel); in verifyChannelRangesForConfig2()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java160 public int mEmergencyLevel; field in CellBroadcastChannelManager.CellBroadcastChannelRange
196 mEmergencyLevel = LEVEL_UNKNOWN; in CellBroadcastChannelRange()
224 mEmergencyLevel = LEVEL_EMERGENCY; in CellBroadcastChannelRange()
226 mEmergencyLevel = LEVEL_NOT_EMERGENCY; in CellBroadcastChannelRange()
353 + mEmergencyLevel + ",type=" + mAlertType + ",scope=" + mScope + ",vibration=" in toString()
653 switch (range.mEmergencyLevel) { in isEmergencyMessage()