- Oct 06, 2023
-
-
Motomu Utsumi authored
-
Spandan Das authored
-
Motomu Utsumi authored
This CL does not have Merged-In since all the branches should have the aconfig file so that adding flags to the file does not have conflicts. Following CL adds aconfig_declarations to Android.bp only on branches where aconfig soong targets are supported Bug: 267870186 Test: TH Change-Id: I621228a2c9594bf7bfe1cf335619c417e9339743
-
- Oct 05, 2023
-
-
Maciej Żenczykowski authored
-
Treehugger Robot authored
-
Motomu Utsumi authored
Bug: 303299687 Test: atest Change-Id: Iad740804a59599dd33add1ea85aa4771e0e4bd35
-
Jean Chalard authored
-
- Oct 04, 2023
-
-
Spandan Das authored
The value of `path` here should be a no-op in Soong's cpp compile action. Dropping this property helps bazel migration since Bazel's filegroup rule does not have a path property. Test: m libnetworkstatsfactorytestjni libservice-connectivity Bug: 297405814 Change-Id: I7879224bf6deb12417d92e9a3fa52f58fccac999
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I5c7fd55301cd5aa44502f8481923c86bc49ea914
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I0a06d2627ef06fe4606b3d1a6525af767d218945
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I3fd51ad129873782b74c7c47b50e16f1f1f0fa6e
-
Maciej Żenczykowski authored
Test: TreeHugger Bug: 292156770 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ib7b194b9cbf6519f9fbcfd1fcefcbe5d825f5c3a
-
Maciej Żenczykowski authored
Test: TreeHugger Bug: 292156770 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I6e4527a8cb5b5bfc033c5a4d09f0b78080c163c9
-
Maciej Żenczykowski authored
Test: TreeHugger Bug: 292156770 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I0f77220a6c4b13efb5630d7a5ade1db39c59901e
-
Maciej Żenczykowski authored
-
Motomu Utsumi authored
-
Motomu Utsumi authored
-
- Oct 03, 2023
-
-
Maciej Żenczykowski authored
This is written based on observation that testStartVpnProfileNoPreviousConsent() appears to result in the right things happening when running adb logcat | egrep --color -i 'Switched from |protect' ie. it results in: I netd : networkSetProtectDeny(<ctsappuid>) <0.01ms> I Vpn : Switched from android.net.cts to [Legacy VPN] I netd : networkSetProtectAllow(1000) <0.00ms> Which disallows the CTS uid, and allows AID_SYSTEM. That in turn appears to be the 'default' state of things. So this basically copies that logic into tearDown() Test: atest android.net.cts.{Ikev2VpnTest,VpnServiceTest} --iterations 2 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ic9cca56097d78ae48157e808081de2ebb76635e8
-
Treehugger Robot authored
* changes: netbpfload: update date in copyright messages, LOG_TAGs, etc. netbpfload: remove support for 'loader' netbpfload: remove support for 'vendor' netbpfload: remove support for 'platform'
-
Maciej Żenczykowski authored
* changes: bpf: add constants PRIVATE, SHARED, MANDATORY, OPTIONAL switch from defines to static consts
-
Treehugger Robot authored
-
Jean Chalard authored
-
Chalard Jean authored
For general internet access, a specialized slice is generally not preferable to a non-specialized network. Test: new test in this patch Change-Id: I052ce923300566807999b2f20f5911181fb761dd
-
Treehugger Robot authored
-
Chiachang Wang authored
-
Chalard Jean authored
This is masking an exception in setUp() and makes debugging difficult Test: treehugger Change-Id: I8b5b80c4171d45076dd02bab5ff4b6dc81d98086
-
Maciej Żenczykowski authored
Test: N/A Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I8f83d04266caf930701b9725b457333ddae149f2
-
Maciej Żenczykowski authored
Test: N/A Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I3d6a6a072cc958c3cb8f49d747a6c6812b37cef5
-
Maciej Żenczykowski authored
Test: N/A Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: If088188b4832d37b084846b5ad3db06b8858d856
-
Maciej Żenczykowski authored
Test: N/A Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ia0c1f55aa78435737699e0dec0bfddbd977e7392
-
Maciej Żenczykowski authored
use them & IGNORE_ON_* LOAD_ON_* as needed. Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ibadd782d289e6a2ce1467778a1930c6f1b609f98
-
Maciej Żenczykowski authored
tm-mainline-prod is no longer in use Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I8704dccff1432ba811e99a89ea60028fd63365b5
-
Treehugger Robot authored
-
- Oct 02, 2023
-
-
Maciej Żenczykowski authored
These are unmodified files, without history. Getting these to do something useful will come later. Generated via: cp //system/bpf/bpfloader/bpfloader.rc netbpfload.rc cp //system/bpf/bpfloader/BpfLoader.cpp NetBpfLoad.cpp cp //system/bpf/libbpf_android/include/libbpf_android.h loader.h cp //system/bpf/libbpf_android/Loader.cpp loader.cpp Change-Id: I1677b899a51e1289a7a9806d6f5c34450b9e7c47
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ie0eb8895c2d887b71ba886735ad106c1118ebeac
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I54a189f0f7b73917aa3fd049fe2eca387aaca250
-
Treehugger Robot authored
-
Motomu Utsumi authored
aconfig soong modules should be used to read the trunk stable flag. However they are not available in the mainline branch. So this CL adds the method to check if the trunk stable flag is enabled or not by directly reading from DeviceConfig. It's expected that this does not work correctly if flag value is not stored in the DeviceConfig. But for the time being, this method can be used to keep development. Once the mainline branch supports the aconfig soong modules, method added by this CL must be removed and java_aconfig_library should be used instead. Test: adb shell device_config put android_core_networking \ Test: com.android.net.flags.test_feature true Test: Compares the value from java_aconfig_library and DeviceConfigUtils Change-Id: I8e35b33a3201192e940e88f96aad3b2b6685b046
-
abdelrahmani authored
- Watches don't support VPN apps. - The HostsideVpnTests CTS tests are already skipped on watches. - The tests for VpnManager VPNs do run on watches, but there isn't actually a way to start a VpnManager VPN on a watch because there is no way to display the consent dialog to the user. - The VpnService CTS tests verify the VpnService API on watches bypassing the consent dialogs. - Because there is no way to start a VPN app on a watch, there's no point requiring the VPN CTS tests to pass. This CL disables the remaining VPN CTS tests on watches. This allows watches to disable the VPN service, reducing startup time and memory usage. Bug: 286240194 Test: atest CtsNetTestCases FrameworksNetTests Change-Id: Idb7110232ae7e45cafc265cd4f955c2a6b22361c
-
KH Shi authored
-