Home
last modified time | relevance | path

Searched refs:pdu (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsMessageTest.java107 String pdu = "07916164260220F0040B914151245584F600006060605130308A04D4F29C0E"; in testCreateFromPdu() local
108 SmsMessage sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), in testCreateFromPdu()
113 assertEquals(TPLAYER_LENGTH_FOR_PDU, SmsMessage.getTPLayerLengthForPDU(pdu)); in testCreateFromPdu()
120 assertEquals(pdu, TelephonyUtils.toHexString(sms.getPdu())); in testCreateFromPdu()
140 pdu = "07912160130310F2040B915121927786F300036060924180008A0DA" in testCreateFromPdu()
142 sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), SmsMessage.FORMAT_3GPP); in testCreateFromPdu()
155 pdu = "07912160130300F4040B914151245584" in testCreateFromPdu()
157 sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), SmsMessage.FORMAT_3GPP); in testCreateFromPdu()
169 pdu = "07916164260220F0040B914151245584F600846060605130308A04D4F29C0E"; in testCreateFromPdu()
170 sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), SmsMessage.FORMAT_3GPP); in testCreateFromPdu()
[all …]
DMmsTest.java55 import com.google.android.mms.pdu.CharacterSets;
56 import com.google.android.mms.pdu.EncodedStringValue;
57 import com.google.android.mms.pdu.GenericPdu;
58 import com.google.android.mms.pdu.PduBody;
59 import com.google.android.mms.pdu.PduComposer;
60 import com.google.android.mms.pdu.PduHeaders;
61 import com.google.android.mms.pdu.PduParser;
62 import com.google.android.mms.pdu.PduPart;
63 import com.google.android.mms.pdu.SendConf;
64 import com.google.android.mms.pdu.SendReq;
[all …]
DFakeCarrierMessagingService.java32 public void onReceiveTextSms(MessagePdu pdu, String format, int destPort, in onReceiveTextSms() argument
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsSmsImpl.java49 byte[] pdu) { in sendSms() argument
53 sentPdu = pdu; in sendSms()
91 public void acknowledgeSms(int token, int messageRef, int result, byte[] pdu) { in acknowledgeSms() argument
96 ackPdu = pdu; in acknowledgeSms()
110 public void receiveSmsWaitForAcknowledgeMemoryFull(int token, String format, byte[] pdu) { in receiveSmsWaitForAcknowledgeMemoryFull() argument
111 onSmsReceived(token, format, pdu); in receiveSmsWaitForAcknowledgeMemoryFull()
126 public void receiveSmsWaitForAcknowledge(int token, String format, byte[] pdu) { in receiveSmsWaitForAcknowledge() argument
127 onSmsReceived(token, format, pdu); in receiveSmsWaitForAcknowledge()
142 public void sendReportWaitForAcknowledgeSmsReportR(int token, String format, byte[] pdu) { in sendReportWaitForAcknowledgeSmsReportR() argument
143 onSmsStatusReportReceived(token, format, pdu); in sendReportWaitForAcknowledgeSmsReportR()
[all …]
/cts/tests/location/location_privileged/src/android/location/cts/privileged/
DSmsNiSuplTest.java80 private void sendSmsWithPdu(String pdu) { in sendSmsWithPdu() argument
85 HexDump.hexStringToByteArray(pdu), SmsMessage.FORMAT_3GPP, null), in sendSmsWithPdu()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplRrlpMessagesGenerator.java249 PDU pdu = new PDU(); in generateAssistanceDataAckMessage() local
250 pdu.setReferenceNumberToNewInstance(); in generateAssistanceDataAckMessage()
251 pdu.getReferenceNumber().setInteger(BigInteger.ONE); in generateAssistanceDataAckMessage()
252 pdu.setComponentToNewInstance(); in generateAssistanceDataAckMessage()
253 pdu.getComponent().setAssistanceDataAckToNewInstance(); in generateAssistanceDataAckMessage()
257 payloadBuilder.appendAll(pdu.encodePerUnaligned()); in generateAssistanceDataAckMessage()
DSuplRrlpController.java150 PDU pdu = PDU.fromPerUnaligned(rrlpPayload.getValue()); in buildNavMessageProto() local
151 IonosphericModel ionoModel = pdu.getComponent().getAssistanceData().getGps_AssistData() in buildNavMessageProto()
153 NavigationModel navModel = pdu.getComponent().getAssistanceData().getGps_AssistData() in buildNavMessageProto()
155 int gpsWeek = pdu.getComponent().getAssistanceData().getGps_AssistData().getControlHeader() in buildNavMessageProto()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DIRadioMessagingImpl.java459 public void newSms(byte[] pdu) { in newSms() argument
464 mRadioMessagingIndication.newSms(RadioIndicationType.UNSOLICITED, pdu); in newSms()
488 public void newSmsStatusReport(byte[] pdu) { in newSmsStatusReport() argument
493 mRadioMessagingIndication.newSmsStatusReport(RadioIndicationType.UNSOLICITED, pdu); in newSmsStatusReport()
DMockModemManager.java1153 String pdu = "07916164260220F0040B914151245584F600006060605130308A04D4F29C0E"; in triggerIncomingSms() local
1155 .newSms(TelephonyUtils.hexStringToByteArray(pdu)); in triggerIncomingSms()
/cts/tests/tests/provider/src/android/provider/cts/
DSmsBackupRestoreTest.java20 import com.google.android.mms.pdu.CharacterSets;