Home
last modified time | relevance | path

Searched refs:newFile (Results 1 – 13 of 13) sorted by relevance

/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoaderTest.java77 File first = temporaryFolder.newFile(); in testSumFileSizes()
85 File second = temporaryFolder.newFile(); in testSumFileSizes()
100 File imageFile = temporaryFolder.newFile("test.gif"); in testFetchesThumbnailsForImages()
116 File clearableFile = temporaryFolder.newFile(); in makeClearableFile()
/packages/modules/AdServices/adservices/tests/host/room/src/com/android/adservices/room/test/
DRoomDatabaseVersionBumpGuardrailTest.java90 ZipEntry newFile = newSchemasByFileName.get(baseFile.getName()); in roomDatabaseVersionBumpGuardrailTest() local
91 if (newFile == null) { in roomDatabaseVersionBumpGuardrailTest()
101 newSchemas.getInputStream(newFile).readAllBytes())) { in roomDatabaseVersionBumpGuardrailTest()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPerformanceTest.java323 File newFile = new File(testDir, "file_" + System.nanoTime()); in doDirOperations() local
324 assertThat(file.renameTo(newFile)).isTrue(); in doDirOperations()
325 renamedFiles.add(newFile); in doDirOperations()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/multichip/
DMultichipConfigFileCreator.java55 File file = tempFolder.newFile(filename); in createFileFromResource()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/storage/
DBooleanFileDatastore.java79 this(newFile(parentPath, filename), datastoreVersion, versionKey); in BooleanFileDatastore()
461 private static File newFile(String parentPath, String filename) { in newFile() method in BooleanFileDatastore
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java211 File newFile = getFileForDocId(newDocumentId); in createDocument() local
213 newFile.getName(), newFile.getName(), true, mimeType, in createDocument()
214 newFile.getAbsolutePath(), 0L, in createDocument()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorTest.java212 File tempFile = temporaryFolder.newFile(); in writeTempFile()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java666 File tempFile = mTemporaryFolder.newFile(); in testWriteSearchResultsToFileStatsLogging()
682 File tempFile = mTemporaryFolder.newFile(); in testPutDocumentsFromFileStatsLogging()
1752 File tempFile = mTemporaryFolder.newFile(); in verifyWriteSearchResultsToFileResult()
1766 File tempFile = mTemporaryFolder.newFile(); in verifyPutDocumentsFromFileResult()
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorageTest.java109 mTestFile = mFolder.newFile(TEST_FILE); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java151 mComponentStateFile = temporaryFolder.newFile("COMPONENT_STATE_FILE"); in setUp()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkControllerServiceTest.java206 final AtomicFile storageFile = new AtomicFile(tempFolder.newFile("thread_settings.xml")); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java273 mComponentStateFile = temporaryFolder.newFile("COMPONENT_STATE_FILE"); in setUp()
2617 mFileHwStateMonitoring = temporaryFolder.newFile("HW_STATE_MONITORING"); in setService()
2618 mFileKernelSilentMode = temporaryFolder.newFile("KERNEL_SILENT_MODE"); in setService()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexManagerTest.java162 File file = tempFolder.newFile(configFile.split("/")[1]); in createFileFromResource()