android_packages_modules_Co.../staticlibs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
..
client-libs Inline tetherInterface and untetherInterface 2025-03-07 10:43:17 +08:00
device Replace Message with related arguments in RealtimeScheduler 2025-04-22 01:45:13 -07:00
framework/com/android/net/module/util Address aosp/3541181 leftover comments 2025-03-25 10:02:37 +00:00
native Don't crash the system server when a misconfigured agent adds a DSCP policy 2025-03-19 08:24:45 -07:00
netd Add more NativeVpnType AIDL constants for OEM-specific VPNs. 2025-03-18 13:13:31 +09:00
tests/unit File the per-app request for opted-in satellite-optimized apps 2025-04-27 02:12:44 +09:00
testutils Move failWithErrorReason to a common place 2025-04-27 15:54:35 +09:00
Android.bp Move ProcfsParsingUtils to staticlibs 2025-04-11 15:11:33 -07:00
jarjar-rules-shared.txt Support both R and S+ in NetworkFactory 2021-07-08 10:20:58 +00:00
TEST_MAPPING Merge remote-tracking branch 'remotes/aosp/tmp_libs_net_move' into libs_net_move_merge 2023-09-11 11:53:46 +09:00