Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:service

64                         if (VDBG) Log.d(TAG, "Unbinding service...");
77 if (VDBG) Log.d(TAG, "Binding service...");
113 Log.e(TAG, "Could not bind to Bluetooth MAP Service with " + intent);
128 * Close the connection to the backing service.
157 * Get the current state of the BluetoothMap service.
160 * connected to the Map service.
164 final IBluetoothMap service = mService;
165 if (service != null) {
167 return service.getState();
172 Log.w(TAG, "Proxy not attached to service");
182 * this proxy object is not connected to the Map service.
186 final IBluetoothMap service = mService;
187 if (service != null) {
189 return service.getClient();
194 Log.w(TAG, "Proxy not attached to service");
203 * currently connected to the Map service.
207 final IBluetoothMap service = mService;
208 if (service != null) {
210 return service.isConnected(device);
215 Log.w(TAG, "Proxy not attached to service");
238 final IBluetoothMap service = mService;
239 if (service != null && isEnabled() && isValidDevice(device)) {
241 return service.disconnect(device);
247 if (service == null) Log.w(TAG, "Proxy not attached to service");
279 final IBluetoothMap service = mService;
280 if (service != null && isEnabled()) {
282 return service.getConnectedDevices();
288 if (service == null) Log.w(TAG, "Proxy not attached to service");
299 final IBluetoothMap service = mService;
300 if (service != null && isEnabled()) {
302 return service.getDevicesMatchingConnectionStates(states);
308 if (service == null) Log.w(TAG, "Proxy not attached to service");
319 final IBluetoothMap service = mService;
320 if (service != null && isEnabled() && isValidDevice(device)) {
322 return service.getConnectionState(device);
328 if (service == null) Log.w(TAG, "Proxy not attached to service");
345 final IBluetoothMap service = mService;
346 if (service != null && isEnabled() && isValidDevice(device)) {
352 return service.setPriority(device, priority);
358 if (service == null) Log.w(TAG, "Proxy not attached to service");
374 final IBluetoothMap service = mService;
375 if (service != null && isEnabled() && isValidDevice(device)) {
377 return service.getPriority(device);
383 if (service == null) Log.w(TAG, "Proxy not attached to service");
388 public void onServiceConnected(ComponentName className, IBinder service) {
390 mService = IBluetoothMap.Stub.asInterface(Binder.allowBlocking(service));