summaryrefslogtreecommitdiffstats
path: root/verifier_test.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-05-21recovery: turn on text display for install errors in debug buildsDoug Zongker1-4/+10
Hopefully this will reduce the number of OTA "bugs" reported that are really just someone having changed their system partition, invalidating future incremental OTAs. Also fixes a longstanding TODO about putting LOGE() output in the on-screen display. Change-Id: I44e5be65b2dee7ebce2cce28ccd920dc3d6e522e
2013-05-16verifier_test : fix the call to verify_fileTrevor Drake1-1/+1
This was cause mm to fail when ran in the bootable/recovery directory Change-Id: I1416a1a6a4c41e6d4b14386715074a8da9e39b43
2012-11-02move key loading to verifier codeDoug Zongker1-3/+8
Add an option to verifier_test to load keys from a file, the way the recovery does. Change-Id: Icba0e391164f2c1a9fefeab4b0bcb878e91d17b4
2012-07-25support version 2 (2048-bit e=65537) keys in recoveryDoug Zongker1-4/+49
Change-Id: I9849c69777d513bb12926c8c622d1c12d2da568a
2011-11-04move key processing to RecoveryUIDoug Zongker1-5/+0
Move the key for handling keys from ScreenRecoveryUI to RecoveryUI, so it can be used by devices without screens. Remove the UIParameters struct and replace it with some new member variables in ScreenRecoveryUI. Change-Id: I70094ecbc4acbf76ce44d5b5ec2036c36bdc3414
2011-11-01fix verifier testDoug Zongker1-5/+0
Needs to link with libminui and ui.cpp now. Change-Id: I5005e12cf8adb13d320921e3f9174e8c7304d7bf
2011-10-31C++ class for device-specific codeDoug Zongker1-10/+36
Replace the device-specific functions with a class. Move some of the key handling (for log visibility toggling and rebooting) into the UI class. Fix up the key handling so there is less crosstalk between the immediate keys and the queued keys (an increasing annoyance on button-limited devices). Change-Id: I698f6fd21c67a1e55429312a0484b6c393cad46f
2011-10-31verifier_test needs to provide a UI objectDoug Zongker1-10/+36
Change-Id: Iddbb6f0aefdcbd131457690fddeddb0a873ea856
2011-10-31turn recovery into a C++ binaryDoug Zongker1-0/+0
Change-Id: I423a23581048d451d53eef46e5f5eac485b77555
2011-10-28turn recovery into a C++ binaryDoug Zongker1-91/+0
Change-Id: I68a67a4c8edec9a74463b3d4766005ce27b51316
2009-12-10add a simple unit test for the OTA package verifierDoug Zongker1-0/+91