/hardware/qcom/sm7250/display/gralloc/ |
D | gr_allocator.cpp | 118 GetIonHeapInfo(usage, &alloc_data->heap_id, &alloc_data->alloc_type, &alloc_data->flags); in AllocateMem() 125 alloc_data->heap_id, alloc_data->flags); in AllocateMem() 203 unsigned int heap_id = 0; in GetIonHeapInfo() local 209 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 216 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 226 heap_id = ION_HEAP(ION_SECURE_CARVEOUT_HEAP_ID); in GetIonHeapInfo() 229 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo() 237 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo() 240 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo() 249 if (!heap_id) { in GetIonHeapInfo() [all …]
|
D | gr_ion_alloc.cpp | 91 err = ion_alloc_fd(ion_dev_fd_, data->size, data->align, data->heap_id, flags, &fd); in AllocBuffer() 95 ion_dev_fd_, data->size, data->align, data->heap_id, flags); in AllocBuffer()
|
D | gr_ion_alloc.h | 54 unsigned int heap_id = 0x0; member
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_allocator.cpp | 126 GetIonHeapInfo(usage, &alloc_data->heap_id, &alloc_data->alloc_type, &alloc_data->flags); in AllocateMem() 133 alloc_data->heap_id, alloc_data->flags); in AllocateMem() 211 unsigned int heap_id = 0; in GetIonHeapInfo() local 216 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 223 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 233 heap_id = ION_HEAP(ION_SECURE_CARVEOUT_HEAP_ID); in GetIonHeapInfo() 236 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo() 244 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo() 247 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo() 256 if (!heap_id) { in GetIonHeapInfo() [all …]
|
D | gr_ion_alloc.cpp | 95 err = ion_alloc_fd(ion_dev_fd_, data->size, data->align, data->heap_id, flags, &fd); in AllocBuffer() 99 ion_dev_fd_, data->size, data->align, data->heap_id, flags); in AllocBuffer() 185 ion_alloc_data.heap_id_mask = data->heap_id; in AllocBuffer()
|
D | gr_ion_alloc.h | 56 unsigned int heap_id = 0x0; member
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_allocator.cpp | 102 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem() 110 alloc_data->heap_id, alloc_data->flags); in AllocateMem() 259 unsigned int heap_id = 0; in GetIonHeapInfo() local 264 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 271 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 278 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo() 285 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo() 289 heap_id |= ION_HEAP(ION_CAMERA_HEAP_ID); in GetIonHeapInfo() 294 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo() 302 if (!heap_id) { in GetIonHeapInfo() [all …]
|
D | gr_ion_alloc.h | 55 unsigned int heap_id = 0x0; member
|
D | gr_ion_alloc.cpp | 78 ion_alloc_data.heap_id_mask = data->heap_id; in AllocBuffer()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_allocator.cpp | 102 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem() 110 alloc_data->heap_id, alloc_data->flags); in AllocateMem() 259 unsigned int heap_id = 0; in GetIonHeapInfo() local 264 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 271 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 278 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo() 285 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo() 289 heap_id |= ION_HEAP(ION_CAMERA_HEAP_ID); in GetIonHeapInfo() 294 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo() 302 if (!heap_id) { in GetIonHeapInfo() [all …]
|
D | gr_ion_alloc.h | 55 unsigned int heap_id = 0x0; member
|
D | gr_ion_alloc.cpp | 78 ion_alloc_data.heap_id_mask = data->heap_id; in AllocBuffer()
|
/hardware/google/graphics/common/libion/test/ |
D | ion_allocate_api_test.cpp | 86 unsigned int heap_id = getModernHeapId(i); in TEST_F() local 89 if (heap_id == ION_NUM_HEAP_IDS) in TEST_F() 91 …if ((type.type_flags & TEST_ALLOC_BUDDY) && !(getHeapFlags(heap_id) & ION_HEAPDATA_FLAGS_DEFER_FRE… in TEST_F() 95 if (size > getHeapSize(heap_id)) in TEST_F() 101 …PED_TRACE(::testing::Message() << "heap: " << getHeapName(heap_id) << ", heap id: " << heap_id << … in TEST_F() 113 if (!(getHeapFlags(heap_id) & ION_HEAPDATA_FLAGS_UNTOUCHABLE)) { in TEST_F()
|
D | ion_test_fixture.h | 33 unsigned int heap_id; member 53 return (m_heapCount > 0) ? 1 << m_ionHeapData[idx].heap_id : 0; in getHeapMask() 70 if (heapid < m_ionHeapData[i].heap_id) in getMaxHeapId() 71 heapid = m_ionHeapData[i].heap_id; in getMaxHeapId() 79 return m_idTable[idx].heap_id; in getModernHeapId()
|
D | map_test.cpp | 34 unsigned int heapMask = 1 << heap[i].heap_id; in TEST_F() 61 unsigned int heapMask = 1 << heap[i].heap_id; in TEST_F() 95 unsigned int heapMask = 1 << heap[i].heap_id; in TEST_F() 123 unsigned int heapMask = 1 << heap[i].heap_id; in TEST_F() 165 unsigned int heapMask = 1 << heap[i].heap_id; in TEST_F()
|
D | ion_test_fixture.cpp | 45 m_idTable[i].heap_id = ION_NUM_HEAP_IDS; in IonTest() 77 m_idTable[i].heap_id = m_ionHeapData[k].heap_id; in SetUp()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_allocator.cpp | 110 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem() 118 alloc_data->heap_id, alloc_data->flags); in AllocateMem() 563 unsigned int heap_id = 0; in GetIonHeapInfo() local 568 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 575 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 582 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo() 589 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo() 593 heap_id |= ION_HEAP(ION_CAMERA_HEAP_ID); in GetIonHeapInfo() 598 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo() 606 if (!heap_id) { in GetIonHeapInfo() [all …]
|
D | gr_ion_alloc.h | 55 unsigned int heap_id = 0x0; member
|
D | gr_ion_alloc.cpp | 78 ion_alloc_data.heap_id_mask = data->heap_id; in AllocBuffer()
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_allocator.cpp | 111 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, in AllocateMem() 119 alloc_data->heap_id, alloc_data->flags); in AllocateMem() 565 unsigned int heap_id = 0; in GetIonHeapInfo() local 570 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 577 heap_id = ION_HEAP(SD_HEAP_ID); in GetIonHeapInfo() 584 heap_id = ION_HEAP(CP_HEAP_ID); in GetIonHeapInfo() 591 heap_id |= ION_HEAP(ION_SYSTEM_HEAP_ID); in GetIonHeapInfo() 595 heap_id |= ION_HEAP(ION_CAMERA_HEAP_ID); in GetIonHeapInfo() 600 heap_id |= ION_HEAP(ION_ADSP_HEAP_ID); in GetIonHeapInfo() 608 if (!heap_id) { in GetIonHeapInfo() [all …]
|
D | gr_ion_alloc.h | 55 unsigned int heap_id = 0x0; member
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.h | 144 unsigned int heap_id; member 147 int alloc(int count, size_t size, unsigned int heap_id); 150 unsigned int heap_id, size_t size, bool cached, bool is_secure); 170 unsigned int heap_id, size_t size, bool cached, 179 unsigned int heap_id, size_t size, bool cached,
|
D | QCameraMem.cpp | 380 int QCameraMemory::alloc(int count, size_t size, unsigned int heap_id) in alloc() argument 398 rc = allocOneBuffer(mMemInfo[i], heap_id, size, m_bCached, in alloc() 408 heap_id, in alloc() 464 unsigned int heap_id, size_t size, bool cached, bool secure_mode) in allocOneBuffer() argument 486 alloc.heap_id_mask = heap_id; in allocOneBuffer() 514 memInfo.heap_id = heap_id; in allocOneBuffer() 655 struct QCameraMemory::QCameraMemInfo &memInfo, unsigned int heap_id, in findBufferLocked() argument 668 ((*it).heap_id == heap_id) && in findBufferLocked() 681 ((*it).heap_id == heap_id) && in findBufferLocked() 715 struct QCameraMemory::QCameraMemInfo &memInfo, unsigned int heap_id, in allocateBuffer() argument [all …]
|
/hardware/google/graphics/common/libion/ |
D | ion_uapi.h | 89 __u32 heap_id; member
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Mem.h | 126 unsigned int heap_id, size_t size, bool isCached = true);
|