Home
last modified time | relevance | path

Searched refs:INVALID_FD (Results 1 – 10 of 10) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_logger.cpp25 static const int32_t INVALID_FD = -1; variable
26 static int32_t g_DebugLogFilleDes = INVALID_FD;
28 static int32_t g_StdErrFilleDes = INVALID_FD;
43 if (g_DebugLogFilleDes != INVALID_FD) { in WriteLog()
52 } else if (fd == INVALID_FD) { in WriteLog()
77 if (g_DebugLogFilleDes != INVALID_FD) { in InitDebugLog()
93 g_DebugLogFilleDes = INVALID_FD; in InitDebugLog()
100 g_DebugLogFilleDes = INVALID_FD; in InitDebugLog()
101 g_StdErrFilleDes = INVALID_FD; in InitDebugLog()
110 if (g_DebugLogFilleDes == INVALID_FD) { in CloseDebugLog()
[all …]
Ddfx_ring_buffer_wrapper.cpp28 static const int32_t INVALID_FD = -1; variable
104 if (fd_ != INVALID_FD) { in StopThread()
107 fd_ = INVALID_FD; in StopThread()
/base/sensors/medical_sensor/utils/src/
Dmedical_basic_data_channel.cpp37 : sendFd_(INVALID_FD), receiveFd_(INVALID_FD), isActive_(false) in MedicalSensorBasicDataChannel()
44 if ((sendFd_ != INVALID_FD) || (receiveFd_ != INVALID_FD)) { in CreateSensorBasicChannel()
54 sendFd_ = INVALID_FD; in CreateSensorBasicChannel()
55 receiveFd_ = INVALID_FD; in CreateSensorBasicChannel()
92 if ((sendFd_ != INVALID_FD) || (receiveFd_ != INVALID_FD)) { in CreateSensorBasicChannel()
99 sendFd_ = INVALID_FD; in CreateSensorBasicChannel()
105 sendFd_ = INVALID_FD; in CreateSensorBasicChannel()
134 if (sendFd_ != INVALID_FD) { in CloseSendFd()
136 sendFd_ = INVALID_FD; in CloseSendFd()
160 if (vaddr == nullptr || (receiveFd_ == INVALID_FD)) { in ReceiveData()
[all …]
/base/hiviewdfx/faultloggerd/common/dfxlog/
Ddfx_log.cpp32 static const int32_t INVALID_FD = -1; variable
33 static int32_t g_DebugFd = INVALID_FD;
116 if (g_DebugFd != INVALID_FD) { in DfxLog()
/base/sensors/medical_sensor/utils/include/
Dmedical_sensor_basic_data_channel.h28 constexpr int32_t INVALID_FD = -1; variable
/base/theme/wallpaper_mgr/frameworks/innerkitsimpl/wallpaper_manager/src/
Dwallpaper_service_proxy.cpp27 constexpr const int32_t INVALID_FD = -1; variable
75 return INVALID_FD; in GetFile()
79 return INVALID_FD; in GetFile()
85 return INVALID_FD; in GetFile()
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/
Dmedical_data_channel.cpp69 if (GetReceiveDataFd() != INVALID_FD) { in RestoreSensorDataChannel()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service_stub.cpp239 int32_t wallpaperFd = INVALID_FD; in OnGetFile()
243 if (wallpaperFd > INVALID_FD) { in OnGetFile()
253 if (wallpaperFd > INVALID_FD) { in OnGetFile()
/base/theme/wallpaper_mgr/interfaces/kits/napi/
Dnapi_wallpaper_ability.h140 static constexpr int32_t INVALID_FD = -1; member
142 int32_t wallpaperFd = INVALID_FD;
/base/telephony/cellular_data/test/
Dzero_branch_test.cpp48 const int32_t INVALID_FD = -1; variable
207 ASSERT_EQ(TELEPHONY_ERR_FAIL, service.Dump(INVALID_FD, strV));