- Aug 15, 2023
-
-
Chalard Jean authored
Mark fixed this test in aosp/2709233 Bug: 295829521 Test: Dashboard will stop showing this failure Change-Id: I439d4b65b2fc5981af924fb1f1155273bdd52e7a
-
- Aug 14, 2023
-
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
This should help find changes that do not do proper NewApi checks in presubmit, and when building with RUN_ERROR_PRONE=true Test: m Change-Id: I87ce56d9df2eb27dafd2ec8d2c814c83098a979f
-
KH Shi authored
-
- Aug 12, 2023
-
-
Maciej Żenczykowski authored
(next step is to replace use of Stats struct with identical (except field order) StatsValue struct) Test: TreeHugger Bug: 294604315 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I9be3c411f9592bf4edc75386b1c5b386ebeb5905
-
- Aug 11, 2023
-
-
Treehugger Robot authored
-
- Aug 10, 2023
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
KH Shi authored
-
Treehugger Robot authored
-
Paul Hu authored
-
KH Shi authored
This patch is based on aosp/2535559 from maze@. Add source prefix into the upstream key such that only packets which source IPv6 address matches it will be forwarded to the upstream interface. In this patch, the source prefix is set to zero so there is no behavior changes. Next CL in patch series will use the real source prefixes retrieved from upstream interface. Test: atest TetheringTests Bug: 261923493 Change-Id: I43d068a29b937c7dfeb6fab632a8effb47ee2263
-
Yuyang Huang authored
Fix flaky test by only catch relevant the AddOrUpdateEvent and RemoveEvent. Bug: 294685851 Test: atest CtsNetTestCases Change-Id: Ia12e51a6527f1e23610fdb0bea1068ebb5b80a73
-
KH Shi authored
NativeHandles shouldn't be closed in OffloadHardwareInterface after passing them to initOffload() of AIDL service, because their owner will be changed to ParcelFileDescriptor by libbinder. Add test cases to verify that NativeHandles are closed correctly. NativeHandles should be closed after initOffload if: - Init with HIDL HAL interface - Has null NativeHandle, any non-null NativeHandles should be closed Bug: 277834236 Test: atest OffloadHardwareInterfaceTest Change-Id: Icbe74da73d3bdc582d1816b314fdfce9661465fc
-
KH Shi authored
-
Paul Hu authored
The NsdService will throw a NPE if a new client is registered with a null INsdManagerCallback object. To avoid this, perform a null check before registering a new client and throw an IllegalArgumentException if the callback is null. Bug: 293285797 Test: atest FrameworksNetTests Change-Id: Id61e27873591031c3fe383879aee0d40eebc08b3
-
Paul Hu authored
-
Paul Hu authored
The nsd metrics implementation needs to be updated to support the new field sent_query_count on NetworkNsdReported. Bug: 287546772 Test: m Merged-In: Ie1d8d5f2cce4f6040dcfb980db6ab11dfe01fb72 Change-Id: Ie1d8d5f2cce4f6040dcfb980db6ab11dfe01fb72
-
- Aug 09, 2023
-
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ibcb4fd53b0bbb04dc52f9fcbb5ab6bdae9efe02c
-
Xiao Ma authored
Remove the dependency on services-connectivity-shared-srcs filegroup gradually. Bug: 290885904 Test: TH Change-Id: I6474563a3a0b521945e6467a2832862764ad4770
-
Junyu Lai authored
-
Treehugger Robot authored
-
Junyu Lai authored
Test main thread mocked settings object but use that on the handler thread as well, which is not thread-safe. Create a real object instead of mocking it instead. Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.net.NetworkStatsServiceTest#testDataMigration_differentFromFallback \ --rerun-until-failure 500 Fix: 289705810 Change-Id: Ibfb722818467fdf2b69a4b8fa87b4ac04a713573
-
Treehugger Robot authored
-
- Aug 08, 2023
-
-
Chiachang Wang authored
-
- Aug 07, 2023
-
-
chiachangwang authored
These tests were disabled from presubmit because of flaky test. It's no longer flaky now, so add these tests back to presubmit. Bug: 293233390 Test: atest FrameworksNetTests Change-Id: I7f1f36385d2ca6ed210e1d9b7399b6509fd26519
-
Treehugger Robot authored
-
Jean Chalard authored
-
Chalard Jean authored
When the device is very slow to run this test, cell might end its lingering period in the middle of the test while wifi is the default. VPN will then ignore it as an underlying network, causing the test to fail. Test: testVpnSetUnderlyingNetworks Added sleep in a strategic place to make sure the problem was correctly identified, and observed the test failing. After the fix, the test passes with the sleep. Fixes: 280627836 Fixes: 293844384 Change-Id: Iaf56de963eb17845c1d76a0310b55f7f9321f7e4
-
- Aug 06, 2023
-
-
Yuyang Huang authored
Bug: 294326360 Test: atest FrameworksNetTests Change-Id: I9a3a84f907362260bdcf6be19e2c4d5345788d2e
-
Yuyang Huang authored
Move scheduling logic into a standalone MdnsQueryScheduler class to simplify the MdnsServiceTypeClient class. Bug: 292470176 Test: atest FrameworksNetTests CtsNetTestCases Change-Id: I31130c239bc54f6dc0efde2921ce51df35076a74
-
- Aug 05, 2023
-
-
Kefan Tu authored
-
- Aug 04, 2023
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Kefan Tu authored
This test assumes the data saver mode is initially disabled, but WearOS enables the mode on boot. This change fixes the precondition in the setUp method. Test: run cts -m CtsHostsideNetworkTests Bug: 280542664 (cherry picked from https://android-review.googlesource.com/q/commit:2cdeffc7e97a915a847cfc40d89e091aeadf20b3) Merged-In: Ibcceaf0f44821100c861ef7b3c61d0888ae30481 Change-Id: Ibcceaf0f44821100c861ef7b3c61d0888ae30481
-
Kevin Jeon authored
This change adds the nativeGetIfIndexStat JNI method, which can be used to read the traffic stats associated with a specific iface index. Test: Included unit test. Bug: 241098920 Change-Id: I7a4adcb9610562ff01fe5cd1234d6dfc57f9408d
-
Kevin Jeon authored
This change adds InitStats for explictly zero-initializing rx/tx bytes/packets, and -1-initializing rx/tx tcp packets. Test: Build, existing unit tests. Bug: 241098920 Change-Id: Ib9598dab924b48240461b31906a4b5698db255d8
-
Yuyang Huang authored
API-Coverage-Bug: 282618639 Bug: 269240366 Test: atest CtsNetTestCases Change-Id: I7ac72b675ff3715891f31bc03c453e14b1264e40
-