Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DExtconUEventObserver.java77 String devicePath = extconInfo.getDevicePath(); in startObserving() local
78 if (devicePath == null) { in startObserving()
82 mExtconInfos.put(devicePath, extconInfo); in startObserving()
83 if (LOG) Slog.v(TAG, "Observing " + devicePath); in startObserving()
84 startObserving("DEVPATH=" + devicePath); in startObserving()
/frameworks/native/services/inputflinger/reader/
DTouchVideoDevice.cpp39 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)); 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()
DEventHub.cpp791 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const { in getDeviceByPathLocked()
794 if (device->path == devicePath) { in getDeviceByPathLocked()
1198 status_t EventHub::openDeviceLocked(const char* devicePath) { in openDeviceLocked() argument
1201 ALOGV("Opening device: %s", devicePath); in openDeviceLocked()
1203 int fd = open(devicePath, O_RDWR | O_CLOEXEC | O_NONBLOCK); in openDeviceLocked()
1205 ALOGE("could not open %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
1213 ALOGE("Could not get device name for %s: %s", devicePath, strerror(errno)); in openDeviceLocked()
1223 ALOGI("ignoring event id %s driver %s\n", devicePath, item.c_str()); in openDeviceLocked()
1232 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
1240 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DTouchVideoDevice.h39 static std::unique_ptr<TouchVideoDevice> create(std::string devicePath);
112 explicit TouchVideoDevice(int fd, std::string&& name, std::string&& devicePath, uint32_t height,
DEventHub.h375 status_t openDeviceLocked(const char* devicePath);
376 void openVideoDeviceLocked(const std::string& devicePath);
381 void closeDeviceByPathLocked(const char* devicePath);
382 void closeVideoDeviceByPathLocked(const std::string& devicePath);
405 Device* getDeviceByPathLocked(const char* devicePath) const;