/ohos5.0/base/startup/init/services/init/ |
H A D | init_common_service.c | 344 if (service->fdCount == 0 || service->fds == NULL) { in PublishHoldFds() 372 if (service == NULL || service->cpuSet == NULL) { in BindCpuCore() 473 service->name, service->importance, errno); in EnterServiceSandbox() 586 if (tmpSockNode->service != service) { in CloseOnDemandServiceFdForOtherService() 601 …if (service->context.type != INIT_CONTEXT_MAIN && SetSubInitContext(&service->context, service->na… in RunChildProcess() 822 ServiceStartTimer(service, service->period); in ServiceReap() 833 if (!CalculateCrashTime(service, service->crashTime, service->crashCount)) { in ServiceReap() 841 if (!CalculateCrashTime(service, service->crashTime, service->crashCount)) { in ServiceReap() 855 ret = ServiceStart(service, &service->pathArgs); in ServiceReap() 949 int ret = ServiceStart(service, &service->pathArgs); in ServiceTimerStartProcess() [all …]
|
H A D | init_service_manager.c | 106 node->data.service = service; in AddService() 110 service->pid = -1; in AddService() 116 return service; in AddService() 196 free(service); in ReleaseService() 447 sockopt->service = service; in AddServiceSocket() 1038 if (ServiceStart(service, &service->pathArgs) != SERVICE_SUCCESS) { in ProcessConsoleEvent() 1192 return service; in GetServiceByExtServName() 1232 if (service != NULL && service->pid > 0) { // notify appspawn stop in StopAllServices() 1241 Service *service = node->data.service; in StopAllServices() local 1278 Service *service = node->data.service; in GetServiceByPid() local [all …]
|
/ohos5.0/drivers/peripheral/wlan/wpa/interfaces/hdi_service/ |
H A D | wpa_interface_service.c | 34 if (service == NULL) { in WpaInterfaceImplGetInstance() 39 service->interface.Start = WpaInterfaceStart; in WpaInterfaceImplGetInstance() 40 service->interface.Stop = WpaInterfaceStop; in WpaInterfaceImplGetInstance() 43 service->interface.Scan = WpaInterfaceScan; in WpaInterfaceImplGetInstance() 44 service->interface.ScanResult= WpaInterfaceScanResult; in WpaInterfaceImplGetInstance() 45 service->interface.AddNetwork = WpaInterfaceAddNetwork; in WpaInterfaceImplGetInstance() 52 service->interface.Reconnect = WpaInterfaceReconnect; in WpaInterfaceImplGetInstance() 60 service->interface.WpsCancel = WpaInterfaceWpsCancel; in WpaInterfaceImplGetInstance() 72 service->interface.GetPsk = WpaInterfaceGetPsk; in WpaInterfaceImplGetInstance() 101 service->interface.P2pFlush = WpaInterfaceP2pFlush; in WpaInterfaceImplGetInstance() [all …]
|
/ohos5.0/base/startup/init/test/unittest/init/ |
H A D | service_unittest.cpp | 124 ret = ServiceStart(service, &service->pathArgs); 157 ret = ServiceStart(service, &service->pathArgs); 167 ServiceReap(service); 171 ServiceReap(service); 197 ret = ServiceStart(service, &service->pathArgs); 201 ret = ServiceStart(service, &service->pathArgs); 204 service->pid = -1; 217 ServiceReap(service); 311 service = nullptr; 406 Service service; variable [all …]
|
/ohos5.0/base/print/print_fwk/test/unittest/fwk_print_service_ability_test/ |
H A D | print_service_ability_test.cpp | 227 service->ManualStart(); 439 service->helper_ = helper; 457 service->helper_ = helper; 524 service->helper_ = helper; 547 service->helper_ = helper; 562 service->helper_ = helper; 573 service->helper_ = helper; 593 service->helper_ = helper; 629 service->OnStop(); 632 service->OnStop(); [all …]
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/adm/audio_adm_interface/src/ |
H A D | audio_adm_interface_test.cpp | 90 ASSERT_NE(nullptr, service); 104 HdfIoServiceRecycle(service); 126 ASSERT_NE(nullptr, service); 141 HdfIoServiceRecycle(service); 161 ASSERT_NE(nullptr, service); 175 HdfIoServiceRecycle(service); 196 ASSERT_NE(nullptr, service); 223 ASSERT_NE(nullptr, service); 248 ASSERT_NE(nullptr, service); 273 ASSERT_NE(nullptr, service); [all …]
|
/ohos5.0/base/startup/init/services/init/standard/ |
H A D | init_service.c | 43 if (service == NULL) { in WriteOomScoreAdjToService() 46 if (IsOnDemandService(service)) { in WriteOomScoreAdjToService() 51 … INIT_LOGE("Service(%s): format pidAdjPath (pid:%d) failed.", service->name, service->pid); in WriteOomScoreAdjToService() 69 INIT_LOGV("Notify service %s change from %d to %d", service->name, service->status, status); in NotifyServiceChange() 70 service->status = status; in NotifyServiceChange() 86 "%d", (service->pid == -1) ? 0 : service->pid); in NotifyServiceChange() 122 if (service->importance != 0) { in ServiceExec() 128 OpenHidebug(service->name); in ServiceExec() 146 Service *service = node->data.service; in GetAccessToken() local 147 if (service != NULL) { in GetAccessToken() [all …]
|
H A D | init_control_fd_service.c | 130 …printf("\tservice last error: %s(%d) \n", initErrMaps[service->lastErrno].info, service->lastErrno… in DumpOneService() 144 DumpServiceJobs(service); in DumpOneService() 145 DumpServiceSocket(service); in DumpOneService() 173 if (node->data.service == NULL) { in DumpAllExtData() 187 if (node->data.service == NULL) { in DumpAllServices() 191 Service *service = node->data.service; in DumpAllServices() local 192 DumpOneService(service); in DumpAllServices() 205 if (service == NULL) { in ProcessSandboxControlFd() 209 EnterServiceSandbox(service); in ProcessSandboxControlFd() 245 if (service != NULL) { in ProcessDumpServiceControlFd() [all …]
|
/ohos5.0/drivers/peripheral/user_auth/test/unittest/service_test/src/ |
H A D | user_auth_interface_service_test.cpp | 153 EXPECT_NE(service, nullptr); 165 EXPECT_NE(service, nullptr); 184 EXPECT_NE(service, nullptr); 196 EXPECT_NE(service, nullptr); 219 EXPECT_NE(service, nullptr); 248 EXPECT_NE(service, nullptr); 262 EXPECT_NE(service, nullptr); 278 EXPECT_NE(service, nullptr); 294 EXPECT_NE(service, nullptr); 316 EXPECT_NE(service, nullptr); [all …]
|
/ohos5.0/drivers/peripheral/wlan/hdi_service/ |
H A D | wlan_interface_service.c | 34 if (service == NULL) { in WlanInterfaceImplGetInstance() 39 service->interface.Start = WlanInterfaceStart; in WlanInterfaceImplGetInstance() 40 service->interface.Stop = WlanInterfaceStop; in WlanInterfaceImplGetInstance() 41 service->interface.CreateFeature = WlanInterfaceCreateFeature; in WlanInterfaceImplGetInstance() 44 service->interface.GetChipId = WlanInterfaceGetChipId; in WlanInterfaceImplGetInstance() 55 service->interface.ResetDriver = WlanInterfaceResetDriver; in WlanInterfaceImplGetInstance() 59 service->interface.SetTxPower = WlanInterfaceSetTxPower; in WlanInterfaceImplGetInstance() 61 service->interface.StartScan = WlanInterfaceStartScan; in WlanInterfaceImplGetInstance() 68 service->interface.GetStaInfo = WlanInterfaceGetStaInfo; in WlanInterfaceImplGetInstance() 70 service->interface.StopPnoScan = WlanInterfaceStopPnoScan; in WlanInterfaceImplGetInstance() [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/test/ |
H A D | BUILD.gn | 24 "${mmi_path}/service:libmmi_server_config", 41 "${mmi_path}/service:libmmi-server", 85 "${mmi_path}/service/dfx/include", 89 "${mmi_path}/service/filter/include", 96 "${mmi_path}/service/monitor/include", 242 "${mmi_path}/service/dfx/include", 246 "${mmi_path}/service/filter/include", 253 "${mmi_path}/service/monitor/include", 426 "${mmi_path}/service/dfx/include", 430 "${mmi_path}/service/filter/include", [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_client_parse.c | 736 SdpService service; in SdpParseAttributeResponse() local 1474 service->attribute[service->attributeNumber].type = SDP_TYPE_BOOL; in SdpGetAttributeForBool() 1477 if (service->attribute[service->attributeNumber].attributeValue == NULL) { in SdpGetAttributeForBool() 1498 service->attribute[service->attributeNumber].type = SDP_TYPE_UINT_8; in SdpGetAttributeForUint() 1515 service->attribute[service->attributeNumber].type = SDP_TYPE_UINT_16; in SdpGetAttributeForUint() 1564 service->attribute[service->attributeNumber].type = SDP_TYPE_INT_8; in SdpGetAttributeForInt() 1577 service->attribute[service->attributeNumber].type = SDP_TYPE_INT_16; in SdpGetAttributeForInt() 1592 service->attribute[service->attributeNumber].type = SDP_TYPE_INT_32; in SdpGetAttributeForInt() 1705 service->attribute[service->attributeNumber].type = SDP_TYPE_TEXT; in SdpGetAttributeForString() 1750 service->attribute[service->attributeNumber].type = SDP_TYPE_URL; in SdpGetAttributeForUrl() [all …]
|
/ohos5.0/drivers/peripheral/codec/hal/src/ |
H A D | codec_component_type_service.c | 34 if (service == NULL) { in CodecComponentTypeGetComponentVersion() 47 if (service == NULL) { in CodecComponentTypeSendCommand() 60 if (service == NULL) { in CodecComponentTypeGetParameter() 78 if (service == NULL) { in CodecComponentTypeSetParameter() 95 if (service == NULL) { in CodecComponentTypeGetConfig() 112 if (service == NULL) { in CodecComponentTypeSetConfig() 128 if (service == NULL) { in CodecComponentTypeGetExtensionIndex() 140 if (service == NULL) { in CodecComponentTypeGetState() 154 if (service == NULL) { in CodecComponentTypeComponentTunnelRequest() 167 if (service == NULL) { in CodecComponentTypeUseBuffer() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | app_mgr_client.cpp | 136 if (service != nullptr) { in LoadAbility() 154 if (service != nullptr) { in TerminateAbility() 167 if (service != nullptr) { in UpdateAbilityState() 180 if (service != nullptr) { in UpdateExtensionState() 193 if (service != nullptr) { in RegisterAppStateCallback() 208 if (service != nullptr) { in AbilityBehaviorAnalysis() 221 if (service != nullptr) { in KillProcessByAbilityToken() 234 if (service != nullptr) { in KillProcessesByUserId() 247 if (service != nullptr) { in KillProcessesByPids() 261 if (service != nullptr) { in AttachPidToParent() [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/watchdog/ |
H A D | watchdog_if_u.c | 22 void *service = NULL; in WatchdogServiceGetById() local 36 if (service == NULL) { in WatchdogServiceGetById() 40 return service; in WatchdogServiceGetById() 55 if (service == NULL) { in WatchdogOpen() 60 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in WatchdogOpen() 89 *handle = service; in WatchdogOpen() 99 if (service == NULL ||service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in WatchdogClose() 124 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in WatchdogGetStatus() 162 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in WatchdogStart() 208 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in WatchdogSetTimeout() [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/gpio/ |
H A D | gpio_if_u.c | 41 manager->service = service; in GpioManagerServiceGet() 43 return service; in GpioManagerServiceGet() 54 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in GpioRead() 106 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in GpioWrite() 153 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in GpioGetDir() 205 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in GpioSetDir() 273 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in GpioSetIrq() 325 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in GpioUnsetIrq() 361 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in GpioEnableIrq() 396 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in GpioDisableIrq() [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/user/test/ |
H A D | multi_user_manager_service_test.cpp | 60 if (service != nullptr) { 84 if (service != nullptr) { 108 if (service != nullptr) { 132 if (service != nullptr) { 157 if (service != nullptr) { 181 if (service != nullptr) { 204 if (service != nullptr) { 228 if (service != nullptr) { 253 if (service != nullptr) { 276 if (service != nullptr) { [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/timer/ |
H A D | timer_if_u.c | 23 if (service != NULL) { in TimerManagerGetService() 24 return service; in TimerManagerGetService() 39 manager->service = service; in TimerManagerGetService() 41 return service; in TimerManagerGetService() 53 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in HwTimerOpen() 108 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in HwTimerClose() 145 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in HwTimerStart() 185 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in HwTimerStop() 250 if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in HwTimerSet() 311 …if (service == NULL || service->dispatcher == NULL || service->dispatcher->Dispatch == NULL || cb … in HwTimerSetOnce() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/datashareservicestub_fuzzer/ |
H A D | BUILD.gn | 26 "${data_service_path}/service/common", 27 "${data_service_path}/service/crypto/include", 28 "${data_service_path}/service/data_share/common", 29 "${data_service_path}/service/data_share/data", 30 "${data_service_path}/service/data_share/dfx", 31 "${data_service_path}/service/data_share/strategies", 33 "${data_service_path}/service/data_share", 34 "${data_service_path}/service/kvdb", 35 "${data_service_path}/service/permission/include", 53 "${data_service_path}/service/common/xcollie.cpp", [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | BUILD.gn | 30 "${data_service_path}/service/cloud/", 32 "${data_service_path}/service/common/", 42 "${data_service_path}/service/kvdb", 43 "${data_service_path}/service/object/", 45 "${data_service_path}/service/rdb/", 163 "../../service:distributeddatasvc", 204 "../../service:distributeddatasvc", 331 "${data_service_path}/service/rdb", 376 "${data_service_path}/service/rdb", 680 "${data_service_path}/service/kvdb", [all …]
|
/ohos5.0/base/telephony/state_registry/test/unittest/state_test/ |
H A D | state_registry_test.cpp | 889 if (service == nullptr) { 932 if (service == nullptr) { 981 if (service == nullptr) { 1022 if (service == nullptr) { 1027 service->OnStart(); 1060 if (service == nullptr) { 1108 if (service == nullptr) { 1159 if (service == nullptr) { 1209 if (service == nullptr) { 1257 if (service == nullptr) { [all …]
|
/ohos5.0/foundation/multimedia/av_session/frameworks/native/session/src/ |
H A D | avsession_manager_impl.cpp | 116 return service ? service->CreateSession(tag, type, elementName) : nullptr; in CreateSession() 236 if (service == nullptr) { in RegisterSessionListener() 300 return service ? service->SendSystemAVKeyEvent(keyEvent) : ERR_SERVICE_NOT_EXIST; in SendSystemAVKeyEvent() 328 return service ? service->CastAudio(token, descriptors) : ERR_SERVICE_NOT_EXIST; in CastAudio() 336 return service ? service->CastAudioForAll(descriptors) : ERR_SERVICE_NOT_EXIST; in CastAudioForAll() 344 if (service) { in Close() 370 return service ? service->StopCastDiscovery() : ERR_SERVICE_NOT_EXIST; in StopCastDiscovery() 377 return service ? service->SetDiscoverable(enable) : ERR_SERVICE_NOT_EXIST; in SetDiscoverable() 384 return service ? service->StartDeviceLogging(fd, maxSize) : ERR_SERVICE_NOT_EXIST; in StartDeviceLogging() 391 return service ? service->StopDeviceLogging() : ERR_SERVICE_NOT_EXIST; in StopDeviceLogging() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwareservice/src/ |
H A D | distributed_hardware_service_test.cpp | 63 DistributedHardwareService service(ASID, true); 77 DistributedHardwareService service(ASID, true); 91 DistributedHardwareService service(ASID, true); 106 DistributedHardwareService service(ASID, true); 109 auto ret = service.PublishMessage(TOPIC, msg); 122 DistributedHardwareService service(ASID, true); 125 auto ret = service.PublishMessage(TOPIC, msg); 139 service.OnStop(); 177 service.OnStart(); 178 service.OnStop(); [all …]
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/rtc/ |
H A D | rtc_if_u.c | 23 if (service != NULL) { in RtcOpen() 24 return service; in RtcOpen() 28 if (service == NULL) { in RtcOpen() 40 manager->service = service; in RtcOpen() 78 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in RtcReadTime() 142 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in RtcWriteTime() 193 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in RtcReadAlarm() 264 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in RtcWriteAlarm() 326 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in RtcRegisterAlarmCallback() 381 if (service->dispatcher == NULL || service->dispatcher->Dispatch == NULL) { in RtcAlarmInterruptEnable() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | Readme-CN.md | 4 - [文件组织](js-service-widget-file.md) 6 - [HML语法参考](js-service-widget-syntax-hml.md) 7 - [CSS语法参考](js-service-widget-syntax-css.md) 10 - [设置主题样式](js-service-widget-theme.md) 13 - [通用样式](js-service-widget-common-styles.md) 14 - [通用事件](js-service-widget-common-events.md) 22 - [div](js-service-widget-container-div.md) 30 - [chart](js-service-widget-basic-chart.md) 31 - [clock](js-service-widget-basic-clock.md) 36 - [span](js-service-widget-basic-span.md) [all …]
|