- Sep 12, 2023
-
-
Paul Hu authored
The isLegacy field of Nsd metrics should indicate whether the data was collected from the old backend or not. However, it is currently only dependent on the ENABLE_PLATFORM_MDNS_BACKEND compat change value, which is incorrect. This is because the NsdService always uses the new backend since Android U, regardless of the compat change value. Therefore, the isLegacy data should be obtained from each transaction. Bug: 287546772 Bug: 299880473 Test: atest FrameworksNetTestCases NsdManagerTest Change-Id: I156abd656b90578d710696a69ccf7dfca97a2c9c
-
- Sep 11, 2023
-
-
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
-
Jean Chalard authored
* changes: Implement ConnectivityStateMetrics sample Add base classes for common ConnectivityService tests.
-
Kangping Dong authored
-
Motomu Utsumi authored
Merge "Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into libs_net_move_merge" into main
-
Chalard Jean authored
Test: ConnectivitySampleMetricsTest Change-Id: I0afdda023208c3f8620cb5b89add66448af596d7
-
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
-
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
-
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
-
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
-
Motomu Utsumi authored
-
- Sep 08, 2023
-
-
Treehugger Robot authored
-
Maciej Żenczykowski authored
-
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:
Maciej Żenczykowski <maze@google.com> Change-Id: If3531c3cf6932ac3f1d384a43d28326d17544aa3
-
Sudheer Shanka authored
-
Patrick Rohr authored
Test: none Change-Id: I0506ec660fd88e39079b2f36aed1516e27cdc0a6
-
Yuyang Huang authored
-
Paul Hu authored
-
Treehugger Robot authored
* changes: Add third_party/google_benchmark to cronet's copybara Move buildtools/third_party/libc++[abi] to third_party in Cronet's copybara Cronet Import: Add jni_zero to the list of third_parties
-
Motomu Utsumi authored
-
Motomu Utsumi authored
-
Motomu Utsumi authored
-
Mohannad Farrag authored
Test: None Change-Id: Id390c6c53f619b7bc87c80ae08acca9ee3a65c2e
-
Mohannad Farrag authored
Test: None Change-Id: Iaa00d4d383f84fbabe346cbe9a929ba471d68297
-
Mohannad Farrag authored
Test: None Change-Id: Iba6f410c23bdabbb5559772039b4242965e720a7
-
Yuyang Huang authored
Bug: 297482971 Test: TH Change-Id: I6f2cdd066d9047b113ff80211cf6d4c6fa605104
-
Yuyang Huang authored
-
Motomu Utsumi authored
This CL also updates not to use isTetheringFeatureEnabled for TETHER_FORCE_UPSTREAM_AUTOMATIC_VERSION which is wrongly configured in Connectivity namespace. Test: m Bug: 279108992 Change-Id: If4f3a57c749bbaeb85454c31248c5bc5feaab936
-
Sudheer Shanka authored
Bug: 298729534 Test: atest com.android.cts.net.HostsideConnOnActivityStartTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:eaf030ea96f3af817e8b301c8edf48f79d7f229d) Merged-In: I58a23e927cd14b973048e34566350eeef215f7db Change-Id: I58a23e927cd14b973048e34566350eeef215f7db
-
Yuyang Huang authored
framework-connectivity-t-mdns-standalone-build-sources should only be used for building service-connectivity-mdns-standalone-build-test. Added comment to prevent this filegroup being used in wrong way. Test: TH Change-Id: I11dd390967db1a115dcadcdebc20f226ab6c0a51
-
- Sep 07, 2023
-
-
Xinyi Zhou authored
Test: -m Fix: 292812342 Fix: 297413048 Fix: 214879640 Ignore-AOSP-First: merge conflicts, need to be merged in downstream first Change-Id: I7efa92469f0c061a972a7dadf6a38686b78c61b4 Merged-In: I7efa92469f0c061a972a7dadf6a38686b78c61b4
-
Maciej Żenczykowski authored
-
KH Shi authored
-
Chiachang Wang authored
Verify that the extra info for validation logs in the NetworkInfo is set. Bug: 297790570 Test: atest FrameworksNetTests Change-Id: I5b77b3bab30154b7979cda003274cde0d834a5fb
-
Xiao Ma authored
-
Xiao Ma authored
-
Junyu Lai authored
-
- Sep 06, 2023
-
-
Maciej Żenczykowski authored
http://cs/h/prodkernel/kernel/upstream/torvalds/linux-2.6/+/master:tools/include/uapi/linux/bpf.h?l=1486 struct { /* anonymous struct used by BPF_PROG_TEST_RUN command */ __u32 prog_fd; __u32 retval; __u32 data_size_in; __u32 data_size_out; __aligned_u64 data_in; __aligned_u64 data_out; ... Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I2c08b65bdcdbd7fb9872b6d4cbbf542fe28ef916
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I399ac8dfc4992f4c604f1d32c2f1b8ae06710808
-
Maciej Żenczykowski authored
-