/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
H A D | faultlog_manager.h | 40 int32_t CreateTempFaultLogFile(time_t time, int32_t id, int32_t faultType, const std::string& module) const; 41 std::list<std::string> GetFaultLogFileList(const std::string& module, time_t time, int32_t id, int32_t faultType, 46 const std::string& module, int32_t id, int32_t faultType, int32_t maxNum) const; 47 bool IsProcessedFault(int32_t pid, int32_t uid, int32_t faultType);
|
H A D | faultlog_database.cpp | 122 int32_t faultType, EventStore::Cond upperCaseCond, EventStore::Cond lowerCaseCond) in CreateQueries() 125 if (faultType == FaultLogType::JS_CRASH || faultType == FaultLogType::ALL) { in CreateQueries() 138 if (faultType != FaultLogType::JS_CRASH) { in CreateQueries() 139 std::string faultName = GetFaultNameByType(faultType, false); in CreateQueries() 141 if (faultType == FaultLogType::ALL) { in CreateQueries() 158 int32_t faultType, int32_t maxNum) in GetFaultInfoList() 162 if (faultType < FaultLogType::ALL || faultType > FaultLogType::APP_FREEZE) { in GetFaultInfoList() 169 auto queries = CreateQueries(faultType, uidUpperCon in GetFaultInfoList() 121 CreateQueries( int32_t faultType, EventStore::Cond upperCaseCond, EventStore::Cond lowerCaseCond) CreateQueries() argument 157 GetFaultInfoList(const std::string& module, int32_t id, int32_t faultType, int32_t maxNum) GetFaultInfoList() argument 198 IsFaultExist(int32_t pid, int32_t uid, int32_t faultType) IsFaultExist() argument [all...] |
H A D | faultlog_manager.cpp | 79 int32_t FaultLogManager::CreateTempFaultLogFile(time_t time, int32_t id, int32_t faultType, in CreateTempFaultLogFile() argument 85 info.faultLogType = faultType; in CreateTempFaultLogFile() 143 int32_t id, int32_t faultType, int32_t maxNum) const in GetFaultInfoList() 147 ret = faultLogDb_->GetFaultInfoList(module, id, faultType, maxNum); in GetFaultInfoList() 149 ret.size(), id, faultType); in GetFaultInfoList() 173 int32_t faultType, int32_t maxNum) const in GetFaultLogFileList() 175 LogStoreEx::LogFileFilter filter = CreateLogFileFilter(time, id, faultType, module); in GetFaultLogFileList() 189 bool FaultLogManager::IsProcessedFault(int32_t pid, int32_t uid, int32_t faultType) in IsProcessedFault() argument 195 return faultLogDb_->IsFaultExist(pid, uid, faultType); in IsProcessedFault() 142 GetFaultInfoList(const std::string& module, int32_t id, int32_t faultType, int32_t maxNum) const GetFaultInfoList() argument 172 GetFaultLogFileList(const std::string &module, time_t time, int32_t id, int32_t faultType, int32_t maxNum) const GetFaultLogFileList() argument
|
H A D | faultlog_database.h | 36 const std::string& module, int32_t id, int32_t faultType, int32_t maxNum); 37 bool IsFaultExist(int32_t pid, int32_t uid, int32_t faultType);
|
H A D | faultlogger.h | 64 int32_t pid, int32_t faultType, int32_t maxNum) override; 96 void RemoveHilogFromFaultlog(const std::string &logPath, int32_t faultType) const;
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cj/ |
H A D | faultlogger_ffi.cpp | 84 auto faultLogResult = QuerySelfFaultLog((FaultLogType)faultLogInfoContext->faultType, in FaultLogExecute() 106 CArrFaultLogInfo FfiFaultLoggerQuery(int32_t faultType, int32_t &code) in FfiFaultLoggerQuery() argument 116 faultLogInfoContext->faultType = faultType; in FfiFaultLoggerQuery()
|
H A D | faultlogger_ffi.h | 44 FFI_EXPORT CArrFaultLogInfo FfiFaultLoggerQuery(int32_t faultType, int32_t &code);
|
H A D | faultlogger_info.h | 46 int32_t faultType = 0; member in OHOS::HiviewDFX::CFaultLogInfoContext
|
/base/theme/wallpaper_mgr/utils/dfx/hisysevent_adapter/ |
H A D | fault_reporter.cpp | 30 static_cast<int>(msg.faultType), MODULE_NAME, msg.moduleName, ERROR_TYPE, static_cast<int>(msg.errorCode)); in ReportServiceFault() 37 static_cast<int>(msg.faultType), ERROR_TYPE, static_cast<int>(msg.errorCode)); in ReportRuntimeFault()
|
H A D | dfx_types.h | 41 FaultType faultType; member
|
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/fuzztest/faultloggerservice_fuzzer/ |
H A D | faultlogger_service_fuzzer.cpp | 95 int32_t faultType; in FuzzServiceInterfaceQuerySelfFaultLog() local 97 int offsetTotalLength = sizeof(faultType) + sizeof(maxNum); in FuzzServiceInterfaceQuerySelfFaultLog() 102 STREAM_TO_VALUEINFO(data, faultType); in FuzzServiceInterfaceQuerySelfFaultLog() 105 auto remoteObject = serviceOhos.QuerySelfFaultLog(faultType, maxNum); in FuzzServiceInterfaceQuerySelfFaultLog() 121 int32_t faultType; in FuzzServiceInterfaceCreateTempFaultLogFile() local 122 int offsetTotalLength = sizeof(time) + sizeof(id) + sizeof(faultType) + FAULTLOGGER_FUZZTEST_MAX_STRING_LENGTH; in FuzzServiceInterfaceCreateTempFaultLogFile() 129 STREAM_TO_VALUEINFO(data, faultType); in FuzzServiceInterfaceCreateTempFaultLogFile() 133 faultLogManager->CreateTempFaultLogFile(time, id, faultType, module); in FuzzServiceInterfaceCreateTempFaultLogFile()
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/ |
H A D | faultlog_info.cpp | 83 void FaultLogInfo::SetFaultType(int32_t faultType) in SetFaultType() argument 85 type_ = faultType; in SetFaultType()
|
/base/hiviewdfx/hicollie/interfaces/ndk/ |
H A D | report_data.cpp | 70 if (!parcel.WriteInt32(static_cast<int32_t>(faultType))) { in Marshalling() 71 XCOLLIE_LOGE("FaultType [%{public}d] write int32 failed.", static_cast<int32_t>(faultType)); in Marshalling()
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/src/ |
H A D | faultlogger_service_proxy.cpp | 61 sptr<IRemoteObject> FaultLoggerServiceProxy::QuerySelfFaultLog(int32_t faultType, int32_t maxNum) in QuerySelfFaultLog() argument 75 if (!data.WriteInt32(faultType)) { in QuerySelfFaultLog()
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/include/ |
H A D | ifaultlogger_service.h | 32 virtual sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) = 0;
|
H A D | faultlogger_service_proxy.h | 33 virtual sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) override;
|
H A D | faultlogger_service_ohos.h | 45 sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) override;
|
/base/hiviewdfx/hiview/plugins/faultlogger/common/ |
H A D | faultlogger_plugin.h | 46 int32_t faultType, int32_t maxNum) in QuerySelfFaultLog() 45 QuerySelfFaultLog(int32_t uid, int32_t pid, int32_t faultType, int32_t maxNum) QuerySelfFaultLog() argument
|
H A D | faultlog_util.h | 27 std::string GetFaultNameByType(int32_t faultType, bool asfileName);
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/include/ |
H A D | faultlogger_client.h | 108 * @param faultType type of fault log. 113 std::unique_ptr<FaultLogQueryResult> QuerySelfFaultLog(FaultLogType faultType, int32_t maxNum);
|
H A D | faultlog_info.h | 113 * @param faultType type of fault 115 void SetFaultType(int32_t faultType);
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/ |
H A D | napi_faultlogger.h | 51 int32_t faultType = 0; member in OHOS::HiviewDFX::FaultLogInfoContext
|
/base/hiviewdfx/hicollie/interfaces/ndk/include/ |
H A D | report_data.h | 45 FaultDataType faultType = FaultDataType::UNKNOWN; member
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/ |
H A D | faultlogger_client.cpp | 125 std::unique_ptr<FaultLogQueryResult> QuerySelfFaultLog(FaultLogType faultType, int32_t maxNum) in QuerySelfFaultLog() argument 133 auto result = service->QuerySelfFaultLog(static_cast<int32_t>(faultType), maxNum); in QuerySelfFaultLog()
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/ |
H A D | faultlogger_service_ohos.cpp | 143 sptr<IRemoteObject> FaultloggerServiceOhos::QuerySelfFaultLog(int32_t faultType, int32_t maxNum) in QuerySelfFaultLog() argument 159 auto queryResult = service->QuerySelfFaultLog(uid, pid, faultType, maxNum); in QuerySelfFaultLog()
|