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 104 getDevice().uninstallPackage(APPA_PKG); in setUp() 113 getDevice().uninstallPackage(APPA_PKG); in tearDown() 121 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_CE_DATA_DOES_NOT_EXIST); in testAppAbleToAccessItsDataAfterForceStop() 122 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_DE_DATA_DOES_NOT_EXIST); in testAppAbleToAccessItsDataAfterForceStop() 123 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_EXTERNAL_DIRS_DO_NOT_EXIST); in testAppAbleToAccessItsDataAfterForceStop() 126 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CREATE_CE_DE_DATA); in testAppAbleToAccessItsDataAfterForceStop() 127 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CREATE_EXTERNAL_DIRS); in testAppAbleToAccessItsDataAfterForceStop() 131 runDeviceTests(APPA_PKG, APPA_CLASS, APPA_METHOD_CHECK_CE_DATA_EXISTS); in testAppAbleToAccessItsDataAfterForceStop() 132 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 | 36 private static final String APPA_PKG = "com.android.cts.appdataisolation.appa"; field in AppBTests 50 assertDirDoesNotExist("/data/data/" + APPA_PKG); in testCanNotAccessAppADataDir() 52 + APPA_PKG); in testCanNotAccessAppADataDir() 53 assertDirDoesNotExist("/data/misc/profiles/ref/" + APPA_PKG); in testCanNotAccessAppADataDir() 62 assertDirIsAccessible("/data/data/" + APPA_PKG); in testCanAccessAppADataDir() 64 assertDirIsAccessible("/data/misc/profiles/cur/" + getCurrentUserId() + "/" + APPA_PKG); in testCanAccessAppADataDir() 65 assertDirIsAccessible("/data/misc/profiles/ref/" + APPA_PKG); in testCanAccessAppADataDir() 87 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 139 return path.replace(APPA_PKG, APPB_PKG); in replacePackageAWithPackageB() 143 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; 358 assertDirIsNotAccessible(ceDataRoot + "/" + APPA_PKG); in testOtherUserDirsNotAccessible() 363 assertDirIsNotAccessible(deDataRoot + "/" + APPA_PKG); in testOtherUserDirsNotAccessible() 370 assertDirIsNotAccessible(profileRoot + "/" + APPA_PKG); in testOtherUserDirsNotAccessible()
|