/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/ |
H A D | sec_comp_info_helper_test.cpp | 127 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 D | sec_comp_manager_test.cpp | 54 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 D | sec_comp_entity_test.cpp | 78 entity_->componentInfo_->type_ = LOCATION_COMPONENT; 179 SecCompBase* other = SecCompInfoHelper::ParseComponent(LOCATION_COMPONENT, jsonComponent);
|
H A D | sec_comp_stub_mock_test.cpp | 102 data.WriteUint32(LOCATION_COMPONENT); 107 data.WriteUint32(LOCATION_COMPONENT);
|
H A D | sec_comp_perm_manager_test.cpp | 166 ASSERT_FALSE(permMgr.VerifyPermission(id, LOCATION_COMPONENT));
|
H A D | sec_comp_service_test.cpp | 249 secCompService_->RegisterSecurityComponent(LOCATION_COMPONENT, "", scId)); 264 secCompService_->RegisterSecurityComponent(LOCATION_COMPONENT, locationInfo, scId));
|
H A D | first_use_dialog_test.cpp | 380 entity->componentInfo_->type_ = LOCATION_COMPONENT; 432 entity->componentInfo_->type_ = LOCATION_COMPONENT;
|
H A D | service_test_common.cpp | 22 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; in BuildLocationComponentJson()
|
H A D | sec_comp_service_mock_test.cpp | 282 …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 D | sec_comp_kit_test.cpp | 41 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 D | sec_comp_register_callback_test.cpp | 140 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 D | location_button_test.cpp | 104 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; 139 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; 432 comp1.type_ = LOCATION_COMPONENT;
|
H A D | test_common.cpp | 22 jsonComponent[JsonTagConstants::JSON_SC_TYPE] = LOCATION_COMPONENT; in BuildLocationComponentInfo()
|
/ohos5.0/base/security/security_component_manager/frameworks/security_component/src/ |
H A D | location_button.cpp | 38 return (type_ == LOCATION_COMPONENT); in IsCorrespondenceType()
|
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
H A D | first_use_dialog.cpp | 296 if (type == LOCATION_COMPONENT) { in StartDialogAbility() 345 if (type == LOCATION_COMPONENT) { in SetFirstUseMap() 391 if (type == LOCATION_COMPONENT) { in NotifyFirstUseDialog()
|
H A D | sec_comp_info_helper.cpp | 55 case LOCATION_COMPONENT: in ParseComponent() 240 case LOCATION_COMPONENT: in GrantTempPermission()
|
H A D | sec_comp_perm_manager.cpp | 136 case LOCATION_COMPONENT: in VerifyPermission()
|
H A D | sec_comp_manager.cpp | 557 …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 D | sec_comp_base_mock.h | 33 LOCATION_COMPONENT, enumerator
|
/ohos5.0/base/security/security_component_manager/test/fuzztest/security_component/common/ |
H A D | fuzz_common.cpp | 61 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 D | sec_comp_info.h | 49 LOCATION_COMPONENT, enumerator
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_handler.cpp | 734 buttonInfo.type_ = SecCompType::LOCATION_COMPONENT; in InitButtonInfo() 735 scType = SecCompType::LOCATION_COMPONENT; in InitButtonInfo()
|