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