Searched refs:MemoryFromDevice (Results 1 – 3 of 3) sorted by relevance
358 class MemoryFromDevice : public Memory {365 static std::pair<int, std::unique_ptr<MemoryFromDevice>> create(sp<hal::IBuffer> buffer,369 MemoryFromDevice(sp<hal::IBuffer> buffer, uint32_t token);
655 std::pair<int, std::unique_ptr<MemoryFromDevice>> MemoryFromDevice::create(sp<hal::IBuffer> buffer, in create()665 return {ANEURALNETWORKS_NO_ERROR, std::make_unique<MemoryFromDevice>(std::move(buffer), token)}; in create()668 MemoryFromDevice::MemoryFromDevice(sp<hal::IBuffer> buffer, uint32_t token) in MemoryFromDevice() function in android::nn::MemoryFromDevice
275 return MemoryFromDevice::create(std::move(buffer), token); in allocate()