Commit Graph

2722 Commits

Author SHA1 Message Date
Grzegorz Kolodziejczyk
1c0f5de027 android/pts: Update PTS files for IOPT
PICS and PIXITs updated to PTS 5.2. Regression done for Android
4.4.4.
2014-08-11 16:38:20 +03:00
Andrei Emeltchenko
a7b1ac9207 android/tester: Fix using uninitialized variable
Fix typo not initializing variable. Silence warnings:

...
/android/tester-hdp.c: 71 in create_app()
/android/tester-hdp.c: 97 in create_app()
...
>>>     Using uninitialized value "mdep2". Field
>>>     "mdep2.mdep_description" is uninitialized.
71              reg->mdep_cfg[1] = mdep2;
...
>>>     Using uninitialized value "mdep2". Field
>>>     "mdep2.mdep_description" is uninitialized.
97              reg->mdep_cfg[1] = mdep2;
...
2014-08-11 10:33:24 +03:00
Lukasz Rymanowski
f034df61a6 android/pts: Update A2DP test results
Updated test result for TC_SRC_REL_BV_01_I
2014-08-11 10:17:01 +03:00
Lukasz Rymanowski
991f850c04 android/a2dp: Fix for PTS testcase
This patch is a fix for PTS TC_SRC_REL_BV_01_I
PTS expects us to CLOSE stream not to ABORT the stream when
disconnecting A2DP.
2014-08-08 17:28:40 +03:00
Lukasz Rymanowski
6e01436e9b android/a2dp: Improve avdtp_close function
With this patch avdtp_close does avdtp_abort under the hood in case
stream is not yet in OPEN state.
2014-08-08 17:28:39 +03:00
Sebastian Chlad
4b9b09235e android/pts: PTS files for MCAP
Update for PIXIT and PICS for MCAP on PTS 5.2 as well as regression
test round on Android 4.4.4 against PTS 5.2
2014-08-08 16:34:51 +03:00
Ravi kumar Veeramally
06941720e4 android/tester: Add HDP App Unregister test case 2014-08-08 16:33:38 +03:00
Ravi kumar Veeramally
7463888f6b android/tester: Add HDP App Register test cases 2014-08-08 16:33:37 +03:00
Ravi kumar Veeramally
120e76e69d android/tester: Add HDP init test case 2014-08-08 16:33:34 +03:00
Luiz Augusto von Dentz
921a4d86c1 android/tester-hidhost: Make cid_data static 2014-08-08 13:54:25 +03:00
Luiz Augusto von Dentz
a4e44d955a android/tester-pan: Make cid_data static 2014-08-08 13:54:25 +03:00
Luiz Augusto von Dentz
80d7a8665c android/tester: Fix duplicate const 2014-08-08 13:54:25 +03:00
Luiz Augusto von Dentz
8f902ac3b1 android/hog: Fix report lookup
This fixes not utilizing the report id to match the characteristic that
map it.
2014-08-08 13:54:25 +03:00
Sebastian Chlad
ca31afcbb1 android/pts: Update HID PTS text file 2014-08-06 12:07:07 +03:00
Johan Hedberg
4ca4a83137 android/tester: Minor coding style fix 2014-08-06 10:39:17 +03:00
Ravi kumar Veeramally
68d56c3c72 android/tester: Add PAN Enable None test case 2014-08-06 10:38:22 +03:00
Ravi kumar Veeramally
f7d3023845 android/tester: Add PAN Enable PANU test case 2014-08-06 10:38:21 +03:00
Ravi kumar Veeramally
c565909115 android/tester: Add PAN Enable NAP test case 2014-08-06 10:38:20 +03:00
Ravi kumar Veeramally
b3a5e37ed7 android/pan: Notify control state callback on HAL .enable call 2014-08-06 10:38:19 +03:00
Ravi kumar Veeramally
f212ded42c android/tester: Add PAN Get Local Role test case 2014-08-06 10:38:18 +03:00
Ravi kumar Veeramally
a4afc40e55 android/tester: Add PAN Disconnect test case 2014-08-06 10:38:17 +03:00
Ravi kumar Veeramally
0b5ab615be android/tester: Add PAN Connect test case 2014-08-06 10:38:16 +03:00
Ravi kumar Veeramally
ee645459e9 android/tester: Add PAN init test case 2014-08-06 10:38:15 +03:00
Grzegorz Kolodziejczyk
3b2da5a279 Android/pts: Update PTS files for PAN
PICS and PIXITs updated to PTS 5.2. Regression done for Android
4.4.4.
2014-08-06 10:36:48 +03:00
Sebastian Chlad
ece5d8d827 android/pts: Tests round for OPP
Updating PICS and PIXITs for PTS 5.2. Regression round for OPP
against PTS 5.2. All previously raised erratas solved in PTS 5.2.
2014-08-06 10:36:11 +03:00
Sebastian Chlad
4a17512b7d android/pts: PTS files update for PBAP
Test round for PBAP against PTS 5.2 as well as PICS and PIXIT
checked against PTS 5.2.
2014-08-06 10:35:40 +03:00
Andrei Emeltchenko
da0e7cab44 android/doc: Add instructions for android-ia
Add instructions for building Android image based on android-ia from
01.org.
2014-08-06 10:34:05 +03:00
Sebastian Chlad
296717161d android/gap: GAP tests for PTS 5.2 2014-08-04 17:16:26 +03:00
Jakub Tyszkowski
79489632e0 android/tester: Add Gatt Client Listen cases 2014-08-04 14:32:49 +03:00
Jakub Tyszkowski
89d188040e android/tester: Add Gatt Client connect cases
This adds gatt connect cases.
2014-08-04 14:32:47 +03:00
Jakub Tyszkowski
3159bc2202 android/tester: Add Gatt Client basic test cases
This adds basic tests for client register, unregister and scan.
2014-08-04 14:32:43 +03:00
Jakub Tyszkowski
744af896a8 android/bluetooth: Fix retriggering the discovery
Previously le device found callback was set every time we triggered the scan
from gatt. But it does no longer work like that. This callback is now set
when gatt profile is registered and should not be used for checking if we
should be retriggering the scan. Expected discovery flag should be
used directly instead.
2014-08-04 14:32:29 +03:00
Lukasz Rymanowski
c8a9069f95 android/bluetooth: Clear auto connect list on startup
In android we add devices to auto connect list when application trigger
connect. We need to make sure that when bluetooth is turn on there is
no devices in auto connect list in the kernel.
2014-08-04 14:28:52 +03:00
Lukasz Rymanowski
ce60a906bd android/gatt: Use kernel auto connect feature if possible 2014-08-04 14:28:51 +03:00
Lukasz Rymanowski
058e62bee2 android/gatt: Refactor trigger connection function.
Refactor code so it is clear what action we take in different connection
states.
2014-08-04 14:28:50 +03:00
Lukasz Rymanowski
c7528eb393 android/bluetooth: Add API to remove device from auto connect list 2014-08-04 14:28:49 +03:00
Lukasz Rymanowski
bd3f985532 android/bluetooth: Add API to add device to auto connect list 2014-08-04 14:28:48 +03:00
Lukasz Rymanowski
a0edc4f8b7 android/bluetooth: Add flag for kernel connection control
This patch set option kernel connection control to TRUE if mgmt interface
is 1.7 or higier. Kernel connect control means that things like
background scan, auto connect or white list are supported by kernel and
can be used by daemon.
2014-08-04 14:28:46 +03:00
Sebastian Chlad
cb9064f3ab android/pts: PTS testing results for SM 2014-08-01 15:15:36 +02:00
Andrei Emeltchenko
22894ef078 android/ipc: Remove unneeded check
rsp_len cannot be NULL since it is checked above and dereferenced.
Remove static analyzers warnings.
2014-08-01 13:30:34 +03:00
Andrei Emeltchenko
30556512d3 android/core: Use g_clear_error instead of free and assignment
g_clear_error() frees err and set it to NULL. This fixes dead code
warnings from analyzers.
2014-08-01 13:29:26 +03:00
Marcel Holtmann
c4577090a6 android: Include avctp.c in build source for btmon 2014-07-31 19:26:05 +02:00
Szymon Janc
a08763daf4 android/pts: Update MPS test results with PTS 5.2 2014-07-31 17:23:59 +02:00
Luiz Augusto von Dentz
d520f7aac6 android/hog: Add support for UHID_FEATURE event 2014-07-31 10:54:57 +03:00
Luiz Augusto von Dentz
6bc6b66892 android/hog: Cache report value
Report value will be used for implementing support for UHID_FEATURE
event.
2014-07-31 10:54:57 +03:00
Szymon Janc
68ba4bc93a android/pts: Update GATT TC_GAW_CL_BV_02 with errata number 2014-07-30 15:36:55 +02:00
Szymon Janc
094cc29f45 android/README: Add tethering fix to recommened Android patch list
This fix random failures when remote is connecting to NAP.
2014-07-30 14:24:43 +02:00
Marcin Kraglak
05236fa2af android/bluetooth: Fix loading LTKs 2014-07-30 12:32:55 +02:00
Marcin Kraglak
c1902726cb android/gatt: Always connect with BT_SEC_LOW security
Set BT_SEC_LOW for all LE connections. Only specific profiles need
higher security, now it is possible to elevate security with public
GATT API.
2014-07-30 12:32:55 +02:00
Marcin Kraglak
e2705e6da4 anroid/hidhost: Set security to MEDIUM after connect
According to spec connection with HoG device should always be
encrypted.
2014-07-30 12:32:44 +02:00