summaryrefslogtreecommitdiff
path: root/android/tester-hidhost.c
Commit message (Collapse)AuthorAgeFilesLines
* android: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* build: Move declaration of _GNU_SOURCE back into individual source filesMarcel Holtmann2018-12-061-0/+1
|
* android: Remove dead codeSzymon Janc2015-10-301-6/+1
| | | | | This removes dead code due to memory allocation with new0 not being able to fail.
* android/tester: Add verification for test case list creatorsGrzegorz Kolodziejczyk2014-12-181-1/+5
| | | | | To be safe it must be chcecked if queue_new and add test case to list was successful.
* android/tester: Refreactor tester-main header includesGrzegorz Kolodziejczyk2014-12-181-2/+4
| | | | | Profile testers should contain necessary headers include instead of tester-main header.
* android/tester: Add case for reconnecting HID keyboard deviceJakub Tyszkowski2014-10-061-0/+91
| | | | | This test case checks if we correctly raise security level for reconnecting keyboard devices when previously paired.
* android/tester: Add case verifying encryption on HIDHostJakub Tyszkowski2014-10-061-0/+102
| | | | | This case verifies if encryption is enabled when connecting to HID Keyboard device.
* android/tester: Improve HIDHost data sending verificationJakub Tyszkowski2014-10-061-22/+13
| | | | | | | | | | 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.
* android/tester: Use generic connect callback for simple casesJakub Tyszkowski2014-10-021-11/+1
| | | | | This is usefull when no custom behavior and just simple pdu exchange is needed.
* android/tester: Make HIDHost tests use generic PDU exchange mechanismJakub Tyszkowski2014-10-021-119/+106
|
* android/tester: Make HidHost tests use io vectors for pduJakub Tyszkowski2014-10-021-28/+20
|
* android/tester-hidhost: Make cid_data staticLuiz Augusto von Dentz2014-08-081-1/+1
|
* android/tester-ng: Add HIDHost send data caseJakub Tyszkowski2014-07-301-1/+43
|
* android/tester-ng: Add HIDHost set report caseJakub Tyszkowski2014-07-301-1/+45
|
* android/tester-ng: Add HIDHost get report caseJakub Tyszkowski2014-07-301-0/+36
|
* android/tester-ng: Add HIDHost set protocol mode caseJakub Tyszkowski2014-07-301-0/+32
|
* android/tester-ng: Add HIDHost get protocol mode caseJakub Tyszkowski2014-07-301-0/+36
|
* android/tester-ng: Add HIDHost virtual unplug test caseJakub Tyszkowski2014-07-301-0/+32
|
* android/tester-ng: Add HIDHost connect, disconnect casesJakub Tyszkowski2014-07-301-1/+310
|
* android/tester-ng: Add socket connect success casesJakub Tyszkowski2014-07-241-0/+3
| | | | | | | Adding socket connect cases requires to set up the the l2cap and rfcomm servers on the emulated device. For this, the bthost_l2cap_connect_cb type had to exposed in tester-main.h and pulled some bthost dependencies along.
* android/tester-ng: Allow test framework user to choose emu typeJakub Tyszkowski2014-07-211-1/+1
| | | | | This allows to set emulated adapter type for each test case in place where tests are defined. Previously this was hardcoded in the framework.
* android/tester-ng: Use array of statics instead of case pointersJakub Tyszkowski2014-07-181-8/+5
| | | | | This is yet another macro that hides the test implementation details and shortens the amount of code that needs to be written for each test case.
* android/tester-ng: Add test declaration helper macroJakub Tyszkowski2014-07-181-7/+3
| | | | This replaces test cases declaration with simplier macro call.
* android/tester-ng: Use action and callback defining macrosJakub Tyszkowski2014-07-181-3/+1
| | | | This significantly shortens the action definitions.
* android/tester-ng: Use loop for adding cases to the queueJakub Tyszkowski2014-07-161-2/+9
| | | | It will be simplier to add new cases.
* android/tester-hidhost: Add initial test caseGrzegorz Kolodziejczyk2014-07-141-0/+14
|
* android/tester-hidhost: Initial hidhost testerGrzegorz Kolodziejczyk2014-07-141-0/+32
This is initial patch for android hidhost HAL tester. It'll contain test cases for hidhost hal.