Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libhardware: Commit

hardware/libhardware


Commit MetaInfo

Revision5aa83c0c094a26e2a51baac56534d2f29cee4d34 (tree)
Time2017-05-25 06:50:03
AuthorJack He <siyuanh@goog...>
CommiterJack He

Log Message

MCAP: Add test interface ID (1/2)

* Some PTS tests requires protocols and profiles to be accessed at stack

API level

* This CL creates an ID for the MCAP protocol
* An application must be able to reference stack headers in order to use

such an interface

Bug: 37867299
Test: make, no user visible effect
Change-Id: Ice654321cdeb11f93b1c8fc4a0753fe86bd82a56
(cherry picked from commit 9213f5b0430b329461b8f52f06b0ea98b1ff737c)

Change Summary

Incremental Difference

--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -35,7 +35,7 @@ __BEGIN_DECLS
3535 #define BT_STACK_TEST_MODULE_ID "bluetooth_test"
3636
3737
38-/* Bluetooth profile interface IDs */
38+/** Bluetooth profile interface IDs */
3939
4040 #define BT_PROFILE_HANDSFREE_ID "handsfree"
4141 #define BT_PROFILE_HANDSFREE_CLIENT_ID "handsfree_client"
@@ -52,6 +52,9 @@ __BEGIN_DECLS
5252 #define BT_PROFILE_AV_RC_ID "avrcp"
5353 #define BT_PROFILE_AV_RC_CTRL_ID "avrcp_ctrl"
5454
55+/** Bluetooth test interface IDs */
56+#define BT_TEST_INTERFACE_MCAP_ID "mcap_test"
57+
5558 /** Bluetooth Address */
5659 typedef struct {
5760 uint8_t address[6];
Show on old repository browser