android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aaron Huang 692baa7d71 Add wipeOnError flag to NetworkStatsRecorder
If reading data happens exception while doing data migration,
the file will be deleted by legacy recorders. This would cause
legacy persistent data being lost and cannot be retrieved by
any method. To avoid the files being deleted, add a wipeOnError
flag to recorder which indicates this recorder will wipe on
error or not . If the flag is set to true then deletes all files
when it throws, otherwise keeps all files.

Ignore-AOSP-First: urgent fix and will cherry-pick immediately after.
Bug: 233828210
Test: FrameworksNetTests:NetworkStatsRecorderTest
Change-Id: Id7a3d8bebf8a00d814f9e84bf4c10d927e6ff749
2022-06-17 15:23:24 +08:00
..
connectivity Verify if the VPN app has been added into power save whilte list 2022-06-03 05:49:21 +00:00
ethernet Revert "Temporarily ignore ethernet tests until prebuilts are updated" 2022-06-15 18:55:48 +00:00
net Add wipeOnError flag to NetworkStatsRecorder 2022-06-17 15:23:24 +08:00
BpfNetMapsTest.java Merge "Remove ConnectivityManager swapActiveStatsMap API" 2022-03-08 06:31:23 +00:00
ConnectivityServiceTest.java Add 3rd deny firewall chain for OEM 2022-06-07 05:35:36 +00:00
IpSecServiceParameterizedTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
IpSecServiceRefcountedResourceTest.java Change to use Dependencies in IpSecService Tests 2021-11-27 00:27:33 +08:00
IpSecServiceTest.java Add makeDependencies method in IpSecService related tests 2021-12-10 12:11:20 +00:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NetIdManagerTest.kt Re-skip connectivity unit tests before S 2021-07-05 05:01:54 +00:00
NetworkManagementServiceTest.java Split updateMeteredNetwork{Allow, Deny}List into add and remove 2022-03-09 11:17:27 +08:00
NsdServiceTest.java Revert "Temporarily disable NsdService unit tests" 2022-06-15 02:13:23 +00:00