/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BinderDeathDispatcherTest.java | 142 DeathRecipient r1 = mock(DeathRecipient.class); in testRegisterAndUnregister() 143 DeathRecipient r2 = mock(DeathRecipient.class); in testRegisterAndUnregister() 144 DeathRecipient r3 = mock(DeathRecipient.class); in testRegisterAndUnregister() 145 DeathRecipient r4 = mock(DeathRecipient.class); in testRegisterAndUnregister() 146 DeathRecipient r5 = mock(DeathRecipient.class); in testRegisterAndUnregister() 205 DeathRecipient r1 = mock(DeathRecipient.class); in testRegisterAndKill() 206 DeathRecipient r2 = mock(DeathRecipient.class); in testRegisterAndKill() 207 DeathRecipient r3 = mock(DeathRecipient.class); in testRegisterAndKill() 208 DeathRecipient r4 = mock(DeathRecipient.class); in testRegisterAndKill() 209 DeathRecipient r5 = mock(DeathRecipient.class); in testRegisterAndKill() [all …]
|
/aosp14/system/core/libbinderwrapper/ |
H A D | real_binder_wrapper.cc | 30 class RealBinderWrapper::DeathRecipient : public IBinder::DeathRecipient { class in android::RealBinderWrapper 32 explicit DeathRecipient(const ::base::Closure& callback) in DeathRecipient() function in android::RealBinderWrapper::DeathRecipient 34 ~DeathRecipient() = default; 45 DISALLOW_COPY_AND_ASSIGN(DeathRecipient); 89 sp<DeathRecipient> recipient(new DeathRecipient(callback)); in RegisterForDeathNotifications()
|
H A D | real_binder_wrapper.h | 47 class DeathRecipient; 51 std::map<sp<IBinder>, sp<DeathRecipient>> death_recipients_;
|
/aosp14/frameworks/base/core/java/com/android/internal/os/ |
H A D | BinderDeathDispatcher.java | 22 import android.os.IBinder.DeathRecipient; 48 class RecipientsInfo implements DeathRecipient { 57 ArraySet<DeathRecipient> mRecipients = new ArraySet<>(); 69 final ArraySet<DeathRecipient> copy; in binderDied() 95 public int linkToDeath(@NonNull T target, @NonNull DeathRecipient recipient) { in linkToDeath() 115 public void unlinkToDeath(@NonNull T target, @NonNull DeathRecipient recipient) { in unlinkToDeath()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | IHwBinder.java | 47 public interface DeathRecipient { interface 63 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() 69 public boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath()
|
H A D | HwRemoteBinder.java | 48 public native boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() 49 public native boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath() 64 private static final void sendDeathNotice(DeathRecipient recipient, long cookie) { in sendDeathNotice()
|
H A D | IBinder.java | 310 public interface DeathRecipient { interface 342 public void linkToDeath(@NonNull DeathRecipient recipient, int flags) in linkToDeath() 363 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags); in unlinkToDeath()
|
/aosp14/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
H A D | MbmsDownloadServiceBase.java | 52 private final Map<IBinder, DeathRecipient> mDownloadCallbackDeathRecipients = new HashMap<>(); 161 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize() 300 DeathRecipient deathRecipient = new DeathRecipient() { in addStatusListener() 351 DeathRecipient deathRecipient = in removeStatusListener() 413 DeathRecipient deathRecipient = new DeathRecipient() { in addProgressListener() 464 DeathRecipient deathRecipient = in removeProgressListener()
|
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
H A D | AnnouncementAggregator.java | 40 private final IBinder.DeathRecipient mDeathRecipient = new DeathRecipient(); 76 private class DeathRecipient implements IBinder.DeathRecipient { class in AnnouncementAggregator
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | BinderDeathRecipientTest.java | 65 private Set<Pair<IBinder, IBinder.DeathRecipient>> mLinkedDeathRecipients = new ArraySet<>(); 99 final IBinder.DeathRecipient simpleDeathRecipient = in binderDied_noArgs() 116 final IBinder.DeathRecipient sameDeathRecipient = new IBinder.DeathRecipient() { in binderDied_iBinderArg() 158 for (Pair<IBinder, IBinder.DeathRecipient> linkedPair : mLinkedDeathRecipients) { in tearDown()
|
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
H A D | AnnouncementAggregator.java | 47 private final IBinder.DeathRecipient mDeathRecipient = new DeathRecipient(); 107 private class DeathRecipient implements IBinder.DeathRecipient { class in AnnouncementAggregator
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowContextListenerController.java | 203 private DeathRecipient mDeathRecipient; 218 final DeathRecipient deathRecipient = new DeathRecipient(); in WindowContextListenerImpl() 353 private class DeathRecipient implements IBinder.DeathRecipient { class in WindowContextListenerController.WindowContextListenerImpl
|
H A D | TaskFpsCallbackController.java | 30 private final HashMap<IBinder, IBinder.DeathRecipient> mDeathRecipients; 51 final IBinder.DeathRecipient deathRecipient = () -> unregisterListener(callback); in registerListener()
|
H A D | DisplayAreaOrganizerController.java | 56 private class DeathRecipient implements IBinder.DeathRecipient { class in DisplayAreaOrganizerController 60 DeathRecipient(IDisplayAreaOrganizer organizer, int feature) { in DeathRecipient() method in DisplayAreaOrganizerController.DeathRecipient 84 private final DeathRecipient mDeathRecipient; 88 mDeathRecipient = new DeathRecipient(organizer, feature); in DisplayAreaOrganizerState()
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/listeners/ |
H A D | BinderListenerRegistration.java | 20 import android.os.IBinder.DeathRecipient; 35 RemovableListenerRegistration<TKey, TListener> implements DeathRecipient {
|
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
H A D | SoundTriggerHalConcurrentCaptureHandler.java | 116 @NonNull private final Map<IBinder.DeathRecipient, IBinder.DeathRecipient> 222 public void linkToDeath(IBinder.DeathRecipient recipient) { in linkToDeath() 223 IBinder.DeathRecipient wrapper = () -> mCallbackThread.push(recipient::binderDied); in linkToDeath() 229 public void unlinkToDeath(IBinder.DeathRecipient recipient) { in unlinkToDeath()
|
H A D | ISoundTriggerHal.java | 128 void linkToDeath(IBinder.DeathRecipient recipient); in linkToDeath() 133 void unlinkToDeath(IBinder.DeathRecipient recipient); in unlinkToDeath()
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/hal/gadget/ |
H A D | UsbGadgetHidl.java | 81 final class DeathRecipient implements IHwBinder.DeathRecipient { class in UsbGadgetHidl 84 DeathRecipient(IndentingPrintWriter pw) { in DeathRecipient() method in UsbGadgetHidl.DeathRecipient 115 mGadgetProxy.linkToDeath(new DeathRecipient(pw), USB_GADGET_HAL_DEATH_COOKIE); in connectToProxy()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | SingleInstanceRemoteListener.java | 54 private final IBinder.DeathRecipient mListenerDeathRecipient = 55 new IBinder.DeathRecipient() {
|
/aosp14/frameworks/base/core/java/android/database/ |
H A D | CursorToBulkCursorAdaptor.java | 42 implements IBinder.DeathRecipient { 65 public ContentObserverProxy(IContentObserver remoteObserver, DeathRecipient recipient) { in ContentObserverProxy() 75 public boolean unlinkToDeath(DeathRecipient recipient) { in unlinkToDeath()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | MockWindowMagnificationConnection.java | 55 private IBinder.DeathRecipient mDeathRecipient; 86 any(IBinder.DeathRecipient.class), eq(0)); in MockWindowMagnificationConnection() 165 IBinder.DeathRecipient getDeathRecipient() { in getDeathRecipient()
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
H A D | AnnouncementAggregatorTest.java | 55 private IBinder.DeathRecipient mDeathRecipient; 67 ArgumentCaptor<IBinder.DeathRecipient> deathRecipientCaptor = in setUp() 68 ArgumentCaptor.forClass(IBinder.DeathRecipient.class); in setUp()
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
H A D | AnnouncementAggregatorHidlTest.java | 56 private IBinder.DeathRecipient mDeathRecipient; 68 ArgumentCaptor<IBinder.DeathRecipient> deathRecipientCaptor = in setUp() 69 ArgumentCaptor.forClass(IBinder.DeathRecipient.class); in setUp()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | WindowMagnificationConnectionWrapper.java | 22 import static android.os.IBinder.DeathRecipient; 53 void unlinkToDeath(@NonNull DeathRecipient deathRecipient) { in unlinkToDeath() 57 void linkToDeath(@NonNull DeathRecipient deathRecipient) throws RemoteException { in linkToDeath()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
H A D | PinnedSliceStateTest.java | 30 import android.os.IBinder.DeathRecipient; 156 ArgumentCaptor<DeathRecipient> arg = ArgumentCaptor.forClass(DeathRecipient.class); in testListenerDeath()
|