Searched refs:createDirIfNeeded (Results 1 – 5 of 5) sorted by relevance
/system/apex/apexd/ |
D | apexd_session.cpp | 54 auto res = createDirIfNeeded(kApexSessionsDir, 0700); in createSessionDirIfNeeded() 60 res = createDirIfNeeded(sessionDir, 0700); in createSessionDirIfNeeded()
|
D | apexd_verity.cpp | 154 if (auto st = createDirIfNeeded(kApexHashTreeDir, 0700); !st.ok()) { in PrepareHashTree()
|
D | apexd_utils.h | 128 inline Result<void> createDirIfNeeded(const std::string& path, mode_t mode) { in createDirIfNeeded() function
|
D | apexd.cpp | 756 auto create_status = createDirIfNeeded(kApexBackupDir, 0700); in BackupActivePackages() 1286 const Result<void> result = createDirIfNeeded(rollback_path, 0700); in snapshotDataDirectory() 1704 createDirIfNeeded(std::string(kActiveApexPackagesDataDir), 0755); in stagePackages()
|
D | apexservice_test.cpp | 2078 ASSERT_TRUE(IsOk(createDirIfNeeded(std::string(kApexBackupDir), 0700))); in TEST_F() 2122 IsOk(createDirIfNeeded(std::string(kActiveApexPackagesDataDir), 0755))); in TEST_F() 2223 ASSERT_TRUE(IsOk(createDirIfNeeded(std::string(kApexBackupDir), 0700))); in PrepareBackup()
|