/packages/modules/NeuralNetworks/common/include/ |
D | LegacyHalUtils.h | 66 using OperandPerformance = V1_2::Capabilities::OperandPerformance; 72 using OperandPerformance = V1_3::Capabilities::OperandPerformance; 97 void update(hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance, 99 void update(hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance, 106 const hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>& operandPerformance, 109 const hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>& operandPerformance, 196 bool compliantWithV1_0(const V1_0::Capabilities& capabilities); 197 bool compliantWithV1_0(const V1_1::Capabilities& capabilities); 198 bool compliantWithV1_0(const V1_2::Capabilities& capabilities); 199 bool compliantWithV1_0(const V1_3::Capabilities& capabilities); [all …]
|
/packages/modules/NeuralNetworks/common/ |
D | LegacyHalUtils.cpp | 256 template hardware::hidl_vec<V1_2::Capabilities::OperandPerformance> 258 template hardware::hidl_vec<V1_3::Capabilities::OperandPerformance> 274 void update(hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance, in update() 278 void update(hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance, in update() 302 const hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>& operandPerformance, in lookup() 307 const hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>& operandPerformance, in lookup() 327 static bool isQuantized8PerformanceConsistentWithP(const V1_2::Capabilities& capabilities) { in isQuantized8PerformanceConsistentWithP() 339 static bool isQuantized8PerformanceConsistentWithP(const V1_3::Capabilities& capabilities) { in isQuantized8PerformanceConsistentWithP() 350 static hardware::hidl_vec<V1_2::Capabilities::OperandPerformance> 352 hardware::hidl_vec<V1_2::Capabilities::OperandPerformance> ret( in makeQuantized8PerformanceConsistentWithP() [all …]
|
D | Types.cpp | 73 Capabilities::OperandPerformanceTable::OperandPerformanceTable( in OperandPerformanceTable() 77 Result<Capabilities::OperandPerformanceTable> Capabilities::OperandPerformanceTable::create( in create() 87 return Capabilities::OperandPerformanceTable(std::move(operandPerformances)); in create() 90 Capabilities::PerformanceInfo Capabilities::OperandPerformanceTable::lookup( in lookup() 102 return Capabilities::PerformanceInfo{}; in lookup() 105 const std::vector<Capabilities::OperandPerformance>& 106 Capabilities::OperandPerformanceTable::asVector() const { in asVector()
|
D | TypeUtils.cpp | 639 std::ostream& operator<<(std::ostream& os, const Capabilities::PerformanceInfo& performanceInfo) { in operator <<() 645 const Capabilities::OperandPerformance& operandPerformance) { in operator <<() 651 const Capabilities::OperandPerformanceTable& operandPerformances) { in operator <<() 655 std::ostream& operator<<(std::ostream& os, const Capabilities& capabilities) { in operator <<() 922 bool operator==(const Capabilities::PerformanceInfo& a, const Capabilities::PerformanceInfo& b) { in operator ==() 925 bool operator!=(const Capabilities::PerformanceInfo& a, const Capabilities::PerformanceInfo& b) { in operator !=() 929 bool operator==(const Capabilities::OperandPerformance& a, in operator ==() 930 const Capabilities::OperandPerformance& b) { in operator ==() 933 bool operator!=(const Capabilities::OperandPerformance& a, in operator !=() 934 const Capabilities::OperandPerformance& b) { in operator !=() [all …]
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | TypeUtils.h | 102 std::ostream& operator<<(std::ostream& os, const Capabilities::PerformanceInfo& performanceInfo); 104 const Capabilities::OperandPerformance& operandPerformance); 106 const Capabilities::OperandPerformanceTable& operandPerformances); 107 std::ostream& operator<<(std::ostream& os, const Capabilities& capabilities); 141 bool operator==(const Capabilities::PerformanceInfo& a, const Capabilities::PerformanceInfo& b); 142 bool operator!=(const Capabilities::PerformanceInfo& a, const Capabilities::PerformanceInfo& b); 143 bool operator==(const Capabilities::OperandPerformance& a, 144 const Capabilities::OperandPerformance& b); 145 bool operator!=(const Capabilities::OperandPerformance& a, 146 const Capabilities::OperandPerformance& b); [all …]
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalDevice.cpp | 46 Capabilities makeCapabilities() { in makeCapabilities() 48 const Capabilities::PerformanceInfo kPerfInfo = {.execTime = kPerf, .powerUsage = kPerf}; in makeCapabilities() 68 std::vector<Capabilities::OperandPerformance> operandPerformance; in makeCapabilities() 72 return Capabilities::OperandPerformance{.type = op, .info = kPerfInfo}; in makeCapabilities() 75 Capabilities::OperandPerformanceTable::create(std::move(operandPerformance)).value(); in makeCapabilities() 125 const Capabilities& Device::getCapabilities() const { in getCapabilities() 126 static const Capabilities kCapabilities = makeCapabilities(); in getCapabilities()
|
D | LimitedSupportDevice.h | 46 LimitedSupportDevice(SharedDevice device, Capabilities capabilities, 54 const Capabilities& getCapabilities() const override; 79 const Capabilities kCapabilities;
|
D | LimitedSupportDevice.cpp | 42 LimitedSupportDevice::LimitedSupportDevice(SharedDevice device, Capabilities capabilities, in LimitedSupportDevice() 73 const Capabilities& LimitedSupportDevice::getCapabilities() const { in getCapabilities()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.h | 140 virtual const Capabilities& getCapabilities() const = 0; 141 virtual Capabilities::PerformanceInfo getPerformance(OperandType type) const = 0; 142 virtual Capabilities::PerformanceInfo getRelaxedFloat32toFloat16PerformanceScalar() const = 0; 143 virtual Capabilities::PerformanceInfo getRelaxedFloat32toFloat16PerformanceTensor() const = 0; 144 virtual Capabilities::PerformanceInfo getIfPerformance() const = 0; 145 virtual Capabilities::PerformanceInfo getWhilePerformance() const = 0;
|
D | Manager.cpp | 80 const Capabilities& getCapabilities() const override { return kInterface->getCapabilities(); } in getCapabilities() 81 Capabilities::PerformanceInfo getPerformance(OperandType type) const override { in getPerformance() 84 Capabilities::PerformanceInfo getRelaxedFloat32toFloat16PerformanceScalar() const override { in getRelaxedFloat32toFloat16PerformanceScalar() 87 Capabilities::PerformanceInfo getRelaxedFloat32toFloat16PerformanceTensor() const override { in getRelaxedFloat32toFloat16PerformanceTensor() 90 Capabilities::PerformanceInfo getIfPerformance() const override { in getIfPerformance() 93 Capabilities::PerformanceInfo getWhilePerformance() const override { in getWhilePerformance() 787 static Capabilities createCpuCapabilities() { in createCpuCapabilities() 788 constexpr Capabilities::PerformanceInfo kPerf = {.execTime = 1.0f, .powerUsage = 1.0f}; in createCpuCapabilities() 807 std::vector<Capabilities::OperandPerformance> operandPerformance; in createCpuCapabilities() 811 return Capabilities::OperandPerformance{.type = type, .info = kPerf}; in createCpuCapabilities() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
D | LocationTimeZoneDetectionPreferenceControllerTest.java | 19 import static android.app.time.Capabilities.CAPABILITY_NOT_APPLICABLE; 20 import static android.app.time.Capabilities.CAPABILITY_NOT_SUPPORTED; 21 import static android.app.time.Capabilities.CAPABILITY_POSSESSED; 30 import android.app.time.Capabilities; 173 @Capabilities.CapabilityState int geoDetectionCapability) { in createTimeZoneCapabilities()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
D | RttNative.java | 115 private volatile Capabilities mRttCapabilities; 201 public @Nullable Capabilities getRttCapabilities() { in getRttCapabilities() 233 mRttCapabilities = new Capabilities(capabilities14); in updateRttCapabilities() 248 mRttCapabilities = new Capabilities(capabilities); in updateRttCapabilities() 385 boolean isCalledFromPrivilegedContext, Capabilities cap) { in convertRangingRequestToRttConfigs() 466 RangingRequest request, boolean isCalledFromPrivilegedContext, Capabilities cap) { in convertRangingRequestToRttConfigs14() 625 Capabilities cap) { in halRttChannelBandwidthCapabilityLimiter() 647 private static int halRttPreambleCapabilityLimiter(int halRttPreamble, Capabilities cap) { in halRttPreambleCapabilityLimiter() 855 public class Capabilities { class in RttNative 873 public Capabilities(RttCapabilities rttHalCapabilities) { in Capabilities() method in RttNative.Capabilities [all …]
|
/packages/apps/Settings/src/com/android/settings/datetime/ |
D | LocationTimeZoneDetectionPreferenceController.java | 18 import static android.app.time.Capabilities.CAPABILITY_NOT_ALLOWED; 19 import static android.app.time.Capabilities.CAPABILITY_NOT_APPLICABLE; 20 import static android.app.time.Capabilities.CAPABILITY_NOT_SUPPORTED; 21 import static android.app.time.Capabilities.CAPABILITY_POSSESSED;
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | InformationElementUtilTest.java | 300 InformationElementUtil.Capabilities capabilities = in verifyCapabilityStringFromIes() 301 new InformationElementUtil.Capabilities(); in verifyCapabilityStringFromIes() 950 InformationElementUtil.Capabilities capabilities = in buildCapabilities_IbssCapabilitySet() 951 new InformationElementUtil.Capabilities(); in buildCapabilities_IbssCapabilitySet() 967 InformationElementUtil.Capabilities capabilities = in buildCapabilities_DmgIbssCapabilitySet() 968 new InformationElementUtil.Capabilities(); in buildCapabilities_DmgIbssCapabilitySet() 984 InformationElementUtil.Capabilities capabilities = in buildCapabilities_DmgEssCapabilitySet() 985 new InformationElementUtil.Capabilities(); in buildCapabilities_DmgEssCapabilitySet()
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverMinimal.cpp | 36 ndk::ScopedAStatus getCapabilities(aidl_hal::Capabilities* capabilities) override; 42 ndk::ScopedAStatus SampleDriverMinimal::getCapabilities(aidl_hal::Capabilities* capabilities) { in getCapabilities()
|
D | SampleDriverFloatSlow.cpp | 37 ndk::ScopedAStatus getCapabilities(aidl_hal::Capabilities* capabilities) override; 43 ndk::ScopedAStatus SampleDriverFloatSlow::getCapabilities(aidl_hal::Capabilities* capabilities) { in getCapabilities()
|
D | SampleDriverFloatFast.cpp | 38 ndk::ScopedAStatus getCapabilities(aidl_hal::Capabilities* capabilities) override; 44 ndk::ScopedAStatus SampleDriverFloatFast::getCapabilities(aidl_hal::Capabilities* capabilities) { in getCapabilities()
|
D | SampleDriverQuant.cpp | 36 ndk::ScopedAStatus getCapabilities(aidl_hal::Capabilities* capabilities) override; 42 ndk::ScopedAStatus SampleDriverQuant::getCapabilities(aidl_hal::Capabilities* capabilities) { in getCapabilities()
|
D | SampleDriverFull.h | 32 ndk::ScopedAStatus getCapabilities(aidl_hal::Capabilities* capabilities) override;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeCallback.java | 180 Capabilities frameworkCapabilities = toFrameworkCapability10(capabilities); in notifyCapabilitiesResponse() 203 Capabilities frameworkCapabilities = toFrameworkCapability10(capabilities.V1_0); in notifyCapabilitiesResponse_1_5() 215 private Capabilities toFrameworkCapability10( in toFrameworkCapability10() 217 Capabilities frameworkCapabilities = new Capabilities(); in toFrameworkCapability10()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | TestUtils.java | 106 boolean isOutOfBand, byte[] appInfo, Capabilities capabilities) { in initiateDataPath() 113 boolean isOutOfBand, Capabilities capabilities) { in respondToDataPathRequest()
|
D | WifiAwareServiceImplTest.java | 657 Capabilities cap = new Capabilities(); in testCapabilityTranslation() 749 Capabilities cap = new Capabilities(); in getCharacteristics()
|
D | WifiAwareNativeApiTest.java | 670 Capabilities cap = new Capabilities(); in validateInitiateDataPath() 734 Capabilities cap = new Capabilities(); in validateRespondToDataPathRequest()
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimDevice.h | 47 ::ndk::ScopedAStatus getCapabilities(Capabilities* capabilities) override; 72 Capabilities mCapabilities;
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 101 Capabilities getCapabilities(const NnApiSupportLibrary* nnapi, ANeuralNetworksDevice* device) { in getCapabilities() 102 Capabilities capabilities; in getCapabilities() 461 ndk::ScopedAStatus ShimDevice::getCapabilities(Capabilities* capabilities) { in getCapabilities()
|