Home
last modified time | relevance | path

Searched refs:recId (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp48 RecordId recId = getRecordIdLocked(propValue); in writeValueLocked() local
49 VehiclePropValue* valueToUpdate = const_cast<VehiclePropValue*>(getValueOrNullLocked(recId)); in writeValueLocked()
51 mPropertyValues.insert({ recId, propValue }); in writeValueLocked()
87 RecordId recId = getRecordIdLocked(VehiclePropValue{ in refreshTimestamp() local
91 auto it = mPropertyValues.find(recId); in refreshTimestamp()
102 RecordId recId = getRecordIdLocked(propValue); in removeValue() local
103 auto it = mPropertyValues.find(recId); in removeValue()
139 RecordId recId = getRecordIdLocked(request); in readValueOrNull() local
140 const VehiclePropValue* internalValue = getValueOrNullLocked(recId); in readValueOrNull()
146 RecordId recId = {prop, isGlobalProp(prop) ? 0 : area, token }; in readValueOrNull() local
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DVehiclePropertyStore.cpp81 VehiclePropertyStore::RecordId recId{ in getRecordIdLocked() local
85 recId.token = record.tokenFunction(propValue); in getRecordIdLocked()
87 return recId; in getRecordIdLocked()
91 const RecordId& recId, const Record& record) const REQUIRES(mLock) { in readValueLocked() argument
92 if (auto it = record.values.find(recId); it != record.values.end()) { in readValueLocked()
96 << "Record ID: " << recId.toString() << " is not found"; in readValueLocked()
142 VehiclePropertyStore::RecordId recId = getRecordIdLocked(*propValue, *record); in writeValue() local
143 if (auto it = record->values.find(recId); it != record->values.end()) { in writeValue()
163 record->values[recId] = std::move(propValue); in writeValue()
168 updatedValue = *(record->values[recId]); in writeValue()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehiclePropertyStore.h98 const VehiclePropValue* getValueOrNullLocked(const RecordId& recId) const;
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DVehiclePropertyStore.h214 ValueResultType readValueLocked(const RecordId& recId, const Record& record) const;