Lines Matching refs:arg

124       auto* arg = api->mutable_arg(index);  in CallFunction()  local
125 bool process_success = PreprocessHidlHalFunctionCallArgs(arg); in CallFunction()
446 VariableSpecificationMessage* arg) { in PreprocessHidlHalFunctionCallArgs() argument
447 switch (arg->type()) { in PreprocessHidlHalFunctionCallArgs()
451 for (int i = 0; i < arg->vector_size(); i++) { in PreprocessHidlHalFunctionCallArgs()
452 if (!PreprocessHidlHalFunctionCallArgs(arg->mutable_vector_value(i))) { in PreprocessHidlHalFunctionCallArgs()
462 for (int i = 0; i < arg->union_value_size(); i++) { in PreprocessHidlHalFunctionCallArgs()
463 auto* union_field = arg->mutable_union_value(i); in PreprocessHidlHalFunctionCallArgs()
467 << union_field->name() << "\" in union \"" << arg->name() in PreprocessHidlHalFunctionCallArgs()
476 for (int i = 0; i < arg->struct_value_size(); i++) { in PreprocessHidlHalFunctionCallArgs()
477 auto* struct_field = arg->mutable_struct_value(i); in PreprocessHidlHalFunctionCallArgs()
481 << struct_field->name() << "\" in struct \"" << arg->name() in PreprocessHidlHalFunctionCallArgs()
489 if (!PreprocessHidlHalFunctionCallArgs(arg->mutable_ref_value())) { in PreprocessHidlHalFunctionCallArgs()
492 << arg->name() << "\"."; in PreprocessHidlHalFunctionCallArgs()
498 string type_name = arg->predefined_type(); in PreprocessHidlHalFunctionCallArgs()
512 arg->set_hidl_interface_pointer(interface_pt); in PreprocessHidlHalFunctionCallArgs()
518 if (arg->fmq_value_size() == 0) { in PreprocessHidlHalFunctionCallArgs()
523 if (arg->fmq_value(0).fmq_id() != -1) { in PreprocessHidlHalFunctionCallArgs()
530 resource_manager_->GetQueueDescAddress(*arg, &descriptor_addr); in PreprocessHidlHalFunctionCallArgs()
533 << arg->fmq_value(0).fmq_id(); in PreprocessHidlHalFunctionCallArgs()
536 arg->mutable_fmq_value(0)->set_fmq_desc_address(descriptor_addr); in PreprocessHidlHalFunctionCallArgs()
541 if (arg->hidl_memory_value().mem_id() != -1) { in PreprocessHidlHalFunctionCallArgs()
548 resource_manager_->GetHidlMemoryAddress(*arg, &hidl_mem_address); in PreprocessHidlHalFunctionCallArgs()
551 << arg->hidl_memory_value().mem_id(); in PreprocessHidlHalFunctionCallArgs()
554 arg->mutable_hidl_memory_value()->set_hidl_mem_address( in PreprocessHidlHalFunctionCallArgs()
560 if (arg->handle_value().handle_id() != -1) { in PreprocessHidlHalFunctionCallArgs()
567 resource_manager_->GetHidlHandleAddress(*arg, &hidl_handle_address); in PreprocessHidlHalFunctionCallArgs()
570 << arg->handle_value().handle_id(); in PreprocessHidlHalFunctionCallArgs()
573 arg->mutable_handle_value()->set_hidl_handle_address( in PreprocessHidlHalFunctionCallArgs()