Home
last modified time | relevance | path

Searched refs:group (Results 1 - 25 of 236) sorted by relevance

12345678910

/foundation/arkui/ui_lite/test/uitest/test_draw_line/
H A Dui_test_draw_line.cpp61 UIViewGroup* group = new UIViewGroup(); in CreateTestCaseGroup() local
62 // 288: group width; 250: group height in CreateTestCaseGroup()
63 group->Resize(288, 250); in CreateTestCaseGroup()
64 return group; in CreateTestCaseGroup()
93 UIViewGroup* group = CreateTestCaseGroup(); in UIKitDrawLineTestLine001() local
94 group->SetViewId("UIKit_Draw_Line_Test_Line_001"); in UIKitDrawLineTestLine001()
95 group->SetPosition(0, 0); in UIKitDrawLineTestLine001()
98 group->Add(label); in UIKitDrawLineTestLine001()
104 group in UIKitDrawLineTestLine001()
115 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine002() local
138 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine003() local
163 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine004() local
188 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine005() local
214 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine006() local
240 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine007() local
264 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine008() local
297 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine009() local
321 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine010() local
345 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine011() local
375 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawLineTestLine012() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_draw_rect/
H A Dui_test_draw_rect.cpp93 UIViewGroup* group = new UIViewGroup(); in CreateTestCaseGroup() local
94 group->Resize(Screen::GetInstance().GetWidth(), 180); // 180 : value in CreateTestCaseGroup()
95 return group; in CreateTestCaseGroup()
133 UIViewGroup* group = CreateTestCaseGroup(); in UIKitDrawRectTestRectNoBorder001() local
134 group->SetViewId("UIKit_DrawRect_Test_RectNoBorder_001"); in UIKitDrawRectTestRectNoBorder001()
135 group->SetPosition(0, 0); in UIKitDrawRectTestRectNoBorder001()
139 group->Add(label); in UIKitDrawRectTestRectNoBorder001()
148 group->Add(view); in UIKitDrawRectTestRectNoBorder001()
150 container_->Add(group); in UIKitDrawRectTestRectNoBorder001()
159 UIViewGroup* group in UIKitDrawRectTestRectNoBorder002() local
186 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectNoBorder003() local
213 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectNoBorder004() local
240 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectNoBorder005() local
267 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectNoBorder006() local
294 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectNoBorder007() local
321 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectNoBorder008() local
348 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectNoBorder009() local
375 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectNoBorder0010() local
402 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderNoRadius001() local
429 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderNoRadius002() local
456 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius001() local
484 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius002() local
512 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius003() local
540 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius004() local
568 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius005() local
596 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius006() local
624 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius007() local
652 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius008() local
680 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius009() local
708 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius010() local
736 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderRadius011() local
763 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRect001() local
789 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectColor001() local
820 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectRadius001() local
844 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectRadius002() local
868 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectRadius003() local
892 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectRadius004() local
923 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectOpacity001() local
946 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectOpacity002() local
969 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectOpacity003() local
998 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderColor001() local
1030 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderWidth001() local
1053 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderWidth002() local
1082 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderOpacity001() local
1106 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderOpacity002() local
1130 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectBorderOpacity003() local
1161 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectPadding001() local
1187 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectPadding002() local
1227 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectMargin001() local
1253 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectMargin002() local
1288 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectPaddingMargin001() local
1318 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectPaddingMargin002() local
1361 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectWidthAndHeight001() local
1385 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectWidthAndHeight002() local
1409 UIViewGroup* group = CreateTestCaseGroup(); UIKitDrawRectTestRectWidthAndHeight003() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_qrcode/
H A Dui_test_qrcode.cpp57 UIViewGroup* group = new UIViewGroup(); in CreateTestCaseGroup() local
58 group->SetStyle(STYLE_BACKGROUND_COLOR, Color::Black().full); in CreateTestCaseGroup()
59 group->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in CreateTestCaseGroup()
60 group->SetPosition(0, 0); in CreateTestCaseGroup()
65 group->Add(titleLabel); in CreateTestCaseGroup()
66 return group; in CreateTestCaseGroup()
72 UIViewGroup* group = CreateTestCaseGroup(" display qrcode 60 * 60"); in UIKitUIQrcodeTestDisplay001() local
73 group->Resize(Screen::GetInstance().GetWidth(), 100); // 100 : height in UIKitUIQrcodeTestDisplay001()
74 group->SetViewId("UIKitUIQrcodeTestDisplay001"); in UIKitUIQrcodeTestDisplay001()
80 group in UIKitUIQrcodeTestDisplay001()
87 UIViewGroup* group = CreateTestCaseGroup(" display qrcode 120 * 250"); UIKitUIQrcodeTestDisplay002() local
106 UIViewGroup* group = CreateTestCaseGroup(" display qrcode 400 * 200"); UIKitUIQrcodeTestDisplay003() local
130 UIViewGroup* group = CreateTestCaseGroup("qrcode 50 * 50, width is less than minimum qrcode size, error!"); UIKitUIQrcodeTestDisplay004() local
150 UIViewGroup* group = CreateTestCaseGroup("qrcode 250 * 250, val length is greater than MAX_LENGTH, error!"); UIKitUIQrcodeTestDisplay005() local
172 UIViewGroup* group = CreateTestCaseGroup("qrcode 250 * 250, str = \\"\\" "); UIKitUIQrcodeTestDisplay006() local
189 UIViewGroup* group = CreateTestCaseGroup("qrcode 250 * 250, str = \\" \\""); UIKitUIQrcodeTestDisplay007() local
206 UIViewGroup* group = CreateTestCaseGroup("qrcode 250 * 250, str = nullptr"); UIKitUIQrcodeTestDisplay008() local
223 UIViewGroup* group = CreateTestCaseGroup("qrcode 250 * 250, position x = -50"); UIKitUIQrcodeTestDisplay009() local
[all...]
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dform_render_group_test.cpp49 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); in HWTEST_F() local
50 EXPECT_TRUE(group); in HWTEST_F()
57 group->AddForm(want, formJsInfo); in HWTEST_F()
59 group->AddForm(want, formJsInfo); in HWTEST_F()
73 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); in HWTEST_F() local
74 EXPECT_TRUE(group); in HWTEST_F()
75 group->OnUnlock(); in HWTEST_F()
89 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); in HWTEST_F() local
90 EXPECT_TRUE(group); in HWTEST_F()
94 group in HWTEST_F()
110 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
127 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
148 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
169 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
186 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
202 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
218 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
250 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
275 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
298 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
325 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
352 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
388 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
418 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
458 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
507 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
545 auto group = FormRendererGroup::Create(nullptr, nullptr, eventHandler); HWTEST_F() local
[all...]
H A Dnative_gesture_test.cpp44 auto group = gestureAPI->createGroupGesture(EXCLUSIVE_GROUP); in HWTEST_F() local
52 gestureAPI->addChildGesture(group, tapGesture); in HWTEST_F()
53 gestureAPI->addChildGesture(group, tapGesture1); in HWTEST_F()
54 gestureAPI->addChildGesture(group, longPressGesture); in HWTEST_F()
63 auto ret = gestureAPI->addGestureToNode(gestureNode, group, PRIORITY, NORMAL_GESTURE_MASK); in HWTEST_F()
65 gestureAPI->removeGestureFromNode(gestureNode, group); in HWTEST_F()
66 gestureAPI->removeChildGesture(group, tapGesture); in HWTEST_F()
67 gestureAPI->removeChildGesture(group, tapGesture1); in HWTEST_F()
68 gestureAPI->removeChildGesture(group, longPressGesture); in HWTEST_F()
/foundation/arkui/ui_lite/test/uitest/test_view_bounds/
H A Dui_test_view_bounds.cpp106 UIViewGroup* group = new UIViewGroup(); in UIKitViewBoundsSetState001() local
107 container_->Add(group); in UIKitViewBoundsSetState001()
108 group->SetViewId("UIKitViewBoundsSetState001"); in UIKitViewBoundsSetState001()
109 group->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, 5, 400, 50); // 5: offset 400: width 50: height in UIKitViewBoundsSetState001()
111 group->Add(viewBoundsLabel); in UIKitViewBoundsSetState001()
119 group->Add(toggle); in UIKitViewBoundsSetState001()
142 UIViewGroup* group = new UIViewGroup(); in UIKitViewBoundsMargin001() local
143 container_->Add(group); in UIKitViewBoundsMargin001()
144 group->Resize(Screen::GetInstance().GetWidth(), 150); // 150: height in UIKitViewBoundsMargin001()
145 group in UIKitViewBoundsMargin001()
168 UIViewGroup* group = new UIViewGroup(); UIKitViewBoundsPadding001() local
194 UIViewGroup* group = new UIViewGroup(); UIKitViewBoundsBorder001() local
222 UIViewGroup* group = new UIViewGroup(); UIKitViewBounds001() local
252 UIViewGroup* group = new UIViewGroup(); UIKitViewBoundsInvisible001() local
279 UIViewGroup* group = new UIViewGroup(); UIKitViewBoundsSmallView001() local
305 UIViewGroup* group = new UIViewGroup(); UIKitViewBoundsPostDraw001() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_opacity/
H A Dui_test_opacity.cpp63 UIViewGroup* group = new UIViewGroup(); in CreateTestCaseGroup() local
64 group->SetStyle(STYLE_BACKGROUND_COLOR, Color::Black().full); in CreateTestCaseGroup()
65 group->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in CreateTestCaseGroup()
66 group->SetPosition(0, 0); in CreateTestCaseGroup()
71 group->Add(titleLabel); in CreateTestCaseGroup()
72 return group; in CreateTestCaseGroup()
109 UIViewGroup* group = CreateTestCaseGroup(" display dynamic text with opacity 200 and 100"); in UIKitOpacityTestUILabel001() local
110 group->Resize(Screen::GetInstance().GetWidth(), LABEL_HEIGHT + 50); // 50 : height in UIKitOpacityTestUILabel001()
111 group->SetViewId("UIKitOpacityTestUILabel001"); in UIKitOpacityTestUILabel001()
115 group in UIKitOpacityTestUILabel001()
124 UIViewGroup* group = CreateTestCaseGroup(" display dynamic text with opacity 256 and -1, uint8_t"); UIKitOpacityTestUILabel002() local
140 UIViewGroup* group = CreateTestCaseGroup(" display UIButton with opacity 200 and 100"); UIKitOpacityTestUIButton001() local
172 UIViewGroup* group = CreateTestCaseGroup(" display UIButton Image with opacity 200 and 100"); UIKitOpacityTestUIButton002() local
198 UIViewGroup* group = CreateTestCaseGroup(" display UILabelButton with opacity 200 and 100"); UIKitOpacityTestUILabelButton001() local
228 UIViewGroup* group = CreateTestCaseGroup(" display UIArcLabel with opacity 200 and 100"); UIKitOpacityTestUIArcLabel001() local
255 UIViewGroup* group = CreateTestCaseGroup(" display UIImageView with opacity 200 and 100"); UIKitOpacityTestUIImageView001() local
282 UIViewGroup* group = CreateTestCaseGroup(" display UIImageAnimator with opacity 200 and 100"); UIKitOpacityTestUIImageAnimator001() local
307 UIViewGroup* group = CreateTestCaseGroup(" display UIView with opacity 200 and 100"); UIKitOpacityTestUIView001() local
325 UIViewGroup* group = CreateTestCaseGroup(" display UIViewGroup with opacity 200 and 100"); UIKitOpacityTestUIViewGroup001() local
400 UIViewGroup* group = CreateTestCaseGroup(" display UIList with opacity 200 and 100"); UIKitOpacityTestUIList001() local
416 UIViewGroup* group = CreateTestCaseGroup(" display UIScrollView with opacity 200 and 100"); UIKitOpacityTestUIScrollView001() local
457 UIViewGroup* group = CreateTestCaseGroup(" display UISwipeView with opacity 200 and 100"); UIKitOpacityTestUISwipeView001() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_anti_aliasing/
H A Dui_test_anti_aliasing.cpp49 UIViewGroup* group = new UIViewGroup(); in CreateTestCaseGroup() local
50 group->Resize(Screen::GetInstance().GetWidth(), 200); // 200: group height in CreateTestCaseGroup()
51 return group; in CreateTestCaseGroup()
69 UIViewGroup* group = CreateTestCaseGroup(); in UIKitAntiAliasingTestRect001() local
70 // 2: half of screen width, 110: group height in UIKitAntiAliasingTestRect001()
71 group->Resize(Screen::GetInstance().GetWidth() / 2, 110); in UIKitAntiAliasingTestRect001()
72 group->SetViewId("UIKit_Draw_Rect_Test_Rect_001"); in UIKitAntiAliasingTestRect001()
73 group->SetPosition(0, 0); in UIKitAntiAliasingTestRect001()
78 group in UIKitAntiAliasingTestRect001()
102 UIViewGroup* group = CreateTestCaseGroup(); UIKitAntiAliasingTestCircle001() local
139 UIViewGroup* group = CreateTestCaseGroup(); UIKitAntiAliasingTestLine001() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dgroup_manager.cpp24 void GroupManager::AddRadioToGroup(const std::string& group, int32_t radioId) in AddRadioToGroup() argument
26 radioGroupNotify_[group].push_back(radioId); in AddRadioToGroup()
29 void GroupManager::RemoveRadioFromGroup(const std::string& group, int32_t radioId) in RemoveRadioFromGroup() argument
31 radioGroupNotify_[group].remove(radioId); in RemoveRadioFromGroup()
34 bool GroupManager::HasRadioId(const std::string& group, int32_t radioId) in HasRadioId() argument
36 auto list = radioGroupNotify_[group]; in HasRadioId()
41 void GroupManager::UpdateRadioGroupValue(const std::string& group, int32_t radioId) in UpdateRadioGroupValue() argument
43 const auto& list = radioGroupNotify_[group]; in UpdateRadioGroupValue()
60 void GroupManager::AddCheckBoxToGroup(const std::string& group, const WeakPtr<FrameNode>& checkBoxNode) in AddCheckBoxToGroup() argument
62 checkBoxListMap_[group] in AddCheckBoxToGroup()
66 AddCheckBoxGroup(const std::string& group, const WeakPtr<FrameNode>& checkBoxGroupNode) AddCheckBoxGroup() argument
80 RemoveCheckBoxFromGroup(const std::string& group, int32_t checkBoxId) RemoveCheckBoxFromGroup() argument
93 RemoveCheckBoxGroup(const std::string& group, int32_t checkBoxGroupId) RemoveCheckBoxGroup() argument
101 GetCheckboxList(const std::string& group) GetCheckboxList() argument
117 GetCheckboxGroup(const std::string& group) GetCheckboxGroup() argument
[all...]
H A Dgroup_manager.h34 void AddRadioToGroup(const std::string& group, int32_t radioId);
35 void RemoveRadioFromGroup(const std::string& group, int32_t radioId);
36 bool HasRadioId(const std::string& group, int32_t radioId);
37 void UpdateRadioGroupValue(const std::string& group, int32_t radioId);
39 void AddCheckBoxToGroup(const std::string& group, const WeakPtr<FrameNode>& checkBoxNode);
40 void RemoveCheckBoxFromGroup(const std::string& group, int32_t checkBoxId);
41 void AddCheckBoxGroup(const std::string& group, const WeakPtr<FrameNode>& checkBoxGroupNode);
42 void RemoveCheckBoxGroup(const std::string& group, int32_t checkBoxGroupId);
43 std::list<RefPtr<FrameNode>> GetCheckboxList(const std::string& group);
44 RefPtr<FrameNode> GetCheckboxGroup(const std::string& group);
45 GetCheckboxGroupIsChange(const std::string& group) GetCheckboxGroupIsChange() argument
50 SetCheckboxGroupIsChange(const std::string& group, bool flag) SetCheckboxGroupIsChange() argument
[all...]
/foundation/arkui/ui_lite/test/uitest/test_view_scale_rotate/
H A Dui_test_view_scale_rotate.cpp102 UIViewGroup* group = new UIViewGroup(); in UIKitViewScaleRotateTestLabel001() local
103 group->SetPosition(0, 0, GROUP_WIDHT, GROUP_HEIGHT); in UIKitViewScaleRotateTestLabel001()
108 group->Add(label_); in UIKitViewScaleRotateTestLabel001()
109 list_->Add(group); in UIKitViewScaleRotateTestLabel001()
115 UIViewGroup* group = new UIViewGroup(); in UIKitViewScaleRotateTestLabelButton002() local
116 group->SetPosition(0, 0, GROUP_WIDHT, GROUP_HEIGHT); in UIKitViewScaleRotateTestLabelButton002()
117 list_->Add(group); in UIKitViewScaleRotateTestLabelButton002()
121 group->Add(button1_); in UIKitViewScaleRotateTestLabelButton002()
127 UIViewGroup* group = new UIViewGroup(); in UIKitViewScaleRotateTestCanvas003() local
128 group in UIKitViewScaleRotateTestCanvas003()
148 UIViewGroup* group = new UIViewGroup(); UIKitViewScaleRotateTestUIBoxProgress004() local
164 UIViewGroup* group = new UIViewGroup(); UIKitViewScaleRotateTestUICircleProgress005() local
179 UIViewGroup* group = new UIViewGroup(); UIKitViewScaleRotateTestUIDigitalClock006() local
192 UIViewGroup* group = new UIViewGroup(); UIKitViewScaleRotateTestGroup007() local
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_group_manager.cpp41 bool WifiP2pGroupManager::AddGroup(const WifiP2pGroupInfo &group) in AddGroup() argument
45 if (*it == group) { in AddGroup()
50 WIFI_LOGD("%{public}s: add a group, Name:%{private}s", __func__, group.GetGroupName().c_str()); in AddGroup()
51 AddMacAddrPairInfo(WifiMacAddrInfoType::P2P_GROUPSINFO_MACADDR_INFO, group); in AddGroup()
53 groupsInfo.push_back(group); in AddGroup()
57 bool WifiP2pGroupManager::AddOrUpdateGroup(const WifiP2pGroupInfo &group) in AddOrUpdateGroup() argument
61 if (*it == group) { in AddOrUpdateGroup()
63 WIFI_LOGD("%{public}s: remove a group, Name:%{private}s", __func__, group in AddOrUpdateGroup()
77 RemoveGroup(const WifiP2pGroupInfo &group) RemoveGroup() argument
106 UpdateWpaGroup(const WifiP2pGroupInfo &group) UpdateWpaGroup() argument
254 auto group = groupsInfo.begin(); UpdateGroupsNetwork() local
280 SetCurrentGroup(WifiMacAddrInfoType type, const WifiP2pGroupInfo &group) SetCurrentGroup() argument
292 AddMacAddrPairInfo(WifiMacAddrInfoType type, const WifiP2pGroupInfo &group) AddMacAddrPairInfo() argument
340 RemoveMacAddrPairInfo(WifiMacAddrInfoType type, const WifiP2pGroupInfo &group) RemoveMacAddrPairInfo() argument
[all...]
H A Dp2p_group_operating_state.cpp95 WIFI_LOGI("Create rpt group."); in ProcessCmdCreateRptGroup()
127 // Restart the group using an existing network ID. in ProcessCmdCreateGroup()
128 WIFI_LOGE("Restart the group using an existing network ID."); in ProcessCmdCreateGroup()
140 // Create a new persistence group. in ProcessCmdCreateGroup()
141 WIFI_LOGE("Create a new %{public}s group.", (netId == PERSISTENT_NET_ID) ? "persistence" : "temporary"); in ProcessCmdCreateGroup()
174 WifiP2pGroupInfo group; in ProcessGroupStartedEvt() local
175 msg->GetMessageObj(group); in ProcessGroupStartedEvt()
176 WIFI_LOGI("P2P_EVENT_GROUP_STARTED create group interface name : %{private}s, network name : %{private}s, owner " in ProcessGroupStartedEvt()
178 group.GetInterface().c_str(), group in ProcessGroupStartedEvt()
288 WifiP2pGroupInfo group = groupManager.GetCurrentGroup(); ProcessCmdRemoveGroup() local
346 WifiP2pGroupInfo group; ProcessCmdDeleteGroup() local
[all...]
H A Dwifi_p2p_group_manager.h48 * @Description - Reads the stored group information during initialization.
55 * @Description - Stores and serializes the current group information.
60 * @Description - Adding a P2P group.
61 * @param group - P2P group to be added
64 virtual bool AddGroup(const WifiP2pGroupInfo &group);
67 * @Description - Adding or Updating a P2P group.
68 * @param group - P2P group to be modified or add
71 virtual bool AddOrUpdateGroup(const WifiP2pGroupInfo &group);
[all...]
/foundation/arkui/ui_lite/test/uitest/test_render/
H A Dui_test_render.cpp61 UIViewGroup* group = new UIViewGroup(); in CreateTestCaseGroup() local
62 group->Resize(Screen::GetInstance().GetWidth(), 200); // 200: height in CreateTestCaseGroup()
63 return group; in CreateTestCaseGroup()
81 UIViewGroup* group = CreateTestCaseGroup(); in UIKitRenderTestRender001() local
82 group->SetViewId("UIKit_Render_Test_Render_001"); in UIKitRenderTestRender001()
83 group->SetPosition(0, 0); in UIKitRenderTestRender001()
86 group->Add(label); in UIKitRenderTestRender001()
93 group->Add(view); in UIKitRenderTestRender001()
103 group->Add(view1); in UIKitRenderTestRender001()
104 container_->Add(group); in UIKitRenderTestRender001()
113 UIViewGroup* group = CreateTestCaseGroup(); UIKitRenderTestRenderMeasure001() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_view_group/
H A Dui_test_view_group.cpp45 UIViewGroup* group = new UIViewGroup(); in CreateTestCaseGroup() local
46 group->Resize(Screen::GetInstance().GetWidth(), 200); // 200: height in CreateTestCaseGroup()
47 return group; in CreateTestCaseGroup()
80 UIViewGroup* group = CreateTestCaseGroup(); in UIKitViewGroupTestAddRemove001() local
81 group->SetViewId("UIKit_ViewGroup_Test_AddRemove_001"); in UIKitViewGroupTestAddRemove001()
82 group->SetPosition(0, 0); in UIKitViewGroupTestAddRemove001()
85 group->Add(label); in UIKitViewGroupTestAddRemove001()
90 group->Add(addBtn_); in UIKitViewGroupTestAddRemove001()
97 group->Add(removeBtn_); in UIKitViewGroupTestAddRemove001()
104 group in UIKitViewGroupTestAddRemove001()
119 UIViewGroup* group = CreateTestCaseGroup(); UIKitViewGroupTestAddError001() local
159 UIViewGroup* group = CreateTestCaseGroup(); UIKitViewGroupTestInsertError001() local
[all...]
/foundation/arkui/ui_lite/test/uitest/test_view_zindex/
H A Dui_test_view_zindex.cpp252 UIViewGroup* group = new UIViewGroup(); in SetupZIndexView() local
253 container_->Add(group); in SetupZIndexView()
254 group->SetOnClickListener(this); in SetupZIndexView()
255 group->SetTouchable(true); in SetupZIndexView()
256 group->SetViewId(ID_ZINDEX_VIEW_VG); in SetupZIndexView()
257 group->SetPosition(48, 5, 500, 500); // 48:position x 5: offset 500: width/height in SetupZIndexView()
264 group->Add(zIndexView); in SetupZIndexView()
268 if (i == 3) { // 3: for zindex 0 group in SetupZIndexView()
287 UIViewGroup* group = reinterpret_cast<UIViewGroup*>(zIndexViewGroupTmp); in SetupChangeView() local
290 UIView* tmpView = group in SetupChangeView()
302 UIViewGroup* group = new UIViewGroup(); SetupZIndexBtn() local
331 UIViewGroup* group = new UIViewGroup(); SetupChildModifyBtn() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dproperty.h95 #define ACE_DEFINE_PROPERTY_GROUP(group, type) \
97 const std::unique_ptr<type>& GetOrCreate##group() \
99 if (!prop##group##_) { \
100 prop##group##_ = std::make_unique<type>(); \
102 return prop##group##_; \
104 const std::unique_ptr<type>& Get##group() const \
106 return prop##group##_; \
108 std::unique_ptr<type> Clone##group() const \
110 if (prop##group##_) { \
111 return std::make_unique<type>(*prop##group##
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/
H A Dwifi_mock_p2p_service.cpp201 ErrCode WifiMockP2pService::DeleteGroup(const WifiP2pGroupInfo &group) in DeleteGroup() argument
204 LOGI("group.IsGroupOwner() = %s\n", group.IsGroupOwner() ? "true" : "false"); in DeleteGroup()
206 LOGI("group.GetOwner().GetDeviceName() = %s\n", group.GetOwner().GetDeviceName().c_str()); in DeleteGroup()
207 LOGI("group.GetOwner().GetDeviceAddress() = %s\n", group.GetOwner().GetDeviceAddress().c_str()); in DeleteGroup()
208 LOGI("group.GetOwner().GetPrimaryDeviceType() = %s\n", group.GetOwner().GetPrimaryDeviceType().c_str()); in DeleteGroup()
209 LOGI("group in DeleteGroup()
269 GetCurrentGroup(WifiP2pGroupInfo &group) GetCurrentGroup() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/focus_collaboration/
H A Dfocus_collaboration_element.cpp26 RefPtr<ComponentGroup> group = AceType::DynamicCast<ComponentGroup>(component_); in PerformBuild() local
27 if (group && group->GetChildren().size() == 1) { in PerformBuild()
32 group->AppendChild(focusAnimation); in PerformBuild()
33 group->AppendChild(shadow); in PerformBuild()
/foundation/window/window_manager/test/systemtest/dms/
H A Dscreen_manager_test.cpp237 auto group = ScreenManager::GetInstance().GetScreenGroup(groupId); \
238 if (group != nullptr) { \
239 if (groupId == group->GetId()) { \
240 ASSERT_EQ(groupId, group->GetId()); \
242 ASSERT_NE(nullptr, group); \
261 bool isInGroup, sptr<ScreenGroup> group, ScreenId groupId, sptr<Screen> virtualScreen, ScreenId virtualScreenId) in CheckScreenStateInGroup()
263 if (group == nullptr) { in CheckScreenStateInGroup()
264 GTEST_LOG_(INFO) << "group is nullptr"; in CheckScreenStateInGroup()
267 auto childIds = group->GetChildIds(); in CheckScreenStateInGroup()
289 ScreenId virtualScreenId, sptr<ScreenGroup> group, spt in CheckScreenGroupState()
260 CheckScreenStateInGroup( bool isInGroup, sptr<ScreenGroup> group, ScreenId groupId, sptr<Screen> virtualScreen, ScreenId virtualScreenId) CheckScreenStateInGroup() argument
288 CheckScreenGroupState(ScreenCombination combination, ScreenGroupChangeEvent event, ScreenId virtualScreenId, sptr<ScreenGroup> group, sptr<ScreenGroupChangeListener> screenGroupChangeListener) CheckScreenGroupState() argument
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/
H A Dp2p_idle_state_test.cpp59 WifiP2pGroupInfo group; in AddGroupManager() local
60 group.SetP2pGroupStatus(P2pGroupStatus::GS_STARTED); in AddGroupManager()
61 group.SetNetworkId(1); in AddGroupManager()
64 group.SetOwner(device); in AddGroupManager()
65 pP2pIdleState->groupManager.AddGroup(group); in AddGroupManager()
66 pP2pIdleState->groupManager.SetCurrentGroup(WifiMacAddrInfoType::P2P_CURRENT_GROUP_MACADDR_INFO, group); in AddGroupManager()
260 WifiP2pGroupInfo group; in HWTEST_F() local
262 group.SetOwner(device); in HWTEST_F()
263 group.SetNetworkId(-1); in HWTEST_F()
264 msg->SetMessageObj(group); in HWTEST_F()
272 WifiP2pGroupInfo group; HWTEST_F() local
284 WifiP2pGroupInfo group; HWTEST_F() local
300 WifiP2pGroupInfo group; HWTEST_F() local
332 WifiP2pGroupInfo group; HWTEST_F() local
344 WifiP2pGroupInfo group; HWTEST_F() local
359 WifiP2pGroupInfo group; HWTEST_F() local
[all...]
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_view_group_unit_test.cpp368 UIViewGroup* group = new UIViewGroup(); in HWTEST_F() local
382 group->Add(label); in HWTEST_F()
385 UIView* label = group->GetChildrenHead(); in HWTEST_F()
387 UIView* targetLabel = group->GetChildById(VIEW_GROUP[0].text); // 0: label1=0 in HWTEST_F()
388 EXPECT_EQ(group->GetChildrenRenderHead(), targetLabel); in HWTEST_F()
392 UIView* beforeLabel = group->GetChildById(VIEW_GROUP[7].text); // 7: label2=3 in HWTEST_F()
395 UIView* newRenderHead = group->GetChildById(VIEW_GROUP[1].text); // 7: label1=1 in HWTEST_F()
396 EXPECT_EQ(group->GetChildrenRenderHead(), newRenderHead); in HWTEST_F()
399 EXPECT_EQ(group->GetChildrenRenderHead(), targetLabel); in HWTEST_F()
402 beforeLabel = group in HWTEST_F()
430 UIViewGroup* group = new UIViewGroup(); HWTEST_F() local
[all...]
/foundation/ability/idl_tool/test/hdi_unittest/base/
H A Dutil.py61 ast_name_lhd = obj_lhd.group(1)
62 ast_name_rhd = obj_rhd.group(1)
65 ast_path_lhd = obj_lhd.group(2)
66 ast_path_rhd = obj_rhd.group(2)
212 lhd_start_check_content = lhd_obj.group(1)
213 rhd_start_check_content = rhd_obj.group(1)
214 lhd_err_func_check_content = lhd_obj.group(2)
215 rhd_err_func_check_content = rhd_obj.group(2)
216 lhd_median_check_content = lhd_obj.group(3)
217 rhd_median_check_content = rhd_obj.group(
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Drecognizer_group.cpp93 auto group = AceType::DynamicCast<RecognizerGroup>(recognizer); in CheckStates() local
94 if (group) { in CheckStates()
95 auto state = group->CheckStates(touchId); in CheckStates()
124 auto group = AceType::DynamicCast<RecognizerGroup>(recognizer); in ForceReject() local
125 if (group) { in ForceReject()
126 group->ForceReject(); in ForceReject()
201 auto group = AceType::DynamicCast<RecognizerGroup>(item); in SetRecognizerInfoRecursively() local
202 if (group) { in SetRecognizerInfoRecursively()
203 group->SetRecognizerInfoRecursively(coordinateOffset, node, targetComponent, getEventTargetImpl); in SetRecognizerInfoRecursively()
226 auto group in AddHittedRecognizerType() local
[all...]

Completed in 14 milliseconds

12345678910