Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/src/
DnanohubCommand.c356 uint32_t reply; in appSecErrToNanohubReply() local
360 reply = NANOHUB_FIRMWARE_UPLOAD_SUCCESS; in appSecErrToNanohubReply()
363 reply = NANOHUB_FIRMWARE_UPLOAD_APP_SEC_KEY_NOT_FOUND; in appSecErrToNanohubReply()
366 reply = NANOHUB_FIRMWARE_UPLOAD_APP_SEC_HEADER_ERROR; in appSecErrToNanohubReply()
369 reply = NANOHUB_FIRMWARE_UPLOAD_APP_SEC_TOO_MUCH_DATA; in appSecErrToNanohubReply()
372 reply = NANOHUB_FIRMWARE_UPLOAD_APP_SEC_TOO_LITTLE_DATA; in appSecErrToNanohubReply()
375 reply = NANOHUB_FIRMWARE_UPLOAD_APP_SEC_SIG_VERIFY_FAIL; in appSecErrToNanohubReply()
378 reply = NANOHUB_FIRMWARE_UPLOAD_APP_SEC_SIG_DECODE_FAIL; in appSecErrToNanohubReply()
381 reply = NANOHUB_FIRMWARE_UPLOAD_APP_SEC_SIG_ROOT_UNKNOWN; in appSecErrToNanohubReply()
384 reply = NANOHUB_FIRMWARE_UPLOAD_APP_SEC_MEMORY_ERROR; in appSecErrToNanohubReply()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c156 struct str_parms *reply = str_parms_create(); in out_get_parameters() local
161 str_parms_add_int(reply, AUDIO_PARAMETER_STREAM_ROUTING, out->device); in out_get_parameters()
162 str = strdup(str_parms_to_str(reply)); in out_get_parameters()
168 str_parms_destroy(reply); in out_get_parameters()
313 struct str_parms *reply = str_parms_create(); in in_get_parameters() local
318 str_parms_add_int(reply, AUDIO_PARAMETER_STREAM_ROUTING, in->device); in in_get_parameters()
319 str = strdup(str_parms_to_str(reply)); in in_get_parameters()
325 str_parms_destroy(reply); in in_get_parameters()
/device/htc/flounder/audio/hal/
Daudio_hw.c1324 int32_t reply[reply_size]; in in_read_audio_effect_channel_configs() local
1340 (void*)&reply); in in_read_audio_effect_channel_configs()
1348 if (reply[0] != 0) { in in_read_audio_effect_channel_configs()
1351 reply[0], (reply[0] == -ENOMEM) ? reply[1] : MAX_NUM_CHANNEL_CONFIGS); in in_read_audio_effect_channel_configs()
1357 "Feature supported and adding %d channel configs to the list", reply[1]); in in_read_audio_effect_channel_configs()
1358 effect_info->num_channel_configs = reply[1]; in in_read_audio_effect_channel_configs()
1360 (channel_config_t *) malloc(sizeof(channel_config_t) * reply[1]); /* n x configs */ in in_read_audio_effect_channel_configs()
1361 memcpy(effect_info->channel_configs, (reply + 2), sizeof(channel_config_t) * reply[1]); in in_read_audio_effect_channel_configs()
2853 struct str_parms *reply = str_parms_create(); in out_get_parameters() local
2875 str_parms_add_str(reply, AUDIO_PARAMETER_STREAM_SUP_CHANNELS, value); in out_get_parameters()
[all …]
/device/google/dragon/audio/hal/
Daudio_hw.c1981 struct str_parms *reply = str_parms_create(); in out_get_parameters() local
2003 str_parms_add_str(reply, AUDIO_PARAMETER_STREAM_SUP_CHANNELS, value); in out_get_parameters()
2004 str = str_parms_to_str(reply); in out_get_parameters()
2009 str_parms_destroy(reply); in out_get_parameters()