Home | History | Annotate | Download | only in tests

Lines Matching refs:handle

35             ion_user_handle_t handle = 0;
36 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, 0, &handle));
37 ASSERT_TRUE(handle != 0);
38 ASSERT_EQ(0, ion_free(m_ionFd, handle));
50 ion_user_handle_t handle = 0;
51 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, ION_FLAG_CACHED, &handle));
52 ASSERT_TRUE(handle != 0);
53 ASSERT_EQ(0, ion_free(m_ionFd, handle));
65 ion_user_handle_t handle = 0;
66 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, ION_FLAG_CACHED_NEEDS_SYNC, &handle));
67 ASSERT_TRUE(handle != 0);
68 ASSERT_EQ(0, ion_free(m_ionFd, handle));
80 ion_user_handle_t handle = 0;
84 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, 0, &handle));
85 ASSERT_TRUE(handle != 0);
86 ASSERT_EQ(0, ion_free(m_ionFd, handle));
140 ion_user_handle_t handle = 0;
141 ASSERT_EQ(-ENOMEM, ion_alloc(m_ionFd, 3UL*1024*1024*1024, 0, heapMask, 0, &handle));