Home
last modified time | relevance | path

Searched refs:poolSize (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBytesBufferPool.java68 public BytesBufferPool(int poolSize, int bufferSize) { in BytesBufferPool() argument
69 mList = new ArrayList<BytesBuffer>(poolSize); in BytesBufferPool()
70 mPoolSize = poolSize; in BytesBufferPool()
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.cpp290 size_t poolSize = 0; in copyLargeValuesToSharedMemory() local
294 poolSize += alignBytesNeeded(poolSize, operand.location.length); in copyLargeValuesToSharedMemory()
295 operand.location.offset = poolSize; in copyLargeValuesToSharedMemory()
296 poolSize += operand.location.length; in copyLargeValuesToSharedMemory()
301 std::tie(n, mLargeValueMemory) = MemoryAshmem::create(poolSize); in copyLargeValuesToSharedMemory()
305 VLOG(MODEL) << "Allocated large value pool of size " << poolSize << " at index " in copyLargeValuesToSharedMemory()