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.java124 int tpduLength = pdu.length - tpduIndex; in handleDataDownload() local
126 int bodyLength = getEnvelopeBodyLength(scAddressLength, tpduLength); in handleDataDownload()
158 if (tpduLength > 127) { in handleDataDownload()
161 envelope[index++] = (byte) tpduLength; in handleDataDownload()
162 System.arraycopy(pdu, tpduIndex, envelope, index, tpduLength); in handleDataDownload()
163 index += tpduLength; in handleDataDownload()
189 private static int getEnvelopeBodyLength(int scAddressLength, int tpduLength) { in getEnvelopeBodyLength() argument
191 int length = tpduLength + 5; in getEnvelopeBodyLength()
193 length += (tpduLength > 127 ? 2 : 1); in getEnvelopeBodyLength()