OSDN Git Service

android-x86/system-bt.git
4 years agoMerge changes Ib064f067,Iea33782b
Myles Watson [Wed, 15 Jan 2020 16:34:29 +0000 (08:34 -0800)]
Merge changes Ib064f067,Iea33782b
am: ef2594ff01

Change-Id: If9bad394e679cb591419e8cbd410ede3fa047634

4 years agoMerge changes Ib064f067,Iea33782b
Myles Watson [Wed, 15 Jan 2020 16:33:28 +0000 (16:33 +0000)]
Merge changes Ib064f067,Iea33782b

* changes:
  Revert "Add timer to detect HwBinder thread stuck"
  Revert "Print HwBinder thread performance to dumpsys"

4 years agoMerge "Use proper CID when registering for LE Signalling Channel"
Jakub Pawlowski [Wed, 15 Jan 2020 07:15:21 +0000 (23:15 -0800)]
Merge "Use proper CID when registering for LE Signalling Channel"
am: ada37ec01f

Change-Id: I8e37211309006eb0faeaa5d539512cfe4153b984

4 years agoRevert "Add timer to detect HwBinder thread stuck"
Ugo Yu [Wed, 15 Jan 2020 06:09:19 +0000 (14:09 +0800)]
Revert "Add timer to detect HwBinder thread stuck"

This reverts commit 6c9d9f527b7ec54bee5a569e3635800bbe7be3dd.

Bug: 146533770
Test: Build pass

4 years agoRevert "Print HwBinder thread performance to dumpsys"
Ugo Yu [Wed, 15 Jan 2020 05:56:57 +0000 (05:56 +0000)]
Revert "Print HwBinder thread performance to dumpsys"

This reverts commit dff02c0428c8c32bf5c796c189fdc66ef34ee80d.

Bug: 146533770
Test: Build pass
Change-Id: Iea33782be366cb7317161b94140edb9f518b82f7

4 years agoMerge "Use proper CID when registering for LE Signalling Channel"
Jakub Pawlowski [Wed, 15 Jan 2020 07:03:58 +0000 (07:03 +0000)]
Merge "Use proper CID when registering for LE Signalling Channel"

4 years agoMerge "Use BASIC rather than LE_CREDIT_BASED channel for LE Fixed channels"
Jakub Pawlowski [Wed, 15 Jan 2020 03:36:13 +0000 (19:36 -0800)]
Merge "Use BASIC rather than LE_CREDIT_BASED channel for LE Fixed channels"
am: 0059c3358d

Change-Id: I8f977e16aef20f409810c8435f4fadd9a0375844

4 years agoMerge "Use BASIC rather than LE_CREDIT_BASED channel for LE Fixed channels"
Treehugger Robot [Wed, 15 Jan 2020 03:34:40 +0000 (03:34 +0000)]
Merge "Use BASIC rather than LE_CREDIT_BASED channel for LE Fixed channels"

4 years agoUse BASIC rather than LE_CREDIT_BASED channel for LE Fixed channels
Jakub Pawlowski [Tue, 14 Jan 2020 23:40:18 +0000 (00:40 +0100)]
Use BASIC rather than LE_CREDIT_BASED channel for LE Fixed channels

Bug: 147086339
Test: Send data over SMP
Change-Id: I4d2253a193872235021b3af8488db70447e563eb

4 years agoUse proper CID when registering for LE Signalling Channel
Jakub Pawlowski [Tue, 14 Jan 2020 16:04:40 +0000 (17:04 +0100)]
Use proper CID when registering for LE Signalling Channel

Currently stack crashes on first received packet on signalling channel

Test: manual test, establish LE Connection
Bug: 147086339
Change-Id: Iaf062acbe5c03c2def51df71a754572d95a6e9a3

4 years agoMerge "Only use gd storage if gd stack has been started up"
Chris Manton [Tue, 14 Jan 2020 02:50:44 +0000 (18:50 -0800)]
Merge "Only use gd storage if gd stack has been started up"
am: 6479d7cb30

Change-Id: Ie02b23152a2b7805dc0a6fe9f9bafc42e397b077

4 years agoMerge "Only use gd storage if gd stack has been started up"
Treehugger Robot [Tue, 14 Jan 2020 02:46:43 +0000 (02:46 +0000)]
Merge "Only use gd storage if gd stack has been started up"

4 years agoOnly use gd storage if gd stack has been started up
Chris Manton [Mon, 13 Jan 2020 23:44:15 +0000 (15:44 -0800)]
Only use gd storage if gd stack has been started up

Add flag to detect if gd stack has started up.

Upon init btif reads from config file:
1. Local adapter name
2. Discovery timeout

And writes:
1. LE keys (x4)
2. Scan default settings
3. Discovery timeout

Test: System boots without failure
Bug: 147315979

Change-Id: I52c24433bc49466bafcc948963041fcd098d9981

4 years agoMerge "Fix Neighbor Test"
Hansong Zhang [Mon, 13 Jan 2020 23:48:05 +0000 (15:48 -0800)]
Merge "Fix Neighbor Test"
am: 7ab110cf43

Change-Id: I7e31eca3efbddbdc63de55fa26a891879fef44fc

4 years agoMerge "Fix Neighbor Test"
Treehugger Robot [Mon, 13 Jan 2020 23:46:31 +0000 (23:46 +0000)]
Merge "Fix Neighbor Test"

4 years agoMerge "Updates for bison 3.5"
Dan Willemsen [Mon, 13 Jan 2020 23:22:24 +0000 (15:22 -0800)]
Merge "Updates for bison 3.5"
am: 990fecdccd

Change-Id: If80b6c67b20b62779eb364be2f7566c55e733a3f

4 years agoMerge "Updates for bison 3.5"
Treehugger Robot [Mon, 13 Jan 2020 23:17:02 +0000 (23:17 +0000)]
Merge "Updates for bison 3.5"

4 years agoMerge changes Ibedf4957,Ic3069c6d
Hansong Zhang [Mon, 13 Jan 2020 22:10:21 +0000 (14:10 -0800)]
Merge changes Ibedf4957,Ic3069c6d
am: 186f34dc5e

Change-Id: I0a3be2d205f84fa4e566160b9542b7e9c80fa76b

4 years agoFix Neighbor Test
Hansong Zhang [Mon, 13 Jan 2020 18:52:47 +0000 (10:52 -0800)]
Fix Neighbor Test

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

4 years agoMerge changes Ibedf4957,Ic3069c6d
Treehugger Robot [Mon, 13 Jan 2020 22:03:32 +0000 (22:03 +0000)]
Merge changes Ibedf4957,Ic3069c6d

* changes:
  L2CAP: Handle pending command response and fix response
  L2CAP security policy definition

4 years agoL2CAP: Handle pending command response and fix response
Hansong Zhang [Mon, 13 Jan 2020 17:47:05 +0000 (09:47 -0800)]
L2CAP: Handle pending command response and fix response

Test: run_cert.sh
Bug: 141555841
Change-Id: Ibedf49573d3787c9b96afd416977da9ef998fdeb

4 years agoMerge changes Iaa097f78,Id3f6918e,I0ee70c56
Chris Manton [Mon, 13 Jan 2020 18:32:36 +0000 (10:32 -0800)]
Merge changes Iaa097f78,Id3f6918e,I0ee70c56
am: 2b9497718b

Change-Id: Ia390af2c0478d4844c312d9b954647e25159489a

4 years agoMerge changes Iaa097f78,Id3f6918e,I0ee70c56
Treehugger Robot [Mon, 13 Jan 2020 18:30:25 +0000 (18:30 +0000)]
Merge changes Iaa097f78,Id3f6918e,I0ee70c56

* changes:
  gd: Initial entry for main legacy storage shim
  gd: Initial entry for legacy storage shim
  gd: Initial entry for legacy config storage

4 years agoL2CAP security policy definition
Hansong Zhang [Mon, 13 Jan 2020 17:44:33 +0000 (09:44 -0800)]
L2CAP security policy definition

Bug: 141555841
Test: compile
Change-Id: Ic3069c6d919c81a36b4062f04b97126236adfa84

4 years agogd: Initial entry for main legacy storage shim
Chris Manton [Sat, 11 Jan 2020 05:18:38 +0000 (21:18 -0800)]
gd: Initial entry for main legacy storage shim

Bug: 147315979
Test: bluetooth_test_gd

Change-Id: Iaa097f78e5d9406b23acbc92bd122ad17904c1aa

4 years agogd: Initial entry for legacy storage shim
Chris Manton [Sun, 12 Jan 2020 05:14:45 +0000 (21:14 -0800)]
gd: Initial entry for legacy storage shim

Bug: 147315979
Test: Compiles bluetooth_test_gd
Change-Id: Id3f6918e3216c30d214632a6a8bd36e7e8010f41

4 years agogd: Initial entry for legacy config storage
Chris Manton [Sat, 11 Jan 2020 05:17:47 +0000 (21:17 -0800)]
gd: Initial entry for legacy config storage

Bug: 147315979
Test: bluetooth_test_gd

Change-Id: I0ee70c5663796b418b5e99f78d8a2ded234d61fd

4 years agoMerge "Add LeExtendedCreateConnection definition"
Jakub Pawlowski [Sat, 11 Jan 2020 11:09:51 +0000 (03:09 -0800)]
Merge "Add LeExtendedCreateConnection definition"
am: 16ad82e7a4

Change-Id: I2c4af9c458965f1997fd405e54bd51984aabcfbf

4 years agoMerge "Add LeExtendedCreateConnection definition"
Treehugger Robot [Sat, 11 Jan 2020 11:08:06 +0000 (11:08 +0000)]
Merge "Add LeExtendedCreateConnection definition"

4 years agoCert: Enable page scans in tests
Myles Watson [Sat, 11 Jan 2020 07:05:30 +0000 (23:05 -0800)]
Cert: Enable page scans in tests
am: f4af167a6e

Change-Id: I62faa8d26ca1a0e54c4d5f6e7a634ae51f2dbad0

4 years agoAdd LeExtendedCreateConnection definition
Jakub Pawlowski [Fri, 10 Jan 2020 14:06:58 +0000 (15:06 +0100)]
Add LeExtendedCreateConnection definition

Test: bluetooth_test_gd
Bug: 147086339
Change-Id: I9db04b79e870f9b16567b1b2b1246ea130e0f68f

4 years agoCert: Enable page scans in tests
Myles Watson [Fri, 10 Jan 2020 17:46:56 +0000 (09:46 -0800)]
Cert: Enable page scans in tests

Bug: 147444951
Test: ./cert/run_cert.sh
Change-Id: I989fb8741f98e0d7c6e3ccc7de2e7aa387a4f6b3

4 years agoMerge "Add setConnectionPolicy to HidDevice and Pan aidl"
Rahul Sabnis [Fri, 10 Jan 2020 20:24:52 +0000 (12:24 -0800)]
Merge "Add setConnectionPolicy to HidDevice and Pan aidl"
am: c475488f22

Change-Id: I142493b51e0b8a2f516bc39a8b7b5845f63f76b6

4 years agoMerge "Add setConnectionPolicy to HidDevice and Pan aidl"
Treehugger Robot [Fri, 10 Jan 2020 20:19:36 +0000 (20:19 +0000)]
Merge "Add setConnectionPolicy to HidDevice and Pan aidl"

4 years agoMerge changes I06aadb55,I2c5b2bdc
Myles Watson [Fri, 10 Jan 2020 20:12:14 +0000 (12:12 -0800)]
Merge changes I06aadb55,I2c5b2bdc
am: bdf11eb2c5

Change-Id: Idc25e97894bcfb600e3e4810e284ea93172f0d9b

4 years agoMerge changes I06aadb55,I2c5b2bdc
Treehugger Robot [Fri, 10 Jan 2020 20:09:43 +0000 (20:09 +0000)]
Merge changes I06aadb55,I2c5b2bdc

* changes:
  AclManagerFacade
  HCI Controller tests

4 years agoMerge "Direct HCI classic connection test"
Myles Watson [Fri, 10 Jan 2020 20:05:17 +0000 (12:05 -0800)]
Merge "Direct HCI classic connection test"
am: 118afb3e81

Change-Id: Iad986e3dd3f22bdd05c25fdd8c24f363afaa8e6f

4 years agoMerge "Direct HCI classic connection test"
Treehugger Robot [Fri, 10 Jan 2020 20:02:34 +0000 (20:02 +0000)]
Merge "Direct HCI classic connection test"

4 years agoMerge "A2DP: Reset the HAL pending command flag while clean up"
Cheney Ni [Fri, 10 Jan 2020 18:15:47 +0000 (10:15 -0800)]
Merge "A2DP: Reset the HAL pending command flag while clean up"
am: 323b38e43e

Change-Id: I4089ff2568d472e54bcb01a8fcf01cb8a5d36e49

4 years agoMerge "A2DP: Reset the HAL pending command flag while clean up"
Treehugger Robot [Fri, 10 Jan 2020 18:13:33 +0000 (18:13 +0000)]
Merge "A2DP: Reset the HAL pending command flag while clean up"

4 years agoAclManagerFacade
Myles Watson [Wed, 8 Jan 2020 19:19:00 +0000 (11:19 -0800)]
AclManagerFacade

Bug: 147444951
Test: ./cert/run_cert_facade_only.sh
Change-Id: I06aadb556df5d5c73644b0987d459557deb9aeeb

4 years agoHCI Controller tests
Myles Watson [Thu, 9 Jan 2020 21:41:22 +0000 (13:41 -0800)]
HCI Controller tests

Bug: 147444951
Test: ./run_cert_facade_only.sh
Change-Id: I2c5b2bdc9b5a27cc14217aca8196eede6412c670

4 years agoDirect HCI classic connection test
Myles Watson [Thu, 9 Jan 2020 17:59:31 +0000 (09:59 -0800)]
Direct HCI classic connection test

Bug: 147444951
Test: ./cert/run_cert_facade_only.sh
Change-Id: Ie075bbac29f2ac08d89b13d7a6c454f7f82bec2f

4 years agoRedirect osi/config interface based upon gd status
Chris Manton [Fri, 10 Jan 2020 02:31:19 +0000 (18:31 -0800)]
Redirect osi/config interface based upon gd status
am: 38c43e4ce8

Change-Id: I99eeea4e6188d0bd2da35cdc530f54e245b818da

4 years agoAdd setConnectionPolicy to HidDevice and Pan aidl
Rahul Sabnis [Fri, 10 Jan 2020 00:28:26 +0000 (16:28 -0800)]
Add setConnectionPolicy to HidDevice and Pan aidl

Bug: 147444905
Test: Manual
Change-Id: Ic29a7c08fab10b3c25b4708124eb9768ba84bbb4

4 years agoRedirect osi/config interface based upon gd status
Chris Manton [Thu, 9 Jan 2020 00:24:33 +0000 (16:24 -0800)]
Redirect osi/config interface based upon gd status

Initial entry to separate config implementation based
upon gd flag.

Test: Compiles
Bug: 147315979

Change-Id: Ic4156370911eebaddffb5394c0c34dde2a627ec9

4 years agoMerge "Reset channel configuration state after closure"
Chris Manton [Thu, 9 Jan 2020 18:36:17 +0000 (10:36 -0800)]
Merge "Reset channel configuration state after closure"
am: 0be4534880

Change-Id: I0cf191b4ce71bbc957b351d54afdea0b68178749

4 years agoMerge "Reset channel configuration state after closure"
Treehugger Robot [Thu, 9 Jan 2020 18:34:53 +0000 (18:34 +0000)]
Merge "Reset channel configuration state after closure"

4 years agoMerge "Pass address type into shim::BTM_SecBond for LE devices"
Jakub Pawlowski [Thu, 9 Jan 2020 18:20:55 +0000 (10:20 -0800)]
Merge "Pass address type into shim::BTM_SecBond for LE devices"
am: 5804d1a979

Change-Id: I9682d8b450232b7fa4fd0cfef2f2a512b5687aac

4 years agoMerge "Pass address type into shim::BTM_SecBond for LE devices"
Treehugger Robot [Thu, 9 Jan 2020 18:18:24 +0000 (18:18 +0000)]
Merge "Pass address type into shim::BTM_SecBond for LE devices"

4 years agoA2DP: Reset the HAL pending command flag while clean up
Cheney Ni [Thu, 9 Jan 2020 07:39:19 +0000 (15:39 +0800)]
A2DP: Reset the HAL pending command flag while clean up

In order to switch the audio HAL between software and offloading
encoders, there is a static flag shared between two HAL interfaces, and
is used to know whether the stack is still handling a previous task.
If audio HAL asked to start or suspend the playback while disabling
Bluetooth, the flag was assigned, but might not reset after A2DP clean
up. Since this is a static variable, it would be a worng value after
re-enabled, and should be reset while clean up or HAL interfaces'
initialization.

Bug: 147394596
Test: Turn off Bluetooth when A2DP playback
Change-Id: If14235f9cc302895049404a562ca0a27f416a3f2

4 years agoPass address type into shim::BTM_SecBond for LE devices
Jakub Pawlowski [Tue, 7 Jan 2020 14:22:03 +0000 (15:22 +0100)]
Pass address type into shim::BTM_SecBond for LE devices

Previously stack used to store address type in security record database.
New stack will receive address type as one of the paramters to start the
bond.

Bug: 147086339
Change-Id: Ide684b8957516efc3f7cb4417ded61f27290ff81

4 years agoReset channel configuration state after closure
Chris Manton [Thu, 9 Jan 2020 06:51:12 +0000 (22:51 -0800)]
Reset channel configuration state after closure

Bug: 146086425
Test: bt_headless running multiple sdp queries
Change-Id: I20687fefdeb05ec3005e47dbd2cceb26e9130b26

4 years agoMerge "Properly delete pending connections"
Chris Manton [Thu, 9 Jan 2020 00:29:04 +0000 (16:29 -0800)]
Merge "Properly delete pending connections"
am: f515ce44fd

Change-Id: Ifd074392aba5dbf1117a76da77c4862e0ee4c1df

4 years agoMerge "Properly delete pending connections"
Treehugger Robot [Thu, 9 Jan 2020 00:25:32 +0000 (00:25 +0000)]
Merge "Properly delete pending connections"

4 years agoMerge "Fix L2CAP cert and remove legacy HCI cert"
Hansong Zhang [Wed, 8 Jan 2020 22:08:06 +0000 (14:08 -0800)]
Merge "Fix L2CAP cert and remove legacy HCI cert"
am: 7061aeec12

Change-Id: I6fb34005537960b1da2058f8d4a4bf5102a21405

4 years agoMerge "Remove unused BTM_SEC and BTU_HH defines"
Hansong Zhang [Wed, 8 Jan 2020 22:07:22 +0000 (14:07 -0800)]
Merge "Remove unused BTM_SEC and BTU_HH defines"
am: 71f2804103

Change-Id: Ibbbe6b2ca2c70beda502b6350ce499d47719a1b4

4 years agoMerge "Fix L2CAP cert and remove legacy HCI cert"
Treehugger Robot [Wed, 8 Jan 2020 21:47:13 +0000 (21:47 +0000)]
Merge "Fix L2CAP cert and remove legacy HCI cert"

4 years agoMerge "Remove unused BTM_SEC and BTU_HH defines"
Treehugger Robot [Wed, 8 Jan 2020 21:10:09 +0000 (21:10 +0000)]
Merge "Remove unused BTM_SEC and BTU_HH defines"

4 years agoRemove unused BTM_SEC and BTU_HH defines
Hansong Zhang [Fri, 3 Jan 2020 22:18:47 +0000 (14:18 -0800)]
Remove unused BTM_SEC and BTU_HH defines

Test: compile
Change-Id: I74c89e83b4476c55eaac361b101435512f15ba01

4 years agoProperly delete pending connections
Chris Manton [Wed, 8 Jan 2020 17:49:52 +0000 (09:49 -0800)]
Properly delete pending connections

Ensure that pending connections complete their lifecycle
after either opened or failed conditions occur

Bug: 147316415
Test: bt_headless using sdp queries

Change-Id: If00204755ec24d4e6c6a5ff1c92a05b2404ce70e

4 years agoFix L2CAP cert and remove legacy HCI cert
Hansong Zhang [Tue, 7 Jan 2020 00:21:51 +0000 (16:21 -0800)]
Fix L2CAP cert and remove legacy HCI cert

Test: run_cert.sh
Change-Id: I792ece4a241b4733c3a4e496f8deb20e2096a109

4 years agoMerge "Replace source files with static library"
Chris Manton [Wed, 8 Jan 2020 18:52:45 +0000 (10:52 -0800)]
Merge "Replace source files with static library"
am: 5025102343

Change-Id: I9c017433b7a0929879db3b8d59a509714323b99f

4 years agoMerge "Remove 1:1 mandate for psm:channel"
Chris Manton [Wed, 8 Jan 2020 18:52:21 +0000 (10:52 -0800)]
Merge "Remove 1:1 mandate for psm:channel"
am: 3c2b307600

Change-Id: I58cc94880211924b43cc52b519747be72e6a77e3

4 years agoMerge "Replace source files with static library"
Treehugger Robot [Wed, 8 Jan 2020 18:50:56 +0000 (18:50 +0000)]
Merge "Replace source files with static library"

4 years agoMerge "Remove 1:1 mandate for psm:channel"
Treehugger Robot [Wed, 8 Jan 2020 18:49:36 +0000 (18:49 +0000)]
Merge "Remove 1:1 mandate for psm:channel"

4 years agoDO NOT MERGE - Merge January 2020 Security Release into master
Xin Li [Wed, 8 Jan 2020 17:47:18 +0000 (09:47 -0800)]
DO NOT MERGE - Merge January 2020 Security Release into master
am: 9ba8138dcb

Change-Id: Ia8b22c13b34d0d80aa942b39f722db7af559f2ac

4 years agoRemove 1:1 mandate for psm:channel
Chris Manton [Wed, 8 Jan 2020 05:12:40 +0000 (21:12 -0800)]
Remove 1:1 mandate for psm:channel

PSMs may have multiple channels open.

Bug: 147316415
Test: Run 2 concurrent SDP queries
Change-Id: I9a87d24a21889f39b377297ae0c33ae8f1c6bed2

4 years agoDO NOT MERGE - Merge January 2020 Security Release into master
Xin Li [Tue, 7 Jan 2020 23:25:25 +0000 (15:25 -0800)]
DO NOT MERGE - Merge January 2020 Security Release into master

Bug: 147314974
Change-Id: I0feed5aa585da1bb404f6c5f6abdab29a5711ba6

4 years agoReplace source files with static library
Chris Manton [Tue, 7 Jan 2020 22:05:36 +0000 (14:05 -0800)]
Replace source files with static library

Bug: 147316415
Test: Passes presubmit tests

Change-Id: I1a318a476f80f3cc372d30274ab86971418a9793

4 years agoMerge "Add setConnectionPolicy to IBluetoothPbap.aidl"
Rahul Sabnis [Tue, 7 Jan 2020 20:56:31 +0000 (12:56 -0800)]
Merge "Add setConnectionPolicy to IBluetoothPbap.aidl"
am: c999e08380

Change-Id: I69e776c58e33124e36b022370a9c82277c8760f7

4 years agoMerge "Add setConnectionPolicy to IBluetoothPbap.aidl"
Treehugger Robot [Tue, 7 Jan 2020 20:33:21 +0000 (20:33 +0000)]
Merge "Add setConnectionPolicy to IBluetoothPbap.aidl"

4 years agoMerge "HCI: Add LE Scanning Manager test"
Myles Watson [Tue, 7 Jan 2020 20:21:54 +0000 (12:21 -0800)]
Merge "HCI: Add LE Scanning Manager test"
am: d12ccf83b6

Change-Id: I3cf20dfc3152fd8058c23ae7409bc7ed36100194

4 years agoMerge "HCI: Add LE Scanning Manager test"
Treehugger Robot [Tue, 7 Jan 2020 19:05:59 +0000 (19:05 +0000)]
Merge "HCI: Add LE Scanning Manager test"

4 years agoOnly include common.proto when used
Myles Watson [Tue, 7 Jan 2020 17:59:08 +0000 (09:59 -0800)]
Only include common.proto when used
am: 6e648ddd5f

Change-Id: I4ab7f755604d99fdd66bf3cedc9344c167ee61f0

4 years agoOnly include common.proto when used
Myles Watson [Mon, 6 Jan 2020 23:00:53 +0000 (15:00 -0800)]
Only include common.proto when used

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

4 years agoMerge BTM_SecBond and BTM_SecBondByTransport
Jakub Pawlowski [Tue, 7 Jan 2020 16:09:57 +0000 (08:09 -0800)]
Merge BTM_SecBond and BTM_SecBondByTransport
am: 948aeebcbf

Change-Id: I7c960c939944d06dc74391862438954ab157aea9

4 years agoMerge BTM_SecBond and BTM_SecBondByTransport
Jakub Pawlowski [Tue, 7 Jan 2020 12:47:55 +0000 (13:47 +0100)]
Merge BTM_SecBond and BTM_SecBondByTransport

This makes the API surface smaller, and code paths easier to follow.

Bug: 147086339
Change-Id: Ia24771d73792bd352678d41550608f805f27062c

4 years agoMerge "Add explicit legacy module path"
Chris Manton [Tue, 7 Jan 2020 01:42:40 +0000 (17:42 -0800)]
Merge "Add explicit legacy module path"
am: 87f65e1899

Change-Id: Iccbe33a95891b09bd232942e8c98f9a124d9cad9

4 years agoAdd runtime sanity checks
Chris Manton [Tue, 7 Jan 2020 01:42:14 +0000 (17:42 -0800)]
Add runtime sanity checks
am: 1e40652f53

Change-Id: I9fd43669310aab366d599e149dded2fcf35a0a5f

4 years agoMerge "Add explicit legacy module path"
Treehugger Robot [Tue, 7 Jan 2020 01:37:05 +0000 (01:37 +0000)]
Merge "Add explicit legacy module path"

4 years agoUpdates for bison 3.5
Dan Willemsen [Mon, 30 Dec 2019 19:24:19 +0000 (11:24 -0800)]
Updates for bison 3.5

%pure-parser isn't necessary for C++ parsers

Bug: 31194194
Test: treehugger
Change-Id: I31b31941245da5e7f6ac31400c321938b9028d05

4 years agoHCI: Add LE Scanning Manager test
Myles Watson [Mon, 6 Jan 2020 22:44:11 +0000 (14:44 -0800)]
HCI: Add LE Scanning Manager test

Bug: 143569719
Test: ./cert/run_cert_facade_only.sh
Change-Id: I7d7c9837f4af765b0fa1680bc90903df54e6ad83

4 years agoAdd explicit legacy module path
Chris Manton [Mon, 6 Jan 2020 23:20:21 +0000 (15:20 -0800)]
Add explicit legacy module path

The module.h file is ambiguous without an explicit
path for legacy or gd include.

Bug: 146086425
Test: Builds and enables on crosshatch
Change-Id: I1b25ba4ffcd0a9177181d4ce2bb47bc06a930d9d

4 years agoAdd runtime sanity checks
Chris Manton [Mon, 6 Jan 2020 23:17:17 +0000 (15:17 -0800)]
Add runtime sanity checks

Bug: 146086425
Test: Manually boots
Change-Id: I17e10a2c7fa9646b2a727da726ed3757d42439e3

4 years agoAdd setConnectionPolicy to IBluetoothPbap.aidl
Rahul Sabnis [Mon, 6 Jan 2020 23:20:12 +0000 (15:20 -0800)]
Add setConnectionPolicy to IBluetoothPbap.aidl

Bug: 145943634
Test: Manual
Change-Id: Idfae61d09c5338ee3de362aeb3a2bbae68818eb4

4 years agoMerge "Implement Classic scanning facade"
Myles Watson [Mon, 6 Jan 2020 22:59:24 +0000 (14:59 -0800)]
Merge "Implement Classic scanning facade"
am: 10c45fdcc1

Change-Id: I5382e0c78623664d956beb1e91137238f215642e

4 years agoMerge "Implement Classic scanning facade"
Treehugger Robot [Mon, 6 Jan 2020 22:54:07 +0000 (22:54 +0000)]
Merge "Implement Classic scanning facade"

4 years agoMerge "Synchronize l2cap channel for client apps"
Chris Manton [Mon, 6 Jan 2020 21:19:36 +0000 (13:19 -0800)]
Merge "Synchronize l2cap channel for client apps"
am: e5af90bce5

Change-Id: I760e8dbba7c26461c17810b6df16b4a473c2a287

4 years agoMerge "Add shim for Security CreateBond method"
Jakub Pawlowski [Mon, 6 Jan 2020 21:11:12 +0000 (13:11 -0800)]
Merge "Add shim for Security CreateBond method"
am: cb5a724f66

Change-Id: I9d096870e11f82b5cc97ba288cfb3ed7f05d83c2

4 years agoMerge "HCI: Start facade directory for testing"
Myles Watson [Mon, 6 Jan 2020 21:10:48 +0000 (13:10 -0800)]
Merge "HCI: Start facade directory for testing"
am: 964751442e

Change-Id: I557fee12a4ae696079950af8dfeac1af51dad6aa

4 years agoMerge "Uncomment HID cache logic"
Andre Eisenbach [Mon, 6 Jan 2020 21:08:22 +0000 (13:08 -0800)]
Merge "Uncomment HID cache logic"
am: d86f23d170

Change-Id: Ief49cf41829642be24bd72bffe5c5bf6bb0d437b

4 years agoMerge "Synchronize l2cap channel for client apps"
Treehugger Robot [Mon, 6 Jan 2020 20:45:06 +0000 (20:45 +0000)]
Merge "Synchronize l2cap channel for client apps"

4 years agoMerge "Add shim for Security CreateBond method"
Jakub Pawlowski [Mon, 6 Jan 2020 20:11:49 +0000 (20:11 +0000)]
Merge "Add shim for Security CreateBond method"

4 years agoMerge "HCI: Start facade directory for testing"
Treehugger Robot [Mon, 6 Jan 2020 19:40:35 +0000 (19:40 +0000)]
Merge "HCI: Start facade directory for testing"

4 years agoMerge "Uncomment HID cache logic"
Andre Eisenbach [Mon, 6 Jan 2020 19:34:37 +0000 (19:34 +0000)]
Merge "Uncomment HID cache logic"

4 years agoSynchronize l2cap channel for client apps
Chris Manton [Thu, 19 Dec 2019 00:58:58 +0000 (16:58 -0800)]
Synchronize l2cap channel for client apps

Respond immediately with a connection interface
descriptor rather than wait for the actual
connection in order to avoid a race.

Bug: 146565627
Test: CtsVerifier insecure connections

Change-Id: Ie6eeda50a01ee7fda076330d5583b9793578b1bb

4 years agoImplement Classic scanning facade
Myles Watson [Fri, 3 Jan 2020 23:20:33 +0000 (15:20 -0800)]
Implement Classic scanning facade

Bug: 143568835
Test: Neighbor module tests
Change-Id: Ibb479bceba349bd1fc230fb3d95f16a86d098ff4

4 years agoHCI: Start facade directory for testing
Myles Watson [Wed, 18 Dec 2019 23:47:38 +0000 (15:47 -0800)]
HCI: Start facade directory for testing

Create new tests that depend on the HciLayer.  Other interfaces
deserve their own facades.

Bug: 143568835
Test: ./cert/run_cert_facade_only.sh
Change-Id: Ia6bf16a42450a457c5d7ea3430a6d300f113a2b8

4 years agoAdd shim for Security CreateBond method
Jakub Pawlowski [Thu, 2 Jan 2020 14:01:16 +0000 (15:01 +0100)]
Add shim for Security CreateBond method

This allow for manual testing of GD implementation with real devices

Bug: 147086339
Change-Id: I196f71f15b828f89a221bca1658136593a31e561