/cts/tests/tests/os/src/android/os/cts/ |
D | FileAccessPermissionTest.java | 61 fakeSystemFile.createNewFile(); in testSystemDirAccess() 115 assertTrue(newFile.createNewFile()); in testAccessAppDataDir() 129 assertFalse(newOtherAppFile.createNewFile()); in testAccessAppDataDir() 145 assertTrue(sdcardFile.createNewFile()); in testExternalStorageAccess() 155 assertTrue(sdcardSubDirFile.createNewFile()); in testExternalStorageAccess() 174 assertTrue(sdcardFile.createNewFile()); in testNoExternalStorageAccess()
|
D | FileObserverTest.java | 45 testFile.createNewFile(); in helpSetUp() 175 testFile.createNewFile(); in helpTestFileObserver() 233 assertTrue(testFile.createNewFile()); in verifyTriggeredEventsOnDir()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 280 new File(musicDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity() 284 new File(musicDir, VIDEO_FILE_NAME).createNewFile(); in testTypePathConformity() 288 new File(musicDir, IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity() 293 new File(moviesDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity() 297 new File(moviesDir, AUDIO_FILE_NAME).createNewFile(); in testTypePathConformity() 301 new File(moviesDir, IMAGE_FILE_NAME).createNewFile(); in testTypePathConformity() 306 new File(dcimDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity() 310 new File(dcimDir, AUDIO_FILE_NAME).createNewFile(); in testTypePathConformity() 315 new File(picturesDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity() 319 new File(picturesDir, AUDIO_FILE_NAME).createNewFile(); in testTypePathConformity() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | OutOfProcessLoginActivity.java | 56 if (!getStartedMarker(this).createNewFile()) { in onStart() 70 if (!getStoppedMarker(this).createNewFile()) { in onStop() 84 if (!getDestroyedMarker(this).createNewFile()) { in onDestroy()
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 201 file.createNewFile(); in testCreateFilesInRandomPlaces_hasW() 241 newTxtFile.createNewFile(); in testCantAccessExternalStorage() 249 newMusicFile.createNewFile(); in testCantAccessExternalStorage() 281 assertThat(fileInDataDir.createNewFile()).isTrue(); in testCantAccessExternalStorage() 293 assertThat(fileInMediaDir.createNewFile()).isTrue(); in testCantAccessExternalStorage() 334 newFile.createNewFile(); in testReadOnlyExternalStorage_hasR() 411 assertThat(musicFile1.createNewFile()).isTrue(); in testCanRename_hasRW() 418 assertThat(pdfFile1.createNewFile()).isTrue(); in testCanRename_hasRW() 460 assertThat(mediaFile1.createNewFile()).isTrue(); in testCantRename_hasR() 495 assertThat(mediaFile1.createNewFile()).isTrue(); in testCantRename_noStoragePermission() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
D | WriteGiftTest.java | 41 assertTrue(write.createNewFile()); in testStageNonGifts() 70 none.createNewFile(); in testObbGifts() 103 new File(dir, "probe").createNewFile(); in testClearingWrite()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerNotificationTest.java | 59 noMedia.createNewFile(); in testMediaScannerNotification() 93 foo.createNewFile(); in createTempFiles()
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 221 otherAppExternalDataFile.createNewFile(); in testManageExternalStorageCantReadWriteOtherAppExternalDir() 270 assertThat(myAppPdf.createNewFile()).isTrue(); in testAccess_file() 474 assertThat(nomediaFile.createNewFile()).isTrue(); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() 477 assertThat(mediaFile.createNewFile()).isTrue(); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir() 513 assertThat(topLevelNomediaFile.createNewFile()).isTrue(); in testScanDoesntSkipDirtySubtree() 514 assertThat(nomediaFileInSubDir.createNewFile()).isTrue(); in testScanDoesntSkipDirtySubtree() 635 assertThat(newFile.createNewFile()).isTrue(); in assertCreateFileAndScanNomediaDirDoesntNoOp() 728 otherAppExternalDataFile.createNewFile(); in testNoIsolatedStorageCantReadWriteOtherAppExternalDir() 794 assertTrue(imageFile.createNewFile()); in testRenameFromShell() 900 newTxtFile.createNewFile(); in testInstantAppsCantAccessExternalStorage() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | BaseBootReceiver.java | 37 probe.createNewFile(); in onReceive()
|
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/ |
D | ReadMultiViewTest.java | 37 assertTrue(ourFile.createNewFile()); in testFolderSetup()
|
D | ReadGiftTest.java | 37 assertTrue(read.createNewFile()); in testStageNonGifts()
|
/cts/hostsidetests/install/app/src/android/cts/install/ |
D | SessionRule.java | 51 mTestStateFile.createNewFile(); in before()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 56 file.createNewFile(); in testAutoCloseOutputStream()
|
D | AssetFileDescriptorTest.java | 50 mFile.createNewFile(); in setUp()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | PrintStreamPrinterTest.java | 51 mFile.createNewFile(); in setup()
|
D | PrintWriterPrinterTest.java | 53 mFile.createNewFile(); in setup()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 272 assertFalse(probe.createNewFile()); in assertDirReadOnlyAccess() 297 assertTrue(probe.createNewFile()); in assertDirReadWriteAccess() 311 assertFalse(probe.createNewFile()); in assertDirNoAccess() 331 assertFalse(probe.createNewFile()); in assertDirNoWriteAccess()
|
D | GiftTest.java | 39 assertTrue(none.createNewFile()); in testStageNonGifts()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ReportLogDeviceInfoStore.java | 84 mJsonFile.createNewFile(); in close()
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | FileUtil.java | 77 public static File createNewFile(Context context, String dirName) { in createNewFile() method in FileUtil 112 files[i] = createNewFile(context, dirName); in createNewFiles() 145 File file = createNewFile(context, dirName); in createNewFilledFile()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Utils.java | 87 file.createNewFile(); in obtainFile()
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/common/src/com/android/cts/appdataisolation/common/ |
D | FileUtils.java | 130 file.createNewFile(); in touchFile()
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStore_DownloadsTest.java | 119 downloadFile.createNewFile(); in testScannedDownload() 133 downloadFile.createNewFile(); in testScannedMediaDownload() 362 file.createNewFile(); in insertImage()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | DeviceInfo.java | 92 jsonFile.createNewFile(); in testCollectDeviceInfo()
|
/cts/hostsidetests/backup/PreservedSettingsApp/src/android/cts/backup/preservedsettingsapp/ |
D | PreservedSettingsRestoreTest.java | 72 mSharedPreferencesFile.createNewFile(); in setUp()
|