Searched refs:ConvertSessionType (Results 1 – 5 of 5) sorted by relevance
21 int32_t JsonUtils::ConvertSessionType(const std::string& typeString) in ConvertSessionType() function in OHOS::AVSession::JsonUtils32 std::string JsonUtils::ConvertSessionType(int32_t type) in ConvertSessionType() function in OHOS::AVSession::JsonUtils219 …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()
48 static int32_t ConvertSessionType(const std::string& typeString);49 static std::string ConvertSessionType(int32_t type);
81 static int32_t ConvertSessionType(const std::string& typeString);82 static std::string ConvertSessionType(int32_t type);
121 int32_t NapiUtils::ConvertSessionType(const std::string& typeString) in ConvertSessionType() function in OHOS::AVSession::NapiUtils136 std::string NapiUtils::ConvertSessionType(int32_t type) in ConvertSessionType() function in OHOS::AVSession::NapiUtils284 status = SetValue(env, ConvertSessionType(in.sessionType_), property); in SetValue()
141 context->type_ = NapiUtils::ConvertSessionType(typeString); in CreateAVSession()