Searched refs:callbackIds (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/libs/gui/include/gui/ |
D | ITransactionCompletedListener.h | 87 TransactionStats(const std::vector<CallbackId>& ids) : callbackIds(ids) {} in TransactionStats() 89 : callbackIds(ids.begin(), ids.end()) {} in TransactionStats() 92 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats() 94 std::vector<CallbackId> callbackIds; variable 106 const std::unordered_set<CallbackId>& callbackIds); 132 callbackIds(callbacks.begin(), callbacks.end()) {} in ListenerCallbacks() 135 : transactionCompletedListener(listener), callbackIds(ids) {} in ListenerCallbacks() 141 if (callbackIds.empty()) { 142 return rhs.callbackIds.empty(); 144 return callbackIds.front() == rhs.callbackIds.front(); [all …]
|
D | SurfaceComposerClient.h | 335 std::unordered_set<CallbackId> callbackIds; member 652 const std::unordered_set<CallbackId>& callbackIds);
|
/frameworks/native/services/surfaceflinger/ |
D | TransactionCompletedThread.cpp | 91 auto& [listener, callbackIds] = listenerCallbacks; in startRegistration() 102 transactionStatsDeque.emplace_back(callbackIds); in startRegistration() 127 const sp<IBinder>& transactionListener, const std::vector<CallbackId>& callbackIds) { in isRegisteringTransaction() argument 128 ListenerCallbacks listenerCallbacks(transactionListener, callbackIds); in isRegisteringTransaction() 145 status_t err = findTransactionStats(handle->listener, handle->callbackIds, &transactionStats); in registerPendingCallbackHandle() 151 mPendingTransactions[handle->listener][handle->callbackIds]++; in registerPendingCallbackHandle() 170 auto pendingCallback = pendingCallbacks.find(handle->callbackIds); in finalizePendingCallbackHandles() 211 const sp<IBinder>& listener, const std::vector<CallbackId>& callbackIds, in findTransactionStats() argument 218 if (compareCallbackIds(itr->callbackIds, callbackIds) == 0) { in findTransactionStats() 232 status_t err = findTransactionStats(handle->listener, handle->callbackIds, &transactionStats); in addCallbackHandle() [all …]
|
D | TransactionCompletedThread.h | 40 std::vector<CallbackId> callbackIds; variable 90 const std::vector<CallbackId>& callbackIds) REQUIRES(mMutex); 93 const std::vector<CallbackId>& callbackIds,
|
D | SurfaceFlinger.cpp | 3618 for (auto& [listener, callbackIds] : s.listeners) { in setClientStateLocked() 3620 new CallbackHandle(listener, callbackIds, s.surface)); in setClientStateLocked() 3875 for (auto& [listener, callbackIds] : s.listeners) { in setClientStateLocked() 3876 callbackHandles.emplace_back(new CallbackHandle(listener, callbackIds, s.surface)); in setClientStateLocked()
|
/frameworks/native/libs/gui/ |
D | ITransactionCompletedListener.cpp | 151 status_t err = output->writeInt64Vector(callbackIds); in writeToParcel() 175 status_t err = input->readInt64Vector(&callbackIds); in readFromParcel() 227 const std::unordered_set<CallbackId>& callbackIds) { in createEmpty() argument 230 listenerStats.transactionStats.emplace_back(callbackIds); in createEmpty()
|
D | SurfaceComposerClient.cpp | 179 const std::unordered_set<CallbackId>& callbackIds) { in addSurfaceControlToCallbacks() argument 182 for (auto callbackId : callbackIds) { in addSurfaceControlToCallbacks() 208 for (auto& callbackId : transactionStats.callbackIds) { in onTransactionCompleted() 214 for (auto callbackId : transactionStats.callbackIds) { in onTransactionCompleted() 413 listenerCallbacks[listener].callbackIds.insert(parcel->readInt64()); in readFromParcel() 491 parcel->writeUint32(static_cast<uint32_t>(callbackInfo.callbackIds.size())); in writeToParcel() 492 for (auto callbackId : callbackInfo.callbackIds) { in writeToParcel() 530 auto& [callbackIds, surfaceControls] = callbackInfo; in merge() 531 mListenerCallbacks[listener].callbackIds.insert(std::make_move_iterator( in merge() 532 callbackIds.begin()), in merge() [all …]
|
D | LayerState.cpp | 110 err = output.writeInt64Vector(listener.callbackIds); in write() 194 std::vector<CallbackId> callbackIds; in read() local 195 input.readInt64Vector(&callbackIds); in read() 196 listeners.emplace_back(listener, callbackIds); in read()
|
D | ISurfaceComposer.cpp | 98 for (const auto& [listener, callbackIds] : listenerCallbacks) { in setTransactionState() 100 data.writeInt64Vector(callbackIds); in setTransactionState() 1284 std::vector<CallbackId> callbackIds; in onTransact() local 1285 data.readInt64Vector(&callbackIds); in onTransact() 1286 listenerCallbacks.emplace_back(listener, callbackIds); in onTransact()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | IPC_test.cpp | 329 ASSERT_EQ(1, remoteCallbackInfo.callbackIds.size()); in TEST_F()
|