Home
last modified time | relevance | path

Searched refs:fileFd (Results 1 – 3 of 3) sorted by relevance

/drivers/peripheral/display/composer/test/common/
Ddisplay_test_utils.cpp69 … int fileFd = open(fileName, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in SaveFile() local
70 if (fileFd <= 0) { in SaveFile()
71 DISPLAY_TEST_LOGE("Open file failed %{public}d", fileFd); in SaveFile()
75 int hasWriten = write(fileFd, data, size); in SaveFile()
77 close(fileFd); in SaveFile()
/drivers/peripheral/input/udriver/include/
Dinput_device_manager.h81 void RemoveEpoll(int32_t epollFd, int32_t fileFd);
82 int32_t AddToEpoll(int32_t epollFd, int32_t fileFd);
/drivers/peripheral/input/udriver/src/
Dinput_device_manager.cpp479 int32_t InputDeviceManager::AddToEpoll(int32_t epollFd, int32_t fileFd) in AddToEpoll() argument
486 eventItem.data.fd = fileFd; in AddToEpoll()
487 result = epoll_ctl(epollFd, EPOLL_CTL_ADD, fileFd, &eventItem); in AddToEpoll()
490 void InputDeviceManager::RemoveEpoll(int32_t epollFd, int32_t fileFd) in RemoveEpoll() argument
492 epoll_ctl(epollFd, EPOLL_CTL_DEL, fileFd, nullptr); in RemoveEpoll()