/test/vts/compilation_tools/vtsc/test/golden/DRIVER/ |
D | libcV1.driver.cpp | 14 FunctionSpecificationMessage* func_msg, in Fuzz() argument 16 const char* func_name = func_msg->name().c_str(); in Fuzz() 19 …int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int3… in Fuzz() 21 …int32_t arg1 = (func_msg->arg(1).type() == TYPE_SCALAR && func_msg->arg(1).scalar_value().has_int3… in Fuzz() 23 …int32_t arg2 = (func_msg->arg(2).type() == TYPE_SCALAR && func_msg->arg(2).scalar_value().has_int3… in Fuzz() 33 …int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int3… in Fuzz() 47 …int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int3… in Fuzz() 61 …int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int3… in Fuzz() 75 …int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int3… in Fuzz() 77 …int32_t arg1 = (func_msg->arg(1).type() == TYPE_SCALAR && func_msg->arg(1).scalar_value().has_int3… in Fuzz() [all …]
|
D | Bar.driver.cpp | 656 const FunctionSpecificationMessage& func_msg, in CallFunction() argument 659 const char* func_name = func_msg.name().c_str(); in CallFunction() 666 …MessageTo__android__hardware__tests__foo__V1_0__IFoo__Discriminator(func_msg.arg(0), &(arg0), call… in CallFunction() 668 arg1.resize(func_msg.arg(1).vector_value_size()); in CallFunction() 669 for (int arg1_index = 0; arg1_index < func_msg.arg(1).vector_value_size(); arg1_index++) { in CallFunction() 670 …MessageTo__android__hardware__tests__foo__V1_0__IFoo__Union(func_msg.arg(1).vector_value(arg1_inde… in CallFunction() 689 arg0 = func_msg.arg(0).scalar_value().float_t(); in CallFunction() 697 arg0 = func_msg.arg(0).scalar_value().int64_t(); in CallFunction() 709 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction() 711 arg1 = func_msg.arg(1).scalar_value().int64_t(); in CallFunction() [all …]
|
D | MemoryTest.driver.cpp | 120 const FunctionSpecificationMessage& func_msg, in CallFunction() argument 123 const char* func_name = func_msg.name().c_str(); in CallFunction() 130 if (func_msg.arg(0).hidl_memory_value().has_hidl_mem_address()) { in CallFunction() 131 …arg0 = *(reinterpret_cast<android::hardware::hidl_memory*>(func_msg.arg(0).hidl_memory_value().hid… in CallFunction() 138 …auto res = ashmemAllocator->allocate(func_msg.arg(0).hidl_memory_value().size(), [&](bool success,… in CallFunction() 159 if (func_msg.arg(0).hidl_memory_value().has_hidl_mem_address()) { in CallFunction() 160 …arg0 = *(reinterpret_cast<android::hardware::hidl_memory*>(func_msg.arg(0).hidl_memory_value().hid… in CallFunction() 167 …auto res = ashmemAllocator->allocate(func_msg.arg(0).hidl_memory_value().size(), [&](bool success,… in CallFunction() 177 arg1 = func_msg.arg(1).scalar_value().uint8_t(); in CallFunction() 185 …MessageTo__android__hidl__memory__block__V1_0__MemoryBlock(func_msg.arg(0), &(arg0), callback_sock… in CallFunction() [all …]
|
D | TestMsgQ.driver.cpp | 205 const FunctionSpecificationMessage& func_msg, in CallFunction() argument 208 const char* func_name = func_msg.name().c_str(); in CallFunction() 215 … if (func_msg.arg(0).fmq_value_size() > 0 && func_msg.arg(0).fmq_value(0).has_fmq_desc_address()) { in CallFunction() 216 …arg0 = reinterpret_cast<::android::hardware::MQDescriptorSync<uint16_t>*>(func_msg.arg(0).fmq_valu… in CallFunction() 219 for (int i = 0; i < (int)func_msg.arg(0).fmq_value_size(); i++) { in CallFunction() 221 arg0_sync_q_item = func_msg.arg(0).fmq_value(i).scalar_value().uint16_t(); in CallFunction() 237 arg0 = func_msg.arg(0).scalar_value().bool_t(); in CallFunction() 257 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction() 269 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction() 281 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction() [all …]
|
D | NfcClientCallback.driver.cpp | 87 const FunctionSpecificationMessage& func_msg, in CallFunction() argument 90 const char* func_name = func_msg.name().c_str(); in CallFunction() 97 … MessageTo__android__hardware__nfc__V1_0__NfcEvent(func_msg.arg(0), &(arg0), callback_socket_name); in CallFunction() 99 …MessageTo__android__hardware__nfc__V1_0__NfcStatus(func_msg.arg(1), &(arg1), callback_socket_name); in CallFunction() 107 arg0.resize(func_msg.arg(0).vector_value_size()); in CallFunction() 108 for (int arg0_index = 0; arg0_index < func_msg.arg(0).vector_value_size(); arg0_index++) { in CallFunction() 109 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction()
|
D | Nfc.driver.cpp | 142 const FunctionSpecificationMessage& func_msg, in CallFunction() argument 145 const char* func_name = func_msg.name().c_str(); in CallFunction() 153 …tic_cast<Vts_android_hardware_nfc_V1_0_INfcClientCallback*>(arg0.get())->Register(func_msg.arg(0)); in CallFunction() 164 arg0.resize(func_msg.arg(0).vector_value_size()); in CallFunction() 165 for (int arg0_index = 0; arg0_index < func_msg.arg(0).vector_value_size(); arg0_index++) { in CallFunction() 166 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction() 179 arg0.resize(func_msg.arg(0).vector_value_size()); in CallFunction() 180 for (int arg0_index = 0; arg0_index < func_msg.arg(0).vector_value_size(); arg0_index++) { in CallFunction() 181 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction()
|
D | NfcClientCallback.vts.h | 59 …bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_nam… 60 …bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name… 62 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
D | Nfc.vts.h | 75 …bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_nam… 76 …bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name… 78 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
D | MemoryTest.vts.h | 70 …bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_nam… 71 …bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name… 73 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
D | TestMsgQ.vts.h | 82 …bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_nam… 83 …bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name… 85 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
D | Bar.vts.h | 169 …bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_nam… 170 …bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name… 172 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
/test/vts/utils/python/mirror/ |
D | native_entity_mirror.py | 91 func_msg = CompSpecMsg.FunctionSpecificationMessage() 92 func_msg.name = api_name 93 return func_msg 192 func_msg = self.GetApi(api_name) 193 if not func_msg: 194 raise MirrorObjectError("api %s unknown", func_msg) 198 for arg_msg, value_msg in zip(func_msg.arg, args): 209 for arg in func_msg.arg: 214 logging.debug(func_msg) 220 call_msg.api.CopyFrom(func_msg) [all …]
|
/test/vts/drivers/hal/common/driver_manager/ |
D | VtsHalDriverManager.cpp | 390 FunctionSpecificationMessage* func_msg, void* result) { in ProcessFuncResultsForLibrary() argument 392 if (func_msg->return_type().type() == TYPE_PREDEFINED) { in ProcessFuncResultsForLibrary() 396 LOG(DEBUG) << "Return type: " << func_msg->return_type().type(); in ProcessFuncResultsForLibrary() 401 google::protobuf::TextFormat::PrintToString(*func_msg, &output); in ProcessFuncResultsForLibrary() 403 } else if (func_msg->return_type().type() == TYPE_SCALAR) { in ProcessFuncResultsForLibrary() 406 if (!strcmp(func_msg->return_type().scalar_type().c_str(), "int32_t")) { in ProcessFuncResultsForLibrary() 407 func_msg->mutable_return_type()->mutable_scalar_value()->set_int32_t( in ProcessFuncResultsForLibrary() 409 google::protobuf::TextFormat::PrintToString(*func_msg, &output); in ProcessFuncResultsForLibrary() 411 } else if (!strcmp(func_msg->return_type().scalar_type().c_str(), in ProcessFuncResultsForLibrary() 413 func_msg->mutable_return_type()->mutable_scalar_value()->set_uint32_t( in ProcessFuncResultsForLibrary() [all …]
|
/test/vts/drivers/hal/common/component_loader/ |
D | HalDriverLoader.cpp | 146 for (const FunctionSpecificationMessage& func_msg : in GetFuzzerBaseAndAddAllFunctionsToQueue() local 148 LOG(DEBUG) << "Add a job " << func_msg.name(); in GetFuzzerBaseAndAddAllFunctionsToQueue() 149 FunctionSpecificationMessage* func_msg_copy = func_msg.New(); in GetFuzzerBaseAndAddAllFunctionsToQueue() 150 func_msg_copy->CopyFrom(func_msg); in GetFuzzerBaseAndAddAllFunctionsToQueue() 282 vts::FunctionSpecificationMessage* func_msg = curr_job.first; in Process() local 287 LOG(INFO) << "Iteration " << (i + 1) << " Function " << func_msg->name(); in Process() 290 func_fuzzer->CallFunction(*func_msg, callback_socket_name_, &result_msg); in Process() 292 func_fuzzer->Fuzz(func_msg, &result, callback_socket_name_); in Process()
|
/test/vts/compilation_tools/vtsc/code_gen/driver/ |
D | HalHidlCodeGen.cpp | 216 const FunctionSpecificationMessage& func_msg) { in GenerateDriverImplForMethod() argument 217 out << "if (!strcmp(func_name, \"" << func_msg.name() << "\")) {\n"; in GenerateDriverImplForMethod() 220 for (int i = 0; i < func_msg.arg_size(); i++) { in GenerateDriverImplForMethod() 221 const auto& arg = func_msg.arg(i); in GenerateDriverImplForMethod() 252 if (CanElideCallback(func_msg)) { in GenerateDriverImplForMethod() 253 out << GetCppVariableType(func_msg.return_type_hidl(0)) << " result0 = "; in GenerateDriverImplForMethod() 254 GenerateHalFunctionCall(out, func_msg); in GenerateDriverImplForMethod() 256 for (int index = 0; index < func_msg.return_type_hidl_size(); index++) { in GenerateDriverImplForMethod() 260 out, func_msg.return_type_hidl(index), in GenerateDriverImplForMethod() 265 GenerateHalFunctionCall(out, func_msg); in GenerateDriverImplForMethod() [all …]
|
D | HalHidlCodeGen.h | 116 const FunctionSpecificationMessage& func_msg); 120 const FunctionSpecificationMessage& func_msg); 124 const FunctionSpecificationMessage& func_msg); 200 bool CanElideCallback(const FunctionSpecificationMessage& func_msg);
|
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/lib/ndk/bionic/1.0/ |
D | libcV1.vts.h | 26 …bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_nam… 27 …bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name… 29 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
/test/vts/drivers/hal/replayer/ |
D | VtsHidlHalReplayer.cpp | 140 cout << "Replay function: " << call_msg.func_msg().name() << endl; in ReplayTrace() 141 LOG(DEBUG) << "Replay function: " << call_msg.func_msg().DebugString(); in ReplayTrace() 154 *func_call_msg.mutable_api() = call_msg.func_msg(); in ReplayTrace() 167 driver_id, expected_result_msg.func_msg(), result_msg)) { in ReplayTrace() 171 << expected_result_msg.func_msg().DebugString() in ReplayTrace()
|
/test/vts/drivers/hal/common/include/driver_manager/ |
D | VtsHalDriverManager.h | 69 string CallFunction(FunctionCallMessage* func_msg); 116 string GetAttribute(FunctionCallMessage* func_msg); 143 string ProcessFuncResultsForLibrary(FunctionSpecificationMessage* func_msg,
|
/test/vts/utils/native/trace_processor/ |
D | VtsTraceProcessor.cpp | 513 entry_record.func_msg().name() != exit_record.func_msg().name()) { in isPairedRecord() 670 string func_name = record.func_msg().name(); in GetHalTraceSummary() 700 "::" + record.func_msg().name(); in GetFullApiStr()
|
/test/vts/drivers/hal/common/driver_base/ |
D | DriverBase.cpp | 125 for (vts::FunctionSpecificationMessage func_msg : in Fuzz() 127 Fuzz(&func_msg, result, ""); in Fuzz()
|
/test/vts/proto/ |
D | VtsProfilingMessage.proto | 61 optional FunctionSpecificationMessage func_msg = 6; field
|