/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
H A D | stats_service_core_test.cpp | 145 EXPECT_EQ(nullptr, statsCore->GetEntity( 152 EXPECT_EQ(nullptr, statsCore->GetEntity( 161 EXPECT_EQ(nullptr, statsCore->GetEntity( 163 EXPECT_EQ(nullptr, statsCore->GetEntity( 170 EXPECT_EQ(nullptr, statsCore->GetEntity( 177 EXPECT_EQ(nullptr, statsCore->GetEntity( 184 EXPECT_EQ(nullptr, statsCore->GetEntity( 202 EXPECT_EQ(nullptr, statsCore->GetEntity( 207 EXPECT_EQ(nullptr, statsCore->GetEntity( 214 EXPECT_EQ(nullptr, statsCore->GetEntity( [all …]
|
/ohos5.0/base/powermgr/battery_statistics/services/native/src/entities/ |
H A D | uid_entity.cpp | 83 auto cameraEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA); in CalculateForCommon() 85 auto audioEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO); in CalculateForCommon() 86 auto sensorEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_SENSOR); in CalculateForCommon() 87 auto gnssEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_GNSS); in CalculateForCommon() 88 auto cpuEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CPU); in CalculateForCommon() 90 auto alarmEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_ALARM); in CalculateForCommon() 126 auto userEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_USER); in Calculate() 189 auto audioEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO); in GetPowerForCommon() 191 auto gnssEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_GNSS); in GetPowerForCommon() 192 auto cpuEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CPU); in GetPowerForCommon() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_animation.cpp | 128 return node->GetEntity(); in UpdateTrackTargets() 131 return targetNode->GetEntity(); in UpdateTrackTargets() 260 UpdateTrackTargets(*ecs_, GetEntity(), entity); in Retarget() 358 SetRootEntity(node->GetEntity()); in TryResolveAnimationRoot() 361 return node ? node->GetEntity() : Entity {}; in TryResolveAnimationRoot() 446 if (nameManager_->HasComponent(GetEntity())) { in OnAnimationNameChanged() 569 if (t->GetEntity() == track) { in GatherAnimationTracks() 647 if (other->GetEntity() != track.GetEntity()) { in OnAnimationTimestampsChanged() 696 UpdateAnimationTrackDuration(track->GetEntity()); in AddKey() 705 OnAnimationTrackChanged(*track, track->GetEntity()); in AddKey() [all …]
|
H A D | submeshhandler.cpp | 90 if (ecsObject && ecsObject->GetEntity() == entity) { in GetMaterialFromEntity() 184 self->GetEntity(), index, value); in SetRenderSortLayerOrder() 210 entity = ecsObject->GetEntity(); in SetMaterialToEcs() 214 sceneHolder->SetMaterial(self->GetEntity(), entity, index); in SetMaterialToEcs() 242 … sceneHolder->SetSubmeshAABBMin(self->GetEntity(), index, vec); in SetAABBMin() 275 … sceneHolder->SetSubmeshAABBMax(self->GetEntity(), index, vec); in SetAABBMax() 315 … sceneHolder->RemoveSubmesh(self->GetEntity(), index); in RemoveSubmesh() 328 CORE_NS::Entity GetEntity() const override in GetEntity() function in __anonca9c1dc40110::SubMeshHandler
|
H A D | camera_impl.cpp | 140 … SceneHolder()->SetRenderSize(renderSize.x, renderSize.y, ecsObject->GetEntity().id); in CompleteInitialization() 228 auto ent = ecs0->GetEntity(); in CompleteInitialization() 259 … [source = interface_cast<SCENE_NS::IEcsObject>(camera)->GetEntity(), in AddMultiviewCamera() 260 … target = GetSelf<SCENE_NS::IEcsObject>()->GetEntity()](auto sh) { in AddMultiviewCamera() 300 … [source = interface_cast<SCENE_NS::IEcsObject>(camera)->GetEntity(), in RemoveMultiviewCamera() 301 … target = GetSelf<SCENE_NS::IEcsObject>()->GetEntity()](auto sh) { in RemoveMultiviewCamera() 321 … if (sh->ScreenToWorld(ret, self->GetEntity(), screenCoordinate)) { in ScreenToWorld() 354 … if (sh->WorldToScreen(ret, self->GetEntity(), worldCoordinate)) { in WorldToScreen() 388 if (sh->RayCastFromCamera(ret, self->GetEntity(), pos)) { in RayCastFromCamera() 431 … if (sh->RayCastFromCamera(ret, self->GetEntity(), pos, layerMask)) { in RayCastFromCamera() [all …]
|
H A D | asset_loader.cpp | 64 const auto entity = node.GetEntity(); in AddNodeToCollectionRecursive() 365 auto targetEntity = ec_.GetEntity(entityTarget); in LoadJsonEntityCollection() 368 targetEntity = ec_.GetSubCollection(--subcollectionCount)->GetEntity(entityTarget); in LoadJsonEntityCollection() 474 auto ent = nodeComponentManager->GetEntity(i); in ImportSceneFromGltf() 522 return targetNode->GetEntity(); in UpdateTrackTargets() 561 auto targetEntity = ec_.GetEntity(entityTarget); in GltfImportFinished() 564 targetEntity = ec_.GetSubCollection(--subcollectionCount)->GetEntity(entityTarget); in GltfImportFinished() 592 if (!loadNode || loadNode->GetEntity() == Entity {}) { in GltfImportFinished() 597 if (!loadNode || loadNode->GetEntity() == Entity {}) { in GltfImportFinished() 604 Entity entity = loadNode->GetEntity(); in GltfImportFinished()
|
H A D | material_impl.cpp | 140 [e = ecsObject_->GetEntity(), w = BASE_NS::weak_ptr(sceneHolder)] { in Activate() 158 [e = ecsObject_->GetEntity(), w = BASE_NS::weak_ptr(sceneHolder)] { in Deactivate() 245 [uri, entityId = EcsObject()->GetEntity().id, arrayIndex](auto sh) { in ApplyTextureInfoImage() 258 … [entity = EcsObject()->GetEntity(), arrayIndex](auto sh) { in ApplyTextureInfoImage() 455 [entity = EcsObject()->GetEntity(), arrayIx, w_info](SceneHolder::Ptr sh) { in CheckImageHandle() 954 auto entity = EcsObject()->GetEntity(); in UpdateInputs() 1136 … EcsObject()->GetEntity(), SceneHolder::ShaderType::DEPTH_SHADER, DepthShader()->GetValue()); in CompleteInitialization() 1147 … EcsObject()->GetEntity(), SceneHolder::ShaderType::DEPTH_SHADER, DepthShaderState()->GetValue()); in CompleteInitialization() 1194 … EcsObject()->GetEntity(), SceneHolder::ShaderType::DEPTH_SHADER, DepthShader()->GetValue()); in CompleteInitialization() 1270 ->GetEntity(), in SetImage() [all …]
|
H A D | node_impl.cpp | 152 … [path, index, e = ecsObject_->GetEntity(), weak_sh = BASE_NS::weak_ptr(sceneHolder)] { in Activate() 312 CORE_NS::Entity NodeImpl::GetEntity() const in GetEntity() function in NodeImpl 315 return ecsObject_->GetEntity(); in GetEntity() 364 … auto clone = sceneHolder->CloneEntity(self->EcsObject()->GetEntity(), name, false); in CloneEcs() 483 … sceneHolder->RenameEntity(self->EcsObject()->GetEntity(), name); in RenameEntity() 747 auto entity = ecsNode->GetEntity(); in SetPathWithEcsNode() 1161 sceneHolder->SetMesh(self->GetEntity(), meshObject->GetEntity()); in SetMeshToEngine() 1214 auto entity = ecsObject_->GetEntity(); in ReleaseEntityOwnership() 1300 … if (sh->GetTransformComponentAABB(ret, self->GetEntity(), isRecursive)) { in GetTransformComponentAABB() 1389 auto entityName = sceneHolder->GetMeshName(self->GetEntity()); in InitializeMesh() [all …]
|
H A D | mesh_impl.cpp | 116 … EcsObject()->GetEntity(), META_ACCESS_PROPERTY(SubMeshes), GetSelf<INodeEcsInterfacePrivate>()); in CompleteInitialization() 313 auto entityName = SceneHolder()->GetMaterialName(EcsObject()->GetEntity(), index); in GetMaterial() 331 … auto entityName = sceneHolder->GetMaterialName(self->GetEntity(), index); in GetMaterial() 399 … auto existingEntity = privateIntf->EcsObject()->GetEntity(); in UpdateMeshFromArrays() 449 … [source = interface_pointer_cast<SCENE_NS::ISubMeshPrivate>(submesh)->GetEntity(), in CloneSubmesh() 452 privateIntf->EcsObject()->GetEntity(), source, index); in CloneSubmesh()
|
H A D | intf_submesh_bridge.h | 38 virtual CORE_NS::Entity GetEntity() const = 0; 47 virtual CORE_NS::Entity GetEntity() const = 0;
|
H A D | scene_holder.cpp | 541 auto entity = node->GetEntity(); in CreateCamera() 989 entity = ecsNode->GetEntity(); in FindMesh() 1053 entity = ecsNode->GetEntity(); in FindMaterial() 1058 entity = created->GetEntity(); in FindMaterial() 1115 entity = ecsNode->GetEntity(); in FindAnimation() 1148 auto entity = ecsObject->GetEntity(); in UpdateAttachments() 1501 auto entity = cameraObject->GetEntity(); in ChangeCamera() 2627 auto nodeEntity = node->GetEntity(); in CreateMultiMeshInstance() 2653 auto entity = child->GetEntity(); in IsMultiMeshChild() 2694 auto entity = child->GetEntity(); in SetMeshMultimeshArray() [all …]
|
H A D | entity_collection.cpp | 104 EntityReference EntityCollection::GetEntity(size_t collectionIndex) const in GetEntity() function in EntityCollection 113 EntityReference EntityCollection::GetEntity(string_view localContextId) const in GetEntity() function in EntityCollection 128 auto ret = GetEntity(localContextId); in GetEntityRecursive() 336 if (collections_[i]->GetEntity("/") == entity) { in GetSubCollectionIndexByRoot() 464 if (collection->GetEntity("/") == entity) { in isSubCollectionRoot() 596 if (!CORE_NS::EntityUtil::IsValid(targetCollection->GetEntity(postFixed))) { in AddEntityToSubcollection() 643 auto root = sc->GetEntity("/"); in CloneEntitiesFromCollection()
|
H A D | graphicsstate_impl.cpp | 62 … mat->GetEntity(), (SceneHolder::ShaderType)type, st); in SetGraphicsState() 82 … sceneHolder->GetGraphicsState(mat->GetEntity(), (SceneHolder::ShaderType)type, ret); in GetGraphicsState()
|
H A D | submesh_impl.cpp | 144 CORE_NS::Entity GetEntity() const override in GetEntity() function in __anon6656fe970110::SubMeshImpl 148 return first->GetEntity(); in GetEntity()
|
H A D | multimesh_impl.cpp | 112 … sceneHolder->SetMeshMultimeshArray(mm, mesh->EcsObject()->GetEntity()); in Build() 144 mm, material->EcsObject()->GetEntity()); in Build()
|
H A D | postprocess_impl.cpp | 150 CORE_NS::Entity GetEntity() override in GetEntity() function in __anon9c5c9b250110::PostProcessImpl 153 return ecsObject_->GetEntity(); in GetEntity() 161 if (ecsObject_ && ecsObject_->GetEntity() == entity) { in SetEntity()
|
H A D | intf_postprocess_private.h | 29 virtual CORE_NS::Entity GetEntity() = 0;
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | node_system.cpp | 109 if (componentManager.HasComponent(node.GetEntity())) { in RecursivelyLookupNodesByComponent() 248 const auto currEntity = curNode->GetEntity(); in IsAncestorOf() 268 Entity GetEntity() const override in GetEntity() function in NodeSystem::SceneNode 303 nodeAccess_.SetParent(node.GetEntity(), *this); in AddChild() 314 nodeAccess_.SetParent(node.GetEntity(), *this); in InsertChild() 763 const auto newParent = node.GetEntity(); in SetParent() 833 auto entity = nodeComponentManager_.GetEntity(i); in Refresh() 1076 nodes.push_back(node.GetEntity()); in CloneNode() 1139 const auto entity = destroy->GetEntity(); in DestroyNode() 1144 entityManager.Destroy(destroy->GetEntity()); in DestroyNode() [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESMatchingSkillsTest/ |
H A D | actsCESMatchingSkillsTest.cpp | 77 EXPECT_EQ(entity, matchingSkills.GetEntity(0)); 79 EXPECT_EQ(false, entity == matchingSkills.GetEntity(1000)); 120 EXPECT_EQ(entity, matchingSkills.GetEntity(0)); 122 EXPECT_EQ(false, entity == matchingSkills.GetEntity(1000)); 163 EXPECT_EQ(entity, matchingSkills.GetEntity(0)); 165 EXPECT_EQ(false, entity == matchingSkills.GetEntity(1000)); 166 EXPECT_EQ(true, "" == matchingSkills.GetEntity(1000)); 218 EXPECT_EQ(entity, matchingSkills.GetEntity(0)); 221 EXPECT_EQ(true, "" == matchingSkills.GetEntity(1000)); 288 EXPECT_EQ(entityRemove, matchingSkills.GetEntity(1)); [all …]
|
/ohos5.0/base/notification/common_event_service/frameworks/native/test/unittest/ |
H A D | matching_skills_test.cpp | 73 EXPECT_EQ(entity, matchSkills.GetEntity(0)); 75 EXPECT_EQ(false, entity == matchSkills.GetEntity(MAX_COUNT)); 240 EXPECT_EQ("", matchSkills.GetEntity(index)); 258 EXPECT_EQ("", matchSkills.GetEntity(index)); 276 EXPECT_EQ("event.unit.test", matchSkills.GetEntity(index));
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_ecs_object.h | 40 virtual CORE_NS::Entity GetEntity() const = 0; 68 virtual CORE_NS::Entity GetEntity() const = 0;
|
H A D | intf_ecs_animation.h | 32 virtual CORE_NS::Entity GetEntity() const = 0; in SCENE_BEGIN_NAMESPACE() 55 virtual CORE_NS::Entity GetEntity() const = 0;
|
H A D | intf_entity_collection.h | 67 virtual CORE_NS::EntityReference GetEntity(size_t collectionIndex) const = 0; in SCENE_BEGIN_NAMESPACE() 68 virtual CORE_NS::EntityReference GetEntity(BASE_NS::string_view localContextId) const = 0; in SCENE_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/entity/ |
H A D | entity_factory.h | 39 WifiDirectEntity& GetEntity(InnerLink::LinkType type) in GetEntity() function
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | uri_lookup.cpp | 40 if (Entity entity = uriManager.GetEntity(i); entityManager.IsAlive(entity)) { in LookupResourceByUri()
|