/packages/services/Car/car-lib/src/android/car/ |
D | CarAppFocusManager.java | 138 IAppFocusListenerImpl binder; in addFocusListener() local 140 binder = mChangeBinders.get(listener); in addFocusListener() 141 if (binder == null) { in addFocusListener() 142 binder = new IAppFocusListenerImpl(this, listener); in addFocusListener() 143 mChangeBinders.put(listener, binder); in addFocusListener() 145 binder.addAppType(appType); in addFocusListener() 148 mService.registerFocusListener(binder, appType); in addFocusListener() 160 IAppFocusListenerImpl binder; in removeFocusListener() local 162 binder = mChangeBinders.get(listener); in removeFocusListener() 163 if (binder == null) { in removeFocusListener() [all …]
|
D | Car.java | 1182 IBinder binder = mService.getCarService(serviceName); in getCarManager() local 1183 if (binder == null) { in getCarManager() 1188 manager = createCarManager(serviceName, binder); in getCarManager() 1293 private CarManagerBase createCarManager(String serviceName, IBinder binder) { in createCarManager() argument 1297 manager = new CarAudioManager(this, binder); in createCarManager() 1300 manager = new CarSensorManager(this, binder); in createCarManager() 1303 manager = new CarInfoManager(this, binder); in createCarManager() 1306 manager = new CarAppFocusManager(this, binder); in createCarManager() 1309 manager = new CarPackageManager(this, binder); in createCarManager() 1312 manager = new CarNavigationStatusManager(this, binder); in createCarManager() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | BinderInterfaceContainer.java | 65 IBinder binder = binderInterface.asBinder(); in addBinder() local 67 BinderInterface<T> bInterface = mBinders.get(binder); in addBinder() 73 binder.linkToDeath(bInterface, 0); in addBinder() 77 mBinders.put(binder, bInterface); in addBinder() 82 IBinder binder = binderInterface.asBinder(); in removeBinder() local 84 BinderInterface<T> bInterface = mBinders.get(binder); in removeBinder() 88 binder.unlinkToDeath(bInterface, 0); in removeBinder() 89 mBinders.remove(binder); in removeBinder() 94 IBinder binder = binderInterface.asBinder(); in getBinderInterface() local 96 return mBinders.get(binder); in getBinderInterface() [all …]
|
D | CarDrivingStateService.java | 188 IBinder binder = listener.asBinder(); in findDrivingStateClient() local 191 if (client.isHoldingBinder(binder)) { in findDrivingStateClient() 271 public boolean isHoldingBinder(IBinder binder) { in isHoldingBinder() argument 272 return listenerBinder == binder; in isHoldingBinder()
|
D | AppFocusService.java | 359 private ClientInfo(ClientHolder holder, IAppFocusListener binder, int uid, int pid, in ClientInfo() argument 361 super(holder, binder); in ClientInfo() 394 private OwnershipClientInfo(OwnershipClientHolder holder, IAppFocusOwnershipCallback binder, in OwnershipClientInfo() argument 396 super(holder, binder); in OwnershipClientInfo()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | PeriodicScanManager.java | 136 IBinder binder = entry.getKey(); in onSyncStarted() local 137 binder.unlinkToDeath(entry.getValue().deathRecipient, 0); in onSyncStarted() 138 mSyncs.remove(binder); in onSyncStarted() 183 IBinder binder = toBinder(callback); in startSync() local 185 binder.linkToDeath(deathRecipient, 0); in startSync() 194 mSyncs.put(binder, new SyncInfo(cbId, deathRecipient, callback)); in startSync() 197 Log.d(TAG, "startSync() - reg_id=" + cbId + ", callback: " + binder); in startSync() 203 IBinder binder = toBinder(callback); in stopSync() local 205 Log.d(TAG, "stopSync() " + binder); in stopSync() 208 SyncInfo sync = mSyncs.remove(binder); in stopSync() [all …]
|
D | AdvertiseManager.java | 160 IBinder binder = entry.getKey(); in onAdvertisingSetStarted() local 161 binder.unlinkToDeath(entry.getValue().deathRecipient, 0); in onAdvertisingSetStarted() 162 mAdvertisers.remove(binder); in onAdvertisingSetStarted() 190 IBinder binder = toBinder(callback); in startAdvertisingSet() local 192 binder.linkToDeath(deathRecipient, 0); in startAdvertisingSet() 203 mAdvertisers.put(binder, new AdvertiserInfo(cbId, deathRecipient, callback)); in startAdvertisingSet() 206 Log.d(TAG, "startAdvertisingSet() - reg_id=" + cbId + ", callback: " + binder); in startAdvertisingSet() 233 IBinder binder = toBinder(callback); in stopAdvertisingSet() local 235 Log.d(TAG, "stopAdvertisingSet() " + binder); in stopAdvertisingSet() 238 AdvertiserInfo adv = mAdvertisers.remove(binder); in stopAdvertisingSet() [all …]
|
D | ContextMap.java | 130 IBinder binder = ((IInterface) callback).asBinder(); in linkToDeath() local 131 binder.linkToDeath(deathRecipient, 0); in linkToDeath() 144 IBinder binder = ((IInterface) callback).asBinder(); in unlinkToDeath() local 145 binder.unlinkToDeath(mDeathRecipient, 0); in unlinkToDeath()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/ |
D | ConnectedDeviceManagerBinder.java | 112 IBinder binder = callback.asBinder(); in unregisterConnectionCallback() local 113 RemoteCallbackBinder remoteBinder = findRemoteCallbackBinder(binder); in unregisterConnectionCallback() 119 ConnectionCallback connectionCallback = mConnectionCallbacks.get(binder); in unregisterConnectionCallback() 127 mConnectionCallbacks.remove(binder); in unregisterConnectionCallback() 172 IBinder binder = callback.asBinder(); in unregisterDeviceCallback() local 173 RemoteCallbackBinder remoteBinder = findRemoteCallbackBinder(binder); in unregisterDeviceCallback() 179 DeviceCallback deviceCallback = mDeviceCallbacks.remove(binder); in unregisterDeviceCallback() 255 IBinder binder = callback.asBinder(); in unregisterDeviceAssociationCallback() local 256 RemoteCallbackBinder remoteBinder = findRemoteCallbackBinder(binder); in unregisterDeviceAssociationCallback() 262 DeviceAssociationCallback associationCallback = mAssociationCallbacks.remove(binder); in unregisterDeviceAssociationCallback() [all …]
|
/packages/services/Car/car-lib/src/android/car/test/ |
D | CarTestManagerBinderWrapper.java | 27 public final IBinder binder; field in CarTestManagerBinderWrapper 29 public CarTestManagerBinderWrapper(IBinder binder) { in CarTestManagerBinderWrapper() argument 31 this.binder = binder; in CarTestManagerBinderWrapper() 35 public CarTestManagerBinderWrapper(Car car, IBinder binder) { in CarTestManagerBinderWrapper() argument 37 this.binder = binder; in CarTestManagerBinderWrapper()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ServiceBinder.java | 145 public void onServiceConnected(ComponentName componentName, IBinder binder) { in onServiceConnected() argument 162 if (binder != null) { in onServiceConnected() 165 binder.linkToDeath(mServiceDeathRecipient, 0); in onServiceConnected() 167 setBinder(binder); in onServiceConnected() 418 private void setBinder(IBinder binder) { in setBinder() argument 419 if (mBinder != binder) { in setBinder() 420 if (binder == null) { in setBinder() 427 mBinder = binder; in setBinder() 428 setServiceInterface(binder); in setBinder() 438 protected abstract void setServiceInterface(IBinder binder); in setServiceInterface() argument
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsClientManagerTest.java | 469 IBinder binder = bindSystemClient(); in testOnSystemServiceConnected() local 470 verifyOnClientConnected(SYSTEM_CLIENT_NAME, binder); in testOnSystemServiceConnected() 479 IBinder binder = createPublisherBinder(); in bindSystemClient() local 481 connection.onServiceConnected(null, binder); in bindSystemClient() 482 return binder; in bindSystemClient() 487 IBinder binder = bindUserClient(); in testOnUserServiceConnected() local 488 verifyOnClientConnected(USER_CLIENT_NAME, binder); in testOnUserServiceConnected() 497 IBinder binder = createPublisherBinder(); in bindUserClient() local 499 connection.onServiceConnected(null, binder); in bindUserClient() 500 return binder; in bindUserClient() [all …]
|
/packages/services/Car/car-lib/native/CarPowerManager/ |
D | CarPowerManager.cpp | 89 sp<IBinder> binder = (serviceManager->getService(ICarName)); in connectToCarService() local 90 if (binder == nullptr) { in connectToCarService() 96 sp<ICar> iCar = interface_cast<ICar>(binder); in connectToCarService() 102 iCar->getCarService(ICarPowerName, &binder); in connectToCarService() 103 if (binder == nullptr) { in connectToCarService() 108 mICarPower = interface_cast<ICarPower>(binder); in connectToCarService()
|
/packages/services/Mms/tests/robotests/src/com/android/mms/service/ |
D | MmsServiceRoboTest.java | 39 private IMms.Stub binder; field in MmsServiceRoboTest 47 binder = (IMms.Stub) mmsService.onBind(intent); in setUp() 52 assertThat(binder).isNotNull(); in testOnBind_IsNotNull() 58 binder.sendMessage(/* subId= */ 0, "callingPkg", Uri.parse("contentUri"), in testSendMessage_DoesNotThrowIfSystemUid() 65 () -> binder.sendMessage(/* subId= */ 0, "callingPkg", Uri.parse("contentUri"), in testSendMessageThrows_IfNotSystemUid()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ |
D | TrustedDeviceManager.java | 325 IBinder binder = callback.asBinder(); in unregisterTrustedDeviceCallback() local 326 mTrustedDeviceCallbacks.remove(binder); in unregisterTrustedDeviceCallback() 327 removeRemoteBinder(binder); in unregisterTrustedDeviceCallback() 340 IBinder binder = callback.asBinder(); in unregisterAssociatedDeviceCallback() local 341 mAssociatedDeviceCallbacks.remove(binder); in unregisterAssociatedDeviceCallback() 342 removeRemoteBinder(binder); in unregisterAssociatedDeviceCallback() 367 IBinder binder = callback.asBinder(); in unregisterTrustedDeviceEnrollmentCallback() local 368 mEnrollmentCallbacks.remove(binder); in unregisterTrustedDeviceEnrollmentCallback() 369 removeRemoteBinder(binder); in unregisterTrustedDeviceEnrollmentCallback() 533 private void removeRemoteBinder(IBinder binder) { in removeRemoteBinder() argument [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | UserNoiticeDemoUiService.java | 67 IBinder binder = data.readStrongBinder(); 68 onSetCallbackBinder(binder); 99 private void onSetCallbackBinder(IBinder binder) { in onSetCallbackBinder() argument 100 if (binder == null) { in onSetCallbackBinder() 106 mIUserNoticeService = binder; in onSetCallbackBinder()
|
/packages/modules/DnsResolver/ |
D | ResolverEventReporter.cpp | 57 ndk::SpAIBinder binder = ndk::SpAIBinder(AServiceManager_checkService("netd_listener")); in addDefaultListener() local 58 std::shared_ptr<INetdEventListener> listener = INetdEventListener::fromBinder(binder); in addDefaultListener() 118 auto binder = listener->asBinder().get(); in addListenerImplLocked() local 120 binder_status_t status = AIBinder_linkToDeath(binder, deathRecipient, cookie); in addListenerImplLocked()
|
D | Android.bp | 20 local_include_dir: "binder", 22 "binder/android/net/IDnsResolver.aidl", 23 "binder/android/net/ResolverHostsParcel.aidl", 24 "binder/android/net/ResolverOptionsParcel.aidl", 25 "binder/android/net/ResolverParamsParcel.aidl",
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarProjectionService.java | 112 public void startProjectionAccessPoint(Messenger messenger, IBinder binder) in startProjectionAccessPoint() argument 115 mApBinder = binder; in startProjectionAccessPoint() 129 public void stopProjectionAccessPoint(IBinder binder) throws RemoteException { in stopProjectionAccessPoint() argument 130 if (mApBinder == binder) { in stopProjectionAccessPoint()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/util/ |
D | RemoteCallbackBinder.java | 37 public RemoteCallbackBinder(IBinder binder, Consumer<IBinder> onBinderDied) { in RemoteCallbackBinder() argument 38 mCallbackBinder = binder; in RemoteCallbackBinder() 41 binder.linkToDeath(this, 0); in RemoteCallbackBinder()
|
/packages/services/Car/service/src/com/android/car/trust/ |
D | CarTrustAgentEnrollmentService.java | 847 IBinder binder = listener.asBinder(); in findEnrollmentStateClientLocked() local 850 if (client.isHoldingBinder(binder)) { in findEnrollmentStateClientLocked() 919 IBinder binder = listener.asBinder(); in findBleStateClientLocked() local 922 if (client.isHoldingBinder(binder)) { in findBleStateClientLocked() 1094 public boolean isHoldingBinder(IBinder binder) { in isHoldingBinder() argument 1095 return mListenerBinder == binder; in isHoldingBinder() 1125 public boolean isHoldingBinder(IBinder binder) { in isHoldingBinder() argument 1126 return mListenerBinder == binder; in isHoldingBinder()
|
/packages/apps/Car/Radio/src/com/android/car/radio/service/ |
D | RadioAppServiceWrapper.java | 141 public void onServiceConnected(ComponentName className, IBinder binder) { 142 RadioAppServiceWrapper.this.onServiceConnected(binder, 143 Objects.requireNonNull(IRadioAppService.Stub.asInterface(binder))); 209 private void onServiceConnected(IBinder binder, @NonNull IRadioAppService service) { in onServiceConnected() argument
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserNoticeService.java | 177 IUserNoticeUI binder = IUserNoticeUI.Stub.asInterface(service); 179 binder.setCallbackBinder(mIUserNotice); 183 binder = null; 186 mUiService = binder;
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | ICarAudio.aidl | 55 void registerVolumeCallback(in IBinder binder); in registerVolumeCallback() argument 56 void unregisterVolumeCallback(in IBinder binder); in unregisterVolumeCallback() argument
|
/packages/services/Car/procfs-inspector/server/ |
D | server.cpp | 41 BpProcfsInspector(sp<IBinder> binder) : BpInterface<IProcfsInspector>(binder) {} in BpProcfsInspector() argument
|