Loading core/java/android/bluetooth/BluetoothHeadset.java +0 −20 Original line number Diff line number Diff line Loading @@ -682,26 +682,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return false; } /** * Send a AT command message to the headset. * @param device Remote Bluetooth Device * @param cmd The String to send. * @hide */ public void sendAtCommand(BluetoothDevice device, String command) { if (DBG) log("sendAtCommand()"); if (mService != null && isEnabled() && isValidDevice(device)) { try { mService.sendAtCommand(device, command); } catch (RemoteException e) { Log.e(TAG, e.toString()); } } else { Log.w(TAG, "Proxy not attached to service"); if (DBG) Log.d(TAG, Log.getStackTraceString(new Throwable())); } } private ServiceConnection mConnection = new ServiceConnection() { public void onServiceConnected(ComponentName className, IBinder service) { if (DBG) Log.d(TAG, "Proxy object connected"); Loading core/java/android/bluetooth/IBluetoothHeadset.aidl +0 −2 Original line number Diff line number Diff line Loading @@ -50,6 +50,4 @@ interface IBluetoothHeadset { boolean startScoUsingVirtualVoiceCall(in BluetoothDevice device); boolean stopScoUsingVirtualVoiceCall(in BluetoothDevice device); void sendAtCommand(in BluetoothDevice device, String urc); } Loading
core/java/android/bluetooth/BluetoothHeadset.java +0 −20 Original line number Diff line number Diff line Loading @@ -682,26 +682,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return false; } /** * Send a AT command message to the headset. * @param device Remote Bluetooth Device * @param cmd The String to send. * @hide */ public void sendAtCommand(BluetoothDevice device, String command) { if (DBG) log("sendAtCommand()"); if (mService != null && isEnabled() && isValidDevice(device)) { try { mService.sendAtCommand(device, command); } catch (RemoteException e) { Log.e(TAG, e.toString()); } } else { Log.w(TAG, "Proxy not attached to service"); if (DBG) Log.d(TAG, Log.getStackTraceString(new Throwable())); } } private ServiceConnection mConnection = new ServiceConnection() { public void onServiceConnected(ComponentName className, IBinder service) { if (DBG) Log.d(TAG, "Proxy object connected"); Loading
core/java/android/bluetooth/IBluetoothHeadset.aidl +0 −2 Original line number Diff line number Diff line Loading @@ -50,6 +50,4 @@ interface IBluetoothHeadset { boolean startScoUsingVirtualVoiceCall(in BluetoothDevice device); boolean stopScoUsingVirtualVoiceCall(in BluetoothDevice device); void sendAtCommand(in BluetoothDevice device, String urc); }