Home
last modified time | relevance | path

Searched refs:m_ionFd (Results 1 – 4 of 4) sorted by relevance

/hardware/google/graphics/common/libion/test/
Dmap_test.cpp40 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, 0, &map_fd)); in TEST_F()
65 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, PAGE_SIZE * 2, 0, heapMask, 0, &map_fd)); in TEST_F()
102 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, flags, &map_fd)); in TEST_F()
126 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, ION_FLAG_NOZEROED, &map_fd)); in TEST_F()
149 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, ION_FLAG_PROTECTED, &map_fd)); in TEST_F()
168 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, 0, &map_fd)); in TEST_F()
Dion_test_fixture.cpp34 IonTest::IonTest() : m_ionFd(-1), m_heapCount(0), m_allHeapMask(0) in IonTest()
50 m_ionFd = open("/dev/ion", O_RDWR); in SetUp()
63 ret = ioctl(m_ionFd, ION_IOC_HEAP_QUERY, &query); in SetUp()
90 close(m_ionFd); in TearDown()
Dexynos_api_test.cpp43 ASSERT_EQ(0, exynos_ion_alloc(m_ionFd, size, heapMask, 0, &map_fd)); in TEST_F()
Dion_test_fixture.h37 int m_ionFd; variable
47 int getIonFd() { return m_ionFd; } in getIonFd()