Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/coretests/src/android/os/
DEnvironmentTest.java65 Environment.buildPath(dir, "DCIM").mkdirs(); in testClassify_emptyDirs()
66 Environment.buildPath(dir, "DCIM", "January").mkdirs(); in testClassify_emptyDirs()
67 Environment.buildPath(dir, "Downloads").mkdirs(); in testClassify_emptyDirs()
68 Environment.buildPath(dir, "LOST.DIR").mkdirs(); in testClassify_emptyDirs()
82 Environment.buildPath(dir, "DCIM").mkdirs(); in testClassify_photos()
84 Environment.buildPath(dir, "Download").mkdirs(); in testClassify_photos()
91 Environment.buildPath(dir, "Android").mkdirs(); in testClassify_other()
92 Environment.buildPath(dir, "Android", "com.example").mkdirs(); in testClassify_other()
94 Environment.buildPath(dir, "Linux").mkdirs(); in testClassify_other()
/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/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.cpp75 ASSERT_TRUE(file::mkdirs(temp_dir_)); in SetUp()
91 file::mkdirs(dirs); in WriteFile()
100 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/devicepolicy/
DDpmTestUtils.java53 dir.mkdirs(); in clearDir()
131 path.getParentFile().mkdirs(); in writeToFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DPasswordSlotManagerTestable.java43 testDir.mkdirs(); in getSlotMapDir()
DLockSettingsStorageTestable.java70 mappedDir.mkdirs(); in makeDirs()
/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/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/services/core/java/com/android/server/power/batterysaver/
DFileUpdater.java315 file.getBaseFile().getParentFile().mkdirs(); in saveDefaultValuesLocked()
393 dir.mkdirs(); in injectDefaultValuesFilename()
/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/java/android/gesture/
DGestureLibraries.java71 if (!parentFile.mkdirs()) { in save()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DModelFileManagerTest.java74 mRootTestDir.mkdirs(); in setup()
75 mFactoryModelDir.mkdirs(); in setup()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java130 file.getParentFile().mkdirs(); in createFontFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DReportEncoderTests.java117 path.getParentFile().mkdirs(); in writeToFile()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java54 final boolean dirsCreated = cacheDir.mkdirs(); in FontFallbackSetup()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java231 if (!launchRootDir.exists() && !launchRootDir.mkdirs()) { in testMeasureStartUpTime()
240 if (!launchSubDir.exists() && !launchSubDir.mkdirs()) { in testMeasureStartUpTime()
257 if (!rootTrace.exists() && !rootTrace.mkdirs()) { in testMeasureStartUpTime()
261 if (!rootTraceSubDir.exists() && !rootTraceSubDir.mkdirs()) { in testMeasureStartUpTime()
585 if (!launchRootDir.exists() && !launchRootDir.mkdirs()) { in logDumpsysIorapd()
596 if (!launchSubDir.exists() && !launchSubDir.mkdirs()) { in logDumpsysIorapd()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestResultPrinter.java51 baseDir.mkdirs(); in CameraTestResultPrinter()

12345