Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libion/test/
Dion_test_fixture.h36 struct ion_heap_data *m_ionHeapData; variable
50 return static_cast<ion_heap_type>(m_ionHeapData[idx].type); in getHeapType()
53 return (m_heapCount > 0) ? 1 << m_ionHeapData[idx].heap_id : 0; in getHeapMask()
56 return (m_heapCount > 0) ? m_ionHeapData[idx].name : "[NO HEAP]"; in getHeapName()
59 return m_ionHeapData[idx].heap_flags; in getHeapFlags()
62 if (m_ionHeapData[idx].size == 0) in getHeapSize()
64 return m_ionHeapData[idx].size; in getHeapSize()
70 if (heapid < m_ionHeapData[i].heap_id) in getMaxHeapId()
71 heapid = m_ionHeapData[i].heap_id; in getMaxHeapId()
Dion_test_fixture.cpp52 m_ionHeapData = new ion_heap_data[ION_NUM_HEAP_IDS]; in SetUp()
53 if (m_ionHeapData != NULL) { in SetUp()
58 memset(m_ionHeapData, 0, sizeof(ion_heap_data) * ION_NUM_HEAP_IDS); in SetUp()
61 query.heaps = reinterpret_cast<__u64>(m_ionHeapData); in SetUp()
74 if (!strcmp(name, m_ionHeapData[k].name) && in SetUp()
75 (strlen(name) == strlen(m_ionHeapData[k].name))) { in SetUp()
77 m_idTable[i].heap_id = m_ionHeapData[k].heap_id; in SetUp()
89 delete [] m_ionHeapData; in TearDown()