Lines Matching refs:RuntimeMemory
183 RuntimeMemory::RuntimeMemory(SharedMemory memory) : kMemory(std::move(memory)) { in RuntimeMemory() function in android::nn::RuntimeMemory
188 RuntimeMemory::RuntimeMemory(SharedMemory memory, std::unique_ptr<MemoryValidatorBase> validator) in RuntimeMemory() function in android::nn::RuntimeMemory
193 RuntimeMemory::RuntimeMemory(SharedBuffer buffer) : kBuffer(std::move(buffer)) {} in RuntimeMemory() function in android::nn::RuntimeMemory
195 Request::MemoryPool RuntimeMemory::getMemoryPool() const { in getMemoryPool()
202 std::optional<RunTimePoolInfo> RuntimeMemory::getRunTimePoolInfo() const { in getRunTimePoolInfo()
211 void RuntimeMemory::hold(const IBurst::OptionalCacheHold& cacheHold) const { in hold()
265 static int copyInternal(const RuntimeMemory& src, const RuntimeMemory& dst) { in copyInternal()
295 int RuntimeMemory::copy(const RuntimeMemory& src, const RuntimeMemory& dst) { in copy()
472 std::pair<int, std::unique_ptr<RuntimeMemory>> MemoryBuilder::allocate() const { in allocate()
479 std::unique_ptr<RuntimeMemory> memory; in allocate()
528 : RuntimeMemory(std::move(memory)), kMapping(std::move(mapping)) {} in MemoryAshmem()
540 MemoryFd::MemoryFd(SharedMemory memory) : RuntimeMemory(std::move(memory)) {} in MemoryFd()
598 : RuntimeMemory(std::move(memory)), kMapping(std::move(mapping)) {} in MemoryRuntimeAHWB()
608 MemoryFromDevice::MemoryFromDevice(SharedBuffer buffer) : RuntimeMemory(std::move(buffer)) {} in MemoryFromDevice()