Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DVersionedInterfaces.cpp710 std::shared_ptr<VersionedIDevice> VersionedIDevice::create(std::string serviceName, in create()
736 return std::make_shared<VersionedIDevice>( in create()
741 VersionedIDevice::VersionedIDevice(hal::Capabilities capabilities, in VersionedIDevice() function in android::nn::VersionedIDevice
756 std::optional<VersionedIDevice::Core> VersionedIDevice::Core::create(sp<V1_0::IDevice> device) { in create()
784 VersionedIDevice::Core::Core(sp<V1_0::IDevice> device, sp<IDeviceDeathHandler> deathHandler) in Core()
791 VersionedIDevice::Core::~Core() { in ~Core()
801 VersionedIDevice::Core::Core(Core&& other) noexcept in Core()
810 VersionedIDevice::Core& VersionedIDevice::Core::operator=(Core&& other) noexcept { in operator =()
823 std::pair<sp<T_IDevice>, sp<IDeviceDeathHandler>> VersionedIDevice::Core::getDeviceAndDeathHandler() in getDeviceAndDeathHandler()
872 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.cpp64 DriverDevice(std::shared_ptr<VersionedIDevice> device);
111 const std::shared_ptr<VersionedIDevice> kInterface;
161 DriverDevice::DriverDevice(std::shared_ptr<VersionedIDevice> device) in DriverDevice()
175 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()