Searched refs:SmsCbCmasInfo (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SmsCbHeader.java | 19 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/base/telephony/java/com/android/internal/telephony/ |
D | SmsCbCmasInfo.java | 29 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];
|
D | SmsCbMessage.java | 139 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/ |
D | CdmaSmsCbTest.java | 22 import android.telephony.SmsCbCmasInfo; 152 if (cmasCategory != SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN) { in createCmasSmsMessage() 413 SmsCbCmasInfo cmasInfo = cbMessage.getCmasWarningInfo(); in doTestCmasBroadcast() 415 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in doTestCmasBroadcast() 416 assertEquals(SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN, cmasInfo.getResponseType()); in doTestCmasBroadcast() 417 assertEquals(SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN, cmasInfo.getSeverity()); in doTestCmasBroadcast() 418 assertEquals(SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN, cmasInfo.getUrgency()); in doTestCmasBroadcast() 419 assertEquals(SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN, cmasInfo.getCertainty()); in doTestCmasBroadcast() 425 SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT, PRES_ALERT); in testCmasPresidentialAlert() 431 SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT, EXTREME_ALERT); in testCmasExtremeAlert() [all …]
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | CellBroadcastMessage.java | 181 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()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | BearerData.java | 20 import android.telephony.SmsCbCmasInfo; 345 public SmsCbCmasInfo cmasWarningInfo; 1755 return SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT; in serviceCategoryToCmasMessageClass() 1758 return SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT; in serviceCategoryToCmasMessageClass() 1761 return SmsCbCmasInfo.CMAS_CLASS_SEVERE_THREAT; in serviceCategoryToCmasMessageClass() 1764 return SmsCbCmasInfo.CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY; in serviceCategoryToCmasMessageClass() 1767 return SmsCbCmasInfo.CMAS_CLASS_REQUIRED_MONTHLY_TEST; in serviceCategoryToCmasMessageClass() 1770 return SmsCbCmasInfo.CMAS_CLASS_UNKNOWN; in serviceCategoryToCmasMessageClass() 1823 int category = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN; in decodeCmasUserData() 1824 int responseType = SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN; in decodeCmasUserData() [all …]
|