Home
last modified time | relevance | path

Searched refs:sessionImpl_ (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_session_impl_test.cpp47 SessionImpl sessionImpl_; member in Communication::SoftBus::TransClientSessionImplTest
89 sessionImpl_.SetSessionId(sessionId);
103 sessionImpl_.SetSessionId(sessionId);
116 sessionImpl_.SetSessionId(sessionId);
155 sessionImpl_.SetPeerDeviceId(name);
168 sessionImpl_.SetPeerDeviceId(name);
180 sessionImpl_.SetIsServer(true);
192 sessionImpl_.SetIsServer(false);
205 sessionImpl_.SetDeviceId(deviceId);
245 sessionImpl_.SetIsServer(true);
[all …]
/ohos5.0/foundation/multimedia/drm_framework/frameworks/c/drm_capi/
H A Dnative_mediakeysession.cpp83 DRM_CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ != nullptr, DRM_ERR_INVALID_VAL, in OH_MediaKeySession_GenerateMediaKeyRequest()
104 DRM_CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ != nullptr, DRM_ERR_INVALID_VAL, in OH_MediaKeySession_ProcessMediaKeyResponse()
162 DRM_CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ != nullptr, DRM_ERR_INVALID_VAL, in OH_MediaKeySession_CheckMediaKeyStatus()
164 int32_t result = sessionObject->sessionImpl_->CheckMediaKeyStatus(licenseStatus); in OH_MediaKeySession_CheckMediaKeyStatus()
184 DRM_CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ != nullptr, DRM_ERR_INVALID_VAL, in OH_MediaKeySession_ClearMediaKeys()
186 result = sessionObject->sessionImpl_->ClearMediaKeys(); in OH_MediaKeySession_ClearMediaKeys()
203 DRM_CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ != nullptr, DRM_ERR_INVALID_VAL, in OH_MediaKeySession_GenerateOfflineReleaseRequest()
234 DRM_CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ != nullptr, DRM_ERR_INVALID_VAL, in OH_MediaKeySession_ProcessOfflineReleaseResponse()
256 result = sessionObject->sessionImpl_->RestoreOfflineMediaKeys(licenseIdVec); in OH_MediaKeySession_RestoreOfflineMediaKeys()
275 result = sessionObject->sessionImpl_->GetContentProtectionLevel(&level); in OH_MediaKeySession_GetContentProtectionLevel()
[all …]
H A Dnative_mediakeysystem.cpp493 ret = sessionObject->sessionImpl_->SetCallback(sessionObject->sessionCallback_); in OH_MediaKeySystem_CreateMediaKeySession()
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeydecryptndk_fuzzer/
H A Dmediakeydecryptndk_fuzzer.cpp183 sessionObject->sessionImpl_->GetMediaKeySessionServiceProxy(); in FuzzTestMediaKeyDecryptNdk()
191 …sptr<MediaKeySessionImplCallback> callback = sessionObject->sessionImpl_->GetApplicationCallback(); in FuzzTestMediaKeyDecryptNdk()
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/
H A Dnative_audio_codec.cpp483 CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ != nullptr, AV_ERR_INVALID_VAL, in OH_AudioCodec_SetDecryptionConfig()
486 FAKE_POINTER(sessionObject->sessionImpl_.GetRefPtr())); in OH_AudioCodec_SetDecryptionConfig()
487 …CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ ->GetMediaKeySessionServiceProxy() != nullptr, in OH_AudioCodec_SetDecryptionConfig()
491 sessionObject->sessionImpl_->GetMediaKeySessionServiceProxy(), secureAudio); in OH_AudioCodec_SetDecryptionConfig()
H A Dnative_video_decoder.cpp786 CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ != nullptr, AV_ERR_INVALID_VAL, in OH_VideoDecoder_SetDecryptionConfig()
789 FAKE_POINTER(sessionObject->sessionImpl_.GetRefPtr())); in OH_VideoDecoder_SetDecryptionConfig()
792 sessionObject->sessionImpl_->GetMediaKeySessionServiceProxy(), secureVideoPath); in OH_VideoDecoder_SetDecryptionConfig()
/ohos5.0/foundation/multimedia/drm_framework/interfaces/kits/c/drm_capi/common/
H A Dnative_drm_object.h44 …ySessionObject(const OHOS::sptr<OHOS::DrmStandard::MediaKeySessionImpl> &impl) : sessionImpl_(impl) in MediaKeySessionObject()
48 const OHOS::sptr<OHOS::DrmStandard::MediaKeySessionImpl> sessionImpl_ = nullptr; member
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/test/unittest/src/
H A Ddrm_framework_unittest.cpp3042 sessionObject->sessionImpl_->GetMediaKeySessionServiceProxy();
3265 sessionObject->sessionImpl_->~MediaKeySessionImpl();
3298 sessionObject->sessionImpl_->~MediaKeySessionImpl();
3325 sessionObject->sessionImpl_->~MediaKeySessionImpl();
3355 sessionObject->sessionImpl_->~MediaKeySessionImpl();
3658 result = sessionObject->sessionImpl_->GetContentProtectionLevel(&securityLevel); in killclearplay()
3661 result = sessionObject->sessionImpl_->CheckMediaKeyStatus(licenseStatus2); in killclearplay()
3663 result = sessionObject->sessionImpl_->RestoreOfflineMediaKeys(licenseIdVec); in killclearplay()
3665 result = sessionObject->sessionImpl_->ClearMediaKeys(); in killclearplay()
3669 result = sessionObject->sessionImpl_->RequireSecureDecoderModule(mimeType, &status); in killclearplay()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/capi/player/
H A Dnative_avplayer.cpp1292 …CHECK_AND_RETURN_RET_LOG(sessionObject->sessionImpl_ != nullptr, AV_ERR_INVALID_VAL, "sessionObjec… in OH_AVPlayer_SetDecryptionConfig()
1294 …playerObj->player_->SetDecryptConfig(sessionObject->sessionImpl_->GetMediaKeySessionServiceProxy(), in OH_AVPlayer_SetDecryptionConfig()