/frameworks/native/libs/gui/include/gui/ |
D | ITransactionCompletedListener.h | 174 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 …]
|
D | SurfaceComposerClient.h | 414 std::unordered_set<CallbackId, CallbackIdHash> callbackIds; member
|
/frameworks/native/services/surfaceflinger/ |
D | TransactionCallbackInvoker.cpp | 56 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()
|
D | TransactionCallbackInvoker.h | 43 std::vector<CallbackId> callbackIds; variable 86 const std::vector<CallbackId>& callbackIds,
|
D | SurfaceFlinger.cpp | 5502 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 …]
|
D | Layer.cpp | 779 for (const auto& cb : handle->callbackIds) { in transferAvailableJankData()
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 98 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()
|
D | ITransactionCompletedListener.cpp | 215 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()
|
D | SurfaceComposerClient.cpp | 333 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 …]
|
D | LayerState.cpp | 150 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/ |
D | IPC_test.cpp | 328 ASSERT_EQ(1, remoteCallbackInfo.callbackIds.size()); in TEST_F()
|