Searched refs:ion_import (Results 1 – 3 of 3) sorted by relevance
/system/core/libion/tests/ |
D | invalid_values_test.cpp | 158 TEST_F(InvalidValues, ion_import) in TEST_F() argument 163 int ret = ion_import(0, m_validShareFd, &handle); in TEST_F() 166 EXPECT_EQ(-EBADF, ion_import(-1, m_validShareFd, &handle)); in TEST_F() 168 EXPECT_EQ(-EINVAL, ion_import(m_ionFd, 0, &handle)); in TEST_F() 170 EXPECT_EQ(-EBADF, ion_import(m_ionFd, -1, &handle)); in TEST_F() 172 EXPECT_EQ(-EINVAL, ion_import(m_ionFd, m_validShareFd, NULL)); in TEST_F()
|
/system/core/libion/include/ion/ |
D | ion.h | 42 int ion_import(int fd, int share_fd, ion_user_handle_t *handle);
|
/system/core/libion/ |
D | ion.c | 155 int ion_import(int fd, int share_fd, ion_user_handle_t *handle) in ion_import() function
|