Home
last modified time | relevance | path

Searched refs:getServiceCategory (Results 1 – 16 of 16) 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.java557 assertEquals(123, cbMessage.getServiceCategory()); in doTestNonEmergencyBroadcast()
592 assertEquals(serviceCategory, cbMessage.getServiceCategory()); in doTestCmasBroadcast()
654 cbMessage.getServiceCategory()); in testCmasExtremeAlertType1Elements()
716 cbMessage.getServiceCategory()); in testCmasNoRecordType0()
965 assertEquals("serviceCategory", cbMessage.getServiceCategory(), in testDecodeRawBearerData()
DGsmCellBroadcastHandlerTest.java255 msg.getServiceCategory()); in testTriggerMessage()
497 msg.getServiceCategory()); in testConsecutiveGeofencingTriggerMessages()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java68 Integer.toString(message.getServiceCategory())); in getMessageDetails()
314 final int serviceCategory = message.getServiceCategory(); in getSmsSenderAddressResource()
355 final int serviceCategory = message.getServiceCategory(); in getDialogTitleResource()
426 final int serviceCategory = message.getServiceCategory(); in getDialogPictogramResource()
DCellBroadcastAlertService.java235 if (channelManager.getCellBroadcastChannelResourcesKey(message.getServiceCategory()) in shouldDisplayFullScreenMessage()
262 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() + " in ECBM"); in shouldDisplayMessage()
271 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() in shouldDisplayMessage()
388 RPT_GSM, SRC_CBR, message.getSerialNumber(), message.getServiceCategory()); in handleCellBroadcastIntent()
391 RPT_CDMA, SRC_CBR, message.getSerialNumber(), message.getServiceCategory()); in handleCellBroadcastIntent()
541 int channel = message.getServiceCategory(); in isChannelEnabled()
702 int channel = message.getServiceCategory(); in openEmergencyAlertNotification()
832 notificationId = (message.getServiceCategory() << 16 | message.getSerialNumber()); in addToNotificationBar()
DCellBroadcastReceiverMetrics.java563 + msg.getSerialNumber() + " " + msg.getServiceCategory()); in logMessageFiltered()
566 ratType, filterType, msg.getSerialNumber(), msg.getServiceCategory()); in logMessageFiltered()
DCellBroadcastChannelManager.java630 return getCellBroadcastChannelRange(message.getServiceCategory()); in getCellBroadcastChannelRangeFromMessage()
649 int id = message.getServiceCategory(); in isEmergencyMessage()
DCellBroadcastContentProvider.java273 cv.put(Telephony.CellBroadcasts.SERVICE_CATEGORY, message.getServiceCategory()); in getContentValues()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java591 && message.getServiceCategory() != messageToCheck.getServiceCategory() in isDuplicate()
593 message.getServiceCategory()), messageToCheck.getServiceCategory()) in isDuplicate()
595 messageToCheck.getServiceCategory()), in isDuplicate()
596 message.getServiceCategory())) { in isDuplicate()
1118 + message.getServiceCategory() + "," in getMessageString()
DCellBroadcastServiceMetrics.java295 + msg.getSerialNumber() + " " + msg.getServiceCategory()); in logMessageFiltered()
298 ratType, filterType, msg.getSerialNumber(), msg.getServiceCategory()); in logMessageFiltered()
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.java450 x -> x == message.getServiceCategory())) { in handleAreaInfoMessage()
494 RPT_GSM, SRC_CBS, header.getSerialNumber(), header.getServiceCategory()); in handleSmsMessage()
496 if (header.getServiceCategory() == SmsCbConstants.MESSAGE_ID_CMAS_GEO_FENCING_TRIGGER) { in handleSmsMessage()
512 log("Channel " + cbMessage.getServiceCategory() + " message processed"); in handleSmsMessage()
DDefaultCellBroadcastService.java98 RPT_CDMA, SRC_CBS, message.getSerialNumber(), message.getServiceCategory()); in onCdmaCellBroadcastSms()
DSmsCbHeader.java248 public int getServiceCategory() { in getServiceCategory() method in SmsCbHeader
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java119 header.getSerialNumber(), location, header.getServiceCategory(), null, 0, in createSmsCbMessage()
155 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage()
171 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java173 assertEquals(m1.getServiceCategory(), m2.getServiceCategory()); in compareCellBroadCastMessage()