Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_am_CachedAppOptimizer.cpp159 int currentIndex_; member in android::VmaBatchCreator
168 currentIndex_(0), in VmaBatchCreator()
171 int currentIndex() { return currentIndex_; } in currentIndex()
178 if (currentIndex_ >= MAX_VMAS_PER_BATCH && currentIndex_ >= sourceVmas->size()) { in createNextBatch()
189 while (indexInBatch < MAX_VMAS_PER_BATCH && currentIndex_ < totalVmasInSource) { in createNextBatch()
190 uint64_t vmaStart = vmas[currentIndex_].start + currentOffset_; in createNextBatch()
191 uint64_t vmaSize = vmas[currentIndex_].end - vmaStart; in createNextBatch()
210 if (CC_UNLIKELY(vmaSize == (vmas[currentIndex_].end - vmaStart))) { in createNextBatch()
214 ++currentIndex_; in createNextBatch()
220 ++currentIndex_; in createNextBatch()