Home
last modified time | relevance | path

Searched refs:PDU_HEADER_LENGTH (Results 1 – 3 of 3) sorted by relevance

/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmSmsCbMessage.java125 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in createSmsCbMessage()
126 int wacDataOffset = SmsCbHeader.PDU_HEADER_LENGTH in createSmsCbMessage()
190 int whamOffset = SmsCbHeader.PDU_HEADER_LENGTH + 1; in createGeoFencingTriggerMessage()
305 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in parseUmtsBody()
308 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) in parseUmtsBody()
319 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; in parseUmtsBody()
345 int offset = SmsCbHeader.PDU_HEADER_LENGTH; in parseGsmBody()
DSmsCbHeader.java76 public static final int PDU_HEADER_LENGTH = 6; field in SmsCbHeader
133 if (pdu == null || pdu.length < PDU_HEADER_LENGTH) { in SmsCbHeader()
155 if (pdu.length > PDU_HEADER_LENGTH) { in SmsCbHeader()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java124 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in createSmsCbMessage()
125 int wacDataOffset = SmsCbHeader.PDU_HEADER_LENGTH in createSmsCbMessage()
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()
298 int offset = SmsCbHeader.PDU_HEADER_LENGTH; in parseGsmBody()