Home
last modified time | relevance | path

Searched refs:ProcessMediaKeyResponse (Results 1 - 25 of 28) sorted by relevance

12

/foundation/multimedia/av_session/services/session/server/test/
H A Davcast_controller_proxy_test.cpp135 * @tc.desc: Test ProcessMediaKeyResponse
143 int32_t ret = avCastControllerProxy_->ProcessMediaKeyResponse(assetId, response); in HWTEST_F()
150 * @tc.desc: Test ProcessMediaKeyResponse
158 int32_t ret = avCastControllerProxy_->ProcessMediaKeyResponse(assetId, response); in HWTEST_F()
165 * @tc.desc: Test ProcessMediaKeyResponse
173 int32_t ret = avCastControllerProxy_->ProcessMediaKeyResponse(assetId, response); in HWTEST_F()
H A Dhw_cast_stream_player_test.cpp316 * @tc.desc: ProcessMediaKeyResponse
325 ASSERT_EQ(hwCastStreamPlayer->ProcessMediaKeyResponse(assetId, response), AVSESSION_SUCCESS); in HWTEST_F()
/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/
H A Davcast_controller.h70 virtual int32_t ProcessMediaKeyResponse(const std::string& assetId, const std::vector<uint8_t>& response) = 0;
H A Di_avcast_controller_proxy.h161 virtual int32_t ProcessMediaKeyResponse(const std::string& assetId, const std::vector<uint8_t>& response) = 0;
/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Dkey_session_service_stub.cpp41 static int32_t ProcessMediaKeyResponse(MediaKeySessionServiceStub *stub, MessageParcel &data, MessageParcel &reply,
75 {MEDIA_KEY_SESSION_PROCESS_LICENSE_RESPONSE, ProcessMediaKeyResponse},
164 static int32_t ProcessMediaKeyResponse(MediaKeySessionServiceStub *stub, MessageParcel &data, MessageParcel &reply,
167 DRM_INFO_LOG("ProcessMediaKeyResponse enter.");
176 DRM_ERR_LOG("ProcessMediaKeyResponse read response failed.");
181 int32_t ret = stub->ProcessMediaKeyResponse(licenseId, response);
182 DRM_CHECK_AND_RETURN_RET_LOG(ret == DRM_OK, ret, "ProcessMediaKeyResponse faild, ret:%{public}d", ret);
H A Dkey_session_service.cpp137 int32_t MediaKeySessionService::ProcessMediaKeyResponse(std::vector<uint8_t> &licenseId, in ProcessMediaKeyResponse() function in OHOS::DrmStandard::MediaKeySessionService
140 DrmTrace trace("ProcessMediaKeyResponse"); in ProcessMediaKeyResponse()
141 DRM_INFO_LOG("ProcessMediaKeyResponse enter."); in ProcessMediaKeyResponse()
147 ret = hdiMediaKeySession_->ProcessMediaKeyResponse(licenseResponse, licenseId); in ProcessMediaKeyResponse()
150 DRM_ERR_LOG("ProcessMediaKeyResponse failed."); in ProcessMediaKeyResponse()
153 ReportFaultEvent(ret, "ProcessMediaKeyResponse failed", responseString); in ProcessMediaKeyResponse()
/foundation/multimedia/av_session/services/session/ipc/proxy/
H A Davcast_controller_proxy.h51 int32_t ProcessMediaKeyResponse(const std::string& assetId, const std::vector<uint8_t>& response) override;
H A Davcast_controller_proxy.cpp238 int32_t AVCastControllerProxy::ProcessMediaKeyResponse(const std::string& assetId, const std::vector<uint8_t>& response) in ProcessMediaKeyResponse() function in OHOS::AVSession::AVCastControllerProxy
240 AVSESSION_TRACE_SYNC_START("AVCastControllerProxy::ProcessMediaKeyResponse"); in ProcessMediaKeyResponse()
246 SLOGD("ProcessMediaKeyResponse SetDataCapacity totalSize: %lu", len); in ProcessMediaKeyResponse()
266 SLOGE("AVCastControllerProxy ProcessMediaKeyResponse write response failed"); in ProcessMediaKeyResponse()
/foundation/multimedia/drm_framework/services/drm_service/client/include/
H A Dkey_session_service_proxy.h32 int32_t ProcessMediaKeyResponse(std::vector<uint8_t> &licenseId, std::vector<uint8_t> &licenseResponse) override;
/foundation/multimedia/drm_framework/services/drm_service/server/include/
H A Dkey_session_service.h49 int32_t ProcessMediaKeyResponse(std::vector<uint8_t> &licenseId, std::vector<uint8_t> &licenseResponse) override;
/foundation/multimedia/drm_framework/interfaces/inner_api/native/drm/
H A Dkey_session_impl.h58 int32_t ProcessMediaKeyResponse(std::vector<uint8_t> &licenseId, std::vector<uint8_t> &licenseResponse);
/foundation/multimedia/av_session/services/session/server/
H A Davcast_controller_item.h75 int32_t ProcessMediaKeyResponse(const std::string& assetId, const std::vector<uint8_t>& response) override;
H A Davcast_controller_item.cpp341 int32_t AVCastControllerItem::ProcessMediaKeyResponse(const std::string &assetId, const std::vector<uint8_t> &response) in ProcessMediaKeyResponse() function in OHOS::AVSession::AVCastControllerItem
345 auto ret = castControllerProxy_->ProcessMediaKeyResponse(assetId, response); in ProcessMediaKeyResponse()
347 std::string errMsg = (ret == AVSESSION_SUCCESS) ? "SUCCESS" : "ProcessMediaKeyResponse failed"; in ProcessMediaKeyResponse()
349 "API_NAME", "ProcessMediaKeyResponse", in ProcessMediaKeyResponse()
H A Dhw_cast_stream_player.h44 int32_t ProcessMediaKeyResponse(const std::string& assetId, const std::vector<uint8_t>& response) override;
/foundation/multimedia/drm_framework/interfaces/kits/js/drm_napi/include/
H A Dkey_session_napi.h51 static napi_value ProcessMediaKeyResponse(napi_env env, napi_callback_info info);
/foundation/multimedia/drm_framework/services/drm_service/ipc/
H A Di_keysession_service.h90 virtual int32_t ProcessMediaKeyResponse(std::vector<uint8_t> &licenseId, std::vector<uint8_t> &licenseResponse) = 0;
/foundation/multimedia/drm_framework/frameworks/native/drm/
H A Dkey_session_impl.cpp127 int32_t MediaKeySessionImpl::ProcessMediaKeyResponse(std::vector<uint8_t> &licenseId, in ProcessMediaKeyResponse() function in OHOS::DrmStandard::MediaKeySessionImpl
130 DrmTrace trace("MediaKeySessionImpl::ProcessMediaKeyResponse"); in ProcessMediaKeyResponse()
131 DRM_INFO_LOG("ProcessMediaKeyResponse enter."); in ProcessMediaKeyResponse()
136 DRM_ERR_LOG("ProcessMediaKeyResponse keySessionServiceProxy_ is null"); in ProcessMediaKeyResponse()
139 retCode = keySessionServiceProxy_->ProcessMediaKeyResponse(licenseId, licenseResponse); in ProcessMediaKeyResponse()
141 DRM_ERR_LOG("ProcessMediaKeyResponse failed, retCode: %{public}d", retCode); in ProcessMediaKeyResponse()
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/
H A Dkey_session_napi.cpp57 DECLARE_NAPI_FUNCTION("processMediaKeyResponse", ProcessMediaKeyResponse), in Init()
287 napi_value MediaKeySessionNapi::ProcessMediaKeyResponse(napi_env env, napi_callback_info info) in ProcessMediaKeyResponse() function in OHOS::DrmStandard::MediaKeySessionNapi
289 DRM_INFO_LOG("ProcessMediaKeyResponse enter."); in ProcessMediaKeyResponse()
292 DrmTrace trace("MediaKeySessionNapi::ProcessMediaKeyResponse"); in ProcessMediaKeyResponse()
295 DRM_ERR_LOG("ProcessMediaKeyResponse failed."); in ProcessMediaKeyResponse()
303 NAPI_CHECK_STATUS_RETURN_VOID(context, "ProcessMediaKeyResponse failed!", DRM_INVALID_PARAM); in ProcessMediaKeyResponse()
315 napiMediaKeySession->keySessionImpl_->ProcessMediaKeyResponse(context->licenseId, context->response); in ProcessMediaKeyResponse()
325 return NapiAsyncWork::Enqueue(env, context, "ProcessMediaKeyResponse", executor, complete); in ProcessMediaKeyResponse()
/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_avcast_controller.h57 static napi_value ProcessMediaKeyResponse(napi_env env, napi_callback_info info);
/foundation/multimedia/av_session/services/session/ipc/stub/
H A Davcast_controller_stub.cpp212 CHECK_AND_PRINT_LOG(reply.WriteInt32(ProcessMediaKeyResponse(assetId, response)), "write int32 failed"); in HandleProcessMediaKeyResponse()
/foundation/multimedia/drm_framework/frameworks/c/drm_capi/
H A Dnative_mediakeysession.cpp108 int32_t ret = sessionObject->sessionImpl_->ProcessMediaKeyResponse(keyIdVec, licenseResponseVec); in OH_MediaKeySession_ProcessMediaKeyResponse()
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/drmservice_fuzzer/
H A Ddrmservice_fuzzer.h114 int32_t ProcessMediaKeyResponse(const std::vector<uint8_t> &mediaKeyResponse,
117 // Implement the mock behavior for ProcessMediaKeyResponse
/foundation/multimedia/drm_framework/services/drm_service/client/src/
H A Dkey_session_service_proxy.cpp163 int32_t MediaKeySessionServiceProxy::ProcessMediaKeyResponse(std::vector<uint8_t> &licenseId,
166 DRM_INFO_LOG("ProcessMediaKeyResponse enter.");
172 DRM_ERR_LOG("ProcessMediaKeyResponse Write interface token failed.");
176 DRM_ERR_LOG("ProcessMediaKeyResponse Write licenseResponse size failed.");
183 DRM_ERR_LOG("ProcessMediaKeyResponse write licenseResponse failed.");
190 DRM_ERR_LOG("ProcessMediaKeyResponse failed, ret: %{public}d", ret);
199 DRM_ERR_LOG("ProcessMediaKeyResponse read licenseId failed.");
227 DRM_ERR_LOG("ProcessMediaKeyResponse write licenseId failed.");
243 DRM_ERR_LOG("ProcessMediaKeyResponse read licenseId failed.");
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_avcast_controller.cpp83 DECLARE_NAPI_FUNCTION("processMediaKeyResponse", ProcessMediaKeyResponse), in Init()
551 napi_value NapiAVCastController::ProcessMediaKeyResponse(napi_env env, napi_callback_info info) in ProcessMediaKeyResponse() function in OHOS::AVSession::NapiAVCastController
553 AVSESSION_TRACE_SYNC_START("NapiAVCastController::ProcessMediaKeyResponse"); in ProcessMediaKeyResponse()
575 SLOGE("ProcessMediaKeyResponse failed : controller is nullptr"); in ProcessMediaKeyResponse()
577 context->errMessage = "ProcessMediaKeyResponse failed : controller is nullptr"; in ProcessMediaKeyResponse()
581 int32_t ret = napiCastController->castController_->ProcessMediaKeyResponse(context->assetId, context->response); in ProcessMediaKeyResponse()
584 context->errMessage = "ProcessMediaKeyResponse failed : native session not exist"; in ProcessMediaKeyResponse()
586 context->errMessage = "ProcessMediaKeyResponse failed : native controller not exist"; in ProcessMediaKeyResponse()
588 context->errMessage = "ProcessMediaKeyResponse failed : native no permission"; in ProcessMediaKeyResponse()
590 context->errMessage = "ProcessMediaKeyResponse faile in ProcessMediaKeyResponse()
[all...]
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/
H A Davcast_controller_test.cpp498 * @tc.desc: ProcessMediaKeyResponse
506 EXPECT_EQ(castController_->ProcessMediaKeyResponse(assetId, response), AVSESSION_ERROR); in HWTEST_F()

Completed in 15 milliseconds

12