/device/google/zuma/usb/usb/ |
D | UsbDataSessionMonitor.cpp | 68 static int addEpollFile(const int &epollFd, const std::string &filePath, unique_fd &fileFd) { in addEpollFile() argument 71 unique_fd fd(open(filePath.c_str(), O_RDONLY)); in addEpollFile() 74 ALOGI("Cannot open %s", filePath.c_str()); in addEpollFile() 87 ALOGI("epoll registered %s", filePath.c_str()); in addEpollFile() 91 static void removeEpollFile(const int &epollFd, const std::string &filePath, unique_fd &fileFd) { in removeEpollFile() argument 95 ALOGI("epoll unregistered %s", filePath.c_str()); in removeEpollFile() 141 mDeviceState.filePath = deviceStatePath; in UsbDataSessionMonitor() 143 addEpollFile(epollFd.get(), mDeviceState.filePath, mDeviceState.fd); in UsbDataSessionMonitor() 145 mHost1State.filePath = host1StatePath; in UsbDataSessionMonitor() 147 addEpollFile(epollFd.get(), mHost1State.filePath, mHost1State.fd); in UsbDataSessionMonitor() [all …]
|
D | UsbDataSessionMonitor.h | 68 std::string filePath; member
|
/device/google/zumapro/usb/usb/ |
D | UsbDataSessionMonitor.cpp | 68 static int addEpollFile(const int &epollFd, const std::string &filePath, unique_fd &fileFd) { in addEpollFile() argument 71 unique_fd fd(open(filePath.c_str(), O_RDONLY)); in addEpollFile() 74 ALOGI("Cannot open %s", filePath.c_str()); in addEpollFile() 87 ALOGI("epoll registered %s", filePath.c_str()); in addEpollFile() 91 static void removeEpollFile(const int &epollFd, const std::string &filePath, unique_fd &fileFd) { in removeEpollFile() argument 95 ALOGI("epoll unregistered %s", filePath.c_str()); in removeEpollFile() 141 mDeviceState.filePath = deviceStatePath; in UsbDataSessionMonitor() 143 addEpollFile(epollFd.get(), mDeviceState.filePath, mDeviceState.fd); in UsbDataSessionMonitor() 145 mHost1State.filePath = host1StatePath; in UsbDataSessionMonitor() 147 addEpollFile(epollFd.get(), mHost1State.filePath, mHost1State.fd); in UsbDataSessionMonitor() [all …]
|
D | UsbDataSessionMonitor.h | 68 std::string filePath; member
|
/device/google/gs201/usb/usb/ |
D | UsbDataSessionMonitor.cpp | 68 static int addEpollFile(const int &epollFd, const std::string &filePath, unique_fd &fileFd) { in addEpollFile() argument 71 unique_fd fd(open(filePath.c_str(), O_RDONLY)); in addEpollFile() 74 ALOGI("Cannot open %s", filePath.c_str()); in addEpollFile() 87 ALOGI("epoll registered %s", filePath.c_str()); in addEpollFile() 91 static void removeEpollFile(const int &epollFd, const std::string &filePath, unique_fd &fileFd) { in removeEpollFile() argument 95 ALOGI("epoll unregistered %s", filePath.c_str()); in removeEpollFile() 141 mDeviceState.filePath = deviceStatePath; in UsbDataSessionMonitor() 143 addEpollFile(epollFd.get(), mDeviceState.filePath, mDeviceState.fd); in UsbDataSessionMonitor() 145 mHost1State.filePath = host1StatePath; in UsbDataSessionMonitor() 147 addEpollFile(epollFd.get(), mHost1State.filePath, mHost1State.fd); in UsbDataSessionMonitor() [all …]
|
D | UsbDataSessionMonitor.h | 68 std::string filePath; member
|
/device/google/gs101/usb/usb/ |
D | UsbDataSessionMonitor.cpp | 68 static int addEpollFile(const int &epollFd, const std::string &filePath, unique_fd &fileFd) { in addEpollFile() argument 71 unique_fd fd(open(filePath.c_str(), O_RDONLY)); in addEpollFile() 74 ALOGI("Cannot open %s", filePath.c_str()); in addEpollFile() 87 ALOGI("epoll registered %s", filePath.c_str()); in addEpollFile() 91 static void removeEpollFile(const int &epollFd, const std::string &filePath, unique_fd &fileFd) { in removeEpollFile() argument 95 ALOGI("epoll unregistered %s", filePath.c_str()); in removeEpollFile() 141 mDeviceState.filePath = deviceStatePath; in UsbDataSessionMonitor() 143 addEpollFile(epollFd.get(), mDeviceState.filePath, mDeviceState.fd); in UsbDataSessionMonitor() 145 mHost1State.filePath = host1StatePath; in UsbDataSessionMonitor() 147 addEpollFile(epollFd.get(), mHost1State.filePath, mHost1State.fd); in UsbDataSessionMonitor() [all …]
|
D | UsbDataSessionMonitor.h | 68 std::string filePath; member
|
/device/google/sunfish/powerstats/ |
D | RailDataProvider.cpp | 51 char filePath[MAX_FILE_PATH_LEN]; in findIioPowerMonitorNodes() local 63 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", ent->d_name, "name"); in findIioPowerMonitorNodes() 64 fd = openat(dirfd(iioDir), filePath, O_RDONLY); in findIioPowerMonitorNodes() 66 ALOGW("Failed to open directory: %s, error: %d", filePath, errno); in findIioPowerMonitorNodes() 71 filePath, fd); in findIioPowerMonitorNodes() 77 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", kIioDirRoot, ent->d_name); in findIioPowerMonitorNodes() 78 mOdpm.devicePaths.push_back(filePath); in findIioPowerMonitorNodes()
|
/device/google/redbull/powerstats/ |
D | RailDataProvider.cpp | 46 char filePath[MAX_FILE_PATH_LEN]; in findIioPowerMonitorNodes() local 57 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", ent->d_name, "name"); in findIioPowerMonitorNodes() 58 fd = openat(dirfd(iioDir), filePath, O_RDONLY); in findIioPowerMonitorNodes() 60 ALOGW("Failed to open directory: %s, error: %d", filePath, errno); in findIioPowerMonitorNodes() 65 filePath, fd); in findIioPowerMonitorNodes() 70 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", kIioDirRoot, ent->d_name); in findIioPowerMonitorNodes() 71 mOdpm.devicePaths.push_back(filePath); in findIioPowerMonitorNodes()
|
/device/google/coral/powerstats/ |
D | RailDataProvider.cpp | 51 char filePath[MAX_FILE_PATH_LEN]; in findIioPowerMonitorNodes() local 63 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", ent->d_name, "name"); in findIioPowerMonitorNodes() 64 fd = openat(dirfd(iioDir), filePath, O_RDONLY); in findIioPowerMonitorNodes() 66 ALOGW("Failed to open directory: %s, error: %d", filePath, errno); in findIioPowerMonitorNodes() 71 filePath, fd); in findIioPowerMonitorNodes() 77 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", kIioDirRoot, ent->d_name); in findIioPowerMonitorNodes() 78 mOdpm.devicePaths.push_back(filePath); in findIioPowerMonitorNodes()
|
/device/google/trout/hal/vehicle/2.0/ |
D | PowerStateListener.cpp | 34 static bool ForwardSocketToFile(int sockfd, const std::string& filePath) { in ForwardSocketToFile() argument 41 auto tempFilePath = filePath + ".XXXXXX"; in ForwardSocketToFile() 63 LOG(INFO) << "move " << tempFilePath << " to " << filePath; in ForwardSocketToFile() 64 rename(tempFilePath.c_str(), filePath.c_str()); in ForwardSocketToFile()
|
/device/google/cuttlefish/host/libs/location/ |
D | KmlParser.cpp | 159 bool KmlParser::parseFile(const char* filePath, GpsFixArray* fixes, in parseFile() argument 165 xmlDocPtr doc = xmlReadFile(filePath, nullptr, 0); in parseFile()
|
D | GpxParser.cpp | 203 bool GpxParser::parseFile(const char *filePath, GpsFixArray *fixes, in parseFile() argument 205 xmlDocPtr doc = xmlReadFile(filePath, nullptr, 0); in parseFile()
|
D | GpxParser.h | 29 static bool parseFile(const char *filePath, GpsFixArray *fixes,
|
D | KmlParser.h | 29 static bool parseFile(const char* filePath, GpsFixArray* fixes,
|