Home
last modified time | relevance | path

Searched refs:entity (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
H A Dbtm_wl.c47 if (entity != NULL) { in BtmAllocWhiteListEntity()
51 return entity; in BtmAllocWhiteListEntity()
56 MEM_MALLOC.free(entity); in BtmFreeWhiteListEntity()
69 entity = NULL; in BtmFindWhiteListEntityByType()
74 return entity; in BtmFindWhiteListEntityByType()
98 entity = NULL; in BtmFindWhiteListEntity()
103 return entity; in BtmFindWhiteListEntity()
116 if (entity != NULL) { in BtmAddDeviceToWhiteList()
122 if (entity != NULL) { in BtmAddDeviceToWhiteList()
134 if (entity == NULL) { in BtmAddDeviceToWhiteList()
[all …]
H A Dbtm_inq_db.c35 if (entity != NULL) { in BtmAllocInquiryDBEntity()
36 entity->addr = *addr; in BtmAllocInquiryDBEntity()
37 entity->inquiryInfo = *info; in BtmAllocInquiryDBEntity()
39 return entity; in BtmAllocInquiryDBEntity()
44 MEM_MALLOC.free(entity); in BtmFreeInquiryDBEntiry()
67 if (entity != NULL) { in BtmFindInquiryEntiryByAddress()
71 entity = NULL; in BtmFindInquiryEntiryByAddress()
75 return entity; in BtmFindInquiryEntiryByAddress()
85 if (entity != NULL) { in BtmAssignOrUpdateInquiryInfo()
89 if (entity != NULL) { in BtmAssignOrUpdateInquiryInfo()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dentity_collection.cpp145 if (entity == *entityRef) { in RemoveEntityRecursive()
177 AddEntities({ &entity, 1 }); in AddEntity()
184 if (entity != Entity {}) { in AddEntities()
237 RemoveEntity(entity); in RemoveEntities()
243 namedEntities_[id] = entity; in SetId()
258 auto ret = GetId(entity); in GetIdRecursive()
333 if (entity != Entity {}) { in GetSubCollectionIndexByRoot()
433 if (it == entity) { in Contains()
450 if (it == entity) { in IsExternal()
459 if (entity == Entity {}) { in isSubCollectionRoot()
[all …]
H A Dscene_holder.cpp571 return entity; in CreateCamera()
616 if (camera->entity == entity) { in SetMainCamera()
641 if (c->entity == entity) { in AddCamera()
652 return item->entity == entity; in RemoveCamera()
982 entity = mesh.entity; in FindMesh()
1036 entity = material.entity; in FindMaterial()
1045 entity = material.entity; in FindMaterial()
1108 entity = animation.entity; in FindAnimation()
1248 return entity; in CreatePostProcess()
1260 return entity; in CreateRenderConfiguration()
[all …]
H A Decs_listener.h88 auto& vec = entities_[entity.id]; in SCENE_BEGIN_NAMESPACE()
121 if (obj->entity.Compare(object) && obj->cm == &manager) { in SCENE_BEGIN_NAMESPACE()
131 entities_.erase(entity.id); in SCENE_BEGIN_NAMESPACE()
145 if (const auto& entity = entities_.find(e.id); entity != entities_.cend()) { in SCENE_BEGIN_NAMESPACE() local
148 auto keepAlive = entity->second; in SCENE_BEGIN_NAMESPACE()
151 if (auto proxy = object->entity.lock()) { in SCENE_BEGIN_NAMESPACE()
178 if (const auto& entity = entities_.find(e.id); entity != entities_.cend()) { in SCENE_BEGIN_NAMESPACE() local
181 auto keepAlive = entity->second; in SCENE_BEGIN_NAMESPACE()
184 if (auto proxy = object->entity.lock()) { in SCENE_BEGIN_NAMESPACE()
205 CORE_NS::IComponentManager& cm, IEcsProxyObject::WeakPtr entity) in SCENE_BEGIN_NAMESPACE()
[all …]
H A Dentity_collection.h63 void RemoveEntityRecursive(CORE_NS::Entity entity) override; in SCENE_BEGIN_NAMESPACE()
65 void SetId(BASE_NS::string_view id, CORE_NS::EntityReference entity) override; in SCENE_BEGIN_NAMESPACE()
66 BASE_NS::string_view GetId(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE()
67 BASE_NS::string_view GetIdRecursive(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE()
70 BASE_NS::string_view GetUniqueIdentifier(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE()
71 BASE_NS::string_view GetUniqueIdentifierRecursive(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE()
77 int32_t GetSubCollectionIndexByRoot(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE()
87 bool Contains(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE()
88 bool IsExternal(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE()
89 bool isSubCollectionRoot(CORE_NS::Entity entity) const override; in SCENE_BEGIN_NAMESPACE()
[all …]
H A Dscene_holder.h218 BASE_NS::string GetResourceId(CORE_NS::Entity entity);
287 void EnableLayerComponent(CORE_NS::Entity entity);
290 void EnableLightComponent(CORE_NS::Entity entity);
314 void DestroyEntity(CORE_NS::Entity entity);
385 void ReleaseOwnership(CORE_NS::Entity entity);
389 static Ptr Create(const CORE_NS::Entity& entity) in Create()
391 return Ptr { new CameraData(entity) }; in Create()
394 CORE_NS::Entity entity; member
481 void AddCamera(const CORE_NS::Entity& entity);
482 void RemoveCamera(const CORE_NS::Entity& entity);
[all …]
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESMatchingSkillsTest/
H A DactsCESMatchingSkillsTest.cpp69 std::string entity = "entity"; variable
1000 want.AddEntity(entity);
1012 want.RemoveEntity(entity);
1036 want.AddEntity(entity);
1047 want.RemoveEntity(entity);
1070 want.AddEntity(entity);
1081 want.RemoveEntity(entity);
1104 want.AddEntity(entity);
1115 want.RemoveEntity(entity);
1138 want.AddEntity(entity);
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Dnode_system.cpp189 SceneNode(Entity entity, NodeAccess& nodeAccess) : entity_(entity), nodeAccess_(nodeAccess) {} in SceneNode() argument
723 auto node = GetNode(entity); in SetEnabled()
785 auto pos = lookUp_.find(entity); in GetNode()
1046 if (EntityUtil::IsValid(entity)) { in GetNode()
1050 return cache_->GetNode(entity); in GetNode()
1059 nodeManager_.Create(entity); in CreateNode()
1060 nameManager_.Create(entity); in CreateNode()
1061 transformManager_.Create(entity); in CreateNode()
1062 localMatrixManager_.Create(entity); in CreateNode()
1063 worldMatrixManager_.Create(entity); in CreateNode()
[all …]
H A Dskinning_system.cpp364 !EntityUtil::IsValid(entity)) { in CreateInstance()
376 skinManager_.Create(entity); in CreateInstance()
377 skinJointsManager_.Create(entity); in CreateInstance()
384 skinComponent.skinRoot = entity; in CreateInstance()
409 … joints.begin(), joints.end(), [](const Entity& entity) { return EntityUtil::IsValid(entity); })) { in CreateInstance() argument
421 skinManager_.Create(entity); in CreateInstance()
424 skinHandle->skinRoot = entity; in CreateInstance()
428 skinJointsManager_.Create(entity); in CreateInstance()
439 jointMatricesManager_.Create(entity); in CreateInstance()
445 skinManager_.Destroy(entity); in DestroyInstance()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/
H A Dpost_process_configuration_component_manager.cpp151 void Create(Entity entity) override;
152 bool Destroy(Entity entity) override;
180 void Updated(Entity entity);
379 if (CORE_NS::EntityUtil::IsValid(entity)) { in Create()
383 added_.push_back(entity); in Create()
400 if (CORE_NS::EntityUtil::IsValid(entity)) { in Destroy()
404 removed_.push_back(entity); in Destroy()
580 if (auto handle = Read(entity); handle) { in Get()
601 added_.push_back(entity); in Set()
619 Entity entity) const in Read()
[all …]
H A Dmaterial_component_manager.cpp321 void Create(Entity entity) override;
322 bool Destroy(Entity entity) override;
350 void Updated(Entity entity);
593 if (CORE_NS::EntityUtil::IsValid(entity)) { in GetComponentId()
603 if (CORE_NS::EntityUtil::IsValid(entity)) { in Create()
607 added_.push_back(entity); in Create()
624 if (CORE_NS::EntityUtil::IsValid(entity)) { in Destroy()
628 removed_.push_back(entity); in Destroy()
800 if (auto handle = Read(entity); handle) { in Get()
822 added_.push_back(entity); in Set()
[all …]
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.38/
H A Dchangelogs-arkts.md11entity reference event as a text event, and the parsed content is integrated into the text event. …
17entity reference event is parsed into a text event. You cannot perform operations on the entity re…
19entity reference event is parsed as an entity reference event. You can perform operations on the e…
35 If the XML file does not involve entity reference events, no adaptation is required.
40 …p;happy&amp;</note>'; // The first entity reference "&amp;" is an entity reference event, and t…
61 key: 9 (entity reference event): value: &
65entity reference event, use API version 12 or later and strictly comply with the entity reference …
67 If you do not need to use entity reference events, add regular text before the entity reference in …
71 Currently, only the following entity reference events corresponding to the five predefined entities…
80 In addition, if regular text exists before an entity reference, they are treated as a text event as…
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/
H A Dintf_entity_collection.h75 virtual void RemoveEntityRecursive(CORE_NS::Entity entity) = 0; in SCENE_BEGIN_NAMESPACE()
76 virtual void SetId(BASE_NS::string_view id, CORE_NS::EntityReference entity) = 0; in SCENE_BEGIN_NAMESPACE()
77 virtual BASE_NS::string_view GetId(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE()
78 virtual BASE_NS::string_view GetIdRecursive(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE()
81 virtual BASE_NS::string_view GetUniqueIdentifier(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE()
82 virtual BASE_NS::string_view GetUniqueIdentifierRecursive(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE()
89 virtual int32_t GetSubCollectionIndexByRoot(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE()
100 virtual bool Contains(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE()
101 virtual bool IsExternal(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE()
102 virtual bool isSubCollectionRoot(CORE_NS::Entity entity) const = 0; in SCENE_BEGIN_NAMESPACE()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/acl/
H A Dhci_acl.c138 if (entity != NULL) { in AllocTxPacketsEntity()
141 return entity; in AllocTxPacketsEntity()
248 return entity; in FindTxPacketsEntityByConnectionHandle()
264 return entity; in FindLeTxPacketsEntityByConnectionHandle()
270 if (entity == NULL) { in HciAddTxAclPacket()
275 if (entity != NULL) { in HciAddTxAclPacket()
276 entity->count++; in HciAddTxAclPacket()
283 if (entity != NULL) { in HciOnAclPacketComplete()
291 if (entity == NULL) { in HciAddTxLePacket()
296 if (entity != NULL) { in HciAddTxLePacket()
[all …]
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
H A Dfirst_use_dialog_test.cpp376 EXPECT_EQ(diag.SetFirstUseMap(entity), false);
381 entity->tokenId_ = 0;
382 EXPECT_EQ(diag.SetFirstUseMap(entity), true);
386 entity->componentInfo_->type_ = SAVE_COMPONENT;
387 EXPECT_EQ(diag.SetFirstUseMap(entity), true);
391 EXPECT_EQ(diag.SetFirstUseMap(entity), true);
433 entity->tokenId_ = 0;
439 entity->componentInfo_->type_ = SAVE_COMPONENT;
470 diag.dialogWaitMap_[0] = entity;
480 diag.dialogWaitMap_[1] = entity;
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/
H A Dentity_manager.cpp176 if (EntityUtil::IsValid(entity)) { in GetReferenceCounted()
185 return { entity, e.counter }; in GetReferenceCounted()
198 void EntityManager::Destroy(const Entity entity) in Destroy() argument
200 if (EntityUtil::IsValid(entity)) { in Destroy()
207 removedList_.push_back(entity); in Destroy()
221 removedList_.push_back(entity); in DestroyAllEntities()
232 if (EntityUtil::IsValid(entity)) { in IsAlive()
233 const uint32_t id = GetId(entity); in IsAlive()
293 if (EntityUtil::IsValid(entity)) { in SetActive()
307 uint32_t id = GetId(entity); in SetActive()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_bigint_test.cpp97 RowEntity entity; variable
106 value = entity.Get("value2");
131 RowEntity entity; variable
140 value = entity.Get("value2");
167 RowEntity entity; variable
176 value = entity.Get("value2");
239 RowEntity entity; variable
281 RowEntity entity; variable
323 RowEntity entity; variable
367 RowEntity entity; variable
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/ComponentTools/
H A Dbase_manager.inl114 if (EntityUtil::IsValid(entity)) {
125 if (EntityUtil::IsValid(entity)) {
129 added_.push_back(entity);
143 if (EntityUtil::IsValid(entity)) {
147 removed_.push_back(entity);
166 // invalid entity.. if so clean garbage
263 if (EntityUtil::IsValid(entity)) {
276 if (EntityUtil::IsValid(entity)) {
358 if (EntityUtil::IsValid(entity)) {
362 added_.push_back(entity);
[all …]
H A Dbase_manager.h62 bool HasComponent(Entity entity) const override;
64 void Create(Entity entity) override;
65 bool Destroy(Entity entity) override;
75 const IPropertyHandle* GetData(Entity entity) const override;
76 IPropertyHandle* GetData(Entity entity) override;
84 ComponentType Get(Entity entity) const override;
86 void Set(Entity entity, const ComponentType& aData) override;
88 ScopedHandle<const ComponentType> Read(Entity entity) const override;
90 ScopedHandle<ComponentType> Write(Entity entity) override;
93 void Updated(Entity entity);
[all …]
H A Dcomponent_query.cpp102 if (const Entity entity = baseComponentSet.GetEntity(id); em.IsAlive(entity)) { in Execute() local
104 row.entity = entity; in Execute()
114 … manager ? manager->GetComponentId(entity) : IComponentManager::INVALID_COMPONENT_ID; in Execute()
137 mapping_[entity] = index; in Execute()
176 const ComponentQuery::ResultRow* ComponentQuery::FindResultRow(Entity entity) const in FindResultRow()
178 if (EntityUtil::IsValid(entity)) { in FindResultRow()
179 const auto it = mapping_.find(entity); in FindResultRow()
224 for (const auto& entity : entities) { in OnEntityEvent() local
231 if (managers_[i] && !managers_[i]->HasComponent(entity)) { in OnEntityEvent()
246 for (const auto& entity : entities) { in OnEntityEvent() local
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/
H A Drender_handle_component.h53 …virtual RENDER_NS::RenderHandleReference GetRenderHandleReference(CORE_NS::Entity entity) const = … in BEGIN_COMPONENT()
64 virtual RENDER_NS::RenderHandle GetRenderHandle(CORE_NS::Entity entity) const = 0;
87 …CORE_NS::EntityReference entity = entityMgr.GetReferenceCounted(rhcMgr.GetEntityWithReference(hand… local
88 if (!entity) {
89 entity = entityMgr.CreateReferenceCounted();
90 rhcMgr.Create(entity);
91 rhcMgr.Write(entity)->reference = handle;
93 return entity;
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/
H A Dintf_component_manager.h94 virtual bool HasComponent(Entity entity) const = 0;
99 virtual IComponentManager::ComponentId GetComponentId(Entity entity) const = 0;
104 virtual void Create(Entity entity) = 0;
109 virtual bool Destroy(Entity entity) = 0;
150 virtual void SetData(Entity entity, const IPropertyHandle& data) = 0;
155 virtual const IPropertyHandle* GetData(Entity entity) const = 0;
160 virtual IPropertyHandle* GetData(Entity entity) = 0;
207 inline auto CreateComponent(T& componentManager, const Entity& entity) in CreateComponent() argument
209 componentManager.Create(entity); in CreateComponent()
210 return componentManager.Get(entity); in CreateComponent()
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_matching_skill.cpp39 std::string entity(""); in GetEntity() local
40 return entity; in GetEntity()
43 void MatchingSkills::AddEntity(const std::string& entity) in AddEntity() argument
45 (void)entity; in AddEntity()
48 bool MatchingSkills::HasEntity(const std::string& entity) const in HasEntity()
50 (void)entity; in HasEntity()
54 void MatchingSkills::RemoveEntity(const std::string& entity) in RemoveEntity() argument
56 (void)entity; in RemoveEntity()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dimporter.cpp299 if (auto arr = interface_cast<IArrayAny>(&entity)) { in ImportBuiltinValue()
302 if (entity.GetTypeId() == UidFromType<float>()) { in ImportBuiltinValue()
317 entity.SetValue(SharedPtrIInterface {}); in ImportPointer()
320 if (auto intf = GetPointer(entity)) { in ImportPointer()
351 if (entity.CopyFrom(*any)) { in ImportValue()
358 if (ImportBuiltinValue(n, entity)) { in ImportValue()
361 if (IsGetCompatibleWith<SharedPtrConstIInterface>(entity)) { in ImportValue()
362 return ImportPointer(n, entity); in ImportValue()
436 return ImportValue(node, entity); in ImportFromNode()
448 return importer_.ImportValue(n, entity); in Import()
[all …]

12345678910>>...23