Lines Matching refs:mService
38 private BluetoothInputDevice mService;
56 mService = (BluetoothInputDevice) proxy;
58 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
102 if (mService == null) return false;
103 return mService.connect(device);
107 if (mService == null) return false;
108 return mService.disconnect(device);
112 if (mService == null) {
115 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
118 ? mService.getConnectionState(device)
123 if (mService == null) return false;
124 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF;
128 if (mService == null) return BluetoothProfile.PRIORITY_OFF;
129 return mService.getPriority(device);
133 if (mService == null) return;
135 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) {
136 mService.setPriority(device, BluetoothProfile.PRIORITY_ON);
139 mService.setPriority(device, BluetoothProfile.PRIORITY_OFF);
191 if (mService != null) {
194 mService);
195 mService = null;