/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
|
D | Metadata.h | 53 bool validate(uint32_t tag, int tag_type, int count);
|
/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
|
D | Metadata.h | 53 bool validate(uint32_t tag, int tag_type, int count);
|
/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/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/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/interfaces/neuralnetworks/1.0/vts/functional/ |
D | ValidateModel.cpp | 67 static void validate(const sp<IDevice>& device, const std::string& message, V1_0::Model model, in validate() function 129 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest() 158 validate(device, message, model, [operand, invalidRank](Model* model) { in mutateOperandRankTest() 187 validate(device, message, model, [operand, invalidScale](Model* model) { in mutateOperandScaleTest() 218 validate(device, message, model, [operand, invalidZeroPoint](Model* model) { in mutateOperandZeroPointTest() 296 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperationOperandTypeTest() 318 validate(device, message, model, [operation, invalidOperationType](Model* model) { in mutateOperationTypeTest() 336 validate(device, message, model, [operation, input, invalidOperand](Model* model) { in mutateOperationInputOperandIndexTest() 353 validate(device, message, model, [operation, output, invalidOperand](Model* model) { in mutateOperationOutputOperandIndexTest() 387 validate(device, message, model, in removeOperandTest() [all …]
|
D | ValidateRequest.cpp | 96 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate() function 137 validate(preparedModel, message, request, in removeInputTest() 147 validate(preparedModel, message, request, in removeOutputTest()
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | ValidateModel.cpp | 80 static void validate(const sp<IDevice>& device, const std::string& message, V1_1::Model model, in validate() function 145 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest() 174 validate(device, message, model, [operand, invalidRank](Model* model) { in mutateOperandRankTest() 203 validate(device, message, model, [operand, invalidScale](Model* model) { in mutateOperandScaleTest() 234 validate(device, message, model, [operand, invalidZeroPoint](Model* model) { in mutateOperandZeroPointTest() 312 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperationOperandTypeTest() 334 validate(device, message, model, [operation, invalidOperationType](Model* model) { in mutateOperationTypeTest() 352 validate(device, message, model, [operation, input, invalidOperand](Model* model) { in mutateOperationInputOperandIndexTest() 369 validate(device, message, model, [operation, output, invalidOperand](Model* model) { in mutateOperationOutputOperandIndexTest() 403 validate(device, message, model, in removeOperandTest() [all …]
|
D | ValidateRequest.cpp | 97 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate() function 138 validate(preparedModel, message, request, in removeInputTest() 148 validate(preparedModel, message, request, in removeOutputTest()
|
/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()
|
D | gralloc_priv.h | 254 static int validate(const native_handle* h) { in validate() function 285 if (validate(in) == 0) { in dynamicCast()
|
/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()
|
D | gralloc_priv.h | 257 static int validate(const native_handle* h) { in validate() function 288 if (validate(in) == 0) { in dynamicCast()
|
/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()
|
D | overlay.h | 92 void validate(int index); 153 inline void Overlay::validate(int index) { in validate() function
|
/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/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/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/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/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()
|
D | gralloc_priv.h | 213 static int validate(const native_handle* h) { in validate() function 243 if (validate(in) == 0) { in dynamicCast()
|