Home
last modified time | relevance | path

Searched refs:VersionedIDevice (Results 1 – 5 of 5) sorted by relevance

/frameworks/ml/nn/runtime/
DVersionedInterfaces.cpp711 std::shared_ptr<VersionedIDevice> VersionedIDevice::create(std::string serviceName, in create()
737 return std::make_shared<VersionedIDevice>( in create()
742 VersionedIDevice::VersionedIDevice(hal::Capabilities capabilities, in VersionedIDevice() function in android::nn::VersionedIDevice
757 std::optional<VersionedIDevice::Core> VersionedIDevice::Core::create(sp<V1_0::IDevice> device) { in create()
785 VersionedIDevice::Core::Core(sp<V1_0::IDevice> device, sp<IDeviceDeathHandler> deathHandler) in Core()
792 VersionedIDevice::Core::~Core() { in ~Core()
802 VersionedIDevice::Core::Core(Core&& other) noexcept in Core()
811 VersionedIDevice::Core& VersionedIDevice::Core::operator=(Core&& other) noexcept { in operator =()
824 std::pair<sp<T_IDevice>, sp<IDeviceDeathHandler>> VersionedIDevice::Core::getDeviceAndDeathHandler() in getDeviceAndDeathHandler()
873 Return<T_Return> VersionedIDevice::recoverable( in recoverable()
[all …]
DVersionedInterfaces.h61 class VersionedIDevice {
62 DISALLOW_IMPLICIT_CONSTRUCTORS(VersionedIDevice);
79 static std::shared_ptr<VersionedIDevice> create(std::string serviceName,
101 VersionedIDevice(hal::Capabilities capabilities,
773 friend class VersionedIDevice;
DManager.cpp63 DriverDevice(std::shared_ptr<VersionedIDevice> device);
110 const std::shared_ptr<VersionedIDevice> kInterface;
160 DriverDevice::DriverDevice(std::shared_ptr<VersionedIDevice> device) in DriverDevice()
174 std::shared_ptr<VersionedIDevice> device = VersionedIDevice::create(name, makeDevice); in create()
/frameworks/ml/nn/tools/systrace_parser/
Dcontract-between-code-and-parser.txt120 ... VersionedIDevice::getCapabilities(...) {
182 ... funcRC(...) { t1: t_m_w:B|T1|[SUB][NN_LR_PC]VersionedIDevice::pr…
194 ... VersionedIDevice::prepareModel(...) {
200 "VersionedIDevice::prepareModel");
/frameworks/ml/nn/runtime/test/
DTestVersionedInterfaces.cpp512 std::shared_ptr<VersionedIDevice> makeVersionedIDeviceFrom(const sp<MockDevice>& mockDevice, in makeVersionedIDeviceFrom()
520 return VersionedIDevice::create("MockDevice", makeDevice); in makeVersionedIDeviceFrom()
523 std::shared_ptr<VersionedIDevice> makeVersionedIDeviceSuccessfulInitializationFrom( in makeVersionedIDeviceSuccessfulInitializationFrom()
553 const std::shared_ptr<VersionedIDevice> kDevice =
572 const auto device = VersionedIDevice::create("MockDevice", makeDevice); in TEST_F()
587 const auto device = VersionedIDevice::create("MockDevice", makeDevice); in TEST_F()
601 const auto device = VersionedIDevice::create("MockDevice", makeDevice); in TEST_F()
1886 const VersionedIDevice& device) { in makeVersionedIPreparedModelSuccessfulInitializationFrom()