Home
last modified time | relevance | path

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

/frameworks/av/media/utils/tests/
Dshared_memory_allocator_tests.cpp30 constexpr size_t kMaxPageSize = 65536; // arm64 supports 4k, 16k and 64k pages variable
55 MemoryHeapBaseAllocator().allocate(BasicAllocRequest{kMaxPageSize});
57 MemoryHeapBaseAllocator().allocate(BasicAllocRequest{kMaxPageSize});
72 SizePolicy<kMaxPageSize>>> == true);
75 SizePolicy<kMaxPageSize>>> == true);
77 SnoopingAllocator<MemoryHeapBaseAllocator>, SizePolicy<kMaxPageSize>>> ==
169 SizePolicy<kMaxPageSize * 7, kMaxPageSize * 2, kMaxPageSize * 4>{}}; in TEST()
171 EXPECT_TRUE(allocator.allocate(BasicAllocRequest{kMaxPageSize * 5}) == nullptr); in TEST()
173 EXPECT_TRUE(allocator.allocate(BasicAllocRequest{kMaxPageSize}) == nullptr); in TEST()
174 const auto first_memory = allocator.allocate(BasicAllocRequest{kMaxPageSize * 4}); in TEST()
[all …]
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp76 static constexpr size_t kMaxPageSize = 131072; // 128kb variable
138 if (mCurrentPage && mPageSize < kMaxPageSize) { in ensureNext()
139 mPageSize = min(kMaxPageSize, mPageSize * 2); in ensureNext()
/frameworks/libs/binary_translation/base/include/berberis/base/
Dpage_size.h50 inline constexpr size_t kMaxPageSize = 0x10000; // 64KB variable
Dmmap_pool.h35 static_assert(kBlockSize % kMaxPageSize == 0);
/frameworks/libs/binary_translation/base/
Dmmap_pool_test.cc30 static constexpr size_t kBlockSize = kMaxPageSize;