Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:service

36  * Service via IPC. Use {@link BluetoothAdapter#getProfileProxy} to get
136 if (VDBG) Log.d(TAG, "Unbinding service...");
149 if (VDBG) Log.d(TAG, "Binding service...");
162 * Bluetooth A2DP service.
186 Log.e(TAG, "Could not bind to Bluetooth A2DP Service with " + intent);
243 final IBluetoothA2dpSink service = mService;
244 if (service != null && isEnabled() && isValidDevice(device)) {
246 return service.connect(device);
252 if (service == null) Log.w(TAG, "Proxy not attached to service");
283 final IBluetoothA2dpSink service = mService;
284 if (service != null && isEnabled() && isValidDevice(device)) {
286 return service.disconnect(device);
292 if (service == null) Log.w(TAG, "Proxy not attached to service");
302 final IBluetoothA2dpSink service = mService;
303 if (service != null && isEnabled()) {
305 return service.getConnectedDevices();
311 if (service == null) Log.w(TAG, "Proxy not attached to service");
321 final IBluetoothA2dpSink service = mService;
322 if (service != null && isEnabled()) {
324 return service.getDevicesMatchingConnectionStates(states);
330 if (service == null) Log.w(TAG, "Proxy not attached to service");
340 final IBluetoothA2dpSink service = mService;
341 if (service != null && isEnabled() && isValidDevice(device)) {
343 return service.getConnectionState(device);
349 if (service == null) Log.w(TAG, "Proxy not attached to service");
366 final IBluetoothA2dpSink service = mService;
367 if (service != null && isEnabled() && isValidDevice(device)) {
369 return service.getAudioConfig(device);
375 if (service == null) Log.w(TAG, "Proxy not attached to service");
396 final IBluetoothA2dpSink service = mService;
397 if (service != null && isEnabled() && isValidDevice(device)) {
403 return service.setPriority(device, priority);
409 if (service == null) Log.w(TAG, "Proxy not attached to service");
428 final IBluetoothA2dpSink service = mService;
429 if (service != null && isEnabled() && isValidDevice(device)) {
431 return service.getPriority(device);
437 if (service == null) Log.w(TAG, "Proxy not attached to service");
449 final IBluetoothA2dpSink service = mService;
450 if (service != null && isEnabled() && isValidDevice(device)) {
452 return service.isA2dpPlaying(device);
458 if (service == null) Log.w(TAG, "Proxy not attached to service");
489 public void onServiceConnected(ComponentName className, IBinder service) {
491 mService = IBluetoothA2dpSink.Stub.asInterface(Binder.allowBlocking(service));