summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYo Chiang <yochiang@google.com>2020-02-06 03:44:08 +0800
committerYo Chiang <yochiang@google.com>2020-02-19 09:32:36 +0000
commita86e1ab30a174f0003aeafa662450e443be4dc8a (patch)
tree7d727c1b7bb63d0a23b6d66a5156d99b4abd8270 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7e0dbc53e33b62a2d0dfd938a7507d6e2c8bd438 (diff)
Check DSU public key with key revocation list
Throw RevocationListFetchException if failed to fetch key revocation list. Throw KeyRevokedException if DSU intent or image public key is revoked. Throw PublicKeyException if getAvbPublicKey() failed. Bug: 128892201 Test: adb shell am start-activity \ -n com.android.dynsystem/com.android.dynsystem.VerificationActivity \ -a android.os.image.action.START_INSTALL \ --el KEY_USERDATA_SIZE 8192 \ -d file:///storage/emulated/0/Download/aosp_arm64-dsu_test.zip \ --es KEY_PUBKEY ${IMAGE_KEY} Test: edit the code so that imageValidationThrowOrWarning() always Test: throw and observe the logcat and device notification Change-Id: I33733c019b305c45e7d2511c44ef1d9b446ea52e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions