Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/
DIsolatedService.java19 import static com.android.cts.appdataisolation.common.FileUtils.assertDirDoesNotExist;
40 assertDirDoesNotExist(applicationInfo.dataDir);
41 assertDirDoesNotExist(applicationInfo.deviceProtectedDataDir);
42 assertDirDoesNotExist("/data/data/" + getPackageName());
46 assertDirDoesNotExist("/data/misc/profiles/cur/" + currentUserId + "/"
49 assertDirDoesNotExist(FileUtils.replacePackageAWithPackageB(
51 assertDirDoesNotExist(FileUtils.replacePackageAWithPackageB(
53 assertDirDoesNotExist("/data/data/" + FileUtils.APPB_PKG);
54 assertDirDoesNotExist("/data/misc/profiles/cur/" + currentUserId + "/"
56 assertDirDoesNotExist("/data/misc/profiles/ref/" + FileUtils.APPB_PKG);
[all …]
DAppATests.java26 import static com.android.cts.appdataisolation.common.FileUtils.assertDirDoesNotExist;
196 assertDirDoesNotExist(applicationInfo.dataDir); in testCannotAccessAppBDataDir()
197 assertDirDoesNotExist(applicationInfo.deviceProtectedDataDir); in testCannotAccessAppBDataDir()
198 assertDirDoesNotExist("/data/data/" + APPB_PKG); in testCannotAccessAppBDataDir()
199 assertDirDoesNotExist("/data/misc/profiles/cur/" + getCurrentUserId() + "/" + APPB_PKG); in testCannotAccessAppBDataDir()
200 assertDirDoesNotExist("/data/misc/profiles/ref/" + APPB_PKG); in testCannotAccessAppBDataDir()
226 assertDirDoesNotExist(appBExternalDir); in testCanNotAccessAppBExternalDirs()
227 assertDirDoesNotExist(appBObbDir); in testCanNotAccessAppBExternalDirs()
307 assertDirDoesNotExist(ceDataRoot); in testOtherUserDirsNotPresent()
308 assertDirDoesNotExist(deDataRoot); in testOtherUserDirsNotPresent()
[all …]
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppB/src/com/android/cts/appdataisolation/appb/
DAppBTests.java19 import static com.android.cts.appdataisolation.common.FileUtils.assertDirDoesNotExist;
50 assertDirDoesNotExist(replacePackageBWithPackageA(applicationInfo.dataDir)); in testCanNotAccessAppADataDir()
51 assertDirDoesNotExist(replacePackageBWithPackageA(applicationInfo.deviceProtectedDataDir)); in testCanNotAccessAppADataDir()
52 assertDirDoesNotExist("/data/data/" + APPA_PKG); in testCanNotAccessAppADataDir()
53 assertDirDoesNotExist("/data/misc/profiles/cur/" + getCurrentUserId() + "/" in testCanNotAccessAppADataDir()
55 assertDirDoesNotExist("/data/misc/profiles/ref/" + APPA_PKG); in testCanNotAccessAppADataDir()
76 assertDirDoesNotExist(appAExternalDir); in testCanNotAccessAppAExternalDirs()
77 assertDirDoesNotExist(appAObbDir); in testCanNotAccessAppAExternalDirs()
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/common/src/com/android/cts/appdataisolation/common/
DFileUtils.java66 public static void assertDirDoesNotExist(String path) { in assertDirDoesNotExist() method in FileUtils