• Home
  • Raw
  • Download

Lines Matching refs:setting

38 bool getIndexForSetting(Setting setting, size_t *index) {  in getIndexForSetting()  argument
39 if (setting < Setting::SETTING_MAX) { in getIndexForSetting()
40 *index = static_cast<size_t>(setting); in getIndexForSetting()
47 void setSettingState(Setting setting, SettingState state) { in setSettingState() argument
49 if (!getIndexForSetting(setting, &index)) { in setSettingState()
50 LOGE("Unknown setting %" PRIu8, static_cast<uint8_t>(setting)); in setSettingState()
56 const char *getSettingStateString(Setting setting) { in getSettingStateString() argument
73 void postSettingChange(Setting setting, SettingState state) { in postSettingChange() argument
75 static_cast<uint8_t>(setting), static_cast<uint8_t>(state)); in postSettingChange()
77 Setting setting; in postSettingChange() member
80 SettingChange(Setting setting, SettingState state) { in postSettingChange()
81 this->setting = setting; in postSettingChange()
86 NestedDataPtr<SettingChange> nestedPtr(SettingChange(setting, state)); in postSettingChange()
89 NestedDataPtr<SettingChange> setting; in postSettingChange() local
90 setting.dataPtr = data; in postSettingChange()
91 setSettingState(setting.data.setting, setting.data.state); in postSettingChange()
94 setting.data.setting, setting.data.state); in postSettingChange()
102 SettingState getSettingState(Setting setting) { in getSettingState() argument
104 if (getIndexForSetting(setting, &index)) { in getSettingState()
108 LOGE("Unknown setting %" PRIu8, static_cast<uint8_t>(setting)); in getSettingState()