Home
last modified time | relevance | path

Searched refs:isEmergencyMessage (Results 1 – 10 of 10) sorted by relevance

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java639 public boolean isEmergencyMessage(SmsCbMessage message) { in isEmergencyMessage() method in CellBroadcastChannelManager
666 Log.d(TAG, "isEmergencyMessage: " + message.isEmergencyMessage() in isEmergencyMessage()
671 return message.isEmergencyMessage(); in isEmergencyMessage()
DCellBroadcastAlertService.java296 && !channelManager.isEmergencyMessage(message)) { in shouldDisplayMessage()
485 if (channelManager.isEmergencyMessage(cbm) && !sRemindAfterCallFinish) { in showNewAlert()
863 if (!channelManager.isEmergencyMessage(message)) { in addToNotificationBar()
873 boolean nonSwipeableNotification = message.isEmergencyMessage() in addToNotificationBar()
965 if (isWatch && !channelManager.isEmergencyMessage(message)) { in addToNotificationBar()
DCellBroadcastResources.java382 if (channelManager.isEmergencyMessage(message)) { in getDialogTitleResource()
430 if (channelManager.isEmergencyMessage(message)) { in getDialogPictogramResource()
DCellBroadcastAlertDialog.java573 if (channelManager.isEmergencyMessage(message)) { in onCreate()
626 if (channelManager.isEmergencyMessage(message) in onResume()
1023 if (channelManager.isEmergencyMessage(message)) { in onNewIntent()
1138 if (channelManager.isEmergencyMessage(nextMessage) in dismiss()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java130 int priority = header.isEmergencyMessage() ? SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY in createSmsCbMessage()
166 int priority = header.isEmergencyMessage() ? SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY in createSmsCbMessage()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCdmaSmsMessageTest.java562 assertEquals(false, cbMessage.isEmergencyMessage()); in doTestNonEmergencyBroadcast()
597 assertEquals(true, cbMessage.isEmergencyMessage()); in doTestCmasBroadcast()
659 assertEquals(true, cbMessage.isEmergencyMessage()); in testCmasExtremeAlertType1Elements()
721 assertEquals(true, cbMessage.isEmergencyMessage()); in testCmasNoRecordType0()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmSmsCbMessage.java123 int priority = header.isEmergencyMessage() ? SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY in createSmsCbMessage()
159 int priority = header.isEmergencyMessage() ? SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY in createSmsCbMessage()
DSmsCbHeader.java280 public boolean isEmergencyMessage() { in isEmergencyMessage() method in SmsCbHeader
DCellBroadcastHandler.java776 if (message.isEmergencyMessage()) { in broadcastMessage()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastChannelManagerTest.java326 assertFalse(mChannelManager1.isEmergencyMessage(null)); in testIsEmergencyMessage()
330 assertTrue(mChannelManager1.isEmergencyMessage(msg)); in testIsEmergencyMessage()