summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/UidTraffic.java
AgeCommit message (Collapse)Author
2021-10-21Adding @SystemApi annotation to Bluetooth energy stats.Etienne Ruffieux
Added @SystemApi annotation to BluetoothActivityEnergyInfo and UidTraffic getters for mainline compatibility. Replaced raw array by List. Deleted unused constructors. Tag: #feature Bug: 200201373 Test: Manual Change-Id: Id93215f48bf08d31ac269af9e064cf598f50b6d3
2019-02-28All Parcelable CREATOR fields are @NonNull.Jeff Sharkey
If they were null, then the Parcelable would fail to work. Bug: 126726802 Test: manual Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014 Exempt-From-Owner-Approval: Trivial API annotations
2017-08-24Fix checkstyle errors (2/2)Jack He
* 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
2017-08-24Fix checkstyle errors (1/2)Jack He
* Automatic style corrections through IDE Bug: 63596319 Test: make checkbuild, no manual changes, no functional changes Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
2016-01-18Record bytes transferred for bluetoothAdam Lesinski
Bug:26039657 Change-Id: Iec42459d12f4106d5733f55313e8544d58930285