Home
last modified time | relevance | path

Searched refs:HalBufferTracker (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NeuralNetworks/common/include/
DHalBufferTracker.h75 class HalBufferTracker : public std::enable_shared_from_this<HalBufferTracker> {
76 DISALLOW_COPY_AND_ASSIGN(HalBufferTracker);
85 Token(uint32_t token, std::shared_ptr<HalBufferTracker> tracker) in Token()
92 const std::shared_ptr<HalBufferTracker> kHalBufferTracker;
97 static std::shared_ptr<HalBufferTracker> create() { in create()
98 return std::make_shared<HalBufferTracker>(); in create()
102 HalBufferTracker() : mTokenToBuffers(1) {} in HalBufferTracker() function
/packages/modules/NeuralNetworks/driver/sample/
DSampleDriver.h42 std::unique_ptr<HalBufferTracker::Token> token) in SampleBuffer()
54 const std::unique_ptr<HalBufferTracker::Token> kToken;
68 mHalBufferTracker(HalBufferTracker::create()) { in mName()
121 const std::shared_ptr<HalBufferTracker>& getHalBufferTracker() const { in getHalBufferTracker()
128 const std::shared_ptr<HalBufferTracker> mHalBufferTracker;
/packages/modules/NeuralNetworks/common/
DHalBufferTracker.cpp191 std::unique_ptr<HalBufferTracker::Token> HalBufferTracker::add( in add()
210 std::shared_ptr<HalManagedBuffer> HalBufferTracker::get(uint32_t token) const { in get()
219 void HalBufferTracker::free(uint32_t token) { in free()
DAndroid.bp170 "HalBufferTracker.cpp",