am: af6bebe59d -s ours
am skip reason: change_id If6fa359825aa9d1f7d4c8d49aba7a34925c073ed with SHA1 d8a36dd745 is in history
Change-Id: Idc5a658c9ba368e295bf7050fe1d623bbfbe59c8
am: 25c811a9e1 -s ours
am skip reason: change_id If6fa359825aa9d1f7d4c8d49aba7a34925c073ed with SHA1 ee4eb2f35b is in history
Change-Id: I0c7ecbe3c7e90e8062ce26f48b4e30e186d72a52
am: 589790e7a2 -s ours
am skip reason: change_id If6fa359825aa9d1f7d4c8d49aba7a34925c073ed with SHA1 ee4eb2f35b is in history
Change-Id: Idafcf565acde01fcafe65a1dcf4ed2f1c5e8104a
am: abf6347714 -s ours
am skip reason: change_id If6fa359825aa9d1f7d4c8d49aba7a34925c073ed with SHA1 ee4eb2f35b is in history
Change-Id: Iccea2b24c45ee015891d5bc11221f82701fee766
am: 5c6f115514 -s ours
am skip reason: change_id If6fa359825aa9d1f7d4c8d49aba7a34925c073ed with SHA1 ee4eb2f35b is in history
Change-Id: Ia9261fefe426c1ea1c73f4341b85dac13ecf6f1a
This test fails on devices with headless user 0 when it tries to
verify apps with android:sharedUserId="android.uid.system" (and without
explicit ask for NETWORK_SETTINGS). Such apps get this permission
by default, but when running on user 1 they get UID 1001000, what doesn't
match SYSTEM_UID=1000.
By the chance of modifying this code, let's also add more verbose error
message (with UID), simplify it and reduce indentation count.
Bug: 120143468
Test: atest android.net.wifi.cts.WifiManagerTest#testNetworkSettingsPermission
Change-Id: Ifc09320cf738a518003126fad1ce31f5e38a3aff
This commit removes the mContext from IpSecBaseTest, and replaces it
with InstrumentationRegistry.getContext().
Bug: 72950854
Test: Ran on devices, passing.
Merged-In: If6fa359825aa9d1f7d4c8d49aba7a34925c073ed
Change-Id: If6fa359825aa9d1f7d4c8d49aba7a34925c073ed
(cherry picked from commit 69760fb5b62ae0e36c2a88bb20502dead3d7589b)
This commit adds tests that reflect outgoing packets, flipping the outer
src/dst headers to avoid the need to tear down and rebuild the outer
TUN.
This allows us to at least test that our implementation can interoperate
with itself.
Bug: 72950854
Test: this, passing
Merged-In: Ia969f78f4c1a0c0a017f5aad425a68852ff4433a
Change-Id: Ia969f78f4c1a0c0a017f5aad425a68852ff4433a
(cherry picked from commit 144937f3df37ee0b1d5484f10e8c86a8a70a9cb5)
This commit addresses comments from aosp/963067 and aosp/959617.
No behavioral/functional changes were made, only renames and minor style
nits addressed.
Bug: 72950854
Test: Ran on devices, working
Merged-In: I1702b91e245412f0142e9e47b7fb373b9b4e8126
Change-Id: I1702b91e245412f0142e9e47b7fb373b9b4e8126
(cherry picked from commit 68237a11f9532ca6c59d579adb374fe40b0b3bee)
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