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.java494 addr.origBytes = new byte[length]; in parsePdu()
495 dis.read(addr.origBytes, 0, length); // digits in parsePdu()
613 addr.origBytes = data; in parsePduFromEfRecord()
635 subAddr.origBytes = subdata; in parsePduFromEfRecord()
752 addr.address = new String(addr.origBytes); in decodeSmsDisplayAddress()
913 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits in privateGetSubmitPdu()
953 dos.write(addr.origBytes, 0, addr.origBytes.length); // digits in createPdu()
1030 output.write(mEnvelope.origAddress.origBytes, 0, mEnvelope.origAddress.origBytes.length); in getIncomingSmsFingerprint()
1033 if (mEnvelope.origSubaddress != null && mEnvelope.origSubaddress.origBytes != null) { in getIncomingSmsFingerprint()
1034 output.write(mEnvelope.origSubaddress.origBytes, 0, in getIncomingSmsFingerprint()
[all …]
DCdmaSmsSubaddress.java24 public byte[] origBytes; field in CdmaSmsSubaddress
DBearerData.java810 addr.origBytes = addr.address.getBytes("US-ASCII"); in encodeCdmaSmsAddress()
815 addr.origBytes = encodeDtmfSmsAddress(addr.address); in encodeCdmaSmsAddress()
842 outStream.writeByteArray(dataBits, addr.origBytes); in encodeCallbackNumber()
1336 addr.origBytes = bData.userData.payload; in decodeIs91Cli()
1445 addr.address = new String(addr.origBytes, 0, addr.origBytes.length, "US-ASCII"); in decodeSmsAddress()
1450 addr.address = decodeDtmfSmsAddress(addr.origBytes, addr.numberOfDigits); in decodeSmsAddress()
1483 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.java35 public byte[] origBytes; field in SmsAddress
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessageConverter.java113 addr.origBytes = data; in newCdmaSmsMessageFromRil()
131 subaddr.origBytes = data; in newCdmaSmsMessageFromRil()
DCdmaServiceCategoryProgramHandler.java177 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java4330 byte[] origBytes = (byte[]) orig[i]; in deepCopy()
4331 result[i] = Arrays.copyOf(origBytes, origBytes.length); in deepCopy()