Home
last modified time | relevance | path

Searched refs:mDeathRecipients (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskFpsCallbackController.java30 private final HashMap<IBinder, IBinder.DeathRecipient> mDeathRecipients; field in TaskFpsCallbackController
35 mDeathRecipients = new HashMap<>(); in TaskFpsCallbackController()
54 mDeathRecipients.put(binder, deathRecipient); in registerListener()
70 binder.unlinkToDeath(mDeathRecipients.get(binder), 0); in unregisterListener()
71 mDeathRecipients.remove(binder); in unregisterListener()
/frameworks/native/libs/binder/ndk/
Dibinder.cpp281 for (auto& recip : mDeathRecipients) { in ~ABpBinder()
329 mDeathRecipients.emplace_back(recipient, cookie); in addDeathRecipient()
459 mDeathRecipients.erase(std::remove_if(mDeathRecipients.begin(), mDeathRecipients.end(), in pruneThisTransferEntry()
465 mDeathRecipients.end()); in pruneThisTransferEntry()
469 mDeathRecipients.erase(std::remove_if(mDeathRecipients.begin(), mDeathRecipients.end(), in pruneDeadTransferEntriesLocked()
473 mDeathRecipients.end()); in pruneDeadTransferEntriesLocked()
482 std::find_if(mDeathRecipients.begin(), mDeathRecipients.end(), in linkToDeath()
485 }) != mDeathRecipients.end()) { in linkToDeath()
506 mDeathRecipients.push_back(recipient); in linkToDeath()
517 for (auto it = mDeathRecipients.rbegin(); it != mDeathRecipients.rend(); ++it) { in unlinkToDeath()
[all …]
Dibinder_internal.h126 std::vector<DeathRecipientInfo> mDeathRecipients; member
207 std::vector<::android::sp<TransferDeathRecipient>> mDeathRecipients; member
/frameworks/base/core/java/android/os/
DBinderProxy.java624 private List<DeathRecipient> mDeathRecipients = Collections.synchronizedList(new ArrayList<>()); field in BinderProxy
632 mDeathRecipients.add(recipient); in linkToDeath()
639 mDeathRecipients.remove(recipient); in unlinkToDeath()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java1657 mDeathRecipients; field in SensorPrivacyService.SensorPrivacyHandler
1662 mDeathRecipients = new ArrayMap<>(); in SensorPrivacyHandler()
1784 Pair<DeathRecipient, Integer> deathRecipient = mDeathRecipients.get(listener); in addDeathRecipient()
1791 mDeathRecipients.put(listener, deathRecipient); in addDeathRecipient()
1795 Pair<DeathRecipient, Integer> deathRecipient = mDeathRecipients.get(listener); in removeDeathRecipient()
1801 mDeathRecipients.remove(listener); in removeDeathRecipient()
1807 mDeathRecipients.put(listener, deathRecipient); in removeDeathRecipient()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java1880 private final ArrayList<IBinder.DeathRecipient> mDeathRecipients = new ArrayList<>(); field in WindowContainerTests.TestBinder
1884 for (int i = mDeathRecipients.size() - 1; i >= 0; i--) { in die()
1885 final DeathRecipient recipient = mDeathRecipients.get(i); in die()
1891 return !mDeathRecipients.isEmpty(); in hasDeathRecipient()
1900 mDeathRecipients.add(recipient); in linkToDeath()
1905 final boolean successes = mDeathRecipients.remove(recipient); in unlinkToDeath()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java265 private final SparseArray<BinderServiceDeathRecipient> mDeathRecipients = new SparseArray<>(); field in RIL
994 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1000 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1006 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1012 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1018 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1024 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1030 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1179 mDeathRecipients.put(service, new BinderServiceDeathRecipient(service)); in RIL()