Home
last modified time | relevance | path

Searched refs:featureName (Results 1 - 8 of 8) sorted by relevance

/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dservice.c134 FeatureImpl *DEFAULT_GetFeature(ServiceImpl *serviceImpl, const char *featureName) in DEFAULT_GetFeature() argument
136 if (serviceImpl == NULL || featureName == NULL) { in DEFAULT_GetFeature()
140 short pos = VECTOR_FindByKey(&(serviceImpl->features), (void *)featureName); in DEFAULT_GetFeature()
165 Feature *DEFAULT_DeleteFeature(ServiceImpl *serviceImpl, const char *featureName) in DEFAULT_DeleteFeature() argument
167 if (serviceImpl == NULL || featureName == NULL) { in DEFAULT_DeleteFeature()
171 int16 pos = VECTOR_FindByKey(&(serviceImpl->features), (void *)featureName); in DEFAULT_DeleteFeature()
H A Dservice_impl.h67 FeatureImpl *DEFAULT_GetFeature(ServiceImpl *serviceImpl, const char *featureName);
68 Feature *DEFAULT_DeleteFeature(ServiceImpl *serviceImpl, const char *featureName);
H A Dsamgr_lite.c38 static Feature *UnregisterFeature(const char *serviceName, const char *featureName);
300 static Feature *UnregisterFeature(const char *serviceName, const char *featureName) in UnregisterFeature() argument
306 return DEFAULT_DeleteFeature(serviceImpl, featureName); in UnregisterFeature()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dfeature_test.cpp60 std::string featureName = "MockFeature"; in HWTEST_F() local
65 int32_t result = featureSystem.RegisterCreator(featureName, creator); in HWTEST_F()
68 FeatureSystem::Creator registeredCreator = featureSystem.GetCreator(featureName); in HWTEST_F()
/foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr/
H A Dsamgr_lite.h147 * @param featureName Indicates the name of the feature to be unregistered.
155 Feature *(*UnregisterFeature)(const char *serviceName, const char *featureName);
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/include/
H A Dsocperf_plugin.h63 bool InitFeatureSwitch(std::string featureName);
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/test/fuzztest/socperfplugin_fuzzer/
H A Dsocperfplugin_fuzzer.cpp208 std::string featureName(reinterpret_cast<const char *>(data), size); in TestFeatureInit()
209 OHOS::ResourceSchedule::SocPerfPlugin::GetInstance().InitFeatureSwitch(featureName); in TestFeatureInit()
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/src/
H A Dsocperf_plugin.cpp276 bool SocPerfPlugin::InitFeatureSwitch(std::string featureName) in InitFeatureSwitch() argument
281 if (sub.name == featureName) { in InitFeatureSwitch()

Completed in 6 milliseconds