Home
last modified time | relevance | path

Searched refs:SmsCbCmasInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSmsCbHeader.java19 import android.telephony.SmsCbCmasInfo;
91 private final SmsCbCmasInfo mCmasInfo;
178 mCmasInfo = new SmsCbCmasInfo(messageClass, SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, in SmsCbHeader()
179 SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN, severity, urgency, certainty); in SmsCbHeader()
214 SmsCbCmasInfo getCmasInfo() { in getCmasInfo()
300 return SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT; in getCmasMessageClass()
306 return SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT; in getCmasMessageClass()
320 return SmsCbCmasInfo.CMAS_CLASS_SEVERE_THREAT; in getCmasMessageClass()
324 return SmsCbCmasInfo.CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY; in getCmasMessageClass()
328 return SmsCbCmasInfo.CMAS_CLASS_REQUIRED_MONTHLY_TEST; in getCmasMessageClass()
[all …]
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbCmasInfo.java29 public class SmsCbCmasInfo implements Parcelable { class
197 public SmsCbCmasInfo(int messageClass, int category, int responseType, int severity, in SmsCbCmasInfo() method in SmsCbCmasInfo
208 SmsCbCmasInfo(Parcel in) { in SmsCbCmasInfo() method in SmsCbCmasInfo
298 public static final Parcelable.Creator<SmsCbCmasInfo>
299 CREATOR = new Parcelable.Creator<SmsCbCmasInfo>() {
301 public SmsCbCmasInfo createFromParcel(Parcel in) {
302 return new SmsCbCmasInfo(in);
306 public SmsCbCmasInfo[] newArray(int size) {
307 return new SmsCbCmasInfo[size];
DCellBroadcastMessage.java181 SmsCbCmasInfo cmasInfo; in createFromCursor()
193 cmasCategory = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN; in createFromCursor()
202 responseType = SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN; in createFromCursor()
211 severity = SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN; in createFromCursor()
220 urgency = SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN; in createFromCursor()
229 certainty = SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN; in createFromCursor()
232 cmasInfo = new SmsCbCmasInfo(messageClass, cmasCategory, responseType, severity, in createFromCursor()
281 SmsCbCmasInfo cmasInfo = mSmsCbMessage.getCmasWarningInfo(); in getContentValues()
326 public SmsCbCmasInfo getCmasWarningInfo() { in getCmasWarningInfo()
382 return SmsCbCmasInfo.CMAS_CLASS_UNKNOWN; in getCmasMessageClass()
DSmsCbMessage.java139 private final SmsCbCmasInfo mCmasWarningInfo;
146 int priority, SmsCbEtwsInfo etwsWarningInfo, SmsCbCmasInfo cmasWarningInfo) { in SmsCbMessage()
180 mCmasWarningInfo = new SmsCbCmasInfo(in); in SmsCbMessage()
336 public SmsCbCmasInfo getCmasWarningInfo() { in getCmasWarningInfo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java20 import android.telephony.SmsCbCmasInfo;
156 if (cmasCategory != SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN) { in createCmasSmsMessage()
417 SmsCbCmasInfo cmasInfo = cbMessage.getCmasWarningInfo(); in doTestCmasBroadcast()
419 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in doTestCmasBroadcast()
420 assertEquals(SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN, cmasInfo.getResponseType()); in doTestCmasBroadcast()
421 assertEquals(SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN, cmasInfo.getSeverity()); in doTestCmasBroadcast()
422 assertEquals(SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN, cmasInfo.getUrgency()); in doTestCmasBroadcast()
423 assertEquals(SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN, cmasInfo.getCertainty()); in doTestCmasBroadcast()
429 SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT, PRES_ALERT); in testCmasPresidentialAlert()
435 SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT, EXTREME_ALERT); in testCmasExtremeAlert()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DBearerData.java20 import android.telephony.SmsCbCmasInfo;
345 public SmsCbCmasInfo cmasWarningInfo;
1730 return SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT; in serviceCategoryToCmasMessageClass()
1733 return SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT; in serviceCategoryToCmasMessageClass()
1736 return SmsCbCmasInfo.CMAS_CLASS_SEVERE_THREAT; in serviceCategoryToCmasMessageClass()
1739 return SmsCbCmasInfo.CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY; in serviceCategoryToCmasMessageClass()
1742 return SmsCbCmasInfo.CMAS_CLASS_REQUIRED_MONTHLY_TEST; in serviceCategoryToCmasMessageClass()
1745 return SmsCbCmasInfo.CMAS_CLASS_UNKNOWN; in serviceCategoryToCmasMessageClass()
1798 int category = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN; in decodeCmasUserData()
1799 int responseType = SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN; in decodeCmasUserData()
[all …]