Home
last modified time | relevance | path

Searched refs:validate (Results 1 – 25 of 63) sorted by relevance

123

/hardware/libhardware/modules/usbcamera/
DMetadata.cpp62 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8()
71 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32()
76 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat()
81 if (!validate(tag, TYPE_INT64, count)) return -EINVAL; in addInt64()
86 if (!validate(tag, TYPE_DOUBLE, count)) return -EINVAL; in addDouble()
92 if (!validate(tag, TYPE_RATIONAL, count)) return -EINVAL; in addRational()
96 bool Metadata::validate(uint32_t tag, int tag_type, int count) { in validate() function in usb_camera_hal::Metadata
DMetadata.h53 bool validate(uint32_t tag, int tag_type, int count);
/hardware/libhardware/modules/camera/3_0/
DMetadata.cpp68 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8()
79 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32()
85 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat()
91 if (!validate(tag, TYPE_INT64, count)) return -EINVAL; in addInt64()
97 if (!validate(tag, TYPE_DOUBLE, count)) return -EINVAL; in addDouble()
104 if (!validate(tag, TYPE_RATIONAL, count)) return -EINVAL; in addRational()
108 bool Metadata::validate(uint32_t tag, int tag_type, int count) in validate() function in default_camera_hal::Metadata
DMetadata.h53 bool validate(uint32_t tag, int tag_type, int count);
/hardware/libhardware/modules/gralloc/
Dmapper.cpp80 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
130 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
171 if (private_handle_t::validate(handle) < 0) in gralloc_lock()
185 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
/hardware/qcom/display/msm8998/libgralloc/
Dmapper.cpp171 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
185 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
217 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
283 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
363 if (private_handle_t::validate(hnd)) { in gralloc_perform()
379 if (private_handle_t::validate(hnd)) { in gralloc_perform()
410 if (private_handle_t::validate(hnd)) { in gralloc_perform()
447 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
456 if (private_handle_t::validate(hnd)) { in gralloc_perform()
472 if (private_handle_t::validate(hnd)) { in gralloc_perform()
[all …]
/hardware/qcom/display/msm8084/libgralloc/
Dmapper.cpp133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
210 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
268 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
342 if (private_handle_t::validate(hnd)) { in gralloc_perform()
368 if (private_handle_t::validate(hnd)) { in gralloc_perform()
385 if (private_handle_t::validate(hnd)) { in gralloc_perform()
419 if (private_handle_t::validate(hnd)) { in gralloc_perform()
432 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h254 static int validate(const native_handle* h) { in validate() function
285 if (validate(in) == 0) { in dynamicCast()
/hardware/qcom/display/msm8226/libgralloc/
Dmapper.cpp133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
210 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
268 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
342 if (private_handle_t::validate(hnd)) { in gralloc_perform()
368 if (private_handle_t::validate(hnd)) { in gralloc_perform()
385 if (private_handle_t::validate(hnd)) { in gralloc_perform()
419 if (private_handle_t::validate(hnd)) { in gralloc_perform()
432 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h257 static int validate(const native_handle* h) { in validate() function
288 if (validate(in) == 0) { in dynamicCast()
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp173 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
187 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
219 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
285 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
422 if (private_handle_t::validate(hnd)) { in gralloc_perform()
438 if (private_handle_t::validate(hnd)) { in gralloc_perform()
470 if (private_handle_t::validate(hnd)) { in gralloc_perform()
484 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
493 if (private_handle_t::validate(hnd)) { in gralloc_perform()
509 if (private_handle_t::validate(hnd)) { in gralloc_perform()
[all …]
Dgralloc_priv.h274 static int validate(const native_handle* h) { in validate() function
305 if (validate(in) == 0) { in dynamicCast()
/hardware/qcom/display/msm8960/liboverlay/
Doverlay.cpp125 validate(index); in commit()
144 validate(index); in queueBuffer()
155 validate(index); in setCrop()
162 validate(index); in setPosition()
169 validate(index); in setTransform()
180 validate(index); in setSource()
200 validate(index); in setVisualParams()
Doverlay.h92 void validate(int index);
153 inline void Overlay::validate(int index) { in validate() function
/hardware/qcom/display/msm8909/libgralloc/
Dmapper.cpp146 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
174 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
226 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
292 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
367 if (private_handle_t::validate(hnd)) { in gralloc_perform()
385 if (private_handle_t::validate(hnd)) { in gralloc_perform()
420 if (private_handle_t::validate(hnd)) { in gralloc_perform()
434 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h260 static int validate(const native_handle* h) { in validate() function
291 if (validate(in) == 0) { in dynamicCast()
/hardware/qcom/display/msm8960/libgenlock/
Dgenlock.cpp71 if (private_handle_t::validate(buffer_handle)) { in perform_lock_unlock_operation()
146 if (private_handle_t::validate(buffer_handle)) { in genlock_create_lock()
201 if (private_handle_t::validate(buffer_handle)) { in genlock_release_lock()
231 if (private_handle_t::validate(buffer_handle)) { in genlock_attach_lock()
324 if (private_handle_t::validate(buffer_handle)) { in genlock_wait()
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp173 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
187 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
219 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
285 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
420 if (private_handle_t::validate(hnd)) { in gralloc_perform()
437 if (private_handle_t::validate(hnd)) { in gralloc_perform()
470 if (private_handle_t::validate(hnd)) { in gralloc_perform()
484 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
493 if (private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h275 static int validate(const native_handle* h) { in validate() function
306 if (validate(in) == 0) { in dynamicCast()
/hardware/qcom/display/msm8084/liboverlay/
Doverlay.cpp272 validate((int)pipe1Index); in comparePipePriority()
273 validate((int)pipe2Index); in comparePipePriority()
286 validate(index); in commit()
307 validate(index); in queueBuffer()
318 validate(index); in setCrop()
325 validate(index); in setColor()
332 validate(index); in setPosition()
339 validate(index); in setTransform()
350 validate(index); in setSource()
370 validate(index); in setVisualParams()
/hardware/qcom/display/msm8909/liboverlay/
Doverlay.cpp281 validate((int)pipe1Index); in comparePipePriority()
282 validate((int)pipe2Index); in comparePipePriority()
294 validate((int)dest); in commit()
308 validate((int)dest); in queueBuffer()
318 validate((int)dest); in setCrop()
324 validate((int)dest); in setColor()
330 validate((int)dest); in setPosition()
336 validate((int)dest); in setTransform()
346 validate((int)dest); in setSource()
353 validate((int)dest); in setVisualParams()
/hardware/qcom/display/msm8994/liboverlay/
Doverlay.cpp287 validate((int)pipe1Index); in needsPrioritySwap()
288 validate((int)pipe2Index); in needsPrioritySwap()
345 validate((int)dest); in commit()
359 validate((int)dest); in queueBuffer()
369 validate((int)dest); in setCrop()
375 validate((int)dest); in setColor()
381 validate((int)dest); in setPosition()
387 validate((int)dest); in setTransform()
397 validate((int)dest); in setSource()
404 validate((int)dest); in setVisualParams()
/hardware/qcom/display/msm8226/liboverlay/
Doverlay.cpp295 validate((int)pipe1Index); in comparePipePriority()
296 validate((int)pipe2Index); in comparePipePriority()
308 validate((int)dest); in commit()
328 validate((int)dest); in queueBuffer()
338 validate((int)dest); in setCrop()
344 validate((int)dest); in setColor()
350 validate((int)dest); in setPosition()
356 validate((int)dest); in setTransform()
366 validate((int)dest); in setSource()
373 validate((int)dest); in setVisualParams()
/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp129 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
156 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
204 if (private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
304 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
373 if (private_handle_t::validate(hnd)) { in gralloc_perform()
395 if (private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h213 static int validate(const native_handle* h) { in validate() function
243 if (validate(in) == 0) { in dynamicCast()

123