Home
last modified time | relevance | path

Searched refs:pipeType (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/
Dfaultloggerd_client.cpp273 int32_t RequestPipeFd(int32_t pid, int32_t pipeType) in RequestPipeFd() argument
275 if (pipeType < static_cast<int32_t>(FaultLoggerPipeType::PIPE_FD_READ_BUF) || in RequestPipeFd()
276 pipeType > static_cast<int32_t>(FaultLoggerPipeType::PIPE_FD_WRITE_RES)) { in RequestPipeFd()
277 DFXLOG_ERROR("%s :: pipeType(%d) failed.", __func__, pipeType); in RequestPipeFd()
282 request.pipeType = pipeType; in RequestPipeFd()
287 if ((pipeType == static_cast<int32_t>(FaultLoggerPipeType::PIPE_FD_READ_BUF)) || in RequestPipeFd()
288 (pipeType == static_cast<int32_t>(FaultLoggerPipeType::PIPE_FD_READ_RES))) { in RequestPipeFd()
298 request.pipeType = FaultLoggerPipeType::PIPE_FD_DELETE; in RequestDelPipeFd()
/base/hiviewdfx/faultloggerd/test/unittest/services/
Dfaultlogger_daemon_test.cpp97 faultloggerdRequest.pipeType = FaultLoggerPipeType::PIPE_FD_READ_BUF;
99 faultloggerdRequest.pipeType = FaultLoggerPipeType::PIPE_FD_WRITE_BUF;
101 faultloggerdRequest.pipeType = FaultLoggerPipeType::PIPE_FD_READ_RES;
103 faultloggerdRequest.pipeType = FaultLoggerPipeType::PIPE_FD_WRITE_RES;
105 faultloggerdRequest.pipeType = FaultLoggerPipeType::PIPE_FD_DELETE;
/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/include/
Dfaultloggerd_client.h110 int32_t pipeType; member
152 int32_t RequestPipeFd(int32_t pid, int32_t pipeType);
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_daemon.cpp249 …DEBUG("%s :: pid(%d), pipeType(%d).\n", FAULTLOGGERD_TAG.c_str(), request->pid, request->pipeType); in HandlePipeFdClientRequest()
258 switch (request->pipeType) { in HandlePipeFdClientRequest()
288 … DFXLOG_ERROR("%s :: unknown pipeType(%d).\n", FAULTLOGGERD_TAG.c_str(), request->pipeType); in HandlePipeFdClientRequest()