Home
last modified time | relevance | path

Searched refs:callbackIds (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h174 TransactionStats(const std::vector<CallbackId>& ids) : callbackIds(ids) {} in TransactionStats()
176 : callbackIds(ids.begin(), ids.end()) {} in TransactionStats()
179 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats()
181 std::vector<CallbackId> callbackIds; variable
194 const std::unordered_set<CallbackId, CallbackIdHash>& callbackIds);
228 callbackIds(callbacks.begin(), callbacks.end()) {} in ListenerCallbacks()
231 : transactionCompletedListener(listener), callbackIds(ids) {} in ListenerCallbacks()
237 if (callbackIds.empty()) {
238 return rhs.callbackIds.empty();
240 return callbackIds.front().id == rhs.callbackIds.front().id;
[all …]
DSurfaceComposerClient.h414 std::unordered_set<CallbackId, CallbackIdHash> callbackIds; member
/frameworks/native/services/surfaceflinger/
DTransactionCallbackInvoker.cpp56 auto& [listener, callbackIds] = listenerCallbacks; in addEmptyTransaction()
58 transactionStatsDeque.emplace_back(callbackIds); in addEmptyTransaction()
69 if (!containsOnCommitCallbacks(handle->callbackIds)) { in addOnCommitCallbackHandles()
98 const sp<IBinder>& listener, const std::vector<CallbackId>& callbackIds, in findOrCreateTransactionStats() argument
105 if (compareCallbackIds(itr->callbackIds, callbackIds) == 0) { in findOrCreateTransactionStats()
110 *outTransactionStats = &transactionStatsDeque.emplace_back(callbackIds); in findOrCreateTransactionStats()
120 findOrCreateTransactionStats(handle->listener, handle->callbackIds, &transactionStats); in addCallbackHandle()
177 if (onCommitOnly && !containsOnCommitCallbacks(transactionStats.callbackIds)) { in sendCallbacks()
184 !containsOnCommitCallbacks(transactionStats.callbackIds)) { in sendCallbacks()
222 : listener(transactionListener), callbackIds(ids), surfaceControl(sc) {} in CallbackHandle()
DTransactionCallbackInvoker.h43 std::vector<CallbackId> callbackIds; variable
86 const std::vector<CallbackId>& callbackIds,
DSurfaceFlinger.cpp5502 if (!onCommitCallbacks.callbackIds.empty()) { in setClientStateLocked()
5507 if (!onCompleteCallbacks.callbackIds.empty()) { in setClientStateLocked()
5522 for (auto& [listener, callbackIds] : s.listeners) { in setClientStateLocked()
5524 callbackIds, in setClientStateLocked()
5800 for (auto& [listener, callbackIds] : filteredListeners) { in setClientStateLocked()
5802 sp<CallbackHandle>::make(listener, callbackIds, s.surface)); in setClientStateLocked()
5863 if (!onCommitCallbacks.callbackIds.empty()) { in updateLayerCallbacksAndStats()
5868 if (!onCompleteCallbacks.callbackIds.empty()) { in updateLayerCallbacksAndStats()
5883 for (auto& [listener, callbackIds] : s.listeners) { in updateLayerCallbacksAndStats()
5885 callbackIds, in updateLayerCallbacksAndStats()
[all …]
DLayer.cpp779 for (const auto& cb : handle->callbackIds) { in transferAvailableJankData()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp98 for (const auto& [listener, callbackIds] : listenerCallbacks) { in setTransactionState()
100 SAFE_PARCEL(data.writeParcelableVector, callbackIds); in setTransactionState()
186 std::vector<CallbackId> callbackIds; in onTransact() local
187 SAFE_PARCEL(data.readParcelableVector, &callbackIds); in onTransact()
188 listenerCallbacks.emplace_back(tmpBinder, callbackIds); in onTransact()
DITransactionCompletedListener.cpp215 status_t err = output->writeParcelableVector(callbackIds); in writeToParcel()
239 status_t err = input->readParcelableVector(&callbackIds); in readFromParcel()
292 const std::unordered_set<CallbackId, CallbackIdHash>& callbackIds) { in createEmpty() argument
295 listenerStats.transactionStats.emplace_back(callbackIds); in createEmpty()
364 for (const auto& callbackId : callbackIds) { in filter()
DSurfaceComposerClient.cpp333 for (auto callbackId : callbackInfo.callbackIds) { in addSurfaceControlToCallbacks()
347 callbackInfo.callbackIds.emplace(callbackId); in addSurfaceControlToCallbacks()
371 for (auto& callbackId : transactionStats.callbackIds) { in onTransactionCompleted()
378 for (auto callbackId : transactionStats.callbackIds) { in onTransactionCompleted()
408 for (auto callbackId : transactionStats.callbackIds) { in onTransactionCompleted()
465 for (auto callbackId : transactionStats.callbackIds) { in onTransactionCompleted()
797 listenerCallbacks[listener].callbackIds.insert(id); in readFromParcel()
901 parcel->writeUint32(static_cast<uint32_t>(callbackInfo.callbackIds.size())); in writeToParcel()
902 for (auto callbackId : callbackInfo.callbackIds) { in writeToParcel()
991 auto& [callbackIds, surfaceControls] = callbackInfo; in merge()
[all …]
DLayerState.cpp150 SAFE_PARCEL(output.writeParcelableVector, listener.callbackIds); in write()
271 std::vector<CallbackId> callbackIds; in read() local
273 SAFE_PARCEL(input.readParcelableVector, &callbackIds); in read()
274 listeners.emplace_back(listener, callbackIds); in read()
/frameworks/native/services/surfaceflinger/tests/
DIPC_test.cpp328 ASSERT_EQ(1, remoteCallbackInfo.callbackIds.size()); in TEST_F()