Home
last modified time | relevance | path

Searched refs:SAVE_COMPONENT (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/
H A Dsec_comp_register_callback_test.cpp206 EXPECT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
242 EXPECT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
293 EXPECT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
331 EXPECT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
370 EXPECT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
408 EXPECT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
480 EXPECT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
520 EXPECT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
555 EXPECT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
588 ASSERT_EQ(SC_OK, RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
[all …]
H A Dpaste_button_test.cpp131 comp1.type_ = SAVE_COMPONENT;
H A Dsave_button_test.cpp133 comp1.type_ = SAVE_COMPONENT;
H A Dtest_common.cpp78 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = SAVE_COMPONENT; in BuildSaveComponentInfo()
H A Dlocation_button_test.cpp430 comp1.type_ = SAVE_COMPONENT;
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
H A Dsec_comp_service_mock_test.cpp86 …SERVICE_ERROR_VALUE_INVALID, secCompService_->RegisterSecurityComponent(SAVE_COMPONENT, "", scId));
98 …VICE_ERROR_VALUE_INVALID, secCompService_->RegisterSecurityComponent(SAVE_COMPONENT, "{a=", scId));
101 EXPECT_EQ(SC_OK, secCompService_->RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
144 EXPECT_EQ(SC_OK, secCompService_->RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
179 EXPECT_EQ(SC_OK, secCompService_->RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
220 EXPECT_EQ(SC_OK, secCompService_->RegisterSecurityComponent(SAVE_COMPONENT, saveInfo, scId));
H A Dfirst_use_dialog_test.cpp386 entity->componentInfo_->type_ = SAVE_COMPONENT;
439 entity->componentInfo_->type_ = SAVE_COMPONENT;
479 entity->componentInfo_->type_ = SAVE_COMPONENT;
H A Dsec_comp_perm_manager_test.cpp168 ASSERT_FALSE(permMgr.VerifyPermission(id, SAVE_COMPONENT));
H A Dsec_comp_info_helper_test.cpp109 ASSERT_EQ(nullptr, SecCompInfoHelper::ParseComponent(SAVE_COMPONENT, jsonComponent));
623 SecCompBase* comp = SecCompInfoHelper::ParseComponent(SAVE_COMPONENT, jsonComponent);
H A Dservice_test_common.cpp78 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = SAVE_COMPONENT; in BuildSaveComponentJson()
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dfirst_use_dialog.cpp298 } else if (type == SAVE_COMPONENT) { in StartDialogAbility()
347 } else if (type == SAVE_COMPONENT) { in SetFirstUseMap()
393 } else if (type == SAVE_COMPONENT) { in NotifyFirstUseDialog()
H A Dsec_comp_info_helper.cpp61 case SAVE_COMPONENT: in ParseComponent()
263 case SAVE_COMPONENT: in GrantTempPermission()
H A Dsec_comp_perm_manager.cpp147 case SAVE_COMPONENT: in VerifyPermission()
H A Dsec_comp_manager.cpp559 bool savePerm = SecCompPermManager::GetInstance().VerifyPermission(tokenId, SAVE_COMPONENT); in DumpSecComp()
/ohos5.0/base/security/security_component_manager/frameworks/security_component/src/
H A Dsave_button.cpp52 return (type_ == SAVE_COMPONENT); in IsCorrespondenceType()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/mock/
H A Dsec_comp_base_mock.h35 SAVE_COMPONENT, enumerator
/ohos5.0/base/security/security_component_manager/test/fuzztest/security_component/common/
H A Dfuzz_common.cpp65 case SAVE_COMPONENT: in GenerateRandomCompoStr()
119 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = SAVE_COMPONENT; in ConstructSaveJson()
/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/include/
H A Dsec_comp_info.h51 SAVE_COMPONENT, enumerator
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_handler.cpp752 buttonInfo.type_ = SecCompType::SAVE_COMPONENT; in InitButtonInfo()
753 scType = SecCompType::SAVE_COMPONENT; in InitButtonInfo()