summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothActivityEnergyInfo.java
AgeCommit message (Collapse)Author
2021-10-26Renamed getTimeStamp to getTimestampMillis and added docs.Etienne Ruffieux
Tag: #feature Test: Manual Bug: 204179568 Change-Id: Ibea9f98eb25447e7ca3a07310615d14caf2c8aa1
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-04-15BatteryStats: Introduce Async external stats requestsAdam Lesinski
Instead of calling out to external processes with a blocking IPC, pass along a Binder on which the external process can pass back the response. The calling process can then wait for the reply with a timeout. This eliminates watchdog restarts of the system_server when an external process like telephony or bluetooth hangs. Bug:26842468 Change-Id: I1b242e4ed22a63f1a4a0be8c78de8ac4d7bf56c5
2016-01-18Record bytes transferred for bluetoothAdam Lesinski
Bug:26039657 Change-Id: Iec42459d12f4106d5733f55313e8544d58930285
2015-06-15Bluetooth energy: fix overflow in calculationAdam Lesinski
Use longs instead of ints, because the energy values can get pretty high. Change-Id: I43e696ad9e5965c2e616b11920db5bfae5db1671
2015-03-09Change WiFi and Bluetooth ActivityEnergyInfo classesAdam Lesinski
Have them take an elapsed time millis timestamp instead of having the constructor call System.currentTimeMillis. Change-Id: Ic9ca8f92347c336beee8ebcc3407de2c1e5b4073
2014-07-23Bug 15564216: Report Bluetooth tx/rx/idle activity info and energy reportingPrerepa Viswanadham
Change-Id: I66fd83d8d59fbd93dec8886dfd313a81575e38a5