diff options
author | Bernardo Rufino <brufino@google.com> | 2018-08-10 17:06:15 +0100 |
---|---|---|
committer | Bernardo Rufino <brufino@google.com> | 2018-08-15 09:17:21 +0100 |
commit | e80f270e7ffc571caee07340513dc2ddfd0b6c6d (patch) | |
tree | 5a74155ede6b69786fa10131882b22bd923a0463 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6dcc675da4e6eeae1d002d8d992f0c6a7e55ee5a (diff) |
[KV] Cancellation and small refactors
* Refactored cancellation a bit.
* Added tests for cancellation, had to break down handleCancel() in 2 methods.
* Removed BackupRequest.
* Removed onPmFoundInQueue() report.
* Renamed a few methods.
* Moved PM package synthetization to backupPm().
Test: atest RunFrameworksServicesRoboTests
Test: adb shell bmgr backupnow <kv_package>
Test: 1. adb shell bmgr backup <kv_package>
2. adb shell bmgr run
Test: 1. adb shell bmgr backupnow com.google.android.apps.backupapp
2. Cancel while in-flight
3. Verify data not backed-up
Test: 1. adb shell bmgr backupnow --non-incremental com.google.android.apps.backupapp
2. While in-flight, check blank_state file exists.
3. When it finishes, check blank_state file does not exist.
Test: atest BackupManagerHostTest
Change-Id: Ie74a19189dc700ef517417b54ecb8930c6aa41ce
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions