Home
last modified time | relevance | path

Searched refs:useWrite (Results 1 – 3 of 3) 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()
78 useWrite(makeUniqueFile(c.getObbDir()), 29 * MB_IN_BYTES); in useSpace()
103 public static File useWrite(File file, long size) throws Exception { in useWrite() method in Utils
DUtilsReceiver.java22 import static com.android.cts.storageapp.Utils.useWrite;
87 useWrite(f, size); in doAllocation()
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
DStorageStatsTest.java35 import static com.android.cts.storageapp.Utils.useWrite;
183 useWrite(image, 2 * MB_IN_BYTES); in testVerifyStatsExternal()
184 useWrite(video, 3 * MB_IN_BYTES); in testVerifyStatsExternal()
185 useWrite(audio, 5 * MB_IN_BYTES); in testVerifyStatsExternal()
186 useWrite(internal, 7 * MB_IN_BYTES); in testVerifyStatsExternal()
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()