summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Sarp Misoglu <sarpm@google.com> 2022-10-31 13:54:42 +0000
committer Sarp Misoglu <sarpm@google.com> 2022-11-20 20:44:29 +0000
commit104604674f01be4cf4b9d35d38ed14bd1046e987 (patch)
treee65a47ce130db12e8a43e7683ecbe3f80c0cd9c8 /libs/androidfw/StringPool.cpp
parentf9ca7a2ffd2e7fdad707e449f249c4826d02575d (diff)
Pass agent logs to monitor after package B&R
In this change B&R tasks ask for logs from each BackupAgent after it is backed up or restored. These logs are then immediately passed on to the BackupManagerMonitor. Bug: 252760247 Change-Id: Iaf43ce61e98bb4b42c05c18a46031a06d41abb12 Test: $ atest BackupFrameworksServicesRoboTests:KeyValueBackupTaskTest $ atest BackupManagerMonitorUtilsTest Unfortunately, the other classes are not unit testable. For manual testing, I implemented some fake loggers for various BackupAgents, passed in a fake BackupManagerMonitor, ran B&R with the following commands, and observed that the monitor received the logs. 1. $ adb shell bmgr backupnow --all 2. $ adb shell bmgr restore ... (for one KV and one FullBackup package)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions