Searched refs:castHandle (Results 1 - 8 of 8) sorted by relevance
/foundation/multimedia/av_session/services/session/server/ |
H A D | avrouter_impl.cpp | 218 int64_t castHandle = -1; in OnCastSessionCreated() local 220 providerManagerMap_.end(), castHandle, "Can not find corresponding provider"); in OnCastSessionCreated() 225 castHandle = static_cast<int64_t>((static_cast<uint64_t>(tempId) << 32) | in OnCastSessionCreated() 229 servicePtr_->CreateSessionByCast(castHandle); in OnCastSessionCreated() 261 std::shared_ptr<IAVCastControllerProxy> AVRouterImpl::GetRemoteController(const int64_t castHandle) in GetRemoteController() argument 266 int32_t providerNumber = static_cast<int32_t>(static_cast<const uint64_t>(castHandle) >> 32); in GetRemoteController() 269 int32_t castId = static_cast<int32_t>((static_cast<const uint64_t>(castHandle) << 32) >> 32); in GetRemoteController() 282 int64_t castHandle = -1; in StartCast() local 284 providerManagerMap_.end(), castHandle, "Can not find corresponding provider"); in StartCast() 292 castHandle in StartCast() 308 StopCast(const int64_t castHandle, int32_t removeTimes) StopCast() argument 333 StopCastSession(const int64_t castHandle) StopCastSession() argument 354 SetServiceAllConnectState(int64_t castHandle, DeviceInfo deviceInfo) SetServiceAllConnectState() argument 368 GetRemoteNetWorkId(int64_t castHandle, std::string deviceId, std::string &networkId) GetRemoteNetWorkId() argument 380 RegisterCallback(int64_t castHandle, const std::shared_ptr<IAVCastSessionStateListener> callback) RegisterCallback() argument 396 UnRegisterCallback(int64_t castHandle, const std::shared_ptr<IAVCastSessionStateListener> callback) UnRegisterCallback() argument [all...] |
H A D | avrouter_impl.h | 53 std::shared_ptr<IAVCastControllerProxy> GetRemoteController(const int64_t castHandle) override; 60 int32_t StopCast(const int64_t castHandle, int32_t removeTimes) override; 62 int32_t StopCastSession(const int64_t castHandle) override; 70 int32_t SetServiceAllConnectState(int64_t castHandle, DeviceInfo deviceInfo) override; 72 int32_t GetRemoteNetWorkId(int64_t castHandle, std::string deviceId, std::string &networkId) override;
|
H A D | avsession_item.cpp | 155 SLOGI("Session destroy with castHandle: %{public}ld", castHandle_); in DestroyTask() 847 int64_t castHandle = AVRouter::GetInstance().StartCast(outputDeviceInfo, castServiceNameMapState_); 848 castHandle_ = castHandle; 851 CHECK_AND_RETURN_RET_LOG(castHandle != AVSESSION_ERROR, AVSESSION_ERROR, "StartCast failed"); 853 AVRouter::GetInstance().RegisterCallback(castHandle, cssListener_); 854 AVRouter::GetInstance().SetServiceAllConnectState(castHandle, deviceInfo); 1099 int64_t castHandle = AVRouter::GetInstance().StartCast(outputDeviceInfo, castServiceNameMapState_); 1100 CHECK_AND_RETURN_RET_LOG(castHandle != AVSESSION_ERROR, AVSESSION_ERROR, "StartCast failed"); 1102 castHandle_ = castHandle; 1104 int32_t ret = AddDevice(static_cast<int32_t>(castHandle), outputDeviceInf [all...] |
H A D | avsession_item.h | 233 int32_t AddDevice(const int64_t castHandle, const OutputDeviceInfo& outputDeviceInfo); 243 void SetCastHandle(int64_t castHandle);
|
H A D | avsession_service_ext.cpp | 168 void AVSessionService::CreateSessionByCast(const int64_t castHandle)
in CreateSessionByCast() argument 185 sinkSession->SetCastHandle(castHandle);
in CreateSessionByCast()
|
H A D | avsession_service.h | 222 void CreateSessionByCast(const int64_t castHandle) override;
|
/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/ |
H A D | av_router.h | 154 * @brief Get the cast controller specified by castHandle. 156 * @param { const int64_t } castHandle - castHandle corresponding to cast engine session. 160 virtual std::shared_ptr<IAVCastControllerProxy> GetRemoteController(const int64_t castHandle) = 0; 186 * @param { const int64_t } castHandle - The ID corresponding to the provider that needs to be stopped. 191 virtual int32_t StopCast(const int64_t castHandle, int32_t removeTimes) = 0; 196 * @param { const int64_t } castHandle - The ID corresponding to the provider that needs to be stopped. 200 virtual int32_t StopCastSession(const int64_t castHandle) = 0; 227 * @param { int64_t } castHandle const - The ID corresponding to the provider. 232 virtual int32_t SetServiceAllConnectState(int64_t castHandle, DeviceInf [all...] |
H A D | i_avsession_service_listener.h | 41 * @param { int64_t } castHandle - Cast handle for cast session. 44 virtual void CreateSessionByCast(const int64_t castHandle) = 0;
|
Completed in 6 milliseconds