Searched refs:m_handle (Results 1 - 1 of 1) sorted by relevance
/system/core/libion/tests/ |
H A D | formerly_valid_handle_test.cpp | 29 ion_user_handle_t m_handle; member in class:FormerlyValidHandle 35 ASSERT_EQ(0, ion_alloc(m_ionFd, 4096, 0, 1/* ion_env->m_firstHeap */, 0, &m_handle)); 36 ASSERT_TRUE(m_handle != 0); 37 ASSERT_EQ(0, ion_free(m_ionFd, m_handle)); 42 m_handle = 0; 47 ASSERT_EQ(-EINVAL, ion_free(m_ionFd, m_handle)); 55 ASSERT_EQ(-EINVAL, ion_map(m_ionFd, m_handle, 4096, PROT_READ, 0, 0, &ptr, &map_fd)); 62 ASSERT_EQ(-EINVAL, ion_share(m_ionFd, m_handle, &share_fd));
|
Completed in 71 milliseconds