Home
last modified time | relevance | path

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

123456

/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/native/cmds/installd/tests/
Dinstalld_service_test.cpp526 static bool mkdirs(const std::string& path, mode_t mode) { in mkdirs() function
532 if (!mkdirs(android::base::Dirname(path), mode)) { in mkdirs()
559 ASSERT_TRUE(mkdirs("/data/local/tmp/user/0", 0700)); in SetUp()
569 ASSERT_TRUE(mkdirs(rollback_ce_base_dir, 0700)); in SetUp()
570 ASSERT_TRUE(mkdirs(rollback_de_base_dir, 0700)); in SetUp()
571 ASSERT_TRUE(mkdirs(fake_package_ce_path, 0700)); in SetUp()
572 ASSERT_TRUE(mkdirs(fake_package_de_path, 0700)); in SetUp()
667 ASSERT_TRUE(mkdirs(another_fake_package_ce_path, 0700)); in TEST_F()
668 ASSERT_TRUE(mkdirs(another_fake_package_de_path, 0700)); in TEST_F()
734 ASSERT_TRUE(mkdirs(rollback_ce_dir, 0700)); in TEST_F()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DUserDataPreparerTest.java90 userDeDir.mkdirs(); in testPrepareUserData_De()
92 systemDeDir.mkdirs(); in testPrepareUserData_De()
108 userCeDir.mkdirs(); in testPrepareUserData_Ce()
110 systemCeDir.mkdirs(); in testPrepareUserData_Ce()
127 systemCeDir.mkdirs(); in testDestroyUserData()
145 systemDir.mkdirs(); in testDestroyUserData_De()
148 systemDeDir.mkdirs(); in testDestroyUserData_De()
166 systemCeDir.mkdirs(); in testDestroyUserData_Ce()
186 dir1.mkdirs(); in testReconcileUsers()
188 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.h67 bool mkdirs(const std::string& path);
/frameworks/base/tools/aapt2/test/
DFixture.cpp73 ASSERT_TRUE(file::mkdirs(temp_dir_)); in SetUp()
86 file::mkdirs(dirs); in WriteFile()
95 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/core/java/com/android/server/integrity/
DIntegrityFileManager.java95 if (!mStagingDir.mkdirs() || !mRulesDir.mkdirs()) { in IntegrityFileManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java54 dir.mkdirs(); in clearDir()
150 path.getParentFile().mkdirs(); in writeToFile()
/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/core/java/android/app/backup/
DFileBackupHelperBase.java90 parent.mkdirs(); in writeFile()
/frameworks/base/core/java/com/android/internal/os/
DBatteryUsageStatsStore.java130 if (!mStoreDir.mkdirs()) { in storeBatteryUsageStats()
249 mLockFile.getParentFile().mkdirs(); in lockSnapshotDirectory()
/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.java86 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()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedFullRestoreTask.java67 temporaryFolder.mkdirs(); in newInstance()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java130 file.getParentFile().mkdirs(); in createFontFile()

123456