Home
last modified time | relevance | path

Searched refs:APPB_PKG (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/
DIsolatedService.java53 assertDirDoesNotExist("/data/data/" + FileUtils.APPB_PKG);
55 + FileUtils.APPB_PKG);
56 assertDirDoesNotExist("/data/misc/profiles/ref/" + FileUtils.APPB_PKG);
DAppATests.java20 import static com.android.cts.appdataisolation.common.FileUtils.APPB_PKG;
215 .getApplicationInfo(APPB_PKG, 0); in testCannotAccessAppBDataDir()
218 assertDirDoesNotExist("/data/data/" + APPB_PKG); in testCannotAccessAppBDataDir()
219 assertDirDoesNotExist("/data/misc/profiles/cur/" + getCurrentUserId() + "/" + APPB_PKG); in testCannotAccessAppBDataDir()
220 assertDirDoesNotExist("/data/misc/profiles/ref/" + APPB_PKG); in testCannotAccessAppBDataDir()
359 assertDirIsNotAccessible(ceDataRoot + "/" + APPB_PKG); in testOtherUserDirsNotAccessible()
364 assertDirIsNotAccessible(deDataRoot + "/" + APPB_PKG); in testOtherUserDirsNotAccessible()
371 assertDirIsNotAccessible(profileRoot + "/" + APPB_PKG); in testOtherUserDirsNotAccessible()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppDataIsolationTests.java74 private static final String APPB_PKG = "com.android.cts.appdataisolation.appb"; field in AppDataIsolationTests
105 getDevice().uninstallPackage(APPB_PKG); in setUp()
114 getDevice().uninstallPackage(APPB_PKG); in tearDown()
288 runDeviceTests(APPB_PKG, APPB_CLASS, APPB_METHOD_CAN_NOT_ACCESS_APPA_DIR); in testNormalProcessCannotAccessOtherAppDataDir()
296 runDeviceTests(APPB_PKG, APPB_CLASS, APPB_METHOD_CAN_ACCESS_APPA_DIR); in testSharedAppAbleToAccessOtherAppDataDir()
307 runDeviceTests(APPB_PKG, APPB_CLASS, APPB_METHOD_CAN_NOT_ACCESS_APPA_EXTERNAL_DIRS); in testNormalProcessCannotAccessOtherAppExternalDataDir()
316 runDeviceTests(APPB_PKG, APPB_CLASS, APPB_METHOD_CAN_ACCESS_APPA_EXTERNAL_DIRS); in testSharedAppAbleToAccessOtherAppExternalDataDir()
342 installExistingAppAsUser(APPB_PKG, mOtherUser); in testAppUnableToAccessOtherUserAppDataDir()
358 installExistingAppAsUser(APPB_PKG, mOtherUser); in testAppUnableToAccessOtherUserAppDataDirApi29()
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/common/src/com/android/cts/appdataisolation/common/
DFileUtils.java41 public static final String APPB_PKG = "com.android.cts.appdataisolation.appb"; field in FileUtils
139 return path.replace(APPA_PKG, APPB_PKG); in replacePackageAWithPackageB()