Home
last modified time | relevance | path

Searched refs:Version (Results 1 – 25 of 690) sorted by relevance

12345678910>>...28

/packages/modules/NeuralNetworks/common/include/nnapi/
DValidation.h32 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/
DValidation.cpp103 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 …]
DMetaModel.cpp56 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/
Dudp_socket.cpp66 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/
DElementwise.cpp85 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()
DSqueeze.cpp38 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()
DReduce.cpp73 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()
DResizeImageOps.cpp177 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()
DLocalResponseNormalization.cpp139 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()
DConcatenation.cpp144 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()
DFullyConnected.cpp225 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()
DL2Normalization.cpp204 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()
DSoftmax.cpp235 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()
DTranspose.cpp77 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()
DActivation.cpp362 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()
DPooling.cpp296 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()
DStridedSlice.cpp104 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()
DTopK_V2.cpp76 Result<Version> validate(const IOperationValidationContext* context) { in validate()
88 Version minSupportedVersion = Version::ANDROID_Q; in validate()
90 minSupportedVersion = Version::ANDROID_R; in validate()
DElu.cpp55 Result<Version> validate(const IOperationValidationContext* context) { in validate()
59 auto minSupportedVersion = Version::ANDROID_OC_MR1; in validate()
61 minSupportedVersion = Version::ANDROID_R; in validate()
DBroadcast.cpp442 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()
DSlice.cpp86 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()
DQuantize.cpp66 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/
DMetaModel.h76 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;
DLegacyUtils.h312 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/
DCommandLineModule.java24 import com.android.dialer.commandline.impl.Version;
48 private final Version version;
57 Version version, in AospCommandInjector()

12345678910>>...28