Home
last modified time | relevance | path

Searched refs:ION_SECURE (Results 1 – 25 of 36) sorted by relevance

12

/hardware/qcom/sm8150/display/gralloc/
Dgr_allocator.cpp53 #ifndef ION_SECURE
54 #define ION_SECURE ION_FLAG_SECURE macro
72 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_ALLOW_NON_CONTIG)
73 #define ION_SD_FLAGS ION_SECURE
74 #define ION_SC_FLAGS ION_SECURE
75 #define ION_SC_PREVIEW_FLAGS ION_SECURE
83 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_CP_PIXEL)
84 #define ION_SD_FLAGS (ION_SECURE | ION_FLAG_CP_SEC_DISPLAY)
85 #define ION_SC_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA | ION_FLAG_CP_DSP_EXT)
86 #define ION_SC_PREVIEW_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA_PREVIEW)
[all …]
/hardware/qcom/sm7250/display/gralloc/
Dgr_allocator.cpp57 #ifndef ION_SECURE
58 #define ION_SECURE ION_FLAG_SECURE macro
68 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_ALLOW_NON_CONTIG)
69 #define ION_SD_FLAGS ION_SECURE
70 #define ION_SC_FLAGS ION_SECURE
71 #define ION_SC_PREVIEW_FLAGS ION_SECURE
75 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_CP_PIXEL)
76 #define ION_SD_FLAGS (ION_SECURE | ION_FLAG_CP_SEC_DISPLAY)
77 #define ION_SC_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA)
78 #define ION_SC_PREVIEW_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA_PREVIEW)
[all …]
/hardware/qcom/display/msm8909/gralloc/
Dgr_allocator.cpp55 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_CP_PIXEL)
56 #define ION_SD_FLAGS (ION_SECURE | ION_FLAG_CP_SEC_DISPLAY)
57 #define ION_SC_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA)
58 #define ION_SC_PREVIEW_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA_PREVIEW)
62 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_ALLOW_NON_CONTIG)
63 #define ION_SD_FLAGS ION_SECURE
64 #define ION_SC_FLAGS ION_SECURE
65 #define ION_SC_PREVIEW_FLAGS ION_SECURE
297 if (flags & UINT(ION_SECURE)) { in GetIonHeapInfo()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_allocator.cpp55 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_CP_PIXEL)
56 #define ION_SD_FLAGS (ION_SECURE | ION_FLAG_CP_SEC_DISPLAY)
57 #define ION_SC_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA)
58 #define ION_SC_PREVIEW_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA_PREVIEW)
62 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_ALLOW_NON_CONTIG)
63 #define ION_SD_FLAGS ION_SECURE
64 #define ION_SC_FLAGS ION_SECURE
65 #define ION_SC_PREVIEW_FLAGS ION_SECURE
297 if (flags & UINT(ION_SECURE)) { in GetIonHeapInfo()
/hardware/qcom/display/msm8994/libgralloc/
Dionalloc.cpp81 ionAllocData.heap_id_mask = data.flags & ~ION_SECURE; in alloc_buffer()
88 if (data.flags & ION_SECURE) in alloc_buffer()
89 ionAllocData.flags |= ION_SECURE; in alloc_buffer()
113 if(!(data.flags & ION_SECURE)) { in alloc_buffer()
Dalloc_controller.cpp391 ionFlags |= ION_SECURE; in allocate()
412 if(ionFlags & ION_SECURE) in allocate()
/hardware/qcom/display/msm8226/libgralloc/
Dionalloc.cpp76 ionAllocData.heap_id_mask = data.flags & ~ION_SECURE; in alloc_buffer()
80 if (data.flags & ION_SECURE) in alloc_buffer()
81 ionAllocData.flags |= ION_SECURE; in alloc_buffer()
102 if(!(data.flags & ION_SECURE)) { in alloc_buffer()
Dalloc_controller.cpp302 ionFlags |= ION_SECURE; in allocate()
323 if(ionFlags & ION_SECURE) in allocate()
/hardware/qcom/display/msm8960/libgralloc/
Dionalloc.cpp76 ionAllocData.heap_id_mask = data.flags & ~ION_SECURE; in alloc_buffer()
80 if (data.flags & ION_SECURE) in alloc_buffer()
81 ionAllocData.flags |= ION_SECURE; in alloc_buffer()
102 if(!(data.flags & ION_SECURE)) { in alloc_buffer()
Dalloc_controller.cpp202 ionFlags |= ION_SECURE; in allocate()
/hardware/qcom/display/msm8084/libgralloc/
Dionalloc.cpp76 ionAllocData.heap_mask = data.flags & ~ION_SECURE; in alloc_buffer()
80 if (data.flags & ION_SECURE) in alloc_buffer()
81 ionAllocData.flags |= ION_SECURE; in alloc_buffer()
102 if(!(data.flags & ION_SECURE)) { in alloc_buffer()
Dalloc_controller.cpp303 ionFlags |= ION_SECURE; in allocate()
324 if(ionFlags & ION_SECURE) in allocate()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp62 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_CP_PIXEL)
63 #define ION_SD_FLAGS (ION_SECURE | ION_FLAG_CP_SEC_DISPLAY)
64 #define ION_SC_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA)
65 #define ION_SC_PREVIEW_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA_PREVIEW)
69 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_ALLOW_NON_CONTIG)
70 #define ION_SD_FLAGS ION_SECURE
71 #define ION_SC_FLAGS ION_SECURE
72 #define ION_SC_PREVIEW_FLAGS ION_SECURE
603 if (flags & UINT(ION_SECURE)) { in GetIonHeapInfo()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp59 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_CP_PIXEL)
60 #define ION_SD_FLAGS (ION_SECURE | ION_FLAG_CP_SEC_DISPLAY)
61 #define ION_SC_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA)
62 #define ION_SC_PREVIEW_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA_PREVIEW)
66 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_ALLOW_NON_CONTIG)
67 #define ION_SD_FLAGS ION_SECURE
68 #define ION_SC_FLAGS ION_SECURE
69 #define ION_SC_PREVIEW_FLAGS ION_SECURE
601 if (flags & UINT(ION_SECURE)) { in GetIonHeapInfo()
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp63 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_CP_PIXEL)
64 #define ION_SD_FLAGS (ION_SECURE | ION_FLAG_CP_SEC_DISPLAY)
65 #define ION_SC_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA)
66 #define ION_SC_PREVIEW_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA_PREVIEW)
70 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_ALLOW_NON_CONTIG)
71 #define ION_SD_FLAGS ION_SECURE
72 #define ION_SC_FLAGS ION_SECURE
73 #define ION_SC_PREVIEW_FLAGS ION_SECURE
504 if(ionFlags & ION_SECURE) in allocate()
Dionalloc.cpp102 if(!(data.flags & ION_SECURE)) { in alloc_buffer()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dalloc_controller.cpp63 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_CP_PIXEL)
64 #define ION_SD_FLAGS (ION_SECURE | ION_FLAG_CP_SEC_DISPLAY)
65 #define ION_SC_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA)
66 #define ION_SC_PREVIEW_FLAGS (ION_SECURE | ION_FLAG_CP_CAMERA_PREVIEW)
70 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_ALLOW_NON_CONTIG)
71 #define ION_SD_FLAGS ION_SECURE
72 #define ION_SC_FLAGS ION_SECURE
73 #define ION_SC_PREVIEW_FLAGS ION_SECURE
504 if(ionFlags & ION_SECURE) in allocate()
Dionalloc.cpp102 if(!(data.flags & ION_SECURE)) { in alloc_buffer()
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp65 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_CP_PIXEL)
66 #define ION_SD_FLAGS (ION_SECURE | ION_FLAG_CP_SEC_DISPLAY)
70 #define ION_CP_FLAGS (ION_SECURE | ION_FLAG_ALLOW_NON_CONTIG)
71 #define ION_SD_FLAGS ION_SECURE
486 if(ionFlags & ION_SECURE) in allocate()
Dionalloc.cpp107 if(!(data.flags & ION_SECURE)) { in alloc_buffer()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp98 #define SECURE_FLAGS_INPUT_BUFFER (ION_SECURE | ION_FLAG_CP_PIXEL)
99 #define SECURE_FLAGS_OUTPUT_BUFFER (ION_SECURE | ION_FLAG_CP_BITSTREAM)
105 #define SECURE_FLAGS_INPUT_BUFFER ION_SECURE
106 #define SECURE_FLAGS_OUTPUT_BUFFER ION_SECURE
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp100 #define SECURE_FLAGS_INPUT_BUFFER (ION_SECURE | ION_FLAG_CP_PIXEL)
101 #define SECURE_FLAGS_OUTPUT_BUFFER (ION_SECURE | ION_FLAG_CP_BITSTREAM)
107 #define SECURE_FLAGS_INPUT_BUFFER ION_SECURE
108 #define SECURE_FLAGS_OUTPUT_BUFFER ION_SECURE
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp3725 &drv_ctx.op_buf_ion_info[i].fd_ion_data, secure_mode ? ION_SECURE : 0); in use_output_buffer()
4271 &drv_ctx.ip_buf_ion_info[i].fd_ion_data, secure_mode ? ION_SECURE : 0); in allocate_input_buffer()
4441 &ion_alloc_data, &fd_ion_data, secure_mode ? ION_SECURE : 0); in allocate_output_buffer()
6944 if ((secure_mode) && (flag & ION_SECURE)) in alloc_map_ion_memory()
6945 alloc_data->flags |= ION_SECURE; in alloc_map_ion_memory()
Domx_vdec_msm8974.cpp4839 &drv_ctx.op_buf_ion_info[i].fd_ion_data, secure_mode ? ION_SECURE : 0); in use_output_buffer()
5418 &drv_ctx.ip_buf_ion_info[i].fd_ion_data, secure_mode ? ION_SECURE in allocate_input_buffer()
5608 (secure_mode && !secure_scaling_to_non_secure_opb) ? ION_SECURE : cache_flag); in allocate_output_buffer()
8528 if ((secure_mode) && (flag & ION_SECURE)) in alloc_map_ion_memory()
8529 alloc_data->flags |= ION_SECURE; in alloc_map_ion_memory()
8532 if (secure_mode && (alloc_data->flags & ION_SECURE)) in alloc_map_ion_memory()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp3704 &drv_ctx.op_buf_ion_info[i].fd_ion_data, secure_mode ? ION_SECURE : 0); in use_output_buffer()
4250 &drv_ctx.ip_buf_ion_info[i].fd_ion_data, secure_mode ? ION_SECURE : 0); in allocate_input_buffer()
4420 &ion_alloc_data, &fd_ion_data, secure_mode ? ION_SECURE : 0); in allocate_output_buffer()
6908 if ((secure_mode) && (flag & ION_SECURE)) in alloc_map_ion_memory()
6909 alloc_data->flags |= ION_SECURE; in alloc_map_ion_memory()

12