Searched refs:ShimBufferTracker (Results 1 – 6 of 6) sorted by relevance
40 class ShimBufferTracker : public std::enable_shared_from_this<ShimBufferTracker> {41 DISALLOW_COPY_AND_ASSIGN(ShimBufferTracker);50 Token(uint32_t token, std::shared_ptr<ShimBufferTracker> tracker) in Token()57 const std::shared_ptr<ShimBufferTracker> kBufferTracker;62 static std::shared_ptr<ShimBufferTracker> create() { in create()63 return std::make_shared<ShimBufferTracker>(); in create()67 ShimBufferTracker() : mTokenToBuffers(1) {} in ShimBufferTracker() function
34 std::shared_ptr<ShimBufferTracker> bufferTracker, in ShimPreparedModel()70 std::shared_ptr<ShimBufferTracker> mBufferTracker;
69 std::shared_ptr<ShimBufferTracker> mBufferTracker;
34 std::unique_ptr<ShimBufferTracker::Token> ShimBufferTracker::add( in add()52 std::shared_ptr<::android::nn::sl_wrapper::Memory> ShimBufferTracker::get(uint32_t token) const { in get()61 void ShimBufferTracker::free(uint32_t token) { in free()
184 mBufferTracker(ShimBufferTracker::create()), in ShimDevice()197 std::unique_ptr<ShimBufferTracker::Token> token) in ShimBuffer()315 const std::unique_ptr<ShimBufferTracker::Token> kToken;
48 "ShimBufferTracker.cpp",