Home
last modified time | relevance | path

Searched refs:ServiceManager (Results 1 – 25 of 144) sorted by relevance

123456

/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-bundles-ipc.md8 LiteIPC中有两个主要概念,一个是ServiceManager,另一个是Service。整个系统只能有一个ServiceManager,而Service可以有多个。
10 **ServiceManager有两个主要功能:**
19 首先将需要接收IPC消息的任务通过ServiceManager注册成为一个Service,然后通过ServiceManager为该Service任务配置访问权限,即指定哪些任务可以向该Service…
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerahdf/
H A Ddcamera_hdf_operate.h29 using OHOS::HDI::ServiceManager::V1_0::IServiceManager;
30 using OHOS::HDI::ServiceManager::V1_0::IServStatListener;
31 using OHOS::HDI::ServiceManager::V1_0::ServiceStatus;
32 using OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub;
58 class DCameraHdfServStatListener : public OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub {
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/include/
H A Ddaudio_hdf_operate.h36 using OHOS::HDI::ServiceManager::V1_0::IServiceManager;
37 using OHOS::HDI::ServiceManager::V1_0::IServStatListener;
38 using OHOS::HDI::ServiceManager::V1_0::ServiceStatus;
39 using OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub;
60 class DAudioHdfServStatListener : public OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub {
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerahdf/
H A Ddcamera_hdf_operate.cpp39 if (cameraServStatus_.load() == OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START && in LoadDcameraHDFImpl()
40 providerServStatus_.load() == OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START) { in LoadDcameraHDFImpl()
98 … return (this->cameraServStatus_.load() == OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START); in WaitLoadCameraService()
101 if (cameraServStatus_.load() != OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START) { in WaitLoadCameraService()
114 … return (this->providerServStatus_.load() == OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START); in WaitLoadProviderService()
117 if (providerServStatus_.load() != OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START) { in WaitLoadProviderService()
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/src/
H A Ddaudio_hdf_operate.cpp40 if (audioServStatus_.load() == OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START && in LoadDaudioHDFImpl()
41 audioextServStatus_.load() == OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START) { in LoadDaudioHDFImpl()
97 … return (this->audioServStatus_.load() == OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START); in WaitLoadService()
100 if (this->audioServStatus_.load() != OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START) { in WaitLoadService()
110 … return (this->audioextServStatus_.load() == OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START); in WaitLoadService()
113 … if (this->audioextServStatus_.load() != OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START) { in WaitLoadService()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_hdf_operate_test.cpp92 …DCameraHdfOperate::GetInstance().cameraServStatus_.store(OHOS::HDI::ServiceManager::V1_0::SERVIE_S…
93 …DCameraHdfOperate::GetInstance().providerServStatus_.store(OHOS::HDI::ServiceManager::V1_0::SERVIE…
107 …DCameraHdfOperate::GetInstance().cameraServStatus_.store(OHOS::HDI::ServiceManager::V1_0::SERVIE_S…
121 …DCameraHdfOperate::GetInstance().providerServStatus_.store(OHOS::HDI::ServiceManager::V1_0::SERVIE…
/ohos5.0/base/telephony/core_service/services/tel_ril/include/
H A Dhdf_service_status_listener.h27 class HdfServiceStatusListener : public OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub {
29 …using StatusCallback = std::function<void(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus &)>;
32 void OnReceive(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus &status) override in OnReceive()
/ohos5.0/base/powermgr/thermal_manager/services/native/include/
H A Dhdi_service_status_listener.h27 class HdiServiceStatusListener : public OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub {
29 …using StatusCallback = std::function<void(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus &)>;
32 void OnReceive(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus &status) override in OnReceive()
/ohos5.0/base/powermgr/battery_manager/services/native/include/
H A Dhdi_service_status_listener.h27 class HdiServiceStatusListener : public OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub {
29 …using StatusCallback = std::function<void(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus &)>;
32 void OnReceive(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus &status) override in OnReceive()
/ohos5.0/base/powermgr/power_manager/services/native/src/actions/default/
H A Dhdi_service_status_listener.h27 class HdiServiceStatusListener : public OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub {
29 …using StatusCallback = std::function<void(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus &)>;
32 void OnReceive(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus &status) override in OnReceive()
H A Dsystem_suspend_controller.cpp38 hdiServiceMgr_ = OHOS::HDI::ServiceManager::V1_0::IServiceManager::Get(); in RegisterHdiStatusListener()
49 …HdiServiceStatusListener::StatusCallback([&](const OHOS::HDI::ServiceManager::V1_0::ServiceStatus&… in RegisterHdiStatusListener()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcamera_host_manager.h115 ::OHOS::sptr<HDI::ServiceManager::V1_0::IServStatListener> GetRegisterServStatListener();
139 ::OHOS::sptr<HDI::ServiceManager::V1_0::IServStatListener> registerServStatListener_;
144 class RegisterServStatListener : public HDI::ServiceManager::V1_0::ServStatListenerStub {
146 using StatusCallback = std::function<void(const HDI::ServiceManager::V1_0::ServiceStatus&)>;
153 void OnReceive(const HDI::ServiceManager::V1_0::ServiceStatus& status) override;
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-bundles-ipc.md8 LiteIPC has two important concepts: ServiceManager and Service. The entire system can have one Serv…
10 ServiceManager provides the following functions:
19 ServiceManager registers the task that needs to receive IPC messages as a Service, and sets the acc…
/ohos5.0/drivers/hdf_core/framework/test/fuzztest/servmgr_cpp_fuzzer/unregisterservicestatuslistener_fuzzer/
H A Dunregisterservicestatuslistener_fuzzer.cpp22 using namespace OHOS::HDI::ServiceManager::V1_0;
26 namespace ServiceManager { namespace
H A Dunregisterservicestatuslistener_fuzzer.h18 namespace ServiceManager {
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_client_test.cpp41 bool MockStatusCb(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus&) in MockStatusCb()
74 … using StatusCallback = std::function<void(const OHOS::HDI::ServiceManager::V1_0::ServiceStatus&)>;
78 OHOS::HDI::ServiceManager::V1_0::ServiceStatus status = {"a", 0, 0, "a"};
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/connector_mgr/
H A Dtrigger_connector.h33 using OHOS::HDI::ServiceManager::V1_0::ServiceStatus;
34 using OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub;
129 uint16_t serviceState_ = HDI::ServiceManager::V1_0::SERVIE_STATUS_MAX;
H A Dtrigger_connector_internal_impl.h25 using OHOS::HDI::ServiceManager::V1_0::IServiceManager;
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/include/
H A Ddriver_manager.h32 using ServStatListenerStub = HDI::ServiceManager::V1_0::ServStatListenerStub;
33 using ServiceStatus = HDI::ServiceManager::V1_0::ServiceStatus;
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/
H A Dvideo_post_processor.cpp41 class VideoPostProcessor::VideoServiceListener : public HDI::ServiceManager::V1_0::ServStatListener…
43 using StatusCallback = std::function<void(const HDI::ServiceManager::V1_0::ServiceStatus&)>;
48 void OnReceive(const HDI::ServiceManager::V1_0::ServiceStatus& status) in OnReceive()
399 auto svcMgr = HDI::ServiceManager::V1_0::IServiceManager::Get(); in ConnectService()
416 auto svcMgr = HDI::ServiceManager::V1_0::IServiceManager::Get(); in DisconnectService()
423 void VideoPostProcessor::OnServiceChange(const HDI::ServiceManager::V1_0::ServiceStatus& status) in OnServiceChange()
426 DP_CHECK_RETURN_LOG(status.status != HDI::ServiceManager::V1_0::SERVIE_STATUS_START, in OnServiceChange()
/ohos5.0/drivers/hdf_core/framework/test/fuzztest/servmgr_cpp_fuzzer/servstatlistenerstub_fuzzer/
H A Dservstatlistenerstub_fuzzer.cpp16 using namespace OHOS::HDI::ServiceManager::V1_0;
20 namespace ServiceManager { namespace
H A Dservstatlistenerstub_fuzzer.h18 namespace ServiceManager {
/ohos5.0/drivers/hdf_core/adapter/uhdf2/hdi/test/servmgr/
H A Dservice_manager_hdi_test.cpp43 using OHOS::HDI::ServiceManager::V1_0::IServiceManager;
44 using OHOS::HDI::ServiceManager::V1_0::IServStatListener;
45 using OHOS::HDI::ServiceManager::V1_0::ServiceStatus;
46 using OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub;
48 using OHOS::HDI::ServiceManager::V1_0::HdiServiceInfo;
292 class ServStatListener : public OHOS::HDI::ServiceManager::V1_0::ServStatListenerStub {
342 ASSERT_EQ(servStatus, OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START); in TestServiceListenerStop()
356 ASSERT_EQ(servStatus, OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_STOP); in TestServiceListenerStop()
475 status.status == OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START) { in __anon4552f7070302()
672 ASSERT_EQ(servStatus, OHOS::HDI::ServiceManager::V1_0::SERVIE_STATUS_START);
[all …]
/ohos5.0/foundation/multimedia/drm_framework/services/drm_service/server/include/
H A Ddrm_host_manager.h43 using OHOS::HDI::ServiceManager::V1_0::IServiceManager;
76 class DrmHostManager : public virtual RefBase, public HDI::ServiceManager::V1_0::ServStatListenerSt…
99 void OnReceive(const HDI::ServiceManager::V1_0::ServiceStatus &status) override;
/ohos5.0/drivers/hdf_core/interfaces/inner_api/hdi/
H A Diservmgr_hdi.h49 namespace ServiceManager {

123456