OSDN Git Service

vc: Implement Volume Control Profile
authorŁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>
Fri, 29 Jan 2021 09:05:10 +0000 (09:05 +0000)
committerJakub Pawlowski <jpawlowski@google.com>
Wed, 7 Apr 2021 14:47:53 +0000 (14:47 +0000)
commit3578a9e80679af1d1ed849fb28dc500744c938d4
treecd3ed4e50cf87b7c5fbbdade8425fa2df189261a
parentc39bd0957dbd077a8f0d8395c9ffeabf5b23855e
 vc: Implement Volume Control Profile

 This implements basic version of VCP which allows to control Volume
 Control Service on ther remote side.

 This profile for expose only connect/disconnect/set volume

 Bug: 150670922
 Tag: #feature
 Test: atest --host bluetooth_test_vc
 Sponsor: jpawlowski@

Change-Id: Ie68c333ffece3958d68580fbfd3a86aec1186711
21 files changed:
bta/Android.bp
bta/include/bta_vc_api.h [new file with mode: 0644]
bta/test/common/bta_gatt_api_mock.cc [new file with mode: 0644]
bta/test/common/bta_gatt_api_mock.h [new file with mode: 0644]
bta/test/common/bta_gatt_queue_mock.cc [new file with mode: 0644]
bta/test/common/bta_gatt_queue_mock.h [new file with mode: 0644]
bta/test/common/btm_api_mock.cc [new file with mode: 0644]
bta/test/common/btm_api_mock.h [new file with mode: 0644]
bta/vc/device.cc [new file with mode: 0644]
bta/vc/devices.h [new file with mode: 0644]
bta/vc/devices_test.cc [new file with mode: 0644]
bta/vc/types.h [new file with mode: 0644]
bta/vc/vc.cc [new file with mode: 0644]
bta/vc/vc_test.cc [new file with mode: 0644]
btif/Android.bp
btif/BUILD.gn
btif/src/bluetooth.cc
btif/src/btif_dm.cc
btif/src/btif_vc.cc [new file with mode: 0644]
include/hardware/bluetooth.h
include/hardware/bt_vc.h [new file with mode: 0644]