Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java30 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
62 p.writeInt(SmsEnvelope.TELESERVICE_NOT_SET); in createBroadcastParcel()
428 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT, in testCmasPresidentialAlert()
434 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlert()
440 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT, in testCmasSevereAlert()
446 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY, in testCmasAmberAlert()
452 doTestCmasBroadcast(SmsEnvelope.SERVICE_CATEGORY_CMAS_TEST_MESSAGE, in testCmasTestMessage()
458 SmsMessage msg = createCmasSmsMessage(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlertType1Elements()
466 assertEquals(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlertType1Elements()
487 SmsMessage msg = createCmasSmsMessage(SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testCmasUnsupportedCharSet()
[all …]
DCdmaInboundSmsHandlerTest.java34 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
69 private SmsEnvelope mSmsEnvelope = new SmsEnvelope();
165 doReturn(SmsEnvelope.TELESERVICE_WMT).when(mCdmaSmsMessage).getTeleService(); in testNewSms()
199 doReturn(SmsEnvelope.TELESERVICE_WMT).when(mCdmaSmsMessage).getTeleService(); in testNewSmsFromBlockedNumber_noBroadcastsSent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
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()
DSmsMessage.java39 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
101 private SmsEnvelope mEnvelope;
133 SmsEnvelope env = new SmsEnvelope(); in newFromParcel()
145 env.messageType = SmsEnvelope.MESSAGE_TYPE_BROADCAST; in newFromParcel()
148 if (SmsEnvelope.TELESERVICE_NOT_SET == env.teleService) { in newFromParcel()
150 env.messageType = SmsEnvelope.MESSAGE_TYPE_ACKNOWLEDGE; in newFromParcel()
152 env.messageType = SmsEnvelope.MESSAGE_TYPE_POINT_TO_POINT; in newFromParcel()
501 return SmsEnvelope.MESSAGE_TYPE_BROADCAST; in getMessageType()
503 return SmsEnvelope.MESSAGE_TYPE_POINT_TO_POINT; in getMessageType()
518 SmsEnvelope env = new SmsEnvelope(); in parsePdu()
[all …]
DCdmaServiceCategoryProgramHandler.java38 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
159 dos.writeInt(SmsEnvelope.TELESERVICE_SCPT);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DSmsEnvelope.java22 public final class SmsEnvelope { class
125 public SmsEnvelope() { in SmsEnvelope() method in SmsEnvelope
DBearerData.java1729 case SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT: in serviceCategoryToCmasMessageClass()
1732 case SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THREAT: in serviceCategoryToCmasMessageClass()
1735 case SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THREAT: in serviceCategoryToCmasMessageClass()
1738 case SmsEnvelope.SERVICE_CATEGORY_CMAS_CHILD_ABDUCTION_EMERGENCY: in serviceCategoryToCmasMessageClass()
1741 case SmsEnvelope.SERVICE_CATEGORY_CMAS_TEST_MESSAGE: in serviceCategoryToCmasMessageClass()
1873 return category >= SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT in isCmasAlertCategory()
1874 && category <= SmsEnvelope.SERVICE_CATEGORY_CMAS_LAST_RESERVED_VALUE; in isCmasAlertCategory()