Home
last modified time | relevance | path

Searched refs:IDevice (Results 1 – 20 of 20) sorted by relevance

/packages/modules/NeuralNetworks/common/include/nnapi/
DIDevice.h39 class IDevice {
356 virtual ~IDevice() = default;
360 IDevice() = default;
361 IDevice(const IDevice&) = default;
362 IDevice(IDevice&&) noexcept = default;
363 IDevice& operator=(const IDevice&) = default;
364 IDevice& operator=(IDevice&&) noexcept = default;
DTypes.h48 class IDevice; variable
82 using SharedDevice = std::shared_ptr<const IDevice>;
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDeviceManager.cpp43 using aidl::android::hardware::neuralnetworks::IDevice;
47 ANeuralNetworksShimResultCode registerEagerService(const std::shared_ptr<IDevice>& device, in registerEagerService()
58 ANeuralNetworksShimResultCode registerLazyService(const std::shared_ptr<IDevice>& device, in registerLazyService()
75 ANeuralNetworksShimResultCode registerService(const std::shared_ptr<IDevice>& device, in registerService()
146 std::vector<std::shared_ptr<IDevice>> devices; in registerDevices()
/packages/modules/NeuralNetworks/runtime/test/
DHalUtils.h43 inline SharedDevice makeSharedDevice(std::string name, sp<V1_0::IDevice> driver) { in makeSharedDevice()
52 if (auto driver13 = V1_3::IDevice::castFrom(driver).withDefault(nullptr); driver13 != nullptr) { in makeSharedDevice()
55 if (auto driver12 = V1_2::IDevice::castFrom(driver).withDefault(nullptr); driver12 != nullptr) { in makeSharedDevice()
58 if (auto driver11 = V1_1::IDevice::castFrom(driver).withDefault(nullptr); driver11 != nullptr) { in makeSharedDevice()
DTestExecution.cpp462 class TestDriver12 : public V1_2::IDevice {
527 const sp<V1_3::IDevice> mLatestDriver;
531 class TestDriver11 : public V1_1::IDevice {
562 const sp<V1_3::IDevice> mLatestDriver;
566 class TestDriver10 : public V1_0::IDevice {
585 const sp<V1_3::IDevice> mLatestDriver;
DTestPartitioning.cpp474 class PartitioningDriverV1_2 : public V1_2::IDevice {
542 const sp<V1_3::IDevice> mLatestDriver;
546 class PartitioningDriverV1_1 : public V1_1::IDevice {
581 const sp<V1_3::IDevice> mLatestDriver;
585 class PartitioningDriverV1_0 : public V1_0::IDevice {
608 const sp<V1_3::IDevice> mLatestDriver;
DTestIntrospectionControl.cpp753 class TestDriver11 : public V1_1::IDevice {
784 const sp<V1_3::IDevice> mLatestDriver;
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp47 sp<V1_3::IDevice> getDevice() { in getDevice()
51 static const sp<V1_3::IDevice> device = new nn::sample_driver::SampleDriverFull( in getDevice()
289 sp<V1_3::IPreparedModel> prepareModel(const sp<V1_3::IDevice>& device, const V1_3::Model& model) { in prepareModel()
DREADME.md55 device via `IDevice::getService(...))` for three reasons. First, the test runs
63 `IDevice::prepareModel_1_3` and `IDevice::executeSynchronously_1_3`
/packages/modules/NeuralNetworks/tools/systrace_parser/
Dcontract-between-code-and-parser.txt116 …"funcR5"); t2: t_m_w:B|T1|HIDL::IDevice::getCapabilities::client "Onet…
137 ... funcRC(...) { t1: t_m_w:B|T1|HIDL::IDevice::prepareModel_1_1::clie…
138 … ... t2: t_m_w:B|T2|HIDL::IDevice::prepareModel_1_1::server
/packages/modules/NeuralNetworks/driver/sample_shim/config/
Dandroid.hardware.neuralnetworks-shell-service-sample.rc2 interface aidl android.hardware.neuralnetworks.IDevice/nnapi-sample_sl_updatable
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DTestRandomGraph.cpp64 class TestDriverV1_1 : public V1_1::IDevice {
96 const sp<V1_2::IDevice> mDriverV1_2;
100 class TestDriverV1_0 : public V1_0::IDevice {
120 const sp<V1_2::IDevice> mDriverV1_2;
/packages/modules/NeuralNetworks/common/include/
DHalInterfaces.h53 using HalDeviceFactory = std::function<sp<V1_0::IDevice>(bool blocking)>;
/packages/modules/NeuralNetworks/tools/api/
DTypes.t50 class IDevice;
75 using SharedDevice = std::shared_ptr<const IDevice>;
Dtypes.spec7794 * IBuffer returned from IDevice::allocate, and is specific to the IDevice
7814 * Specifies a driver-managed buffer. It is the token returned from IDevice::allocate,
7815 * and is specific to the IDevice object.
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalDevice.h37 class Device final : public IDevice {
DLimitedSupportDevice.h38 class LimitedSupportDevice final : public IDevice {
DSampleDriver.h62 class SampleDriver : public V1_3::IDevice {
/packages/modules/NeuralNetworks/driver/sample_shim/
DShellServiceSample.cpp50 const std::string instance = std::string(IDevice::descriptor) + "/" + name; in registerInvalidDevices()
/packages/modules/NeuralNetworks/extensions/
DREADME.md159 Drivers report supported extensions through the `IDevice::getSupportedExtensions`