Home
last modified time | relevance | path

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

/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java130 int scAddressLength = pdu[0] & 0xff; in handleDataDownload() local
131 int tpduIndex = scAddressLength + 1; // start of TPDU in handleDataDownload()
134 int bodyLength = getEnvelopeBodyLength(scAddressLength, tpduLength); in handleDataDownload()
157 if (scAddressLength != 0) { in handleDataDownload()
159 envelope[index++] = (byte) scAddressLength; in handleDataDownload()
160 System.arraycopy(pdu, 1, envelope, index, scAddressLength); in handleDataDownload()
161 index += scAddressLength; in handleDataDownload()
197 private static int getEnvelopeBodyLength(int scAddressLength, int tpduLength) { in getEnvelopeBodyLength() argument
203 if (scAddressLength != 0) { in getEnvelopeBodyLength()
204 length = length + 2 + scAddressLength; in getEnvelopeBodyLength()