Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h40 class CallbackId : public Parcelable {
45 CallbackId() {} in CallbackId() function
46 CallbackId(int64_t id, Type type) : id(id), type(type) {} in CallbackId() function
50 bool operator==(const CallbackId& rhs) const { return id == rhs.id && type == rhs.type; }
54 std::size_t operator()(const CallbackId& key) const { return std::hash<int64_t>()(key.id); } in operator()
163 TransactionStats(const std::vector<CallbackId>& ids) : callbackIds(ids) {} in TransactionStats()
164 TransactionStats(const std::unordered_set<CallbackId, CallbackIdHash>& ids) in TransactionStats() argument
166 TransactionStats(const std::vector<CallbackId>& ids, nsecs_t latch, const sp<Fence>& present, in TransactionStats()
170 std::vector<CallbackId> callbackIds;
183 const std::unordered_set<CallbackId, CallbackIdHash>& callbackIds);
[all …]
DSurfaceComposerClient.h393 std::unordered_set<CallbackId, CallbackIdHash> callbackIds;
567 void* callbackContext, CallbackId::Type callbackType);
773 std::unordered_map<CallbackId, CallbackTranslation, CallbackIdHash> mCallbacks
790 CallbackId addCallbackFunction(
794 CallbackId::Type callbackType);
798 const std::unordered_set<CallbackId, CallbackIdHash>& callbackIds);
/frameworks/native/services/surfaceflinger/
DTransactionCallbackInvoker.cpp41 static int compareCallbackIds(const std::vector<CallbackId>& c1, in compareCallbackIds()
42 const std::vector<CallbackId>& c2) { in compareCallbackIds()
49 static bool containsOnCommitCallbacks(const std::vector<CallbackId>& callbacks) { in containsOnCommitCallbacks()
50 return !callbacks.empty() && callbacks.front().type == CallbackId::Type::ON_COMMIT; in containsOnCommitCallbacks()
101 const sp<IBinder>& listener, const std::vector<CallbackId>& callbackIds, in findOrCreateTransactionStats()
242 const std::vector<CallbackId>& ids, const sp<IBinder>& sc) in CallbackHandle()
DTransactionCallbackInvoker.h38 CallbackHandle(const sp<IBinder>& transactionListener, const std::vector<CallbackId>& ids,
42 std::vector<CallbackId> callbackIds;
86 const std::vector<CallbackId>& callbackIds,
DSurfaceFlinger.cpp4361 ListenerCallbacks onCommitCallbacks = listener.filter(CallbackId::Type::ON_COMMIT); in setClientStateLocked()
4366 ListenerCallbacks onCompleteCallbacks = listener.filter(CallbackId::Type::ON_COMPLETE); in setClientStateLocked()
/frameworks/native/libs/gui/
DITransactionCompletedListener.cpp252 const std::unordered_set<CallbackId, CallbackIdHash>& callbackIds) { in createEmpty() argument
312 ListenerCallbacks ListenerCallbacks::filter(CallbackId::Type type) const { in filter()
313 std::vector<CallbackId> filteredCallbackIds; in filter()
322 status_t CallbackId::writeToParcel(Parcel* output) const { in writeToParcel()
328 status_t CallbackId::readFromParcel(const Parcel* input) { in readFromParcel()
332 type = static_cast<CallbackId::Type>(typeAsInt); in readFromParcel()
DSurfaceComposerClient.cpp237 CallbackId TransactionCompletedListener::addCallbackFunction( in addCallbackFunction()
241 CallbackId::Type callbackType) { in addCallbackFunction()
245 CallbackId callbackId(getNextIdLocked(), callbackType); in addCallbackFunction()
300 const std::unordered_set<CallbackId, CallbackIdHash>& callbackIds) { in addSurfaceControlToCallbacks() argument
312 std::unordered_map<CallbackId, CallbackTranslation, CallbackIdHash> callbacksMap; in onTransactionCompleted()
339 if (callbackId.type != CallbackId::Type::ON_COMMIT) { in onTransactionCompleted()
365 if (callbackId.type != CallbackId::Type::ON_COMPLETE) { in onTransactionCompleted()
419 if (callbackId.type != CallbackId::Type::ON_COMPLETE) { in onTransactionCompleted()
703 CallbackId id; in readFromParcel()
991 std::vector<CallbackId> callbacks(callbackIds.begin(), callbackIds.end()); in apply()
[all …]
DLayerState.cpp233 std::vector<CallbackId> callbackIds; in read()
DISurfaceComposer.cpp1092 std::vector<CallbackId> callbackIds; in onTransact()