android_packages_modules_Co.../tests/unit/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 4943a17fb6 Log improvement when the meta-data format is unexpected
Currently, if the value of opt-in meta-data is not a String,
calling Bundle#getString would result in flooding the system
log with Bundle warning log and callstacks, but without
useful information like the package name.

Thus, a manual type check is performed, and the package name
is logged if a mismatch occurs.

Flag: EXEMPT flagged with a kill switch
Test: atest CtsHostsideNetworkTests:com.android.cts.net.HostsideSatelliteDataOptInTest \
      ConnectivityCoverageTests:android.net.connectivity.com.android.server.connectivity.SatelliteAccessControllerTest \
      --update-device
Bug: 416351099
Change-Id: Iae8e26f657e009edb8630dbbe64c7e3e958abc43
2025-05-09 09:15:12 +08:00
..
internal/net Move platform VPN related test to FrameworksVpnTests 2024-03-01 07:03:14 +00:00
metrics Report isKnownService in discovery stop metrics 2024-05-29 08:23:37 +00:00
server Log improvement when the meta-data format is unexpected 2025-05-09 09:15:12 +08:00