Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsCbHeader.java20 import android.telephony.SmsCbCmasInfo;
131 private final SmsCbCmasInfo mCmasInfo;
223 mCmasInfo = new SmsCbCmasInfo(messageClass, SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, in SmsCbHeader()
224 SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN, severity, urgency, certainty); in SmsCbHeader()
268 public SmsCbCmasInfo getCmasInfo() { in getCmasInfo()
354 return SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT; in getCmasMessageClass()
360 return SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT; in getCmasMessageClass()
374 return SmsCbCmasInfo.CMAS_CLASS_SEVERE_THREAT; in getCmasMessageClass()
378 return SmsCbCmasInfo.CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY; in getCmasMessageClass()
382 return SmsCbCmasInfo.CMAS_CLASS_REQUIRED_MONTHLY_TEST; in getCmasMessageClass()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java20 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/base/telephony/java/android/telephony/
DSmsCbCmasInfo.java37 public final class SmsCbCmasInfo implements Parcelable { class
286 public SmsCbCmasInfo(@Class int messageClass, @Category int category, in SmsCbCmasInfo() method in SmsCbCmasInfo
298 SmsCbCmasInfo(Parcel in) { in SmsCbCmasInfo() method in SmsCbCmasInfo
391 public static final Parcelable.Creator<SmsCbCmasInfo> CREATOR =
392 new Parcelable.Creator<SmsCbCmasInfo>() {
394 public SmsCbCmasInfo createFromParcel(Parcel in) {
395 return new SmsCbCmasInfo(in);
399 public SmsCbCmasInfo[] newArray(int size) {
400 return new SmsCbCmasInfo[size];
DSmsCbMessage.java196 private final SmsCbCmasInfo mCmasWarningInfo;
223 @Nullable SmsCbCmasInfo cmasWarningInfo, int slotIndex, int subId) { in SmsCbMessage()
238 @Nullable SmsCbCmasInfo cmasWarningInfo, int maximumWaitTimeSec, in SmsCbMessage()
284 mCmasWarningInfo = new SmsCbCmasInfo(in); in SmsCbMessage()
515 public SmsCbCmasInfo getCmasWarningInfo() { in getCmasWarningInfo()
599 SmsCbCmasInfo cmasInfo = getCmasWarningInfo(); in getContentValues()
677 SmsCbCmasInfo cmasInfo = null; in createFromCursor()
687 cmasCategory = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN; in createFromCursor()
695 responseType = SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN; in createFromCursor()
703 severity = SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN; in createFromCursor()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java21 import android.telephony.SmsCbCmasInfo;
417 public SmsCbCmasInfo cmasWarningInfo;
1895 return SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT; in serviceCategoryToCmasMessageClass()
1898 return SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT; in serviceCategoryToCmasMessageClass()
1901 return SmsCbCmasInfo.CMAS_CLASS_SEVERE_THREAT; in serviceCategoryToCmasMessageClass()
1904 return SmsCbCmasInfo.CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY; in serviceCategoryToCmasMessageClass()
1907 return SmsCbCmasInfo.CMAS_CLASS_REQUIRED_MONTHLY_TEST; in serviceCategoryToCmasMessageClass()
1910 return SmsCbCmasInfo.CMAS_CLASS_UNKNOWN; in serviceCategoryToCmasMessageClass()
1964 int category = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN; in decodeCmasUserData()
1965 int responseType = SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN; in decodeCmasUserData()
[all …]
/frameworks/base/api/
Dsystem-lint-baseline.txt74 MissingNullability: android.telephony.SmsCbCmasInfo#toString():
76 MissingNullability: android.telephony.SmsCbCmasInfo#writeToParcel(android.os.Parcel, int) parameter…
Dsystem-current.txt8785 public final class SmsCbCmasInfo implements android.os.Parcelable {
8786 ctor public SmsCbCmasInfo(int, int, int, int, int, int);
8834 …NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbCmasInfo> CREATOR;
8869 …Nullable android.telephony.SmsCbEtwsInfo, @Nullable android.telephony.SmsCbCmasInfo, int, @Nullabl…
8872 method @Nullable public android.telephony.SmsCbCmasInfo getCmasWarningInfo();
/frameworks/base/telephony/api/
Dsystem-current.txt539 public final class SmsCbCmasInfo implements android.os.Parcelable {
540 ctor public SmsCbCmasInfo(int, int, int, int, int, int);
588 …NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbCmasInfo> CREATOR;
623 …Nullable android.telephony.SmsCbEtwsInfo, @Nullable android.telephony.SmsCbCmasInfo, int, @Nullabl…
626 method @Nullable public android.telephony.SmsCbCmasInfo getCmasWarningInfo();
/frameworks/base/non-updatable-api/
Dsystem-current.txt8683 public final class SmsCbCmasInfo implements android.os.Parcelable {
8684 ctor public SmsCbCmasInfo(int, int, int, int, int, int);
8732 …NonNull public static final android.os.Parcelable.Creator<android.telephony.SmsCbCmasInfo> CREATOR;
8767 …Nullable android.telephony.SmsCbEtwsInfo, @Nullable android.telephony.SmsCbCmasInfo, int, @Nullabl…
8770 method @Nullable public android.telephony.SmsCbCmasInfo getCmasWarningInfo();
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt66981 Landroid/telephony/CellBroadcastMessage;->getCmasWarningInfo()Landroid/telephony/SmsCbCmasInfo;
69255 Landroid/telephony/SmsCbCmasInfo;-><init>(Landroid/os/Parcel;)V
69256 Landroid/telephony/SmsCbCmasInfo;->mCategory:I
69257 Landroid/telephony/SmsCbCmasInfo;->mCertainty:I
69258 Landroid/telephony/SmsCbCmasInfo;->mMessageClass:I
69259 Landroid/telephony/SmsCbCmasInfo;->mResponseType:I
69260 Landroid/telephony/SmsCbCmasInfo;->mSeverity:I
69261 Landroid/telephony/SmsCbCmasInfo;->mUrgency:I
69272 Landroid/telephony/SmsCbMessage;->mCmasWarningInfo:Landroid/telephony/SmsCbCmasInfo;