Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsPublisherServiceTest.java127 mPublisherService.onClientConnected("SomeClient", mPublisherClient.asBinder()); in testOnClientConnected()
128 mPublisherService.onClientConnected("SomeOtherClient", mPublisherClient2.asBinder()); in testOnClientConnected()
141 mPublisherService.onClientConnected("SomeClient", mPublisherClient.asBinder()); in testOnClientDisconnected()
142 mPublisherService.onClientConnected("SomeOtherClient", mPublisherClient2.asBinder()); in testOnClientDisconnected()
155 mPublisherService.onClientConnected("SomeClient", mPublisherClient.asBinder()); in testSetLayersOffering()
163 mPublisherService.onClientConnected("SomeClient", mPublisherClient.asBinder()); in testSetLayersOffering_InvalidToken()
170 mPublisherService.onClientConnected("SomeClient", mPublisherClient.asBinder()); in testSetLayersOffering_Disconnected()
178 mPublisherService.onClientConnected("SomeClient", mPublisherClient.asBinder()); in testSetLayersOffering_PermissionDenied()
187 mPublisherService.onClientConnected("SomeClient", mPublisherClient.asBinder()); in testPublish()
197 mPublisherService.onClientConnected("SomeClient", mPublisherClient.asBinder()); in testPublishNullLayerAndNullPayload()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/vms/
DVmsBrokerServiceTest.java69 when(subscriberClient.asBinder()).thenReturn(binder); in testAddSubscription()
85 when(subscriberClient.asBinder()).thenReturn(binder); in testAddSubscriptionLayer()
101 when(subscriberClient.asBinder()).thenReturn(binder); in testAddSubscriptionLayerVersion()
115 when(subscriberClient.asBinder()).thenReturn(binder); in testMultipleSubscriptionsSameClientCallsPackageManagerOnce()
130 when(subscriberClient.asBinder()).thenReturn(binder); in testUnknownPackageName()
159 when(subscriberClient1.asBinder()).thenReturn(binder1); in testMultipleSubscriptionsPackageManager()
163 when(subscriberClient2.asBinder()).thenReturn(binder2); in testMultipleSubscriptionsPackageManager()
167 when(subscriberClient3.asBinder()).thenReturn(binder3); in testMultipleSubscriptionsPackageManager()
172 when(subscriberClient4.asBinder()).thenReturn(binder4); in testMultipleSubscriptionsPackageManager()
/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()
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.java161 listener.asBinder().linkToDeath(client, 0); in registerDrivingStateChangeListener()
179 IBinder binder = listener.asBinder(); in findDrivingStateClient()
208 listener.asBinder().unlinkToDeath(client, 0); in unregisterDrivingStateChangeListener()
244 listenerBinder = l.asBinder(); in DrivingStateClient()
DCarPropertyService.java78 mListenerBinder = listener.asBinder(); in Client()
178 IBinder listenerBinder = listener.asBinder(); in registerListener()
245 IBinder listenerBinder = listener.asBinder(); in unregisterListener()
DCarUxRestrictionsManagerService.java323 listener.asBinder().linkToDeath(client, 0); in registerUxRestrictionsChangeListener()
342 IBinder binder = listener.asBinder(); in findUxRestrictionsClient()
370 listener.asBinder().unlinkToDeath(client, 0); in unregisterUxRestrictionsChangeListener()
557 listenerBinder = l.asBinder(); in UxRestrictionsClient()
DCarPowerManagementService.java114 Log.i(CarLog.TAG_POWER, "binderDied " + listener.asBinder()); in onCallbackDied()
444 mListenersWeAreWaitingFor.add(listener.asBinder()); in sendPowerManagerEvent()
624 finishedImpl(listener.asBinder()); in doUnregisterListener()
638 finishedImpl(listener.asBinder()); in finished()
DVmsSubscriberService.java131 IBinder subscriberBinder = subscriber.asBinder(); in add()
169 IBinder subscriberBinder = subscriber.asBinder(); in remove()
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java172 mBinderPackage.computeIfAbsent(subscriber.asBinder(), k -> getCallingPackage()); in addSubscription()
204 mBinderPackage.computeIfAbsent(subscriber.asBinder(), k -> getCallingPackage()); in addSubscription()
254 mBinderPackage.computeIfAbsent(subscriber.asBinder(), k -> getCallingPackage()); in addSubscription()
301 mBinderPackage.remove(subscriber.asBinder()); in removeDeadSubscriber()
402 return mBinderPackage.get(subscriber.asBinder()); in getPackageName()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustAgentEnrollmentService.java355 listener.asBinder().linkToDeath(client, 0); in registerEnrollmentCallback()
822 IBinder binder = listener.asBinder(); in findEnrollmentStateClientLocked()
850 listener.asBinder().unlinkToDeath(client, 0); in unregisterEnrollmentCallback()
871 listener.asBinder().linkToDeath(client, 0); in registerBleCallback()
890 IBinder binder = listener.asBinder(); in findBleStateClientLocked()
917 listener.asBinder().unlinkToDeath(client, 0); in unregisterBleCallback()
1043 mListenerBinder = listener.asBinder(); in EnrollmentStateClient()
1074 mListenerBinder = listener.asBinder(); in BleStateChangeClient()
/packages/apps/Nfc/src/com/android/nfc/
DNfcUnlockManager.java37 if (mUnlockHandlers.containsKey(unlockHandler.asBinder())) { in addUnlockHandler()
41 mUnlockHandlers.put(unlockHandler.asBinder(), in addUnlockHandler()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java164 public IBinder asBinder() { in onStatus() method in IpMemoryStoreServiceTest
189 public IBinder asBinder() {
216 public IBinder asBinder() {
243 public IBinder asBinder() {
267 public IBinder asBinder() {
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java553 mService.unregisterVolumeCallback(mCarVolumeCallbackImpl.asBinder()); in onCarDisconnected()
566 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/apps/Email/emailcommon/src/com/android/emailcommon/service/
DAccountServiceProxy.java41 public IBinder asBinder() { in asBinder() method in AccountServiceProxy
DPolicyServiceProxy.java44 public IBinder asBinder() { in asBinder() method in PolicyServiceProxy
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DRegularMaintenanceJobService.java99 public IBinder asBinder() { in onStartJob()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderProxyTest.java62 when(mVideoProvider.asBinder()).thenReturn(mIBinder); in setUp()
DInCallServiceFixture.java137 public IBinder asBinder() { in asBinder() method in InCallServiceFixture.FakeInCallService
/packages/apps/SecureElement/src/com/android/se/
DChannel.java69 mBinder = listener.asBinder(); in Channel()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java113 IBinder binder = mCallback.asBinder(); in handleMessage()
123 IBinder binder = mCallback.asBinder(); in handleMessage()

12