| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds SPDX License Identifier and removes the license text.
-------------------------------------
License COUNT
-------------------------------------
Apache-2.0 : 80
LGPL-2.1-or-later : 42
GPL-2.0-or-later : 9
License: Apache-2.0
android/bluetoothd-wrapper.c
android/tester-hidhost.c
android/tester-map-client.c
android/hal-audio-aptx.c
android/hal-audio.c
android/hal-handsfree-client.c
android/tester-gatt.c
android/hal-pan.c
android/hal-socket.c
android/tester-hdp.c
android/tester-pan.c
android/tester-avrcp.c
android/hal-a2dp-sink.c
android/hal-gatt.c
android/hal-avrcp.c
android/tester-a2dp.c
android/hal-audio.h
android/hal-bluetooth.c
android/tester-socket.c
android/hal-health.c
android/hal-a2dp.c
android/hal-ipc.c
android/hal-avrcp-ctrl.c
android/hal-sco.c
android/hal-ipc.h
android/tester-main.c
android/hal-audio-sbc.c
android/hal-utils.c
android/hal-map-client.c
android/hal-handsfree.c
android/hal-log.h
android/hal.h
android/hal-utils.h
android/tester-bluetooth.c
android/hal-hidhost.c
android/audio_utils/resampler.h
android/audio_utils/resampler.c
android/system/audio.h
android/hardware/bt_sock.h
android/hardware/bt_gatt_client.h
android/hardware/bt_hh.h
android/hardware/bluetooth.h
android/hardware/hardware.h
android/hardware/bt_hf_client.h
android/hardware/bt_rc.h
android/hardware/bt_hf.h
android/hardware/bt_pan.h
android/hardware/bt_gatt_types.h
android/hardware/hardware.c
android/hardware/audio_effect.h
android/hardware/audio.h
android/hardware/bt_gatt_server.h
android/hardware/bt_gatt.h
android/hardware/bt_hl.h
android/hardware/bt_mce.h
android/hardware/bt_av.h
android/client/if-hh.c
android/client/if-sco.c
android/client/pollhandler.h
android/client/haltest.c
android/client/tabcompletion.c
android/client/if-hf-client.c
android/client/history.h
android/client/if-audio.c
android/client/terminal.h
android/client/if-av.c
android/client/if-main.h
android/client/if-av-sink.c
android/client/terminal.c
android/client/if-mce.c
android/client/if-hf.c
android/client/pollhandler.c
android/client/if-sock.c
android/client/if-rc-ctrl.c
android/client/if-rc.c
android/client/history.c
android/client/if-pan.c
android/client/if-gatt.c
android/client/if-bt.c
android/client/if-hl.c
License: LGPL-2.1-or-later
android/sco.h
android/socket.c
android/tester-main.h
android/hidhost.h
android/map-client.h
android/utils.h
android/hal-msg.h
android/health.h
android/avrcp-lib.c
android/bluetoothd-snoop.c
android/a2dp.c
android/bluetooth.h
android/a2dp-sink.c
android/handsfree-client.c
android/audio-msg.h
android/main.c
android/pan.c
android/ipc-tester.c
android/health.c
android/socket.h
android/handsfree.h
android/avrcp-lib.h
android/a2dp-sink.h
android/system-emulator.c
android/gatt.c
android/avrcp.h
android/pan.h
android/test-ipc.c
android/hidhost.c
android/a2dp.h
android/avrcp.c
android/sco-msg.h
android/bluetooth.c
android/map-client.c
android/handsfree-client.h
android/ipc.c
android/handsfree.c
android/gatt.h
android/ipc.h
android/ipc-common.h
android/compat/wordexp.h
android/cutils/properties.h
License: GPL-2.0-or-later
android/avdtp.h
android/avctp.c
android/avdtptest.c
android/sco.c
android/log.c
android/avdtp.c
android/avctp.h
android/compat/readline/history.h
android/compat/readline/readline.h
|
|
|
|
|
|
| |
status and state are used to hold various enum types depending on test
and callback passed. Define them as int to avoid warnings about enum
assignment from invalid type.
|
|
|
|
|
| |
This adds checking if sent indication or notification has been confirmed
over HAL.
|
|
|
|
| |
This is to verify proper error passing from user apps.
|
|
|
|
|
|
|
|
|
| |
As of now when we want to send response from remote device, we compose
pdu from handle and value, which are then copied into fixed size pdu
with predefined header. With this macro we will be able to pass up to
3 iovectors which are then send without additional copying. It also
quite generic and can be used to any other kind of data processing nad
not only for sending pdus.
|
|
|
|
|
| |
Handles are only 2 bytes in size. We should use uint16_t to be able to
safely cast iovec with such handle to uint16_t and vice versa.
|
|
|
|
|
|
| |
This adds callback, callback verification, step verification, mas
instance verification, map client profile setup handling and basic
files.
|
|
|
|
|
| |
Profile testers should contain necessary headers include instead
of tester-main header.
|
|
|
|
|
| |
We shouldn't include header for one define. All test cases use internal
defines for commands as adopted.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
btav_connection_state_t and btav_audio_state_t enum values are wrongly
stored in different enum type(bt_state_t state).
|
|
|
|
| |
This adds send response by server to write request test cases.
|
|
|
|
| |
This adds send response by server to read request test cases.
|
|
|
|
| |
This adds send indication by server test cases.
|
|
|
|
| |
This adds delete service by server test cases.
|
|
|
|
| |
This adds stop service by server test cases.
|
|
|
|
| |
This adds start service by server test cases.
|
|
|
|
| |
This adds descriptor add by server test cases.
|
|
|
|
| |
This adds characteristic add by server test cases.
|
|
|
|
| |
This adds include service add by server test cases.
|
|
|
|
| |
This adds service add by server test cases.
|
|
|
|
|
| |
This test case checks if we correctly raise security level for
reconnecting keyboard devices when previously paired.
|
|
|
|
| |
This is needed for encryption verification.
|
|
|
|
|
|
|
|
|
|
| |
Hciemu hooks may be called in different test stage than we expect
and we shouldn't blindly verifying the step with success every time
when data is send, as we really dont know the step we are currently in.
This patch fixes this issue by splitting the action in two steps: action
step that triggers data sending and callback step that verifies on
remotes sid that data was send.
|
|
|
|
|
|
| |
This is needed to verify action result on remotes side by using hciemu
hooks for example. As hooks are test specific, we need this to be
exposed to other testers.
|
|
|
|
| |
It will connect to powered on and visible device.
|
|
|
|
|
| |
Debug logs for callback should also print logs if callback is not
expected. Additional value in callback enum is added (BT_CB_NONE).
|
|
|
|
| |
Service register_for_notification and notification callbacks.
|
|
|
|
|
| |
This is usefull when no custom behavior and just simple pdu exchange
is needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows tester-main to register hooks for certain CID to
automatically perform pdu exchange by registering array of pdu pairs
(request_pdu, response_pdu). When end_pdu is used instead of
request_pdu, response is sent immediately without incoming pdu
verification. A pair with end_pdus set as request and response is
considered as the end of pdu pairs array.
This callback can also handle sdp request<->response while transaction
ID for the response is swaped to match the one from SDP request.
'emu_l2cap_cid_data' is used to pass tha appropriate data to the hook
mechanism. It is similar to 'emu_cid_data" used in other testers and
eventually will replace those.
|
|
|
|
|
|
|
| |
This exposes the structs holding request and response pdus from a2dp
and avrcp testers and makes it available to other testers. It also
makes it use iovectors. Some helper macros were also extracted from
gatt tester and reused.
|
|
|
|
|
| |
This adds additional logs to match function. In case if compared values
don't match, tester will print those values.
|
|
|
|
|
| |
This makes unified id numers for both gatt server and client defined
as application id.
|
| |
|
|
|
|
| |
It will service GATT Client read/write callbacks.
|
|
|
|
| |
Service and verify GATT Client Get Included Service callback.
|
|
|
|
| |
Service and verify GATTT Client Get Descriptor callback.
|
| |
|
|
|
|
|
| |
Verify data passed to get_characteristic_cb. It is needed
for tester-gatt.
|
|
|
|
|
| |
Add support for search_result_cb() and search_complete_cb()
in android tester. It is needed for GATT client test cases.
|
|
|
|
|
|
| |
In most test cases pairing can be performed but is not part of test
case, and shouldn't have impact on test case result. This helper set
defult handler, which will always accept SSP requests.
|
| |
|
|
|
|
|
| |
Some tests might need to change default io capabilities of bthost.
This patch adds means to do it.
|
|
|
|
|
| |
This patch extends emu_remote_connect_hci_action function with address
type of device to be connected
|
|
|
|
|
|
|
|
| |
Those function can be used by other tester modules
In addition function emu_remote_disconnect_hci_action has been changed a
bit so it take handle from step data now. It was needed as cid_data was
static in tester_gatt.c
|
| |
|