/test/vts/compilation_tools/vtsc/test/golden/DRIVER/ |
libcV1.driver.cpp | 14 FunctionSpecificationMessage* func_msg, 16 const char* func_name = func_msg->name().c_str(); 19 int32_t arg0 = (func_msg->arg(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int32_t()) ? func_msg->arg(0).scalar_value().int32_t() : RandomInt32(); 21 int32_t arg1 = (func_msg->arg(1).type() == TYPE_SCALAR && func_msg->arg(1).scalar_value().has_int32_t()) ? func_msg->arg(1).scalar_value().int32_t() : RandomInt32(); 23 int32_t arg2 = (func_msg->arg(2).type() == TYPE_SCALAR && func_msg->arg(2).scalar_value().has_int32_t()) ? func_msg->arg(2).scalar_value().int32_t() : RandomInt32() [all...] |
CameraHalV2.driver.cpp | 60 FunctionSpecificationMessage* func_msg, 62 const char* func_name = func_msg->name().c_str(); 78 char* arg1 = (func_msg->arg(1).type() == TYPE_SCALAR && func_msg->arg(1).scalar_value().has_pointer())? reinterpret_cast<char*>(func_msg->arg(1).scalar_value().pointer() ) : ((hmi_) ? const_cast<char*>(hmi_->name) : NULL) 101 (arg2, func_msg->mutable_arg(2)); 107 FunctionSpecificationMessage* func_msg, 109 const char* func_name = func_msg->name().c_str(); 114 FunctionSpecificationMessage* func_msg, 116 const char* func_name = func_msg->name().c_str() [all...] |
WifiHalV1.driver.cpp | 12 FunctionSpecificationMessage* func_msg, 14 const char* func_name = func_msg->name().c_str(); 27 FunctionSpecificationMessage* func_msg, 29 const char* func_name = func_msg->name().c_str();
|
BluetoothHalV1.driver.cpp | 12 FunctionSpecificationMessage* func_msg, 14 const char* func_name = func_msg->name().c_str(); 46 FunctionSpecificationMessage* func_msg, 48 const char* func_name = func_msg->name().c_str();
|
Nfc.driver.cpp | 29 FunctionSpecificationMessage* func_msg, 34 FunctionSpecificationMessage* func_msg, 39 bool FuzzerExtended_android_hardware_nfc_V1_0_INfc::CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg) { 40 const char* func_name = func_msg.name().c_str(); 45 static_cast<Vts_android_hardware_nfc_V1_0_INfcClientCallback*>(arg0.get())->Register(func_msg.arg(0)); 63 arg0.resize(func_msg.arg(0).vector_value_size()); 64 for (int i = 0; i <func_msg.arg(0).vector_value_size(); i++) { 65 arg0[i] = func_msg.arg(0).vector_value(i).scalar_value().uint8_t(); 85 arg0.resize(func_msg.arg(0).vector_value_size()); 86 for (int i = 0; i <func_msg.arg(0).vector_value_size(); i++) [all...] |
BluetoothHalV1bt_interface_t.driver.cpp | 217 FunctionSpecificationMessage* func_msg, 219 const char* func_name = func_msg->name().c_str(); 233 arg0callback->Register(func_msg->arg(0)); 269 FunctionSpecificationMessage* func_msg, 271 const char* func_name = func_msg->name().c_str();
|
/test/vts/drivers/hal/common/specification_parser/ |
SpecificationBuilder.cpp | 175 for (const vts::FunctionSpecificationMessage& func_msg : iface_spec_msg.api()) 177 cout << "checking " << func_msg.name() << endl; 178 if (!strcmp(target_func_name, func_msg.name().c_str())) { 257 for (const vts::FunctionSpecificationMessage& func_msg : 259 cout << "Add a job " << func_msg.name() << endl; 260 FunctionSpecificationMessage* func_msg_copy = func_msg.New(); 261 func_msg_copy->CopyFrom(func_msg); 317 FunctionSpecificationMessage* func_msg) { 324 << "loaded if_spec lib " << func_msg << endl; 325 cout << __func__ << " " << dll_file_name_ << " " << func_msg->name() << endl 669 vts::FunctionSpecificationMessage* func_msg = curr_job.first; local [all...] |
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/hal/conventional/camera/2.1/ |
CameraHalV2.vts.h | 25 bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_name); 26 bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg); 28 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result); 29 bool Fuzz__common(FunctionSpecificationMessage* func_msg, 31 bool GetAttribute__common(FunctionSpecificationMessage* func_msg, 33 bool Fuzz__common_methods(FunctionSpecificationMessage* func_msg, 35 bool GetAttribute__common_methods(FunctionSpecificationMessage* func_msg,
|
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/hal/conventional/bluetooth/1.0/ |
BluetoothHalV1.vts.h | 24 bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_name); 25 bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg); 27 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
BluetoothHalV1bt_interface_t.vts.h | 24 bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_name); 25 bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg); 27 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/hal/conventional/wifi/1.0/ |
WifiHalV1.vts.h | 24 bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_name); 25 bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg); 27 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/lib/ndk/bionic/1.0/ |
libcV1.vts.h | 26 bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_name); 27 bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg); 29 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/hal/ |
Nfc.vts.h | 32 bool Fuzz(FunctionSpecificationMessage* func_msg, void** result, const string& callback_socket_name); 33 bool CallFunction(const FunctionSpecificationMessage& func_msg, const string& callback_socket_name, FunctionSpecificationMessage* result_msg); 35 bool GetAttribute(FunctionSpecificationMessage* func_msg, void** result);
|
/test/vts/utils/python/mirror/ |
mirror_object.py | 85 func_msg = CompSpecMsg.FunctionSpecificationMessage() 86 func_msg.name = "#Open" 87 logging.debug("remote call %s", func_msg.name) 89 arg = func_msg.arg.add() 93 func_msg.return_type.type == CompSpecMsg.TYPE_SCALAR 94 func_msg.return_type.scalar_type = "int32_t" 95 logging.debug("final msg %s", func_msg) 97 result = self._client.CallApi(text_format.MessageToString(func_msg), 121 func_msg = self.GetAttribute(attribute_name) 122 if not func_msg [all...] |
/test/vts/drivers/hal/common/include/specification_parser/ |
SpecificationBuilder.h | 63 const string& CallFunction(FunctionSpecificationMessage* func_msg); 65 const string& GetAttribute(FunctionSpecificationMessage* func_msg);
|
/test/vts/compilation_tools/vtsc/code_gen/driver/ |
HalHidlCodeGen.h | 108 const FunctionSpecificationMessage& func_msg); 113 const FunctionSpecificationMessage& func_msg); 118 const FunctionSpecificationMessage& func_msg); 190 bool CanElideCallback(const FunctionSpecificationMessage& func_msg);
|
HalHidlCodeGen.cpp | 158 out << " FunctionSpecificationMessage* func_msg," << "\n"; 172 << "const FunctionSpecificationMessage& func_msg, " 177 out << "const char* func_name = func_msg.name().c_str();" << "\n"; 212 const FunctionSpecificationMessage& func_msg) { 213 out << "if (!strcmp(func_name, \"" << func_msg.name() << "\")) {\n"; 216 for (int i = 0; i < func_msg.arg_size(); i++) { 217 const auto& arg = func_msg.arg(i); 231 out, arg, cur_arg_name, "func_msg.arg(" + std::to_string(i) + ")"); 241 for (int index = 0; index < func_msg.return_type_hidl_size(); index++) { 242 const auto& return_type = func_msg.return_type_hidl(index) [all...] |
/test/vts/drivers/hal/framework/ |
SocketServer.cpp | 105 FunctionSpecificationMessage* func_msg = new FunctionSpecificationMessage(); local 107 google::protobuf::TextFormat::MergeFromString(arg, func_msg); 109 const string& result = spec_builder_.CallFunction(func_msg); 116 FunctionSpecificationMessage* func_msg = new FunctionSpecificationMessage(); local 117 google::protobuf::TextFormat::MergeFromString(arg, func_msg); 118 const string& result = spec_builder_.GetAttribute(func_msg);
|
BinderServer.cpp | 165 FunctionSpecificationMessage* func_msg = new FunctionSpecificationMessage(); local 166 google::protobuf::TextFormat::MergeFromString(arg, func_msg); 167 const string& result = spec_builder_.CallFunction(func_msg);
|
/test/vts/drivers/hal/common/replayer/ |
VtsHidlHalReplayer.cpp | 179 if (!fuzzer->CallFunction(call_msg.func_msg(), callback_socket_name_, 184 if (!fuzzer->VerifyResults(expected_result_msg.func_msg(), result_msg)) { 188 << expected_result_msg.func_msg().DebugString() << "\nactual_result: "
|
/test/vts/utils/native/trace_processor/ |
VtsTraceProcessor.cpp | 129 string api = profiling_msg.records(i).func_msg().name();
|
/test/vts/drivers/hal/common/fuzz_tester/ |
FuzzerBase.cpp | 357 for (vts::FunctionSpecificationMessage func_msg : 359 Fuzz(&func_msg, result, "");
|