Home
last modified time | relevance | path

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

123456

/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp251 static bool mkdirs(const std::string& path, mode_t mode) { in mkdirs() function
257 if (!mkdirs(android::base::Dirname(path), mode)) { in mkdirs()
284 ASSERT_TRUE(mkdirs("/data/local/tmp/user/0", 0700)); in SetUp()
294 ASSERT_TRUE(mkdirs(rollback_ce_base_dir, 0700)); in SetUp()
295 ASSERT_TRUE(mkdirs(rollback_de_base_dir, 0700)); in SetUp()
296 ASSERT_TRUE(mkdirs(fake_package_ce_path, 0700)); in SetUp()
297 ASSERT_TRUE(mkdirs(fake_package_de_path, 0700)); in SetUp()
392 ASSERT_TRUE(mkdirs(another_fake_package_ce_path, 0700)); in TEST_F()
393 ASSERT_TRUE(mkdirs(another_fake_package_de_path, 0700)); in TEST_F()
459 ASSERT_TRUE(mkdirs(rollback_ce_dir, 0700)); in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DEnvironmentTest.java91 Environment.buildPath(dir, "DCIM").mkdirs(); in testClassify_emptyDirs()
92 Environment.buildPath(dir, "DCIM", "January").mkdirs(); in testClassify_emptyDirs()
93 Environment.buildPath(dir, "Downloads").mkdirs(); in testClassify_emptyDirs()
94 Environment.buildPath(dir, "LOST.DIR").mkdirs(); in testClassify_emptyDirs()
108 Environment.buildPath(dir, "DCIM").mkdirs(); in testClassify_photos()
110 Environment.buildPath(dir, "Download").mkdirs(); in testClassify_photos()
117 Environment.buildPath(dir, "Android").mkdirs(); in testClassify_other()
118 Environment.buildPath(dir, "Android", "com.example").mkdirs(); in testClassify_other()
120 Environment.buildPath(dir, "Linux").mkdirs(); in testClassify_other()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java98 userDeDir.mkdirs(); in testPrepareUserData_De()
100 systemDeDir.mkdirs(); in testPrepareUserData_De()
116 userCeDir.mkdirs(); in testPrepareUserData_Ce()
118 systemCeDir.mkdirs(); in testPrepareUserData_Ce()
135 systemCeDir.mkdirs(); in testDestroyUserData()
153 systemDir.mkdirs(); in testDestroyUserData_De()
156 systemDeDir.mkdirs(); in testDestroyUserData_De()
174 systemCeDir.mkdirs(); in testDestroyUserData_Ce()
194 dir1.mkdirs(); in testReconcileUsers()
196 dir2.mkdirs(); in testReconcileUsers()
[all …]
/frameworks/base/tools/aapt2/util/
DFiles_test.cpp83 ASSERT_TRUE(file::mkdirs(current_path)) << "Failed to create path " << current_path; in TEST_F()
98 ASSERT_FALSE(file::mkdirs(R"(\\?\local\path\to\file)")); in TEST_F()
99 ASSERT_FALSE(file::mkdirs(R"(\\?\:local\path\to\file)")); in TEST_F()
100 ASSERT_FALSE(file::mkdirs(R"(\\?\\local\path\to\file)")); in TEST_F()
DFiles.h65 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.java111 mappedDir.mkdirs(); in makeDirs()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java54 dir.mkdirs(); in clearDir()
150 path.getParentFile().mkdirs(); in writeToFile()
DPolicyVersionUpgraderTest.java83 parentDir.mkdirs(); in makeJournaledFile()
126 mDataDir.getParentFile().mkdirs(); in setUp()
/frameworks/base/services/core/java/com/android/server/integrity/
DIntegrityFileManager.java95 if (!mStagingDir.mkdirs() || !mRulesDir.mkdirs()) { in IntegrityFileManager()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderTest.java108 assertTrue(processPath.toFile().mkdirs()); in setupDirectory()
112 assertTrue(selfThreadsPath.toFile().mkdirs()); in setupDirectory()
122 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/HealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java46 dir.mkdirs(); in save()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java46 dir.mkdirs(); in save()
/frameworks/base/core/java/com/android/internal/os/
DBatteryUsageStatsStore.java124 if (!mStoreDir.mkdirs()) { in storeBatteryUsageStats()
236 mLockFile.getParentFile().mkdirs(); in lockSnapshotDirectory()
/frameworks/base/core/java/android/app/backup/
DFileBackupHelperBase.java90 parent.mkdirs(); in writeFile()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DFileUpdater.java317 file.getBaseFile().getParentFile().mkdirs(); in saveDefaultValuesLocked()
393 dir.mkdirs(); in injectDefaultValuesFilename()
/frameworks/base/tools/aapt2/format/
DArchive_test.cpp46 file::mkdirs(output_path); in MakeDirectoryWriter()
53 file::mkdirs(file::GetStem(output_path).to_string()); in MakeZipFileWriter()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutDumpFiles.java48 directory.mkdirs(); in save()
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DGameManagerServiceSettingsTests.java50 file.mkdirs(); in writeFile()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java87 rollbackDataDir.mkdirs(); in loadRollbacks()
249 targetDir.mkdirs(); in backupPackageCodePath()
311 backDir.mkdirs(); in saveRollback()
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DRingtoneOverlayService.java77 if (!destDir.exists() && !destDir.mkdirs()) { in copyResourceAndSetAsSound()

123456