Home
last modified time | relevance | path

Searched refs:mDeathRecipients (Results 1 – 6 of 6) 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.cpp427 mDeathRecipients.erase(std::remove_if(mDeathRecipients.begin(), mDeathRecipients.end(), in pruneDeadTransferEntriesLocked()
431 mDeathRecipients.end()); in pruneDeadTransferEntriesLocked()
449 mDeathRecipients.push_back(recipient); in linkToDeath()
460 for (auto it = mDeathRecipients.rbegin(); it != mDeathRecipients.rend(); ++it) { in unlinkToDeath()
464 mDeathRecipients.erase(it.base() - 1); in unlinkToDeath()
Dibinder_internal.h190 std::vector<::android::sp<TransferDeathRecipient>> mDeathRecipients; member
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java1353 mDeathRecipients; field in SensorPrivacyService.SensorPrivacyHandler
1358 mDeathRecipients = new ArrayMap<>(); in SensorPrivacyHandler()
1448 Pair<DeathRecipient, Integer> deathRecipient = mDeathRecipients.get(listener); in addDeathRecipient()
1455 mDeathRecipients.put(listener, deathRecipient); in addDeathRecipient()
1459 Pair<DeathRecipient, Integer> deathRecipient = mDeathRecipients.get(listener); in removeDeathRecipient()
1465 mDeathRecipients.remove(listener); in removeDeathRecipient()
1471 mDeathRecipients.put(listener, deathRecipient); in removeDeathRecipient()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java1879 private final ArrayList<IBinder.DeathRecipient> mDeathRecipients = new ArrayList<>(); field in WindowContainerTests.TestBinder
1883 for (int i = mDeathRecipients.size() - 1; i >= 0; i--) { in die()
1884 final DeathRecipient recipient = mDeathRecipients.get(i); in die()
1890 return !mDeathRecipients.isEmpty(); in hasDeathRecipient()
1899 mDeathRecipients.add(recipient); in linkToDeath()
1904 final boolean successes = mDeathRecipients.remove(recipient); in unlinkToDeath()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java269 private final SparseArray<BinderServiceDeathRecipient> mDeathRecipients = new SparseArray<>(); field in RIL
996 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1002 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1008 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1014 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1020 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1026 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1032 mDeathRecipients.get(service).linkToDeath( in getRadioServiceProxy()
1172 mDeathRecipients.put(service, new BinderServiceDeathRecipient(service)); in RIL()