Home
last modified time | relevance | path

Searched refs:CellBroadcastSettings (Results 1 – 12 of 12) sorted by relevance

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigServiceTest.java148 setPreference(CellBroadcastSettings.KEY_ENABLE_EMERGENCY_ALERTS, true); in testEnablingChannelsDefault()
149 setPreference(CellBroadcastSettings.KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS, true); in testEnablingChannelsDefault()
150 setPreference(CellBroadcastSettings.KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS, true); in testEnablingChannelsDefault()
151 setPreference(CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, true); in testEnablingChannelsDefault()
242 setPreference(CellBroadcastSettings.KEY_ENABLE_EMERGENCY_ALERTS, true); in testEnablingPresidential()
263 setPreference(CellBroadcastSettings.KEY_ENABLE_EMERGENCY_ALERTS, false); in testEnablingPresidential()
284 setPreference(CellBroadcastSettings.KEY_ENABLE_EMERGENCY_ALERTS, true); in testEnablingPresidential()
313 setPreference(CellBroadcastSettings.KEY_ENABLE_EMERGENCY_ALERTS, true); in testEnablingExtreme()
314 setPreference(CellBroadcastSettings.KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS, true); in testEnablingExtreme()
335 setPreference(CellBroadcastSettings.KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS, false); in testEnablingExtreme()
[all …]
DCellBroadcastSettingsTest.java64 Intent intent = new Intent(mContext, CellBroadcastSettings.class); in createActivityIntent()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSearchIndexableProvider.java41 CellBroadcastSettings.class.getName(),
86 CellBroadcastSettings.KEY_CATEGORY_DEV_SETTINGS; in queryNonIndexableKeys()
94 CellBroadcastSettings.KEY_ENABLE_EMERGENCY_ALERTS; in queryNonIndexableKeys()
99 CellBroadcastSettings.KEY_ENABLE_ALERT_SPEECH; in queryNonIndexableKeys()
105 CellBroadcastSettings.KEY_ENABLE_ETWS_TEST_ALERTS; in queryNonIndexableKeys()
113 CellBroadcastSettings.KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS; in queryNonIndexableKeys()
118 CellBroadcastSettings.KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS; in queryNonIndexableKeys()
123 CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS; in queryNonIndexableKeys()
131 CellBroadcastSettings.KEY_ENABLE_AREA_UPDATE_INFO_ALERTS; in queryNonIndexableKeys()
138 CellBroadcastSettings.KEY_CATEGORY_DEV_SETTINGS; in queryNonIndexableKeys()
DCellBroadcastConfigService.java134 CellBroadcastSettings.KEY_ENABLE_EMERGENCY_ALERTS, true); in setCellBroadcastOnSub()
143 CellBroadcastSettings.KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS, true); in setCellBroadcastOnSub()
146 CellBroadcastSettings.KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS, true); in setCellBroadcastOnSub()
149 CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, true); in setCellBroadcastOnSub()
153 CellBroadcastSettings.isFeatureEnabled(this, in setCellBroadcastOnSub()
158 prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_ETWS_TEST_ALERTS, false); in setCellBroadcastOnSub()
162 prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_CMAS_TEST_ALERTS, false); in setCellBroadcastOnSub()
166 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_AREA_UPDATE_INFO_ALERTS, in setCellBroadcastOnSub()
DCellBroadcastAlertService.java382 prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_EMERGENCY_ALERTS, true); in isMessageEnabledByUser()
386 CellBroadcastSettings.isFeatureEnabled(this, in isMessageEnabledByUser()
391 && prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_AREA_UPDATE_INFO_ALERTS, in isMessageEnabledByUser()
398 .getBoolean(CellBroadcastSettings.KEY_ENABLE_ETWS_TEST_ALERTS, false); in isMessageEnabledByUser()
455 CellBroadcastSettings.KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS, true); in isMessageEnabledByUser()
460 CellBroadcastSettings.KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS, true); in isMessageEnabledByUser()
465 .getBoolean(CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, true); in isMessageEnabledByUser()
473 .getBoolean(CellBroadcastSettings.KEY_ENABLE_CMAS_TEST_ALERTS, in isMessageEnabledByUser()
526 prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_ALERT_VIBRATE, true)); in openEmergencyAlertNotification()
543 if (prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_ALERT_SPEECH, true)) { in openEmergencyAlertNotification()
DCellBroadcastReceiver.java136 CellBroadcastSettings.KEY_ALERT_REMINDER_INTERVAL, newIntervalDefault); in adjustReminderInterval()
187 CellBroadcastSettings.KEY_ENABLE_CMAS_EXTREME_THREAT_ALERTS, enable) in tryCdmaSetCategory()
193 CellBroadcastSettings.KEY_ENABLE_CMAS_SEVERE_THREAT_ALERTS, enable) in tryCdmaSetCategory()
199 CellBroadcastSettings.KEY_ENABLE_CMAS_AMBER_ALERTS, enable).apply(); in tryCdmaSetCategory()
204 CellBroadcastSettings.KEY_ENABLE_CMAS_TEST_ALERTS, enable).apply(); in tryCdmaSetCategory()
DCellBroadcastAlertReminder.java131 String prefStr = prefs.getString(CellBroadcastSettings.KEY_ALERT_REMINDER_INTERVAL, null); in queueAlertReminder()
158 prefs.getBoolean(CellBroadcastSettings.KEY_ENABLE_ALERT_VIBRATE, true)); in queueAlertReminder()
DCellBroadcastSettings.java44 public class CellBroadcastSettings extends Activity { class
232 boolean forceDisableEtwsCmasTest = CellBroadcastSettings.isFeatureEnabled(getContext(), in onCreatePreferences()
DCellBroadcastAlertDialog.java473 if (prefs.getBoolean(CellBroadcastSettings.KEY_SHOW_CMAS_OPT_OUT_DIALOG, true)) { in dismiss()
475 prefs.edit().putBoolean(CellBroadcastSettings.KEY_SHOW_CMAS_OPT_OUT_DIALOG, false) in dismiss()
DCellBroadcastOptOutActivity.java61 Intent intent = new Intent(activity, CellBroadcastSettings.class); in showOptOutDialog()
DCellBroadcastListActivity.java226 Intent intent = new Intent(getActivity(), CellBroadcastSettings.class); in onOptionsItemSelected()
DCellBroadcastAlertAudio.java305 .getBoolean(CellBroadcastSettings.KEY_USE_FULL_VOLUME, false); in onStartCommand()