Home
last modified time | relevance | path

Searched refs:SetDisplaySurface (Results 1 - 19 of 19) sorted by relevance

/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/
H A Davcast_controller.h66 virtual int32_t SetDisplaySurface(std::string& surfaceId) = 0;
H A Di_avcast_controller_proxy.h151 virtual int32_t SetDisplaySurface(std::string& surfaceId) = 0;
/foundation/multimedia/av_session/services/session/ipc/proxy/
H A Davcast_controller_proxy.h49 int32_t SetDisplaySurface(std::string& surfaceId) override;
H A Davcast_controller_proxy.cpp198 int32_t AVCastControllerProxy::SetDisplaySurface(std::string& surfaceId) in SetDisplaySurface() function in OHOS::AVSession::AVCastControllerProxy
200 AVSESSION_TRACE_SYNC_START("AVCastControllerProxy::SetDisplaySurface"); in SetDisplaySurface()
/foundation/multimedia/av_session/services/session/server/
H A Davcast_controller_item.h71 int32_t SetDisplaySurface(std::string& surfaceId) override;
H A Davcast_controller_item.cpp328 int32_t AVCastControllerItem::SetDisplaySurface(std::string& surfaceId) in SetDisplaySurface() function in OHOS::AVSession::AVCastControllerItem
332 return castControllerProxy_->SetDisplaySurface(surfaceId); in SetDisplaySurface()
H A Dhw_cast_stream_player.h43 int32_t SetDisplaySurface(std::string &surfaceId) override;
H A Dhw_cast_stream_player.cpp342 int32_t HwCastStreamPlayer::SetDisplaySurface(std::string &surfaceId) in SetDisplaySurface() function in OHOS::AVSession::HwCastStreamPlayer
344 SLOGI("SetDisplaySurface begin"); in SetDisplaySurface()
351 SLOGI("SetDisplaySurface successed"); in SetDisplaySurface()
/foundation/multimedia/av_session/services/session/server/test/
H A Davcast_controller_proxy_test.cpp121 * @tc.desc: Test SetDisplaySurface
128 int32_t ret = avCastControllerProxy_->SetDisplaySurface(surfaceId); in HWTEST_F()
H A Dhw_cast_stream_player_test.cpp302 * @tc.desc: SetDisplaySurface
310 ASSERT_EQ(hwCastStreamPlayer->SetDisplaySurface(surfaceId), AVSESSION_SUCCESS); in HWTEST_F()
H A Dhw_cast_supplement_test.cpp80 int32_t SetDisplaySurface(std::string& surfaceId) {return 0;} in SetDisplaySurface() function in OHOS::AVSession::AVCastControllerProxyDemo
H A Davcast_controller_stub_test.cpp124 int32_t SetDisplaySurface(std::string& surfaceId) override
H A Dhw_cast_test.cpp304 int32_t ret = streamplayer->SetDisplaySurface(surfaceId); in HWTEST()
/foundation/multimedia/player_framework/interfaces/kits/js/
H A Dvideo_player_napi.h44 static napi_value SetDisplaySurface(napi_env env, napi_callback_info info);
/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_avcast_controller.h54 static napi_value SetDisplaySurface(napi_env env, napi_callback_info info);
/foundation/multimedia/av_session/services/session/ipc/stub/
H A Davcast_controller_stub.cpp153 SLOGE("SetDisplaySurface: CheckPermission failed"); in HandleSetDisplaySurface()
174 CHECK_AND_RETURN_RET_LOG(reply.WriteInt32(SetDisplaySurface(surfaceId)), in HandleSetDisplaySurface()
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_avcast_controller.cpp82 DECLARE_NAPI_FUNCTION("setDisplaySurface", SetDisplaySurface), in Init()
499 napi_value NapiAVCastController::SetDisplaySurface(napi_env env, napi_callback_info info) in SetDisplaySurface() function in OHOS::AVSession::NapiAVCastController
501 AVSESSION_TRACE_SYNC_START("NapiAVCastController::SetDisplaySurface"); in SetDisplaySurface()
519 SLOGE("SetDisplaySurface failed : controller is nullptr"); in SetDisplaySurface()
521 context->errMessage = "SetDisplaySurface failed : controller is nullptr"; in SetDisplaySurface()
525 int32_t ret = napiCastController->castController_->SetDisplaySurface(context->surfaceId); in SetDisplaySurface()
528 context->errMessage = "SetDisplaySurface failed : native session not exist"; in SetDisplaySurface()
530 context->errMessage = "SetDisplaySurface failed : native controller not exist"; in SetDisplaySurface()
532 context->errMessage = "SetDisplaySurface failed : native session is not active"; in SetDisplaySurface()
534 context->errMessage = "SetDisplaySurface faile in SetDisplaySurface()
[all...]
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/
H A Davcast_controller_test.cpp486 * @tc.desc: SetDisplaySurface
493 EXPECT_EQ(castController_->SetDisplaySurface(surfaceId), AVSESSION_ERROR); in HWTEST_F()
/foundation/multimedia/player_framework/frameworks/js/player/
H A Dvideo_player_napi.cpp97 DECLARE_NAPI_FUNCTION("setDisplaySurface", SetDisplaySurface), in Init()
423 napi_value VideoPlayerNapi::SetDisplaySurface(napi_env env, napi_callback_info info) in SetDisplaySurface() function in OHOS::Media::VideoPlayerNapi
428 MEDIA_LOGD("VideoPlayerNapi::SetDisplaySurface In"); in SetDisplaySurface()
451 napi_create_string_utf8(env, "SetDisplaySurface", NAPI_AUTO_LENGTH, &resource); in SetDisplaySurface()

Completed in 23 milliseconds