Searched refs:CdmaSmsAddress (Results 1 – 9 of 9) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsAddressTest.java | 32 CdmaSmsAddress cdmaAddress = CdmaSmsAddress.parse(address); in testNumberAddress() 34 assertEquals(CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF, cdmaAddress.digitMode); in testNumberAddress() 35 assertEquals(CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK, cdmaAddress.numberMode); in testNumberAddress() 36 assertArrayEquals(CdmaSmsAddress.parseToDtmf(address), cdmaAddress.origBytes); in testNumberAddress() 42 CdmaSmsAddress cdmaAddress = CdmaSmsAddress.parse(address); in testNumberWithSugar() 44 assertEquals(CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF, cdmaAddress.digitMode); in testNumberWithSugar() 45 assertEquals(CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK, cdmaAddress.numberMode); in testNumberWithSugar() 46 assertArrayEquals(CdmaSmsAddress.parseToDtmf("3141592653"), cdmaAddress.origBytes); in testNumberWithSugar() 52 CdmaSmsAddress cdmaAddress = CdmaSmsAddress.parse(address); in testInternationalAddress() 54 assertEquals(CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR, cdmaAddress.digitMode); in testInternationalAddress() [all …]
|
D | CdmaSmsTest.java | 48 CdmaSmsAddress addr = CdmaSmsAddress.parse("6502531000"); in testCdmaSmsAddrParsing() 49 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN); in testCdmaSmsAddrParsing() 50 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF); in testCdmaSmsAddrParsing() 51 assertEquals(addr.numberMode, CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK); in testCdmaSmsAddrParsing() 58 addr = CdmaSmsAddress.parse("(650) 253-1000"); in testCdmaSmsAddrParsing() 59 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN); in testCdmaSmsAddrParsing() 60 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF); in testCdmaSmsAddrParsing() 61 assertEquals(addr.numberMode, CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK); in testCdmaSmsAddrParsing() 68 addr = CdmaSmsAddress.parse("650.253.1000"); in testCdmaSmsAddrParsing() 69 assertEquals(addr.ton, CdmaSmsAddress.TON_UNKNOWN); in testCdmaSmsAddrParsing() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CdmaSmsAddress.java | 26 public class CdmaSmsAddress extends SmsAddress { class 94 public CdmaSmsAddress(){ in CdmaSmsAddress() method in CdmaSmsAddress 197 public static CdmaSmsAddress parse(String address) { in parse() 198 CdmaSmsAddress addr = new CdmaSmsAddress(); in parse()
|
D | SmsMessage.java | 38 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress; 472 CdmaSmsAddress addr = new CdmaSmsAddress(); in parsePdu() 540 CdmaSmsAddress addr = new CdmaSmsAddress(); in parsePduFromEfRecord() 575 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in parsePduFromEfRecord() 579 if (addr.numberMode == CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK) in parsePduFromEfRecord() 588 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF) { in parsePduFromEfRecord() 596 } else if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in parsePduFromEfRecord() 597 if (addr.numberMode == CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK) { in parsePduFromEfRecord() 603 } else if (addr.numberMode == CdmaSmsAddress.NUMBER_MODE_DATA_NETWORK) { in parsePduFromEfRecord() 702 if (mOriginatingAddress.ton == CdmaSmsAddress.TON_INTERNATIONAL_OR_IP) { in parseSms() [all …]
|
D | SmsEnvelope.java | 85 public CdmaSmsAddress origAddress; 91 public CdmaSmsAddress destAddress;
|
D | BearerData.java | 339 public CdmaSmsAddress callbackNumber; 766 private static void encodeCdmaSmsAddress(CdmaSmsAddress addr) throws CodingException { in encodeCdmaSmsAddress() 767 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in encodeCdmaSmsAddress() 781 CdmaSmsAddress addr = bData.callbackNumber; in encodeCallbackNumber() 785 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in encodeCallbackNumber() 796 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in encodeCallbackNumber() 1290 CdmaSmsAddress addr = new CdmaSmsAddress(); in decodeIs91Cli() 1291 addr.digitMode = CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF; in decodeIs91Cli() 1396 private static void decodeSmsAddress(CdmaSmsAddress addr) throws CodingException { in decodeSmsAddress() 1397 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in decodeSmsAddress() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | SmsMessageConverter.java | 38 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress; 72 CdmaSmsAddress addr = new CdmaSmsAddress(); in newCdmaSmsMessageFromRil() 108 if (addressDigitMode == CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF) { in newCdmaSmsMessageFromRil()
|
D | CdmaServiceCategoryProgramHandler.java | 36 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress; 163 CdmaSmsAddress destAddr = CdmaSmsAddress.parse(
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 30 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress; 68 msg.address.digitMode = CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF; in createBroadcastParcel() 69 msg.address.numberMode = CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK; in createBroadcastParcel() 70 msg.address.numberType = CdmaSmsAddress.TON_UNKNOWN; in createBroadcastParcel() 71 msg.address.numberPlan = CdmaSmsAddress.NUMBERING_PLAN_ISDN_TELEPHONY; in createBroadcastParcel() 604 msg.address.digitMode = CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF; in createServiceCategoryProgramDataParcel() 605 msg.address.numberMode = CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK; in createServiceCategoryProgramDataParcel() 606 msg.address.numberType = CdmaSmsAddress.TON_UNKNOWN; in createServiceCategoryProgramDataParcel() 607 msg.address.numberPlan = CdmaSmsAddress.NUMBERING_PLAN_ISDN_TELEPHONY; in createServiceCategoryProgramDataParcel()
|