Home
last modified time | relevance | path

Searched refs:MockVehicleHardware (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DMockVehicleHardware.cpp36 MockVehicleHardware::MockVehicleHardware() { in MockVehicleHardware() function in android::hardware::automotive::vehicle::MockVehicleHardware
40 MockVehicleHardware::~MockVehicleHardware() { in ~MockVehicleHardware()
46 std::vector<VehiclePropConfig> MockVehicleHardware::getAllPropertyConfigs() const { in getAllPropertyConfigs()
51 StatusCode MockVehicleHardware::setValues(std::shared_ptr<const SetValuesCallback> callback, in setValues()
70 StatusCode MockVehicleHardware::getValues(std::shared_ptr<const GetValuesCallback> callback, in getValues()
80 void MockVehicleHardware::setDumpResult(DumpResult result) { in setDumpResult()
84 DumpResult MockVehicleHardware::dump(const std::vector<std::string>&) { in dump()
88 StatusCode MockVehicleHardware::checkHealth() { in checkHealth()
92 StatusCode MockVehicleHardware::subscribe(SubscribeOptions options) { in subscribe()
106 std::vector<SubscribeOptions> MockVehicleHardware::getSubscribeOptions() { in getSubscribeOptions()
[all …]
DMockVehicleHardware.h42 class MockVehicleHardware final : public IVehicleHardware {
44 MockVehicleHardware();
46 ~MockVehicleHardware();
DDefaultVehicleHalTest.cpp258 void SetUp() override { init(std::make_unique<MockVehicleHardware>()); } in SetUp()
260 void init(std::unique_ptr<MockVehicleHardware> hardware) { in init()
428 MockVehicleHardware* getHardware() { return mHardwarePtr; } in getHardware()
558 MockVehicleHardware* mHardwarePtr;
575 auto hardware = std::make_unique<MockVehicleHardware>(); in TEST_F()
596 auto hardware = std::make_unique<MockVehicleHardware>(); in TEST_F()
624 auto hardware = std::make_unique<MockVehicleHardware>(); in TEST_F()
651 auto hardware = std::make_unique<MockVehicleHardware>(); in TEST_F()
673 auto hardware = std::make_unique<MockVehicleHardware>(); in TEST_F()
1974 auto hardware = std::make_unique<MockVehicleHardware>(); in TEST_F()
DSubscriptionManagerTest.cpp92 mHardware = std::make_shared<MockVehicleHardware>(); in SetUp()
119 std::shared_ptr<MockVehicleHardware> getHardware() { return mHardware; } in getHardware()
125 std::shared_ptr<MockVehicleHardware> mHardware;
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/test/
DGRPCVehicleProxyServerUnitTest.cpp81 class MockVehicleHardware : public IVehicleHardware { class
176 auto mockHardware = std::make_unique<MockVehicleHardware>(); in TEST()
178 MockVehicleHardware* mockHardwarePtr = mockHardware.get(); in TEST()
205 auto mockHardware = std::make_unique<MockVehicleHardware>(); in TEST()
207 MockVehicleHardware* mockHardwarePtr = mockHardware.get(); in TEST()
223 auto mockHardware = std::make_unique<MockVehicleHardware>(); in TEST()
225 MockVehicleHardware* mockHardwarePtr = mockHardware.get(); in TEST()