Home
last modified time | relevance | path

Searched refs:ApexSessionManager (Results 1 – 7 of 7) sorted by relevance

/system/apex/apexd/
Dapexd_session.h91 friend class ApexSessionManager; variable
102 class ApexSessionManager {
104 ApexSessionManager(ApexSessionManager&&) noexcept;
105 ApexSessionManager& operator=(ApexSessionManager&&) noexcept;
107 static std::unique_ptr<ApexSessionManager> Create(
120 explicit ApexSessionManager(std::string sessions_base_dir);
121 ApexSessionManager(const ApexSessionManager&) = delete;
122 ApexSessionManager& operator=(const ApexSessionManager&) = delete;
Dapexd_session.cpp295 ApexSessionManager::ApexSessionManager(std::string sessions_base_dir) in ApexSessionManager() function in android::apex::ApexSessionManager
298 ApexSessionManager::ApexSessionManager(ApexSessionManager&& other) noexcept in ApexSessionManager() function in android::apex::ApexSessionManager
301 ApexSessionManager& ApexSessionManager::operator=( in operator =()
302 ApexSessionManager&& other) noexcept { in operator =()
307 std::unique_ptr<ApexSessionManager> ApexSessionManager::Create( in Create()
309 return std::unique_ptr<ApexSessionManager>( in Create()
310 new ApexSessionManager(std::move(sessions_base_dir))); in Create()
313 Result<ApexSession> ApexSessionManager::CreateSession(int session_id) { in CreateSession()
324 Result<ApexSession> ApexSessionManager::GetSession(int session_id) const { in GetSession()
332 std::vector<ApexSession> ApexSessionManager::GetSessions() const { in GetSessions()
[all …]
Dapexd_session_test.cpp132 auto manager = ApexSessionManager::Create(std::string(td.path)); in TEST()
143 auto manager = ApexSessionManager::Create(std::string(td.path)); in TEST()
150 auto manager = ApexSessionManager::Create(std::string(td.path)); in TEST()
159 auto manager = ApexSessionManager::Create(std::string(td.path)); in TEST()
175 auto manager = ApexSessionManager::Create(std::string(td.path)); in TEST()
183 TEST(ApexSessionManager, GetSessionsCommittedSessions) { in TEST() argument
185 auto manager = ApexSessionManager::Create(std::string(td.path)); in TEST()
212 TEST(ApexSessionManager, GetSessionsInState) { in TEST() argument
214 auto manager = ApexSessionManager::Create(std::string(td.path)); in TEST()
242 TEST(ApexSessionManager, MigrateFromOldSessionsDir) { in TEST() argument
[all …]
Dapexd_main.cpp46 std::unique_ptr<android::apex::ApexSessionManager> session_manager; in HandleSubcommand()
48 session_manager = android::apex::ApexSessionManager::Create( in HandleSubcommand()
59 std::unique_ptr<android::apex::ApexSessionManager> session_manager; in HandleSubcommand()
61 session_manager = android::apex::ApexSessionManager::Create( in HandleSubcommand()
84 auto session_manager = android::apex::ApexSessionManager::Create( in HandleSubcommand()
163 auto session_manager = android::apex::ApexSessionManager::Create( in main()
Dapexd.h142 void InitializeSessionManager(ApexSessionManager* session_manager);
Dapexd_test.cpp160 session_manager_ = ApexSessionManager::Create(sessions_metadata_dir_); in ApexdUnitTest()
182 ApexSessionManager* GetSessionManager() { return session_manager_.get(); } in GetSessionManager()
289 std::unique_ptr<ApexSessionManager> session_manager_;
Dapexd.cpp134 ApexSessionManager* gSessionManager;
2631 void InitializeSessionManager(ApexSessionManager* session_manager) { in InitializeSessionManager()