Searched defs:binder (Results 1 - 23 of 23) sorted by relevance

/packages/services/Car/car-lib/src/android/car/test/
H A DCarTestManagerBinderWrapper.java28 public final IBinder binder; field in class:CarTestManagerBinderWrapper
30 public CarTestManagerBinderWrapper(IBinder binder) { argument
31 this.binder = binder;
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DShareVCardActivity.java42 public synchronized void onServiceConnected(ComponentName name, IBinder binder) { argument
45 mService = ((VCardService.MyBinder) binder).getService();
H A DCancelActivity.java113 public void onServiceConnected(ComponentName name, IBinder binder) { argument
114 VCardService service = ((VCardService.MyBinder) binder).getService();
H A DExportVCardActivity.java155 public synchronized void onServiceConnected(ComponentName name, IBinder binder) { argument
158 mService = ((VCardService.MyBinder) binder).getService();
H A DNfcImportVCardActivity.java158 public void onServiceConnected(ComponentName name, IBinder binder) { argument
159 VCardService service = ((VCardService.MyBinder) binder).getService();
H A DImportVCardActivity.java154 public void onServiceConnected(ComponentName name, IBinder binder) { argument
155 mService = ((VCardService.MyBinder) binder).getService();
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DAccountServiceProxy.java36 public void onConnected(IBinder binder) { argument
37 mService = IAccountService.Stub.asInterface(binder);
H A DPolicyServiceProxy.java39 public void onConnected(IBinder binder) { argument
40 mService = IPolicyService.Stub.asInterface(binder);
H A DServiceProxy.java40 * Subclasses must override {@link #onConnected} to store the binder. Then, when the subclass wants
85 * Subclasses must override this to store the binder correctly.
86 * @param binder The service IBinder.
88 public abstract void onConnected(IBinder binder); argument
101 public void onServiceConnected(ComponentName name, IBinder binder) { argument
107 // Let subclasses handle the binder.
108 onConnected(binder);
H A DEmailServiceProxy.java96 public void onConnected(IBinder binder) { argument
97 mService = IEmailService.Stub.asInterface(binder);
/packages/services/Car/tests/libvehiclenetwork-native-test/
H A DIVehicleNetworkMockedTest.cpp20 #include <binder/IServiceManager.h>
21 #include <binder/ProcessState.h>
41 sp<IBinder> binder = defaultServiceManager()->getService( local
43 if (binder != NULL) {
44 sp<IVehicleNetwork> vn(interface_cast<IVehicleNetwork>(binder));
H A DIVehicleNetworkTest.cpp20 #include <binder/IServiceManager.h>
21 #include <binder/ProcessState.h>
39 sp<IBinder> binder = defaultServiceManager()->getService( local
41 if (binder != NULL) {
42 sp<IVehicleNetwork> vn(interface_cast<IVehicleNetwork>(binder));
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
H A DMockedServiceManager.java71 void replaceService(String key, IBinder binder) { argument
72 mServiceManagerMockedServices.put(key, binder);
/packages/services/Car/service/src/com/android/car/
H A DAppContextService.java270 private ClientInfo(ClientHolder holder, IAppContextListener binder, int uid, int pid, argument
272 super(holder, binder);
H A DCarProjectionService.java241 private ListenerInfo(ListenerHolder holder, ICarProjectionListener binder, int filter) { argument
242 super(holder, binder);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DServiceBinder.java117 public void onServiceConnected(ComponentName componentName, IBinder binder) { argument
136 setBinder(binder);
183 /** The binder provided by {@link ServiceConnection#onServiceConnected} */
337 * Sets the (private) binder and updates the child class.
339 * @param binder The new binder value.
341 private void setBinder(IBinder binder) { argument
342 if (mBinder != binder) {
343 if (binder == null) {
350 mBinder = binder;
361 setServiceInterface(IBinder binder) argument
[all...]
H A DConnectionServiceWrapper.java1124 protected void setServiceInterface(IBinder binder) { argument
1125 mServiceInterface = IConnectionService.Stub.asInterface(binder);
H A DCall.java1852 private void decrementAssociatedCallCount(ServiceBinder binder) { argument
1853 if (binder != null) {
1854 binder.decrementAssociatedCallCount();
1973 * @return The {@link Connection.VideoProvider} binder.
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/
H A DBluetoothMapManager.java57 // restarted and connected by android binder.
63 // it was a transient failure due to obex transport or other binder issue, then this call will
82 // b) All calls done by the manager not-on main thread (binder threads) should be posted back
113 * receive callbacks and notification for changes happening to either the binder connection
374 * Implements the callbacks when changes in the binder connection of Manager (this) and the
376 * For a list of possible states that the binder connection can exist, see DISCONNECTED,
381 * Called when the Manager connects to service via the binder */
383 public void onServiceConnected(ComponentName name, IBinder binder) { argument
398 name + " binder=" + binder);
[all...]
/packages/services/Car/car-lib/src/android/car/
H A DCar.java320 * Car constructor when ICar binder is already available.
417 IBinder binder = service.getCarService(serviceName);
418 if (binder == null) {
419 Log.w(CarLibLog.TAG_CAR, "getCarManager could not get binder for service:" +
423 manager = createCarManager(serviceName, binder);
467 private CarManagerBase createCarManager(String serviceName, IBinder binder) argument
472 manager = new CarAudioManager(binder, mContext);
475 manager = new CarSensorManager(binder, mContext, mLooper);
478 manager = new CarInfoManager(binder);
481 manager = new CarAppContextManager(binder, mLoope
[all...]
/packages/services/Car/libvehiclenetwork/native/
H A DVehicleNetwork.cpp18 #include <binder/IServiceManager.h>
19 #include <binder/ProcessState.h>
134 sp<IBinder> binder = defaultServiceManager()->getService( local
137 if (binder != NULL) {
138 sp<IVehicleNetwork> ivn(interface_cast<IVehicleNetwork>(binder));
297 sp<IBinder> binder = defaultServiceManager()->getService( local
299 mService = interface_cast<IVehicleNetwork>(binder);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DRichInputMethodManager.java497 public boolean shouldOfferSwitchingToNextInputMethod(final IBinder binder, argument
505 return mImmWrapper.shouldOfferSwitchingToNextInputMethod(binder);
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcService.java989 public void setReaderMode(IBinder binder, IAppCallback callback, int flags, Bundle extras) argument
1010 binder.linkToDeath(mReaderModeDeathRecipient, 0);
1012 Log.e(TAG, "Remote binder has already died.");
1018 binder.unlinkToDeath(mReaderModeDeathRecipient, 0);

Completed in 807 milliseconds