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;
278 final File filesFile = makeUniqueFile(filesDir); in testVerifyAllocateApi()
290 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorNormal()
295 final File ext = makeUniqueFile(getContext().getExternalCacheDir()); in testBehaviorNormal()
304 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorGroup()
309 final File ext = makeUniqueFile(getContext().getExternalCacheDir()); in testBehaviorGroup()
318 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorTombstone()
323 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.java33 import static com.android.cts.storageapp.Utils.makeUniqueFile;
250 useWrite(makeUniqueFile(top), 5 * MB_IN_BYTES); in testVerifyStatsExternalConsistent()
251 useWrite(makeUniqueFile(pics), 5 * MB_IN_BYTES); in testVerifyStatsExternalConsistent()
252 useWrite(makeUniqueFile(pics), 5 * MB_IN_BYTES); in testVerifyStatsExternalConsistent()
383 final File a = useFallocate(makeUniqueFile(normal), size, normalTime); in testCacheBehavior()
384 final File b = useFallocate(makeUniqueFile(normal), size, normalTime); in testCacheBehavior()
385 final File c = useFallocate(makeUniqueFile(normal), size, normalTime); in testCacheBehavior()
387 final File d = useFallocate(makeUniqueFile(group), size, groupTime); in testCacheBehavior()
388 final File e = useFallocate(makeUniqueFile(group), size, groupTime); in testCacheBehavior()
389 final File f = useFallocate(makeUniqueFile(group), size, groupTime); in testCacheBehavior()
[all …]