| commit | 606bb703dbc18cd5b477aea213e8140011d13fdf | [log] [tgz] | 
|---|---|---|
| author | Jooyung Han <jooyung@google.com> | Thu Oct 29 20:55:09 2020 +0900 | 
| committer | Jooyung Han <jooyung@google.com> | Thu Oct 29 20:55:09 2020 +0900 | 
| tree | 62700b4a273ce091147a1d80d2109276dbf14680 | |
| parent | 6958b78c7421c36c03ce839f3dd5cc7045c640b9 [diff] | 
ApexSignatureVerificationTest for vendor apexes The test can pull apexes from /vendor/apex as well by allowing adbd to access vendor apex files. Bug: 170202980 Test: ApexSignatureVerificationTest Change-Id: I65f0037428077c7a8346679d875ca947db6ee8dd
diff --git a/hostsidetests/appsecurity/src/android/appsecurity/cts/ApexSignatureVerificationTest.java b/hostsidetests/appsecurity/src/android/appsecurity/cts/ApexSignatureVerificationTest.java index 703c17f..e9ab634 100644 --- a/hostsidetests/appsecurity/src/android/appsecurity/cts/ApexSignatureVerificationTest.java +++ b/hostsidetests/appsecurity/src/android/appsecurity/cts/ApexSignatureVerificationTest.java
@@ -190,11 +190,6 @@ try { apexes = mDevice.getActiveApexes(); for (ITestDevice.ApexInfo ap : apexes) { - // We can pull apexes from only /system and /data. - // TODO(b/170202980): get all apexes including built-in apexes. - if (!ap.sourceDir.startsWith("/system") && !ap.sourceDir.startsWith("/data")) { - continue; - } mPreloadedApexPathMap.put(ap.name, ap.sourceDir); }