/system/core/libion/tests/ |
invalid_values_test.cpp | 37 ASSERT_EQ(0, ion_alloc(m_ionFd, 4096, 0, m_firstHeap, 0, &m_validHandle)) 56 TEST_F(InvalidValues, ion_alloc) 60 int ret = ion_alloc(0, 4096, 0, m_firstHeap, 0, &handle); 63 EXPECT_EQ(-EBADF, ion_alloc(-1, 4096, 0, m_firstHeap, 0, &handle)); 65 EXPECT_EQ(-ENODEV, ion_alloc(m_ionFd, 4096, 0, 0, 0, &handle)); 69 EXPECT_EQ(-EINVAL, ion_alloc(m_ionFd, 0, 0, heapMask, 0, &handle)); 71 EXPECT_EQ(-EINVAL, ion_alloc(m_ionFd, -1, 0, heapMask, 0, &handle)); 73 EXPECT_EQ(-EINVAL, ion_alloc(m_ionFd, 4096, -1, heapMask, 0, &handle)); 75 EXPECT_EQ(-EINVAL, ion_alloc(m_ionFd, 4096, 0, heapMask, 0, NULL));
|
allocate_test.cpp | 35 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, 0, &handle)); 50 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, ION_FLAG_CACHED, &handle)); 65 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, ION_FLAG_CACHED_NEEDS_SYNC, &handle)); 83 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, 0, &handle)); 143 ASSERT_EQ(-ENOMEM, ion_alloc(m_ionFd, 3UL*1024*1024*1024, 0, heapMask, 0, &handle));
|
formerly_valid_handle_test.cpp | 35 ASSERT_EQ(0, ion_alloc(m_ionFd, 4096, 0, 1/* ion_env->m_firstHeap */, 0, &m_handle));
|
ion_test_fixture.cpp | 50 ret = ion_alloc(fd, 4096, 0, i, 0, &handle);
|
map_test.cpp | 37 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, 0, &handle));
|
/hardware/ti/omap4-aah/ion/ |
ion.h | 26 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags,
|
ion.c | 57 int ion_alloc(int fd, size_t len, size_t align, function
|
ion_test.c | 41 ret = ion_alloc(*fd, len, align, alloc_flags, handle);
|
/hardware/ti/omap4xxx/ion/ |
ion.h | 26 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags,
|
ion.c | 58 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags, function
|
/hardware/samsung_slsi/exynos5/include/ |
ion.h | 100 /* ion_alloc() - Allocates new buffer from ION. 115 ion_buffer ion_alloc(ion_client client, size_t len, size_t align,
|
/system/core/libion/include/ion/ |
ion.h | 33 int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
|
/hardware/ti/omap4-aah/system-core-headers-ti/ion/ |
ion.h | 31 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags,
|
/system/core/libion/ |
ion.c | 60 int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, function 145 ret = ion_alloc(fd, len, align, heap_mask, flags, &handle);
|
/hardware/qcom/msm8x27/original-kernel-headers/linux/ |
ion.h | 134 * ion_alloc - allocate ion memory 148 struct ion_handle *ion_alloc(struct ion_client *client, size_t len,
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/ |
ion.h | 134 * ion_alloc - allocate ion memory 148 struct ion_handle *ion_alloc(struct ion_client *client, size_t len,
|
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_preview.c | 280 pme->preview_buf.frame[i].ion_alloc.len = pme->preview_buf.frame_len; 281 pme->preview_buf.frame[i].ion_alloc.flags = 283 pme->preview_buf.frame[i].ion_alloc.align = 4096; 286 &(pme->preview_buf.frame[i].ion_alloc), &(pme->preview_buf.frame[i].fd_data), 299 bufs[i].frame_len = pme->preview_buf.frame[i].ion_alloc.len; 334 struct ion_allocation_data ion_alloc; local 368 ion_alloc.len = frame_offset_info->frame_len; 369 ion_alloc.flags = 371 ion_alloc.align = 4096; 374 &ion_alloc, &ion_info_fd [all...] |
mm_qcamera_video.c | 137 pme->video_buf.frame[i].ion_alloc.len = pme->video_buf.frame_len; 138 pme->video_buf.frame[i].ion_alloc.flags = 140 pme->video_buf.frame[i].ion_alloc.align = 4096; 143 &(pme->video_buf.frame[i].ion_alloc), &(pme->video_buf.frame[i].fd_data), 156 bufs[i].frame_len = pme->video_buf.frame[i].ion_alloc.len;
|
mm_qcamera_snapshot.c | 203 pme->raw_snapshot_buf.frame[0].ion_alloc.len = pme->raw_snapshot_buf.frame_len; 204 pme->raw_snapshot_buf.frame[0].ion_alloc.flags = (0x1 << CAMERA_ION_HEAP_ID); 205 pme->raw_snapshot_buf.frame[0].ion_alloc.align = 4096; [all...] |
/hardware/samsung_slsi/exynos5/libion_exynos/ |
libion.cpp | 77 ion_buffer ion_alloc(ion_client client, size_t len, size_t align, function
|
/hardware/ti/omap4xxx/camera/ |
MemoryManager.cpp | 85 int ret = ion_alloc(mIonFd, bytes, 0, 1 << ION_HEAP_TYPE_CARVEOUT, &handle); 88 CAMHAL_LOGEB("ion_alloc resulted in error %d", ret);
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
ion.h | 172 * ion_alloc - allocate ion memory 186 struct ion_handle *ion_alloc(struct ion_client *client, size_t len, 404 static inline struct ion_handle *ion_alloc(struct ion_client *client, function
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_video.c | 145 pme->video_buf.frame[i].ion_alloc.len = pme->video_buf.frame_len; 146 pme->video_buf.frame[i].ion_alloc.flags = 148 pme->video_buf.frame[i].ion_alloc.align = 4096; 151 &(pme->video_buf.frame[i].ion_alloc), &(pme->video_buf.frame[i].fd_data), 164 bufs[i].frame_len = pme->video_buf.frame[i].ion_alloc.len;
|
/hardware/ti/omap4-aah/camera/ |
MemoryManager.cpp | 94 int ret = ion_alloc(mIonFd, size, 0, 1 << ION_HEAP_TYPE_CARVEOUT,
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_channel.c | 419 val->def.frame->fd, val->def.frame->ion_alloc.len, val->def.frame->buffer); 428 val->video.video.frame->fd, val->video.video.frame->ion_alloc.len, val->video.video.frame->buffer); 445 val->snapshot.main.frame->fd, val->snapshot.main.frame->ion_alloc.len, val->snapshot.main.frame->buffer); 456 val->snapshot.thumbnail.frame->fd, val->snapshot.thumbnail.frame->ion_alloc.len, val->snapshot.thumbnail.frame->buffer); 468 cache_inv_data.length = cache_frame->ion_alloc.len; 482 cache_inv_data.length = cache_frame1->ion_alloc.len;
|