/frameworks/base/services/tests/servicestests/src/com/android/server/systemconfig/ |
D | SystemConfigTest.java | 81 mFooJar = createTempFile( in setUp() 149 createTempFile(folder1, "permissionFile1.xml", contents1); in testInstallInUserType() 152 createTempFile(folder2, "permissionFile2.xml", contents2); in testInstallInUserType() 156 createTempFile(folder1, "permissionFile2.xml", contents3); in testInstallInUserType() 187 createTempFile(folder, "component-override.xml", contents); in testComponentOverride() 219 createTempFile(folder, "staged-installer-whitelist.xml", contents); in readPermissions_allowAppConfigs_parsesStagedInstallerWhitelist() 237 createTempFile(folder, "staged-installer-whitelist.xml", contents); in readPermissions_parsesStagedInstallerWhitelist_modulesInstaller() 258 createTempFile(folder, "staged-installer-whitelist.xml", contents); in readPermissions_parsesStagedInstallerWhitelist_multipleModulesInstallers() 279 createTempFile(folder, "staged-installer-whitelist.xml", contents); in readPermissions_notAllowAppConfigs_wontParseStagedInstallerWhitelist() 299 createTempFile(folder, "vendor-apex-allowlist.xml", contents); in readPermissions_allowVendorApex_parsesVendorApexAllowList() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | EntropyMixerTest.java | 53 seedFile = createTempFile("entropy.dat"); in setUp() 54 randomReadDevice = createTempFile("urandomRead"); in setUp() 55 randomWriteDevice = createTempFile("urandomWrite"); in setUp() 58 private File createTempFile(String prefix) throws Exception { in createTempFile() method in EntropyMixerTest 59 File file = File.createTempFile(prefix, null); in createTempFile()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | ProcStatsUtilTest.java | 167 File tempFile = File.createTempFile("null-separated-file", null, mProcDirectory); in runReadNullSeparatedFile() 175 File tempFile = File.createTempFile("single-line-proc-file", null, mProcDirectory); in runReadSingleLineProcFile() 184 File tempFile = File.createTempFile("terminated-proc-file", null, mProcDirectory); in runReadTerminatedProcFile()
|
D | ProcLocksReaderTest.java | 106 File tempFile = File.createTempFile("locks", null, mProcDirectory); in runHandleBlockingFileLocks()
|
/frameworks/base/api/coverage/tools/ |
D | ExtractFlaggedApisTest.kt | 37 private var apiTextFile: Path = Files.createTempFile("current", ".txt") 38 private var flagToApiMap: Path = Files.createTempFile("flag_api_map", ".textproto") 42 apiTextFile = Files.createTempFile("current", ".txt") in setup() 43 flagToApiMap = Files.createTempFile("flag_api_map", ".textproto") in setup()
|
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/ |
D | BugreportManagerTest.java | 137 mBugreportFile = createTempFile("bugreport_" + name.getMethodName(), ".zip"); in setup() 138 mScreenshotFile = createTempFile("screenshot_" + name.getMethodName(), ".png"); in setup() 303 File bugreportFile2 = createTempFile("bugreport_2_" + name.getMethodName(), ".zip"); in simultaneousBugreportsNotAllowed() 304 File screenshotFile2 = createTempFile("screenshot_2_" + name.getMethodName(), ".png"); in simultaneousBugreportsNotAllowed() 504 private static File createTempFile(String prefix, String extension) throws Exception { in createTempFile() method in BugreportManagerTest 505 final File f = File.createTempFile(prefix, extension); in createTempFile() 525 File tmp = createTempFile("tmp", ".cfg"); in startPreDumpedUiTraces() 591 File extractedFile = createTempFile(entryToExtract.getFileName().toString(), ".extracted"); in extractZipArchiveEntry() 618 File src = createTempFile("fake", ".data"); in createFakeTraceFiles() 637 File dst = createTempFile(src.getFileName().toString(), ".copy"); in copyFiles()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpPool.h | 157 std::unique_ptr<TmpFile> tmp_file_ptr = createTempFile(); in post() 177 std::unique_ptr<TmpFile> createTempFile();
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | SomeService.java | 17 mTempFile = File.createTempFile("foo", "bar"); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | StrictModeTest.java | 35 mFile = File.createTempFile("StrictModeTest", "tmp"); in setUp()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/common/ |
D | TemporaryFileManager.java | 45 return File.createTempFile("package", ".apk", context.getNoBackupFilesDir()); in getStagedFile()
|
/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/tests/Internal/src/com/android/internal/protolog/ |
D | ProtoLogViewerConfigReaderTest.java | 81 mTestViewerConfig = File.createTempFile("testConfig", ".json.gz"); in setUp()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | BinaryXmlTest.java | 118 final File file = File.createTempFile("fast", ".xml"); in testResolve_File() 129 final File file = File.createTempFile("binary", ".xml"); in testResolve_File()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsFavoritePersistenceWrapperTest.kt | 46 file = File.createTempFile("controls_favorites", ".temp") in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | RandomAccessFileUtilsTest.java | 41 mTemporaryFile = File.createTempFile("fileutilstest", ".txt"); in setUp()
|
/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/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/ |
D | RemoteProvisioningShellCommandTest.java | 116 File in = File.createTempFile("rpsct_in_", null); in exec() 117 File out = File.createTempFile("rpsct_out_", null); in exec() 118 File err = File.createTempFile("rpsct_err_", null); in exec()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | ZipFilePerfTest.java | 54 mFile = File.createTempFile(getClass().getName(), ".zip"); in setUp()
|
D | XmlSerializerPerfTest.java | 88 File file = File.createTempFile(XmlSerializerPerfTest.class.getSimpleName(), "tmp"); in runTest()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | ArtStatsLogUtilsTest.java | 301 Path zipFile = Files.createTempFile(null, suffix); in zipFiles() 316 Path zipFile = Files.createTempFile(null, ".dm"); in createDexMetadata()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenMediaRecorder.java | 129 mTempVideoFile = File.createTempFile("temp", ".mp4", cacheDir); in prepare() 194 mTempAudioFile = File.createTempFile("temp", ".aac", in prepare() 348 File file = File.createTempFile("temp", ".mp4", in save()
|
/frameworks/base/services/core/java/com/android/server/ |
D | CertBlacklister.java | 86 File tmp = File.createTempFile("journal", "", mTmpDir); in writeDenylist()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | DataChangedJournal.java | 144 File file = File.createTempFile(FILE_NAME_PREFIX, null, journalDirectory); in newJournal()
|