Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:service

36  * Service via IPC. Use {@link BluetoothAdapter#getProfileProxy} to get
92 if (VDBG) Log.d(TAG, "Unbinding service...");
105 if (VDBG) Log.d(TAG, "Binding service...");
118 * Bluetooth AVRCP service.
142 Log.e(TAG, "Could not bind to Bluetooth AVRCP Controller Service with " + intent);
182 final IBluetoothAvrcpController service = mService;
183 if (service != null && isEnabled()) {
185 return service.getConnectedDevices();
191 if (service == null) Log.w(TAG, "Proxy not attached to service");
201 final IBluetoothAvrcpController service = mService;
202 if (service != null && isEnabled()) {
204 return service.getDevicesMatchingConnectionStates(states);
210 if (service == null) Log.w(TAG, "Proxy not attached to service");
220 final IBluetoothAvrcpController service = mService;
221 if (service != null && isEnabled() && isValidDevice(device)) {
223 return service.getConnectionState(device);
229 if (service == null) Log.w(TAG, "Proxy not attached to service");
241 final IBluetoothAvrcpController service = mService;
242 if (service != null && isEnabled()) {
244 settings = service.getPlayerSettings(device);
246 Log.e(TAG, "Error talking to BT service in getMetadata() " + e);
259 final IBluetoothAvrcpController service = mService;
260 if (service != null && isEnabled()) {
262 return service.setPlayerApplicationSetting(plAppSetting);
264 Log.e(TAG, "Error talking to BT service in setPlayerApplicationSetting() " + e);
268 if (service == null) Log.w(TAG, "Proxy not attached to service");
279 final IBluetoothAvrcpController service = mService;
280 if (service != null && isEnabled()) {
282 service.sendGroupNavigationCmd(device, keyCode, keyState);
285 Log.e(TAG, "Error talking to BT service in sendGroupNavigationCmd()", e);
289 if (service == null) Log.w(TAG, "Proxy not attached to service");
293 public void onServiceConnected(ComponentName className, IBinder service) {
295 mService = IBluetoothAvrcpController.Stub.asInterface(Binder.allowBlocking(service));