OSDN Git Service

android-x86/system-bt.git
6 years agoRevert "Remove A2DP Source/Sink startup calls during A2DP initialization" am: 57bb0b4...
Andre Eisenbach [Wed, 21 Feb 2018 20:16:46 +0000 (20:16 +0000)]
Revert "Remove A2DP Source/Sink startup calls during A2DP initialization" am: 57bb0b4934 am: 45c6846baf
am: 4cd2b42028

Change-Id: Ibf75294b8bc1dace330a85bf909cf9f76432443c

6 years agoRevert "Remove A2DP Source/Sink startup calls during A2DP initialization" am: 57bb0b4934
Andre Eisenbach [Wed, 21 Feb 2018 19:56:59 +0000 (19:56 +0000)]
Revert "Remove A2DP Source/Sink startup calls during A2DP initialization" am: 57bb0b4934
am: 45c6846baf

Change-Id: Iedd6422775cc4943208bc9570fec94fed322c952

6 years agoRevert "Remove A2DP Source/Sink startup calls during A2DP initialization"
Andre Eisenbach [Wed, 21 Feb 2018 19:50:27 +0000 (19:50 +0000)]
Revert "Remove A2DP Source/Sink startup calls during A2DP initialization"
am: 57bb0b4934

Change-Id: I105fdb37da2c4e6b68bb54a0cdd765ac90bf6d2d

6 years agoRevert "Remove A2DP Source/Sink startup calls during A2DP initialization"
Andre Eisenbach [Wed, 21 Feb 2018 02:38:52 +0000 (02:38 +0000)]
Revert "Remove A2DP Source/Sink startup calls during A2DP initialization"

This reverts commit 83255478b0457f291d6a78795444ff3b895d4a90.

Reason for revert:
Prevents audio routing due to stale active device record if
Bluetooth is toggled without the process stopping completely
(ex. LE-only mode).

Bug: 72701090
Change-Id: Ifa798e63df14855b5bf0bd45e1557315cd51034d
Fixes: 73601288

6 years agoAdd packet classes needed for AVRCP Absolute Volume am: 0c348413fb am: dd30428b8f
Ajay Panicker [Wed, 21 Feb 2018 05:27:33 +0000 (05:27 +0000)]
Add packet classes needed for AVRCP Absolute Volume am: 0c348413fb am: dd30428b8f
am: eb8600f754

Change-Id: I7009513e64464e5c8b13f5e910920efa250fde74

6 years agoAdd packet classes needed for AVRCP Absolute Volume am: 0c348413fb
Ajay Panicker [Wed, 21 Feb 2018 05:18:28 +0000 (05:18 +0000)]
Add packet classes needed for AVRCP Absolute Volume am: 0c348413fb
am: dd30428b8f

Change-Id: Ia405f2a8fac503d30df720815c32a70cdad16811

6 years agoAdd packet classes needed for AVRCP Absolute Volume
Ajay Panicker [Wed, 21 Feb 2018 05:09:33 +0000 (05:09 +0000)]
Add packet classes needed for AVRCP Absolute Volume
am: 0c348413fb

Change-Id: If186451077737dc05095c34f27795c329776a94e

6 years agoAdd packet classes needed for AVRCP Absolute Volume
Ajay Panicker [Sat, 17 Feb 2018 19:22:48 +0000 (11:22 -0800)]
Add packet classes needed for AVRCP Absolute Volume

Add the Register Notification Request packet as well as the
packets Set Absolute Volume packet.

Bug: 68854188
Test: run host native test net_test_packets
Change-Id: Ie0d1f1fb23254c1353b6a73529ca93e92f231ed5

6 years agoOSI: Protect cutils/properties.h from direct calls am: 158fe8e028 am: 354266b95f
Myles Watson [Sat, 17 Feb 2018 01:35:15 +0000 (01:35 +0000)]
OSI: Protect cutils/properties.h from direct calls am: 158fe8e028 am: 354266b95f
am: 7e38f02b3d

Change-Id: Ic65a261b725bcf9780ad0b49bd1154e815b652b5

6 years agoOSI: Protect cutils/properties.h from direct calls am: 158fe8e028
Myles Watson [Sat, 17 Feb 2018 01:27:07 +0000 (01:27 +0000)]
OSI: Protect cutils/properties.h from direct calls am: 158fe8e028
am: 354266b95f

Change-Id: Ic1bc66e08e76a6c3735d1aabb29faee63f27629b

6 years agoOSI: Protect cutils/properties.h from direct calls
Myles Watson [Sat, 17 Feb 2018 01:19:40 +0000 (01:19 +0000)]
OSI: Protect cutils/properties.h from direct calls
am: 158fe8e028

Change-Id: I8c163caf14182b5103c27a6c5e03bebbbdbdb59c

6 years agoOSI: Protect cutils/properties.h from direct calls
Myles Watson [Fri, 16 Feb 2018 21:11:04 +0000 (13:11 -0800)]
OSI: Protect cutils/properties.h from direct calls

Bug: None
Test: compile, no calls to property_get outside of libosi
      change PROPERTY_VALUE_MAX in osi/include/properties.h
      -> doesn't compile
Change-Id: I18c7b861782b1df4878da032ae3f0340dffdecab

6 years agoGet rid of BTA_HOST_INTERLEAVE_SEARCH am: 56363e828c am: b9c174b514
Jakub Pawlowski [Sat, 17 Feb 2018 00:21:31 +0000 (00:21 +0000)]
Get rid of BTA_HOST_INTERLEAVE_SEARCH am: 56363e828c am: b9c174b514
am: 18876a25fd

Change-Id: I4a6dc23fdf1eed9dd438573c8738d28752e4ad27

6 years agoGet rid of BTA_HOST_INTERLEAVE_SEARCH am: 56363e828c
Jakub Pawlowski [Sat, 17 Feb 2018 00:13:55 +0000 (00:13 +0000)]
Get rid of BTA_HOST_INTERLEAVE_SEARCH am: 56363e828c
am: b9c174b514

Change-Id: I9f6751690dcbf9b6d07859286348c0d44b77b5ef

6 years agoGet rid of BTA_HOST_INTERLEAVE_SEARCH
Jakub Pawlowski [Sat, 17 Feb 2018 00:05:44 +0000 (00:05 +0000)]
Get rid of BTA_HOST_INTERLEAVE_SEARCH
am: 56363e828c

Change-Id: I4aaae9428d15db914c046b99bffc502b00bba2e5

6 years agoGet rid of BTA_HOST_INTERLEAVE_SEARCH
Jakub Pawlowski [Fri, 16 Feb 2018 21:21:58 +0000 (13:21 -0800)]
Get rid of BTA_HOST_INTERLEAVE_SEARCH

Test: compilation
Change-Id: I6f91cd783fc1dd46cda55d3456a67eb78ba4c7ae

6 years agoMerge "Make STREAM_TO_UINT64 globally available" am: 4a31432f8b am: 2042718a9c
Jakub Pawlowski [Fri, 16 Feb 2018 06:17:39 +0000 (06:17 +0000)]
Merge "Make STREAM_TO_UINT64 globally available" am: 4a31432f8b am: 2042718a9c
am: 47445183ef

Change-Id: Idb4ba8d7527d96fdb5ffa7cb1c719448354dc6b0

6 years agoMerge "Make STREAM_TO_UINT64 globally available" am: 4a31432f8b
Jakub Pawlowski [Fri, 16 Feb 2018 06:10:04 +0000 (06:10 +0000)]
Merge "Make STREAM_TO_UINT64 globally available" am: 4a31432f8b
am: 2042718a9c

Change-Id: Ie29cf7d9143357e7960ade32cf16a154fc2f65a9

6 years agoMerge "Add btif_config_(get/set)_uint64" am: 22e48923d4 am: 487f39bf51
Jakub Pawlowski [Fri, 16 Feb 2018 06:08:23 +0000 (06:08 +0000)]
Merge "Add btif_config_(get/set)_uint64" am: 22e48923d4 am: 487f39bf51
am: 5dc8cc2c37

Change-Id: I5dfa9b33e44367e8d253d46d9f13828e1e87696a

6 years agoReduce spammy error log in gatt_attr.cc, plus minor logging improvements am: ae2104f6...
Jakub Pawlowski [Fri, 16 Feb 2018 06:06:19 +0000 (06:06 +0000)]
Reduce spammy error log in gatt_attr.cc, plus minor logging improvements am: ae2104f6ac am: c4b0f9082c
am: d5792867d2

Change-Id: I74136a54897deffdc9da5333c8a8ecdfd3ce5109

6 years agoMerge "Make STREAM_TO_UINT64 globally available"
Jakub Pawlowski [Fri, 16 Feb 2018 06:03:03 +0000 (06:03 +0000)]
Merge "Make STREAM_TO_UINT64 globally available"
am: 4a31432f8b

Change-Id: Ib1d680b37168d12283fbd5106fd22e9875692805

6 years agoMerge "Add btif_config_(get/set)_uint64" am: 22e48923d4
Jakub Pawlowski [Fri, 16 Feb 2018 05:51:49 +0000 (05:51 +0000)]
Merge "Add btif_config_(get/set)_uint64" am: 22e48923d4
am: 487f39bf51

Change-Id: Ia96362d85d9215fe7ececee842748565f5096aad

6 years agoReduce spammy error log in gatt_attr.cc, plus minor logging improvements am: ae2104f6ac
Jakub Pawlowski [Fri, 16 Feb 2018 05:50:17 +0000 (05:50 +0000)]
Reduce spammy error log in gatt_attr.cc, plus minor logging improvements am: ae2104f6ac
am: c4b0f9082c

Change-Id: Ia9bc85c27634bc1968bba8cae983babceb5f234f

6 years agoMerge "Make STREAM_TO_UINT64 globally available"
Treehugger Robot [Fri, 16 Feb 2018 05:49:15 +0000 (05:49 +0000)]
Merge "Make STREAM_TO_UINT64 globally available"

6 years agoMerge "Add btif_config_(get/set)_uint64"
Jakub Pawlowski [Fri, 16 Feb 2018 05:37:54 +0000 (05:37 +0000)]
Merge "Add btif_config_(get/set)_uint64"
am: 22e48923d4

Change-Id: Ieb06347f92ab27708bfa0c96532af337773c59f2

6 years agoReduce spammy error log in gatt_attr.cc, plus minor logging improvements
Jakub Pawlowski [Fri, 16 Feb 2018 05:36:28 +0000 (05:36 +0000)]
Reduce spammy error log in gatt_attr.cc, plus minor logging improvements
am: ae2104f6ac

Change-Id: I169e0ae61b33d6062adb8c045779e9d53a9a2549

6 years agoMerge "Add btif_config_(get/set)_uint64"
Treehugger Robot [Fri, 16 Feb 2018 04:49:38 +0000 (04:49 +0000)]
Merge "Add btif_config_(get/set)_uint64"

6 years agoAdd btif_config_(get/set)_uint64
Jakub Pawlowski [Thu, 15 Feb 2018 18:09:03 +0000 (10:09 -0800)]
Add btif_config_(get/set)_uint64

Bug: 69623109
Test: added ConfigTest.config_get_uint64
Change-Id: Id2285a6f961f72d28912defad66663ddd05fb741

6 years agoReduce spammy error log in gatt_attr.cc, plus minor logging improvements
Jakub Pawlowski [Thu, 15 Feb 2018 23:38:39 +0000 (15:38 -0800)]
Reduce spammy error log in gatt_attr.cc, plus minor logging improvements

Test: compilation, observe colored log output on startup
Change-Id: I6671f5a900f15a57cc9b38b01aaec296002ad233

6 years agoMake STREAM_TO_UINT64 globally available
Jakub Pawlowski [Thu, 15 Feb 2018 18:18:29 +0000 (10:18 -0800)]
Make STREAM_TO_UINT64 globally available

Bug: 69623109
Change-Id: I38958dc16d42ab2396d3acd7605b63ec6a6c2dd8

6 years agoMerge "Final IBluetoothHearingAid.aidl improvements" am: b053bd0bf6 am: fc4b95954b
Jakub Pawlowski [Thu, 15 Feb 2018 06:05:28 +0000 (06:05 +0000)]
Merge "Final IBluetoothHearingAid.aidl improvements" am: b053bd0bf6 am: fc4b95954b
am: de4f1d1be2

Change-Id: I179ec8672b4978253c8e1d44aa736a348ba1bf34

6 years agoMerge "Final IBluetoothHearingAid.aidl improvements" am: b053bd0bf6
Jakub Pawlowski [Thu, 15 Feb 2018 05:45:25 +0000 (05:45 +0000)]
Merge "Final IBluetoothHearingAid.aidl improvements" am: b053bd0bf6
am: fc4b95954b

Change-Id: Ib7f72a28b0a21ef698a6a6b0526dbca938c1b063

6 years agoMerge "Final IBluetoothHearingAid.aidl improvements"
Jakub Pawlowski [Thu, 15 Feb 2018 05:34:25 +0000 (05:34 +0000)]
Merge "Final IBluetoothHearingAid.aidl improvements"
am: b053bd0bf6

Change-Id: I340b14e68ccc28eca81527d8985cc4411c6c93ea

6 years agoMerge "Final IBluetoothHearingAid.aidl improvements"
Treehugger Robot [Thu, 15 Feb 2018 04:14:43 +0000 (04:14 +0000)]
Merge "Final IBluetoothHearingAid.aidl improvements"

6 years agoFinal IBluetoothHearingAid.aidl improvements
Jakub Pawlowski [Wed, 14 Feb 2018 22:04:56 +0000 (14:04 -0800)]
Final IBluetoothHearingAid.aidl improvements

Use HiSyncId instead of CustomerId for unique hearing aid id, use proper
data type for it (64bit).
Make setVolume, adjustVolume return void, like for AVRCP.

Bug: 69623109
Test: compliance with the spec
Change-Id: I5fd51514793052d4ee2c3f9029eb75491145cc25

6 years agoRemove A2DP Source/Sink startup calls during A2DP initialization am: 83255478b0 am...
Pavlin Radoslavov [Wed, 14 Feb 2018 21:47:36 +0000 (21:47 +0000)]
Remove A2DP Source/Sink startup calls during A2DP initialization am: 83255478b0 am: c8141340f4
am: 6901661779

Change-Id: I1bae821b4ca0c87a6a25f07ba8032abeb66c0bee

6 years agoRemove A2DP Source/Sink startup calls during A2DP initialization am: 83255478b0
Pavlin Radoslavov [Wed, 14 Feb 2018 21:27:23 +0000 (21:27 +0000)]
Remove A2DP Source/Sink startup calls during A2DP initialization am: 83255478b0
am: c8141340f4

Change-Id: Ie28a387e434b97d0a0bb28a430fd19f87c9a0311

6 years agoRemove A2DP Source/Sink startup calls during A2DP initialization
Pavlin Radoslavov [Wed, 14 Feb 2018 21:16:25 +0000 (21:16 +0000)]
Remove A2DP Source/Sink startup calls during A2DP initialization
am: 83255478b0

Change-Id: Ifa26a3efcbca74cdfe187e27871dc2123adfaa31

6 years agoRemove A2DP Source/Sink startup calls during A2DP initialization
Pavlin Radoslavov [Wed, 14 Feb 2018 18:26:13 +0000 (10:26 -0800)]
Remove A2DP Source/Sink startup calls during A2DP initialization

Don't call btif_a2dp_source_startup() / btif_a2dp_sink_startup()
inside BtifAvSource::Init() / BtifAvSink::Init() .
Those calls are already happening at the right time later during
BtifAvSource::SetActivePeer() / BtifAvSink::SetActivePeer()

Bug: 72701090
Test: Manual with multiple headsets
Change-Id: I634a2c90a7758891565c97e86b83335608ffab69

6 years agoUse correct call btif_a2dp_sink_startup() for Sink peers am: b600f6b6fc am: da75246960
Pavlin Radoslavov [Wed, 14 Feb 2018 14:37:25 +0000 (14:37 +0000)]
Use correct call btif_a2dp_sink_startup() for Sink peers am: b600f6b6fc am: da75246960
am: 7922095fd4

Change-Id: I8e6631991d09ed78f4649990acbb6b9654540af5

6 years agoUse correct call btif_a2dp_sink_startup() for Sink peers am: b600f6b6fc
Pavlin Radoslavov [Wed, 14 Feb 2018 14:30:45 +0000 (14:30 +0000)]
Use correct call btif_a2dp_sink_startup() for Sink peers am: b600f6b6fc
am: da75246960

Change-Id: If01b09cefeb60088c114c54b3e5bbe13a930adc0

6 years agoUse correct call btif_a2dp_sink_startup() for Sink peers
Pavlin Radoslavov [Wed, 14 Feb 2018 14:24:55 +0000 (14:24 +0000)]
Use correct call btif_a2dp_sink_startup() for Sink peers
am: b600f6b6fc

Change-Id: Ifaa3f3cb8c519999cf08273205dccc579f825157

6 years agoUse correct call btif_a2dp_sink_startup() for Sink peers
Pavlin Radoslavov [Wed, 14 Feb 2018 12:12:54 +0000 (04:12 -0800)]
Use correct call btif_a2dp_sink_startup() for Sink peers

Replaced an incorrect call to btif_a2dp_source_startup() with
btif_a2dp_sink_startup() inside BtifAvSink::SetActivePeer()

Also, minor cleanup: fix log messages, add missing description for
some of the methods.

Bug: 72701090
Test: Manual with Headet
Change-Id: I0620833b02bd9012fea63ce2ce5e3c4c74d27bf7

6 years agoA2DP: Cleanup UIPC when no active device am: f88552cdd8 am: 30ba0e2a63
Hansong Zhang [Wed, 14 Feb 2018 07:25:41 +0000 (07:25 +0000)]
A2DP: Cleanup UIPC when no active device am: f88552cdd8 am: 30ba0e2a63
am: 524f219ae7

Change-Id: Ifffeb1c93915dd77f2a6a529d92e80dc457a4ab8

6 years agoA2DP: Cleanup UIPC when no active device am: f88552cdd8
Hansong Zhang [Wed, 14 Feb 2018 07:20:40 +0000 (07:20 +0000)]
A2DP: Cleanup UIPC when no active device am: f88552cdd8
am: 30ba0e2a63

Change-Id: I10915a33d3fa24d831727641ff449c37161b60ba

6 years agoA2DP: Cleanup UIPC when no active device
Hansong Zhang [Wed, 14 Feb 2018 07:15:46 +0000 (07:15 +0000)]
A2DP: Cleanup UIPC when no active device
am: f88552cdd8

Change-Id: If29bd610e0d1d9c63e1337363b33e8f1160b2ccb

6 years agoA2DP: Cleanup UIPC when no active device
Hansong Zhang [Fri, 2 Feb 2018 02:02:53 +0000 (18:02 -0800)]
A2DP: Cleanup UIPC when no active device

* Modified UIPC to support multiple users
* A2DP now calls UIPC_Close() when it has no active device, and calls
  UIPC_Init() when it has an active device

Bug: 72701090
Test: Carkits with A2DP
Change-Id: Ic1b4b1be2aa01c9896883e3cb2a668d7a43316f9

6 years agoMerge "Add AVRCP Browse packets to the completed packets." am: 37a143f49a am: 2c13d1acbf
Ajay Panicker [Wed, 14 Feb 2018 04:09:31 +0000 (04:09 +0000)]
Merge "Add AVRCP Browse packets to the completed packets." am: 37a143f49a am: 2c13d1acbf
am: c9677eb84a

Change-Id: I1a246041fb634dd3252c2bed8a4cce8aebda2c8c

6 years agoMerge "Add AVRCP Browse packets to the completed packets." am: 37a143f49a
Ajay Panicker [Wed, 14 Feb 2018 04:05:01 +0000 (04:05 +0000)]
Merge "Add AVRCP Browse packets to the completed packets." am: 37a143f49a
am: 2c13d1acbf

Change-Id: Ieff284b9657caac09f2bb2819439c5329663ebd5

6 years agoMerge "Add AVRCP Browse packets to the completed packets."
Ajay Panicker [Wed, 14 Feb 2018 04:00:26 +0000 (04:00 +0000)]
Merge "Add AVRCP Browse packets to the completed packets."
am: 37a143f49a

Change-Id: Idcfb9df419b035f7f4a7fe335b4a97bab00db29a

6 years agoMerge "Add AVRCP Browse packets to the completed packets."
Treehugger Robot [Wed, 14 Feb 2018 03:48:51 +0000 (03:48 +0000)]
Merge "Add AVRCP Browse packets to the completed packets."

6 years agoMerge "btif: Remove unused synchronization in event_cleanup_stack" am: 001f5a00b2...
Manu Viswanadhan [Wed, 14 Feb 2018 03:27:24 +0000 (03:27 +0000)]
Merge "btif: Remove unused synchronization in event_cleanup_stack" am: 001f5a00b2 am: 38c8af1a50
am: e7ae22d3a0

Change-Id: I02743ad546d821e3441fa38bca16eaf3b924d2f6

6 years agoMerge "btif: Remove unused synchronization in event_cleanup_stack" am: 001f5a00b2
Manu Viswanadhan [Wed, 14 Feb 2018 03:18:23 +0000 (03:18 +0000)]
Merge "btif: Remove unused synchronization in event_cleanup_stack" am: 001f5a00b2
am: 38c8af1a50

Change-Id: I4a2e4adaecaefcbd871c1a4050fb0ca3075c3969

6 years agoMerge "btif: Remove unused synchronization in event_cleanup_stack"
Manu Viswanadhan [Wed, 14 Feb 2018 03:13:52 +0000 (03:13 +0000)]
Merge "btif: Remove unused synchronization in event_cleanup_stack"
am: 001f5a00b2

Change-Id: I05c6256acc7d5da4cede7bd20fcc0b8e4ff11837

6 years agoMerge "btif: Remove unused synchronization in event_cleanup_stack"
Treehugger Robot [Wed, 14 Feb 2018 03:06:38 +0000 (03:06 +0000)]
Merge "btif: Remove unused synchronization in event_cleanup_stack"

6 years agoMerge "IBluetoothHearingAid.aidl" am: 03fa65fc71 am: 535d9fe15f
Jakub Pawlowski [Wed, 14 Feb 2018 02:38:33 +0000 (02:38 +0000)]
Merge "IBluetoothHearingAid.aidl" am: 03fa65fc71 am: 535d9fe15f
am: e14f627e6f

Change-Id: I1676e03eef029a76ead0e7a6f7412e3c65311ff8

6 years agoMerge "IBluetoothHearingAid.aidl" am: 03fa65fc71
Jakub Pawlowski [Wed, 14 Feb 2018 02:33:59 +0000 (02:33 +0000)]
Merge "IBluetoothHearingAid.aidl" am: 03fa65fc71
am: 535d9fe15f

Change-Id: Id6dd6192f0ce5cfcb9382527add7c6db621c5e0b

6 years agoMerge "IBluetoothHearingAid.aidl"
Jakub Pawlowski [Wed, 14 Feb 2018 02:27:25 +0000 (02:27 +0000)]
Merge "IBluetoothHearingAid.aidl"
am: 03fa65fc71

Change-Id: Id8bacf4d75ba1b27f1f496bda7095bb75bcb5192

6 years agoMerge "IBluetoothHearingAid.aidl"
Treehugger Robot [Wed, 14 Feb 2018 02:13:41 +0000 (02:13 +0000)]
Merge "IBluetoothHearingAid.aidl"

6 years agoMerge "Adjust buffer length to fit in sdp_copy_raw_data()" am: 29cb0b048b am: 7ed5cf95a3
Venkata Jagadeesh Garaga [Wed, 14 Feb 2018 01:42:59 +0000 (01:42 +0000)]
Merge "Adjust buffer length to fit in sdp_copy_raw_data()" am: 29cb0b048b am: 7ed5cf95a3
am: 0c4e407720

Change-Id: I223bcb2bacab82e68f7d0b083e4d826f22a9e09c

6 years agoFactor out libchrome_support_defaults am: 65d24fb451 am: d5d3276119
Myles Watson [Wed, 14 Feb 2018 01:40:27 +0000 (01:40 +0000)]
Factor out libchrome_support_defaults am: 65d24fb451 am: d5d3276119
am: 1512811b2e

Change-Id: I6de6c2c292f028749cf0f1b09ac0bc0fe335957c

6 years agoMerge "Adjust buffer length to fit in sdp_copy_raw_data()" am: 29cb0b048b
Venkata Jagadeesh Garaga [Wed, 14 Feb 2018 01:38:02 +0000 (01:38 +0000)]
Merge "Adjust buffer length to fit in sdp_copy_raw_data()" am: 29cb0b048b
am: 7ed5cf95a3

Change-Id: I71ae296b8d3fd0eb6ed7d76440e49a1040282f82

6 years agoMerge "Adjust buffer length to fit in sdp_copy_raw_data()"
Venkata Jagadeesh Garaga [Wed, 14 Feb 2018 01:33:58 +0000 (01:33 +0000)]
Merge "Adjust buffer length to fit in sdp_copy_raw_data()"
am: 29cb0b048b

Change-Id: Ia41425df56765dd9562f7ba65720751fd705dfc8

6 years agoAdd AVRCP Browse packets to the completed packets.
Ajay Panicker [Tue, 30 Jan 2018 18:36:45 +0000 (10:36 -0800)]
Add AVRCP Browse packets to the completed packets.

Also add class representations for the following packet types:
  AVRCP Browse Packet
    AVRCP Change Path
    AVRCP Get Folder Items
    AVRCP Get Item Attributes
    AVRCP Set Browsed Player
    AVRCP Get Total Number of Items
    AVRCP Play Item

Bug: 68854188
Test: run host native test net_test_packets
Change-Id: I0bc682b11ec9181cfe1ed92678bb869ff3ef5740

6 years agoFactor out libchrome_support_defaults am: 65d24fb451
Myles Watson [Wed, 14 Feb 2018 01:22:19 +0000 (01:22 +0000)]
Factor out libchrome_support_defaults am: 65d24fb451
am: d5d3276119

Change-Id: Ib4382f16a63d8df2f3741efcf625707326c52eed

6 years agoMerge "Adjust buffer length to fit in sdp_copy_raw_data()"
Treehugger Robot [Wed, 14 Feb 2018 01:20:48 +0000 (01:20 +0000)]
Merge "Adjust buffer length to fit in sdp_copy_raw_data()"

6 years agoFactor out libchrome_support_defaults
Myles Watson [Wed, 14 Feb 2018 01:10:32 +0000 (01:10 +0000)]
Factor out libchrome_support_defaults
am: 65d24fb451

Change-Id: I392d30ac3ee7fb85e4121600b351971da6888508

6 years agobtif: Remove unused synchronization in event_cleanup_stack
Manu Viswanadhan [Fri, 14 Oct 2016 11:35:35 +0000 (17:05 +0530)]
btif: Remove unused synchronization in event_cleanup_stack

Use Case: Repeated BT ON/OFF

Failure: FD leak is observed with ON/OFF stress test
which eventually leads to crash due to unavailability
of FDs.

Steps:
BT ON/OFF

Root Cause: During stack cleanup an unused future
structure is created which is not freed, leading to FD
leak.

Fix: Remove the creation of the future structure

Test: BT ON/OFF
Fixes: 36019324
Change-Id: Id5945da87f00eb7ab77a5f217c95cc43f0136e06

6 years agoIBluetoothHearingAid.aidl
Jakub Pawlowski [Tue, 13 Feb 2018 18:12:00 +0000 (10:12 -0800)]
IBluetoothHearingAid.aidl

Bug: 69623109
Test: Spec was reviewed, tests will be included with client/server implementation
Change-Id: I8c972ac0e4aa908a14893c957ae07dd2244abbfe

6 years agoAdjust buffer length to fit in sdp_copy_raw_data()
Venkata Jagadeesh Garaga [Thu, 15 Sep 2016 10:21:40 +0000 (15:51 +0530)]
Adjust buffer length to fit in sdp_copy_raw_data()

Align copy length with source buffer offset so that copy length will be
in boundary of the allocated buffer size

Test: Manual tested with DECK speaker.
Fixes: 35864526
Change-Id: If1a49e46e2948346226fbc96d7c2b56244cd60cc

6 years agoFactor out libchrome_support_defaults
Myles Watson [Tue, 13 Feb 2018 18:33:54 +0000 (10:33 -0800)]
Factor out libchrome_support_defaults

Disable Mac support for host binaries in one place, since
the dependency is based on libchrome support.

Test: build
Change-Id: I6641e18deffdff5205da181ad97e8b2892073a8f

6 years agoMerge "Remove libbluetooth-system requirement." am: a45d385323 am: 98e1bbfd7b
Steven Moreland [Tue, 13 Feb 2018 18:12:09 +0000 (18:12 +0000)]
Merge "Remove libbluetooth-system requirement." am: a45d385323 am: 98e1bbfd7b
am: 2cc4631704

Change-Id: I2b8e76dec42268fdb1125dc43bc0b69a90a9fd6d

6 years agoMerge "Remove libbluetooth-system requirement." am: a45d385323
Steven Moreland [Tue, 13 Feb 2018 17:59:00 +0000 (17:59 +0000)]
Merge "Remove libbluetooth-system requirement." am: a45d385323
am: 98e1bbfd7b

Change-Id: I724a36b08bf6e930f302699ea06164f1e3d1cd99

6 years agoMerge "Remove libbluetooth-system requirement."
Steven Moreland [Tue, 13 Feb 2018 17:49:49 +0000 (17:49 +0000)]
Merge "Remove libbluetooth-system requirement."
am: a45d385323

Change-Id: I7e93d58e493338a6bbd01d68ad5c9aedd05107c9

6 years agoMerge "Remove libbluetooth-system requirement."
Treehugger Robot [Tue, 13 Feb 2018 17:34:05 +0000 (17:34 +0000)]
Merge "Remove libbluetooth-system requirement."

6 years agoAdd more details in native Bluetooth debug logs am: 273ffd858e am: 298fad79cb
Stanley Tng [Tue, 13 Feb 2018 17:09:33 +0000 (17:09 +0000)]
Add more details in native Bluetooth debug logs am: 273ffd858e am: 298fad79cb
am: 69e0ea1c45

Change-Id: I2429f271f9a089383500784127bfd090dc8f5211

6 years agoMake loghex properly count numer length am: 78b3e7b303 am: d57df97f06
Jakub Pawlowski [Tue, 13 Feb 2018 17:09:20 +0000 (17:09 +0000)]
Make loghex properly count numer length am: 78b3e7b303 am: d57df97f06
am: 1e46a2d30f

Change-Id: I5ba75ba6ab59c514428bff23100f45a6de385496

6 years agoAdd more details in native Bluetooth debug logs am: 273ffd858e
Stanley Tng [Tue, 13 Feb 2018 17:02:11 +0000 (17:02 +0000)]
Add more details in native Bluetooth debug logs am: 273ffd858e
am: 298fad79cb

Change-Id: Ibb483232cfdd38c6bd925f15a7bd3200298192e8

6 years agoMake loghex properly count numer length am: 78b3e7b303
Jakub Pawlowski [Tue, 13 Feb 2018 17:01:53 +0000 (17:01 +0000)]
Make loghex properly count numer length am: 78b3e7b303
am: d57df97f06

Change-Id: Id7f019db127c3044bdad9cf26cec5dd5f0d3d1c7

6 years agoAdd more details in native Bluetooth debug logs
Stanley Tng [Tue, 13 Feb 2018 16:54:26 +0000 (16:54 +0000)]
Add more details in native Bluetooth debug logs
am: 273ffd858e

Change-Id: I3a1ab4082b78e319ed71468ce655afffc9123e0e

6 years agoMake loghex properly count numer length
Jakub Pawlowski [Tue, 13 Feb 2018 16:54:20 +0000 (16:54 +0000)]
Make loghex properly count numer length
am: 78b3e7b303

Change-Id: I303112998d7629c8a26a698c548b80bad58157fd

6 years agoAdd more details in native Bluetooth debug logs
Stanley Tng [Thu, 8 Feb 2018 20:26:51 +0000 (12:26 -0800)]
Add more details in native Bluetooth debug logs

As part of debugging a security/pairing issue, these logs are modified
to give better debug information.

Test: compiled
Bug: 71364658
Change-Id: I742cc7dda0afc6350e881c22d03bdc1c69d37d88

6 years agoMake loghex properly count numer length
Jakub Pawlowski [Mon, 12 Feb 2018 21:18:33 +0000 (13:18 -0800)]
Make loghex properly count numer length

Test: manual logs observation
Change-Id: I7ea8d4afa5ea980f11067a8dd920a1735cf28993

6 years ago[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response...
Ajay Panicker [Tue, 13 Feb 2018 06:40:08 +0000 (06:40 +0000)]
[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response am: 8a6fb36884 am: d4b8f56f02 am: bde10cf7d9 am: 3fa6938ad7 skipped: 99b48162a3 am: ba32c74024 am: 7dd32564e9 am: 89b3793cb5
am: 6d9ff3f4c1  -s ours

Change-Id: I057f5e6e77ca9710c9eecfb27273cd992d2bbf6c

6 years ago[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response...
Ajay Panicker [Tue, 13 Feb 2018 01:00:11 +0000 (01:00 +0000)]
[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response am: 8a6fb36884 am: d4b8f56f02 am: bde10cf7d9 am: 3fa6938ad7 skipped: 99b48162a3 am: ba32c74024 am: 7dd32564e9
am: 89b3793cb5

Change-Id: Ide217eaca2bf4b37ee94f793100b31cf381e27f2

6 years ago[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response...
Ajay Panicker [Tue, 13 Feb 2018 00:52:17 +0000 (00:52 +0000)]
[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response am: 8a6fb36884 am: d4b8f56f02 am: bde10cf7d9 am: 3fa6938ad7 skipped: 99b48162a3 am: ba32c74024
am: 7dd32564e9

Change-Id: I97f21e6c5e4a15ec8c0e630661a2166e07e2056c

6 years ago[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response...
Ajay Panicker [Tue, 13 Feb 2018 00:45:03 +0000 (00:45 +0000)]
[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response am: 8a6fb36884 am: d4b8f56f02 am: bde10cf7d9 am: 3fa6938ad7 skipped: 99b48162a3
am: ba32c74024

Change-Id: I2d64b0ca170d70f194315ee831379477c809fe95

6 years agoRemove libbluetooth-system requirement.
Steven Moreland [Mon, 12 Feb 2018 22:40:07 +0000 (14:40 -0800)]
Remove libbluetooth-system requirement.

This module doesn't exist and it being missing was
silently ignored.

Bug: 7456955
Test: no longer receive an error for this.
Change-Id: Ib84b592d25e19b2c6b0d20466015553fe57f5bf8

6 years agoMerge "Merge "AVRCP: Check number of text attribute values in response" into oc-dev...
Ajay Panicker [Mon, 12 Feb 2018 21:03:17 +0000 (21:03 +0000)]
Merge "Merge "AVRCP: Check number of text attribute values in response" into oc-dev am: 49dd35ac08 am: fc2245221c am: 291f443dd2" into oc-mr1-dev-plus-aosp
am: 836b35890c

Change-Id: Idaf09a0154a3466a33491f095c309d7af85d2bae

6 years agoAVRCP: Don't fail in set_volume on disconnected devices am: a7b668b6bc am: 92814d4f56
Ajay Panicker [Mon, 12 Feb 2018 20:58:13 +0000 (20:58 +0000)]
AVRCP: Don't fail in set_volume on disconnected devices am: a7b668b6bc am: 92814d4f56
am: 67c83dece6

Change-Id: I660329f688b80226454908572210927b4c89021d

6 years ago[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response...
Android Build Merger (Role) [Mon, 12 Feb 2018 20:56:29 +0000 (20:56 +0000)]
[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response am: 8a6fb36884 am: d4b8f56f02 am: bde10cf7d9 am: 3fa6938ad7 skipped: 99b48162a3

Change-Id: I3a030575253b8e4ef8ce8fb9e8302c84584809f8

6 years ago[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response...
Android Build Merger (Role) [Mon, 12 Feb 2018 20:56:26 +0000 (20:56 +0000)]
[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response am: 8a6fb36884 am: d4b8f56f02 am: bde10cf7d9 am: 3fa6938ad7

Change-Id: I393094413a4eb635cd80aaa7b7dc74fac8e5dbc0

6 years ago[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response...
Android Build Merger (Role) [Mon, 12 Feb 2018 20:56:23 +0000 (20:56 +0000)]
[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response am: 8a6fb36884 am: d4b8f56f02 am: bde10cf7d9

Change-Id: Ic0722cf7a7ca48da60055a050fcb8f924fb18f13

6 years ago[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response...
Android Build Merger (Role) [Mon, 12 Feb 2018 20:56:20 +0000 (20:56 +0000)]
[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response am: 8a6fb36884 am: d4b8f56f02

Change-Id: I7d25a311a384582bbe03a7f6d7076ba07788b30a

6 years ago[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response...
Android Build Merger (Role) [Mon, 12 Feb 2018 20:56:17 +0000 (20:56 +0000)]
[automerger] DO NOT MERGE: AVRCP: Check number of text attribute values in response am: 8a6fb36884

Change-Id: I895844919dbff48a2290b717974cd76b58da541b

6 years agoDO NOT MERGE: AVRCP: Check number of text attribute values in response
Ajay Panicker [Fri, 2 Feb 2018 09:11:37 +0000 (01:11 -0800)]
DO NOT MERGE: AVRCP: Check number of text attribute values in response

Test: Build
Bug: 71603410
Change-Id: I6f822b0bc7fc2fb042a70b64cff61583a86b36e2

6 years agoMerge "Merge "AVRCP: Check number of text attribute values in response" into oc-dev...
Android Build Merger (Role) [Mon, 12 Feb 2018 20:33:42 +0000 (20:33 +0000)]
Merge "Merge "AVRCP: Check number of text attribute values in response" into oc-dev am: 49dd35ac08 am: fc2245221c am: 291f443dd2" into oc-mr1-dev-plus-aosp

6 years agoMerge "AVRCP: Check number of text attribute values in response" into oc-dev am:...
Ajay Panicker [Mon, 12 Feb 2018 20:33:36 +0000 (20:33 +0000)]
Merge "AVRCP: Check number of text attribute values in response" into oc-dev am: 49dd35ac08 am: fc2245221c
am: 291f443dd2

Change-Id: I0ade30fbef3343a07c30c8d0ea2be3f4b9fba41b

6 years agoAVRCP: Don't fail in set_volume on disconnected devices am: a7b668b6bc
Ajay Panicker [Mon, 12 Feb 2018 20:33:21 +0000 (20:33 +0000)]
AVRCP: Don't fail in set_volume on disconnected devices am: a7b668b6bc
am: 92814d4f56

Change-Id: If7e651626a929452c068f4cbf064f4f7e69c10ba

6 years agoMerge "AVRCP: Check number of text attribute values in response" into oc-dev am:...
Ajay Panicker [Mon, 12 Feb 2018 20:26:30 +0000 (20:26 +0000)]
Merge "AVRCP: Check number of text attribute values in response" into oc-dev am: 49dd35ac08
am: fc2245221c

Change-Id: I75217c8ffd406ba1660e3ddf7781b95a9f612167