/frameworks/base/services/tests/servicestests/src/com/android/server/systemconfig/ |
D | SystemConfigTest.java | 128 createTempFile(folder1, "permFile1.xml", contents1); in testInstallInUserType() 131 createTempFile(folder2, "permFile2.xml", contents2); in testInstallInUserType() 134 createTempFile(folder1, "permFile2.xml", contents3); in testInstallInUserType() 165 createTempFile(folder, "component-override.xml", contents); in testComponentOverride() 197 createTempFile(folder, "staged-installer-whitelist.xml", contents); in readPermissions_allowAppConfigs_parsesStagedInstallerWhitelist() 217 createTempFile(folder, "staged-installer-whitelist.xml", contents); in readPermissions_notAllowAppConfigs_wontParseStagedInstallerWhitelist() 245 private File createTempFile(File folder, String fileName, String contents) in createTempFile() method in SystemConfigTest
|
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/ |
D | BugreportManagerTest.java | 78 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/ |
D | ProcStatsUtilTest.java | 170 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/ |
D | Utils.java | 93 File outputFile = File.createTempFile("statsdret", ".bin"); in getReportList() 164 File outFileSdk = File.createTempFile("shelltools_sdk", "tmp"); in isAcceptableStatsd() 175 File outFileCode = File.createTempFile("shelltools_codename", "tmp"); in isAcceptableStatsd() 215 File outFile = File.createTempFile("device_serial", "tmp"); in getDeviceSerials()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | LastMileLoggerTest.java | 55 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/ |
D | EntropyMixerTest.java | 32 File file = File.createTempFile("testInitialWrite", "dat", dir); in testInitialWrite()
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | SomeService.java | 17 mTempFile = File.createTempFile("foo", "bar"); in onCreate()
|
D | StrictModeTest.java | 84 final File test = File.createTempFile("foo", "bar"); in causeThreadViolations()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenMediaRecorder.java | 109 mTempVideoFile = File.createTempFile("temp", ".mp4", cacheDir); in prepare() 167 mTempAudioFile = File.createTempFile("temp", ".aac", in prepare() 236 File file = File.createTempFile("temp", ".mp4", in save()
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | ZipUtilTest.java | 119 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/ |
D | TemporaryFileManager.java | 44 return File.createTempFile("package", ".apk", context.getNoBackupFilesDir()); in getStagedFile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsFavoritePersistenceWrapperTest.kt | 45 file = File.createTempFile("controls_favorites", ".temp") in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/protolog/ |
D | ProtoLogViewerConfigReaderTest.java | 81 mTestViewerConfig = File.createTempFile("testConfig", ".json.gz"); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | RandomAccessFileUtilsTest.java | 41 mTemporaryFile = File.createTempFile("fileutilstest", ".txt"); in setUp()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | DataChangedJournal.java | 136 File.createTempFile(FILE_NAME_PREFIX, null, journalDirectory)); in newJournal()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 57 file = File.createTempFile(imageName, suffix, dir); in save()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 57 file = File.createTempFile(imageName, suffix, dir); in save()
|
/frameworks/base/tests/SystemMemoryTest/host/src/com/android/tests/sysmem/host/ |
D | Metrics.java | 59 File file = File.createTempFile(label, "txt"); in logText()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CertBlacklister.java | 86 File tmp = File.createTempFile("journal", "", mTmpDir); in writeBlacklist()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileObserverTest.java | 62 mTestFile = File.createTempFile(".file_observer_test", ".txt"); in setUp()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | TypefaceCreatePerfTest.java | 88 outFile = File.createTempFile("example", "ttf", context.getCacheDir()); in testCreate_fromFile()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | ResourcesManagerPerfTest.java | 67 File file = File.createTempFile(fileName, null, sContext.getCacheDir()); in copyApkToTemp()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
D | MultipartTest.java | 34 File upload = File.createTempFile("Multipart", "test"); in testParts()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | UpdateInstaller.java | 121 File destination = File.createTempFile( in createNewFileWithPermissions()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 69 File tmpFile = File.createTempFile("test", "file"); in calibrateMethod()
|