- Sep 21, 2023
-
-
Jin Chen authored
-
- Sep 20, 2023
-
-
Jin Chen authored
Test: atest RemoteAuthUnitTests Bug: 290675814 Change-Id: I9a38298092607fe87bc7a8b157ff9d44d84fa55a
-
Maciej Żenczykowski authored
-
Treehugger Robot authored
-
Mark Chien authored
-
- Sep 19, 2023
-
-
Maciej Żenczykowski authored
Mainline no longer supports Q. These files were recently moved into p/m/C as part of a refactor. Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I0f06ace921db6c79d63c0048bdb73d167ff606cf
-
Kangping Dong authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Remi NGUYEN VAN authored
Tests are sometimes run on hardware devices with wrongly configured wifi or cell data. Ensure that this is reported as an infra error, and not a test error, so the root cause is easier to identify. Bug: 264170054 Test: atest Change-Id: I4f964fbd4ee497e8ac92f7729375b75b6c4594a3
-
Mark authored
After this change, all synchronous state machine functions are implemented. There are some intentional limiations: 1. Allow setup states before machine thread started or inside machine thread but states can only be setup once before calling #start. 2. The behavior of transitionTo is defined so that the destination state can never change during state transitions. Once a destination has been specified, it cannot be changed until the previous state transition is complete. In other words, SyncStateMachine does not support calling transitionTo in State enter or exit. 3. Support sendSelfMessage in State#processMessage(), #enter() and #exit(). This allow automaton to decide the follow up action by itself. For example: if something wrong happens during state transition, the implementation can enqueue an error message then process the error message after finishing the current state transition. Test: atest SynStateMachineTest Change-Id: I0790df4eeab2dccdb9f407d9131a62c3c12d123b
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Sep 15, 2023
-
-
Mark authored
Implement performTransitions which does state transitions. 1. Determine the common ancestor state of current/destination states 2. Invoke state exit list from current state to common ancestor state. 3. Invoke state enter list from common ancestor state to destState by going through mEnterStateStack. The state transition is always defined so that the target can never be changed mid-way of a state transition. In other words, calling transitionTo in State enter and exit is not allowed. Test: atest SyncStateMachineTest Change-Id: I51e8c5440a8b9ac25715c3d030717421f68c15b3
-
Mark authored
Duplicated state is not allowed. Test: atest SynStateMachineTest Change-Id: I0d5c73f666f90aebcfbf535cf0f824c5050941a2
-
Treehugger Robot authored
-
Mark authored
This change adds SyncStateMachine class and provides the user interface but doesn't have the details implementation. Test: m Change-Id: Ic2fa69b9e6424601fc2df2d07a052f48a6a46370
-
- Sep 14, 2023
-
-
Treehugger Robot authored
-
Mark authored
Found R8 accidentally remove TetheringUtils jni methods while doing some refactor. If any of jni java methods is removed by R8, devices would fail to boot because of jni registering failure. Explicitly adding progurad rule to make sure R8 never remove it. Test: boot, atest CtsTetheringTest Change-Id: I091a2f094d01f683fb454ed4624be35555940393
-
Remi NGUYEN VAN authored
Test that when a responder only responds with the exact records that were queried, so only reply for PTR in discovery, only send SRV, TXT, A, AAAA when asked explicitly, service resolve succeeds. This ensures that the querier sends followup queries for each record. See RFC6763 12., especially the last paragraph. Bug: 267570781 Bug: 267371243 Test: atest NsdManagerTest Change-Id: Ia392e80c1e27b479c6177d19f6b4be6032dcb1cd
-
Treehugger Robot authored
-
- Sep 13, 2023
-
-
Maciej Żenczykowski authored
This is based on network driver populated skb->mark magic bit. This is the bit used by netd's WakeupController. We mandated the location of this bit in U, though we haven't (yet??) mandated it being supported by all network drivers. If the driver doesn't support it, it could always be false (skb->mark should default to 0), or potentially (this is very very unlikely) be garbage. IFIRC nettrace isn't enabled on pre-U devices anyway. Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I2b3b91315d77c08c022396253b26954593dd3f5a
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Iad7800387e1b84587794be93d037f712ac95fa07
-
Yuyang Huang authored
-
Paul Hu authored
-
Treehugger Robot authored
-
- Sep 12, 2023
-
-
Maciej Żenczykowski authored
-
Maciej Żenczykowski authored
(equivalent OWNERS file is already present in root directory of p/m/C) Test: N/A Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I4a4da3cd13bcf4497a210aae44618681ed43fd64
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I18ccf19024f0617778799f548c8707a518eefadc git-subtree-dir: clatd git-subtree-mainline: 655d0850 git-subtree-split: 20078300
-
Treehugger Robot authored
-
Kangping Dong authored
This commit sets up the initial Thread network service for the Android Thread feature which allows an Android device to create a Thread network and being a Border Router. See https://www.threadgroup.org/What-is-Thread for background of Thread. See b/235016403 for the Android Thread feature request. Test: lunch aosp_cf_x86_64_tv-userdebug m && launch_cvd atest CtsThreadNetworkTestCases Bug: 262683651 Change-Id: Ie1bb23084531f67165ec068ea3ca39592dbc01d1
-
Yuyang Huang authored
The mDNS library need to be backported to some internal library which support minSdk 21. Therefore, updated the build rules to add the linter check. Bug: 296175311 Test: TH Change-Id: Iae0bffa315dc6de2339a05f595b13480fa7385ae
-
Yuyang Huang authored
Add end-to-end testing for testing NsdManager advertising and discovering works fine with downstream tethering interfaces. Bug: 281639507 Test: atest NsdManagerTest Change-Id: I5a66423f216cfe0c82db5128502c885980ab264b
-
Paul Hu authored
-
Paul Hu authored
The test flake is likely caused by a carrier configuration update. After the update is complete, the shell permission is dropped, which causes the test network setup to fail due to a lack of permission. The test network setup should also be protected by a synchronized lock to avoid permission lost. Bug: 296980394 Test: atest android.net.cts.ConnectivityDiagnosticsManagerTest \ --iteration 50 Change-Id: I3c7a0a92cddeb7c0f41a11b929f72714f8b22c05
-
Motomu Utsumi authored
* changes: Add java_defaults for @FlaggedApi handling Prepare api directory for udc mainline branch
-
Mike Yu authored
-
Yi Kong authored
packages/modules/Connectivity/service/native/TrafficController.cpp:58:18: error: using decl 'DumpWriter' is unused [misc-unused-using-decls,-warnings-as-errors] using netdutils::DumpWriter; ^ packages/modules/Connectivity/service/native/TrafficController.cpp:58:18: note: remove the using using netdutils::DumpWriter; ~~~~~~~~~~~~~~~~^~~~~~~~~~~ packages/modules/Connectivity/service/native/TrafficController.cpp:61:18: error: using decl 'ScopedIndent' is unused [misc-unused-using-decls,-warnings-as-errors] using netdutils::ScopedIndent; ^ packages/modules/Connectivity/service/native/TrafficController.cpp:61:18: note: remove the using using netdutils::ScopedIndent; ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Test: presubmit Change-Id: I1871139fed31c57a5c15a8ab4f88aa7c695ff360
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I37c2aefe8759fdbab3078c60e0f97b57799697fc
-