Home
last modified time | relevance | path

Searched refs:vecSize (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleObjectPool.cpp32 VehiclePropertyType type, size_t vecSize) { in obtain() argument
33 return isDisposable(type, vecSize) in obtain()
34 ? obtainDisposable(type, vecSize) in obtain()
35 : obtainRecylable(type, vecSize); in obtain()
45 size_t vecSize = getVehicleRawValueVectorSize(src.value, type);; in obtain() local
46 auto dest = obtain(type, vecSize); in obtain()
89 VehiclePropertyType type, size_t vecSize) { in obtainRecylable() argument
92 | static_cast<int32_t>(vecSize); in obtainRecylable()
98 auto newPool(std::make_unique<InternalPool>(type, vecSize)); in obtainRecylable()
DVehicleUtils.cpp32 VehiclePropertyType type, size_t vecSize) { in createVehiclePropValue() argument
38 val->value.int32Values.resize(vecSize); in createVehiclePropValue()
42 val->value.floatValues.resize(vecSize); in createVehiclePropValue()
45 val->value.int64Values.resize(vecSize); in createVehiclePropValue()
48 val->value.bytes.resize(vecSize); in createVehiclePropValue()
DVehicleHalManager.cpp240 auto vecSize = cv.values.size(); in onBatchHalEvent() local
242 if (vecSize < kMaxHidlVecOfVehiclPropValuePoolSize) { in onBatchHalEvent()
243 vec.setToExternal(&mHidlVecOfVehiclePropValuePool[0], vecSize); in onBatchHalEvent()
245 vec.resize(vecSize); in onBatchHalEvent()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleObjectPool.h181 RecyclableType obtain(VehiclePropertyType type, size_t vecSize);
193 bool isDisposable(VehiclePropertyType type, size_t vecSize) const { in isDisposable() argument
194 return vecSize > mMaxRecyclableVectorSize || in isDisposable()
202 size_t vecSize);
DVehicleUtils.h65 VehiclePropertyType type, size_t vecSize);