Home
last modified time | relevance | path

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

1234567

/hardware/qcom/sm8150/display/gralloc/
DQtiMapperExtensions.cpp55 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 …]
/hardware/qcom/sm7250/display/gralloc/
DQtiMapperExtensions.cpp55 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 …]
/hardware/libhardware/modules/usbcamera/
DMetadata.cpp65 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/
DMetadata.cpp70 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/
Dmapper.cpp79 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/
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/msm8909w_3100/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/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DUtils.h34 nn::Result<void> validate(const Type& halObject) { in validate() function
44 const auto result = utils::validate(halObject); in valid()
53 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
/hardware/google/gfxstream/host/apigen-codec-common/
DChecksumCalculatorThreadInfo.cpp66 bool ChecksumCalculatorThreadInfo::validate(ChecksumCalculator* calc, in validate() function in ChecksumCalculatorThreadInfo
72 return calc->validate(checksum, checksumLen); in validate()
81 if (!validate(calc, buf, bufLen, checksum, checksumLen)) { in validOrDie()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DUtils.h36 nn::Result<void> validate(const Type& halObject) { in validate() function
46 const auto result = utils::validate(halObject); in valid()
55 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DUtils.h45 nn::Result<void> validate(const Type& halObject) { in validate() function
55 const auto result = utils::validate(halObject); in valid()
64 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DUtils.h45 nn::Result<void> validate(const Type& halObject) { in validate() function
55 const auto result = utils::validate(halObject); in valid()
64 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
/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()
/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()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateModel.cpp66 static void validate(const sp<IDevice>& device, const std::string& message, in validate() function
270 validate(device, message, model, [operation](Model* model) { in mutateExecutionOrderTest()
287 validate(device, message, model, [operation](Model* model) { in mutateExecutionOrderTest()
313 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest()
342 validate(device, message, model, [operand, invalidRank](Model* model) { in mutateOperandRankTest()
371 validate(device, message, model, [operand, invalidScale](Model* model) { in mutateOperandScaleTest()
402 validate(device, message, model, [operand, invalidZeroPoint](Model* model) { in mutateOperandZeroPointTest()
467 validate(device, message, model, [operand, invalidLifeTime](Model* model) { in mutateOperandLifeTimeTest()
552 validate(device, message, model, [operand, changedLifeTime](Model* model) { in mutateOperandInputOutputTest()
584 validate(device, message, model, [operand, invalidNumberOfConsumers](Model* model) { in mutateOperandNumberOfConsumersTest()
[all …]
DValidateRequest.cpp34 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/interfaces/neuralnetworks/1.1/vts/functional/
DValidateRequest.cpp38 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()
DValidateModel.cpp81 static void validate(const sp<IDevice>& device, const std::string& message, in validate() function
290 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest()
307 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest()
333 validate(device, message, model, in mutateOperandTypeTest()
364 validate(device, message, model, in mutateOperandRankTest()
394 validate(device, message, model, in mutateOperandScaleTest()
426 validate(device, message, model, in mutateOperandZeroPointTest()
492 validate(device, message, model, in mutateOperandLifeTimeTest()
578 validate(device, message, model, in mutateOperandInputOutputTest()
611 validate(device, message, model, in mutateOperandNumberOfConsumersTest()
[all …]
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp172 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/interfaces/tv/tuner/aidl/default/
Ddtv_plugin.cpp38 !interface_->validate || !interface_->create_streamer || !interface_->destroy_streamer || in load()
82 bool DtvPlugin::validate(const char* transport_desc) { in validate() function in DtvPlugin
88 return interface_->validate(transport_desc); in validate()
/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()
/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/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DUtils.h53 nn::Result<void> validate(const Type& halObject) { in validate() function
63 const auto result = utils::validate(halObject); in valid()
72 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateModel.cpp82 static void validate(const sp<IDevice>& device, const std::string& message, in validate() function
329 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest()
346 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest()
372 validate(device, message, model, in mutateOperandTypeTest()
414 validate(device, message, model, in mutateOperandRankTest()
452 validate(device, message, model, in mutateOperandScaleTest()
495 validate(device, message, model, in mutateOperandZeroPointTest()
561 validate(device, message, model, in mutateOperandLifeTimeTest()
647 validate(device, message, model, in mutateOperandInputOutputTest()
679 validate(device, message, model, in mutateOperandNumberOfConsumersTest()
[all …]
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateModel.cpp88 static void validate(const sp<IDevice>& device, const std::string& message, in validate() function
346 validate(device, message, model, in mutateExecutionOrderTest()
364 validate(device, message, model, in mutateExecutionOrderTest()
391 validate(device, message, model, in mutateOperandTypeTest()
433 validate(device, message, model, in mutateOperandRankTest()
473 validate(device, message, model, in mutateOperandScaleTest()
517 validate(device, message, model, in mutateOperandZeroPointTest()
585 validate(device, message, model, in mutateOperandLifeTimeTest()
673 validate(device, message, model, in mutateOperandInputOutputTest()
705 validate(device, message, model, in mutateOperandNumberOfConsumersTest()
[all …]

1234567