Home
last modified time | relevance | path

Searched refs:castHandle (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimedia/av_session/services/session/server/
H A Davrouter_impl.cpp222 int64_t castHandle = -1; in OnCastSessionCreated() local
234 castHandleToInfoMap_[castHandle] = castHandleInfo; in OnCastSessionCreated()
237 servicePtr_->CreateSessionByCast(castHandle); in OnCastSessionCreated()
298 int64_t castHandle = -1; in StartCast() local
329 castHandleToInfoMap_[castHandle] = castHandleInfo; in StartCast()
330 return castHandle; in StartCast()
355 int32_t AVRouterImpl::StopCast(const int64_t castHandle) in StopCast() argument
362 castHandle, "Can not find corresponding provider"); in StopCast()
396 castHandle, "Can not find corresponding provider"); in StopCastSession()
407 if (number == castHandle) { in StopCastSession()
[all …]
H A Davrouter_impl.h74 std::shared_ptr<IAVCastControllerProxy> GetRemoteController(const int64_t castHandle) override;
81 int32_t StopCast(const int64_t castHandle) override;
83 int32_t StopCastSession(const int64_t castHandle) override;
91 int32_t SetServiceAllConnectState(int64_t castHandle, DeviceInfo deviceInfo) override;
93 …int32_t GetRemoteNetWorkId(int64_t castHandle, std::string deviceId, std::string &networkId) overr…
H A Dhw_cast_provider.cpp301 bool HwCastProvider::SetStreamState(int64_t castHandle, DeviceInfo deviceInfo) in SetStreamState() argument
303 int32_t castId = static_cast<int32_t>((static_cast<uint64_t>(castHandle) << 32) >> 32); in SetStreamState()
304 mirrorCastHandle = castHandle; in SetStreamState()
H A Dhw_cast_provider.h58 bool SetStreamState(int64_t castHandle, DeviceInfo deviceInfo) override;
H A Davsession_item.h238 int32_t AddDevice(const int64_t castHandle, const OutputDeviceInfo& outputDeviceInfo);
250 void SetCastHandle(int64_t castHandle);
H A Davsession_item.cpp1150 …int64_t castHandle = AVRouter::GetInstance().StartCast(outputDeviceInfo, castServiceNameMapState_,… in SubStartCast() local
1151 CHECK_AND_RETURN_RET_LOG(castHandle != AVSESSION_ERROR, AVSESSION_ERROR, "StartCast failed"); in SubStartCast()
1154 castHandle_ = castHandle; in SubStartCast()
1156 int32_t ret = AddDevice(static_cast<int32_t>(castHandle), outputDeviceInfo); in SubStartCast()
1164 int32_t AVSessionItem::AddDevice(const int64_t castHandle, const OutputDeviceInfo& outputDeviceInfo) in AddDevice() argument
1394 void AVSessionItem::SetCastHandle(const int64_t castHandle) in SetCastHandle() argument
1396 castHandle_ = castHandle; in SetCastHandle()
H A Davsession_service.h220 void CreateSessionByCast(const int64_t castHandle) override;
H A Davsession_service.cpp1052 void AVSessionService::CreateSessionByCast(const int64_t castHandle) in CreateSessionByCast() argument
1069 sinkSession->SetCastHandle(castHandle); in CreateSessionByCast()
/ohos5.0/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/
H A Dav_router.h161 … virtual std::shared_ptr<IAVCastControllerProxy> GetRemoteController(const int64_t castHandle) = 0;
192 virtual int32_t StopCast(const int64_t castHandle) = 0;
201 virtual int32_t StopCastSession(const int64_t castHandle) = 0;
236 virtual int32_t SetServiceAllConnectState(int64_t castHandle, DeviceInfo deviceInfo) = 0;
247 …virtual int32_t GetRemoteNetWorkId(int64_t castHandle, std::string deviceId, std::string &networkI…
H A Di_avsession_service_listener.h44 virtual void CreateSessionByCast(const int64_t castHandle) = 0;
H A Dav_cast_provider.h192 virtual bool SetStreamState(int64_t castHandle, DeviceInfo deviceInfo) = 0;