Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:service

66                             Log.d(TAG, "Unbinding service...");
81 Log.d(TAG, "Binding service...");
120 Log.e(TAG, "Could not bind to Bluetooth PBAP Client Service with " + intent);
135 * Close the connection to the backing service.
176 final IBluetoothPbapClient service = mService;
177 if (service != null && isEnabled() && isValidDevice(device)) {
179 return service.connect(device);
185 if (service == null) {
186 Log.w(TAG, "Proxy not attached to service");
201 final IBluetoothPbapClient service = mService;
202 if (service != null && isEnabled() && isValidDevice(device)) {
204 service.disconnect(device);
211 if (service == null) {
212 Log.w(TAG, "Proxy not attached to service");
228 final IBluetoothPbapClient service = mService;
229 if (service != null && isEnabled()) {
231 return service.getConnectedDevices();
237 if (service == null) {
238 Log.w(TAG, "Proxy not attached to service");
253 final IBluetoothPbapClient service = mService;
254 if (service != null && isEnabled()) {
256 return service.getDevicesMatchingConnectionStates(states);
262 if (service == null) {
263 Log.w(TAG, "Proxy not attached to service");
278 final IBluetoothPbapClient service = mService;
279 if (service != null && isEnabled() && isValidDevice(device)) {
281 return service.getConnectionState(device);
287 if (service == null) {
288 Log.w(TAG, "Proxy not attached to service");
294 public void onServiceConnected(ComponentName className, IBinder service) {
298 mService = IBluetoothPbapClient.Stub.asInterface(Binder.allowBlocking(service));
348 final IBluetoothPbapClient service = mService;
349 if (service != null && isEnabled() && isValidDevice(device)) {
355 return service.setPriority(device, priority);
361 if (service == null) {
362 Log.w(TAG, "Proxy not attached to service");
381 final IBluetoothPbapClient service = mService;
382 if (service != null && isEnabled() && isValidDevice(device)) {
384 return service.getPriority(device);
390 if (service == null) {
391 Log.w(TAG, "Proxy not attached to service");