2992cd084cd5cfd9ef253c37ef269d6c75e7e144 |
|
23-Aug-2017 |
Jack He <siyuanh@google.com> |
Fix checkstyle errors (2/2) * Manual style corrections with IDE assistance * Variable name refactors are done through IDE * Corrected general style errors such as: - "final private var" -> "private final var" - "&&", "+", "||" should not be at the end of line - Non-static private variable should be like "mVar" - Private static variable should be like "sVar" - Code file should always end with newline - Inherited methods should be annotated with @Override and no @hide tags - Public methods should always have a JavaDoc entry - "int[] array" is preferred over "int array[]" - private methods should be accessed without "this." when there is no name collisions. - "boolean ? true : false" -> boolean - "boolean ? false : true" -> !boolean - "boolean == true" OR "boolean != false" -> boolean - "boolean != true" OR "boolean == false" -> !boolean Bug: 63596319 Test: make checkbuild, no functional changes Change-Id: Iabdc2be912a32dd63a53213d175cf1bfef268ccd
/frameworks/base/core/java/android/bluetooth/BluetoothHealthCallback.java
|
a355e5efaf45a534ee6437aa4bae7d30f18c0ec2 |
|
23-Aug-2017 |
Jack He <siyuanh@google.com> |
Fix checkstyle errors (1/2) * Automatic style corrections through IDE Bug: 63596319 Test: make checkbuild, no manual changes, no functional changes Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
/frameworks/base/core/java/android/bluetooth/BluetoothHealthCallback.java
|
83c6896cbf402623ef7d97f13ed65098df63429f |
|
11-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate some APIs with threading annotations Change-Id: I24bda29261cdecbe78b2529866624b9313ca5c03
/frameworks/base/core/java/android/bluetooth/BluetoothHealthCallback.java
|
eb9d34630f74d0260690287f2df57c0cd3d7ba1d |
|
01-Sep-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Make Bluetooth Health APIs public. Fix a few bugs: a) Pass a integer token to identify the channel. b) Close fds in case of errors. Change-Id: I2046787be5008769435f2f72a5bd67c19b749da0
/frameworks/base/core/java/android/bluetooth/BluetoothHealthCallback.java
|
fb658c72a3a76dac334c39070d1501a2575c1069 |
|
07-Jul-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Bluetooth Health APIs 1. Remove the check of configs in BluetoothHealth. This check is useless since BluetoothHealth is a proxy. 2. Add a wrapper and a callback class. We shouldn't expose Binder interfaces as public APIs. Change-Id: If62620b4251cf93f3f97d2fe63099e40fae7da4d
/frameworks/base/core/java/android/bluetooth/BluetoothHealthCallback.java
|