| 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
|
| |
|
|
|
|
|
|
| |
This makes sure that emulated device starts advertising only after
discovery is ongoing and that tests go further only after device
was found. Otherwise tests were randomly failing.
|
| |
|
|
|
|
|
| |
This removes dead code due to memory allocation with new0 not being
able to fail.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Value in bt_property_t as defined in Android HAL is not const pointer.
This fix following build error with GCC 5:
CC android/android_android_tester-tester-bluetooth.o
android/tester-bluetooth.c:38:9: error: initialization discards ‘const’
qualifier from pointer target type
[-Werror=discarded-array-qualifiers]
.val = &emu_bdname_val,
^
|
|
|
|
|
| |
To be safe it must be chcecked if queue_new and add test case to list
was successful.
|
|
|
|
|
| |
Profile testers should contain necessary headers include instead
of tester-main header.
|
|
|
|
|
| |
Those tests are periodically broken every time default IO capabalities
are changed. This patch sets them explicitely to avoid this breakage.
|
|
|
|
|
| |
Added test which verify that remote device which is paired and not
bonded has correct state in Android framework after ACL disconnection.
|
|
|
|
| |
This patch add test for incoming just works bonding
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Now with more space for test case's title in the summary, we can use full
"Bluetooth" for all core bluetooth interface test cases.
|
|
|
|
| |
This adds more cases for bond, bond canceling and bond removal.
|
|
|
|
|
|
| |
Needed actions were added to properly execute spp procedure. Also
callback data was extended to verify incomming ssp variant, and
action data was extended to pass ssp accept parameters.
|
| |
|
|
|
|
|
| |
This also adds some actions for setting pin the emulated device and
for calling bonding api of bluetooth core.
|
|
|
|
|
| |
Some variables are specific to emulator device type and remote device type.
This patch makes names more descriptive.
|
|
|
|
|
|
| |
It might be usefull to print if test involves LE or BREDR adapter and
remotes. Test case title length had to be reduced for better results
format.
|
|
|
|
|
| |
This allows to set emulated adapter type for each test case in place
where tests are defined. Previously this was hardcoded in the framework.
|
|
|
|
|
| |
This type is unspecified in HAL API and we currently use uint32_t
for it. This also fix build error on 32bit machines.
|
|
|
|
|
| |
Those set property requests should fail as they request to set remotes
adapter properties.
|
| |
|
|
|
|
|
| |
Those properties requests should fails as those are adapter specific
ones and does not apply to remote devices.
|
|
|
|
|
| |
This patch also introduces bt_action_data for passing arguments to HAL
api calls. So far one argument was enough but now there's need for more.
|
| |
|
|
|
|
|
| |
This patch adds first test case that requires remote emulated device to be
discovered. New action step was added to activate this device on demand.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch abstracts out data from the specific test cases. Every data
that is sent through the hal (i.e. properties) and then the result is
verified is a test data thus uses 'test_prop_<dataname>' convention.
Data that is retrieved from the deamon and is adapter's default settings
use 'emu_prop_<dataname>' notation.
Data name now represents it's content and is no longer bound to specific
test case thus can be reused. Its also easier to actually see what the
test case do without browsing through its data set.
|
|
|
|
|
| |
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.
|
|
|
|
| |
This replaces test cases declaration with simplier macro call.
|
|
|
|
| |
This significantly shortens the action definitions.
|
| |
|
| |
|
| |
|
|
|
|
| |
These cases should fail as they are read only props.
|
| |
|
|
|
|
|
| |
This was a missing piece after fixing the callback count verifying
routine.
|
|
|
|
| |
It will be simplier to add new cases.
|
|
|
|
| |
This adds discovery timeout set property success test case.
|
|
|
|
| |
This adds scan_mode set property success test case.
|
|
|
|
|
|
|
| |
This adds handling of property check and bdname set property success
test case. Android tester framework is enhanced by set bd name action.
Test data is enchanced by user step data which can be used inside test
case step.
|
|
|
|
| |
This also adds disable action.
|
|
|
|
|
|
|
| |
This adds property check handling. Existing test cases (enable, enable
done) are updated with property check. If property type/len/val is not
expected in test step its value should be set to 0/NULL. Order of
property is not considered while checking.
|
| |
|
|
|
|
|
|
| |
This patch adds bt_cb_data to be used for passing callback data from
asynchronous call to tester's main loop. As for now this struct contains
only state but will be extended to handle various callbacks.
|
|
|
|
| |
This adds also enable action which enable bluetooth adapter.
|
|
|
|
|
|
| |
This also adds handle of test steps in android tester framework like:
initializing, matching, verifyng and generic test action which
performes first step action.
|
|
This is initial patch for android bluetooth HAL tester. It'll contain
test cases for bluetooth hal using android tester framework
(tester-main). Test step actions for this and every tester should be
declared in main tester. Cohesion of test action make action function
more useful and centralized.
|