Searched refs:epFd_ (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/base/msdp/device_status/libs/src/ |
H A D | devicestatus_msdp_mock.cpp | 126 epFd_ = epoll_create1(EPOLL_CLOEXEC); in InitTimer() 127 if (epFd_ == -1) { in InitTimer() 134 if (close(epFd_) < 0) { in InitTimer() 135 … FI_HILOGE("Close epoll fd failed, error:%{public}s, epFd_:%{public}d", strerror(errno), epFd_); in InitTimer() 137 epFd_ = ERR_INVALID_FD; in InitTimer() 221 if (epoll_ctl(epFd_, EPOLL_CTL_ADD, fd, &ev) == -1) { in RegisterTimerCallback() 249 int32_t nevents = epoll_wait(epFd_, events, cbct, timeout); in LoopingThreadEntry()
|
/ohos5.0/base/powermgr/battery_manager/charger/src/ |
H A D | battery_thread.cpp | 79 if (epoll_ctl(epFd_, EPOLL_CTL_ADD, fd, &ev) == -1) { in RegisterCallback() 122 epFd_ = epoll_create1(EPOLL_CLOEXEC); 123 if (epFd_ == INVALID_FD) { 190 nevents = epoll_wait(epFd_, events, static_cast<int32_t>(size), timeout); in LoopingThreadEntry()
|
/ohos5.0/base/powermgr/thermal_manager/application/protector/src/ |
H A D | thermal_protector_timer.cpp | 63 if (RegisterCallback(timerFd_, EVENT_TIMER_FD, epFd_)) { in CreateProvisionFd() 131 epFd_ = epoll_create1(EPOLL_CLOEXEC); in InitProvisionTimer() 176 Run(service, epFd_); in StartThread()
|
H A D | thermal_sensor_provider.cpp | 105 epFd_ = epoll_create1(EPOLL_CLOEXEC); in InitProviderTimer() 134 if (RegisterCallback(timerFd_, EVENT_TIMER_FD, epFd_)) { in CreateProviderFd() 230 Run(service, epFd_); in StartThread()
|
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/src/ |
H A D | battery_thread.cpp | 98 if (epoll_ctl(epFd_, EPOLL_CTL_ADD, fd, &ev) == -1) { in RegisterCallback() 145 epFd_ = epoll_create1(EPOLL_CLOEXEC); 146 if (epFd_ == INVALID_FD) { 274 nevents = epoll_wait(epFd_, events, static_cast<int32_t>(size), timeout); in LoopingThreadEntry()
|
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/include/ |
H A D | battery_thread_test.h | 106 …GetEpollFdImplement<BatteryThreadUnitTest, decltype(&BatteryThread::epFd_), &BatteryThread::epFd_>;
|
/ohos5.0/base/powermgr/battery_manager/charger/include/ |
H A D | battery_thread.h | 56 int32_t epFd_ = INVALID_FD; variable
|
/ohos5.0/base/powermgr/thermal_manager/application/protector/include/ |
H A D | thermal_protector_timer.h | 51 int32_t epFd_ {-1};
|
H A D | thermal_sensor_provider.h | 69 int32_t epFd_ {-1};
|
/ohos5.0/base/msdp/device_status/libs/include/ |
H A D | devicestatus_msdp_mock.h | 72 int32_t epFd_ { -1 };
|
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/include/ |
H A D | battery_thread.h | 62 int32_t epFd_ = INVALID_FD; variable
|
/ohos5.0/base/msdp/device_status/test/unittest/libs/src/ |
H A D | device_status_mock_test.cpp | 538 deviceStatusMsdpMock.epFd_ = ERR_INVALID_FD; 580 deviceStatusMsdpMock.epFd_ = ERR_INVALID_FD;
|