Home
last modified time | relevance | path

Searched refs:overlayPackage (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DOverlayHostTest.java80 private String getStateForOverlay(String overlayPackage) throws Exception { in getStateForOverlay() argument
82 int startIndex = result.indexOf(overlayPackage + ":"); in getStateForOverlay()
101 private void waitForOverlayState(String overlayPackage, String state) throws Exception {
106 String result = getStateForOverlay(overlayPackage);
113 private void assertFailToGenerateIdmap(String overlayApk, String overlayPackage)
117 getDevice().uninstallPackage(overlayPackage);
119 assertFalse(getDevice().getInstalledPackageNames().contains(overlayPackage));
124 waitForOverlayState(overlayPackage, STATE_NO_IDMAP);
125 getDevice().executeShellCommand("cmd overlay enable " + overlayPackage);
126 waitForOverlayState(overlayPackage, STATE_NO_IDMAP);
[all …]
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayApp/src/com/android/cts/overlay/app/
DOverlayableTest.java70 private void assertOverlayEnabled(Context context, String overlayPackage) throws Exception { in assertOverlayEnabled() argument
75 if (path.contains(overlayPackage)) { in assertOverlayEnabled()
83 assertTrue("Failed to load overlay " + overlayPackage, task.get(TIMEOUT, TimeUnit.SECONDS)); in assertOverlayEnabled()