Home
last modified time | relevance | path

Searched refs:mkdirs (Results 1 – 25 of 146) sorted by relevance

123456

/frameworks/base/core/tests/coretests/src/android/os/
DEnvironmentTest.java78 Environment.buildPath(dir, "DCIM").mkdirs(); in testClassify_emptyDirs()
79 Environment.buildPath(dir, "DCIM", "January").mkdirs(); in testClassify_emptyDirs()
80 Environment.buildPath(dir, "Downloads").mkdirs(); in testClassify_emptyDirs()
81 Environment.buildPath(dir, "LOST.DIR").mkdirs(); in testClassify_emptyDirs()
95 Environment.buildPath(dir, "DCIM").mkdirs(); in testClassify_photos()
97 Environment.buildPath(dir, "Download").mkdirs(); in testClassify_photos()
104 Environment.buildPath(dir, "Android").mkdirs(); in testClassify_other()
105 Environment.buildPath(dir, "Android", "com.example").mkdirs(); in testClassify_other()
107 Environment.buildPath(dir, "Linux").mkdirs(); in testClassify_other()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DUserDataPreparerTest.java97 userDeDir.mkdirs(); in testPrepareUserData_De()
99 systemDeDir.mkdirs(); in testPrepareUserData_De()
114 userCeDir.mkdirs(); in testPrepareUserData_Ce()
116 systemCeDir.mkdirs(); in testPrepareUserData_Ce()
154 systemCeDir.mkdirs(); in testDestroyUserData_De_DoesNotDestroyCe()
166 systemDir.mkdirs(); in testDestroyUserData_De()
169 systemDeDir.mkdirs(); in testDestroyUserData_De()
193 systemCeDir.mkdirs(); in testDestroyUserData_Ce()
218 dir1.mkdirs(); in testReconcileUsers()
220 dir2.mkdirs(); in testReconcileUsers()
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp655 static bool mkdirs(const std::string& path, mode_t mode) { in mkdirs() function
661 if (!mkdirs(android::base::Dirname(path), mode)) { in mkdirs()
688 ASSERT_TRUE(mkdirs("/data/local/tmp/user/0", 0700)); in SetUp()
698 ASSERT_TRUE(mkdirs(rollback_ce_base_dir, 0700)); in SetUp()
699 ASSERT_TRUE(mkdirs(rollback_de_base_dir, 0700)); in SetUp()
700 ASSERT_TRUE(mkdirs(fake_package_ce_path, 0700)); in SetUp()
701 ASSERT_TRUE(mkdirs(fake_package_de_path, 0700)); in SetUp()
796 ASSERT_TRUE(mkdirs(another_fake_package_ce_path, 0700)); in TEST_F()
797 ASSERT_TRUE(mkdirs(another_fake_package_de_path, 0700)); in TEST_F()
863 ASSERT_TRUE(mkdirs(rollback_ce_dir, 0700)); in TEST_F()
[all …]
/frameworks/base/tools/aapt2/util/
DFiles_test.cpp124 ASSERT_TRUE(file::mkdirs(current_path)) << "Failed to create path " << current_path; in TEST_F()
139 ASSERT_FALSE(file::mkdirs(R"(\\?\local\path\to\file)")); in TEST_F()
140 ASSERT_FALSE(file::mkdirs(R"(\\?\:local\path\to\file)")); in TEST_F()
141 ASSERT_FALSE(file::mkdirs(R"(\\?\\local\path\to\file)")); in TEST_F()
DFiles.h66 bool mkdirs(const std::string& path);
/frameworks/base/tools/aapt2/test/
DFixture.cpp74 ASSERT_TRUE(file::mkdirs(temp_dir_)); in SetUp()
87 file::mkdirs(dirs); in WriteFile()
96 CHECK(file::mkdirs(out_dir.data())); in CompileFile()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageUtil.java44 newFileDir.mkdirs(); in getTemporaryFile()
57 newFileDir.mkdirs(); in getIconFile()
/frameworks/base/services/robotests/backup/src/android/app/backup/
DBackupUtilsTest.java168 parent.mkdirs(); in file()
178 directory.mkdirs(); in directory()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DPasswordSlotManagerTestable.java43 testDir.mkdirs(); in getSlotMapDir()
DLockSettingsStorageTestable.java106 mappedPath.getParentFile().mkdirs(); in remapToStorageDir()
/frameworks/base/services/core/java/com/android/server/integrity/
DIntegrityFileManager.java95 if (!mStagingDir.mkdirs() || !mRulesDir.mkdirs()) { in IntegrityFileManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java54 dir.mkdirs(); in clearDir()
150 path.getParentFile().mkdirs(); in writeToFile()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderTest.java115 assertTrue(processPath.toFile().mkdirs()); in setupDirectory()
119 assertTrue(selfThreadsPath.toFile().mkdirs()); in setupDirectory()
129 assertTrue(threadPath.toFile().mkdirs()); in setupDirectory()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMediaStoreSaver.java46 dir.mkdirs(); in savePNG()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java46 dir.mkdirs(); in save()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java46 dir.mkdirs(); in save()
/frameworks/base/core/java/android/app/backup/
DFileBackupHelperBase.java90 parent.mkdirs(); in writeFile()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutDumpFiles.java48 directory.mkdirs(); in save()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java130 file.getParentFile().mkdirs(); in createFontFile()
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DRingtoneOverlayService.java77 if (!destDir.exists() && !destDir.mkdirs()) { in copyResourceAndSetAsSound()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java87 rollbackDataDir.mkdirs(); in loadRollbacks()
261 targetDir.mkdirs(); in backupPackageCodePath()
323 backDir.mkdirs(); in saveRollback()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsStore.java139 if (!mStoreDir.mkdirs()) { in storePowerStatsSpan()
251 mLockFile.getParentFile().mkdirs(); in lockStoreDirectory()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java54 final boolean dirsCreated = cacheDir.mkdirs(); in FontFallbackSetup()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DReportEncoderTests.java117 path.getParentFile().mkdirs(); in writeToFile()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreFileArchiver.kt74 file.parentFile?.mkdirs() // ensure parent folders are created in <lambda>()

123456