/system/bt/gd/packet/ |
D | bit_inserter.h | 38 uint16_t new_value = saved_bits_ | (static_cast<uint16_t>(byte) << num_saved_bits_); in insert_bits() local 40 uint8_t new_byte = static_cast<uint8_t>(new_value); in insert_bits() 43 new_value = new_value >> 8; in insert_bits() 47 saved_bits_ = static_cast<uint8_t>(new_value) & mask; in insert_bits()
|
/system/media/audio_route/ |
D | audio_route.c | 46 union ctl_values new_value; member 396 memcpy(ar->mixer_state[ctl_index].new_value.ptr, path->setting[i].value.ptr, in path_apply() 419 memcpy(ar->mixer_state[ctl_index].new_value.ptr, in path_reset() 541 ar->mixer_state[ctl_index].new_value.bytes[id] = value; in start_tag() 543 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag() 545 ar->mixer_state[ctl_index].new_value.integer[id] = value; in start_tag() 553 ar->mixer_state[ctl_index].new_value.bytes[i] = value; in start_tag() 555 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag() 557 ar->mixer_state[ctl_index].new_value.integer[i] = value; in start_tag() 613 ar->mixer_state[i].new_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state() [all …]
|
/system/update_engine/update_manager/ |
D | real_device_policy_provider.cc | 109 T new_value; in UpdateVariable() local 111 (policy_provider_->GetDevicePolicy().*getter_method)(&new_value)) { in UpdateVariable() 112 var->SetValue(new_value); in UpdateVariable() 122 T new_value; in UpdateVariable() local 124 (this->*getter_method)(&new_value)) { in UpdateVariable() 125 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 | 400 UpdateRequestStatus new_value = UpdateRequestStatus::kNone; in Reset() local 402 new_value = (interactive ? UpdateRequestStatus::kInteractive in Reset() 404 if (update_request_status_ != new_value) { in Reset() 405 update_request_status_ = new_value; in Reset()
|
/system/core/base/include/android-base/ |
D | unique_fd.h | 103 void reset(int new_value = -1) { reset(new_value, nullptr); } 119 void reset(int new_value, void* previous_tag) { in reset() argument 126 fd_ = new_value; in reset() 127 if (new_value != -1) { in reset() 128 tag(new_value, previous_tag, this); in reset()
|
/system/connectivity/wifilogd/ |
D | command_processor.cpp | 48 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/tools/aidl/ |
D | aidl_apicheck.cpp | 132 const string new_value = new_c->ValueString(AidlConstantValueDecorator); in are_compatible_interfaces() local 133 if (old_value != new_value) { in are_compatible_interfaces() 135 << old_c->GetName() << " from " << old_value << " to " << new_value << "."; in are_compatible_interfaces() 169 const string new_value = new_field->ValueString(AidlConstantValueDecorator); in are_compatible_parcelables() local 170 if (old_value != new_value) { in are_compatible_parcelables() 171 AIDL_ERROR(newer) << "Changed default value: " << old_value << " to " << new_value << "."; in are_compatible_parcelables()
|
/system/iorap/tests/src/binder/ |
D | app_launch_event_test.cc | 186 T new_value; in ValueParcelRoundTrip() local 188 CHECK_EQ(new_value.readFromParcel(&p), ::android::NO_ERROR); in ValueParcelRoundTrip() 190 return new_value; in ValueParcelRoundTrip()
|
/system/extras/perfprofd/ |
D | configreader.h | 60 void overrideUnsignedEntry(const char *key, unsigned new_value);
|
D | configreader.cc | 232 void ConfigReader::overrideUnsignedEntry(const char *key, unsigned new_value) in overrideUnsignedEntry() argument 241 CHECK(new_value >= vals.minv && new_value <= vals.maxv); in overrideUnsignedEntry() 242 it->second = new_value; in overrideUnsignedEntry() 243 LOG(INFO) << "option " << key << " overridden to " << new_value; in overrideUnsignedEntry()
|
/system/update_engine/ |
D | omaha_request_action.h | 230 const std::string& new_value);
|
D | omaha_request_action.cc | 1672 const string& new_value) { in PersistCohortData() argument 1673 if (new_value.empty() && system_state_->prefs()->Exists(prefs_key)) { in PersistCohortData() 1676 } else if (!new_value.empty()) { in PersistCohortData() 1677 LOG(INFO) << "Storing new setting " << prefs_key << " as " << new_value; in PersistCohortData() 1678 return system_state_->prefs()->SetString(prefs_key, new_value); in PersistCohortData()
|
D | update_attempter_unittest.cc | 879 int64_t new_value; in DecrementUpdateCheckCountTestStart() local 880 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart() 881 EXPECT_EQ(initial_value - 1, new_value); in DecrementUpdateCheckCountTestStart() 891 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart() 892 EXPECT_EQ(initial_value, new_value); in DecrementUpdateCheckCountTestStart()
|