Skip to content
Snippets Groups Projects
  1. Oct 12, 2023
    • Paul Hu's avatar
      Stop the created handler threads on the tests · ebbbf8f4
      Paul Hu authored
      The created handler thread will stay there for a while until
      all the tests are finished. This is considered as a leakage
      which will take the resource from the devices. In low end
      devices, this may possibly impact the performance. The created
      threads should be closed explicitly.
      
      Test: atest ConnectivityCoverageTests ConntrackSocketTest
      Change-Id: Ic1beb2a210e7c8c80c66fc9e0727c47599150672
      ebbbf8f4
  2. Oct 04, 2023
  3. Oct 03, 2023
  4. Oct 02, 2023
    • Maciej Żenczykowski's avatar
      import bpfloader into p/m/C · 60c159f2
      Maciej Żenczykowski authored
      These are unmodified files, without history.
      Getting these to do something useful will come later.
      
      Generated via:
        cp //system/bpf/bpfloader/bpfloader.rc netbpfload.rc
        cp //system/bpf/bpfloader/BpfLoader.cpp NetBpfLoad.cpp
        cp //system/bpf/libbpf_android/include/libbpf_android.h loader.h
        cp //system/bpf/libbpf_android/Loader.cpp loader.cpp
      
      Change-Id: I1677b899a51e1289a7a9806d6f5c34450b9e7c47
      60c159f2
    • Maciej Żenczykowski's avatar
      BpfClassic.h - more helpers · 73df7414
      Maciej Żenczykowski authored
      
      Test: TreeHugger
      Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
      Change-Id: Ie0eb8895c2d887b71ba886735ad106c1118ebeac
      73df7414
    • Maciej Żenczykowski's avatar
      rename BPF2_REJECT_IF_ANY_BITS_SET -> BPF2_REJECT_IF_ANY_MASKED_BITS_SET · b900201f
      Maciej Żenczykowski authored
      
      Test: TreeHugger
      Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
      Change-Id: I54a189f0f7b73917aa3fd049fe2eca387aaca250
      b900201f
    • Treehugger Robot's avatar
    • Motomu Utsumi's avatar
      Add method to read trunk stable flag · b0f48902
      Motomu Utsumi authored
      aconfig soong modules should be used to read the trunk stable flag.
      However they are not available in the mainline branch.
      So this CL adds the method to check if the trunk stable flag is enabled
      or not by directly reading from DeviceConfig.
      It's expected that this does not work correctly if flag value is not
      stored in the DeviceConfig.
      But for the time being, this method can be used to keep development.
      Once the mainline branch supports the aconfig soong modules, method
      added by this CL must be removed and java_aconfig_library should be
      used instead.
      
      Test: adb shell device_config put android_core_networking \
      Test: com.android.net.flags.test_feature true
      Test: Compares the value from java_aconfig_library and DeviceConfigUtils
      Change-Id: I8e35b33a3201192e940e88f96aad3b2b6685b046
      b0f48902
    • abdelrahmani's avatar
      Disable the remaining VPN CTS tests on watches. · 5bcbbc1c
      abdelrahmani authored
      - Watches don't support VPN apps.
      - The HostsideVpnTests CTS tests are already skipped on watches.
      - The tests for VpnManager VPNs do run on watches, but there isn't
        actually a way to start a VpnManager VPN on a watch because there is
        no way to display the consent dialog to the user.
      - The VpnService CTS tests verify the VpnService API on watches
        bypassing the consent dialogs.
      - Because there is no way to start a VPN app on a watch, there's no
        point requiring the VPN CTS tests to pass.
      
      This CL disables the remaining VPN CTS tests on watches. This allows
      watches to disable the VPN service, reducing startup time and memory
      usage.
      
      Bug: 286240194
      Test: atest CtsNetTestCases FrameworksNetTests
      Change-Id: Idb7110232ae7e45cafc265cd4f955c2a6b22361c
      5bcbbc1c
    • KH Shi's avatar
  5. Sep 30, 2023
  6. Sep 29, 2023
Loading