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.java56 private static final int PDU_BODY_PAGE_LENGTH = 82; field in GsmSmsCbMessage
127 + (PDU_BODY_PAGE_LENGTH + 1) * nrPages; // cb data in createSmsCbMessage()
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()
274 int length = pdu[offset + PDU_BODY_PAGE_LENGTH]; in parseUmtsBody()
276 if (length > PDU_BODY_PAGE_LENGTH) { in parseUmtsBody()
278 + " 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
131 + (PDU_BODY_PAGE_LENGTH + 1) * nrPages; // cb data in createSmsCbMessage()
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()
337 int length = pdu[offset + PDU_BODY_PAGE_LENGTH]; in parseUmtsBody()
339 if (length > PDU_BODY_PAGE_LENGTH) { in parseUmtsBody()
341 + " exceeds maximum value " + PDU_BODY_PAGE_LENGTH); in parseUmtsBody()