/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/ |
H A D | test_common.cpp | 79 int imgFd = open(path, O_RDWR | O_CREAT, FILE_PERMISSIONS_FLAG); in SaveYUV() local 80 …CHECK_ERROR_RETURN_RET_LOG(imgFd == -1, -1, "TestUtils::SaveYUV open file failed, errno = %{public… in SaveYUV() 82 int ret = write(imgFd, buffer, size); in SaveYUV() 85 close(imgFd); in SaveYUV() 88 close(imgFd); in SaveYUV()
|
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_0/src/ |
H A D | benchmark_common.cpp | 54 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()
|
/ohos5.0/drivers/peripheral/camera/test/mpi/src/ |
H A D | common.cpp | 116 int imgFd = open(path, O_RDWR | O_CREAT | O_APPEND, 00766); // 00766:file jurisdiction in SaveYUV() local 117 if (imgFd == -1) { in SaveYUV() 122 int32_t ret = write(imgFd, buffer, size); in SaveYUV() 125 close(imgFd); in SaveYUV() 128 close(imgFd); in SaveYUV()
|
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_0/src/ |
H A D | ut_common.cpp | 54 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()
|
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_1/src/ |
H A D | benchmark_common.cpp | 54 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()
|
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_1/src/ |
H A D | hdi_common_v1_1.cpp | 54 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()
|
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_2/src/ |
H A D | benchmark_common.cpp | 54 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()
|
/ohos5.0/drivers/peripheral/camera/test/fuzztest/common/src/ |
H A D | common.cpp | 52 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile() local 53 if (imgFd == -1) { in DumpImageFile() 58 ret = write(imgFd, buffer, size); in DumpImageFile() 61 close(imgFd); in DumpImageFile() 64 close(imgFd); in DumpImageFile()
|
/ohos5.0/drivers/peripheral/camera/test/ut/usb_camera/ |
H A D | test_camera_base.cpp | 199 int imgFd = open(path, O_RDWR | O_CREAT, 00766); // 00766: file permissions in SaveYUV() local 200 if (imgFd == -1) { in SaveYUV() 204 ret = write(imgFd, buffer, size); in SaveYUV() 207 close(imgFd); in SaveYUV() 210 close(imgFd); in SaveYUV()
|
/ohos5.0/drivers/peripheral/camera/test/ut/v4l2/ |
H A D | test_camera_base.cpp | 185 int imgFd = open(path, O_RDWR | O_CREAT, 00766); // 00766: file permissions in SaveYUV() local 186 if (imgFd == -1) { in SaveYUV() 190 ret = write(imgFd, buffer, size); in SaveYUV() 193 close(imgFd); in SaveYUV() 196 close(imgFd); in SaveYUV()
|
/ohos5.0/drivers/peripheral/camera/test/benchmarktest/v1_3/src/ |
H A D | benchmark_common.cpp | 55 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()
|
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_2/src/ |
H A D | hdi_common_v1_2.cpp | 56 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile() local 57 if (imgFd == -1) { in DumpImageFile() 62 ret = write(imgFd, buffer, size); in DumpImageFile() 65 close(imgFd); in DumpImageFile() 68 close(imgFd); in DumpImageFile()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/views/ |
H A D | modeSwitchPage.ets | 270 let imgFd = await this.mediaUtil.getFdPath(imgFileAsset) 271 Logger.info(this.tag, `fd = ${imgFd}`) 272 await fileio.write(imgFd, buffer) 273 await imgFileAsset.close(imgFd)
|
/ohos5.0/drivers/peripheral/camera/test/hdi/v1_3/src/ |
H A D | hdi_common_v1_3.cpp | 55 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()
|