summaryrefslogtreecommitdiff
path: root/android/tester-socket.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-0/+3
| | | | | Profile testers should contain necessary headers include instead of tester-main header.
* android/tester: Use default SSP handler in socket testsSzymon Janc2014-09-041-19/+6
|
* android/tester-ng: Remove not needed includeJakub Tyszkowski2014-07-251-2/+0
|
* android/tester-ng: Fix not initializing stepJakub Tyszkowski2014-07-251-1/+1
| | | | | | | | | | | | | | | | | This fixes the following vagrind report: ==12708== 4 errors in context 1 of 1: ==12708== Conditional jump or move depends on uninitialised value(s) ==12708== at 0x40E359: verify_step (tester-main.c:416) ==12708== by 0x40E5FD: verify_action (tester-main.c:540) ==12708== by 0x5083CE4: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0) ==12708== by 0x5084047: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0) ==12708== by 0x5084309: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0) ==12708== by 0x40D51C: tester_run (tester.c:812) ==12708== by 0x40251E: main (tester-main.c:1496)
* android/tester-ng: Add socket connect success casesJakub Tyszkowski2014-07-241-2/+166
| | | | | | | 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: Add various socket connect fail casesJakub Tyszkowski2014-07-241-0/+61
| | | | | Thiose test verifies socket porofile behaviour in case of invalid parameters passed to 'connect' command.
* android/tester-ng: Add socket double listen fail caseJakub Tyszkowski2014-07-241-0/+10
|
* android/tester-ng: Add socket listen - close than listen caseJakub Tyszkowski2014-07-241-0/+36
| | | | This checks for another successfull listen after closing previous fd.
* android/tester-ng: Add socket listen - verify channel caseJakub Tyszkowski2014-07-241-0/+38
|
* android/tester-ng: Add socket listen - verify fd caseJakub Tyszkowski2014-07-241-0/+37
|
* android/tester-ng: Add socket listen - invalid channel caseJakub Tyszkowski2014-07-241-0/+18
|
* android/tester-ng: Add socket listen - invalid param casesJakub Tyszkowski2014-07-241-0/+65
|
* 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-socket: Add initial test caseGrzegorz Kolodziejczyk2014-07-141-0/+14
| | | | | This is patch with initial test case testing setup for socket hal test cases.
* android/tester-socket: Initial socket testerGrzegorz Kolodziejczyk2014-07-141-0/+32
This is initial patch for android socket HAL tester. It'll contain test cases for socket hal.