Home
last modified time | relevance | path

Searched refs:imgFd (Results 1 – 10 of 10) sorted by relevance

/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
Dcommon.cpp55 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile() local
56 if (imgFd == -1) { in DumpImageFile()
61 ret = write(imgFd, buffer, size); in DumpImageFile()
64 close(imgFd); in DumpImageFile()
67 close(imgFd); in DumpImageFile()
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/
Dbenchmark_common.cpp54 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile() local
55 if (imgFd == -1) { in DumpImageFile()
60 ret = write(imgFd, buffer, size); in DumpImageFile()
63 close(imgFd); in DumpImageFile()
66 close(imgFd); in DumpImageFile()
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
Dcommon.cpp54 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile() local
55 if (imgFd == -1) { in DumpImageFile()
60 ret = write(imgFd, buffer, size); in DumpImageFile()
63 close(imgFd); in DumpImageFile()
66 close(imgFd); in DumpImageFile()
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/
Dbenchmark_common.cpp54 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile() local
55 if (imgFd == -1) { in DumpImageFile()
60 ret = write(imgFd, buffer, size); in DumpImageFile()
63 close(imgFd); in DumpImageFile()
66 close(imgFd); in DumpImageFile()
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/
Dhdi_common_v1_1.cpp54 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile() local
55 if (imgFd == -1) { in DumpImageFile()
60 ret = write(imgFd, buffer, size); in DumpImageFile()
63 close(imgFd); in DumpImageFile()
66 close(imgFd); in DumpImageFile()
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/
Dhdi_common_v1_1.cpp54 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile() local
55 if (imgFd == -1) { in DumpImageFile()
60 ret = write(imgFd, buffer, size); in DumpImageFile()
63 close(imgFd); in DumpImageFile()
66 close(imgFd); in DumpImageFile()
/test/xts/acts/validator/acts_validator/src/main/ets/pages/model/
DCameraService.ts144 let imgFd = await this.mediaUtil.getFdPath(imgFileAsset)
145 Logger.info(this.tag, `fd = ${imgFd}`)
146 await fileio.write(imgFd, buffer)
147 await imgFileAsset.close(imgFd)
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
Dtest_display.cpp209 int imgFd = open(path, O_RDWR | O_CREAT, 00766); // 00766: file permissions in SaveYUV() local
210 if (imgFd == -1) { in SaveYUV()
214 ret = write(imgFd, buffer, size); in SaveYUV()
217 close(imgFd); in SaveYUV()
220 close(imgFd); in SaveYUV()
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
Dhdi_common_v1_2.cpp55 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile() local
56 if (imgFd == -1) { in DumpImageFile()
61 ret = write(imgFd, buffer, size); in DumpImageFile()
64 close(imgFd); in DumpImageFile()
67 close(imgFd); in DumpImageFile()
/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/ets/test/
DCameraImageProcessingTest.test.ets78 … let imgFd = `fd://${await mediaUtil.createAndGetUri(mediaLibrary.MediaType.VIDEO, mContext)}`;
79 let file = fs.openSync(imgFd, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE);