Age | Commit message (Collapse) | Author |
|
Bug: 159363165
Tag: #feature
Test: called the API in test app, verified advertisement content
Change-Id: I92fe0671717bda2de1be3ff022713133ad681ab6
|
|
am: 0a328d9fe2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1563681
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6cad0419179b893a4b936ec03bc2f3ab9a92e5c5
|
|
Bug: 152525509
Test: make checkapi
Change-Id: Ia400cb2bda55b26594bc3a253612583134294edb
|
|
Those annotations could be inferred by some tools (like Kotlin), but the
https://checkerframework.org/ doesn't check inherited annotations
complaining about all equals() invocations that get nullable argument.
The change was generated by running
find . -name \*.java | xargs sed -i 's/public boolean equals(Object /public boolean equals(@Nullable Object /'
in the frameworks/base directory and by automatically adding and
formatting required imports if needed. No manual edits.
Bug: 170883422
Test: Annotation change only. Should have not impact.
Exempt-From-Owner-Approval: Mechanical change not specific to any component.
Change-Id: I5eedb571c9d78862115dfdc5dae1cf2a35343580
|
|
Bug: 159827149
Tag: #feature
Test: called the API in test app, verified advertisement content
Change-Id: I3ab43e39bb7fd8fef97e141eeb981419aa3ec35a
|
|
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
|
|
* 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
|
|
* Automatic style corrections through IDE
Bug: 63596319
Test: make checkbuild, no manual changes, no functional changes
Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
|
|
Use writeTypedArray instead of writeList - this will not serialize
string with type name, which is unnecessary
Use createByteArray instead of readByteArra - it takes care of null and
empty array handling
Test: sl4a FilteringTest, BleAdvertiseApiTest
Change-Id: I6a22674a0bf9933e39691de7f2b2b52a060ae368
|
|
Also moved bluetooth state check to common utils class.
Bug:17364837
Change-Id: I25ff7afae723d47f701236d5a68eab8015de9bbb
|
|
b/17006825.
Change-Id: Iee64b11920152e0ab3da54decf37fa4a83be5dc7
|
|
This reverts commit 14c797702543bb5ced989565d90abcfa55c7db46.
|
|
This reverts commit 26dc9b99b17ca9d8ce3632c48e8b6c1450ee53e9.
Change-Id: I1846d0a6491c5b2ba5905411bd98f5d17909b705
|
|
b/16635899
Change-Id: I73f1f4effd3f0e38cd427297eb9d22f3ba285d61
|
|
This will keep AdvertiseData simple and avoid coupling with
BluetoothAdapter.
Change-Id: I3609652bdea1c6e757bac7d2dada7f8ddf20a5e3
|
|
b/16490816
Change-Id: If26a4731f22e83df4f5ded2ad76901de6c49a010
|
|
Changed include:
1) Add serviceDataUuid to filter so it matches sanRecord and
AdvertiseData.
2) Add raw bytes to ScanRecord and make ScanResult take a ScanRecord
instead of raw bytes.
3) Change from setServiceUuid(List) to addServiceUuid(ParcelUuid).
4) Added include device name
5) Removed service not registered and added ADVERTISE_DATA_TOO_LARGE.
6) Fixed a few comments.
Change-Id: Ibbe07183b1293835c4a84728d1cd2d61e5d627d3
|
|
Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
|