Home
last modified time | relevance | path

Searched refs:getTestDevFd (Results 1 – 3 of 3) sorted by relevance

/hardware/google/graphics/common/libion/test/
Dion_allocate_special.cpp54 EXPECT_EQ(0, ret = ioctl(getTestDevFd(), ION_IOC_TEST_SET_FD, fd)); in ionTestPhys()
62 EXPECT_EQ(0, ioctl(getTestDevFd(), ION_IOC_TEST_PHYS, &data)); in ionTestPhys()
64 EXPECT_EQ(0, ioctl(getTestDevFd(), ION_IOC_TEST_SET_FD, -1)); in ionTestPhys()
Dion_test_fixture.cpp194 EXPECT_EQ(0, ioctl(getTestDevFd(), ION_IOC_TEST_SET_FD, fd)); in ionTestMapping()
203 EXPECT_EQ(0, ioctl(getTestDevFd(), cmd, &data)) << strerror(errno); in ionTestMapping()
205 EXPECT_EQ(0, ioctl(getTestDevFd(), ION_IOC_TEST_SET_FD, -1)); in ionTestMapping()
Dion_test_fixture.h102 int getTestDevFd() { return m_ionTestDevFd; } in getTestDevFd() function