- Oct 02, 2023
-
-
Motomu Utsumi authored
aconfig soong modules should be used to read the trunk stable flag. However they are not available in the mainline branch. So this CL adds the method to check if the trunk stable flag is enabled or not by directly reading from DeviceConfig. It's expected that this does not work correctly if flag value is not stored in the DeviceConfig. But for the time being, this method can be used to keep development. Once the mainline branch supports the aconfig soong modules, method added by this CL must be removed and java_aconfig_library should be used instead. Test: adb shell device_config put android_core_networking \ Test: com.android.net.flags.test_feature true Test: Compares the value from java_aconfig_library and DeviceConfigUtils Change-Id: I8e35b33a3201192e940e88f96aad3b2b6685b046
-
- Sep 27, 2023
-
-
Remi NGUYEN VAN authored
-
- Sep 26, 2023
-
-
Igor Zaslavsky authored
-
Lorenzo Colitti authored
aosp/2724918 moved processing netd events for 464xlat to the handler thread. This CL makes 464xlat run the code that processes those events inline. This simplifies the code and makes the ordering of events more similar to what it was before. Bug: 293965195 Fix: 302071735 Test: existing unit tests Change-Id: I18b0d491aff94646b878a3d3488b5519fd42783c
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Chalard Jean authored
The issue seems to be that some other network may become available or change capabilities before Lost happens, as can be the case with real networks like in CTS. Test: TH Bug: 289879931 Change-Id: I849f3b7d99f5d5195a3bbd3c39720923597a51d9
-
Jean Chalard authored
-
- Sep 25, 2023
-
-
Treehugger Robot authored
* changes: Factorize CarrierPrivilegeAuthenticator constructors Change mCarrierServiceUid from int[] to SparseIntArray
-
Chalard Jean authored
Test: manual : adb root adb shell lsof | grep system_ | grep IPv adb shell dumpsys connectivity --diag adb shell lsof | grep system_ | grep IPv Before the change : plenty of new open FDs After the change : no new FD Bug: 297483305 Change-Id: I1c1fb8de44e50998e99af8b3aac3f77edce903e0
-
Chalard Jean authored
Test: FrameworksNetTests Change-Id: I1731e65ef09cb32b51ac9cc7884a9737c19ecce9
-
Chalard Jean authored
Because followup changes will stop using synchronous getters for getting the service package UIDs, it will be a lot more convenient if this array is automatically sized. Test: FrameworksNetTests Bug: 236669534 Change-Id: I2df8442727b5f17bd2d4e55a8795dc9210beb74b
-
- Sep 22, 2023
-
-
Ryan Zuklie authored
* changes: Add ICMP type/code and udplite/sctp in Nettrace. Make BundleKey a distinct struct from PacketTrace.
-
Treehugger Robot authored
-
Igor Zaslavsky authored
Limit the amount of parked code built into Connectivity module Test: built successfully. Bug: 300522527 Change-Id: I87d7516011c469aa89fc7e67cf03c4ee8aa1bb9b
-
Jean Chalard authored
* changes: Block the package updater while CTS are running Add a command to block networking for an app
-
Jin Chen authored
-
- Sep 21, 2023
-
-
Ryan Zuklie authored
This adds support for additional protocols and also provides more clear semantics of protocol specific fields, such as only including tcpFlags when the protocol is IPPROTO_TCP. Test: atest libnetworkstats_test & flash and trace Change-Id: Ic69fc75e85ebf8734027c942a253af4972ad14d8
-
Ryan Zuklie authored
This change refactors BundleKey to be a separate struct. This allows us to do the conversion (e.g. of sport/dport, or icmp fields in the future) in the constructor and change types (use optionals) where it is convenient to simplify the code. This change also fixes a bunch of desigated initializer order warnings in the test (fields should be declared in same order as defined). Test: atest libnetworkstats_test Change-Id: I6373d2512280e93c54395fde38dcff43705b449e
-
Maciej Żenczykowski authored
Test: TreeHugger Bug: 299653233 Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I1e5c7bfc86d2ad61c0bad3b5ef2add94b4ce1481
-
Maciej Żenczykowski authored
-
Chalard Jean authored
Test: manual Bug: 284534251 Change-Id: I8843ce7c9e14cfe3f6f3439405d519587f2656ef
-
Chalard Jean authored
Test: Manual Bug: 284534251 Change-Id: I90566998501c215de350965e3bffcd852d487bfe
-
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
-
Jin Chen authored
Fix: 301051105 Test: build Change-Id: I23dfab79503db2fe34ffd06bf48d54961c0bc424
-
- 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
-
Remi NGUYEN VAN authored
Although the launcher should be visible due to the <queries> declaration in the manifest, there are sometimes flakes indicating that the access to the package was blocked due to visibility rules. Try adding QUERY_ALL_PACKAGES to see whether it resolves the flakes. Bug: 286550950 Test: atest Change-Id: I24dcf19c040b63fea55f82db412ffcd40670e6fc
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Sep 16, 2023
-
-
Ken Chen authored
As an inline function, the logic can be reused by others. Bug: Bug: 288340533 Test: build; presubmit Change-Id: I8e57829e304e829eed72cc165b051cd22088260d
-