OSDN Git Service

android-x86/system-bt.git
5 years agoSeparate out l2cap control frame payload data am: 3360b8de47
Chris Manton [Thu, 18 Jul 2019 20:29:13 +0000 (13:29 -0700)]
Separate out l2cap control frame payload data am: 3360b8de47
am: 98a32b3e98

Change-Id: I296d3ddf36f698307c823dcf8a5fa6ffdbdcba11

5 years agoSeparate out l2cap control frame payload data
Chris Manton [Thu, 18 Jul 2019 20:20:15 +0000 (13:20 -0700)]
Separate out l2cap control frame payload data
am: 3360b8de47

Change-Id: Ie4ffcf156da58bd85b924bf7ade769f435ef9baf

5 years agoSeparate out l2cap control frame payload data
Chris Manton [Wed, 17 Jul 2019 18:37:27 +0000 (11:37 -0700)]
Separate out l2cap control frame payload data

Test: make -j32
Change-Id: I1c145c05fc444c1dcef169396e636e94fda8cbd0

5 years agoMerge "Refresh the encoder configuration of software while updating the MTU" am:...
Cheney Ni [Tue, 16 Jul 2019 22:59:36 +0000 (15:59 -0700)]
Merge "Refresh the encoder configuration of software while updating the MTU" am: 42308baabc
am: 72c924fe66

Change-Id: Ibe1610fa5d5ff7242b096179fcf0da721a17bdb4

5 years agoMerge "Refresh the encoder configuration of software while updating the MTU"
Cheney Ni [Tue, 16 Jul 2019 22:48:34 +0000 (15:48 -0700)]
Merge "Refresh the encoder configuration of software while updating the MTU"
am: 42308baabc

Change-Id: Ic3792814467e4c8b66ba4f77ac86113a24efa45e

5 years agoMerge "Refresh the encoder configuration of software while updating the MTU"
Treehugger Robot [Tue, 16 Jul 2019 22:19:14 +0000 (22:19 +0000)]
Merge "Refresh the encoder configuration of software while updating the MTU"

5 years agoMerge "Remove libnativehelper/include/nativehelper from include_dirs" am: a30a8cf8fa
Paul Duffin [Tue, 16 Jul 2019 20:20:34 +0000 (13:20 -0700)]
Merge "Remove libnativehelper/include/nativehelper from include_dirs" am: a30a8cf8fa
am: fdaad85cb5

Change-Id: I872374240455ad5ce6293cdd1ae111a8f202d670

5 years agoMerge "Remove libnativehelper/include/nativehelper from include_dirs"
Paul Duffin [Tue, 16 Jul 2019 20:10:36 +0000 (13:10 -0700)]
Merge "Remove libnativehelper/include/nativehelper from include_dirs"
am: a30a8cf8fa

Change-Id: I1f38227aa8694109a220efcf925143322bd962c1

5 years agoMerge "Remove libnativehelper/include/nativehelper from include_dirs"
Paul Duffin [Tue, 16 Jul 2019 19:28:48 +0000 (19:28 +0000)]
Merge "Remove libnativehelper/include/nativehelper from include_dirs"

5 years agoAVDTP: Make sure the UUID of the SCB is initialized before discovering am: b0401e9180
Cheney Ni [Tue, 16 Jul 2019 19:19:13 +0000 (12:19 -0700)]
AVDTP: Make sure the UUID of the SCB is initialized before discovering am: b0401e9180
am: f49ebf8623

Change-Id: I4ed20182d419e1384a9384d55db81cc65c345d42

5 years agoAVDTP: Make sure the UUID of the SCB is initialized before discovering
Cheney Ni [Tue, 16 Jul 2019 19:09:16 +0000 (12:09 -0700)]
AVDTP: Make sure the UUID of the SCB is initialized before discovering
am: b0401e9180

Change-Id: I388273a0f3c657b2566333a6e34a8eb981a8e5a8

5 years agoRemove libnativehelper/include/nativehelper from include_dirs
Paul Duffin [Tue, 16 Jul 2019 13:37:35 +0000 (14:37 +0100)]
Remove libnativehelper/include/nativehelper from include_dirs

Needed as libnativehelper is part of the runtime module and so will not
be present in an unbundled build, instead its build targets will be
provided as prebuilts.

Bug: 134379140
Test: m checkbuild
Change-Id: Ia3c7261b9b3f0d67a897af03ef6a3e016627b7e6

5 years agoAVDTP: Make sure the UUID of the SCB is initialized before discovering
Cheney Ni [Tue, 16 Jul 2019 12:43:49 +0000 (20:43 +0800)]
AVDTP: Make sure the UUID of the SCB is initialized before discovering

When parsing remote SEP capabilities, we check the UUID value in the AV
SCB to choose the SEP, and this parameter was assigned when AVDTP was
reconnecting from the phone side. This change also assigns the UUID to
make sure the stack can find remote's SEPs correctly when reconnected
by the remote.

Bug: 137631786
Test: make AVDTP reconnection from the peer side
Change-Id: Ib2fa6e76de31bab1131c024e9f76433f3fd8b60a

5 years agoCert: Let EventStream subscribe() block am: b9ecf192de
Hansong Zhang [Thu, 11 Jul 2019 21:39:42 +0000 (14:39 -0700)]
Cert: Let EventStream subscribe() block am: b9ecf192de
am: a138a2e5a4

Change-Id: Ifd7176c2bae79e67aab5b53007901d78f888970e

5 years agoCert: Let EventStream subscribe() block
Hansong Zhang [Thu, 11 Jul 2019 21:31:43 +0000 (14:31 -0700)]
Cert: Let EventStream subscribe() block
am: b9ecf192de

Change-Id: Ibc460c1f10e10dbf20887bce4586c7bae8a69715

5 years agoMerge "GD HCI:Wait channel ready after stop/start server" am: 0ce82d0756
Chienyuan [Thu, 11 Jul 2019 18:51:01 +0000 (11:51 -0700)]
Merge "GD HCI:Wait channel ready after stop/start server" am: 0ce82d0756
am: 6d70fa271e

Change-Id: I4e98a1369a73f2711009af42f67001c28378e08b

5 years agoMerge "GD HCI:Wait channel ready after stop/start server"
Chienyuan [Thu, 11 Jul 2019 18:41:47 +0000 (11:41 -0700)]
Merge "GD HCI:Wait channel ready after stop/start server"
am: 0ce82d0756

Change-Id: Ibe180f6eaa01f2db430a927377b7a5733c81f802

5 years agoCert: Let EventStream subscribe() block
Hansong Zhang [Wed, 19 Jun 2019 23:45:58 +0000 (16:45 -0700)]
Cert: Let EventStream subscribe() block

In EventStream, let subscribe() and unsubscribe() block. Also simplify
the code.

Test: cert/run_cert.sh
Change-Id: I73eaed21fc77a114c8b678a0c86775f125a35cd1

5 years agoMerge "GD HCI:Wait channel ready after stop/start server"
Treehugger Robot [Thu, 11 Jul 2019 18:11:12 +0000 (18:11 +0000)]
Merge "GD HCI:Wait channel ready after stop/start server"

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705...
Xin Li [Thu, 11 Jul 2019 07:14:04 +0000 (00:14 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master" am: 9b28b277ea -s ours
am: a225b60cfc -s ours
am skip reason: subject contains skip directive

Change-Id: I7c52ea2e287dd26351b66b5f28c8401487acad2a

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705...
Xin Li [Thu, 11 Jul 2019 06:59:31 +0000 (23:59 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master"
am: 9b28b277ea -s ours
am skip reason: subject contains skip directive

Change-Id: I4be39a5d1dc09e7b3613974fc256027eae366663

5 years agoGD HCI:Wait channel ready after stop/start server
Chienyuan [Thu, 11 Jul 2019 06:30:20 +0000 (14:30 +0800)]
GD HCI:Wait channel ready after stop/start server

When running multiple tests, the second test will always fail due to
client send rpc request before channel ready. Add wait_channel_ready
function to GdDeviceBase and use it to check channel ready when each
testcase start.

Bug: 136577370
Test: run run_cert.sh
Change-Id: I708035a21b43bcdef80ef45644205648b08cd074

5 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004)...
Xin Li [Thu, 11 Jul 2019 05:17:42 +0000 (22:17 -0700)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master am: bc2da6ff22 -s ours
am: 5f392dfa27 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib6d1b12beb924ee3333a2fae3d7332a1ac83f47b

5 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004)...
Xin Li [Thu, 11 Jul 2019 04:22:39 +0000 (21:22 -0700)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master
am: bc2da6ff22 -s ours
am skip reason: subject contains skip directive

Change-Id: I43859141fd5c6f196bb728b56495502836c938dc

5 years agoMerge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master"
Treehugger Robot [Thu, 11 Jul 2019 03:52:58 +0000 (03:52 +0000)]
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master"

5 years agoMerge "Add log entry to interop_match_name()" am: a6646fcb9c
Andre Eisenbach [Wed, 10 Jul 2019 21:07:29 +0000 (14:07 -0700)]
Merge "Add log entry to interop_match_name()" am: a6646fcb9c
am: e590a487d6

Change-Id: Ic2ace3d306cdc75c365b973ea17e50111759614d

5 years agoMerge "Add log entry to interop_match_name()"
Andre Eisenbach [Wed, 10 Jul 2019 20:45:53 +0000 (13:45 -0700)]
Merge "Add log entry to interop_match_name()"
am: a6646fcb9c

Change-Id: I0fdf90ac384419e327262c42697ce6e482d1cd52

5 years agoSwitch Nintendo workaround to match by name
Andre Eisenbach [Wed, 10 Jul 2019 20:30:27 +0000 (13:30 -0700)]
Switch Nintendo workaround to match by name
am: c14c14fbc4

Change-Id: I07a2eb3ef468594cf8eee0628314ed8258ae09c7

5 years agoMatch Nintento Pro Controller by name for interop
Andre Eisenbach [Wed, 10 Jul 2019 20:30:01 +0000 (13:30 -0700)]
Match Nintento Pro Controller by name for interop
am: b71ebf2d82

Change-Id: Id35c63a18c6d42bf599270689cff1f0046b9107f

5 years agoMerge "Add log entry to interop_match_name()"
Andre Eisenbach [Wed, 10 Jul 2019 18:17:10 +0000 (18:17 +0000)]
Merge "Add log entry to interop_match_name()"

5 years agoMerge "ACL manager cert" am: 33ae129b60
Hansong Zhang [Wed, 10 Jul 2019 02:54:58 +0000 (19:54 -0700)]
Merge "ACL manager cert" am: 33ae129b60
am: d3eb1c79b7

Change-Id: Id7f5e1ac037c8076bff1ac39317a6b476a12d6d8

5 years agoMerge "ACL manager cert"
Hansong Zhang [Wed, 10 Jul 2019 02:45:55 +0000 (19:45 -0700)]
Merge "ACL manager cert"
am: 33ae129b60

Change-Id: Ia817e5feeb24b1a8e64590dcd34e109a485453f3

5 years agoMerge "ACL manager cert"
Treehugger Robot [Wed, 10 Jul 2019 02:38:58 +0000 (02:38 +0000)]
Merge "ACL manager cert"

5 years agoMerge "PDL: Add variable-size CustomField(s)" am: 38c5ec9cea
Myles Watson [Wed, 10 Jul 2019 00:52:42 +0000 (17:52 -0700)]
Merge "PDL: Add variable-size CustomField(s)" am: 38c5ec9cea
am: b5b7bdf2c8

Change-Id: I7f8bd4cc447cef7ae1c0688db91b9fc18bb49553

5 years agoMerge "PDL: Add ParentDef for packets" am: df764fc25e
Myles Watson [Wed, 10 Jul 2019 00:52:07 +0000 (17:52 -0700)]
Merge "PDL: Add ParentDef for packets" am: df764fc25e
am: 74b3e52362

Change-Id: I650de4cdf992ca62442804b5f7cb921f5a1a65e8

5 years agoMerge "PDL: Move GenInclude and GenUsing to CustomDef" am: 2e1fe86ab1
Myles Watson [Wed, 10 Jul 2019 00:51:36 +0000 (17:51 -0700)]
Merge "PDL: Move GenInclude and GenUsing to CustomDef" am: 2e1fe86ab1
am: 23aa0183b7

Change-Id: I643f92207c9a4d2d25de225566a3c3c668873f59

5 years agoMerge "PDL: Add variable-size CustomField(s)"
Myles Watson [Wed, 10 Jul 2019 00:43:55 +0000 (17:43 -0700)]
Merge "PDL: Add variable-size CustomField(s)"
am: 38c5ec9cea

Change-Id: I129b3990614549795acda47f3b651c5aed0d09d3

5 years agoMerge "PDL: Add ParentDef for packets"
Myles Watson [Wed, 10 Jul 2019 00:43:14 +0000 (17:43 -0700)]
Merge "PDL: Add ParentDef for packets"
am: df764fc25e

Change-Id: I4bc223ec3ac8c7870b99ce061f67d605475ef55a

5 years agoMerge "PDL: Move GenInclude and GenUsing to CustomDef"
Myles Watson [Wed, 10 Jul 2019 00:42:36 +0000 (17:42 -0700)]
Merge "PDL: Move GenInclude and GenUsing to CustomDef"
am: 2e1fe86ab1

Change-Id: I30ca03a1bd5a9d947493879b1cae97c469de23f9

5 years agoMerge "PDL: Add variable-size CustomField(s)"
Treehugger Robot [Wed, 10 Jul 2019 00:30:41 +0000 (00:30 +0000)]
Merge "PDL: Add variable-size CustomField(s)"

5 years agoMerge "PDL: Add ParentDef for packets"
Treehugger Robot [Wed, 10 Jul 2019 00:30:13 +0000 (00:30 +0000)]
Merge "PDL: Add ParentDef for packets"

5 years agoMerge "PDL: Move GenInclude and GenUsing to CustomDef"
Treehugger Robot [Wed, 10 Jul 2019 00:26:13 +0000 (00:26 +0000)]
Merge "PDL: Move GenInclude and GenUsing to CustomDef"

5 years agoMerge "Rootcanal: Implement reject connection request" am: 303e8593f1
Hansong Zhang [Wed, 10 Jul 2019 00:25:59 +0000 (17:25 -0700)]
Merge "Rootcanal: Implement reject connection request" am: 303e8593f1
am: 19a903fbb2

Change-Id: Ida39442b684237fead69a0f796dc72293493e756

5 years agoSwitch Nintendo workaround to match by name am: 34a2667502
Andre Eisenbach [Wed, 10 Jul 2019 00:25:34 +0000 (17:25 -0700)]
Switch Nintendo workaround to match by name am: 34a2667502
am: 4f3523ddbe

Change-Id: I46ef0ac03fd5615f7a321eb34c079ca9f86b4b40

5 years agoAdd log entry to interop_match_name()
Andre Eisenbach [Tue, 9 Jul 2019 23:59:41 +0000 (16:59 -0700)]
Add log entry to interop_match_name()

Bug: 137141824
Test: manual
Change-Id: Id59d32b31c8915f008ee85920cebd2a06b50c040

5 years agoMerge "Rootcanal: Implement reject connection request"
Hansong Zhang [Wed, 10 Jul 2019 00:12:51 +0000 (17:12 -0700)]
Merge "Rootcanal: Implement reject connection request"
am: 303e8593f1

Change-Id: Id5d2c0f2fd47a519bcacf29de08683c5352b2624

5 years agoSwitch Nintendo workaround to match by name
Andre Eisenbach [Wed, 10 Jul 2019 00:11:40 +0000 (17:11 -0700)]
Switch Nintendo workaround to match by name
am: 34a2667502

Change-Id: Idacf019088ee2e58a137f4fdd94fd5f1e35707a8

5 years agoMerge "Rootcanal: Implement reject connection request"
Treehugger Robot [Wed, 10 Jul 2019 00:05:59 +0000 (00:05 +0000)]
Merge "Rootcanal: Implement reject connection request"

5 years agoDO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master
Xin Li [Tue, 9 Jul 2019 23:54:23 +0000 (16:54 -0700)]
DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master

Bug: 136196576
Change-Id: I0b01b2d05243625f3c4ae1b3326bae88ea6a9f36

5 years agoSwitch Nintendo workaround to match by name
Andre Eisenbach [Mon, 8 Jul 2019 21:49:06 +0000 (14:49 -0700)]
Switch Nintendo workaround to match by name

Bug: 136478524
Test: manual
Change-Id: Ib60cd5adfc4db3ba93fe5ed8c15353225b6cf165

5 years agoMatch Nintento Pro Controller by name for interop
Andre Eisenbach [Mon, 1 Jul 2019 17:48:10 +0000 (10:48 -0700)]
Match Nintento Pro Controller by name for interop

The Nintento Pro Controller uses an unknown number of
BDA ranges (at least 3 found internally). Switching
to name matching...

Bug: 136478524
Test: manual
Change-Id: Ie2dfb700c9550af0c314759ec496a04a8e1aa062

5 years agoSwitch Nintendo workaround to match by name
Andre Eisenbach [Mon, 8 Jul 2019 21:49:06 +0000 (14:49 -0700)]
Switch Nintendo workaround to match by name

Bug: 136478524
Test: manual
Change-Id: Ib60cd5adfc4db3ba93fe5ed8c15353225b6cf165

5 years agoPDL: Add variable-size CustomField(s)
Myles Watson [Tue, 2 Jul 2019 19:02:47 +0000 (12:02 -0700)]
PDL: Add variable-size CustomField(s)

Test: bluetooth_packet_parser_test
Change-Id: I88e3dd2ab4804e8b5a0692d005969640cc110b99

5 years agoPDL: Add ParentDef for packets
Myles Watson [Tue, 9 Jul 2019 21:09:42 +0000 (14:09 -0700)]
PDL: Add ParentDef for packets

Factor out logic for holding fields in preparation for
structs.

Test: bluetooth_packet_parser_test
Change-Id: Ic9eb6d5387efe5be439a0d6b222c557b05bd3fa9

5 years agoPDL: Move GenInclude and GenUsing to CustomDef
Myles Watson [Tue, 2 Jul 2019 17:14:47 +0000 (10:14 -0700)]
PDL: Move GenInclude and GenUsing to CustomDef

Test: bluetooth_packet_parser_test
Change-Id: I9ebe10f9d537a254ddd21d62d2c1a23f38e00d0e

5 years agoACL manager cert
Hansong Zhang [Thu, 20 Jun 2019 00:22:21 +0000 (17:22 -0700)]
ACL manager cert

Test: cert/run_cert.sh
Change-Id: I89814224be191fd97a2581b3a36eed67748be7c5

5 years agoRootcanal: Implement reject connection request
Hansong Zhang [Mon, 8 Jul 2019 22:32:26 +0000 (15:32 -0700)]
Rootcanal: Implement reject connection request

Test: manual
Change-Id: I5413cf83f031b6eb2b83b943c6157f845aa40b2d

5 years agoSnap for 5622519 from fef57bda2a3cf2dca83848db5b8e789cb32dac1d to pi-platform-release
android-build-team Robot [Mon, 8 Jul 2019 23:37:32 +0000 (23:37 +0000)]
Snap for 5622519 from fef57bda2a3cf2dca83848db5b8e789cb32dac1d to pi-platform-release

Change-Id: I6e3b65c572808128485a96f58ce863a1619544fc

5 years agoMerge "Match Nintento Pro Controller by name for interop" am: 2409830a5c
Andre Eisenbach [Mon, 8 Jul 2019 20:34:22 +0000 (13:34 -0700)]
Merge "Match Nintento Pro Controller by name for interop" am: 2409830a5c
am: 768a4c0094

Change-Id: I75e8f66f2e63881eaa55bcd3b43e278db914b97e

5 years agoMerge "Match Nintento Pro Controller by name for interop"
Andre Eisenbach [Mon, 8 Jul 2019 20:21:40 +0000 (13:21 -0700)]
Merge "Match Nintento Pro Controller by name for interop"
am: 2409830a5c

Change-Id: Ie397fa1b663d2db25f09af6ad150b2f1eba12912

5 years agoMerge "Match Nintento Pro Controller by name for interop"
Andre Eisenbach [Mon, 8 Jul 2019 20:04:39 +0000 (20:04 +0000)]
Merge "Match Nintento Pro Controller by name for interop"

5 years agoSnap for 5600800 from 2d3cdf31bb8d8452380a3398e57e87f88318a274 to pi-platform-release
android-build-team Robot [Mon, 8 Jul 2019 18:26:18 +0000 (18:26 +0000)]
Snap for 5600800 from 2d3cdf31bb8d8452380a3398e57e87f88318a274 to pi-platform-release

Change-Id: I022653b900c4996c7d78dde1b5b4c66beb729b95

5 years agoMatch Nintento Pro Controller by name for interop
Andre Eisenbach [Mon, 1 Jul 2019 17:48:10 +0000 (10:48 -0700)]
Match Nintento Pro Controller by name for interop

The Nintento Pro Controller uses an unknown number of
BDA ranges (at least 3 found internally). Switching
to name matching...

Bug: 136478524
Test: manual
Change-Id: Ie2dfb700c9550af0c314759ec496a04a8e1aa062

5 years agoMerge "GD:Wait channel ready after stop/start server" am: c69bb21d5b
Chienyuan [Mon, 8 Jul 2019 17:23:25 +0000 (10:23 -0700)]
Merge "GD:Wait channel ready after stop/start server" am: c69bb21d5b
am: 266cd99b8a

Change-Id: I722450e98c391557165b8853d9f3291be69f7ce7

5 years agoMerge "GD:Wait channel ready after stop/start server"
Chienyuan [Mon, 8 Jul 2019 17:14:57 +0000 (10:14 -0700)]
Merge "GD:Wait channel ready after stop/start server"
am: c69bb21d5b

Change-Id: I487459197e1f9837de99a5e51051c25a08970d04

5 years agoMerge "GD:Wait channel ready after stop/start server"
Treehugger Robot [Mon, 8 Jul 2019 16:46:45 +0000 (16:46 +0000)]
Merge "GD:Wait channel ready after stop/start server"

5 years agoGD:Wait channel ready after stop/start server
Chienyuan [Fri, 5 Jul 2019 10:18:56 +0000 (18:18 +0800)]
GD:Wait channel ready after stop/start server

When running multiple tests, the second test will always fail due to
client send rpc request before channel ready. Add wait_channel_ready
function to GdDeviceBase and use it to check channel ready when each
testcase start.

Bug: 136577370
Test: run run_cert.sh
Change-Id: I210dcd69d6e40a315710ba2b8e9e8819e462b42b

5 years agoMerge "Hearing Aid: set BLE phy to 2M if local and peer indicate PHY 2M support"...
weichinweng [Thu, 4 Jul 2019 08:37:39 +0000 (01:37 -0700)]
Merge "Hearing Aid: set BLE phy to 2M if local and peer indicate PHY 2M support" am: 6f27ff477b
am: 914784b5f6

Change-Id: If344b27fbf6c7a2591e76d661331f70c4a5dde11

5 years agoMerge "Hearing Aid: set BLE phy to 2M if local and peer indicate PHY 2M support"
weichinweng [Thu, 4 Jul 2019 08:28:40 +0000 (01:28 -0700)]
Merge "Hearing Aid: set BLE phy to 2M if local and peer indicate PHY 2M support"
am: 6f27ff477b

Change-Id: I5a8c50bff2481280a13dbe5033bab5eafd98d56a

5 years agoMerge "Hearing Aid: set BLE phy to 2M if local and peer indicate PHY 2M support"
Treehugger Robot [Thu, 4 Jul 2019 08:00:23 +0000 (08:00 +0000)]
Merge "Hearing Aid: set BLE phy to 2M if local and peer indicate PHY 2M support"

5 years agoPDL: Add missing quote in matching constraint error am: 25c2cae24d
Myles Watson [Wed, 3 Jul 2019 23:18:25 +0000 (16:18 -0700)]
PDL: Add missing quote in matching constraint error am: 25c2cae24d
am: 606d9249e3

Change-Id: I02bbed15d5762b2546a1f3dd6dfb3c39f0bb760d

5 years ago[automerger skipped] RootCanal: Set the timer period to 1 second
Myles Watson [Wed, 3 Jul 2019 23:08:24 +0000 (16:08 -0700)]
[automerger skipped] RootCanal: Set the timer period to 1 second
am: eb9a775086 -s ours
am skip reason: change_id I609f917061e5d83e011edfeb61de281ff45b13e4 with SHA1 106fc60a97 is in history

Change-Id: I2914388d1c34943d36b1d8f1dcdcf5a175e7a323

5 years agoPDL: Add missing quote in matching constraint error
Myles Watson [Wed, 3 Jul 2019 23:08:23 +0000 (16:08 -0700)]
PDL: Add missing quote in matching constraint error
am: 25c2cae24d

Change-Id: I53709ddfdb3af5e5b94aa9ae91bfd9d240527fd5

5 years agoRefresh the encoder configuration of software while updating the MTU
Cheney Ni [Mon, 10 Jun 2019 13:46:03 +0000 (21:46 +0800)]
Refresh the encoder configuration of software while updating the MTU

In order to have better compatibility, peer parameters like the MTU are
necessary for packing AVDTP media frames. When reconfiguring the codec,
the encoder was updated before negotiated with remote, and needed to
update again after data channel opened. There was set audio config from
UIPC to help, and now we add the request after reconfigured.

Bug: 134125165
Test: manual
Change-Id: Ia823057b13cebde63d72f2a41aa744f1966eb20d

5 years agoRootCanal: Set the timer period to 1 second
Myles Watson [Mon, 1 Jul 2019 22:22:26 +0000 (15:22 -0700)]
RootCanal: Set the timer period to 1 second

Reduce the CPU overhead of simulating the Bluetooth chip.

Bug: 136503363
Test: enable Bluetooth with RootCanal
Change-Id: I3a783a4d8a46d4eef43ddbace23c672ef9f6d7f9
Merged-In: I609f917061e5d83e011edfeb61de281ff45b13e4

5 years agoHearing Aid: set BLE phy to 2M if local and peer indicate PHY 2M support
weichinweng [Wed, 3 Jul 2019 09:52:19 +0000 (17:52 +0800)]
Hearing Aid: set BLE phy to 2M if local and peer indicate PHY 2M support

Set the BLE phy to 2M if the BT controller and peer Hearing Aid device
indicate phy 2M support, otherwise, use default phy channel.

Bug: 135769508
Test: 1.Forget/Repair Hearing Aid device check whether phy is expected.
2.Disconnect/Reconnect Hearing Aid device check whether phy is expected.
3.HearingAid device power off/on, check whether phy is expected.

Change-Id: Ib410a8885f3a68c361bb97d5c9a3833f2a1be528

5 years agoPDL: Add missing quote in matching constraint error
Myles Watson [Wed, 5 Jun 2019 22:35:52 +0000 (15:35 -0700)]
PDL: Add missing quote in matching constraint error

Test: misspell a constraint and compile a .pdl file
Change-Id: I86aa9a8a4270d4c5fd922c53112ffdf8fc0f86fe

5 years ago[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924...
Xin Li [Tue, 2 Jul 2019 17:09:39 +0000 (10:09 -0700)]
[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
am: 8212f1324a -s ours
am skip reason: subject contains skip directive

Change-Id: I8adfd5fa5ade1481f9d330e858959f307bb1511b

5 years agoMerge "RootCanal: Make beacons less verbose" into qt-dev
Myles Watson [Mon, 1 Jul 2019 22:31:26 +0000 (15:31 -0700)]
Merge "RootCanal: Make beacons less verbose" into qt-dev
am: 155a2373f3

Change-Id: I954c6cc25d3948c788d524ccde4a0850770a5802

5 years agoMerge "RootCanal: Make beacons less verbose" into qt-dev
TreeHugger Robot [Mon, 1 Jul 2019 22:11:59 +0000 (22:11 +0000)]
Merge "RootCanal: Make beacons less verbose" into qt-dev

5 years agoDO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
Xin Li [Mon, 1 Jul 2019 21:00:28 +0000 (21:00 +0000)]
DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master

Bug: 134405016
Change-Id: If76b0df5dadd7a1a07863d1ca312d1f31ff3e0fe

5 years agoRootCanal: Make beacons less verbose
Myles Watson [Wed, 26 Jun 2019 17:27:19 +0000 (10:27 -0700)]
RootCanal: Make beacons less verbose

Fixes: 136287879
Test: scan for Bluetooth devices, watch logcat
Change-Id: I971a7e56359adc39d006a1b10b5333c2f31ebaff
(cherry picked from commit 0d5adc6fac590dc14f46790b3962c40712303aea)

5 years ago[automerger skipped] DO NOT MERGE RootCanal: Always add default devices
Myles Watson [Thu, 27 Jun 2019 20:59:00 +0000 (13:59 -0700)]
[automerger skipped] DO NOT MERGE RootCanal: Always add default devices
am: 6160b51adc -s ours
am skip reason: change_id I9912dc7a98155972483e1e1dca812ebbae806bdd with SHA1 38767e7f97 is in history

Change-Id: I6504ba185e795910a4d22baabe5aa2df00622969

5 years agoDO NOT MERGE RootCanal: Always add default devices
Myles Watson [Fri, 21 Jun 2019 13:04:08 +0000 (06:04 -0700)]
DO NOT MERGE RootCanal: Always add default devices

Fixes: 129546852
Test: android.bluetooth.cts.BluetoothLeScanTest#testBasicBleScan
Change-Id: I9912dc7a98155972483e1e1dca812ebbae806bdd
(cherry picked from commit 38767e7f973616ecd020e90572d6ddc73e24c5e3)
Merged-In: I9912dc7a98155972483e1e1dca812ebbae806bdd

5 years agoRootCanal: Always add default devices am: 38767e7f97
Myles Watson [Thu, 27 Jun 2019 01:16:25 +0000 (18:16 -0700)]
RootCanal: Always add default devices am: 38767e7f97
am: afa1291441

Change-Id: Ia1a98567a2a488fa10a471b260940a866140c186

5 years agoRootCanal: Always add default devices
Myles Watson [Thu, 27 Jun 2019 00:57:21 +0000 (17:57 -0700)]
RootCanal: Always add default devices
am: 38767e7f97

Change-Id: I4d195262aa4870fa1d4a22311a46124f4dfe4590

5 years agoRootCanal: Make beacons less verbose am: 0d5adc6fac
Myles Watson [Wed, 26 Jun 2019 22:22:57 +0000 (15:22 -0700)]
RootCanal: Make beacons less verbose am: 0d5adc6fac
am: ab787f6d8b

Change-Id: Ib8281ac397f1c90635396e62f35b8b24146538fb

5 years agoRootCanal: Make beacons less verbose
Myles Watson [Wed, 26 Jun 2019 22:07:44 +0000 (15:07 -0700)]
RootCanal: Make beacons less verbose
am: 0d5adc6fac

Change-Id: Ice56f0195d802e1fa3a143c7285f0eded1578a93

5 years agoRootCanal: Always add default devices
Myles Watson [Fri, 21 Jun 2019 13:04:08 +0000 (06:04 -0700)]
RootCanal: Always add default devices

Bug: 129546852
Test: android.bluetooth.cts.BluetoothLeScanTest#testBasicBleScan
Change-Id: I9912dc7a98155972483e1e1dca812ebbae806bdd

5 years agoRootCanal: Make beacons less verbose
Myles Watson [Wed, 26 Jun 2019 17:27:19 +0000 (10:27 -0700)]
RootCanal: Make beacons less verbose

Test: scan for Bluetooth devices, watch logcat
Change-Id: I971a7e56359adc39d006a1b10b5333c2f31ebaff

5 years agoRootcanal: Fix check in RejectSlaveConnection am: 7770d4d644
Hansong Zhang [Mon, 24 Jun 2019 23:40:15 +0000 (16:40 -0700)]
Rootcanal: Fix check in RejectSlaveConnection am: 7770d4d644
am: 7fc8ceb04c

Change-Id: Icfd00ce77bb59ef2bb44496a3f8f4811d3aa15c0

5 years agoRootcanal: Fix check in RejectSlaveConnection
Hansong Zhang [Mon, 24 Jun 2019 23:33:37 +0000 (16:33 -0700)]
Rootcanal: Fix check in RejectSlaveConnection
am: 7770d4d644

Change-Id: I290613d754267c5a4d97ee1d5562b39a1a6289a7

5 years agoRootcanal: Fix check in RejectSlaveConnection
Hansong Zhang [Fri, 21 Jun 2019 20:53:33 +0000 (13:53 -0700)]
Rootcanal: Fix check in RejectSlaveConnection

Test: manual
Change-Id: Ic37c123f5326e2cf5675f2eeb1734eb9514d86bc

5 years agoGAP: Correct the continuous pkt length in l2cap am: 337bd45794
Venkata Jagadeesh Garaga [Fri, 21 Jun 2019 15:36:52 +0000 (08:36 -0700)]
GAP: Correct the continuous pkt length in l2cap am: 337bd45794
am: fdcf9ea434

Change-Id: I2598596ff14b7f29d5373fd81e058a9046f5343f

5 years agoGAP: Correct the continuous pkt length in l2cap
Venkata Jagadeesh Garaga [Fri, 21 Jun 2019 15:09:57 +0000 (08:09 -0700)]
GAP: Correct the continuous pkt length in l2cap
am: 337bd45794

Change-Id: I15e184af5dc8b9873f0941f0188892c60fad7a44

5 years agoGAP: Correct the continuous pkt length in l2cap
Venkata Jagadeesh Garaga [Thu, 18 Apr 2019 11:43:49 +0000 (17:13 +0530)]
GAP: Correct the continuous pkt length in l2cap

L2cap continuous pkt length wrongly calculated in
reassembly logic when remote sends more data
than expected.

Wrong pkt length leading to memory corruption

Hence the Correct the continuous pkt length in
l2cap reassembly logic.

Change-Id: I758d9e31465b99e436b9b1841320000f08186c97
CRs-Fixed: 2434229
Bug: 135239489

5 years agoRootcanal: detect HCI socket close am: 106fc60a97
Hansong Zhang [Fri, 21 Jun 2019 00:34:45 +0000 (17:34 -0700)]
Rootcanal: detect HCI socket close am: 106fc60a97
am: 854003b693

Change-Id: Ic3e71542ddeaf6cfc7b881be1416d8c7293f0691

5 years agoRootcanal: detect HCI socket close
Hansong Zhang [Fri, 21 Jun 2019 00:24:38 +0000 (17:24 -0700)]
Rootcanal: detect HCI socket close
am: 106fc60a97

Change-Id: I42e1f7165abb47219510a1e4369f4c763076442a

5 years agoMerge "Extend setup acts script with more helpful information on failure" am: a91ca67ff5
Chris Manton [Thu, 20 Jun 2019 22:25:09 +0000 (15:25 -0700)]
Merge "Extend setup acts script with more helpful information on failure" am: a91ca67ff5
am: 8c9415adff

Change-Id: I12365bc2f03045ddf166562601bdfb8c0d1aabdb

5 years agoRootcanal: detect HCI socket close
Hansong Zhang [Wed, 19 Jun 2019 23:53:15 +0000 (16:53 -0700)]
Rootcanal: detect HCI socket close

Test: manual
Change-Id: I609f917061e5d83e011edfeb61de281ff45b13e4