Home
last modified time | relevance | path

Searched refs:mHardware (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/test/
DGRPCVehicleHardwareUnitTest.cpp109 std::unique_ptr<GRPCVehicleHardware> mHardware; member in android::hardware::automotive::vehicle::virtualization::GRPCVehicleHardwareMockServerUnitTest
115 mHardware = std::make_unique<GRPCVehicleHardware>(std::move(stub)); in SetUp()
118 void TearDown() override { mHardware.reset(); } in TearDown()
139 auto status = mHardware->subscribe(options); in TEST_F()
155 auto status = mHardware->subscribe(options); in TEST_F()
165 auto status = mHardware->subscribe(options); in TEST_F()
179 auto status = mHardware->subscribe(options); in TEST_F()
195 auto status = mHardware->unsubscribe(propId, areaId); in TEST_F()
206 auto status = mHardware->unsubscribe(1, 2); in TEST_F()
215 auto status = mHardware->unsubscribe(1, 2); in TEST_F()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/
DGRPCVehicleProxyServer.cpp43 : mServiceAddr(std::move(serverAddr)), mHardware(std::move(hardware)) { in GrpcVehicleProxyServer()
44 mHardware->registerOnPropertyChangeEvent( in GrpcVehicleProxyServer()
54 for (const auto& config : mHardware->getAllPropertyConfigs()) { in GetAllPropertyConfig()
77 auto aidlStatus = mHardware->setValues( in SetValues()
122 auto aidlStatus = mHardware->getValues( in GetValues()
161 const auto status_code = mHardware->updateSampleRate(request->prop(), request->area_id(), in UpdateSampleRate()
173 const auto status_code = mHardware->subscribe(aidlSubscribeOptions); in Subscribe()
183 const auto status_code = mHardware->unsubscribe(propId, areaId); in Unsubscribe()
191 status->set_status_code(static_cast<proto::StatusCode>(mHardware->checkHealth())); in CheckHealth()
200 auto dumpResult = mHardware->dump(dumpOptionStrings); in Dump()
DGRPCVehicleProxyServer.h121 std::unique_ptr<IVehicleHardware> mHardware; variable
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DSubscriptionManagerTest.cpp92 mHardware = std::make_shared<MockVehicleHardware>(); in SetUp()
93 mManager = std::make_unique<SubscriptionManager>(mHardware.get()); in SetUp()
99 mHardware->registerOnPropertyChangeEvent( in SetUp()
119 std::shared_ptr<MockVehicleHardware> getHardware() { return mHardware; } in getHardware()
125 std::shared_ptr<MockVehicleHardware> mHardware; member in android::hardware::automotive::vehicle::SubscriptionManagerTest
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/
DFakeVehicleHardwareTest.cpp111 FakeVehicleHardwareTestHelper(FakeVehicleHardware* hardware) { mHardware = hardware; } in FakeVehicleHardwareTestHelper()
114 return mHardware->loadConfigDeclarations(); in loadConfigDeclarations()
118 return mHardware->hvacPowerDependentProps; in getHvacPowerDependentProps()
122 FakeVehicleHardware* mHardware; member in android::hardware::automotive::vehicle::fake::FakeVehicleHardwareTestHelper
128 mHardware = std::make_unique<FakeVehicleHardware>(android::base::GetExecutableDirectory(), in SetUp()
145 mHardware.reset(); in TearDown()
148 FakeVehicleHardware* getHardware() { return mHardware.get(); } in getHardware()
151 mHardware = std::move(hardware); in setHardware()
419 auto configs = mHardware->getAllPropertyConfigs(); in getVehiclePropConfig()
438 std::unique_ptr<FakeVehicleHardware> mHardware; member in android::hardware::automotive::vehicle::fake::FakeVehicleHardwareTest
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/include/
DFakeVehicleHardware.h140 FakeVehicleHardware* mHardware;
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp2500 : mHardware(hardware) { in PendingRequestHandler()
2534 auto result = mHardware->handleGetValueRequest(rwc.request); in handleRequestsOnce()
2552 auto result = mHardware->handleSetValueRequest(rwc.request); in handleRequestsOnce()