Skip to content
Snippets Groups Projects
  1. Sep 29, 2023
    • Xiao Ma's avatar
      Exclude testGetNeighborsQuery from NetworkStackCoverageTests. · 998f6b0e
      Xiao Ma authored
      sepolicy gates RTM_GETNEIGH{TBL} with a new permission nlmsg_getneigh
      and block access from untrusted_apps, but NetworkStackCoverageTests
      uses the same UID with NetworkStack module, so it still has the
      permission to send RTM_GETNEIGH(context: u:r:network_stack:s0<00>),
      which causes the test always fails. Add the same assumeFalse check
      for tests with network_stack context.
      
      Bug: 283346574
      Test: atest NetworkStackCoverageTests
      Change-Id: Iaf652841bb9868783c924aa22fdf0c4f07e1e391
      998f6b0e
  2. Sep 14, 2023
  3. Sep 13, 2023
  4. Sep 12, 2023
  5. Sep 11, 2023
    • Igor Zaslavsky's avatar
      Implement Discovery PLATFORM logic in Rust · 3521a5ed
      Igor Zaslavsky authored
      Add RemoteAuthConnectionCache and RemoteAuthPlatform
      with support to sendMessage
      
      Design doc: go/remote-auth-manager-fishfood-design
      
      Test: built successfully.
      Bug: : 291333048
      Change-Id: I17f73b4fb2e22924a484eeb3baa9b933ae980076
      3521a5ed
    • Jean Chalard's avatar
      Merge changes I0afdda02,I1c47f616 into main · 5f730c6a
      Jean Chalard authored
      * changes:
        Implement ConnectivityStateMetrics sample
        Add base classes for common ConnectivityService tests.
      5f730c6a
    • Kangping Dong's avatar
    • Motomu Utsumi's avatar
      Merge "Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into... · 55850dcc
      Motomu Utsumi authored
      Merge "Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into libs_net_move_merge" into main
      55850dcc
    • Mike Yu's avatar
      Add sim card requirement for CtsNativeNetDnsTestCases · a7d02ba6
      Mike Yu authored
      As connectivity pre-check was added to CtsNativeNetDnsTestCases
      recently, this CL is needed as well.
      
      Bug: 298886804
      Test: TreeHugger
      Change-Id: I3c26920e8609256470cd2b8c37fc1f33f56c39fd
      a7d02ba6
    • Chalard Jean's avatar
      Implement ConnectivityStateMetrics sample · f95e2de3
      Chalard Jean authored
      Test: ConnectivitySampleMetricsTest
      Change-Id: I0afdda023208c3f8620cb5b89add66448af596d7
      f95e2de3
    • Chalard Jean's avatar
      Add base classes for common ConnectivityService tests. · 0f5c4fe9
      Chalard Jean authored
      This sets up what is necessary for an instrumented
      ConnectivityService to run. Users of this class are
      meant to inherit CSTest.
      
      This is still relatively basic and does not have all the
      instrumentation in ConnectivityServiceTest. Developers
      looking to extend CSTest may find some instrumentation
      missing ; when they add the missing instrumentation,
      they should consider whether it should be generic for all
      CSTests (and put it in base/), or whether it's local to
      their own test suite. This should enable faster testing
      as each CSTest children will only need to set up the
      instrumentation it actually needs.
      
      This patch also migrates a basic test to have a first user.
      
      Bug: 272685721
      Test: ConnectivityServiceTest
            CSBasicMethodsTest
      Change-Id: I1c47f616af90629c9cb2a6ae89d992b19863e704
      0f5c4fe9
    • Kangping Dong's avatar
      [Thread] add ot-daemon to com.android.tethering · f2060610
      Kangping Dong authored
      ot-daemon is a dependency of the new Thread feature. This commit
      add the ot-daemon binary and init rc file to the Tethering module.
      Note that the ot-daemon service is default disabled and versioned
      init rc file is used to ensure that this service won't be started
      before Android U.
      
      This is expected to increase the size of "com.android.tethering.capex"
      by around 400 KB.
      
      Manual verification:
      1. on Android T (33) CF device, the ot-daemon service is not started
         after device boots; It reports service not found error when trying
         to start the ot-daemon service with adb shell command "start
         ot-daemon"
      2. on Android U (34) CF device, the ot-daemon service is not started
         after device boots; It can be started with shell comamnd "start
         ot-daemon" but then failed because of missing sepolicy rules as
         expected
      
      Test: see above manual verification note
      Bug: 296211911
      Change-Id: I222e2bbcc2ad0be2beec9f5f3406e7144d314370
      f2060610
    • Yuyang Huang's avatar
      Handle closed socket and NPE properly · 8f4adaed
      Yuyang Huang authored
      Don't get interfaceIndex if the socket is closed. Properly catch NPE
      instead of letting is propagating.
      
      Test: TH
      Change-Id: If962541e67dd6323426e46bc7a1f118786f83b9b
      8f4adaed
    • Motomu Utsumi's avatar
      Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into libs_net_move_merge · c4800393
      Motomu Utsumi authored
      frameworks/libs/net/common ->
      packages/modules/Connectivity/staticlibs
      
      frameworks/libs/net/client-libs ->
      packages/modules/Connectivity/staticlbs/client-libs
      
      Test: TH
      Bug: 296014682
      Change-Id: I5dc78f0c4653e20312ab3d488b1e69262dbb9840
      c4800393
    • Motomu Utsumi's avatar
  6. Sep 08, 2023
Loading