Searched refs:devicePath (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | ExtconUEventObserver.java | 79 String devicePath = extconInfo.getDevicePath(); in startObserving() local 80 if (devicePath == null) { in startObserving() 84 mExtconInfos.put(devicePath, extconInfo); in startObserving() 85 if (LOG) Slog.v(TAG, "Observing " + devicePath); in startObserving() 86 startObserving("DEVPATH=" + devicePath); in startObserving()
|
/frameworks/native/services/inputflinger/reader/ |
D | TouchVideoDevice.cpp | 39 TouchVideoDevice::TouchVideoDevice(int fd, std::string&& name, std::string&& devicePath, in TouchVideoDevice() argument 44 mPath(std::move(devicePath)), in TouchVideoDevice() 51 std::unique_ptr<TouchVideoDevice> TouchVideoDevice::create(std::string devicePath) { in create() argument 52 unique_fd fd(open(devicePath.c_str(), O_RDWR | O_NONBLOCK | O_CLOEXEC)); in create() 54 ALOGE("Could not open video device %s: %s", devicePath.c_str(), strerror(errno)); in create() 157 std::move(devicePath), height, in create()
|
D | EventHub.cpp | 243 static std::optional<std::filesystem::path> getSysfsRootPath(const char* devicePath) { in getSysfsRootPath() argument 248 if (stat(devicePath, &statbuf) == -1) { in getSysfsRootPath() 249 ALOGE("Could not stat device %s due to error: %s.", devicePath, std::strerror(errno)); in getSysfsRootPath() 1598 const std::filesystem::path& devicePath) const { in obtainAssociatedDeviceLocked() 1600 getSysfsRootPath(devicePath.c_str()); in obtainAssociatedDeviceLocked() 1739 EventHub::Device* EventHub::getDeviceByPathLocked(const std::string& devicePath) const { in getDeviceByPathLocked() 1741 if (device->path == devicePath) { in getDeviceByPathLocked() 2245 void EventHub::openDeviceLocked(const std::string& devicePath) { in openDeviceLocked() argument 2251 if (device->path == devicePath) { in openDeviceLocked() 2258 ALOGV("Opening device: %s", devicePath.c_str()); in openDeviceLocked() [all …]
|
/frameworks/native/services/inputflinger/reader/include/ |
D | TouchVideoDevice.h | 38 static std::unique_ptr<TouchVideoDevice> create(std::string devicePath); 111 explicit TouchVideoDevice(int fd, std::string&& name, std::string&& devicePath, uint32_t height,
|
D | EventHub.h | 707 void openDeviceLocked(const std::string& devicePath) REQUIRES(mLock); 708 void openVideoDeviceLocked(const std::string& devicePath) REQUIRES(mLock); 722 const std::filesystem::path& devicePath) const REQUIRES(mLock); 724 void closeDeviceByPathLocked(const std::string& devicePath) REQUIRES(mLock); 725 void closeVideoDeviceByPathLocked(const std::string& devicePath) REQUIRES(mLock); 743 Device* getDeviceByPathLocked(const std::string& devicePath) const REQUIRES(mLock);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | BrailleDisplayConnection.java | 174 final Path devicePath = Path.of("/dev"); in connectLocked() local 176 final Collection<Path> hidrawNodePaths = mScanner.getHidrawNodePaths(devicePath); in connectLocked()
|