Searched refs:vecSize (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehicleObjectPool.cpp | 32 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() 90 VehiclePropertyType type, size_t vecSize) { in obtainRecylable() argument 93 | static_cast<int32_t>(vecSize); in obtainRecylable() 99 auto newPool(std::make_unique<InternalPool>(type, vecSize)); in obtainRecylable()
|
D | VehicleUtils.cpp | 32 VehiclePropertyType type, size_t vecSize) { in createVehiclePropValue() argument 38 val->value.int32Values.resize(vecSize); in createVehiclePropValue() 42 val->value.floatValues.resize(vecSize); in createVehiclePropValue() 46 val->value.int64Values.resize(vecSize); in createVehiclePropValue() 49 val->value.bytes.resize(vecSize); in createVehiclePropValue()
|
D | VehicleHalManager.cpp | 231 auto vecSize = cv.values.size(); in onBatchHalEvent() local 233 if (vecSize < kMaxHidlVecOfVehiclPropValuePoolSize) { in onBatchHalEvent() 234 vec.setToExternal(&mHidlVecOfVehiclePropValuePool[0], vecSize); in onBatchHalEvent() 236 vec.resize(vecSize); in onBatchHalEvent()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | VehicleObjectPool.h | 181 RecyclableType obtain(VehiclePropertyType type, size_t vecSize); 193 bool isDisposable(VehiclePropertyType type, size_t vecSize) const { in isDisposable() argument 194 return vecSize > mMaxRecyclableVectorSize || VehiclePropertyType::STRING == type || in isDisposable() 201 size_t vecSize);
|
D | VehicleUtils.h | 64 VehiclePropertyType type, size_t vecSize);
|