Lines Matching refs:Setting
31 constexpr size_t kNumSettings = static_cast<size_t>(Setting::SETTING_MAX);
42 bool getIndexForSetting(Setting setting, size_t *index) { in getIndexForSetting()
43 if (setting < Setting::SETTING_MAX) { in getIndexForSetting()
51 void setSettingState(Setting setting, SettingState state) { in setSettingState()
60 const char *getSettingStateString(Setting setting) { in getSettingStateString()
75 void sendSettingChangedNotification(Setting setting, SettingState state) { in sendSettingChangedNotification()
92 Setting setting = NestedDataPtr<Setting>(data); in settingChangedCallback()
115 void postSettingChange(Setting setting, SettingState state) { in postSettingChange()
120 SystemCallbackType::SettingChangeEvent, NestedDataPtr<Setting>(setting), in postSettingChange()
124 SettingState getSettingState(Setting setting) { in getSettingState()
136 if (setting < static_cast<uint8_t>(Setting::SETTING_MAX)) { in getSettingStateAsInt8()
137 auto settingEnum = static_cast<Setting>(setting); in getSettingStateAsInt8()
145 debugDump.print("\n Location %s", getSettingStateString(Setting::LOCATION)); in logSettingStateToBuffer()
147 getSettingStateString(Setting::WIFI_AVAILABLE)); in logSettingStateToBuffer()
149 getSettingStateString(Setting::AIRPLANE_MODE)); in logSettingStateToBuffer()
151 getSettingStateString(Setting::MICROPHONE)); in logSettingStateToBuffer()