/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 …]
|
D | VehiclePropertyStore.cpp | 72 void VehiclePropertyStore::removeValuesForProperty(int32_t propId) { in removeValuesForProperty() argument 74 auto range = findRangeLocked(propId); in removeValuesForProperty() 88 std::vector<VehiclePropValue> VehiclePropertyStore::readValuesForProperty(int32_t propId) const { in readValuesForProperty() 91 auto range = findRangeLocked(propId); in readValuesForProperty() 126 const VehiclePropConfig* VehiclePropertyStore::getConfigOrNull(int32_t propId) const { in getConfigOrNull() 128 auto recordConfigIt = mConfigs.find(propId); in getConfigOrNull() 132 const VehiclePropConfig* VehiclePropertyStore::getConfigOrDie(int32_t propId) const { in getConfigOrDie() 133 auto cfg = getConfigOrNull(propId); in getConfigOrDie() 135 ALOGW("%s: config not found for property: 0x%x", __func__, propId); in getConfigOrDie() 164 VehiclePropertyStore::PropertyMapRange VehiclePropertyStore::findRangeLocked(int32_t propId) const { in findRangeLocked() [all …]
|
D | VehicleHalManager.cpp | 125 auto prop = ops.propId; in subscribe() 158 mHal->subscribe(opt.propId, opt.sampleRate); in subscribe() 165 int32_t propId) { in unsubscribe() argument 166 mSubscriptionManager.unsubscribe(getClientId(callback), propId); in unsubscribe()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | VehiclePropertyStore.h | 73 void removeValuesForProperty(int32_t propId); 76 std::vector<VehiclePropValue> readValuesForProperty(int32_t propId) const; 82 const VehiclePropConfig* getConfigOrNull(int32_t propId) const; 83 const VehiclePropConfig* getConfigOrDie(int32_t propId) const; 88 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 | 95 int32_t propId, in doHalPropertySetError() argument 97 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 | 244 SubscribeOptions{.propId = PROP, .flags = SubscribeFlags::EVENTS_FROM_CAR}, in TEST_F() 259 SubscribeOptions{.propId = PROP, .flags = SubscribeFlags::EVENTS_FROM_CAR}}; in TEST_F() 296 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() 49 VehiclePropValue event = {.prop = mGenCfg.propId}; in nextEvent()
|
D | LinearFakeValueGenerator.h | 37 int32_t propId; member
|
D | EmulatedVehicleHal.cpp | 106 auto propId = requestedPropValue.prop; in get() local 110 switch (propId) { in get() 339 bool EmulatedVehicleHal::isContinuousProperty(int32_t propId) const { in isContinuousProperty() 340 const VehiclePropConfig* config = mPropStore->getConfigOrNull(propId); in isContinuousProperty() 342 ALOGW("Config not found for property: 0x%x", propId); in isContinuousProperty()
|
D | EmulatedVehicleHal.h | 75 bool isContinuousProperty(int32_t propId) const;
|
D | VehicleEmulator.cpp | 113 int32_t propId = getProp.prop(); in doGetProperty() local 125 .prop = propId, in doGetProperty()
|
/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 | 2963 int32_t propId;
|