Home
last modified time | relevance | path

Searched refs:HiviewServiceAgent (Results 1 - 5 of 5) sorted by relevance

/base/hiviewdfx/hiview/interfaces/js/napi/src/
H A Dhiview_service_agent.cpp31 DEFINE_LOG_TAG("HiviewServiceAgent");
34 HiviewServiceAgent& HiviewServiceAgent::GetInstance() in GetInstance()
36 static HiviewServiceAgent hiviewServiceAgent; in GetInstance()
40 int32_t HiviewServiceAgent::List(const std::string& logType, std::vector<HiviewFileInfo>& fileInfos) in List()
51 int32_t HiviewServiceAgent::Copy(const std::string& logType, const std::string& logName, const std::string& dest) in Copy()
56 int32_t HiviewServiceAgent::Move(const std::string& logType, const std::string& logName, const std::string& dest) in Move()
61 int32_t HiviewServiceAgent::CopyOrMoveFile( in CopyOrMoveFile()
77 int32_t HiviewServiceAgent::Remove(const std::string& logType, const std::string& logName) in Remove()
88 sptr<IRemoteObject> HiviewServiceAgent
[all...]
H A Dhiview_napi_adapter.cpp42 params->result = HiviewServiceAgent::GetInstance().Copy(params->logType, params->logName, params->destDir); in CopyFileExecution()
57 params->result = HiviewServiceAgent::GetInstance().Move(params->logType, params->logName, params->destDir); in MoveFileExecution()
H A Dnapi_hiview_js.cpp55 int32_t retCode = HiviewServiceAgent::GetInstance().List(logType, fileInfos); in List()
158 int32_t retCode = HiviewServiceAgent::GetInstance().Remove(logType, logName); in Remove()
/base/hiviewdfx/hiview/interfaces/js/napi/include/
H A Dhiview_service_agent.h28 class HiviewServiceAgent { class
36 static HiviewServiceAgent& GetInstance();
39 HiviewServiceAgent() = default;
40 ~HiviewServiceAgent() = default;
56 HiviewServiceDeathRecipient(HiviewServiceAgent& agent) : hiviewServiceAgent_(agent) {}; in HiviewServiceDeathRecipient()
66 HiviewServiceAgent& hiviewServiceAgent_;
/base/hiviewdfx/hiview/interfaces/js/napi/test/unittest/common/
H A Dloglibrary_agent_test.cpp56 int32_t result = HiviewServiceAgent::GetInstance().List(LOG_TYPE, fileInfos); in HWTEST_F()
64 int32_t result = HiviewServiceAgent::GetInstance().Copy(LOG_TYPE, fileName, DEST_PATH); in HWTEST_F()
72 int32_t result = HiviewServiceAgent::GetInstance().Move(LOG_TYPE, fileName, DEST_PATH); in HWTEST_F()
80 int32_t result = HiviewServiceAgent::GetInstance().Remove(LOG_TYPE, fileName); in HWTEST_F()

Completed in 2 milliseconds