Home
last modified time | relevance | path

Searched refs:V1_2 (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/frameworks/ml/nn/common/include/
DExecutionBurstServer.h40 hardware::MQDescriptorSync<hardware::neuralnetworks::V1_2::FmqRequestDatum>;
42 hardware::MQDescriptorSync<hardware::neuralnetworks::V1_2::FmqResultDatum>;
54 std::vector<hardware::neuralnetworks::V1_2::FmqResultDatum> serialize(
56 const std::vector<hardware::neuralnetworks::V1_2::OutputShape>& outputShapes,
57 hardware::neuralnetworks::V1_2::Timing timing);
70 hardware::neuralnetworks::V1_2::MeasureTiming>>
71 deserialize(const std::vector<hardware::neuralnetworks::V1_2::FmqRequestDatum>& data);
84 hardware::MessageQueue<hardware::neuralnetworks::V1_2::FmqRequestDatum,
115 hardware::neuralnetworks::V1_2::MeasureTiming>>
128 std::optional<std::vector<hardware::neuralnetworks::V1_2::FmqRequestDatum>> getPacketBlocking();
[all …]
DExecutionBurstController.h58 std::vector<hardware::neuralnetworks::V1_2::FmqRequestDatum> serialize(
60 hardware::neuralnetworks::V1_2::MeasureTiming measure, const std::vector<int32_t>& slots);
72 std::vector<hardware::neuralnetworks::V1_2::OutputShape>,
73 hardware::neuralnetworks::V1_2::Timing>>
74 deserialize(const std::vector<hardware::neuralnetworks::V1_2::FmqResultDatum>& data);
95 hardware::MQDescriptorSync<hardware::neuralnetworks::V1_2::FmqResultDatum>;
96 using FmqResultChannel = hardware::MessageQueue<hardware::neuralnetworks::V1_2::FmqResultDatum,
127 std::vector<hardware::neuralnetworks::V1_2::OutputShape>,
128 hardware::neuralnetworks::V1_2::Timing>>
138 std::optional<std::vector<hardware::neuralnetworks::V1_2::FmqResultDatum>> getPacketBlocking();
[all …]
DHalInterfaces.h60 namespace V1_2 = hardware::neuralnetworks::V1_2; variable
69 using V1_2::Constant;
70 using V1_2::DeviceType;
71 using V1_2::Extension;
72 using V1_2::MeasureTiming;
73 using V1_2::OutputShape;
74 using V1_2::SymmPerChannelQuantParams;
75 using V1_2::Timing;
100 using ExtensionNameAndPrefix = V1_2::Model::ExtensionNameAndPrefix;
101 using ExtensionTypeEncoding = V1_2::Model::ExtensionTypeEncoding;
[all …]
DUtils.h195 struct VersionedType<HalVersion::V1_2> {
196 using OperandPerformance = hal::V1_2::Capabilities::OperandPerformance;
197 using OperandType = hal::V1_2::OperandType;
227 void update(hal::hidl_vec<hal::V1_2::Capabilities::OperandPerformance>* operandPerformance,
228 hal::V1_2::OperandType type, hal::PerformanceInfo perf);
236 const hal::hidl_vec<hal::V1_2::Capabilities::OperandPerformance>& operandPerformance,
237 hal::V1_2::OperandType type);
328 void logModelToInfo(const hal::V1_2::Model& model);
359 case HalVersion::V1_2:
437 bool compliantWithV1_0(const hal::V1_2::Capabilities& capabilities);
[all …]
DValidateHal.h32 V1_2, enumerator
72 bool validOperationType(hal::V1_2::OperationType operation);
75 bool validOperandType(hal::V1_2::OperandType operand);
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp96 const sp<V1_2::IDevice> mDriverV1_2;
120 const sp<V1_2::IDevice> mDriverV1_2;
579 TEST_SINGLE_OPERATION(ADD, V1_2, kMediumCriteria);
580 TEST_SINGLE_OPERATION(MUL, V1_2, kMediumCriteria);
581 TEST_SINGLE_OPERATION(SUB, V1_2, kMediumCriteria);
582 TEST_SINGLE_OPERATION(DIV, V1_2, kRelaxedCriteria);
583 TEST_SINGLE_OPERATION(FLOOR, V1_2, kMediumCriteria);
584 TEST_SINGLE_OPERATION(LOGISTIC, V1_2, kRelaxedCriteria);
585 TEST_SINGLE_OPERATION(RELU, V1_2, kMediumCriteria);
586 TEST_SINGLE_OPERATION(RELU1, V1_2, kMediumCriteria);
[all …]
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DElementwise.cpp73 DEFINE_ELEMENTWISE_SIGNATURE(FLOOR, V1_2, TestOperandType::TENSOR_FLOAT16);
74 DEFINE_ELEMENTWISE_SIGNATURE(LOGISTIC, V1_2, TestOperandType::TENSOR_FLOAT16);
75 DEFINE_ELEMENTWISE_SIGNATURE(RELU, V1_2, TestOperandType::TENSOR_FLOAT16);
76 DEFINE_ELEMENTWISE_SIGNATURE(RELU1, V1_2, TestOperandType::TENSOR_FLOAT16);
77 DEFINE_ELEMENTWISE_SIGNATURE(RELU6, V1_2, TestOperandType::TENSOR_FLOAT16);
93 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(ABS, V1_2, TestOperandType::TENSOR_FLOAT32,
95 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(EXP, V1_2, TestOperandType::TENSOR_FLOAT32,
97 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(NEG, V1_2, TestOperandType::TENSOR_FLOAT32,
100 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(SIN, V1_2, TestOperandType::TENSOR_FLOAT32,
102 DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(LOGICAL_NOT, V1_2, TestOperandType::TENSOR_BOOL8);
[all …]
DBroadcast.cpp102 DEFINE_BROADCAST_WITH_ACT_SIGNATURE(ADD, V1_2, TestOperandType::TENSOR_FLOAT16);
103 DEFINE_BROADCAST_WITH_ACT_SIGNATURE(MUL, V1_2, TestOperandType::TENSOR_FLOAT16);
104 DEFINE_BROADCAST_WITH_ACT_SIGNATURE(SUB, V1_2, TestOperandType::TENSOR_FLOAT16,
106 DEFINE_BROADCAST_WITH_ACT_SIGNATURE(DIV, V1_2, TestOperandType::TENSOR_FLOAT16);
126 DEFINE_BROADCAST_SIGNATURE(POW, V1_2, TestOperandType::TENSOR_FLOAT32,
128 DEFINE_BROADCAST_SIGNATURE(PRELU, V1_2, TestOperandType::TENSOR_FLOAT32,
130 DEFINE_BROADCAST_SIGNATURE(MAXIMUM, V1_2, TestOperandType::TENSOR_FLOAT32,
133 DEFINE_BROADCAST_SIGNATURE(MINIMUM, V1_2, TestOperandType::TENSOR_FLOAT32,
141 DEFINE_BROADCAST_SIGNATURE(LOGICAL_AND, V1_2, TestOperandType::TENSOR_BOOL8);
142 DEFINE_BROADCAST_SIGNATURE(LOGICAL_OR, V1_2, TestOperandType::TENSOR_BOOL8);
[all …]
DReduce.cpp75 DEFINE_MEAN_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT16);
89 DEFINE_REDUCE_SIGNATURE(REDUCE_ALL, V1_2, TestOperandType::TENSOR_BOOL8);
90 DEFINE_REDUCE_SIGNATURE(REDUCE_ANY, V1_2, TestOperandType::TENSOR_BOOL8);
91 DEFINE_REDUCE_SIGNATURE(REDUCE_PROD, V1_2, TestOperandType::TENSOR_FLOAT32,
93 DEFINE_REDUCE_SIGNATURE(REDUCE_SUM, V1_2, TestOperandType::TENSOR_FLOAT32,
95 DEFINE_REDUCE_SIGNATURE(REDUCE_MAX, V1_2, TestOperandType::TENSOR_FLOAT32,
97 DEFINE_REDUCE_SIGNATURE(REDUCE_MIN, V1_2, TestOperandType::TENSOR_FLOAT32,
125 DEFINE_ARGMIN_MAX_SIGNATURE(ARGMAX, V1_2, TestOperandType::TENSOR_FLOAT32,
128 DEFINE_ARGMIN_MAX_SIGNATURE(ARGMIN, V1_2, TestOperandType::TENSOR_FLOAT32,
DNormalization.cpp46 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
55 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
66 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
115 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
125 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
135 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
187 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
203 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
219 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
236 .version = TestHalVersion::V1_2, in DEFINE_OPERATION_SIGNATURE()
[all …]
DReshape.cpp62 DEFINE_SPACE_TO_DEPTH_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT16);
76 DEFINE_SPACE_TO_DEPTH_WITH_LAYOUT_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT32,
118 DEFINE_DEPTH_TO_SPACE_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT16);
132 DEFINE_DEPTH_TO_SPACE_WITH_LAYOUT_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT32,
166 DEFINE_RESHAPE_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT16);
206 DEFINE_BATCH_TO_SPACE_ND_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT16);
222 DEFINE_BATCH_TO_SPACE_ND_WITH_LAYOUT_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT32,
284 DEFINE_SPACE_TO_BATCH_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT16);
301 DEFINE_SPACE_TO_BATCH_WITH_LAYOUT_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT32,
357 DEFINE_PAD_SIGNATURE(V1_2, TestOperandType::TENSOR_FLOAT16);
[all …]
DPoolings.cpp146 DEFINE_POOLING_SIGNATURE(AVERAGE_POOL_2D, V1_2, TestOperandType::TENSOR_FLOAT16);
147 DEFINE_POOLING_SIGNATURE(L2_POOL_2D, V1_2, TestOperandType::TENSOR_FLOAT16);
148 DEFINE_POOLING_SIGNATURE(MAX_POOL_2D, V1_2, TestOperandType::TENSOR_FLOAT16);
191 DEFINE_POOLING_WITH_LAYOUT_SIGNATURE(AVERAGE_POOL_2D, V1_2, TestOperandType::TENSOR_FLOAT32,
194 DEFINE_POOLING_WITH_LAYOUT_SIGNATURE(L2_POOL_2D, V1_2, TestOperandType::TENSOR_FLOAT32,
196 DEFINE_POOLING_WITH_LAYOUT_SIGNATURE(MAX_POOL_2D, V1_2, TestOperandType::TENSOR_FLOAT32,
/frameworks/ml/nn/common/
DUtils.cpp462 void logModelToInfo(const V1_2::Model& model) { in logModelToInfo()
873 if (halVersion < HalVersion::V1_2) { in validateOperation()
906 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
948 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
966 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
989 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1007 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1037 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1084 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1150 HalVersion minSupportedHalVersion = HalVersion::V1_2; in validateOperation()
[all …]
DValidateHal.cpp49 struct ModelToHalVersion<V1_2::Model> {
50 static constexpr HalVersion version = HalVersion::V1_2;
440 static HalVersion getHalVersion(const V1_2::Operation&) { in getHalVersion()
441 return HalVersion::V1_2; in getHalVersion()
521 ((ver < HalVersion::V1_2) || in validatePool()
704 /*allowUnspecifiedRank=*/version >= HalVersion::V1_2) && in validateModel()
715 template bool validateModel<V1_2::Model>(const V1_2::Model& model, ValidationMode mode);
828 /*allowUnspecified=*/version >= HalVersion::V1_2 && allowUnspecifiedOutput, in validateRequest()
839 template bool validateRequest<V1_0::Request, V1_2::Model>(const V1_0::Request& request,
840 const V1_2::Model& model,
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java142 android.hardware.usb.V1_2.Constants.ContaminantDetectionStatus.NOT_SUPPORTED;
149 android.hardware.usb.V1_2.Constants.ContaminantDetectionStatus.DISABLED;
156 android.hardware.usb.V1_2.Constants.ContaminantDetectionStatus.NOT_DETECTED;
163 android.hardware.usb.V1_2.Constants.ContaminantDetectionStatus.DETECTED;
171 android.hardware.usb.V1_2.Constants.ContaminantProtectionStatus.NONE;
179 android.hardware.usb.V1_2.Constants.ContaminantProtectionStatus.FORCE_SINK;
187 android.hardware.usb.V1_2.Constants.ContaminantProtectionStatus.FORCE_SOURCE;
195 android.hardware.usb.V1_2.Constants.ContaminantProtectionStatus.FORCE_DISABLE;
203 android.hardware.usb.V1_2.Constants.ContaminantProtectionStatus.DISABLED;
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicTypes.h37 using android::hardware::graphics::common::V1_2::ColorMode;
38 using android::hardware::graphics::common::V1_2::Dataspace;
39 using android::hardware::graphics::common::V1_2::Hdr;
40 using android::hardware::graphics::common::V1_2::PixelFormat;
/frameworks/native/libs/ui/include/ui/
DGraphicTypes.h37 using android::hardware::graphics::common::V1_2::ColorMode;
38 using android::hardware::graphics::common::V1_2::Dataspace;
39 using android::hardware::graphics::common::V1_2::Hdr;
40 using android::hardware::graphics::common::V1_2::PixelFormat;
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerProperties.h62 android::hardware::graphics::common::V1_2::Dataspace defaultValue);
65 android::hardware::graphics::common::V1_2::PixelFormat defaultValue);
68 android::hardware::graphics::common::V1_2::Dataspace defaultValue);
71 android::hardware::graphics::common::V1_2::PixelFormat defaultValue);
74 android::hardware::graphics::common::V1_2::Dataspace defaultValue);
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
Dservice.cpp28 using android::hardware::drm::V1_2::ICryptoFactory;
29 using android::hardware::drm::V1_2::IDrmFactory;
30 using android::hardware::drm::V1_2::clearkey::CryptoFactory;
31 using android::hardware::drm::V1_2::clearkey::DrmFactory;
DserviceLazy.cpp28 using android::hardware::drm::V1_2::ICryptoFactory;
29 using android::hardware::drm::V1_2::IDrmFactory;
30 using android::hardware::drm::V1_2::clearkey::CryptoFactory;
31 using android::hardware::drm::V1_2::clearkey::DrmFactory;
DDeviceFiles.cpp16 using android::hardware::drm::V1_2::clearkey::OfflineFile;
17 using android::hardware::drm::V1_2::clearkey::HashedFile;
18 using android::hardware::drm::V1_2::clearkey::License;
19 using android::hardware::drm::V1_2::clearkey::License_LicenseState_ACTIVE;
20 using android::hardware::drm::V1_2::clearkey::License_LicenseState_RELEASING;
41 namespace V1_2 { namespace
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DCreatePluginFactories.h26 namespace V1_2 {
29 using ::android::hardware::drm::V1_2::ICryptoFactory;
30 using ::android::hardware::drm::V1_2::IDrmFactory;
/frameworks/ml/nn/driver/sample/
DSampleDriver.h79 hal::Return<void> getSupportedOperations_1_2(const hal::V1_2::Model& model,
89 const hal::V1_2::Model& model, hal::ExecutionPreference preference,
92 const sp<hal::V1_2::IPreparedModelCallback>& callback) override;
102 const sp<hal::V1_2::IPreparedModelCallback>& callback) override;
146 const sp<hal::V1_2::IExecutionCallback>& callback) override;
161 const sp<hal::V1_2::IBurstCallback>& callback,
162 const MQDescriptorSync<hal::V1_2::FmqRequestDatum>& requestChannel,
163 const MQDescriptorSync<hal::V1_2::FmqResultDatum>& resultChannel,
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp76 mPreparedModelV1_2(V1_2::IPreparedModel::castFrom(preparedModel).withDefault(nullptr)), in TestPreparedModelLatest()
96 const sp<V1_2::IExecutionCallback>& callback) override { in execute_1_2()
170 const sp<V1_2::IBurstCallback>& callback, in configureExecutionBurst()
171 const MQDescriptorSync<V1_2::FmqRequestDatum>& requestChannel, in configureExecutionBurst()
172 const MQDescriptorSync<V1_2::FmqResultDatum>& resultChannel, in configureExecutionBurst()
228 const sp<V1_2::IPreparedModel> mPreparedModelV1_2;
248 class TestPreparedModel12 : public V1_2::IPreparedModel {
259 const sp<V1_2::IExecutionCallback>& callback) override { in execute_1_2()
269 const sp<V1_2::IBurstCallback>& callback, in configureExecutionBurst()
270 const MQDescriptorSync<V1_2::FmqRequestDatum>& requestChannel, in configureExecutionBurst()
[all …]
/frameworks/ml/nn/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp43 namespace V1_2 = neuralnetworks::V1_2;
94 V1_2::Operand::ExtraParams extraParams; in createSubgraph()
96 extraParams.channelQuant(V1_2::SymmPerChannelQuantParams{ in createSubgraph()
258 const sp<V1_2::IPreparedModel>& /*preparedModel*/) override { in notify_1_2()
298 const hidl_vec<V1_2::OutputShape>& /*outputShapes*/, in execute()
299 V1_2::Timing /*timing*/) { in execute()
302 preparedModel->executeSynchronously_1_3(request, V1_2::MeasureTiming::YES, {}, {}, cb); in execute()

12345678910>>...15