Skip to content
Snippets Groups Projects
  1. Nov 24, 2023
  2. Nov 23, 2023
  3. Nov 22, 2023
  4. Nov 21, 2023
  5. Nov 20, 2023
    • KH Shi's avatar
      Clean up BpfCoordinatorTest · 035bed35
      KH Shi authored
      1. assertEquals syntax is (expected, actual) and not the other way
         around
      2. use assertArrayEquals to compare arrays
      
      Test: atest TetheringTests
      Bug: 312072637
      Change-Id: I5eb0c270323253f648d3a8fd488506b9ad1ca6a1
      035bed35
    • KH Shi's avatar
    • Ken Chen's avatar
      Catch UnsupportedOperationException on calling mdns · a49e8e0b
      Ken Chen authored
      MDNS native support from Netd is stopped in V.
      
      Bug: 298594687
      Bug: 312092770
      Test: run CtsNetTestCasesMaxTargetSdk30 on V, no fatal exception.
      Change-Id: I3774288cdf5b82e6aeeee7ee2d030fdc524e1aa8
      a49e8e0b
    • KH Shi's avatar
      Fix endian error when pass upstream prefixes to bpf · 84e3fb3a
      KH Shi authored
      TetherUpstream6Key#src64 should be stored in network order. Use
      a big-endian ByteBuffer to retrieve a value stored in network order
      is actually converts it into native order, which is little-endian in
      Android.
      
      In this CL, we changed it to use byte[] instead of long to store the
      top 64-bits of the source prefix.
      
      Test: atest TetheringTests
            manual test with IPv6-only tethering upstream, check BPF stats.
      Bug: 312072637
      Change-Id: I79f9282d5eda28328aa6a764ea92b086d6285133
      84e3fb3a
    • Jean Chalard's avatar
      Merge changes I30f8814c,Ifdf67318,If312b8f8 into main · 4a013c47
      Jean Chalard authored
      * changes:
        Rename hasCarrierPrivilege... to isCarrierServiceUid...
        Detect discrepancies in subIds
        Allow carrier service UIDs to access their own WiFi networks.
      4a013c47
Loading