Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.0/utils/src/
DProtectCallback.cpp37 std::for_each(mObjects.begin(), mObjects.end(), in serviceDied()
39 mObjects.clear(); in serviceDied()
49 mObjects.push_back(killable); in add()
56 const auto newEnd = std::remove(mObjects.begin(), mObjects.end(), killable); in remove()
57 mObjects.erase(newEnd, mObjects.end()); in remove()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp49 std::for_each(mObjects.begin(), mObjects.end(), in serviceDied()
77 mObjects.push_back(killable); in add()
83 const auto removedIter = std::remove(mObjects.begin(), mObjects.end(), killable); in remove()
84 mObjects.erase(removedIter); in remove()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleObjectPool.h88 if (mObjects.empty()) { in obtain()
93 auto o = wrap(mObjects.front().release()); in obtain()
94 mObjects.pop_front(); in obtain()
108 mObjects.push_back(std::unique_ptr<T> { o } ); in recycle()
127 std::deque<std::unique_ptr<T>> mObjects; variable
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DVehicleObjectPool.h85 if (mObjects.empty()) { in obtain()
90 auto o = wrap(mObjects.front().release()); in obtain()
91 mObjects.pop_front(); in obtain()
117 mObjects.push_back(std::unique_ptr<T>{o}); in recycle()
136 std::deque<std::unique_ptr<T>> mObjects GUARDED_BY(mLock);
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DProtectCallback.h68 mutable std::vector<IProtectedCallback*> mObjects GUARDED_BY(mMutex);
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DProtectCallback.h78 mutable std::vector<IProtectedCallback*> mObjects GUARDED_BY(mMutex);