Home
last modified time | relevance | path

Searched refs:componentInfo_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dsec_comp_entity.cpp52 return SecCompInfoHelper::GrantTempPermission(tokenId_, componentInfo_); in GrantTempPermission()
57 return componentInfo_->CompareComponentBasicInfo(other, isRectCheck); in CompareComponentBasicInfo()
70 if (!componentInfo_->rect_.IsInRect(clickInfo.point.touchX, clickInfo.point.touchY)) { in CheckPointEvent()
74 …clickInfo.point.touchX, clickInfo.point.touchY, componentInfo_->rect_.x_, componentInfo_->rect_.y_, in CheckPointEvent()
75 componentInfo_->rect_.x_ + componentInfo_->rect_.width_, in CheckPointEvent()
76 componentInfo_->rect_.y_ + componentInfo_->rect_.height_); in CheckPointEvent()
102 if (!WindowInfoHelper::CheckOtherWindowCoverComp(componentInfo_->windowId_, in CheckClickInfo()
103 componentInfo_->rect_)) { in CheckClickInfo()
136 … "CALLER_PID", IPCSkeleton::GetCallingPid(), "SC_ID", scId_, "SC_TYPE", componentInfo_->type_); in CheckClickInfo()
H A Dsec_comp_entity.h31 : componentInfo_(component), tokenId_(token), scId_(scId), pid_(pid), uid_(uid) {}; in SecCompEntity()
37 if (componentInfo_ == nullptr) { in GetType()
40 return componentInfo_->type_; in GetType()
51 std::shared_ptr<SecCompBase> componentInfo_; variable
H A Dsec_comp_manager.cpp425 sc->componentInfo_ = reportComponentInfo; in UpdateSecurityComponent()
480 sc->componentInfo_ = reportComponentInfo; in CheckClickSecurityComponentInfo()
566 if (sc == nullptr || sc->componentInfo_ == nullptr) { in DumpSecComp()
570 sc->componentInfo_->ToJson(json); in DumpSecComp()
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
H A Dsec_comp_entity_test.cpp73 entity_->componentInfo_->type_ = UNKNOWN_SC_TYPE;
78 entity_->componentInfo_->type_ = LOCATION_COMPONENT;
83 entity_->componentInfo_->type_ = PASTE_COMPONENT;
126 entity_->componentInfo_->rect_.y_ = ServiceTestCommon::TEST_DIFF_COORDINATE;
127 entity_->componentInfo_->rect_.width_ = ServiceTestCommon::TEST_DIFF_COORDINATE;
133 entity_->componentInfo_->rect_.x_ = ServiceTestCommon::TEST_COORDINATE;
134 entity_->componentInfo_->rect_.y_ = ServiceTestCommon::TEST_COORDINATE;
159 entity_->componentInfo_->rect_.x_ = ServiceTestCommon::TEST_COORDINATE;
160 entity_->componentInfo_->rect_.y_ = ServiceTestCommon::TEST_COORDINATE;
161 entity_->componentInfo_->rect_.width_ = ServiceTestCommon::TEST_COORDINATE;
[all …]
H A Dfirst_use_dialog_test.cpp379 entity->componentInfo_ = std::make_shared<LocationButton>();
380 entity->componentInfo_->type_ = LOCATION_COMPONENT;
386 entity->componentInfo_->type_ = SAVE_COMPONENT;
431 entity->componentInfo_ = std::make_shared<LocationButton>();
432 entity->componentInfo_->type_ = LOCATION_COMPONENT;
439 entity->componentInfo_->type_ = SAVE_COMPONENT;
478 entity->componentInfo_ = std::make_shared<SaveButton>();
479 entity->componentInfo_->type_ = SAVE_COMPONENT;