/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/core/tests/coretests/src/android/os/ |
D | EnvironmentTest.java | 91 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/ |
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 | 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 | 111 mappedDir.mkdirs(); in makeDirs()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 54 dir.mkdirs(); in clearDir() 150 path.getParentFile().mkdirs(); in writeToFile()
|
D | PolicyVersionUpgraderTest.java | 83 parentDir.mkdirs(); in makeJournaledFile() 126 mDataDir.getParentFile().mkdirs(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | IntegrityFileManager.java | 95 if (!mStagingDir.mkdirs() || !mRulesDir.mkdirs()) { in IntegrityFileManager()
|
/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/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 46 dir.mkdirs(); in save()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 46 dir.mkdirs(); in save()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryUsageStatsStore.java | 124 if (!mStoreDir.mkdirs()) { in storeBatteryUsageStats() 236 mLockFile.getParentFile().mkdirs(); in lockSnapshotDirectory()
|
/frameworks/base/core/java/android/app/backup/ |
D | FileBackupHelperBase.java | 90 parent.mkdirs(); in writeFile()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | FileUpdater.java | 317 file.getBaseFile().getParentFile().mkdirs(); in saveDefaultValuesLocked() 393 dir.mkdirs(); in injectDefaultValuesFilename()
|
/frameworks/base/tools/aapt2/format/ |
D | Archive_test.cpp | 46 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/ |
D | ShortcutDumpFiles.java | 48 directory.mkdirs(); in save()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/app/ |
D | GameManagerServiceSettingsTests.java | 50 file.mkdirs(); in writeFile()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackStore.java | 87 rollbackDataDir.mkdirs(); in loadRollbacks() 249 targetDir.mkdirs(); in backupPackageCodePath() 311 backDir.mkdirs(); in saveRollback()
|
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
D | RingtoneOverlayService.java | 77 if (!destDir.exists() && !destDir.mkdirs()) { in copyResourceAndSetAsSound()
|