Home
last modified time | relevance | path

Searched refs:new_value (Results 1 – 20 of 20) sorted by relevance

/system/connectivity/shill/
Dproperty_store_unittest.cc193 bool new_value = true; in SetProperty() local
194 return store->SetBoolProperty(name, new_value, error); in SetProperty()
199 int16_t new_value = 1; in SetProperty() local
200 return store->SetInt16Property(name, new_value, error); in SetProperty()
205 int32_t new_value = 1; in SetProperty() local
206 return store->SetInt32Property(name, new_value, error); in SetProperty()
211 string new_value = "new value"; in SetProperty() local
212 return store->SetStringProperty(name, new_value, error); in SetProperty()
217 Stringmap new_value; in SetProperty() local
218 new_value["new key"] = "new value"; in SetProperty()
[all …]
Dfake_store.cc247 const string& group, const string& key, const T& new_value) { in WriteSetting() argument
250 group_name_to_settings_[group][key] = new_value; in WriteSetting()
257 group_settings[key] = new_value; in WriteSetting()
268 property_name_and_value->second = new_value; in WriteSetting()
Dproperty_observer.h39 typedef base::Callback<void(const T& new_value)> Callback;
Djson_store.cc671 const string& group, const string& key, const T& new_value) { in WriteSetting() argument
674 group_name_to_settings_[group][key] = new_value; in WriteSetting()
681 group_settings[key] = new_value; in WriteSetting()
692 property_name_and_value->second = new_value; in WriteSetting()
Dfake_store.h96 const std::string& group, const std::string& key, const T& new_value);
Djson_store.h109 const std::string& group, const std::string& key, const T& new_value);
/system/media/audio_route/
Daudio_route.c46 union ctl_values new_value; member
389 memcpy(ar->mixer_state[ctl_index].new_value.ptr, path->setting[i].value.ptr, in path_apply()
411 memcpy(ar->mixer_state[ctl_index].new_value.ptr, in path_reset()
527 ar->mixer_state[ctl_index].new_value.bytes[id] = value; in start_tag()
529 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag()
531 ar->mixer_state[ctl_index].new_value.integer[id] = value; in start_tag()
539 ar->mixer_state[ctl_index].new_value.bytes[i] = value; in start_tag()
541 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag()
543 ar->mixer_state[ctl_index].new_value.integer[i] = value; in start_tag()
597 ar->mixer_state[i].new_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
[all …]
/system/update_engine/update_manager/
Dreal_device_policy_provider.cc104 T new_value; in UpdateVariable() local
106 (policy_provider_->GetDevicePolicy().*getter_method)(&new_value)) { in UpdateVariable()
107 var->SetValue(new_value); in UpdateVariable()
117 T new_value; in UpdateVariable() local
119 (this->*getter_method)(&new_value)) { in UpdateVariable()
120 var->SetValue(new_value); in UpdateVariable()
Dgeneric_variables.h181 void SetValue(const T& new_value) { in SetValue() argument
182 bool should_notify = !(has_value_ && new_value == value_); in SetValue()
183 value_ = new_value; in SetValue()
Dreal_updater_provider.cc402 UpdateRequestStatus new_value = UpdateRequestStatus::kNone; in Reset() local
404 new_value = (is_interactive ? UpdateRequestStatus::kInteractive : in Reset()
406 if (update_request_status_ != new_value) { in Reset()
407 update_request_status_ = new_value; in Reset()
/system/extras/perfprofd/
Dconfigreader.cc174 void ConfigReader::overrideUnsignedEntry(const char *key, unsigned new_value) in overrideUnsignedEntry() argument
183 assert(new_value >= vals.minv && new_value <= vals.maxv); in overrideUnsignedEntry()
184 it->second = new_value; in overrideUnsignedEntry()
185 W_ALOGI("option %s overridden to %u", key, new_value); in overrideUnsignedEntry()
Dconfigreader.h49 void overrideUnsignedEntry(const char *key, unsigned new_value);
/system/connectivity/shill/net/
Dnetlink_attribute.cc382 bool NetlinkAttribute::SetRawValue(const ByteString new_value) { in SetRawValue() argument
472 bool NetlinkU8Attribute::SetU8Value(uint8_t new_value) { in SetU8Value() argument
473 value_ = new_value; in SetU8Value()
526 bool NetlinkU16Attribute::SetU16Value(uint16_t new_value) { in SetU16Value() argument
527 value_ = new_value; in SetU16Value()
580 bool NetlinkU32Attribute::SetU32Value(uint32_t new_value) { in SetU32Value() argument
581 value_ = new_value; in SetU32Value()
633 bool NetlinkU64Attribute::SetU64Value(uint64_t new_value) { in SetU64Value() argument
634 value_ = new_value; in SetU64Value()
677 bool NetlinkFlagAttribute::SetFlagValue(bool new_value) { in SetFlagValue() argument
[all …]
Dnetlink_attribute.h78 virtual bool SetU8Value(uint8_t new_value);
154 virtual bool SetU8Value(uint8_t new_value);
172 virtual bool SetU16Value(uint16_t new_value);
191 virtual bool SetU32Value(uint32_t new_value);
209 virtual bool SetU64Value(uint64_t new_value);
227 virtual bool SetFlagValue(bool new_value);
246 virtual bool SetStringValue(const std::string new_value);
/system/core/base/include/android-base/
Dunique_fd.h66 void reset(int new_value) { in reset() argument
70 value_ = new_value; in reset()
/system/update_engine/
Domaha_request_action.cc1372 const string& new_value) { in PersistCohortData() argument
1373 if (new_value.empty() && system_state_->prefs()->Exists(prefs_key)) { in PersistCohortData()
1376 } else if (!new_value.empty()) { in PersistCohortData()
1377 LOG(INFO) << "Storing new setting " << prefs_key << " as " << new_value; in PersistCohortData()
1378 return system_state_->prefs()->SetString(prefs_key, new_value); in PersistCohortData()
Dupdate_attempter_unittest.cc803 int64_t new_value; in DecrementUpdateCheckCountTestStart() local
804 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()
805 EXPECT_EQ(initial_value - 1, new_value); in DecrementUpdateCheckCountTestStart()
815 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()
816 EXPECT_EQ(initial_value, new_value); in DecrementUpdateCheckCountTestStart()
Domaha_request_action.h220 const std::string& new_value);
/system/weaved/buffet/
Dmanager.cc156 const std::string& new_value, in UpdateValue() argument
159 if (manager->*prop != new_value) { in UpdateValue()
160 manager->*prop = new_value; in UpdateValue()
/system/connectivity/shill/cellular/
Dcellular_unittest.cc593 void set_enabled_persistent(bool new_value) { in set_enabled_persistent() argument
594 device_->enabled_persistent_ = new_value; in set_enabled_persistent()