Home
last modified time | relevance | path

Searched refs:feature (Results 1 – 25 of 35) sorted by relevance

12

/base/powermgr/powermgr_lite/services/src/
Dscreen_saver_feature.c27 const char *GetScreenSaverFeatureName(Feature *feature) in GetScreenSaverFeatureName() argument
29 (void)feature; in GetScreenSaverFeatureName()
33 void OnScreenSaverFeatureInitialize(Feature *feature, Service *parent, Identity identity) in OnScreenSaverFeatureInitialize() argument
35 if (feature == NULL) { in OnScreenSaverFeatureInitialize()
40 ScreenSaverFeature *f = (ScreenSaverFeature *)feature; in OnScreenSaverFeatureInitialize()
46 void OnScreenSaverFeatureStop(Feature *feature, Identity identity) in OnScreenSaverFeatureStop() argument
48 (void)feature; in OnScreenSaverFeatureStop()
58 BOOL OnScreenSaverFeatureMessage(Feature *feature, Request *request) in OnScreenSaverFeatureMessage() argument
60 return ((feature != NULL) && (request != NULL)) ? TRUE : FALSE; in OnScreenSaverFeatureMessage()
77 ScreenSaverFeature *feature = GetScreenSaverFeatureImpl(); in Init() local
[all …]
Dpower_manage_feature.c27 const char *GetPowerManageFeatureName(Feature *feature) in GetPowerManageFeatureName() argument
29 (void)feature; in GetPowerManageFeatureName()
33 void OnPowerManageFeatureInitialize(Feature *feature, Service *parent, Identity identity) in OnPowerManageFeatureInitialize() argument
35 if (feature == NULL) { in OnPowerManageFeatureInitialize()
40 PowerManageFeature *f = (PowerManageFeature *)feature; in OnPowerManageFeatureInitialize()
45 void OnPowerManageFeatureStop(Feature *feature, Identity identity) in OnPowerManageFeatureStop() argument
47 (void)feature; in OnPowerManageFeatureStop()
57 BOOL OnPowerManageFeatureMessage(Feature *feature, Request *request) in OnPowerManageFeatureMessage() argument
59 return ((feature != NULL) && (request != NULL)) ? TRUE : FALSE; in OnPowerManageFeatureMessage()
108 PowerManageFeature *feature = GetPowerManageFeatureImpl(); in Init() local
[all …]
/base/security/permission/services/permission_lite/ipc_auth/src/
Dipc_auth_lite.c29 static const char *GetName(Feature *feature);
30 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
31 static void OnStop(Feature *feature, Identity identity);
32 static BOOL OnMessage(Feature *feature, Request *request);
54 static const char *GetName(Feature *feature) in GetName() argument
56 (void)feature; in GetName()
60 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
63 if (feature == NULL) { in OnInitialize()
66 IpcAuthLite *authLite = (IpcAuthLite *)feature; in OnInitialize()
71 static void OnStop(Feature *feature, Identity identity) in OnStop() argument
[all …]
/base/security/permission/services/permission_lite/pms/src/
Dpms_inner.c28 static const char *GetName(Feature *feature);
29 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
30 static void OnStop(Feature *feature, Identity identity);
31 static BOOL OnMessage(Feature *feature, Request *request);
58 static const char *GetName(Feature *feature) in GetName() argument
60 (void)feature; in GetName()
64 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
67 if (feature == NULL) { in OnInitialize()
70 PmsInner *permlite = (PmsInner *)feature; in OnInitialize()
74 static void OnStop(Feature *feature, Identity identity) in OnStop() argument
[all …]
Dpms_server.c52 static const char *GetName(Feature *feature);
53 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
54 static void OnStop(Feature *feature, Identity identity);
55 static BOOL OnMessage(Feature *feature, Request *request);
79 static const char *GetName(Feature *feature) in GetName() argument
81 (void)feature; in GetName()
85 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
88 if (feature == NULL) { in OnInitialize()
91 PermLite *permlite = (PermLite *)feature; in OnInitialize()
96 static void OnStop(Feature *feature, Identity identity) in OnStop() argument
[all …]
Dpms_server_internal.c61 static const char *GetName(Feature *feature);
62 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
63 static void OnStop(Feature *feature, Identity identity);
64 static BOOL OnMessage(Feature *feature, Request *request);
92 static const char *GetName(Feature *feature) in GetName() argument
94 (void)feature; in GetName()
98 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
101 if (feature == NULL) { in OnInitialize()
104 InnerPermLite *permlite = (InnerPermLite *)feature; in OnInitialize()
109 static void OnStop(Feature *feature, Identity identity) in OnStop() argument
[all …]
/base/powermgr/battery_lite/services/src/
Dbattery_manage_feature.c24 const char *GetFeatureName(Feature *feature) in GetFeatureName() argument
26 (void)feature; in GetFeatureName()
30 void OnFeatureInitialize(Feature *feature, Service *parent, Identity identity) in OnFeatureInitialize() argument
32 (void)feature; in OnFeatureInitialize()
36 void OnFeatureStop(Feature *feature, Identity identity) in OnFeatureStop() argument
38 (void)feature; in OnFeatureStop()
42 BOOL OnFeatureMessage(Feature *feature, Request *request) in OnFeatureMessage() argument
44 return ((feature != NULL) && (request != NULL)) ? TRUE : FALSE; in OnFeatureMessage()
120 BatteryFeatureApi *feature = GetBatteryFeatureImpl(); in GInit() local
121 if (feature == NULL) { in GInit()
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
Dhks_samgr_service_feature.c19 static const char *FEATURE_GetName(Feature *feature);
20 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity);
21 static void FEATURE_OnStop(Feature *feature, Identity identity);
22 static BOOL FEATURE_OnMessage(Feature *feature, Request *request);
35 static const char *FEATURE_GetName(Feature *feature) in FEATURE_GetName() argument
37 (void)feature; in FEATURE_GetName()
41 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument
43 if (feature == NULL) { in FEATURE_OnInitialize()
46 HksMgrFeature *hksMgrFeature = (HksMgrFeature *)feature; in FEATURE_OnInitialize()
51 static void FEATURE_OnStop(Feature *feature, Identity identity) in FEATURE_OnStop() argument
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/segment_analysis/
Dsegment_analysis.cpp33 bool SegmentAnalysis::Analyze(const string& logFile, const ParamFeature& feature, in Analyze() argument
36 if (!CheckParam(feature, startSeg)) { in Analyze()
41 logFile.c_str(), feature.size(), startSeg[0].c_str()); in Analyze()
43 RecordLayerOneSegment(feature); in Analyze()
108 void SegmentAnalysis::RecordLayerOneSegment(const ParamFeature& feature) in RecordLayerOneSegment() argument
119 auto iter = find_if(begin(feature), end(feature), isFirst); in RecordLayerOneSegment()
120 while (iter != end(feature)) { in RecordLayerOneSegment()
128 if (iter != end(feature) && in RecordLayerOneSegment()
140 auto iterNext = find_if(iter, end(feature), isNext); in RecordLayerOneSegment()
141 RecordOtherSegment(feature, id, iter, iterNext); in RecordLayerOneSegment()
Dsegment_analysis_onelayer.cpp26 bool SegmentAnalysisOneLayer::CheckParam(const ParamFeature& feature, const vector<string>& startSe… in CheckParam() argument
28 if (startSeg.size() != 1 || feature.size() == 0) { in CheckParam()
29 …OGE("startSeg size: %{public}zu, ParamFeature size: %{public}zu", startSeg.size(), feature.size()); in CheckParam()
Dsegment_analysis_twolayers.cpp40 bool SegmentAnalysisTwoLayers::CheckParam(const ParamFeature& feature, const vector<string>& startS… in CheckParam() argument
42 if (startSeg.size() != 2 || feature.size() == 0) { // 2: size of startSeg vector in CheckParam()
43 …OGE("startSeg size: %{public}zu, ParamFeature size: %{public}zu", startSeg.size(), feature.size()); in CheckParam()
122 void SegmentAnalysisTwoLayers::RecordLayerTwoSegment(const ParamFeature& feature, in RecordLayerTwoSegment() argument
152 void SegmentAnalysisTwoLayers::RecordIpcSegment(const ParamFeature& feature) in RecordIpcSegment() argument
158 auto iter = find_if(begin(feature), end(feature), isEqual); in RecordIpcSegment()
159 if (iter != end(feature)) { in RecordIpcSegment()
167 void SegmentAnalysisTwoLayers::RecordOtherSegment(const ParamFeature& feature, in RecordOtherSegment() argument
196 RecordLayerTwoSegment(feature, begin, end); in RecordOtherSegment()
197 RecordIpcSegment(feature); in RecordOtherSegment()
/base/powermgr/powermgr_lite/services/include/
Dscreen_saver_feature.h30 const char *GetScreenSaverFeatureName(Feature *feature);
31 void OnScreenSaverFeatureInitialize(Feature *feature, Service *parent, Identity identity);
32 void OnScreenSaverFeatureStop(Feature *feature, Identity identity);
33 BOOL OnScreenSaverFeatureMessage(Feature *feature, Request *request);
Dpower_manage_feature.h30 const char *GetPowerManageFeatureName(Feature *feature);
31 void OnPowerManageFeatureInitialize(Feature *feature, Service *parent, Identity identity);
32 void OnPowerManageFeatureStop(Feature *feature, Identity identity);
33 BOOL OnPowerManageFeatureMessage(Feature *feature, Request *request);
/base/hiviewdfx/hiview/utility/smart_parser/
Dsmart_parser.cpp45 FeatureAnalysis feature(featureSets[composeRule.first], composeRule.second, eventType); in Analysis() local
46 if (feature.AnalysisLog()) { in Analysis()
47feature.SegmentAnalysis(featureSets[composeRule.first], feature.GetParamSeekRecord(), segStatusCfg… in Analysis()
48 auto result = feature.GetReasult(); in Analysis()
/base/powermgr/battery_lite/services/include/
Dbattery_manage_feature.h40 const char *GetFeatureName(Feature *feature);
41 void OnFeatureStop(Feature *feature, Identity identity);
42 BOOL OnFeatureMessage(Feature *feature, Request *request);
43 void OnFeatureInitialize(Feature *feature, Service *parent, Identity identity);
/base/startup/bootstrap_lite/services/source/
Dbootstrap_service.h82 #pragma section = APP_NAME(feature, 0)
83 #pragma section = APP_NAME(feature, 1)
84 #pragma section = APP_NAME(feature, 2)
85 #pragma section = APP_NAME(feature, 3)
86 #pragma section = APP_NAME(feature, 4)
Dcore_main.h91 #pragma section = SYS_NAME(feature, 0)
92 #pragma section = SYS_NAME(feature, 1)
93 #pragma section = SYS_NAME(feature, 2)
94 #pragma section = SYS_NAME(feature, 3)
95 #pragma section = SYS_NAME(feature, 4)
Dsystem_init.c25 SYS_INIT(feature); in OHOS_SystemInit()
/base/hiviewdfx/hiview/utility/smart_parser/segment_analysis/include/
Dsegment_analysis.h50 bool Analyze(const std::string& logFile, const ParamFeature& feature,
62 void RecordLayerOneSegment(const ParamFeature& feature);
63 …virtual bool CheckParam(const ParamFeature& feature, const std::vector<std::string>& startSeg) con…
64 virtual void RecordOtherSegment(const ParamFeature& feature,
Dsegment_analysis_onelayer.h34 …bool CheckParam(const ParamFeature& feature, const std::vector<std::string>& startSeg) const overr…
35 void RecordOtherSegment(const ParamFeature& feature, in RecordOtherSegment() argument
Dsegment_analysis_twolayers.h62 …bool CheckParam(const ParamFeature& feature, const std::vector<std::string>& startSeg) const overr…
63 void RecordOtherSegment(const ParamFeature& feature,
83 …void RecordLayerTwoSegment(const ParamFeature& feature, ParamFeatureIter begin, ParamFeatureIter e…
84 void RecordIpcSegment(const ParamFeature& feature);
/base/security/permission/services/permission_lite/ipc_auth/include/
Dpolicy_define.h30 char *feature; member
66 char *feature; member
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dprovision_verify_test.cpp54 "app-feature": "hos_normal_app"
73 "app-feature": "hos_normal_app"
94 "app-feature": "hos_normal_app"
114 "app-feature": "hos_normal_app"
139 "app-feature": "hos_normal_app"
162 "app-feature": "hos_normal_app"
186 "app-feature": "hos_normal_app"
337 "app-feature": "hos_normal_app"
418 "app-feature": "hos_normal_app"
/base/powermgr/powermgr_lite/frameworks/src/small/
Dpower_screen_saver.c41 static void *CreatClient(const char *service, const char *feature, uint32_t size) in CreatClient() argument
44 (void)feature; in CreatClient()
63 static void DestroyClient(const char *service, const char *feature, void *iproxy) in DestroyClient() argument
/base/security/permission/services/permission_lite/pms_client/
Dperm_client.c90 void *CreatClient(const char *service, const char *feature, uint32 size) in CreatClient() argument
93 (void)feature; in CreatClient()
115 void DestroyClient(const char *service, const char *feature, void *iproxy) in DestroyClient() argument
118 (void)feature; in DestroyClient()
149 void *CreatInnerClient(const char *service, const char *feature, uint32 size) in CreatInnerClient() argument
152 (void)feature; in CreatInnerClient()
178 void DestroyInnerClient(const char *service, const char *feature, void *iproxy) in DestroyInnerClient() argument
181 (void)feature; in DestroyInnerClient()

12