Home
last modified time | relevance | path

Searched refs:ShimBufferTracker (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimBufferTracker.h40 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
DShimPreparedModel.h34 std::shared_ptr<ShimBufferTracker> bufferTracker, in ShimPreparedModel()
70 std::shared_ptr<ShimBufferTracker> mBufferTracker;
DShimDevice.h69 std::shared_ptr<ShimBufferTracker> mBufferTracker;
/packages/modules/NeuralNetworks/shim_and_sl/
DShimBufferTracker.cpp34 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()
DShimDevice.cpp184 mBufferTracker(ShimBufferTracker::create()), in ShimDevice()
197 std::unique_ptr<ShimBufferTracker::Token> token) in ShimBuffer()
315 const std::unique_ptr<ShimBufferTracker::Token> kToken;
DAndroid.bp48 "ShimBufferTracker.cpp",