Home
last modified time | relevance | path

Searched refs:alertType (Results 1 – 3 of 3) sorted by relevance

/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/
DCellBroadcastChannelTestConfig.java61 String alertType = getObjectString(object, CHANNEL_ALERT_TYPE); in CellBroadcastChannelTestConfig() local
63 if (!TextUtils.isEmpty(alertType) && alertType.equals("notification")) { in CellBroadcastChannelTestConfig()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java461 private void playAlertTone(AlertType alertType, int[] patternArray) { in playAlertTone() argument
465 log("playAlertTone: alertType=" + alertType + ", mEnableVibrate=" + mEnableVibrate in playAlertTone()
540 log("Locale=" + res.getConfiguration().getLocales() + ", alertType=" + alertType); in playAlertTone()
543 switch (alertType) { in playAlertTone()
578 (alertType == AlertType.INFO || alertType == AlertType.AREA) ? in playAlertTone()
DCellBroadcastAlertService.java678 AlertType alertType = AlertType.DEFAULT; in openEmergencyAlertNotification() local
680 alertType = AlertType.ETWS_DEFAULT; in openEmergencyAlertNotification()
688 alertType = AlertType.ETWS_EARTHQUAKE; in openEmergencyAlertNotification()
691 alertType = AlertType.ETWS_TSUNAMI; in openEmergencyAlertNotification()
694 alertType = AlertType.TEST; in openEmergencyAlertNotification()
697 alertType = AlertType.OTHER; in openEmergencyAlertNotification()
707 alertType = range.mAlertType; in openEmergencyAlertNotification()
714 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_TONE_TYPE, alertType); in openEmergencyAlertNotification()