Gavin Corkery e374f5096e Add manual rollback sample app
This application can be installed as a signature app. It displays
all available rollbacks, and will manually trigger the rollback of
all selected rollback IDs. This application will not trigger a
reboot in the case of staged rollbacks.

Test: m SampleRollbackApp, adb install. Manually install a train
      with rollback enabled and reboot. Verify that the available
      rollback is displayed, and that the rollback can be committed.
Bug: 220204580
Change-Id: Id2e5afac9e25532d8c24ea2b803c07dcfdb84d85
2022-06-23 12:53:34 +00:00
..
2021-04-13 18:28:11 +08:00

This directory contains a test for the rollback manager service.

Directory structure
===================
RollbackTest
  - device driven test for rollbacks not involving staged rollbacks.

StagedRollbackTest
  - device driven test for staged rollbacks.

TestApp
  - source for fake apks used in testing.

TestApex
  - source for fake apex modules used in testing.

Running the tests
=================

You can manually run the tests as follows:

  atest RollbackTest
  atest StagedRollbackTest