Home
last modified time | relevance | path

Searched refs:mDeathRecipient (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/media/libmediaplayerservice/
DDeathNotifier.cpp48 mDeathRecipient{new DeathRecipient(notify)} {
49 service->linkToDeath(mDeathRecipient);
54 mDeathRecipient{new DeathRecipient(notify)} {
55 service->linkToDeath(mDeathRecipient, 0);
59 : mService{other.mService}, mDeathRecipient{other.mDeathRecipient} { in DeathNotifier()
61 other.mDeathRecipient = nullptr;
69 std::get<1>(mService)->unlinkToDeath(mDeathRecipient); in ~DeathNotifier()
72 std::get<2>(mService)->unlinkToDeath(mDeathRecipient); in ~DeathNotifier()
DDeathNotifier.h42 sp<DeathRecipient> mDeathRecipient; variable
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java45 private final IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() { field in SchedulingPolicyService
68 synchronized (mDeathRecipient) { in SchedulingPolicyService()
131 synchronized (mDeathRecipient) { in requestCpusetBoost()
151 mClient.unlinkToDeath(mDeathRecipient, 0); in enableCpusetBoost()
159 client.linkToDeath(mDeathRecipient, 0); in enableCpusetBoost()
172 client.unlinkToDeath(mDeathRecipient, 0); in enableCpusetBoost()
186 mClient.unlinkToDeath(mDeathRecipient, 0); in disableCpusetBoost()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DAWakeLock.cpp35 mDeathRecipient(new PMDeathRecipient(this)) {} in AWakeLock()
40 binder->unlinkToDeath(mDeathRecipient); in ~AWakeLock()
56 binder->linkToDeath(mDeathRecipient); in acquire()
DAWakeLock.h59 const sp<PMDeathRecipient> mDeathRecipient; variable
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DAnnouncementAggregator.java40 private final IBinder.DeathRecipient mDeathRecipient = new DeathRecipient(); field in AnnouncementAggregator
51 listener.asBinder().linkToDeath(mDeathRecipient, 0); in AnnouncementAggregator()
124 mListener.asBinder().unlinkToDeath(mDeathRecipient, 0); in close()
DBroadcastRadioService.java88 module.getService().linkToDeath(mDeathRecipient, moduleId);
97 private DeathRecipient mDeathRecipient = new DeathRecipient() { field in BroadcastRadioService
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkRegistrationManager.java67 private RegManagerDeathRecipient mDeathRecipient; field in NetworkRegistrationManager
189 mDeathRecipient = new RegManagerDeathRecipient(name); in onServiceConnected()
191 service.linkToDeath(mDeathRecipient, 0); in onServiceConnected()
197 mDeathRecipient.binderDied(); in onServiceConnected()
209 mINetworkService.asBinder().unlinkToDeath(mDeathRecipient, 0); in onServiceDisconnected()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java47 @NonNull private final IBinder.DeathRecipient mDeathRecipient; field in Tuner
61 mDeathRecipient = this::close; in Tuner()
63 mClientCallback.asBinder().linkToDeath(mDeathRecipient, 0); in Tuner()
105 mClientCallback.asBinder().unlinkToDeath(mDeathRecipient, 0); in close()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DAccessNetworksManager.java81 private AccessNetworksManagerDeathRecipient mDeathRecipient; field in AccessNetworksManager
149 mDeathRecipient = new AccessNetworksManagerDeathRecipient(); in onServiceConnected()
152 service.linkToDeath(mDeathRecipient, 0 /* flags */); in onServiceConnected()
156 mDeathRecipient.binderDied(); in onServiceConnected()
163 mIQualifiedNetworksService.asBinder().unlinkToDeath(mDeathRecipient, 0); in onServiceDisconnected()
DDataServiceManager.java85 private DataServiceManagerDeathRecipient mDeathRecipient; field in DataServiceManager
167 mDeathRecipient = new DataServiceManagerDeathRecipient(); in onServiceConnected()
171 service.linkToDeath(mDeathRecipient, 0); in onServiceConnected()
176 mDeathRecipient.binderDied(); in onServiceConnected()
186 mIDataService.asBinder().unlinkToDeath(mDeathRecipient, 0); in onServiceDisconnected()
/frameworks/native/services/surfaceflinger/
DTransactionCompletedThread.cpp61 IInterface::asBinder(listener)->unlinkToDeath(mDeathRecipient); in ~TransactionCompletedThread()
71 mDeathRecipient = new ThreadDeathRecipient(); in run()
87 status_t err = IInterface::asBinder(listener)->linkToDeath(mDeathRecipient); in addCallback()
268 IInterface::asBinder(listener)->unlinkToDeath(mDeathRecipient); in threadMain()
DClientCache.cpp30 ClientCache::ClientCache() : mDeathRecipient(new CacheDeathRecipient) {} in ClientCache()
83 status_t err = token->linkToDeath(mDeathRecipient); in add()
DClientCache.h72 sp<CacheDeathRecipient> mDeathRecipient; variable
DTransactionCompletedThread.h107 sp<ThreadDeathRecipient> mDeathRecipient; variable
/frameworks/base/services/core/java/com/android/server/slice/
DPinnedSliceState.java57 private final DeathRecipient mDeathRecipient = this::handleRecheckListeners; field in PinnedSliceState
127 token.linkToDeath(mDeathRecipient, 0); in pin()
137 token.unlinkToDeath(mDeathRecipient, 0); in unpin()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.h62 android::sp<SensorDeathRecipient> mDeathRecipient = nullptr; member
DASensorManager.cpp72 mDeathRecipient = new SensorDeathRecipient(); in ASensorManager()
73 Return<bool> linked = mManager->linkToDeath(mDeathRecipient, /*cookie*/ 0); in ASensorManager()
/frameworks/base/telephony/java/android/telephony/
DMbmsGroupCallSession.java73 private IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() { field in MbmsGroupCallSession
285 groupCallService.asBinder().linkToDeath(mDeathRecipient, 0); in bindAndInitialize()
DMbmsStreamingSession.java76 private IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() { field in MbmsStreamingSession
326 streamingService.asBinder().linkToDeath(mDeathRecipient, 0); in bindAndInitialize()
/frameworks/native/services/inputflinger/
DInputClassifier.cpp145 mDeathRecipient(deathRecipient), mEvents(MAX_EVENTS) { in MotionClassifier()
168 sp<android::hardware::hidl_death_recipient> recipient = mDeathRecipient.promote(); in init()
223 std::thread([deathRecipient = mDeathRecipient](){ in callInputClassifierHal()
DInputClassifier.h152 wp<android::hardware::hidl_death_recipient> mDeathRecipient; variable
/frameworks/base/media/apex/java/android/media/
DMediaController2.java65 private final IBinder.DeathRecipient mDeathRecipient = () -> close(); field in MediaController2
152 mSessionBinder.unlinkToDeath(mDeathRecipient, 0); in close()
288 sessionBinder.linkToDeath(mDeathRecipient, 0); in onConnected()
/frameworks/base/telecomm/java/android/telecom/
DVideoCallImpl.java53 private IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() { field in VideoCallImpl
209 mVideoProvider.asBinder().linkToDeath(mDeathRecipient, 0); in VideoCallImpl()
DRemoteConnectionService.java485 private final DeathRecipient mDeathRecipient = new DeathRecipient() { field in RemoteConnectionService
497 mOutgoingConnectionServiceRpc.asBinder().unlinkToDeath(mDeathRecipient, 0);
511 mOutgoingConnectionServiceRpc.asBinder().linkToDeath(mDeathRecipient, 0); in RemoteConnectionService()

12