Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:service

36  * Service via IPC. Use {@link BluetoothAdapter#getProfileProxy} to get
102 if (VDBG) Log.d(TAG, "Unbinding service...");
115 if (VDBG) Log.d(TAG, "Binding service...");
151 Log.e(TAG, "Could not bind to Bluetooth SAP Service with " + intent);
166 * Close the connection to the backing service.
197 * Get the current state of the BluetoothSap service.
200 * connected to the Sap service.
205 final IBluetoothSap service = mService;
206 if (service != null) {
208 return service.getState();
213 Log.w(TAG, "Proxy not attached to service");
223 * this proxy object is not connected to the Sap service.
228 final IBluetoothSap service = mService;
229 if (service != null) {
231 return service.getClient();
236 Log.w(TAG, "Proxy not attached to service");
245 * currently connected to the Sap service.
251 final IBluetoothSap service = mService;
252 if (service != null) {
254 return service.isConnected(device);
259 Log.w(TAG, "Proxy not attached to service");
285 final IBluetoothSap service = mService;
286 if (service != null && isEnabled() && isValidDevice(device)) {
288 return service.disconnect(device);
294 if (service == null) Log.w(TAG, "Proxy not attached to service");
306 final IBluetoothSap service = mService;
307 if (service != null && isEnabled()) {
309 return service.getConnectedDevices();
315 if (service == null) Log.w(TAG, "Proxy not attached to service");
327 final IBluetoothSap service = mService;
328 if (service != null && isEnabled()) {
330 return service.getDevicesMatchingConnectionStates(states);
336 if (service == null) Log.w(TAG, "Proxy not attached to service");
348 final IBluetoothSap service = mService;
349 if (service != null && isEnabled() && isValidDevice(device)) {
351 return service.getConnectionState(device);
357 if (service == null) Log.w(TAG, "Proxy not attached to service");
373 final IBluetoothSap service = mService;
374 if (service != null && isEnabled() && isValidDevice(device)) {
380 return service.setPriority(device, priority);
386 if (service == null) Log.w(TAG, "Proxy not attached to service");
399 final IBluetoothSap service = mService;
400 if (service != null && isEnabled() && isValidDevice(device)) {
402 return service.getPriority(device);
408 if (service == null) Log.w(TAG, "Proxy not attached to service");
413 public void onServiceConnected(ComponentName className, IBinder service) {
415 mService = IBluetoothSap.Stub.asInterface(Binder.allowBlocking(service));