Home
last modified time | relevance | path

Searched refs:BufferTracker (Results 1 – 8 of 8) sorted by relevance

/packages/modules/NeuralNetworks/common/include/
DBufferTracker.h75 class BufferTracker : public std::enable_shared_from_this<BufferTracker> {
76 DISALLOW_COPY_AND_ASSIGN(BufferTracker);
85 Token(Request::MemoryDomainToken token, std::shared_ptr<BufferTracker> tracker) in Token()
92 const std::shared_ptr<BufferTracker> kBufferTracker;
97 static std::shared_ptr<BufferTracker> create() { return std::make_shared<BufferTracker>(); } in create()
100 BufferTracker();
/packages/modules/NeuralNetworks/common/
DBufferTracker.cpp188 BufferTracker::BufferTracker() { in BufferTracker() function in android::nn::BufferTracker
199 std::unique_ptr<BufferTracker::Token> BufferTracker::add(std::shared_ptr<ManagedBuffer> buffer) { in add()
218 std::shared_ptr<ManagedBuffer> BufferTracker::get(Request::MemoryDomainToken token) const { in get()
228 void BufferTracker::free(Request::MemoryDomainToken token) { in free()
DAndroid.bp165 "BufferTracker.cpp",
291 "BufferTracker.cpp",
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalBuffer.h32 Buffer(std::shared_ptr<ManagedBuffer> buffer, std::unique_ptr<BufferTracker::Token> token);
42 const std::unique_ptr<BufferTracker::Token> kToken;
DCanonicalPreparedModel.h39 std::shared_ptr<BufferTracker> bufferTracker,
64 const std::shared_ptr<BufferTracker> kBufferTracker;
DCanonicalDevice.h73 const std::shared_ptr<BufferTracker> kBufferTracker = BufferTracker::create();
DCanonicalPreparedModel.cpp39 createRunTimePoolInfos(const Request& request, const BufferTracker& bufferTracker, in createRunTimePoolInfos()
124 std::shared_ptr<BufferTracker> bufferTracker, in PreparedModel()
DCanonicalBuffer.cpp60 Buffer::Buffer(std::shared_ptr<ManagedBuffer> buffer, std::unique_ptr<BufferTracker::Token> token) in Buffer()