Home
last modified time | relevance | path

Searched refs:asBinder (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsDownloadServiceBase.java161 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/base/core/java/android/window/
DWindowContainerToken.java46 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()
DWindowContainerTransaction.java73 Change chg = getOrCreateChange(container.asBinder()); in setBounds()
88 Change chg = getOrCreateChange(container.asBinder()); in setAppBounds()
104 Change chg = getOrCreateChange(container.asBinder()); in setScreenSizeDp()
118 Change chg = getOrCreateChange(container.asBinder()); in scheduleFinishEnterPip()
139 Change chg = getOrCreateChange(container.asBinder()); in setBoundsChangeTransaction()
166 Change chg = getOrCreateChange(task.asBinder()); in setBoundsChangeTransaction()
186 Change chg = getOrCreateChange(container.asBinder()); in setActivityWindowingMode()
197 Change chg = getOrCreateChange(container.asBinder()); in setWindowingMode()
210 Change chg = getOrCreateChange(container.asBinder()); in setFocusable()
224 Change chg = getOrCreateChange(container.asBinder()); in setHidden()
[all …]
/frameworks/base/core/java/android/os/
DMessenger.java69 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()
DRemoteCallbackList.java77 mCallbacks.remove(mCallback.asBinder()); in binderDied()
124 IBinder binder = callback.asBinder(); in register()
156 Callback cb = mCallbacks.remove(callback.asBinder()); in unregister()
158 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in unregister()
177 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in kill()
/frameworks/base/core/java/android/view/
DWindowId.java135 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/native/services/surfaceflinger/
DHdrLayerInfoReporter.cpp53 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()
DTunnelModeEnabledReporter.cpp61 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()
DFpsReporter.cpp92 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/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DRemoteTransitionHandler.java74 remote.asBinder().linkToDeath(mTransitionDeathRecipient, 0 /* flags */); in addFiltered()
91 remote.asBinder().unlinkToDeath(mTransitionDeathRecipient, 0 /* flags */); in removeFiltered()
136 if (remote.asBinder() != null) { in startAnimation()
137 remote.asBinder().unlinkToDeath(remoteDied, 0 /* flags */); in startAnimation()
146 if (remote.asBinder() != null) { in startAnimation()
147 remote.asBinder().linkToDeath(remoteDied, 0 /* flags */); in startAnimation()
152 if (remote.asBinder() != null) { in startAnimation()
153 remote.asBinder().unlinkToDeath(remoteDied, 0 /* flags */); in startAnimation()
DOneShotRemoteHandler.java74 if (mRemote.asBinder() != null) { in startAnimation()
75 mRemote.asBinder().unlinkToDeath(remoteDied, 0 /* flags */); in startAnimation()
82 if (mRemote.asBinder() != null) { in startAnimation()
83 mRemote.asBinder().linkToDeath(remoteDied, 0 /* flags */); in startAnimation()
88 if (mRemote.asBinder() != null) { in startAnimation()
89 mRemote.asBinder().unlinkToDeath(remoteDied, 0 /* flags */); in startAnimation()
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp71 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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataServiceManager.java271 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()
412 if (mIDataService != null && mIDataService.asBinder().isBinderAlive()) { in unbindDataService()
647 mMessageMap.put(callback.asBinder(), onCompleteMessage); in setupDataCall()
657 mMessageMap.remove(callback.asBinder()); in setupDataCall()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaOrganizerController.java81 organizer.asBinder().linkToDeath(mDeathRecipient, 0); in DisplayAreaOrganizerState()
88 IBinder organizerBinder = mOrganizer.asBinder(); in destroy()
90 if (da.mOrganizer != null && da.mOrganizer.asBinder().equals(organizerBinder)) { in destroy()
127 organizer.asBinder(), uid); in registerOrganizer()
129 if (mOrganizersByFeatureIds.get(feature).mOrganizer.asBinder() in registerOrganizer()
172 organizer.asBinder(), uid); in unregisterOrganizer()
174 final boolean matches = entry.getValue().mOrganizer.asBinder() in unregisterOrganizer()
175 == organizer.asBinder(); in unregisterOrganizer()
256 final WindowContainer wc = WindowContainer.fromBinder(token.asBinder()); in deleteTaskDisplayArea()
287 if (!organizer.asBinder().isBinderAlive()) { in onDisplayAreaVanished()
DTaskOrganizerController.java98 mTaskOrganizer.asBinder()); in binderDied()
122 return mTaskOrganizer.asBinder(); in getBinder()
307 organizer.asBinder().linkToDeath(mDeathRecipient, 0); in TaskOrganizerState()
396 mTaskOrganizerStates.remove(asBinder()); in dispose()
486 organizer.asBinder(), uid); in registerTaskOrganizer()
487 if (!mTaskOrganizerStates.containsKey(organizer.asBinder())) { in registerTaskOrganizer()
489 mTaskOrganizerStates.put(organizer.asBinder(), in registerTaskOrganizer()
494 final TaskOrganizerState state = mTaskOrganizerStates.get(organizer.asBinder()); in registerTaskOrganizer()
523 final TaskOrganizerState state = mTaskOrganizerStates.get(organizer.asBinder()); in unregisterTaskOrganizer()
528 organizer.asBinder(), uid); in unregisterTaskOrganizer()
[all …]
DShellRoot.java61 client.asBinder().linkToDeath(mDeathRecipient, 0); in ShellRoot()
79 mToken = new WindowToken.Builder(dc.mWmService, client.asBinder(), mWindowType) in ShellRoot()
98 mClient.asBinder().unlinkToDeath(mDeathRecipient, 0); in clear()
159 windowInfo.token = mAccessibilityWindow.asBinder(); in getWindowInfo()
184 mAccessibilityWindow.asBinder().unlinkToDeath(mAccessibilityWindowDeath, 0); in setAccessibilityWindow()
195 mAccessibilityWindow.asBinder().linkToDeath(mAccessibilityWindowDeath, 0); in setAccessibilityWindow()
/frameworks/base/apex/media/framework/java/android/media/
DSession2Link.java73 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()
/frameworks/base/core/java/android/content/
DIntentSender.java269 return mTarget.asBinder().equals(((IntentSender)otherObj) in equals()
270 .mTarget.asBinder()); in equals()
277 return mTarget.asBinder().hashCode(); in hashCode()
286 sb.append(mTarget != null ? mTarget.asBinder() : null); in toString()
296 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel()
321 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder() in writeIntentSenderOrNullToParcel()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanManager.java124 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()
/frameworks/base/core/java/android/speech/
DRecognitionService.java123 + listener.asBinder()); in dispatchStartListening()
153 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchStopListening()
167 } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) { in dispatchCancel()
426 if (DBG) Log.d(TAG, "startListening called by:" + listener.asBinder()); in startListening()
437 if (DBG) Log.d(TAG, "stopListening called by:" + listener.asBinder()); in stopListening()
447 if (DBG) Log.d(TAG, "cancel called by:" + listener.asBinder()); in cancel()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsEcbmImplBase.java47 if (mListener != null && !mListener.asBinder().isBinderAlive()) {
52 mListener.asBinder(), listener.asBinder())) {
DImsMultiEndpointImplBase.java51 if (mListener != null && !mListener.asBinder().isBinderAlive()) {
56 mListener.asBinder(), listener.asBinder())) {
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestRunningTaskInfoBuilder.java42 final IBinder asBinder = mock(IBinder.class); in createMockWCToken() local
43 doReturn(asBinder).when(itoken).asBinder(); in createMockWCToken()
/frameworks/native/libs/vr/libvr_manager/
Dvr_manager.cpp100 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/binder/ndk/include_cpp/android/
Dbinder_interface_utils.h123 virtual SpAIBinder asBinder() = 0;
187 SpAIBinder asBinder() override;
212 SpAIBinder asBinder() override;
217 return AIBinder_dump(asBinder().get(), fd, args, numArgs); in dump()
295 SpAIBinder BnCInterface<INTERFACE>::asBinder() { in asBinder() function
311 SpAIBinder BpCInterface<INTERFACE>::asBinder() { in asBinder() function

12345678910>>...22