Home
last modified time | relevance | path

Searched refs:CallbackId (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h35 using CallbackId = int64_t; variable
57 TransactionStats(const std::vector<CallbackId>& ids) : callbackIds(ids) {} in TransactionStats()
58 TransactionStats(const std::unordered_set<CallbackId>& ids) in TransactionStats()
60 TransactionStats(const std::vector<CallbackId>& ids, nsecs_t latch, const sp<Fence>& present, in TransactionStats()
64 std::vector<CallbackId> callbackIds;
76 const std::unordered_set<CallbackId>& callbackIds);
101 const std::unordered_set<CallbackId>& callbacks) in ListenerCallbacks()
106 const std::vector<CallbackId>& ids) in ListenerCallbacks()
110 std::vector<CallbackId> callbackIds;
DSurfaceComposerClient.h282 std::unordered_set<CallbackId> callbackIds;
546 CallbackId getNextIdLocked() REQUIRES(mMutex);
552 CallbackId mCallbackIdCounter GUARDED_BY(mMutex) = 1;
565 std::unordered_map<CallbackId, CallbackTranslation> mCallbacks GUARDED_BY(mMutex);
573 CallbackId addCallbackFunction(
579 const std::unordered_set<CallbackId>& callbackIds);
/frameworks/native/services/surfaceflinger/
DTransactionCompletedThread.h40 std::size_t operator()(const std::vector<CallbackId>& callbackIds) const { in operator()
41 return std::hash<CallbackId>{}((callbackIds.empty()) ? 0 : callbackIds.front()); in operator()
48 const std::vector<CallbackId>& ids, const sp<IBinder>& sc);
51 std::vector<CallbackId> callbackIds;
70 const std::vector<CallbackId>& callbackIds);
93 const std::vector<CallbackId>& callbackIds,
126 std::unordered_map<std::vector<CallbackId>, uint32_t /*count*/, CallbackIdsHash>,
DTransactionCompletedThread.cpp37 static int compareCallbackIds(const std::vector<CallbackId>& c1, in compareCallbackIds()
38 const std::vector<CallbackId>& c2) { in compareCallbackIds()
79 const std::vector<CallbackId>& callbackIds) { in addCallback()
174 const std::vector<CallbackId>& callbackIds, TransactionStats** outTransactionStats) { in findTransactionStats()
301 const std::vector<CallbackId>& ids, const sp<IBinder>& sc) in CallbackHandle()
/frameworks/native/libs/gui/
DITransactionCompletedListener.cpp155 const std::unordered_set<CallbackId>& callbackIds) { in createEmpty()
DSurfaceComposerClient.cpp138 CallbackId TransactionCompletedListener::getNextIdLocked() { in getNextIdLocked()
159 CallbackId TransactionCompletedListener::addCallbackFunction( in addCallbackFunction()
166 CallbackId callbackId = getNextIdLocked(); in addCallbackFunction()
180 const std::unordered_set<CallbackId>& callbackIds) { in addSurfaceControlToCallbacks()
1046 CallbackId callbackId = listener->addCallbackFunction(callbackWithContext, surfaceControls); in addTransactionCompletedCallback()
DISurfaceComposer.cpp1046 std::vector<CallbackId> callbackIds; in onTransact()