/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | MbmsDownloadServiceBase.java | 161 callback.asBinder().linkToDeath(new DeathRecipient() { in initialize() 304 mDownloadStatusListenerBinderMap.remove(listener.asBinder()); in addStatusListener() 305 mDownloadCallbackDeathRecipients.remove(listener.asBinder()); in addStatusListener() 308 mDownloadCallbackDeathRecipients.put(listener.asBinder(), deathRecipient); in addStatusListener() 309 listener.asBinder().linkToDeath(deathRecipient, 0); in addStatusListener() 310 mDownloadStatusListenerBinderMap.put(listener.asBinder(), exposedCallback); in addStatusListener() 352 mDownloadCallbackDeathRecipients.remove(listener.asBinder()); in removeStatusListener() 357 listener.asBinder().unlinkToDeath(deathRecipient, 0); in removeStatusListener() 360 mDownloadStatusListenerBinderMap.remove(listener.asBinder()); in removeStatusListener() 417 mDownloadProgressListenerBinderMap.remove(listener.asBinder()); in addProgressListener() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | WindowInfosListenerInvoker.cpp | 46 sp<IBinder> asBinder = IInterface::asBinder(listener); in addWindowInfosListener() local 47 asBinder->linkToDeath(this); in addWindowInfosListener() 50 mWindowInfosListeners.try_emplace(asBinder, std::move(listener)); in addWindowInfosListener() 55 sp<IBinder> asBinder = IInterface::asBinder(listener); in removeWindowInfosListener() local 58 asBinder->unlinkToDeath(this); in removeWindowInfosListener() 59 mWindowInfosListeners.erase(asBinder); in removeWindowInfosListener()
|
D | HdrLayerInfoReporter.cpp | 53 sp<IBinder> asBinder = IInterface::asBinder(listener); in addListener() local 54 asBinder->linkToDeath(this); in addListener() 56 mListeners.emplace(wp<IBinder>(asBinder), TrackedListener{listener, HdrLayerInfo{}}); in addListener() 61 mListeners.erase(wp<IBinder>(IInterface::asBinder(listener))); in removeListener()
|
D | TunnelModeEnabledReporter.cpp | 61 sp<IBinder> asBinder = IInterface::asBinder(listener); in addListener() local 62 asBinder->linkToDeath(this); in addListener() 66 mListeners.emplace(wp<IBinder>(asBinder), listener); in addListener() 75 mListeners.erase(wp<IBinder>(IInterface::asBinder(listener))); in removeListener()
|
D | FpsReporter.cpp | 92 sp<IBinder> asBinder = IInterface::asBinder(listener); in addListener() local 93 asBinder->linkToDeath(this); in addListener() 95 mListeners.emplace(wp<IBinder>(asBinder), TrackedListener{listener, taskId}); in addListener() 100 mListeners.erase(wp<IBinder>(IInterface::asBinder(listener))); in removeListener()
|
/frameworks/base/core/java/android/window/ |
D | WindowContainerToken.java | 46 public IBinder asBinder() { in asBinder() method in WindowContainerToken 47 return mRealToken.asBinder(); in asBinder() 53 dest.writeStrongBinder(mRealToken.asBinder()); in writeToParcel() 78 return mRealToken.asBinder().hashCode(); in hashCode() 91 return mRealToken.asBinder() == ((WindowContainerToken) obj).asBinder(); in equals()
|
D | TaskFragmentOrganizerToken.java | 43 public IBinder asBinder() { in asBinder() method in TaskFragmentOrganizerToken 44 return mRealToken.asBinder(); in asBinder() 82 return mRealToken.asBinder().hashCode(); in hashCode() 95 return mRealToken.asBinder() == ((TaskFragmentOrganizerToken) obj).asBinder(); in equals()
|
D | WindowContainerTransaction.java | 86 Change chg = getOrCreateChange(container.asBinder()); in setBounds() 101 Change chg = getOrCreateChange(container.asBinder()); in setAppBounds() 117 Change chg = getOrCreateChange(container.asBinder()); in setScreenSizeDp() 131 Change chg = getOrCreateChange(container.asBinder()); in setDensityDpi() 144 Change chg = getOrCreateChange(container.asBinder()); in scheduleFinishEnterPip() 165 Change chg = getOrCreateChange(container.asBinder()); in setBoundsChangeTransaction() 192 Change chg = getOrCreateChange(task.asBinder()); in setBoundsChangeTransaction() 212 Change chg = getOrCreateChange(container.asBinder()); in setActivityWindowingMode() 223 Change chg = getOrCreateChange(container.asBinder()); in setWindowingMode() 236 Change chg = getOrCreateChange(container.asBinder()); in setFocusable() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Messenger.java | 69 return mTarget.asBinder(); in getBinder() 81 return mTarget.asBinder().equals(((Messenger)otherObj) in equals() 82 .mTarget.asBinder()); in equals() 89 return mTarget.asBinder().hashCode(); in hashCode() 97 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel() 122 out.writeStrongBinder(messenger != null ? messenger.mTarget.asBinder() in writeMessengerOrNullToParcel()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/input/ |
D | BatteryControllerTests.kt | 103 `when`(listener.asBinder()).thenReturn(binder) in createMockListener() 112 verify(listener.asBinder()).linkToDeath(notNull(), anyInt()) in testRegisterAndUnregisterBinderLifecycle() 114 verify(listener.asBinder(), times(1)).linkToDeath(notNull(), anyInt()) in testRegisterAndUnregisterBinderLifecycle() 118 verify(listener.asBinder(), never()).unlinkToDeath(notNull(), anyInt()) in testRegisterAndUnregisterBinderLifecycle() 120 verify(listener.asBinder()).unlinkToDeath(notNull(), anyInt()) in testRegisterAndUnregisterBinderLifecycle() 127 verify(listener1.asBinder()).linkToDeath(notNull(), anyInt()) in testOneListenerPerProcess() 143 verify(listener.asBinder()).linkToDeath(deathRecipient.capture(), anyInt()) in testProcessDeathRemovesListener() 146 deathRecipient.value!!.binderDied(listener.asBinder()) in testProcessDeathRemovesListener() 147 verify(listener.asBinder()).unlinkToDeath(notNull(), anyInt()) in testProcessDeathRemovesListener() 151 verify(listener.asBinder(), times(2)).linkToDeath(notNull(), anyInt()) in testProcessDeathRemovesListener()
|
/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/base/services/core/java/com/android/server/wm/ |
D | DisplayAreaOrganizerController.java | 70 IBinder organizerBinder = featureOrganizer.asBinder(); in binderDied() 71 if (!organizerBinder.equals(mOrganizer.asBinder()) && in binderDied() 90 organizer.asBinder().linkToDeath(mDeathRecipient, 0); in DisplayAreaOrganizerState() 97 IBinder organizerBinder = mOrganizer.asBinder(); in destroy() 99 if (da.mOrganizer != null && da.mOrganizer.asBinder().equals(organizerBinder)) { in destroy() 136 organizer.asBinder(), uid); in registerOrganizer() 138 if (mOrganizersByFeatureIds.get(feature).mOrganizer.asBinder() in registerOrganizer() 181 organizer.asBinder(), uid); in unregisterOrganizer() 183 final boolean matches = entry.getValue().mOrganizer.asBinder() in unregisterOrganizer() 184 .equals(organizer.asBinder()); in unregisterOrganizer() [all …]
|
D | ShellRoot.java | 60 client.asBinder().linkToDeath(mDeathRecipient, 0); in ShellRoot() 78 mToken = new WindowToken.Builder(dc.mWmService, client.asBinder(), mWindowType) in ShellRoot() 97 mClient.asBinder().unlinkToDeath(mDeathRecipient, 0); in clear() 141 return mAccessibilityWindow.asBinder(); in getAccessibilityWindowToken() 148 mAccessibilityWindow.asBinder().unlinkToDeath(mAccessibilityWindowDeath, 0); in setAccessibilityWindow() 159 mAccessibilityWindow.asBinder().linkToDeath(mAccessibilityWindowDeath, 0); in setAccessibilityWindow()
|
D | TaskFragmentOrganizerController.java | 154 mOrganizer.asBinder().linkToDeath(this, 0 /*flags*/); in TaskFragmentOrganizerState() 209 mOrganizer.asBinder().unlinkToDeath(this, 0 /* flags */); in dispose() 414 organizer.asBinder()); in getReparentActivityFromTemporaryToken() 427 organizer.asBinder(), uid, pid); in registerOrganizer() 432 mTaskFragmentOrganizerState.put(organizer.asBinder(), in registerOrganizer() 434 mPendingTaskFragmentEvents.put(organizer.asBinder(), new ArrayList<>()); in registerOrganizer() 447 organizer.asBinder(), uid, pid); in unregisterOrganizer() 463 organizer.asBinder(), uid, pid); in registerRemoteAnimations() 465 mTaskFragmentOrganizerState.get(organizer.asBinder()); in registerRemoteAnimations() 487 organizer.asBinder(), uid, pid); in unregisterRemoteAnimations() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionApplicationTest.cpp | 90 sp<IBinder> applyToken = IInterface::asBinder(TransactionCompletedListener::getIInstance()); 408 IInterface::asBinder(TransactionCompletedListener::getIInstance()); in TEST_F() 423 IInterface::asBinder(TransactionCompletedListener::getIInstance()); in TEST_F() 441 IInterface::asBinder(TransactionCompletedListener::getIInstance()); in TEST_F() 459 IInterface::asBinder(TransactionCompletedListener::getIInstance()); in TEST_F() 479 IInterface::asBinder(TransactionCompletedListener::getIInstance()); in TEST_F() 500 IInterface::asBinder(TransactionCompletedListener::getIInstance()); in TEST_F() 522 IInterface::asBinder(TransactionCompletedListener::getIInstance()); in TEST_F() 549 IInterface::asBinder(TransactionCompletedListener::getIInstance()); in TEST_F() 586 IInterface::asBinder(TransactionCompletedListener::getIInstance()); in TEST_F() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeControllerTest.java | 151 Change change = wct.getChanges().get(displayAreaInfo.token.asBinder()); in testDesktopModeEnabled_rootTdaSetToFreeform() 166 Change change = wct.getChanges().get(displayAreaInfo.token.asBinder()); in testDesktopModeDisabled_rootTdaSetToFullscreen() 186 assertThat(wct.getChanges().get(fullscreenTask.token.asBinder())).isNull(); in testDesktopModeEnabled_windowingModeCleared() 187 assertThat(wct.getChanges().get(homeTask.token.asBinder())).isNull(); in testDesktopModeEnabled_windowingModeCleared() 189 Change change = wct.getChanges().get(freeformTask.token.asBinder()); in testDesktopModeEnabled_windowingModeCleared() 209 assertThat(wct.getChanges().get(homeTask.token.asBinder())).isNull(); in testDesktopModeDisabled_windowingModeAndBoundsCleared() 211 assertThatBoundsCleared(wct.getChanges().get(freeformTask.token.asBinder())); in testDesktopModeDisabled_windowingModeAndBoundsCleared() 212 assertThatBoundsCleared(wct.getChanges().get(fullscreenTask.token.asBinder())); in testDesktopModeDisabled_windowingModeAndBoundsCleared() 215 freeformTask.token.asBinder()).getWindowingMode()).isEqualTo( in testDesktopModeDisabled_windowingModeAndBoundsCleared() 238 assertThat(op1.getContainer()).isEqualTo(homeTask.token.asBinder()); in testDesktopModeEnabled_homeTaskBehindVisibleTask() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataServiceManager.java | 278 Message msg = mMessageMap.remove(asBinder()); in onSetupDataCallComplete() 291 Message msg = mMessageMap.remove(asBinder()); in onDeactivateDataCallComplete() 298 Message msg = mMessageMap.remove(asBinder()); in onSetInitialAttachApnComplete() 305 Message msg = mMessageMap.remove(asBinder()); in onSetDataProfileComplete() 316 Message msg = mMessageMap.remove(asBinder()); in onRequestDataCallListComplete() 355 Message msg = mMessageMap.remove(asBinder()); in onHandoverStarted() 363 Message msg = mMessageMap.remove(asBinder()); in onHandoverCancelled() 461 if (mIDataService != null && mIDataService.asBinder().isBinderAlive()) { in unbindDataService() 693 mMessageMap.put(callback.asBinder(), onCompleteMessage); in setupDataCall() 703 mMessageMap.remove(callback.asBinder()); in setupDataCall() [all …]
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayerService.cpp | 71 data.writeStrongBinder(IInterface::asBinder(client)); in create() 107 data.writeStrongBinder(IInterface::asBinder(client)); in listenForRemoteDisplay() 140 reply->writeStrongBinder(IInterface::asBinder(player)); in onTransact() 151 reply->writeStrongBinder(IInterface::asBinder(recorder)); in onTransact() 157 reply->writeStrongBinder(IInterface::asBinder(retriever)); in onTransact() 182 reply->writeStrongBinder(IInterface::asBinder(display)); in onTransact() 188 reply->writeStrongBinder(IInterface::asBinder(mcl)); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | LocalColorRepository.java | 53 IBinder binder = consumer.asBinder(); in addAreas() 58 consumer.asBinder().linkToDeath(() -> in addAreas() 59 mLocalColorAreas.remove(consumer.asBinder()), 0); in addAreas() 88 IBinder binder = consumer.asBinder(); in removeAreas() 149 IBinder binder = cb.asBinder(); in forEachCallback() 164 return mLocalColorAreas.get(callback.asBinder()) != null; in isCallbackAvailable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataServiceManager.java | 271 Message msg = mMessageMap.remove(asBinder()); in onSetupDataCallComplete() 284 Message msg = mMessageMap.remove(asBinder()); in onDeactivateDataCallComplete() 291 Message msg = mMessageMap.remove(asBinder()); in onSetInitialAttachApnComplete() 298 Message msg = mMessageMap.remove(asBinder()); in onSetDataProfileComplete() 306 Message msg = mMessageMap.remove(asBinder()); in onRequestDataCallListComplete() 320 Message msg = mMessageMap.remove(asBinder()); in onHandoverStarted() 328 Message msg = mMessageMap.remove(asBinder()); in onHandoverCancelled() 424 if (mIDataService != null && mIDataService.asBinder().isBinderAlive()) { in unbindDataService() 659 mMessageMap.put(callback.asBinder(), onCompleteMessage); in setupDataCall() 669 mMessageMap.remove(callback.asBinder()); in setupDataCall() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | RemoteTransitionHandler.java | 68 handleDeath(remote.asBinder(), null /* finishCallback */); in addFiltered() 75 if (mFilters.get(i).second.asBinder().equals(remote.asBinder())) { in removeFiltered() 81 unhandleDeath(remote.asBinder(), null /* finishCallback */); in removeFiltered() 123 unhandleDeath(remote.asBinder(), finishCallback); in startAnimation() 141 handleDeath(remote.asBinder(), finishCallback); in startAnimation() 147 unhandleDeath(remote.asBinder(), finishCallback); in startAnimation() 159 if (remote.asBinder().queryLocalInterface(IRemoteTransition.DESCRIPTOR) == null) { in copyIfLocal() 298 if (mRemote.equals(mFilters.get(i).second.asBinder())) { in binderDied() 303 if (mRemote.equals(mRequestedRemotes.valueAt(i).asBinder())) { in binderDied()
|
D | OneShotRemoteHandler.java | 77 if (mRemote.asBinder() != null) { in startAnimation() 78 mRemote.asBinder().unlinkToDeath(remoteDied, 0 /* flags */); in startAnimation() 90 if (mRemote.asBinder() != null) { in startAnimation() 91 mRemote.asBinder().linkToDeath(remoteDied, 0 /* flags */); in startAnimation() 104 if (mRemote.asBinder() != null) { in startAnimation() 105 mRemote.asBinder().unlinkToDeath(remoteDied, 0 /* flags */); in startAnimation()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | BatteryController.java | 78 listener.asBinder().linkToDeath(listenerRecord.mDeathRecipient, 0); in registerBatteryListener() 87 if (listenerRecord.mListener.asBinder() != listener.asBinder()) { in registerBatteryListener() 145 if (listenerRecord.mListener.asBinder() != listener.asBinder()) { in unregisterBatteryListener() 175 listenerRecord.mListener.asBinder().unlinkToDeath(listenerRecord.mDeathRecipient, 0); in unregisterRecordLocked()
|
/frameworks/base/core/java/android/content/ |
D | IntentSender.java | 306 return mTarget.asBinder().equals(((IntentSender)otherObj) in equals() 307 .mTarget.asBinder()); in equals() 314 return mTarget.asBinder().hashCode(); in hashCode() 323 sb.append(mTarget != null ? mTarget.asBinder() : null); in toString() 333 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel() 358 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() in writeIntentSenderOrNullToParcel()
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanManager.java | 124 if (mBinderCache.containsKey(ifaceService.asBinder())) { in getInterfaceNoCreate() 125 iface = mBinderCache.get(ifaceService.asBinder()).get(); in getInterfaceNoCreate() 139 if (mBinderCache.containsKey(ifaceService.asBinder())) { in getInterface() 140 iface = mBinderCache.get(ifaceService.asBinder()).get(); in getInterface() 152 mBinderCache.put(ifaceService.asBinder(), new WeakReference(iface)); in getInterface() 159 .asBinder() in getInterface()
|