Searched refs:mDeviceFd (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/evs/sampleDriver/ |
D | VideoCapture.cpp | 39 mDeviceFd = ::open(deviceName, O_RDWR, 0); in open() 40 if (mDeviceFd < 0) { in open() 47 int result = ioctl(mDeviceFd, VIDIOC_QUERYCAP, &caps); in open() 55 ALOGI("Open Device: %s (fd=%d)", deviceName, mDeviceFd); in open() 71 if (ioctl(mDeviceFd, VIDIOC_ENUM_FMT, &formatDescriptions) == 0) { in open() 105 if (ioctl(mDeviceFd, VIDIOC_S_FMT, &format) < 0) { in open() 111 if (ioctl(mDeviceFd, VIDIOC_G_FMT, &format) == 0) { in open() 144 ALOGD("closing video device file handled %d", mDeviceFd); in close() 145 ::close(mDeviceFd); in close() 146 mDeviceFd = -1; in close() [all …]
|
D | VideoCapture.h | 45 bool isOpen() { return mDeviceFd >= 0; }; in isOpen() 52 int mDeviceFd = -1; variable
|