OSDN Git Service

android-x86/system-bt.git
5 years agoPDL: Extract CustomFieldFixedSize am: cff15c1724 am: 3788a37fcf
Myles Watson [Mon, 22 Jul 2019 23:06:54 +0000 (16:06 -0700)]
PDL: Extract CustomFieldFixedSize am: cff15c1724 am: 3788a37fcf
am: c4b67d322c

Change-Id: I65c64d2dace1f94e793523a66bde4a6cb30dc12e

5 years agoPDL: Add GenExtractor functions to fields am: cbfe6cf599 am: d6cd3e8401
Myles Watson [Mon, 22 Jul 2019 23:06:48 +0000 (16:06 -0700)]
PDL: Add GenExtractor functions to fields am: cbfe6cf599 am: d6cd3e8401
am: 7b94d0cd74

Change-Id: I8e2843acd12d882acb81ceded5d73d1c0f66c52f

5 years agoPDL: Extract CustomFieldFixedSize am: cff15c1724
Myles Watson [Mon, 22 Jul 2019 22:57:00 +0000 (15:57 -0700)]
PDL: Extract CustomFieldFixedSize am: cff15c1724
am: 3788a37fcf

Change-Id: I2b6f2e5fa87836d6265323c4466ec3e833ec5eb4

5 years agoPDL: Add GenExtractor functions to fields am: cbfe6cf599
Myles Watson [Mon, 22 Jul 2019 22:56:54 +0000 (15:56 -0700)]
PDL: Add GenExtractor functions to fields am: cbfe6cf599
am: d6cd3e8401

Change-Id: I5eddc8b76eb6caf6e357c2c7b5b8d74a42f3af1f

5 years agoPDL: Extract CustomFieldFixedSize
Myles Watson [Mon, 22 Jul 2019 22:46:47 +0000 (15:46 -0700)]
PDL: Extract CustomFieldFixedSize
am: cff15c1724

Change-Id: Iece7efa42bcad1408dcf38ee271c2cb639d37d6f

5 years agoPDL: Add GenExtractor functions to fields
Myles Watson [Mon, 22 Jul 2019 22:46:43 +0000 (15:46 -0700)]
PDL: Add GenExtractor functions to fields
am: cbfe6cf599

Change-Id: I693c40f07ada6843826b4f98bfa85547bfbb57c0

5 years agoPDL: Separate member and parameters for arrays am: 835bf7b516 am: 8103b5ea7d
Myles Watson [Mon, 22 Jul 2019 22:13:43 +0000 (15:13 -0700)]
PDL: Separate member and parameters for arrays am: 835bf7b516 am: 8103b5ea7d
am: 225c056800

Change-Id: I36f0f0285bbc45db93e391a506c377f9a88b36d7

5 years agoPDL: Separate member and parameters for arrays am: 835bf7b516
Myles Watson [Mon, 22 Jul 2019 22:04:56 +0000 (15:04 -0700)]
PDL: Separate member and parameters for arrays am: 835bf7b516
am: 8103b5ea7d

Change-Id: If7d1853ac9f748bb8fa5a4262f09541a27e68bfa

5 years agoPDL: Separate member and parameters for arrays
Myles Watson [Mon, 22 Jul 2019 21:52:56 +0000 (14:52 -0700)]
PDL: Separate member and parameters for arrays
am: 835bf7b516

Change-Id: I87195571cd4c7ca02d959137cbc5c4037e90cc94

5 years agoPDL: Extract CustomFieldFixedSize
Myles Watson [Fri, 19 Jul 2019 23:07:36 +0000 (16:07 -0700)]
PDL: Extract CustomFieldFixedSize

Test: bluetooth_packet_parser_test
Change-Id: Ia93442ca1cc173d0b6c813a45c722f14d2f34fa0

5 years agoPDL: Add GenExtractor functions to fields
Myles Watson [Tue, 16 Jul 2019 16:50:23 +0000 (09:50 -0700)]
PDL: Add GenExtractor functions to fields

Test: bluetooth_packet_parser_test
Change-Id: I6ee3ae82e8e7949f0fd30dfae6f322dcc4769190

5 years agoPDL: Separate member and parameters for arrays
Myles Watson [Wed, 17 Jul 2019 20:17:24 +0000 (13:17 -0700)]
PDL: Separate member and parameters for arrays

Test: bluetooth_packet_parser_test
Change-Id: I7c23d29548d63f7c1e23281585b10fd9f43bdad4

5 years agoPDL: Factor out insert functions am: e7d1e71984 am: 38477e7138
Myles Watson [Mon, 22 Jul 2019 19:14:53 +0000 (12:14 -0700)]
PDL: Factor out insert functions am: e7d1e71984 am: 38477e7138
am: 191e58b270

Change-Id: If3f6d948835647a6988e7d73afa31e1a4531ed63

5 years agoPDL: Add non-static methods to checkers am: 2569ca78e5 am: 00bc4c9d7f
Myles Watson [Mon, 22 Jul 2019 19:14:44 +0000 (12:14 -0700)]
PDL: Add non-static methods to checkers am: 2569ca78e5 am: 00bc4c9d7f
am: 2d2c967623

Change-Id: Iee7b060d20468845fe829c40d3f552f5fb405068

5 years agoPDL: GetType->GetDataType, GetFieldType->string am: 6f55d385d0 am: 897632f3e7
Myles Watson [Mon, 22 Jul 2019 19:14:32 +0000 (12:14 -0700)]
PDL: GetType->GetDataType, GetFieldType->string am: 6f55d385d0 am: 897632f3e7
am: a0ecd71f04

Change-Id: I1ebb0dafea0c40330d2440b67f99ca37a8452645

5 years agoPDL: Factor out insert functions am: e7d1e71984
Myles Watson [Mon, 22 Jul 2019 19:03:42 +0000 (12:03 -0700)]
PDL: Factor out insert functions am: e7d1e71984
am: 38477e7138

Change-Id: I3db7c115af631387eead0554f84d92b7d262dafd

5 years agoPDL: Add non-static methods to checkers am: 2569ca78e5
Myles Watson [Mon, 22 Jul 2019 19:03:24 +0000 (12:03 -0700)]
PDL: Add non-static methods to checkers am: 2569ca78e5
am: 00bc4c9d7f

Change-Id: I66d2dd96dcc03f1c5e773aff4b61de8c2c9191f4

5 years agoPDL: GetType->GetDataType, GetFieldType->string am: 6f55d385d0
Myles Watson [Mon, 22 Jul 2019 19:03:13 +0000 (12:03 -0700)]
PDL: GetType->GetDataType, GetFieldType->string am: 6f55d385d0
am: 897632f3e7

Change-Id: I90ef485fd0186350b8d8fcfa4225a7c470cc6df7

5 years agoPDL: Factor out insert functions
Myles Watson [Mon, 22 Jul 2019 18:52:56 +0000 (11:52 -0700)]
PDL: Factor out insert functions
am: e7d1e71984

Change-Id: I1512d0d283f5c14d1450dff119019401b263157b

5 years agoPDL: Add non-static methods to checkers
Myles Watson [Mon, 22 Jul 2019 18:52:47 +0000 (11:52 -0700)]
PDL: Add non-static methods to checkers
am: 2569ca78e5

Change-Id: I85954118348f195d3b33a29d7a7b8925f0558d40

5 years agoPDL: GetType->GetDataType, GetFieldType->string
Myles Watson [Mon, 22 Jul 2019 18:52:38 +0000 (11:52 -0700)]
PDL: GetType->GetDataType, GetFieldType->string
am: 6f55d385d0

Change-Id: Ic90477cc0b2de0e8262ab7f346255e1c72660b91

5 years agoPDL: Factor out insert functions
Myles Watson [Fri, 12 Jul 2019 17:08:34 +0000 (10:08 -0700)]
PDL: Factor out insert functions

Test: bluetooth_packet_parser_test
Change-Id: Ie61fe74705156b3fb6641a001caf070b8deee934

5 years agoPDL: Add non-static methods to checkers
Myles Watson [Mon, 15 Jul 2019 21:39:23 +0000 (14:39 -0700)]
PDL: Add non-static methods to checkers

Test: bluetooth_packet_parser_test
Change-Id: I2c753bce46226b6bd1597293d8077c2cbacc83b1

5 years agoPDL: GetType->GetDataType, GetFieldType->string
Myles Watson [Mon, 15 Jul 2019 22:02:48 +0000 (15:02 -0700)]
PDL: GetType->GetDataType, GetFieldType->string

Test: bluetooth_packet_parser_test
Change-Id: I5891535131778638becd2ef491644c25560ba0a0

5 years agoPDL: Util fixup am: 1d98d6902e am: 6e3b5ce49c
Myles Watson [Mon, 22 Jul 2019 11:45:42 +0000 (04:45 -0700)]
PDL: Util fixup am: 1d98d6902e am: 6e3b5ce49c
am: ed722aafee

Change-Id: If30b697fdceb6bd795947f45094378c32f4d2c54

5 years agoPDL: Util fixup am: 1d98d6902e
Myles Watson [Mon, 22 Jul 2019 11:37:02 +0000 (04:37 -0700)]
PDL: Util fixup am: 1d98d6902e
am: 6e3b5ce49c

Change-Id: Ic3625f490214a0cd9faad42f594e35338d9142c9

5 years agoPDL: Util fixup
Myles Watson [Mon, 22 Jul 2019 11:28:01 +0000 (04:28 -0700)]
PDL: Util fixup
am: 1d98d6902e

Change-Id: I7ec1aae45b977477028317310afa965e1aeb978f

5 years agoPDL: Move GenSerialize and GenSize to ParentDef am: a7a79069f3 am: e145d0beba
Myles Watson [Mon, 22 Jul 2019 09:30:45 +0000 (02:30 -0700)]
PDL: Move GenSerialize and GenSize to ParentDef am: a7a79069f3 am: e145d0beba
am: 611d416d86

Change-Id: I638008ce68da3f3d83ec3e34fa9e9a4d931a8288

5 years agoPDL: Move GenSerialize and GenSize to ParentDef am: a7a79069f3
Myles Watson [Mon, 22 Jul 2019 09:21:43 +0000 (02:21 -0700)]
PDL: Move GenSerialize and GenSize to ParentDef am: a7a79069f3
am: e145d0beba

Change-Id: I3b41f979ff33963f20dab004a412e5f77ac6059a

5 years agoPDL: Move GenSerialize and GenSize to ParentDef
Myles Watson [Mon, 22 Jul 2019 09:12:44 +0000 (02:12 -0700)]
PDL: Move GenSerialize and GenSize to ParentDef
am: a7a79069f3

Change-Id: I65a84a7a566764f0fc6cece5250fa30774d196cb

5 years agoPDL: Util fixup
Myles Watson [Fri, 12 Jul 2019 22:19:21 +0000 (15:19 -0700)]
PDL: Util fixup

Test: add a type with a large enum value
enum BadType : 4 {
  ZERO = 0,
  ONE = 1,
  TWO = 2,
  THREE = 0xffffff,
}
ERROR: AddEntry: Value of THREE(16777215) is greater than the max possible value for enum BadType(15)
Change-Id: Ieb9920818723a56c9f05342b895c172ee772a2b0

5 years agoPDL: Move GenSerialize and GenSize to ParentDef
Myles Watson [Wed, 10 Jul 2019 17:45:29 +0000 (10:45 -0700)]
PDL: Move GenSerialize and GenSize to ParentDef

Test: bluetooth_packet_parser_test
Change-Id: Ifa748a874ec5a84dea19eb40093b33ac5b6fd9cb

5 years agoMerge "Reset GATT cache file if connection state is unpairing" am: ef6ceffc47 am...
Weichin Weng [Mon, 22 Jul 2019 02:48:38 +0000 (19:48 -0700)]
Merge "Reset GATT cache file if connection state is unpairing" am: ef6ceffc47 am: e3e5af5761
am: fa213ba198

Change-Id: I3deb374ca2347bd6e86cd4eeae1ece662bd2243f

5 years agoMerge "Reset GATT cache file if connection state is unpairing" am: ef6ceffc47
Weichin Weng [Mon, 22 Jul 2019 02:39:38 +0000 (19:39 -0700)]
Merge "Reset GATT cache file if connection state is unpairing" am: ef6ceffc47
am: e3e5af5761

Change-Id: Ic891a7dc9df961b22d8a23b2625a9e672b2ea9ad

5 years agoMerge "Reset GATT cache file if connection state is unpairing"
Weichin Weng [Mon, 22 Jul 2019 02:30:39 +0000 (19:30 -0700)]
Merge "Reset GATT cache file if connection state is unpairing"
am: ef6ceffc47

Change-Id: I1a652bb65c219a00f1469d235cb8b3adbe490188

5 years agoMerge "Reset GATT cache file if connection state is unpairing"
Weichin Weng [Mon, 22 Jul 2019 02:04:33 +0000 (02:04 +0000)]
Merge "Reset GATT cache file if connection state is unpairing"

5 years agoPDL: Add missing "pragma once" am: e0dfc6d8d8 am: 08d187db68
Hansong Zhang [Fri, 19 Jul 2019 07:48:03 +0000 (00:48 -0700)]
PDL: Add missing "pragma once" am: e0dfc6d8d8 am: 08d187db68
am: 94de0c071f

Change-Id: I068ec13d6833491abd3ed368c107cb1274e6f937

5 years agoPDL: Add missing "pragma once" am: e0dfc6d8d8
Hansong Zhang [Fri, 19 Jul 2019 07:39:30 +0000 (00:39 -0700)]
PDL: Add missing "pragma once" am: e0dfc6d8d8
am: 08d187db68

Change-Id: I9c76db4fd9781b490ce2d54f08e12b7f10255636

5 years agoPDL: Add missing "pragma once"
Hansong Zhang [Fri, 19 Jul 2019 07:29:29 +0000 (00:29 -0700)]
PDL: Add missing "pragma once"
am: e0dfc6d8d8

Change-Id: Ib56cc2cec9fff9fa6b929c7de281ee2774cf66a4

5 years agoPDL: Add missing "pragma once"
Hansong Zhang [Fri, 19 Jul 2019 00:35:50 +0000 (17:35 -0700)]
PDL: Add missing "pragma once"

Test: make
Change-Id: Ibd25e1d275e9910f11658d7a7d1c5761354eb7ee

5 years agoObserver Registry am: 8d8e2068a7 am: e53cda8500
Hansong Zhang [Thu, 18 Jul 2019 21:26:55 +0000 (14:26 -0700)]
Observer Registry am: 8d8e2068a7 am: e53cda8500
am: bbc18ab053

Change-Id: Id835a599f6861d26b638d2f752f43bef6edc8459

5 years agoObserver Registry am: 8d8e2068a7
Hansong Zhang [Thu, 18 Jul 2019 21:17:41 +0000 (14:17 -0700)]
Observer Registry am: 8d8e2068a7
am: e53cda8500

Change-Id: Id8ea835eface416aa01f10ed2cfa04770095e240

5 years agoObserver Registry
Hansong Zhang [Thu, 18 Jul 2019 21:05:33 +0000 (14:05 -0700)]
Observer Registry
am: 8d8e2068a7

Change-Id: I5ae17faa0749938a13717fb8370b83607e7a84f7

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

Change-Id: Id3fd0081172bef7d069aa3c4434cc9cc24c58787

5 years agoObserver Registry
Hansong Zhang [Tue, 16 Jul 2019 01:34:34 +0000 (18:34 -0700)]
Observer Registry

Helper for client (observer) to track registration and drop callbacks if
observer is unregistered

Test: bluetooth_test_gd
Change-Id: Icc58d812bccbcb85c8b8142c659503636f498b6a

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 agoReset GATT cache file if connection state is unpairing
weichinweng [Thu, 18 Jul 2019 08:44:42 +0000 (16:44 +0800)]
Reset GATT cache file if connection state is unpairing

Reset GATT cache for the device if connection state is unpairing, avoid
remaining useless gatt cache file.

Bug: 137697556
Test: Pair/Forget device, and check whether the gatt cache is exist.
Change-Id: I617289b7802a4f03e2910defc419a0bbb0a2aa06

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

Change-Id: I8c681a39a8dc096193f55517ae2983c548bb8cb2

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:32:47 +0000 (13:32 -0700)]
Merge "Remove libnativehelper/include/nativehelper from include_dirs" am: a30a8cf8fa am: fdaad85cb5
am: 53dbb62622

Change-Id: I2edea0dab734fd0932561775f1f272dfc900ca61

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 agoAVDTP: Make sure the UUID of the SCB is initialized before discovering am: b0401e9180...
Cheney Ni [Tue, 16 Jul 2019 19:29:15 +0000 (12:29 -0700)]
AVDTP: Make sure the UUID of the SCB is initialized before discovering am: b0401e9180 am: f49ebf8623
am: 9369cd36ab

Change-Id: I58c47588434970c61e2d8eaed13841fc5e5dbdff

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 am: a138a2e5a4
Hansong Zhang [Fri, 12 Jul 2019 00:26:40 +0000 (17:26 -0700)]
Cert: Let EventStream subscribe() block am: b9ecf192de am: a138a2e5a4
am: 9f009cf4b2

Change-Id: Ie4ea14dacaf7e9bb4ead730c05ae34a8315c55a8

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 am: 6d70fa271e
Chienyuan [Thu, 11 Jul 2019 18:59:56 +0000 (11:59 -0700)]
Merge "GD HCI:Wait channel ready after stop/start server" am: 0ce82d0756 am: 6d70fa271e
am: 715b6d25e5

Change-Id: I46fe46db2f0c9e855df5d60c9c2ce8b071773b78

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:24:09 +0000 (00:24 -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: a37323271e

Change-Id: I4db43a8c754c03704b8e3c0e29f3cc404b003140

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:52:43 +0000 (22:52 -0700)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master am: bc2da6ff22 -s ours am: 5f392dfa27 -s ours
am: 8d0105775d

Change-Id: If34dac5be9931ff68c4e9b584548efeab16f62e4

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 am: e590a487d6
Andre Eisenbach [Wed, 10 Jul 2019 21:25:31 +0000 (14:25 -0700)]
Merge "Add log entry to interop_match_name()" am: a6646fcb9c am: e590a487d6
am: dff8c89245

Change-Id: If0427bcc215edfd2e97109862f6de2dfc2f101cc

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 am: c14c14fbc4
Andre Eisenbach [Wed, 10 Jul 2019 20:41:56 +0000 (13:41 -0700)]
Switch Nintendo workaround to match by name am: c14c14fbc4
am: 8302b14c71

Change-Id: Ic0a414326084286dda5dd9bd36630e8cb19bf9c4

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

Change-Id: Idf774098d4ff37c5b252eafc8361f42d567d9d21

5 years agoMerge "Match Nintento Pro Controller by name for interop am: b71ebf2d82 am: 34a08c841...
Android Build Merger (Role) [Wed, 10 Jul 2019 20:41:14 +0000 (20:41 +0000)]
Merge "Match Nintento Pro Controller by name for interop am: b71ebf2d82 am: 34a08c841d" into qt-r1-dev-plus-aosp

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

Change-Id: I897fdfae9cd8829a176ad9bea653cc787ce78bd9

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

Change-Id: Iea88f54ea0c4de61154df7c8c5efeba26675bb78

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

Change-Id: I89b558a9b3e87b58e15a8358fa66258fc03a882f

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 agoMatch Nintento Pro Controller by name for interop
Andre Eisenbach [Wed, 10 Jul 2019 20:30:00 +0000 (13:30 -0700)]
Match Nintento Pro Controller by name for interop
am: b71ebf2d82

Change-Id: I683d6dabefeeed51e1a1e9919d3c1b1d28a47647

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 ago[automerger skipped] Hearing Aid: set BLE phy to 2M if local and peer indicate PHY...
weichinweng [Wed, 10 Jul 2019 09:11:04 +0000 (02:11 -0700)]
[automerger skipped] Hearing Aid: set BLE phy to 2M if local and peer indicate PHY 2M support
am: a2bb603ac6 -s ours
am skip reason: change_id Ib410a8885f3a68c361bb97d5c9a3833f2a1be528 with SHA1 554c3598db is in history

Change-Id: I740121cb979835c2240f35ca80a39f017140ccae

5 years agoMerge "ACL manager cert" am: 33ae129b60 am: d3eb1c79b7
Hansong Zhang [Wed, 10 Jul 2019 03:05:57 +0000 (20:05 -0700)]
Merge "ACL manager cert" am: 33ae129b60 am: d3eb1c79b7
am: 59c79f9fcd

Change-Id: I1d2a235c0f052e63944fe3ba02543a4cc4ff0f38

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 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
Merged-In: Ib410a8885f3a68c361bb97d5c9a3833f2a1be528
(cherry picked from commit 554c3598db5661ac0166eb12006d248a38723db1)

5 years agoMerge "PDL: Add variable-size CustomField(s)" am: 38c5ec9cea am: b5b7bdf2c8
Myles Watson [Wed, 10 Jul 2019 01:02:48 +0000 (18:02 -0700)]
Merge "PDL: Add variable-size CustomField(s)" am: 38c5ec9cea am: b5b7bdf2c8
am: f6243b264e

Change-Id: Ia1cc83bcc0f3e7582cee64768ab01137d15c9d6b

5 years agoMerge "PDL: Add ParentDef for packets" am: df764fc25e am: 74b3e52362
Myles Watson [Wed, 10 Jul 2019 01:02:22 +0000 (18:02 -0700)]
Merge "PDL: Add ParentDef for packets" am: df764fc25e am: 74b3e52362
am: 71345c87b5

Change-Id: Ifcc1fc3eabb227dfd5f2276ab6055a1ab6a93e74

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

Change-Id: Ic18e8bbfbfe37d1c52b3a8b4bf8d53a6ab1e351f