Home
last modified time | relevance | path

Searched refs:propIdAreaId (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/src/
DSubscriptionManager.cpp156 const PropIdAreaId& propIdAreaId) { in addOnChangeSubscriberLocked() argument
157 if (mClientsByPropIdAreaId.find(propIdAreaId) != mClientsByPropIdAreaId.end()) { in addOnChangeSubscriberLocked()
162 int32_t propId = propIdAreaId.propId; in addOnChangeSubscriberLocked()
163 int32_t areaId = propIdAreaId.areaId; in addOnChangeSubscriberLocked()
176 const ClientIdType& clientId, const PropIdAreaId& propIdAreaId, float sampleRateHz, in addContinuousSubscriberLocked() argument
179 ContSubConfigs newConfig = mContSubConfigsByPropIdArea[propIdAreaId]; in addContinuousSubscriberLocked()
186 return updateContSubConfigsLocked(propIdAreaId, newConfig); in addContinuousSubscriberLocked()
190 const ClientIdType& clientId, const PropIdAreaId& propIdAreaId) { in removeContinuousSubscriberLocked() argument
192 ContSubConfigs newConfig = mContSubConfigsByPropIdArea[propIdAreaId]; in removeContinuousSubscriberLocked()
194 return updateContSubConfigsLocked(propIdAreaId, newConfig); in removeContinuousSubscriberLocked()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/include/
DSubscriptionManager.h166 const PropIdAreaId& propIdAreaId,
169 VhalResult<void> addOnChangeSubscriberLocked(const PropIdAreaId& propIdAreaId) REQUIRES(mLock);
172 const PropIdAreaId& propIdAreaId)
175 VhalResult<void> removeOnChangeSubscriberLocked(const PropIdAreaId& propIdAreaId)
182 const PropIdAreaId& propIdAreaId)
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp1771 PROP_ID_TO_CSTR(propIdAreaId.propId), propIdAreaId.areaId, in genFakeDataHelp()
1775 for (const auto& propIdAreaId : mSubOnChangePropIdAreaIds) { local
1777 PROP_ID_TO_CSTR(propIdAreaId.propId), propIdAreaId.areaId);
2285 for (const PropIdAreaId& propIdAreaId : actionForInterval.propIdAreaIdsToRefresh) { in refreshTimestampForInterval() local
2286 const RefreshInfo& refreshInfo = mRefreshInfoByPropIdAreaId[propIdAreaId]; in refreshTimestampForInterval()
2287 eventModeByPropIdAreaId[propIdAreaId] = refreshInfo.eventMode; in refreshTimestampForInterval()
2294 void FakeVehicleHardware::registerRefreshLocked(PropIdAreaId propIdAreaId, in registerRefreshLocked() argument
2297 if (mRefreshInfoByPropIdAreaId.find(propIdAreaId) != mRefreshInfoByPropIdAreaId.end()) { in registerRefreshLocked()
2298 unregisterRefreshLocked(propIdAreaId); in registerRefreshLocked()
2306 mRefreshInfoByPropIdAreaId[propIdAreaId] = refreshInfo; in registerRefreshLocked()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DVehiclePropertyStore.cpp192 PropIdAreaId propIdAreaId = { in refreshTimestamp() local
196 eventModeByPropIdAreaId[propIdAreaId] = eventMode; in refreshTimestamp()
211 for (const auto& [propIdAreaId, eventMode] : eventModeByPropIdAreaId) { in refreshTimestamps()
212 int32_t propId = propIdAreaId.propId; in refreshTimestamps()
213 int32_t areaId = propIdAreaId.areaId; in refreshTimestamps()
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DVehicleUtils.h323 inline size_t operator()(const PropIdAreaId& propIdAreaId) const { in operator()
325 hashCombine(res, propIdAreaId.propId); in operator()
326 hashCombine(res, propIdAreaId.areaId); in operator()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/include/
DFakeVehicleHardware.h296 void registerRefreshLocked(PropIdAreaId propIdAreaId, VehiclePropertyStore::EventMode eventMode,
298 void unregisterRefreshLocked(PropIdAreaId propIdAreaId) REQUIRES(mLock);
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/
DFakeVehicleHardwareTest.cpp300 PropIdAreaId propIdAreaId{ in onPropertyChangeEvent() local
304 mEventCount[propIdAreaId]++; in onPropertyChangeEvent()
324 PropIdAreaId propIdAreaId{ in waitForChangedProperties() local
329 return mCv.wait_for(lk, timeout, [this, propIdAreaId, count] { in waitForChangedProperties()
331 return mEventCount[propIdAreaId] >= count; in waitForChangedProperties()
342 PropIdAreaId propIdAreaId{ in getEventCount() local
347 return mEventCount[propIdAreaId]; in getEventCount()