Home
last modified time | relevance | path

Searched refs:makeUniqueFile (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtils.java65 useWrite(makeUniqueFile(c.getFilesDir()), 2 * MB_IN_BYTES); in useSpace()
66 useWrite(makeUniqueFile(c.getCodeCacheDir()), 3 * MB_IN_BYTES); in useSpace()
67 useWrite(makeUniqueFile(c.getCacheDir()), 5 * MB_IN_BYTES); in useSpace()
68 useWrite(makeUniqueFile(c.getExternalFilesDir("meow")), 7 * MB_IN_BYTES); in useSpace()
69 useWrite(makeUniqueFile(c.getExternalCacheDir()), 11 * MB_IN_BYTES); in useSpace()
71 useFallocate(makeUniqueFile(c.getFilesDir()), 13 * MB_IN_BYTES); in useSpace()
72 useFallocate(makeUniqueFile(c.getCodeCacheDir()), 17 * MB_IN_BYTES); in useSpace()
73 useFallocate(makeUniqueFile(c.getCacheDir()), 19 * MB_IN_BYTES); in useSpace()
74 final File subdir = makeUniqueFile(c.getCacheDir()); in useSpace()
76 useFallocate(makeUniqueFile(subdir), 23 * MB_IN_BYTES); in useSpace()
[all …]
DHoarder.java20 import static com.android.cts.storageapp.Utils.makeUniqueFile;
63 final File target = makeUniqueFile(dir); in doBlocks()
107 final File a = makeUniqueFile(dir); in doInodes()
110 final File b = makeUniqueFile(a); in doInodes()
DStorageTest.java30 import static com.android.cts.storageapp.Utils.makeUniqueFile;
208 final File filesFile = makeUniqueFile(filesDir); in testVerifyAllocateApi()
220 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorNormal()
225 final File ext = makeUniqueFile(getContext().getExternalCacheDir()); in testBehaviorNormal()
234 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorGroup()
239 final File ext = makeUniqueFile(getContext().getExternalCacheDir()); in testBehaviorGroup()
248 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorTombstone()
253 final File ext = makeUniqueFile(getContext().getExternalCacheDir()); in testBehaviorTombstone()
DUtilsReceiver.java20 import static com.android.cts.storageapp.Utils.makeUniqueFile;
82 final File f = makeUniqueFile(target); in doAllocation()
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java32 import static com.android.cts.storageapp.Utils.makeUniqueFile;
223 useWrite(makeUniqueFile(top), 5 * MB_IN_BYTES); in testVerifyStatsExternalConsistent()
224 useWrite(makeUniqueFile(pics), 5 * MB_IN_BYTES); in testVerifyStatsExternalConsistent()
225 useWrite(makeUniqueFile(pics), 5 * MB_IN_BYTES); in testVerifyStatsExternalConsistent()
349 final File a = useFallocate(makeUniqueFile(normal), size, normalTime); in testCacheBehavior()
350 final File b = useFallocate(makeUniqueFile(normal), size, normalTime); in testCacheBehavior()
351 final File c = useFallocate(makeUniqueFile(normal), size, normalTime); in testCacheBehavior()
353 final File d = useFallocate(makeUniqueFile(group), size, groupTime); in testCacheBehavior()
354 final File e = useFallocate(makeUniqueFile(group), size, groupTime); in testCacheBehavior()
355 final File f = useFallocate(makeUniqueFile(group), size, groupTime); in testCacheBehavior()
[all …]