- Oct 13, 2023
-
-
Anton Kulakov authored
Revert submission 2777667 Reason for revert: DroidMonitor-triggered revert due to breakage, bug b/305187495 Reverted changes: /q/submissionid:2777667 Bug: 305187495 Change-Id: I516d40b20d775e9c61b2f825bc094329d016d0c3
-
Chalard Jean authored
There are only three calls to this method, and two of them are with a list of 1 address which means it's simpler inlined. The last call will be replaced with calls to RouteController in a followup, meaning we addRoutesToLocalNetwork can be removed. Test: RouterAdvertisementDaemonTest NetdUtilsTest Change-Id: I3b6ee1db40f09954b336321000735a66306bf000
-
- Oct 12, 2023
-
-
Chalard Jean authored
Test: FrameworksNetTests Change-Id: Ic490fee6ee70d74acff0a290199b2946817173d0
-
- Oct 08, 2023
-
-
Xiao Ma authored
Bug: 260934173 Test: TH Change-Id: Idc6e32f8dbaf3b0e3c57eff496a006fafee02b5e
-
- Oct 06, 2023
-
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: If05c0c5383dceeb65964143f5574d2ee1a484907
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ia85e16d1a7f8d1b21e4ce4c306db6bbea06138e0
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I6f10395ca6f1c73f3513031f561fdf1b1dedf451
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I4883eab734f47522fec718f0709475f7e6dd0a53
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I7053ab46e73b763f64f36baf5e7ab64b62421045
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ife32fa36808de13c5f37ace497395dcc381ca336
-
- Oct 04, 2023
-
-
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: I0f77220a6c4b13efb5630d7a5ade1db39c59901e
-
- Oct 02, 2023
-
-
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
-
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
-
- Sep 29, 2023
-
-
Chalard Jean authored
Test: comment-only change Change-Id: I788f6e9f5fdd913d4c5077b6bb82c19664d3cd3f
-
Xiao Ma authored
sepolicy gates RTM_GETNEIGH{TBL} with a new permission nlmsg_getneigh and block access from untrusted_apps, but NetworkStackCoverageTests uses the same UID with NetworkStack module, so it still has the permission to send RTM_GETNEIGH(context: u:r:network_stack:s0<00>), which causes the test always fails. Add the same assumeFalse check for tests with network_stack context. Bug: 283346574 Test: atest NetworkStackCoverageTests Change-Id: Iaf652841bb9868783c924aa22fdf0c4f07e1e391
-
Maciej Żenczykowski authored
Bug: 235590615 Bug: 235907076 Bug: 286003437 Test: TreeHugger, m droid gpuservice_unittest libtimeinstate_test bpf_benchmark bpf_module_test libbpf_load_test && mma Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I020a898fe8b257040a100f146654d4a04b19f843
-
- Sep 28, 2023
-
-
Chalard Jean authored
Test: aosp/2405723 uses this, TH is happy with existing tests Change-Id: If47d7e239d8483716fb78a97bbc2da4e24731209
-
- Sep 27, 2023
-
-
Motomu Utsumi authored
Test: NetworkStaticLibsTests Bug: 279108992 Change-Id: Id5409158fd720efc92e1b39678e636a8a7d5a0a5
-
Motomu Utsumi authored
If the flag value is unset or 0, isFeatureEnabled return false and isFeatureNotChickenedOut return true. If the flag value is -1 (force disable), both return false. If the flag value is other values, both query the package version and return `flagValue <= packageVersion` Now the only difference is a default behavior when the flag is not set or 0. So isFeatureEnabled and isFeatureNotChickenedOut can use the same flag. This CL also fixes the issue in rollback. Before this CL, isFeatureNotChickenedOut did not check the module version and could have a issue if there is a rollback. Test: NetworkStaticLibsTests Bug: 279108992 Change-Id: I12d6ebadff3aee7b7c614aca4eb0a34ef0db9857
-
Motomu Utsumi authored
Bug: 300384860 Test: TH Change-Id: Ic26efebc24b3f7030b6ff66579fc0f5e5d019d5f
-
- Sep 21, 2023
-
-
Maciej Żenczykowski authored
Test: TreeHugger Bug: 299653233 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I1e5c7bfc86d2ad61c0bad3b5ef2add94b4ce1481
-
Chalard Jean authored
Test: manual Bug: 284534251 Change-Id: I8843ce7c9e14cfe3f6f3439405d519587f2656ef
-
- Sep 19, 2023
-
-
Maciej Żenczykowski authored
Mainline no longer supports Q. These files were recently moved into p/m/C as part of a refactor. Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I0f06ace921db6c79d63c0048bdb73d167ff606cf
-
Remi NGUYEN VAN authored
Tests are sometimes run on hardware devices with wrongly configured wifi or cell data. Ensure that this is reported as an infra error, and not a test error, so the root cause is easier to identify. Bug: 264170054 Test: atest Change-Id: I4f964fbd4ee497e8ac92f7729375b75b6c4594a3
-
- Sep 06, 2023
-
-
Maciej Żenczykowski authored
http://cs/h/prodkernel/kernel/upstream/torvalds/linux-2.6/+/master:tools/include/uapi/linux/bpf.h?l=1486 struct { /* anonymous struct used by BPF_PROG_TEST_RUN command */ __u32 prog_fd; __u32 retval; __u32 data_size_in; __u32 data_size_out; __aligned_u64 data_in; __aligned_u64 data_out; ... Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I2c08b65bdcdbd7fb9872b6d4cbbf542fe28ef916
-
- Sep 05, 2023
-
-
Motomu Utsumi authored
DeviceConfigUtils had isFeatureEnabled for NetworkStack and Tethering which were confusing since the difference was only the arguments. This CL renames isFeatureEnabled for NetworkStack module to isNetworkStackFeatureEnabled to avoid confusion. This CL also removes unnecessary arguments. Bug: 279108992 Test: m Change-Id: I523b98bd3754c209c64ce7d1513b5afcb36599b9
-
Motomu Utsumi authored
Test: m Bug: 279108992 Change-Id: Iadc1b4665c364bf754ed32e7bb53b78e555ed457
-
- Aug 29, 2023
-
-
Junyu Lai authored
After link Struct statically into framework-connectivity, the structs in StructTest are no longer accessible from Struct because Struct is loaded by bootclasspath classloader. Make classes and members public for accessing from Struct. Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.net.module.util.StructTest Bug: 297836825 Change-Id: I3b1f466f10247306c84d6cac0d7402353770fac4
-
- Aug 28, 2023
-
-
Mark White authored
Bug: 289776578 Test: m CtsLocationCoarseTestCases CtsLocationFineTestCases CtsLocationGnssTestCases CtsLocationNoneTestCases CtsLocationPrivilegedTestCases Change-Id: I6922384386e6e6467484d20f6db74a4e49209374
-
Xiao Ma authored
Bug: 279108992 Test: atest NetworkStaticLibsTests Change-Id: If42eb401b812017bd4d724b4323a8d51f7430606
-
- Aug 24, 2023
-
-
Yuyang Huang authored
Bug: 294777050 Test: m Change-Id: I66e94595ce5f4ab3b4f372e4e5e6cb06dc686c21
-
Yuyang Huang authored
Bug: 281639507 Test: TH Change-Id: Ic0d273695d3f0f85a0ec56337a9d12d77b60ea3b
-
- Aug 23, 2023
-
-
Motomu Utsumi authored
Follow up CL for aosp/2700076 Bug: 296972712 Test: build with aosp/2688146 Change-Id: Ib582ef41f34baf0bb896e32d681843358f928c87
-
- Aug 22, 2023
-
-
Motomu Utsumi authored
There is a module that specifies libnetdutils/include from include_dirs which is not recommended. Using the cc_library_headers makes it easy to move frameworks/libs/net to packages/modules/Connectivity. Bug: 296014682 Test: m Change-Id: Ia52ede9787009102ebf626fcb3b337511b0a809f
-
- Aug 21, 2023
-
-
Maciej Żenczykowski authored
This leaks (what should be) an internal only fd. There's still multiple uses of getMap() left in: common/native/bpf_headers/BpfMapTest.cpp Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I87a36f3f935ba9148ae4456fc6bf14b0e04f6038
-