Home
last modified time | relevance | path

Searched refs:Extension (Results 1 – 25 of 37) sorted by relevance

12

/packages/modules/NeuralNetworks/runtime/
DTypeManager.cpp51 bool equal(const Extension& a, const Extension& b) { in equal()
173 for (const Extension& extension : device->getSupportedExtensions()) { in findAvailableExtensions()
179 bool TypeManager::registerExtension(Extension extension, const std::string& deviceName) { in registerExtension()
186 [](const Extension::OperandTypeInformation& a, in registerExtension()
187 const Extension::OperandTypeInformation& b) { in registerExtension()
191 std::map<std::string, Extension>::iterator it; in registerExtension()
230 const Extension* extension; in getExtensionNameAndPrefix()
248 bool TypeManager::getExtensionInfo(uint16_t prefix, const Extension** extension) const { in getExtensionInfo()
256 OperandType type, const Extension::OperandTypeInformation** info) const { in getExtensionOperandTypeInfo()
260 const Extension* extension; in getExtensionOperandTypeInfo()
[all …]
DTypeManager.h54 bool getExtensionInfo(uint16_t prefix, const Extension** extension) const;
60 const Extension::OperandTypeInformation** info) const;
102 bool forTest_registerExtension(const Extension& extension) { in forTest_registerExtension()
132 bool registerExtension(Extension extension, const std::string& deviceName);
142 std::map<std::string, Extension> mExtensionNameToExtension;
157 std::vector<Extension*> mPrefixToExtension = {nullptr};
DModelBuilder.cpp94 const Extension::OperandTypeInformation* info = nullptr; in addOperand()
393 const Extension* extension; in addOperation()
1010 const Extension* extension; in addExtensionWithPrefix()
DManager.h138 virtual const std::vector<Extension>& getSupportedExtensions() const = 0;
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypeUtils.h109 const Extension::OperandTypeInformation& operandTypeInformation);
110 std::ostream& operator<<(std::ostream& os, const Extension& extension);
148 bool operator==(const Extension::OperandTypeInformation& a,
149 const Extension::OperandTypeInformation& b);
150 bool operator!=(const Extension::OperandTypeInformation& a,
151 const Extension::OperandTypeInformation& b);
152 bool operator==(const Extension& a, const Extension& b);
153 bool operator!=(const Extension& a, const Extension& b);
DValidation.h57 Result<Version> validate(const Extension& extension);
71 Result<Version> validate(const std::vector<Extension>& extensions);
109 const Extension::OperandTypeInformation* extensionOperandTypeInfo,
DIDevice.h104 virtual const std::vector<Extension>& getSupportedExtensions() const = 0;
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp540 const Extension::OperandTypeInformation& operandTypeInformation) { in operator <<()
546 std::ostream& operator<<(std::ostream& os, const Extension& extension) { in operator <<()
825 bool operator==(const Extension::OperandTypeInformation& a, in operator ==()
826 const Extension::OperandTypeInformation& b) { in operator ==()
829 bool operator!=(const Extension::OperandTypeInformation& a, in operator !=()
830 const Extension::OperandTypeInformation& b) { in operator !=()
834 bool operator==(const Extension& a, const Extension& b) { in operator ==()
837 bool operator!=(const Extension& a, const Extension& b) { in operator !=()
DValidation.cpp305 const Extension::OperandTypeInformation& operandTypeInformation) { in validateExtensionOperandTypeInformation()
310 Result<Version> validateExtension(const Extension& extension) { in validateExtension()
318 [](const Extension::OperandTypeInformation& operandTypeInformation) { in validateExtension()
330 Result<Version> validateExtensions(const std::vector<Extension>& extensions) { in validateExtensions()
337 [](const Extension& extension) { return std::cref(extension.name); }); in validateExtensions()
1464 const Operand& type, const Extension::OperandTypeInformation* extensionOperandTypeInfo, in validateTensorDimensions()
1486 const Extension::OperandTypeInformation* const extensionOperandTypeInfo, const char* tag, in validateOperandTypeImpl()
1870 Result<Version> validate(const Extension& extension) { in validate()
1922 Result<Version> validate(const std::vector<Extension>& extensions) { in validate()
1973 const Extension::OperandTypeInformation* extensionOperandTypeInfo, in validateOperandType()
/packages/modules/SdkExtensions/
Dreleased-flagged-apis.txt29 # Released in SDK Extension #12 - M-2024-05
64 # Released in SDK Extension #11 - M-2024-02
77 # Released in SDK Extension #10 - M-2023-11
/packages/modules/SdkExtensions/java/android/os/ext/
DSdkExtensions.java95 public @interface Extension {} annotation in SdkExtensions
114 public static int getExtensionVersion(@Extension int extension) { in getExtensionVersion()
/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h340 Extension::OperandTypeInformation uncheckedConvert(const V1_2::Extension::OperandTypeInformation&);
341 Extension uncheckedConvert(const V1_2::Extension& extension);
361 std::vector<Extension> uncheckedConvert(const hardware::hidl_vec<V1_2::Extension>& extensions);
DLegacyUtils.h214 const Extension::OperandTypeInformation* const extensionOperandTypeInfo,
/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimDevice.h50 ::ndk::ScopedAStatus getSupportedExtensions(std::vector<Extension>* extensions) override;
85 std::vector<Extension> mExtensions;
/packages/modules/Virtualization/service_vm/requests/src/
Dcert.rs28 ext::Extension,
155 let extensions = vec![Extension { in build_tbs_certificate()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DUtils.java32 import org.bouncycastle.asn1.x509.Extension;
180 Extension.basicConstraints, /*isCritical=*/ true, new BasicConstraints(true)); in signPublicKey()
182 Extension.keyUsage, /*isCritical=*/ true, new KeyUsage(KeyUsage.keyCertSign)); in signPublicKey()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalDevice.cpp120 const std::vector<Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions()
121 static const std::vector<Extension> kExtensions = {/* No extensions. */}; in getSupportedExtensions()
DCanonicalDevice.h46 const std::vector<Extension>& getSupportedExtensions() const override;
DLimitedSupportDevice.h53 const std::vector<Extension>& getSupportedExtensions() const override;
DLimitedSupportDevice.cpp168 const std::vector<Extension>& LimitedSupportDevice::getSupportedExtensions() const { in getSupportedExtensions()
/packages/modules/NeuralNetworks/common/
DUtilsTest.cpp91 Extension::OperandTypeInformation info = { in TEST()
113 Extension::OperandTypeInformation info = { in TEST()
DLegacyHalUtils.cpp1606 Extension uncheckedConvert(const V1_2::Extension& extension) { in uncheckedConvert()
1610 std::vector<Extension> uncheckedConvert(const hardware::hidl_vec<V1_2::Extension>& extensions) { in uncheckedConvert()
1611 return convertVec<Extension>(extensions); in uncheckedConvert()
1614 Extension::OperandTypeInformation uncheckedConvert( in uncheckedConvert()
1615 const V1_2::Extension::OperandTypeInformation& info) { in uncheckedConvert()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp148 std::vector<Extension> getVendorExtensions(const NnApiSupportLibrary* nnapi, in getVendorExtensions()
154 std::vector<Extension> extensions(vendorExtensionCount); in getVendorExtensions()
472 ndk::ScopedAStatus ShimDevice::getSupportedExtensions(std::vector<Extension>* extensions) { in getSupportedExtensions()
/packages/modules/NeuralNetworks/extensions/
DREADME.md164 Extension {
199 Extension operands can have associated data in `operand.extraParams.extension`,
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidl.h76 std::vector<aidl_hal::Extension>* extensions) override;

12