am: 9bca7fc6ce -s ours
am skip reason: change_id I8dd48f11baf92d953ded237204a3c2cd3b58581d with SHA1 06fb6f83eb is in history
Change-Id: I6edc9eaaa3d7b2347a53966e414e96d54efb2df9
am: 6c5e745a97 -s ours
am skip reason: change_id I8dd48f11baf92d953ded237204a3c2cd3b58581d with SHA1 06fb6f83eb is in history
Change-Id: Ic5909baeaa3f2402a05c41d1d431c8c4959e87b7
am: 76cd261ded -s ours
am skip reason: change_id I8dd48f11baf92d953ded237204a3c2cd3b58581d with SHA1 06fb6f83eb is in history
Change-Id: Iada872666709f6b4ca04ddb453d8af93aa6a65b0
1. add test case for testing bypass Private DNS
2. add null network test
3. minor change for cleanup
Bug: 130594022
Test: atest DnsResolverTest
Merged-In: I8dd48f11baf92d953ded237204a3c2cd3b58581d
(cherry picked from commit da665a0a78a2919c3e2edabafec463de3de9ddb7)
Change-Id: Iabb100c51fd80eca5ab0284bc891f4fb98492e8b
am: 5b7166636c -s ours
am skip reason: change_id I3f8456deea2b4ded762a413c8e27b58ce54ce0aa with SHA1 063b4e109e is in history
Change-Id: If1cc3125e345e9141d7e606d281d2e4c70498889
am: 3ea41d799d -s ours
am skip reason: change_id I3f8456deea2b4ded762a413c8e27b58ce54ce0aa with SHA1 063b4e109e is in history
Change-Id: I391234d41861219023d21000d2b316949cfec6ba
am: f5e8bf5b79 -s ours
am skip reason: change_id I3f8456deea2b4ded762a413c8e27b58ce54ce0aa with SHA1 063b4e109e is in history
Change-Id: I2895f11abcbea5fe73ef91b359d8d634af77d810
am: 1d689279e0 -s ours
am skip reason: change_id I3f8456deea2b4ded762a413c8e27b58ce54ce0aa with SHA1 063b4e109e is in history
Change-Id: I7578ec0d99a036eec0d3ac1980fab8583d6588f6
am: d2a0d577f0 -s ours
am skip reason: change_id I3f8456deea2b4ded762a413c8e27b58ce54ce0aa with SHA1 063b4e109e is in history
Change-Id: I7016712b4c6d095ecc9abdaba94ff412844366ac
If kernel < 4.8 then it doesn't support get socket option
TCP_REPAIR_WINDOW, thus TCP keepalive cannot be supported.
However, it might still support NAT-T keepalive. Test TCP
keepalive only if it is supported by kernel.
Bug: 133652079
Test: atest android.net.cts.ConnectivityManagerTest#testMajorMinorVersionCompare \
android.net.cts.ConnectivityManagerTest#testSocketKeepaliveLimit \
android.net.cts.ConnectivityManagerTest#testSocketKeepaliveUnprivileged \
android.net.cts.ConnectivityManagerTest#testKeepaliveUnsupported \
android.net.cts.ConnectivityManagerTest#testCreateTcpKeepalive
Change-Id: I0a3ff07c482bb7c8cb05663678c10afcc0500861
Merged-In: I3f8456deea2b4ded762a413c8e27b58ce54ce0aa
(cherry picked from commit 57d91e6276b50bf0dd78f3643c4a979f584fcf38)
am: 1cb6ce6c04 -s ours
am skip reason: change_id I075b7408d2a1e1145c7a9031075e07fa1db37fed with SHA1 2d99b49651 is in history
Change-Id: I334ece308561c44f46f0a49f077aeb0cb5a0c736
am: b13869c598 -s ours
am skip reason: change_id I075b7408d2a1e1145c7a9031075e07fa1db37fed with SHA1 2d99b49651 is in history
Change-Id: I0264f0781595dfe939009dd9cc86a616a81d2b3b
am: b99373fca6 -s ours
am skip reason: change_id I075b7408d2a1e1145c7a9031075e07fa1db37fed with SHA1 2d99b49651 is in history
Change-Id: Ide7d2084b982f908f2a42747d3ab8117e74b36cf
1. All ConnectivityManagerApi23Test were failed due to
WifiManager#setWifiEnabled doesn't allow to use since
Android Q. So we need to use shell command to enable/disable
Wi-Fi instead.
2. Some methods are duplicated between
ConnectivityManagerApi23Test and ConnectivityManagerTest, but
they are not identical. So put these methods into
ConnectivityUtils to clean up duplications and prevent fork
happened again.
Bug: 133334943
Bug: 133209319
Test: Run the below tests on Crosshatch, Sailfish, Bonito.
atest CtsNetApi23TestCases
atest CtsNetTestCases
Change-Id: Ic37111cb12a46f5c36c2be887250c5d762216f6e
Merged-In: I075b7408d2a1e1145c7a9031075e07fa1db37fed
Merged-In: I0c02357eff07b98c1745de35d08ae6b8349de7fb
Merged-In: I04d1e1d096bcd4a9626cf9f00396fca7f9892a82
1. All ConnectivityManagerApi23Test were failed due to
WifiManager#setWifiEnabled doesn't allow to use since
Android Q. So we need to use shell command to enable/disable
Wi-Fi instead.
2. Some methods are duplicated between
ConnectivityManagerApi23Test and ConnectivityManagerTest, but
they are not identical. So put these methods into
ConnectivityUtils to clean up duplications and prevent fork
happened again.
Bug: 133334943
Bug: 133209319
Test: Run the below tests on Crosshatch, Sailfish, Bonito.
atest CtsNetApi23TestCases
atest CtsNetTestCases
Change-Id: Ic37111cb12a46f5c36c2be887250c5d762216f6e
If kernel < 4.8 then it doesn't support get socket option
TCP_REPAIR_WINDOW, thus TCP keepalive cannot be supported.
However, it might still support NAT-T keepalive. Test TCP
keepalive only if it is supported by kernel.
Bug: 133652079
Test: atest android.net.cts.ConnectivityManagerTest#testMajorMinorVersionCompare \
android.net.cts.ConnectivityManagerTest#testSocketKeepaliveLimit \
android.net.cts.ConnectivityManagerTest#testSocketKeepaliveUnprivileged \
android.net.cts.ConnectivityManagerTest#testKeepaliveUnsupported \
android.net.cts.ConnectivityManagerTest#testCreateTcpKeepalive
Change-Id: I3f8456deea2b4ded762a413c8e27b58ce54ce0aa
1. add test case for testing bypass Private DNS
2. add null network test
3. minor change for cleanup
Bug: 130594022
Test: atest DnsResolverTest
Change-Id: I2da65fc1267a1975e014c0aafe2ae47df075b712
am: 22ef87b7de -s ours
am skip reason: change_id I3babc72dfe72337c4d68facb1695aec15e504c90 with SHA1 4af108aacf is in history
Change-Id: I68829eb351ff4283e29da6208a23b0c1f263bdbf
am: b66b0911c7 -s ours
am skip reason: change_id I3babc72dfe72337c4d68facb1695aec15e504c90 with SHA1 4af108aacf is in history
Change-Id: I417f4e39cbf9788e0aaecc1dbd48e9e6bd3bcc95
am: 00343b0f5b -s ours
am skip reason: change_id I3babc72dfe72337c4d68facb1695aec15e504c90 with SHA1 4af108aacf is in history
Change-Id: I9e29fc84ed9212339a85839c97cd5d4131ae7d3c
am: 0dfb085a03 -s ours
am skip reason: change_id I5bb6de7a07494bd13d069212223691968d4f080e with SHA1 db29b055d9 is in history
Change-Id: Ie03bc15d25b8292212a84790d51449015b247e43
am: cc76120fcc -s ours
am skip reason: change_id I5bb6de7a07494bd13d069212223691968d4f080e with SHA1 db29b055d9 is in history
Change-Id: I5a5c2f5acce645ad11937bd4bcbb86342e7092f1
am: 74e472c995 -s ours
am skip reason: change_id Ia18c6bfe791692f8835b127adf734ce3d2a4ba95 with SHA1 829a040a81 is in history
Change-Id: Icf6c8cfceb7b5d6ddccec35d3f0b26076646ba99
am: ffb91ac365 -s ours
am skip reason: change_id Ia18c6bfe791692f8835b127adf734ce3d2a4ba95 with SHA1 829a040a81 is in history
Change-Id: Iba4435832ffe93b3157dcc610e6ef5005ed5ba64