Lines Matching defs:feature
21 #include "feature.h"
52 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(const Feature *feature, const Request *request);
75 HILOG_INFO(HILOG_MODULE_APP, "Init pms lite feature success");
79 static const char *GetName(Feature *feature)
81 (void)feature;
85 static void OnInitialize(Feature *feature, Service *parent, Identity identity)
88 if (feature == NULL) {
91 PermLite *permlite = (PermLite *)feature;
93 HILOG_INFO(HILOG_MODULE_APP, "onInitialize pms lite feature");
96 static void OnStop(Feature *feature, Identity identity)
98 (void)feature;
102 static BOOL OnMessage(const Feature *feature, const Request *request)
104 if (feature == NULL || request == NULL) {