platform_bootable_recovery/tests/testdata
Tao Bao 2201d08f8d minui: Fix a wrong arg in calling GRSurface::Create().
This is a bug introduced while refactoring init_display_surface(), in
[1]. As a result, user of res_create_multi_display_surface(), which is
effectively `charger` right now, crashes due to buffer overrun.

This CL fixes the wrong arg and adds a sanity test for
res_create_multi_display_surface(). The testdata (battery_scale.png) is
copied from system/core/healthd/images/battery_scale.png.

[1] commit 44820ac1e3.

Bug: 119122296
Test: Run recovery_unit_test on marlin.
Test: Build and boot into charger mode on blueline. Verify that
      `charger` no longer crashes.
Change-Id: Ib6d083e1512a9c3c6eb63874d26d22658921d693
2018-11-26 17:06:53 -08:00
..
battery_scale.png minui: Fix a wrong arg in calling GRSurface::Create(). 2018-11-26 17:06:53 -08:00
bonus.file applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
boot.img applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
deflate_src.zip Fix the size mismatch in imgdiff 2017-10-31 23:31:02 -07:00
deflate_tgt.zip Fix the size mismatch in imgdiff 2017-10-31 23:31:02 -07:00
fake-eocd.zip Refactor existing tests to use gtest 2016-02-04 10:11:30 -08:00
font.png tests: Add tests for ScreenRecoveryUI. 2018-05-08 15:53:56 -07:00
gzipped_source Convert deflate image chunks to raw if the raw data is smaller 2018-05-24 10:49:54 -07:00
gzipped_target Convert deflate image chunks to raw if the raw data is smaller 2018-05-24 10:49:54 -07:00
loop00000.png tests: Add tests for ScreenRecoveryUI. 2018-05-08 15:53:56 -07:00
otasigned_v1.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
otasigned_v2.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
otasigned_v3.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
otasigned_v4.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
otasigned_v5.zip Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
random.zip Refactor existing tests to use gtest 2016-02-04 10:11:30 -08:00
recovery-from-boot-with-bonus.p applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
recovery-from-boot.p applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
recovery.img applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
testkey_v1.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v1.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v1.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v2.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v2.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v2.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v3.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v3.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v3.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v4.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v4.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v4.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v5.pk8 Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v5.txt Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
testkey_v5.x509.pem Clean up verifier testcases. 2016-08-01 11:32:28 -07:00
ziptest_dummy-update.zip Replace minzip with libziparchive 2016-10-17 17:41:51 -07:00
ziptest_valid.zip Replace minzip with libziparchive 2016-10-17 17:41:51 -07:00