| 9ed3273f |
unit/avrcp: Add /TP/MDI/BV-01-C test
Test verifies Get play status command. |
Andrei Emeltchenko |
11 years ago |
1 file, +11, -0 |
| e0497dd8 |
android/avrcp: Add avrcp_get_play_status() function |
Andrei Emeltchenko |
11 years ago |
2 files, +10, -0 |
| d7cb5207 |
unit/avrcp: Add /TP/PAS/BI-05-C test
Test verifies that Set player application setting value returns error on
invalid attribute value. |
Andrei Emeltchenko |
11 years ago |
1 file, +43, -0 |
| 23f43b3e |
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. |
Andrei Emeltchenko |
11 years ago |
1 file, +16, -0 |
| 950304c9 |
unit/avrcp: Add /TP/PAS/BI-03-C test
Test verifies thst Get player application setting value text returns
error for invalid attribute value. |
Andrei Emeltchenko |
11 years ago |
1 file, +14, -0 |
| 27b7c838 |
unit/avrcp: Add attributes and value check
Adds check to get_player_value_text() and update test case. |
Andrei Emeltchenko |
11 years ago |
1 file, +21, -3 |
| 7c93a77b |
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. |
Andrei Emeltchenko |
11 years ago |
1 file, +13, -0 |
| f3b0143d |
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. |
Andrei Emeltchenko |
11 years ago |
1 file, +6, -2 |
| 6378cfee |
unit/avrcp: Refactor check attributes code
Make check_attributes() function which would handle attributes check. |
Andrei Emeltchenko |
11 years ago |
1 file, +16, -8 |
| 05cb6b8d |
android/avrcp: Fix warnings when freeing avrcp_device struct
If the device does not yet have queue due to not have a session it cause
the following warnings when avrcp_device_free is called:
(bluetoothd:1102): GLib-CRITICAL **: g_queue_foreach: assertion 'queue != NULL' failed
(bluetoothd:1102): GLib-CRITICAL **: g_queue_free: assertion 'queue != NULL' failed |
Luiz Augusto von Dentz |
11 years ago |
1 file, +4, -2 |
| faeb9f0b |
android/arvrcp: Fix not parsing SDP record correctly |
Luiz Augusto von Dentz |
11 years ago |
1 file, +15, -7 |
| 0dad2408 |
android/client: Add AVRCP remote_features_cb support |
Luiz Augusto von Dentz |
11 years ago |
1 file, +10, -0 |
| af213840 |
android/avrcp: Add remote features notification |
Luiz Augusto von Dentz |
11 years ago |
1 file, +17, -0 |
| 663917ec |
core: Fix passing correct bdaddr_type parameter to set_paired |
Johan Hedberg |
11 years ago |
1 file, +8, -6 |
| 26ee9b86 |
bluetooth.conf: Add ObjectManager interface |
Claudio Takahasi |
11 years ago |
1 file, +1, -0 |
| 8359c49a |
test: Add registering external service
This patch extends gatt-service to call RegisterService() when org.bluez
service gets connected to the system bus. |
Claudio Takahasi |
11 years ago |
1 file, +67, -0 |
| c3fd22e8 |
test: Add signal handling for gatt-service
This patch implements signal handling to run cleanup tasks before
exiting. |
Claudio Takahasi |
11 years ago |
1 file, +79, -0 |
| 533e4559 |
test: Add external service GATT skeleton
This patch adds the initial code for an external GATT service example.
It implements the API defined at doc/gatt-api.txt |
Claudio Takahasi |
11 years ago |
3 files, +127, -0 |
| 55b3d19e |
gatt: Make RegisterService() async
GDBusProxy objects consistency should be checked, and attributes
declaration inserted in the local GATT database before replying
the caller. |
Claudio Takahasi |
11 years ago |
1 file, +22, -5 |
| 10d35109 |
gatt: Add GATT service to the local database
This patch creates GATT service attribute based on its GDBusProxy
object, and inserts the declaration to the local database. |
Claudio Takahasi |
11 years ago |
1 file, +53, -0 |
| 68daa422 |
gatt: Add proxy removed handler |
Claudio Takahasi |
11 years ago |
1 file, +15, -2 |
| 887b2bb2 |
gatt: Add proxy added handler
This patch creates a list of GATT objects sorting the entries based on
the object path to allow inserting the attributes following hierarchical
association. |
Claudio Takahasi |
11 years ago |
1 file, +44, -0 |
| 4a0cf85b |
gdbus: Add g_dbus_client_set_ready_watch()
This patch adds a new gdbus helper to notify the clients that
GetManagedObjects reply was received and the last proxy has been
informed previously by the proxy_added callback. |
Claudio Takahasi |
11 years ago |
2 files, +20, -1 |
| 636af9cf |
core: Fix length check for stored LTKs |
Johan Hedberg |
11 years ago |
1 file, +1, -1 |
| a19690da |
core: Drop 0x prefix from IRKs in storage |
Johan Hedberg |
11 years ago |
1 file, +8, -6 |
| 9c0eaeab |
core: Fix using correct 64-bit integer GKeyFile function |
Johan Hedberg |
11 years ago |
1 file, +1, -1 |
| fa6ab475 |
android/handsfree: Fix IPC response code for COPS response command |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 550123d5 |
android/bluetooth: Remove not used local variable |
Szymon Janc |
11 years ago |
1 file, +0, -2 |
| 07cba223 |
core: Fix link key storage value check |
Johan Hedberg |
11 years ago |
1 file, +1, -1 |
| 732d620f |
core: Fix not sending Paired property
device_set_paired was checking state->paired which is never set at that
point thus pending_paired will not be set either causing Paired property
to no be sent after services are discovered. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 007c7c8b |
core: Fix not passing correct argument to device_set_paired
device_set_paired now receives address type instead of boolean. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 061692d5 |
core: Store EDiv and Rand as logical integers
This patch acknowledges the endianess of ediv and rand as they are
received from the kernel and stores them as logical decimal integers in
storage. This involves converting to little endian before passing to the
kernel and from little endian after receiving from the kernel. |
Johan Hedberg |
11 years ago |
2 files, +23, -17 |
| 49e8b525 |
core: Drop 0x prefix from key values in storage
The 0x prefix gave the impression that the storage was representing the
logical 128-bit integer value of the key instead of the little endian
value that was actually being stored. This patch removes the prefix but
maintains backwards compatibility for reading old storage. |
Johan Hedberg |
11 years ago |
1 file, +14, -10 |
| e54de3e1 |
gitignore: Ignore Automake generated files for Android unit tests |
Szymon Janc |
11 years ago |
1 file, +2, -0 |
| 117b4bce |
doc: Add HFP Audio Gateway functionality test cases to coverage list |
Szymon Janc |
11 years ago |
1 file, +2, -1 |
| 3953744e |
shared/hfp: Don't try read uninitialized data in ringbuffer
Don't try to read uninitialized value if '\r' was not found.
This is call stack from test-hfp run with valgrind:
/hfp/test_fragmented_1: ==24869== Conditional jump or move depends on uninitialised value(s)
==24869== at 0x400A5E4: memchr (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==24869== by 0x804D24D: can_read_data (hfp.c:359)
==24869== by 0x804A6E2: read_callback (io-glib.c:168)
==24869== by 0x4108BFD5: ??? (in /usr/lib/libglib-2.0.so.0.3600.4)
==24869== by 0x410470E5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.4)
==24869== by 0x41047497: ??? (in /usr/lib/libglib-2.0.so.0.3600.4)
==24869== by 0x41047912: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.3600.4)
==24869== by 0x8049EE0: execute_context (test-hfp.c:186)
==24869== by 0x4106CBC1: ??? (in /usr/lib/libglib-2.0.so.0.3600.4)
==24869== by 0x4106CD5B: ??? (in /usr/lib/libglib-2.0.so.0.3600.4)
==24869== by 0x4106D0E0: g_test_run_suite (in /usr/lib/libglib-2.0.so.0.3600.4)
==24869== by 0x4106D13C: g_test_run (in /usr/lib/libglib-2.0.so.0.3600.4) |
Marcin Kraglak |
11 years ago |
1 file, +6, -0 |
| 88c18947 |
unit/test-hfp: Add /hfp/test_fragmented_1 |
Marcin Kraglak |
11 years ago |
1 file, +47, -0 |
| f2ef82bb |
unit/test-hfp: Add /hfp/test_register_5 |
Marcin Kraglak |
11 years ago |
1 file, +5, -0 |
| 65759704 |
unit/test-hfp: Add /hfp/test_register_4 |
Marcin Kraglak |
11 years ago |
1 file, +6, -0 |
| 7afbdd74 |
unit/test-hfp: Add /hfp/test_register_3 |
Marcin Kraglak |
11 years ago |
1 file, +5, -0 |
| aa8b53c8 |
unit/test-hfp: Add /hfp/test_register_2 |
Marcin Kraglak |
11 years ago |
1 file, +5, -0 |
| 199af772 |
unit/test-hfp: Add /hfp/test_register_1 |
Marcin Kraglak |
11 years ago |
1 file, +54, -0 |
| b2db172e |
unit/test-hfp: Add /hfp/test_cmd_handler_2 |
Marcin Kraglak |
11 years ago |
1 file, +4, -0 |
| 0a726b22 |
unit/test-hfp: Add /hfp/test_cmd_handler_1 |
Marcin Kraglak |
11 years ago |
1 file, +47, -0 |
| b60018b3 |
unit: Initial version of test-hfp
This is skeleton of hfp unit tests with basic init test
for hfp_gw_new().
Basic test with hfp_gw_new() and hfp_gw_unref. |
Marcin Kraglak |
11 years ago |
3 files, +186, -0 |
| 0facaa09 |
shared/hfp: Fix not freeing cmd_handler prefix
It should be freed while destroy. |
Marcin Kraglak |
11 years ago |
1 file, +2, -0 |
| c69ff8b4 |
android/pts: PAN PICS and PTS results
Adjusting some optional PICS settings as well as updating PTS
test's results |
Sebastian Chlad |
11 years ago |
2 files, +45, -33 |
| 0cae6f71 |
android/pics: Add PICS and PIXIT for GATT
Adding PICS and PIXIT for GATT targetting Android 4.4 |
Sebastian Chlad |
11 years ago |
3 files, +355, -0 |
| 7b19bbd8 |
alert: Only remove attio callback after ATT request was sent
If there is a single registered attio callback, any pending ATT requests
will be dropped as soon as it is removed. This commit makes sure that
the request is sent before removing the callback.
Other places using attio callbacks may need fixing as well. |
Anderson Lizardo |
11 years ago |
1 file, +17, -1 |
| ef77cc7a |
core: Fix associating a GAttrib to a device on incoming connections
If BlueZ is running as slave, incoming connections using ATT CID will
have a GAttrib created for them. But this GAttrib will not be assigned
to the underlying device (whose struct btd_device instance was created
in response to the Device Connected mgmt event).
This patch fixes this by assigning the GAttrib to the btd_device as soon
as a connection is first requested, which is done using attio callbacks.
Note that a new GAttrib reference is taken because attio callbacks "own"
device->attrib and thus need their own reference. |
Anderson Lizardo |
11 years ago |
3 files, +28, -0 |