Age | Commit message (Collapse) | Author |
|
Change-Id: Ibe4916c42b096976ac917991cf0c73f02512f3d4
|
|
Change-Id: I202f5093bbd13b381ea11f969fee6154ba91fa11
|
|
BLE scan time optimization to reduce scan latency:
1)Reduce scan interval and window for low power, balanced and ambient scan modes. Balanced and ambient modes now have effectively the same settings.
2)Add screen off and screen off balanced modes with longer interval for the internal use.
3)For regular apps:
Foregroud: original scan mode.
Background + screen on: low power mode.
Screen off: screen off mode.
For foreground service:
Screen on: original scan mode.
Scree off: fall back to screen off/screen off balanced mode unless it
requests low latency mode.
4)When App requests a new scan without recent request, its scan mode is
upgraded temporarily for 6 seconds (configurable).
Tag: #feature
Bug: 214595841
Test: Run scan in low power, low latency and balanced scan modes with filtered and unfiltered settings both continuously and periodically.
Make sure the scan mode is set correctly during screen on/off transition and background/foreground transition.
Tested with multiple scan clients from both test app and other service apps.
Change-Id: I291a1a80f24d431b681aae485692241dfb474c5a
|
|
Tag: #feature
Bug: 167340030
Test: Manual
Change-Id: Ieeb0e6bccfc316fd4c8cdc40f6865b4185d6d9e8
|
|
Tag: #feature
Bug: 167340030
Test: Manual
Change-Id: Ieeb0e6bccfc316fd4c8cdc40f6865b4185d6d9e8
|
|
Bug: 177466875
Test: manual
Change-Id: I4a5c8a0768903ef0838dcf55cf5cfba9a0a18eef
|
|
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
|
|
SCAN_MODE_LOW_POWER is enforced for applications running
in background.
Test: BLE scanning applications.
BUG: 38198694
BUG: 62491228
Change-Id: Ib2b6c297298e05f1b088411e94cfe4789dde0821
|
|
* 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
|
|
Having PHY_LE_* constants defined in four different places, with one
value being different than others is misleading. Leave just PHY_LE_*
definitions in BluetoothDevice, and add PHY_LE*_MASK for the mask used
in PHY update API.
This patch also removes need to translate PHY value between PHY update
request and event, as mask is used for request, and the value is
returned in event.
Bug: 30622771
Test: manual
Change-Id: I897effa1204a024465d55501c83c542566c4d37c
|
|
Bug: 30622771
Test: manual
Change-Id: I2c8065fbcedf48777ce18c7d8fe621e568b3fd75
(cherry picked from commit 9de522c6e48497028d36a1f8ad8f8adf4b7b1ae6)
|
|
Bug: 21304922
Change-Id: I27ed4f3e00ac13354e3ef75e5686916be0d10918
|
|
|
|
Change-Id: I36e6effe8063bacddd61fe2c47c0360d7ffaee71
|
|
Change-Id: Ia65a7a0ec98d0181cf62db343e00c4a0b01c32d8
|
|
Change-Id: I455124478d953d652f216f71d5813782fc9633ab
|
|
Change-Id: I5475cb21183abab8cf04af486ff7692396801b92
Signed-off-by: Prerepa Viswanadham <dham@google.com>
|
|
Change-Id: I47da0f7e385f0a72815e493852283a44370aa1ce
|
|
Bug: 19003667
Change-Id: Ibed7e9ec604cb11a58736d168d3d19ece53fc77a
(cherry picked from commit 7508ddf8b53bf350a3424ef71f1ce62ea17006b8)
|
|
b/17006825.
Change-Id: Iee64b11920152e0ab3da54decf37fa4a83be5dc7
|
|
b/16318637.
Change-Id: I3fbc1212c1712faa0c29132f3dc9cfc1d58af26b
|
|
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
|
|
Change-Id: I23473b18484f041c4dd808c85bb92545a77e20c2
|
|
Change-Id: Ibb527280a221fbdd0fc6b805a7527c29079294b4
|
|
1. Moved le stuff to it's subpackage. Remove BluetoothLe for all classes
except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings.
2. Make all callbacks abstract classes instead of interfaces.
3. Moved AdvertisementData and ScanRecord out and removed
AdvertiseBaseData
4. Removed newBuild and use new Builder for all builders.
5. Using setxxx in builders.
6. Misc other changes.
Fixes b/15140940
Change-Id: I32ae3d24a9491baf96048040b5ac78f6f731e468
NO_SQ: multi-project submit
|