/frameworks/base/core/tests/coretests/src/android/os/ |
D | EnvironmentTest.java | 78 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/ |
D | UserDataPreparerTest.java | 97 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/ |
D | installd_service_test.cpp | 655 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/ |
D | Files_test.cpp | 124 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()
|
D | Files.h | 66 bool mkdirs(const std::string& path);
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.cpp | 74 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/ |
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/locksettings/ |
D | PasswordSlotManagerTestable.java | 43 testDir.mkdirs(); in getSlotMapDir()
|
D | LockSettingsStorageTestable.java | 106 mappedPath.getParentFile().mkdirs(); in remapToStorageDir()
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | IntegrityFileManager.java | 95 if (!mStagingDir.mkdirs() || !mRulesDir.mkdirs()) { in IntegrityFileManager()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 54 dir.mkdirs(); in clearDir() 150 path.getParentFile().mkdirs(); in writeToFile()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderTest.java | 115 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/ |
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/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/tests/coretests/src/android/provider/ |
D | TestFontsProvider.java | 130 file.getParentFile().mkdirs(); in createFontFile()
|
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
D | RingtoneOverlayService.java | 77 if (!destDir.exists() && !destDir.mkdirs()) { in copyResourceAndSetAsSound()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackStore.java | 87 rollbackDataDir.mkdirs(); in loadRollbacks() 261 targetDir.mkdirs(); in backupPackageCodePath() 323 backDir.mkdirs(); in saveRollback()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsStore.java | 139 if (!mStoreDir.mkdirs()) { in storePowerStatsSpan() 251 mLockFile.getParentFile().mkdirs(); in lockStoreDirectory()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | FontFallbackSetup.java | 54 final boolean dirsCreated = cacheDir.mkdirs(); in FontFallbackSetup()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | ReportEncoderTests.java | 117 path.getParentFile().mkdirs(); in writeToFile()
|
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/ |
D | BackupRestoreFileArchiver.kt | 74 file.parentFile?.mkdirs() // ensure parent folders are created in <lambda>()
|