Home
last modified time | relevance | path

Searched refs:old_value (Results 1 – 5 of 5) sorted by relevance

/system/media/audio_route/
Daudio_route.c51 union ctl_values old_value; member
675 ar->mixer_state[i].old_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
680 ar->mixer_state[i].old_value.enumerated[0] = mixer_ctl_get_value(ctl, 0); in alloc_mixer_state()
682 mixer_ctl_get_array(ctl, ar->mixer_state[i].old_value.ptr, num_values); in alloc_mixer_state()
684 memcpy(ar->mixer_state[i].new_value.ptr, ar->mixer_state[i].old_value.ptr, in alloc_mixer_state()
701 free(ar->mixer_state[i].old_value.ptr); in free_mixer_state()
732 … if (ar->mixer_state[i].old_value.bytes[j] != ar->mixer_state[i].new_value.bytes[j]) { in audio_route_update_mixer()
739 if (ar->mixer_state[i].old_value.enumerated[j] in audio_route_update_mixer()
747 … if (ar->mixer_state[i].old_value.integer[j] != ar->mixer_state[i].new_value.integer[j]) { in audio_route_update_mixer()
760 memcpy(ar->mixer_state[i].old_value.ptr, ar->mixer_state[i].new_value.ptr, in audio_route_update_mixer()
[all …]
/system/tools/aidl/
Daidl_checkapi.cpp157 const string old_value = old_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()
280 string old_value = old_field->GetDefaultValue() ? old_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()
393 const string old_value = old_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/os/fuzz/
Dfake_timerfd.h29 …merfd_settime(int fd, int flags, const struct itimerspec* new_value, struct itimerspec* old_value);
Dfake_timerfd.cc56 …erfd_settime(int fd, int flags, const struct itimerspec* new_value, struct itimerspec* old_value) { in fake_timerfd_settime() argument
/system/unwinding/libunwindstack/
DDwarfOp.cpp1684 AddressType old_value = stack_[0]; in op_swap() local
1686 stack_[1] = old_value; in op_swap()