summaryrefslogtreecommitdiff
path: root/android/tester-main.h
diff options
context:
space:
mode:
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>2014-12-02 11:53:12 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-12-03 13:59:13 +0200
commitbd2bacfbd7867afdc745d7bf05cd4e93f329f4a7 (patch)
tree7b983ee1c940d24c99e08758220b11751182bfae /android/tester-main.h
parente31999cd81bc7bfc042413f151895820d711f6eb (diff)
downloadbluez-bd2bacfbd7867afdc745d7bf05cd4e93f329f4a7.tar.gz
android/tester: Add AVRCP RegNotifPlayPositionChanged test case
Diffstat (limited to 'android/tester-main.h')
-rw-r--r--android/tester-main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/tester-main.h b/android/tester-main.h
index ac310a343..1a779a2f0 100644
--- a/android/tester-main.h
+++ b/android/tester-main.h
@@ -409,6 +409,11 @@ struct pdu_set {
.callback_result.rc_index = cb_index, \
}
+#define CALLBACK_RC_REG_NOTIF_POSITION_CHANGED(cb, cb_position) { \
+ .callback = cb, \
+ .callback_result.song_position = cb_position, \
+ }
+
#define CALLBACK_RC_GET_ELEMENT_ATTRIBUTES(cb, cb_num_of_attrs, cb_attrs) { \
.callback = cb, \
.callback_result.num_of_attrs = cb_num_of_attrs, \