Lines Matching refs:write_data
47 const void* write_data = in ProcessHidlHandleCommand() local
48 static_cast<const void*>(hidl_handle_request.write_data().c_str()); in ProcessHidlHandleCommand()
49 size_t write_data_size = hidl_handle_request.write_data().length(); in ProcessHidlHandleCommand()
140 hidl_handle_driver_.WriteFile(handle_id, write_data, write_data_size); in ProcessHidlHandleCommand()
184 const string& write_data = hidl_memory_request.write_data(); in ProcessHidlMemoryCommand() local
211 success = hidl_memory_driver_.UpdateBytes(mem_id, write_data.c_str(), in ProcessHidlMemoryCommand()
332 T write_data[write_data_size]; in ProcessFmqCommandInternal() local
402 if (!FmqProto2Cpp<T>(fmq_request, write_data, write_data_size)) { in ProcessFmqCommandInternal()
407 success = fmq_driver_.WriteFmq<T, flavor>(data_type, queue_id, write_data, in ProcessFmqCommandInternal()
412 if (!FmqProto2Cpp<T>(fmq_request, write_data, write_data_size)) { in ProcessFmqCommandInternal()
418 data_type, queue_id, write_data, write_data_size, time_out_nanos); in ProcessFmqCommandInternal()
424 if (!FmqProto2Cpp<T>(fmq_request, write_data, write_data_size)) { in ProcessFmqCommandInternal()
430 data_type, queue_id, write_data, write_data_size, read_notification, in ProcessFmqCommandInternal()
476 T* write_data, size_t write_data_size) { in FmqProto2Cpp() argument
480 int8_t* convert_data = reinterpret_cast<int8_t*>(write_data); in FmqProto2Cpp()
482 convert_data[i] = (fmq_request.write_data(i).scalar_value().int8_t()); in FmqProto2Cpp()
485 uint8_t* convert_data = reinterpret_cast<uint8_t*>(write_data); in FmqProto2Cpp()
487 convert_data[i] = fmq_request.write_data(i).scalar_value().uint8_t(); in FmqProto2Cpp()
490 int16_t* convert_data = reinterpret_cast<int16_t*>(write_data); in FmqProto2Cpp()
492 convert_data[i] = fmq_request.write_data(i).scalar_value().int16_t(); in FmqProto2Cpp()
495 uint16_t* convert_data = reinterpret_cast<uint16_t*>(write_data); in FmqProto2Cpp()
497 convert_data[i] = fmq_request.write_data(i).scalar_value().uint16_t(); in FmqProto2Cpp()
500 int32_t* convert_data = reinterpret_cast<int32_t*>(write_data); in FmqProto2Cpp()
502 convert_data[i] = fmq_request.write_data(i).scalar_value().int32_t(); in FmqProto2Cpp()
505 uint32_t* convert_data = reinterpret_cast<uint32_t*>(write_data); in FmqProto2Cpp()
507 convert_data[i] = fmq_request.write_data(i).scalar_value().uint32_t(); in FmqProto2Cpp()
510 int64_t* convert_data = reinterpret_cast<int64_t*>(write_data); in FmqProto2Cpp()
512 convert_data[i] = fmq_request.write_data(i).scalar_value().int64_t(); in FmqProto2Cpp()
515 uint64_t* convert_data = reinterpret_cast<uint64_t*>(write_data); in FmqProto2Cpp()
517 convert_data[i] = fmq_request.write_data(i).scalar_value().uint64_t(); in FmqProto2Cpp()
520 float* convert_data = reinterpret_cast<float*>(write_data); in FmqProto2Cpp()
522 convert_data[i] = fmq_request.write_data(i).scalar_value().float_t(); in FmqProto2Cpp()
525 double* convert_data = reinterpret_cast<double*>(write_data); in FmqProto2Cpp()
527 convert_data[i] = fmq_request.write_data(i).scalar_value().double_t(); in FmqProto2Cpp()
530 bool* convert_data = reinterpret_cast<bool*>(write_data); in FmqProto2Cpp()
532 convert_data[i] = fmq_request.write_data(i).scalar_value().bool_t(); in FmqProto2Cpp()
549 (*parser)(fmq_request.write_data(i), &write_data[i], ""); in FmqProto2Cpp()