Loading core/java/android/bluetooth/BluetoothGatt.java +0 −16 Original line number Diff line number Diff line Loading @@ -51,7 +51,6 @@ public final class BluetoothGatt implements BluetoothProfile { private int mConnState; private final Object mStateLock = new Object(); private Boolean mDeviceBusy = false; private Boolean mIsCongested = false; private int mTransport; private static final int CONN_STATE_IDLE = 0; Loading Loading @@ -607,21 +606,6 @@ public final class BluetoothGatt implements BluetoothProfile { Log.w(TAG, "Unhandled exception in callback", ex); } } /** * Callback indicating the remote device connection is congested. * @hide */ public void onConnectionCongested(String address, boolean congested) { if (DBG) Log.d(TAG, "onConnectionCongested() - Device=" + address + " congested=" + congested); if (!address.equals(mDevice.getAddress())) return; try { mIsCongested = congested; } catch (Exception ex) { Log.w(TAG, "Unhandled exception in callback", ex); } } }; /*package*/ BluetoothGatt(Context context, IBluetoothGatt iGatt, BluetoothDevice device, Loading core/java/android/bluetooth/BluetoothGattCallbackWrapper.java +0 −4 Original line number Diff line number Diff line Loading @@ -119,10 +119,6 @@ public class BluetoothGattCallbackWrapper extends IBluetoothGattCallback.Stub { public void onConfigureMTU(String address, int mtu, int status) throws RemoteException { } @Override public void onConnectionCongested(String address, boolean congested) throws RemoteException { } @Override public void onFoundOrLost(boolean onFound, ScanResult scanResult) throws RemoteException { } Loading core/java/android/bluetooth/BluetoothGattServer.java +0 −19 Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ public final class BluetoothGattServer implements BluetoothProfile { private BluetoothAdapter mAdapter; private IBluetoothGatt mService; private BluetoothGattServerCallback mCallback; private Boolean mIsCongested = false; private Object mServerIfLock = new Object(); private int mServerIf; Loading Loading @@ -285,24 +284,6 @@ public final class BluetoothGattServer implements BluetoothProfile { Log.w(TAG, "Unhandled exception: " + ex); } } /** * Callback indicating the remote device connection is congested. * @hide */ public void onConnectionCongested(String address, boolean congested) { if (DBG) Log.d(TAG, "onConnectionCongested() - Device=" + address + " congested=" + congested); BluetoothDevice device = mAdapter.getRemoteDevice(address); if (device == null) return; try { mIsCongested = congested; } catch (Exception ex) { Log.w(TAG, "Unhandled exception in callback", ex); } } }; /** Loading core/java/android/bluetooth/IBluetoothGattCallback.aidl +0 −1 Original line number Diff line number Diff line Loading @@ -68,6 +68,5 @@ oneway interface IBluetoothGattCallback { void onMultiAdvertiseCallback(in int status, boolean isStart, in AdvertiseSettings advertiseSettings); void onConfigureMTU(in String address, in int mtu, in int status); void onConnectionCongested(in String address, in boolean congested); void onFoundOrLost(in boolean onFound, in ScanResult scanResult); } core/java/android/bluetooth/IBluetoothGattServerCallback.aidl +0 −1 Original line number Diff line number Diff line Loading @@ -59,5 +59,4 @@ oneway interface IBluetoothGattServerCallback { in byte[] value); void onExecuteWrite(in String address, in int transId, in boolean execWrite); void onNotificationSent(in String address, in int status); void onConnectionCongested(in String address, in boolean congested); } Loading
core/java/android/bluetooth/BluetoothGatt.java +0 −16 Original line number Diff line number Diff line Loading @@ -51,7 +51,6 @@ public final class BluetoothGatt implements BluetoothProfile { private int mConnState; private final Object mStateLock = new Object(); private Boolean mDeviceBusy = false; private Boolean mIsCongested = false; private int mTransport; private static final int CONN_STATE_IDLE = 0; Loading Loading @@ -607,21 +606,6 @@ public final class BluetoothGatt implements BluetoothProfile { Log.w(TAG, "Unhandled exception in callback", ex); } } /** * Callback indicating the remote device connection is congested. * @hide */ public void onConnectionCongested(String address, boolean congested) { if (DBG) Log.d(TAG, "onConnectionCongested() - Device=" + address + " congested=" + congested); if (!address.equals(mDevice.getAddress())) return; try { mIsCongested = congested; } catch (Exception ex) { Log.w(TAG, "Unhandled exception in callback", ex); } } }; /*package*/ BluetoothGatt(Context context, IBluetoothGatt iGatt, BluetoothDevice device, Loading
core/java/android/bluetooth/BluetoothGattCallbackWrapper.java +0 −4 Original line number Diff line number Diff line Loading @@ -119,10 +119,6 @@ public class BluetoothGattCallbackWrapper extends IBluetoothGattCallback.Stub { public void onConfigureMTU(String address, int mtu, int status) throws RemoteException { } @Override public void onConnectionCongested(String address, boolean congested) throws RemoteException { } @Override public void onFoundOrLost(boolean onFound, ScanResult scanResult) throws RemoteException { } Loading
core/java/android/bluetooth/BluetoothGattServer.java +0 −19 Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ public final class BluetoothGattServer implements BluetoothProfile { private BluetoothAdapter mAdapter; private IBluetoothGatt mService; private BluetoothGattServerCallback mCallback; private Boolean mIsCongested = false; private Object mServerIfLock = new Object(); private int mServerIf; Loading Loading @@ -285,24 +284,6 @@ public final class BluetoothGattServer implements BluetoothProfile { Log.w(TAG, "Unhandled exception: " + ex); } } /** * Callback indicating the remote device connection is congested. * @hide */ public void onConnectionCongested(String address, boolean congested) { if (DBG) Log.d(TAG, "onConnectionCongested() - Device=" + address + " congested=" + congested); BluetoothDevice device = mAdapter.getRemoteDevice(address); if (device == null) return; try { mIsCongested = congested; } catch (Exception ex) { Log.w(TAG, "Unhandled exception in callback", ex); } } }; /** Loading
core/java/android/bluetooth/IBluetoothGattCallback.aidl +0 −1 Original line number Diff line number Diff line Loading @@ -68,6 +68,5 @@ oneway interface IBluetoothGattCallback { void onMultiAdvertiseCallback(in int status, boolean isStart, in AdvertiseSettings advertiseSettings); void onConfigureMTU(in String address, in int mtu, in int status); void onConnectionCongested(in String address, in boolean congested); void onFoundOrLost(in boolean onFound, in ScanResult scanResult); }
core/java/android/bluetooth/IBluetoothGattServerCallback.aidl +0 −1 Original line number Diff line number Diff line Loading @@ -59,5 +59,4 @@ oneway interface IBluetoothGattServerCallback { in byte[] value); void onExecuteWrite(in String address, in int transId, in boolean execWrite); void onNotificationSent(in String address, in int status); void onConnectionCongested(in String address, in boolean congested); }