/foundation/CastEngine/castengine_wifi_display/tests/fuzztest/sink_fuzzer/wfdsetmediaformat_fuzzer/ |
H A D | wfd_setmedia_format_fuzzer.cpp | 21 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 D | wfd_sink_demo.cpp | 162 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 D | wfd_sink_demo.h | 47 bool SetMediaFormat(std::string deviceId, VideoFormat videoFormatId, AudioFormat audioFormatId);
|
/foundation/CastEngine/castengine_wifi_display/frameworks/innerkitsimpl/native/wfd/ |
H A D | wifi_display.cpp | 106 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 D | wfd_sink_impl.h | 75 int32_t SetMediaFormat(std::string deviceId, CodecAttr videoAttr, CodecAttr audioAttr) override;
|
H A D | wfd_sink_impl.cpp | 210 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 D | wfd_sink.h | 46 virtual int32_t SetMediaFormat(std::string deviceId, CodecAttr videoAttr, CodecAttr audioAttr) = 0;
|
H A D | wifi_diaplay.h | 91 int32_t SetMediaFormat(std::string deviceId, CastCodecAttr videoAttr, CastCodecAttr audioAttr);
|
/foundation/CastEngine/castengine_wifi_display/tests/unittest/wfd_sink/ |
H A D | wfd_sink_unit_test.cpp | 66 * @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 D | wfd_demo.cpp | 144 client_->SetMediaFormat(deviceInfo.deviceId, videoAttr_, audioAttr_); in OnDeviceState()
|