Home
last modified time | relevance | path

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

/aosp12/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
H A DGsmSmsCbMessage.java39 import com.android.cellbroadcastservice.SmsCbHeader;
40 import com.android.cellbroadcastservice.SmsCbHeader.DataCodingScheme;
93 public static SmsCbMessage createSmsCbMessage(Context context, SmsCbHeader header, in createSmsCbMessage()
124 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in createSmsCbMessage()
125 int wacDataOffset = SmsCbHeader.PDU_HEADER_LENGTH in createSmsCbMessage()
257 private static Pair<String, String> parseUmtsBody(SmsCbHeader header, byte[] pdu) { in parseUmtsBody()
259 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in parseUmtsBody()
262 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) in parseUmtsBody()
273 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; in parseUmtsBody()
296 private static Pair<String, String> parseGsmBody(SmsCbHeader header, byte[] pdu) { in parseGsmBody()
[all …]
H A DSendTestMessages.java30 import com.android.cellbroadcastservice.SmsCbHeader;
423 return GsmSmsCbMessage.createSmsCbMessage(context, new SmsCbHeader(pdus[0]), in createFromPdus()
/aosp12/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
H A DGsmSmsCbMessage.java43 import com.android.cellbroadcastservice.SmsCbHeader.DataCodingScheme;
97 public static SmsCbMessage createSmsCbMessage(Context context, SmsCbHeader header, in createSmsCbMessage()
128 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in createSmsCbMessage()
129 int wacDataOffset = SmsCbHeader.PDU_HEADER_LENGTH in createSmsCbMessage()
193 int whamOffset = SmsCbHeader.PDU_HEADER_LENGTH + 1; in createGeoFencingTriggerMessage()
319 private static Pair<String, String> parseUmtsBody(SmsCbHeader header, in parseUmtsBody()
322 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in parseUmtsBody()
325 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) in parseUmtsBody()
336 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; in parseUmtsBody()
359 private static Pair<String, String> parseGsmBody(SmsCbHeader header, in parseGsmBody()
[all …]
H A DGsmCellBroadcastHandler.java448 SmsCbHeader header = createSmsCbHeader(pdu); in handleSmsMessage()
589 private SmsCbMessage handleGsmBroadcastSms(SmsCbHeader header, byte[] receivedPdu, in handleGsmBroadcastSms()
685 private SmsCbHeader createSmsCbHeader(byte[] bytes) { in createSmsCbHeader()
687 return new SmsCbHeader(bytes); in createSmsCbHeader()
742 private final SmsCbHeader mHeader;
746 public SmsCbConcatInfo(SmsCbHeader header, SmsCbLocation location) { in SmsCbConcatInfo()
H A DSmsCbHeader.java38 public class SmsCbHeader { class
132 public SmsCbHeader(byte[] pdu) throws IllegalArgumentException { in SmsCbHeader() method in SmsCbHeader
/aosp12/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
H A DSmsCbContactInfoTest.java26 import com.android.cellbroadcastservice.SmsCbHeader;
42 private SmsCbHeader mSmsCbHeader;
65 Mockito.mock(SmsCbHeader.class), mSmsCbLocation); in testHasCode()
73 Mockito.mock(SmsCbHeader.class), mSmsCbLocation); in testEquals()
H A DGsmSmsCbMessageTest.java35 import com.android.cellbroadcastservice.SmsCbHeader;
121 SmsCbHeader header = new SmsCbHeader(pdu); in testCreateMessageFromBinary()
185 SmsCbHeader header = new SmsCbHeader(pdu); in createFromPdu()
H A DSmsHeaderTest.java23 import com.android.cellbroadcastservice.SmsCbHeader;
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSmsCbHeader.java39 public class SmsCbHeader { class
135 public SmsCbHeader(byte[] pdu) throws IllegalArgumentException { in SmsCbHeader() method in SmsCbHeader
/aosp12/packages/modules/CellBroadcastService/
H A DAndroid.bp76 "src/com/android/cellbroadcastservice/SmsCbHeader.java",