Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DMmsTest.java41 import com.google.android.mms.pdu.CharacterSets;
42 import com.google.android.mms.pdu.EncodedStringValue;
43 import com.google.android.mms.pdu.GenericPdu;
44 import com.google.android.mms.pdu.PduBody;
45 import com.google.android.mms.pdu.PduComposer;
46 import com.google.android.mms.pdu.PduHeaders;
47 import com.google.android.mms.pdu.PduParser;
48 import com.google.android.mms.pdu.PduPart;
49 import com.google.android.mms.pdu.SendConf;
50 import com.google.android.mms.pdu.SendReq;
[all …]
DSmsMessageTest.java104 String pdu = "07916164260220F0040B914151245584F600006060605130308A04D4F29C0E"; in testCreateFromPdu() local
105 SmsMessage sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), in testCreateFromPdu()
110 assertEquals(TPLAYER_LENGTH_FOR_PDU, SmsMessage.getTPLayerLengthForPDU(pdu)); in testCreateFromPdu()
117 assertEquals(pdu, TelephonyUtils.toHexString(sms.getPdu())); in testCreateFromPdu()
137 pdu = "07912160130310F2040B915121927786F300036060924180008A0DA" in testCreateFromPdu()
139 sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), SmsMessage.FORMAT_3GPP); in testCreateFromPdu()
152 pdu = "07912160130300F4040B914151245584" in testCreateFromPdu()
154 sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), SmsMessage.FORMAT_3GPP); in testCreateFromPdu()
189 String pdu = "07912160130310F20404D0110041006060627171118A0120"; in testCPHSVoiceMail() local
190 SmsMessage sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), in testCPHSVoiceMail()
[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.java46 byte[] pdu) { in sendSms() argument
50 sentPdu = pdu; in sendSms()
87 public void receiveSmsWaitForAcknowledge(int token, String format, byte[] pdu) { in receiveSmsWaitForAcknowledge() argument
88 onSmsReceived(token, format, pdu); in receiveSmsWaitForAcknowledge()
102 public void sendReportWaitForAcknowledgeSmsReportR(int token, String format, byte[] pdu) { in sendReportWaitForAcknowledgeSmsReportR() argument
103 onSmsStatusReportReceived(token, format, pdu); in sendReportWaitForAcknowledgeSmsReportR()
118 byte[] pdu) { in sendReportWaitForAcknowledgeSmsReportPQ() argument
119 onSmsStatusReportReceived(mToken, messageRef, format, pdu); in sendReportWaitForAcknowledgeSmsReportPQ()
/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/provider/src/android/provider/cts/
DSmsBackupRestoreTest.java20 import com.google.android.mms.pdu.CharacterSets;