Home
last modified time | relevance | path

Searched refs:HiviewFileInfo (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/adapter/service/common/src/
H A Dhiview_file_info.cpp24 void* HiviewFileInfo::GetData(uint32_t& dataSize) const in GetData()
57 HiviewFileInfo HiviewFileInfo::ParseData(const char* data, const uint32_t dataSize) in ParseData()
61 return HiviewFileInfo("", 0, 0); in ParseData()
67 return HiviewFileInfo("", 0, 0); in ParseData()
71 return HiviewFileInfo("", 0, 0); in ParseData()
75 return HiviewFileInfo("", 0, 0); in ParseData()
77 return HiviewFileInfo(name, mtime, size); in ParseData()
/ohos5.0/base/hiviewdfx/hiview/adapter/service/common/include/
H A Dhiview_file_info.h23 struct HiviewFileInfo { struct
24 HiviewFileInfo(std::string name, time_t mtime, uint64_t size) in HiviewFileInfo() argument
27 static HiviewFileInfo ParseData(const char* data, const uint32_t dataSize);
H A Dihiview_service_ability.h35 virtual int32_t List(const std::string& logType, std::vector<HiviewFileInfo>& fileInfos) = 0;
/ohos5.0/base/hiviewdfx/hiview/interfaces/js/napi/include/
H A Dhiview_napi_util.h34 …static napi_value GenerateFileInfoResult(const napi_env env, const std::vector<HiviewFileInfo>& fi…
48 … static void CreateJsFileInfo(const napi_env env, const HiviewFileInfo& fileInfo, napi_value& val);
H A Dhiview_service_agent.h30 int32_t List(const std::string& logType, std::vector<HiviewFileInfo>& fileInfos);
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/include/
H A Dhiview_service_ability.h47 int32_t List(const std::string& logType, std::vector<HiviewFileInfo>& fileInfos) override;
86 void GetFileInfoUnderDir(const std::string& dirPath, std::vector<HiviewFileInfo>& fileInfos);
/ohos5.0/base/hiviewdfx/hiview/adapter/service/test/unittest/common/
H A Dadapter_loglibrary_ability_test.cpp69 std::vector<HiviewFileInfo> fileInfos;
82 std::vector<HiviewFileInfo> fileInfos;
/ohos5.0/base/hiviewdfx/hiview/interfaces/js/napi/src/
H A Dhiview_napi_util.cpp123 void HiviewNapiUtil::CreateJsFileInfo(const napi_env env, const HiviewFileInfo& fileInfo, napi_valu… in CreateJsFileInfo()
138 …wNapiUtil::GenerateFileInfoResult(const napi_env env, const std::vector<HiviewFileInfo>& fileInfos) in GenerateFileInfoResult()
H A Dhiview_service_agent.cpp40 int32_t HiviewServiceAgent::List(const std::string& logType, std::vector<HiviewFileInfo>& fileInfos) in List()
H A Dnapi_hiview_js.cpp54 std::vector<HiviewFileInfo> fileInfos; in List()
/ohos5.0/base/hiviewdfx/hiview/interfaces/js/napi/test/unittest/common/
H A Dloglibrary_agent_test.cpp55 std::vector<HiviewFileInfo> fileInfos;
/ohos5.0/base/hiviewdfx/hiview/adapter/service/client/src/
H A Dhiview_service_ability_proxy.cpp28 int32_t HiviewServiceAbilityProxy::List(const std::string& logType, std::vector<HiviewFileInfo>& fi… in List()
64 if (!AshMemoryUtils::ReadBulkData<HiviewFileInfo>(ashmem, allSize, fileInfos)) { in List()
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/src/
H A Dhiview_service_ability.cpp159 int32_t HiviewServiceAbility::List(const std::string& logType, std::vector<HiviewFileInfo>& fileInf… in List()
170 …iceAbility::GetFileInfoUnderDir(const std::string& dirPath, std::vector<HiviewFileInfo>& fileInfos) in GetFileInfoUnderDir()
H A Dhiview_service_ability_stub.cpp273 std::vector<HiviewFileInfo> fileInfos; in HandleListRequest()
285 if (!AshMemoryUtils::WriteBulkData<HiviewFileInfo>(fileInfos, ashmem, ASH_MEM_SIZE, allSize)) { in HandleListRequest()
/ohos5.0/base/hiviewdfx/hiview/adapter/service/client/include/
H A Dhiview_service_ability_proxy.h34 int32_t List(const std::string& logType, std::vector<HiviewFileInfo>& fileInfos) override;