/system/bt/gd/packet/ |
D | bit_inserter.cc | 32 …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()
|
D | fragmenting_inserter.cc | 32 …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/ |
D | audio_route.c | 52 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/ |
D | real_device_policy_provider.cc | 111 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()
|
D | generic_variables.h | 192 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()
|
D | real_updater_provider.cc | 393 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/ |
D | unique_fd.h | 105 [[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/ |
D | fake_timerfd.cc | 56 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()
|
D | fake_timerfd.h | 29 int fake_timerfd_settime(int fd, int flags, const struct itimerspec* new_value, struct itimerspec* …
|
/system/tools/aidl/ |
D | aidl_checkapi.cpp | 158 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/ |
D | device.h | 72 …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/ |
D | healthd_mode_charger.cpp | 756 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/ |
D | omaha_request_action.h | 182 const base::Optional<std::string>& new_value);
|
D | omaha_request_action.cc | 1429 const Optional<string>& new_value) { in PersistCohortData() argument 1430 if (!new_value) in PersistCohortData() 1432 const string& value = new_value.value(); in PersistCohortData()
|
D | update_attempter_unittest.cc | 1124 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()
|