Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedCameraHotplugThread.cpp171 String8 filePath = getFilePath(cameraId); in threadLoop() local
177 int newStatus = readFile(filePath); in threadLoop()
211 String8 filePath = getFilePath(cameraId); in createFileIfNotExists() local
214 TEMP_FAILURE_RETRY(open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, in createFileIfNotExists()
218 filePath.string(), strerror(errno), errno); in createFileIfNotExists()
225 __FUNCTION__, filePath.string(), strerror(errno), errno); in createFileIfNotExists()
233 int EmulatedCameraHotplugThread::getCameraId(String8 filePath) const { in getCameraId()
240 if (camPath == filePath) { in getCameraId()
314 int EmulatedCameraHotplugThread::readFile(String8 filePath) const { in readFile()
315 int fd = TEMP_FAILURE_RETRY(open(filePath.string(), O_RDONLY, /*mode*/ 0)); in readFile()
[all …]
DEmulatedCameraHotplugThread.h54 int getCameraId(String8 filePath) const;
58 int readFile(String8 filePath) const;
/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp185 String8 filePath = getFilePath(cameraId); in threadLoop() local
191 int newStatus = readFile(filePath); in threadLoop()
228 String8 filePath = getFilePath(cameraId); in createFileIfNotExists() local
231 open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, in createFileIfNotExists()
235 __FUNCTION__, filePath.string(), strerror(errno), errno); in createFileIfNotExists()
242 __FUNCTION__, filePath.string(), strerror(errno), errno); in createFileIfNotExists()
250 int EmulatedCameraHotplugThread::getCameraId(const String8& filePath) const { in getCameraId()
257 if (camPath == filePath) { in getCameraId()
338 int EmulatedCameraHotplugThread::readFile(const String8& filePath) const { in readFile()
341 open(filePath.string(), O_RDONLY, /*mode*/0)); in readFile()
[all …]
DEmulatedCameraHotplugThread.h56 int getCameraId(const String8& filePath) const;
60 int readFile(const String8& filePath) const;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_urllib.py228 def constructLocalFileUrl(self, filePath): argument
229 return "file://%s" % urllib.pathname2url(os.path.abspath(filePath))
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp2667 String8 filePath(timeBuf); in dumpMetadataToFile() local
2669 filePath.append(buf); in dumpMetadataToFile()
2670 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile()
2792 String8 filePath(timeBuf); in dumpFrameToFile() local
2860 filePath.append(buf); in dumpFrameToFile()
2861 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpFrameToFile()
2896 strlcpy(m_BackendFileName, filePath.string(), QCAMERA_MAX_FILEPATH_LENGTH); in dumpFrameToFile()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Channel.cpp3218 String8 filePath(timeBuf); in jpegEvtHandle() local
3221 filePath.append(buf); in jpegEvtHandle()
3222 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in jpegEvtHandle()
DQCamera3HWI.cpp6572 String8 filePath(timeBuf); in dumpMetadataToFile() local
6581 filePath.append(buf); in dumpMetadataToFile()
6582 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile()