/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | SubscriptionManager.cpp | 51 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/ |
D | VehiclePropertyStore.h | 74 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;
|
D | SubscriptionManager.h | 52 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;
|
D | VehicleHal.h | 115 int32_t propId, in doHalPropertySetError() argument 117 mOnHalPropertySetError(errorCode, propId, areaId); in doHalPropertySetError()
|
D | VehicleHalManager.h | 73 int32_t propId) override;
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | SubscriptionManager_test.cpp | 54 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()
|
D | VehicleHalManager_test.cpp | 256 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/ |
D | LinearFakeValueGenerator.cpp | 35 .propId = v.int32Values[1], in LinearFakeValueGenerator() 50 VehiclePropValue event = {.timestamp = {}, .areaId = {}, .prop = mGenCfg.propId}; in nextEvent()
|
D | EmulatedVehicleHal.cpp | 139 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()
|
D | LinearFakeValueGenerator.h | 37 int32_t propId; member
|
D | VehicleEmulator.cpp | 114 int32_t propId = getProp.prop(); in doGetProperty() local 126 .prop = propId, in doGetProperty()
|
D | EmulatedVehicleHal.h | 77 bool isContinuousProperty(int32_t propId) const;
|
/hardware/interfaces/automotive/vehicle/2.0/vts/functional/ |
D | VtsHalAutomotiveVehicleV2_0TargetTest.cpp | 237 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/ |
D | IVehicleCallback.hal | 57 int32_t propId,
|
D | IVehicle.hal | 87 unsubscribe(IVehicleCallback callback, int32_t propId)
|
D | types.hal | 2635 * configArray[n] = propId : property ID for the vendor property 4164 int32_t propId;
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/ |
D | VehicleManager_fuzzer.cpp | 197 SubscribeOptions{.propId = prop1, .flags = SubscribeFlags::EVENTS_FROM_CAR}}; in invokeSubscribe() 222 .propId = toInt(kVehicleProp[abs(vehicleProp3) % kVehiclePropArrayLength]), in invokeSubscribe()
|