OSDN Git Service

android-x86/system-bt.git
5 years agoHCI: Use arrays and fixed-length structs am: 2d23443166
Myles Watson [Fri, 23 Aug 2019 03:09:02 +0000 (20:09 -0700)]
HCI: Use arrays and fixed-length structs am: 2d23443166
am: 969147a81f

Change-Id: I8556335db92e59ae0d98469b6e3735dea1496b82

5 years agoHCI: Use arrays and fixed-length structs
Myles Watson [Fri, 23 Aug 2019 02:59:50 +0000 (19:59 -0700)]
HCI: Use arrays and fixed-length structs
am: 2d23443166

Change-Id: Idae2d6682d4f0440dcafac216df80220d0bdb124

5 years agoHCI: Use arrays and fixed-length structs
Myles Watson [Mon, 19 Aug 2019 20:33:27 +0000 (13:33 -0700)]
HCI: Use arrays and fixed-length structs

Test: build
Change-Id: I74a470b7d31a716824c7356cff7698451604a5ad

5 years agoGD: Move Address and ClassOfDevice to hci am: 94db40c6c9
Martin Brabham [Thu, 22 Aug 2019 19:15:28 +0000 (12:15 -0700)]
GD: Move Address and ClassOfDevice to hci am: 94db40c6c9
am: cf95615e90

Change-Id: I7ccfd821eb44a10ffe98d868c52b26873e014f2b

5 years agoGD: Move Address and ClassOfDevice to hci
Martin Brabham [Thu, 22 Aug 2019 18:59:37 +0000 (11:59 -0700)]
GD: Move Address and ClassOfDevice to hci
am: 94db40c6c9

Change-Id: I882104c8192e0aa28b0f4532dad606265a222723

5 years agoGD: Move Address and ClassOfDevice to hci
Martin Brabham [Fri, 29 Mar 2019 17:24:52 +0000 (10:24 -0700)]
GD: Move Address and ClassOfDevice to hci

Bug: 139135297
Test: atest --host -t bluetooth_test_gd
Change-Id: I64c3ccbb3543a22a24f1b6b8a99f32e3d8aa3e24

5 years agoL2CAP scheduler definition and FIFO am: 2ea2e8d2b0
Hansong Zhang [Thu, 22 Aug 2019 01:31:06 +0000 (18:31 -0700)]
L2CAP scheduler definition and FIFO am: 2ea2e8d2b0
am: 409fe96003

Change-Id: I618ad944dedd1a009557c924228764d258b5470a

5 years agoL2CAP scheduler definition and FIFO
Hansong Zhang [Thu, 22 Aug 2019 01:21:06 +0000 (18:21 -0700)]
L2CAP scheduler definition and FIFO
am: 2ea2e8d2b0

Change-Id: Ic4c61ae22cd8b283ea78fedaf033ab8d1f38ae73

5 years agoL2CAP scheduler definition and FIFO
Hansong Zhang [Fri, 16 Aug 2019 22:07:30 +0000 (15:07 -0700)]
L2CAP scheduler definition and FIFO

Test: bluetooth_test_gd
Bug: 138261142
Change-Id: If1dbabf48b5a53892e36b8434c46a3180f2a2799

5 years agoMerge "GD HCI: register request event for security interface" am: 23d5a6717b
Chienyuan [Wed, 21 Aug 2019 16:52:36 +0000 (09:52 -0700)]
Merge "GD HCI: register request event for security interface" am: 23d5a6717b
am: 57f8772e2f

Change-Id: I0f19031719c4492da1b54d66fce0d464202bf561

5 years agoMerge "GD HCI: register request event for security interface"
Chienyuan [Wed, 21 Aug 2019 16:44:49 +0000 (09:44 -0700)]
Merge "GD HCI: register request event for security interface"
am: 23d5a6717b

Change-Id: If0149849102bd76c778150ae13181da50c62bcc4

5 years agoMerge "GD HCI: register request event for security interface"
Treehugger Robot [Wed, 21 Aug 2019 16:30:41 +0000 (16:30 +0000)]
Merge "GD HCI: register request event for security interface"

5 years agoMerge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c
Myles Watson [Wed, 21 Aug 2019 14:40:42 +0000 (07:40 -0700)]
Merge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c
am: f1ea145644

Change-Id: I8e527bad6463053d282b67b6b3398e8b5bb002c7

5 years agoMerge "RootCanal: Add ReadLocalSupportedFeatures"
Myles Watson [Wed, 21 Aug 2019 14:33:59 +0000 (07:33 -0700)]
Merge "RootCanal: Add ReadLocalSupportedFeatures"
am: 7ccfc0191c

Change-Id: I2f28d7e5775bfa363b75858b0d80856626e9c656

5 years agoGD HCI: register request event for security interface
Chienyuan [Mon, 19 Aug 2019 06:48:53 +0000 (14:48 +0800)]
GD HCI: register request event for security interface

* register request event for security interface
* waiting for command status for REFRESH_ENCRYPTION_KEY command

Bug: 137138879
Test: run run_device_cert.sh
Change-Id: Ie22181a3259caafc5f28eaaccba3facfa15fa6b0

5 years agoMerge "RootCanal: Add ReadLocalSupportedFeatures"
Treehugger Robot [Wed, 21 Aug 2019 13:20:20 +0000 (13:20 +0000)]
Merge "RootCanal: Add ReadLocalSupportedFeatures"

5 years agoAddress: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140
Jack He [Wed, 21 Aug 2019 09:29:08 +0000 (02:29 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140
am: 7ccf2466c8

Change-Id: I4eaf53d7a4b8b9b34cedcd381670f21efdce3633

5 years agoAddress: Add static assert to make sure kLength is <= sizeof(uint64_t)
Jack He [Wed, 21 Aug 2019 09:23:07 +0000 (02:23 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t)
am: b3e44e2140

Change-Id: I23373e653f2a26d2be9182aeeff7036d1f7abeb8

5 years agoAddress: Add static assert to make sure kLength is <= sizeof(uint64_t)
Jack He [Tue, 20 Aug 2019 17:59:18 +0000 (10:59 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t)

Test: make
Change-Id: I16432253233a504c47c302433b743f421ded02b9

5 years agoMerge "HCI: Support registration for LE events" am: b93e57cda2
Myles Watson [Wed, 21 Aug 2019 04:55:49 +0000 (21:55 -0700)]
Merge "HCI: Support registration for LE events" am: b93e57cda2
am: e45ad34b1e

Change-Id: I026c5d229411f739dbbb1fb8936581fc297622ab

5 years agoMerge "HCI: Support registration for LE events"
Myles Watson [Wed, 21 Aug 2019 04:47:13 +0000 (21:47 -0700)]
Merge "HCI: Support registration for LE events"
am: b93e57cda2

Change-Id: I635b6966df3e609150448658c8764d8bf9b2cf84

5 years agoMerge "HCI: Support registration for LE events"
Treehugger Robot [Wed, 21 Aug 2019 04:20:44 +0000 (04:20 +0000)]
Merge "HCI: Support registration for LE events"

5 years agoMerge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe
Jack He [Wed, 21 Aug 2019 03:26:49 +0000 (20:26 -0700)]
Merge "L2CAP: Add Classic Link Manager Implementation" am: c417a536fe
am: 42be634f3e

Change-Id: I1cf68ffa67cfc0e0bfb54635b71ae8d641be2f11

5 years agoMerge "L2CAP: Add Classic Link Manager Implementation"
Jack He [Wed, 21 Aug 2019 03:16:53 +0000 (20:16 -0700)]
Merge "L2CAP: Add Classic Link Manager Implementation"
am: c417a536fe

Change-Id: I4c6f837384c06a16175203df6c685c37d9b7fa80

5 years agoMerge "L2CAP: Add Classic Link Manager Implementation"
Treehugger Robot [Wed, 21 Aug 2019 02:45:01 +0000 (02:45 +0000)]
Merge "L2CAP: Add Classic Link Manager Implementation"

5 years agoMerge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473
Hansong Zhang [Wed, 21 Aug 2019 02:10:23 +0000 (19:10 -0700)]
Merge "ClassicSecurityManagerTest: Fix handler sync" am: d651316473
am: 22cdcadfa3

Change-Id: Iaa71609d81d3e13e5f34facad97ce8b5da1df5f7

5 years agoMerge "ClassicSecurityManagerTest: Fix handler sync"
Hansong Zhang [Wed, 21 Aug 2019 01:58:08 +0000 (18:58 -0700)]
Merge "ClassicSecurityManagerTest: Fix handler sync"
am: d651316473

Change-Id: Ic54cd9acf82119d39450bbe08e4fde86ed52dd40

5 years agoMerge "ClassicSecurityManagerTest: Fix handler sync"
Treehugger Robot [Wed, 21 Aug 2019 01:34:40 +0000 (01:34 +0000)]
Merge "ClassicSecurityManagerTest: Fix handler sync"

5 years agoMerge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001
Myles Watson [Wed, 21 Aug 2019 00:32:23 +0000 (17:32 -0700)]
Merge "RootCanal: Add HciRefreshEncryptionKey" am: 4962a93001
am: b3deeb3e83

Change-Id: I8e6fdf8709805d4b23d4805721dea5f9e9ac69cc

5 years agoMerge "RootCanal: Add HciRefreshEncryptionKey"
Myles Watson [Wed, 21 Aug 2019 00:18:12 +0000 (17:18 -0700)]
Merge "RootCanal: Add HciRefreshEncryptionKey"
am: 4962a93001

Change-Id: I81ae7adba7369c08292cb75851a2978c95a144de

5 years agoHCI: Support registration for LE events
Myles Watson [Tue, 20 Aug 2019 22:14:31 +0000 (15:14 -0700)]
HCI: Support registration for LE events

Bug: 138259341
Test: bluetooth_test_gd
Change-Id: I89e4cc2fa16b1abccbeda1250a6486eff7364d16

5 years agoMerge "RootCanal: Add HciRefreshEncryptionKey"
Treehugger Robot [Tue, 20 Aug 2019 23:38:28 +0000 (23:38 +0000)]
Merge "RootCanal: Add HciRefreshEncryptionKey"

5 years agoMerge "HCI: Add SetEventFilter packets" am: 48070af40b
Myles Watson [Tue, 20 Aug 2019 22:54:59 +0000 (15:54 -0700)]
Merge "HCI: Add SetEventFilter packets" am: 48070af40b
am: b40a9bafe9

Change-Id: Iab1d6b632cb048238b40860bb288cd159f904ccc

5 years agoMerge "HCI: Add SetEventFilter packets"
Myles Watson [Tue, 20 Aug 2019 22:44:56 +0000 (15:44 -0700)]
Merge "HCI: Add SetEventFilter packets"
am: 48070af40b

Change-Id: I99199f8ee000137bbcda3c87047d3ac875fcf279

5 years agoClassicSecurityManagerTest: Fix handler sync
Hansong Zhang [Tue, 20 Aug 2019 22:36:44 +0000 (15:36 -0700)]
ClassicSecurityManagerTest: Fix handler sync

We should sync handler in ClassicSecurityManager, because outgoing
commands are sent to this handler, and we don't post to handler in
HciModule.

Bug: 139750178
Test: run bluetooth_test_gd for 100 times
Change-Id: I4c2d817391c94602cc9f6e386bda53ee9194501d

5 years agoMerge "HCI: Add SetEventFilter packets"
Treehugger Robot [Tue, 20 Aug 2019 22:30:37 +0000 (22:30 +0000)]
Merge "HCI: Add SetEventFilter packets"

5 years agoL2CAP: Add Classic Link Manager Implementation
Jack He [Tue, 20 Aug 2019 01:16:33 +0000 (18:16 -0700)]
L2CAP: Add Classic Link Manager Implementation

* Implement ClassicLinkManager and APIs for classic fixed channel
* Implement mechanism to create new ACL connections using ACL manager
* Updated dependencies among internal L2CAP components
* Remove SetOnChannelFail() and other unused methods from
  ClassicFixedChannelServiceImpl
* Add mocks and unit tests to verify the functionality of
  ClassicLinkManager
* Add common/testing/bind_test_util.h so that we can bind lambdas with
  capture in unit tests, although this is not allowed in production code
* Add error and result code for classic fixed channel service
  registration failure and connection failures

Bug: 138261142
Test: bluetooth_test_gd, cert/run_cert.sh
Change-Id: Ib2794a0073dbc73f46b8c6fd5f5cf0ae1c8c559a

5 years agoMerge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae
Myles Watson [Tue, 20 Aug 2019 19:50:52 +0000 (12:50 -0700)]
Merge "PDL: Tighten checks for nonexistent fields" am: e19c3a15ae
am: c1abea2711

Change-Id: Id13ea4ebe705d9302fd2629c961d526060e9e088

5 years agoMerge "PDL: Suppress debug logs" am: c22fb66cdc
Myles Watson [Tue, 20 Aug 2019 19:49:38 +0000 (12:49 -0700)]
Merge "PDL: Suppress debug logs" am: c22fb66cdc
am: ac6d9436d0

Change-Id: Id65f888dbf217bcacf123002d80d2e17285db364

5 years agoAdd IOT device list for RNR, avoid the bond fail. am: 3ceffd2602
Jigong Yin [Tue, 20 Aug 2019 19:48:03 +0000 (12:48 -0700)]
Add IOT device list for RNR, avoid the bond fail. am: 3ceffd2602
am: f5e2643e65

Change-Id: I0968c476f259cffa29609df3af8b4ab6c02d7aa1

5 years agoMerge "PDL: Tighten checks for nonexistent fields"
Myles Watson [Tue, 20 Aug 2019 19:17:33 +0000 (12:17 -0700)]
Merge "PDL: Tighten checks for nonexistent fields"
am: e19c3a15ae

Change-Id: I343a2d759cc3c53865437946bee15095bd9056a5

5 years agoMerge "PDL: Suppress debug logs"
Myles Watson [Tue, 20 Aug 2019 19:16:39 +0000 (12:16 -0700)]
Merge "PDL: Suppress debug logs"
am: c22fb66cdc

Change-Id: Iabeaf0efdcb9e6a261cf5771e854bb9b317f55fe

5 years agoAdd IOT device list for RNR, avoid the bond fail.
Jigong Yin [Tue, 20 Aug 2019 19:15:08 +0000 (12:15 -0700)]
Add IOT device list for RNR, avoid the bond fail.
am: 3ceffd2602

Change-Id: I525b91cf631c9933610ff4c77fe88de2a496647a

5 years agoMerge "PDL: Tighten checks for nonexistent fields"
Treehugger Robot [Tue, 20 Aug 2019 19:03:27 +0000 (19:03 +0000)]
Merge "PDL: Tighten checks for nonexistent fields"

5 years agoMerge "PDL: Suppress debug logs"
Treehugger Robot [Tue, 20 Aug 2019 18:50:28 +0000 (18:50 +0000)]
Merge "PDL: Suppress debug logs"

5 years agoHCI: Add SetEventFilter packets
Myles Watson [Tue, 20 Aug 2019 00:45:26 +0000 (17:45 -0700)]
HCI: Add SetEventFilter packets

Test: bluetooth_gd_test
Change-Id: Iba106825f787636e363f440ec0737c954d4f90aa

5 years agoPDL: Tighten checks for nonexistent fields
Myles Watson [Tue, 20 Aug 2019 00:44:16 +0000 (17:44 -0700)]
PDL: Tighten checks for nonexistent fields

Test: bluetooth_packet_parser_test
Change-Id: Ie81efe6706fbfd1d7a350f40ca53d031585f58b5

5 years agoPDL: Suppress debug logs
Myles Watson [Tue, 20 Aug 2019 15:49:49 +0000 (08:49 -0700)]
PDL: Suppress debug logs

Bug: 139373340
Test: mma -j32 (with and without an error in hci_packets.pdl)
Change-Id: I1de6c54f9eee6d016a7f8725c5efdf6e09e2f9db

5 years agoAdd IOT device list for RNR, avoid the bond fail.
Jigong Yin [Fri, 10 May 2019 08:20:08 +0000 (16:20 +0800)]
Add IOT device list for RNR, avoid the bond fail.

Bug: 133380579

Change-Id: I650a8c121a152bdce6a7d057433ec361e2002ec0

5 years agoMerge "Distribute ACL buffer only for not BLE device" am: 27a74d2f7d
Weichin Weng [Tue, 20 Aug 2019 08:32:04 +0000 (01:32 -0700)]
Merge "Distribute ACL buffer only for not BLE device" am: 27a74d2f7d
am: eafe0c1469

Change-Id: I4022e4f356beab940fa973b8fee1d9efc51af09f

5 years agoMerge "Distribute ACL buffer only for not BLE device"
Weichin Weng [Tue, 20 Aug 2019 08:24:01 +0000 (01:24 -0700)]
Merge "Distribute ACL buffer only for not BLE device"
am: 27a74d2f7d

Change-Id: Id48aa8bc6edb63970500e8e88c7223545acf6338

5 years agoMerge "Distribute ACL buffer only for not BLE device"
Weichin Weng [Tue, 20 Aug 2019 08:02:06 +0000 (08:02 +0000)]
Merge "Distribute ACL buffer only for not BLE device"

5 years agoAddress: Add a hash function for Bluetooth MAC address am: 17727d7da3
Jack He [Tue, 20 Aug 2019 05:14:33 +0000 (22:14 -0700)]
Address: Add a hash function for Bluetooth MAC address am: 17727d7da3
am: 6660df1045

Change-Id: Iff116c7766b752ba3023b697687aa1def03e9f2d

5 years agoHCI: Use unique_ptr to pass AclConnection am: a96f5900c1
Jack He [Tue, 20 Aug 2019 05:14:27 +0000 (22:14 -0700)]
HCI: Use unique_ptr to pass AclConnection am: a96f5900c1
am: 796b6dcc33

Change-Id: I9ceb27276209cee71423b630e2b314f4f7dbb275

5 years agoAddress: Add a hash function for Bluetooth MAC address
Jack He [Tue, 20 Aug 2019 05:04:32 +0000 (22:04 -0700)]
Address: Add a hash function for Bluetooth MAC address
am: 17727d7da3

Change-Id: I6fbbddf61d6c503ff88a7ff5aa382975c8d3277a

5 years agoHCI: Use unique_ptr to pass AclConnection
Jack He [Tue, 20 Aug 2019 05:04:28 +0000 (22:04 -0700)]
HCI: Use unique_ptr to pass AclConnection
am: a96f5900c1

Change-Id: Ib83083ac68b398f7e7e8af082a891c160b13d1c6

5 years agoAddress: Add a hash function for Bluetooth MAC address
Jack He [Tue, 20 Aug 2019 00:47:10 +0000 (17:47 -0700)]
Address: Add a hash function for Bluetooth MAC address

Test: bluetooth_test_gd
Change-Id: Idaf390864b817b763d83add1f5e5613e29a734ec

5 years agoHCI: Use unique_ptr to pass AclConnection
Jack He [Mon, 19 Aug 2019 23:41:20 +0000 (16:41 -0700)]
HCI: Use unique_ptr to pass AclConnection

* Use std::unique_ptr to pass AclConnection so that the AclConnection
  object can be mocked
* Add mocks for AclConnection and AclManager

Test: bluetooth_test_gd
Bug: 139700781
Change-Id: If7403207843d356330b6bd4875683df7966623e9

5 years agoMerge "RootCanal: Remove scan response log" am: 7c67964871
Myles Watson [Mon, 19 Aug 2019 22:19:59 +0000 (15:19 -0700)]
Merge "RootCanal: Remove scan response log" am: 7c67964871
am: 71116a145d

Change-Id: Ib54175bf0fbc479c152175cad17e980bcb705438

5 years agoMerge "RootCanal: Remove scan response log"
Myles Watson [Mon, 19 Aug 2019 22:06:56 +0000 (15:06 -0700)]
Merge "RootCanal: Remove scan response log"
am: 7c67964871

Change-Id: Ibe3f996d536aba89b6fbddde45d19fb61f58d9a5

5 years agoMerge "RootCanal: Remove scan response log"
Treehugger Robot [Mon, 19 Aug 2019 21:49:13 +0000 (21:49 +0000)]
Merge "RootCanal: Remove scan response log"

5 years agoMerge "Rootcanal: add error string for debugging" am: 3f61fcbc62
Hansong Zhang [Mon, 19 Aug 2019 20:55:04 +0000 (13:55 -0700)]
Merge "Rootcanal: add error string for debugging" am: 3f61fcbc62
am: 585b5fb9c6

Change-Id: I005047386b1528db6f004d8630144877981db3a0

5 years agoMerge "PDL: Fix Iterator assignment and add Subrange" am: b8f84dd241
Myles Watson [Mon, 19 Aug 2019 20:51:27 +0000 (13:51 -0700)]
Merge "PDL: Fix Iterator assignment and add Subrange" am: b8f84dd241
am: 0839c90d90

Change-Id: If51be93b9b95ee495ed65342c99aba65f3878b72

5 years agoMerge "Rootcanal: add error string for debugging"
Hansong Zhang [Mon, 19 Aug 2019 20:31:27 +0000 (13:31 -0700)]
Merge "Rootcanal: add error string for debugging"
am: 3f61fcbc62

Change-Id: I11e91b883aa3557111806c803f83352ed757468b

5 years agoMerge "PDL: Fix Iterator assignment and add Subrange"
Myles Watson [Mon, 19 Aug 2019 20:29:17 +0000 (13:29 -0700)]
Merge "PDL: Fix Iterator assignment and add Subrange"
am: b8f84dd241

Change-Id: I2bc18c7f5347a4cf382e20f27ba479540f0e7aed

5 years agoRootCanal: Add ReadLocalSupportedFeatures
Myles Watson [Mon, 19 Aug 2019 20:03:46 +0000 (13:03 -0700)]
RootCanal: Add ReadLocalSupportedFeatures

Test: run run_device_cert.sh
Change-Id: I064573c0224c35e9e515e62ad6e026df1bbae2c9

5 years agoMerge "Rootcanal: add error string for debugging"
Treehugger Robot [Mon, 19 Aug 2019 20:02:35 +0000 (20:02 +0000)]
Merge "Rootcanal: add error string for debugging"

5 years agoMerge "PDL: Fix Iterator assignment and add Subrange"
Treehugger Robot [Mon, 19 Aug 2019 19:39:35 +0000 (19:39 +0000)]
Merge "PDL: Fix Iterator assignment and add Subrange"

5 years agoRootCanal: Add HciRefreshEncryptionKey
Myles Watson [Mon, 19 Aug 2019 19:35:36 +0000 (12:35 -0700)]
RootCanal: Add HciRefreshEncryptionKey

Bug: 137138879
Test: run run_device_cert.sh
Change-Id: I5c7407f2e916dd96ab983c17d4adb0e0e59fdf44

5 years agoRootCanal: Remove scan response log
Myles Watson [Mon, 19 Aug 2019 18:06:24 +0000 (11:06 -0700)]
RootCanal: Remove scan response log

Fixes: 138656973
Test: manually inspect logcat when running with RootCanal
Change-Id: I8442cb13358bf2b950eaf748e4144f129ea766a3

5 years agoPDL: Fix Iterator assignment and add Subrange
Myles Watson [Fri, 16 Aug 2019 22:28:19 +0000 (15:28 -0700)]
PDL: Fix Iterator assignment and add Subrange

Test: bluetooth_test_gd, bluetooth_packet_parser_test
Change-Id: I28c264bbbc25c8980a37fc2cb85875f50ec4a7ff

5 years agoMerge "Remove direct connection after notifying the connection up" am: 9c973884f4
Weichin Weng [Mon, 19 Aug 2019 10:04:23 +0000 (03:04 -0700)]
Merge "Remove direct connection after notifying the connection up" am: 9c973884f4
am: c6503f4659

Change-Id: I31bbb4966df90c69a61f996f512b23cc9312fbf2

5 years agoMerge "Remove direct connection after notifying the connection up"
Weichin Weng [Mon, 19 Aug 2019 09:56:22 +0000 (02:56 -0700)]
Merge "Remove direct connection after notifying the connection up"
am: 9c973884f4

Change-Id: I405789b12c80661afd7347e25a3eb433b0375abf

5 years agoMerge "Remove direct connection after notifying the connection up"
Weichin Weng [Mon, 19 Aug 2019 09:31:26 +0000 (09:31 +0000)]
Merge "Remove direct connection after notifying the connection up"

5 years agoMerge "GD: HCI Security interface" am: faa3ceeb4c
Chienyuan [Sun, 18 Aug 2019 09:21:55 +0000 (02:21 -0700)]
Merge "GD: HCI Security interface" am: faa3ceeb4c
am: fe4652872b

Change-Id: Ifbdbea2ff87de2bc7e782e85d32b1923dc971a04

5 years agoMerge "GD: HCI Security interface"
Chienyuan [Sun, 18 Aug 2019 09:13:28 +0000 (02:13 -0700)]
Merge "GD: HCI Security interface"
am: faa3ceeb4c

Change-Id: I9374f57527b6589b29ecdb296aae13c8acf6425c

5 years agoMerge "GD: HCI Security interface"
Treehugger Robot [Sun, 18 Aug 2019 08:49:23 +0000 (08:49 +0000)]
Merge "GD: HCI Security interface"

5 years agoGD: HCI Security interface
Chienyuan [Fri, 12 Jul 2019 10:00:12 +0000 (18:00 +0800)]
GD: HCI Security interface

Fixes: 137138879
Test: run run_cert.sh
Change-Id: I73ee7e6191d454600c693bd92cc1ea5933ee1379

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801...
Xin Li [Thu, 15 Aug 2019 07:41:13 +0000 (00:41 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master" am: fa38805581 -s ours
am: d94b1aaa3a -s ours
am skip reason: subject contains skip directive

Change-Id: I21eff4f8976f22a4420fa833a27b35c692906cc8

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801...
Xin Li [Thu, 15 Aug 2019 07:30:04 +0000 (00:30 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"
am: fa38805581 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib9dab319ab9109075c28aa768c4a1140e68d256c

5 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002)...
Xin Li [Thu, 15 Aug 2019 06:53:00 +0000 (23:53 -0700)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master am: 52dedf5c30 -s ours
am: e77fceb015 -s ours
am skip reason: subject contains skip directive

Change-Id: I090b1a1773025357a9e9921b2eacfb14293eac08

5 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002)...
Xin Li [Thu, 15 Aug 2019 06:32:40 +0000 (23:32 -0700)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master
am: 52dedf5c30 -s ours
am skip reason: subject contains skip directive

Change-Id: I6677e5a3f53c49c7da35a1a62b20e92fc90d3023

5 years agoMerge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"
Treehugger Robot [Thu, 15 Aug 2019 06:13:47 +0000 (06:13 +0000)]
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"

5 years ago[automerger skipped] DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463...
Xin Li [Wed, 14 Aug 2019 20:39:31 +0000 (13:39 -0700)]
[automerger skipped] DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master
am: 26329923da -s ours
am skip reason: subject contains skip directive

Change-Id: Ie37ae5a9d68cfa60547d464c4d5f6be838158d2a

5 years agoDO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master
Xin Li [Wed, 14 Aug 2019 18:35:23 +0000 (11:35 -0700)]
DO NOT MERGE - Skip qt-dev-plus-aosp-without-vendor (5713463) in stage-aosp-master

Bug: 134405016
Change-Id: I513b6ae3eae7b6224d1b7a02ce6323642518f8e4

5 years agoL2CAP: ClassicFixedChannelAllocator am: 4eb5631e26
Chris Manton [Wed, 14 Aug 2019 08:45:15 +0000 (01:45 -0700)]
L2CAP: ClassicFixedChannelAllocator am: 4eb5631e26
am: 6f5d1b2041

Change-Id: Ibfb83bb475ff7f096c08f8c141dfdc785733405e

5 years agoL2CAP: ClassicFixedChannelAllocator
Chris Manton [Wed, 14 Aug 2019 08:41:13 +0000 (01:41 -0700)]
L2CAP: ClassicFixedChannelAllocator
am: 4eb5631e26

Change-Id: Iaeb5cda4b61b25a414ffd5a0c6d8e8a5727712c6

5 years agoL2CAP classic fixed service manager am: 7be4ea7b3a
Chris Manton [Wed, 14 Aug 2019 01:38:09 +0000 (18:38 -0700)]
L2CAP classic fixed service manager am: 7be4ea7b3a
am: 143db1f82a

Change-Id: I4731d17522722526532d1c5cf66e5fe9d2c99816

5 years agoL2CAP classic fixed service manager
Chris Manton [Wed, 14 Aug 2019 01:24:36 +0000 (18:24 -0700)]
L2CAP classic fixed service manager
am: 7be4ea7b3a

Change-Id: Ia1311b22d24c7589102983aab64f6d0048cb33e6

5 years agoDO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master
Xin Li [Tue, 13 Aug 2019 23:56:18 +0000 (16:56 -0700)]
DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master

Bug: 139369544
Change-Id: Id4051603d6abdd5c5ad9da3e5a4d969c36e0faa0

5 years agoL2CAP: ClassicFixedChannelAllocator
Chris Manton [Tue, 13 Aug 2019 21:45:06 +0000 (14:45 -0700)]
L2CAP: ClassicFixedChannelAllocator

This is a utility class for L2CAP link to manage channels

Test: bluetooth_test_gd
Bug: 138261142
Change-Id: I1adaaf29817371bb3f0e68d64f6aec3d3eea2c85

5 years agoRootcanal: add error string for debugging
Hansong Zhang [Tue, 13 Aug 2019 20:57:18 +0000 (13:57 -0700)]
Rootcanal: add error string for debugging

Test: manual
Change-Id: I9e35e1806f2bf8e93820fd078d76d852065745ad

5 years agoL2CAP classic fixed service manager
Chris Manton [Tue, 30 Jul 2019 01:26:27 +0000 (18:26 -0700)]
L2CAP classic fixed service manager

Implement classic fixed channel service registration

Test: bluetooth_test_gd
Change-Id: Ic5d5b4543e88a0e4b9918f4583c5d115ef021cf0

5 years agoSnap for 5674421 from a3c00b27470c47bae945fd6d222b52519375160b to pi-platform-release
android-build-team Robot [Tue, 13 Aug 2019 16:34:13 +0000 (16:34 +0000)]
Snap for 5674421 from a3c00b27470c47bae945fd6d222b52519375160b to pi-platform-release

Change-Id: I67f7bdc0b565214793359d40055831bc6bc5b309

5 years agoPDL: Save copies in packet builders am: c5fda6b45d
Myles Watson [Mon, 12 Aug 2019 11:20:03 +0000 (04:20 -0700)]
PDL: Save copies in packet builders am: c5fda6b45d
am: 04d8f1cd3d

Change-Id: I2d04a39e5ab1626b912a1d8f75f6de20eede7d9f

5 years agoPDL: Save copies in packet builders
Myles Watson [Mon, 12 Aug 2019 11:12:20 +0000 (04:12 -0700)]
PDL: Save copies in packet builders
am: c5fda6b45d

Change-Id: I71e8a0b35656af9b61a28de52b45882b79757bad

5 years agoPDL: Save copies in packet builders
Myles Watson [Mon, 12 Aug 2019 07:19:41 +0000 (00:19 -0700)]
PDL: Save copies in packet builders

Test: bluetooth_packet_parser_test
Change-Id: Ibf673a73109d003819445cb980d0fc85b1b7557c

5 years agoL2CAP: Add Classic Fixed Channel APIs am: b4b4a37ae1
Jack He [Sat, 10 Aug 2019 03:08:43 +0000 (20:08 -0700)]
L2CAP: Add Classic Fixed Channel APIs am: b4b4a37ae1
am: 5fe483800d

Change-Id: I7588e0514195790cd1ed551ab04c8936b9cec8a8

5 years agoL2CAP: Add Classic Fixed Channel APIs
Jack He [Sat, 10 Aug 2019 02:58:43 +0000 (19:58 -0700)]
L2CAP: Add Classic Fixed Channel APIs
am: b4b4a37ae1

Change-Id: Ie40b5210c2951e3350045495dc17eb00fcc8fb1e

5 years agoL2CAP: Add Classic Fixed Channel APIs
Jack He [Fri, 9 Aug 2019 22:10:44 +0000 (15:10 -0700)]
L2CAP: Add Classic Fixed Channel APIs

* Add ClassicFixedChannelManager
* Add ClassicFixedChannelService
* Add ClassicFixedChannel
* Modify cid and constants definition

Bug: 138261142
Test: bluetooth_test_gd
Change-Id: Iae4e398e938436c74d16b49834a4bd5146b03873