Bjoern Johansson
90d7ccec5f
Merge "Skip WifiManager tests if WiFi is not supported" into oc-mr1-dev am: d6b3cb0682
...
am: 1450c12cc3
Change-Id: I6e344a21323d5fdb2205711fe1272e53ef8127c2
2017-08-23 03:07:47 +00:00
Bjoern Johansson
1450c12cc3
Merge "Skip WifiManager tests if WiFi is not supported" into oc-mr1-dev
...
am: d6b3cb0682
Change-Id: Ib3a43925e79cba6406cad7b9bc5a93716ea9e46a
2017-08-23 02:34:18 +00:00
Tobias Thierer
d752d833ca
Add ConnectivityManagerTest for Network.openConnection()
...
Associated CLs are refactoring code that this API relies on, and it's
not currently covered by any tests. This CL adds such a test to
ConnectivityManagerTest.
Test: Ensured that the following passes, and that it also passes when
the early-exit (no WiFi/cellular connection) is removed:
make cts && cts-tradefed run cts -m CtsNetTestCases \
-t android.net.cts.ConnectivityManagerTest
Bug: 64021405
Change-Id: I84806533368fa592b9b8f4c78900542413af6aac
2017-08-21 13:12:42 +01:00
Bjoern Johansson
bd7f2904d9
Skip WifiManager tests if WiFi is not supported
...
Some of the WifiManager tests assumed that WiFi is always supported.
This is not true for all devices, for example the Android emulator, and
is not a requirement in the CDD.
BUG: 37633976
Test: Successfully ran 'run cts -m CtsNetTestCases'
Change-Id: Ia6d62e8d2b6e0b0c2ef2fafd50529e722e4419e4
2017-08-17 17:14:40 -07:00
Sudheer Shanka
4973a2119f
Merge "Merge "Add location permission to netpolicy test app." into oc-mr1-dev am: 97cbea8559" into oc-mr1-dev-plus-aosp
...
am: 4e65b9608a
Change-Id: I999c157da7d004978e3ac51b917d5514eca011c7
2017-08-16 23:44:50 +00:00
Sudheer Shanka
c1887840f0
Merge "Add location permission to netpolicy test app." into oc-mr1-dev
...
am: 97cbea8559
Change-Id: If98dd7fa8426281498ea30ca5310dcf8bf6a6030
2017-08-16 22:22:16 +00:00
Sudheer Shanka
a30a1edf9f
Add location permission to netpolicy test app.
...
As part of the test, wifi ssid needs to be extracted which
is guarded by ACCESS_COARSE_LOCATION permission.
Bug: 64274313
Test: cts-tradefed run singleCommand cts-dev --module CtsHostsideNetworkTests -t \
com.android.cts.net.HostsideRestrictBackgroundNetworkTests
Change-Id: I5c23b11dc1bf26a672bc1454ff1e2594935d43d8
2017-08-16 10:17:59 -07:00
Sudheer Shanka
7fdfa5a9bd
Merge "Add tests to check connectivity during temp-powersave-whitelist changes."
2017-08-11 01:36:20 +00:00
shreerag
2e03f5ab8b
Merge "No longer using specific watch device idle settings" into oc-dev am: 8bde47ae82 am: eb2c021f93
...
am: 94206d5cad
Change-Id: I792e119f426dc61d3e1db73ecfcb040e9834fd81
2017-08-10 00:34:09 +00:00
shreerag
f4626a7706
Merge "No longer using specific watch device idle settings" into oc-dev am: 8bde47ae82 am: 940696d63a
...
am: be05af9c47
Change-Id: I71e87666a001ad2016ab29e3f6171220ffe91fdd
2017-08-10 00:33:05 +00:00
shreerag
290cc9306c
Merge "No longer using specific watch device idle settings" into oc-dev am: 8bde47ae82 am: eb2c021f93
...
am: 7f06181c86
Change-Id: I62853fa85e71861b0055fea94c41d34d6a69f28b
2017-08-10 00:13:58 +00:00
shreerag
7f06181c86
Merge "No longer using specific watch device idle settings" into oc-dev am: 8bde47ae82
...
am: eb2c021f93
Change-Id: Iff4af17accb81c3111c0a7517dfcb295858ad48f
2017-08-10 00:05:26 +00:00
shreerag
94206d5cad
Merge "No longer using specific watch device idle settings" into oc-dev am: 8bde47ae82
...
am: eb2c021f93
Change-Id: I3fd66311bb7f1c7a74d7f8e7b1e2c0ea8aec5325
2017-08-10 00:05:26 +00:00
shreerag
be05af9c47
Merge "No longer using specific watch device idle settings" into oc-dev am: 8bde47ae82
...
am: 940696d63a
Change-Id: Ic40011c3146b46249fe5da15d857e353aed55f40
2017-08-10 00:03:01 +00:00
shreerag
eb2c021f93
Merge "No longer using specific watch device idle settings" into oc-dev
...
am: 8bde47ae82
Change-Id: I46f8f4bdfea7ae4f75119226cbaa100365a260db
2017-08-09 23:58:26 +00:00
shreerag
940696d63a
Merge "No longer using specific watch device idle settings" into oc-dev
...
am: 8bde47ae82
Change-Id: I04c8d9b4897cbd9ae4c2ae21439ae3d8ca0024a0
2017-08-09 23:58:26 +00:00
TreeHugger Robot
8bde47ae82
Merge "No longer using specific watch device idle settings" into oc-dev
2017-08-09 23:44:19 +00:00
Lorenzo Colitti
23b073cfbd
Merge "Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42 am: 929efe5914 am: c324d8efcc am: 8331ccda31" into oc-mr1-dev
...
am: d076dcef88
Change-Id: I82988135dac1460f5a729654b18eb694faa3ea4a
2017-08-09 17:22:45 +00:00
Lorenzo Colitti
b0a7fc43f3
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42 am: 929efe5914 am: c324d8efcc
...
am: 8331ccda31
Change-Id: I4b68b8229a71b49a65ed519e0239fa6ffbf85105
2017-08-09 17:16:19 +00:00
Lorenzo Colitti
8356bc0f9b
Merge "Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42 am: 929efe5914 am: c324d8efcc am: 1a81908450" into oc-dr1-dev-plus-aosp
...
am: 172b195839
Change-Id: Icbd1c867a1376434b953caef8d1381dfc1ef96be
2017-08-09 17:11:34 +00:00
Lorenzo Colitti
04b7d7f437
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42 am: 929efe5914 am: c324d8efcc am: 8331ccda31
...
am: 9448a9e068
Change-Id: Ie49b8124abb598c23c3cc91a3c24f351060bc88e
2017-08-09 17:10:18 +00:00
Android Build Merger (Role)
172b195839
Merge "Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42 am: 929efe5914 am: c324d8efcc am: 1a81908450" into oc-dr1-dev-plus-aosp
2017-08-09 17:05:50 +00:00
Lorenzo Colitti
9448a9e068
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42 am: 929efe5914 am: c324d8efcc
...
am: 8331ccda31
Change-Id: Idf7e9ee21313af8602dbb0ebc8ca2541c58dbaf2
2017-08-09 17:04:55 +00:00
Lorenzo Colitti
8ac9ae64a7
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42 am: 929efe5914 am: c324d8efcc
...
am: 1a81908450
Change-Id: I6fe058367a1f525118b317a542106068927451e3
2017-08-09 17:04:55 +00:00
Lorenzo Colitti
ac17521f0f
Merge "Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9" am: 1e524c5db2 am: ad86c0342e am: 62cc540c27
...
am: dd9617a6a7
Change-Id: I875a6b867a384cd005d8012623c762065dea427b
2017-08-09 16:58:46 +00:00
Lorenzo Colitti
1a81908450
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42 am: 929efe5914
...
am: c324d8efcc
Change-Id: I02df380f6e8c8b550e4b02f3e50592c187f47987
2017-08-09 16:53:48 +00:00
Lorenzo Colitti
8331ccda31
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42 am: 929efe5914
...
am: c324d8efcc
Change-Id: I2d471b52d69e8af0eae9e0548f58afeeabff9f3f
2017-08-09 16:53:47 +00:00
Lorenzo Colitti
dd9617a6a7
Merge "Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9" am: 1e524c5db2 am: ad86c0342e
...
am: 62cc540c27
Change-Id: I91d5379a7c92fc4c4e602c33858d37c8747f77dd
2017-08-09 16:53:25 +00:00
Lorenzo Colitti
c324d8efcc
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9 am: 80c62eb79b am: d4df358e42
...
am: 929efe5914
Change-Id: Id08eca6a250dee0c809267b7e3c79b9bb7170f3b
2017-08-09 16:47:20 +00:00
Lorenzo Colitti
62cc540c27
Merge "Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9" am: 1e524c5db2
...
am: ad86c0342e
Change-Id: Ib57c68207e2f9f2cdecefb460f4d3731da04d858
2017-08-09 16:47:16 +00:00
Lorenzo Colitti
ad86c0342e
Merge "Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9"
...
am: 1e524c5db2
Change-Id: Ib08acc8676e4af904b7efd8a77cce40dc5b5b218
2017-08-09 16:36:01 +00:00
Lorenzo Colitti
d4df358e42
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9
...
am: 80c62eb79b
Change-Id: Iee5219bc701a3049340d49f4fb33cc1340325957
2017-08-09 16:35:45 +00:00
Lorenzo Colitti
80c62eb79b
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev
...
am: bfabfe75f9
Change-Id: If02ea4f12870acb3e5e1bce9e9ddbc42c0fd05f0
2017-08-09 16:29:49 +00:00
Android Merger
1e524c5db2
Merge "Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev am: bfabfe75f9"
2017-08-09 16:24:14 +00:00
Lorenzo Colitti
9196e62bb2
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev
...
am: bfabfe75f9
Change-Id: Icc52afe2baab268e8acc362787b2e13aa0349485
2017-08-09 16:24:03 +00:00
Treehugger Robot
bfabfe75f9
Merge "Dup fds to stop finalizers from invalidating them." into nougat-mr1-cts-dev
2017-08-09 16:17:22 +00:00
shreerag
f99d8d82b4
No longer using specific watch device idle settings
...
Bug: 28091250
Change-Id: Id57c5a638f5a10367d13f6353ea3212745a3f06e
2017-08-07 23:40:25 +00:00
Sudheer Shanka
6a001974c4
Add tests to check connectivity during temp-powersave-whitelist changes.
...
Bug: 30568426
Test: bit CtsHostsideNetworkTests:com.android.cts.net.HostsideRestrictBackgroundNetworkTests
Change-Id: Ic0ffd29c5e0d5f11bec229ecdf5fd8c55fef1478
2017-08-04 15:44:32 -07:00
Etan Cohen
086146d581
Merge "Merge "[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi" into oc-dev am: ba16d61c91 am: 9cf74ade23" into oc-dr1-dev-plus-aosp
...
am: 00cdda008d
Change-Id: I4bad37c4f8b43bc1f4af8d517b619dff6c4c6006
2017-07-29 20:24:15 +00:00
Android Build Merger (Role)
16cc47bed8
Merge "Merge "[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi" into oc-dev am: ba16d61c91 am: 9cf74ade23 am: c4043aebc6" into oc-mr1-dev-plus-aosp
2017-07-29 20:22:49 +00:00
Etan Cohen
15396fe19a
Merge "[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi" into oc-dev am: ba16d61c91 am: daf01a0a1f
...
am: 08cfd4e236
Change-Id: I89e1a425b1d5695ec04807baf750150d33d95727
2017-07-29 20:21:46 +00:00
Android Build Merger (Role)
00cdda008d
Merge "Merge "[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi" into oc-dev am: ba16d61c91 am: 9cf74ade23" into oc-dr1-dev-plus-aosp
2017-07-29 20:17:41 +00:00
Etan Cohen
c4043aebc6
Merge "[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi" into oc-dev am: ba16d61c91
...
am: 9cf74ade23
Change-Id: I39b679393d97288ac80eb73ca22f63466bc85a9e
2017-07-29 20:16:46 +00:00
Etan Cohen
08cfd4e236
Merge "[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi" into oc-dev am: ba16d61c91
...
am: daf01a0a1f
Change-Id: I460e11e330cf024b01e4b301c2f0761479d273b9
2017-07-29 20:16:46 +00:00
Etan Cohen
7e96f0684d
Merge "[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi" into oc-dev am: ba16d61c91
...
am: 9cf74ade23
Change-Id: I89d40438e56918ce41ff0b0645fdfaa453b9bc40
2017-07-29 20:16:45 +00:00
Etan Cohen
9cf74ade23
Merge "[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi" into oc-dev
...
am: ba16d61c91
Change-Id: Iaee56d95f394116b731e8092ad2507eb113bb50c
2017-07-29 20:11:16 +00:00
Etan Cohen
daf01a0a1f
Merge "[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi" into oc-dev
...
am: ba16d61c91
Change-Id: I40dce2dfc27cb8cbbbbc61bf19f12d096a469d55
2017-07-29 20:11:16 +00:00
Etan Cohen
ba1f56050f
[AWARE][CTS] Check for location setting for test needing to disable Wi-Fi
...
Disabling Wi-Fi API which is available to CTS only disables the
infrastructure mode (association to an AP). This disables the Wi-Fi
chip (HAL/driver/firmware) only if location scanning is disabled,
otherwise the chip is still enabled.
The failing CTS Wi-Fi Aware test relied on disabling the Wi-Fi chip.
This cannot be done from CTS. Added a check for location scan setting
and skip the test if enabled.
Cannot fail and require the tester to disable location scans since other
CTS tests require it to be enabled.
Bug: 64125460
Test: run cts with and without location scans
Change-Id: I0582926dbf854c14b57dcdeb383db9b5f2a353a2
2017-07-28 22:30:33 +00:00
Chenbo Feng
526e6ca600
Merge "Add test to check sock addr in qtaguid ctrl file" into oc-dr1-dev am: c27e548346
...
am: c50605ed51
Change-Id: Ic5ac97d78af2d25cb9e35ee3cf82695fa64aaed6
2017-07-19 00:29:21 +00:00
Chenbo Feng
a6d4fe32f6
Merge "Rename the native test file" into oc-dr1-dev am: f00fd5886b
...
am: 9357731f9e
Change-Id: Idc8516cab9271cb2349ddf61a1e45b3866f52f1a
2017-07-19 00:28:27 +00:00