Home
last modified time | relevance | path

Searched refs:ConvertSessionType (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/multimedia/av_session/services/session/server/remote/
H A Djson_utils.cpp21 int32_t JsonUtils::ConvertSessionType(const std::string& typeString) in ConvertSessionType() function in OHOS::AVSession::JsonUtils
32 std::string JsonUtils::ConvertSessionType(int32_t type) in ConvertSessionType() function in OHOS::AVSession::JsonUtils
219 …jsonObj["data"]["sessionDescriptors"][i]["type"] = ConvertSessionType(descriptors[i].sessionType_); in SetSessionDescriptors()
248 descriptor.sessionType_ = ConvertSessionType(type); in GetSessionDescriptors()
269 jsonObj["data"]["sessionDescriptor"]["type"] = ConvertSessionType(descriptor.sessionType_); in SetSessionDescriptor()
295 descriptor.sessionType_ = ConvertSessionType(type); in GetSessionDescriptor()
H A Djson_utils.h48 static int32_t ConvertSessionType(const std::string& typeString);
49 static std::string ConvertSessionType(int32_t type);
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_utils.h81 static int32_t ConvertSessionType(const std::string& typeString);
82 static std::string ConvertSessionType(int32_t type);
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_utils.cpp121 int32_t NapiUtils::ConvertSessionType(const std::string& typeString) in ConvertSessionType() function in OHOS::AVSession::NapiUtils
136 std::string NapiUtils::ConvertSessionType(int32_t type) in ConvertSessionType() function in OHOS::AVSession::NapiUtils
284 status = SetValue(env, ConvertSessionType(in.sessionType_), property); in SetValue()
H A Dnapi_avsession_manager.cpp141 context->type_ = NapiUtils::ConvertSessionType(typeString); in CreateAVSession()