Searched refs:ion_share (Results 1 – 5 of 5) sorted by relevance
/system/core/libion/tests/ |
D | invalid_values_test.cpp | 40 ASSERT_EQ(0, ion_share(m_ionFd, m_validHandle, &m_validShareFd)); in SetUp() 141 TEST_F(InvalidValues, ion_share) in TEST_F() argument 146 int ret = ion_share(0, m_validHandle, &share_fd); in TEST_F() 149 EXPECT_EQ(-EBADF, ion_share(-1, m_validHandle, &share_fd)); in TEST_F() 151 EXPECT_EQ(-EINVAL, ion_share(m_ionFd, 0, &share_fd)); in TEST_F() 153 EXPECT_EQ(-EINVAL, ion_share(m_ionFd, m_badHandle, &share_fd)); in TEST_F() 155 EXPECT_EQ(-EINVAL, ion_share(m_ionFd, m_validHandle, NULL)); in TEST_F()
|
D | formerly_valid_handle_test.cpp | 62 ASSERT_EQ(-EINVAL, ion_share(m_ionFd, m_handle, &share_fd)); in TEST_F()
|
/system/core/libion/ |
D | ion.c | 121 int ion_share(int fd, ion_user_handle_t handle, int *share_fd) in ion_share() function 150 ret = ion_share(fd, handle, handle_fd); in ion_alloc_fd()
|
D | ion_test.c | 141 ret = ion_share(fd, handle, &share_fd); in ion_share_test()
|
/system/core/libion/include/ion/ |
D | ion.h | 41 int ion_share(int fd, ion_user_handle_t handle, int *share_fd);
|