summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/le/PeriodicAdvertisingParameters.java
AgeCommit message (Collapse)Author
2021-03-03Fix comment typo in PeriodicAdvertisingParametersJakub Pawlowski
Bug: 176967118 Test: m ds-docs-java Exempt-From-Owner-Approval: Docs-only change Change-Id: I1777ca23ba6f395eeb2ec98b970ccbf920661663
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
2017-05-10Bluetooth: Fix Periodic Adv interval checkSunny Kapdi
The MIN and MAX values need to be swapped else the parameter check in setInterval would always fail Bug: 37579882 Change-Id: I48538c2a61be88caaf04abd94074b3d9eb6dde96
2017-04-11Remove enable from PeriodicAdvertisingPariameters (1/2)Jakub Pawlowski
Instead of setting enable to true, one can just pass null PeriodicAdvertisingParameters and achieve same result when starting the set. Passing the "enable" when updating the parameters make no sense, and might be confusing. Experience with "timeout" field, which was a part of AdvertiseSettings show that merging fields that go into different HCI commands can cause problems during processing, so keep enable as separate field. Test: manual Bug: 30622771 Change-Id: Ida02c59eb8433537179b4d22202fe745f8b4bb3e
2017-03-28Bluetooth API spelling fixes ("wether" -> "whether")Jakub Pawlowski
Bug: 30622771 Test: manual Change-Id: I01c8b18d0057f2fd6e477ce2ca0b779321b6c0e6
2017-03-08Bluetooth 5 Advertising APIJakub Pawlowski
Test: manual Bug: 30622771 Change-Id: Id6856e6110872ec50ff1af54ddc75c0104a6459c (cherry picked from commit 5324a14cf490656269ef862d7f8f6b139a21c0e6)