Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastConfigServiceTest.java259 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in testEnablingChannelsDefault()
332 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in testEnablingPresidential()
348 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, false); in testEnablingPresidential()
352 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in testEnablingPresidential()
363 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in testEnablingExtreme()
420 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in testEnablingSevere()
476 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in testEnablingAmber()
532 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in testEnablingETWS()
544 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, false); in testEnablingETWS()
556 setPreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in testEnablingETWS()
[all …]
DCellBroadcastAlertServiceTest.java221 enablePreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE); in testHandleCellBroadcastIntent()
249 enablePreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE); in testHandleCellBroadcastIntentDomesticRoaming()
277 enablePreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE); in testHandleCellBroadcastIntentInternationalRoaming()
305 enablePreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE); in testHandleCellBroadcastIntentNonRoaming()
332 enablePreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE); in testHandleCellBroadcastIntentNonMatchedScope()
373 enablePreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE); in testShowNewAlertChildAbductionWithDefaultLanguage()
398 enablePreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE); in testShowNewAlertChildAbduction()
446 CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in testShouldDisplayMessageForSubUsers()
513 enablePreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE); in testShouldDisplayMessage()
635 enablePreference(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE); in testShouldDisplayMessageWithMasterToggleState()
[all …]
DCellBroadcastBootupConfigTest.java148 CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, in testConfiguration()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java81 public static final String KEY_ENABLE_ALERTS_MASTER_TOGGLE = "enable_alerts_master_toggle"; field in CellBroadcastSettings
273 e.remove(KEY_ENABLE_ALERTS_MASTER_TOGGLE); in resetAllPreferences()
356 findPreference(KEY_ENABLE_ALERTS_MASTER_TOGGLE); in initPreferences()
1033 case KEY_ENABLE_ALERTS_MASTER_TOGGLE: in getResourcesIdForDefaultPrefValue()
DCellBroadcastReceiver.java580 sp.edit().putBoolean(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, in initializeSharedPreference()
DCellBroadcastConfigService.java699 CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, true); in isMasterToggleEnabled()
DCellBroadcastAlertService.java538 .getBoolean(CellBroadcastSettings.KEY_ENABLE_ALERTS_MASTER_TOGGLE, in isChannelEnabled()