Home
last modified time | relevance | path

Searched refs:testObj (Results 1 - 16 of 16) sorted by relevance

/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhdecoder_unit_test.cpp90 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); in HWTEST_F() local
91 ASSERT_TRUE(testObj != nullptr); in HWTEST_F()
93 int32_t err = testObj->Init(meta); in HWTEST_F()
99 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); in HWTEST_F() local
100 ASSERT_TRUE(testObj); in HWTEST_F()
102 int32_t err = testObj->Init(meta); in HWTEST_F()
108 std::shared_ptr<HCodec> testObj = HCodec::Create(""); in HWTEST_F() local
109 ASSERT_FALSE(testObj); in HWTEST_F()
115 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); in HWTEST_F() local
116 ASSERT_TRUE(testObj); in HWTEST_F()
126 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); HWTEST_F() local
140 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); HWTEST_F() local
151 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
164 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
183 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
201 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
216 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
231 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
246 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
265 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
278 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
317 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
431 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
452 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
473 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
498 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
523 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
547 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
563 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
582 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
600 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
618 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
636 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
661 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
683 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
700 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
719 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); HWTEST_F() local
732 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
748 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
761 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
784 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); HWTEST_F() local
803 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
825 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); HWTEST_F() local
852 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
881 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/hevc")); HWTEST_F() local
915 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
959 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
989 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
1015 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(false, "video/avc")); HWTEST_F() local
[all...]
H A Dhencoder_unit_test.cpp116 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); in HWTEST_F() local
117 ASSERT_TRUE(testObj != nullptr); in HWTEST_F()
119 int32_t err = testObj->Init(meta); in HWTEST_F()
125 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); in HWTEST_F() local
126 ASSERT_TRUE(testObj); in HWTEST_F()
128 int32_t err = testObj->Init(meta); in HWTEST_F()
134 std::shared_ptr<HCodec> testObj = HCodec::Create(""); in HWTEST_F() local
135 ASSERT_FALSE(testObj); in HWTEST_F()
141 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); in HWTEST_F() local
142 ASSERT_TRUE(testObj); in HWTEST_F()
152 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
165 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
176 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
191 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
202 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
215 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
227 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
240 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
252 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
274 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
296 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
317 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
338 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
354 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
370 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
386 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
402 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
419 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
436 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
456 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
476 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
495 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
515 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
535 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
554 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
574 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
594 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
612 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
637 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
662 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
689 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
716 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
743 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/hevc")); HWTEST_F() local
773 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
883 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
907 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
924 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
949 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
968 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
986 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1005 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1031 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1055 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1075 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1088 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1105 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1118 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1142 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1162 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1185 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1215 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1245 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1280 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
1325 std::shared_ptr<HCodec> testObj = HCodec::Create(GetCodecName(true, "video/avc")); HWTEST_F() local
[all...]
H A Dhcodec_list_unit_test.cpp106 HCodecList testObj = HCodecList(); in HWTEST_F() local
108 int32_t ret = testObj.GetCapabilityList(capData); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/unittest/
H A Dheif_hw_decoder_test.cpp34 HeifHardwareDecoder testObj; in HWTEST_F() local
35 sptr<SurfaceBuffer> output = testObj.AllocateOutputBuffer( in HWTEST_F()
42 HeifHardwareDecoder testObj; in HWTEST_F() local
43 sptr<SurfaceBuffer> output = testObj.AllocateOutputBuffer( in HWTEST_F()
50 HeifHardwareDecoder testObj; in HWTEST_F() local
51 sptr<SurfaceBuffer> output = testObj.AllocateOutputBuffer( in HWTEST_F()
58 HeifHardwareDecoder testObj; in HWTEST_F() local
69 sptr<SurfaceBuffer> output = testObj.AllocateOutputBuffer(gridInfo.displayWidth, gridInfo.displayHeight, in HWTEST_F()
71 uint32_t ret = testObj.DoDecode(gridInfo, inputs, output); in HWTEST_F()
77 HeifHardwareDecoder testObj; in HWTEST_F() local
97 HeifHardwareDecoder testObj; HWTEST_F() local
118 HeifHardwareDecoder testObj; HWTEST_F() local
139 HeifHardwareDecoder testObj; HWTEST_F() local
160 HeifHardwareDecoder testObj; HWTEST_F() local
187 HeifHwDecoderFlow testObj; HWTEST_F() local
201 HeifHwDecoderFlow testObj; HWTEST_F() local
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_hw_decode/unittest/
H A Djpeg_hw_decoder_test.cpp35 JpegHardwareDecoder testObj; in HWTEST_F() local
40 bool ret = testObj.IsHardwareDecodeSupported("", srcImgSize); in HWTEST_F()
46 JpegHardwareDecoder testObj; in HWTEST_F() local
51 bool ret = testObj.IsHardwareDecodeSupported(HEIF_FORMAT, srcImgSize); in HWTEST_F()
57 JpegHardwareDecoder testObj; in HWTEST_F() local
62 bool ret = testObj.IsHardwareDecodeSupported(JPEG_FORMAT, srcImgSize); in HWTEST_F()
68 JpegHardwareDecoder testObj; in HWTEST_F() local
73 bool ret = testObj.IsHardwareDecodeSupported(JPEG_FORMAT, srcImgSize); in HWTEST_F()
/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_capture_video.cpp89 static void Usage(std::shared_ptr<CameraCaptureVideo> testObj) in Usage() argument
91 if (testObj->currentState_ == State::PHOTO_CAPTURE) { in Usage()
93 } else if (testObj->currentState_ == State::VIDEO_RECORDING) { in Usage()
95 } else if (testObj->currentState_ == State::DOUBLE_PREVIEW) { in Usage()
101 static char PutMenuAndGetChr(std::shared_ptr<CameraCaptureVideo> &testObj) in PutMenuAndGetChr() argument
106 Usage(testObj); in PutMenuAndGetChr()
114 static int32_t SwitchMode(std::shared_ptr<CameraCaptureVideo> testObj, State state) in SwitchMode() argument
118 if (testObj->currentState_ != state) { in SwitchMode()
119 testObj->Release(); in SwitchMode()
120 testObj in SwitchMode()
126 ProcessResult(int32_t result, std::shared_ptr<CameraCaptureVideo> testObj) ProcessResult() argument
135 DisplayMenu(std::shared_ptr<CameraCaptureVideo> testObj) DisplayMenu() argument
706 std::shared_ptr<CameraCaptureVideo> testObj = main() local
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/
H A Daudio_render_mode_callback_test.cpp203 auto testObj = std::make_shared<AudioRenderModeCallbackTest>(); in main() local
206 testObj->SetBlendMode(atoi(argv[PARAM2])); in main()
209 testObj->wavFile_ = fopen(path, "rb"); in main()
210 if (testObj->wavFile_ == nullptr) { in main()
215 return testObj->TestPlayback(argc, argv); in main()
H A Daudio_renderer_test.cpp416 AudioRendererTest testObj; in main() local
417 bool ret = testObj.TestPlayback(argc, argv); in main()
/foundation/arkui/ui_lite/test/framework/src/
H A Dui_test_group.cpp180 return node->data_.testObj; in GetTestCase()
190 delete node->data_.testObj; in TearDownTestCase()
191 node->data_.testObj = nullptr; in TearDownTestCase()
H A Dtest_case_list_adapter.cpp92 uiTest_ = uiTestInfo->testObj; in BtnOnClickUiTestListener()
/foundation/window/window_manager/utils/test/unittest/
H A Dutils_all_test.cpp135 TestClass* testObj = new TestClass(); in HWTEST_F() local
137 singletonContainer.SetSingleton("test", testObj); in HWTEST_F()
152 delete testObj; in HWTEST_F()
/foundation/arkui/ui_lite/test/framework/include/
H A Dui_test_group.h26 UITest* testObj; member
/foundation/multimedia/audio_framework/services/audio_service/test/example/
H A Daudio_hdi_device_test.cpp185 AudioHdiDeviceTest testObj; in main() local
186 bool ret = testObj.TestPlayback(argc, argv); in main()
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/example/
H A Daudio_capturer_test.cpp275 AudioCapturerTest testObj; in main() local
276 bool ret = testObj.TestRecording(samplingRate, isBlocking, filePath); in main()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/
H A Drs_marshalling_test.cpp55 static void TestNullptrObjectSerialization(T& testObj) in TestNullptrObjectSerialization() argument
59 ASSERT_TRUE(RSMarshallingHelper::Marshalling(parcel, testObj)); in TestNullptrObjectSerialization()
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_core_unittest.cpp667 jobject testObj = JNIHelperGetJavaRemoteObject(env, remoteObj); in HWTEST_F() local
668 ASSERT_TRUE(testObj == nullptr); in HWTEST_F()

Completed in 10 milliseconds