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
83 String overlayPackageForCurrentUser = overlayPackage + ":" + getDevice().getCurrentUser(); in getStateForOverlay()
104 private void waitForOverlayState(String overlayPackage, String state) throws Exception {
109 String result = getStateForOverlay(overlayPackage);
116 private void assertFailToGenerateIdmap(String overlayApk, String overlayPackage)
120 getDevice().uninstallPackage(overlayPackage);
122 assertFalse(getDevice().getInstalledPackageNames().contains(overlayPackage));
127 waitForOverlayState(overlayPackage, STATE_NO_IDMAP);
128 getDevice().executeShellCommand("cmd overlay enable --user current " + overlayPackage);
129 waitForOverlayState(overlayPackage, STATE_NO_IDMAP);
[all …]
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayApp/src/com/android/cts/overlay/app/
DOverlayableTest.java70 private void assertOverlayEnabled(String overlayPackage) throws Exception { in assertOverlayEnabled() argument
76 if (path.contains(overlayPackage)) { in assertOverlayEnabled()
84 assertTrue("Failed to load overlay " + overlayPackage, task.get(TIMEOUT, TimeUnit.SECONDS)); in assertOverlayEnabled()