Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
.gitignore | 21-Oct-2016 | 13 | |
Android.mk | 21-Oct-2016 | 2.9K | |
README | 21-Oct-2016 | 1.1K | |
shim/ | 21-Oct-2016 | ||
shim_priv/ | 21-Oct-2016 | ||
shim_priv_upgrade/ | 21-Oct-2016 |
1 2 The CTS shim is a package that resides on a device's /system partition in order 3 to verify certain upgrade scenarios. Not only must it not contain code, but, it 4 must specify the singular APK that can be used to upgrade it. 5 6 NOTE: The need to include a binary on the system image may be deprecated if a 7 solution involving a temporarily writable /system partition is implemented. 8 9 build: 10 $ tapas CtsShim CtsShimPriv CtsShimPrivUpgrade CtsShimPrivUpgradeWrongSHA 11 $ m 12 13 local testing: 14 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 15 cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp 16 $ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \ 17 cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp 18 $ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \ 19 frameworks/base/packages/CtsShim 20 $ cp $OUT/system/app/CtsShim/CtsShim.apk \ 21 frameworks/base/packages/CtsShim 22 23 For final submission, the APKs should be downloaded from the build server, then 24 submitted to the cts/ and frameworks/base/ repos. 25 26