Commit Graph

43971 Commits

Author SHA1 Message Date
Remi NGUYEN VAN
d153afc4ce Merge "Added tests for QosCallback" am: 8ce48fe117 am: f4a7d4130f am: 2b2df6c85b
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1558648

Change-Id: I2de9c412cb217f1972f3e6bc389fb9fbeac68540
2021-06-23 06:32:34 +00:00
Remi NGUYEN VAN
180a00fab9 Merge "Add basic tests for InvalidPacketException" am: eb0a4b41f8 am: b1eee18493 am: 2370c7cdf4
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1742076

Change-Id: I496f4ae9afc8f67e7b656bb0155c2726b621a91a
2021-06-23 06:31:59 +00:00
Luke Huang
107e727906 Merge "Fix the comments from aosp/1719018" am: 0c20c4901f am: 9adee2f105 am: 226281b698
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1729691

Change-Id: I33ee0df81faa88e955ed4c6c5cad8a6d27209fbf
2021-06-23 06:31:48 +00:00
Frank Li
df838b0b04 [automerger skipped] Ignore some ConnectivityManagerTest CTS tests that can't be run in the instant app mode am: e7d085e87d -s ours am: de0b96bbaa -s ours
am skip reason: Merged-In Ice43bcf7a1dc34f4a54fefba7f408767f0a4341e with SHA-1 279a8ee8f7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15068259

Change-Id: Ib0ac2ebd3b81975b569afd54fda4d52e558daa99
2021-06-23 06:31:16 +00:00
Frank Li
c5611b752c [automerger skipped] Ignore some ConnectivityManagerTest CTS tests that can't be run in the instant app mode am: e7d085e87d am: a94b8e1489 -s ours
am skip reason: Merged-In Ice43bcf7a1dc34f4a54fefba7f408767f0a4341e with SHA-1 279a8ee8f7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15068259

Change-Id: I627407377d4e5dc138050dd8cbfeda77dd737661
2021-06-23 06:30:52 +00:00
Remi NGUYEN VAN
2b2df6c85b Merge "Added tests for QosCallback" am: 8ce48fe117 am: f4a7d4130f
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1558648

Change-Id: Ic1e274100986681ac7d203ae6ad424387903e2a2
2021-06-23 06:30:09 +00:00
Remi NGUYEN VAN
2370c7cdf4 Merge "Add basic tests for InvalidPacketException" am: eb0a4b41f8 am: b1eee18493
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1742076

Change-Id: Ia8e3933f3abe69565e1b3e91fa38fff6ce0d36c5
2021-06-23 06:30:05 +00:00
Luke Huang
226281b698 Merge "Fix the comments from aosp/1719018" am: 0c20c4901f am: 9adee2f105
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1729691

Change-Id: I65dd02aacd50acb92d15c76457f8415b0cc8b73e
2021-06-23 06:29:30 +00:00
Remi NGUYEN VAN
f4a7d4130f Merge "Added tests for QosCallback" am: 8ce48fe117
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1558648

Change-Id: I198704f7c5b7d4ad3be292221270b7a41b2dd752
2021-06-23 05:50:54 +00:00
Remi NGUYEN VAN
b1eee18493 Merge "Add basic tests for InvalidPacketException" am: eb0a4b41f8
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1742076

Change-Id: I55c691161abc5571ee59b2b3874540d0d28c06b9
2021-06-23 05:50:44 +00:00
Frank Li
a94b8e1489 Ignore some ConnectivityManagerTest CTS tests that can't be run in the instant app mode am: e7d085e87d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15068259

Change-Id: I20baa5a6730b594679ff558bbf218c478dda1517
2021-06-23 05:45:41 +00:00
Luke Huang
9adee2f105 Merge "Fix the comments from aosp/1719018" am: 0c20c4901f
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1729691

Change-Id: Ia744fbab5b8bb97198861500472127f98185f022
2021-06-23 05:39:32 +00:00
Frank Li
de0b96bbaa [automerger skipped] Ignore some ConnectivityManagerTest CTS tests that can't be run in the instant app mode am: e7d085e87d -s ours
am skip reason: Merged-In Ice43bcf7a1dc34f4a54fefba7f408767f0a4341e with SHA-1 279a8ee8f7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15068259

Change-Id: I47384d702eb620903796184677eb9655c1c8de9b
2021-06-23 05:37:45 +00:00
Remi NGUYEN VAN
8ce48fe117 Merge "Added tests for QosCallback" 2021-06-23 05:34:46 +00:00
Remi NGUYEN VAN
eb0a4b41f8 Merge "Add basic tests for InvalidPacketException" 2021-06-23 05:32:52 +00:00
Luke Huang
0c20c4901f Merge "Fix the comments from aosp/1719018" 2021-06-23 03:36:02 +00:00
Remi NGUYEN VAN
e3f8bf3775 Merge "Move ConnectivityDiagnosticsManagerTest to common" am: ef21082033 am: cb88733c59 am: 5b20059b56
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1742075

Change-Id: I2428ddb4ef86cb5522674b6431d57bdd1cb6367c
2021-06-23 03:23:07 +00:00
Remi NGUYEN VAN
5b20059b56 Merge "Move ConnectivityDiagnosticsManagerTest to common" am: ef21082033 am: cb88733c59
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1742075

Change-Id: I5a0959b0dacbed1662a7852ad8d191cfa57c57e4
2021-06-23 03:11:12 +00:00
Remi NGUYEN VAN
56729c6bf2 [automerger skipped] Merge "Initialize TetheringManager lazily" into sc-dev am: 7579035ac9 -s ours am: a73bc56179 -s ours
am skip reason: Merged-In I2ba7b8f2b9e1c934cfb082776b8d643f2f2c17e5 with SHA-1 e4d1cd970e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15044616

Change-Id: Idb1f64779826f1186cead1154322b239bf24e4e4
2021-06-23 02:52:42 +00:00
Remi NGUYEN VAN
0dee6a6e27 [automerger skipped] Merge "Initialize TetheringManager lazily" into sc-dev am: 7579035ac9 am: 34611d0cf3 -s ours
am skip reason: Merged-In I2ba7b8f2b9e1c934cfb082776b8d643f2f2c17e5 with SHA-1 e4d1cd970e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15044616

Change-Id: Ic79e485f151bc235335dc4a09aa1960638f1cf9f
2021-06-23 02:52:39 +00:00
Remi NGUYEN VAN
cb88733c59 Merge "Move ConnectivityDiagnosticsManagerTest to common" am: ef21082033
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1742075

Change-Id: I865e22887c55fe3faff19476948a5ed75dc05437
2021-06-23 02:48:40 +00:00
Remi NGUYEN VAN
34611d0cf3 Merge "Initialize TetheringManager lazily" into sc-dev am: 7579035ac9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15044616

Change-Id: If37fbd985758dd58de1f9d8619a96a295b2794e3
2021-06-23 02:38:16 +00:00
Remi NGUYEN VAN
a73bc56179 [automerger skipped] Merge "Initialize TetheringManager lazily" into sc-dev am: 7579035ac9 -s ours
am skip reason: Merged-In I2ba7b8f2b9e1c934cfb082776b8d643f2f2c17e5 with SHA-1 e4d1cd970e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15044616

Change-Id: I35a1257b93e6223ecf78442b8426644e204a9eec
2021-06-23 02:37:17 +00:00
Remi NGUYEN VAN
bf44f6200e Add basic tests for InvalidPacketException
The test simply verify the constructor. They only apply on S+ as
InvalidPacketException is not updatable before S.

Bug: 187935317
Test: atest InvalidPacketExceptionTest
Change-Id: I33f1ee1702672204a46063e6e75c3880d5e7600b
2021-06-23 11:33:10 +09:00
Remi NGUYEN VAN
ef21082033 Merge "Move ConnectivityDiagnosticsManagerTest to common" 2021-06-23 02:31:03 +00:00
Frank Li
0938470e45 Merge "Ignore some ConnectivityManagerTest CTS tests that can't be run in the instant app mode" am: a8a7cfd668 am: c4b4635f20 am: 23ccaddf1b
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1743373

Change-Id: I1c44952ea080019f585c5fdedfdf869d02ecfe0c
2021-06-23 02:29:43 +00:00
Paul Hu
10d540cfda Merge "Add ConnectivitySettingsManagerTest" am: 6160d60b2e am: f37dd31334 am: 977a013d10
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1738353

Change-Id: I256f8190b79e98aa969aa913a6f44c27a6774343
2021-06-23 02:29:37 +00:00
Chiachang Wang
ac8579b140 Merge "Provide a way to override the avoid bad wifi configuration" am: 38e8c2c94b am: 4ef85d615b am: 403836f671
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1733788

Change-Id: I729a31ce080f5eb781fe87b71129780ad83b4e85
2021-06-23 02:29:23 +00:00
Remi NGUYEN VAN
e57dc42f14 Merge "Add tests for duplicate PendingIntent requests" am: 307cb41ade am: 98138948fe am: 4b348711de
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1742073

Change-Id: I5ea9c4d9ae864d15ba0e15ce915660535130fb2e
2021-06-23 02:28:02 +00:00
Frank Li
e7d085e87d Ignore some ConnectivityManagerTest CTS tests that can't be run in the instant app mode
1. testIsPrivateDnsBroken: It requires the
   permission:android.permission.WRITE_SECURE_SETTINGS. But the
   WRITE_SECURE_SETTINGS permission can't be granted to instant
   apps.
2. testSetOemNetworkPreferenceForTestOnlyPref: Instant apps can't
   create test networks.
3. testSetOemNetworkPreferenceForTestPref: Instant apps can't
   create test networks.

Bug: 191678254
Bug: 191680108
Test: atest android.net.cts.ConnectivityManagerTest --instant
      atest CtsNetTestCasesLatestSdk:ConnectivityManagerTest --instant
Original-Change: https://android-review.googlesource.com/1743373
Merged-In: Ice43bcf7a1dc34f4a54fefba7f408767f0a4341e
Change-Id: Ice43bcf7a1dc34f4a54fefba7f408767f0a4341e
2021-06-23 02:24:55 +00:00
Remi NGUYEN VAN
7579035ac9 Merge "Initialize TetheringManager lazily" into sc-dev 2021-06-23 02:17:34 +00:00
Frank Li
23ccaddf1b Merge "Ignore some ConnectivityManagerTest CTS tests that can't be run in the instant app mode" am: a8a7cfd668 am: c4b4635f20
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1743373

Change-Id: Id65f442158f67d149bdc14ef7a00cd56db606c9f
2021-06-23 02:08:53 +00:00
Paul Hu
977a013d10 Merge "Add ConnectivitySettingsManagerTest" am: 6160d60b2e am: f37dd31334
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1738353

Change-Id: I239c14543f6948cb729424008054317b28bb9647
2021-06-23 02:08:49 +00:00
Chiachang Wang
403836f671 Merge "Provide a way to override the avoid bad wifi configuration" am: 38e8c2c94b am: 4ef85d615b
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1733788

Change-Id: Ibe05bc988f0020eec8485023c3529bcc1696bd80
2021-06-23 02:08:44 +00:00
Frank Li
c4b4635f20 Merge "Ignore some ConnectivityManagerTest CTS tests that can't be run in the instant app mode" am: a8a7cfd668
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1743373

Change-Id: Id99ab133d4b682cfc77777b63be564c2f5450308
2021-06-23 02:08:39 +00:00
Remi NGUYEN VAN
4b348711de Merge "Add tests for duplicate PendingIntent requests" am: 307cb41ade am: 98138948fe
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1742073

Change-Id: I0246e733e7a33bc4958ebb25948032f3669d1c33
2021-06-23 02:08:35 +00:00
Paul Hu
f37dd31334 Merge "Add ConnectivitySettingsManagerTest" am: 6160d60b2e
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1738353

Change-Id: I7c88e70340aa61cf2e54955bbf3ffad7bb7ccd89
2021-06-23 02:08:33 +00:00
Chiachang Wang
4ef85d615b Merge "Provide a way to override the avoid bad wifi configuration" am: 38e8c2c94b
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1733788

Change-Id: I48af839ba2a8f2e7531aa9a897ad7a1d00f8a676
2021-06-23 02:07:45 +00:00
Frank Li
a8a7cfd668 Merge "Ignore some ConnectivityManagerTest CTS tests that can't be run in the instant app mode" 2021-06-23 01:58:59 +00:00
Remi NGUYEN VAN
98138948fe Merge "Add tests for duplicate PendingIntent requests" am: 307cb41ade
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1742073

Change-Id: I2a628376e38f0ebd363db00710a9499120224416
2021-06-23 01:56:13 +00:00
Paul Hu
6160d60b2e Merge "Add ConnectivitySettingsManagerTest" 2021-06-23 01:36:16 +00:00
Remi NGUYEN VAN
6214f82c04 Added tests for QosCallback
Tests for the newly added QosCallback functionality

Bug: 155176305
Test: Added to cts/NetworkAgentTest
Change-Id: I29769fc8be074a5105bfe4ac34e30980c5f8744a
2021-06-23 09:51:14 +09:00
Chiachang Wang
38e8c2c94b Merge "Provide a way to override the avoid bad wifi configuration" 2021-06-23 00:48:17 +00:00
Lorenzo Colitti
3144e7405e [automerger skipped] Merge changes from topic "connectivity-cts-cherrypicks" into sc-dev am: 77fb999ed0 -s ours am: eb2b4ef80d -s ours
am skip reason: Merged-In I55371fabe0d2fa32a71520af11f18f1eeea31460 with SHA-1 56bc7d4dde is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15057280

Change-Id: If4b5a1fdc4a6656dd831809ebdaf7d3722498706
2021-06-23 00:12:49 +00:00
Junyu Lai
0f1f283baa [automerger skipped] Merge "[SP32] Try to get 1.1 OffloadControl hardware if available" am: 69bc4fede1 am: 1153ba0f83 -s ours am: 19e40714c9 -s ours
am skip reason: Merged-In I6a3ce877cdff2496087b97b191a9bfd5b0792827 with SHA-1 184d458181 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1625680

Change-Id: I0986990cc0a6f54299773146f6b536e31efbe6b4
2021-06-23 00:12:40 +00:00
Lorenzo Colitti
68aa339ff6 [automerger skipped] Merge changes from topic "connectivity-cts-cherrypicks" into sc-dev am: 77fb999ed0 am: 2f329557bd -s ours
am skip reason: Merged-In I55371fabe0d2fa32a71520af11f18f1eeea31460 with SHA-1 56bc7d4dde is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15057280

Change-Id: I5d273cabb28391d5a05844ce2cdd720c53f5b24c
2021-06-22 23:41:21 +00:00
Lucas Lin
df5dbfbf91 [automerger skipped] Add CTS for systemReady() & getIpSecNetIdRange() am: 03a1a97bf9 am: 22d513f17b -s ours
am skip reason: Merged-In I0b286f32389501402e552010546c62f3e56833d6 with SHA-1 b781a94ccf is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/14185507

Change-Id: Ic2e2320370b608a448d59ba6ff225ca325de4835
2021-06-22 23:41:19 +00:00
Lucas Lin
1e5d020cb0 [automerger skipped] Call ConnectivitySettingsUtils to set/get private DNS related settings am: 611bc021e6 am: c948e1e561 -s ours
am skip reason: Merged-In I3272c825b86ec30c3d0bf4097088c653e668461b with SHA-1 8962128a0b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/14728963

Change-Id: I28d3d400da5ae2aa7b9b085223d2c6d486d58f4a
2021-06-22 23:41:17 +00:00
Lucas Lin
4f70b035d8 [automerger skipped] Add CTS for isUidNetworkingBlocked & isUidRestrictedOnMeteredNetworks am: 77cb456671 am: a42cb345fc -s ours
am skip reason: Merged-In Ie6bda8570979b10a28dbeb20f6db7a9c44735964 with SHA-1 0639afa9ca is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15057281

Change-Id: Ied51dba954d4d04376c6b89574617376958e1130
2021-06-22 23:41:15 +00:00
Paul Hu
e4704eb6b5 [automerger skipped] Add test for CSM#[get|set]MobileDataPreferredUids am: e4a2abad44 am: eff0815504 -s ours
am skip reason: Merged-In I43dfb049c271602526fa3e89ebb91219c7785a21 with SHA-1 8c96badb5d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15057278

Change-Id: I28c263757d7e0b2ddd8ae928c53aa45e60fa9d18
2021-06-22 23:41:13 +00:00