| cd979dfe |
android/tester-ng: Expose action step verification function
This is needed for profile specific testers to define step actions
(and verify their results) in their own file and not in tester-main.c
where only core actions, needed by all other testers should be defined. |
Jakub Tyszkowski |
11 years ago |
2 files, +4, -1 |
| 952276ed |
android/tester-ng: Make action calls non recurent
All action steps steps were called recurently if not interleaved with
callbacks steps in test case definition. This could block any potential
callback that was not expected to come, as mainloop was stuck. This could
raise potential stability issues and timeouts when working with file
descriptors and io channels handled in the main loop. |
Jakub Tyszkowski |
11 years ago |
1 file, +70, -73 |
| 4b57436c |
doc: Update Android tests coverage
One test case was not ported to new tester framework as it was
considered invalid. |
Jakub Tyszkowski |
11 years ago |
1 file, +2, -2 |
| 5a67d00d |
android/doc: Add Audio SCO HAL documentation |
Andrei Emeltchenko |
11 years ago |
1 file, +28, -0 |
| c63b4808 |
android/client: Check stream before standby() call
Rearrange stop sequence. Fixes following issue:
...
Program received signal SIGSEGV, Segmentation fault.
0x00000000004105b8 in stop_p (argc=<optimized out>, argv=<optimized
out>) at android/client/if-sco.c:483
483 stream_out->common.standby(&stream_out->common);
(gdb) bt
out>) at android/client/if-sco.c:483
...
f stop |
Andrei Emeltchenko |
11 years ago |
1 file, +6, -4 |
| 4b21e1aa |
android/client: Fix crash reading not connected SCO
When SCO is not connected we get -1 from in_read() HAL function. |
Andrei Emeltchenko |
11 years ago |
1 file, +5, -1 |
| 9745efcc |
android/client: Fix double close issue
File is closed inside reading thread. Fixes:
...
Error in
`.../bluez/android/haltest':
double free or corruption (!prev): 0x000000000065a5e0 ***
Program received signal SIGABRT, Aborted.
... |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -0 |
| 6a1f2fdb |
android/pts: Add initial PTS files for AVDTP |
Sebastian Chlad |
11 years ago |
4 files, +505, -1 |
| 846ab821 |
android/pts: Update PTS results for GATT |
Marcin Kraglak |
11 years ago |
1 file, +61, -14 |
| 599ff524 |
android/pts: Update PICS for GATT |
Marcin Kraglak |
11 years ago |
1 file, +2, -2 |
| 700a2f46 |
android/pts: Update PTS tests for SPP |
Sebastian Chlad |
11 years ago |
1 file, +2, -0 |
| 7f236b91 |
android/pts: Update PTS files for HOGP
PICS and PIXITs updated to PTS 5.2. Regression done for Android
4.4.4. |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +101, -97 |
| 573c8fb1 |
doc: Fix minor typo with Cancel Pair Device command |
Marcel Holtmann |
11 years ago |
1 file, +2, -2 |
| c09e4de8 |
doc: Fix minor typo with Pair Device command |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| 6aa62315 |
doc: Add more notes of management version 1.4 changes |
Marcel Holtmann |
11 years ago |
1 file, +3, -1 |
| 3ed9073f |
core: Allow auto-connection only for LE devices and use action 2 |
Marcel Holtmann |
11 years ago |
1 file, +11, -1 |
| be8b264e |
doc: Mention the action 2 parameter for Add Device command |
Marcel Holtmann |
11 years ago |
1 file, +8, -3 |
| 9cc6f7d8 |
emulator: Add support for Get MWS Transport Layer Configuration |
Marcel Holtmann |
11 years ago |
1 file, +11, -0 |
| ed5ca845 |
emulator: Add support for Read Local Supported Codecs command |
Marcel Holtmann |
11 years ago |
1 file, +18, -0 |
| 746d3240 |
doc: Update sections affecting Add Device and Remove Device commands |
Marcel Holtmann |
11 years ago |
1 file, +21, -15 |
| 5a23345f |
monitor: Add support for decoding Get MWS Transport Layer Configuration |
Marcel Holtmann |
11 years ago |
2 files, +65, -1 |
| b18691ed |
monitor: Fix minium size for for Read Local Supported Codecs response |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| 153f5d2b |
monitor: Use extra label parameter for codec information |
Marcel Holtmann |
11 years ago |
1 file, +3, -3 |
| f1d609e9 |
tools: Fix usage for del-device command |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| bacc145f |
monitor: Add support for decoding Read Local Supported Codecs |
Marcel Holtmann |
11 years ago |
2 files, +61, -1 |
| b37b9b44 |
android/pts: Initial PTS docs for SPP
PTS tests done on Android 4.4.4 and PTS 5.2 |
Sebastian Chlad |
11 years ago |
5 files, +95, -33 |
| 602c8ad3 |
android/tester-ng: Minor title fix for core cases
Now with more space for test case's title in the summary, we can use full
"Bluetooth" for all core bluetooth interface test cases. |
Jakub Tyszkowski |
11 years ago |
1 file, +62, -62 |
| 1d702dee |
shared/tester: Increase space for test case title
This makes more space for case's title in the summary, and still
retains 80 chars boundary. This fixes column alignment when using
long case titles i.e. in new android-tester. |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| 7c5a343a |
android/client: Rearrange header includes
Use proper order for header includes in if-audio HAL client |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -3 |
| 30e7a4a8 |
android/ipc: Rename connect_sco to get_fd
SCO get connected through handsfree HAL and Audio SCO HAL only need to
get SCO socket fd. |
Andrei Emeltchenko |
11 years ago |
4 files, +17, -17 |
| 2c305d71 |
android/client: Rearrange headers include |
Andrei Emeltchenko |
11 years ago |
1 file, +4, -4 |
| 974af8d2 |
android/pts: Update PTS files for HID
PICS and PIXITs updated to PTS 5.2. Regression done for Android
4.4.4. |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +47, -42 |
| fba62aff |
android/pts: Interim PTS tests results for RFCOMM |
Sebastian Chlad |
11 years ago |
2 files, +20, -13 |
| ec3b8a97 |
android/tester: Remove old bluetooth core test cases
This removes few last bluetooth cases from the old tester.
All cases were ported to new testing framework. |
Jakub Tyszkowski |
11 years ago |
1 file, +0, -282 |
| a008d8fd |
android/tester-ng: Add more bonding cases
This adds more cases for bond, bond canceling and bond removal. |
Jakub Tyszkowski |
11 years ago |
3 files, +118, -0 |
| 45fe2fbf |
android/tester-ng: Add ssp confirmation cases
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. |
Jakub Tyszkowski |
11 years ago |
3 files, +138, -1 |
| f4a7d978 |
android/tester-ng: Add wrong PIN reply test case |
Jakub Tyszkowski |
11 years ago |
2 files, +40, -0 |
| a4ca2594 |
android/tester-ng: Add BREDR pairing with pin test case
This also adds some actions for setting pin the emulated device and
for calling bonding api of bluetooth core. |
Jakub Tyszkowski |
11 years ago |
3 files, +135, -0 |
| 69fc0314 |
android/tester-ng: Add pin request and bond state callbacks
To fully verify data passed by these callbacks we reuse existing
device properties verification mechanism. For this, callback argumenents
are repacked to properties array for further verification.
Those are verified against values passed to the callback step definition
macro just like with any other definition of callback step in which
we get device properties.
An alternative would be to extend 'bt_callback_data' struct and add new
fields for bdaddr, name, class of device and other properties, that we
get in callbacks as sepparate values and not as list of props. |
Jakub Tyszkowski |
11 years ago |
1 file, +75, -2 |
| c6dab30d |
android/tester-ng: Add missing check for callback status |
Jakub Tyszkowski |
11 years ago |
1 file, +6, -0 |
| d9a15fef |
android/tester-ng: Improve variable's names
Some variables are specific to emulator device type and remote device type.
This patch makes names more descriptive. |
Jakub Tyszkowski |
11 years ago |
1 file, +89, -88 |
| 8cd49298 |
android/tester-ng: Improve callback defining makro
This makes CALLBACK_DEVICE_PROPS and CALLBACK_DEVICE_FOUND use more
generic CALLBACK_PROPS makro. |
Jakub Tyszkowski |
11 years ago |
1 file, +7, -7 |
| 9b43f189 |
android/tester-ng: Improve result print
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. |
Jakub Tyszkowski |
11 years ago |
2 files, +56, -56 |
| a646cdb8 |
android/tester-ng: Allow test framework user to choose emu type
This allows to set emulated adapter type for each test case in place
where tests are defined. Previously this was hardcoded in the framework. |
Jakub Tyszkowski |
11 years ago |
6 files, +73, -77 |
| ece7ac61 |
android/hal-audio: Remove unneeded check
rsp_len cannot be NULL here because of NULL check in the beginning of
the function. |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -2 |
| ff312735 |
android/hal-sco: Remove unneeded check
rsp_len cannot be NULL since it checked for NULL in the beginning of the
function. |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -2 |
| fc516c2c |
core: Enable AlwaysPairable on old kernels which need it |
Johan Hedberg |
11 years ago |
1 file, +11, -0 |
| 8c910c44 |
core: Bundle pairable and discoverable together
When AlwaysPairable is not set it makes sense to simplify our modes and
bind the pairable and discoverable settings together. This means that
all three of connectable, discoverable and pairable are either on or
off. |
Johan Hedberg |
11 years ago |
1 file, +54, -8 |
| 5a2fb976 |
core: Fix triggering PairableTimeout signal only when it changes |
Johan Hedberg |
11 years ago |
1 file, +3, -3 |
| 52038add |
core: Fix trying to enable discoverable with a timeout |
Johan Hedberg |
11 years ago |
1 file, +7, -0 |