Home
last modified time | relevance | path

Searched refs:getFeatureLevel (Results 1 – 25 of 32) sorted by relevance

12

/aosp12/hardware/interfaces/neuralnetworks/utils/common/src/
H A DResilientDevice.cpp124 compare(&IDevice::getFeatureLevel) || compare(&IDevice::getType) || in recover()
129 kName, kVersionString, mDevice->getFeatureLevel(), mDevice->getType(), kExtensions, in recover()
146 nn::Version ResilientDevice::getFeatureLevel() const { in getFeatureLevel() function in android::hardware::neuralnetworks::utils::ResilientDevice
147 return getDevice()->getFeatureLevel(); in getFeatureLevel()
H A DInvalidDevice.cpp54 nn::Version InvalidDevice::getFeatureLevel() const { in getFeatureLevel() function in android::hardware::neuralnetworks::utils::InvalidDevice
/aosp12/packages/modules/NeuralNetworks/driver/sample/
H A DLimitedSupportDevice.cpp61 Version LimitedSupportDevice::getFeatureLevel() const { in getFeatureLevel() function in android::nn::sample::LimitedSupportDevice
62 return kDevice->getFeatureLevel(); in getFeatureLevel()
H A DCanonicalDevice.h44 Version getFeatureLevel() const override;
H A DLimitedSupportDevice.h51 Version getFeatureLevel() const override;
H A DCanonicalDevice.cpp112 Version Device::getFeatureLevel() const { in getFeatureLevel() function in android::nn::sample::Device
/aosp12/hardware/interfaces/neuralnetworks/utils/common/test/
H A DResilientDeviceTest.cpp67 ON_CALL(*mockDevice, getFeatureLevel()).WillByDefault(Return(kFeatureLevel)); in createConfiguredMockDevice()
78 EXPECT_CALL(*mockDevice, getFeatureLevel()).Times(testing::AnyNumber()); in createConfiguredMockDevice()
142 TEST(ResilientDeviceTest, getFeatureLevel) { in TEST() argument
146 EXPECT_CALL(*mockDevice, getFeatureLevel()).Times(1).WillOnce(Return(kFeatureLevel)); in TEST()
149 const auto featureLevel = device->getFeatureLevel(); in TEST()
593 EXPECT_CALL(*recoveredMockDevice, getFeatureLevel()) in TEST()
H A DMockDevice.h30 MOCK_METHOD(Version, getFeatureLevel, (), (const, override));
/aosp12/packages/modules/NeuralNetworks/common/include/nnapi/
H A DIDevice.h79 virtual Version getFeatureLevel() const = 0;
/aosp12/packages/modules/NeuralNetworks/runtime/
H A DManager.cpp73 int64_t getFeatureLevel() const override;
176 if (mDevice->getFeatureLevel() >= ANEURALNETWORKS_FEATURE_LEVEL_5) { in getMemoryPreference()
245 int64_t DriverDevice::getFeatureLevel() const { in getFeatureLevel() function in android::nn::DriverDevice
246 Version featureLevel = kInterface->getFeatureLevel(); in getFeatureLevel()
267 const auto featureLevel = kInterface->getFeatureLevel(); in getSupportedOperationsImpl()
605 if (mDevice->getFeatureLevel() >= kHalVersionV1_3ToApi.featureLevel) { in executeFenced()
664 mDevice->getFeatureLevel()); in createReusableExecution()
838 int64_t getFeatureLevel() const override { return kFeatureLevel; } in getFeatureLevel() function in android::nn::CpuDevice
H A DManager.h132 virtual int64_t getFeatureLevel() const = 0;
/aosp12/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
H A DInvalidDevice.h41 nn::Version getFeatureLevel() const override;
H A DResilientDevice.h54 nn::Version getFeatureLevel() const override;
/aosp12/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
H A DDevice.h53 nn::Version getFeatureLevel() const override;
/aosp12/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
H A DDevice.h53 nn::Version getFeatureLevel() const override;
/aosp12/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
H A DDevice.h55 nn::Version getFeatureLevel() const override;
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
H A DDevice.h55 nn::Version getFeatureLevel() const override;
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
H A DDevice.h72 nn::Version getFeatureLevel() const override;
/aosp12/hardware/interfaces/neuralnetworks/1.0/utils/src/
H A DDevice.cpp101 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() function in android::hardware::neuralnetworks::V1_0::utils::Device
/aosp12/hardware/interfaces/neuralnetworks/1.1/utils/src/
H A DDevice.cpp101 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() function in android::hardware::neuralnetworks::V1_1::utils::Device
/aosp12/hardware/interfaces/neuralnetworks/1.0/utils/test/
H A DDeviceTest.cpp227 TEST(DeviceTest, getFeatureLevel) { in TEST() argument
233 const auto featureLevel = device->getFeatureLevel(); in TEST()
/aosp12/hardware/interfaces/neuralnetworks/1.1/utils/test/
H A DDeviceTest.cpp237 TEST(DeviceTest, getFeatureLevel) { in TEST() argument
243 const auto featureLevel = device->getFeatureLevel(); in TEST()
/aosp12/hardware/interfaces/neuralnetworks/1.3/utils/src/
H A DDevice.cpp145 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() function in android::hardware::neuralnetworks::V1_3::utils::Device
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/src/
H A DDevice.cpp194 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() function in android::hardware::neuralnetworks::V1_2::utils::Device
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/src/
H A DDevice.cpp173 nn::Version Device::getFeatureLevel() const { in getFeatureLevel() function in aidl::android::hardware::neuralnetworks::utils::Device

12