Home
last modified time | relevance | path

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

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmSmsCbMessageTest.java135 msg.getServiceCategory()); in testCreateMessageFromBinary()
819 assertEquals("Unexpected message identifier decoded", 12345, msg.getServiceCategory()); in testGetMessageIdentifier()
849 assertEquals("Unexpected message identifier decoded", 12345, msg.getServiceCategory()); in testGetMessageIdentifierUmts()
1010 assertEquals("message ID mismatch", 0x1100, msg.getServiceCategory()); in testEtwsMessageNormal()
1021 assertEquals("message ID mismatch", 0x1100, msg.getServiceCategory()); in testEtwsMessageCancel()
1032 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.java234 msg.getServiceCategory()); in testTriggerMessage()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java442 int channel = message.getServiceCategory(); in getCellBroadcastChannelRangeFromMessage()
453 if (range.mStartId <= message.getServiceCategory() in getCellBroadcastChannelRangeFromMessage()
454 && range.mEndId >= message.getServiceCategory()) { in getCellBroadcastChannelRangeFromMessage()
478 int id = message.getServiceCategory(); in isEmergencyMessage()
DCellBroadcastResources.java68 Integer.toString(message.getServiceCategory())); in getMessageDetails()
314 final int serviceCategory = message.getServiceCategory(); in getSmsSenderAddressResource()
358 final int serviceCategory = message.getServiceCategory(); in getDialogTitleResource()
462 final int serviceCategory = message.getServiceCategory(); in getDialogPictogramResource()
DCellBroadcastAlertService.java209 if (channelManager.checkCellBroadcastChannelRange(message.getServiceCategory(), in shouldDisplayFullScreenMessage()
233 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() + " in ECBM"); in shouldDisplayMessage()
238 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() in shouldDisplayMessage()
466 int channel = message.getServiceCategory(); in isChannelEnabled()
644 int channel = message.getServiceCategory(); in openEmergencyAlertNotification()
DCellBroadcastContentProvider.java266 cv.put(Telephony.CellBroadcasts.SERVICE_CATEGORY, message.getServiceCategory()); in getContentValues()
DCellBroadcastAlertDialog.java752 if (message.getServiceCategory() == Integer.parseInt( in getMessageBodyOverride()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java582 && message.getServiceCategory() != messageToCheck.getServiceCategory() in isDuplicate()
584 message.getServiceCategory()), messageToCheck.getServiceCategory()) in isDuplicate()
586 messageToCheck.getServiceCategory()), in isDuplicate()
587 message.getServiceCategory())) { in isDuplicate()
1074 + message.getServiceCategory() + "," in getMessageString()
DGsmSmsCbMessage.java115 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage()
151 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage()
167 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
DGsmCellBroadcastHandler.java410 x -> x == message.getServiceCategory())) { in handleAreaInfoMessage()
452 if (header.getServiceCategory() == SmsCbConstants.MESSAGE_ID_CMAS_GEO_FENCING_TRIGGER) { in handleSmsMessage()
469 log("Channel " + cbMessage.getServiceCategory() + " message processed"); in handleSmsMessage()
DSmsCbHeader.java246 public int getServiceCategory() { in getServiceCategory() method in SmsCbHeader
/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.java116 assertEquals(m1.getServiceCategory(), m2.getServiceCategory()); in compareCellBroadCastMessage()