Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsAddress.java43 origBytes = new byte[length]; in GsmSmsAddress()
44 System.arraycopy(data, offset, origBytes, 0, length); in GsmSmsAddress()
47 int addressLength = origBytes[OFFSET_ADDRESS_LENGTH] & 0xff; in GsmSmsAddress()
49 int toa = origBytes[OFFSET_TOA] & 0xff; in GsmSmsAddress()
62 address = GsmAlphabet.gsm7BitPackedToString(origBytes, in GsmSmsAddress()
69 byte lastByte = origBytes[length - 1]; in GsmSmsAddress()
73 origBytes[length - 1] |= 0xf0; in GsmSmsAddress()
76 origBytes, in GsmSmsAddress()
82 origBytes[length - 1] = lastByte; in GsmSmsAddress()
130 return (origBytes[OFFSET_ADDRESS_LENGTH] & 0xff) == 4 in isCphsVoiceMessageIndicatorAddress()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaSmsAddress.java107 builder.append(", origBytes=" + HexDump.toHexString(origBytes)); in toString()
205 byte[] origBytes; in parse()
228 origBytes = UserData.stringToAscii(filteredAddr); in parse()
231 origBytes = parseToDtmf(filteredAddr); in parse()
234 if (origBytes == null) { in parse()
238 addr.origBytes = origBytes; in parse()
239 addr.numberOfDigits = origBytes.length; in parse()
DSmsMessage.java496 addr.origBytes = new byte[length]; in parsePdu()
497 dis.read(addr.origBytes, 0, length); // digits in parsePdu()
615 addr.origBytes = data; in parsePduFromEfRecord()
631 subAddr.origBytes = subdata; in parsePduFromEfRecord()
701 mOriginatingAddress.address = new String(mOriginatingAddress.origBytes); in parseSms()
897 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits in privateGetSubmitPdu()
937 dos.write(addr.origBytes, 0, addr.origBytes.length); // digits in createPdu()
1014 output.write(mEnvelope.origAddress.origBytes, 0, mEnvelope.origAddress.origBytes.length); in getIncomingSmsFingerprint()
1017 if (mEnvelope.origSubaddress != null && mEnvelope.origSubaddress.origBytes != null) { in getIncomingSmsFingerprint()
1018 output.write(mEnvelope.origSubaddress.origBytes, 0, in getIncomingSmsFingerprint()
[all …]
DCdmaSmsSubaddress.java24 public byte[] origBytes; field in CdmaSmsSubaddress
DBearerData.java769 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()
1292 addr.origBytes = bData.userData.payload; in decodeIs91Cli()
1401 addr.address = new String(addr.origBytes, 0, addr.origBytes.length, "US-ASCII"); in decodeSmsAddress()
1406 addr.address = decodeDtmfSmsAddress(addr.origBytes, addr.numberOfDigits); in decodeSmsAddress()
1439 addr.origBytes = inStream.readByteArray(dataBits); in decodeCallbackNumber()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddressTest.java36 assertArrayEquals(CdmaSmsAddress.parseToDtmf(address), cdmaAddress.origBytes); in testNumberAddress()
46 assertArrayEquals(CdmaSmsAddress.parseToDtmf("3141592653"), cdmaAddress.origBytes); in testNumberWithSugar()
58 assertArrayEquals(UserData.stringToAscii("10068"), cdmaAddress.origBytes); in testInternationalAddress()
69 assertArrayEquals(UserData.stringToAscii(address), cdmaAddress.origBytes); in testEmailAddress()
DCdmaSmsTest.java53 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((int) expectedAddr.charAt(i), addr.origBytes[i]); in testCdmaSmsAddrParsing()
91 assertEquals(addr.origBytes[i], data4[i]); in testCdmaSmsAddrParsing()
99 assertEquals(addr.origBytes.length, 15); in testCdmaSmsAddrParsing()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsAddress.java32 public byte[] origBytes; field in SmsAddress
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java170 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits
DSmsMessageConverter.java113 addr.origBytes = data; in newCdmaSmsMessageFromRil()
131 subaddr.origBytes = data; in newCdmaSmsMessageFromRil()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt8387 Lcom/android/internal/telephony/SmsAddress;->origBytes:[B