Home
last modified time | relevance | path

Searched refs:sms (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsMessageTest.java108 SmsMessage sms = SmsMessage.createFromPdu(hexStringToByteArray(pdu), in testCreateFromPdu() local
110 assertEquals(SCA1, sms.getServiceCenterAddress()); in testCreateFromPdu()
111 assertEquals(OA1, sms.getOriginatingAddress()); in testCreateFromPdu()
112 assertEquals(MESSAGE_BODY1, sms.getMessageBody()); in testCreateFromPdu()
114 int[] result = SmsMessage.calculateLength(sms.getMessageBody(), true); in testCreateFromPdu()
117 assertEquals(sms.getMessageBody().length(), result[1]); in testCreateFromPdu()
118 assertRemaining(sms.getMessageBody().length(), result[2], SmsMessage.MAX_USER_DATA_SEPTETS); in testCreateFromPdu()
120 assertEquals(pdu, TelephonyUtils.toHexString(sms.getPdu())); in testCreateFromPdu()
122 assertEquals(NOT_CREATE_FROM_SIM, sms.getIndexOnSim()); in testCreateFromPdu()
123 assertEquals(NOT_CREATE_FROM_ICC, sms.getIndexOnIcc()); in testCreateFromPdu()
[all …]
DMockVisualVoicemailService.java44 public void onSmsReceived(VisualVoicemailTask task, VisualVoicemailSms sms) { in onSmsReceived() argument
46 sSmsFuture.complete(sms); in onSmsReceived()
DCdmaSmsCbProgramDataTest.java27 import com.android.internal.telephony.cdma.sms.BearerData;
DVisualVoicemailServiceTest.java484 VisualVoicemailSms sms; in getSmsFromText() local
486 sms = future.get(EVENT_RECEIVED_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in getSmsFromText()
492 return sms; in getSmsFromText()
520 VisualVoicemailSms sms; in getSmsFromData() local
522 sms = future.get(EVENT_RECEIVED_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in getSmsFromData()
527 return sms; in getSmsFromData()
/cts/hostsidetests/appbinding/app/src/com/android/cts/appbinding/app/sms/
DMySendToActivity.java16 package com.android.cts.appbinding.app.sms;
DMySmsReceiver.java16 package com.android.cts.appbinding.app.sms;
DMyRespondService.java16 package com.android.cts.appbinding.app.sms;
DMyMmsReceiver.java16 package com.android.cts.appbinding.app.sms;
/cts/hostsidetests/devicepolicy/app/SimpleSmsApp/src/android/telephony/cts/sms/
DHeadlessSmsSendService.java17 package android.telephony.cts.sms;
DMmsReceiver.java17 package android.telephony.cts.sms;
DSmsReceiver.java17 package android.telephony.cts.sms;
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DIRadioMessagingImpl.java210 public void sendCdmaSms(int serial, android.hardware.radio.messaging.CdmaSmsMessage sms) { in sendCdmaSms() argument
223 int serial, android.hardware.radio.messaging.CdmaSmsMessage sms) { in sendCdmaSmsExpectMore() argument
250 android.hardware.radio.messaging.SendSmsResult sms = new SendSmsResult(); in sendSms() local
251 sms.messageRef = 0; in sendSms()
252 sms.ackPDU = "ack"; in sendSms()
253 sms.errorCode = 0; in sendSms()
256 mRadioMessagingResponse.sendSmsResponse(rsp, sms); in sendSms()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
DCtsVisualVoicemailService.java54 public void onSmsReceived(VisualVoicemailTask task, VisualVoicemailSms sms) { in onSmsReceived() argument
/cts/tests/tests/telephony/TestSmsApp/src/android/telephony/cts/sms/
DMainActivity.java17 package android.telephony.cts.sms;