Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddressTest.java34 assertEquals(CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF, cdmaAddress.digitMode); in testNumberAddress()
44 assertEquals(CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF, cdmaAddress.digitMode); in testNumberWithSugar()
54 assertEquals(CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR, cdmaAddress.digitMode); in testInternationalAddress()
66 assertEquals(CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR, cdmaAddress.digitMode); in testEmailAddress()
DCdmaSmsTest.java53 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF); in testCdmaSmsAddrParsing()
63 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF); in testCdmaSmsAddrParsing()
73 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF); in testCdmaSmsAddrParsing()
83 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR); in testCdmaSmsAddrParsing()
99 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR); in testCdmaSmsAddrParsing()
106 assertEquals(addr.digitMode, CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR); in testCdmaSmsAddrParsing()
330 assertEquals(bearerData.callbackNumber.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF); in testMonolithicOne()
377 assertEquals(bearerData.callbackNumber.digitMode, CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF); in testMonolithicTwo()
616 assertEquals(CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR, bd1.callbackNumber.digitMode); in testCallbackNum()
628 assertEquals(CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF, bd1.callbackNumber.digitMode); in testCallbackNumDtmf()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddress.java37 public int digitMode; field in CdmaSmsAddress
106 builder.append("{ digitMode=" + digitMode); in toString()
207 addr.digitMode = DIGIT_MODE_4BIT_DTMF; in parse()
216 addr.digitMode = DIGIT_MODE_8BIT_CHAR; in parse()
DBearerData.java893 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in encodeCdmaSmsAddress()
911 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in encodeCallbackNumber()
921 outStream.write(1, addr.digitMode); in encodeCallbackNumber()
922 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in encodeCallbackNumber()
1432 addr.digitMode = CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF; in decodeIs91Cli()
1538 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in decodeSmsAddress()
1561 addr.digitMode = inStream.read(1); in decodeCallbackNumber()
1564 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in decodeCallbackNumber()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java474 addr.digitMode = dis.readByte(); in parsePdu()
564 addr.digitMode = addrBis.read(1); in parsePduFromEfRecord()
567 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in parsePduFromEfRecord()
580 if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF) { in parsePduFromEfRecord()
588 } else if (addr.digitMode == CdmaSmsAddress.DIGIT_MODE_8BIT_CHAR) { in parsePduFromEfRecord()
1018 dos.write(destAddr.digitMode);
1084 dos.write(addr.digitMode);
1124 dos.writeByte(addr.digitMode);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java70 msg.address.digitMode = CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF; in createBroadcastParcel()
606 msg.address.digitMode = CdmaSmsAddress.DIGIT_MODE_4BIT_DTMF; in createServiceCategoryProgramDataParcel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java117 dos.write(destAddr.digitMode); in CdmaInboundSmsHandler()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java653 msg.address.digitMode = dis.read(); // address digit mode in convertToHalCdmaSmsMessage()
698 msg.address.digitMode = dis.read(); // address digit mode in convertToHalCdmaSmsMessageAidl()
762 addressDigitMode = cdmaSmsMessage.address.digitMode; in convertHalCdmaSmsMessage()
763 addr.digitMode = (byte) (0xFF & addressDigitMode); in convertHalCdmaSmsMessage()
842 int addressDigitMode = msg.address.digitMode; in convertHalCdmaSmsMessage()
843 addr.digitMode = (byte) (0xFF & addressDigitMode); in convertHalCdmaSmsMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java963 msg.address.digitMode = dis.read(); // address digit mode in constructCdmaSendSmsRilRequest()