Lines Matching refs:heap
30 for (const auto& heap : ion_heaps) { in TEST_F() local
33 << "heap:" << heap.name << ":" << heap.type << ":" << heap.heap_id); in TEST_F()
36 ASSERT_EQ(0, ion_alloc_fd(ionfd, size, 0, (1 << heap.heap_id), 0, &fd)); in TEST_F()
45 for (const auto& heap : ion_heaps) { in TEST_F() local
48 << "heap:" << heap.name << ":" << heap.type << ":" << heap.heap_id); in TEST_F()
51 ASSERT_EQ(0, ion_alloc_fd(ionfd, size, 0, (1 << heap.heap_id), ION_FLAG_CACHED, &fd)); in TEST_F()
60 for (const auto& heap : ion_heaps) { in TEST_F() local
63 << "heap:" << heap.name << ":" << heap.type << ":" << heap.heap_id); in TEST_F()
66 ASSERT_EQ(0, ion_alloc_fd(ionfd, size, 0, (1 << heap.heap_id), in TEST_F()
76 for (const auto& heap : ion_heaps) { in TEST_F() local
79 << "heap:" << heap.name << ":" << heap.type << ":" << heap.heap_id); in TEST_F()
85 ASSERT_EQ(0, ion_alloc_fd(ionfd, size, 0, (1 << heap.heap_id), 0, &fd)); in TEST_F()
99 for (const auto& heap : ion_heaps) { in TEST_F() local
101 << "heap:" << heap.name << ":" << heap.type << ":" << heap.heap_id); in TEST_F()
104 ion_alloc_fd(ionfd, totalRamSize, 0, (1 << heap.heap_id), 0, &fd)); in TEST_F()
112 for (const auto& heap : ion_heaps) { in TEST_F() local
114 << "heap:" << heap.name << ":" << heap.type << ":" << heap.heap_id); in TEST_F()
119 ASSERT_EQ(0, ion_alloc_fd(ionfd, 4096, 0, (1 << heap.heap_id), 0, &map_fd)); in TEST_F()
139 ASSERT_EQ(0, ion_alloc_fd(new_ionfd, 4096, 0, (1 << heap.heap_id), 0, &map_fd)); in TEST_F()