/base/powermgr/powermgr_lite/services/src/ |
H A D | screen_saver_feature.c | 18 #include <feature.h> 27 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 37 if (feature == NULL) { in OnScreenSaverFeatureInitialize() 38 POWER_HILOGE("Invalid feature"); in OnScreenSaverFeatureInitialize() 42 ScreenSaverFeature *f = (ScreenSaverFeature *)feature; in OnScreenSaverFeatureInitialize() 45 POWER_HILOGI("Init screen saver feature done"); in OnScreenSaverFeatureInitialize() 48 void OnScreenSaverFeatureStop(Feature *feature, Identity identity) in OnScreenSaverFeatureStop() argument 50 (void)feature; in OnScreenSaverFeatureStop() 60 OnScreenSaverFeatureMessage(Feature *feature, Request *request) OnScreenSaverFeatureMessage() argument 79 ScreenSaverFeature *feature = GetScreenSaverFeatureImpl(); Init() local [all...] |
H A D | power_manage_feature.c | 18 #include <feature.h> 27 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() 36 POWER_HILOGE("Invalid feature"); in OnPowerManageFeatureInitialize() 40 PowerManageFeature *f = (PowerManageFeature *)feature; in OnPowerManageFeatureInitialize() 42 POWER_HILOGI("Init power manage feature done"); in OnPowerManageFeatureInitialize() 45 void OnPowerManageFeatureStop(Feature *feature, Identity identity) in OnPowerManageFeatureStop() argument 47 (void)feature; in OnPowerManageFeatureStop() 57 OnPowerManageFeatureMessage(Feature *feature, Request *request) OnPowerManageFeatureMessage() argument 108 PowerManageFeature *feature = GetPowerManageFeatureImpl(); Init() local [all...] |
/base/security/permission_lite/services/ipc_auth/src/ |
H A D | ipc_auth_lite.c | 22 #include "feature.h"
29 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(const Feature *feature, const Request *request);
50 HILOG_INFO(HILOG_MODULE_APP, "Init ipcAuth feature success");
in Init() 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 in OnInitialize() 71 OnStop(Feature *feature, Identity identity) OnStop() argument 77 OnMessage(const Feature *feature, const Request *request) OnMessage() argument [all...] |
/base/security/permission_lite/services/pms/src/ |
H A D | pms_inner.c | 20 #include "feature.h"
28 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(const Feature *feature, const Request *request);
54 HILOG_INFO(HILOG_MODULE_APP, "Init pms inner feature success");
in Init() 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 in OnInitialize() 74 OnStop(Feature *feature, Identity identity) OnStop() argument 80 OnMessage(const Feature *feature, const Request *request) OnMessage() argument [all...] |
H A D | pms_server.c | 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");
in Init() 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 in OnInitialize() 96 OnStop(Feature *feature, Identity identity) OnStop() argument 102 OnMessage(const Feature *feature, const Request *request) OnMessage() argument [all...] |
H A D | pms_server_internal.c | 23 #include "feature.h"
61 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(const Feature *feature, const Request *request);
88 HILOG_INFO(HILOG_MODULE_APP, "Init pms lite inner feature success");
in Init() 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 in OnInitialize() 109 OnStop(Feature *feature, Identity identity) OnStop() argument 115 OnMessage(const Feature *feature, const Request *request) OnMessage() argument [all...] |
/base/request/request/services/src/service/run_count/ |
H A D | mod.rs | 28 #[cfg(feature = "oh")] 31 #[cfg(feature = "oh")] 36 #[cfg(feature = "oh")] 41 fn new(#[cfg(feature = "oh")] obj: RemoteObj) -> Self { in new() 43 #[cfg(feature = "oh")] in new() 48 #[cfg(feature = "oh")] 51 #[cfg(feature = "oh")] in notify_run_count()
|
H A D | manager.rs | 39 #[cfg(feature = "oh")] 51 #[cfg(feature = "oh")] 66 #[cfg(feature = "oh")] 103 #[cfg(feature = "oh")] 106 #[cfg(feature = "oh")] 114 #[cfg(feature = "oh")] 132 #[cfg(feature = "oh")]
|
/base/security/device_security_level/services/sa/lite/mini/ |
H A D | dslm_service_feature.c | 24 static const char *FEATURE_GetName(Feature *feature); 25 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity); 26 static void FEATURE_OnStop(Feature *feature, Identity identity); 27 static BOOL FEATURE_OnMessage(Feature *feature, Request *request); 40 static const char *FEATURE_GetName(Feature *feature) in FEATURE_GetName() argument 45 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument 47 DslmFeature *dslmFeature = (DslmFeature *)feature; in FEATURE_OnInitialize() 52 static void FEATURE_OnStop(Feature *feature, Identity identity) in FEATURE_OnStop() argument 59 static BOOL FEATURE_OnMessage(Feature *feature, Request *request) in FEATURE_OnMessage() argument 61 (void)feature; in FEATURE_OnMessage() [all...] |
/base/security/device_security_level/services/sa/lite/small/ |
H A D | dslm_service_feature.c | 23 static const char *FEATURE_GetName(Feature *feature); 24 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity); 25 static void FEATURE_OnStop(Feature *feature, Identity identity); 26 static BOOL FEATURE_OnMessage(Feature *feature, Request *request); 41 static const char *FEATURE_GetName(Feature *feature) in FEATURE_GetName() argument 46 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument 48 DslmFeature *dslmFeature = (DslmFeature *)feature; in FEATURE_OnInitialize() 53 static void FEATURE_OnStop(Feature *feature, Identity identity) in FEATURE_OnStop() argument 60 static BOOL FEATURE_OnMessage(Feature *feature, Request *request) in FEATURE_OnMessage() argument 62 (void)feature; in FEATURE_OnMessage() [all...] |
/base/powermgr/battery_lite/services/src/ |
H A D | battery_manage_feature.c | 16 #include <feature.h>
24 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 in GInit() local [all...] |
/base/powermgr/powermgr_lite/services/include/ |
H A D | screen_saver_feature.h | 19 #include <feature.h> 30 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);
|
H A D | power_manage_feature.h | 19 #include <feature.h> 30 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/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/ |
H A D | hks_samgr_service_feature.c | 25 static const char *FEATURE_GetName(Feature *feature); 26 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity); 27 static void FEATURE_OnStop(Feature *feature, Identity identity); 28 static BOOL FEATURE_OnMessage(Feature *feature, Request *msg); 41 static const char *FEATURE_GetName(Feature *feature) in FEATURE_GetName() argument 43 (void)feature; in FEATURE_GetName() 47 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument 49 if (feature == NULL) { in FEATURE_OnInitialize() 52 HksMgrFeature *hksMgrFeature = (HksMgrFeature *)feature; in FEATURE_OnInitialize() 57 static void FEATURE_OnStop(Feature *feature, Identit argument 66 FEATURE_OnMessage(Feature *feature, Request *msg) FEATURE_OnMessage() argument [all...] |
/base/request/request/services/src/ |
H A D | macros.rs | 17 #[cfg(feature = "oh")] 26 #[cfg(not(feature = "oh"))] 32 #[cfg(not(feature = "oh"))]
|
/base/powermgr/battery_lite/services/include/ |
H A D | battery_manage_feature.h | 19 #include "feature.h"
40 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/request/request/pre_download/native/src/ |
H A D | lib.rs | 19 #![feature(lazy_cell)] 23 #[cfg(feature = "ohos")]
|
/base/hiviewdfx/hiview/utility/smart_parser/ |
H A D | smart_parser.cpp | 45 FeatureAnalysis feature(featureSets[composeRule.first], composeRule.second, eventType); in Analysis() 46 if (feature.AnalysisLog()) { in Analysis() 47 auto result = feature.GetReasult(); in Analysis()
|
/base/startup/bootstrap_lite/services/source/ |
H A D | bootstrap_service.h | 89 #pragma section = APP_NAME(feature, 0)
90 #pragma section = APP_NAME(feature, 1)
91 #pragma section = APP_NAME(feature, 2)
92 #pragma section = APP_NAME(feature, 3)
93 #pragma section = APP_NAME(feature, 4)
|
H A D | core_main.h | 91 #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)
|
/base/request/request/services/src/manage/ |
H A D | network.rs | 28 #[cfg(feature = "oh")] 49 #[cfg(feature = "oh")] task_manager: TaskManagerTx, 52 #[cfg(feature = "oh")] 65 #[cfg(feature = "oh")] 76 #[cfg(feature = "oh")] 87 #[cfg(feature = "oh")] 160 #[cfg(feature = "oh")]
|
/base/request/request/services/src/task/ |
H A D | client.rs | 34 #[cfg(feature = "oh")] mut system: SystemConfig, 50 #[cfg(feature = "oh")] 61 #[cfg(feature = "oh")] 86 #[cfg(feature = "oh")] 104 #[cfg(feature = "oh")] 150 #[cfg(feature = "oh")] 220 #[cfg(feature = "oh")]
|
/base/request/request/services/src/utils/ |
H A D | task_id_generator.rs | 23 #[cfg(feature = "oh")] 40 #[cfg(not(feature = "oh"))]
|
/base/security/permission_lite/services/ipc_auth/include/ |
H A D | policy_define.h | 30 char *feature;
member 66 char *feature;
member
|
/base/customization/enterprise_device_management/interfaces/inner_api/restrictions/include/ |
H A D | restrictions_proxy.h | 38 int32_t AddOrRemoveDisallowedListForAccount(const AppExecFwk::ElementName &admin, std::string feature, 40 int32_t GetDisallowedListForAccount(AppExecFwk::ElementName &admin, std::string feature, int32_t accountId, 45 bool GetDisallowedListInterfaceCode(std::string feature, std::uint32_t &ipcCode);
|