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;
109 assertDirReadWriteAccess(probe); in testWriteExternalStorageDirs()
136 assertDirReadWriteAccess(Environment.getExternalStorageDirectory()); in testPrimaryReadWrite()
156 assertDirReadWriteAccess(path); in testPrimaryWalkingUpTreeReadWrite()
174 assertDirReadWriteAccess(otherCache); in testPrimaryOtherPackageWriteAccess()
186 assertDirReadWriteAccess(path); in testMountStatusWalkingUpTree()
234 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.java24 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirReadWriteAccess;
71 assertDirReadWriteAccess(getInstrumentation().getContext().getExternalCacheDir()); in testDefault()
84 assertDirReadWriteAccess(Environment.getExternalStorageDirectory()); in testGranted()
85 assertDirReadWriteAccess(getInstrumentation().getContext().getExternalCacheDir()); in testGranted()
100 assertDirReadWriteAccess(getInstrumentation().getContext().getExternalCacheDir()); in testInteractiveGrant()
132 assertDirReadWriteAccess(Environment.getExternalStorageDirectory()); in testInteractiveGrant()
133 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.java113 assertDirReadWriteAccess(path); in testAllPackageDirsWritable()
121 assertDirReadWriteAccess(subdir); in testAllPackageDirsWritable()
264 public static void assertDirReadWriteAccess(File path) { in assertDirReadWriteAccess() method in CommonExternalStorageTest