- Aug 01, 2023
-
-
Junyu Lai authored
Follow-up from commit Ie60829a65d0d9b5b63ad353695a820c0586e3665, the interface field was cleared before returning the result to the caller. However, this can cause problems in the NetworkStats#subtract method. If the interface field is cleared, the findIndexHinted method can match to a wrong entry. This is because the keys of multiple entries will now be the same. This can cause the subtract result to be unexpectedly large and the return value of getUidStatsForTransport to be mismatched with the values retrieved from other APIs. Test: atest FrameworksNetTests:android.net.connectivity.com.android.server.net.NetworkStatsServiceTest \ FrameworksNetTests:android.net.connectivity.android.net.NetworkStatsTest Bug: 290728278 Change-Id: I891ab29b8a2902663febc7c32b04417caf510926
-
Junyu Lai authored
This is a no-op refactoring, which re-write the group by methods to use a common method that can slice NetworkStats by a given lambda. This is useful for subsequent changes to slice NetworkStats with different conditions. Test: atest FrameworksNetTests:android.net.connectivity.android.net.NetworkStatsTest Bug: 290728278 Change-Id: Ia28571021fba46fc59380798053ccdc91ddc6ae4
-
- Jul 28, 2023
-
-
Hansen Kurli authored
* changes: Unregister BroadcastReceiver and OnSubscriptionsChangedListener. Disable KeepaliveStatsTracker before T. Disable KeepaliveStatsTracker instead of throwing.
-
Junyu Lai authored
-
Mark Chien authored
-
Treehugger Robot authored
-
Remi NGUYEN VAN authored
-
Junyu Lai authored
* changes: Skip presubmit for flaky tests in FrameworksNetTests due to Out of SLO Skip presubmit for flaky tests in HostsideVpnTests due to Out of SLO
-
Chiachang Wang authored
-
- Jul 27, 2023
-
-
Mark authored
The first tethering test case may experience tethering restart with IP conflict handling. Tethering would cache the last upstreams so that the next enabled tethering avoids picking up the address that is in conflict with the upstreams. To protect subsequent tests, turn tethering on and off before running them. Bug: 254183718 Test: atest CtsTetheringTest atest MtsTetheringTestLatestSdk Change-Id: I03729d3212a03bd9fcfe2c09cf327840f13b250c
-
chiachangwang authored
In failed log, VPN still process the migration which does not send the network capabilities update to network agent. In low performance devices like cuttlefish, it may sometimes cause flaky. Specify a longer timeout to deflake the test. Bug: 293233390 Test: atest FrameworksNetTests Change-Id: I4e6c80c03e19efb448ee2806c5a250425b0e068f
-
Mark Chien authored
-
Mark Chien authored
-
Chalard Jean authored
Test: trivial doc-only change Bug: 140807677 Change-Id: I57440e8b54709a2f0e8c875d30f2c295fa3e1f3d
-
Mark authored
Listen SoftAp callback to make sure soft ap is disabled before start hotspot. Bug: 277856014 Test: atest ConnectivityManagerTest#testFactoryReset Change-Id: I95050be703b7c97da7a14541ac74718fdcbd7f13
-
Remi NGUYEN VAN authored
Skip presubmit for tests that have been reported to be >0.5% flaky in presubmit, or in mainline-presubmit. Tests that only meet that criteria in mainline-presubmit are only marked as @SkipMainlinePresubmit. Ensure that the tests are still run in postsubmit so they can be moved back to presubmit after getting fixed. Test: TH Bug: 284534251 Bug: 292174275 Bug: 292173706 Bug: 292174832 Bug: 289879947 Bug: 286701510 Bug: 293239598 Bug: 279846955 Bug: 277567450 Bug: 293239828 Bug: 293240365 Change-Id: I986a1079709057d3210016c50b632fe0f3bff1e2
-
Mark Chien authored
This reverts commit f866acb6. Reason for revert: enable the test Change-Id: I00c2b32f0bf6fdb825d0edba8dcb74bcc7ad2fbf
-
- Jul 26, 2023
-
-
Treehugger Robot authored
-
Junyu Lai authored
Test: TH Bug: 279052235 Bug: 279829773 Bug: 293225660 Change-Id: I68fe484e920c0c655176fc1909646c721c3eeefe
-
Junyu Lai authored
Test: TH Bug: 293233390 Change-Id: Ic1d0d86b3f8dfc8e8122c6b05973fab8b57e52b4
-
Junyu Lai authored
Test: TH Bug: 291701394 Change-Id: Iea67a9402f2712746c8e7424aacf66f82099700c
-
Junyu Lai authored
-
Mike Yu authored
-
Treehugger Robot authored
-
Paul Hu authored
-
- Jul 25, 2023
-
-
Casey Borders authored
Inital commit for RemoteAuth adding the directory and the OWNERS. BUG: 290094832 Test: atest FrameworksNetTests Change-Id: I8f5f109b7b01238388152c5a1caee72a753fe7fd
-
Chidera Olibie authored
Bug: b/293141085 Bug: b/292298108 Test: n/a Change-Id: Ie7190c0222bd75f3f2df0c5b757b1ab9d0114d77
-
Treehugger Robot authored
-
Chidera Olibie authored
-
Maciej Żenczykowski authored
This is trivial - as the UDPLITE pseudoheader is identical to the UDP pseudoheader (except that the UDPLITE pseudo length is derived from the IPv4 total length / IPv6 payload length field, instead of being copied from the UDPLITE header 'coverage length' field - but this doesn't matter, as it [ie. the udplite payload length] doesn't change during 464xlat translation). Additionally UDPLITE never sends a checksum value of 0, as at least 8 bytes (the UDPLITE header) *must* be included in the checksum field, and a 0 must be sent as 0xFFFF. See: https://datatracker.ietf.org/doc/html/rfc3828 Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I00a110b793fcf3cf705a9a706811da7866c3e810
-
Chidera Olibie authored
This fixes the flakiness. Because we call to a real server, the server may not be reachable and our assumption would fail. When this happens, the stream hangs and engine shutdown fails with active request error. Hence cancel the stream before calling shutdown. Also @Ignored this test despite the fix as a safety measure to meet the SLO. Will re-enable afterwards. Bug: b/292298108 Test: atest NetHttpCoverageTests --test-filter BidirectionalStreamTest#testBidirectionalStream_GetStream_CompletesSuccessfully Change-Id: Iaae61fc62a148b58af86fb29c248399041785f9b Change-Id: Iea9ef0b8468ec6fa05c306ea394485cec706b9ef
-
Treehugger Robot authored
-
Junyu Lai authored
While previous tests benchmarking performance of reading NetworkStatsCollection, this measures performance impact caused by implementation of FileRotator. Test: atest ConnectivityBenchmarkTests Bug: 269409485 Change-Id: Ifcfc034128d6d78d759f80a43785b9f2b1ebb9c9
-
Treehugger Robot authored
-
Yuyang Huang authored
-
- Jul 24, 2023
-
-
Treehugger Robot authored
-
Yuyang Huang authored
Bug: 292470176 Test: atest FrameworksNetTests CtsNetTestCases Change-Id: Iff15e7b59277444bbaa92b98318bb4f910eea070
-
Junyu Lai authored
Add a test for benchmarking NetworkStatsCollection. The test use data that generated from real user dataset which has many uid records and agreed to share the dataset for testing purpose. Test: atest ConnectivityBenchmarkTests Bug: 269409485 Change-Id: I8981bfc9f65636897c6fc735cda5353b448a0db2
-
Yuyang Huang authored
When ServiceTypeClient is not used, the Executor threads should be shutdown as well. Bug: 287013457 Test: atest CtsNetTestCases FrameworksNetTests Change-Id: I9dae01e7b6c2bcd395a98f4362f0c36f1535b2a6
-
Paul Hu authored
Collect information about registration successes, failures, and unregistrations, then build metrics data from this information and report it. Bug: 287546772 Test: atest FrameworksNetTestCases NsdManagerTest Change-Id: I6324279b479da2e61b7519d96df5ad24a432e54a
-