summaryrefslogtreecommitdiff
path: root/android/tester-main.h
diff options
context:
space:
mode:
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>2014-10-29 14:13:31 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-10-29 14:39:52 +0200
commit3676ae7b92b0fe8231027d9e63f043a29a6d2f26 (patch)
tree372b18b0b53abcae40e77ca622e5764c2d64596a /android/tester-main.h
parent62f076f569941f9ae210cd20cbb1fb265506bd0f (diff)
downloadbluez-3676ae7b92b0fe8231027d9e63f043a29a6d2f26.tar.gz
android/tester: Add AVRCP RegNotifTrackChanged test case
Diffstat (limited to 'android/tester-main.h')
-rw-r--r--android/tester-main.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/android/tester-main.h b/android/tester-main.h
index 730150193..d46b2624d 100644
--- a/android/tester-main.h
+++ b/android/tester-main.h
@@ -404,6 +404,11 @@ struct pdu_set {
.callback_result.play_status = cb_status, \
}
+#define CALLBACK_RC_REG_NOTIF_TRACK_CHANGED(cb, cb_index) { \
+ .callback = cb, \
+ .callback_result.rc_index = cb_index, \
+ }
+
#define CALLBACK_DEVICE_PROPS(props, prop_cnt) \
CALLBACK_PROPS(CB_BT_REMOTE_DEVICE_PROPERTIES, props, prop_cnt)
@@ -477,6 +482,8 @@ typedef enum {
/* AVRCP */
CB_AVRCP_PLAY_STATUS_REQ,
CB_AVRCP_PLAY_STATUS_RSP,
+ CB_AVRCP_REG_NOTIF_REQ,
+ CB_AVRCP_REG_NOTIF_RSP,
/* Gatt client */
CB_GATTC_REGISTER_CLIENT,
@@ -658,6 +665,7 @@ struct bt_callback_data {
uint32_t song_length;
uint32_t song_position;
btrc_play_status_t play_status;
+ uint64_t rc_index;
};
/*