OSDN Git Service

android-x86/system-bt.git
4 years agoMerge "Randomize the time between rotations of BLE Random Address" into rvc-dev
Jakub Pawlowski [Thu, 19 Mar 2020 10:19:13 +0000 (10:19 +0000)]
Merge "Randomize the time between rotations of BLE Random Address" into rvc-dev

4 years agoMerge "Notify remote name failed for LE device" into qt-qpr1-dev am: fba6af3495
More Kuo [Thu, 19 Mar 2020 02:28:43 +0000 (02:28 +0000)]
Merge "Notify remote name failed for LE device" into qt-qpr1-dev am: fba6af3495

Change-Id: I3f70c6d6f3c8ddace2b0e3dda47a09409d0313eb

4 years agoMerge "Notify remote name failed for LE device" into qt-qpr1-dev
More Kuo [Thu, 19 Mar 2020 02:05:39 +0000 (02:05 +0000)]
Merge "Notify remote name failed for LE device" into qt-qpr1-dev

4 years agoMerge "Make sure only valid packet fields are accessed in VendorPacketHandler" into...
TreeHugger Robot [Wed, 18 Mar 2020 23:05:17 +0000 (23:05 +0000)]
Merge "Make sure only valid packet fields are accessed in VendorPacketHandler" into qt-qpr1-dev am: 0535ce8c6a

Change-Id: Ib85f65466fd49c6290e2ed395ea56f63827d953b

4 years agoMerge "Make sure only valid packet fields are accessed in VendorPacketHandler" into...
TreeHugger Robot [Wed, 18 Mar 2020 22:52:14 +0000 (22:52 +0000)]
Merge "Make sure only valid packet fields are accessed in VendorPacketHandler" into qt-qpr1-dev

4 years agoRandomize the time between rotations of BLE Random Address
Jakub Pawlowski [Tue, 17 Mar 2020 15:37:36 +0000 (16:37 +0100)]
Randomize the time between rotations of BLE Random Address

Bug: 150394435
Bug: 151485516
Change-Id: I342f3e34f12a200db0a5c3aab23efabac5626825

4 years agoMerge "DO NOT MERGE Fix potential overflow for gatt process write" into rvc-dev
TreeHugger Robot [Mon, 16 Mar 2020 16:25:40 +0000 (16:25 +0000)]
Merge "DO NOT MERGE Fix potential overflow for gatt process write" into rvc-dev

4 years agoFix bond list mismatch between Java and native
Ugo Yu [Mon, 9 Mar 2020 06:54:14 +0000 (14:54 +0800)]
Fix bond list mismatch between Java and native

When a paired device is diconnected while authenticating, do not report
bond state change to Java since the stack does not remove the device in
this situation.

Bug: 142842685
Test: Manual
Change-Id: I308320b0c10387d1cce27f709c8b2348c14dc423
Merged-In: I308320b0c10387d1cce27f709c8b2348c14dc423

4 years agoNotify remote name failed for LE device
More Kuo [Fri, 13 Mar 2020 06:43:29 +0000 (14:43 +0800)]
Notify remote name failed for LE device

When cancel discovery for LE device in BTA_DM_DISCOVER_ACTIVE state,
there is no notification to indicate the remote name request of LE
device is cancelled and change the search state back to
BTA_DM_SEARCH_IDLE state. Call btm_inq_rmt_name_failed_cancelled()
to notify in this situation.

Bug: 146840780
Test: Manual
Change-Id: I4ab2a2f413e4ac19765476039f4127ce045e84d9

4 years agoDO NOT MERGE Fix potential overflow for gatt process write
Chris Manton [Wed, 4 Mar 2020 19:26:31 +0000 (11:26 -0800)]
DO NOT MERGE Fix potential overflow for gatt process write

Bug: 143604331
Test: net_test_stack_gatt_native

Change-Id: I88704d74ba0c265872fbfd20c8bcd3bc1dd60360
(cherry picked from commit af0919f967eef7fffaf698fa0a30f0efe7d941b5)

4 years agoSave reversed BR/EDR link key derived from LE LTK
IHLHO KIM [Tue, 5 Nov 2019 08:56:24 +0000 (08:56 +0000)]
Save reversed BR/EDR link key derived from LE LTK

Authentication is failed between Android Q and Android P or earlier when derived link key is used.

Repro steps:
1. Try to LE connect & pair(LE secure connection) with Android P device from Android Q device
2. Try to connect PAN from Android Q device to Android P device
3. Connection failed

This issue is caused by the following change.
https://android.googlesource.com/platform/system/bt/+/ae57211e7c6ef25788369052817403e30cc9f06f

This fix just reverts removed line from the previous change.
Bug: 143940249
Change-Id: I5d18cdd76b6c436dad010caf514ab0d78997f091

4 years ago[automerger skipped] Merge "While AVDT opened or its AVRC_TIMER_EVT expired, it is...
Automerger Merge Worker [Fri, 13 Mar 2020 04:37:20 +0000 (04:37 +0000)]
[automerger skipped] Merge "While AVDT opened or its AVRC_TIMER_EVT expired, it is no needed to start the 2nd AVDT stream" into qt-qpr1-dev am: 5e6231c7b2 -s ours

am skip reason: Change-Id I75f39801e9779ee55fa574e30051e01966c61ea3 with SHA-1 ba432366f9 is in history

Change-Id: I182a3d57dca6c055487dc1cbd659e53eaab0f111

4 years agoMerge "While AVDT opened or its AVRC_TIMER_EVT expired, it is no needed to start...
TreeHugger Robot [Fri, 13 Mar 2020 04:21:17 +0000 (04:21 +0000)]
Merge "While AVDT opened or its AVRC_TIMER_EVT expired, it is no needed to start the 2nd AVDT stream" into qt-qpr1-dev

4 years agoHFP: fix collision for the outgoing and incoming connection
weichinweng [Wed, 11 Mar 2020 06:51:27 +0000 (14:51 +0800)]
HFP: fix collision for the outgoing and incoming connection

Since the HF incoming connection and the HF outgoing connection use the
same HF control block (p_scb) at the same time, the case will cause the
btif_hf_cb flag going wrong due to collision. Then it will trigger a
crash due to a check failure when executing BTA_AG_OPEN_EVT. The patch
will ignore the outgoing connection when the connection
collision is happening.

Bug: 143128949
Test: manual

Change-Id: Id5495bd3ecb1ed9e03de5bd74a61ab102604eaae
Merged-In: Id5495bd3ecb1ed9e03de5bd74a61ab102604eaae

4 years agoMerge "DO NOT MERGE Fix potential overflow in btif_rc" into rvc-dev
TreeHugger Robot [Thu, 12 Mar 2020 02:20:30 +0000 (02:20 +0000)]
Merge "DO NOT MERGE Fix potential overflow in btif_rc" into rvc-dev

4 years agoMerge "BluetoothMetricid: Add metric allocator api in java" into rvc-dev
TreeHugger Robot [Thu, 12 Mar 2020 00:27:39 +0000 (00:27 +0000)]
Merge "BluetoothMetricid: Add metric allocator api in java" into rvc-dev

4 years agoDO NOT MERGE Fix potential overflow in btif_rc
Chris Manton [Wed, 4 Mar 2020 04:04:51 +0000 (20:04 -0800)]
DO NOT MERGE Fix potential overflow in btif_rc

Bug: 142878416
Test: net_test_btif_rc

Change-Id: Ia263bd5c863644f2adde759a103d79b812a9a5de
(cherry picked from commit e5dd9c735a30188286c7c9b88c247e4f629bdd54)

4 years agoDO NOT MERGE Ensure hci command status event has sufficient packet length
Chris Manton [Tue, 3 Mar 2020 18:33:42 +0000 (10:33 -0800)]
DO NOT MERGE Ensure hci command status event has sufficient packet length

Bug: 141618611
Test: net_test_hci_native

Change-Id: I70a318b05d7781ddf8f82d7922a8ee7afc8d2e9f
(cherry picked from commit 6e25c5d81c4a43c2794a605c9fc8a194f37889af)

4 years agoBluetoothMetricid: Add metric allocator api in java
Chen Chen [Thu, 5 Mar 2020 23:02:46 +0000 (15:02 -0800)]
BluetoothMetricid: Add metric allocator api in java

Bug: 142563377
Test: Manual atest AdapterServiceTest

Change-Id: I46d1c1d5bf0c8beea1f46b1024cbd5ceb9c0b562
Merged-In: I46d1c1d5bf0c8beea1f46b1024cbd5ceb9c0b562
(cherry picked from commit 35292e66ecf1508ee64ef76ae297245fb157ff54)

4 years agoA2DP: SBC encoding counter errata
Cheney Ni [Fri, 14 Feb 2020 12:29:54 +0000 (20:29 +0800)]
A2DP: SBC encoding counter errata

When the encoder interval is 20 milliseconds per tick for {44.1 kHz /
16 bits per sample / Stereo}, there were around three microseconds shift
every tick, but would cause one SBC frame mismatched after 20 seconds.
Here try to adjust the timeline to increase the accuracy by following
methods:

1. add the remainder back to the timeline when converting the time
   period to data size.
2. change the timestamp to be presented by values in 1/10 microseconds.

Bug: 149546181
Test: manually
Change-Id: Ic42b2f331628c44aa927c7b9e35562be1fa750c7
Merged-In: Ic42b2f331628c44aa927c7b9e35562be1fa750c7
(cherry picked from commit c8537f844d1c052e5c9d93981e270dd45d73a709)

4 years agoA2DP: AAC encoding counter errata
Cheney Ni [Thu, 13 Feb 2020 14:25:51 +0000 (22:25 +0800)]
A2DP: AAC encoding counter errata

When the encoder interval is 23 milliseconds per tick for {44.1 kHz /
16 bits per sample / Stereo}, 3 microseconds shift every tick would
cause one AAC frame mismatched after 180 seconds. Here try to adjust the
timeline to increase the accuracy by following methods:

1. add the remainder back to the timeline when converting the time
   period to data size.
2. change the timestamp to be presented by values in 1/10 microseconds.

Bug: 149546181
Test: manually
Change-Id: I16742042ba64a9355c39c0248be9208567312a9f
Merged-In: I16742042ba64a9355c39c0248be9208567312a9f
(cherry picked from commit bae2582df32576f8e95aa78f039fcfdecc962086)

4 years ago[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2...
Automerger Merge Worker [Wed, 11 Mar 2020 00:54:37 +0000 (00:54 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2 -s ours am: b9e373e364 -s ours am: 78003bf5ef -s ours am: 987f4b2bfe -s ours am: 4e4075a022 -s ours

am skip reason: Change-Id I0396380f431cdb7f91c78db6de9043ea0f373dfe with SHA-1 c14c1fb864 is in history

Change-Id: I5fa2ab47a1e3bdfe51063e04dc916b1ca25bfb73

4 years ago[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2...
Automerger Merge Worker [Wed, 11 Mar 2020 00:42:51 +0000 (00:42 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2 -s ours am: b9e373e364 -s ours am: 78003bf5ef -s ours am: 987f4b2bfe -s ours

am skip reason: Change-Id I0396380f431cdb7f91c78db6de9043ea0f373dfe with SHA-1 c14c1fb864 is in history

Change-Id: I0001be297b99dd938b255af6c0986b05236c3895

4 years ago[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2...
Automerger Merge Worker [Wed, 11 Mar 2020 00:26:11 +0000 (00:26 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2 -s ours am: b9e373e364 -s ours am: 78003bf5ef -s ours

am skip reason: Change-Id I0396380f431cdb7f91c78db6de9043ea0f373dfe with SHA-1 c14c1fb864 is in history

Change-Id: I9583370dee55f32ebda4a009c1a9a2b5586b1c95

4 years ago[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2...
Automerger Merge Worker [Wed, 11 Mar 2020 00:14:09 +0000 (00:14 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2 -s ours am: b9e373e364 -s ours

am skip reason: Change-Id I0396380f431cdb7f91c78db6de9043ea0f373dfe with SHA-1 c14c1fb864 is in history

Change-Id: I19ce865f59ffe8bee30c81401a480d1b32ee632b

4 years ago[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2...
Automerger Merge Worker [Tue, 10 Mar 2020 23:58:30 +0000 (23:58 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: 30a2860ed1 am: 2865a273f2 -s ours

am skip reason: Change-Id I0396380f431cdb7f91c78db6de9043ea0f373dfe with SHA-1 c14c1fb864 is in history

Change-Id: Iba77996d7a5acdbee2865868d506634620ccf793

4 years agoGattServcer: Check invalid offset am: 30a2860ed1
Automerger Merge Worker [Tue, 10 Mar 2020 23:42:03 +0000 (23:42 +0000)]
GattServcer: Check invalid offset am: 30a2860ed1

Change-Id: I1d3aae196fb82155b88e2377e96670797f228f8a

4 years agoMerge "BluetoothMetrics: Implement and test metric_id_allocator and lru" into rvc-dev
TreeHugger Robot [Tue, 10 Mar 2020 22:51:00 +0000 (22:51 +0000)]
Merge "BluetoothMetrics: Implement and test metric_id_allocator and lru" into rvc-dev

4 years ago[automerger skipped] GattServcer: Check invalid offset am: c14c1fb864 -s ours am...
Automerger Merge Worker [Tue, 10 Mar 2020 21:54:03 +0000 (21:54 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: c14c1fb864 -s ours am: e3b33dec09 -s ours am: 2dd6490cfe -s ours am: b632201082 -s ours

am skip reason: Change-Id I97e2c3ae15fccc482d07d8d621c455cc74900cfd with SHA-1 7674de8fc8 is in history

Change-Id: I063f752ce3f34ac028dd420fd7f5ae2d2c4e0931

4 years ago[automerger skipped] GattServcer: Check invalid offset am: c14c1fb864 -s ours am...
Automerger Merge Worker [Tue, 10 Mar 2020 21:39:14 +0000 (21:39 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: c14c1fb864 -s ours am: e3b33dec09 -s ours am: 2dd6490cfe -s ours

am skip reason: Change-Id I97e2c3ae15fccc482d07d8d621c455cc74900cfd with SHA-1 7674de8fc8 is in history

Change-Id: I498e1841598b1142881eb386ef9e46faa754cabb

4 years ago[automerger skipped] GattServcer: Check invalid offset am: c14c1fb864 -s ours am...
Automerger Merge Worker [Tue, 10 Mar 2020 21:22:16 +0000 (21:22 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: c14c1fb864 -s ours am: e3b33dec09 -s ours

am skip reason: Change-Id I97e2c3ae15fccc482d07d8d621c455cc74900cfd with SHA-1 7674de8fc8 is in history

Change-Id: Id5714e151ff13706e496b71898712b9410be7746

4 years agoGattServcer: Check invalid offset
Hansong Zhang [Thu, 13 Feb 2020 19:40:44 +0000 (11:40 -0800)]
GattServcer: Check invalid offset

Test: manual
Bug: 143231677
Merged-In: I0396380f431cdb7f91c78db6de9043ea0f373dfe
Merged-In: I0ca22e7c60292d61c758120c1cd67f6e6edd8ae8
Change-Id: I0ca22e7c60292d61c758120c1cd67f6e6edd8ae8

4 years ago[automerger skipped] GattServcer: Check invalid offset am: c14c1fb864 -s ours
Automerger Merge Worker [Tue, 10 Mar 2020 21:02:22 +0000 (21:02 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: c14c1fb864 -s ours

am skip reason: Change-Id I97e2c3ae15fccc482d07d8d621c455cc74900cfd with SHA-1 7674de8fc8 is in history

Change-Id: Ied357d149b40fd00da201593f9d3e16c899fa7ca

4 years agoBluetoothMetrics: Implement and test metric_id_allocator and lru
Chen Chen [Thu, 20 Feb 2020 19:29:42 +0000 (11:29 -0800)]
BluetoothMetrics: Implement and test metric_id_allocator and lru

Test: run atest on unittests
Bug: 142563377

Change-Id: I05739258479a67d47550a6cb1db1c6f8c1ff3e98
Merged-In: I05739258479a67d47550a6cb1db1c6f8c1ff3e98
(cherry picked from commit b12ac65535cda6a4477738ff3e060e6e9be4c08b)

4 years agoGattServcer: Check invalid offset
Hansong Zhang [Thu, 13 Feb 2020 19:40:44 +0000 (11:40 -0800)]
GattServcer: Check invalid offset

Test: manual
Bug: 143231677
Change-Id: I0396380f431cdb7f91c78db6de9043ea0f373dfe
Merged-In: I97e2c3ae15fccc482d07d8d621c455cc74900cfd
Merged-In: I0ca22e7c60292d61c758120c1cd67f6e6edd8ae8

4 years ago[automerger skipped] GattServcer: Check invalid offset am: 7674de8fc8 am: 8b1db2dabf...
Automerger Merge Worker [Tue, 10 Mar 2020 03:39:07 +0000 (03:39 +0000)]
[automerger skipped] GattServcer: Check invalid offset am: 7674de8fc8 am: 8b1db2dabf am: a38e11f93d -s ours
am skip reason: Change-Id I0ca22e7c60292d61c758120c1cd67f6e6edd8ae8 with SHA-1 09e131ba6b is in history

Change-Id: Iad6db18bc63cd6463c983b247e45aa5a6bec3265

4 years agoGattServcer: Check invalid offset am: 7674de8fc8 am: 8b1db2dabf
Automerger Merge Worker [Tue, 10 Mar 2020 03:12:00 +0000 (03:12 +0000)]
GattServcer: Check invalid offset am: 7674de8fc8 am: 8b1db2dabf

Change-Id: I1d497b86f89219c8a8885f17bf969a670c6433b6

4 years agoGattServcer: Check invalid offset am: 7674de8fc8
Automerger Merge Worker [Tue, 10 Mar 2020 02:51:00 +0000 (02:51 +0000)]
GattServcer: Check invalid offset am: 7674de8fc8

Change-Id: I84a04a3671ff7d501bf9bfb483830ec48d30ce62

4 years agoFix bluetooth can't turn off during network reset (3/3)
weichinweng [Thu, 5 Mar 2020 02:53:29 +0000 (10:53 +0800)]
Fix bluetooth can't turn off during network reset (3/3)

Add onFactoryReset into IBluetoothManager interface.

Bug: 110181479
Test: manual
Change-Id: Ic36ffd63c376f84e3c9f0388820da86f63465c8f

4 years agoWhile AVDT opened or its AVRC_TIMER_EVT expired, it is no needed to start the 2nd...
Cheney Ni [Wed, 15 May 2019 06:09:49 +0000 (14:09 +0800)]
While AVDT opened or its AVRC_TIMER_EVT expired, it is no needed to start the 2nd AVDT stream

There were 2 cases to start the 2nd stream automatically by the stack:

* When the 2nd AVDT opened, the stack would check the 1st stream state
  to determinate the 2nd should be starting or not.
* While the AVRC timer which was fired after AVDT opened was expired,
  the stack would open the AVRC and start the 2nd stream if the 1st was
  started.

Both of them are unnecessary since all the stream must be controlled by
the upper layer. We currently support an active device only, and the
2nd stream will be tracked as remote triggered and suspended immediately.
To samplize the behavior, it is better to not start the 2nd stream
automatically by the stack.

Bug: 132146974
Bug: 150797902
Test: manual
Change-Id: I75f39801e9779ee55fa574e30051e01966c61ea3
Merged-In: I75f39801e9779ee55fa574e30051e01966c61ea3
(cherry picked from commit ba432366f9959b46e5b28198f2623ac4e32fb94a)

4 years agoGattServcer: Check invalid offset
Hansong Zhang [Thu, 13 Feb 2020 19:40:44 +0000 (11:40 -0800)]
GattServcer: Check invalid offset

Test: manual
Bug: 143231677
Change-Id: I97e2c3ae15fccc482d07d8d621c455cc74900cfd
Merged-In: I0ca22e7c60292d61c758120c1cd67f6e6edd8ae8

4 years agoAAC Decoder: Use osi_free() to free buffers allocated by osi_malloc() am: 7a6fd5459e...
Automerger Merge Worker [Wed, 4 Mar 2020 00:01:01 +0000 (00:01 +0000)]
AAC Decoder: Use osi_free() to free buffers allocated by osi_malloc() am: 7a6fd5459e am: c4d6c95107 am: 0dd50b24a3

Change-Id: Ief856194be69171831a004f1bcb283d09aba2364

4 years agoAAC Decoder: Use osi_free() to free buffers allocated by osi_malloc() am: 7a6fd5459e...
Automerger Merge Worker [Tue, 3 Mar 2020 23:49:37 +0000 (23:49 +0000)]
AAC Decoder: Use osi_free() to free buffers allocated by osi_malloc() am: 7a6fd5459e am: c4d6c95107

Change-Id: I7f0f617b594bd6800a92d5a04e8ef0ce0f285cd2

4 years agoAAC Decoder: Use osi_free() to free buffers allocated by osi_malloc() am: 7a6fd5459e
Automerger Merge Worker [Tue, 3 Mar 2020 23:32:21 +0000 (23:32 +0000)]
AAC Decoder: Use osi_free() to free buffers allocated by osi_malloc() am: 7a6fd5459e

Change-Id: I8fb43f7467aedd4e36237d7f355c8ed175e1e33c

4 years agoSecurity: Allow UI handlers in either order
Jakub Pawlowski [Mon, 24 Feb 2020 16:22:00 +0000 (17:22 +0100)]
Security: Allow UI handlers in either order

Handle case when UI Handlers are invoked in different order

Bug: 150054218
Change-Id: I0f7a4fec63632771ac4ef1077e70c3f6020f6969
(cherry picked from commit 5a59911e3e1ad473e9134a5e58021932adeaa83d)

4 years agoMark updatable APEXes
Jiyong Park [Mon, 24 Feb 2020 09:39:19 +0000 (18:39 +0900)]
Mark updatable APEXes

Mark updatable APEXes as updatable: true so that they are opted-out from
optimizations that make sense only for non-updatable modules; such as
symlinking to the libs in the system partition.

Bug: 149805758
Test: m and check that there is no symlink from the APEX to the system
partition.

Change-Id: Id21fa176acce4800fb8e6c723007f6a4aa2d1bab

4 years agoMerge "Add functions to integrate the full spec of LDAC SNK" am: 2b876a8749 am: 0d764...
Automerger Merge Worker [Fri, 21 Feb 2020 23:30:01 +0000 (23:30 +0000)]
Merge "Add functions to integrate the full spec of LDAC SNK" am: 2b876a8749 am: 0d7645a47f am: 949a84631e

Change-Id: Ia966c7181c5ba16e03550cf4258db7ae7d608c32

4 years agoMerge "Add functions to integrate the full spec of LDAC SNK" am: 2b876a8749 am: 0d764...
Automerger Merge Worker [Fri, 21 Feb 2020 23:20:41 +0000 (23:20 +0000)]
Merge "Add functions to integrate the full spec of LDAC SNK" am: 2b876a8749 am: 0d7645a47f

Change-Id: I393265a11dab26efaf6c269e1bed75d1e071f0a5

4 years agoMerge "Add functions to integrate the full spec of LDAC SNK" am: 2b876a8749
Automerger Merge Worker [Fri, 21 Feb 2020 23:11:00 +0000 (23:11 +0000)]
Merge "Add functions to integrate the full spec of LDAC SNK" am: 2b876a8749

Change-Id: I157c9b4ecf1dfa42fd6371bcfccebf5aff1f1ec5

4 years agoMerge "gd: l2cap classic fixed channel test" am: 5269d9d677 am: 3bba25a2af am: 0b7d4f87cc
Automerger Merge Worker [Fri, 21 Feb 2020 22:55:05 +0000 (22:55 +0000)]
Merge "gd: l2cap classic fixed channel test" am: 5269d9d677 am: 3bba25a2af am: 0b7d4f87cc

Change-Id: I630ed2e5f55e709a62af9659bd6950abb90dd67c

4 years agoMerge "Remove C++ cert stack" am: 1154e22ec4 am: 426785b325 am: 1168bc88e4
Automerger Merge Worker [Fri, 21 Feb 2020 22:54:57 +0000 (22:54 +0000)]
Merge "Remove C++ cert stack" am: 1154e22ec4 am: 426785b325 am: 1168bc88e4

Change-Id: I45589ceaf3c61b2ac288b9c63b4feb6e4d8df2de

4 years agoMerge "Add functions to integrate the full spec of LDAC SNK"
Treehugger Robot [Fri, 21 Feb 2020 22:53:25 +0000 (22:53 +0000)]
Merge "Add functions to integrate the full spec of LDAC SNK"

4 years agoMerge "gd: l2cap classic fixed channel test" am: 5269d9d677 am: 3bba25a2af
Automerger Merge Worker [Fri, 21 Feb 2020 22:42:05 +0000 (22:42 +0000)]
Merge "gd: l2cap classic fixed channel test" am: 5269d9d677 am: 3bba25a2af

Change-Id: I655ae820b01e7a400d52157bf70d0d2d4ebe373c

4 years agoMerge "Remove C++ cert stack" am: 1154e22ec4 am: 426785b325
Automerger Merge Worker [Fri, 21 Feb 2020 22:41:49 +0000 (22:41 +0000)]
Merge "Remove C++ cert stack" am: 1154e22ec4 am: 426785b325

Change-Id: I6aa75b937ff65a82ef102e5472a2c30155b7642d

4 years agoMerge "gd: l2cap classic fixed channel test" am: 5269d9d677
Automerger Merge Worker [Fri, 21 Feb 2020 22:37:14 +0000 (22:37 +0000)]
Merge "gd: l2cap classic fixed channel test" am: 5269d9d677

Change-Id: Id3aa3287a253e845520927e5310cf8715c70f2d7

4 years agoMerge "gd: l2cap classic fixed channel test"
Treehugger Robot [Fri, 21 Feb 2020 22:31:10 +0000 (22:31 +0000)]
Merge "gd: l2cap classic fixed channel test"

4 years agoMerge "Remove C++ cert stack" am: 1154e22ec4
Automerger Merge Worker [Fri, 21 Feb 2020 22:28:53 +0000 (22:28 +0000)]
Merge "Remove C++ cert stack" am: 1154e22ec4

Change-Id: Id1f89b0e45d36c7f30c4df8410226a2a684a5639

4 years agoMerge "Remove C++ cert stack"
Treehugger Robot [Fri, 21 Feb 2020 22:21:18 +0000 (22:21 +0000)]
Merge "Remove C++ cert stack"

4 years agoMerge "Refactor of headless test to allow additional tests" am: 7c2d86ff45 am: 81fd40...
Automerger Merge Worker [Fri, 21 Feb 2020 18:06:38 +0000 (18:06 +0000)]
Merge "Refactor of headless test to allow additional tests" am: 7c2d86ff45 am: 81fd40af90 am: 5df7edecd7

Change-Id: I983198e4d3fefde2f0d218dc7678ce71d79e616e

4 years agoMerge "L2capTest: Migrate all remaining test cases" am: 015b3c71da am: c1e467f38b...
Automerger Merge Worker [Fri, 21 Feb 2020 18:06:29 +0000 (18:06 +0000)]
Merge "L2capTest: Migrate all remaining test cases" am: 015b3c71da am: c1e467f38b am: ad3cec6be4

Change-Id: I5ff30b6a7cfc089e97310b70fae9bedaa7ed466e

4 years agoMerge "L2CAP: Add test for L2CAP 2/7 Support of command information response" am...
Automerger Merge Worker [Fri, 21 Feb 2020 18:06:20 +0000 (18:06 +0000)]
Merge "L2CAP: Add test for L2CAP 2/7 Support of command information response" am: 9cce7c4407 am: c38af46d67 am: 60aaeadebb

Change-Id: I45c3f86b822c06f47aff63773fafe92bfc6bc47b

4 years agoMerge "gd: Fix legacy storage test config file" am: e4070f09a0 am: 9730313c3a am...
Automerger Merge Worker [Fri, 21 Feb 2020 18:06:10 +0000 (18:06 +0000)]
Merge "gd: Fix legacy storage test config file" am: e4070f09a0 am: 9730313c3a am: 0520d89e1c

Change-Id: I39bc95ee646a09651d47fc465d3c89949ff99274

4 years agoMerge "Refactor of headless test to allow additional tests" am: 7c2d86ff45 am: 81fd40af90
Automerger Merge Worker [Fri, 21 Feb 2020 17:44:42 +0000 (17:44 +0000)]
Merge "Refactor of headless test to allow additional tests" am: 7c2d86ff45 am: 81fd40af90

Change-Id: Ie79bcd403f758f02a166bbb93c8150977f8f9c91

4 years agoMerge "L2capTest: Migrate all remaining test cases" am: 015b3c71da am: c1e467f38b
Automerger Merge Worker [Fri, 21 Feb 2020 17:44:35 +0000 (17:44 +0000)]
Merge "L2capTest: Migrate all remaining test cases" am: 015b3c71da am: c1e467f38b

Change-Id: I5580bc2d8df205c592352893184aa69b681b6c68

4 years agoMerge "L2CAP: Add test for L2CAP 2/7 Support of command information response" am...
Automerger Merge Worker [Fri, 21 Feb 2020 17:44:28 +0000 (17:44 +0000)]
Merge "L2CAP: Add test for L2CAP 2/7 Support of command information response" am: 9cce7c4407 am: c38af46d67

Change-Id: I72a45a7fc0b6c351a12b0009c41c4f93967254c9

4 years agoMerge "gd: Fix legacy storage test config file" am: e4070f09a0 am: 9730313c3a
Automerger Merge Worker [Fri, 21 Feb 2020 17:43:08 +0000 (17:43 +0000)]
Merge "gd: Fix legacy storage test config file" am: e4070f09a0 am: 9730313c3a

Change-Id: I793068298edc37b4b5279bd45a019c3b60cd22fe

4 years agoMerge "Refactor of headless test to allow additional tests" am: 7c2d86ff45
Automerger Merge Worker [Fri, 21 Feb 2020 17:42:41 +0000 (17:42 +0000)]
Merge "Refactor of headless test to allow additional tests" am: 7c2d86ff45

Change-Id: I9a06b548c51dfdaf0c90473b89327ca96de3a7d9

4 years agoRemove C++ cert stack
Hansong Zhang [Fri, 21 Feb 2020 17:32:31 +0000 (09:32 -0800)]
Remove C++ cert stack

Test: cert/run_cert_facade_only.sh
Change-Id: I91dc5569fbb0226b1b8e18ac62113803eea70c3d

4 years agoMerge "Refactor of headless test to allow additional tests"
Treehugger Robot [Fri, 21 Feb 2020 17:29:32 +0000 (17:29 +0000)]
Merge "Refactor of headless test to allow additional tests"

4 years agogd: l2cap classic fixed channel test
Chris Manton [Fri, 21 Feb 2020 16:16:07 +0000 (08:16 -0800)]
gd: l2cap classic fixed channel test

cleanup EXPECTs

Bug: 146363262
Test: bluetooth_test_gd --gtest_repeat=1000 # x86
Change-Id: Ibb9838d0c1014a187168571a375282b7686e60da

4 years agoMerge "L2capTest: Migrate all remaining test cases" am: 015b3c71da
Automerger Merge Worker [Fri, 21 Feb 2020 17:21:29 +0000 (17:21 +0000)]
Merge "L2capTest: Migrate all remaining test cases" am: 015b3c71da

Change-Id: Ia4775c8d93a41be3449473ca4fad5a37bd7abe7f

4 years agoMerge "L2CAP: Add test for L2CAP 2/7 Support of command information response" am...
Automerger Merge Worker [Fri, 21 Feb 2020 17:21:21 +0000 (17:21 +0000)]
Merge "L2CAP: Add test for L2CAP 2/7 Support of command information response" am: 9cce7c4407

Change-Id: I42ae0b7503a6eb7273e496ed357a6d5a6f6eaf8a

4 years agoMerge "gd: Fix legacy storage test config file" am: e4070f09a0
Automerger Merge Worker [Fri, 21 Feb 2020 17:20:45 +0000 (17:20 +0000)]
Merge "gd: Fix legacy storage test config file" am: e4070f09a0

Change-Id: I5609aa4341aa943b4ba76d699e04e3d8b62a9ad9

4 years agoMerge "L2capTest: Migrate all remaining test cases"
Treehugger Robot [Fri, 21 Feb 2020 17:09:02 +0000 (17:09 +0000)]
Merge "L2capTest: Migrate all remaining test cases"

4 years agoMerge "L2CAP: Add test for L2CAP 2/7 Support of command information response"
Treehugger Robot [Fri, 21 Feb 2020 17:08:47 +0000 (17:08 +0000)]
Merge "L2CAP: Add test for L2CAP 2/7 Support of command information response"

4 years agoMerge "gd: Fix legacy storage test config file"
Treehugger Robot [Fri, 21 Feb 2020 16:57:23 +0000 (16:57 +0000)]
Merge "gd: Fix legacy storage test config file"

4 years agoMerge "gd: Clean up bluetooth_test_gd" am: fbf6c3a408 am: 89368e5247 am: 5d2d1a2bb5
Automerger Merge Worker [Fri, 21 Feb 2020 07:37:42 +0000 (07:37 +0000)]
Merge "gd: Clean up bluetooth_test_gd" am: fbf6c3a408 am: 89368e5247 am: 5d2d1a2bb5

Change-Id: I944cf65cf2f915fe70af1a85da34da8f32b6432a

4 years agoL2capTest: Migrate all remaining test cases
Hansong Zhang [Fri, 21 Feb 2020 06:14:11 +0000 (22:14 -0800)]
L2capTest: Migrate all remaining test cases

Test: cert/run_cert_facade_only.sh
Bug: 14987419
Change-Id: Ie5bba8e9ce19cb3244a6d319e6bff20999a29c2c

4 years agoMerge "gd: Clean up bluetooth_test_gd" am: fbf6c3a408 am: 89368e5247
Automerger Merge Worker [Fri, 21 Feb 2020 07:16:01 +0000 (07:16 +0000)]
Merge "gd: Clean up bluetooth_test_gd" am: fbf6c3a408 am: 89368e5247

Change-Id: Ifcb8053bebbab8c401560fe2715461030f367f78

4 years agoMerge "gd: Clean up bluetooth_test_gd" am: fbf6c3a408
Automerger Merge Worker [Fri, 21 Feb 2020 07:03:31 +0000 (07:03 +0000)]
Merge "gd: Clean up bluetooth_test_gd" am: fbf6c3a408

Change-Id: Ie1efcb167e5a50871452062473c23fd9e7f500e1

4 years agoMerge "gd: Clean up bluetooth_test_gd"
Treehugger Robot [Fri, 21 Feb 2020 06:49:47 +0000 (06:49 +0000)]
Merge "gd: Clean up bluetooth_test_gd"

4 years agoL2capTest: Migrate more test cases am: 22d38ed2b2 am: a720829e30 am: 57d7efc47a
Automerger Merge Worker [Fri, 21 Feb 2020 06:39:28 +0000 (06:39 +0000)]
L2capTest: Migrate more test cases am: 22d38ed2b2 am: a720829e30 am: 57d7efc47a

Change-Id: I6347c7150c77c6a83aaba10fa3df523e5cf1ae73

4 years agoL2capTest: Migrate more test cases am: 22d38ed2b2 am: a720829e30
Automerger Merge Worker [Fri, 21 Feb 2020 06:28:24 +0000 (06:28 +0000)]
L2capTest: Migrate more test cases am: 22d38ed2b2 am: a720829e30

Change-Id: I08c4d288f44d1cc9b06328e1cdce0d1525575b50

4 years agoL2capTest: Migrate more test cases am: 22d38ed2b2
Automerger Merge Worker [Fri, 21 Feb 2020 06:14:01 +0000 (06:14 +0000)]
L2capTest: Migrate more test cases am: 22d38ed2b2

Change-Id: I848937eea9139d07dac82669c72e22d6ab0df00b

4 years agoL2CAP: Add test for L2CAP 2/7 Support of command information response
Ted Wang [Fri, 21 Feb 2020 05:53:06 +0000 (13:53 +0800)]
L2CAP: Add test for L2CAP 2/7 Support of command information response

Add test case L2CAP/COS/IEX/BV-02-C in origin test case for
L2CAP/COS/IEX/BV-02-C test_query_for_1_2_features since these two can be
done in one connection setup procedure

Add following test scripts in pts_l2cap_test:
  test_L2CAP_IEX_BV_01_C
  test_L2CAP_IEX_BV_02_C

Bug: 149468215
Test: run_cert.sh
Change-Id: Icbc727b95b18316d33bddbe2690841ac4e1cc308

4 years agogd: Clean up bluetooth_test_gd
Chris Manton [Fri, 21 Feb 2020 03:58:43 +0000 (19:58 -0800)]
gd: Clean up bluetooth_test_gd

Bug: 146363362
Test: bluetooth_test_gd
Change-Id: I0f3fb81d2b79b781918d18ea89a3ed64574a9610

4 years agoL2capTest: Migrate more test cases
Hansong Zhang [Thu, 20 Feb 2020 23:44:02 +0000 (15:44 -0800)]
L2capTest: Migrate more test cases

And fix some logic

Test: cert/run_cert_facade_only.sh
Bug: 14987419
Change-Id: Id6780f788b88eb33025a08a9396af9a254548d31

4 years agoMerge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject" am: d850e02cd1 am...
Automerger Merge Worker [Fri, 21 Feb 2020 03:41:16 +0000 (03:41 +0000)]
Merge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject" am: d850e02cd1 am: 2d76007f42 am: e71be47347

Change-Id: Iaa421bce1be7fd6ae83461222ad02ad53793639c

4 years agoMerge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject" am: d850e02cd1 am...
Automerger Merge Worker [Fri, 21 Feb 2020 03:30:21 +0000 (03:30 +0000)]
Merge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject" am: d850e02cd1 am: 2d76007f42

Change-Id: Ia598972b9fb1e0dcf88027745c454228fe55771b

4 years agoMerge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject" am: d850e02cd1
Automerger Merge Worker [Fri, 21 Feb 2020 03:16:02 +0000 (03:16 +0000)]
Merge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject" am: d850e02cd1

Change-Id: Ie18d208a5d6a5c51ef3379723adef9ab5fa1ecd2

4 years agoMerge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject"
Ted Wang [Fri, 21 Feb 2020 02:54:59 +0000 (02:54 +0000)]
Merge "L2CAP: Add test case for TSPC_L2CAP_2_7 Can Sent Reject"

4 years agoMerge "L2capTest: Migrate basic ERTM test case" am: 0eb59918e8 am: 42ba9a2711 am...
Automerger Merge Worker [Fri, 21 Feb 2020 02:54:02 +0000 (02:54 +0000)]
Merge "L2capTest: Migrate basic ERTM test case" am: 0eb59918e8 am: 42ba9a2711 am: 4ed7bdac6c

Change-Id: I538cd7a841d30e0718b9bd56fb7a372084be7d65

4 years agoMerge "L2capTest: Migrate basic ERTM test case" am: 0eb59918e8 am: 42ba9a2711
Automerger Merge Worker [Fri, 21 Feb 2020 02:39:11 +0000 (02:39 +0000)]
Merge "L2capTest: Migrate basic ERTM test case" am: 0eb59918e8 am: 42ba9a2711

Change-Id: I9e8c9d56ebb4de1303d6fd15e7f84437f5a2d74a

4 years agoMerge "L2capTest: Migrate basic ERTM test case" am: 0eb59918e8
Automerger Merge Worker [Fri, 21 Feb 2020 02:23:27 +0000 (02:23 +0000)]
Merge "L2capTest: Migrate basic ERTM test case" am: 0eb59918e8

Change-Id: I582b14b63ad79ecd0684ea7d57ca27a35f2504c8

4 years agoMerge "L2capTest: Migrate basic ERTM test case"
Treehugger Robot [Fri, 21 Feb 2020 02:10:31 +0000 (02:10 +0000)]
Merge "L2capTest: Migrate basic ERTM test case"

4 years agoAdd functions to integrate the full spec of LDAC SNK
Chisato Kenmochi [Tue, 14 Jan 2020 07:54:10 +0000 (16:54 +0900)]
Add functions to integrate the full spec of LDAC SNK

The LDAC SNK product is required implemented a buffer control mechanism called LDAC Buffer Control Operation.
This CL adds functions that needed to integrate LDAC Buffer Control Operation.
Note: LDAC Buffer Control Operation is provided separately. Please contact Sony to obtain.

Test: manual test, establish A2dp Connection with LDAC and play music, additionally swap to alternate codecs
Change-Id: I7dc4a0a5aa35dab71325d884e2836acbb7176acc
Signed-off-by: Chisato Kenmochi <Chisato.Kenmochi@sony.com>
4 years agolink manager test am: 784b014dd2 am: 07ea08f742 am: 4f7f4968a5
Automerger Merge Worker [Fri, 21 Feb 2020 01:39:49 +0000 (01:39 +0000)]
link manager test am: 784b014dd2 am: 07ea08f742 am: 4f7f4968a5

Change-Id: I2ced875c0904f36014256fbb3d35e30002c2f4b1

4 years agolink manager test am: 784b014dd2 am: 07ea08f742
Automerger Merge Worker [Fri, 21 Feb 2020 01:28:36 +0000 (01:28 +0000)]
link manager test am: 784b014dd2 am: 07ea08f742

Change-Id: If2da500eb6abb94d77fefbaf3288f898dc984da3

4 years agolink manager test am: 784b014dd2
Automerger Merge Worker [Fri, 21 Feb 2020 01:17:31 +0000 (01:17 +0000)]
link manager test am: 784b014dd2

Change-Id: I7753f1666e142b4391dc60f5e460df631045cd4b

4 years agogd: Fix legacy storage test config file
Chris Manton [Fri, 21 Feb 2020 00:19:54 +0000 (16:19 -0800)]
gd: Fix legacy storage test config file

Should point to appropriate target-based location

Bug: 147315979
Test: bluetooth_test_gd # x86
Test: bluetooth_test_gd # arm

Change-Id: Ic021edb63d1d9b0ee7e5947c7e53e0384d34b9e2