Home
last modified time | relevance | path

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

/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_logger.cpp25 static int32_t g_DebugLogFd = INVALID_FD;
27 static int32_t g_StdErrFd = INVALID_FD;
42 if (g_DebugLogFd != INVALID_FD) { in WriteLog()
51 } else if (fd == INVALID_FD) { in WriteLog()
80 if (g_DebugLogFd != INVALID_FD) { in InitDebugLog()
94 g_DebugLogFd = INVALID_FD; in InitDebugLog()
101 g_DebugLogFd = INVALID_FD; in InitDebugLog()
102 g_StdErrFd = INVALID_FD; in InitDebugLog()
113 if (g_DebugLogFd == INVALID_FD) { in CloseDebugLog()
117 if (g_StdErrFd != INVALID_FD) { in CloseDebugLog()
[all …]
Ddfx_ring_buffer_wrapper.cpp26 static const int32_t INVALID_FD = -1; variable
102 if (fd_ != INVALID_FD) { in StopThread()
105 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/powermgr/battery_manager/charger/include/
Dbattery_thread.h54 static constexpr int32_t INVALID_FD = -1; variable
55 int32_t ueventFd_ = INVALID_FD;
56 int32_t epFd_ = INVALID_FD;
/base/powermgr/battery_manager/charger/src/
Dbattery_thread.cpp47 if (fd == INVALID_FD) { in OpenUeventSocket()
49 return INVALID_FD; in OpenUeventSocket()
56 return INVALID_FD; in OpenUeventSocket()
63 return INVALID_FD; in OpenUeventSocket()
99 if (ueventFd_ == INVALID_FD) { in InitUevent()
123 if (epFd_ == INVALID_FD) { in Init()
/base/hiviewdfx/faultloggerd/common/dfxlog/
Ddfx_log.cpp30 static int g_debugFd = INVALID_FD;
33 static int g_dmesgFd = INVALID_FD;
113 if (g_debugFd != INVALID_FD) { in DfxLog()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_file_kits.cpp59 return INVALID_FD; in GetWantFileDescriptor()
65 return INVALID_FD; in GetWantFileDescriptor()
67 return wp.GetIntParam(TAG_KEY_FD_VALUE, INVALID_FD); in GetWantFileDescriptor()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/include/
Ddlp_file_kits.h33 static const int INVALID_FD = -1; variable
/base/msdp/device_status/utils/common/include/
Dproto.h28 static constexpr int32_t INVALID_FD { 6 };
/base/hiviewdfx/faultloggerd/common/
Ddfx_define.h30 static const int INVALID_FD = -1; variable
/base/sensors/medical_sensor/utils/include/
Dmedical_sensor_basic_data_channel.h28 constexpr int32_t INVALID_FD = -1; variable
/base/sensors/sensor/services/sensor/src/
Dstream_server.cpp29 constexpr int32_t INVALID_FD = -1; variable
47 return it == idxPidMap_.end() ? INVALID_FD : it->second; in GetClientFd()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service_stub.cpp238 int32_t wallpaperFd = INVALID_FD; in OnGetFile()
242 if (wallpaperFd > INVALID_FD) { in OnGetFile()
252 if (wallpaperFd > INVALID_FD) { in OnGetFile()
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/
Dmedical_data_channel.cpp69 if (GetReceiveDataFd() != INVALID_FD) { in RestoreSensorDataChannel()
/base/theme/wallpaper_mgr/frameworks/js/napi/
Dnapi_wallpaper_ability.h146 static constexpr int32_t INVALID_FD = -1; member
148 int32_t wallpaperFd = INVALID_FD;
/base/telephony/cellular_data/test/
Dzero_branch_test.cpp49 const int32_t INVALID_FD = -1; variable
209 ASSERT_EQ(TELEPHONY_ERR_FAIL, service.Dump(INVALID_FD, strV));
/base/msdp/device_status/services/native/src/
Dstream_server.cpp58 return INVALID_FD; in GetClientFd()