OSDN Git Service

android-x86/external-bluetooth-bluez.git
10 years agoandroid/bluetooth: Code style and whitespace cleanup
Szymon Janc [Wed, 11 Dec 2013 10:31:27 +0000 (11:31 +0100)]
android/bluetooth: Code style and whitespace cleanup

This fix some random style or whitespace damages. Also moves statics
after last type definition.

10 years agoandroid/bluetooth: Add support for remote device type property
Szymon Janc [Wed, 11 Dec 2013 10:31:26 +0000 (11:31 +0100)]
android/bluetooth: Add support for remote device type property

This makes daemon store remote device address type to be able to handle
remote device type property.

10 years agoandroid/bluetooth: Add support for get remote device properties command
Szymon Janc [Wed, 11 Dec 2013 10:31:25 +0000 (11:31 +0100)]
android/bluetooth: Add support for get remote device properties command

This allows to get all properties of specified remote device.

10 years agoandroid/bluetooth: Add support for remote device RSSI
Szymon Janc [Wed, 11 Dec 2013 10:31:24 +0000 (11:31 +0100)]
android/bluetooth: Add support for remote device RSSI

This allows to cache remote device RSSI and get it with get property
command.

10 years agoandroid/bluetooth: Add support for remote device class
Szymon Janc [Wed, 11 Dec 2013 10:31:23 +0000 (11:31 +0100)]
android/bluetooth: Add support for remote device class

This allows to cache remote device CoD and get it with get property
command.

10 years agoandroid/bluetooth: Free devices on service unregister
Szymon Janc [Wed, 11 Dec 2013 10:31:22 +0000 (11:31 +0100)]
android/bluetooth: Free devices on service unregister

There is no need to keep devices list in memory if service was
unregistered.

10 years agoandroid/bluetooth: Add support for remote device friendly name
Szymon Janc [Wed, 11 Dec 2013 10:31:21 +0000 (11:31 +0100)]
android/bluetooth: Add support for remote device friendly name

This allows to get and set remote device property with friendly name.
Storage support is still missing.

10 years agoandroid/bluetooth: Add support for adapter bonded devices property
Szymon Janc [Wed, 11 Dec 2013 10:31:20 +0000 (11:31 +0100)]
android/bluetooth: Add support for adapter bonded devices property

This allows to get property with list of bonded devices.

10 years agoandroid/bluetooth: Add support for reporting adapter type property
Szymon Janc [Wed, 11 Dec 2013 10:31:19 +0000 (11:31 +0100)]
android/bluetooth: Add support for reporting adapter type property

This allows to get property with adapter type.

10 years agoandroid/pan: Fix minor white space
Ravi kumar Veeramally [Wed, 11 Dec 2013 10:13:43 +0000 (12:13 +0200)]
android/pan: Fix minor white space

10 years agoandroid/pan: Fix missing cleanup calls
Ravi kumar Veeramally [Wed, 11 Dec 2013 10:13:42 +0000 (12:13 +0200)]
android/pan: Fix missing cleanup calls

10 years agoprofiles/network/server: Delete function which does nothing
Ravi kumar Veeramally [Wed, 11 Dec 2013 10:13:39 +0000 (12:13 +0200)]
profiles/network/server: Delete function which does nothing

10 years agobnep: Move bnep related calls to bnep.h|c
Ravi kumar Veeramally [Wed, 11 Dec 2013 10:13:38 +0000 (12:13 +0200)]
bnep: Move bnep related calls to bnep.h|c

Moving bnep related calls to bnep.h|c to reduce redundancy
while using same in android/*.

10 years agobnep: Rename send ctrl_rsp and make it global
Ravi kumar Veeramally [Wed, 11 Dec 2013 10:13:37 +0000 (12:13 +0200)]
bnep: Rename send ctrl_rsp and make it global

Renaming send_bnep_ctrl_rsp to bnep_send_ctrl_rsp and moving
to bnep.h. It is required in android/*.

10 years agobnep: Rename bnep_kill_connection to bnep_conndel
Ravi kumar Veeramally [Wed, 11 Dec 2013 10:13:36 +0000 (12:13 +0200)]
bnep: Rename bnep_kill_connection to bnep_conndel

Renaming bnep_kill_connection to bnep_conndel to maintain
consistency with bnep_connadd function name.

10 years agoandroid/tester: Add status check and adapter enable, disable test cases
Grzegorz Kolodziejczyk [Wed, 11 Dec 2013 10:46:37 +0000 (11:46 +0100)]
android/tester: Add status check and adapter enable, disable test cases

This adds handling of status check, enabled adapter setup method,
disable and enable fail test case.

10 years agoandroid/tester: Add basic enable test
Grzegorz Kolodziejczyk [Wed, 11 Dec 2013 10:46:36 +0000 (11:46 +0100)]
android/tester: Add basic enable test

10 years agoandroid/tester: Make HAL logging wrapper print to stderr instead of stdout
Szymon Janc [Wed, 11 Dec 2013 10:46:35 +0000 (11:46 +0100)]
android/tester: Make HAL logging wrapper print to stderr instead of stdout

This is used for testing and for user it makes no difference. This
will allow to switch on/off verbose logging from automated android
tester.

10 years agoandroid/tester: Add stack initialization of stack in setup
Marcin Kraglak [Wed, 11 Dec 2013 10:46:34 +0000 (11:46 +0100)]
android/tester: Add stack initialization of stack in setup

This add stack initialization and cleanup in setup/teardown.

10 years agoandroid/tester: Start emulator in new process
Marcin Kraglak [Wed, 11 Dec 2013 10:46:33 +0000 (11:46 +0100)]
android/tester: Start emulator in new process

This is needed because bluetooth->init call is blocking,
and we have to emulate normal behaviour of android environment.
That process will exit if it won't receive any message in 2 sec
or when bluetoothd will exit. Main tester thread will wait for
this process in teardown method.

10 years agoandroid/tester: Add pre-setup and post-teardown routines
Marcin Kraglak [Wed, 11 Dec 2013 10:46:32 +0000 (11:46 +0100)]
android/tester: Add pre-setup and post-teardown routines

This will add hciemu initialization and cleanup. These functions
will be called to create hci emulator and cleanup it.

10 years agoandroid/tester: Add android-tester
Marcin Kraglak [Wed, 11 Dec 2013 10:46:31 +0000 (11:46 +0100)]
android/tester: Add android-tester

This commit add android-tester.c to tree and Makefile.am.
This will contain set of unit tests for testing android daemon.

10 years agoandroid/bluetooth: Add send_adapter_property helper function
Szymon Janc [Tue, 10 Dec 2013 15:06:22 +0000 (16:06 +0100)]
android/bluetooth: Add send_adapter_property helper function

Adapter property notification are send from multiple places so it make
sense to have helper for that. This is especially usefull for 'simple'
properties.

10 years agoandroid/bluetooth: Add send_device_property helper function
Szymon Janc [Tue, 10 Dec 2013 15:06:21 +0000 (16:06 +0100)]
android/bluetooth: Add send_device_property helper function

Remote device property notification will be send from multiple places
so it make sense to have helper for that. This will be especially
usefull for 'simple' properties.

10 years agoandroid/bluetooth: Add stubs for set device property command
Szymon Janc [Tue, 10 Dec 2013 15:06:20 +0000 (16:06 +0100)]
android/bluetooth: Add stubs for set device property command

This adds per property stubs.

10 years agoandroid/bluetooth: Add stubs for get device properties command
Szymon Janc [Tue, 10 Dec 2013 15:06:19 +0000 (16:06 +0100)]
android/bluetooth: Add stubs for get device properties command

This adds per property stubs.

10 years agoandroid/bluetooth: Refactor send_remote_device_name_prop
Szymon Janc [Tue, 10 Dec 2013 15:06:18 +0000 (16:06 +0100)]
android/bluetooth: Refactor send_remote_device_name_prop

Rename send_remote_device_name_prop to get_device_name and make it
accept struct device as parameter. Also return HAL status code.
This will allow to use this function also in get device property
command handler.

10 years agoandroid/bluetooth: Fix coding style issue in set_device_bond_state
Szymon Janc [Tue, 10 Dec 2013 15:06:17 +0000 (16:06 +0100)]
android/bluetooth: Fix coding style issue in set_device_bond_state

10 years agoandroid/bluetooth: Use single list for device caching
Szymon Janc [Tue, 10 Dec 2013 15:06:16 +0000 (16:06 +0100)]
android/bluetooth: Use single list for device caching

This makes code much simpler and easier to follow. It is also
a preparation for supporting remote device properties getting, setting
and storing.

10 years agoandroid/bluetooth: Rename functions to match adapter properties names
Szymon Janc [Tue, 10 Dec 2013 15:06:15 +0000 (16:06 +0100)]
android/bluetooth: Rename functions to match adapter properties names

This match adapter properties handling functions with properties names.
Will make code easier to understand and avoid clashes with remote
device properties functions.

10 years agobnep: Remove unneeded assignment
Andrei Emeltchenko [Mon, 9 Dec 2013 14:17:28 +0000 (16:17 +0200)]
bnep: Remove unneeded assignment

10 years agoandroid/socket: Use getsockopt to set buffer
Andrei Emeltchenko [Mon, 9 Dec 2013 14:11:21 +0000 (16:11 +0200)]
android/socket: Use getsockopt to set buffer

Use the RFCOMM socket buffer size to allocate the intermediate buffer used
for copying data between sockets to minimize context switches.

10 years agoRelease 5.12
Marcel Holtmann [Tue, 10 Dec 2013 10:09:42 +0000 (02:09 -0800)]
Release 5.12

10 years agolib: Add version information for Bluetooth 4.1
Marcel Holtmann [Tue, 10 Dec 2013 10:00:37 +0000 (02:00 -0800)]
lib: Add version information for Bluetooth 4.1

10 years agobuild: Update library version
Marcel Holtmann [Tue, 10 Dec 2013 09:44:58 +0000 (01:44 -0800)]
build: Update library version

10 years agolib: Update company identifiers
Marcel Holtmann [Tue, 10 Dec 2013 09:41:38 +0000 (01:41 -0800)]
lib: Update company identifiers

10 years agocore: Fix leaking disconnect message
Luiz Augusto von Dentz [Tue, 10 Dec 2013 08:41:17 +0000 (10:41 +0200)]
core: Fix leaking disconnect message

If a disconnect message is pending return an error since currently the
code cannot process it in parallel.

10 years agocore: Fix not replying to DisconnectProfile
Luiz Augusto von Dentz [Tue, 10 Dec 2013 08:41:16 +0000 (10:41 +0200)]
core: Fix not replying to DisconnectProfile

btd_service_disconnect may cause a service to disconnect before returning
which cause dev->disconnect to be set after device_profile_disconnected.

10 years agoinput: Fix crash when SDP record isn't available
Bastien Nocera [Sat, 7 Dec 2013 14:53:41 +0000 (15:53 +0100)]
input: Fix crash when SDP record isn't available

On startup, if the SDP cache has been removed but the pairing
information is still present, we'd crash trying to access inside a NULL
record struct.

10 years agocore: Remove useless eir parsing function return value
Andrei Emeltchenko [Tue, 10 Dec 2013 08:15:40 +0000 (10:15 +0200)]
core: Remove useless eir parsing function return value

Currently eir_parse always return 0 but it is checked throughout the code
(in android/bluetooth code as well in src/adapteri, etc) for return value
(err < 0) which never happens. Make function eir_parse return void. This
fixes warnings from static analyzer tools.

10 years agocore: Remove not needed struct adapter_keys
Szymon Janc [Mon, 9 Dec 2013 10:11:33 +0000 (11:11 +0100)]
core: Remove not needed struct adapter_keys

This is a leftover from using old storage format.

10 years agocore: Fix crash due to agent callback freeing the agent
Szymon Janc [Mon, 9 Dec 2013 19:20:55 +0000 (20:20 +0100)]
core: Fix crash due to agent callback freeing the agent

Similar fix was provided for simple_agent_reply in a2f5d438 but missed
pincode_reply case.

Fix following:

src/agent.c:agent_disconnect() Agent :1.48 disconnected
src/agent.c:set_default_agent() Default agent cleared
src/agent.c:agent_destroy() agent :1.48
src/agent.c:agent_unref() 0x4701c68: ref=1
Agent /org/bluez/agent replied with an error:
    org.freedesktop.DBus.Error.NoReply, Message did not receive a reply
    (timeout by message bus)
src/adapter.c:btd_adapter_pincode_reply() hci0 addr 6C:0E:0D:DB:D1:16
    pinlen 0
src/agent.c:agent_unref() 0x4701c68: ref=0
src/adapter.c:btd_adapter_pincode_reply() hci0 addr 6C:0E:0D:DB:D1:16
    pinlen 0
src/agent.c:agent_unref() 0x4701c68: ref=-1
src/adapter.c:btd_adapter_pincode_reply() hci0 addr 6C:0E:0D:DB:D1:16
    pinlen 0
src/agent.c:agent_unref() 0x4701c68: ref=-2
...

10 years agotools/obex-server-tool: Fix checking incorrect error code
Andrei Emeltchenko [Tue, 3 Dec 2013 16:04:54 +0000 (18:04 +0200)]
tools/obex-server-tool: Fix checking incorrect error code

chdir return -1 if error and 0 in success.

10 years agoandroid: Fix missing failure check in ipc_init
Szymon Janc [Tue, 3 Dec 2013 12:42:08 +0000 (13:42 +0100)]
android: Fix missing failure check in ipc_init

If connecting command socket failed daemon should be terminated.

10 years agomonitor: Add support for slave broadcast commands and events
Marcel Holtmann [Sun, 8 Dec 2013 16:49:36 +0000 (08:49 -0800)]
monitor: Add support for slave broadcast commands and events

10 years agoandroid/pan: Move logic from HAL to daemon
Jakub Tyszkowski [Thu, 5 Dec 2013 10:37:17 +0000 (11:37 +0100)]
android/pan: Move logic from HAL to daemon

HAL should contain as little logic as possible, but we should be doing
these checks on daemon side anyway.

10 years agoandroid/pan: Move logic from HAL layer to daemon
Jakub Tyszkowski [Thu, 5 Dec 2013 10:37:16 +0000 (11:37 +0100)]
android/pan: Move logic from HAL layer to daemon

HAL should contain as little logic as possible, but we should be doing
these checks on daemon side anyway.

10 years agoandroid/a2dp: Unregister ipc handlers if init fails
Jakub Tyszkowski [Thu, 5 Dec 2013 10:37:15 +0000 (11:37 +0100)]
android/a2dp: Unregister ipc handlers if init fails

Add ipc handlers cleanup if init fails. Send proper status if
already initialized.

10 years agoandroid/pan: Unregister ipc handlers if init fails
Jakub Tyszkowski [Thu, 5 Dec 2013 10:37:14 +0000 (11:37 +0100)]
android/pan: Unregister ipc handlers if init fails

Add ipc handlers cleanup if init fails. Send proper status if
already initialized.

10 years agoandroid/hidhost: Unregister ipc handlers if init fails
Jakub Tyszkowski [Thu, 5 Dec 2013 10:37:13 +0000 (11:37 +0100)]
android/hidhost: Unregister ipc handlers if init fails

Add ipc handlers cleanup if init fails. Send proper status if
already initialized.

10 years agoandroid: Fix sending status on bluetooth init if already initialized
Jakub Tyszkowski [Thu, 5 Dec 2013 10:37:12 +0000 (11:37 +0100)]
android: Fix sending status on bluetooth init if already initialized

We should be sending BT_STATUS_DONE when calling init on already
initialized interface like Bluedroid does. This indicates that previosly
registered callbacks are still registered, not those passed with second
init call.

10 years agoandroid: Update haltest tool entry in README
Jakub Tyszkowski [Thu, 5 Dec 2013 10:37:11 +0000 (11:37 +0100)]
android: Update haltest tool entry in README

Update informations about 'adapter' interface being renamed to 'bluetooth' and
init being called on haltest startup by default.

10 years agoandroid/doc: Add socket-api.txt document
Andrei Emeltchenko [Tue, 3 Dec 2013 15:53:11 +0000 (17:53 +0200)]
android/doc: Add socket-api.txt document

Document describes how socket HAL is working.

10 years agoandroid/pan: Fix no return on error path
Andrei Emeltchenko [Tue, 3 Dec 2013 15:53:10 +0000 (17:53 +0200)]
android/pan: Fix no return on error path

This fixes possible crash in case connect fails.

10 years agoandroid/pan: Remove unneeded NULL assignment
Andrei Emeltchenko [Tue, 3 Dec 2013 15:53:09 +0000 (17:53 +0200)]
android/pan: Remove unneeded NULL assignment

10 years agoandroid/a2dp: Fix possible NULL dereference
Andrei Emeltchenko [Tue, 3 Dec 2013 15:53:08 +0000 (17:53 +0200)]
android/a2dp: Fix possible NULL dereference

Since a2dp_record may return NULL, check return value. This
silences static analysers tools.

10 years agodevice: When the Class changes, Icon might too
Bastien Nocera [Sat, 7 Dec 2013 14:53:34 +0000 (15:53 +0100)]
device: When the Class changes, Icon might too

Send out a PropertyChanged signal when the Class changes for
Icon also changing, as it's likely that the Icon needs to be
refetched.

Tested with the PS3 Sixaxis controller connecting the first time
around, as it would not budge from not having any icons until the
client was restarted.

10 years agomonitor: Add support connectionless slave broadcast data command
Marcel Holtmann [Sat, 7 Dec 2013 15:11:40 +0000 (07:11 -0800)]
monitor: Add support connectionless slave broadcast data command

10 years agomonitor: Add missing HCI error code 0x40
Marcel Holtmann [Sat, 7 Dec 2013 14:52:02 +0000 (06:52 -0800)]
monitor: Add missing HCI error code 0x40

10 years agomonitor: Highlight unknown HCI error codes
Marcel Holtmann [Sat, 7 Dec 2013 14:49:45 +0000 (06:49 -0800)]
monitor: Highlight unknown HCI error codes

10 years agomonitor: Add support for decoding LT_ADDR commands
Marcel Holtmann [Sat, 7 Dec 2013 14:44:24 +0000 (06:44 -0800)]
monitor: Add support for decoding LT_ADDR commands

10 years agomonitor: Add decoding for write sync train parameters command
Marcel Holtmann [Sat, 7 Dec 2013 12:05:28 +0000 (04:05 -0800)]
monitor: Add decoding for write sync train parameters command

10 years agomonitor: Decode BR/EDR Secure Connections commands and events
Marcel Holtmann [Sat, 7 Dec 2013 11:11:48 +0000 (03:11 -0800)]
monitor: Decode BR/EDR Secure Connections commands and events

10 years agomonitor: Decode low duty cycle advertising parameters
Marcel Holtmann [Sat, 7 Dec 2013 08:56:33 +0000 (00:56 -0800)]
monitor: Decode low duty cycle advertising parameters

10 years agomonitor: Update BR/EDR and LE command list
Marcel Holtmann [Sat, 7 Dec 2013 08:49:52 +0000 (00:49 -0800)]
monitor: Update BR/EDR and LE command list

10 years agomonitor: Update BR/EDR and LE event list
Marcel Holtmann [Sat, 7 Dec 2013 08:43:52 +0000 (00:43 -0800)]
monitor: Update BR/EDR and LE event list

10 years agomonitor: Update LE features and event mask decoding
Marcel Holtmann [Sat, 7 Dec 2013 08:43:01 +0000 (00:43 -0800)]
monitor: Update LE features and event mask decoding

10 years agomonitor: Update BR/EDR features and event mask decoding
Marcel Holtmann [Sat, 7 Dec 2013 08:27:27 +0000 (00:27 -0800)]
monitor: Update BR/EDR features and event mask decoding

10 years agomonitor: Add difference between P-192 and P-256 keys
Marcel Holtmann [Sat, 7 Dec 2013 08:14:14 +0000 (00:14 -0800)]
monitor: Add difference between P-192 and P-256 keys

10 years agomonitor: Fix HCI command naming from Bluetooth 4.1 specification
Marcel Holtmann [Sat, 7 Dec 2013 08:07:30 +0000 (00:07 -0800)]
monitor: Fix HCI command naming from Bluetooth 4.1 specification

10 years agomonitor: Add support for handling LE Ping feature
Marcel Holtmann [Sat, 7 Dec 2013 07:59:35 +0000 (23:59 -0800)]
monitor: Add support for handling LE Ping feature

10 years agomonitor: Add definitions for BR/EDR Secure Connections
Marcel Holtmann [Sat, 7 Dec 2013 07:53:40 +0000 (23:53 -0800)]
monitor: Add definitions for BR/EDR Secure Connections

10 years agoandroid/socket: Cleanup sockets on unregister
Andrei Emeltchenko [Tue, 3 Dec 2013 15:51:10 +0000 (17:51 +0200)]
android/socket: Cleanup sockets on unregister

This cleans up rfsock structures closing all sockets and making general
cleanup for servers and for connections. This will be called form socket
unregister.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-36-C test
Luiz Augusto von Dentz [Wed, 4 Dec 2013 13:32:39 +0000 (15:32 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-36-C test

Verify that the IUT (INT) is able to ignore a reserved capability in the
GetAllCapabilities response.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-35-C test
Luiz Augusto von Dentz [Wed, 4 Dec 2013 13:27:53 +0000 (15:27 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-35-C test

Verify that the IUT (INT) is able to ignore a reserved capability in the
GetAllCapabilities response.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-33-C test
Luiz Augusto von Dentz [Wed, 4 Dec 2013 13:18:17 +0000 (15:18 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-33-C test

Verify that the IUT (ACP) is able to issue a get all capabilities reject
response to the INT.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-32-C test
Luiz Augusto von Dentz [Wed, 4 Dec 2013 13:09:38 +0000 (15:09 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-32-C test

Verify that the IUT (ACP) is able to issue a get all capabilities reject
response to the INT.

10 years agounit/AVDTP: Add /TP/SIG/SMG/ESR04/BI-28-C test
Luiz Augusto von Dentz [Wed, 4 Dec 2013 12:55:30 +0000 (14:55 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/ESR04/BI-28-C test

Verify that the IUT (ACP) is able to issue a general reject response to
the Lower Tester (INT).

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-30-C test
Luiz Augusto von Dentz [Wed, 4 Dec 2013 12:28:43 +0000 (14:28 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-30-C test

Verify that the IUT (INT) is able to ignore a reserved capability in the
GetCapabilities response.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-28-C test
Luiz Augusto von Dentz [Wed, 4 Dec 2013 12:19:34 +0000 (14:19 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-28-C test

Verify that the IUT (ACP) is able to issue a general reject response to
the Lower Tester (INT).

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-27-C test
Luiz Augusto von Dentz [Wed, 4 Dec 2013 12:11:57 +0000 (14:11 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-27-C test

Verify that the IUT (ACP) is able to issue a reject response signal upon
tester's request in answer to a suspend stream command from the Lower
Tester (INT).

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-26-C test
Luiz Augusto von Dentz [Tue, 3 Dec 2013 13:02:20 +0000 (15:02 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-26-C test

Verify that the IUTi (ACP) is able to issue a suspend stream reject
response to the Lower Tester (INT).

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-25-C test
Luiz Augusto von Dentz [Tue, 3 Dec 2013 12:47:51 +0000 (14:47 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-25-C test

Verify that the IUT (ACP) is able to report to the tester the rejection
of a suspend stream command sent by the Lower Tester (INT).

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-24-C test
Luiz Augusto von Dentz [Tue, 3 Dec 2013 12:39:37 +0000 (14:39 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-24-C test

Verify that the IUT (ACP) is able to issue a reject response signal upon
tester's request in answer to a close stream command.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-23-C test
Luiz Augusto von Dentz [Mon, 2 Dec 2013 12:13:03 +0000 (14:13 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-23-C test

Verify that the IUT (ACP) is able to issue a close stream reject
response to the Lower Tester (INT).

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-22-C test
Luiz Augusto von Dentz [Mon, 2 Dec 2013 10:25:52 +0000 (12:25 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-22-C test

Verify that the IUT (INT) is able to report the rejection by the remote
device of the close stream command.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-21-C test
Luiz Augusto von Dentz [Mon, 2 Dec 2013 07:51:38 +0000 (09:51 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-21-C test

Verify that the IUT (ACP) is able to issue a reject response signal upon
tester's request in answer to a start stream command.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-20-C test
Luiz Augusto von Dentz [Mon, 2 Dec 2013 07:43:02 +0000 (09:43 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-20-C test

Verify that the IUT (ACP) is able to issue a start stream reject
response to the INT.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-19-C test
Luiz Augusto von Dentz [Sun, 1 Dec 2013 16:17:09 +0000 (18:17 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-19-C test

Verify that the IUT (INT) is able to report the rejection by the remote
device of the start stream command.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-18-C test
Luiz Augusto von Dentz [Sun, 1 Dec 2013 16:02:19 +0000 (18:02 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-18-C test

Verify that the IUT (ACP) is able to issue a reject response signal upon
tester's request in answer to an open stream command.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-17-C test
Luiz Augusto von Dentz [Sun, 1 Dec 2013 15:50:08 +0000 (17:50 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-17-C test

Verify that the IUT (ACP) is able to issue an Open stream reject
response to the INT.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-11-C test
Luiz Augusto von Dentz [Sun, 1 Dec 2013 15:33:22 +0000 (17:33 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-11-C test

Verify that the IUT (ACP) is able to issue a get configuration reject
response to the INT.

10 years agoandroid/AVDTP: Fix not calling callback if GET_CONFIGURATION is rejected
Luiz Augusto von Dentz [Fri, 29 Nov 2013 13:00:11 +0000 (15:00 +0200)]
android/AVDTP: Fix not calling callback if GET_CONFIGURATION is rejected

If GET_CONFIGURATION command is rejected and a callback exists it should
be called with the reject error, this fixes test /TP/SIG/SMG/BI-10-C.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-10-C test
Luiz Augusto von Dentz [Fri, 29 Nov 2013 12:59:01 +0000 (14:59 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-10-C test

Verify that the IUT (ACP) is able to issue a get configuration reject
response to the INT.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-09-C test
Luiz Augusto von Dentz [Fri, 29 Nov 2013 12:42:43 +0000 (14:42 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-09-C test

Verify that the IUT (ACP) is able to issue a reject response signal upon
tester's request in answer to a set configuration command.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-08-C test
Luiz Augusto von Dentz [Thu, 28 Nov 2013 15:26:41 +0000 (17:26 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-08-C test

Verify that the IUT (ACP) is able to issue a set configuration reject
response to the INT if the SEP is already configured.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-07-C test
Luiz Augusto von Dentz [Thu, 28 Nov 2013 15:19:09 +0000 (17:19 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-07-C test

Verify that the IUT (INT) is able to detect the rejection by the ACP of a
set configuration command.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-06-C test
Luiz Augusto von Dentz [Thu, 28 Nov 2013 14:36:25 +0000 (16:36 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-06-C test

Verify that the IUT (ACP) is able to issue a reject response signal upon
tester's request in answer to a get capabilities command.

10 years agounit/AVDTP: Add /TP/SIG/SMG/BI-05-C test
Luiz Augusto von Dentz [Thu, 28 Nov 2013 14:14:48 +0000 (16:14 +0200)]
unit/AVDTP: Add /TP/SIG/SMG/BI-05-C test

Verify that the IUT (INT) is able to detect the rejection by the ACP of a
get capabilities command.

10 years agoandroid/AVDTP: Fix not calling callback if GET_CAPABILITIES is rejected
Luiz Augusto von Dentz [Thu, 28 Nov 2013 14:00:46 +0000 (16:00 +0200)]
android/AVDTP: Fix not calling callback if GET_CAPABILITIES is rejected

If GET_CAPABILITIES command is rejected and a callback exists it should
be called with the reject error, this fixes test /TP/SIG/SMG/BI-04-C.