Home
last modified time | relevance | path

Searched refs:DriverBase (Results 1 – 23 of 23) sorted by relevance

/test/vts/drivers/hal/common/component_loader/
DHalDriverLoader.cpp102 DriverBase* HalDriverLoader::GetDriver( in GetDriver()
107 DriverBase* driver = nullptr; in GetDriver()
119 DriverBase* HalDriverLoader::GetLibDriver( in GetLibDriver()
123 DriverBase* driver = LoadDriver(driver_lib_path, spec_msg); in GetLibDriver()
135 DriverBase* HalDriverLoader::GetFuzzerBaseAndAddAllFunctionsToQueue( in GetFuzzerBaseAndAddAllFunctionsToQueue()
139 DriverBase* driver = GetDriver(driver_lib_path, iface_spec_msg, in GetFuzzerBaseAndAddAllFunctionsToQueue()
156 DriverBase* HalDriverLoader::GetHidlHalDriver( in GetHidlHalDriver()
163 DriverBase* driver = nullptr; in GetHidlHalDriver()
203 DriverBase* HalDriverLoader::LoadDriver( in LoadDriver()
219 DriverBase* driver = func(); in LoadDriver()
[all …]
/test/vts/drivers/hal/common/include/component_loader/
DHalDriverLoader.h53 DriverBase* GetDriver(const string& driver_lib_path,
63 DriverBase* GetFuzzerBaseAndAddAllFunctionsToQueue(
83 DriverBase* GetLibDriver(const string& driver_lib_path,
88 DriverBase* GetHidlHalDriver(const string& driver_lib_path,
95 DriverBase* LoadDriverWithInterfacePointer(
101 DriverBase* LoadDriver(const string& driver_lib_path,
113 queue<pair<FunctionSpecificationMessage*, DriverBase*>> job_queue_;
DDllLoader.h25 class DriverBase; variable
28 typedef DriverBase* (*loader_function)();
29 typedef DriverBase* (*loader_function_with_arg)(uint64_t arg);
/test/vts/drivers/hal/common/driver_base/
DDriverBase.cpp65 DriverBase::DriverBase(int target_class) in DriverBase() function in android::vts::DriverBase
73 DriverBase::~DriverBase() { free(component_filename_); } in ~DriverBase()
79 bool DriverBase::LoadTargetComponent(const char* target_dll_path) { in LoadTargetComponent()
115 bool DriverBase::Fuzz(vts::ComponentSpecificationMessage* message, in Fuzz()
132 void DriverBase::FunctionCallBegin() { in FunctionCallBegin()
220 bool DriverBase::ReadGcdaFile(const string& basepath, const string& filename, in ReadGcdaFile()
278 bool DriverBase::ScanAllGcdaFiles(const string& basepath, in ScanAllGcdaFiles()
312 bool DriverBase::FunctionCallEnd(FunctionSpecificationMessage* msg) { in FunctionCallEnd()
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DNfcClientCallback.vts.h50 class FuzzerExtended_android_hardware_nfc_V1_0_INfcClientCallback : public DriverBase {
52 …FuzzerExtended_android_hardware_nfc_V1_0_INfcClientCallback() : DriverBase(HAL_HIDL), hw_binder_pr… in FuzzerExtended_android_hardware_nfc_V1_0_INfcClientCallback()
54 …::android::hardware::nfc::V1_0::INfcClientCallback* hw_binder_proxy) : DriverBase(HAL_HIDL), hw_bi… in FuzzerExtended_android_hardware_nfc_V1_0_INfcClientCallback()
71 extern android::vts::DriverBase* vts_func_4_android_hardware_nfc_V1_0_INfcClientCallback_();
72 extern android::vts::DriverBase* vts_func_4_android_hardware_nfc_V1_0_INfcClientCallback_with_arg(u…
DNfc.vts.h66 class FuzzerExtended_android_hardware_nfc_V1_0_INfc : public DriverBase {
68 FuzzerExtended_android_hardware_nfc_V1_0_INfc() : DriverBase(HAL_HIDL), hw_binder_proxy_() {} in FuzzerExtended_android_hardware_nfc_V1_0_INfc()
70 …nfc_V1_0_INfc(::android::hardware::nfc::V1_0::INfc* hw_binder_proxy) : DriverBase(HAL_HIDL), hw_bi… in FuzzerExtended_android_hardware_nfc_V1_0_INfc()
87 extern android::vts::DriverBase* vts_func_4_android_hardware_nfc_V1_0_INfc_();
88 extern android::vts::DriverBase* vts_func_4_android_hardware_nfc_V1_0_INfc_with_arg(uint64_t hw_bin…
DMemoryTest.vts.h61 class FuzzerExtended_android_hardware_tests_memory_V1_0_IMemoryTest : public DriverBase {
63 …FuzzerExtended_android_hardware_tests_memory_V1_0_IMemoryTest() : DriverBase(HAL_HIDL), hw_binder_… in FuzzerExtended_android_hardware_tests_memory_V1_0_IMemoryTest()
65 …ndroid::hardware::tests::memory::V1_0::IMemoryTest* hw_binder_proxy) : DriverBase(HAL_HIDL), hw_bi… in FuzzerExtended_android_hardware_tests_memory_V1_0_IMemoryTest()
82 extern android::vts::DriverBase* vts_func_4_android_hardware_tests_memory_V1_0_IMemoryTest_();
83 extern android::vts::DriverBase* vts_func_4_android_hardware_tests_memory_V1_0_IMemoryTest_with_arg…
DTestMsgQ.vts.h74 class FuzzerExtended_android_hardware_tests_msgq_V1_0_ITestMsgQ : public DriverBase {
76 …FuzzerExtended_android_hardware_tests_msgq_V1_0_ITestMsgQ() : DriverBase(HAL_HIDL), hw_binder_prox… in FuzzerExtended_android_hardware_tests_msgq_V1_0_ITestMsgQ()
78 …(::android::hardware::tests::msgq::V1_0::ITestMsgQ* hw_binder_proxy) : DriverBase(HAL_HIDL), hw_bi… in FuzzerExtended_android_hardware_tests_msgq_V1_0_ITestMsgQ()
95 extern android::vts::DriverBase* vts_func_4_android_hardware_tests_msgq_V1_0_ITestMsgQ_();
96 extern android::vts::DriverBase* vts_func_4_android_hardware_tests_msgq_V1_0_ITestMsgQ_with_arg(uin…
DNfcClientCallback.driver.cpp139 android::vts::DriverBase* vts_func_4_android_hardware_nfc_V1_0_INfcClientCallback_() { in vts_func_4_android_hardware_nfc_V1_0_INfcClientCallback_()
140 …return (android::vts::DriverBase*) new android::vts::FuzzerExtended_android_hardware_nfc_V1_0_INfc… in vts_func_4_android_hardware_nfc_V1_0_INfcClientCallback_()
143 android::vts::DriverBase* vts_func_4_android_hardware_nfc_V1_0_INfcClientCallback_with_arg(uint64_t… in vts_func_4_android_hardware_nfc_V1_0_INfcClientCallback_with_arg()
150 android::vts::DriverBase* result = in vts_func_4_android_hardware_nfc_V1_0_INfcClientCallback_with_arg()
DBar.vts.h160 class FuzzerExtended_android_hardware_tests_bar_V1_0_IBar : public DriverBase {
162 …FuzzerExtended_android_hardware_tests_bar_V1_0_IBar() : DriverBase(HAL_HIDL), hw_binder_proxy_() {} in FuzzerExtended_android_hardware_tests_bar_V1_0_IBar()
164 …0_IBar(::android::hardware::tests::bar::V1_0::IBar* hw_binder_proxy) : DriverBase(HAL_HIDL), hw_bi… in FuzzerExtended_android_hardware_tests_bar_V1_0_IBar()
181 extern android::vts::DriverBase* vts_func_4_android_hardware_tests_bar_V1_0_IBar_();
182 extern android::vts::DriverBase* vts_func_4_android_hardware_tests_bar_V1_0_IBar_with_arg(uint64_t …
DNfc.driver.cpp277 android::vts::DriverBase* vts_func_4_android_hardware_nfc_V1_0_INfc_() { in vts_func_4_android_hardware_nfc_V1_0_INfc_()
278 …return (android::vts::DriverBase*) new android::vts::FuzzerExtended_android_hardware_nfc_V1_0_INfc… in vts_func_4_android_hardware_nfc_V1_0_INfc_()
281 android::vts::DriverBase* vts_func_4_android_hardware_nfc_V1_0_INfc_with_arg(uint64_t hw_binder_pro… in vts_func_4_android_hardware_nfc_V1_0_INfc_with_arg()
288 android::vts::DriverBase* result = in vts_func_4_android_hardware_nfc_V1_0_INfc_with_arg()
DMemoryTest.driver.cpp273 android::vts::DriverBase* vts_func_4_android_hardware_tests_memory_V1_0_IMemoryTest_() { in vts_func_4_android_hardware_tests_memory_V1_0_IMemoryTest_()
274 …return (android::vts::DriverBase*) new android::vts::FuzzerExtended_android_hardware_tests_memory_… in vts_func_4_android_hardware_tests_memory_V1_0_IMemoryTest_()
277 android::vts::DriverBase* vts_func_4_android_hardware_tests_memory_V1_0_IMemoryTest_with_arg(uint64… in vts_func_4_android_hardware_tests_memory_V1_0_IMemoryTest_with_arg()
284 android::vts::DriverBase* result = in vts_func_4_android_hardware_tests_memory_V1_0_IMemoryTest_with_arg()
DTestMsgQ.driver.cpp394 android::vts::DriverBase* vts_func_4_android_hardware_tests_msgq_V1_0_ITestMsgQ_() { in vts_func_4_android_hardware_tests_msgq_V1_0_ITestMsgQ_()
395 …return (android::vts::DriverBase*) new android::vts::FuzzerExtended_android_hardware_tests_msgq_V1… in vts_func_4_android_hardware_tests_msgq_V1_0_ITestMsgQ_()
398 android::vts::DriverBase* vts_func_4_android_hardware_tests_msgq_V1_0_ITestMsgQ_with_arg(uint64_t h… in vts_func_4_android_hardware_tests_msgq_V1_0_ITestMsgQ_with_arg()
405 android::vts::DriverBase* result = in vts_func_4_android_hardware_tests_msgq_V1_0_ITestMsgQ_with_arg()
DlibcV1.driver.cpp211 android::vts::DriverBase* vts_func_11_1002_V1_0_() { in vts_func_11_1002_V1_0_()
212 return (android::vts::DriverBase*) new android::vts::FuzzerExtended_libc(); in vts_func_11_1002_V1_0_()
DBar.driver.cpp1549 android::vts::DriverBase* vts_func_4_android_hardware_tests_bar_V1_0_IBar_() { in vts_func_4_android_hardware_tests_bar_V1_0_IBar_()
1550 …return (android::vts::DriverBase*) new android::vts::FuzzerExtended_android_hardware_tests_bar_V1_… in vts_func_4_android_hardware_tests_bar_V1_0_IBar_()
1553 android::vts::DriverBase* vts_func_4_android_hardware_tests_bar_V1_0_IBar_with_arg(uint64_t hw_bind… in vts_func_4_android_hardware_tests_bar_V1_0_IBar_with_arg()
1560 android::vts::DriverBase* result = in vts_func_4_android_hardware_tests_bar_V1_0_IBar_with_arg()
/test/vts/drivers/hal/common/include/driver_manager/
DVtsHalDriverManager.h121 DriverId RegisterDriver(std::unique_ptr<DriverBase> driver,
127 DriverBase* GetDriverById(const DriverId id);
134 DriverBase* GetDriverWithCallMsg(const FunctionCallMessage& call_msg);
184 std::unique_ptr<DriverBase> driver;
189 std::unique_ptr<DriverBase> driver) in HalDriverInfo()
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerRunner.cpp101 static void GetService(DriverBase *hal, string service_name, bool binder_mode) { in GetService()
124 DriverBase *ProtoFuzzerRunner::LoadInterface(const CompSpec &comp_spec, in LoadInterface()
126 DriverBase *hal; in LoadInterface()
136 using loader_func = DriverBase *(*)(uint64_t); in LoadInterface()
140 using loader_func = DriverBase *(*)(); in LoadInterface()
164 std::shared_ptr<DriverBase> hal{LoadInterface(*comp_spec)}; in Init()
221 std::shared_ptr<DriverBase> hal{LoadInterface(*comp_spec, hidl_service)}; in ProcessReturnValue()
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/test/vts/specification/lib/ndk/bionic/1.0/
DlibcV1.vts.h22 class FuzzerExtended_libc : public DriverBase {
24 FuzzerExtended_libc() : DriverBase(LIB_SHARED) {} in FuzzerExtended_libc()
35 extern android::vts::DriverBase* vts_func_11_1002_V1_0_();
/test/vts/drivers/hal/common/include/driver_base/
DDriverBase.h33 class DriverBase {
35 explicit DriverBase(int target_class);
36 virtual ~DriverBase();
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp79 std::unique_ptr<DriverBase> hal_driver = nullptr; in LoadTargetComponent()
104 DriverBase* driver = GetDriverWithCallMsg(*call_msg); in CallFunction()
167 DriverBase* driver = GetDriverById(id); in VerifyResults()
177 DriverBase* driver = GetDriverWithCallMsg(*call_msg); in GetAttribute()
215 std::unique_ptr<DriverBase> driver, in RegisterDriver()
230 DriverBase* VtsHalDriverManager::GetDriverById(const DriverId id) { in GetDriverById()
357 DriverBase* VtsHalDriverManager::GetDriverWithCallMsg( in GetDriverWithCallMsg()
639 std::unique_ptr<DriverBase> driver; in SetHidlHalFunctionCallResults()
/test/vts-testcase/fuzz/iface_fuzzer/include/
DProtoFuzzerRunner.h34 std::shared_ptr<DriverBase> hal_;
69 DriverBase *LoadInterface(const CompSpec &, uint64_t);
/test/vts/drivers/hal/common/
DAndroid.bp68 "driver_base/DriverBase.cpp",
/test/vts/proto/
DComponentSpecificationMessage.proto499 // pointer value. Passed from a DriverBase instance to the VTS HAL driver
501 // case is when this variable is passed to a DriverBase instance from the
503 // (potentially nested or main) DriverBase instance.