Searched refs:IDevice (Results 1 – 20 of 20) sorted by relevance
39 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;
48 class IDevice; variable82 using SharedDevice = std::shared_ptr<const IDevice>;
43 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()
43 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()
462 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;
474 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;
753 class TestDriver11 : public V1_1::IDevice {784 const sp<V1_3::IDevice> mLatestDriver;
47 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()
55 device via `IDevice::getService(...))` for three reasons. First, the test runs63 `IDevice::prepareModel_1_3` and `IDevice::executeSynchronously_1_3`
116 …"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
2 interface aidl android.hardware.neuralnetworks.IDevice/nnapi-sample_sl_updatable
64 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;
53 using HalDeviceFactory = std::function<sp<V1_0::IDevice>(bool blocking)>;
50 class IDevice;75 using SharedDevice = std::shared_ptr<const IDevice>;
7794 * IBuffer returned from IDevice::allocate, and is specific to the IDevice7814 * Specifies a driver-managed buffer. It is the token returned from IDevice::allocate,7815 * and is specific to the IDevice object.
37 class Device final : public IDevice {
38 class LimitedSupportDevice final : public IDevice {
62 class SampleDriver : public V1_3::IDevice {
50 const std::string instance = std::string(IDevice::descriptor) + "/" + name; in registerInvalidDevices()
159 Drivers report supported extensions through the `IDevice::getSupportedExtensions`