Home
last modified time | relevance | path

Searched refs:PDU_BODY_PAGE_LENGTH (Results 1 – 2 of 2) sorted by relevance

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java57 private static final int PDU_BODY_PAGE_LENGTH = 82; field in GsmSmsCbMessage
135 + (PDU_BODY_PAGE_LENGTH + 1) * nrPages; // cb data in createSmsCbMessage()
270 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) in parseUmtsBody()
281 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; in parseUmtsBody()
282 int length = pdu[offset + PDU_BODY_PAGE_LENGTH]; in parseUmtsBody()
284 if (length > PDU_BODY_PAGE_LENGTH) { in parseUmtsBody()
286 + " exceeds maximum value " + PDU_BODY_PAGE_LENGTH); in parseUmtsBody()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmSmsCbMessage.java60 private static final int PDU_BODY_PAGE_LENGTH = 82; field in GsmSmsCbMessage
128 + (PDU_BODY_PAGE_LENGTH + 1) * nrPages; // cb data in createSmsCbMessage()
319 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) in parseUmtsBody()
330 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; in parseUmtsBody()
331 int length = pdu[offset + PDU_BODY_PAGE_LENGTH]; in parseUmtsBody()
333 if (length > PDU_BODY_PAGE_LENGTH) { in parseUmtsBody()
335 + " exceeds maximum value " + PDU_BODY_PAGE_LENGTH); in parseUmtsBody()