Lines Matching refs:mService

271     private IBluetoothHeadset mService;
284 if (mService == null) {
328 if (mService != null) {
384 if (mService != null && isEnabled() &&
387 return mService.connect(device);
393 if (mService == null) Log.w(TAG, "Proxy not attached to service");
425 if (mService != null && isEnabled() &&
428 return mService.disconnect(device);
434 if (mService == null) Log.w(TAG, "Proxy not attached to service");
443 if (mService != null && isEnabled()) {
445 return mService.getConnectedDevices();
451 if (mService == null) Log.w(TAG, "Proxy not attached to service");
460 if (mService != null && isEnabled()) {
462 return mService.getDevicesMatchingConnectionStates(states);
468 if (mService == null) Log.w(TAG, "Proxy not attached to service");
477 if (mService != null && isEnabled() &&
480 return mService.getConnectionState(device);
486 if (mService == null) Log.w(TAG, "Proxy not attached to service");
507 if (mService != null && isEnabled() &&
514 return mService.setPriority(device, priority);
520 if (mService == null) Log.w(TAG, "Proxy not attached to service");
539 if (mService != null && isEnabled() &&
542 return mService.getPriority(device);
548 if (mService == null) Log.w(TAG, "Proxy not attached to service");
575 if (mService != null && isEnabled() &&
578 return mService.startVoiceRecognition(device);
583 if (mService == null) Log.w(TAG, "Proxy not attached to service");
599 if (mService != null && isEnabled() &&
602 return mService.stopVoiceRecognition(device);
607 if (mService == null) Log.w(TAG, "Proxy not attached to service");
622 if (mService != null && isEnabled() &&
625 return mService.isAudioConnected(device);
630 if (mService == null) Log.w(TAG, "Proxy not attached to service");
650 if (mService != null && isEnabled() &&
653 return mService.getBatteryUsageHint(device);
658 if (mService == null) Log.w(TAG, "Proxy not attached to service");
681 if (mService != null && isEnabled()) {
683 return mService.acceptIncomingConnect(device);
698 if (mService != null) {
700 return mService.rejectIncomingConnect(device);
717 if (mService != null && !isDisabled()) {
719 return mService.getAudioState(device);
741 if (mService != null && isEnabled()) {
743 mService.setAudioRouteAllowed(allowed);
759 if (mService != null && isEnabled()) {
761 return mService.getAudioRouteAllowed();
781 if (mService != null && isEnabled()) {
783 return mService.isAudioOn();
788 if (mService == null) Log.w(TAG, "Proxy not attached to service");
803 if (mService != null && isEnabled()) {
805 return mService.connectAudio();
826 if (mService != null && isEnabled()) {
828 return mService.disconnectAudio();
852 if (mService != null && isEnabled() && isValidDevice(device)) {
854 return mService.startScoUsingVirtualVoiceCall(device);
875 if (mService != null && isEnabled() && isValidDevice(device)) {
877 return mService.stopScoUsingVirtualVoiceCall(device);
898 if (mService != null && isEnabled()) {
900 mService.phoneStateChanged(numActive, numHeld, callState, number, type);
917 if (mService != null && isEnabled()) {
919 mService.clccResponse(index, direction, status, mode, mpty, number, type);
955 if (mService != null && isEnabled() &&
958 return mService.sendVendorSpecificResultCode(device, command, arg);
963 if (mService == null) {
978 if (mService != null && isEnabled()) {
980 return mService.enableWBS();
1000 if (mService != null && isEnabled()) {
1002 return mService.disableWBS();
1036 if (mService != null && isEnabled()) {
1038 mService.bindResponse(ind_id, ind_status);
1053 mService = IBluetoothHeadset.Stub.asInterface(Binder.allowBlocking(service));
1060 mService = null;