Searched refs:callbackIds (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/libs/gui/include/gui/ |
D | ITransactionCompletedListener.h | 57 TransactionStats(const std::vector<CallbackId>& ids) : callbackIds(ids) {} in TransactionStats() 59 : callbackIds(ids.begin(), ids.end()) {} in TransactionStats() 62 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats() 64 std::vector<CallbackId> callbackIds; variable 76 const std::unordered_set<CallbackId>& callbackIds); 103 callbackIds(callbacks.begin(), callbacks.end()) {} in ListenerCallbacks() 107 : transactionCompletedListener(listener), callbackIds(ids) {} in ListenerCallbacks() 110 std::vector<CallbackId> callbackIds; variable
|
D | SurfaceComposerClient.h | 282 std::unordered_set<CallbackId> callbackIds; member 578 const std::unordered_set<CallbackId>& callbackIds);
|
/frameworks/native/services/surfaceflinger/ |
D | TransactionCompletedThread.cpp | 79 const std::vector<CallbackId>& callbackIds) { in addCallback() argument 95 transactionStatsDeque.emplace_back(callbackIds); in addCallback() 110 status_t err = findTransactionStats(handle->listener, handle->callbackIds, &transactionStats); in registerPendingCallbackHandle() 116 mPendingTransactions[handle->listener][handle->callbackIds]++; in registerPendingCallbackHandle() 132 auto pendingCallback = pendingCallbacks.find(handle->callbackIds); in addPresentedCallbackHandles() 174 const std::vector<CallbackId>& callbackIds, TransactionStats** outTransactionStats) { in findTransactionStats() argument 180 if (compareCallbackIds(itr->callbackIds, callbackIds) == 0) { in findTransactionStats() 194 status_t err = findTransactionStats(handle->listener, handle->callbackIds, &transactionStats); in addCallbackHandle() 246 pendingTransactions->second.count(transactionStats.callbackIds) != 0) { in threadMain() 302 : listener(transactionListener), callbackIds(ids), surfaceControl(sc) {} in CallbackHandle()
|
D | TransactionCompletedThread.h | 40 std::size_t operator()(const std::vector<CallbackId>& callbackIds) const { in operator() 41 return std::hash<CallbackId>{}((callbackIds.empty()) ? 0 : callbackIds.front()); in operator() 51 std::vector<CallbackId> callbackIds; variable 70 const std::vector<CallbackId>& callbackIds); 93 const std::vector<CallbackId>& callbackIds,
|
D | SurfaceFlinger.cpp | 3829 for (const auto& [listener, callbackIds] : listenerCallbacks) { in applyTransactionState() 3830 mTransactionCompletedThread.addCallback(listener, callbackIds); in applyTransactionState() 4197 for (const auto& [listener, callbackIds] : listenerCallbacks) { in setClientStateLocked() 4198 callbackHandles.emplace_back(new CallbackHandle(listener, callbackIds, s.surface)); in setClientStateLocked()
|
/frameworks/native/libs/gui/ |
D | ITransactionCompletedListener.cpp | 79 status_t err = output->writeInt64Vector(callbackIds); in writeToParcel() 103 status_t err = input->readInt64Vector(&callbackIds); in readFromParcel() 155 const std::unordered_set<CallbackId>& callbackIds) { in createEmpty() argument 158 listenerStats.transactionStats.emplace_back(callbackIds); in createEmpty()
|
D | SurfaceComposerClient.cpp | 180 const std::unordered_set<CallbackId>& callbackIds) { in addSurfaceControlToCallbacks() argument 183 for (auto callbackId : callbackIds) { in addSurfaceControlToCallbacks() 207 for (auto callbackId : transactionStats.callbackIds) { in onTransactionCompleted() 214 for (auto callbackId : transactionStats.callbackIds) { in onTransactionCompleted() 352 auto& [callbackIds, surfaceControls] = callbackInfo; in merge() 353 mListenerCallbacks[listener].callbackIds.insert(std::make_move_iterator( in merge() 354 callbackIds.begin()), in merge() 355 std::make_move_iterator(callbackIds.end())); in merge() 452 auto& [callbackIds, surfaceControls] = callbackInfo; in apply() 453 if (callbackIds.empty()) { in apply() [all …]
|
D | ISurfaceComposer.cpp | 95 for (const auto& [listener, callbackIds] : listenerCallbacks) { in setTransactionState() 97 data.writeInt64Vector(callbackIds); in setTransactionState() 1047 std::vector<CallbackId> callbackIds; in onTransact() local 1048 data.readInt64Vector(&callbackIds); in onTransact() 1049 listenerCallbacks.emplace_back(listener, callbackIds); in onTransact()
|