Andrei Emeltchenko
06f1d1ffe7
unit/avrcp: Add /TP/BGN/BV-02-I TG test
...
Test verifies that the Target responds to Prev Group command.
2014-03-13 13:07:44 +02:00
Andrei Emeltchenko
53a2d6dc8f
unit/avrcp: Add /TP/BGN/BV-01-I TG test
...
Test verifies that the Target responds to Next Group command.
2014-03-13 13:07:44 +02:00
Andrei Emeltchenko
8f87093398
unit/avrcp: Add /TP/BGN/BV-02-I test
...
Test verifies that the Controller can send Prev Group command to the
Target.
2014-03-13 13:07:44 +02:00
Andrei Emeltchenko
3892291b9b
unit/avrcp: Add /TP/BGN/BV-01-I test
...
Test verifies that the Controller can send Next Group command to the
Target.
2014-03-13 13:07:44 +02:00
Luiz Augusto von Dentz
1c3adb4d54
unit/test-avrcp: Fix code style
2014-03-11 16:25:04 +02:00
Andrei Emeltchenko
8538a005b2
unit/avrcp: Add /TP/INV/BI-01-C test
...
Test verifies that AVRCP_STATUS_INVALID_COMMAND returned when received
command with Invalid PDU ID.
2014-03-11 16:04:30 +02:00
Andrei Emeltchenko
8205b197ca
unit/avrcp: Add /TP/NFY/BI-01-C test
...
Test verifies that Target returns error on register for invalid event.
2014-03-11 16:04:30 +02:00
Andrei Emeltchenko
3ca5b554bc
unit/avrcp: Add /TP/NFY/BV-08-C test
...
Test verifies that Target issued Track Changed INTERIM response when
the track is SELECTED.
2014-03-11 16:04:30 +02:00
Andrei Emeltchenko
0cc7eaa26f
unit/avrcp: Add /TP/NFY/BV-05-C test.
...
Test verifies Register notification - Track Changed - Track Playing.
2014-03-11 16:04:30 +02:00
Andrei Emeltchenko
531e1215f4
unit/avrcp: Pass context to control handlers
2014-03-11 16:04:30 +02:00
Andrei Emeltchenko
c9ef76180a
unit/avrcp: Add /TP/NFY/BV-04-C test
...
Test verifies that Target responds to Register notification - Track
Changed - No Selected Track.
2014-03-10 14:38:59 +02:00
Andrei Emeltchenko
d4714aefba
unit/avrcp: Add /TP/NFY/BV-03-C test
...
Test verifies that Target responds Register notification command with
parameter AVRCP_EVENT_SETTINGS_CHANGED.
2014-03-10 14:38:59 +02:00
Andrei Emeltchenko
83c93e43df
unit/avrcp: Add /TP/NFY/BV-02-C test
...
Test verifies that Target responds to Register notification command.
2014-03-10 14:38:59 +02:00
Andrei Emeltchenko
00506183ab
unit/avrcp: Add /TP/NFY/BV-01-C test
...
Test verifies that Register notification command is issued by
Controller.
2014-03-10 14:20:51 +02:00
Andrei Emeltchenko
d96ac028d5
unit/avrcp: Add /TP/MDI/BV-05-C test
...
Test verifies that Target responds to Get element attributes cmd.
2014-03-10 14:20:51 +02:00
Andrei Emeltchenko
159b0a82e0
unit/avrcp: Add /TP/MDI/BV-04-C test
...
Test verifies Get element attributes responded by Target.
2014-03-10 14:20:51 +02:00
Andrei Emeltchenko
b9128441c0
unit/avrcp: Add /TP/MDI/BV-03-C test
...
Test verifies that Get element attributes issued correctly.
2014-03-10 14:20:51 +02:00
Andrei Emeltchenko
c983fb6ff4
unit/avrcp: Add /TP/MDI/BV-01-C test
...
Test verifies Get play status.
2014-03-10 14:20:51 +02:00
Andrei Emeltchenko
9ed3273f29
unit/avrcp: Add /TP/MDI/BV-01-C test
...
Test verifies Get play status command.
2014-03-06 17:36:10 +02:00
Andrei Emeltchenko
d7cb520773
unit/avrcp: Add /TP/PAS/BI-05-C test
...
Test verifies that Set player application setting value returns error on
invalid attribute value.
2014-03-06 17:36:10 +02:00
Andrei Emeltchenko
23f43b3e11
unit/avrcp: Add /TP/PAS/BI-04-C test
...
Test verifies that Get current player application setting value return
error when given invalid attribute id.
2014-03-06 17:36:10 +02:00
Andrei Emeltchenko
950304c930
unit/avrcp: Add /TP/PAS/BI-03-C test
...
Test verifies thst Get player application setting value text returns
error for invalid attribute value.
2014-03-06 17:36:10 +02:00
Andrei Emeltchenko
27b7c838a8
unit/avrcp: Add attributes and value check
...
Adds check to get_player_value_text() and update test case.
2014-03-06 17:36:10 +02:00
Andrei Emeltchenko
7c93a77bc5
unit/avrcp: Add /TP/PAS/BI-02-C test
...
Test verifies that List player application setting values returns error
when invalid attribute id is provided.
2014-03-06 17:36:10 +02:00
Andrei Emeltchenko
f3b0143d4a
unit/avrcp: Add attributes check in list_player_vals()
...
Add check and fix test case since it was testing that response is
received but attribute 0 is illegal one.
2014-03-06 17:36:10 +02:00
Andrei Emeltchenko
6378cfeec8
unit/avrcp: Refactor check attributes code
...
Make check_attributes() function which would handle attributes check.
2014-03-06 17:14:48 +02:00
Andrei Emeltchenko
028eb517fe
unit/avrcp: Add /TP/PAS/BI-01-C test
...
Test verifies that Get player app setting attribute text returns error
given invalid attribute id.
2014-03-05 10:28:36 +02:00
Andrei Emeltchenko
d73a0523e8
unit/avrcp: Add /TP/PAS/BV-11-C test
...
Test verifies that the set player application setting value command
issued from the Controller.
2014-03-05 10:28:36 +02:00
Andrei Emeltchenko
efa5208a39
unit/avrcp: Add /TP/PAS/BV-10-C test
...
Test verifies that the get current player application setting value
response issued from the Target.
2014-03-05 10:28:36 +02:00
Andrei Emeltchenko
c2d03da325
unit/avrcp: Add /TP/PAS/BV-09-C test
...
Test verifies that get current player application setting value command
issued from the Controller.
2014-03-05 10:28:36 +02:00
Andrei Emeltchenko
9f45944326
unit/avrcp: Add /TP/PAS/BV-08-C test
...
Test verifies that the get player application setting values response
issued from the Target.
2014-03-05 10:28:36 +02:00
Andrei Emeltchenko
431c1de150
unit/avrcp: Add /TP/PAS/BV-06-C test
...
Test verifies that the list player application setting values response
issued from the Target.
2014-03-05 10:28:36 +02:00
Luiz Augusto von Dentz
44b0c9f1ed
android/avrcp-lib: Make IEEEID_BTSIG public
2014-03-04 11:32:43 +02:00
Luiz Augusto von Dentz
ccebe1ffa1
android/avrcp-lib: Make hton24 and ntoh24 public
...
This avoids duplicating those function everytime.
2014-03-04 11:32:43 +02:00
Luiz Augusto von Dentz
b82332a07a
android/avrcp-lib: Add pressed status to passthrough handler callback
...
This adds pressed status to passthrough handler callback which is
required by Android HAL for certain keys such as fast forward and rewind.
2014-03-04 11:32:43 +02:00
Luiz Augusto von Dentz
6727058328
android/avrcp-lib: Fix not passing user data of passthrough callback
2014-03-04 11:32:42 +02:00
Luiz Augusto von Dentz
9350da3d4d
android/avrcp-lib: Embed response code into handler table
...
This makes the handlers code simpler as they don't need to care about
the response or reject opcode.
2014-03-04 11:32:42 +02:00
Luiz Augusto von Dentz
024b631ad0
android/avrcp-lib: Rework handler callback parameters
...
This rework handler callback parameters to make it able to return
proper error such as -EAGAIN to implement asynchronous responses.
2014-03-04 11:32:42 +02:00
Marcel Holtmann
0cd7854e05
unit: Fix hton24 function for big endian platforms
2014-03-01 12:05:28 -08:00
Andrei Emeltchenko
725cdb53e6
unit/avrcp: Add /TP/PAS/BV-04-C test
...
Test verifies that the Get Player Application Setting Attribute Text
response issued from the Target.
2014-02-28 11:02:16 +02:00
Andrei Emeltchenko
a953350663
unit/avrcp: Add /TP/PAS/BV-03-C test
...
Test verifies that the get player application settings attribute text
command issued from the Controller.
2014-02-28 11:02:15 +02:00
Andrei Emeltchenko
7b74c8e50c
unit/avrcp: Add /TP/PAS/BV-02-C test
...
Test verifies that the List Player Application Setting Attributes
response issued from the Target.
2014-02-28 11:02:15 +02:00
Andrei Emeltchenko
d0ad4d5c68
unit/avrcp: Add /TP/PAS/BV-01-C test
...
Test verifies that the List Player Application Setting Attributes command
issued from the Controller.
2014-02-28 11:02:15 +02:00
Andrei Emeltchenko
4d016caa54
unit/avrcp: Add /TP/CFG/BI-01-C test
...
Test verifies the get capabilities response issued from the Target when
an invalid capability is requested (0x7f).
2014-02-28 11:02:15 +02:00
Andrei Emeltchenko
bd1e225c7e
unit/avrcp: Fix lengths byte order
...
params_len is passed as function argument and needs to be in host byte
order.
2014-02-28 11:02:15 +02:00
Andrei Emeltchenko
c1977e7f3c
android/avrcp: Refactor get_caps() to allow parameter
...
Allow passing parameter specifying capability ID.
2014-02-28 10:59:00 +02:00
Andrei Emeltchenko
0da74a1afc
unit/avrcp: Add /TP/CFG/BV-02-C test
...
Test verifies that the Target responds to Get Capability request.
2014-02-26 18:26:04 +01:00
Andrei Emeltchenko
1453f159f2
unit/avrcp: Add /TP/CFG/BV-01-C test
...
Test verifies that the get capabilities command issued from the
Controller.
2014-02-26 18:26:04 +01:00
Andrei Emeltchenko
012d1b3c56
unit/avrcp: Add /TP/PTT/BV-05-I test
...
Test verifies that the Target reacts to the PASS THROUGH command in
category 1 from the Controller. The command chosen is PLAY (0x44).
The PLAY button is being pressed and released.
2014-02-26 09:23:46 +01:00
Andrei Emeltchenko
62222acf9c
unit/avrcp: Add /TP/PTT/BV-04-I test
...
Test verifies that the Target reacts to the PASS THROUGH command in
category 4 from the Controller. The command chosen is SELECT.
2014-02-25 12:09:00 +01:00