Home
last modified time | relevance | path

Searched refs:assertDirDoesNotExist (Results 1 – 5 of 5) 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;
216 assertDirDoesNotExist(applicationInfo.dataDir); in testCannotAccessAppBDataDir()
217 assertDirDoesNotExist(applicationInfo.deviceProtectedDataDir); 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()
248 assertDirDoesNotExist(appBExternalDir); in testCanNotAccessAppBExternalDirs()
249 assertDirDoesNotExist(appBObbDir); in testCanNotAccessAppBExternalDirs()
338 assertDirDoesNotExist(ceDataRoot); in testOtherUserDirsNotPresent()
339 assertDirDoesNotExist(deDataRoot); in testOtherUserDirsNotPresent()
[all …]
/cts/hostsidetests/appsecurity/test-apps/NoDataStorageApp/src/com/android/cts/noappstorage/
DNoAppDataStorageTest.java44 assertDirDoesNotExist(mCeContext.getDataDir()); in testNoInternalCeStorage()
45 assertDirDoesNotExist(mCeContext.getFilesDir()); in testNoInternalCeStorage()
46 assertDirDoesNotExist(mCeContext.getCacheDir()); in testNoInternalCeStorage()
47 assertDirDoesNotExist(mCeContext.getCodeCacheDir()); in testNoInternalCeStorage()
52 assertDirDoesNotExist(mDeContext.getDataDir()); in testNoInternalDeStorage()
53 assertDirDoesNotExist(mDeContext.getFilesDir()); in testNoInternalDeStorage()
54 assertDirDoesNotExist(mDeContext.getCacheDir()); in testNoInternalDeStorage()
55 assertDirDoesNotExist(mDeContext.getCodeCacheDir()); in testNoInternalDeStorage()
78 private void assertDirDoesNotExist(File dir) throws Exception { in assertDirDoesNotExist() method in NoAppDataStorageTest
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppB/src/com/android/cts/appdataisolation/appb/
DAppBTests.java19 import static com.android.cts.appdataisolation.common.FileUtils.assertDirDoesNotExist;
48 assertDirDoesNotExist(replacePackageBWithPackageA(applicationInfo.dataDir)); in testCanNotAccessAppADataDir()
49 assertDirDoesNotExist(replacePackageBWithPackageA(applicationInfo.deviceProtectedDataDir)); in testCanNotAccessAppADataDir()
50 assertDirDoesNotExist("/data/data/" + APPA_PKG); in testCanNotAccessAppADataDir()
51 assertDirDoesNotExist("/data/misc/profiles/cur/" + getCurrentUserId() + "/" in testCanNotAccessAppADataDir()
53 assertDirDoesNotExist("/data/misc/profiles/ref/" + APPA_PKG); in testCanNotAccessAppADataDir()
73 assertDirDoesNotExist(appAExternalDir); in testCanNotAccessAppAExternalDirs()
74 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