Commit Graph

5882 Commits

Author SHA1 Message Date
Lorenzo Colitti
5cd251ba4a Merge "Update DnsPacket package name" into rvc-dev am: 7703986e4c am: 946b09bb5c am: 19ed0f05f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863010

Change-Id: I064cde8ea8e3738ad7b89f5060de8e30b3c585ed
2020-06-18 11:04:23 +00:00
Lorenzo Colitti
19ed0f05f2 Merge "Update DnsPacket package name" into rvc-dev am: 7703986e4c am: 946b09bb5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863010

Change-Id: I3327b1c9ee8c426033f5e03c90d03210a86167fd
2020-06-18 10:47:59 +00:00
Lorenzo Colitti
946b09bb5c Merge "Update DnsPacket package name" into rvc-dev am: 7703986e4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863010

Change-Id: I166a083b41e7a7ccb5206e0c332ae0a77825f42a
2020-06-18 10:34:11 +00:00
Lorenzo Colitti
7703986e4c Merge "Update DnsPacket package name" into rvc-dev 2020-06-18 10:14:47 +00:00
Cody Kesting
784a0b55cf Only run ConnectivityDiagnosticsManagerTest as AppModeFull. am: 7c9d2128de am: 286a433d78 am: 7cd874fe2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11904000

Change-Id: I8ea26a6b773ee7db4dac376ac09b32854d239b74
2020-06-18 07:03:35 +00:00
Cody Kesting
7cd874fe2b Only run ConnectivityDiagnosticsManagerTest as AppModeFull. am: 7c9d2128de am: 286a433d78
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11904000

Change-Id: I578364e32d76e94546e317b8e3518574f1bcb6d6
2020-06-18 06:46:12 +00:00
Cody Kesting
286a433d78 Only run ConnectivityDiagnosticsManagerTest as AppModeFull. am: 7c9d2128de
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11904000

Change-Id: Ia6830bfbb3c15fa04553433c8320eb0a79b3a299
2020-06-18 06:27:23 +00:00
Cody Kesting
7c9d2128de Only run ConnectivityDiagnosticsManagerTest as AppModeFull.
This CL restricts ConnectivityDiagnosticsManagerTest to only being run
as @AppModeFull. This is required, as Instant Apps are not allowed
CHANGE_NETWORK_STATE (required for CM#requestNetwork) or
MANAGE_TEST_NETWORKS (required for TestNetworkManager#setupTestNetwork)
permissions - both of which are required for
ConnectivityDiagnosticsManagerTest.

Bug: 158431112
Test: atest android.net.cts.ConnectivityDiagnosticsManagerTest
Change-Id: Id867b8dcaca758cfeb83009848e1099e900a0790
2020-06-18 13:38:00 +09:00
Luke Huang
8f3a1b5091 Update DnsPacket package name
The package name needs to be updated as
the class is moved into com.android.net.module.util.

Bug: 149403767
Test: atest DnsResolverTest
Change-Id: I908cb5f7bc6150e461748c8e34c92a19aa0206e4
2020-06-18 03:27:27 +00:00
TreeHugger Robot
524f8f05b9 [automerger skipped] Merge "Verify owner of IKEv2 VPNs" into rvc-dev am: 8badddb04d -s ours am: 5ec4c0ebce -s ours am: 0fb16e2931 -s ours
am skip reason: Change-Id Iabf2859c289aa86ec38aea1edcc1fb248b9d0d26 with SHA-1 9d1f86f3a8 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11876501

Change-Id: I27a8838e14e11295826fb22e203a74137e214d89
2020-06-17 16:07:09 +00:00
TreeHugger Robot
0fb16e2931 [automerger skipped] Merge "Verify owner of IKEv2 VPNs" into rvc-dev am: 8badddb04d -s ours am: 5ec4c0ebce -s ours
am skip reason: Change-Id Iabf2859c289aa86ec38aea1edcc1fb248b9d0d26 with SHA-1 9d1f86f3a8 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11876501

Change-Id: Idd40c884984b155eab71eeeae8f3d20f773b6323
2020-06-17 15:48:44 +00:00
TreeHugger Robot
5ec4c0ebce [automerger skipped] Merge "Verify owner of IKEv2 VPNs" into rvc-dev am: 8badddb04d -s ours
am skip reason: Change-Id Iabf2859c289aa86ec38aea1edcc1fb248b9d0d26 with SHA-1 9d1f86f3a8 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11876501

Change-Id: I35aecabe6bfc78de6b59f04f4bba16ce78e0b15c
2020-06-17 15:35:35 +00:00
TreeHugger Robot
8badddb04d Merge "Verify owner of IKEv2 VPNs" into rvc-dev 2020-06-17 15:26:22 +00:00
TreeHugger Robot
63eb931f6d [automerger skipped] Merge "Toggle wifi when running CaptivePortalTest" into rvc-dev am: 3cc6da3e61 -s ours am: 1e1e07e884 -s ours am: 16f9ef4fca -s ours
am skip reason: Change-Id I31f9f4a9678e11042005c29535af840246358764 with SHA-1 ec38685a7f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863009

Change-Id: I95e97ee740f3862e42f6f4ef0b2c01afd770210e
2020-06-16 09:48:18 +00:00
TreeHugger Robot
14f9ea6b2c [automerger skipped] Merge "Toggle wifi when running CaptivePortalTest" into rvc-dev am: 3cc6da3e61 am: 0a6db8a062 -s ours am: 69be16212d -s ours
am skip reason: Change-Id I31f9f4a9678e11042005c29535af840246358764 with SHA-1 fa761d5917 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863009

Change-Id: I0d8bfca295b67ea7f4dd0d1d6b0b2f28b8beca7a
2020-06-16 09:47:16 +00:00
TreeHugger Robot
16f9ef4fca [automerger skipped] Merge "Toggle wifi when running CaptivePortalTest" into rvc-dev am: 3cc6da3e61 -s ours am: 1e1e07e884 -s ours
am skip reason: Change-Id I31f9f4a9678e11042005c29535af840246358764 with SHA-1 ec38685a7f is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863009

Change-Id: I0a0541948c74af7e76ae25fa7c8a69f45323194c
2020-06-16 09:44:47 +00:00
TreeHugger Robot
69be16212d [automerger skipped] Merge "Toggle wifi when running CaptivePortalTest" into rvc-dev am: 3cc6da3e61 am: 0a6db8a062 -s ours
am skip reason: Change-Id I31f9f4a9678e11042005c29535af840246358764 with SHA-1 fa761d5917 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863009

Change-Id: I9eb47e31b6f740d3ee20ea0510ea1ab383d5960b
2020-06-16 09:38:22 +00:00
TreeHugger Robot
1e1e07e884 [automerger skipped] Merge "Toggle wifi when running CaptivePortalTest" into rvc-dev am: 3cc6da3e61 -s ours
am skip reason: Change-Id I31f9f4a9678e11042005c29535af840246358764 with SHA-1 fa761d5917 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863009

Change-Id: I00d4a6bc63ff9489a732d404769018bd69b031bc
2020-06-16 09:25:56 +00:00
TreeHugger Robot
0a6db8a062 Merge "Toggle wifi when running CaptivePortalTest" into rvc-dev am: 3cc6da3e61
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863009

Change-Id: I63be8cdebe4b8ba19251600a12b02a496384fe13
2020-06-16 09:23:18 +00:00
TreeHugger Robot
3cc6da3e61 Merge "Toggle wifi when running CaptivePortalTest" into rvc-dev 2020-06-16 09:09:17 +00:00
Treehugger Robot
ec38685a7f Toggle wifi when running CaptivePortalTest
Instead of reconnecting without disabling/re-enabling wifi in
CaptivePortalTest, actually do the toggle during the test and
on teardown to ensure that the BSSID blacklist is cleared.

CaptivePortalTest intentionally makes the network not validate, which
causes it to be added to the BSSID blacklist. Toggling wifi is necessary
to make sure the test does not affect other tests.

Also check development SDK instead of the exact SDK_INT number so that
the test can pass on current AOSP builds.

Bug: 158924461
Test: atest CtsNetTestCasesLatestSdk:CaptivePortalTest \
          CtsNetTestCasesLatestSdk:ConnectivityManagerTest
Original-Change: https://android-review.googlesource.com/1336114
Merged-In: I31f9f4a9678e11042005c29535af840246358764
Change-Id: I31f9f4a9678e11042005c29535af840246358764
2020-06-16 16:53:25 +09:00
Treehugger Robot
a1c99d2018 Merge "Toggle wifi when running CaptivePortalTest" am: 1ae290c1a6 am: 5f38f3067d am: 909eeeed43 am: 73f9a5063b
Original change: https://android-review.googlesource.com/c/platform/cts/+/1336114

Change-Id: I9dbe69849821a4e5d0143e26a9e7e42be2fbac23
2020-06-16 01:44:32 +00:00
Benedict Wong
21bf8ba8e7 Verify owner of IKEv2 VPNs
This change adds assertions to ensure that the owner UIDs of IKEv2 VPNs
are correctly set.

Bug: 150135470
Test: This
Merged-In: Iabf2859c289aa86ec38aea1edcc1fb248b9d0d26
Change-Id: Iabf2859c289aa86ec38aea1edcc1fb248b9d0d26
(cherry picked from commit 30234827aa24716062a23f28b1effc59e9ef46de)
2020-06-16 01:43:34 +00:00
Treehugger Robot
73f9a5063b Merge "Toggle wifi when running CaptivePortalTest" am: 1ae290c1a6 am: 5f38f3067d am: 909eeeed43
Original change: https://android-review.googlesource.com/c/platform/cts/+/1336114

Change-Id: Ie296e013b970c43ac3bd9d79be97c55b844ab49e
2020-06-16 01:29:50 +00:00
Treehugger Robot
909eeeed43 Merge "Toggle wifi when running CaptivePortalTest" am: 1ae290c1a6 am: 5f38f3067d
Original change: https://android-review.googlesource.com/c/platform/cts/+/1336114

Change-Id: Id369a526b18d70fdb72a5dcaf12092d6085efe27
2020-06-16 01:16:18 +00:00
Treehugger Robot
5f38f3067d Merge "Toggle wifi when running CaptivePortalTest" am: 1ae290c1a6
Original change: https://android-review.googlesource.com/c/platform/cts/+/1336114

Change-Id: I4a878a7d328a7a001355e092b81e1e3635dcb853
2020-06-16 00:59:52 +00:00
Treehugger Robot
1ae290c1a6 Merge "Toggle wifi when running CaptivePortalTest" 2020-06-16 00:43:07 +00:00
Benedict Wong
b27aadc00e Merge "Verify owner of IKEv2 VPNs" am: a330e50192 am: 7f63ec96d9 am: ed0ddfc96c am: 8324c6660c
Original change: https://android-review.googlesource.com/c/platform/cts/+/1326393

Change-Id: Icbf6df62f6ec06d7bbe3198af539b20e58d48bb7
2020-06-15 17:44:11 +00:00
Benedict Wong
8324c6660c Merge "Verify owner of IKEv2 VPNs" am: a330e50192 am: 7f63ec96d9 am: ed0ddfc96c
Original change: https://android-review.googlesource.com/c/platform/cts/+/1326393

Change-Id: I7a2f5903cf6e5e99f230963c932266a2147bea15
2020-06-15 17:38:17 +00:00
Benedict Wong
ed0ddfc96c Merge "Verify owner of IKEv2 VPNs" am: a330e50192 am: 7f63ec96d9
Original change: https://android-review.googlesource.com/c/platform/cts/+/1326393

Change-Id: Ib77195b5116622e42730d1e25ed48c3fcbbeaa36
2020-06-15 17:33:32 +00:00
Automerger Merge Worker
418c86df16 Merge "[automerger skipped] Merge "Fix tests that failed on devices without IPsec tunnel feature" into rvc-dev am: 91e4a69abe am: b12f23f68a -s ours" into rvc-d1-dev-plus-aosp am: d40742b7fb -s ours
am skip reason: Change-Id I9a8c7f631f0e6e02492816e3fbf0d751017dc2b3 with SHA-1 dfd08cab51 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11813719

Change-Id: Idd289cb516297e231c4c9c8b86ab91a574c2407e
2020-06-15 17:30:22 +00:00
Yan Yan
c014e8c450 [automerger skipped] Merge "Fix tests that failed on devices without IPsec tunnel feature" into rvc-dev am: 91e4a69abe -s ours am: 5cf96925d2 -s ours am: b3bf07b6b3 -s ours
am skip reason: Change-Id I9a8c7f631f0e6e02492816e3fbf0d751017dc2b3 with SHA-1 ce3c9ae278 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11813719

Change-Id: I0823a523f0c44b30b6db04ab21bc466d2b4b1d25
2020-06-15 17:30:15 +00:00
Automerger Merge Worker
d40742b7fb Merge "[automerger skipped] Merge "Fix tests that failed on devices without IPsec tunnel feature" into rvc-dev am: 91e4a69abe am: b12f23f68a -s ours" into rvc-d1-dev-plus-aosp 2020-06-15 17:19:05 +00:00
Yan Yan
e68a74ad49 [automerger skipped] Merge "Fix tests that failed on devices without IPsec tunnel feature" into rvc-dev am: 91e4a69abe am: b12f23f68a -s ours
am skip reason: Change-Id I9a8c7f631f0e6e02492816e3fbf0d751017dc2b3 with SHA-1 ce3c9ae278 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11813719

Change-Id: Ie657ef6aca17b9af21b7eee1e3ef3df4fffeaea0
2020-06-15 17:18:59 +00:00
Yan Yan
b3bf07b6b3 [automerger skipped] Merge "Fix tests that failed on devices without IPsec tunnel feature" into rvc-dev am: 91e4a69abe -s ours am: 5cf96925d2 -s ours
am skip reason: Change-Id I9a8c7f631f0e6e02492816e3fbf0d751017dc2b3 with SHA-1 ce3c9ae278 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11813719

Change-Id: Ic1bdae74c4307f46feae04a4de951520d436a9cf
2020-06-15 17:18:57 +00:00
Benedict Wong
7f63ec96d9 Merge "Verify owner of IKEv2 VPNs" am: a330e50192
Original change: https://android-review.googlesource.com/c/platform/cts/+/1326393

Change-Id: Ia3e9f26c6e28fa02b25b3098fbda98c2bf07c2bf
2020-06-15 17:18:15 +00:00
Benedict Wong
a330e50192 Merge "Verify owner of IKEv2 VPNs" 2020-06-15 17:09:46 +00:00
Yan Yan
b12f23f68a Merge "Fix tests that failed on devices without IPsec tunnel feature" into rvc-dev am: 91e4a69abe
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11813719

Change-Id: I9a472d7fb0610439f6d753bb22f302a1d754fd50
2020-06-15 17:05:11 +00:00
Yan Yan
5cf96925d2 [automerger skipped] Merge "Fix tests that failed on devices without IPsec tunnel feature" into rvc-dev am: 91e4a69abe -s ours
am skip reason: Change-Id I9a8c7f631f0e6e02492816e3fbf0d751017dc2b3 with SHA-1 ce3c9ae278 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11813719

Change-Id: I4379b1f57e74d5cb10dbabf57c6245c73a8b7c29
2020-06-15 17:05:09 +00:00
Yan Yan
91e4a69abe Merge "Fix tests that failed on devices without IPsec tunnel feature" into rvc-dev 2020-06-15 17:03:23 +00:00
Automerger Merge Worker
4cb05468ee Merge "[automerger skipped] Fix CtsTetheringTest on devices without permanent softAp interfaces. am: 3abe36567c -s ours am: b49bc69af3 -s ours am: e7cf109b3e -s ours" into rvc-qpr-dev-plus-aosp 2020-06-15 14:11:48 +00:00
Automerger Merge Worker
7178cff10a Merge "[automerger skipped] Fix CtsTetheringTest on devices without permanent softAp interfaces. am: 3abe36567c am: ef7d1e44ca am: a3331299ce -s ours" into rvc-qpr-dev-plus-aosp 2020-06-15 14:11:45 +00:00
Treehugger Robot
5050b6542c [automerger skipped] Fix CtsTetheringTest on devices without permanent softAp interfaces. am: 3abe36567c -s ours am: b49bc69af3 -s ours am: e7cf109b3e -s ours
am skip reason: Change-Id I0ba6bc9dcbf7829dcad5561c707d5f5c5540f10b with SHA-1 3abe36567c is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863001

Change-Id: Ia5bd2eb0c467e7757e62d66fea938e3950bd8f96
2020-06-15 14:11:44 +00:00
Treehugger Robot
99793f255e [automerger skipped] Fix CtsTetheringTest on devices without permanent softAp interfaces. am: 3abe36567c am: ef7d1e44ca am: a3331299ce -s ours
am skip reason: Change-Id I0ba6bc9dcbf7829dcad5561c707d5f5c5540f10b with SHA-1 24d8b8391e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863001

Change-Id: Iaf3c713a9f8d399589e18bfd8fc2f541bd89e9bb
2020-06-15 14:11:38 +00:00
Treehugger Robot
345750862b [automerger skipped] Fix CtsTetheringTest on devices without permanent softAp interfaces. am: 3abe36567c am: ef7d1e44ca -s ours am: cd011d8048 -s ours
am skip reason: Change-Id I0ba6bc9dcbf7829dcad5561c707d5f5c5540f10b with SHA-1 24d8b8391e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863001

Change-Id: I2afd39c9b7ff6e3d8343407448e5040fe60ac9b4
2020-06-15 14:11:32 +00:00
Treehugger Robot
e7cf109b3e [automerger skipped] Fix CtsTetheringTest on devices without permanent softAp interfaces. am: 3abe36567c -s ours am: b49bc69af3 -s ours
am skip reason: Change-Id I0ba6bc9dcbf7829dcad5561c707d5f5c5540f10b with SHA-1 24d8b8391e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863001

Change-Id: Iee403b18ad68d5e1cb314abfc8f0e29f30fb6000
2020-06-15 13:58:50 +00:00
Treehugger Robot
cd011d8048 [automerger skipped] Fix CtsTetheringTest on devices without permanent softAp interfaces. am: 3abe36567c am: ef7d1e44ca -s ours
am skip reason: Change-Id I0ba6bc9dcbf7829dcad5561c707d5f5c5540f10b with SHA-1 24d8b8391e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863001

Change-Id: I0c9aad45309fa76f3945549ee8a1bed50d60f20f
2020-06-15 13:58:42 +00:00
Treehugger Robot
ef7d1e44ca Fix CtsTetheringTest on devices without permanent softAp interfaces. am: 3abe36567c
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863001

Change-Id: Ic930dd7826e5ba1169374c278dc67ea4fa799447
2020-06-15 13:47:29 +00:00
Treehugger Robot
b49bc69af3 [automerger skipped] Fix CtsTetheringTest on devices without permanent softAp interfaces. am: 3abe36567c -s ours
am skip reason: Change-Id I0ba6bc9dcbf7829dcad5561c707d5f5c5540f10b with SHA-1 24d8b8391e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11863001

Change-Id: I59264cbfcd41a0e5382a41ba6cbb1096cfcea15e
2020-06-15 13:47:27 +00:00
TreeHugger Robot
a8af6b2389 Merge "Bump CtsNetTestCasesLatestSdk to target SDK 30." into rvc-dev am: d69d28f755 am: 6c56cf06e3 am: b857d32541
Original change: https://googleplex-android-review.googlesource.com/c/platform/cts/+/11850382

Change-Id: I15ea442b8b3701ca16e0c22710d629c6d2e55095
2020-06-15 12:17:15 +00:00