/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | Validation.h | 32 Version combineVersions(Version lhs, Version rhs); 34 Result<Version> validate(const DeviceStatus& deviceStatus); 35 Result<Version> validate(const ExecutionPreference& executionPreference); 36 Result<Version> validate(const DeviceType& deviceType); 37 Result<Version> validate(const MeasureTiming& measureTiming); 38 Result<Version> validate(const OperandType& operandType); 39 Result<Version> validate(const Priority& priority); 40 Result<Version> validate(const ErrorStatus& errorStatus); 41 Result<Version> validate(const FusedActivationFunc& activation); 42 Result<Version> validate(const OutputShape& outputShape); [all …]
|
/packages/modules/NeuralNetworks/common/ |
D | Validation.cpp | 103 Result<Version> validateVector(const std::vector<Type>& objects, in validateVector() 105 auto version = Version::ANDROID_OC_MR1; in validateVector() 121 Result<Version> validateDeviceStatus(const DeviceStatus& deviceStatus) { in validateDeviceStatus() 127 return Version::ANDROID_OC_MR1; in validateDeviceStatus() 132 Result<Version> validateExecutionPreference(const ExecutionPreference& executionPreference) { in validateExecutionPreference() 137 return Version::ANDROID_OC_MR1; in validateExecutionPreference() 140 return Version::ANDROID_P; in validateExecutionPreference() 145 Result<Version> validateDeviceType(const DeviceType& deviceType) { in validateDeviceType() 153 return Version::ANDROID_OC_MR1; in validateDeviceType() 158 return Version::ANDROID_Q; in validateDeviceType() [all …]
|
D | MetaModel.cpp | 56 bool invalid(const Model& model, Version version, bool strictSlicing) { in invalid() 99 MetaModel::ReturnedSlice MetaModel::getSlice(Version version) const { in getSlice() 141 Version slicedVersion, size_t operandValuesSize, in OrigOperandToSlicedInputOperandIndex() 236 const Version kSlicedVersion; 336 std::set<uint32_t> MetaModel::getNoncompliantOperations(Version version) const { in getNoncompliantOperations() 355 MetaModel::Slice MetaModel::makeSlice(Version version) const { in makeSlice()
|
/packages/modules/adb/client/openscreen/platform/ |
D | udp_socket.cpp | 66 return IPAddress(IPAddress::Version::kV4, in GetIPAddressFromSockAddr() 72 return IPAddress(IPAddress::Version::kV4, reinterpret_cast<const uint8_t*>(&pktinfo.ipi_addr)); in GetIPAddressFromPktInfo() 80 return IPAddress(IPAddress::Version::kV6, sa.sin6_addr.s6_addr); in GetIPAddressFromSockAddr() 84 return IPAddress(IPAddress::Version::kV6, pktinfo.ipi6_addr.s6_addr); in GetIPAddressFromPktInfo() 191 case UdpSocket::Version::kV4: { in GetLocalEndpoint() 198 IPAddress(IPAddress::Version::kV4, in GetLocalEndpoint() 205 case UdpSocket::Version::kV6: { in GetLocalEndpoint() 212 IPAddress(IPAddress::Version::kV6, in GetLocalEndpoint() 276 case UdpSocket::Version::kV4: { in SetMulticastOutboundInterface() 286 IPAddress(IPAddress::Version::kV4, in SetMulticastOutboundInterface() [all …]
|
/packages/modules/NeuralNetworks/common/operations/ |
D | Elementwise.cpp | 85 Result<Version> validate(const IOperationValidationContext* context) { in validate() 94 return Version::ANDROID_Q; in validate() 97 Result<Version> validateAbs(const IOperationValidationContext* context) { in validateAbs() 106 return inputType == OperandType::TENSOR_INT32 ? Version::ANDROID_R : Version::ANDROID_Q; in validateAbs() 109 Result<Version> validateFloor(const IOperationValidationContext* context) { in validateFloor() 125 return inputType == OperandType::TENSOR_FLOAT16 ? Version::ANDROID_Q : Version::ANDROID_OC_MR1; in validateFloor()
|
D | Squeeze.cpp | 38 Result<Version> validate(const IOperationValidationContext* context) { in validate() 48 Version minSupportedVersion; in validate() 50 minSupportedVersion = Version::ANDROID_R; in validate() 52 minSupportedVersion = Version::ANDROID_Q; in validate() 54 minSupportedVersion = Version::ANDROID_P; in validate()
|
D | Reduce.cpp | 73 Result<Version> validateProdSum(const IOperationValidationContext* context) { in validateProdSum() 87 return Version::ANDROID_Q; in validateProdSum() 90 Result<Version> validateMaxMin(const IOperationValidationContext* context) { in validateMaxMin() 102 auto minVersion = Version::ANDROID_Q; in validateMaxMin() 104 minVersion = Version::ANDROID_R; in validateMaxMin() 113 Result<Version> validateLogical(const IOperationValidationContext* context) { in validateLogical() 126 return Version::ANDROID_Q; in validateLogical()
|
D | ResizeImageOps.cpp | 177 Result<Version> validate(OperationType opType, const IOperationValidationContext* context) { in validate() 190 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 197 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_Q); in validate() 200 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_R); in validate() 203 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_Q); in validate() 214 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_OC_MR1); in validate() 217 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_Q); in validate() 222 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_R); in validate()
|
D | LocalResponseNormalization.cpp | 139 Result<Version> validate(const IOperationValidationContext* context) { in validate() 147 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 149 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 156 minSupportedVersion = Version::ANDROID_Q; in validate() 168 minSupportedVersion = Version::ANDROID_Q; in validate() 170 minSupportedVersion = Version::ANDROID_Q; in validate()
|
D | Concatenation.cpp | 144 Result<Version> validate(const IOperationValidationContext* context) { in validate() 149 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 151 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 153 minSupportedVersion = Version::ANDROID_Q; in validate() 155 minSupportedVersion = Version::ANDROID_R; in validate() 166 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_Q); in validate()
|
D | FullyConnected.cpp | 225 Result<Version> validate(const IOperationValidationContext* context) { in validate() 231 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 233 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 241 minSupportedVersion = Version::ANDROID_Q; in validate() 258 minSupportedVersion = Version::ANDROID_Q; in validate() 260 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 270 minSupportedVersion = Version::ANDROID_R; in validate()
|
D | L2Normalization.cpp | 204 Result<Version> validate(const IOperationValidationContext* context) { in validate() 211 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 213 minSupportedVersion = Version::ANDROID_Q; in validate() 215 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 217 minSupportedVersion = Version::ANDROID_R; in validate() 223 minSupportedVersion = Version::ANDROID_Q; in validate() 225 minSupportedVersion = Version::ANDROID_Q; in validate()
|
D | Softmax.cpp | 235 Result<Version> validate(const IOperationValidationContext* context) { in validate() 241 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 243 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 246 minSupportedVersion = Version::ANDROID_Q; in validate() 249 minSupportedVersion = Version::ANDROID_R; in validate() 259 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_Q); in validate() 263 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_Q); in validate()
|
D | Transpose.cpp | 77 Result<Version> validate(const IOperationValidationContext* context) { in validate() 82 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 84 minSupportedVersion = Version::ANDROID_P; in validate() 86 minSupportedVersion = Version::ANDROID_Q; in validate() 88 minSupportedVersion = Version::ANDROID_R; in validate()
|
D | Activation.cpp | 362 Result<Version> validate(OperationType opType, const IOperationValidationContext* context) { in validate() 366 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 368 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 370 minSupportedVersion = Version::ANDROID_Q; in validate() 373 minSupportedVersion = Version::ANDROID_Q; in validate() 375 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 378 minSupportedVersion = Version::ANDROID_R; in validate() 391 Result<Version> validateHardSwish(const IOperationValidationContext* context) { in validateHardSwish() 395 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validateHardSwish() 399 minSupportedVersion = Version::ANDROID_R; in validateHardSwish()
|
D | Pooling.cpp | 296 Result<Version> validate(OperationType opType, const IOperationValidationContext* context) { in validate() 302 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 304 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 310 minSupportedVersion = Version::ANDROID_Q; in validate() 318 minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 330 minSupportedVersion = Version::ANDROID_R; in validate() 351 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_Q); in validate() 353 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_OC_MR1); in validate()
|
D | StridedSlice.cpp | 104 Result<Version> validate(const IOperationValidationContext* context) { in validate() 114 Version minSupportedVersion; in validate() 116 minSupportedVersion = Version::ANDROID_R; in validate() 118 minSupportedVersion = Version::ANDROID_Q; in validate() 120 minSupportedVersion = Version::ANDROID_P; in validate()
|
D | TopK_V2.cpp | 76 Result<Version> validate(const IOperationValidationContext* context) { in validate() 88 Version minSupportedVersion = Version::ANDROID_Q; in validate() 90 minSupportedVersion = Version::ANDROID_R; in validate()
|
D | Elu.cpp | 55 Result<Version> validate(const IOperationValidationContext* context) { in validate() 59 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 61 minSupportedVersion = Version::ANDROID_R; in validate()
|
D | Broadcast.cpp | 442 Result<Version> validate(OperationType opType, const IOperationValidationContext* context) { in validate() 444 ? Version::ANDROID_P in validate() 445 : Version::ANDROID_OC_MR1; in validate() 450 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_OC_MR1); in validate() 452 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_Q); in validate() 455 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_Q); in validate() 463 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_OC_MR1); in validate() 465 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_OC_MR1); in validate() 469 minSupportedVersion = combineVersions(minSupportedVersion, Version::ANDROID_R); in validate()
|
D | Slice.cpp | 86 Result<Version> validate(const IOperationValidationContext* context) { in validate() 97 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate() 99 minSupportedVersion = Version::ANDROID_R; in validate() 101 minSupportedVersion = Version::ANDROID_Q; in validate()
|
D | Quantize.cpp | 66 Result<Version> validate(const IOperationValidationContext* context) { in validate() 80 return Version::ANDROID_R; in validate() 82 return Version::ANDROID_Q; in validate()
|
/packages/modules/NeuralNetworks/common/include/ |
D | MetaModel.h | 76 ReturnedSlice getSlice(Version version) const; 95 Version mModelMinimumSupportedVersion; 113 mutable std::map<Version, Slice> mCachedSlices; 115 Slice makeSlice(Version version) const; 117 std::set<uint32_t> getNoncompliantOperations(Version version) const;
|
D | LegacyUtils.h | 312 Version canonical; 316 constexpr auto kHalVersionV1_0ToApi = ApiVersion{.canonical = Version::ANDROID_OC_MR1, 318 constexpr auto kHalVersionV1_1ToApi = ApiVersion{.canonical = Version::ANDROID_P, 320 constexpr auto kHalVersionV1_2ToApi = ApiVersion{.canonical = Version::ANDROID_Q, 322 constexpr auto kHalVersionV1_3ToApi = ApiVersion{.canonical = Version::ANDROID_R,
|
/packages/apps/Dialer/java/com/android/dialer/commandline/ |
D | CommandLineModule.java | 24 import com.android.dialer.commandline.impl.Version; 48 private final Version version; 57 Version version, in AospCommandInjector()
|