Home
last modified time | relevance | path

Searched refs:SmsEnvelope (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java33 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
66 msg.teleserviceId = SmsEnvelope.TELESERVICE_NOT_SET; in createBroadcastParcel()
427 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT, in testCmasPresidentialAlert()
433 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlert()
439 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT, in testCmasSevereAlert()
445 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY, in testCmasAmberAlert()
451 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_TEST_MESSAGE, in testCmasTestMessage()
457 SmsMessage msg = createCmasSmsMessage(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlertType1Elements()
465 assertEquals(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlertType1Elements()
487 SmsMessage msg = createCmasSmsMessage(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasUnsupportedCharSet()
[all …]
DCdmaInboundSmsHandlerTest.java36 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
72 private SmsEnvelope mSmsEnvelope = new SmsEnvelope();
184 doReturn(SmsEnvelope.TELESERVICE_WMT).when(mCdmaSmsMessage).getTeleService(); in testNewSms()
218 doReturn(SmsEnvelope.TELESERVICE_WMT).when(mCdmaSmsMessage).getTeleService(); in testNewSmsFromBlockedNumber_noBroadcastsSent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessageConverter.java40 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
71 SmsEnvelope env = new SmsEnvelope(); in newCdmaSmsMessageFromRil()
83 env.messageType = SmsEnvelope.MESSAGE_TYPE_BROADCAST; in newCdmaSmsMessageFromRil()
86 if (SmsEnvelope.TELESERVICE_NOT_SET == env.teleService) { in newCdmaSmsMessageFromRil()
88 env.messageType = SmsEnvelope.MESSAGE_TYPE_ACKNOWLEDGE; in newCdmaSmsMessageFromRil()
90 env.messageType = SmsEnvelope.MESSAGE_TYPE_POINT_TO_POINT; in newCdmaSmsMessageFromRil()
DCdmaInboundSmsHandler.java38 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
110 boolean isBroadcastType = (SmsEnvelope.MESSAGE_TYPE_BROADCAST == sms.getMessageType()); in dispatchMessageRadioSpecific()
136 case SmsEnvelope.TELESERVICE_VMN: in dispatchMessageRadioSpecific()
137 case SmsEnvelope.TELESERVICE_MWI: in dispatchMessageRadioSpecific()
142 case SmsEnvelope.TELESERVICE_WMT: in dispatchMessageRadioSpecific()
143 case SmsEnvelope.TELESERVICE_WEMT: in dispatchMessageRadioSpecific()
150 case SmsEnvelope.TELESERVICE_SCPT: in dispatchMessageRadioSpecific()
154 case SmsEnvelope.TELESERVICE_WAP: in dispatchMessageRadioSpecific()
171 if (SmsEnvelope.TELESERVICE_WAP == teleService) { in dispatchMessageRadioSpecific()
DCdmaServiceCategoryProgramHandler.java37 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
160 dos.writeInt(SmsEnvelope.TELESERVICE_SCPT);
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java40 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
102 private SmsEnvelope mEnvelope;
106 public SmsMessage(SmsAddress addr, SmsEnvelope env) { in SmsMessage()
409 return SmsEnvelope.MESSAGE_TYPE_BROADCAST; in getMessageType()
411 return SmsEnvelope.MESSAGE_TYPE_POINT_TO_POINT; in getMessageType()
426 SmsEnvelope env = new SmsEnvelope(); in parsePdu()
490 SmsEnvelope env = new SmsEnvelope(); in parsePduFromEfRecord()
627 if (mEnvelope.teleService == SmsEnvelope.TELESERVICE_MWI) { in parseSms()
806 SmsEnvelope.TELESERVICE_WEMT : SmsEnvelope.TELESERVICE_WMT; in privateGetSubmitPdu()
808 SmsEnvelope envelope = new SmsEnvelope(); in privateGetSubmitPdu()
[all …]
DSmsEnvelope.java22 public final class SmsEnvelope { class
125 public SmsEnvelope() { in SmsEnvelope() method in SmsEnvelope
DBearerData.java1754 case SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT: in serviceCategoryToCmasMessageClass()
1757 case SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT: in serviceCategoryToCmasMessageClass()
1760 case SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT: in serviceCategoryToCmasMessageClass()
1763 case SmsEnvelope.SERVICE_CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY: in serviceCategoryToCmasMessageClass()
1766 case SmsEnvelope.SERVICE_CATEGORY_CMAS_TEST_MESSAGE: in serviceCategoryToCmasMessageClass()
1898 return category >= SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT in isCmasAlertCategory()
1899 && category <= SmsEnvelope.SERVICE_CATEGORY_CMAS_LAST_RESERVED_VALUE; in isCmasAlertCategory()