Home
last modified time | relevance | path

Searched refs:getSupportedExtensions (Results 1 – 25 of 58) sorted by relevance

123

/aosp12/packages/modules/NeuralNetworks/driver/sample/
H A DLimitedSupportDevice.cpp69 const std::vector<Extension>& LimitedSupportDevice::getSupportedExtensions() const { in getSupportedExtensions() function in android::nn::sample::LimitedSupportDevice
70 return kDevice->getSupportedExtensions(); in getSupportedExtensions()
H A DCanonicalDevice.h46 const std::vector<Extension>& getSupportedExtensions() const override;
H A DLimitedSupportDevice.h53 const std::vector<Extension>& getSupportedExtensions() const override;
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/test/
H A DDeviceTest.cpp75 ON_CALL(*mockDevice, getSupportedExtensions(_)) in createMockDevice()
95 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)).Times(testing::AnyNumber()); in createMockDevice()
261 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)) in TEST()
276 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)) in TEST()
291 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)) in TEST()
473 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)).Times(1); in TEST()
485 EXPECT_EQ(device->getSupportedExtensions(), device->getSupportedExtensions()); in TEST()
H A DMockDevice.h40 MOCK_METHOD(ndk::ScopedAStatus, getSupportedExtensions, (std::vector<Extension> * extensions),
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/test/
H A DDeviceTest.cpp85 ON_CALL(*mockDevice, getSupportedExtensions(_)) in createMockDevice()
103 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)).Times(testing::AnyNumber()); in createMockDevice()
257 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)).Times(1).WillOnce(Invoke(ret)); in TEST()
270 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)) in TEST()
285 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)) in TEST()
494 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)).Times(1); in TEST()
506 EXPECT_EQ(device->getSupportedExtensions(), device->getSupportedExtensions()); in TEST()
/aosp12/hardware/interfaces/neuralnetworks/utils/common/src/
H A DResilientDevice.cpp79 auto extensions = device->getSupportedExtensions(); in create()
125 compare(&IDevice::getSupportedExtensions) || compare(&IDevice::getCapabilities)) { in recover()
154 const std::vector<nn::Extension>& ResilientDevice::getSupportedExtensions() const { in getSupportedExtensions() function in android::hardware::neuralnetworks::utils::ResilientDevice
H A DInvalidDevice.cpp62 const std::vector<nn::Extension>& InvalidDevice::getSupportedExtensions() const { in getSupportedExtensions() function in android::hardware::neuralnetworks::utils::InvalidDevice
/aosp12/hardware/interfaces/neuralnetworks/1.3/utils/test/
H A DDeviceTest.cpp88 ON_CALL(*mockDevice, getSupportedExtensions(_)) in createMockDevice()
110 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)).Times(testing::AnyNumber()); in createMockDevice()
277 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)).Times(1).WillOnce(Invoke(ret)); in TEST()
290 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)) in TEST()
305 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)) in TEST()
516 EXPECT_CALL(*mockDevice, getSupportedExtensions(_)).Times(1); in TEST()
528 EXPECT_EQ(device->getSupportedExtensions(), device->getSupportedExtensions()); in TEST()
/aosp12/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/
H A DFibonacciDriver.h48 hardware::Return<void> getSupportedExtensions(getSupportedExtensions_cb cb) override;
/aosp12/hardware/interfaces/neuralnetworks/utils/common/test/
H A DMockDevice.h32 MOCK_METHOD(const std::vector<Extension>&, getSupportedExtensions, (), (const, override));
H A DResilientDeviceTest.cpp69 ON_CALL(*mockDevice, getSupportedExtensions()).WillByDefault(getSupportedExtensions_ret); in createConfiguredMockDevice()
80 EXPECT_CALL(*mockDevice, getSupportedExtensions()).Times(testing::AnyNumber()); in createConfiguredMockDevice()
138 EXPECT_EQ(device->getSupportedExtensions(), kExtensions); in TEST()
636 EXPECT_CALL(*recoveredMockDevice, getSupportedExtensions()).Times(1).WillOnce(ret); in TEST()
/aosp12/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
H A DIDevice.aidl40 android.hardware.neuralnetworks.Extension[] getSupportedExtensions(); in getSupportedExtensions() method
/aosp12/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
H A DIDevice.aidl40 android.hardware.neuralnetworks.Extension[] getSupportedExtensions(); in getSupportedExtensions() method
/aosp12/packages/modules/NeuralNetworks/common/include/nnapi/
H A DIDevice.h104 virtual const std::vector<Extension>& getSupportedExtensions() const = 0;
/aosp12/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
H A DIDevice.aidl173 Extension[] getSupportedExtensions(); in getSupportedExtensions() method
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
H A DInvalidDevice.h45 ndk::ScopedAStatus getSupportedExtensions(std::vector<Extension>* extensions) override;
H A DDevice.h57 const std::vector<nn::Extension>& getSupportedExtensions() const override;
/aosp12/packages/modules/NeuralNetworks/shim_and_sl/include/
H A DShimDevice.h50 ::ndk::ScopedAStatus getSupportedExtensions(std::vector<Extension>* extensions) override;
/aosp12/hardware/interfaces/neuralnetworks/1.2/utils/src/
H A DDevice.cpp130 const auto ret = device->getSupportedExtensions(cb); in getSupportedExtensionsFrom()
202 const std::vector<nn::Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions() function in android::hardware::neuralnetworks::V1_2::utils::Device
/aosp12/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
H A DInvalidDevice.h43 const std::vector<nn::Extension>& getSupportedExtensions() const override;
/aosp12/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
H A DDevice.h55 const std::vector<nn::Extension>& getSupportedExtensions() const override;
/aosp12/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
H A DDevice.h55 const std::vector<nn::Extension>& getSupportedExtensions() const override;
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/src/
H A DDevice.cpp95 const auto ret = device->getSupportedExtensions(&supportedExtensions); in getSupportedExtensionsFrom()
181 const std::vector<nn::Extension>& Device::getSupportedExtensions() const { in getSupportedExtensions() function in aidl::android::hardware::neuralnetworks::utils::Device
/aosp12/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
H A DDevice.h57 const std::vector<nn::Extension>& getSupportedExtensions() const override;

123