/frameworks/base/core/tests/coretests/src/android/os/ |
D | EnvironmentTest.java | 65 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/ |
D | installd_service_test.cpp | 251 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/ |
D | UserDataPreparerTest.java | 98 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/ |
D | Files_test.cpp | 83 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()
|
D | Files.h | 65 bool mkdirs(const std::string& path);
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.cpp | 75 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/ |
D | WearPackageUtil.java | 44 newFileDir.mkdirs(); in getTemporaryFile() 57 newFileDir.mkdirs(); in getIconFile()
|
/frameworks/base/services/robotests/backup/src/android/app/backup/ |
D | BackupUtilsTest.java | 168 parent.mkdirs(); in file() 178 directory.mkdirs(); in directory()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 53 dir.mkdirs(); in clearDir() 131 path.getParentFile().mkdirs(); in writeToFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | PasswordSlotManagerTestable.java | 43 testDir.mkdirs(); in getSlotMapDir()
|
D | LockSettingsStorageTestable.java | 70 mappedDir.mkdirs(); in makeDirs()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderTest.java | 108 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/ |
D | MediaStoreSaver.java | 46 dir.mkdirs(); in savePNG()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 46 dir.mkdirs(); in save()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 46 dir.mkdirs(); in save()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | FileUpdater.java | 315 file.getBaseFile().getParentFile().mkdirs(); in saveDefaultValuesLocked() 393 dir.mkdirs(); in injectDefaultValuesFilename()
|
/frameworks/base/core/java/android/app/backup/ |
D | FileBackupHelperBase.java | 90 parent.mkdirs(); in writeFile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutDumpFiles.java | 48 directory.mkdirs(); in save()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureLibraries.java | 71 if (!parentFile.mkdirs()) { in save()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | ModelFileManagerTest.java | 74 mRootTestDir.mkdirs(); in setup() 75 mFactoryModelDir.mkdirs(); in setup()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestFontsProvider.java | 130 file.getParentFile().mkdirs(); in createFontFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | ReportEncoderTests.java | 117 path.getParentFile().mkdirs(); in writeToFile()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | FontFallbackSetup.java | 54 final boolean dirsCreated = cacheDir.mkdirs(); in FontFallbackSetup()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 231 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/ |
D | CameraTestResultPrinter.java | 51 baseDir.mkdirs(); in CameraTestResultPrinter()
|