Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:service

39  * Service via IPC. Use {@link BluetoothAdapter#getProfileProxy} to get
232 if (VDBG) Log.d(TAG, "Unbinding service...");
245 if (VDBG) Log.d(TAG, "Binding service...");
258 * Bluetooth Service which handles the InputDevice profile
283 Log.e(TAG, "Could not bind to Bluetooth HID Service with " + intent);
334 final IBluetoothHidHost service = mService;
335 if (service != null && isEnabled() && isValidDevice(device)) {
337 return service.connect(device);
343 if (service == null) Log.w(TAG, "Proxy not attached to service");
374 final IBluetoothHidHost service = mService;
375 if (service != null && isEnabled() && isValidDevice(device)) {
377 return service.disconnect(device);
383 if (service == null) Log.w(TAG, "Proxy not attached to service");
393 final IBluetoothHidHost service = mService;
394 if (service != null && isEnabled()) {
396 return service.getConnectedDevices();
402 if (service == null) Log.w(TAG, "Proxy not attached to service");
412 final IBluetoothHidHost service = mService;
413 if (service != null && isEnabled()) {
415 return service.getDevicesMatchingConnectionStates(states);
421 if (service == null) Log.w(TAG, "Proxy not attached to service");
431 final IBluetoothHidHost service = mService;
432 if (service != null && isEnabled() && isValidDevice(device)) {
434 return service.getConnectionState(device);
440 if (service == null) Log.w(TAG, "Proxy not attached to service");
461 final IBluetoothHidHost service = mService;
462 if (service != null && isEnabled() && isValidDevice(device)) {
468 return service.setPriority(device, priority);
474 if (service == null) Log.w(TAG, "Proxy not attached to service");
493 final IBluetoothHidHost service = mService;
494 if (service
496 return service.getPriority(device);
502 if (service == null) Log.w(TAG, "Proxy not attached to service");
507 public void onServiceConnected(ComponentName className, IBinder service) {
509 mService = IBluetoothHidHost.Stub.asInterface(Binder.allowBlocking(service));
545 final IBluetoothHidHost service = mService;
546 if (service != null && isEnabled() && isValidDevice(device)) {
548 return service.virtualUnplug(device);
555 if (service == null) Log.w(TAG, "Proxy not attached to service");
571 final IBluetoothHidHost service = mService;
572 if (service != null && isEnabled() && isValidDevice(device)) {
574 return service.getProtocolMode(device);
580 if (service == null) Log.w(TAG, "Proxy not attached to service");
595 final IBluetoothHidHost service = mService;
596 if (service != null && isEnabled() && isValidDevice(device)) {
598 return service.setProtocolMode(device, protocolMode);
604 if (service == null) Log.w(TAG, "Proxy not attached to service");
626 final IBluetoothHidHost service = mService;
627 if (service != null && isEnabled() && isValidDevice(device)) {
629 return service.getReport(device, reportType, reportId, bufferSize);
635 if (service == null) Log.w(TAG, "Proxy not attached to service");
652 final IBluetoothHidHost service = mService;
653 if (service != null && isEnabled() && isValidDevice(device)) {
655 return service.setReport(device, reportType, report);
661 if (service == null) Log.w(TAG, "Proxy not attached to service");
677 final IBluetoothHidHost service = mService;
678 if (service != null && isEnabled() && isValidDevice(device)) {
680 return service.sendData(device, report);
686 if (service == null) Log.w(TAG, "Proxy not attached to service");
701 final IBluetoothHidHost service = mService;
702 if (service != null && isEnabled() && isValidDevice(device)) {
704 return service.getIdleTime(device);
710 if (service == null) Log.w(TAG, "Proxy not attached to service");
726 final IBluetoothHidHost service = mService;
727 if (service != null && isEnabled() && isValidDevice(device)) {
729 return service.setIdleTime(device, idleTime);
735 if (service == null) Log.w(TAG, "Proxy not attached to service");