Home
last modified time | relevance | path

Searched refs:mBusNames (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/
DAutomotiveCanV1_0Fuzzer.cpp36 if (mBusNames.size() > 0 && mLastInterface < mBusNames.size()) { in makeBus()
37 config.name = mBusNames[mLastInterface++]; in makeBus()
69 (shouldInvokeValidBus) && (mBusNames.size() > 0)) { in invokeUpInterface()
71 mFuzzedDataProvider->ConsumeIntegralInRange<size_t>(0, mBusNames.size() - 1); in invokeUpInterface()
72 configName = mBusNames[busNameIndex]; in invokeUpInterface()
118 (shouldInvokeValidBus) && (mBusNames.size() > 0)) { in invokeDownInterface()
120 if (mBusNames.size() == 1) { in invokeDownInterface()
124 mFuzzedDataProvider->ConsumeIntegralInRange<size_t>(0, mBusNames.size() - 1); in invokeDownInterface()
126 configName = mBusNames[busNameIndex]; in invokeDownInterface()
190 mBusNames = {}; in deInit()
[all …]
DAutomotiveCanV1_0Fuzzer.h123 hidl_vec<hidl_string> mBusNames = {}; variable
/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanControllerV1_0TargetTest.cpp77 static hidl_vec<hidl_string> mBusNames; member in android::hardware::automotive::can::V1_0::vts::CanControllerHalTest
83 hidl_vec<hidl_string> CanControllerHalTest::mBusNames; member in android::hardware::automotive::can::V1_0::vts::CanControllerHalTest
98 mBusNames = utils::getBusNames(); in SetUpTestCase()
99 ASSERT_NE(0u, mBusNames.size()) << "No ICanBus HALs defined in device manifest"; in SetUpTestCase()
168 config.name = mBusNames[0]; in makeBus()
180 const std::string name = mBusNames[0]; in TEST_P()
200 const std::string name = mBusNames[0]; in TEST_P()
302 const std::string name = mBusNames[0]; in TEST_P()
313 const std::string name = mBusNames[0]; in TEST_P()
329 const std::string name = mBusNames[0]; in TEST_P()
DVtsHalCanBusVirtualV1_0TargetTest.cpp144 static hidl_vec<hidl_string> mBusNames; member in android::hardware::automotive::can::V1_0::vts::CanBusVirtualHalTest
152 hidl_vec<hidl_string> CanBusVirtualHalTest::mBusNames; member in android::hardware::automotive::can::V1_0::vts::CanBusVirtualHalTest
183 mBusNames = utils::getBusNames(); in SetUpTestCase()
184 ASSERT_NE(0u, mBusNames.size()) << "No ICanBus HALs defined in device manifest"; in SetUpTestCase()
191 EXPECT_LT(idx, mBusNames.size()); in makeBus()
194 config.name = mBusNames[idx]; in makeBus()
220 if (mBusNames.size() < 2u) GTEST_SKIP() << "Not testable with less than two CAN buses."; in TEST_P()
240 if (mBusNames.size() < 2u) GTEST_SKIP() << "Not testable with less than two CAN buses."; in TEST_P()
251 if (mBusNames.size() < 2u) GTEST_SKIP() << "Not testable with less than two CAN buses."; in TEST_P()
415 if (mBusNames.size() < 2u) GTEST_SKIP() << "Not testable with less than two CAN buses."; in TEST_P()
[all …]