Home
last modified time | relevance | path

Searched refs:createTempFile (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DDataIntegrityCheckerTest.java44 File integrityFile = File.createTempFile("testIntegrityWithKnownDataAndKnownAlias", in testIntegrityWithKnownDataAndKnownAlias()
63 File integrityFile = File.createTempFile("testIntegrityWithUnknownDataAndKnownAlias", in testIntegrityWithUnknownDataAndKnownAlias()
80 File tmpFile = File.createTempFile("testIntegrityWithoutUpdate", ".tmp"); in testIntegrityWithoutUpdate()
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/
DBugreportManagerTest.java78 mBugreportFile = createTempFile("bugreport_" + name.getMethodName(), ".zip"); in setup()
79 mScreenshotFile = createTempFile("screenshot_" + name.getMethodName(), ".png"); in setup()
151 File bugreportFile2 = createTempFile("bugreport_2_" + name.getMethodName(), ".zip"); in simultaneousBugreportsNotAllowed()
152 File screenshotFile2 = createTempFile("screenshot_2_" + name.getMethodName(), ".png"); in simultaneousBugreportsNotAllowed()
294 private static File createTempFile(String prefix, String extension) throws Exception { in createTempFile() method in BugreportManagerTest
295 final File f = File.createTempFile(prefix, extension); in createTempFile()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DProcStatsUtilTest.java170 File tempFile = File.createTempFile("null-separated-file", null, mProcDirectory); in runReadNullSeparatedFile()
178 File tempFile = File.createTempFile("single-line-proc-file", null, mProcDirectory); in runReadSingleLineProcFile()
187 File tempFile = File.createTempFile("terminated-proc-file", null, mProcDirectory); in runReadTerminatedProcFile()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java85 File outputFile = File.createTempFile("statsdret", ".bin"); in getReportList()
151 File outFileSdk = File.createTempFile("shelltools_sdk", "tmp"); in isAcceptableStatsd()
162 File outFileCode = File.createTempFile("shelltools_codename", "tmp"); in isAcceptableStatsd()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLastMileLoggerTest.java55 mTraceDataFile = File.createTempFile(TRACE_DATA_PREFIX, null); in setUp()
56 mTraceEnableFile = File.createTempFile(TRACE_ENABLE_PREFIX, null); in setUp()
57 mTraceReleaseFile = File.createTempFile(TRACE_RELEASE_PREFIX, null); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DEntropyMixerTest.java32 File file = File.createTempFile("testInitialWrite", "dat", dir); in testInitialWrite()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DSomeService.java17 mTempFile = File.createTempFile("foo", "bar"); in onCreate()
DStrictModeTest.java84 final File test = File.createTempFile("foo", "bar"); in causeThreadViolations()
/frameworks/multidex/library/test/src/androidx/multidex/
DZipUtilTest.java119 File tmp = File.createTempFile("ZipUtilTest", ".fakezip"); in testCrcValue()
149 File tmp = File.createTempFile("ZipUtilTest", ".fakezip"); in testInvalidCrcValue()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DTemporaryFileManager.java44 return File.createTempFile("package", ".apk", context.getNoBackupFilesDir()); in getStagedFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DRandomAccessFileUtilsTest.java41 mTemporaryFile = File.createTempFile("fileutilstest", ".txt"); in setUp()
/frameworks/base/services/backup/java/com/android/server/backup/
DDataChangedJournal.java134 File.createTempFile(FILE_NAME_PREFIX, null, journalDirectory)); in newJournal()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java57 file = File.createTempFile(imageName, suffix, dir); in save()
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/
DMetrics.java59 File file = File.createTempFile(label, "txt"); in logText()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java57 file = File.createTempFile(imageName, suffix, dir); in save()
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java62 mTestFile = File.createTempFile(".file_observer_test", ".txt"); in setUp()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpFileWriter.java39 final File tempFile = File.createTempFile("mtp", "tmp", context.getCacheDir()); in MtpFileWriter()
/frameworks/base/services/core/java/com/android/server/
DCertBlacklister.java86 File tmp = File.createTempFile("journal", "", mTmpDir); in writeBlacklist()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DTypefaceCreatePerfTest.java88 outFile = File.createTempFile("example", "ttf", context.getCacheDir()); in testCreate_fromFile()
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
DMultipartTest.java34 File upload = File.createTempFile("Multipart", "test"); in testParts()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUpdateInstaller.java121 File destination = File.createTempFile( in createNewFileWithPermissions()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java163 File outFile = File.createTempFile("DM_TEST", null, new File(CACHE_DIR)); in testDownloadToCacheWithAlmostFullCache()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java69 File tmpFile = File.createTempFile("test", "file"); in calibrateMethod()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java190 tmp = File.createTempFile("journal", "", dir); in writeUpdate()
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/hprof/
DHprof.java159 return File.createTempFile("ddms", ".hprof"); in createTargetFile()

12