Searched refs:alertType (Results 1 – 2 of 2) sorted by relevance
401 private void playAlertTone(AlertType alertType, int[] patternArray) { in playAlertTone() argument405 log("playAlertTone: alertType=" + alertType + ", mEnableVibrate=" + mEnableVibrate in playAlertTone()427 attrBuilder.setUsage(alertType == AlertType.INFO in playAlertTone()476 log("Locale=" + res.getConfiguration().getLocales() + ", alertType=" + alertType); in playAlertTone()479 switch (alertType) { in playAlertTone()621 private AudioAttributes getAlertAudioAttributes(AlertType alertType) { in getAlertAudioAttributes() argument625 builder.setUsage((alertType == AlertType.INFO in getAlertAudioAttributes()640 private void setAlertVolume(AlertType alertType) { in setAlertVolume() argument651 setAlarmStreamVolumeToFull(alertType); in setAlertVolume()674 private void setAlarmStreamVolumeToFull(AlertType alertType) { in setAlarmStreamVolumeToFull() argument[all …]
522 AlertType alertType = AlertType.DEFAULT; in openEmergencyAlertNotification() local524 alertType = AlertType.ETWS_DEFAULT; in openEmergencyAlertNotification()532 alertType = AlertType.ETWS_EARTHQUAKE; in openEmergencyAlertNotification()535 alertType = AlertType.ETWS_TSUNAMI; in openEmergencyAlertNotification()538 alertType = AlertType.TEST; in openEmergencyAlertNotification()541 alertType = AlertType.OTHER; in openEmergencyAlertNotification()551 alertType = range.mAlertType; in openEmergencyAlertNotification()558 audioIntent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_TONE_TYPE, alertType); in openEmergencyAlertNotification()