Searched refs:FileHandleWrapper (Results 1 – 1 of 1) sorted by relevance
336 class FileHandleWrapper { in qualifyCaptureDevice() class338 FileHandleWrapper(int fd) { mFd = fd; } in qualifyCaptureDevice() function in android::hardware::automotive::evs::V1_0::implementation::EvsEnumerator::qualifyCaptureDevice::FileHandleWrapper339 ~FileHandleWrapper() { if (mFd > 0) close(mFd); } in qualifyCaptureDevice()346 FileHandleWrapper fd = open(deviceName, O_RDWR, 0); in qualifyCaptureDevice()