Lines Matching defs:std
52 using UIEnvCallback = std::function<void(const OHOS::Ace::RefPtr<PipelineContext>& context)>;
53 using OnRouterChangeCallback = bool (*)(const std::string currentRouterPath);
64 static void AddAssetPath(int32_t instanceId, const std::string& packagePath, const std::vector<std::string>& paths);
65 static void SetResourcesPathAndThemeStyle(int32_t instanceId, const std::string& systemResourcesPath,
66 const std::string& hmsResourcesPath, const std::string& appResourcesPath, const int32_t& themeId,
76 static UIContentErrorCode RunPage(int32_t instanceId, const std::string& url, const std::string& params);
95 std::string GetHostClassName() const override
197 void UpdateResourceConfiguration(const std::string& jsonStr) override;
204 const std::string& group, std::vector<uint8_t>&& data, int32_t id, bool replyToComponent) const override;
207 const std::string& group, std::vector<uint8_t>&& data, uint8_t** resData, int64_t& position) const override
210 void DispatchPluginError(int32_t callbackId, int32_t errorCode, std::string&& errorMessage) const override;
214 void LoadDocument(const std::string& url, const std::string& componentName);
218 void SetStageCardConfig(const std::string& pageProfile, const std::string& selectUrl);
222 void SetPageProfile(const std::string& pageProfile)
227 void InitializeAppConfig(const std::string& assetPath, const std::string& bundleName,
228 const std::string& moduleName, const std::string& compileMode);
232 std::lock_guard<std::mutex> lock(cardFrontMutex_);
238 std::lock_guard<std::mutex> lock(cardFrontMutex_);
246 void GetCardFrontendMap(std::unordered_map<int64_t, WeakPtr<Frontend>>& cardFrontendMap) const override
253 std::lock_guard<std::mutex> lock(cardPipelineMutex_);
259 std::lock_guard<std::mutex> lock(cardPipelineMutex_);
267 static std::string GetContentInfo(int32_t instanceId, ContentInfoType type);
286 void SetContainerSdkPath(const std::string& containerSdkPath)
294 void SetMockModuleList(const std::map<std::string, std::string>& mockJsonInfo)
299 void SetBundleName(const std::string& bundleName)
304 void SetModuleName(const std::string& moduleName)
318 std::shared_ptr<Window> window, AceViewPreview* view, double density, int32_t width, int32_t height);
320 void AttachView(std::shared_ptr<Window> window, AceViewPreview* view, double density, int32_t width, int32_t height,
336 static std::once_flag onceFlag_;
337 std::string pageProfile_;
338 std::unordered_map<int64_t, WeakPtr<Frontend>> cardFrontendMap_;
339 std::unordered_map<int64_t, WeakPtr<PipelineBase>> cardPipelineMap_;
340 mutable std::mutex cardFrontMutex_;
341 mutable std::mutex cardPipelineMutex_;
343 std::string bundleName_;
344 std::string moduleName_;
348 std::map<std::string, std::string> mockJsonInfo_;
354 std::string containerSdkPath_;