Home
last modified time | relevance | path

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

/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp36 void DoAlloc(bool cpu_access_needed) { in DoAlloc() argument
38 int map_fd = allocator->AllocSystem(cpu_access_needed, kAllocSizeInBytes); in DoAlloc()
131 for (bool cpu_access_needed : {false, true}) { in TEST_F()
134 << "cpu_access_needed: " << cpu_access_needed << " size: " << size); in TEST_F()
135 int fd = allocator->AllocSystem(cpu_access_needed, size); in TEST_F()
156 for (bool cpu_access_needed : {false, true}) { in TEST_F()
159 << "cpu_access_needed: " << cpu_access_needed << " size: " << size); in TEST_F()
162 int fd = allocator->AllocSystem(cpu_access_needed, size); in TEST_F()
304 for (bool cpu_access_needed : {false, true}) { in TEST_F()
309 SCOPED_TRACE(::testing::Message() << "cpu_access_needed: " << cpu_access_needed); in TEST_F()
[all …]
/system/memory/libdmabufheap/
DBufferAllocator.cpp255 int BufferAllocator::AllocSystem(bool cpu_access_needed, size_t len, unsigned int heap_flags, in AllocSystem() argument
257 if (!cpu_access_needed) { in AllocSystem()