/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderDeathDispatcherTest.java | 27 import android.os.IBinder.DeathRecipient; 47 public DeathRecipient mRecipient; 93 public void linkToDeath(DeathRecipient recipient, int flags) throws RemoteException { in linkToDeath() 106 public boolean unlinkToDeath(DeathRecipient recipient, int flags) { in unlinkToDeath() 141 DeathRecipient r1 = mock(DeathRecipient.class); in testRegisterAndUnregister() 142 DeathRecipient r2 = mock(DeathRecipient.class); in testRegisterAndUnregister() 143 DeathRecipient r3 = mock(DeathRecipient.class); in testRegisterAndUnregister() 144 DeathRecipient r4 = mock(DeathRecipient.class); in testRegisterAndUnregister() 145 DeathRecipient r5 = mock(DeathRecipient.class); in testRegisterAndUnregister() 204 DeathRecipient r1 = mock(DeathRecipient.class); in testRegisterAndKill() [all …]
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | CameraHybridInterface.h | 43 const sp<IBinder::DeathRecipient>& recipient, 47 const wp<IBinder::DeathRecipient>& recipient, 50 wp<IBinder::DeathRecipient>* outRecipient = nullptr); 55 wp<IBinder::DeathRecipient> recipient; 60 const wp<IBinder::DeathRecipient>& r, in Obituary() 79 sp<IBinder::DeathRecipient> dr = recipient.promote(); in serviceDied() 95 const sp<IBinder::DeathRecipient>& recipient, in linkToDeath() 115 const wp<IBinder::DeathRecipient>& recipient, in unlinkToDeath() 117 wp<IBinder::DeathRecipient>* outRecipient) { in unlinkToDeath()
|
/frameworks/av/media/libmediaplayerservice/ |
D | DeathNotifier.cpp | 25 class DeathNotifier::DeathRecipient : class in android::DeathNotifier 26 public IBinder::DeathRecipient, 31 DeathRecipient(Notify const& notify): mNotify{notify} { in DeathRecipient() function in android::DeathNotifier::DeathRecipient 48 mDeathRecipient{new DeathRecipient(notify)} { 54 mDeathRecipient{new DeathRecipient(notify)} {
|
D | DeathNotifier.h | 41 class DeathRecipient; variable 42 sp<DeathRecipient> mDeathRecipient;
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderDeathDispatcher.java | 22 import android.os.IBinder.DeathRecipient; 49 class RecipientsInfo implements DeathRecipient { 58 ArraySet<DeathRecipient> mRecipients = new ArraySet<>(); 66 final ArraySet<DeathRecipient> copy; in binderDied() 92 public int linkToDeath(@NonNull T target, @NonNull DeathRecipient recipient) { in linkToDeath() 112 public void unlinkToDeath(@NonNull T target, @NonNull DeathRecipient recipient) { in unlinkToDeath()
|
/frameworks/base/core/java/android/os/ |
D | IHwBinder.java | 49 public interface DeathRecipient { interface 65 public boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() 71 public boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath()
|
D | HwRemoteBinder.java | 47 public native boolean linkToDeath(DeathRecipient recipient, long cookie); in linkToDeath() 48 public native boolean unlinkToDeath(DeathRecipient recipient); in unlinkToDeath() 63 private static final void sendDeathNotice(DeathRecipient recipient, long cookie) { in sendDeathNotice()
|
D | IBinder.java | 273 public interface DeathRecipient { interface 293 public void linkToDeath(@NonNull DeathRecipient recipient, int flags) in linkToDeath() 314 public boolean unlinkToDeath(@NonNull DeathRecipient recipient, int flags); in unlinkToDeath()
|
/frameworks/native/libs/binder/include/binder/ |
D | IBinder.h | 103 class DeathRecipient : public virtual RefBase 136 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 151 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient, 154 wp<DeathRecipient>* outRecipient = nullptr) = 0;
|
D | BpBinder.h | 51 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 56 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient, 59 wp<DeathRecipient>* outRecipient = nullptr); 121 wp<DeathRecipient> recipient;
|
D | Binder.h | 44 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 49 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient, 52 wp<DeathRecipient>* outRecipient = nullptr);
|
D | ActivityManager.h | 82 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient); 83 status_t unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient);
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | MbmsDownloadServiceBase.java | 54 private final Map<IBinder, DeathRecipient> mDownloadCallbackDeathRecipients = new HashMap<>(); 163 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize() 279 DeathRecipient deathRecipient = new DeathRecipient() { in addStatusListener() 330 DeathRecipient deathRecipient = in removeStatusListener() 392 DeathRecipient deathRecipient = new DeathRecipient() { in addProgressListener() 443 DeathRecipient deathRecipient = in removeProgressListener()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorPrivacyService.java | 229 private final ArrayMap<ISensorPrivacyListener, DeathRecipient> mDeathRecipients; 248 DeathRecipient deathRecipient = new DeathRecipient(listener); in addListener() 256 DeathRecipient deathRecipient = mDeathRecipients.remove(listener); in removeListener() 278 private final class DeathRecipient implements IBinder.DeathRecipient { class in SensorPrivacyService 282 DeathRecipient(ISensorPrivacyListener listener) { in DeathRecipient() method in SensorPrivacyService.DeathRecipient
|
D | DynamicSystemService.java | 26 import android.os.IBinder.DeathRecipient; 42 public class DynamicSystemService extends IDynamicSystemService.Stub implements DeathRecipient { 54 private static IGsiService connect(DeathRecipient recipient) throws RemoteException { in connect()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | AnnouncementAggregator.java | 40 private final IBinder.DeathRecipient mDeathRecipient = new DeathRecipient(); 75 private class DeathRecipient implements IBinder.DeathRecipient { class in AnnouncementAggregator
|
D | BroadcastRadioService.java | 30 import android.os.IHwBinder.DeathRecipient; 97 private DeathRecipient mDeathRecipient = new DeathRecipient() {
|
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/ |
D | SensorPrivacyManager.h | 37 status_t linkToDeath(const sp<IBinder::DeathRecipient>& recipient); 38 status_t unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiTrafficPollerTest.java | 130 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in registersForBinderDeathOnAddClient() 140 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath() 143 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
|
/frameworks/base/core/java/android/database/ |
D | CursorToBulkCursorAdaptor.java | 35 implements IBinder.DeathRecipient { 58 public ContentObserverProxy(IContentObserver remoteObserver, DeathRecipient recipient) { in ContentObserverProxy() 68 public boolean unlinkToDeath(DeathRecipient recipient) { in unlinkToDeath()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 69 private final Map<IBinder, IBinder.DeathRecipient> mDeathEaters; 87 mDeathEaters = new ArrayMap<IBinder, IBinder.DeathRecipient>(); in MediaProjectionManagerService() 179 IBinder.DeathRecipient deathRecipient = new IBinder.DeathRecipient() { in addCallback() 199 IBinder.DeathRecipient deathRecipient) { in linkDeathRecipientLocked() 211 IBinder.DeathRecipient deathRecipient = mDeathEaters.remove(token); in unlinkDeathRecipientLocked() 405 private IBinder.DeathRecipient mDeathEater; 484 mDeathEater = new IBinder.DeathRecipient() { in start()
|
/frameworks/native/libs/sensorprivacy/ |
D | SensorPrivacyManager.cpp | 88 status_t SensorPrivacyManager::linkToDeath(const sp<IBinder::DeathRecipient>& recipient) in linkToDeath() 97 status_t SensorPrivacyManager::unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient) in unlinkToDeath()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | PinnedSliceStateTest.java | 27 import android.os.IBinder.DeathRecipient; 153 ArgumentCaptor<DeathRecipient> arg = ArgumentCaptor.forClass(DeathRecipient.class); in testListenerDeath()
|
/frameworks/native/libs/binder/ |
D | ActivityManager.cpp | 101 status_t ActivityManager::linkToDeath(const sp<IBinder::DeathRecipient>& recipient) { in linkToDeath() 109 status_t ActivityManager::unlinkToDeath(const sp<IBinder::DeathRecipient>& recipient) { in unlinkToDeath()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ExternalCallbackTrackerTest.java | 115 ArgumentCaptor<IBinder.DeathRecipient> deathCaptor = in testCallbackRemovalOnDeath() 116 ArgumentCaptor.forClass(IBinder.DeathRecipient.class); in testCallbackRemovalOnDeath()
|