- Jan 26, 2024
-
-
Yang Sun authored
setEnabled API is added to ThreadNetworkController, this can be used by applications with privileged permission to set Thread to enable/disabled state. The Thread enabled state can be subscribed with ThreadNetworkController#registerStateCallback. When Thread is disabled, the join/scheduleMigration APIs will fail with ERROR_THREAD_DISABLED. When Thread is disabling, all commands will fail with ERROR_BUSY. Bug: 299243765 Test: atest CtsThreadNetworkTestCases:android.net.thread.cts.ThreadNetworkControllerTest Change-Id: Ifa7845bf1d5664ecd31ce74e24b3a839f92bba13
-
- Jan 25, 2024
-
-
Kangping Dong authored
-
Zhanglong Xia authored
Bug: b/309357909 Test: Run `atest ThreadNetworkUnitTests`. Change-Id: Ic3c9ef69fc77c44a50f6dc856e1af26c43be1aa2
-
Maciej Żenczykowski authored
-
Remi NGUYEN VAN authored
-
Junyu Lai authored
-
Maciej Żenczykowski authored
(since the maps were only mainlined in T) Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I8d6af19f9dc339b722c5b2836b6085e0c9dd4705
-
Maciej Żenczykowski authored
-
Maciej Żenczykowski authored
-
Maciej Żenczykowski authored
-
Kangping Dong authored
-
Treehugger Robot authored
-
Paul Hu authored
-
Cole Faust authored
NewApi is a lint check that you don't call framework methods that were introduced in versions later than your min_sdk_version. We want to make this an error, so we're baselineing all existing issues. This cl was generated automatically, by taking all the NewApi issues from the reference baselines, and all the non-NewApi issues from the existing checked in baselines. Bug: 268261262 Test: Presubmits (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4ecdedda379e4e9040eb87b01dc3d8efb89be810) Merged-In: I0393f24f101876abc458ca139eefdb279dcb2b03 Change-Id: I0393f24f101876abc458ca139eefdb279dcb2b03
-
Jihoon Kang authored
java_sdk_library modules should specify the aconfig_declarations modules in order to generate the exportable stubs (i.e. the stubs that exclude the disabled aconfig flags) by providing the information about the aconfig flag values. The exportable stubs will be used when generating the module sdk snapshots and to generate the hiddenapi flags, in order to prevent exposing the disabled apis in runtime. Test: m framework-connectivity-t Bug: 317290555 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:60b21f877f88a6848ee6d0f0e5316362714b9d25) Merged-In: Ieb8f41921054ed6f62db2edfc7d695ba0a2a0055 Change-Id: Ieb8f41921054ed6f62db2edfc7d695ba0a2a0055
-
Maciej Żenczykowski authored
Test: TreeHugger atest libnetworkstats_test a_test --iterations=100 NetworkStackIntegrationTests:android.net.NetworkStatsIntegrationTest Bug: 292156770 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I3b1038f6fb306ed8f2d20a73d2f7c36593cbd739
-
Maciej Żenczykowski authored
Test: atest libnetworkstats_test NetworkStackIntegrationTests:android.net.NetworkStatsIntegrationTest FrameworksNetTests:android.net.connectivity.com.android.server.net.BpfInterfaceMapUpdaterTest Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I4d60180764f2325025e9903457f8eb56cb9cfa48
-
- Jan 24, 2024
-
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I8dd893d09fd5b01676b08fb87f0e01b5d2ab9efd
-
Maciej Żenczykowski authored
(for consistency with the rest of the file) Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I78be4ca1c22e266a658288ee714a6f952b2ad529
-
Maciej Żenczykowski authored
Test: TreeHugger, atest libnetworkstats_test Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Id9783d3ce502ba68533b14a1080b9ed1792b1082
-
Maciej Żenczykowski authored
Test: TreeHugger, atest libnetworkstats_test Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ibff5f9c2989b071a0af804ea1ba80a6d11ac53c2
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ic32ccd7c2c415c462c4e1fdc9002cf7858ed587c
-
Treehugger Robot authored
-
Ken Chen authored
-
Kangping Dong authored
This reverts commit a59a6e30. Reason for revert: this should not be added in the mainline module but in platform Merged-In: I88c993680976d2e10d672bfdbf45119f2db13868 Change-Id: I680f23b5f8099b1ea4a316b768a56f1be5c78862
-
Kangping Dong authored
-
Kangping Dong authored
this flag is moved to frmeworks/base. Bug: 319044650 Bug: 321624552 Change-Id: Ic068eb5e3cd2a7b4898a4f9a33b24ed8eed661f3
-
Motomu Utsumi authored
-
Paul Hu authored
When a query packet is truncated, the responder should defer the generation of a response until all packets have been received and processed. If an answer present in the query packet's answer section also appears in the responder's response, and the known-answer's TTL exceeds half of the original TTL, suppress the corresponding response. Bug: 312657709 Test: atest FrameworksNetTests NsdManagerTest Passed DISTRIBUTED DUPLICATE SUPPRESSION and \ MULTIPLE QUESTIONS - DISTRIBUTED DUPLICATE SUPPRESSION \ test cases of BCT Change-Id: I781cd813d46f7d0db267f3fe23a15a81ae319e51
-
Mark Chien authored
-
Ken Chen authored
A simple unit test for the SkDestroyListener::dump(). (The follow-up of aosp/2916465) Bug: 306919485 Bug: 319348954 Test: atest FrameworksNetTests:android.net.connectivity.com.android.serv er.net.SkDestroyListenerTest Change-Id: Ica70b2b344ffb2df8047cd936e8edc583e636ceb
-
Maciej Żenczykowski authored
-
Maciej Żenczykowski authored
-
Junyu Lai authored
Locally created test http server was not terminated. Use the test http server globally available instead. Test: atest NetHttpCoverageTests --rerun-until-failure 3 Fix: 320964365 Change-Id: Ida01664df1640da7db22d03519d842f0c49309c7
-
Paul Hu authored
-
Kangping Dong authored
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I7cef2b19f55e6e056b46bb1b28f85c7f7376f6f4
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Id4ceeb0dc0cb8ffbd4a4bfb75359f311a00a08a7
-
- Jan 23, 2024
-
-
Paul Hu authored
Not all SocketTypeClients are cleaned up when their corresponding sockets are closed. This occurs because the active socket check for each callback examines the socket from all callbacks, even those scheduled for removal in later notifications. To fix this, check the active socket from the current callback only. Fix: 317461509 Test: atest FrameworksNetTests NsdManagerTest Manually test with multiple discovery requests and Wifi on/off. Change-Id: I2f81bb8e75f2c038d5e9dc025b208dcc6b441112
-
Remi NGUYEN VAN authored
Implement the TODO to assign priority to services based on an overlayable configuration. This changes the default priority from 0 to MAX_VALUE, as higher priority values are less prioritized, so services not in the priority list should have a high value. There is currently no user of the API depending on the priority, so the change should not affect clients. Test: atest Change-Id: I3aae9b5fa7756de64c63974c192e4c96b632ce4e
-