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.java31 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
63 msg.teleserviceId = SmsEnvelope.TELESERVICE_NOT_SET; in createBroadcastParcel()
424 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT, in testCmasPresidentialAlert()
430 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlert()
436 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT, in testCmasSevereAlert()
442 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY, in testCmasAmberAlert()
448 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_TEST_MESSAGE, in testCmasTestMessage()
454 SmsMessage msg = createCmasSmsMessage(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlertType1Elements()
462 assertEquals(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlertType1Elements()
486 SmsMessage msg = createCmasSmsMessage(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasUnsupportedCharSet()
[all …]
DCdmaInboundSmsHandlerTest.java49 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
74 private SmsEnvelope mSmsEnvelope = new SmsEnvelope();
187 doReturn(SmsEnvelope.TELESERVICE_WMT).when(mCdmaSmsMessage).getTeleService(); in testNewSms()
221 doReturn(SmsEnvelope.TELESERVICE_WMT).when(mCdmaSmsMessage).getTeleService(); in testNewSmsFromBlockedNumber_noBroadcastsSent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java36 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
108 boolean isBroadcastType = (SmsEnvelope.MESSAGE_TYPE_BROADCAST == sms.getMessageType()); in dispatchMessageRadioSpecific()
134 case SmsEnvelope.TELESERVICE_VMN: in dispatchMessageRadioSpecific()
135 case SmsEnvelope.TELESERVICE_MWI: in dispatchMessageRadioSpecific()
140 case SmsEnvelope.TELESERVICE_WMT: in dispatchMessageRadioSpecific()
141 case SmsEnvelope.TELESERVICE_WEMT: in dispatchMessageRadioSpecific()
148 case SmsEnvelope.TELESERVICE_SCPT: in dispatchMessageRadioSpecific()
152 case SmsEnvelope.TELESERVICE_WAP: in dispatchMessageRadioSpecific()
169 if (SmsEnvelope.TELESERVICE_WAP == teleService) { in dispatchMessageRadioSpecific()
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()
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;
111 private SmsEnvelope mEnvelope;
115 public SmsMessage(SmsAddress addr, SmsEnvelope env) { in SmsMessage()
454 return SmsEnvelope.MESSAGE_TYPE_BROADCAST; in getMessageType()
456 return SmsEnvelope.MESSAGE_TYPE_POINT_TO_POINT; in getMessageType()
471 SmsEnvelope env = new SmsEnvelope(); in parsePdu()
539 SmsEnvelope env = new SmsEnvelope(); in parsePduFromEfRecord()
676 if (mEnvelope.teleService == SmsEnvelope.TELESERVICE_MWI) { in parseSms()
868 SmsEnvelope.TELESERVICE_WEMT : SmsEnvelope.TELESERVICE_WMT; in privateGetSubmitPdu()
870 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()