Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/
DSatelliteWarningDialogActivity.kt34 private var warningType = TYPE_IS_UNKNOWN variable in com.android.settings.network.SatelliteWarningDialogActivity
37 warningType = intent.getIntExtra(EXTRA_TYPE_OF_SATELLITE_WARNING_DIALOG, TYPE_IS_UNKNOWN) in onCreate()
38 if (warningType == TYPE_IS_UNKNOWN) { in onCreate()
60 getTypeString(warningType) in Content()
66 getTypeString(warningType) in Content()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastResourcesTest.java251 final int[] warningType = {SmsCbEtwsInfo.ETWS_WARNING_TYPE_EARTHQUAKE, in testGetDialogPictogramResource() local
256 for (int i = 0; i < warningType.length; i++) { in testGetDialogPictogramResource()
258 new SmsCbEtwsInfo(warningType[i], false, false, false, null), in testGetDialogPictogramResource()
320 final int[] warningType = {SmsCbEtwsInfo.ETWS_WARNING_TYPE_EARTHQUAKE, in testGetDialogTitleResourceForExistEtwsWarningInfo() local
326 for (int i = 0; i < warningType.length; i++) { in testGetDialogTitleResourceForExistEtwsWarningInfo()
328 new SmsCbEtwsInfo(warningType[i], false, false, false, null), in testGetDialogTitleResourceForExistEtwsWarningInfo()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsCbHeader.java159 int warningType = (pdu[4] & 0xfe) >>> 1; in SmsCbHeader() local
167 mEtwsInfo = new SmsCbEtwsInfo(warningType, emergencyUserAlert, activatePopup, in SmsCbHeader()
222 int warningType = getEtwsWarningType(); in SmsCbHeader() local
223 mEtwsInfo = new SmsCbEtwsInfo(warningType, emergencyUserAlert, activatePopup, in SmsCbHeader()
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/
DCellBroadcastUiTest.java198 public void receiveBroadcastMessage(String channelName, String warningType, in receiveBroadcastMessage() argument
210 String etwsWarningType = TextUtils.isEmpty(warningType) ? "00" : warningType; in receiveBroadcastMessage()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastCursorAdapter.java120 int warningType = cursor.getInt(etwsWarningTypeColumn); in createFromCursor() local
121 etwsInfo = new SmsCbEtwsInfo(warningType, false, false, false, null); in createFromCursor()
DCellBroadcastAlertService.java683 int warningType = message.getEtwsWarningInfo().getWarningType(); in openEmergencyAlertNotification() local
685 switch (warningType) { in openEmergencyAlertNotification()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java242 final int warningType = intent.getIntExtra(EXTRA_SIM_COMBINATION_WARNING_TYPE, in sendSimCombinationWarningIfNeeded() local
248 if (warningType == EXTRA_SIM_COMBINATION_WARNING_TYPE_DUAL_CDMA) { in sendSimCombinationWarningIfNeeded()