Home
last modified time | relevance | path

Searched refs:poolSize (Results 1 – 3 of 3) 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.cpp295 size_t poolSize = 0; in copyLargeValuesToSharedMemory() local
299 poolSize += alignBytesNeeded(poolSize, operand.location.length); in copyLargeValuesToSharedMemory()
300 operand.location.offset = poolSize; in copyLargeValuesToSharedMemory()
301 poolSize += operand.location.length; in copyLargeValuesToSharedMemory()
306 std::tie(n, mLargeValueMemory) = MemoryAshmem::create(poolSize); in copyLargeValuesToSharedMemory()
310 VLOG(MODEL) << "Allocated large value pool of size " << poolSize << " at index " in copyLargeValuesToSharedMemory()
/packages/services/Car/service/src/com/android/car/
DCarServiceUtils.java835 int poolSize = CHAR_POOL_FOR_RANDOM_STRING.length; in generateRandomAlphaNumericString() local
837 sb.append(CHAR_POOL_FOR_RANDOM_STRING[ThreadLocalRandom.current().nextInt(poolSize)]); in generateRandomAlphaNumericString()