/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | MbmsDownloadServiceBase.java | 163 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize() 306 mDownloadStatusListenerBinderMap.remove(listener.asBinder()); in addStatusListener() 307 mDownloadCallbackDeathRecipients.remove(listener.asBinder()); in addStatusListener() 310 mDownloadCallbackDeathRecipients.put(listener.asBinder(), deathRecipient); in addStatusListener() 311 listener.asBinder().linkToDeath(deathRecipient, 0); in addStatusListener() 312 mDownloadStatusListenerBinderMap.put(listener.asBinder(), exposedCallback); in addStatusListener() 354 mDownloadCallbackDeathRecipients.remove(listener.asBinder()); in removeStatusListener() 359 listener.asBinder().unlinkToDeath(deathRecipient, 0); in removeStatusListener() 362 mDownloadStatusListenerBinderMap.remove(listener.asBinder()); in removeStatusListener() 419 mDownloadProgressListenerBinderMap.remove(listener.asBinder()); in addProgressListener() [all …]
|
D | MbmsStreamingServiceBase.java | 110 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize() 229 callback.asBinder().linkToDeath(new DeathRecipient() { in startStreaming() 304 public android.os.IBinder asBinder() { in asBinder() method in MbmsStreamingServiceBase 305 return super.asBinder(); in asBinder()
|
/frameworks/base/core/java/android/os/ |
D | Messenger.java | 67 return mTarget.asBinder(); in getBinder() 79 return mTarget.asBinder().equals(((Messenger)otherObj) in equals() 80 .mTarget.asBinder()); in equals() 87 return mTarget.asBinder().hashCode(); in hashCode() 95 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel() 120 out.writeStrongBinder(messenger != null ? messenger.mTarget.asBinder() in writeMessengerOrNullToParcel()
|
D | RemoteCallbackList.java | 76 mCallbacks.remove(mCallback.asBinder()); in binderDied() 123 IBinder binder = callback.asBinder(); in register() 155 Callback cb = mCallbacks.remove(callback.asBinder()); in unregister() 157 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in unregister() 176 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in kill()
|
/frameworks/base/core/java/android/view/ |
D | WindowId.java | 135 if (observer.mRegistrations.containsKey(mToken.asBinder())) { in registerFocusObserver() 139 observer.mRegistrations.put(mToken.asBinder(), this); in registerFocusObserver() 152 if (observer.mRegistrations.remove(mToken.asBinder()) == null) { in unregisterFocusObserver() 170 return mToken.asBinder().equals(((WindowId) otherObj).mToken.asBinder()); in equals() 177 return mToken.asBinder().hashCode(); in hashCode() 186 sb.append(mToken.asBinder()); in toString() 196 out.writeStrongBinder(mToken.asBinder()); in writeToParcel()
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayerService.cpp | 68 data.writeStrongBinder(IInterface::asBinder(client)); in create() 103 data.writeStrongBinder(IInterface::asBinder(client)); in listenForRemoteDisplay() 131 reply->writeStrongBinder(IInterface::asBinder(player)); in onTransact() 138 reply->writeStrongBinder(IInterface::asBinder(recorder)); in onTransact() 144 reply->writeStrongBinder(IInterface::asBinder(retriever)); in onTransact() 169 reply->writeStrongBinder(IInterface::asBinder(display)); in onTransact() 175 reply->writeStrongBinder(IInterface::asBinder(mcl)); in onTransact()
|
/frameworks/base/core/java/android/speech/ |
D | RecognitionService.java | 100 if (DBG) Log.d(TAG, "created new mCurrentCallback, listener = " + listener.asBinder()); in dispatchStartListening() 102 listener.asBinder().linkToDeath(new IBinder.DeathRecipient() { in dispatchStartListening() 129 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchStopListening() 143 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchCancel() 353 if (DBG) Log.d(TAG, "startListening called by:" + listener.asBinder()); in startListening() 364 if (DBG) Log.d(TAG, "stopListening called by:" + listener.asBinder()); in stopListening() 374 if (DBG) Log.d(TAG, "cancel called by:" + listener.asBinder()); in cancel()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataServiceManager.java | 224 Message msg = mMessageMap.remove(asBinder()); in onSetupDataCallComplete() 237 Message msg = mMessageMap.remove(asBinder()); in onDeactivateDataCallComplete() 244 Message msg = mMessageMap.remove(asBinder()); in onSetInitialAttachApnComplete() 251 Message msg = mMessageMap.remove(asBinder()); in onSetDataProfileComplete() 259 Message msg = mMessageMap.remove(asBinder()); in onRequestDataCallListComplete() 336 if (mIDataService != null && mIDataService.asBinder().isBinderAlive()) { in unbindDataService() 561 mMessageMap.put(callback.asBinder(), onCompleteMessage); in setupDataCall() 570 mMessageMap.remove(callback.asBinder()); in setupDataCall() 599 mMessageMap.put(callback.asBinder(), onCompleteMessage); in deactivateDataCall() 607 mMessageMap.remove(callback.asBinder()); in deactivateDataCall() [all …]
|
/frameworks/base/media/apex/java/android/media/ |
D | Session2Link.java | 73 dest.writeStrongBinder(mISession.asBinder()); in writeToParcel() 78 return mISession.asBinder().hashCode(); in hashCode() 87 return Objects.equals(mISession.asBinder(), other.mISession.asBinder()); in equals() 94 mISession.asBinder().linkToDeath(recipient, flags); in linkToDeath() 106 return mISession.asBinder().unlinkToDeath(recipient, flags); in unlinkToDeath()
|
D | Controller2Link.java | 71 dest.writeStrongBinder(mIController.asBinder()); in writeToParcel() 76 return mIController.asBinder().hashCode(); in hashCode() 85 return Objects.equals(mIController.asBinder(), other.mIController.asBinder()); in equals()
|
/frameworks/base/core/java/android/content/ |
D | IntentSender.java | 289 return mTarget.asBinder().equals(((IntentSender)otherObj) in equals() 290 .mTarget.asBinder()); in equals() 297 return mTarget.asBinder().hashCode(); in hashCode() 306 sb.append(mTarget != null ? mTarget.asBinder() : null); in toString() 316 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel() 341 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() in writeIntentSenderOrNullToParcel()
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanManager.java | 116 if (mBinderCache.containsKey(ifaceService.asBinder())) { in getInterfaceNoCreate() 117 iface = mBinderCache.get(ifaceService.asBinder()).get(); in getInterfaceNoCreate() 131 if (mBinderCache.containsKey(ifaceService.asBinder())) { in getInterface() 132 iface = mBinderCache.get(ifaceService.asBinder()).get(); in getInterface() 144 mBinderCache.put(ifaceService.asBinder(), new WeakReference(iface)); in getInterface() 151 .asBinder() in getInterface()
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_interface_utils.h | 111 virtual SpAIBinder asBinder() = 0; 175 SpAIBinder asBinder() override; 200 SpAIBinder asBinder() override; 205 return AIBinder_dump(asBinder().get(), fd, args, numArgs); in dump() 283 SpAIBinder BnCInterface<INTERFACE>::asBinder() { in asBinder() function 299 SpAIBinder BpCInterface<INTERFACE>::asBinder() { in asBinder() function
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 485 mBinder.asBinder().linkToDeath(promise, 0); in addRngEntropy() 499 mBinder.asBinder().unlinkToDeath(promise, 0); in addRngEntropy() 558 mBinder.asBinder().linkToDeath(promise, 0); in generateKeyInternal() 566 mBinder.asBinder().unlinkToDeath(promise, 0); in generateKeyInternal() 612 mBinder.asBinder().linkToDeath(promise, 0); in getKeyCharacteristics() 634 mBinder.asBinder().unlinkToDeath(promise, 0); in getKeyCharacteristics() 647 mBinder.asBinder().linkToDeath(promise, 0); in importKeyInternal() 662 mBinder.asBinder().unlinkToDeath(promise, 0); in importKeyInternal() 754 mBinder.asBinder().linkToDeath(promise, 0); in importWrappedKeyInternal() 770 mBinder.asBinder().unlinkToDeath(promise, 0); in importWrappedKeyInternal() [all …]
|
/frameworks/native/libs/vr/libvr_manager/ |
D | vr_manager.cpp | 100 data.writeStrongBinder(IInterface::asBinder(cb)); in registerListener() 107 data.writeStrongBinder(IInterface::asBinder(cb)); in unregisterListener() 115 data.writeStrongBinder(IInterface::asBinder(cb)); in registerPersistentVrStateListener() 123 data.writeStrongBinder(IInterface::asBinder(cb)); in unregisterPersistentVrStateListener()
|
/frameworks/native/libs/sensorprivacy/ |
D | SensorPrivacyManager.cpp | 37 while (service == nullptr || !IInterface::asBinder(service)->isBinderAlive()) { in getService() 92 return IInterface::asBinder(service)->linkToDeath(recipient); in linkToDeath() 101 return IInterface::asBinder(service)->unlinkToDeath(recipient); in unlinkToDeath()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 167 mProjectionToken = projection.asBinder(); in startProjectionLocked() 201 final IBinder token = callback.asBinder(); in linkDeathRecipientLocked() 210 final IBinder token = callback.asBinder(); in unlinkDeathRecipientLocked() 312 projection.asBinder()); in isValidMediaProjection() 466 if (isValidMediaProjection(asBinder())) { in start() 483 mToken = callback.asBinder(); in start() 504 if (!isValidMediaProjection(asBinder())) { in stop() 583 mClientCallbacks.put(callback.asBinder(), callback); in add() 589 mWatcherCallbacks.put(callback.asBinder(), callback); in add() 595 mClientCallbacks.remove(callback.asBinder()); in remove() [all …]
|
/frameworks/av/soundtrigger/ |
D | ISoundTriggerClient.cpp | 47 data.writeStrongBinder(IInterface::asBinder(eventMemory)); in onRecognitionEvent() 57 data.writeStrongBinder(IInterface::asBinder(eventMemory)); in onSoundModelEvent() 66 data.writeStrongBinder(IInterface::asBinder(eventMemory)); in onServiceStateChange()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareImpl.java | 602 IBinder callbackBinder = callback.asBinder(); 609 if (mGeofences.valueAt(i).asBinder() == callbackBinder) { 622 reaper.mCallback.asBinder() == callbackBinder) { 773 IBinder b = callback.asBinder(); 786 IBinder b = monitorCallback.asBinder(); 873 result = 31 * result + (mCallback != null ? mCallback.asBinder().hashCode() : 0); in hashCode() 875 ? mMonitorCallback.asBinder().hashCode() : 0); in hashCode() 899 return right == null ? false : left.asBinder() == right.asBinder(); in binderEquals() 908 return mMonitorCallback.asBinder().unlinkToDeath(this, 0); in unlinkToDeath() 910 return mCallback.asBinder().unlinkToDeath(this, 0); in unlinkToDeath() [all …]
|
/frameworks/native/libs/binder/ndk/tests/ |
D | binderVendorDoubleLoadTest.cpp | 88 AIBinder_markVintfStability(ndkServer->asBinder().get()); in TEST() 104 EXPECT_EQ(STATUS_OK, AIBinder_ping(server->asBinder().get())); in TEST() 152 CHECK(STATUS_OK == AServiceManager_addService(ndkServer->asBinder().get(), in main() 166 AServiceManager_addService(ndkServer->asBinder().get(), kLocalNdkServerName.c_str()); in main()
|
/frameworks/native/libs/binder/ |
D | IInterface.cpp | 33 sp<IBinder> IInterface::asBinder(const IInterface* iface) in asBinder() function in android::IInterface 40 sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface) in asBinder() function in android::IInterface
|
D | ActivityManager.cpp | 37 while (service == nullptr || !IInterface::asBinder(service)->isBinderAlive()) { in getService() 104 return IInterface::asBinder(service)->linkToDeath(recipient); in linkToDeath() 112 return IInterface::asBinder(service)->unlinkToDeath(recipient); in unlinkToDeath()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | UiAutomationManager.java | 115 mUiAutomationService.mServiceInterface.asBinder().linkToDeath(mUiAutomationService, in registerUiTestAutomationServiceLocked() 132 || (serviceClient.asBinder() in unregisterUiTestAutomationServiceLocked() 133 != mUiAutomationService.mServiceInterface.asBinder())) { in unregisterUiTestAutomationServiceLocked() 203 mUiAutomationService.mServiceInterface.asBinder().unlinkToDeath( in destroyUiAutomationService() 240 mService = (serviceInterface == null) ? null : mServiceInterface.asBinder(); in connectServiceUnknownThread()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ConnectionServiceAdapter.java | 52 if (it.asBinder() == adapter.asBinder()) { in addAdapter() 59 adapter.asBinder().linkToDeath(this, 0); in addAdapter() 69 if (it.asBinder() == adapter.asBinder() && mAdapters.remove(it)) { in removeAdapter() 70 adapter.asBinder().unlinkToDeath(this, 0); in removeAdapter() 83 if (!adapter.asBinder().isBinderAlive()) { in binderDied() 85 adapter.asBinder().unlinkToDeath(this, 0); in binderDied()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CountryDetectorService.java | 65 mKey = listener.asBinder(); in Receiver() 144 removeListener(listener.asBinder()); in removeCountryListener() 151 listener.asBinder().linkToDeath(r, 0); in addListener() 152 mReceivers.put(listener.asBinder(), r); in addListener()
|