OSDN Git Service
Hansong Zhang [Sat, 2 Feb 2019 04:58:12 +0000 (20:58 -0800)]
resolve merge conflicts of
ec78d74706c3e81f91eee53e3d9f959f66e5d77f to pi-dev am:
6c0f22f324
am:
35cfa7f0e3
Change-Id: I0c7ae0e569ac0792f5a46ab59b76ba59501a98d7
Hansong Zhang [Sat, 2 Feb 2019 04:54:07 +0000 (20:54 -0800)]
resolve merge conflicts of
ec78d74706c3e81f91eee53e3d9f959f66e5d77f to pi-dev
am:
6c0f22f324
Change-Id: Ic65233e9644f69567086a674b654f6a3b30b838e
Hansong Zhang [Sat, 2 Feb 2019 01:45:30 +0000 (17:45 -0800)]
resolve merge conflicts of
ec78d74706c3e81f91eee53e3d9f959f66e5d77f to pi-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id658b3485fdc0025bc44850be9f23bb2d2146d9b
Jack He [Fri, 1 Feb 2019 23:48:10 +0000 (15:48 -0800)]
Metrics: Add classic pairing metrics am:
16e6adb75b am:
d6479e3a78
am:
3b7c9348c7
Change-Id: Idba8bd83a65dc513c275812f54b830ab9a283bb2
Jack He [Fri, 1 Feb 2019 23:43:03 +0000 (15:43 -0800)]
Metrics: Add classic pairing metrics am:
16e6adb75b
am:
d6479e3a78
Change-Id: I3b14e5b204acaeb103fe21edd854416021e25298
Jack He [Fri, 1 Feb 2019 23:39:58 +0000 (15:39 -0800)]
Metrics: Add classic pairing metrics
am:
16e6adb75b
Change-Id: I79755761aa7236dda7b59791248b47a84bf111ad
Hansong Zhang [Fri, 1 Feb 2019 23:39:08 +0000 (15:39 -0800)]
Merge "process_l2cap_cmd: Fix OOB" into oc-dev am:
356edb4333
am:
82365b0e8d
Change-Id: I4f04fad60e84785f474390e473d2fcf19f66a044
Hansong Zhang [Fri, 1 Feb 2019 23:33:09 +0000 (15:33 -0800)]
Merge "process_l2cap_cmd: Fix OOB" into oc-dev
am:
356edb4333
Change-Id: I0e1800587513bdb39e0b6eff7e46254470ab2def
TreeHugger Robot [Fri, 1 Feb 2019 23:18:22 +0000 (23:18 +0000)]
Merge "process_l2cap_cmd: Fix OOB" into oc-dev
Jack He [Fri, 1 Feb 2019 01:44:46 +0000 (17:44 -0800)]
Metrics: Add classic pairing metrics
* Log HCI commands and events related to classic pairing
* Move all metrics logging for sending HCI command into a single
function
* Move all metrics logging for HCI command status into a single function
* Move all metrics logging for HCI Command complete into a single
function
* Move all metrics logging for HCI events into a single function
* Make sure we log all instances of HCI command sending methods,
including those with desinated callbacks
Bug:
112969790
Test: make, testdrive with statsd
Change-Id: I4b1ca4ee814096d84bcd93c8d7206b0a771a3210
Jack He [Fri, 1 Feb 2019 02:15:54 +0000 (18:15 -0800)]
Merge "Metrics: Log SMP pairing commands" am:
b11e36df28 am:
8c48ac2ccd
am:
0b2d003fe0
Change-Id: I43535971d4da1cddf1bd8636de20bb2f1cd74506
Jack He [Fri, 1 Feb 2019 02:11:49 +0000 (18:11 -0800)]
Merge "Metrics: Log SMP pairing commands" am:
b11e36df28
am:
8c48ac2ccd
Change-Id: I45d48dfda68c4ee6928b7bc1ea3731609406a072
Jack He [Fri, 1 Feb 2019 02:07:42 +0000 (18:07 -0800)]
Merge "Metrics: Log SMP pairing commands"
am:
b11e36df28
Change-Id: I7b20427bbec13e6a12cdc5a2a529480c9b6f5865
Treehugger Robot [Fri, 1 Feb 2019 01:57:35 +0000 (01:57 +0000)]
Merge "Metrics: Log SMP pairing commands"
Jack He [Thu, 31 Jan 2019 23:17:08 +0000 (15:17 -0800)]
Metrics: Log SMP pairing commands
* Log SMP pairing commands and pairing failure reasons
Bug:
112969790
Test: make, testdrive with statsd
Change-Id: I51ae2af981a687954f7de3cee3caacce43d782b6
weichinweng [Thu, 31 Jan 2019 22:50:03 +0000 (14:50 -0800)]
Merge "Hearing Aid: Removes all registrations for connection when disconnect HA" am:
221072caf0 am:
2488345077
am:
9559073ee2
Change-Id: I421a5faf3112a0f95aeb716f8ea01cb8669ca983
weichinweng [Thu, 31 Jan 2019 22:35:00 +0000 (14:35 -0800)]
Merge "Hearing Aid: Removes all registrations for connection when disconnect HA" am:
221072caf0
am:
2488345077
Change-Id: Ia9730692af1c79afda93d208779fcd8bbde2323c
weichinweng [Thu, 31 Jan 2019 22:26:50 +0000 (14:26 -0800)]
Merge "Hearing Aid: Removes all registrations for connection when disconnect HA"
am:
221072caf0
Change-Id: I83875ebb05219a9453ba03d2abf6cfb3386a0bb4
Treehugger Robot [Thu, 31 Jan 2019 22:15:48 +0000 (22:15 +0000)]
Merge "Hearing Aid: Removes all registrations for connection when disconnect HA"
Jakub Pawlowski [Thu, 31 Jan 2019 22:01:09 +0000 (14:01 -0800)]
Fix race condition during LE device remove bond. am:
552dc5aa3f am:
fff4478b8d
am:
5762e88266
Change-Id: I17927830e4406a7e9b7a1aec556e607bec182f58
Jakub Pawlowski [Thu, 31 Jan 2019 21:49:20 +0000 (13:49 -0800)]
Fix race condition during LE device remove bond. am:
552dc5aa3f
am:
fff4478b8d
Change-Id: I0ac9068dc2a773d34a8a3bbca18a76dd9a4754c5
Jakub Pawlowski [Thu, 31 Jan 2019 21:45:00 +0000 (13:45 -0800)]
Fix race condition during LE device remove bond.
am:
552dc5aa3f
Change-Id: If138f7c19d12a40bd4809a25705a839ec5cfe60f
Jakub Pawlowski [Thu, 17 Jan 2019 21:31:39 +0000 (22:31 +0100)]
Fix race condition during LE device remove bond.
BTA_GATTC_CancelOpen doesn't execute immediately, but rather schedule
operation for execution later. During bond removal, we must make sure
that device is removed from white list before it's removed from
resolving list. Calling GATT_CancelConnect directly fixes this issue.
Additionally, after checking the logic, unconditional remove should
remove all connection attempts, including direct connections, rather
than just background connections.
Bug:
122918938
Bug:
112827989
Test: re-bond hearing aids
Change-Id: I9d861b7d83ea4da9c2a278eea2e34f2b7aca2417
TreeHugger Robot [Thu, 31 Jan 2019 06:58:41 +0000 (06:58 +0000)]
Merge "Fix potential arithmetic overflow in btif_config_set_bin"
Weichin Weng [Thu, 31 Jan 2019 06:21:24 +0000 (22:21 -0800)]
Merge "Hearing Aid: Add python script to dump audio data to file" am:
3d83656421 am:
ff234cd483
am:
6e9a96d62e
Change-Id: Ia374d3e5465341490084ec8982b479b841c2eaf9
Weichin Weng [Thu, 31 Jan 2019 06:07:16 +0000 (22:07 -0800)]
Merge "Hearing Aid: Add python script to dump audio data to file" am:
3d83656421
am:
ff234cd483
Change-Id: I0cf4fa0c535b098f156a65f12f08cb596c80d762
Weichin Weng [Thu, 31 Jan 2019 05:52:10 +0000 (21:52 -0800)]
Merge "Hearing Aid: Add python script to dump audio data to file"
am:
3d83656421
Change-Id: I095bbae469527f4a302695720fb3146d6a9b6ea1
Weichin Weng [Thu, 31 Jan 2019 05:39:08 +0000 (05:39 +0000)]
Merge "Hearing Aid: Add python script to dump audio data to file"
Jack He [Thu, 31 Jan 2019 00:39:07 +0000 (16:39 -0800)]
Merge "Metrics: Log A2DP playback related atoms to StatsLog" am:
60677562f5 am:
fae2f5dda3
am:
211a3bd102
Change-Id: I03a164b149553b9d818cc576e55bb71fdd08a3a7
Jack He [Thu, 31 Jan 2019 00:35:01 +0000 (16:35 -0800)]
Merge "Metrics: Log A2DP playback related atoms to StatsLog" am:
60677562f5
am:
fae2f5dda3
Change-Id: I6d63afc867623afee1db2af4eaee49788574c669
Jack He [Thu, 31 Jan 2019 00:30:59 +0000 (16:30 -0800)]
Merge "Metrics: Log A2DP playback related atoms to StatsLog"
am:
60677562f5
Change-Id: I4f949c1016cff222a7e51f45d431b10bcbc547a6
Treehugger Robot [Thu, 31 Jan 2019 00:14:09 +0000 (00:14 +0000)]
Merge "Metrics: Log A2DP playback related atoms to StatsLog"
Jakub Pawlowski [Wed, 30 Jan 2019 22:33:44 +0000 (14:33 -0800)]
Fix for infinite loop in gatt_enc_cmpl_cback am:
92dbc8654d am:
f0535d1c45
am:
a710edfa6b
Change-Id: I5ef7e9400a704c5795ada6e1965dc772961b9ba3
Jakub Pawlowski [Wed, 30 Jan 2019 22:21:25 +0000 (14:21 -0800)]
Fix for infinite loop in gatt_enc_cmpl_cback am:
92dbc8654d
am:
f0535d1c45
Change-Id: Ic3bdc7b0ce9b9052fb94d60b86a722f84f0e33c7
Jakub Pawlowski [Wed, 30 Jan 2019 22:13:17 +0000 (14:13 -0800)]
Fix for infinite loop in gatt_enc_cmpl_cback
am:
92dbc8654d
Change-Id: Idbad9e06e1267a458d05d329236be7c393f54cf0
Jack He [Mon, 21 Jan 2019 05:31:12 +0000 (21:31 -0800)]
Metrics: Log A2DP playback related atoms to StatsLog
* BluetoothA2dpAudioOverrunReported
- Logs when A2DP failed send encoded data to the remote device fast
enough such that the transmit buffer queue is full and we have to
drop data
* BluetoothA2dpAudioUnderrunReported
- Logs when A2DP failed to read from PCM source
* BluetoothDeviceRssiReported
- Logged when remote device's RSSI level is reported by the controller
* BluetoothDeviceFailedContactCounterReported
- Logged when ACL transmit queue was flushed by the controller
- This is normally disabled unless we set automatic flush timeout was
set to a non-zero value
- However, when this event is reported, the connection quality must
be very bad
* BluetoothDeviceTxPowerLevelReported
- Logged when transmit power level is reported for a particular
connection
Note on num_dropped_nanoseconds entry:
- This is the duration of audio dropped and is calculated by
multiplying the number of encoding actions with length of encoding
interval
Bug:
112969790
Test: make, testdrive with statsd
Change-Id: Ie6aa5ee71dea213e452497dd181fee91eea8f7b4
TreeHugger Robot [Wed, 30 Jan 2019 17:59:41 +0000 (17:59 +0000)]
Merge "Fix OOB in BNEP_Write"
TreeHugger Robot [Wed, 30 Jan 2019 17:58:45 +0000 (17:58 +0000)]
Merge "Fix invalid iterator access in GATTS_StopService"
Jakub Pawlowski [Wed, 30 Jan 2019 15:39:22 +0000 (16:39 +0100)]
Fix for infinite loop in gatt_enc_cmpl_cback
Bug:
123574849
Change-Id: Id680cc794326b5d00c28dadf0d7aad98c0e4a5f2
Chienyuan [Wed, 30 Jan 2019 11:17:03 +0000 (19:17 +0800)]
Fix OOB in BNEP_Write
Bug:
112050583
Test: PoC
Change-Id: I2ad3aceea38950b83f98819ede47538afb053ac0
Chienyuan [Wed, 30 Jan 2019 11:51:43 +0000 (19:51 +0800)]
Fix potential arithmetic overflow in btif_config_set_bin
Bug:
113572342
Test: manual
Change-Id: If9d375c2aa7e363f8a69df32aa7e423c8e0d130d
Jack He [Wed, 30 Jan 2019 10:45:28 +0000 (02:45 -0800)]
Metrics: Add Bluetooth quality report to statsd am:
12724bd83b am:
11d39fbe70
am:
9c6a1bff33
Change-Id: Idc88a9b87e9837e65b50d9946ef952f63796d74d
Jack He [Wed, 30 Jan 2019 10:29:02 +0000 (02:29 -0800)]
Metrics: Add Bluetooth quality report to statsd am:
12724bd83b
am:
11d39fbe70
Change-Id: I671671ed3be110c5b9fa229c75d669d54392d2bb
Jack He [Wed, 30 Jan 2019 10:07:04 +0000 (02:07 -0800)]
Metrics: Add Bluetooth quality report to statsd
am:
12724bd83b
Change-Id: Ibceca50f90ba325db47a03983ebdf693cfaed90e
Chienyuan [Wed, 30 Jan 2019 07:57:19 +0000 (15:57 +0800)]
Fix invalid iterator access in GATTS_StopService
Bug:
113575306
Test: manual
Change-Id: I2360b187ed10617ddd08e61db1689d631a89767d
Jack He [Tue, 29 Jan 2019 22:51:46 +0000 (14:51 -0800)]
Metrics: Add Bluetooth quality report to statsd
Bug:
112969790
Test: make, test drive with statsd
Change-Id: I20232facbd40f7f49bf574f47754ba5222a2aa34
TreeHugger Robot [Wed, 30 Jan 2019 06:33:26 +0000 (06:33 +0000)]
Merge "Check ch_id in UIPC_Read before using it"
Jack He [Wed, 30 Jan 2019 05:44:07 +0000 (21:44 -0800)]
Merge changes I79037ddb,I9bab0078 am:
3fb1b1b89e am:
e7971c55d4
am:
b789e84f6c
Change-Id: I695df5fff692671447ee3bd1701f0a11fe12f533
Jack He [Wed, 30 Jan 2019 05:28:59 +0000 (21:28 -0800)]
Merge changes I79037ddb,I9bab0078 am:
3fb1b1b89e
am:
e7971c55d4
Change-Id: I31ac559037237cc282c27f99b4c781ee54f5e367
Jack He [Wed, 30 Jan 2019 05:15:26 +0000 (21:15 -0800)]
Merge changes I79037ddb,I9bab0078
am:
3fb1b1b89e
Change-Id: I0cbba0d141d93f342ae6e6f1a24a8b3266c8092f
Treehugger Robot [Wed, 30 Jan 2019 04:57:36 +0000 (04:57 +0000)]
Merge changes I79037ddb,I9bab0078
* changes:
Metrics: add remote version info log to statsd
Metrics: Log HCI timeout event over stats log
Chienyuan [Wed, 30 Jan 2019 03:50:01 +0000 (11:50 +0800)]
Check ch_id in UIPC_Read before using it
Bug:
113495295
Test: manual
Change-Id: I4930e476b55f2745cb967cbb44edd80a9ff85b34
Jack He [Tue, 29 Jan 2019 22:49:34 +0000 (14:49 -0800)]
Metrics: add remote version info log to statsd
Bug:
112969790
Test: make, test drive with statsd
Change-Id: I79037ddb6c4af3bf3e5cc8a890c8ee66652b8a81
Jack He [Mon, 21 Jan 2019 07:16:45 +0000 (23:16 -0800)]
Metrics: Log HCI timeout event over stats log
Fixes:
121213292
Bug:
111812273
Test: make, test drive with statsd
Change-Id: I9bab0078a1e45c9811fd63f4c5aef9f4704ac555
Cheney Ni [Wed, 30 Jan 2019 02:16:28 +0000 (18:16 -0800)]
Using std::promise and std::future to block till A2DP device activated am:
f0999d8be8 am:
c7f7d727e2
am:
1f96b80bbd
Change-Id: I4b928d44b6c9b87a1c2a2fe2065a68c2b5f59b07
Cheney Ni [Wed, 30 Jan 2019 01:58:46 +0000 (17:58 -0800)]
Using std::promise and std::future to block till A2DP device activated am:
f0999d8be8
am:
c7f7d727e2
Change-Id: I6fe9507733ed49160853c7cbc1690faf87497092
Cheney Ni [Wed, 30 Jan 2019 01:52:39 +0000 (17:52 -0800)]
Using std::promise and std::future to block till A2DP device activated
am:
f0999d8be8
Change-Id: Ic013217fb07dd1c3aa33623c641ae47c915730bf
Hansong Zhang [Wed, 30 Jan 2019 01:11:25 +0000 (17:11 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev am:
19460901d8 am:
154230b832 am:
a3a57067d0 am:
f4aa470028
am:
f894cff4fe
Change-Id: Iec2561bf257583349f7c3064647f13d695782a4a
Hansong Zhang [Wed, 30 Jan 2019 01:05:50 +0000 (17:05 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev am:
19460901d8 am:
154230b832 am:
a3a57067d0
am:
f4aa470028
Change-Id: I20fca0d1bb08a631d03be5ad201d1e61a388f8c2
Hansong Zhang [Wed, 30 Jan 2019 01:02:43 +0000 (17:02 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev am:
19460901d8 am:
154230b832
am:
a3a57067d0
Change-Id: Ib76648858de768c8b3db411eda84efe7abbd420f
Hansong Zhang [Wed, 30 Jan 2019 00:56:34 +0000 (16:56 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev am:
19460901d8
am:
154230b832
Change-Id: I69aba9f5350a2b4510e49494839bbff6369c8b4a
Hansong Zhang [Wed, 30 Jan 2019 00:49:16 +0000 (16:49 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev
am:
19460901d8
Change-Id: If4f3b40817ff57bdae4777ae330854a9119ae0b7
TreeHugger Robot [Wed, 30 Jan 2019 00:25:28 +0000 (00:25 +0000)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev
Cheney Ni [Wed, 19 Dec 2018 10:46:18 +0000 (18:46 +0800)]
Using std::promise and std::future to block till A2DP device activated
There is a new interface to replace UIPC with Blueototh Audio Hal v2 and
synchronization issues between BT Stack and Audio Hal was found when
activating a new A2DP device. Because the API to activate an A2DP device
was non-blocking, it was possilbe that there was a race condition when
BT Stack starting A2DP session and Audio Hal was opening A2DP output.
There was a chance that the output was opened before session started and
causing A2DP to have no sound.
This CL uses std::promise and std::future are able to achieve the
serialize of starting session and opening output for A2DP.
Bug:
111519504
Bug:
122505783
Test: A2DP reconnection and switching
Change-Id: I88c42ea1eb5f8def2345dbfaab26c6d1a91c54cc
TreeHugger Robot [Tue, 29 Jan 2019 10:42:54 +0000 (10:42 +0000)]
Merge "Separate SDP procedure from bonding state (1/2)"
weichinweng [Thu, 20 Dec 2018 07:03:37 +0000 (15:03 +0800)]
Hearing Aid: Add python script to dump audio data to file
Bug:
121005659
Test: ./dump_hearingaid_audio.py btsnoop_hci.log
./dump_hearingaid_audio.py -f folder btsnoop_hci.log
./dump_hearingaid_audio.py -f folder -c1 1 -c2 3 btsnoop_hci.log
./dump_hearingaid_audio.py -f folder -a 121 btsnoop_hci.log
Change-Id: I304531ecb5c5bd6cfc264130176d26acc60a64c2
Jakub Pawlowski [Tue, 29 Jan 2019 08:38:23 +0000 (00:38 -0800)]
Add IdGenerator am:
23478f71d0 am:
0bc4579ba3
am:
0452301798
Change-Id: Ide74fa336ab69e7e30500528c60dbca22ab3f351
Jakub Pawlowski [Tue, 29 Jan 2019 07:56:01 +0000 (23:56 -0800)]
Add IdGenerator am:
23478f71d0
am:
0bc4579ba3
Change-Id: I59e5cff32382a1c6cc86aa163ea8baa89a15e07d
Jakub Pawlowski [Tue, 29 Jan 2019 07:51:56 +0000 (23:51 -0800)]
Add IdGenerator
am:
23478f71d0
Change-Id: I974608ed960f88067abfbab07f917de8950f4522
Ugo Yu [Fri, 2 Nov 2018 11:21:39 +0000 (19:21 +0800)]
Separate SDP procedure from bonding state (1/2)
- Do not stay in bonding state if the device is paired but still
discovering service.
- Report BOND_BONDED to Java after authentication is completed.
- Report empty UUID to Java if a classic Bluetooth device SDP
failed while pairing.
- Hold BOND_BONDED intent util SDP is findished.
- Only accept profile connection for the device is at bonded
state. Any attempt to connect while bonding would potentially
lead to an unauthorized connection.
Bug:
79703832
Test: runtest bluetooth, regression test
Change-Id: I023713e07308bfc0e5bb8d67f386bcc50f6a0f85
weichinweng [Mon, 21 Jan 2019 11:22:33 +0000 (19:22 +0800)]
Hearing Aid: Removes all registrations for connection when disconnect HA
* On the current design, when the disconnect Hearing Aid is triggered
from UI. It will Cancel autoconnect by gatt_if first. It will cause the
fixed_chnl_idle_tout isn't set. On the condition, it will cause the
disconnect isn't finished.
* The fix is change the behavior. Directly remove all registrations for
connection when disconnect HA.
Bug:
122264537
Bug:
123214035
Test: make, BT off/on when connected HA,
Toggle disconnect/connect HA from Bluetooth UI,
Turn off/onn HA after Connected HA.
Change-Id: If011c1ab632e1fcb51a68b3c122743534b5f6c63
Jakub Pawlowski [Wed, 8 Aug 2018 14:32:44 +0000 (16:32 +0200)]
Add IdGenerator
Test: added unit test
Bug:
67058417
Change-Id: I41a9200cbf703f5404f312e4cb1199b640e86270
Chienyuan [Mon, 28 Jan 2019 12:42:46 +0000 (20:42 +0800)]
Fix information dislosure in sdp_copy_raw_data
Bug:
112710632
Test: manual
Change-Id: I6a9ea2479509449ff65a19f73e17b5f2a63b6ce4
Jack He [Sat, 26 Jan 2019 02:40:28 +0000 (18:40 -0800)]
BQR: Cleanup BQR header definititon am:
63aca79a30 am:
9187066d98
am:
f372b77c27
Change-Id: I9fe1ecfb4c33f1f5d8c08991323c91752a33ed0e
Jack He [Sat, 26 Jan 2019 02:36:20 +0000 (18:36 -0800)]
BQR: Cleanup BQR header definititon am:
63aca79a30
am:
9187066d98
Change-Id: I246b31e6bbf9e9bbeb27dd3a8339e62f9b81361e
Jack He [Sat, 26 Jan 2019 02:33:12 +0000 (18:33 -0800)]
BQR: Cleanup BQR header definititon
am:
63aca79a30
Change-Id: Ie3780d6f6382ca82f2f809d4359ee20aa84f0cc3
Jack He [Fri, 25 Jan 2019 21:45:16 +0000 (13:45 -0800)]
BQR: Cleanup BQR header definititon
* Rename persist.bluetooth.bqr.eventmask to persist.bluetooth.bqr.event_mask
* Rename persist.bluetooth.bqr.interval to
persist.bluetooth.bqr.min_interval_ms
* Rename all instances of reporting interval to minimum report interval
milliseconds
* Add zero initialization to all event values
* Add comment on the unit of timestamp and piconet clock
Bug:
111384296
Test: make, no functional change
Change-Id: I5174297ec314a862da7591bcf3aefea9b6778f1a
Suren Baghdasaryan [Fri, 25 Jan 2019 17:43:17 +0000 (09:43 -0800)]
[automerger skipped] DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include"" am:
fc27af1a25 -s ours am:
d6fa46a515 -s ours
am:
fb4a6bd2d8 -s ours
am skip reason: subject contains skip directive
Change-Id: I4e0b9d617d2cc6edd36f0628b8bea54f8c932974
Suren Baghdasaryan [Fri, 25 Jan 2019 17:31:02 +0000 (09:31 -0800)]
[automerger skipped] DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include"" am:
fc27af1a25 -s ours
am:
d6fa46a515 -s ours
am skip reason: subject contains skip directive
Change-Id: Ic185d138e9f6fed533a126083743310e197e00a7
Suren Baghdasaryan [Fri, 25 Jan 2019 17:20:42 +0000 (09:20 -0800)]
[automerger skipped] DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""
am:
fc27af1a25 -s ours
am skip reason: subject contains skip directive
Change-Id: I1586c715e769e192e2d37350279152ec084cbce3
Ray [Fri, 25 Jan 2019 17:09:51 +0000 (09:09 -0800)]
BQR: Add Bluetooth Quality Report feature am:
6e632477a4 am:
5d7470d629
am:
a836100470
Change-Id: Id04e8e4c4f2fbd9518d812f0db0b383f9e2272db
Ray [Fri, 25 Jan 2019 17:04:38 +0000 (09:04 -0800)]
BQR: Add Bluetooth Quality Report feature am:
6e632477a4
am:
5d7470d629
Change-Id: I3ecd5ef0c6474c7368a05176af71785e74a2571e
Ray [Fri, 25 Jan 2019 17:00:23 +0000 (09:00 -0800)]
BQR: Add Bluetooth Quality Report feature
am:
6e632477a4
Change-Id: I7f3684b437ea914eb446bcdafb83f19d870944de
Suren Baghdasaryan [Fri, 25 Jan 2019 05:34:11 +0000 (05:34 +0000)]
DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""
This reverts commit
e5751caf675fc0bee229f8c427564c2e927184fd.
Reason for revert: AOSP is fixed with new vendor image
Change-Id: I96db6ffe9cce3d5158b96c171026839d62ec3756
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Ray [Thu, 3 Jan 2019 13:19:16 +0000 (21:19 +0800)]
BQR: Add Bluetooth Quality Report feature
Bluetooth disconnects, voice and audio quality issues are sometimes hard
to debug without an OTA (Over The Air) log.
For debugging this kind of issue we would need to identify it belongs to
the host, Bluetooth controller/firmware, environment or the remote
Bluetooth device.
This feature would route the link and firmware/controller stats (ex: TX
power level, RSSI, Unused AFH channel count...) to the host when quality
events happen.
Quality Monitoring Mode:
The controller will periodically send Bluetooth Quality VSE sub-event to
the host.
Approaching LSTO:
Once no packets are received from the connected Bluetooth device for a
duration longer than the half of LSTO (Link Supervision Timeout) value,
the controller will report Approaching LSTO event to the host.
A2DP Audio Choppy:
When audio stall, the controller will report A2DP Audio Choppy event to
the host.
(e)SCO Voice Choppy:
The controller will report (e)SCO Voice Choppy event to the host if the
voice quality might be bad.
Bug:
111384296
Test: - Verified that all functionalites with the Bluetooth controller /
firmware which supports Bluetooth Quality Report VSC
(OpCode: 0xFD5E) and Bluetooth Quality Report (Sub-event code:
0x58) of VSE.
- Verified that this feature could work on both the A2DP HW
offload and non-offload modes.
Change-Id: I3fd3000bace7606855cac3b9b87134499c0ca891
Sasha Smundak [Fri, 25 Jan 2019 08:21:42 +0000 (00:21 -0800)]
Convert Android.mk file to Android.bp am:
aa044495fc am:
dd0a988d8d
am:
0ed3ca728a
Change-Id: I842d6d7e6f02f43bea9acc9ba16208223b819dea
Sasha Smundak [Fri, 25 Jan 2019 08:17:38 +0000 (00:17 -0800)]
Convert Android.mk file to Android.bp am:
aa044495fc
am:
dd0a988d8d
Change-Id: Ic7db6ba149e676faf617e1d76ee1df5cdd227c95
Sasha Smundak [Fri, 25 Jan 2019 08:13:31 +0000 (00:13 -0800)]
Convert Android.mk file to Android.bp
am:
aa044495fc
Change-Id: I8905a9c28b9fc76083655bda05145559b1a15162
Sasha Smundak [Tue, 22 Jan 2019 21:46:37 +0000 (13:46 -0800)]
Convert Android.mk file to Android.bp
See build/soong/README.md for more information.
Change-Id: Ida03ab11c7fa6148fa5711ce1770b6951e831412
Fixes:
122332236
Test: treehugger
Jack He [Fri, 25 Jan 2019 03:57:52 +0000 (19:57 -0800)]
SDP: Remove SDP_DEBUG_RAW flag am:
fa84129932 am:
4b6af7e21a
am:
dd06f56976
Change-Id: I05d1c50d3002042a48574e44777965b68a467952
Jack He [Fri, 25 Jan 2019 03:53:50 +0000 (19:53 -0800)]
SDP: Remove SDP_DEBUG_RAW flag am:
fa84129932
am:
4b6af7e21a
Change-Id: I1d633060429314677684a1bd8eb8b9a0b8aac87e
Jack He [Fri, 25 Jan 2019 03:49:44 +0000 (19:49 -0800)]
SDP: Remove SDP_DEBUG_RAW flag
am:
fa84129932
Change-Id: Id77bdfec4e2a4b91ece3d9264dbbbf327618478b
Jack He [Fri, 25 Jan 2019 00:59:52 +0000 (16:59 -0800)]
SDP: Remove SDP_DEBUG_RAW flag
* This flag is almost always set to false, making blocks of code
unreachable
Test: make
Change-Id: Ie5ceafa7ae02ccbfec537a5d3960e617b746ecdf
TreeHugger Robot [Fri, 25 Jan 2019 00:49:14 +0000 (00:49 +0000)]
Merge "Fix crash in bta_ag_parse_biev_response"
TreeHugger Robot [Fri, 25 Jan 2019 00:37:24 +0000 (00:37 +0000)]
Merge "Fix OOB in reassemble_and_dispatch"
Ugo Yu [Thu, 24 Jan 2019 19:22:21 +0000 (11:22 -0800)]
Merge "Disable AVRCP position change in silence mode" am:
869ae99427 am:
9aa5731e1e
am:
1ac68a5b6a
Change-Id: Ic9deb6ed8d232831dae916089aec1838ca4fc9b5
Ugo Yu [Thu, 24 Jan 2019 18:38:29 +0000 (10:38 -0800)]
Merge "Disable AVRCP position change in silence mode" am:
869ae99427
am:
9aa5731e1e
Change-Id: If487b82a125f9ddfe53d38fe3a5b5174b79299f0
Ugo Yu [Thu, 24 Jan 2019 18:28:38 +0000 (10:28 -0800)]
Merge "Disable AVRCP position change in silence mode"
am:
869ae99427
Change-Id: Ia0c8ae4a17a0153a620a9f9aca3042f737512f71
Treehugger Robot [Thu, 24 Jan 2019 18:08:05 +0000 (18:08 +0000)]
Merge "Disable AVRCP position change in silence mode"
Chienyuan [Thu, 24 Jan 2019 12:14:10 +0000 (20:14 +0800)]
Fix OOB in reassemble_and_dispatch
Bug:
112106425
Test: manual
Change-Id: Iae982473096f8deacf475dfdc9d0bcd6e0c13e6d