Lines Matching refs:mService

371     private IBluetoothHeadsetClient mService;
383 mService = null;
392 if (mService == null) {
456 if (mService != null) {
458 mService = null;
483 if (mService != null && isEnabled() &&
486 return mService.connect(device);
492 if (mService == null) Log.w(TAG, "Proxy not attached to service");
507 if (mService != null && isEnabled() &&
510 return mService.disconnect(device);
516 if (mService == null) Log.w(TAG, "Proxy not attached to service");
528 if (mService != null && isEnabled()) {
530 return mService.getConnectedDevices();
536 if (mService == null) Log.w(TAG, "Proxy not attached to service");
551 if (mService != null && isEnabled()) {
553 return mService.getDevicesMatchingConnectionStates(states);
559 if (mService == null) Log.w(TAG, "Proxy not attached to service");
572 if (mService != null && isEnabled() &&
575 return mService.getConnectionState(device);
581 if (mService == null) Log.w(TAG, "Proxy not attached to service");
592 if (mService != null && isEnabled() &&
599 return mService.setPriority(device, priority);
605 if (mService == null) Log.w(TAG, "Proxy not attached to service");
614 if (mService != null && isEnabled() &&
617 return mService.getPriority(device);
623 if (mService == null) Log.w(TAG, "Proxy not attached to service");
642 if (mService != null && isEnabled() &&
645 return mService.startVoiceRecognition(device);
650 if (mService == null) Log.w(TAG, "Proxy not attached to service");
669 if (mService != null && isEnabled() &&
672 return mService.stopVoiceRecognition(device);
677 if (mService == null) Log.w(TAG, "Proxy not attached to service");
689 if (mService != null && isEnabled() &&
692 return mService.getCurrentCalls(device);
697 if (mService == null) Log.w(TAG, "Proxy not attached to service");
710 if (mService != null && isEnabled() &&
713 return mService.getCurrentAgEvents(device);
718 if (mService == null) Log.w(TAG, "Proxy not attached to service");
736 if (mService != null && isEnabled() &&
739 return mService.acceptCall(device, flag);
744 if (mService == null) Log.w(TAG, "Proxy not attached to service");
759 if (mService != null && isEnabled() &&
762 return mService.holdCall(device);
767 if (mService == null) Log.w(TAG, "Proxy not attached to service");
786 if (mService != null && isEnabled() &&
789 return mService.rejectCall(device);
794 if (mService == null) Log.w(TAG, "Proxy not attached to service");
818 if (mService != null && isEnabled() &&
821 return mService.terminateCall(device, call);
826 if (mService == null) Log.w(TAG, "Proxy not attached to service");
848 if (mService != null && isEnabled() &&
851 return mService.enterPrivateMode(device, index);
856 if (mService == null) Log.w(TAG, "Proxy not attached to service");
877 if (mService != null && isEnabled() &&
880 return mService.explicitCallTransfer(device);
885 if (mService == null) Log.w(TAG, "Proxy not attached to service");
903 if (mService != null && isEnabled() &&
906 return mService.dial(device, number);
911 if (mService == null) Log.w(TAG, "Proxy not attached to service");
928 if (mService != null && isEnabled() &&
931 return mService.sendDTMF(device, code);
936 if (mService == null) Log.w(TAG, "Proxy not attached to service");
955 if (mService != null && isEnabled() &&
958 return mService.getLastVoiceTagNumber(device);
963 if (mService == null) Log.w(TAG, "Proxy not attached to service");
974 if (mService != null && isEnabled()) {
976 return mService.getAudioState(device);
994 if (mService != null && isEnabled()) {
996 mService.setAudioRouteAllowed(device, allowed);
1012 if (mService != null && isEnabled()) {
1014 return mService.getAudioRouteAllowed(device);
1035 if (mService != null && isEnabled()) {
1037 return mService.connectAudio(device);
1060 if (mService != null && isEnabled()) {
1062 return mService.disconnectAudio(device);
1081 if (mService != null && isEnabled()) {
1083 return mService.getCurrentAgFeatures(device);
1099 mService = IBluetoothHeadsetClient.Stub.asInterface(Binder.allowBlocking(service));
1109 mService = null;