Lines Matching defs:service

53  * Provides Bluetooth Health Device profile, as a service in
286 public BluetoothHealthDeathRecipient(HealthService service, BluetoothHealthAppConfiguration config) {
287 mService = service;
303 * Handlers for incoming service calls
331 HealthService service = getService();
332 if (service == null) return false;
333 return service.registerAppConfiguration(config, callback);
337 HealthService service = getService();
338 if (service == null) return false;
339 return service.unregisterAppConfiguration(config);
344 HealthService service = getService();
345 if (service == null) return false;
346 return service.connectChannelToSource(device, config);
351 HealthService service = getService();
352 if (service == null) return false;
353 return service.connectChannelToSink(device, config, channelType);
358 HealthService service = getService();
359 if (service == null) return false;
360 return service.disconnectChannel(device, config, channelId);
365 HealthService service = getService();
366 if (service == null) return null;
367 return service.getMainChannelFd(device, config);
371 HealthService service = getService();
372 if (service == null) return BluetoothHealth.STATE_DISCONNECTED;
373 return service.getHealthDeviceConnectionState(device);
377 HealthService service = getService();
378 if (service == null) return new ArrayList<BluetoothDevice> (0);
379 return service.getConnectedHealthDevices();
383 HealthService service = getService();
384 if (service == null) return new ArrayList<BluetoothDevice> (0);
385 return service.getHealthDevicesMatchingConnectionStates(states);