Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:service

36  * Public API for controlling the Bluetooth Pbap Service. This includes
39 * Service via IPC.
42 * BluetoothPbap service. Users of this object should call close() when they
44 * from the service.
47 * BluetoothPbap service. Use the ServiceListener interface to obtain a
93 * been connected to the BluetoothPbap service.
98 * connected to the BluetoothPbap service. Clients must wait for
100 * service.
106 * disconnected from the BluetoothPbap service. Clients must not
107 * make IPC calls on the BluetoothPbap service after this callback.
109 * the BluetoothPbap service, but may be called more often in future.
119 log("Unbinding service...");
132 log("Binding service...");
167 Log.e(TAG, "Could not bind to Bluetooth Pbap Service with " + intent);
182 * Close the connection to the backing service.
216 final IBluetoothPbap service = mService;
217 if (service == null) {
218 Log.w(TAG, "Proxy not attached to service");
222 return service.getConnectedDevices();
235 final IBluetoothPbap service = mService;
236 if (service == null) {
237 Log.w(TAG, "Proxy not attached to service");
241 return service.getConnectionState(device);
254 final IBluetoothPbap service = mService;
255 if (service == null) {
256 Log.w(TAG, "Proxy not attached to service");
260 return service.getDevicesMatchingConnectionStates(states);
270 * object is not currently connected to the Pbap service.
280 * not currently connected to the Pbap service.
283 // TODO: Must specify target device. Implement this in the service.
286 final IBluetoothPbap service = mService;
287 if (service == null) {
288 Log.w(TAG, "Proxy not attached to service");
292 service.disconnect(device);
301 public void onServiceConnected(ComponentName className, IBinder service) {
303 mService = IBluetoothPbap.Stub.asInterface(service);