Home
last modified time | relevance | path

Searched refs:driver (Results 1 – 10 of 10) sorted by relevance

/test/vts/drivers/hal/common/component_loader/
DHalDriverLoader.cpp107 DriverBase* driver = nullptr; in GetDriver() local
109 driver = GetHidlHalDriver(driver_lib_path, spec_msg, hw_binder_service_name, in GetDriver()
112 driver = GetLibDriver(driver_lib_path, spec_msg, dll_file_name); in GetDriver()
116 return driver; in GetDriver()
123 DriverBase* driver = LoadDriver(driver_lib_path, spec_msg); in GetLibDriver() local
124 if (!driver) { in GetLibDriver()
128 if (!driver->LoadTargetComponent(dll_file_name.c_str())) { in GetLibDriver()
132 return driver; in GetLibDriver()
139 DriverBase* driver = GetDriver(driver_lib_path, iface_spec_msg, in GetFuzzerBaseAndAddAllFunctionsToQueue() local
141 if (!driver) { in GetFuzzerBaseAndAddAllFunctionsToQueue()
[all …]
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp104 DriverBase* driver = GetDriverWithCallMsg(*call_msg); in CallFunction() local
105 if (!driver) { in CallFunction()
119 driver->FunctionCallBegin(); in CallFunction()
132 if (!driver->CallFunction(*api, callback_socket_name_, &result_msg)) { in CallFunction()
137 if (!driver->Fuzz(api, &result, callback_socket_name_)) { in CallFunction()
145 driver->FunctionCallEnd(api); in CallFunction()
167 DriverBase* driver = GetDriverById(id); in VerifyResults() local
168 if (!driver) { in VerifyResults()
172 return driver->VerifyResults(expected_result, actual_result); in VerifyResults()
177 DriverBase* driver = GetDriverWithCallMsg(*call_msg); in GetAttribute() local
[all …]
/test/vts/drivers/hal/common/include/driver_manager/
DVtsHalDriverManager.h121 DriverId RegisterDriver(std::unique_ptr<DriverBase> driver,
184 std::unique_ptr<DriverBase> driver; member
189 std::unique_ptr<DriverBase> driver) in HalDriverInfo()
192 driver(std::move(driver)) {} in HalDriverInfo()
/test/vts/proto/
DVtsDriverControlMessage.proto25 // To request to exit a driver.
27 // To get the status of a driver.
30 // for a HAL driver
42 // for a shell driver
112 // UID of a caller on the driver-side.
147 // read data and return values from FMQ driver
149 // response from hidl_memory driver
151 // response from hidl_handle driver
DAndroidSystemControlMessage.proto69 // VTS driver type.
107 // Whether a target driver binary is 64-bits or 32-bits.
146 // UID of a caller on the driver-side.
152 // for specifying requests to FMQ driver
154 // for specifying requests to hidl_memory driver
156 // for specifying requests to hidl_handle driver
183 // read data and return value from FMQ driver
185 // response from hidl_memory driver
187 // response from hidl_handle driver
DComponentSpecificationMessage.proto189 // HAL driver ID, if set (e.g., >0), use the given driver_id to get the
190 // corresponding driver instance; otherwise, create a new driver based
224 // using a VTS HAL driver (for HIDL HAL). 0 for the main interface.
394 // To specify an existing handle object registered in target-side driver.
396 // the handle object from target-side driver, instead of creating a new one.
401 // an existing hidl_handle object stored in target-side driver.
495 // a VTS driver and other modules (e.g., agent and host-side module).
499 // pointer value. Passed from a DriverBase instance to the VTS HAL driver
502 // VTS HAL driver framework which can get this value from another
/test/vts/compilation_tools/vtsc/
DAndroid.bp29 "code_gen/driver/DriverCodeGenBase.cpp",
30 "code_gen/driver/HalCodeGen.cpp",
31 "code_gen/driver/HalHidlCodeGen.cpp",
32 "code_gen/driver/LibSharedCodeGen.cpp",
/test/vts-testcase/security/poc/target/kernel_wifi/31707909/
Dpoc.cpp63 uint driver; /* to identify target driver */ member
90 ioc.driver = 0x00444944; in poc()
/test/mlts/benchmark/
DREADME.txt42 -f (--filter-driver) and specifying a regular expression to filter the acccelerator names with.
58 The process is then forcibly terminated. The test validates that the targeted driver is not
Dbuild_and_run_benchmark.sh37 -f|--filter-driver)