Home
last modified time | relevance | path

Searched refs:ion_free (Results 1 – 8 of 8) sorted by relevance

/system/core/libion/tests/
Dinvalid_values_test.cpp45 ASSERT_EQ(0, ion_free(m_ionFd, m_validHandle)); in TearDown()
102 TEST_F(InvalidValues, ion_free) in TEST_F() argument
105 int ret = ion_free(0, m_validHandle); in TEST_F()
108 EXPECT_EQ(-EBADF, ion_free(-1, m_validHandle)); in TEST_F()
110 EXPECT_EQ(-EINVAL, ion_free(m_ionFd, 0)); in TEST_F()
112 EXPECT_EQ(-EINVAL, ion_free(m_ionFd, m_badHandle)); in TEST_F()
Dallocate_test.cpp37 ASSERT_EQ(0, ion_free(m_ionFd, handle)); in TEST_F()
52 ASSERT_EQ(0, ion_free(m_ionFd, handle)); in TEST_F()
67 ASSERT_EQ(0, ion_free(m_ionFd, handle)); in TEST_F()
85 ASSERT_EQ(0, ion_free(m_ionFd, handle)); in TEST_F()
Dformerly_valid_handle_test.cpp37 ASSERT_EQ(0, ion_free(m_ionFd, m_handle)); in SetUp()
47 ASSERT_EQ(-EINVAL, ion_free(m_ionFd, m_handle)); in TEST_F()
Dion_test_fixture.cpp52 ion_free(fd, handle); in SetUp()
Dmap_test.cpp48 ASSERT_EQ(0, ion_free(m_ionFd, handle)); in TEST_F()
/system/core/libion/
Dion.c82 int ion_free(int fd, ion_user_handle_t handle) in ion_free() function
151 ion_free(fd, handle); in ion_alloc_fd()
Dion_test.c64 ret = ion_free(fd, handle); in ion_alloc_test()
95 ret = ion_free(fd, handle); in ion_map_test()
/system/core/libion/include/ion/
Dion.h38 int ion_free(int fd, ion_user_handle_t handle);