Searched refs:SecCompEntity (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/ |
H A D | sec_comp_manager_test.cpp | 146 std::make_shared<SecCompEntity>( 158 std::make_shared<SecCompEntity>( 175 std::make_shared<SecCompEntity>( 201 std::make_shared<SecCompEntity>( 231 std::make_shared<SecCompEntity>( 258 std::make_shared<SecCompEntity>( 288 std::make_shared<SecCompEntity>( 300 std::make_shared<SecCompEntity>( 372 std::make_shared<SecCompEntity>( 441 std::make_shared<SecCompEntity>( [all …]
|
H A D | first_use_dialog_test.cpp | 365 std::shared_ptr<SecCompEntity> entity = std::make_shared<SecCompEntity>(nullptr, 0, 0, 0, 0); 412 std::shared_ptr<SecCompEntity> entity = std::make_shared<SecCompEntity>(nullptr, 0, 0, 0, 0); 469 std::shared_ptr<SecCompEntity> entity = std::make_shared<SecCompEntity>(nullptr, 1, 0, 0, 0); 493 std::shared_ptr<SecCompEntity> entity = std::make_shared<SecCompEntity>(nullptr, 0, 0, 0, 0); 494 std::shared_ptr<SecCompEntity> entity1 = std::make_shared<SecCompEntity>(nullptr, 0, 0, 1, 0);
|
H A D | sec_comp_entity_test.h | 37 std::shared_ptr<SecCompEntity> entity_ = nullptr;
|
H A D | sec_comp_entity_test.cpp | 53 entity_ = std::make_shared<SecCompEntity>(component, 1, 1, 1, 1); in SetUp() 99 entity_ = std::make_shared<SecCompEntity>(pasteComponent, 0, 1, 1, 1);
|
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
H A D | first_use_dialog.h | 36 explicit SecCompDialogSrvCallback(int32_t scId, std::shared_ptr<SecCompEntity> sc, in SecCompDialogSrvCallback() 47 std::shared_ptr<SecCompEntity> sc_; 56 int32_t NotifyFirstUseDialog(std::shared_ptr<SecCompEntity> entity, 61 bool SetFirstUseMap(std::shared_ptr<SecCompEntity> entity); 75 void StartDialogAbility(std::shared_ptr<SecCompEntity> entity, 81 std::unordered_map<int32_t, std::shared_ptr<SecCompEntity>> dialogWaitMap_;
|
H A D | sec_comp_manager.h | 44 std::vector<std::shared_ptr<SecCompEntity>> compList; 76 AccessToken::AccessTokenID tokenId, std::shared_ptr<SecCompEntity> newEntity); 78 std::shared_ptr<SecCompEntity> GetSecurityComponentFromList(int32_t pid, int32_t scId); 79 int32_t CheckClickSecurityComponentInfo(std::shared_ptr<SecCompEntity> sc, int32_t scId,
|
H A D | sec_comp_entity.h | 27 class SecCompEntity { 29 SecCompEntity(std::shared_ptr<SecCompBase> component, in SecCompEntity() function 32 ~SecCompEntity() = default;
|
H A D | sec_comp_entity.cpp | 49 int32_t SecCompEntity::GrantTempPermission() in GrantTempPermission() 55 bool SecCompEntity::CompareComponentBasicInfo(SecCompBase* other, bool isRectCheck) const in CompareComponentBasicInfo() 60 int32_t SecCompEntity::CheckPointEvent(const SecCompClickEvent& clickInfo) const in CheckPointEvent() 82 int32_t SecCompEntity::CheckKeyEvent(const SecCompClickEvent& clickInfo) const in CheckKeyEvent() 100 int32_t SecCompEntity::CheckClickInfo(const SecCompClickEvent& clickInfo) const in CheckClickInfo()
|
H A D | sec_comp_manager.cpp | 63 AccessToken::AccessTokenID tokenId, std::shared_ptr<SecCompEntity> newEntity) in AddSecurityComponentToList() 104 std::shared_ptr<SecCompEntity> sc = *it; in DeleteSecurityComponentFromList() 151 std::shared_ptr<SecCompEntity> SecCompManager::GetSecurityComponentFromList(int32_t pid, int32_t sc… in GetSecurityComponentFromList() 159 std::shared_ptr<SecCompEntity> sc = *it; in GetSecurityComponentFromList() 374 std::shared_ptr<SecCompEntity> entity = in RegisterSecurityComponent() 375 … std::make_shared<SecCompEntity>(component, caller.tokenId, registerId, caller.pid, caller.uid); in RegisterSecurityComponent() 396 std::shared_ptr<SecCompEntity> sc = GetSecurityComponentFromList(caller.pid, scId); in UpdateSecurityComponent() 439 int32_t SecCompManager::CheckClickSecurityComponentInfo(std::shared_ptr<SecCompEntity> sc, int32_t … in CheckClickSecurityComponentInfo() 512 std::shared_ptr<SecCompEntity> sc = GetSecurityComponentFromList(caller.pid, scId); in ReportSecurityComponentClickEvent() 565 std::shared_ptr<SecCompEntity> sc = *compIter; in DumpSecComp()
|
H A D | first_use_dialog.cpp | 251 std::shared_ptr<SecCompEntity> entity = iter->second; in RemoveDialogWaitEntitys() 269 std::shared_ptr<SecCompEntity> sc = it->second; in GrantDialogWaitEntity() 291 void FirstUseDialog::StartDialogAbility(std::shared_ptr<SecCompEntity> entity, in StartDialogAbility() 336 bool FirstUseDialog::SetFirstUseMap(std::shared_ptr<SecCompEntity> entity) in SetFirstUseMap() 368 int32_t FirstUseDialog::NotifyFirstUseDialog(std::shared_ptr<SecCompEntity> entity, in NotifyFirstUseDialog()
|