Chalard Jean
c96d1ae0e6
Move failWithErrorReason to a common place
...
This is a shared public utility. Its main utility is for methods
that can fail, have an error message of their own, and also want
to take an error message from a caller and want to combine them.
Example useĀ :
fun <T> assertEquals(expected: T, actual: T, msg: String? = null) {
if (expected != null) {
failWithErrorReason(msg, "Expected $expected, got $actual")
}
}
...which allows someone to say
assertEquals(a, b, "Checking a vs b")
Test: TH
Flag: EXEMPT test-only change
Change-Id: Id3eaa8384b4177f38f13576d9b4d742c52027ae4
2025-04-27 15:54:35 +09:00
bpf
BpfClassic: fix Gemini's complaints
2025-04-26 04:23:40 -07:00
clatd
clatd: fix endianness of multicast drop
2025-03-21 12:55:32 -07:00
common
Clean up flags to not only flag APIs
2025-04-02 16:23:17 +09:00
framework
Update enforceMeteredApnPolicy to follow the compat flag
2025-04-21 12:19:45 +09:00
framework-t
Merge "Add EthernetConfiguration class" into main
2025-04-24 13:37:32 -07:00
nearby
Replace .toList() with .collect() am: 725078a6bd am: 6586d080f6
2025-02-03 17:40:50 -08:00
networksecurity
Replace log lists with same version and later timestamp
2025-04-24 02:57:41 -07:00
remoteauth
Merge "packages/modules/Connectivity: remove usages of Mockito.verifyZeroInteractions" into main
2025-03-11 04:57:42 -07:00
service
File the per-app request for opted-in satellite-optimized apps
2025-04-27 02:12:44 +09:00
service-b
Conditionally include VCN in Tethering module
2024-12-09 12:04:12 -08:00
service-t
Merge "Add tests to verify OffloadEngine behaviors" into main
2025-04-24 19:23:46 -07:00
staticlibs
Move failWithErrorReason to a common place
2025-04-27 15:54:35 +09:00
tests
Enable the last preference tests
2025-04-27 15:54:34 +09:00
Tethering
Add tether start/stop events to local log
2025-04-21 10:52:54 +09:00
thread
Add unit test for ThreadNetworkControllerService#SetEnabled
2025-04-15 09:44:12 +00:00
tools
Remove dependencies on the 1-variant fallback
2024-10-22 16:31:00 -07:00
.clang-format
Add .clang-format
2025-03-23 19:59:10 -07:00
.gitignore
Ignores vim temporary files from git
2023-12-23 17:45:32 +08:00
OWNERS
Move the owner of xfrm netlink source code to its own directory.
2023-11-22 18:50:00 +09:00
OWNERS_core_networking
Add jimictw@ to core networking OWNERS.
2025-01-24 01:06:33 -08:00
OWNERS_core_networking_xts
Add yuyanghuang@ to OWNERS_core_networking_xts for APF firmware tests
2025-03-14 13:16:04 +09:00
PREUPLOAD.cfg
Add rustfmt to p/m/C
2025-03-28 10:06:13 -07:00
rustfmt.toml
Add rustfmt to p/m/C
2025-03-28 10:06:13 -07:00
TEST_MAPPING
Add connectivity tests for presubmit on tv
2025-04-03 09:13:40 -07:00