Home
last modified time | relevance | path

Searched refs:assertDirReadWriteAccess (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java25 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirReadWriteAccess;
105 assertDirReadWriteAccess(probe); in testWriteExternalStorageDirs()
132 assertDirReadWriteAccess(Environment.getExternalStorageDirectory()); in testPrimaryReadWrite()
152 assertDirReadWriteAccess(path); in testPrimaryWalkingUpTreeReadWrite()
169 assertDirReadWriteAccess(otherCache); in testPrimaryOtherPackageWriteAccess()
181 assertDirReadWriteAccess(path); in testMountStatusWalkingUpTree()
229 assertDirReadWriteAccess(path); in testSecondaryWalkingUpTreeReadOnly()
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/
DReadExternalStorageTest.java21 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirReadWriteAccess;
59 assertDirReadWriteAccess(path); in testAllWalkingUpTreeReadOnly()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DUsePermissionTest23.java23 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirReadWriteAccess;
57 assertDirReadWriteAccess(getInstrumentation().getContext().getExternalCacheDir()); in testDefault()
70 assertDirReadWriteAccess(Environment.getExternalStorageDirectory()); in testGranted()
71 assertDirReadWriteAccess(getInstrumentation().getContext().getExternalCacheDir()); in testGranted()
86 assertDirReadWriteAccess(getInstrumentation().getContext().getExternalCacheDir()); in testInteractiveGrant()
118 assertDirReadWriteAccess(Environment.getExternalStorageDirectory()); in testInteractiveGrant()
119 assertDirReadWriteAccess(getInstrumentation().getContext().getExternalCacheDir()); in testInteractiveGrant()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp22/src/com/android/cts/usepermission/
DUsePermissionTest22.java22 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirReadWriteAccess;
58 assertDirReadWriteAccess(Environment.getExternalStorageDirectory()); in testCompatDefault()
61 assertDirReadWriteAccess(path); in testCompatDefault()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DExternalStorageTest.java21 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirReadWriteAccess;
70 assertDirReadWriteAccess(path); in testAllWalkingUpTreeNoAccess()
DCommonExternalStorageTest.java112 assertDirReadWriteAccess(path); in testAllPackageDirsWritable()
120 assertDirReadWriteAccess(subdir); in testAllPackageDirsWritable()
257 public static void assertDirReadWriteAccess(File path) { in assertDirReadWriteAccess() method in CommonExternalStorageTest