Home
last modified time | relevance | path

Searched refs:sessionObj (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/av_session/services/session/ipc/proxy/
H A Davsession_service_proxy.cpp56 auto sessionObj = iface_cast<AVSessionProxy>(object); in CreateSession() local
57 CHECK_AND_RETURN_RET_LOG(sessionObj, AVSESSION_ERROR, "sessionObj is nullptr"); in CreateSession()
59 session = std::shared_ptr<AVSession>(sessionObj.GetRefPtr(), [holder = sessionObj](const auto*) {}); in CreateSession()
/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_napi.cpp1240 napi_value sessionObj; in JsSetDecryptConfig() local
1241 status = napi_coerce_to_object(env, args[0], &sessionObj); in JsSetDecryptConfig()
1242 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "JsSetDecryptConfig get sessionObj failure!"); in JsSetDecryptConfig()
1245 if (argCount < 1 || napi_typeof(env, sessionObj, &valueType) != napi_ok || valueType != napi_object) { in JsSetDecryptConfig()
1252 status = napi_has_named_property(env, sessionObj, type.c_str(), &exist); in JsSetDecryptConfig()
1255 CHECK_AND_RETURN_RET_LOG(napi_get_named_property(env, sessionObj, type.c_str(), &nativePointer) == napi_ok, in JsSetDecryptConfig()

Completed in 7 milliseconds