Home
last modified time | relevance | path

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

/frameworks/base/telephony/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/base/telephony/java/com/android/internal/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];
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.java21 import android.telephony.SmsCbCmasInfo;
153 if (cmasCategory != SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN) { in createCmasSmsMessage()
414 SmsCbCmasInfo cmasInfo = cbMessage.getCmasWarningInfo(); in doTestCmasBroadcast()
416 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory()); in doTestCmasBroadcast()
417 assertEquals(SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN, cmasInfo.getResponseType()); in doTestCmasBroadcast()
418 assertEquals(SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN, cmasInfo.getSeverity()); in doTestCmasBroadcast()
419 assertEquals(SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN, cmasInfo.getUrgency()); in doTestCmasBroadcast()
420 assertEquals(SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN, cmasInfo.getCertainty()); in doTestCmasBroadcast()
426 SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT, PRES_ALERT); in testCmasPresidentialAlert()
432 SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT, EXTREME_ALERT); in testCmasExtremeAlert()
[all …]
/frameworks/opt/telephony/src/java/android/telephony/
DCellBroadcastMessage.java184 SmsCbCmasInfo cmasInfo; in createFromCursor()
196 cmasCategory = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN; in createFromCursor()
205 responseType = SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN; in createFromCursor()
214 severity = SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN; in createFromCursor()
223 urgency = SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN; in createFromCursor()
232 certainty = SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN; in createFromCursor()
235 cmasInfo = new SmsCbCmasInfo(messageClass, cmasCategory, responseType, severity, in createFromCursor()
285 SmsCbCmasInfo cmasInfo = mSmsCbMessage.getCmasWarningInfo(); in getContentValues()
336 public SmsCbCmasInfo getCmasWarningInfo() { in getCmasWarningInfo()
396 return SmsCbCmasInfo.CMAS_CLASS_UNKNOWN; in getCmasMessageClass()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DBearerData.java20 import android.telephony.SmsCbCmasInfo;
345 public SmsCbCmasInfo cmasWarningInfo;
1799 return SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT; in serviceCategoryToCmasMessageClass()
1802 return SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT; in serviceCategoryToCmasMessageClass()
1805 return SmsCbCmasInfo.CMAS_CLASS_SEVERE_THREAT; in serviceCategoryToCmasMessageClass()
1808 return SmsCbCmasInfo.CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY; in serviceCategoryToCmasMessageClass()
1811 return SmsCbCmasInfo.CMAS_CLASS_REQUIRED_MONTHLY_TEST; in serviceCategoryToCmasMessageClass()
1814 return SmsCbCmasInfo.CMAS_CLASS_UNKNOWN; in serviceCategoryToCmasMessageClass()
1867 int category = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN; in decodeCmasUserData()
1868 int responseType = SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN; in decodeCmasUserData()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist.txt597 Landroid/telephony/SmsCbCmasInfo;->getCategory()I
598 Landroid/telephony/SmsCbCmasInfo;->getCertainty()I
599 Landroid/telephony/SmsCbCmasInfo;->getMessageClass()I
600 Landroid/telephony/SmsCbCmasInfo;->getResponseType()I
601 Landroid/telephony/SmsCbCmasInfo;->getSeverity()I
602 Landroid/telephony/SmsCbCmasInfo;->getUrgency()I
610 Landroid/telephony/SmsCbMessage;->getCmasWarningInfo()Landroid/telephony/SmsCbCmasInfo;