Skip to content
Snippets Groups Projects
  1. Sep 19, 2023
  2. Sep 15, 2023
  3. Sep 14, 2023
  4. Sep 13, 2023
  5. Sep 12, 2023
  6. 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
  7. Sep 08, 2023
    • Treehugger Robot's avatar
    • Maciej Żenczykowski's avatar
    • Maciej Żenczykowski's avatar
      possibly fix clat ingress nat64 drop · 66da6a9b
      Maciej Żenczykowski authored
      
      Due to try_make_writable's implementation:
      
        // try to make the 1st 'len' header bytes r/w via DPA
        void try_make_writable(struct __sk_buff* skb, int len) {
          if (len > skb->len) len = skb->len;
          if (skb->data_end - skb->data < len) bpf_skb_pull_data(skb, len);
        }
      
      This *should* normally result in nothing actually being done.
      
      This is because the 'len' we request should trivially be <= skb->len
      (by virtue of how we construct the packet / get here),
      and because skb->data_end - skb->data < len was previously
      (to this patch) already checked below in line 251
      (and thus the packet would have been dropped if it was false).
      
      However, there's a tentative theory that we could somehow end up
      with the entire payload in the non-linear portion of the packet,
      and thus need to move it into the linear header portion where
      we actually have direct packet access to it.
      
      Note also that we already called this in line 71, so it should
      be safe to add another call without causing bpf verifier unhappiness...
      
      Test: TreeHugger
      Bug: 298879031
      Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
      Change-Id: If3531c3cf6932ac3f1d384a43d28326d17544aa3
      66da6a9b
Loading