Searched refs:APPA_PKG (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AppDataIsolationTests.java | 50 private static final String APPA_PKG = "com.android.cts.appdataisolation.appa"; field in AppDataIsolationTests 106 getDevice().uninstallPackage(APPA_PKG); in setUp() 115 getDevice().uninstallPackage(APPA_PKG); in tearDown() 123 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_CE_DATA_DOES_NOT_EXIST); in testAppAbleToAccessItsDataAfterForceStop() 124 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_DE_DATA_DOES_NOT_EXIST); in testAppAbleToAccessItsDataAfterForceStop() 125 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_EXTERNAL_DIRS_DO_NOT_EXIST); in testAppAbleToAccessItsDataAfterForceStop() 128 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CREATE_CE_DE_DATA); in testAppAbleToAccessItsDataAfterForceStop() 129 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CREATE_EXTERNAL_DIRS); in testAppAbleToAccessItsDataAfterForceStop() 133 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_CE_DATA_EXISTS); in testAppAbleToAccessItsDataAfterForceStop() 134 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_DE_DATA_EXISTS); in testAppAbleToAccessItsDataAfterForceStop() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppB/src/com/android/cts/appdataisolation/appb/ |
D | AppBTests.java | 38 private static final String APPA_PKG = "com.android.cts.appdataisolation.appa"; field in AppBTests 52 assertDirDoesNotExist("/data/data/" + APPA_PKG); in testCanNotAccessAppADataDir() 54 + APPA_PKG); in testCanNotAccessAppADataDir() 55 assertDirDoesNotExist("/data/misc/profiles/ref/" + APPA_PKG); in testCanNotAccessAppADataDir() 64 assertDirIsAccessible("/data/data/" + APPA_PKG); in testCanAccessAppADataDir() 67 + APPA_PKG + "/primary.prof"); in testCanAccessAppADataDir() 68 assertDirIsAccessible("/data/misc/profiles/ref/" + APPA_PKG); in testCanAccessAppADataDir() 90 return path.replace(mContext.getPackageName(), APPA_PKG); in replacePackageBWithPackageA()
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/common/src/com/android/cts/appdataisolation/common/ |
D | FileUtils.java | 40 public static final String APPA_PKG = "com.android.cts.appdataisolation.appa"; field in FileUtils 134 return path.replace(APPA_PKG, APPB_PKG); in replacePackageAWithPackageB() 138 return path.replace(APPA_PKG, NOT_INSTALLED_PKG); in replacePackageAWithNotInstalledPkg()
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/ |
D | AppATests.java | 19 import static com.android.cts.appdataisolation.common.FileUtils.APPA_PKG; 326 assertDirIsNotAccessible(ceDataRoot + "/" + APPA_PKG); in testOtherUserDirsNotAccessible() 331 assertDirIsNotAccessible(deDataRoot + "/" + APPA_PKG); in testOtherUserDirsNotAccessible() 338 assertDirIsNotAccessible(profileRoot + "/" + APPA_PKG); in testOtherUserDirsNotAccessible()
|