HomeSort by relevance Sort by last modified time
    Searched refs:deathRecipient (Results 1 - 23 of 23) sorted by null

  /packages/services/Car/service/src/com/android/car/
CarTestService.java 78 TokenDeathRecipient deathRecipient = new TokenDeathRecipient(token);
79 mTokens.put(token, deathRecipient);
80 token.linkToDeath(deathRecipient, 0);
97 DeathRecipient deathRecipient = mTokens.remove(token);
98 if (deathRecipient != null) {
99 token.unlinkToDeath(deathRecipient, 0);
107 private class TokenDeathRecipient implements DeathRecipient {
CarRadioService.java 53 class RadioDeathRecipient implements IBinder.DeathRecipient {
86 RadioDeathRecipient deathRecipient = mDeathRecipientMap.get(listenerBinder);
87 deathRecipient.release();
118 RadioDeathRecipient deathRecipient = new RadioDeathRecipient(listenerBinder);
120 listenerBinder.linkToDeath(deathRecipient, 0);
125 mDeathRecipientMap.put(listenerBinder, deathRecipient);
CarPropertyServiceBase.java 65 class PropertyDeathRecipient implements IBinder.DeathRecipient {
125 PropertyDeathRecipient deathRecipient = new PropertyDeathRecipient(listenerBinder);
127 listenerBinder.linkToDeath(deathRecipient, 0);
132 mDeathRecipientMap.put(listenerBinder, deathRecipient);
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
PeriodicScanManager.java 75 public SyncDeathRecipient deathRecipient;
78 SyncInfo(Integer id, SyncDeathRecipient deathRecipient,
81 this.deathRecipient = deathRecipient;
90 class SyncDeathRecipient implements IBinder.DeathRecipient {
132 entry.setValue(new SyncInfo(sync_handle, entry.getValue().deathRecipient, callback));
135 binder.unlinkToDeath(entry.getValue().deathRecipient, 0);
175 SyncDeathRecipient deathRecipient = new SyncDeathRecipient(callback);
178 binder.linkToDeath(deathRecipient, 0);
187 mSyncs.put(binder, new SyncInfo(cb_id, deathRecipient, callback))
    [all...]
AdvertiseManager.java 97 public AdvertisingSetDeathRecipient deathRecipient;
100 AdvertiserInfo(Integer id, AdvertisingSetDeathRecipient deathRecipient,
103 this.deathRecipient = deathRecipient;
112 class AdvertisingSetDeathRecipient implements IBinder.DeathRecipient {
156 new AdvertiserInfo(advertiser_id, entry.getValue().deathRecipient, callback));
159 binder.unlinkToDeath(entry.getValue().deathRecipient, 0);
187 AdvertisingSetDeathRecipient deathRecipient = new AdvertisingSetDeathRecipient(callback);
190 binder.linkToDeath(deathRecipient, 0);
201 mAdvertisers.put(binder, new AdvertiserInfo(cb_id, deathRecipient, callback))
    [all...]
ContextMap.java 20 import android.os.IBinder.DeathRecipient;
84 private IBinder.DeathRecipient mDeathRecipient;
112 void linkToDeath(IBinder.DeathRecipient deathRecipient) {
117 binder.linkToDeath(deathRecipient, 0);
118 mDeathRecipient = deathRecipient;
120 Log.e(TAG, "Unable to link deathRecipient for app id " + id);
133 Log.e(TAG, "Unable to unlink deathRecipient for app id " + id);
  /frameworks/support/customtabs/src/android/support/customtabs/
CustomTabsService.java 24 import android.os.IBinder.DeathRecipient;
81 private final Map<IBinder, DeathRecipient> mDeathRecipientMap = new ArrayMap<>();
94 DeathRecipient deathRecipient = new IBinder.DeathRecipient() {
101 callback.asBinder().linkToDeath(deathRecipient, 0);
102 mDeathRecipientMap.put(callback.asBinder(), deathRecipient);
149 * Can also be used to clean up {@link DeathRecipient} instances allocated for the given token.
151 * @param sessionToken The session token for which the {@link DeathRecipient} call has been
160 DeathRecipient deathRecipient
    [all...]
  /device/linaro/hikey/bluetooth/
bluetooth_hci.cc 36 : deathRecipient(new BluetoothDeathRecipient(this)) {}
50 event_cb_->linkToDeath(deathRecipient, 0);
95 event_cb_->unlinkToDeath(deathRecipient);
bluetooth_hci.h 66 ::android::sp<BluetoothDeathRecipient> deathRecipient;
  /frameworks/base/telephony/java/android/telephony/mbms/vendor/
MbmsDownloadServiceBase.java 47 private final Map<IBinder, DeathRecipient> mDownloadCallbackDeathRecipients = new HashMap<>();
117 callback.asBinder().linkToDeath(new DeathRecipient() {
243 DeathRecipient deathRecipient = new DeathRecipient() {
251 mDownloadCallbackDeathRecipients.put(callback.asBinder(), deathRecipient);
252 callback.asBinder().linkToDeath(deathRecipient, 0);
295 DeathRecipient deathRecipient =
297 if (deathRecipient == null)
    [all...]
  /packages/services/Car/service/src/com/android/car/cluster/
InstrumentClusterService.java 40 import android.os.IBinder.DeathRecipient;
367 ManagerCallbackDeathRecipient deathRecipient = new ManagerCallbackDeathRecipient(binder);
373 mManagerCallbacks.put(binder, new ManagerCallbackInfo(callback, deathRecipient));
381 binder.linkToDeath(deathRecipient, 0);
403 binder.unlinkToDeath(info.deathRecipient, 0);
424 private class ManagerCallbackDeathRecipient implements DeathRecipient {
515 final ManagerCallbackDeathRecipient deathRecipient;
518 ManagerCallbackDeathRecipient deathRecipient) {
520 this.deathRecipient = deathRecipient;
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiLockManagerTest.java 71 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient =
72 ArgumentCaptor.forClass(IBinder.DeathRecipient.class);
78 inOrder.verify(binder).linkToDeath(deathRecipient.capture(), eq(0));
83 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient =
84 ArgumentCaptor.forClass(IBinder.DeathRecipient.class);
88 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0));
  /frameworks/base/services/core/java/com/android/server/media/projection/
MediaProjectionManagerService.java 62 private final Map<IBinder, IBinder.DeathRecipient> mDeathEaters;
78 mDeathEaters = new ArrayMap<IBinder, IBinder.DeathRecipient>();
128 IBinder.DeathRecipient deathRecipient = new IBinder.DeathRecipient() {
136 linkDeathRecipientLocked(callback, deathRecipient);
148 IBinder.DeathRecipient deathRecipient) {
151 token.linkToDeath(deathRecipient, 0);
152 mDeathEaters.put(token, deathRecipient);
    [all...]
  /frameworks/base/core/jni/
android_os_HwRemoteBinder.cpp 66 class HwBinderDeathRecipient : public hardware::IBinder::DeathRecipient
96 // to allow the DeathRecipient and BinderProxy to be GC'd if no longer needed.
162 jweak mObjectWeak; // will be a weak ref to the same VM-side DeathRecipient after binderDied()
174 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) {
175 deathRecipient->warnIfStillLive();
200 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) {
201 if (deathRecipient->matches(recipient)) {
202 return deathRecipient;
221 "(Landroid/os/IHwBinder$DeathRecipient;J)V");
394 wp<hardware::IBinder::DeathRecipient> dr
    [all...]
  /system/security/keystore/
operation.h 44 explicit OperationMap(IBinder::DeathRecipient* deathRecipient);
85 android::IBinder::DeathRecipient* mDeathRecipient;
operation.cpp 25 OperationMap::OperationMap(IBinder::DeathRecipient* deathRecipient)
26 : mDeathRecipient(deathRecipient) {}
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
WifiAwareServiceImplTest.java 241 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = ArgumentCaptor
242 .forClass(IBinder.DeathRecipient.class);
246 verify(mBinderMock).linkToDeath(deathRecipient.capture(), eq(0));
247 deathRecipient.getValue().binderDied();
582 IBinder.DeathRecipient dr = getInternalStateDeathRecipient(clientId);
661 private IBinder.DeathRecipient getInternalStateDeathRecipient(int clientId) throws Exception {
665 SparseArray<IBinder.DeathRecipient> deathRecipientsByClientId =
666 (SparseArray<IBinder.DeathRecipient>) field.get(mDut);
  /frameworks/base/services/core/java/com/android/server/am/
ProcessRecord.java 142 IBinder.DeathRecipient deathRecipient; // Who is watching for the death.
536 if (deathRecipient != null && thread != null) {
537 thread.asBinder().unlinkToDeath(deathRecipient, 0);
539 deathRecipient = null;
    [all...]
ActivityManagerService.java     [all...]
  /frameworks/base/services/companion/java/com/android/server/companion/
CompanionDeviceManagerService.java 98 public class CompanionDeviceManagerService extends SystemService implements Binder.DeathRecipient {
176 * Usage: {@code a = unlinkToDeath(a, deathRecipient, flags); }
181 IBinder.DeathRecipient deathRecipient, int flags) {
183 iinterface.asBinder().unlinkToDeath(deathRecipient, flags);
  /prebuilts/sdk/current/support/customtabs/
android-support-customtabs.jar 
  /frameworks/base/services/core/java/com/android/server/wm/
WindowState.java 188 final DeathRecipient mDeathRecipient;
622 DeathRecipient deathRecipient = new DeathRecipient();
629 c.asBinder().linkToDeath(deathRecipient, 0);
643 mDeathRecipient = deathRecipient;
    [all...]
WindowManagerService.java 562 final IBinder.DeathRecipient mDeathRecipient;
564 RotationWatcher(IRotationWatcher watcher, IBinder.DeathRecipient deathRecipient,
567 mDeathRecipient = deathRecipient;
    [all...]

Completed in 932 milliseconds