Skip to content
Snippets Groups Projects
  1. Nov 16, 2023
    • Hansen Kurli's avatar
      Test VpnProfile is not modified in startLegacyVpn · e949124b
      Hansen Kurli authored
      The profile is modified within startLegacyVpnPrivileged(), e.g.
      ipsecCaCert, ipsecUserCert. This causes subsequent calls from
      callers such as LockdownVpnTracker to fail.
      
      Add a new test to ensure the VpnProfile is not modified in
      startLegacyVpn.
      Add testClone in VpnProfileTest.
      
      Bug: 190572822
      Bug: 309591931
      Test: atest FrameworksNetTests, test before and after fix.
      Test: Manual test
      Change-Id: Id090e0dd3b9e74a7461ae90e68c41e802b458744
      e949124b
  2. Nov 02, 2023
  3. Nov 01, 2023
  4. Oct 31, 2023
  5. Oct 30, 2023
    • Chalard Jean's avatar
      Destroyed networks can't hope to beat champions · 80685f42
      Chalard Jean authored
      In particular, this fixes a bug where a non-validated destroyed
      network can't get disconnected after it's replaced by another
      non-validated network because CS thinks it should keep it in
      case it validates and beats the replacement network.
      
      Test: new test for this : CSDestroyedNetworkTests
      Change-Id: I5d7e413624d6fca28b06484e5369cd17e4a599a4
      80685f42
    • Ken Chen's avatar
      Pass NetworkCapabilities into DnsManager · 6b134f18
      Ken Chen authored
      1. At present, the transportTypes in NetworkCapabilities have been
      passed into DnsManager::updateTransportsForNetwork() as a parameter. In
      the following CL, we also need to pass the 'metered' (also in
      NetworkCapabilities) as a parameter to the function. Instead of passing
      the members of NetworkCapabilities one by one, it is better to pass the
      entire NetworkCapabilities.
      
      2. Rename updateTransportsForNetwork() to
      updateCapabilitiesForNetwork().
      
      Bug: 288340533
      Test: presubmit
      Change-Id: I0966124f87b12c1d5a2eaee681885c3d5c7f74dc
      6b134f18
Loading