Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/can/1.0/default/
DCanController.cpp79 fs::recursive_directory_iterator fsItr(serialPath.parent_path(), kOpts, fsStatus); in getIfaceName() local
85 for (; fsStatus == fsErrors::ok && fsItr != fs::recursive_directory_iterator(); in getIfaceName()
86 fsItr.increment(fsStatus)) { in getIfaceName()
89 bool isDir = fsItr->is_directory(fsStatus); in getIfaceName()
95 std::string currentDir = *(--(fsItr->path().end())); in getIfaceName()
99 fs::directory_iterator netItr(fsItr->path(), kOpts, fsStatus); in getIfaceName()
101 LOG(ERROR) << "Failed to open " << fsItr->path() << " to get net name!"; in getIfaceName()
112 LOG(ERROR) << "Failed to verify " << fsItr->path() << " has valid net name!"; in getIfaceName()
117 LOG(ERROR) << "Found more than one net name in " << fsItr->path() << "!"; in getIfaceName()
161 fs::recursive_directory_iterator fsItr(kDevPath, kOpts, fsStatus); in findUsbDevice() local
[all …]