Lines Matching refs:mService
44 private BluetoothA2dp mService;
69 mService = (BluetoothA2dp) proxy;
70 mServiceWrapper = mWrapperFactory.getInstance(mService);
72 List<BluetoothDevice> deviceList = mService.getConnectedDevices();
123 if (mService == null) return new ArrayList<BluetoothDevice>(0);
124 return mService.getDevicesMatchingConnectionStates(
131 if (mService == null) return false;
139 mService.disconnect(sink);
142 return mService.connect(device);
146 if (mService == null) return false;
148 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON){
149 mService.setPriority(device, BluetoothProfile.PRIORITY_ON);
151 return mService.disconnect(device);
155 if (mService == null) {
158 return mService.getConnectionState(device);
162 if (mService == null) return false;
163 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF;
167 if (mService == null) return BluetoothProfile.PRIORITY_OFF;
168 return mService.getPriority(device);
172 if (mService == null) return;
174 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) {
175 mService.setPriority(device, BluetoothProfile.PRIORITY_ON);
178 mService.setPriority(device, BluetoothProfile.PRIORITY_OFF);
182 if (mService == null) return false;
183 List<BluetoothDevice> sinks = mService.getConnectedDevices();
185 if (mService.isA2dpPlaying(sinks.get(0))) {
228 mService.enableOptionalCodecs();
230 mService.disableOptionalCodecs();
290 if (mService != null) {
293 mService);
294 mService = null;