Home
last modified time | relevance | path

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

/hardware/interfaces/gnss/common/utils/default/include/v2_1/
DGnssTemplate.h130 std::atomic<int> mGnssFd; member
153 mGnssFd(-1) {}
172 mGnssFd = open(gnss_dev_path, O_RDWR | O_NONBLOCK); in getLocationFromHW()
173 if (mGnssFd == -1) { in getLocationFromHW()
179 if (mGnssFd == -1) { in getLocationFromHW()
183 int bytes_write = write(mGnssFd, CMD_GET_LOCATION, strlen(CMD_GET_LOCATION)); in getLocationFromHW()
189 ev.data.fd = mGnssFd; in getLocationFromHW()
192 epoll_ctl(epoll_fd, EPOLL_CTL_ADD, mGnssFd, &ev); in getLocationFromHW()
202 bytes_read = read(mGnssFd, &inputBuffer, INPUT_BUFFER_SIZE); in getLocationFromHW()
226 if (mGnssFd != -1) { in start()
[all …]