Searched refs:INVALID_FD (Results 1 – 10 of 10) sorted by relevance
25 static const int32_t INVALID_FD = -1; variable26 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 …]
28 static const int32_t INVALID_FD = -1; variable104 if (fd_ != INVALID_FD) { in StopThread()107 fd_ = INVALID_FD; in StopThread()
37 : 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 …]
32 static const int32_t INVALID_FD = -1; variable33 static int32_t g_DebugFd = INVALID_FD;116 if (g_DebugFd != INVALID_FD) { in DfxLog()
28 constexpr int32_t INVALID_FD = -1; variable
27 constexpr const int32_t INVALID_FD = -1; variable75 return INVALID_FD; in GetFile()79 return INVALID_FD; in GetFile()85 return INVALID_FD; in GetFile()
69 if (GetReceiveDataFd() != INVALID_FD) { in RestoreSensorDataChannel()
239 int32_t wallpaperFd = INVALID_FD; in OnGetFile()243 if (wallpaperFd > INVALID_FD) { in OnGetFile()253 if (wallpaperFd > INVALID_FD) { in OnGetFile()
140 static constexpr int32_t INVALID_FD = -1; member142 int32_t wallpaperFd = INVALID_FD;
48 const int32_t INVALID_FD = -1; variable207 ASSERT_EQ(TELEPHONY_ERR_FAIL, service.Dump(INVALID_FD, strV));