Searched refs:CdmaSmsAddress (Results 1 – 10 of 10) 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 | SmsEnvelope.java | 85 public CdmaSmsAddress origAddress; 91 public CdmaSmsAddress destAddress;
|
D | SmsMessage.java | 37 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress; 470 CdmaSmsAddress addr = new CdmaSmsAddress(); in parsePdu() 538 CdmaSmsAddress addr = new CdmaSmsAddress(); in parsePduFromEfRecord() 573 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in parsePduFromEfRecord() 577 if (addr.numberMode == CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK) in parsePduFromEfRecord() 586 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF) { in parsePduFromEfRecord() 594 } else if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in parsePduFromEfRecord() 595 if (addr.numberMode == CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK) { in parsePduFromEfRecord() 601 } else if (addr.numberMode == CdmaSmsAddress.NUMBER_MODE_DATA_NETWORK) { in parsePduFromEfRecord() 753 if (addr.ton == CdmaSmsAddress.TON_INTERNATIONAL_OR_IP) { in decodeSmsDisplayAddress() [all …]
|
D | BearerData.java | 339 public CdmaSmsAddress callbackNumber; 807 private static void encodeCdmaSmsAddress(CdmaSmsAddress addr) throws CodingException { in encodeCdmaSmsAddress() 808 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in encodeCdmaSmsAddress() 822 CdmaSmsAddress addr = bData.callbackNumber; in encodeCallbackNumber() 826 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in encodeCallbackNumber() 837 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in encodeCallbackNumber() 1334 CdmaSmsAddress addr = new CdmaSmsAddress(); in decodeIs91Cli() 1335 addr.digitMode = CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF; in decodeIs91Cli() 1440 private static void decodeSmsAddress(CdmaSmsAddress addr) throws CodingException { in decodeSmsAddress() 1441 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; 170 CdmaSmsAddress destAddr = CdmaSmsAddress.parse(
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 31 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress; 69 msg.address.digitMode = CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF; in createBroadcastParcel() 70 msg.address.numberMode = CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK; in createBroadcastParcel() 71 msg.address.numberType = CdmaSmsAddress.TON_UNKNOWN; in createBroadcastParcel() 72 msg.address.numberPlan = CdmaSmsAddress.NUMBERING_PLAN_ISDN_TELEPHONY; in createBroadcastParcel() 605 msg.address.digitMode = CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF; in createServiceCategoryProgramDataParcel() 606 msg.address.numberMode = CdmaSmsAddress.NUMBER_MODE_NOT_DATA_NETWORK; in createServiceCategoryProgramDataParcel() 607 msg.address.numberType = CdmaSmsAddress.TON_UNKNOWN; in createServiceCategoryProgramDataParcel() 608 msg.address.numberPlan = CdmaSmsAddress.NUMBERING_PLAN_ISDN_TELEPHONY; in createServiceCategoryProgramDataParcel()
|
/frameworks/base/config/ |
D | hiddenapi-greylist.txt | 1222 Lcom/android/internal/telephony/cdma/sms/CdmaSmsAddress;-><init>()V 1223 Lcom/android/internal/telephony/cdma/sms/CdmaSmsAddress;->digitMode:I 1224 Lcom/android/internal/telephony/cdma/sms/CdmaSmsAddress;->numberMode:I 1225 Lcom/android/internal/telephony/cdma/sms/CdmaSmsAddress;->numberOfDigits:I 1226 Lcom/android/internal/telephony/cdma/sms/CdmaSmsAddress;->numberPlan:I 1227 …internal/telephony/cdma/sms/CdmaSmsAddress;->parse(Ljava/lang/String;)Lcom/android/internal/teleph…
|