Commit Graph

1386 Commits

Author SHA1 Message Date
Sudheer Shanka
fd98cbb581 Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours am: 8b0491eb1f am: 8be8d0d6a9 -s ours am: 64c8f23d98 am: a12dbc91c5 am: 4952b4fce2 am: 2d01f2a0de -s ours
am: e33887ac9b

Change-Id: I50ce91739bb506e4ffedec8625dd55dac7a8506e
2017-04-14 18:13:07 +00:00
Sudheer Shanka
e33887ac9b Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours am: 8b0491eb1f am: 8be8d0d6a9 -s ours am: 64c8f23d98 am: a12dbc91c5 am: 4952b4fce2
am: 2d01f2a0de  -s ours

Change-Id: I7558b6f5edb9f702b1d808f535569aa45a537af9
2017-04-14 16:59:39 +00:00
Sudheer Shanka
d4f91db879 Merge "Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours am: bb6a9be084 am: 89195184af am: 0a0b1d2fe6 -s ours am: 8903a0aa04" into oc-dev-plus-aosp
am: f04219bb3a

Change-Id: Iaf1019e0b9dbfa29d8d773eea53074b74e8a014a
2017-04-14 16:38:54 +00:00
Sudheer Shanka
6c9d1baba5 Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours am: bb6a9be084 am: 89195184af am: 0a0b1d2fe6 am: 5e93a23108 -s ours
am: 9830006d01

Change-Id: Ie5144f97f2a8f73f8eaadc1dc2f5f95f833f4cec
2017-04-14 16:38:15 +00:00
Sudheer Shanka
57a22b14e8 Merge "Merge "Merge "Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours" am: 608a3b8f82 -s ours am: 8884bfc2ac -s ours" into nyc-mr2-dev-plus-aosp am: c95fb00d30 -s ours" into oc-dev-plus-aosp
am: ccff2be967

Change-Id: I13a46756d87c7adde9672605c299a49c327f1956
2017-04-14 16:31:57 +00:00
Jocelyn Dang
7e6a4f4309 Merge "Change test to use set-mode cmd." into oc-dev am: f9a022629f
am: 9665fa7f99

Change-Id: I86aa03eacde93b245cd24635ed5fe5258e8739d3
2017-04-14 13:21:11 +00:00
Sudheer Shanka
2d01f2a0de Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours am: 8b0491eb1f am: 8be8d0d6a9 -s ours am: 64c8f23d98 am: a12dbc91c5
am: 4952b4fce2

Change-Id: I1fa9eba17ed720f622284274de7056d9fd4d4d85
2017-04-14 00:43:20 +00:00
Sudheer Shanka
a12dbc91c5 Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours am: 8b0491eb1f am: 8be8d0d6a9 -s ours
am: 64c8f23d98

Change-Id: I1845edbd31e802fffaa6da3407b2a767c2cd7e40
2017-04-14 00:30:45 +00:00
Sudheer Shanka
64c8f23d98 Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours am: 8b0491eb1f
am: 8be8d0d6a9  -s ours

Change-Id: Iac33c3abd87928b5969cf01066d9d770d9a1a10b
2017-04-14 00:24:47 +00:00
Android Build Merger (Role)
f04219bb3a Merge "Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours am: bb6a9be084 am: 89195184af am: 0a0b1d2fe6 -s ours am: 8903a0aa04" into oc-dev-plus-aosp 2017-04-13 23:55:22 +00:00
Sudheer Shanka
457a418157 Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours am: bb6a9be084 am: 89195184af am: 0a0b1d2fe6 -s ours
am: 8903a0aa04

Change-Id: Idae3b46620e31aa51792ab2f4387a80a597ca56a
2017-04-13 23:54:53 +00:00
Sudheer Shanka
9830006d01 Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours am: bb6a9be084 am: 89195184af am: 0a0b1d2fe6
am: 5e93a23108  -s ours

Change-Id: I396de4a6a6b4605d2dadde5116953dcb8dc64a2f
2017-04-13 23:54:45 +00:00
Sudheer Shanka
5e93a23108 Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours am: bb6a9be084 am: 89195184af
am: 0a0b1d2fe6

Change-Id: I40645d179ab9fea74f179052ff27ce309ca5e5a7
2017-04-13 23:49:16 +00:00
Sudheer Shanka
8903a0aa04 Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours am: bb6a9be084 am: 89195184af
am: 0a0b1d2fe6  -s ours

Change-Id: I5d18b543effbf8f4af110bade420d6f67b3965d2
2017-04-13 23:49:15 +00:00
Sudheer Shanka
26d36057bb Merge "Merge "Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours" am: 608a3b8f82 -s ours am: 8884bfc2ac -s ours" into nyc-mr2-dev-plus-aosp
am: c95fb00d30  -s ours

Change-Id: Ifd4c31704739b669fee3ce3eaf5acbcf5b0730d4
2017-04-13 23:45:16 +00:00
Sudheer Shanka
ff4c3f975e Merge "Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours" am: 608a3b8f82 -s ours
am: 8884bfc2ac  -s ours

Change-Id: Ie8faacecf2d8dbe2bc6e1e863ea37395b4df1027
2017-04-13 23:38:17 +00:00
Sudheer Shanka
89195184af Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours
am: bb6a9be084

Change-Id: I19a9896b209bd724b57b7a98098d44c90725089e
2017-04-13 23:37:44 +00:00
Sudheer Shanka
bb6a9be084 Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev
am: 137a9169cf  -s ours

Change-Id: Idf00e79de9ee11e39e6942f7b9d17ebfbf80fa3f
2017-04-13 23:32:26 +00:00
Sudheer Shanka
8be8d0d6a9 Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours
am: 8b0491eb1f

Change-Id: I6df9cff2bdb441d7c7b45dbcef252b195212a929
2017-04-13 23:32:16 +00:00
Android Merger
608a3b8f82 Merge "Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev am: 137a9169cf -s ours" 2017-04-13 23:26:12 +00:00
Sudheer Shanka
8b0491eb1f Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev
am: 43a0aa48b0  -s ours

Change-Id: I7c31558b0102a8464d15121c21402f0de77c8b12
2017-04-13 23:26:10 +00:00
Sudheer Shanka
b383c0373b Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev
am: 137a9169cf  -s ours

Change-Id: Ic97f5a0744e706d343eccf1dd242e4da45893ca8
2017-04-13 23:26:06 +00:00
Android Merger
137a9169cf Merge "Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev am: 43a0aa48b0 -s ours" into nougat-mr1-cts-dev 2017-04-13 23:20:39 +00:00
Sudheer Shanka
12160bc460 Merge "DO NOT MERGE: Skip data saver related tests if the device doesn't support it." into nougat-cts-dev
am: 43a0aa48b0  -s ours

Change-Id: Ibc146b186e9f9de3e6057f6fef1f1e0bbb5e0347
2017-04-13 23:20:32 +00:00
Jocelyn Dang
9665fa7f99 Merge "Change test to use set-mode cmd." into oc-dev
am: f9a022629f

Change-Id: Id088abeb0c930df76e9450414588d2ddea380d60
2017-04-13 18:50:49 +00:00
Jocelyn Dang
f9a022629f Merge "Change test to use set-mode cmd." into oc-dev 2017-04-13 18:38:14 +00:00
Julien Desprez
f63bc23b5f Merge "Update configurations to avoid using ApkInstaller" 2017-04-13 16:45:37 +00:00
Joel Scherpelz
ec78b43105 Merge changes Iac8979df,I3c0a6823 into oc-dev am: 16e262b132
am: c3f8e80b42

Change-Id: Ifb89d8b99bb884191f079d58cd56e2d57e939b86
2017-04-13 09:33:39 +00:00
Joel Scherpelz
c3f8e80b42 Merge changes Iac8979df,I3c0a6823 into oc-dev
am: 16e262b132

Change-Id: I602b468afdab41de50851bc833e5e35bfff1da31
2017-04-13 09:27:41 +00:00
Joel Scherpelz
c805581fc0 Add CTS test to verify router solicitation backoff
Add two new test cases to ConnectivityManagerTest:
testRouterSolicitations()
testRouterSolicitationMaxInterval()

Bug: 33620395
Test: ConnectivityManagerTest CTS test passes with WIFI on/off
Change-Id: Iac8979dfab29ae75343a355d02acfb0f39b491f9
2017-04-13 15:33:28 +09:00
Joel Scherpelz
eb290f96b3 Add CTS to verify RIO min/max prefix length
Add two new test cases to ConnectivityManagerTest:
testAcceptRaRtInfoMinPlen()
testAcceptRaRtInfoMaxPlen()

Bug: 33333670
Test: ConnectivityManagerTest CTS test passes with WIFI on/off
Change-Id: I3c0a6823b6fa75f55f9bb99b59557abeb5b9ac62
2017-04-13 14:42:26 +09:00
Joel Scherpelz
e9cb6d18d9 Merge "Refactor repeated WIFI bringup code in ConnectivityManagerTest" into oc-dev am: 8ab85ba40b
am: 661b828da7

Change-Id: I8d9c1da5753c519d263b6a30331be36f7025d663
2017-04-13 05:41:25 +00:00
Joel Scherpelz
661b828da7 Merge "Refactor repeated WIFI bringup code in ConnectivityManagerTest" into oc-dev
am: 8ab85ba40b

Change-Id: I7f72460220dc493bbcac73f49fc0f2d1187b2c2b
2017-04-13 05:36:24 +00:00
Joel Scherpelz
61b18d0d8e Refactor repeated WIFI bringup code in ConnectivityManagerTest
This is a minor code health change motivated by upcoming additions to
ConnectivityManagerTest. Common code to drive WIFI to a connected state
is now shared along with automatic cleanup code to restore wifi to its
original state in tearDown().

Bug: 33333670
Test: CtsNetTestCases test passes
Change-Id: I62a2748f113650f7a235af3074e33cc0cefe4a3b
(cherry picked from commit 49eaabd72c1a5346750342ffc956c4b903ca532c)
2017-04-13 05:27:51 +00:00
Joel Scherpelz
7381f57b60 Merge "Refactor repeated WIFI bringup code in ConnectivityManagerTest" 2017-04-12 23:54:49 +00:00
Jocelyn Dang
e7d7cd1369 Change test to use set-mode cmd.
Change-Id: I23c0888ba105067f19ebe516ce3fbc6868ed2b17
2017-04-12 15:31:51 -07:00
nharold
3c2389ab37 Merge "Update IpSecAlgorithm CTS for API compliance changes" am: 92e6ed9ce4 am: 932944234b
am: a88faa2939

Change-Id: I6b3ee37c74098934e30970569c3bac2e26f6c759
2017-04-12 20:50:08 +00:00
nharold
a88faa2939 Merge "Update IpSecAlgorithm CTS for API compliance changes" am: 92e6ed9ce4
am: 932944234b

Change-Id: Ic32253601aad616472a6eceb26a51cc7cdd69dba
2017-04-12 18:36:14 +00:00
Joel Scherpelz
f314277a40 Refactor repeated WIFI bringup code in ConnectivityManagerTest
This is a minor code health change motivated by upcoming additions to
ConnectivityManagerTest. Common code to drive WIFI to a connected state
is now shared along with automatic cleanup code to restore wifi to its
original state in tearDown().

Test: CtsNetTestCases test passes
Change-Id: I62a2748f113650f7a235af3074e33cc0cefe4a3b
2017-04-12 14:45:49 +09:00
jdesprez
7b9e244aaa Update configurations to avoid using ApkInstaller
- use the new tradefed version of it.
- add a tests to check configs.

Test: build, run collect-tests-only dry-run
Bug: 37213493
Change-Id: Ia212b707befe3ffc70ef43cbc292e97be3f364f1
2017-04-11 15:45:21 -07:00
Nathan Harold
3c0a040072 Update IpSecAlgorithm CTS for API compliance changes
Bug: 36073210, b/34811227
Test: verified on Bullhead
Change-Id: I8f37016cc9aadafd3e58f6af535bd7bc1d0f4a96
2017-04-11 10:14:09 -07:00
Etan Cohen
4ee2dc4092 Merge "[AWARE] Add CTS tests for publish/subscribe TTL" into oc-dev
am: 697f449f89

Change-Id: Iaa31abcd6d823b19bc9c3ad65bc0a2ac45d4e577
2017-04-06 04:16:08 +00:00
Etan Cohen
697f449f89 Merge "[AWARE] Add CTS tests for publish/subscribe TTL" into oc-dev 2017-04-06 04:11:06 +00:00
Nathan Harold
e7c827e141 Merge "Initial CTS Tests for IpSec Classes" into oc-dev
am: 3f2eeb569a

Change-Id: I478c70f77260403c10ddb17ef11280d6ee1ae954
2017-04-06 01:56:54 +00:00
Nathan Harold
3f2eeb569a Merge "Initial CTS Tests for IpSec Classes" into oc-dev 2017-04-06 01:34:34 +00:00
Peter Qiu
9c7299bacb Merge "wifi: catch UnsupportedOperationException for devices with Passpoint disabled" into oc-dev
am: 3deeed9a45

Change-Id: I3a5963931d2359b51cec75e9a7bac8530c18b785
2017-04-04 02:26:20 +00:00
Peter Qiu
b45c3dc6f1 wifi: catch UnsupportedOperationException for devices with Passpoint disabled
For devices with build config |config_wifi_hotspot2_enabled| set to false
(Passpoint disabled), an UnsupportedOperationException will be thrown
when Passpoint related WifiManager APIs are invoked.  For these devices,
the testing of Passpoint APIs are not relevant. So just catch and ignore
this type of exceptions to avoid any test failures.

While there, set the UpdateIdentifier for Passpoint configurations, to avoid
the CA certificate verification when adding the config, since we're using
a fake CA certificate for testing.

Bug: 36863137
Test: cts-tradefed run cts-dev -m CtsNetTestCases -t android.net.wifi.cts.WifiManagerTest
Change-Id: I8ebdc58349c33f13b510c3d9e2a5fc8ce4ef09c4
2017-04-03 17:27:18 -07:00
Nathan Harold
ea6bd5400a Initial CTS Tests for IpSec Classes
-Test SPI creation, duplication and deletion
-Test IpSecTransform creation, apply to socket, and delete

Bug: 30984788, 34811227
Test: Verified on Bullhead with UDP on IPv6 (default)
Change-Id: I1ffc84e549c7666996472ed323eb44810c3b9843
(cherry picked from commit 4eddc41200c1912b40218d0ee7b0f0cc05c1a960)
2017-04-04 00:16:04 +00:00
nharold
a7eadf8ce6 Merge "Initial CTS Tests for IpSec Classes" am: 9723603f61 am: 04d2387961
am: d9a4cf713f

Change-Id: I4993cf7b19ba8a138b5cf8649203b4fc4bc2818c
2017-04-02 00:33:51 +00:00
nharold
d9a4cf713f Merge "Initial CTS Tests for IpSec Classes" am: 9723603f61
am: 04d2387961

Change-Id: I164ba7d9beadf40b5f22fa02cf7ead25578d86b9
2017-04-02 00:25:40 +00:00