summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/OobData.java
AgeCommit message (Collapse)Author
2021-06-17Fix NPE in loggingMartin Brabham
Bug: 191268917 Test: Manual test app, log OobData Tag: #stability Change-Id: I975722642298cb580081de9a324302d7a3282d3c
2021-06-14Update nullability checks to use Objects#requireNonNullRahul Sabnis
instead of deprecated method in Preconditions class Tag: #feature Bug: 190767948 Test: Manual Merged-In: Ie7f7282b89c13f587fdfe1bf3288eb4a3c7dcc6e Change-Id: Ie7f7282b89c13f587fdfe1bf3288eb4a3c7dcc6e
2021-04-26OOB: Remove static creator methods in favor of public constructorsMartin Brabham
Bug: 184370881 Tag: #feature Test: Manual compile Change-Id: I502cdf5adde324b7a41cfb6974f0b43b0064a911
2021-04-13Bluetooth OOB: Fix getLeAppearanceHansong Zhang
Bug: 185196125 Test: Use OOB pairing Change-Id: I1cb1c33b0b17f2fd242f6579844996c2ccf09e62
2021-03-16Fix CTS FailureMartin Brabham
Bug: 182849735 Test: atest CtsSystemApiAnnotationTestCases:android.signature.cts.api.AnnotationTest#testAnnotation -- --abi x86_64 Change-Id: I1b9e77b05cd23299bf179c854e136fa341c81566
2021-03-16Bluetooth: Modify and append to the Out-of-Band APIMartin Brabham
- Modify createOutOfBand to be a SystemApi, and accept p192 and p256 data objects. - Modify OobData to become a SystemApi and to provide a Builder pattern for creation. CTS-Coverage-Bug: 182420103 Bug: 178007935 Test: compiles and runs Tag: #feature Change-Id: I46aec8c2cb64a8da8957d01d32b879d60df7a31c Merged-In: I46aec8c2cb64a8da8957d01d32b879d60df7a31c
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-11-10BLE OOB Pairing - parse address type (5/5)Jakub Pawlowski
When address type is not parsed, creating bond to devices not using random address is impossible. Bug: 32780409 Test: try pairing with nRF52DK using random address Change-Id: Ie6cc1f8c008d43b2acd021b47f9bbfb1f63472e8
2016-08-11resolve merge conflicts of 3d98b60 to stage-aosp-masterJakub Pawlowski
Change-Id: I71e3bd497dbdc0b3f297ad311620aa77bf7225ac
2016-08-11Add LE Secure Connection data parsing (1/4)Jakub Pawlowski
Bug: 30460956 Change-Id: I8d6e721b3b04f5ca9e3e02f7f2b90487482e1b37
2016-04-19OobData documentationJakub Pawlowski
Bug: 27385555 Change-Id: Ie290914e4d2b9378c6dff3ae14d96d6f8b13ab9d
2016-03-01Sometimes to step forward, we need to go back. [2/2]Jeff Sharkey
Change-Id: Iccabb95530a6e3c3950cb9a8dfe84e75354d2f5f
2016-03-01Sometimes to step forward, we need to go back. [1/2]Jeff Sharkey
Change-Id: Ibff95298dc2e6c09675018ad0c45506589b6312a
2016-03-01Hide android.bluetooth.OobDataJakub Pawlowski
Bug: 27385555 Change-Id: I1767909ca17b1b23a2f23ea4a5b4a02cc52eecde
2016-02-29Parcelable classes should always be final.Jeff Sharkey
Also hide ConnectivityMetricsEvent which isn't being used yet. Bug: 27415331 Change-Id: Iacdccddda504f3f669185f807b4f35b8dc2b0212
2016-02-03Implementation of BluetoothDevice.createBondOutOfBandJakub Pawlowski
This patch implements out of band pairing that uses optional data. Currently, it works only for LE transport, using Temporary Key value. In the future fields might be added to OOBData to support other options for optional data. Change-Id: I0811182efb72ac5f80521ed4876b32603cb628c1
2016-01-15Implementation of BluetoothDevice.createBondOutOfBandJakub Pawlowski
This patch implements out of band pairing that uses optional data. Currently, it works only for LE transport, using Temporary Key value. In the future fields might be added to OOBData to support other options for optional data. Change-Id: I0811182efb72ac5f80521ed4876b32603cb628c1