- Dec 04, 2023
-
-
Hansen Kurli authored
-
- Dec 02, 2023
-
-
Yuyang Huang authored
-
- Dec 01, 2023
-
-
Motomu Utsumi authored
-
Yuyang Huang authored
The current implementation of MdnsAdvertiser doesn't support updating an existing registration. For an update request, the client needs to unregister it first, which will trigger an exit message and then register again, which will trigger an announcement message. There are some clients that don't want to trigger the exit and announcement message every time. This CL adds the API to support that use case. Bug: 309372239 Test: TH Change-Id: Iabe69a987a11104090082e01969e7595f05504e8
-
Motomu Utsumi authored
This reverts commit db884c9a. Reason for revert: reason of aosp/2849874 revert is solved by aosp/2854408 Change-Id: Ic5ffddf2f811c0d2c359f292c3b44b833bae5eaa
-
- Nov 30, 2023
-
-
Nick Wille authored
-
Nick Wille authored
This reverts commit 1e7c4a49. This change is a suspect for causing test breakages, it may or may not be reverted. Bug: 314087796 Reason for revert: 314087796 Change-Id: If0a1c1e2d0e260319cf64b2d00828638abebb7fe
-
Motomu Utsumi authored
-
Motomu Utsumi authored
-
Motomu Utsumi authored
aosp/2792436 updated NetworkAgent and NetworkAgentTest. But the NetworkAgent change was not compatible with the old NetworkAgentTest. This CL makes NetworkAgent change to compatible with the old NetworkAgentTest. aosp/2851330 will update NetworkAgentTest to support NetworkAgent change done in aosp/2792436. Once the old cts is EOL, workaround in NetworkAgentTest and NetworkAgent can be removed. Bug: 310124646 Test: atest NetworkAgentTest Change-Id: Ic99b0ab72526a9ba22653f5bb132214ef0814440
-
Yuyang Huang authored
-
Yuyang Huang authored
-
Lorenzo Colitti authored
-
Yan Yan authored
-
- Nov 29, 2023
-
-
Lorenzo Colitti authored
This reverts commit 11eac8e1. Reason for revert: there are devices in the field using usbX interfaces for tethering Change-Id: I7bbcbb703294de1c9dd3e0390bc8ad28aa350ef6
-
Yuyang Huang authored
Check if the bpf loader rc file is differs from the template files when ConnectivityService starts. Use Log.wtf() to log the file if there is a diff. Bug: 312638861 Test: TH Change-Id: I0b9ed9962ad0954a051a17b01357d04a0e655ff4
-
Yuyang Huang authored
Update registerOffloadEngine() permission check to check the DEVICE_POWER permission in U. This change is required to allow the android TV device to access the API in U because the REGISTER_NSD_OFFLOAD_ENGINE permission can not be backported. Bug: 313546516 Test: TH Change-Id: I84b80d102a34487ad54719a86eb525b319e2fd8b
-
Mike Yu authored
-
Yan Yan authored
Previously the calculation of the expected ADD_TIME implicitly depended on the default timezone of the test device and thus might have different values and cause test failures. This fix updates the test to always use "GMT" to generate the ADD_TIME Bug: 308011229 Test: StructXfrmLifetimeCurTest passing with default timezone being GMT, GMT-6, GMT-10 Change-Id: Ib88a253c1ecb09feeb298a04b847c4105651a710
-
- Nov 28, 2023
-
-
Yan Yan authored
* changes: [XFRM_MSG_NEWSA] Support xfrm_lifetime_cfg and xfrm_lifetime_cur [XFRM_MSG_NEWSA] Support xfrm_selector and xfrm_id
-
Xiao Ma authored
-
Motomu Utsumi authored
These APIs were released via SDK extension but they need to have FlaggedAPI annotation to avoid being released by quarterly release. Note that this CL does not contain udc-extended-api change. Once com.android.net.flags.register_nsd_offload_engine_api is marked as released API, APIs with this annotations should be visible in udc-mainline-prod API .txt files. Bug: 301713539 Test: TH Change-Id: I32b58ec64c1f599f48bc89b189ed24ac1717a1d7
-
Mike Yu authored
In PrivateDnsConfig class, `useTls` is replaced with `mode`. This CL a corresponding change. Bug: 240259333 Test: atest ConnectivityCoverageTests Change-Id: I60c53e52f287fc7fa05543603a62632d934bb2e6
-
Hansen Kurli authored
Vpn.Dependencies contains methods used for legacy VPNs that are now unused. Remove them. Bug: 161776767 Test: atest FrameworksNetTests Change-Id: I68bbb3e519f5558f9006f680df79ae8073e196cd
-
Ken Chen authored
-
Xiao Ma authored
Change the component number to 685852 which is used for IpSec. and also add OWNER file for xfrm unit test folder. Test: TH Change-Id: I2359d6d8c6b3916ce36fdbcc1f487896efb0dccb
-
Ken Chen authored
Debugging the SIGABRT of this function is annoying because the module can be built from source or pre-built. It requires finding the correct version of the symbol to get the correct line number. In addition, there are 7 consecutive aborts in source code, it is hard to tell whether the symbolized call stack shows the right line number or not. Adds error trace before abort so we can identify the root cause without even symbolizing the call stack of SIGABRT. Bug: 312094533 Test: make; flash; adb logcat Change-Id: I74713029d059e10bf5d34694cdb96712bc806696
-
- Nov 27, 2023
-
-
Yan Yan authored
-
Yan Yan authored
Bug: 308011229 Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink (new tests added) Change-Id: Ibd38e3c0036c760f6397910162054cfb02e45059
-
Yan Yan authored
Bug: 308011229 Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink (new tests added) Change-Id: I0e9f52aad8e9cb72b8bbac1f9ee9f8e53d939e47
-
Yan Yan authored
Bug: 308011229 Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.netlink (new tests added) Change-Id: I42e423c09ffb733a809636360468c963c7864872
-
Lorenzo Colitti authored
-
Sudheer Shanka authored
-
Mark Chien authored
-
Remi NGUYEN VAN authored
-
- Nov 24, 2023
-
-
Kangping Dong authored
-
Kangping Dong authored
A screenshot of the demo app:  Bug: 273227725 Change-Id: I8d9bcf00bb54d3f152c436b56df919d967c5b71b
-
Treehugger Robot authored
-
Mark authored
The code currently calls RandomInt twice to generate an address. For example, if you want to generate the address 192.168.A.B, RandomInt will be called twice to generate the values for A and B. To save resources, we can avoid calling RandomInt twice by reusing the same random value with different masks for A and B. Before: - RandomInt() & 0xff00 -> A - RandomInt() & 0x00ff -> B After: - RandomInt() & 0xffff -> A.B Bug: 312647670 Test: atest TetheringTests Change-Id: Iee49af3d82781309f78fe66ab07937b8137fa259
-
Jean Chalard authored
-