summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/UidTraffic.java
Commit message (Collapse)AuthorAgeFilesLines
* Migrating frameworks/base BT filesRoopa Sattiraju2022-01-171-126/+0
| | | | | | Bug: 206121418 Test: Compile Change-Id: Idb55371e9d678296fe46e5f4231ec2d12ec8b978
* Adding @SystemApi annotation to Bluetooth energy stats.Etienne Ruffieux2021-10-211-6/+23
| | | | | | | | | | | 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
* All Parcelable CREATOR fields are @NonNull.Jeff Sharkey2019-02-281-1/+1
| | | | | | | | | 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
* Fix checkstyle errors (2/2)Jack He2017-08-241-5/+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
* Fix checkstyle errors (1/2)Jack He2017-08-241-0/+1
| | | | | | | | * Automatic style corrections through IDE Bug: 63596319 Test: make checkbuild, no manual changes, no functional changes Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
* Record bytes transferred for bluetoothAdam Lesinski2016-01-181-0/+111
Bug:26039657 Change-Id: Iec42459d12f4106d5733f55313e8544d58930285