Home
last modified time | relevance | path

Searched refs:createNewFile (Results 1 – 24 of 24) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteGiftTest.java38 none.createNewFile(); in testGifts()
46 read.createNewFile(); in testGifts()
54 write.createNewFile(); in testGifts()
DWriteExternalStorageTest.java277 assertTrue(probe.createNewFile()); in testSecondaryMountPointsNotWritable()
/cts/tests/tests/os/src/android/os/cts/
DFileAccessPermissionTest.java59 fakeSystemFile.createNewFile(); in testSystemDirAccess()
113 assertTrue(newFile.createNewFile()); in testAccessAppDataDir()
127 assertFalse(newOtherAppFile.createNewFile()); in testAccessAppDataDir()
139 assertTrue(sdcardFile.createNewFile()); in testAccessAppDataDir()
149 assertTrue(sdcardSubDirFile.createNewFile()); in testAccessAppDataDir()
DFileObserverTest.java46 mTestFile.createNewFile(); in setUp()
127 assertTrue(mTestFile.createNewFile()); in testFileObserver()
143 mTestFile.createNewFile(); in testFileObserver()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerNotificationTest.java66 noMedia.createNewFile(); in testMediaScannerNotification()
100 foo.createNewFile(); in createTempFiles()
DMediaScannerTest.java135 nomedia.createNewFile(); in testMediaScanner()
/cts/tests/tests/util/src/android/util/cts/
DPrintStreamPrinterTest.java37 mFile.createNewFile(); in setUp()
DPrintWriterPrinterTest.java39 mFile.createNewFile(); in setUp()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java212 probe.createNewFile(); in assertDirReadOnlyAccess()
230 probe.createNewFile(); in assertDirReadWriteAccess()
245 probe.createNewFile(); in assertDirNoAccess()
258 probe.createNewFile(); in assertDirNoWriteAccess()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java56 file.createNewFile(); in testAutoCloseOutputStream()
DAssetFileDescriptorTest.java48 mFile.createNewFile(); in setUp()
/cts/tools/signature-tools/src/signature/io/impl/
DBinaryApi.java41 file.createNewFile(); in externalizeApi()
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
DFileUtil.java74 public static File createNewFile(Context context, String dirName) { in createNewFile() method in FileUtil
109 files[i] = createNewFile(context, dirName); in createNewFiles()
143 File file = createNewFile(context, dirName); in createNewFilledFile()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteDatabaseTest.java131 dbFile.createNewFile(); in testDeleteDatabase()
132 journalFile.createNewFile(); in testDeleteDatabase()
133 shmFile.createNewFile(); in testDeleteDatabase()
134 walFile.createNewFile(); in testDeleteDatabase()
135 mjFile1.createNewFile(); in testDeleteDatabase()
136 mjFile2.createNewFile(); in testDeleteDatabase()
137 innocentFile.createNewFile(); in testDeleteDatabase()
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java167 if (!file.createNewFile()) { in obtainPath()
DBitmapFactoryTest.java616 if (!file.createNewFile()) { in obtainPath()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedVectorDrawableTest.java87 outputFile.createNewFile(); in saveVectorDrawableIntoPNG()
DVectorDrawableTest.java183 outputFile.createNewFile(); in saveVectorDrawableIntoPNG()
DDrawableTest.java127 assertTrue(imageFile.createNewFile()); in testCreateFromPath()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoActivity.java145 jsonFile.createNewFile(); in createFilePath()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java459 assertTrue(new File(getContext().getFilesDir(), "normal.raw").createNewFile()); in testCodeCacheWrite()
460 assertTrue(new File(getContext().getCodeCacheDir(), "cache.raw").createNewFile()); in testCodeCacheWrite()
/cts/tests/tests/content/src/android/content/cts/
DMockContentProvider.java407 file.createNewFile(); in setCrashOnLaunch()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java393 toCreate.createNewFile(); in isDirectoryWritable()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex10836 public boolean createNewFile()