Home
last modified time | relevance | path

Searched refs:DefaultVehicleHal (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/src/
DDefaultVehicleHal.cpp100 DefaultVehicleHal::DefaultVehicleHal(std::unique_ptr<IVehicleHardware> vehicleHardware) in DefaultVehicleHal() function in android::hardware::automotive::vehicle::DefaultVehicleHal
101 : DefaultVehicleHal(std::move(vehicleHardware), /* testInterfaceVersion= */ 0){}; in DefaultVehicleHal()
103 DefaultVehicleHal::DefaultVehicleHal(std::unique_ptr<IVehicleHardware> vehicleHardware, in DefaultVehicleHal() function in android::hardware::automotive::vehicle::DefaultVehicleHal
154 AIBinder_DeathRecipient_new(&DefaultVehicleHal::onBinderDied)); in DefaultVehicleHal()
156 &DefaultVehicleHal::onBinderUnlinked); in DefaultVehicleHal()
159 DefaultVehicleHal::~DefaultVehicleHal() { in ~DefaultVehicleHal()
185 void DefaultVehicleHal::batchPropertyChangeEvent( in batchPropertyChangeEvent()
196 void DefaultVehicleHal::handleBatchedPropertyEvents(std::vector<VehiclePropValue>&& batchedEvents) { in handleBatchedPropertyEvents()
200 void DefaultVehicleHal::onPropertyChangeEvent( in onPropertyChangeEvent()
215 void DefaultVehicleHal::onPropertySetErrorEvent( in onPropertySetErrorEvent()
[all …]
Dfuzzer.cpp23 using ::android::hardware::automotive::vehicle::DefaultVehicleHal;
29 std::shared_ptr<DefaultVehicleHal> vhal = in LLVMFuzzerTestOneInput()
30 ::ndk::SharedRefBase::make<DefaultVehicleHal>(std::move(hardware)); in LLVMFuzzerTestOneInput()
DVehicleService.cpp26 using ::android::hardware::automotive::vehicle::DefaultVehicleHal;
38 std::shared_ptr<DefaultVehicleHal> vhal = in main()
39 ::ndk::SharedRefBase::make<DefaultVehicleHal>(std::move(hardware)); in main()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultVehicleHal.cpp62 VehicleHal::VehiclePropValuePtr DefaultVehicleHal::createVhalHeartBeatProp() { in createVhalHeartBeatProp()
70 DefaultVehicleHal::DefaultVehicleHal(VehiclePropertyStore* propStore, VehicleHalClient* client) in DefaultVehicleHal() function in android::hardware::automotive::vehicle::V2_0::impl::DefaultVehicleHal
79 VehicleHal::VehiclePropValuePtr DefaultVehicleHal::getUserHalProp( in getUserHalProp()
102 VehicleHal::VehiclePropValuePtr DefaultVehicleHal::get(const VehiclePropValue& requestedPropValue, in get()
139 std::vector<VehiclePropConfig> DefaultVehicleHal::listProperties() { in listProperties()
143 bool DefaultVehicleHal::dump(const hidl_handle& fd, const hidl_vec<hidl_string>& options) { in dump()
177 StatusCode DefaultVehicleHal::checkPropValue(const VehiclePropValue& value, in checkPropValue()
232 StatusCode DefaultVehicleHal::checkVendorMixedPropValue(const VehiclePropValue& value, in checkVendorMixedPropValue()
282 StatusCode DefaultVehicleHal::checkValueRange(const VehiclePropValue& value, in checkValueRange()
332 StatusCode DefaultVehicleHal::setUserHalProp(const VehiclePropValue& propValue) { in setUserHalProp()
[all …]
DEmulatedVehicleHal.h34 class EmulatedVehicleHal : public DefaultVehicleHal {
37 : DefaultVehicleHal(propStore, client){}; in EmulatedVehicleHal()
DDefaultVehicleHal.h36 class DefaultVehicleHal : public VehicleHal {
38 DefaultVehicleHal(VehiclePropertyStore* propStore, VehicleHalClient* client);
39 ~DefaultVehicleHal();
/hardware/interfaces/automotive/vehicle/aidl/rust_impl/vhal/src/
Ddefault_vehicle_hal.rs12 pub struct DefaultVehicleHal; struct
14 impl Interface for DefaultVehicleHal {} implementation
16 impl IVehicle for DefaultVehicleHal { implementation
Dmain.rs4 use crate::default_vehicle_hal::DefaultVehicleHal;
8 let my_service = DefaultVehicleHal; in main()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/
DAndroid.bp35 "DefaultVehicleHal",
48 name: "DefaultVehicleHal",
57 "src/DefaultVehicleHal.cpp",
86 "DefaultVehicleHal",
/hardware/interfaces/automotive/vehicle/2.0/default/
DVehicleService.cpp30 using ::android::hardware::automotive::vehicle::V2_0::impl::DefaultVehicleHal;
35 auto hal = std::make_unique<DefaultVehicleHal>(store.get(), connector.get()); in main()
DAndroid.bp93 "impl/vhal_v2_0/DefaultVehicleHal.cpp",
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/include/
DDefaultVehicleHal.h47 class DefaultVehicleHal final : public aidlvhal::BnVehicle {
51 explicit DefaultVehicleHal(std::unique_ptr<IVehicleHardware> hardware);
54 DefaultVehicleHal(std::unique_ptr<IVehicleHardware> hardware, int32_t testInterfaceVersion);
56 ~DefaultVehicleHal();
107 DefaultVehicleHal* vhal;
/hardware/interfaces/automotive/vehicle/aidl/impl/
DREADME.md44 Defines a library `DefaultVehicleHal` which provides generic logic for all VHAL
51 interface. It uses `DefaultVehicleHal`, along with `FakeVehicleHardware`
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DAndroid.bp27 "DefaultVehicleHal",
DDefaultVehicleHalTest.cpp410 mVhal = ndk::SharedRefBase::make<DefaultVehicleHal>(std::move(hardware)); in init()
538 class TestBinderLifecycleHandler final : public DefaultVehicleHal::BinderLifecycleInterface {
556 std::shared_ptr<DefaultVehicleHal> mVhal;
577 auto vhal = ndk::SharedRefBase::make<DefaultVehicleHal>(std::move(hardware)); in TEST_F()
598 auto vhal = ndk::SharedRefBase::make<DefaultVehicleHal>(std::move(hardware)); in TEST_F()
626 auto vhal = ndk::SharedRefBase::make<DefaultVehicleHal>(std::move(hardware), in TEST_F()
653 auto vhal = ndk::SharedRefBase::make<DefaultVehicleHal>(std::move(hardware)); in TEST_F()
675 auto vhal = ndk::SharedRefBase::make<DefaultVehicleHal>(std::move(hardware)); in TEST_F()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/
DDefaultVhalImpl_test.cpp72 using ::android::hardware::automotive::vehicle::V2_0::impl::DefaultVehicleHal;
113 mHal.reset(new DefaultVehicleHal(mPropStore.get(), mConnector.get())); in SetUp()
125 std::unique_ptr<DefaultVehicleHal> mHal;
886 mHal.reset(new DefaultVehicleHal(mPropStore.get(), mConnector.get())); in TEST_F()
926 mHal.reset(new DefaultVehicleHal(mPropStore.get(), mConnector.get())); in TEST_F()
962 mHal.reset(new DefaultVehicleHal(mPropStore.get(), mConnector.get())); in TEST_F()