Home
last modified time | relevance | path

Searched refs:getServiceCategory (Results 1 – 13 of 13) sorted by relevance

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmSmsCbMessageTest.java135 msg.getServiceCategory()); in testCreateMessageFromBinary()
828 assertEquals("Unexpected message identifier decoded", 12345, msg.getServiceCategory()); in testGetMessageIdentifier()
858 assertEquals("Unexpected message identifier decoded", 12345, msg.getServiceCategory()); in testGetMessageIdentifierUmts()
1019 assertEquals("message ID mismatch", 0x1100, msg.getServiceCategory()); in testEtwsMessageNormal()
1030 assertEquals("message ID mismatch", 0x1100, msg.getServiceCategory()); in testEtwsMessageCancel()
1041 assertEquals("message ID mismatch", 0x1103, msg.getServiceCategory()); in testEtwsMessageTest()
DCdmaSmsMessageTest.java455 assertEquals(123, cbMessage.getServiceCategory()); in doTestNonEmergencyBroadcast()
490 assertEquals(serviceCategory, cbMessage.getServiceCategory()); in doTestCmasBroadcast()
552 cbMessage.getServiceCategory()); in testCmasExtremeAlertType1Elements()
614 cbMessage.getServiceCategory()); in testCmasNoRecordType0()
863 assertEquals("serviceCategory", cbMessage.getServiceCategory(), in testDecodeRawBearerData()
DGsmCellBroadcastHandlerTest.java191 msg.getServiceCategory()); in testTriggerMessage()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java375 if (message.getServiceCategory() != messageToCheck.getServiceCategory() in isDuplicate()
377 message.getServiceCategory()), messageToCheck.getServiceCategory()) in isDuplicate()
379 messageToCheck.getServiceCategory()), in isDuplicate()
380 message.getServiceCategory())) { in isDuplicate()
418 + message.getServiceCategory() in performGeoFencing()
DGsmSmsCbMessage.java112 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage()
148 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage()
164 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
DGsmCellBroadcastHandler.java251 x -> x == message.getServiceCategory())) { in handleAreaInfoMessage()
293 if (header.getServiceCategory() == SmsCbConstants.MESSAGE_ID_CMAS_GEO_FENCING_TRIGGER) { in handleSmsMessage()
307 log("Channel " + cbMessage.getServiceCategory() + " message processed"); in handleSmsMessage()
DSmsCbHeader.java237 public int getServiceCategory() { in getServiceCategory() method in SmsCbHeader
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java352 int channel = message.getServiceCategory(); in getCellBroadcastChannelRangeFromMessage()
363 if (range.mStartId <= message.getServiceCategory() in getCellBroadcastChannelRangeFromMessage()
364 && range.mEndId >= message.getServiceCategory()) { in getCellBroadcastChannelRangeFromMessage()
388 int id = message.getServiceCategory(); in isEmergencyMessage()
DCellBroadcastResources.java65 Integer.toString(message.getServiceCategory())); in getMessageDetails()
310 final int serviceCategory = message.getServiceCategory(); in getDialogTitleResource()
412 final int serviceCategory = message.getServiceCategory(); in getDialogPictogramResource()
DCellBroadcastAlertService.java186 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() + " in ECBM"); in shouldDisplayMessage()
191 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() in shouldDisplayMessage()
390 int channel = message.getServiceCategory(); in isChannelEnabled()
532 int channel = message.getServiceCategory(); in openEmergencyAlertNotification()
DCellBroadcastContentProvider.java227 cv.put(Telephony.CellBroadcasts.SERVICE_CATEGORY, message.getServiceCategory()); in getContentValues()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java111 header.getSerialNumber(), location, header.getServiceCategory(), null, 0, in createSmsCbMessage()
147 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage()
163 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java97 assertEquals(m1.getServiceCategory(), m2.getServiceCategory()); in compareCellBroadCastMessage()