When the apex version is set to 0, the version number will be replaced by the build system to the default value for the current branch.
The default value for mainline module manifest version is stored in the defaultManifestVersion constant: https://android.googlesource.com/platform/build/soong/+/refs/heads/master/apex/constants.go#36
The version should not be changed manually in the manifest. Release tooling will set this version to the release version on the release branches.
Test: presubmit
Bug: 231691643
Change-Id: I30b5b486bca521ebdeed17dba7afc61f2c529ab8
Merged-In: I30b5b486bca521ebdeed17dba7afc61f2c529ab8
Address review comments from aosp/2131752 and aosp/2117045
sConfigurationMap must have a entry for UID_RULES_CONFIGURATION_KEY
because this bpf map is an array
Bug: 217624062
Test: atest BpfNetMapsTest
Change-Id: Ic52623e11c1f53e363416d57c0d8705d5510ef04
Currently (T+), BPF program and map status are only dumped on demand.
$ adb shell dumpsys connectivity trafficcontroller
The information can be useful for issue debugging, especially on Data
Usage and NetworkPolicyManagerService. It should be logged in bugreport
dumpsys connectivity section as Android S (which is handled by netd).
Bug: 237954856
Test: adb bugreport
Change-Id: Ic02a58ff2ebdbf375d9df0917e8218ab8faa96da
* changes:
ethernet: rename methods in EthernetNetworkFactory
ethernet: move registerNetworkOffer into its own function
ethernet: provider to keep track of requestId
ethernet: return result when removing interface
ethernet: enable testCallbacks_forServerModeInterfaces on CF
ethernet: expand server mode callbacks test
ethernet: add test for removing interface while in server mode
Patrick Rohrauthored and Gerrit Code Reviewcommited 2022-07-01 23:03:24 +00:00
For clarity, renaming the following functions:
getBestNetworkScore() -> getNetworkScore()
destroy() -> unregisterNetworkOfferAndStop()
This is more inline with their behavior and the other functions in
EthernetNetworkFactory.
Test: TH
Change-Id: I3250bdb91e15433ce89354bed46d011f634f3da5
Keeping track of request ids instead of the entire NetworkRequest is
slightly more efficient.
Per suggestion in aosp/2059590.
Test: TH
Change-Id: I70c96a09d8f011d7b59852f2e9798154ee91c6d8
This is not used yet, but is consistent with the other
EthernetNetworkFactory APIs and will come in handy soon as logging and
error handling is expanded. Also removing NetworkProvider from the class
documentation as EthernetNetworkFactory does not inherit from it.
This change was suggested in aosp/2059590.
Test: TH
Change-Id: I88f77bd461d50d5df73164560bc5a8395e584d05
testCallbacks_forServerModeInterfaces was previously skipped on CF as
isAdbOverNetwork() was true. The existing interface on CF has configured
NetworkCapabilities which excludes it from being used in tethering.
Using assumeNoInterfaceForTetheringAvailable() is therefore a better
assumption check for this test.
Test: atest EthernetManagerTest
Change-Id: If6cefa519b32d041c8dccc0a58acb3028eefd878
Require at least kernel 5.15. Feature is not required on older
kernels and may impact boot time unnecessarily.
Bug: 235559605
Change-Id: I2e4b509de1d8940fc63ae057a8326f13c0fd1420
Needed because these struct classes should not be exposed.
Only used for the connectivity module and its tests.
Bug: 234160319
Test: atest ConnectivityCoverageTests
The moved files are identical.
diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatEgress4Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatEgress4Key.java
diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatEgress4Value.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatEgress4Value.java
diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatIngress6Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatIngress6Key.java
diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatIngress6Value.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatIngress6Value.java
diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/Tether4Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/Tether4Key.java
diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/Tether4Value.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/Tether4Value.java
diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/TetherStatsKey.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/TetherStatsKey.java
diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/TetherStatsValue.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/TetherStatsValue.java
diff packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ClatEgress4Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/ClatEgress4Key.java
(no diff)
Change-Id: I4ce8045150bdbf04c63c5262c58a0ebcc30d395c
Hungming Chenauthored and Nucca Chencommited 2022-06-29 11:34:19 +00:00