Home
last modified time | relevance | path

Searched defs:service (Results 1 – 25 of 77) sorted by relevance

1234

/base/startup/init_lite/services/init/
Dinit_common_service.c64 static int SetPerms(const Service *service) in SetPerms()
141 static int WritePid(const Service *service) in WritePid()
174 void SetSecon(Service *service) in SetSecon()
187 void CloseServiceFds(Service *service, bool needFree) in CloseServiceFds()
211 static void PublishHoldFds(Service *service) in PublishHoldFds()
240 static int BindCpuCore(Service *service) in BindCpuCore()
269 int ServiceStart(Service *service) in ServiceStart()
330 int ServiceStop(Service *service) in ServiceStop()
359 static bool CalculateCrashTime(Service *service, int crashTimeLimit, int crashCountLimit) in CalculateCrashTime()
382 static int ExecRestartCmd(Service *service) in ExecRestartCmd()
[all …]
Dinit_service_manager.c57 static void DumpServiceJobs(const Service *service) in DumpServiceJobs()
74 static void DumpServiceSocket(const Service *service) in DumpServiceSocket()
104 Service *service = node->data.service; in DumpAllServices() local
174 Service *service = (Service *)calloc(1, sizeof(Service)); in AddService() local
199 void ReleaseService(Service *service) in ReleaseService()
444 static int AddServiceSocket(cJSON *json, Service *service) in AddServiceSocket()
517 static int AddServiceFile(cJSON *json, Service *service) in AddServiceFile()
670 static int GetServiceMode(Service *service, const cJSON *json) in GetServiceMode()
698 static int GetServiceJobs(Service *service, cJSON *json) in GetServiceJobs()
767 static int GetCpuArgs(const cJSON *argJson, const char *name, Service *service) in GetCpuArgs()
[all …]
Dinit_service_socket.c162 Service *service = (Service *)context; in ProcessWatchEvent_() local
183 int SocketAddWatcher(ServiceWatcher *watcherHandle, Service *service, int fd) in SocketAddWatcher()
202 int CreateServiceSocket(Service *service) in CreateServiceSocket()
228 void CloseServiceSocket(Service *service) in CloseServiceSocket()
/base/security/deviceauth/frameworks/src/lite/
Dipc_service_init.c28 static const char *GetName(Service *service) in GetName()
34 static BOOL Initialize(Service *service, Identity identity) in Initialize()
46 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
55 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig()
66 static DevAuthService service = { in ServiceInit() local
/base/startup/init_lite/test/unittest/init/
Dservice_unittest.cpp57 Service *service = AddService("test_service"); variable
79 Service *service = AddService("test_service1"); variable
103 Service *service = AddService("test_service2"); variable
134 Service *service = AddService("test_service4"); variable
161 Service *service = nullptr; variable
189 Service *service = GetServiceByPid(1); variable
196 Service *service = AddService("test_service7"); variable
/base/security/permission/services/permission_lite/pms_base/src/
Dpermission_service.c48 static const char *GetName(Service *service) in GetName()
54 static BOOL Initialize(Service *service, Identity identity) in Initialize()
64 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
73 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
Dhks_samgr_service.c21 static const char *GetName(Service *service) in GetName()
26 static BOOL Initialize(Service *service, Identity identity) in Initialize()
36 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
45 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig()
/base/startup/init_lite/services/init/lite/
Dinit_service.c26 void NotifyServiceChange(Service *service, int status) in NotifyServiceChange()
54 int SetImportantValue(Service *service, const char *attrName, int value, int flag) in SetImportantValue()
65 int ServiceExec(const Service *service) in ServiceExec()
85 int SetAccessToken(const Service *service) in SetAccessToken()
/base/startup/init_lite/services/init/standard/
Dinit_service.c37 void NotifyServiceChange(Service *service, int status) in NotifyServiceChange()
63 int SetImportantValue(Service *service, const char *attrName, int value, int flag) in SetImportantValue()
78 int ServiceExec(const Service *service) in ServiceExec()
126 int SetAccessToken(const Service *service) in SetAccessToken()
138 Service *service = node->data.service; in GetAccessToken() local
Dfd_holder_service.c35 static int HandlerHoldFds(Service *service, int *fds, size_t fdCount, const char *pollStr) in HandlerHoldFds()
91 static void SendFdsInfo(int sock, Service *service) in SendFdsInfo()
128 static void HandlerGetFds(int sock, Service *service) in HandlerGetFds()
149 static int CheckFdHolderPermission(Service *service, pid_t requestPid) in CheckFdHolderPermission()
197 Service *service = GetServiceByName(serviceName); in HandlerFdHolder() local
/base/powermgr/powermgr_lite/services/src/
Dpower_manage_service.c47 static const char *GetName(Service *service) in GetName()
53 static BOOL Initialize(Service *service, Identity identity) in Initialize()
64 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
70 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig()
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/
Dfaultlogger_service_ohos.cpp59 auto service = GetOrSetFaultlogger(); in Dump() local
69 void FaultloggerServiceOhos::StartService(OHOS::HiviewDFX::Faultlogger *service) in StartService()
83 OHOS::HiviewDFX::Faultlogger *service) in GetOrSetFaultlogger()
94 auto service = GetOrSetFaultlogger(); in AddFaultLog() local
122 auto service = GetOrSetFaultlogger(); in QuerySelfFaultLog() local
153 auto service = GetOrSetFaultlogger(); in Destroy() local
/base/update/updateservice/engine/src/
Dupdate_service_stub.cpp27 static int32_t GetNewVersionStub(UpdateServiceStub::UpdateServiceStubPtr service, in GetNewVersionStub()
38 static int32_t GetUpgradeStatusStub(UpdateServiceStub::UpdateServiceStubPtr service, in GetUpgradeStatusStub()
49 static int32_t CheckNewVersionStub(UpdateServiceStub::UpdateServiceStubPtr service, in CheckNewVersionStub()
58 static int32_t DownloadVersionStub(UpdateServiceStub::UpdateServiceStubPtr service, in DownloadVersionStub()
67 static int32_t DoUpdateStub(UpdateServiceStub::UpdateServiceStubPtr service, in DoUpdateStub()
76 static int32_t SetUpdatePolicyStub(UpdateServiceStub::UpdateServiceStubPtr service, in SetUpdatePolicyStub()
87 static int32_t GetUpdatePolicyStub(UpdateServiceStub::UpdateServiceStubPtr service, in GetUpdatePolicyStub()
98 static int32_t RegisterUpdateCallbackStub(UpdateServiceStub::UpdateServiceStubPtr service, in RegisterUpdateCallbackStub()
112 static int32_t UnregisterUpdateCallbackStub(UpdateServiceStub::UpdateServiceStubPtr service, in UnregisterUpdateCallbackStub()
121 static int32_t CancelStub(UpdateServiceStub::UpdateServiceStubPtr service, in CancelStub()
[all …]
/base/startup/bootstrap_lite/services/source/
Dbootstrap_service.c42 static const char *GetName(Service *service) in GetName()
48 static BOOL Initialize(Service *service, Identity identity) in Initialize()
55 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
82 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig()
/base/hiviewdfx/hiview_lite/
Dhiview_service.c53 static const char *GetName(Service *service) in GetName()
59 static BOOL Initialize(Service *service, Identity identity) in Initialize()
75 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
88 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig()
97 HiviewService *service = GET_OBJECT(iUnknown, HiviewService, iUnknown); in Output() local
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/
Dfaultlogger_client.cpp44 auto service = serviceManager->CheckSystemAbility(DFX_HIVIEW_FAULTLOGGER_ID); in GetFaultloggerService() local
56 auto service = GetFaultloggerService(); in AddFaultLog() local
82 auto service = GetFaultloggerService(); in AddFaultLog() local
101 auto service = GetFaultloggerService(); in QuerySelfFaultLog() local
/base/powermgr/battery_lite/services/src/
Dbattery_manage_service.c41 static BOOL Initialize(Service *service, Identity identity) in Initialize()
49 static const char *BatteryGetName(Service *service) in BatteryGetName()
64 static BOOL MessageHandle(Service *service, Request *request) in MessageHandle()
80 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig()
Dbattery_device.c34 static const char *BATTERY_GetName(Service *service) in BATTERY_GetName()
39 static BOOL Initialize(Service *service, Identity identity) in Initialize()
44 static BOOL MessageHandle(Service *service, Request *msg) in MessageHandle()
49 static TaskConfig GetTaskConfig(Service *service) in GetTaskConfig()
/base/startup/appspawn_lite/services/src/
Dappspawn_service.c48 static const char* GetName(Service* service) in GetName()
55 static BOOL Initialize(Service* service, Identity identity) in Initialize()
70 static BOOL MessageHandle(Service* service, Request* msg) in MessageHandle()
78 static TaskConfig GetTaskConfig(Service* service) in GetTaskConfig()
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dhisysevent_delegate.cpp62 auto service = GetSysEventService(); in AddEventListener() local
84 auto service = GetSysEventService(); in RemoveListener() local
99 auto service = GetSysEventService(); in SetDebugMode() local
112 auto service = GetSysEventService(); in QueryHiSysEvent() local
/base/hiviewdfx/hiview/adapter/service/idl/src/
Dhiview_service_ability.cpp34 auto service = GetOrSetHiviewService(nullptr); in Dump() local
94 void HiviewServiceAbility::StartService(HiviewService *service) in StartService()
101 HiviewService *HiviewServiceAbility::GetOrSetHiviewService(HiviewService *service) in GetOrSetHiviewService()
/base/sensors/sensor_lite/services/src/
Dsensor_service_impl.c51 const char *SENSOR_GetName(Service *service) in SENSOR_GetName()
99 BOOL Initialize(Service *service, Identity identity) in Initialize()
110 BOOL MessageHandle(Service *service, Request *msg) in MessageHandle()
117 TaskConfig GetTaskConfig(Service *service) in GetTaskConfig()
/base/accessibility/frameworks/asacfwk/test/unittest/
Daccessibility_operator_test.cpp61 sptr<IAccessibleAbilityChannel> service = new MockAccessibleAbilityChannel(); variable
118 sptr<IAccessibleAbilityChannel> service = new MockAccessibleAbilityChannel(); variable
/base/powermgr/thermal_manager/application/protector/src/
Dthermal_protector_timer.cpp90 void ThermalProtectorTimer::TimerProvisionCallback(void *service) in TimerProvisionCallback()
165 void ThermalProtectorTimer::Run(void *service, int32_t epfd) in Run()
170 void ThermalProtectorTimer::StartThread(void *service) in StartThread()
Dthermal_sensor_provider.cpp141 void ThermalSensorProvider::TimerProviderCallback(void *service) in TimerProviderCallback()
217 void ThermalSensorProvider::Run(void *service, int32_t epfd) in Run()
222 void ThermalSensorProvider::StartThread(void *service) in StartThread()

1234