/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/common/ |
H A D | test_screen_capture.cpp | 39 TestScreenCapture::TestScreenCapture() in TestScreenCapture() function in TestScreenCapture 43 TestScreenCapture::~TestScreenCapture() in ~TestScreenCapture() 47 bool TestScreenCapture::CreateScreenCapture() in CreateScreenCapture() 64 int32_t TestScreenCapture::Init(AVScreenCaptureConfig config) in Init() 72 int32_t TestScreenCapture::StartScreenCapture() in StartScreenCapture() 80 int32_t TestScreenCapture::StopScreenCapture() in StopScreenCapture() 88 int32_t TestScreenCapture::Release() in Release() 98 int32_t TestScreenCapture::SetMicrophoneEnabled(bool isMicrophone) in SetMicrophoneEnabled() 122 int32_t TestScreenCapture::SetMaxFrameRate(int32_t frameRate) in SetMaxFrameRate() 130 int32_t TestScreenCapture::SetCanvasRotation(bool canvasRotation) in SetCanvasRotation() [all …]
|
H A D | test_screen_capture.h | 39 class TestScreenCapture : public NoCopyable { 41 TestScreenCapture(); 42 ~TestScreenCapture(); 65 std::shared_ptr<TestScreenCapture> screenCapture;
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureacquirevideobuffer_fuzzer/ |
H A D | screencaptureacquirevideobuffer_fuzzer.cpp | 96 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureAcquireVideoBuffer() 109 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureAcquireVideoBuffer() 110 TestScreenCapture::SetCanvasRotation(true); in FuzzScreenCaptureAcquireVideoBuffer() 111 TestScreenCapture::Init(config); in FuzzScreenCaptureAcquireVideoBuffer() 112 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureAcquireVideoBuffer() 113 TestScreenCapture::AcquireVideoBuffer(fence, timestamp, damage); in FuzzScreenCaptureAcquireVideoBuffer() 114 TestScreenCapture::ReleaseVideoBuffer(); in FuzzScreenCaptureAcquireVideoBuffer() 115 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureAcquireVideoBuffer() 116 TestScreenCapture::Release(); in FuzzScreenCaptureAcquireVideoBuffer()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturevideoframeheight_fuzzer/ |
H A D | screencapturevideoframeheight_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureVideoFrameHeight() 84 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureVideoFrameHeight() 85 TestScreenCapture::SetCanvasRotation(true); in FuzzScreenCaptureVideoFrameHeight() 86 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureVideoFrameHeight() 87 TestScreenCapture::Init(config); in FuzzScreenCaptureVideoFrameHeight() 88 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureVideoFrameHeight() 90 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureVideoFrameHeight() 91 TestScreenCapture::Release(); in FuzzScreenCaptureVideoFrameHeight()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturevideoframewidth_fuzzer/ |
H A D | screencapturevideoframewidth_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureVideoFrameWidth() 84 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureVideoFrameWidth() 85 TestScreenCapture::SetCanvasRotation(true); in FuzzScreenCaptureVideoFrameWidth() 86 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureVideoFrameWidth() 87 TestScreenCapture::Init(config); in FuzzScreenCaptureVideoFrameWidth() 88 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureVideoFrameWidth() 90 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureVideoFrameWidth() 91 TestScreenCapture::Release(); in FuzzScreenCaptureVideoFrameWidth()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureacquireaudiobuffer_fuzzer/ |
H A D | screencaptureacquireaudiobuffer_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureAcquireAudioBuffer() 91 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureAcquireAudioBuffer() 92 TestScreenCapture::Init(config); in FuzzScreenCaptureAcquireAudioBuffer() 93 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureAcquireAudioBuffer() 94 TestScreenCapture::AcquireAudioBuffer(buffer, type); in FuzzScreenCaptureAcquireAudioBuffer() 95 TestScreenCapture::ReleaseAudioBuffer(type); in FuzzScreenCaptureAcquireAudioBuffer() 96 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureAcquireAudioBuffer() 97 TestScreenCapture::Release(); in FuzzScreenCaptureAcquireAudioBuffer()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturevideosourcetype_fuzzer/ |
H A D | screencapturevideosourcetype_fuzzer.cpp | 75 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureVideoSourceType() 93 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureVideoSourceType() 94 TestScreenCapture::SetCanvasRotation(true); in FuzzScreenCaptureVideoSourceType() 95 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureVideoSourceType() 96 TestScreenCapture::Init(config); in FuzzScreenCaptureVideoSourceType() 97 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureVideoSourceType() 99 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureVideoSourceType() 100 TestScreenCapture::Release(); in FuzzScreenCaptureVideoSourceType()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureaudiosourcetype_fuzzer/ |
H A D | screencaptureaudiosourcetype_fuzzer.cpp | 75 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureAudioSourceType() 94 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureAudioSourceType() 95 TestScreenCapture::SetCanvasRotation(true); in FuzzScreenCaptureAudioSourceType() 96 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureAudioSourceType() 97 TestScreenCapture::Init(config); in FuzzScreenCaptureAudioSourceType() 98 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureAudioSourceType() 100 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureAudioSourceType() 101 TestScreenCapture::Release(); in FuzzScreenCaptureAudioSourceType()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturecapturemode_fuzzer/ |
H A D | screencapturecapturemode_fuzzer.cpp | 75 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureCaptureMode() 93 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureCaptureMode() 94 TestScreenCapture::SetCanvasRotation(true); in FuzzScreenCaptureCaptureMode() 95 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureCaptureMode() 96 TestScreenCapture::Init(config); in FuzzScreenCaptureCaptureMode() 97 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureCaptureMode() 99 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureCaptureMode() 100 TestScreenCapture::Release(); in FuzzScreenCaptureCaptureMode()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturesetcanvasrotation_fuzzer/ |
H A D | screencapturesetcanvasrotation_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureSetCanvasRotation() 83 TestScreenCapture::SetCanvasRotation(*reinterpret_cast<bool *>(data)); in FuzzScreenCaptureSetCanvasRotation() 84 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureSetCanvasRotation() 85 TestScreenCapture::Init(config); in FuzzScreenCaptureSetCanvasRotation() 86 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureSetCanvasRotation() 88 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureSetCanvasRotation() 89 TestScreenCapture::Release(); in FuzzScreenCaptureSetCanvasRotation()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturesetmicrophoneenabled_fuzzer/ |
H A D | screencapturesetmicrophoneenabled_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureSetMicrophoneEnabled() 83 TestScreenCapture::SetMicrophoneEnabled(*reinterpret_cast<bool *>(data)); in FuzzScreenCaptureSetMicrophoneEnabled() 84 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureSetMicrophoneEnabled() 85 TestScreenCapture::Init(config); in FuzzScreenCaptureSetMicrophoneEnabled() 86 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureSetMicrophoneEnabled() 88 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureSetMicrophoneEnabled() 89 TestScreenCapture::Release(); in FuzzScreenCaptureSetMicrophoneEnabled()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureskipprivacymode_fuzzer/ |
H A D | screencaptureskipprivacymode_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureSkipPrivacyMode() 85 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureSkipPrivacyMode() 86 TestScreenCapture::Init(config); in FuzzScreenCaptureSkipPrivacyMode() 87 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureSkipPrivacyMode() 88 TestScreenCapture::SkipPrivacyMode(windowIDsVec); in FuzzScreenCaptureSkipPrivacyMode() 90 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureSkipPrivacyMode() 91 TestScreenCapture::Release(); in FuzzScreenCaptureSkipPrivacyMode()
|
H A D | screencaptureskipprivacymode_fuzzer.h | 32 class ScreenCaptureSkipPrivacyModeFuzzer : public TestScreenCapture { 37 std::shared_ptr<TestScreenCapture> screenCapture = nullptr;
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureaudiochannels_fuzzer/ |
H A D | screencaptureaudiochannels_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureAudioChannels() 84 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureAudioChannels() 85 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureAudioChannels() 86 TestScreenCapture::Init(config); in FuzzScreenCaptureAudioChannels() 87 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureAudioChannels() 89 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureAudioChannels() 90 TestScreenCapture::Release(); in FuzzScreenCaptureAudioChannels()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureaudiosamplerate_fuzzer/ |
H A D | screencaptureaudiosamplerate_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureAudioSampleRate() 84 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureAudioSampleRate() 85 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureAudioSampleRate() 86 TestScreenCapture::Init(config); in FuzzScreenCaptureAudioSampleRate() 87 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureAudioSampleRate() 89 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureAudioSampleRate() 90 TestScreenCapture::Release(); in FuzzScreenCaptureAudioSampleRate()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureresizecanvas_fuzzer/ |
H A D | screencaptureresizecanvas_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureResizeCanvas() 84 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureResizeCanvas() 85 TestScreenCapture::Init(config); in FuzzScreenCaptureResizeCanvas() 86 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureResizeCanvas() 87 TestScreenCapture::ResizeCanvas(*reinterpret_cast<int32_t *>(data), in FuzzScreenCaptureResizeCanvas() 90 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureResizeCanvas() 91 TestScreenCapture::Release(); in FuzzScreenCaptureResizeCanvas()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturesetmaxframerate_fuzzer/ |
H A D | screencapturesetmaxframerate_fuzzer.cpp | 74 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureSetMaxFrameRate() 84 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureSetMaxFrameRate() 85 TestScreenCapture::Init(config); in FuzzScreenCaptureSetMaxFrameRate() 86 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureSetMaxFrameRate() 87 TestScreenCapture::SetMaxFrameRate(*reinterpret_cast<int32_t *>(data)); in FuzzScreenCaptureSetMaxFrameRate() 89 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureSetMaxFrameRate() 90 TestScreenCapture::Release(); in FuzzScreenCaptureSetMaxFrameRate()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturedatatype_fuzzer/ |
H A D | screencapturedatatype_fuzzer.cpp | 92 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureDataType() 123 TestScreenCapture::SetMicrophoneEnabled(true); in FuzzScreenCaptureDataType() 124 TestScreenCapture::SetCanvasRotation(true); in FuzzScreenCaptureDataType() 125 TestScreenCapture::SetScreenCaptureCallback(callbackobj); in FuzzScreenCaptureDataType() 126 TestScreenCapture::Init(config); in FuzzScreenCaptureDataType() 127 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureDataType() 129 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureDataType() 130 TestScreenCapture::Release(); in FuzzScreenCaptureDataType()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturevideobitratefile_fuzzer/ |
H A D | screencapturevideobitratefile_fuzzer.cpp | 93 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureVideoBitRateFile() 112 TestScreenCapture::Init(config); in FuzzScreenCaptureVideoBitRateFile() 113 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureVideoBitRateFile() 115 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureVideoBitRateFile() 116 TestScreenCapture::Release(); in FuzzScreenCaptureVideoBitRateFile()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturevideoframeratefile_fuzzer/ |
H A D | screencapturevideoframeratefile_fuzzer.cpp | 93 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureVideoFrameRateFile() 112 TestScreenCapture::Init(config); in FuzzScreenCaptureVideoFrameRateFile() 113 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureVideoFrameRateFile() 115 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureVideoFrameRateFile() 116 TestScreenCapture::Release(); in FuzzScreenCaptureVideoFrameRateFile()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureaudiobitratefile_fuzzer/ |
H A D | screencaptureaudiobitratefile_fuzzer.cpp | 93 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureAudioBitRateFile() 112 TestScreenCapture::Init(config); in FuzzScreenCaptureAudioBitRateFile() 113 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureAudioBitRateFile() 115 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureAudioBitRateFile() 116 TestScreenCapture::Release(); in FuzzScreenCaptureAudioBitRateFile()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturefileformatfile_fuzzer/ |
H A D | screencapturefileformatfile_fuzzer.cpp | 92 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureFileFormatFile() 116 TestScreenCapture::Init(config); in FuzzScreenCaptureFileFormatFile() 117 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureFileFormatFile() 119 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureFileFormatFile() 120 TestScreenCapture::Release(); in FuzzScreenCaptureFileFormatFile()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureurlfile_fuzzer/ |
H A D | screencaptureurlfile_fuzzer.cpp | 92 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureUrlFile() 117 TestScreenCapture::Init(config); in FuzzScreenCaptureUrlFile() 118 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureUrlFile() 120 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureUrlFile() 121 TestScreenCapture::Release(); in FuzzScreenCaptureUrlFile()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturevideocodecfile_fuzzer/ |
H A D | screencapturevideocodecfile_fuzzer.cpp | 94 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureVideoCodecFile() 120 TestScreenCapture::Init(config); in FuzzScreenCaptureVideoCodecFile() 121 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureVideoCodecFile() 123 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureVideoCodecFile() 124 TestScreenCapture::Release(); in FuzzScreenCaptureVideoCodecFile()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureaudiocodecformatfile_fuzzer/ |
H A D | screencaptureaudiocodecformatfile_fuzzer.cpp | 94 bool retFlags = TestScreenCapture::CreateScreenCapture(); in FuzzScreenCaptureAudioCodecFormatFile() 119 TestScreenCapture::Init(config); in FuzzScreenCaptureAudioCodecFormatFile() 120 TestScreenCapture::StartScreenCapture(); in FuzzScreenCaptureAudioCodecFormatFile() 122 TestScreenCapture::StopScreenCapture(); in FuzzScreenCaptureAudioCodecFormatFile() 123 TestScreenCapture::Release(); in FuzzScreenCaptureAudioCodecFormatFile()
|