Home
last modified time | relevance | path

Searched refs:cmasInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java414 SmsCbCmasInfo cmasInfo = cbMessage.getCmasWarningInfo(); in doTestCmasBroadcast() local
415 assertEquals(messageClass, cmasInfo.getMessageClass()); 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()
471 SmsCbCmasInfo cmasInfo = cbMessage.getCmasWarningInfo(); in testCmasExtremeAlertType1Elements() local
472 assertEquals(SmsCbCmasInfo.CMAS_CLASS_EXTREME_THREAT, cmasInfo.getMessageClass()); in testCmasExtremeAlertType1Elements()
473 assertEquals(SmsCbCmasInfo.CMAS_CATEGORY_ENV, cmasInfo.getCategory()); in testCmasExtremeAlertType1Elements()
[all …]
/frameworks/base/telephony/java/android/telephony/
DSmsCbMessage.java600 SmsCbCmasInfo cmasInfo = getCmasWarningInfo(); in getContentValues() local
601 if (cmasInfo != null) { in getContentValues()
602 cv.put(CellBroadcasts.CMAS_MESSAGE_CLASS, cmasInfo.getMessageClass()); in getContentValues()
603 cv.put(CellBroadcasts.CMAS_CATEGORY, cmasInfo.getCategory()); in getContentValues()
604 cv.put(CellBroadcasts.CMAS_RESPONSE_TYPE, cmasInfo.getResponseType()); in getContentValues()
605 cv.put(CellBroadcasts.CMAS_SEVERITY, cmasInfo.getSeverity()); in getContentValues()
606 cv.put(CellBroadcasts.CMAS_URGENCY, cmasInfo.getUrgency()); in getContentValues()
607 cv.put(CellBroadcasts.CMAS_CERTAINTY, cmasInfo.getCertainty()); in getContentValues()
681 SmsCbCmasInfo cmasInfo = null; in createFromCursor() local
726 cmasInfo = new SmsCbCmasInfo(messageClass, cmasCategory, responseType, severity, in createFromCursor()
[all …]