Home
last modified time | relevance | path

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

12

/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/
DConnectedDeviceManagerBinder.java104 RemoteCallbackBinder remoteBinder = new RemoteCallbackBinder(callback.asBinder(), in registerActiveUserConnectionCallback()
107 mConnectionCallbacks.put(callback.asBinder(), connectionCallback); in registerActiveUserConnectionCallback()
112 IBinder binder = callback.asBinder(); in unregisterConnectionCallback()
163 mDeviceCallbacks.put(callback.asBinder(), deviceCallback); in registerDeviceCallback()
164 RemoteCallbackBinder remoteBinder = new RemoteCallbackBinder(callback.asBinder(), in registerDeviceCallback()
172 IBinder binder = callback.asBinder(); in unregisterDeviceCallback()
247 RemoteCallbackBinder remoteBinder = new RemoteCallbackBinder(callback.asBinder(), in registerDeviceAssociationCallback()
250 mAssociationCallbacks.put(callback.asBinder(), associationCallback); in registerDeviceAssociationCallback()
255 IBinder binder = callback.asBinder(); in unregisterDeviceAssociationCallback()
/packages/services/Car/service/src/com/android/car/
DBinderInterfaceContainer.java44 binderInterface.asBinder().unlinkToDeath(this, 0); in binderDied()
65 IBinder binder = binderInterface.asBinder(); in addBinder()
82 IBinder binder = binderInterface.asBinder(); in removeBinder()
94 IBinder binder = binderInterface.asBinder(); in getBinderInterface()
101 IBinder binder = bInterface.binderInterface.asBinder(); in addBinderInterface()
125 IBinder binder = bInterface.binderInterface.asBinder(); in clear()
DVmsRouting.java91 if (!mPassiveSubscribers.remove(subscriber.asBinder())) { in removeSubscription()
129 if (!subscribers.remove(subscriber.asBinder())) { in removeSubscription()
180 if (!subscribers.remove(subscriber.asBinder())) { in removeSubscription()
205 IBinder subscriberBinder = subscriber.asBinder(); in removeDeadSubscriber()
301 IBinder subscriberBinder = subscriber.asBinder(); in addSubscriber()
DCarDiagnosticService.java217 listener.asBinder().linkToDeath(diagnosticClient, 0); in registerOrUpdateDiagnosticListener()
477 IBinder binder = listener.asBinder(); in findDiagnosticClientLocked()
516 && mListener.asBinder() in equals()
517 == ((DiagnosticClient) o).mListener.asBinder(); in equals()
521 return mListener.asBinder() == listenerBinder; in isHoldingListenerBinder()
547 mListener.asBinder().unlinkToDeath(this, 0); in binderDied()
564 mListener.asBinder().unlinkToDeath(this, 0); in release()
DCarDrivingStateService.java170 listener.asBinder().linkToDeath(client, 0); in registerDrivingStateChangeListener()
188 IBinder binder = listener.asBinder(); in findDrivingStateClient()
217 listener.asBinder().unlinkToDeath(client, 0); in unregisterDrivingStateChangeListener()
253 listenerBinder = l.asBinder(); in DrivingStateClient()
DCarPropertyService.java79 mListenerBinder = listener.asBinder(); in Client()
179 IBinder listenerBinder = listener.asBinder(); in registerListener()
246 IBinder listenerBinder = listener.asBinder(); in unregisterListener()
DCarUxRestrictionsManagerService.java344 listener.asBinder().linkToDeath(client, 0); in registerUxRestrictionsChangeListener()
363 IBinder binder = listener.asBinder(); in findUxRestrictionsClient()
391 listener.asBinder().unlinkToDeath(client, 0); in unregisterUxRestrictionsChangeListener()
661 listenerBinder = l.asBinder(); in UxRestrictionsClient()
DCarPowerManagementService.java142 Log.i(CarLog.TAG_POWER, "binderDied " + listener.asBinder()); in onCallbackDied()
646 mListenersWeAreWaitingFor.add(listener.asBinder()); in sendPowerManagerEvent()
834 finishedImpl(listener.asBinder()); in doUnregisterListener()
850 finishedImpl(listener.asBinder()); in finished()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/
DTrustedDeviceManager.java317 mTrustedDeviceCallbacks.put(callback.asBinder(), callback); in registerTrustedDeviceCallback()
318 RemoteCallbackBinder remoteBinder = new RemoteCallbackBinder(callback.asBinder(), iBinder -> in registerTrustedDeviceCallback()
325 IBinder binder = callback.asBinder(); in unregisterTrustedDeviceCallback()
332 mAssociatedDeviceCallbacks.put(callback.asBinder(), callback); in registerAssociatedDeviceCallback()
333 RemoteCallbackBinder remoteBinder = new RemoteCallbackBinder(callback.asBinder(), iBinder -> in registerAssociatedDeviceCallback()
340 IBinder binder = callback.asBinder(); in unregisterAssociatedDeviceCallback()
348 mEnrollmentCallbacks.put(callback.asBinder(), callback); in registerTrustedDeviceEnrollmentCallback()
349 RemoteCallbackBinder remoteBinder = new RemoteCallbackBinder(callback.asBinder(), in registerTrustedDeviceEnrollmentCallback()
367 IBinder binder = callback.asBinder(); in unregisterTrustedDeviceEnrollmentCallback()
396 if (trustAgentDelegate.asBinder() != mTrustAgentDelegate.asBinder()) { in clearTrustedDeviceAgentDelegate()
DTrustedDeviceManagerService.java48 return mTrustedDeviceManager.asBinder(); in onBind()
/packages/modules/DnsResolver/
DResolverEventReporter.cpp94 if (it->asBinder().get() == listener->asBinder().get()) { in addListenerImplLocked()
118 auto binder = listener->asBinder().get(); in addListenerImplLocked()
/packages/services/Car/service/src/com/android/car/vms/
DVmsClientManager.java233 IBinder subscriberBinder = subscriberClient.asBinder(); in addSubscriber()
264 SubscriberConnection subscriber = mSubscribers.get(subscriberClient.asBinder()); in removeSubscriber()
287 SubscriberConnection subscriber = mSubscribers.get(subscriberClient.asBinder()); in getSubscriberUid()
297 SubscriberConnection subscriber = mSubscribers.get(subscriberClient.asBinder()); in getPackageName()
310 mSubscribers.put(subscriberClient.asBinder(), in onHalConnected()
604 IBinder subscriberBinder = mClient.asBinder(); in terminate()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustAgentEnrollmentService.java380 listener.asBinder().linkToDeath(client, 0); in registerEnrollmentCallback()
847 IBinder binder = listener.asBinder(); in findEnrollmentStateClientLocked()
877 listener.asBinder().unlinkToDeath(client, 0); in unregisterEnrollmentCallback()
900 listener.asBinder().linkToDeath(client, 0); in registerBleCallback()
919 IBinder binder = listener.asBinder(); in findBleStateClientLocked()
948 listener.asBinder().unlinkToDeath(client, 0); in unregisterBleCallback()
1074 mListenerBinder = listener.asBinder(); in EnrollmentStateClient()
1105 mListenerBinder = listener.asBinder(); in BleStateChangeClient()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/association/
DAssociationBinder.java77 mRemoteAssociationCallbackBinder = new RemoteCallbackBinder(callback.asBinder(), in setAssociationCallback()
159 mRemoteDeviceAssociationCallbackBinder = new RemoteCallbackBinder(callback.asBinder(), in setDeviceAssociationCallback()
219 mRemoteConnectionCallbackBinder = new RemoteCallbackBinder(callback.asBinder(), in setConnectionCallback()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java191 public IBinder asBinder() { in onStatus() method in IpMemoryStoreServiceTest
217 public IBinder asBinder() {
247 public IBinder asBinder() {
279 public IBinder asBinder() {
311 public IBinder asBinder() {
340 public IBinder asBinder() {
/packages/apps/Nfc/src/com/android/nfc/
DNfcUnlockManager.java37 if (mUnlockHandlers.containsKey(unlockHandler.asBinder())) { in addUnlockHandler()
41 mUnlockHandlers.put(unlockHandler.asBinder(), in addUnlockHandler()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java552 mService.unregisterVolumeCallback(mCarVolumeCallbackImpl.asBinder()); in onCarDisconnected()
565 mService.registerVolumeCallback(mCarVolumeCallbackImpl.asBinder()); in CarAudioManager()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java194 if (callback.asBinder() == s.asBinder()) { in subscribe()
/packages/services/Telecomm/src/com/android/server/telecom/
DVideoProviderProxy.java99 mConectionServiceVideoProvider.asBinder().unlinkToDeath(this, 0);
122 mConectionServiceVideoProvider.asBinder().linkToDeath(mDeathRecipient, 0); in VideoProviderProxy()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java130 IBinder binder = ((IInterface) callback).asBinder(); in linkToDeath()
144 IBinder binder = ((IInterface) callback).asBinder(); in unlinkToDeath()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsClientManagerTest.java212 when(mSubscriberClient1.asBinder()).thenReturn(mSubscriberBinder1); in setUp()
213 when(mSubscriberClient2.asBinder()).thenReturn(mSubscriberBinder2); in setUp()
1082 assertSame(binder, clientCaptor.getValue().asBinder()); in verifyOnClientConnected()
1086 return createPublisherClient().asBinder(); in createPublisherBinder()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DRegularMaintenanceJobService.java105 public IBinder asBinder() { in onStartJob()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderProxyTest.java63 when(mVideoProvider.asBinder()).thenReturn(mIBinder); in setUp()
DInCallServiceFixture.java137 public IBinder asBinder() { in asBinder() method in InCallServiceFixture.FakeInCallService
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseRepositoryTest.java121 when(mCallbacks.asBinder()).thenReturn(mCallbacksBinder); in initDhcpLeaseRepositoryWithOption()
125 verify(mCallbacks, atLeastOnce()).asBinder(); in initDhcpLeaseRepositoryWithOption()

12