/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_node_test.cpp | 150 sptr<WindowProperty> CreateWindowProperty(uint32_t windowId, const std::string& windowName) in CreateWindowProperty() argument 154 property->SetWindowName(windowName); in CreateWindowProperty() 173 std::string windowName = "WindowNode01"; in HWTEST_F() local 174 auto property = CreateWindowProperty(1, windowName); in HWTEST_F() 180 ASSERT_EQ(windowName, windowNode2->GetWindowName()); in HWTEST_F() 189 std::string windowName = "WindowNode02"; in HWTEST_F() local 190 auto property = CreateWindowProperty(2, windowName); in HWTEST_F() 193 auto surfaceNode = CreateRSSurfaceNode(windowName); in HWTEST_F() 202 ASSERT_EQ(windowName, windowNode->GetWindowName()); in HWTEST_F() 211 std::string windowName in HWTEST_F() local 237 std::string windowName = "WindowNode04"; HWTEST_F() local 257 std::string windowName = "WindowNode05"; HWTEST_F() local 284 std::string windowName = "WindowNode06"; HWTEST_F() local 313 std::string windowName = "WindowNode07"; HWTEST_F() local 342 std::string windowName = "WindowNode08"; HWTEST_F() local 366 std::string windowName = "WindowNode09"; HWTEST_F() local 394 std::string windowName = "WindowNode09"; HWTEST_F() local 414 std::string windowName = "WindowNode10"; HWTEST_F() local 440 std::string windowName = "WindowNode11"; HWTEST_F() local 459 std::string windowName = "WindowNode12"; HWTEST_F() local 480 std::string windowName = "WindowNode13"; HWTEST_F() local 497 std::string windowName = "WindowNode14"; HWTEST_F() local 514 std::string windowName = "WindowNode15"; HWTEST_F() local 531 std::string windowName = "WindowNode16"; HWTEST_F() local 555 std::string windowName = "WindowNode17"; HWTEST_F() local 574 std::string windowName = "WindowNode19"; HWTEST_F() local 594 std::string windowName = "WindowNode20"; HWTEST_F() local 611 std::string windowName = "WindowNode21"; HWTEST_F() local 636 std::string windowName = "WindowNode22"; HWTEST_F() local 653 std::string windowName = "WindowNode23"; HWTEST_F() local 670 std::string windowName = "WindowNode24"; HWTEST_F() local 694 std::string windowName = "WindowNode25"; HWTEST_F() local 720 std::string windowName = "WindowNode26"; HWTEST_F() local 746 std::string windowName = "WindowNode27"; HWTEST_F() local 778 std::string windowName = "WindowNode28"; HWTEST_F() local 810 std::string windowName = "WindowNode29"; HWTEST_F() local 839 std::string windowName = "WindowNode30"; HWTEST_F() local 864 std::string windowName = "WindowNode31"; HWTEST_F() local 911 std::string windowName = "WindowNode32"; HWTEST_F() local 931 std::string windowName = "WindowNode33"; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/info_collection/ |
H A D | rs_gpu_dirty_region_collection.h | 32 std::string windowName; member 34 : activeDirtyRegionArea(), activeFramesNumber(), pidOfBelongsApp(), windowName() {} in ActiveDirtyRegionInfo() 38 pidOfBelongsApp(pidOfBelongsApp_), windowName(windowName_) {} in ActiveDirtyRegionInfo() 60 void UpdateActiveDirtyInfoForDFX(NodeId id, const std::string& windowName, std::vector<RectI> rectIs); 61 void UpdateActiveDirtyInfoForDFX(NodeId id, const std::string& windowName, Rect damage);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/info_collection/ |
H A D | rs_gpu_dirty_region_collection.cpp | 35 void GpuDirtyRegionCollection::UpdateActiveDirtyInfoForDFX(NodeId id, const std::string& windowName, in UpdateActiveDirtyInfoForDFX() argument 43 activeDirtyRegionInfoMap_[id].windowName = windowName; in UpdateActiveDirtyInfoForDFX() 47 void GpuDirtyRegionCollection::UpdateActiveDirtyInfoForDFX(NodeId id, const std::string& windowName, Rect damage) in UpdateActiveDirtyInfoForDFX() argument 53 activeDirtyRegionInfoMap_[id].windowName = windowName + SELF_DRAWING_NODE_SUFFIX; in UpdateActiveDirtyInfoForDFX()
|
/foundation/window/window_manager/previewer/src/ |
H A D | window_scene.cpp | 87 std::string windowName = options.bundleName + std::to_string(count++); in GenerateMainWindowName() local 88 std::size_t pos = windowName.find_last_of('.'); in GenerateMainWindowName() 89 return (pos == std::string::npos) ? windowName : windowName.substr(pos + 1); // skip '.' in GenerateMainWindowName() 93 sptr<Window> WindowScene::CreateWindow(const std::string& windowName, sptr<WindowOption>& option) const in CreateWindow() argument
|
H A D | window.cpp | 26 sptr<Window> Window::Create(const std::string& windowName, sptr<WindowOption>& option, in Create() argument 50 sptr<Window> Window::Find(const std::string& windowName) in Find() argument
|
H A D | window_option.cpp | 61 void WindowOption::SetWindowName(const std::string& windowName) in SetWindowName() argument 63 windowName_ = windowName; in SetWindowName()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_scene.cpp | 37 std::string windowName = context->GetBundleName() + std::to_string(g_count++); in GenerateMainWindowName() local 38 std::size_t pos = windowName.find_last_of('.'); in GenerateMainWindowName() 39 return (pos == std::string::npos) ? windowName : windowName.substr(pos + 1); // skip '.' in GenerateMainWindowName() 120 sptr<Window> WindowScene::CreateWindow(const std::string& windowName, sptr<WindowOption>& option) const in CreateWindow() argument 123 if (windowName.empty() || mainWindow == nullptr || option == nullptr) { in CreateWindow() 124 TLOGE(WmsLogTag::WMS_MAIN, "new windowName: %{public}s", windowName.c_str()); in CreateWindow() 129 TLOGD(WmsLogTag::WMS_SUB, "windowName: %{public}s, parentId: %{public}u", in CreateWindow() 130 windowName in CreateWindow() [all...] |
H A D | window.cpp | 63 sptr<Window> Window::Create(const std::string& windowName, sptr<WindowOption>& option, in Create() argument 66 if (windowName.empty()) { in Create() 86 option->SetWindowName(windowName); in Create() 171 sptr<Window> Window::Find(const std::string& windowName) in Find() argument 174 return WindowSessionImpl::Find(windowName); in Find() 176 return WindowImpl::Find(windowName); in Find()
|
H A D | static_call.cpp | 23 sptr<Window> StaticCall::CreateWindow(const std::string& windowName,
in CreateWindow() argument 26 return Window::Create(windowName, option, context);
in CreateWindow()
|
/foundation/arkui/ace_engine/frameworks/base/perfmonitor/ |
H A D | perf_monitor.h | 93 std::string windowName {""}; 141 void SetFrameTime(int64_t vsyncTime, int64_t duration, double jank, const std::string& windowName); 189 void CheckExclusionWindow(const std::string& windowName); 191 void ProcessJank(double jank, const std::string& windowName); 192 void ReportJankFrame(double jank, const std::string& windowName);
|
H A D | perf_monitor.cpp | 359 void PerfMonitor::SetFrameTime(int64_t vsyncTime, int64_t duration, double jank, const std::string& windowName) in SetFrameTime() argument 379 ProcessJank(jank, windowName); in SetFrameTime() 604 void PerfMonitor::CheckExclusionWindow(const std::string& windowName) in CheckExclusionWindow() argument 607 if (windowName == "softKeyboard1" || in CheckExclusionWindow() 608 windowName == "SCBWallpaper1" || in CheckExclusionWindow() 609 windowName == "SCBStatusBar15") { in CheckExclusionWindow() 621 void PerfMonitor::ProcessJank(double jank, const std::string& windowName) in ProcessJank() argument 624 CheckExclusionWindow(windowName); in ProcessJank() 625 ReportJankFrame(jank, windowName); in ProcessJank() 630 void PerfMonitor::ReportJankFrame(double jank, const std::string& windowName) in ReportJankFrame() argument [all...] |
/foundation/arkui/ace_engine/frameworks/base/window/ |
H A D | drag_window.h | 48 std::string windowName; member 57 const std::string& windowName, int32_t x, int32_t y, uint32_t width, uint32_t height); 61 const std::string& windowName, int32_t x, int32_t y, uint32_t width, uint32_t height);
|
/foundation/multimodalinput/input/test/unittest/common/src/ |
H A D | window_utils_test.cpp | 31 std::string windowName = "WindowUtilsTest"; member 57 testWindow_ = Rosen::Window::Find(windowName); in DrawTestWindow() 80 .name = windowName, in CreateSmoothWindow()
|
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_manager_napi/ |
H A D | js_window_manager.cpp | 278 static void CreateSystemWindowTask(void* contextPtr, std::string windowName, WindowType winType,
in CreateSystemWindowTask() argument 306 sptr<Window> window = Window::Create(windowName, windowOption, context->lock(), wmError);
in CreateSystemWindowTask() 345 static void CreateSubWindowTask(uint32_t parentWinId, std::string windowName, WindowType winType,
in CreateSubWindowTask() argument 363 sptr<Window> window = Window::Create(windowName, windowOption);
in CreateSubWindowTask() 414 std::string windowName;
in OnCreate() local 416 if (!ConvertFromJsValue(env, nativeString, windowName)) {
in OnCreate() 417 WLOGFE("Failed to convert parameter to windowName");
in OnCreate() 429 WLOGFD("Window name = %{public}s, type = %{public}u, err = %{public}d", windowName.c_str(), winType, errCode);
in OnCreate() 437 return CreateSystemWindowTask(contextPtr, windowName, winType, env, task);
in OnCreate() 439 return CreateSubWindowTask(parentId, windowName, winTyp in OnCreate() 451 std::string windowName; ParseRequiredConfigOption() local 620 std::string windowName; OnFindWindow() local 672 std::string windowName; OnFindWindowSync() local [all...] |
/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_jank_frame_report.cpp | 28 void JankFrameReport::JankFrameRecord(int64_t timeStampNanos, const std::string& windowName) {} in JankFrameRecord() argument 51 void PerfMonitor::SetFrameTime(int64_t vsyncTime, int64_t durition, double jank, const std::string& windowName) {} in SetFrameTime() argument
|
/foundation/arkui/ace_engine/test/unittest/core/common/recorder/ |
H A D | event_recorder_test.cpp | 616 // windowName = "$HA_FLOAT_WINDOW$"
in HWTEST_F() 617 std::string windowName = "$HA_FLOAT_WINDOW$";
in HWTEST_F() local 620 Recorder::EventRecorder::Get().SetContainerInfo(windowName, id, foreground);
in HWTEST_F() 622 Recorder::EventRecorder::Get().SetFocusContainerInfo(windowName, id);
in HWTEST_F() 624 // windowName = "pages/Index",foreground = true
in HWTEST_F() 625 windowName = "pages/Index";
in HWTEST_F() 626 Recorder::EventRecorder::Get().SetContainerInfo(windowName, id, true);
in HWTEST_F() 628 Recorder::EventRecorder::Get().SetFocusContainerInfo(windowName, 2);
in HWTEST_F() 630 // windowName = "pages/Index",foreground = false
in HWTEST_F() 631 Recorder::EventRecorder::Get().SetContainerInfo(windowName, i in HWTEST_F() 658 std::string windowName = "$HA_FLOAT_WINDOW$"; HWTEST_F() local 670 std::string windowName = ""; HWTEST_F() local 682 std::string windowName = ""; HWTEST_F() local 694 std::string windowName = "$HA_FLOAT_WINDOW$"; HWTEST_F() local 706 std::string windowName = ""; HWTEST_F() local [all...] |
/foundation/window/window_manager/test/common/mock/ |
H A D | mock_static_call.h | 28 MOCK_METHOD3(CreateWindow, sptr<Window>(const std::string& windowName,
|
/foundation/window/window_manager/extension/window_extension/src/ |
H A D | window_extension_stub_impl.cpp | 30 WindowExtensionStubImpl::WindowExtensionStubImpl(const std::string& windowName) : windowName_(windowName) in WindowExtensionStubImpl() argument
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_layer.h | 65 void DumpByName(std::string windowName, std::string &result); 66 void SelectHitchsInfo(std::string windowName, std::string &result);
|
/foundation/distributedhardware/distributed_screen/services/screenclient/src/ |
H A D | screen_client_window_adapter.cpp | 45 std::string windowName = SCREEN_CLIENT_WINDOW + std::to_string(windowId); in CreateWindow() local 46 sptr<Rosen::Window> window = Rosen::Window::Create(windowName, option); in CreateWindow() 62 DHLOGD("Create window name is %{public}s.", windowName.c_str()); in CreateWindow()
|
/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | event_recorder.cpp | 197 void EventRecorder::SetContainerInfo(const std::string& windowName, int32_t id, bool foreground) in SetContainerInfo() argument 199 if (windowName == IGNORE_WINDOW_NAME) { in SetContainerInfo() 214 void EventRecorder::SetFocusContainerInfo(const std::string& windowName, int32_t id) in SetFocusContainerInfo() argument 217 if (windowName == IGNORE_WINDOW_NAME) { in SetFocusContainerInfo()
|
/foundation/window/window_manager/test/fuzztest/wms/windowscene_fuzzer/ |
H A D | windowscene_fuzzer.cpp | 104 std::string windowName(name); in InitWindowOption1() 105 windowOption.SetWindowName(windowName); in InitWindowOption1() 178 std::string windowName(name); in DoSomethingInterestingWithMyAPI() 181 sptr<Window> window = windowScene->CreateWindow(windowName, windowOption); in DoSomethingInterestingWithMyAPI()
|
/foundation/window/window_manager/wm/include/ |
H A D | static_call.h | 31 virtual sptr<Window> CreateWindow(const std::string& windowName,
|
/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | jank_frame_report.h | 37 void JankFrameRecord(int64_t timeStampNanos, const std::string& windowName);
|
/foundation/window/window_manager/extension/window_extension/include/ |
H A D | window_extension_stub_impl.h | 31 explicit WindowExtensionStubImpl(const std::string& windowName);
|