Home
last modified time | relevance | path

Searched refs:GRALLOC_USAGE_PROTECTED (Results 1 – 25 of 56) sorted by relevance

123

/hardware/google/gchips/gralloc4/src/allocator/
Dmali_gralloc_ion.cpp197 if (usage & (GRALLOC_USAGE_PROTECTED)) in set_ion_flags()
227 GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_CAMERA_WRITE | GS101_GRALLOC_USAGE_TPU_INPUT, in select_faceauth_heap_mask()
231 GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_CAMERA_WRITE | GRALLOC_USAGE_HW_CAMERA_READ, in select_faceauth_heap_mask()
235 GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_CAMERA_WRITE | GRALLOC_USAGE_HW_COMPOSER | in select_faceauth_heap_mask()
240 GRALLOC_USAGE_PROTECTED | GS101_GRALLOC_USAGE_TPU_INPUT, in select_faceauth_heap_mask()
244 GRALLOC_USAGE_PROTECTED | GS101_GRALLOC_USAGE_TPU_OUTPUT | GS101_GRALLOC_USAGE_TPU_INPUT, in select_faceauth_heap_mask()
272 if (usage & GRALLOC_USAGE_PROTECTED) in select_heap_mask()
666 && !(usage & GRALLOC_USAGE_PROTECTED)) in mali_gralloc_ion_allocate()
709 if (usage & (GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_NOZEROED) in mali_gralloc_ion_map()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp69 alloc_flags |= (GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_COMPOSER); in AllocateBuffer()
73 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in AllocateBuffer()
174 alloc_flags |= (GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_COMPOSER); in GetBufferSize()
178 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
276 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp69 alloc_flags |= (GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_COMPOSER); in AllocateBuffer()
73 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in AllocateBuffer()
174 alloc_flags |= (GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_COMPOSER); in GetBufferSize()
178 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
276 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()
/hardware/google/gchips/gralloc3/src/
Dmali_gralloc_usages.h90 #define GRALLOC_USAGE_PROTECTED GRALLOC1_PRODUCER_USAGE_PROTECTED macro
255 #define GRALLOC_USAGE_PROTECTED static_cast<uint64_t>(BufferUsage::PROTECTED) macro
285 GRALLOC_USAGE_PROTECTED | /* 1U << 14 */
Dmali_gralloc_ion.cpp149 GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_CAMERA_WRITE | GS101_GRALLOC_USAGE_TPU_INPUT, in select_faceauth_heap_mask()
153 GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_CAMERA_WRITE | GRALLOC_USAGE_HW_CAMERA_READ, in select_faceauth_heap_mask()
157 GRALLOC_USAGE_PROTECTED | GRALLOC_USAGE_HW_CAMERA_WRITE | GRALLOC_USAGE_HW_COMPOSER | in select_faceauth_heap_mask()
162 GRALLOC_USAGE_PROTECTED | GS101_GRALLOC_USAGE_TPU_INPUT, in select_faceauth_heap_mask()
166 GRALLOC_USAGE_PROTECTED | GS101_GRALLOC_USAGE_TPU_OUTPUT | GS101_GRALLOC_USAGE_TPU_INPUT, in select_faceauth_heap_mask()
500 if (usage & GRALLOC_USAGE_PROTECTED) in pick_ion_heap()
1080 if (!(usage & GRALLOC_USAGE_PROTECTED)) in mali_gralloc_ion_allocate()
/hardware/google/gchips/gralloc4/src/
Dmali_gralloc_usages.h96 #define GRALLOC_USAGE_PROTECTED static_cast<uint64_t>(hidl_common::BufferUsage::PROTECTED) macro
126 GRALLOC_USAGE_PROTECTED | /* 1U << 14 */
/hardware/qcom/display/msm8960/libgralloc/
Dalloc_controller.cpp70 if(usage & (GRALLOC_HEAP_MASK | GRALLOC_USAGE_PROTECTED)) in canFallback()
200 if(usage & GRALLOC_USAGE_PROTECTED) { in allocate()
215 if(usage & GRALLOC_USAGE_PROTECTED) in allocate()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp69 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in AllocateBuffer()
166 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp142 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
283 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp148 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
289 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()
/hardware/qcom/display/msm8998/gpu_tonemapper/
DEGLImageBuffer.cpp32 bool isProtected = (graphicBuffer->getUsage() & GRALLOC_USAGE_PROTECTED); in create_eglImage()
/hardware/qcom/sm8150/display/gpu_tonemapper/
DEGLImageBuffer.cpp32 bool isProtected = (graphicBuffer->getUsage() & GRALLOC_USAGE_PROTECTED); in create_eglImage()
/hardware/qcom/display/msm8909/gpu_tonemapper/
DEGLImageBuffer.cpp32 bool isProtected = (graphicBuffer->getUsage() & GRALLOC_USAGE_PROTECTED); in create_eglImage()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMem.h123 allocFlags |= GRALLOC_USAGE_PROTECTED; in open()
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
DEGLImageBuffer.cpp32 bool isProtected = (graphicBuffer->getUsage() & GRALLOC_USAGE_PROTECTED); in create_eglImage()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMem.h131 allocFlags |= GRALLOC_USAGE_PROTECTED; in open()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMem.h131 allocFlags |= GRALLOC_USAGE_PROTECTED; in open()
/hardware/qcom/sm7250/display/gpu_tonemapper/
DEGLImageBuffer.cpp32 bool isProtected = (graphicBuffer->getUsage() & GRALLOC_USAGE_PROTECTED); in create_eglImage()
/hardware/libhardware/include/hardware/
Dgralloc.h107 GRALLOC_USAGE_PROTECTED = 0x00004000U, enumerator
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp157 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
310 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp181 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
334 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMem.h141 allocFlags |= GRALLOC_USAGE_PROTECTED; in open()
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp74 if(usage & (GRALLOC_HEAP_MASK | GRALLOC_USAGE_PROTECTED)) in canFallback()
87 if ((usage & GRALLOC_USAGE_PROTECTED) or in useUncached()
389 if(usage & GRALLOC_USAGE_PROTECTED) { in allocate()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp200 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
351 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()
/hardware/qcom/sm8150/display/gralloc/
Dgr_allocator.cpp214 if (usage & GRALLOC_USAGE_PROTECTED) { in GetIonHeapInfo()

123