Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSmsMessage.java917 int firstByte = p.getByte(); in parsePdu() local
919 mMti = firstByte & 0x3; in parsePdu()
926 parseSmsDeliver(p, firstByte); in parsePdu()
929 parseSmsSubmit(p, firstByte); in parsePdu()
932 parseSmsStatusReport(p, firstByte); in parsePdu()
946 private void parseSmsStatusReport(PduParser p, int firstByte) { in parseSmsStatusReport() argument
983 boolean hasUserDataHeader = (firstByte & 0x40) == 0x40; in parseSmsStatusReport()
990 private void parseSmsDeliver(PduParser p, int firstByte) { in parseSmsDeliver() argument
991 mReplyPathPresent = (firstByte & 0x80) == 0x80; in parseSmsDeliver()
1017 boolean hasUserDataHeader = (firstByte & 0x40) == 0x40; in parseSmsDeliver()
[all …]
/frameworks/base/core/java/android/net/
DNetworkUtils.java262 int firstByte = address.getAddress()[0] & 0xff; // Convert to an unsigned value. in getImplicitNetmask() local
263 if (firstByte < 128) { in getImplicitNetmask()
265 } else if (firstByte < 192) { in getImplicitNetmask()
267 } else if (firstByte < 224) { in getImplicitNetmask()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java169 int firstByte = Integer.parseInt(data.substring(offset, offset + 2), 16); in parseLength() local
170 if (firstByte < SINGLE_BYTE_MAX_LENGTH) { in parseLength()
171 length = firstByte * 2; in parseLength()
174 int numBytes = firstByte - SINGLE_BYTE_MAX_LENGTH; in parseLength()