Home
last modified time | relevance | path

Searched refs:SetMediaFormat (Results 1 - 10 of 10) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/tests/fuzztest/sink_fuzzer/wfdsetmediaformat_fuzzer/
H A Dwfd_setmedia_format_fuzzer.cpp21 bool SetMediaFormat() in SetMediaFormat() function
37 if (client->SetMediaFormat(deviceId, videoAttr, audioAttr) != 0) { in SetMediaFormat()
48 OHOS::Sharing::SetMediaFormat(); in LLVMFuzzerTestOneInput()
/foundation/CastEngine/castengine_wifi_display/tests/demo/interaction/
H A Dwfd_sink_demo.cpp162 bool WfdSinkDemo::SetMediaFormat(std::string deviceId, VideoFormat videoFormatId, AudioFormat audioFormatId) in SetMediaFormat() function in WfdSinkDemo
171 if (client_->SetMediaFormat(deviceId, videoAttr, audioAttr) == -1) { in SetMediaFormat()
265 {"GetConfig", 1}, {"Start", 2}, {"Stop", 3}, {"SetMediaFormat", 4}, {"Play", 5}, in DoCmd()
311 case 4: // SetMediaFormat in DoCmd()
358 case 4: // SetMediaFormat in DoCmd()
359 if (SetMediaFormat(deviceId, videoFormatId, audioFormatId)) { in DoCmd()
444 listener->SetMediaFormat(info.mac, DEFAULT_VIDEO_FORMAT, DEFAULT_AUDIO_FORMAT); in OnConnectionChanged()
463 {"1", "GetConfig"}, {"2", "AppendSurface"}, {"3", "SetMediaFormat"}, {"4", "Start"}, in TestOneByOne()
469 "3-SetMediaFormat; 4-Start;" in TestOneByOne()
H A Dwfd_sink_demo.h47 bool SetMediaFormat(std::string deviceId, VideoFormat videoFormatId, AudioFormat audioFormatId);
/foundation/CastEngine/castengine_wifi_display/frameworks/innerkitsimpl/native/wfd/
H A Dwifi_display.cpp106 int32_t WifiDisplay::SetMediaFormat(std::string deviceId, CastCodecAttr videoAttr, CastCodecAttr audioAttr) in SetMediaFormat() function in OHOS::Sharing::WifiDisplay
119 return wfdSinkImpl_->SetMediaFormat(deviceId, videoCodecAttr, audioCodecAttr); in SetMediaFormat()
H A Dwfd_sink_impl.h75 int32_t SetMediaFormat(std::string deviceId, CodecAttr videoAttr, CodecAttr audioAttr) override;
H A Dwfd_sink_impl.cpp210 int32_t WfdSinkImpl::SetMediaFormat(std::string deviceId, CodecAttr videoAttr, CodecAttr audioAttr) in SetMediaFormat() function in OHOS::Sharing::WfdSinkImpl
/foundation/CastEngine/castengine_wifi_display/interfaces/innerkits/native/wfd/include/
H A Dwfd_sink.h46 virtual int32_t SetMediaFormat(std::string deviceId, CodecAttr videoAttr, CodecAttr audioAttr) = 0;
H A Dwifi_diaplay.h91 int32_t SetMediaFormat(std::string deviceId, CastCodecAttr videoAttr, CastCodecAttr audioAttr);
/foundation/CastEngine/castengine_wifi_display/tests/unittest/wfd_sink/
H A Dwfd_sink_unit_test.cpp66 * @tc.desc: wfd sink SetMediaFormat
78 EXPECT_NE(SharingErrorCode::ERR_OK, wfdSink_->SetMediaFormat("0", videoAttr, audioAttr)); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/tests/demo/wfd/
H A Dwfd_demo.cpp144 client_->SetMediaFormat(deviceInfo.deviceId, videoAttr_, audioAttr_); in OnDeviceState()

Completed in 8 milliseconds