Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsAddress.java32 public int ton; field in SmsAddress
48 return ton == TON_ALPHANUMERIC; in isAlphanumeric()
55 return ton == TON_NETWORK; in isNetworkSpecific()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsAddress.java50 ton = 0x7 & (toa >> 4); in GsmSmsAddress()
96 return ton == TON_ALPHANUMERIC; in isAlphanumeric()
101 return ton == TON_NETWORK; in isNetworkSpecific()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaSmsAddress.java105 builder.append(", ton=" + ton); in toString()
200 addr.ton = TON_UNKNOWN; in parse()
216 addr.ton = TON_NATIONAL_OR_EMAIL; in parse()
222 addr.ton = TON_INTERNATIONAL_OR_IP; in parse()
DSmsMessage.java482 addr.ton = dis.readByte(); in parsePdu()
575 addr.ton = numberType; in parsePduFromEfRecord()
753 if (addr.ton == CdmaSmsAddress.TON_INTERNATIONAL_OR_IP) { in decodeSmsDisplayAddress()
910 dos.write(destAddr.ton); // number_type in privateGetSubmitPdu()
950 dos.writeByte(addr.ton); in createPdu()
DBearerData.java838 outStream.write(3, addr.ton); in encodeCallbackNumber()
1468 addr.ton = inStream.read(3); in decodeCallbackNumber()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddressTest.java57 assertEquals(CdmaSmsAddress.TON_INTERNATIONAL_OR_IP, cdmaAddress.ton); in testInternationalAddress()
68 assertEquals(CdmaSmsAddress.TON_NATIONAL_OR_EMAIL, cdmaAddress.ton); in testEmailAddress()
DCdmaSmsTest.java49 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN); in testCdmaSmsAddrParsing()
59 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN); in testCdmaSmsAddrParsing()
69 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN); in testCdmaSmsAddrParsing()
79 assertEquals(addr.ton, CdmaSmsAddress.TON_INTERNATIONAL_OR_IP); in testCdmaSmsAddrParsing()
95 assertEquals(addr.ton, CdmaSmsAddress.TON_NATIONAL_OR_EMAIL); in testCdmaSmsAddrParsing()
102 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN); in testCdmaSmsAddrParsing()
330 assertEquals(bearerData.callbackNumber.ton, CdmaSmsAddress.TON_UNKNOWN); in testMonolithicOne()
377 assertEquals(bearerData.callbackNumber.ton, CdmaSmsAddress.TON_UNKNOWN); in testMonolithicTwo()
614 assertEquals(CdmaSmsAddress.TON_INTERNATIONAL_OR_IP, bd1.callbackNumber.ton); in testCallbackNum()
626 assertEquals(CdmaSmsAddress.TON_UNKNOWN, bd1.callbackNumber.ton); in testCallbackNumDtmf()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessageConverter.java99 addr.ton = cdmaSmsMessage.address.numberType; in newCdmaSmsMessageFromRil()
DCdmaServiceCategoryProgramHandler.java174 dos.write(destAddr.ton); // number_type