Home
last modified time | relevance | path

Searched refs:propId (Results 1 – 17 of 17) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DSubscriptionManager.cpp51 ALOGI("%s opts.propId: 0x%x", __func__, opts.propId); in addOrUpdateSubscription()
53 auto it = mSubscriptions.find(opts.propId); in addOrUpdateSubscription()
55 mSubscriptions.emplace(opts.propId, opts); in addOrUpdateSubscription()
61 mSubscriptions.emplace(opts.propId, updatedOptions); in addOrUpdateSubscription()
66 bool HalClient::isSubscribed(int32_t propId, in isSubscribed() argument
68 auto it = mSubscriptions.find(propId); in isSubscribed()
80 … ALOGI("%s propId: 0x%x, propId: 0x%x", __func__, subscription.first, subscription.second.propId); in getSubscribedProperties()
104 ALOGI("SubscriptionManager::addOrUpdateSubscription, prop: 0x%x", opts.propId); in addOrUpdateSubscription()
107 addClientToPropMapLocked(opts.propId, client); in addOrUpdateSubscription()
147 std::list<sp<HalClient>> SubscriptionManager::getSubscribedClients(int32_t propId, in getSubscribedClients() argument
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehiclePropertyStore.h74 void removeValuesForProperty(int32_t propId);
77 std::vector<VehiclePropValue> readValuesForProperty(int32_t propId) const;
83 const VehiclePropConfig* getConfigOrNull(int32_t propId) const;
84 const VehiclePropConfig* getConfigOrDie(int32_t propId) const;
89 PropertyMapRange findRangeLocked(int32_t propId) const;
DSubscriptionManager.h52 bool isSubscribed(int32_t propId, SubscribeFlags flags);
117 std::list<sp<HalClient>> getSubscribedClients(int32_t propId, SubscribeFlags flags) const;
122 void unsubscribe(ClientId clientId, int32_t propId);
124 std::list<sp<HalClient>> getSubscribedClientsLocked(int32_t propId,
129 void addClientToPropMapLocked(int32_t propId, const sp<HalClient>& client);
131 sp<HalClientVector> getClientsForPropertyLocked(int32_t propId) const;
DVehicleHal.h115 int32_t propId, in doHalPropertySetError() argument
117 mOnHalPropertySetError(errorCode, propId, areaId); in doHalPropertySetError()
DVehicleHalManager.h73 int32_t propId) override;
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DSubscriptionManager_test.cpp54 SubscribeOptions{.propId = PROP1, .flags = SubscribeFlags::EVENTS_FROM_CAR},
58 SubscribeOptions{.propId = PROP2, .flags = SubscribeFlags::EVENTS_FROM_CAR},
62 SubscribeOptions{.propId = PROP1, .flags = SubscribeFlags::EVENTS_FROM_CAR},
63 SubscribeOptions{.propId = PROP2, .flags = SubscribeFlags::EVENTS_FROM_CAR},
144 1, cb1, {SubscribeOptions{.propId = PROP1, .flags = SubscribeFlags::EVENTS_FROM_CAR}}, in TEST_F()
DVehicleHalManager_test.cpp256 SubscribeOptions{.propId = PROP, .flags = SubscribeFlags::EVENTS_FROM_CAR}, in TEST_F()
271 SubscribeOptions{.propId = PROP, .flags = SubscribeFlags::EVENTS_FROM_CAR}}; in TEST_F()
308 SubscribeOptions{.propId = PROP, .flags = SubscribeFlags::EVENTS_FROM_CAR}, in TEST_F()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DLinearFakeValueGenerator.cpp35 .propId = v.int32Values[1], in LinearFakeValueGenerator()
50 VehiclePropValue event = {.timestamp = {}, .areaId = {}, .prop = mGenCfg.propId}; in nextEvent()
DEmulatedVehicleHal.cpp139 auto propId = requestedPropValue.prop; in get() local
140 ALOGV("get(%d)", propId); in get()
145 switch (propId) { in get()
155 if (mEmulatedUserHal != nullptr && mEmulatedUserHal->isSupported(propId)) { in get()
156 ALOGI("get(): getting value for prop %d from User HAL", propId); in get()
376 bool EmulatedVehicleHal::isContinuousProperty(int32_t propId) const { in isContinuousProperty()
377 const VehiclePropConfig* config = mPropStore->getConfigOrNull(propId); in isContinuousProperty()
379 ALOGW("Config not found for property: 0x%x", propId); in isContinuousProperty()
DLinearFakeValueGenerator.h37 int32_t propId; member
DVehicleEmulator.cpp114 int32_t propId = getProp.prop(); in doGetProperty() local
126 .prop = propId, in doGetProperty()
DEmulatedVehicleHal.h77 bool isContinuousProperty(int32_t propId) const;
/hardware/interfaces/automotive/vehicle/2.0/vts/functional/
DVtsHalAutomotiveVehicleV2_0TargetTest.cpp237 SubscribeOptions{.propId = prop, 100.0, .flags = SubscribeFlags::EVENTS_FROM_CAR}}; in TEST_P()
254 .propId = kInvalidProp, 10.0, .flags = SubscribeFlags::EVENTS_FROM_CAR}}; in TEST_P()
/hardware/interfaces/automotive/vehicle/2.0/
DIVehicleCallback.hal57 int32_t propId,
DIVehicle.hal87 unsubscribe(IVehicleCallback callback, int32_t propId)
Dtypes.hal2635 * configArray[n] = propId : property ID for the vendor property
4164 int32_t propId;
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/
DVehicleManager_fuzzer.cpp197 SubscribeOptions{.propId = prop1, .flags = SubscribeFlags::EVENTS_FROM_CAR}}; in invokeSubscribe()
222 .propId = toInt(kVehicleProp[abs(vehicleProp3) % kVehiclePropArrayLength]), in invokeSubscribe()