/packages/modules/Bluetooth/system/rust/src/gatt/ |
D | opcode_types.rs | 7 pub enum OperationType { enum 24 pub fn classify_opcode(opcode: AttOpcode) -> OperationType { in classify_opcode() argument 26 AttOpcode::ERROR_RESPONSE => OperationType::Response, in classify_opcode() 27 AttOpcode::EXCHANGE_MTU_RESPONSE => OperationType::Response, in classify_opcode() 28 AttOpcode::FIND_INFORMATION_RESPONSE => OperationType::Response, in classify_opcode() 29 AttOpcode::FIND_BY_TYPE_VALUE_RESPONSE => OperationType::Response, in classify_opcode() 30 AttOpcode::READ_BY_TYPE_RESPONSE => OperationType::Response, in classify_opcode() 31 AttOpcode::READ_RESPONSE => OperationType::Response, in classify_opcode() 32 AttOpcode::READ_BLOB_RESPONSE => OperationType::Response, in classify_opcode() 33 AttOpcode::READ_MULTIPLE_RESPONSE => OperationType::Response, in classify_opcode() [all …]
|
D | arbiter.rs | 18 opcode_types::{classify_opcode, OperationType}, 78 OperationType::Command | OperationType::Request | OperationType::Confirmation => Some(att), in try_parse_att_server_packet()
|
/packages/modules/NeuralNetworks/runtime/ |
D | NeuralNetworksV2.cpp | 287 static_assert(static_cast<int32_t>(OperationType::ADD) == ANEURALNETWORKS_ADD, 289 static_assert(static_cast<int32_t>(OperationType::AVERAGE_POOL_2D) == 292 static_assert(static_cast<int32_t>(OperationType::CONV_2D) == ANEURALNETWORKS_CONV_2D, 294 static_assert(static_cast<int32_t>(OperationType::DEPTHWISE_CONV_2D) == 297 static_assert(static_cast<int32_t>(OperationType::DEPTH_TO_SPACE) == ANEURALNETWORKS_DEPTH_TO_SPACE, 299 static_assert(static_cast<int32_t>(OperationType::DEQUANTIZE) == ANEURALNETWORKS_DEQUANTIZE, 301 static_assert(static_cast<int32_t>(OperationType::EMBEDDING_LOOKUP) == 304 static_assert(static_cast<int32_t>(OperationType::FLOOR) == ANEURALNETWORKS_FLOOR, 306 static_assert(static_cast<int32_t>(OperationType::FULLY_CONNECTED) == 309 static_assert(static_cast<int32_t>(OperationType::HASHTABLE_LOOKUP) == [all …]
|
D | NeuralNetworks.cpp | 285 static_assert(static_cast<int32_t>(OperationType::ADD) == ANEURALNETWORKS_ADD, 287 static_assert(static_cast<int32_t>(OperationType::AVERAGE_POOL_2D) == 290 static_assert(static_cast<int32_t>(OperationType::CONV_2D) == ANEURALNETWORKS_CONV_2D, 292 static_assert(static_cast<int32_t>(OperationType::DEPTHWISE_CONV_2D) == 295 static_assert(static_cast<int32_t>(OperationType::DEPTH_TO_SPACE) == ANEURALNETWORKS_DEPTH_TO_SPACE, 297 static_assert(static_cast<int32_t>(OperationType::DEQUANTIZE) == ANEURALNETWORKS_DEQUANTIZE, 299 static_assert(static_cast<int32_t>(OperationType::EMBEDDING_LOOKUP) == 302 static_assert(static_cast<int32_t>(OperationType::FLOOR) == ANEURALNETWORKS_FLOOR, 304 static_assert(static_cast<int32_t>(OperationType::FULLY_CONNECTED) == 307 static_assert(static_cast<int32_t>(OperationType::HASHTABLE_LOOKUP) == [all …]
|
D | FlatbufferModelBuilderUtils.h | 67 inline tflite::BuiltinOperator getFlatbufferOperator(const OperationType& type) { in getFlatbufferOperator() 70 case OperationType::PAD: in getFlatbufferOperator() 72 case OperationType::CONV_2D: in getFlatbufferOperator() 74 case OperationType::ADD: in getFlatbufferOperator() 76 case OperationType::DEPTHWISE_CONV_2D: in getFlatbufferOperator() 78 case OperationType::LOGISTIC: in getFlatbufferOperator()
|
D | ModelBuilder.cpp | 369 OperationType operationType = static_cast<OperationType>(type); in addOperation() 374 if (operationType == OperationType::OEM_OPERATION && !mHasOEMOperation) { in addOperation() 422 mHasOEMOperation |= (operationType == OperationType::OEM_OPERATION); in addOperation() 425 (operationType == OperationType::IF || operationType == OperationType::WHILE); in addOperation() 668 case OperationType::AVERAGE_POOL_2D: { in getNumTrailingArgumentsToRemove() 682 case OperationType::CONV_2D: { in getNumTrailingArgumentsToRemove() 701 case OperationType::DEPTHWISE_CONV_2D: { in getNumTrailingArgumentsToRemove() 720 case OperationType::DEPTH_TO_SPACE: { in getNumTrailingArgumentsToRemove() 727 case OperationType::L2_NORMALIZATION: { in getNumTrailingArgumentsToRemove() 734 case OperationType::L2_POOL_2D: { in getNumTrailingArgumentsToRemove() [all …]
|
/packages/modules/NeuralNetworks/common/types/operations/src/ |
D | Broadcast.cpp | 26 Result<Version> validate(OperationType opType, const IOperationValidationContext* context) { in validate() 27 auto minSupportedVersion = (opType == OperationType::DIV || opType == OperationType::SUB) in validate() 41 if (opType == OperationType::SUB) { in validate() 43 } else if (opType == OperationType::DIV) { in validate() 45 } else if (opType == OperationType::MUL) { in validate() 52 if (opType == OperationType::MUL) { in validate() 74 return broadcast::validate(OperationType::ADD, context); in __anon186a66d20102() 77 return broadcast::validate(OperationType::MUL, context); in __anon186a66d20202() 80 return broadcast::validate(OperationType::DIV, context); in __anon186a66d20302() 83 return broadcast::validate(OperationType::SUB, context); in __anon186a66d20402()
|
D | Activation.cpp | 24 Result<Version> validate(OperationType opType, const IOperationValidationContext* context) { in validate() 34 if (opType == OperationType::TANH) { in validate() 73 return activation::validate(OperationType::RELU, context); in __anon432cc3710102() 76 return activation::validate(OperationType::RELU1, context); in __anon432cc3710202() 79 return activation::validate(OperationType::RELU6, context); in __anon432cc3710302() 82 return activation::validate(OperationType::LOGISTIC, context); in __anon432cc3710402() 85 return activation::validate(OperationType::TANH, context); in __anon432cc3710502()
|
D | Pooling.cpp | 27 Result<Version> validate(OperationType opType, const IOperationValidationContext* context) { in validate() 47 } else if (opType != OperationType::L2_POOL_2D && in validate() 59 } else if (opType != OperationType::L2_POOL_2D && in validate() 94 return pooling::validate(OperationType::AVERAGE_POOL_2D, context); in __anonee487b170102() 97 return pooling::validate(OperationType::L2_POOL_2D, context); in __anonee487b170202() 100 return pooling::validate(OperationType::MAX_POOL_2D, context); in __anonee487b170302()
|
D | ResizeImageOps.cpp | 27 Result<Version> validate(OperationType opType, const IOperationValidationContext* context) { in validate() 29 if (opType == OperationType::RESIZE_BILINEAR) { in validate() 31 } else if (opType == OperationType::RESIZE_NEAREST_NEIGHBOR) { in validate() 82 return resize_image::validate(OperationType::RESIZE_BILINEAR, context); in __anon10c755e60102() 87 OperationType::RESIZE_NEAREST_NEIGHBOR, context); in __anon10c755e60202()
|
/packages/modules/NeuralNetworks/common/include/ |
D | OperationResolver.h | 31 OperationType type; 56 OperationType type, const char* name, in OperationRegistration() 71 virtual const OperationRegistration* findOperation(OperationType operationType) const = 0; 95 const OperationRegistration* findOperation(OperationType operationType) const override; 145 static OperationRegistration registration(OperationType::identifier, operationName, \ 156 static OperationRegistration registration(OperationType::identifier, operationName, \
|
D | LegacyHalUtils.h | 116 bool isExtensionOperationType(V1_3::OperationType type); 151 std::string getOperationName(V1_3::OperationType opCode); 277 V1_0::OperationType uncheckedConvertToV1_0(V1_3::OperationType type); 278 V1_1::OperationType uncheckedConvertToV1_1(V1_3::OperationType type); 279 V1_2::OperationType uncheckedConvertToV1_2(V1_3::OperationType type); 354 OperationType uncheckedConvert(V1_3::OperationType operationType); 395 V1_3::OperationType convertToV1_3(OperationType operationType);
|
D | ValidateHal.h | 67 bool validOperationType(V1_0::OperationType operation); 68 bool validOperationType(V1_1::OperationType operation); 69 bool validOperationType(V1_2::OperationType operation);
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | ResizeImageOps.cpp | 104 bool resizeImageOpNhwc(OperationType opType, const T* inputData, const Shape& inputShape, in resizeImageOpNhwc() 115 if (opType == OperationType::RESIZE_BILINEAR) { in resizeImageOpNhwc() 121 } else if (opType == OperationType::RESIZE_NEAREST_NEIGHBOR) { in resizeImageOpNhwc() 131 bool resizeImageOpNhwc<_Float16>(OperationType opType, const _Float16* inputData, in resizeImageOpNhwc() 145 bool resizeImageOp(OperationType opType, const T* inputData, const Shape& inputShape, bool useNchw, in resizeImageOp() 169 bool prepare(OperationType opType, IOperationExecutionContext* context) { in prepare() 220 bool execute(OperationType opType, IOperationExecutionContext* context) { in execute() 262 RESIZE_BILINEAR, std::bind(resize_image::prepare, OperationType::RESIZE_BILINEAR, _1), 263 std::bind(resize_image::execute, OperationType::RESIZE_BILINEAR, _1), 268 OperationType::RESIZE_NEAREST_NEIGHBOR, _1), [all …]
|
D | Activation.cpp | 363 bool prepare(OperationType opType, IOperationExecutionContext* context) { in prepare() 365 if (opType != OperationType::HARD_SWISH) { in prepare() 373 case OperationType::HARD_SWISH: { in prepare() 378 case OperationType::RELU: in prepare() 379 case OperationType::RELU1: in prepare() 380 case OperationType::RELU6: in prepare() 382 case OperationType::LOGISTIC: in prepare() 386 case OperationType::TANH: in prepare() 586 std::bind(activation::prepare, OperationType::RELU, _1), 589 std::bind(activation::prepare, OperationType::RELU1, _1), [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_internal/ |
D | stdout.txt.expect | 209 .type = OperationType::ADD, 214 .type = OperationType::ADD, 219 .type = OperationType::ADD, 224 .type = OperationType::ADD, 229 .type = OperationType::ADD, 234 .type = OperationType::ADD, 239 .type = OperationType::ADD, 244 .type = OperationType::ADD, 249 .type = OperationType::ADD, 254 .type = OperationType::ADD,
|
/packages/modules/NeuralNetworks/common/ |
D | LegacyHalUtils.cpp | 91 bool isExtensionOperationType(V1_3::OperationType type) { in isExtensionOperationType() 92 return isExtensionOperationType(static_cast<OperationType>(type)); in isExtensionOperationType() 99 std::string getOperationName(V1_3::OperationType type) { in getOperationName() 499 static V1_0::OperationType uncheckedConvertToV1_0(V1_1::OperationType type) { in uncheckedConvertToV1_0() 500 return static_cast<V1_0::OperationType>(type); in uncheckedConvertToV1_0() 503 static V1_0::OperationType uncheckedConvertToV1_0(V1_2::OperationType type) { in uncheckedConvertToV1_0() 504 return static_cast<V1_0::OperationType>(type); in uncheckedConvertToV1_0() 507 V1_0::OperationType uncheckedConvertToV1_0(V1_3::OperationType type) { in uncheckedConvertToV1_0() 508 return static_cast<V1_0::OperationType>(type); in uncheckedConvertToV1_0() 511 static V1_1::OperationType convertToV1_1(V1_0::OperationType type) { in convertToV1_1() [all …]
|
D | CpuExecutor.cpp | 724 if (operation.type == OperationType::IF) { in executeOperation() 731 if (operation.type == OperationType::WHILE) { in executeOperation() 791 case OperationType::OEM_OPERATION: { in executeOperation() 795 case OperationType::RESHAPE: { in executeOperation() 811 case OperationType::DEPTH_TO_SPACE: { in executeOperation() 875 case OperationType::SPACE_TO_DEPTH: { in executeOperation() 940 case OperationType::EMBEDDING_LOOKUP: { in executeOperation() 954 case OperationType::HASHTABLE_LOOKUP: { in executeOperation() 973 case OperationType::LSH_PROJECTION: { in executeOperation() 998 case OperationType::BIDIRECTIONAL_SEQUENCE_LSTM: { in executeOperation() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemoryDomain.cpp | 87 TestDriverLatest(const char* name, std::set<V1_3::OperationType> supportedOperations, in TestDriverLatest() 147 const std::set<V1_3::OperationType> kSupportedOperations; 263 std::set<V1_3::OperationType> supportedOperations, in createAndRegisterDriver() 296 {V1_3::OperationType::ADD, V1_3::OperationType::SUB, V1_3::OperationType::MUL}, in TEST_P() 331 createAndRegisterDriver("test_driver_add", {V1_3::OperationType::ADD}, kAllocateReturn); in TEST_P() 332 createAndRegisterDriver("test_driver_sub", {V1_3::OperationType::SUB}, kAllocateReturn); in TEST_P() 333 createAndRegisterDriver("test_driver_mul", {V1_3::OperationType::MUL}, kAllocateReturn); in TEST_P() 418 {V1_3::OperationType::ADD, V1_3::OperationType::SUB, V1_3::OperationType::MUL}, in TEST_P()
|
D | TestPartitioning.cpp | 227 const std::map<V1_3::OperationType, uint32_t> operationToFirstEncoding = { 228 {V1_3::OperationType::ADD, kFirstEncodingADD}, 229 {V1_3::OperationType::MUL, kFirstEncodingMUL}, 230 {V1_3::OperationType::DIV, kFirstEncodingDIV}, 231 {V1_3::OperationType::SUB, kFirstEncodingSUB}, 232 {V1_3::OperationType::MAXIMUM, kFirstEncodingMAXIMUM}, 233 {V1_3::OperationType::MINIMUM, kFirstEncodingMINIMUM}, 234 {V1_3::OperationType::POW, kFirstEncodingPOW}, 235 {V1_3::OperationType::PRELU, kFirstEncodingPRELU}, 236 {V1_3::OperationType::HARD_SWISH, kFirstEncodingHARD_SWISH}, [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/accesslog/ |
D | AccessLog.java | 47 @OperationType.OperationTypes private final int mOperationType; 63 @OperationType.OperationTypes int operationType) { in AccessLog() 121 @OperationType.OperationTypes 127 public static final class OperationType { class in AccessLog 143 private OperationType() {} in OperationType() method in AccessLog.OperationType
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | HealthConnectAccessLogsTest.java | 91 .isEqualTo(AccessLog.OperationType.OPERATION_TYPE_READ); in testAccessLogs_read_singleRecordType() 136 .isEqualTo(AccessLog.OperationType.OPERATION_TYPE_UPSERT); in testAccessLogs_update_singleRecordType() 167 .isEqualTo(AccessLog.OperationType.OPERATION_TYPE_UPSERT); in testAccessLogs_update_multipleRecordTypes() 188 .isEqualTo(AccessLog.OperationType.OPERATION_TYPE_UPSERT); in testAccessLogs_insert_singleRecordType() 208 .isEqualTo(AccessLog.OperationType.OPERATION_TYPE_UPSERT); in testAccessLogs_insert_multipleRecordTypes()
|
/packages/modules/NeuralNetworks/driver/sample_hidl/ |
D | SampleDriverFloatXNNPACK.cpp | 186 case V1_3::OperationType::MEAN: in Create() 187 case V1_3::OperationType::PAD: in Create() 188 case V1_3::OperationType::RESHAPE: in Create() 189 case V1_3::OperationType::RESIZE_BILINEAR: in Create() 500 case V1_3::OperationType::ABS: in VisitNode() 502 case V1_3::OperationType::ADD: in VisitNode() 504 case V1_3::OperationType::AVERAGE_POOL_2D: in VisitNode() 506 case V1_3::OperationType::CONV_2D: in VisitNode() 508 case V1_3::OperationType::DEPTHWISE_CONV_2D: in VisitNode() 510 case V1_3::OperationType::DIV: in VisitNode() [all …]
|
/packages/modules/NeuralNetworks/runtime/operation_converters/ |
D | OperationConverterResolver.h | 34 const IOperationConverter* findOperationConverter(OperationType operationType) const; 40 OperationType operationType);
|
D | OperationConverterResolver.cpp | 140 registerOperationConverter(registerConverter_##operationType(), OperationType::operationType); in OperationConverterResolver() 146 OperationType operationType) const { in findOperationConverter() 155 const IOperationConverter* operationConverter, OperationType operationType) { in registerOperationConverter()
|