- Aug 17, 2023
-
-
Paul Hu authored
-
- Aug 16, 2023
-
-
Treehugger Robot authored
-
Paul Hu authored
Collect information on resolution success and failure events, then use this data to build metrics and report them. Bug: 287546772 Test: atest FrameworksNetTestCases NsdManagerTest Change-Id: I373ce91fea9d5a278f53fc0c505be90dd39b2d5b
-
Paul Hu authored
Collect information on discovery start, failure, and stop events, then use this data to build metrics and report them. Bug: 287546772 Test: atest FrameworksNetTestCases NsdManagerTest Change-Id: I2f6a718024870f9658cfeabe8995624a3ad81f05
-
Remi NGUYEN VAN authored
-
Paul Hu authored
-
Mark Chien authored
-
Paul Hu authored
-
- 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
-
Paul Hu authored
The testMobileDataPreferredUids was disabled from presubmit because of flaky test. It's no longer flaky now, so add the test back to presubmit. Fix: 292174275 Test: atest android.net.cts.ConnectivityManagerTest\ #testMobileDataPreferredUids --iterations 1000 Change-Id: I191888069a00942aa4c82f62bd1d62b7fc70b4fa
-
Mark Chien authored
-
Chiachang Wang authored
-
Mike Yu authored
-
Mark authored
There may be additional CapabilitiesChanged callbacks before the test network is torn down. To verify ON_LOST, use eventuallyExpect instead of expect. Bug: 295829521 Test: atest ConnectivityManager#testSetOemNetworkPreferenceForTestOnlyPref Change-Id: I24bb11bf2c2da08e5757c845beeb35b7004f25a4
-
chiachangwang authored
Ikev2VpnTest uses TestNetworkRunnable to start test networks to perform VPN related tests. In some low performance devices, such as cuttlefish, the request to disconnect test network at the end of the previous test may not be executed completely yet. It results in the disconnect-pending network being used by the follow-up test and fail the test. To fix this, the utility method should wait for onLost callback before performing next test. Bug: 293239828 Test: atest CtsNetTestCases:android.net.cts.Ikev2VpnTest \ --rerun-until-failure 100 Change-Id: I6f3c4f45d3dbadc7e8783c05d6cf67f0896ffa95
-
Xiao Ma authored
-
Remi NGUYEN VAN authored
-
Mike Yu authored
This test is run by resolver MTS and it should pre-check device connectivity before running. The reason why the test never or seldom failed in the past is probably that it usually ran after CtsNetTestCasesLatestSdk DnsResolverTest (which is also run by resolver MTS) that already pre-checked the connectivity. Bug: 291495329 Test: atest CtsNativeNetDnsTestCases Change-Id: I20159029c7e68e9c21dcb6e7bbf221cda39117a5
-
- Aug 14, 2023
-
-
Xiao Ma authored
RFC7421_PREFIX_LENGTH is being removed from NetworkConstants and import it from NetworkStackConstants instead. Bug: 290885904 Test: TH Change-Id: I35e785be3f1a278c76b0810cad844710254b0f15
-
Remi NGUYEN VAN authored
Similarly to Nearby, remoteauth is expected to regularly need to change the API files. Import the existing owners file for that purpose. Test: m Change-Id: I4b900481df3bf505a8209e5370dc4bc4c928dbee
-
Remi NGUYEN VAN authored
Add end-to-end testing for conflicts happening during and after probing. This includes making sure that interfaces have a usable IPv6 address before starting each test, as mdnsresponder would not probe on the interface if the address is not present, and would go straight to advertising otherwise. Bug: 266151066 Test: atest NsdManagerTest Change-Id: Ie1a1e888afbcd5c1bafaf218a98ac4c2f5fe63ee
-
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
-