OSDN Git Service

Add respond Reject with Invalid parameter for Unknown Capability ID
authortedwang <tedwang@google.com>
Wed, 9 May 2018 06:28:04 +0000 (14:28 +0800)
committerHansong Zhang <hsz@google.com>
Tue, 15 May 2018 20:23:29 +0000 (13:23 -0700)
commitbf514e3954ce1d7970a9a952cf8a5754337695a4
tree12d016400e9226f1c6370e1607d3e72c7c1cdad4
parent3103d311f4c6f022d83302d5c9cb8abf4cbc2e34
Add respond Reject with Invalid parameter for Unknown Capability ID

Add handle Get Capabilities with Unknown Capability ID and unit test
for this.

Bug: 79269978
Test: Run host native test net_test_avrcp
Change-Id: I2cb606bcb6462190354bb471577d9383e43649c1
(cherry picked from commit 5e872794641b89b63176befdb04865d5acf14aa3)
packet/tests/avrcp/avrcp_test_packets.h
profile/avrcp/device.cc
profile/avrcp/device.h
profile/avrcp/tests/avrcp_device_test.cc