/foundation/multimedia/av_session/services/session/server/test/ |
H A D | avcast_controller_proxy_test.cpp | 135 * @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 D | hw_cast_stream_player_test.cpp | 316 * @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 D | avcast_controller.h | 70 virtual int32_t ProcessMediaKeyResponse(const std::string& assetId, const std::vector<uint8_t>& response) = 0;
|
H A D | i_avcast_controller_proxy.h | 161 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 D | key_session_service_stub.cpp | 41 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 D | key_session_service.cpp | 137 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 D | avcast_controller_proxy.h | 51 int32_t ProcessMediaKeyResponse(const std::string& assetId, const std::vector<uint8_t>& response) override;
|
H A D | avcast_controller_proxy.cpp | 238 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 D | key_session_service_proxy.h | 32 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 D | key_session_service.h | 49 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 D | key_session_impl.h | 58 int32_t ProcessMediaKeyResponse(std::vector<uint8_t> &licenseId, std::vector<uint8_t> &licenseResponse);
|
/foundation/multimedia/av_session/services/session/server/ |
H A D | avcast_controller_item.h | 75 int32_t ProcessMediaKeyResponse(const std::string& assetId, const std::vector<uint8_t>& response) override;
|
H A D | avcast_controller_item.cpp | 341 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 D | hw_cast_stream_player.h | 44 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 D | key_session_napi.h | 51 static napi_value ProcessMediaKeyResponse(napi_env env, napi_callback_info info);
|
/foundation/multimedia/drm_framework/services/drm_service/ipc/ |
H A D | i_keysession_service.h | 90 virtual int32_t ProcessMediaKeyResponse(std::vector<uint8_t> &licenseId, std::vector<uint8_t> &licenseResponse) = 0;
|
/foundation/multimedia/drm_framework/frameworks/native/drm/ |
H A D | key_session_impl.cpp | 127 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 D | key_session_napi.cpp | 57 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 D | napi_avcast_controller.h | 57 static napi_value ProcessMediaKeyResponse(napi_env env, napi_callback_info info);
|
/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avcast_controller_stub.cpp | 212 CHECK_AND_PRINT_LOG(reply.WriteInt32(ProcessMediaKeyResponse(assetId, response)), "write int32 failed"); in HandleProcessMediaKeyResponse()
|
/foundation/multimedia/drm_framework/frameworks/c/drm_capi/ |
H A D | native_mediakeysession.cpp | 108 int32_t ret = sessionObject->sessionImpl_->ProcessMediaKeyResponse(keyIdVec, licenseResponseVec); in OH_MediaKeySession_ProcessMediaKeyResponse()
|
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/drmservice_fuzzer/ |
H A D | drmservice_fuzzer.h | 114 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 D | key_session_service_proxy.cpp | 163 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 D | napi_avcast_controller.cpp | 83 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 D | avcast_controller_test.cpp | 498 * @tc.desc: ProcessMediaKeyResponse 506 EXPECT_EQ(castController_->ProcessMediaKeyResponse(assetId, response), AVSESSION_ERROR); in HWTEST_F()
|