Home
last modified time | relevance | path

Searched refs:faultType (Results 1 - 25 of 35) sorted by relevance

12

/base/hiviewdfx/hiview/plugins/faultlogger/service/
H A Dfaultlog_manager.h40 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 Dfaultlog_database.cpp122 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 Dfaultlog_manager.cpp79 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 Dfaultlog_database.h36 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 Dfaultlogger.h64 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 Dfaultlogger_ffi.cpp84 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 Dfaultlogger_ffi.h44 FFI_EXPORT CArrFaultLogInfo FfiFaultLoggerQuery(int32_t faultType, int32_t &code);
H A Dfaultlogger_info.h46 int32_t faultType = 0; member in OHOS::HiviewDFX::CFaultLogInfoContext
/base/theme/wallpaper_mgr/utils/dfx/hisysevent_adapter/
H A Dfault_reporter.cpp30 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 Ddfx_types.h41 FaultType faultType; member
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/fuzztest/faultloggerservice_fuzzer/
H A Dfaultlogger_service_fuzzer.cpp95 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 Dfaultlog_info.cpp83 void FaultLogInfo::SetFaultType(int32_t faultType) in SetFaultType() argument
85 type_ = faultType; in SetFaultType()
/base/hiviewdfx/hicollie/interfaces/ndk/
H A Dreport_data.cpp70 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 Dfaultlogger_service_proxy.cpp61 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 Difaultlogger_service.h32 virtual sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) = 0;
H A Dfaultlogger_service_proxy.h33 virtual sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) override;
H A Dfaultlogger_service_ohos.h45 sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) override;
/base/hiviewdfx/hiview/plugins/faultlogger/common/
H A Dfaultlogger_plugin.h46 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 Dfaultlog_util.h27 std::string GetFaultNameByType(int32_t faultType, bool asfileName);
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/include/
H A Dfaultlogger_client.h108 * @param faultType type of fault log.
113 std::unique_ptr<FaultLogQueryResult> QuerySelfFaultLog(FaultLogType faultType, int32_t maxNum);
H A Dfaultlog_info.h113 * @param faultType type of fault
115 void SetFaultType(int32_t faultType);
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/
H A Dnapi_faultlogger.h51 int32_t faultType = 0; member in OHOS::HiviewDFX::FaultLogInfoContext
/base/hiviewdfx/hicollie/interfaces/ndk/include/
H A Dreport_data.h45 FaultDataType faultType = FaultDataType::UNKNOWN; member
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/
H A Dfaultlogger_client.cpp125 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 Dfaultlogger_service_ohos.cpp143 sptr<IRemoteObject> FaultloggerServiceOhos::QuerySelfFaultLog(int32_t faultType, int32_t maxNum) in QuerySelfFaultLog() argument
159 auto queryResult = service->QuerySelfFaultLog(uid, pid, faultType, maxNum); in QuerySelfFaultLog()

Completed in 13 milliseconds

12