Home
last modified time | relevance | path

Searched refs:createDirIfNeeded (Results 1 – 5 of 5) sorted by relevance

/system/apex/apexd/
Dapexd_session.cpp54 auto res = createDirIfNeeded(kApexSessionsDir, 0700); in createSessionDirIfNeeded()
60 res = createDirIfNeeded(sessionDir, 0700); in createSessionDirIfNeeded()
Dapexd_verity.cpp154 if (auto st = createDirIfNeeded(kApexHashTreeDir, 0700); !st.ok()) { in PrepareHashTree()
Dapexd_utils.h128 inline Result<void> createDirIfNeeded(const std::string& path, mode_t mode) { in createDirIfNeeded() function
Dapexd.cpp756 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()
Dapexservice_test.cpp2078 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()