Searched refs:mGnssFd (Results 1 – 1 of 1) sorted by relevance
130 std::atomic<int> mGnssFd; member153 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 …]