/base/startup/init_lite/services/init/ |
D | init_common_service.c | 64 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 …]
|
D | init_service_manager.c | 57 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 …]
|
D | init_service_socket.c | 162 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/ |
D | ipc_service_init.c | 28 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/ |
D | service_unittest.cpp | 57 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/ |
D | permission_service.c | 48 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/ |
D | hks_samgr_service.c | 21 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/ |
D | init_service.c | 26 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/ |
D | init_service.c | 37 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
|
D | fd_holder_service.c | 35 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/ |
D | power_manage_service.c | 47 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/ |
D | faultlogger_service_ohos.cpp | 59 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/ |
D | update_service_stub.cpp | 27 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/ |
D | bootstrap_service.c | 42 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/ |
D | hiview_service.c | 53 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/ |
D | faultlogger_client.cpp | 44 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/ |
D | battery_manage_service.c | 41 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()
|
D | battery_device.c | 34 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/ |
D | appspawn_service.c | 48 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/ |
D | hisysevent_delegate.cpp | 62 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/ |
D | hiview_service_ability.cpp | 34 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/ |
D | sensor_service_impl.c | 51 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/ |
D | accessibility_operator_test.cpp | 61 sptr<IAccessibleAbilityChannel> service = new MockAccessibleAbilityChannel(); variable 118 sptr<IAccessibleAbilityChannel> service = new MockAccessibleAbilityChannel(); variable
|
/base/powermgr/thermal_manager/application/protector/src/ |
D | thermal_protector_timer.cpp | 90 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()
|
D | thermal_sensor_provider.cpp | 141 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()
|