Home
last modified time | relevance | path

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

/system/media/audio_route/
Daudio_route.c45 union ctl_values old_value; member
599 ar->mixer_state[i].old_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
604 ar->mixer_state[i].old_value.enumerated[0] = mixer_ctl_get_value(ctl, 0); in alloc_mixer_state()
606 mixer_ctl_get_array(ctl, ar->mixer_state[i].old_value.ptr, num_values); in alloc_mixer_state()
608 memcpy(ar->mixer_state[i].new_value.ptr, ar->mixer_state[i].old_value.ptr, in alloc_mixer_state()
625 free(ar->mixer_state[i].old_value.ptr); in free_mixer_state()
656 … if (ar->mixer_state[i].old_value.bytes[j] != ar->mixer_state[i].new_value.bytes[j]) { in audio_route_update_mixer()
663 if (ar->mixer_state[i].old_value.enumerated[j] in audio_route_update_mixer()
671 … if (ar->mixer_state[i].old_value.integer[j] != ar->mixer_state[i].new_value.integer[j]) { in audio_route_update_mixer()
684 memcpy(ar->mixer_state[i].old_value.ptr, ar->mixer_state[i].new_value.ptr, in audio_route_update_mixer()
[all …]
/system/tpm/tpm_manager/common/
Dtpm_manager.proto68 // E.g. new_value = HASH(old_value + input)