Home
last modified time | relevance | path

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

/system/bt/gd/packet/
Dbit_inserter.cc32 …uint16_t new_value = static_cast<uint8_t>(saved_bits_) | (static_cast<uint16_t>(byte) << num_saved… in insert_bits() local
34 ByteInserter::insert_byte(static_cast<uint8_t>(new_value)); in insert_bits()
36 new_value = new_value >> 8; in insert_bits()
40 saved_bits_ = static_cast<uint8_t>(new_value) & mask; in insert_bits()
Dfragmenting_inserter.cc32 …uint16_t new_value = static_cast<uint8_t>(saved_bits_) | (static_cast<uint16_t>(byte) << num_saved… in insert_bits() local
34 uint8_t new_byte = static_cast<uint8_t>(new_value); in insert_bits()
42 new_value = new_value >> 8; in insert_bits()
46 saved_bits_ = static_cast<uint8_t>(new_value) & mask; in insert_bits()
/system/media/audio_route/
Daudio_route.c52 union ctl_values new_value; member
412 memcpy(ar->mixer_state[ctl_index].new_value.ptr, path->setting[i].value.ptr, in path_apply()
435 memcpy(ar->mixer_state[ctl_index].new_value.ptr, in path_reset()
593 ar->mixer_state[ctl_index].new_value.bytes[id] = value_array[0]; in start_tag()
595 ar->mixer_state[ctl_index].new_value.integer[id] = value_array[0]; in start_tag()
597 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag()
599 ar->mixer_state[ctl_index].new_value.integer[id] = value; in start_tag()
607 ar->mixer_state[ctl_index].new_value.bytes[i] = value_array[i]; in start_tag()
609 ar->mixer_state[ctl_index].new_value.integer[i] = value_array[i]; in start_tag()
611 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag()
[all …]
/system/update_engine/update_manager/
Dreal_device_policy_provider.cc111 T new_value; in UpdateVariable() local
113 (policy_provider_->GetDevicePolicy().*getter)(&new_value)) { in UpdateVariable()
114 var->SetValue(new_value); in UpdateVariable()
124 T new_value; in UpdateVariable() local
126 (this->*getter)(&new_value)) { in UpdateVariable()
127 var->SetValue(new_value); in UpdateVariable()
Dgeneric_variables.h192 void SetValue(const T& new_value) { in SetValue() argument
193 bool should_notify = !(has_value_ && new_value == value_); in SetValue()
194 value_ = new_value; in SetValue()
Dreal_updater_provider.cc393 UpdateRequestStatus new_value = UpdateRequestStatus::kNone; in Reset() local
395 new_value = (interactive ? UpdateRequestStatus::kInteractive in Reset()
397 if (update_request_status_ != new_value) { in Reset()
398 update_request_status_ = new_value; in Reset()
/system/libbase/include/android-base/
Dunique_fd.h105 [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); }
135 void reset(int new_value, void* previous_tag) { in reset() argument
142 fd_ = new_value; in reset()
143 if (new_value != -1) { in reset()
144 tag(new_value, previous_tag, this); in reset()
/system/bt/gd/os/fuzz/
Dfake_timerfd.cc56 int fake_timerfd_settime(int fd, int flags, const struct itimerspec* new_value, struct itimerspec* … in fake_timerfd_settime() argument
63 uint64_t trigger_delta_ms = timespec_to_ms(&new_value->it_value); in fake_timerfd_settime()
69 uint64_t period_ms = timespec_to_ms(&new_value->it_value); in fake_timerfd_settime()
Dfake_timerfd.h29 int fake_timerfd_settime(int fd, int flags, const struct itimerspec* new_value, struct itimerspec* …
/system/tools/aidl/
Daidl_checkapi.cpp158 const string new_value = new_c->GetValue().Literal(); in are_compatible_constants() local
159 if (old_value != new_value) { in are_compatible_constants()
161 << old_c->GetName() << " from " << old_value << " to " << new_value << "."; in are_compatible_constants()
281 string new_value = new_field->GetDefaultValue() ? new_field->GetDefaultValue()->Literal() : ""; in are_compatible_parcelables() local
283 if (old_value == new_value) { in are_compatible_parcelables()
288 if (old_value == "" && enum_decl && EvaluatesToZero(*enum_decl, new_value)) { in are_compatible_parcelables()
292 AIDL_ERROR(new_field) << "Changed default value: " << old_value << " to " << new_value << "."; in are_compatible_parcelables()
394 const string new_value = new_enum_map[name]->Literal(); in are_compatible_enums() local
395 if (old_value != new_value) { in are_compatible_enums()
397 << " from " << old_value << " to " << new_value << "."; in are_compatible_enums()
/system/bt/gd/storage/
Ddevice.h72 …auto new_value = [this](const RETURN_TYPE& value) -> RETURN_TYPE FUNC(value); …
73 …nEntry::Set<RETURN_TYPE>(MutationEntry::PropertyType::NORMAL, section_, PROPERTY_KEY, new_value); \
/system/core/healthd/
Dhealthd_mode_charger.cpp756 std::string new_value = root + *value + ".png"; in set_resource_root_for() local
759 if (!backup_root.empty() && access(new_value.data(), F_OK) == -1) { in set_resource_root_for()
760 new_value = backup_root + *value + ".png"; in set_resource_root_for()
763 *value = new_value; in set_resource_root_for()
/system/update_engine/cros/
Domaha_request_action.h182 const base::Optional<std::string>& new_value);
Domaha_request_action.cc1429 const Optional<string>& new_value) { in PersistCohortData() argument
1430 if (!new_value) in PersistCohortData()
1432 const string& value = new_value.value(); in PersistCohortData()
Dupdate_attempter_unittest.cc1124 int64_t new_value; in DecrementUpdateCheckCountTestStart() local
1125 EXPECT_TRUE(fake_prefs->GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()
1126 EXPECT_EQ(initial_value - 1, new_value); in DecrementUpdateCheckCountTestStart()
1136 EXPECT_TRUE(fake_prefs->GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()
1137 EXPECT_EQ(initial_value, new_value); in DecrementUpdateCheckCountTestStart()