Home
last modified time | relevance | path

Searched refs:typeInfo (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_manager.cpp58 void RenderNodeManager::AddRenderNodeFactory(const RenderNodeTypeInfo& typeInfo) in AddRenderNodeFactory() argument
60 if (typeInfo.createNode && typeInfo.destroyNode) { in AddRenderNodeFactory()
61 factories_.insert({ typeInfo.typeName, typeInfo }); in AddRenderNodeFactory()
64 PLUGIN_ASSERT(typeInfo.createNode && "createNode cannot be null"); in AddRenderNodeFactory()
65 PLUGIN_ASSERT(typeInfo.destroyNode && "destroyNode cannot be null"); in AddRenderNodeFactory()
69 void RenderNodeManager::RemoveRenderNodeFactory(const RenderNodeTypeInfo& typeInfo) in RemoveRenderNodeFactory() argument
71 factories_.erase(string_view(typeInfo.typeName)); in RemoveRenderNodeFactory()
H A Drender_node_manager.h54 void AddRenderNodeFactory(const RenderNodeTypeInfo& typeInfo);
55 void RemoveRenderNodeFactory(const RenderNodeTypeInfo& typeInfo);
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_manager.cpp234 void RenderDataStoreManager::AddRenderDataStoreFactory(const RenderDataStoreTypeInfo& typeInfo) in AddRenderDataStoreFactory() argument
239 if (typeInfo.createDataStore && typeInfo.destroyDataStore) { in AddRenderDataStoreFactory()
240 auto const dataStoreTypeHash = hash(typeInfo.uid); in AddRenderDataStoreFactory()
241 factories_.insert({ dataStoreTypeHash, typeInfo }); in AddRenderDataStoreFactory()
244 PLUGIN_ASSERT(typeInfo.createDataStore && "createDataStore cannot be null"); in AddRenderDataStoreFactory()
245 PLUGIN_ASSERT(typeInfo.destroyDataStore && "destroyDataStore cannot be null"); in AddRenderDataStoreFactory()
249 void RenderDataStoreManager::RemoveRenderDataStoreFactory(const RenderDataStoreTypeInfo& typeInfo) in RemoveRenderDataStoreFactory() argument
252 if (b->first->GetUid() == typeInfo.uid) { in RemoveRenderDataStoreFactory()
259 auto const dataStoreTypeHash = hash(typeInfo.uid); in RemoveRenderDataStoreFactory()
H A Drender_data_store_manager.h62 void AddRenderDataStoreFactory(const RenderDataStoreTypeInfo& typeInfo);
64 void RemoveRenderDataStoreFactory(const RenderDataStoreTypeInfo& typeInfo);
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/
H A Dimage_loader_manager.cpp47 …for (const auto* typeInfo : GetPluginRegister().GetTypeInfos(IImageLoaderManager::ImageLoaderTypeI… in ImageLoaderManager() local
48 if (typeInfo && (typeInfo->typeUid == IImageLoaderManager::ImageLoaderTypeInfo::UID)) { in ImageLoaderManager()
49 …nst auto* imageLoaderInfo = static_cast<const IImageLoaderManager::ImageLoaderTypeInfo*>(typeInfo); in ImageLoaderManager()
241 for (const auto* typeInfo : typeInfos) { in OnTypeInfoEvent() local
242 if (typeInfo && (typeInfo->typeUid == IImageLoaderManager::ImageLoaderTypeInfo::UID)) { in OnTypeInfoEvent()
243 …nst auto* imageLoaderInfo = static_cast<const IImageLoaderManager::ImageLoaderTypeInfo*>(typeInfo); in OnTypeInfoEvent()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_proxy_reminder.cpp266 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::INVALID); in ReadReminders() local
267 if (!reply.ReadUint8(typeInfo)) { in ReadReminders()
271 auto reminderType = static_cast<ReminderRequest::ReminderType>(typeInfo); in ReadReminders()
283 ANSR_LOGW("[GetValidReminders] type=%{public}hhu", typeInfo); in ReadReminders()
H A Dans_manager_stub.cpp1912 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::INVALID); in HandlePublishReminder() local
1913 if (!data.ReadUint8(typeInfo)) { in HandlePublishReminder()
1917 … ReminderRequest::ReminderType reminderType = static_cast<ReminderRequest::ReminderType>(typeInfo); in HandlePublishReminder()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/loader/
H A Dsystem_graph_loader.cpp316 const auto* typeInfo = FindTypeInfo<SystemTypeInfo>(typeName, systemMetadata); in ParseSystem() local
317 if (typeInfo) { in ParseSystem()
319 … if (!ResolveComponentDependencies(ecs, typeInfo->componentDependencies, componentMetadata)) { in ParseSystem()
323 …if (!ResolveComponentDependencies(ecs, typeInfo->readOnlyComponentDependencies, componentMetadata)… in ParseSystem()
329 ISystem* system = ecs.CreateSystem(*typeInfo); in ParseSystem()
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_file_manager_multiple_thread_test.cpp165 EXPECT_EQ(globalSourceList[0].typeInfo, ConstraintSourceType::CONSTRAINT_TYPE_DEVICE_OWNER); in TestIsFromGlobalOAConstraintsList()
208 EXPECT_EQ(globalSourceList[0].typeInfo, ConstraintSourceType::CONSTRAINT_TYPE_DEVICE_OWNER); in TestIsFromSpecificOAConstraintsList()
H A Dos_account_inner_account_mgr_mock.cpp81 return left.localId == right.localId && left.typeInfo == right.typeInfo; in operator ==()
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_info.h41 ConstraintSourceType typeInfo; member
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp1757 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 2);
1784 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 0);
1801 constraintSourceTypeInfos[0].localId, constraintSourceTypeInfos[0].typeInfo);
1803 constraintSourceTypeInfos[1].localId, constraintSourceTypeInfos[1].typeInfo);
1811 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 0);
1826 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 1);
1831 EXPECT_EQ(constraintSourceTypeInfos[0].typeInfo, 0);
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_control_file_manager.cpp1363 … constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_DEVICE_OWNER; in IsFromGlobalOAConstraintsList()
1367 … constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_PROFILE_OWNER; in IsFromGlobalOAConstraintsList()
1413 … constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_DEVICE_OWNER; in IsFromSpecificOAConstraintsList()
1417 … constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_PROFILE_OWNER; in IsFromSpecificOAConstraintsList()
H A Dinner_os_account_manager.cpp1173 constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_NOT_EXIST; in RetryToGetAccount()
1184 constraintSourceTypeInfo.typeInfo = ConstraintSourceType::CONSTRAINT_TYPE_BASE; in RetryToGetAccount()
H A Dos_account_stub.cpp1560 … if ((!reply.WriteInt32(constraintInfo.localId)) || (!reply.WriteInt32(constraintInfo.typeInfo))) { in ProcQueryOsAccountConstraintSourceTypes()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp3148 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::ALARM); variable
3154 data.WriteUint8(typeInfo);
3175 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::INVALID); variable
3179 data.WriteUint8(typeInfo);
3218 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::TIMER); variable
3224 data.WriteUint8(typeInfo);
3245 uint8_t typeInfo = static_cast<uint8_t>(ReminderRequest::ReminderType::CALENDAR); variable
3251 data.WriteUint8(typeInfo);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_data_manager.cpp757 std::string typeInfo = type == TIME_ZONE_CHANGE ? "timeZone" : "dateTime"; in RefreshRemindersDueToSysTimeChange() local
758 ANSR_LOGI("Refresh all reminders due to %{public}s changed by user", typeInfo.c_str()); in RefreshRemindersDueToSysTimeChange()
/ohos5.0/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account_proxy.cpp1315 constraintSrcInfo.typeInfo = static_cast<ConstraintSourceType>(reply.ReadInt32()); in QueryOsAccountConstraintSourceTypes()
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account_common.cpp949 napi_create_int32(env, item.typeInfo, &valToJs); in QueryOAContSrcTypeForResult()