Home
last modified time | relevance | path

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

/system/core/libion/tests/
Dexit_test.cpp54 int handle_fd = -1; in TEST_F()
56 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, 0, &handle_fd)); in TEST_F()
57 ASSERT_NE(-1, handle_fd); in TEST_F()
73 int handle_fd = -1; in TEST_F()
75 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, 0, &handle_fd)); in TEST_F()
76 ASSERT_NE(-1, handle_fd); in TEST_F()
/system/core/libion/
Dion.c143 unsigned int flags, int *handle_fd) { in ion_alloc_fd() argument
150 ret = ion_share(fd, handle, handle_fd); in ion_alloc_fd()
172 int ion_sync_fd(int fd, int handle_fd) in ion_sync_fd() argument
175 .fd = handle_fd, in ion_sync_fd()
/system/core/libion/include/ion/
Dion.h36 unsigned int flags, int *handle_fd);
37 int ion_sync_fd(int fd, int handle_fd);