Searched refs:origBytes (Results 1 – 8 of 8) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmSmsAddress.java | 42 origBytes = new byte[length]; in GsmSmsAddress() 43 System.arraycopy(data, offset, origBytes, 0, length); in GsmSmsAddress() 46 int addressLength = origBytes[OFFSET_ADDRESS_LENGTH] & 0xff; in GsmSmsAddress() 48 int toa = origBytes[OFFSET_TOA] & 0xff; in GsmSmsAddress() 61 address = GsmAlphabet.gsm7BitPackedToString(origBytes, in GsmSmsAddress() 68 byte lastByte = origBytes[length - 1]; in GsmSmsAddress() 72 origBytes[length - 1] |= 0xf0; in GsmSmsAddress() 74 address = PhoneNumberUtils.calledPartyBCDToString(origBytes, in GsmSmsAddress() 78 origBytes[length - 1] = lastByte; in GsmSmsAddress() 126 return (origBytes[OFFSET_ADDRESS_LENGTH] & 0xff) == 4 in isCphsVoiceMessageIndicatorAddress() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsAddress.java | 106 builder.append(", origBytes=" + HexDump.toHexString(origBytes)); in toString() 200 byte[] origBytes = null; in parse() 203 origBytes = parseToDtmf(filteredAddr); in parse() 205 if (origBytes != null) { in parse() 213 origBytes = UserData.stringToAscii(filteredAddr); in parse() 214 if (origBytes == null) { in parse() 223 addr.origBytes = origBytes; in parse() 224 addr.numberOfDigits = origBytes.length; in parse()
|
D | CdmaSmsSubaddress.java | 24 public byte[] origBytes; field in CdmaSmsSubaddress
|
D | BearerData.java | 769 addr.origBytes = addr.address.getBytes("US-ASCII"); in encodeCdmaSmsAddress() 774 addr.origBytes = encodeDtmfSmsAddress(addr.address); in encodeCdmaSmsAddress() 801 outStream.writeByteArray(dataBits, addr.origBytes); in encodeCallbackNumber() 1267 addr.origBytes = bData.userData.payload; in decodeIs91Cli() 1376 addr.address = new String(addr.origBytes, 0, addr.origBytes.length, "US-ASCII"); in decodeSmsAddress() 1381 addr.address = decodeDtmfSmsAddress(addr.origBytes, addr.numberOfDigits); in decodeSmsAddress() 1414 addr.origBytes = inStream.readByteArray(dataBits); in decodeCallbackNumber()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | SmsMessage.java | 176 addr.origBytes = data; in newFromParcel() 194 subaddr.origBytes = data; in newFromParcel() 540 addr.origBytes = new byte[length]; in parsePdu() 541 dis.read(addr.origBytes, 0, length); // digits in parsePdu() 658 addr.origBytes = data; in parsePduFromEfRecord() 674 subAddr.origBytes = subdata; in parsePduFromEfRecord() 744 mOriginatingAddress.address = new String(mOriginatingAddress.origBytes); in parseSms() 927 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits in privateGetSubmitPdu() 966 dos.write(addr.origBytes, 0, addr.origBytes.length); // digits in createPdu() 1042 output.write(mEnvelope.origAddress.origBytes, 0, mEnvelope.origAddress.origBytes.length); in getIncomingSmsFingerprint() [all …]
|
D | CdmaServiceCategoryProgramHandler.java | 169 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsTest.java | 53 assertEquals(addr.origBytes.length, 10); in testCdmaSmsAddrParsing() 56 assertEquals(addr.origBytes[i], data[i]); in testCdmaSmsAddrParsing() 63 assertEquals(addr.origBytes.length, 10); in testCdmaSmsAddrParsing() 66 assertEquals(addr.origBytes[i], data2[i]); in testCdmaSmsAddrParsing() 73 assertEquals(addr.origBytes.length, 10); in testCdmaSmsAddrParsing() 76 assertEquals(addr.origBytes[i], data5[i]); in testCdmaSmsAddrParsing() 83 assertEquals(addr.origBytes.length, 12); in testCdmaSmsAddrParsing() 86 assertEquals(addr.origBytes[i], data3[i]); in testCdmaSmsAddrParsing() 91 assertEquals(addr.origBytes[i], data4[i]); in testCdmaSmsAddrParsing() 99 assertEquals(addr.origBytes.length, 15); in testCdmaSmsAddrParsing() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsAddress.java | 32 public byte[] origBytes; field in SmsAddress
|