HomeSort by relevance Sort by last modified time
    Searched refs:SmsCbCmasInfo (Results 1 - 11 of 11) sorted by null

  /packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
SendCdmaCmasMessages.java 23 import android.telephony.SmsCbCmasInfo;
67 PRES_ALERT, SmsCbCmasInfo.CMAS_CATEGORY_GEO,
68 SmsCbCmasInfo.CMAS_RESPONSE_TYPE_PREPARE, SmsCbCmasInfo.CMAS_SEVERITY_EXTREME,
69 SmsCbCmasInfo.CMAS_URGENCY_EXPECTED, SmsCbCmasInfo.CMAS_CERTAINTY_LIKELY);
79 EXTREME_ALERT, SmsCbCmasInfo.CMAS_CATEGORY_MET,
80 SmsCbCmasInfo.CMAS_RESPONSE_TYPE_PREPARE, SmsCbCmasInfo.CMAS_SEVERITY_EXTREME,
81 SmsCbCmasInfo.CMAS_URGENCY_EXPECTED, SmsCbCmasInfo.CMAS_CERTAINTY_OBSERVED)
    [all...]
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastResources.java 22 import android.telephony.SmsCbCmasInfo;
61 SmsCbCmasInfo cmasInfo) {
110 private static int getCmasCategoryResId(SmsCbCmasInfo cmasInfo) {
112 case SmsCbCmasInfo.CMAS_CATEGORY_GEO:
115 case SmsCbCmasInfo.CMAS_CATEGORY_MET:
118 case SmsCbCmasInfo.CMAS_CATEGORY_SAFETY:
121 case SmsCbCmasInfo.CMAS_CATEGORY_SECURITY:
124 case SmsCbCmasInfo.CMAS_CATEGORY_RESCUE:
127 case SmsCbCmasInfo.CMAS_CATEGORY_FIRE:
130 case SmsCbCmasInfo.CMAS_CATEGORY_HEALTH
    [all...]
CellBroadcastDatabaseHelper.java 26 import android.telephony.SmsCbCmasInfo;
193 int cmasMessageClass = SmsCbCmasInfo.CMAS_CLASS_UNKNOWN;
194 int cmasSeverity = SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN;
195 int cmasUrgency = SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN;
196 int cmasCertainty = SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN;
219 cmasMessageClass = SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT;
223 cmasMessageClass = SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT;
224 cmasSeverity = SmsCbCmasInfo.CMAS_SEVERITY_EXTREME;
225 cmasUrgency = SmsCbCmasInfo.CMAS_URGENCY_IMMEDIATE;
226 cmasCertainty = SmsCbCmasInfo.CMAS_CERTAINTY_OBSERVED
    [all...]
CellBroadcastAlertService.java 33 import android.telephony.SmsCbCmasInfo;
231 case SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT:
235 case SmsCbCmasInfo.CMAS_CLASS_SEVERE_THREAT:
239 case SmsCbCmasInfo.CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY:
243 case SmsCbCmasInfo.CMAS_CLASS_REQUIRED_MONTHLY_TEST:
244 case SmsCbCmasInfo.CMAS_CLASS_CMAS_EXERCISE:
245 case SmsCbCmasInfo.CMAS_CLASS_OPERATOR_DEFINED_USE:
CellBroadcastAlertFullScreen.java 33 import android.telephony.SmsCbCmasInfo;
417 SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
SmsCbHeader.java 19 import android.telephony.SmsCbCmasInfo;
91 private final SmsCbCmasInfo mCmasInfo;
177 mCmasInfo = new SmsCbCmasInfo(messageClass, SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN,
178 SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN, severity, urgency, certainty);
213 SmsCbCmasInfo getCmasInfo() {
293 * @return the CMAS message class as defined in {@link SmsCbCmasInfo}
298 return SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT;
304 return SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT;
310 return SmsCbCmasInfo.CMAS_CLASS_SEVERE_THREAT
    [all...]
  /frameworks/opt/telephony/src/java/android/telephony/
SmsCbCmasInfo.java 29 public class SmsCbCmasInfo implements Parcelable {
196 /** Create a new SmsCbCmasInfo object with the specified values. */
197 public SmsCbCmasInfo(int messageClass, int category, int responseType, int severity,
207 /** Create a new SmsCbCmasInfo object from a Parcel. */
208 SmsCbCmasInfo(Parcel in) {
283 return "SmsCbCmasInfo{messageClass=" + mMessageClass + ", category=" + mCategory
298 public static final Parcelable.Creator<SmsCbCmasInfo>
299 CREATOR = new Parcelable.Creator<SmsCbCmasInfo>() {
301 public SmsCbCmasInfo createFromParcel(Parcel in) {
302 return new SmsCbCmasInfo(in)
    [all...]
CellBroadcastMessage.java 154 SmsCbCmasInfo cmasInfo;
166 cmasCategory = SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN;
175 responseType = SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN;
184 severity = SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN;
193 urgency = SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN;
202 certainty = SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN;
205 cmasInfo = new SmsCbCmasInfo(messageClass, cmasCategory, responseType, severity,
254 SmsCbCmasInfo cmasInfo = mSmsCbMessage.getCmasWarningInfo();
299 public SmsCbCmasInfo getCmasWarningInfo() {
348 * @return the CMAS message class, e.g. {@link SmsCbCmasInfo#CMAS_CLASS_SEVERE_THREAT}, o
    [all...]
SmsCbMessage.java 139 private final SmsCbCmasInfo mCmasWarningInfo;
146 int priority, SmsCbEtwsInfo etwsWarningInfo, SmsCbCmasInfo cmasWarningInfo) {
180 mCmasWarningInfo = new SmsCbCmasInfo(in);
334 * @return an SmsCbCmasInfo object, or null if this is not a CMAS warning notification
336 public SmsCbCmasInfo getCmasWarningInfo() {
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
CdmaSmsCbTest.java 20 import android.telephony.SmsCbCmasInfo;
153 if (cmasCategory != SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN) {
410 SmsCbCmasInfo cmasInfo = cbMessage.getCmasWarningInfo();
412 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, cmasInfo.getCategory());
413 assertEquals(SmsCbCmasInfo.CMAS_RESPONSE_TYPE_UNKNOWN, cmasInfo.getResponseType());
414 assertEquals(SmsCbCmasInfo.CMAS_SEVERITY_UNKNOWN, cmasInfo.getSeverity());
415 assertEquals(SmsCbCmasInfo.CMAS_URGENCY_UNKNOWN, cmasInfo.getUrgency());
416 assertEquals(SmsCbCmasInfo.CMAS_CERTAINTY_UNKNOWN, cmasInfo.getCertainty());
421 SmsCbCmasInfo.CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT, PRES_ALERT);
426 SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT, EXTREME_ALERT)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
BearerData.java 20 import android.telephony.SmsCbCmasInfo;
344 public SmsCbCmasInfo cmasWarningInfo;
    [all...]

Completed in 545 milliseconds