Searched refs:mHardware (Results 1 – 7 of 7) sorted by relevance
109 std::unique_ptr<GRPCVehicleHardware> mHardware; member in android::hardware::automotive::vehicle::virtualization::GRPCVehicleHardwareMockServerUnitTest115 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 …]
43 : 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()
121 std::unique_ptr<IVehicleHardware> mHardware; variable
92 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
111 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::FakeVehicleHardwareTestHelper128 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
140 FakeVehicleHardware* mHardware;
2500 : mHardware(hardware) { in PendingRequestHandler()2534 auto result = mHardware->handleGetValueRequest(rwc.request); in handleRequestsOnce()2552 auto result = mHardware->handleSetValueRequest(rwc.request); in handleRequestsOnce()