Home
last modified time | relevance | path

Searched refs:fenceFd (Results 1 - 15 of 15) sorted by relevance

/test/xts/acts/graphic/graphicnapitest/
H A DNativeImageTest.cpp360 int fenceFd = -1; in HWTEST_F() local
361 ret = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in HWTEST_F()
371 ret = OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, nativeWindowBuffer, fenceFd, *region); in HWTEST_F()
492 int fenceFd = -1; in HWTEST_F() local
499 ret = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in HWTEST_F()
507 ret = OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, nativeWindowBuffer, fenceFd, *region); in HWTEST_F()
566 int fenceFd = -1; in HWTEST_F() local
573 ret = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in HWTEST_F()
581 ret = OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, nativeWindowBuffer, fenceFd, *region); in HWTEST_F()
620 int fenceFd in HWTEST_F() local
675 int fenceFd = -1; HWTEST_F() local
739 int fenceFd = -1; HWTEST_F() local
821 int fenceFd = -1; HWTEST_F() local
862 int fenceFd = -1; HWTEST_F() local
904 int fenceFd = -1; HWTEST_F() local
950 int fenceFd = -1; HWTEST_F() local
992 int fenceFd = -1; HWTEST_F() local
1035 int fenceFd = -1; HWTEST_F() local
1078 int fenceFd = 0; HWTEST_F() local
1121 int fenceFd = -1; HWTEST_F() local
1163 int fenceFd = -1; HWTEST_F() local
1202 int fenceFd; HWTEST_F() local
[all...]
H A DNativeWindowTest.cpp573 int fenceFd = -1; in HWTEST_F() local
574 int32_t ret = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindowTmp, &nativeWindowBuffer, &fenceFd); in HWTEST_F()
600 ret = OH_NativeWindow_NativeWindowFlushBuffer(nativeWindowTmp, nativeWindowBuffer, fenceFd, *region); in HWTEST_F()
609 int fenceFd = -1; in NativeWindowAttachBuffer003Test() local
610 int32_t ret = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindowTmp, &nativeWindowBuffer1, &fenceFd); in NativeWindowAttachBuffer003Test()
614 fenceFd = -1; in NativeWindowAttachBuffer003Test()
615 ret = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindowTmp, &nativeWindowBuffer2, &fenceFd); in NativeWindowAttachBuffer003Test()
619 fenceFd = -1; in NativeWindowAttachBuffer003Test()
620 ret = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindowTmp, &nativeWindowBuffer3, &fenceFd); in NativeWindowAttachBuffer003Test()
633 fenceFd in NativeWindowAttachBuffer003Test()
712 int fenceFd = -1; HWTEST_F() local
755 int fenceFd = -1; HWTEST_F() local
790 int fenceFd = -1; HWTEST_F() local
914 int fenceFd = -1; HWTEST_F() local
937 int fenceFd = -1; HWTEST_F() local
960 int fenceFd = -1; HWTEST_F() local
998 int fenceFd = -1; HWTEST_F() local
1038 int fenceFd = -1; HWTEST_F() local
1500 int fenceFd = -1; HWTEST_F() local
[all...]
/test/xts/acts/graphic/nativewindow/entry/src/main/cpp/
H A Dnativewindow1.cpp362 int fenceFd; in testNativeWindowNativeWindowRequestBufferNullptr() local
364 auto flag = OH_NativeWindow_NativeWindowRequestBuffer(nullptr, &oHNativeWindowBuffer, &fenceFd); in testNativeWindowNativeWindowRequestBufferNullptr()
416 int fenceFd = -1; in testNativeWindowNativeWindowRequestAbortBufferNormal() local
417 auto flag = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in testNativeWindowNativeWindowRequestAbortBufferNormal()
446 int fenceFd = 0; in testNativeWindowNativeWindowRequestAbortBufferAbnormal() local
447 auto flag = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in testNativeWindowNativeWindowRequestAbortBufferAbnormal()
484 int fenceFd = ls[i]; in testNativeWindowNativeWindowRequestBufferFenceFdNormal() local
485 auto flag = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in testNativeWindowNativeWindowRequestBufferFenceFdNormal()
543 int fenceFd = -1; in testNativeWindowNativeWindowRequestAbortBufferMax() local
544 auto flag = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in testNativeWindowNativeWindowRequestAbortBufferMax()
795 int fenceFd = -1; testNativeWindowNativeWindowFlushBufferNullptr() local
833 int fenceFd = -1; testNativeWindowNativeWindowFlushBufferNormal() local
874 int fenceFd = -1; testNativeWindowNativeWindowFlushBufferAbnormal() local
903 int fenceFd = -1; testNativeWindowNativeWindowFlushBufferErrorCode() local
943 int fenceFd; testNativeWindowGetLastFlushedBufferV2Nullptr() local
972 int fenceFd; testNativeWindowGetLastFlushedBufferNullptr() local
1000 int fenceFd; testNativeWindowGetLastFlushedBufferV2Normal() local
1029 int fenceFd; testNativeWindowGetLastFlushedBufferNormal() local
1087 int fenceFd = -1; testNativeWindowGetNativeObjectMagicNormal() local
1156 int fenceFd = -1; testNativeWindowNativeObjectReferenceNormal() local
1206 int fenceFd = -1; testNativeWindowNativeObjectUnreferenceNormal() local
1235 int fenceFd = -1; testNativeWindowNativeWindowAttachBufferNullptr() local
1263 int fenceFd = -1; testNativeWindowNativeWindowDetachBufferNullptr() local
1292 int fenceFd = -1; testNativeWindowNativeWindowDetachBufferNormal() local
1327 int fenceFd = -1; testNativeWindowNativeWindowAttachBufferErrorCode() local
1360 int fenceFd = -1; testNativeWindowNativeWindowAttachBufferNormal() local
1401 int fenceFd; testNativeWindowNativeWindowDetachBufferErrorCode() local
1438 int fenceFd = -1; testNativeWindowNativeWindowAtDetachDifferentBufferNormal() local
[all...]
H A Dnativewindow2.cpp1005 int fenceFd; in testNativeWindowGetColorSpaceFirst() local
1006 int32_t flag = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &windowBuffer, &fenceFd); in testNativeWindowGetColorSpaceFirst()
1034 int fenceFd; in testNativeWindowSetColorSpaceNormal() local
1035 auto res = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in testNativeWindowSetColorSpaceNormal()
1043 res = OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, nativeWindowBuffer, fenceFd, region); in testNativeWindowSetColorSpaceNormal()
1290 int fenceFd; in testNativeWindowSetDynamicMetadataValue() local
1291 auto res = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in testNativeWindowSetDynamicMetadataValue()
1294 res = OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, nativeWindowBuffer, fenceFd, region); in testNativeWindowSetDynamicMetadataValue()
1327 int fenceFd; in testNativeWindowSetMetadataValueTimes() local
1328 auto res = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in testNativeWindowSetMetadataValueTimes()
1522 int fenceFd; testNativeWindowSetStaticMetadataValue() local
1706 int fenceFd; testNativeWindowSetMetadataValue() local
[all...]
/test/xts/hats/hdf/display/composer/common/
H A Dhdi_test_display.cpp167 int32_t fenceFd; in Commit() local
192 ret = device_->Commit(id_, fenceFd); in Commit()
200 DISPLAY_TEST_LOGE("commit out client buffer fence: %{public}d", fenceFd); in Commit()
201 buffer->SetReleaseFence(fenceFd); in Commit()
/test/xts/hats/hdf/codec/hdi_omx/
H A Dcodec_hdi_omx_test.cpp58 buffer.fenceFd = -1; in InitCodecBuffer()
120 omxBuffer->fenceFd = -1; in InitCodecBufferWithAshMem()
215 omxBuffer->fenceFd = -1; in InitBufferHandle()
796 omxBuffer->fenceFd = -1; in HWTEST_F()
819 omxBuffer->fenceFd = -1; in HWTEST_F()
842 omxBuffer->fenceFd = -1; in HWTEST_F()
865 omxBuffer->fenceFd = -1; in HWTEST_F()
963 omxBuffer->fenceFd = -1; in HWTEST_F()
1079 buffer.fenceFd = -1; in HWTEST_F()
1150 allocBuffer.fenceFd in HWTEST_F()
[all...]
/test/xts/acts/graphic/nativeimage/entry/src/main/cpp/
H A Dnativeimage.cpp180 int fenceFd; in OHNativeImageAttachContext() local
181 OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &buffer, &fenceFd); in OHNativeImageAttachContext()
195 OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, buffer, fenceFd, region); in OHNativeImageAttachContext()
237 int fenceFd; in OHNativeImageDetachContext() local
238 OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &buffer, &fenceFd); in OHNativeImageDetachContext()
252 OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, buffer, fenceFd, region); in OHNativeImageDetachContext()
291 int fenceFd; in OHNativeImageUpdateSurfaceImage() local
292 OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &buffer, &fenceFd); in OHNativeImageUpdateSurfaceImage()
305 OH_NativeWindow_NativeWindowFlushBuffer(nativeWindow, buffer, fenceFd, region); in OHNativeImageUpdateSurfaceImage()
333 int fenceFd; in OHNativeImageUpdateSurfaceImageBoundary() local
[all...]
/test/xts/hats/hdf/codec/hdi_image/
H A Dcodec_hdi_jpeg_test.cpp132 inBuffer.fenceFd = -1; in HWTEST_F()
143 inBuffer.fenceFd = -1; in HWTEST_F()
144 outBuffer.fenceFd = -1; in HWTEST_F()
164 outBuffer.fenceFd = -1; in HWTEST_F()
187 outBuffer.fenceFd = -1; in HWTEST_F()
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/
H A Dvideoenc_api11_sample.cpp501 int fenceFd = -1; in InputFuncSurface() local
507 int32_t err = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &ohNativeWindowBuffer, &fenceFd); in InputFuncSurface()
512 if (fenceFd > 0) { in InputFuncSurface()
513 close(fenceFd); in InputFuncSurface()
H A Dvideoenc_ndk_sample.cpp475 int fenceFd = -1; in InputFuncSurface() local
481 int32_t err = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &ohNativeWindowBuffer, &fenceFd); in InputFuncSurface()
486 if (fenceFd > 0) { in InputFuncSurface()
487 close(fenceFd); in InputFuncSurface()
/test/xts/hats/hdf/codec/hdi_image_additional/
H A Dcodec_hdi_jpeg_test.cpp126 inBuffer.fenceFd = -1; in HWTEST_F()
190 outBuffer.fenceFd = -1; in HWTEST_F()
312 inBuffer.fenceFd = -1; in HWTEST_F()
504 inBuffer.fenceFd = -1; in HWTEST_F()
1125 * @tc.desc : Determines the result of the function with inBuffer.fenceFd = -1 and CODEC_IMAGE_HEIF
1131 inBuffer.fenceFd = -1; in HWTEST_F()
/test/xts/acts/graphic/nativebuffer/entry/src/main/cpp/
H A Dnativebuffer.cpp448 int fenceFd = NUMBER_MINUS_1; in OHNativeBufferFromNativeWindowBufferNullptr() local
449 int ret0 = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in OHNativeBufferFromNativeWindowBufferNullptr()
480 int fenceFd = NUMBER_MINUS_1; in OHNativeBufferFromNativeWindowBufferNormal() local
481 int ret0 = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindow, &nativeWindowBuffer, &fenceFd); in OHNativeBufferFromNativeWindowBufferNormal()
/test/xts/hats/hdf/codec/benchmarktest/
H A Dcodec_benchmark_omx_test.cpp78 buffer.fenceFd = -1; in InitOmxCodecBuffer()
/test/xts/hats/hdf/codec/hdi_idlomx/
H A Dcodec_function_utils.cpp50 buffer.fenceFd = ERROE_FENCEFD; in InitOmxCodecBuffer()
/test/xts/hats/hdf/codec/hdi_component_additional/
H A Dcodec_component_test.cpp76 buffer.fenceFd = -1; in InitOmxCodecBuffer()

Completed in 28 milliseconds