Home
last modified time | relevance | path

Searched refs:LOCATION_COMPONENT (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
H A Dsec_comp_info_helper_test.cpp127 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
245 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
265 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
270 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
275 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
295 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
300 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
320 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
325 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
344 comp = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
[all …]
H A Dsec_comp_manager_test.cpp54 button.type_ = LOCATION_COMPONENT; in BuildInvalidLocationComponent()
83 button.type_ = LOCATION_COMPONENT; in BuildValidLocationComponent()
370 compPtr->type_ = LOCATION_COMPONENT;
481 jsonVaild[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT;
656 … SecCompManager::GetInstance().SendCheckInfoEnhanceSysEvent(scId, LOCATION_COMPONENT, scene, res);
694 … SecCompManager::GetInstance().SendCheckInfoEnhanceSysEvent(scId, LOCATION_COMPONENT, scene, res);
696 … SecCompManager::GetInstance().SendCheckInfoEnhanceSysEvent(scId, LOCATION_COMPONENT, scene, res);
698 … SecCompManager::GetInstance().SendCheckInfoEnhanceSysEvent(scId, LOCATION_COMPONENT, scene, res);
700 … SecCompManager::GetInstance().SendCheckInfoEnhanceSysEvent(scId, LOCATION_COMPONENT, scene, res);
702 … SecCompManager::GetInstance().SendCheckInfoEnhanceSysEvent(scId, LOCATION_COMPONENT, scene, res);
[all …]
H A Dsec_comp_entity_test.cpp78 entity_->componentInfo_->type_ = LOCATION_COMPONENT;
179 SecCompBase* other = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
H A Dsec_comp_stub_mock_test.cpp102 data.WriteUint32(LOCATION_COMPONENT);
107 data.WriteUint32(LOCATION_COMPONENT);
H A Dsec_comp_perm_manager_test.cpp166 ASSERT_FALSE(permMgr.VerifyPermission(id, LOCATION_COMPONENT));
H A Dsec_comp_service_test.cpp249 secCompService_->RegisterSecurityComponent(LOCATION_COMPONENT, "", scId));
264 secCompService_->RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
H A Dfirst_use_dialog_test.cpp380 entity->componentInfo_->type_ = LOCATION_COMPONENT;
432 entity->componentInfo_->type_ = LOCATION_COMPONENT;
H A Dservice_test_common.cpp22 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; in BuildLocationComponentJson()
H A Dsec_comp_service_mock_test.cpp282 …EXPECT_EQ(SC_OK, secCompService_->RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId…
/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/
H A Dsec_comp_kit_test.cpp41 int registerRes = SecCompKit::RegisterSecurityComponent(LOCATION_COMPONENT, emptyStr, scId); in TestInCallerNotCheckList()
56 int registerRes = SecCompKit::RegisterSecurityComponent(LOCATION_COMPONENT, emptyStr, scId); in TestInCallerCheckList()
108 comp.type_ = LOCATION_COMPONENT;
118 ASSERT_NE(SC_OK, SecCompKit::RegisterSecurityComponent(LOCATION_COMPONENT, jsonStr, scId));
196 SecCompKit::RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
200 SecCompKit::RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
H A Dsec_comp_register_callback_test.cpp140 ASSERT_EQ(SC_OK, RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
163 RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
167 RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
188 ASSERT_EQ(SC_OK, RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
442 ASSERT_EQ(SC_OK, RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
633 ASSERT_EQ(SC_OK, RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
634 ASSERT_EQ(SC_OK, RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
H A Dlocation_button_test.cpp104 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT;
139 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT;
432 comp1.type_ = LOCATION_COMPONENT;
H A Dtest_common.cpp22 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; in BuildLocationComponentInfo()
/ohos5.0/base/security/security_component_manager/frameworks/security_component/src/
H A Dlocation_button.cpp38 return (type_ == LOCATION_COMPONENT); in IsCorrespondenceType()
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dfirst_use_dialog.cpp296 if (type == LOCATION_COMPONENT) { in StartDialogAbility()
345 if (type == LOCATION_COMPONENT) { in SetFirstUseMap()
391 if (type == LOCATION_COMPONENT) { in NotifyFirstUseDialog()
H A Dsec_comp_info_helper.cpp55 case LOCATION_COMPONENT: in ParseComponent()
240 case LOCATION_COMPONENT: in GrantTempPermission()
H A Dsec_comp_perm_manager.cpp136 case LOCATION_COMPONENT: in VerifyPermission()
H A Dsec_comp_manager.cpp557 …ool locationPerm = SecCompPermManager::GetInstance().VerifyPermission(tokenId, LOCATION_COMPONENT); in DumpSecComp()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/mock/
H A Dsec_comp_base_mock.h33 LOCATION_COMPONENT, enumerator
/ohos5.0/base/security/security_component_manager/test/fuzztest/security_component/common/
H A Dfuzz_common.cpp61 case LOCATION_COMPONENT: in GenerateRandomCompoStr()
77 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; in ConstructLocationJson()
/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/include/
H A Dsec_comp_info.h49 LOCATION_COMPONENT, enumerator
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_handler.cpp734 buttonInfo.type_ = SecCompType::LOCATION_COMPONENT; in InitButtonInfo()
735 scType = SecCompType::LOCATION_COMPONENT; in InitButtonInfo()