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

1 2

  /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 {
VmsSubscriberService.java 71 class ListenerDeathRecipient implements IBinder.DeathRecipient {
139 ListenerDeathRecipient deathRecipient =
142 subscriberBinder.linkToDeath(deathRecipient, 0);
147 mListenerDeathRecipientMap.put(subscriberBinder, deathRecipient);
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
PeriodicScanManager.java 74 public SyncDeathRecipient deathRecipient;
77 SyncInfo(Integer id, SyncDeathRecipient deathRecipient,
80 this.deathRecipient = deathRecipient;
89 class SyncDeathRecipient implements IBinder.DeathRecipient {
134 entry.setValue(new SyncInfo(syncHandle, entry.getValue().deathRecipient, callback));
137 binder.unlinkToDeath(entry.getValue().deathRecipient, 0);
182 SyncDeathRecipient deathRecipient = new SyncDeathRecipient(callback);
185 binder.linkToDeath(deathRecipient, 0);
194 mSyncs.put(binder, new SyncInfo(cbId, deathRecipient, callback))
    [all...]
AdvertiseManager.java 96 public AdvertisingSetDeathRecipient deathRecipient;
99 AdvertiserInfo(Integer id, AdvertisingSetDeathRecipient deathRecipient,
102 this.deathRecipient = deathRecipient;
111 class AdvertisingSetDeathRecipient implements IBinder.DeathRecipient {
158 new AdvertiserInfo(advertiserId, entry.getValue().deathRecipient, callback));
161 binder.unlinkToDeath(entry.getValue().deathRecipient, 0);
189 AdvertisingSetDeathRecipient deathRecipient = new AdvertisingSetDeathRecipient(callback);
192 binder.linkToDeath(deathRecipient, 0);
203 mAdvertisers.put(binder, new AdvertiserInfo(cbId, deathRecipient, callback))
    [all...]
ContextMap.java 83 private IBinder.DeathRecipient mDeathRecipient;
111 void linkToDeath(IBinder.DeathRecipient deathRecipient) {
118 binder.linkToDeath(deathRecipient, 0);
119 mDeathRecipient = deathRecipient;
121 Log.e(TAG, "Unable to link deathRecipient for app id " + id);
134 Log.e(TAG, "Unable to unlink deathRecipient for app id " + id);
  /frameworks/base/telephony/java/android/telephony/mbms/vendor/
MbmsDownloadServiceBase.java 54 private final Map<IBinder, DeathRecipient> mDownloadCallbackDeathRecipients = new HashMap<>();
163 callback.asBinder().linkToDeath(new DeathRecipient() {
279 DeathRecipient deathRecipient = new DeathRecipient() {
287 mDownloadCallbackDeathRecipients.put(listener.asBinder(), deathRecipient);
288 listener.asBinder().linkToDeath(deathRecipient, 0);
330 DeathRecipient deathRecipient =
332 if (deathRecipient == null)
    [all...]
  /frameworks/support/browser/src/main/java/androidx/browser/customtabs/
CustomTabsService.java 24 import android.os.IBinder.DeathRecipient;
101 private final Map<IBinder, DeathRecipient> mDeathRecipientMap = new ArrayMap<>();
114 DeathRecipient deathRecipient = new IBinder.DeathRecipient() {
121 callback.asBinder().linkToDeath(deathRecipient, 0);
122 mDeathRecipientMap.put(callback.asBinder(), deathRecipient);
176 * Can also be used to clean up {@link DeathRecipient} instances allocated for the given token.
178 * @param sessionToken The session token for which the {@link DeathRecipient} call has been
187 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/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...]
  /packages/services/Car/service/src/com/android/car/cluster/
InstrumentClusterService.java 41 import android.os.IBinder.DeathRecipient;
379 ManagerCallbackDeathRecipient deathRecipient = new ManagerCallbackDeathRecipient(binder);
385 mManagerCallbacks.put(binder, new ManagerCallbackInfo(callback, deathRecipient));
393 binder.linkToDeath(deathRecipient, 0);
415 binder.unlinkToDeath(info.deathRecipient, 0);
436 private class ManagerCallbackDeathRecipient implements DeathRecipient {
528 final ManagerCallbackDeathRecipient deathRecipient;
531 ManagerCallbackDeathRecipient deathRecipient) {
533 this.deathRecipient = deathRecipient;
    [all...]
  /system/security/keystore/
operation.cpp 24 OperationMap::OperationMap(IBinder::DeathRecipient* deathRecipient)
25 : mDeathRecipient(deathRecipient) {}
confirmation_manager.h 45 explicit ConfirmationManager(android::IBinder::DeathRecipient* deathRecipient);
97 android::IBinder::DeathRecipient* mDeathRecipient;
operation.h 49 explicit OperationMap(IBinder::DeathRecipient* deathRecipient);
70 IBinder::DeathRecipient* mDeathRecipient;
confirmation_manager.cpp 50 ConfirmationManager::ConfirmationManager(IBinder::DeathRecipient* deathRecipient)
51 : IConfirmationResultCallback(), mDeathRecipient(deathRecipient) {}
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiLockManagerTest.java 77 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient =
78 ArgumentCaptor.forClass(IBinder.DeathRecipient.class);
84 inOrder.verify(binder).linkToDeath(deathRecipient.capture(), eq(0));
89 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient =
90 ArgumentCaptor.forClass(IBinder.DeathRecipient.class);
94 inOrder.verify(binder).unlinkToDeath(deathRecipient.capture(), eq(0));
  /frameworks/base/core/jni/
android_os_HwRemoteBinder.cpp 70 class HwBinderDeathRecipient : public hardware::IBinder::DeathRecipient
100 // to allow the DeathRecipient and BinderProxy to be GC'd if no longer needed.
166 jweak mObjectWeak; // will be a weak ref to the same VM-side DeathRecipient after binderDied()
178 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) {
179 deathRecipient->warnIfStillLive();
204 for (const sp<HwBinderDeathRecipient>& deathRecipient : mList) {
205 if (deathRecipient->matches(recipient)) {
206 return deathRecipient;
225 "(Landroid/os/IHwBinder$DeathRecipient;J)V");
398 wp<hardware::IBinder::DeathRecipient> dr
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
WifiAwareServiceImplTest.java 303 ArgumentCaptor<IBinder.DeathRecipient> deathRecipient = ArgumentCaptor
304 .forClass(IBinder.DeathRecipient.class);
308 verify(mBinderMock).linkToDeath(deathRecipient.capture(), eq(0));
309 deathRecipient.getValue().binderDied();
627 IBinder.DeathRecipient dr = getInternalStateDeathRecipient(clientId);
702 private IBinder.DeathRecipient getInternalStateDeathRecipient(int clientId) throws Exception {
706 SparseArray<IBinder.DeathRecipient> deathRecipientsByClientId =
707 (SparseArray<IBinder.DeathRecipient>) field.get(mDut);
  /frameworks/base/services/core/java/com/android/server/am/
ProcessRecord.java 156 IBinder.DeathRecipient deathRecipient; // Who is watching for the death.
602 if (deathRecipient != null && thread != null) {
603 thread.asBinder().unlinkToDeath(deathRecipient, 0);
605 deathRecipient = null;
    [all...]
  /frameworks/base/services/companion/java/com/android/server/companion/
CompanionDeviceManagerService.java 100 public class CompanionDeviceManagerService extends SystemService implements Binder.DeathRecipient {
178 * Usage: {@code a = unlinkToDeath(a, deathRecipient, flags); }
183 IBinder.DeathRecipient deathRecipient, int flags) {
185 iinterface.asBinder().unlinkToDeath(deathRecipient, flags);
  /hardware/google/av/codec2/hidl/client/
client.cpp     [all...]
  /frameworks/base/services/core/java/com/android/server/
TelephonyRegistry.java 98 TelephonyRegistryDeathRecipient deathRecipient;
264 private class TelephonyRegistryDeathRecipient implements IBinder.DeathRecipient {
688 r.deathRecipient = new TelephonyRegistryDeathRecipient(binder);
691 binder.linkToDeath(r.deathRecipient, 0);
716 if (r.deathRecipient != null) {
718 binder.unlinkToDeath(r.deathRecipient, 0);
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
WindowState.java 245 final DeathRecipient mDeathRecipient;
712 DeathRecipient deathRecipient = new DeathRecipient();
    [all...]
WindowManagerService.java 569 final IBinder.DeathRecipient mDeathRecipient;
571 RotationWatcher(IRotationWatcher watcher, IBinder.DeathRecipient deathRecipient,
574 mDeathRecipient = deathRecipient;
    [all...]
  /prebuilts/misc/common/robolectric/android-all/
android-all-8.0.0_r4-robolectric-0.jar 

Completed in 370 milliseconds

1 2