OSDN Git Service

android-x86/system-bt.git
4 years agoHCI: Add pairing facade proto am: 6ef57712c8 am: 0c63ef1883 am: 396d01918f
Hansong Zhang [Thu, 29 Aug 2019 20:20:48 +0000 (13:20 -0700)]
HCI: Add pairing facade proto am: 6ef57712c8 am: 0c63ef1883 am: 396d01918f
am: 374ffc9b4f

Change-Id: Ie9a1ca0eca80b5404da6d810618a609d001ae3b2

4 years agoHCI: Add pairing facade proto am: 6ef57712c8 am: 0c63ef1883
Hansong Zhang [Thu, 29 Aug 2019 20:11:32 +0000 (13:11 -0700)]
HCI: Add pairing facade proto am: 6ef57712c8 am: 0c63ef1883
am: 396d01918f

Change-Id: Idb1feea06bdd0350c27e8a0c8757ec734e7d0235

4 years agoHCI: Add pairing facade proto am: 6ef57712c8
Hansong Zhang [Thu, 29 Aug 2019 20:05:04 +0000 (13:05 -0700)]
HCI: Add pairing facade proto am: 6ef57712c8
am: 0c63ef1883

Change-Id: I054cf4d5bf0e67742cea53fe6c8808004537ed70

4 years agoHCI: Add pairing facade proto
Hansong Zhang [Thu, 29 Aug 2019 20:00:03 +0000 (13:00 -0700)]
HCI: Add pairing facade proto
am: 6ef57712c8

Change-Id: If0ef3ff8a2e864af6b70dba33b80d3acb7375a18

4 years agoHCI: Add pairing facade proto
Hansong Zhang [Wed, 28 Aug 2019 22:07:42 +0000 (15:07 -0700)]
HCI: Add pairing facade proto

Just add the facade definition for pairing tests

Test: manual
Change-Id: I95bb08d190eb326c0de9a3aeb46f80fb1f465745

4 years agoHCI: Add LE support to AclManager am: 35123feafa am: 6d535fc7c0 am: 3d145ded7d
Myles Watson [Thu, 29 Aug 2019 16:46:34 +0000 (09:46 -0700)]
HCI: Add LE support to AclManager am: 35123feafa am: 6d535fc7c0 am: 3d145ded7d
am: cf9d4bf210

Change-Id: Id079083889ae9df169103fc569a23a60627b6ac3

4 years agoHCI: Add LE support to AclManager am: 35123feafa am: 6d535fc7c0
Myles Watson [Thu, 29 Aug 2019 16:40:38 +0000 (09:40 -0700)]
HCI: Add LE support to AclManager am: 35123feafa am: 6d535fc7c0
am: 3d145ded7d

Change-Id: I8d3484ce0be3a405cf44b3da4c96a954bf5089f5

4 years agoHCI: Add LE support to AclManager am: 35123feafa
Myles Watson [Thu, 29 Aug 2019 16:31:35 +0000 (09:31 -0700)]
HCI: Add LE support to AclManager am: 35123feafa
am: 6d535fc7c0

Change-Id: Ib4bf0ae32107b8bb58138193e064e58992f33866

4 years agoHCI: Add LE support to AclManager
Myles Watson [Thu, 29 Aug 2019 16:24:32 +0000 (09:24 -0700)]
HCI: Add LE support to AclManager
am: 35123feafa

Change-Id: I3a7ee34e4de92bf7281e9d148f522d4194e0a801

4 years agoHCI: Add LE support to AclManager
Myles Watson [Sat, 24 Aug 2019 00:06:11 +0000 (17:06 -0700)]
HCI: Add LE support to AclManager

Bug: 138260114
Test: build
Change-Id: I5c17b3a69b4318fd97007d68d83bd953d312f884

4 years agoCert: remove redundant comma in config json am: 194f278e02 am: a4e7d5c05f am: b882766449
Chienyuan [Thu, 29 Aug 2019 00:20:49 +0000 (17:20 -0700)]
Cert: remove redundant comma in config json am: 194f278e02 am: a4e7d5c05f am: b882766449
am: a5308ec1f0

Change-Id: I34aab00d23ed7a2d05be151802c83557c2f61612

4 years agoCert: remove redundant comma in config json am: 194f278e02 am: a4e7d5c05f
Chienyuan [Wed, 28 Aug 2019 22:08:12 +0000 (15:08 -0700)]
Cert: remove redundant comma in config json am: 194f278e02 am: a4e7d5c05f
am: b882766449

Change-Id: I9be099e20bf69cded4a051f4e6c70aa4b64ddbfb

4 years agoCert: remove redundant comma in config json am: 194f278e02
Chienyuan [Wed, 28 Aug 2019 21:12:02 +0000 (14:12 -0700)]
Cert: remove redundant comma in config json am: 194f278e02
am: a4e7d5c05f

Change-Id: I8b76c556b9f8dfd0c83c6eb6c443e5b6ae39fa64

4 years agoCert: remove redundant comma in config json
Chienyuan [Wed, 28 Aug 2019 20:26:46 +0000 (13:26 -0700)]
Cert: remove redundant comma in config json
am: 194f278e02

Change-Id: Ie29a7d541ca76966248f7f7bd7835a235b11b31b

4 years agoCert: remove redundant comma in config json
Chienyuan [Wed, 28 Aug 2019 14:07:16 +0000 (22:07 +0800)]
Cert: remove redundant comma in config json

the redundant comma will cause run_device_cert fail to execute

Test: cert/run_device_cert.sh
Change-Id: I79825fb3919cde7670e14088688dd6297f0e3ced

4 years agoMerge "Add the package name to setBluetoothTethering" am: dd6a345211 am: 97b04ccbc6...
Mark Chien [Wed, 28 Aug 2019 10:31:10 +0000 (03:31 -0700)]
Merge "Add the package name to setBluetoothTethering" am: dd6a345211 am: 97b04ccbc6 am: 9b38c6b2e9
am: d1ed658363

Change-Id: I533dd0b339422132275162e0beeeced05d7b6b50

4 years agoMerge "Add the package name to setBluetoothTethering" am: dd6a345211 am: 97b04ccbc6
Mark Chien [Wed, 28 Aug 2019 10:24:31 +0000 (03:24 -0700)]
Merge "Add the package name to setBluetoothTethering" am: dd6a345211 am: 97b04ccbc6
am: 9b38c6b2e9

Change-Id: Ic644af7f911cd2988069d5cc05627b788e22f45d

4 years agoMerge "Add the package name to setBluetoothTethering" am: dd6a345211
Mark Chien [Wed, 28 Aug 2019 10:18:35 +0000 (03:18 -0700)]
Merge "Add the package name to setBluetoothTethering" am: dd6a345211
am: 97b04ccbc6

Change-Id: I4e115a095a6c93fd11d17d274d010399426cee11

4 years agoMerge "Add the package name to setBluetoothTethering"
Mark Chien [Wed, 28 Aug 2019 10:12:44 +0000 (03:12 -0700)]
Merge "Add the package name to setBluetoothTethering"
am: dd6a345211

Change-Id: I10ec18047287fe7b82cde5d267474a9ee3dbc041

4 years agoMerge "Add the package name to setBluetoothTethering"
Mark Chien [Wed, 28 Aug 2019 09:59:27 +0000 (09:59 +0000)]
Merge "Add the package name to setBluetoothTethering"

4 years agoRemove log with uint64_t am: 8c86496ffd am: d501dc5395 am: a44749e0ce
Chienyuan [Wed, 28 Aug 2019 08:42:11 +0000 (01:42 -0700)]
Remove log with uint64_t am: 8c86496ffd am: d501dc5395 am: a44749e0ce
am: 204532b457

Change-Id: I6b0e8449c853c20f9779d65fb3a0507e9018c2c3

4 years agoRemove log with uint64_t am: 8c86496ffd am: d501dc5395
Chienyuan [Wed, 28 Aug 2019 08:36:10 +0000 (01:36 -0700)]
Remove log with uint64_t am: 8c86496ffd am: d501dc5395
am: a44749e0ce

Change-Id: I01336a6e8e47ad41217dfc758269928b90957811

4 years agoRemove log with uint64_t am: 8c86496ffd
Chienyuan [Wed, 28 Aug 2019 08:30:29 +0000 (01:30 -0700)]
Remove log with uint64_t am: 8c86496ffd
am: d501dc5395

Change-Id: I3cbf54e2ffaab0b6df18e4ac5bbd2d820da538ff

4 years agoRemove log with uint64_t
Chienyuan [Wed, 28 Aug 2019 08:20:23 +0000 (01:20 -0700)]
Remove log with uint64_t
am: 8c86496ffd

Change-Id: I655ec9b2d740568728ec9298a6eb6d1ada654615

4 years agoRemove log with uint64_t
Chienyuan [Wed, 28 Aug 2019 03:47:14 +0000 (11:47 +0800)]
Remove log with uint64_t

Bug: 140128528
Test: build pass
Change-Id: I2da11d6abf8038eb60fc4993239c16a4b75570a0

4 years agoCert: Get rid of signal socket am: 3f3c0ed7c0 am: b73475c228 am: 1f3fd13224
Hansong Zhang [Wed, 28 Aug 2019 01:38:35 +0000 (18:38 -0700)]
Cert: Get rid of signal socket am: 3f3c0ed7c0 am: b73475c228 am: 1f3fd13224
am: 79bfee24e3

Change-Id: I30cb166436f6e1164c255906603c6cc18d6e1d0e

4 years agoCert: Get rid of signal socket am: 3f3c0ed7c0 am: b73475c228
Hansong Zhang [Wed, 28 Aug 2019 00:47:36 +0000 (17:47 -0700)]
Cert: Get rid of signal socket am: 3f3c0ed7c0 am: b73475c228
am: 1f3fd13224

Change-Id: Iccb94e69f12e963bfb1f2d43e1b3061aec73d730

4 years agoCert: Get rid of signal socket am: 3f3c0ed7c0
Hansong Zhang [Wed, 28 Aug 2019 00:20:14 +0000 (17:20 -0700)]
Cert: Get rid of signal socket am: 3f3c0ed7c0
am: b73475c228

Change-Id: I63af7e8760e1ba6bf8ac6f9310f7d3d4f99113f7

4 years agoCert: Get rid of signal socket
Hansong Zhang [Wed, 28 Aug 2019 00:13:10 +0000 (17:13 -0700)]
Cert: Get rid of signal socket
am: 3f3c0ed7c0

Change-Id: I1608eed1ebea4fb324328cb83bffae2df660e960

4 years agoCert: Get rid of signal socket
Hansong Zhang [Tue, 27 Aug 2019 21:33:08 +0000 (14:33 -0700)]
Cert: Get rid of signal socket

Use gRPC channel_ready_future to wait for channel ready, instead of using
another socket.

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

4 years agoGD: Implement internal HCI commands am: a7ad3fb7fb am: c35234e120 am: aa52ac18b1
Chienyuan [Tue, 27 Aug 2019 21:04:38 +0000 (14:04 -0700)]
GD: Implement internal HCI commands am: a7ad3fb7fb am: c35234e120 am: aa52ac18b1
am: 5e4fb6654b

Change-Id: Ib4d6d7b3da42626d2102eaabf45d012e21ea9830

4 years agoGD: Implement internal HCI commands am: a7ad3fb7fb am: c35234e120
Chienyuan [Tue, 27 Aug 2019 20:58:37 +0000 (13:58 -0700)]
GD: Implement internal HCI commands am: a7ad3fb7fb am: c35234e120
am: aa52ac18b1

Change-Id: I7a40482924d17bc09fdd6f13ff8d7afc10abc3d7

4 years agoGD: Implement internal HCI commands am: a7ad3fb7fb
Chienyuan [Tue, 27 Aug 2019 20:49:40 +0000 (13:49 -0700)]
GD: Implement internal HCI commands am: a7ad3fb7fb
am: c35234e120

Change-Id: Ia1b75da4e16a4e41c8b00d54e5955287b927d8b6

4 years agoGD: Implement internal HCI commands
Chienyuan [Tue, 27 Aug 2019 20:43:33 +0000 (13:43 -0700)]
GD: Implement internal HCI commands
am: a7ad3fb7fb

Change-Id: I46f586f0cf7eead51a002c641e20a2853d74ef4b

4 years agoGD: Implement internal HCI commands
Chienyuan [Thu, 15 Aug 2019 10:04:32 +0000 (18:04 +0800)]
GD: Implement internal HCI commands

Bug: 139329371
Test: run run_cert.sh
Change-Id: Ia9100bab1c1a212fd9031a8049dfd97e469ebad5

5 years agoMerge "Revert "Turn off the new pass manager for coverage builds"" am: 4aa9aa7a93...
Yi Kong [Mon, 26 Aug 2019 06:48:04 +0000 (23:48 -0700)]
Merge "Revert "Turn off the new pass manager for coverage builds"" am: 4aa9aa7a93 am: cb0518ac4a am: dc14fb1882
am: a55f60ea40

Change-Id: I283672c3f883aa02c1b821b673bf32275f494ac8

5 years agoMerge "Revert "Turn off the new pass manager for coverage builds"" am: 4aa9aa7a93...
Yi Kong [Mon, 26 Aug 2019 06:42:00 +0000 (23:42 -0700)]
Merge "Revert "Turn off the new pass manager for coverage builds"" am: 4aa9aa7a93 am: cb0518ac4a
am: dc14fb1882

Change-Id: Icf300a2194a6b543f62235aee809021d8cc8a122

5 years agoMerge "Revert "Turn off the new pass manager for coverage builds"" am: 4aa9aa7a93
Yi Kong [Mon, 26 Aug 2019 06:35:46 +0000 (23:35 -0700)]
Merge "Revert "Turn off the new pass manager for coverage builds"" am: 4aa9aa7a93
am: cb0518ac4a

Change-Id: I6aeb4427ffcf0763ffcb284d4601952c26043808

5 years agoMerge "Revert "Turn off the new pass manager for coverage builds""
Yi Kong [Mon, 26 Aug 2019 06:29:02 +0000 (23:29 -0700)]
Merge "Revert "Turn off the new pass manager for coverage builds""
am: 4aa9aa7a93

Change-Id: Ie0110bbef0e118220fc699f427fcc228bd92db13

5 years agoMerge "Revert "Turn off the new pass manager for coverage builds""
Yi Kong [Mon, 26 Aug 2019 06:16:36 +0000 (06:16 +0000)]
Merge "Revert "Turn off the new pass manager for coverage builds""

5 years agoRevert "Turn off the new pass manager for coverage builds"
Yi Kong [Mon, 26 Aug 2019 01:19:07 +0000 (01:19 +0000)]
Revert "Turn off the new pass manager for coverage builds"

This reverts commit 4dd3d1c50abfbfa8bec174f88b2513f27606b7fd.

The updated compiler has fixed the issue that new PM and
-fprofile-instr-generate cannot work together.

Change-Id: I1668afe65f633fddb71ac1a0c94c563cb94f1327
Test: presubmit
Bug: 131132095

5 years agoMerge "PDL: Autogenerate packet tests" am: eb0b2fa08e am: 1dc9138577 am: a16f673045
Myles Watson [Sat, 24 Aug 2019 16:11:15 +0000 (09:11 -0700)]
Merge "PDL: Autogenerate packet tests" am: eb0b2fa08e am: 1dc9138577 am: a16f673045
am: 935d57dce8

Change-Id: I0bac31b941e18c6fdf19b3e928a899b4d01dbbd9

5 years agoDevice: Initial bluetooth device API am: 58a1557b96 am: 332c0c2d4d am: 9a06e8fedb
Martin Brabham [Sat, 24 Aug 2019 16:07:12 +0000 (09:07 -0700)]
Device: Initial bluetooth device API am: 58a1557b96 am: 332c0c2d4d am: 9a06e8fedb
am: 9c82356443

Change-Id: Ibaab01a8190e006f6cf9094ea9b28963535e3a82

5 years agoMerge "PDL: Autogenerate packet tests" am: eb0b2fa08e am: 1dc9138577
Myles Watson [Sat, 24 Aug 2019 12:18:48 +0000 (05:18 -0700)]
Merge "PDL: Autogenerate packet tests" am: eb0b2fa08e am: 1dc9138577
am: a16f673045

Change-Id: I448179853d9db6e362cca4d9e6f1953b005b47b0

5 years agoDevice: Initial bluetooth device API am: 58a1557b96 am: 332c0c2d4d
Martin Brabham [Sat, 24 Aug 2019 12:16:01 +0000 (05:16 -0700)]
Device: Initial bluetooth device API am: 58a1557b96 am: 332c0c2d4d
am: 9a06e8fedb

Change-Id: I80a24f76bf6b81afffb3f51650b96b8e73e76ae3

5 years agoMerge "PDL: Autogenerate packet tests" am: eb0b2fa08e
Myles Watson [Sat, 24 Aug 2019 09:37:07 +0000 (02:37 -0700)]
Merge "PDL: Autogenerate packet tests" am: eb0b2fa08e
am: 1dc9138577

Change-Id: I33f0f82c9f704ea548505f3de19bd5b7a2587ac4

5 years agoDevice: Initial bluetooth device API am: 58a1557b96
Martin Brabham [Sat, 24 Aug 2019 09:34:02 +0000 (02:34 -0700)]
Device: Initial bluetooth device API am: 58a1557b96
am: 332c0c2d4d

Change-Id: I3cded8563b85ef003759845d086ebbbb242df02a

5 years agoMerge "PDL: Autogenerate packet tests"
Myles Watson [Sat, 24 Aug 2019 08:23:55 +0000 (01:23 -0700)]
Merge "PDL: Autogenerate packet tests"
am: eb0b2fa08e

Change-Id: I802b82c16f334a19c3e409f3b09644b38b223485

5 years agoDevice: Initial bluetooth device API
Martin Brabham [Sat, 24 Aug 2019 08:20:36 +0000 (01:20 -0700)]
Device: Initial bluetooth device API
am: 58a1557b96

Change-Id: Ifbfecbfdc3aa6caeee3d6f19e208a26ead28d867

5 years agoMerge "PDL: Autogenerate packet tests"
Treehugger Robot [Sat, 24 Aug 2019 07:48:05 +0000 (07:48 +0000)]
Merge "PDL: Autogenerate packet tests"

5 years agoPDL: Autogenerate packet tests
Myles Watson [Thu, 22 Aug 2019 23:11:01 +0000 (16:11 -0700)]
PDL: Autogenerate packet tests

captured_packet_bytes -> view -> builder -> generated_bytes

If captured_packet_bytes == generated_bytes, we can correctly parse
and build that packet for those inputs.

Fixes: 139701186
Test: bluetooth_packet_parser_test
Change-Id: I70375e59b6786d7bdd0c6629c504e62e579ea196

5 years agoDevice: Initial bluetooth device API
Martin Brabham [Wed, 21 Aug 2019 21:18:14 +0000 (14:18 -0700)]
Device: Initial bluetooth device API

Design:
    Have a simple memory map of devices for CLASSIC, LE, and DUAL.
This map will be managed by the DeviceDatabase and will eventually (not in this CL)
synchronize(using not yet submitted DeviceStorageApi) bonded devices to disk.

Bug: 139135297
Test: atest --host -t bluetooth_test_gd:DeviceTest bluetooth_test_gd:DeviceDatabaseTest bluetooth_test_gd:DualDeviceTest
Change-Id: I823b747aec5073feba5dc0f192f744329b43faf8

5 years agoMerge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f...
Myles Watson [Fri, 23 Aug 2019 16:38:55 +0000 (09:38 -0700)]
Merge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f am: 979ee12a02
am: f8c393f218

Change-Id: I769857536fbf4ff0800b99a4b3a355c69bb4cd99

5 years agoMerge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f
Myles Watson [Fri, 23 Aug 2019 16:16:05 +0000 (09:16 -0700)]
Merge "RootCanal: Mark newer commands as unsupported" am: 382f024c99 am: fe9159b29f
am: 979ee12a02

Change-Id: I35a0b573ba2aa8c05f01f78b52ea35dc5a2b9dd9

5 years agoMerge "RootCanal: Mark newer commands as unsupported" am: 382f024c99
Myles Watson [Fri, 23 Aug 2019 15:45:26 +0000 (08:45 -0700)]
Merge "RootCanal: Mark newer commands as unsupported" am: 382f024c99
am: fe9159b29f

Change-Id: I5076f4708c2b7c224efa7421ff6abf1a6580f7d3

5 years agoMerge "RootCanal: Mark newer commands as unsupported"
Myles Watson [Fri, 23 Aug 2019 15:35:30 +0000 (08:35 -0700)]
Merge "RootCanal: Mark newer commands as unsupported"
am: 382f024c99

Change-Id: I771f4cbc81dd96ed5a785db0125f8d7164e042f9

5 years agoMerge "RootCanal: Mark newer commands as unsupported"
Treehugger Robot [Fri, 23 Aug 2019 15:13:19 +0000 (15:13 +0000)]
Merge "RootCanal: Mark newer commands as unsupported"

5 years agoRootCanal: Mark newer commands as unsupported
Myles Watson [Fri, 23 Aug 2019 12:23:37 +0000 (05:23 -0700)]
RootCanal: Mark newer commands as unsupported

Bug: 139329371
Test: manual ReadLocalSupportedCommands
Change-Id: Ife208c53453b970bccad0effd288a8d0f1d67686

5 years agoMerge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0...
Myles Watson [Fri, 23 Aug 2019 04:37:53 +0000 (21:37 -0700)]
Merge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0 am: 26cc6ff56a
am: 48baf331ea

Change-Id: Ia70cdf496b2bf6c9d05ae1fe8ff332df4b695754

5 years agoMerge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0
Myles Watson [Fri, 23 Aug 2019 04:27:50 +0000 (21:27 -0700)]
Merge "HCI: Add an API for sending security commands" am: d68ae77395 am: 264431cbe0
am: 26cc6ff56a

Change-Id: I828f0d634ae291c773504e27c6627c5d4b085b77

5 years agoMerge "HCI: Add an API for sending security commands" am: d68ae77395
Myles Watson [Fri, 23 Aug 2019 04:18:48 +0000 (21:18 -0700)]
Merge "HCI: Add an API for sending security commands" am: d68ae77395
am: 264431cbe0

Change-Id: I1a1d6847f28cc4626ff39d508bfdaf18f6deae5a

5 years agoMerge "HCI: Add an API for sending security commands"
Myles Watson [Fri, 23 Aug 2019 04:09:30 +0000 (21:09 -0700)]
Merge "HCI: Add an API for sending security commands"
am: d68ae77395

Change-Id: I8f07c979da9491a6e37026294845399345db1238

5 years agoMerge "HCI: Add an API for sending security commands"
Treehugger Robot [Fri, 23 Aug 2019 03:40:39 +0000 (03:40 +0000)]
Merge "HCI: Add an API for sending security commands"

5 years agoHCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f am: 705dec41fb
Myles Watson [Fri, 23 Aug 2019 03:28:14 +0000 (20:28 -0700)]
HCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f am: 705dec41fb
am: 71846934c9

Change-Id: I3963ea2dc0e297c01b5b288b56673df09820d88b

5 years agoHCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f
Myles Watson [Fri, 23 Aug 2019 03:21:32 +0000 (20:21 -0700)]
HCI: Use arrays and fixed-length structs am: 2d23443166 am: 969147a81f
am: 705dec41fb

Change-Id: Id55d5e7d33403d4c40df0e93f34396da3e550e87

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 am: cf95615e90 am: 5736c685a5
Martin Brabham [Thu, 22 Aug 2019 20:37:18 +0000 (13:37 -0700)]
GD: Move Address and ClassOfDevice to hci am: 94db40c6c9 am: cf95615e90 am: 5736c685a5
am: 47a5a33aa2

Change-Id: Ia34ad1d950e04a893fab4fe3dce650404e159fa7

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

Change-Id: I633c6b9c7d5b796ba27109df1701793941e8b7ae

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 am: 409fe96003 am: 9e4d029960
Hansong Zhang [Thu, 22 Aug 2019 01:53:11 +0000 (18:53 -0700)]
L2CAP scheduler definition and FIFO am: 2ea2e8d2b0 am: 409fe96003 am: 9e4d029960
am: 33c6a8b5c0

Change-Id: I5422dd1c0d6564107f8ce7920d4b699f7635a879

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

Change-Id: I095b8e1cc8d9158cddb40be919c583939d8e5c00

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 am:...
Chienyuan [Wed, 21 Aug 2019 17:07:03 +0000 (10:07 -0700)]
Merge "GD HCI: register request event for security interface" am: 23d5a6717b am: 57f8772e2f am: ba05589b96
am: bee00d7158

Change-Id: I46583481a3b9fd2d6a0dd7896f75749f69a6c21e

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

Change-Id: I87895d5d6acfd3a8270ca636cad378c98a38f907

5 years agoHCI: Add an API for sending security commands
Myles Watson [Tue, 20 Aug 2019 22:17:00 +0000 (15:17 -0700)]
HCI: Add an API for sending security commands

Bug: 138259341
Test: bluetooth_test_gd
Change-Id: Ia9e99c9b5013787a7ff6c5a78cd2538c2be9ccbd

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 am: f1ea145644 am...
Myles Watson [Wed, 21 Aug 2019 14:55:52 +0000 (07:55 -0700)]
Merge "RootCanal: Add ReadLocalSupportedFeatures" am: 7ccfc0191c am: f1ea145644 am: dc7135430c
am: 83db4c4b13

Change-Id: I97b9ba94c4bf5bcd048427889ab93c7c0e441a2d

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

Change-Id: Iccd626ed18c850678a437e004596d990367fd1e5

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:41:24 +0000 (02:41 -0700)]
Address: Add static assert to make sure kLength is <= sizeof(uint64_t) am: b3e44e2140 am: 7ccf2466c8 am: 10925f0a0a
am: d9c97a040d

Change-Id: I08e7707e8ae9b57db05930556c856a3887d7e724

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

Change-Id: I07310e3c09bc16a28269690532209ab41c4ae8ba

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 agoMerge "HCI: Support registration for LE events" am: b93e57cda2 am: e45ad34b1e am...
Myles Watson [Wed, 21 Aug 2019 05:13:56 +0000 (22:13 -0700)]
Merge "HCI: Support registration for LE events" am: b93e57cda2 am: e45ad34b1e am: 93deb838aa
am: e89c957056

Change-Id: I52be75be61542c9b66eed3416ada40267d7d44bd

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 am: e45ad34b1e
Myles Watson [Wed, 21 Aug 2019 05:05:22 +0000 (22:05 -0700)]
Merge "HCI: Support registration for LE events" am: b93e57cda2 am: e45ad34b1e
am: 93deb838aa

Change-Id: I14cb59079f9d25edd1f069611635af88411a0707

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"