/hardware/qcom/sm8150/display/gralloc/ |
D | QtiMapperExtensions.cpp | 55 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getMapSecureBufferFlag() 70 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getInterlacedFlag() 87 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getCustomDimensions() 101 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getRgbDataAddress() 137 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getColorSpace() 151 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getYuvPlaneInfo() 171 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in setSingleBufferMode() 185 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getFd() 197 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getWidth() 209 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getHeight() [all …]
|
D | gr_device_impl.cpp | 280 if (!device || (private_handle_t::validate(hnd) != 0)) { in CheckDeviceAndHandle() 702 if (private_handle_t::validate(hnd) != 0) { in Perform() 722 if (private_handle_t::validate(hnd) != 0) { in Perform() 759 if (private_handle_t::validate(hnd) != 0) { in Perform() 773 if (private_handle_t::validate(hnd) != 0) { in Perform() 790 if (private_handle_t::validate(hnd) != 0) { in Perform() 807 if (private_handle_t::validate(hnd) != 0) { in Perform() 828 if (private_handle_t::validate(hnd) != 0) { in Perform() 845 if (private_handle_t::validate(hnd) != 0) { in Perform() 861 if (private_handle_t::validate(hnd) != 0) { in Perform() [all …]
|
/hardware/libhardware/modules/usbcamera/ |
D | Metadata.cpp | 65 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8() 74 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32() 79 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat() 84 if (!validate(tag, TYPE_INT64, count)) return -EINVAL; in addInt64() 89 if (!validate(tag, TYPE_DOUBLE, count)) return -EINVAL; in addDouble() 95 if (!validate(tag, TYPE_RATIONAL, count)) return -EINVAL; in addRational() 99 bool Metadata::validate(uint32_t tag, int tag_type, int count) { in validate() function in usb_camera_hal::Metadata
|
/hardware/libhardware/modules/camera/3_0/ |
D | Metadata.cpp | 70 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8() 81 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32() 87 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat() 93 if (!validate(tag, TYPE_INT64, count)) return -EINVAL; in addInt64() 99 if (!validate(tag, TYPE_DOUBLE, count)) return -EINVAL; in addDouble() 106 if (!validate(tag, TYPE_RATIONAL, count)) return -EINVAL; in addRational() 110 bool Metadata::validate(uint32_t tag, int tag_type, int count) in validate() function in default_camera_hal::Metadata
|
/hardware/libhardware/modules/gralloc/ |
D | mapper.cpp | 79 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer() 129 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer() 170 if (private_handle_t::validate(handle) < 0) in gralloc_lock() 184 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | mapper.cpp | 171 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/msm8909w_3100/libgralloc/ |
D | mapper.cpp | 171 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/interfaces/neuralnetworks/1.1/vts/functional/ |
D | ValidateRequest.cpp | 38 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate() function 59 validate(preparedModel, message, request, in removeInputTest() 69 validate(preparedModel, message, request, in removeOutputTest()
|
D | ValidateModel.cpp | 81 static void validate(const sp<IDevice>& device, const std::string& message, in validate() function 292 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest() 309 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest() 335 validate(device, message, model, in mutateOperandTypeTest() 366 validate(device, message, model, in mutateOperandRankTest() 396 validate(device, message, model, in mutateOperandScaleTest() 428 validate(device, message, model, in mutateOperandZeroPointTest() 494 validate(device, message, model, in mutateOperandLifeTimeTest() 580 validate(device, message, model, in mutateOperandInputOutputTest() 613 validate(device, message, model, in mutateOperandNumberOfConsumersTest() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | mapper.cpp | 133 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()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | mapper.cpp | 133 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()
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | ValidateModel.cpp | 66 static void validate(const sp<IDevice>& device, const std::string& message, in validate() function 272 validate(device, message, model, [operation](Model* model) { in mutateExecutionOrderTest() 289 validate(device, message, model, [operation](Model* model) { in mutateExecutionOrderTest() 315 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest() 344 validate(device, message, model, [operand, invalidRank](Model* model) { in mutateOperandRankTest() 373 validate(device, message, model, [operand, invalidScale](Model* model) { in mutateOperandScaleTest() 404 validate(device, message, model, [operand, invalidZeroPoint](Model* model) { in mutateOperandZeroPointTest() 469 validate(device, message, model, [operand, invalidLifeTime](Model* model) { in mutateOperandLifeTimeTest() 554 validate(device, message, model, [operand, changedLifeTime](Model* model) { in mutateOperandInputOutputTest() 586 validate(device, message, model, [operand, invalidNumberOfConsumers](Model* model) { in mutateOperandNumberOfConsumersTest() [all …]
|
D | ValidateRequest.cpp | 34 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate() function 75 validate(preparedModel, message, request, in removeInputTest() 85 validate(preparedModel, message, request, in removeOutputTest()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | mapper.cpp | 172 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer() 186 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer() 218 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate() 284 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock() 421 if (private_handle_t::validate(hnd)) { in gralloc_perform() 437 if (private_handle_t::validate(hnd)) { in gralloc_perform() 469 if (private_handle_t::validate(hnd)) { in gralloc_perform() 483 if (!private_handle_t::validate(hnd)) { in gralloc_perform() 492 if (private_handle_t::validate(hnd)) { in gralloc_perform() 508 if (private_handle_t::validate(hnd)) { in gralloc_perform() [all …]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlay.cpp | 125 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()
|
/hardware/qcom/sdm845/display/gralloc/ |
D | QtiMapper.cpp | 230 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in validateBufferSize() 248 if (buffer != nullptr && private_handle_t::validate(hnd) == 0 && in getTransportSize() 274 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getMapSecureBufferFlag() 289 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getInterlacedFlag() 305 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getCustomDimensions() 319 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getRgbDataAddress() 343 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getColorSpace() 357 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in getYuvPlaneInfo() 377 if (buffer != nullptr && private_handle_t::validate(hnd) == 0) { in setSingleBufferMode()
|
D | gr_device_impl.cpp | 280 if (!device || (private_handle_t::validate(hnd) != 0)) { in CheckDeviceAndHandle() 683 if (private_handle_t::validate(hnd) != 0) { in Perform() 703 if (private_handle_t::validate(hnd) != 0) { in Perform() 740 if (private_handle_t::validate(hnd) != 0) { in Perform() 754 if (private_handle_t::validate(hnd) != 0) { in Perform() 771 if (private_handle_t::validate(hnd) != 0) { in Perform() 788 if (private_handle_t::validate(hnd) != 0) { in Perform() 809 if (private_handle_t::validate(hnd) != 0) { in Perform() 826 if (private_handle_t::validate(hnd) != 0) { in Perform() 842 if (private_handle_t::validate(hnd) != 0) { in Perform() [all …]
|
/hardware/qcom/display/msm8960/libgenlock/ |
D | genlock.cpp | 71 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/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateModel.cpp | 82 static void validate(const sp<IDevice>& device, const std::string& message, in validate() function 331 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest() 348 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest() 374 validate(device, message, model, in mutateOperandTypeTest() 416 validate(device, message, model, in mutateOperandRankTest() 454 validate(device, message, model, in mutateOperandScaleTest() 497 validate(device, message, model, in mutateOperandZeroPointTest() 563 validate(device, message, model, in mutateOperandLifeTimeTest() 649 validate(device, message, model, in mutateOperandInputOutputTest() 681 validate(device, message, model, in mutateOperandNumberOfConsumersTest() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | ValidateModel.cpp | 88 static void validate(const sp<IDevice>& device, const std::string& message, in validate() function 348 validate(device, message, model, in mutateExecutionOrderTest() 366 validate(device, message, model, in mutateExecutionOrderTest() 393 validate(device, message, model, in mutateOperandTypeTest() 435 validate(device, message, model, in mutateOperandRankTest() 475 validate(device, message, model, in mutateOperandScaleTest() 519 validate(device, message, model, in mutateOperandZeroPointTest() 587 validate(device, message, model, in mutateOperandLifeTimeTest() 675 validate(device, message, model, in mutateOperandInputOutputTest() 707 validate(device, message, model, in mutateOperandNumberOfConsumersTest() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | mapper.cpp | 173 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()
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlay.cpp | 287 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/msm8084/liboverlay/ |
D | overlay.cpp | 272 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/msm8226/liboverlay/ |
D | overlay.cpp | 295 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/ |
D | mapper.cpp | 129 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()
|