Home
last modified time | relevance | path

Searched refs:GetSessionsDir (Results 1 – 6 of 6) sorted by relevance

/aosp12/system/apex/apexd/
H A Dapexd_session.cpp57 std::string ApexSession::GetSessionsDir() { in GetSessionsDir() function in android::apex::ApexSession
78 std::string session_dir = GetSessionsDir() + "/" + std::to_string(session_id); in CreateSession()
102 auto path = StringPrintf("%s/%d/%s", GetSessionsDir().c_str(), session_id, in GetSession()
112 GetSessionsDir(), [](const std::filesystem::directory_entry& entry) { in GetSessions()
241 auto state_file_path = StringPrintf("%s/%d/%s", GetSessionsDir().c_str(), in UpdateStateAndCommit()
254 std::string session_dir = GetSessionsDir() + "/" + std::to_string(GetId()); in DeleteSession()
H A Dapexd_session_test.cpp50 std::string result = ApexSession::GetSessionsDir(); in TEST()
59 std::string result = ApexSession::GetSessionsDir(); in TEST()
H A Dapexd_session.h37 static std::string GetSessionsDir();
H A Dapexd_test.cpp199 DeleteDirContent(ApexSession::GetSessionsDir()); in SetUp()
202 void TearDown() override { DeleteDirContent(ApexSession::GetSessionsDir()); } in TearDown()
H A Dapexservice_test.cpp456 DeleteDirContent(ApexSession::GetSessionsDir()); in CleanUp()
H A Dapexd.cpp1963 LOG(INFO) << "Scanning " << ApexSession::GetSessionsDir() in ScanStagedSessionsDirAndStage()