Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dreal_device_policy_provider.cc107 T new_value; in UpdateVariable() local
109 (policy_provider_->GetDevicePolicy().*getter_method)(&new_value)) { in UpdateVariable()
110 var->SetValue(new_value); in UpdateVariable()
120 T new_value; in UpdateVariable() local
122 (this->*getter_method)(&new_value)) { in UpdateVariable()
123 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/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()
412 memcpy(ar->mixer_state[ctl_index].new_value.ptr, in path_reset()
532 ar->mixer_state[ctl_index].new_value.bytes[id] = value; in start_tag()
534 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag()
536 ar->mixer_state[ctl_index].new_value.integer[id] = value; in start_tag()
544 ar->mixer_state[ctl_index].new_value.bytes[i] = value; in start_tag()
546 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag()
548 ar->mixer_state[ctl_index].new_value.integer[i] = value; in start_tag()
602 ar->mixer_state[i].new_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
[all …]
/system/connectivity/wifilogd/
Dcommand_processor.cpp48 TimestampHeader& set_since_boot_awake_only(Os::Timestamp new_value) { in set_since_boot_awake_only() argument
49 since_boot_awake_only = new_value; in set_since_boot_awake_only()
53 TimestampHeader& set_since_boot_with_sleep(Os::Timestamp new_value) { in set_since_boot_with_sleep() argument
54 since_boot_with_sleep = new_value; in set_since_boot_with_sleep()
58 TimestampHeader& set_since_epoch(Os::Timestamp new_value) { in set_since_epoch() argument
59 since_epoch = new_value; in set_since_epoch()
/system/extras/perfprofd/
Dconfigreader.cc175 void ConfigReader::overrideUnsignedEntry(const char *key, unsigned new_value) in overrideUnsignedEntry() argument
184 assert(new_value >= vals.minv && new_value <= vals.maxv); in overrideUnsignedEntry()
185 it->second = new_value; in overrideUnsignedEntry()
186 W_ALOGI("option %s overridden to %u", key, new_value); in overrideUnsignedEntry()
Dconfigreader.h49 void overrideUnsignedEntry(const char *key, unsigned new_value);
/system/core/base/include/android-base/
Dunique_fd.h66 void reset(int new_value = -1) {
70 value_ = new_value;
/system/bt/tools/mcap_tool/
Dmcap_tool.cc522 struct itimerspec new_value; in set_wake_alarm() local
523 new_value.it_value.tv_sec = delay_millis / 1000; in set_wake_alarm()
524 new_value.it_value.tv_nsec = (delay_millis % 1000) * 1000 * 1000; in set_wake_alarm()
525 new_value.it_interval.tv_sec = 0; in set_wake_alarm()
526 new_value.it_interval.tv_nsec = 0; in set_wake_alarm()
527 timer_settime(timer, 0, &new_value, nullptr); in set_wake_alarm()
/system/update_engine/
Dupdate_attempter_unittest.cc790 int64_t new_value; in DecrementUpdateCheckCountTestStart() local
791 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()
792 EXPECT_EQ(initial_value - 1, new_value); in DecrementUpdateCheckCountTestStart()
802 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()
803 EXPECT_EQ(initial_value, new_value); in DecrementUpdateCheckCountTestStart()
Domaha_request_action.h221 const std::string& new_value);
Domaha_request_action.cc1517 const string& new_value) { in PersistCohortData() argument
1518 if (new_value.empty() && system_state_->prefs()->Exists(prefs_key)) { in PersistCohortData()
1521 } else if (!new_value.empty()) { in PersistCohortData()
1522 LOG(INFO) << "Storing new setting " << prefs_key << " as " << new_value; in PersistCohortData()
1523 return system_state_->prefs()->SetString(prefs_key, new_value); in PersistCohortData()
/system/tpm/tpm_manager/common/
Dtpm_manager.proto68 // E.g. new_value = HASH(old_value + input)