Searched refs:cpu_access_needed (Results 1 – 2 of 2) sorted by relevance
36 void DoAlloc(bool cpu_access_needed) { in DoAlloc() argument38 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 …]
255 int BufferAllocator::AllocSystem(bool cpu_access_needed, size_t len, unsigned int heap_flags, in AllocSystem() argument257 if (!cpu_access_needed) { in AllocSystem()