Searched refs:madviseType (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_am_CachedAppOptimizer.cpp | 237 int madviseVmasFromBatch(unique_fd& pidfd, VmaBatch& batch, int madviseType, in madviseVmasFromBatch() argument 245 ATRACE_BEGIN(StringPrintf("Madvise %d: %zu VMAs.", madviseType, batch.totalVmas).c_str()); in madviseVmasFromBatch() 247 process_madvise(pidfd, batch.vmas, batch.totalVmas, madviseType, 0); in madviseVmasFromBatch() 284 static int64_t compactMemory(const std::vector<Vma>& vmas, int pid, int madviseType, in compactMemory() argument 315 int error = madviseVmasFromBatch(pidfd, batch, madviseType, &bytesProcessedInSend); in compactMemory()
|