Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimDataDownloadHandler.java120 int tpduLength = pdu.length - tpduIndex; in handleDataDownload() local
122 int bodyLength = getEnvelopeBodyLength(scAddressLength, tpduLength); in handleDataDownload()
154 if (tpduLength > 127) { in handleDataDownload()
157 envelope[index++] = (byte) tpduLength; in handleDataDownload()
158 System.arraycopy(pdu, tpduIndex, envelope, index, tpduLength); in handleDataDownload()
159 index += tpduLength; in handleDataDownload()
182 private static int getEnvelopeBodyLength(int scAddressLength, int tpduLength) { in getEnvelopeBodyLength() argument
184 int length = tpduLength + 5; in getEnvelopeBodyLength()
186 length += (tpduLength > 127 ? 2 : 1); in getEnvelopeBodyLength()