Home
last modified time | relevance | path

Searched refs:serviceProxy (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/drm/
H A Dmedia_key_system_factory_impl.cpp119 sptr<IMediaKeySystemFactoryService> serviceProxy = nullptr; in MediaKeySystemFactoryServerDied() local
123 serviceProxy = GetServiceProxy(); in MediaKeySystemFactoryServerDied()
124 if (serviceProxy != nullptr) { in MediaKeySystemFactoryServerDied()
138 const sptr<IMediaKeySystemFactoryService> serviceProxy = GetServiceProxy(); in IsMediaKeySystemSupported() local
140 ret = serviceProxy->IsMediaKeySystemSupported(name, &isSurpported); in IsMediaKeySystemSupported()
153 const sptr<IMediaKeySystemFactoryService> serviceProxy = GetServiceProxy(); in IsMediaKeySystemSupported() local
169 const sptr<IMediaKeySystemFactoryService> serviceProxy = GetServiceProxy(); in IsMediaKeySystemSupported() local
182 const sptr<IMediaKeySystemFactoryService> serviceProxy = GetServiceProxy(); in GetMediaKeySystems() local
184 ret = serviceProxy->GetMediaKeySystems(keySystemNames); in GetMediaKeySystems()
198 ret = serviceProxy->GetMediaKeySystemUuid(name, uuid); in GetMediaKeySystemUuid()
[all …]
/ohos5.0/drivers/hdf_core/adapter/uhdf2/host/src/
H A Ddevsvc_manager_proxy.c75 struct DevSvcManagerProxy *serviceProxy = (struct DevSvcManagerProxy *)inst; in DevSvcManagerProxyAddService() local
80 if ((serviceProxy == NULL) || (serviceProxy->remote == NULL)) { in DevSvcManagerProxyAddService()
98 if (!HdfRemoteServiceWriteInterfaceToken(serviceProxy->remote, data) || in DevSvcManagerProxyAddService()
103serviceProxy->remote->dispatcher->Dispatch(serviceProxy->remote, DEVSVC_MANAGER_ADD_SERVICE, data,… in DevSvcManagerProxyAddService()
115 struct DevSvcManagerProxy *serviceProxy = (struct DevSvcManagerProxy *)inst; in DevSvcManagerProxyUpdateService() local
120 if ((serviceProxy == NULL) || (serviceProxy->remote == NULL)) { in DevSvcManagerProxyUpdateService()
138 if (!HdfRemoteServiceWriteInterfaceToken(serviceProxy->remote, data) || in DevSvcManagerProxyUpdateService()
142 status = serviceProxy->remote->dispatcher->Dispatch( in DevSvcManagerProxyUpdateService()
143 serviceProxy->remote, DEVSVC_MANAGER_UPDATE_SERVICE, data, reply); in DevSvcManagerProxyUpdateService()
165 dispatcher = serviceProxy->remote->dispatcher; in DevSvcManagerProxyGetService()
[all …]
H A Ddevmgr_service_proxy.c35 struct DevmgrServiceProxy *serviceProxy = (struct DevmgrServiceProxy *)inst; in DevmgrServiceProxyAttachDeviceHost() local
41 remoteService = serviceProxy->remote; in DevmgrServiceProxyAttachDeviceHost()
72 struct DevmgrServiceProxy *serviceProxy = (struct DevmgrServiceProxy *)inst; in DevmgrServiceProxyAttachDevice() local
73 …if (serviceProxy == NULL || serviceProxy->remote == NULL || data == NULL || reply == NULL || token… in DevmgrServiceProxyAttachDevice()
77 struct HdfRemoteService *remoteService = serviceProxy->remote; in DevmgrServiceProxyAttachDevice()
97 struct DevmgrServiceProxy *serviceProxy = (struct DevmgrServiceProxy *)inst; in DevmgrServiceProxyDetachDevice() local
98 if (serviceProxy == NULL || serviceProxy->remote == NULL || data == NULL || reply == NULL) { in DevmgrServiceProxyDetachDevice()
102 struct HdfRemoteService *remoteService = serviceProxy->remote; in DevmgrServiceProxyDetachDevice()
116 struct DevmgrServiceProxy *serviceProxy = (struct DevmgrServiceProxy *)inst; in DevmgrServiceProxyProcessLoad() local
117 if (serviceProxy == NULL || serviceProxy->remote == NULL || svcName == NULL) { in DevmgrServiceProxyProcessLoad()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_manager.cpp220 auto serviceProxy = GetServiceProxy(); in CreateListenerObject() local
362 auto serviceProxy = GetServiceProxy(); in CreateCaptureSession() local
385 auto serviceProxy = GetServiceProxy(); in CreateCaptureSession() local
514 auto serviceProxy = GetServiceProxy(); in CreatePhotoOutputWithoutProfile() local
528 auto serviceProxy = GetServiceProxy(); in CreatePhotoOutput() local
565 auto serviceProxy = GetServiceProxy(); in CreatePreviewOutputWithoutProfile() local
578 auto serviceProxy = GetServiceProxy(); in CreatePreviewOutput() local
608 auto serviceProxy = GetServiceProxy(); in CreatePreviewOutputStream() local
894 SetServiceProxy(serviceProxy); in RefreshServiceProxy()
947 if (serviceProxy == nullptr) { in DestroyStubObj()
[all …]
/ohos5.0/base/location/test/location_geocode/source/
H A Dgeo_convert_service_test.cpp185 sptr<IRemoteObject> serviceProxy = variable
187 service_->serviceProxy_ = serviceProxy;
226 sptr<IRemoteObject> serviceProxy = variable
228 service_->serviceProxy_ = serviceProxy;
387 sptr<IRemoteObject> serviceProxy = variable
389 service_->serviceProxy_ = serviceProxy;
409 sptr<IRemoteObject> serviceProxy = variable
411 service_->serviceProxy_ = serviceProxy;
457 sptr<IRemoteObject> serviceProxy = variable
459 service_->serviceProxy_ = serviceProxy;
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/
H A Ddata_share_manager_impl.cpp227 auto serviceProxy = GetServiceProxy(); in OnAddSystemAbility() local
228 if (serviceProxy != nullptr) { in OnAddSystemAbility()
229 deathCallback_(serviceProxy); in OnAddSystemAbility()
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/scan_impl/src/
H A Dscan_manager_client.cpp62 sptr<IScanService> serviceProxy = iface_cast<IScanService>(systemAbility); in GetScanServiceProxy() local
63 if (serviceProxy == nullptr) { in GetScanServiceProxy()
68 return serviceProxy; in GetScanServiceProxy()
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
H A Dprint_manager_client.cpp646 … auto func = [printJobName, listener, printAttributes, &taskId](sptr<IPrintService> serviceProxy) { in Print() argument
647 serviceProxy->On("", PRINT_CALLBACK_ADAPTER, listener); in Print()
648 return serviceProxy->PrintByAdapter(printJobName, printAttributes, taskId); in Print()
674 auto func = [jobId, printAttributes, fd](sptr<IPrintService> serviceProxy) { in StartGetPrintFile() argument
675 return serviceProxy->StartGetPrintFile(jobId, printAttributes, fd); in StartGetPrintFile()
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/
H A Dcamera_manager.h717 explicit CameraManager(sptr<ICameraService> serviceProxy) : serviceProxyPrivate_(serviceProxy) in CameraManager() argument
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/
H A Djs_datashare_ext_ability.cpp991 auto serviceProxy = std::make_shared<DataShareKvServiceProxy>(remoteObject); in NotifyToDataShareService() local
992 if (serviceProxy == nullptr) { in NotifyToDataShareService()
996 auto remote = serviceProxy->GetFeatureInterface("data_share"); in NotifyToDataShareService()
/ohos5.0/foundation/multimedia/player_framework/services/services/recorder/server/
H A Drecorder_server.cpp1212 …sptr<CameraStandard::ICameraService> serviceProxy = iface_cast<CameraStandard::HCameraServiceProxy… in CheckCameraOutputState() local
1213 CHECK_AND_RETURN_RET_LOG(serviceProxy != nullptr, false, "serviceProxy is null"); in CheckCameraOutputState()
1215 serviceProxy->GetCameraOutputStatus(IPCSkeleton::GetCallingPid(), status); in CheckCameraOutputState()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp5787 sptr<ICameraService> serviceProxy = iface_cast<ICameraService>(object); variable
5788 ASSERT_NE(serviceProxy, nullptr);
5791 int32_t intResult = serviceProxy->SetCameraCallback(callback);
5795 intResult = serviceProxy->SetMuteCallback(callback_2);
5847 ASSERT_NE(serviceProxy, nullptr);
5851 int32_t intResult = serviceProxy->SetCameraCallback(callback);
5856 serviceProxy->SetMuteCallback(callback_2);
5859 intResult = serviceProxy->GetCameras(cameraIds, cameraAbilityList);
5863 intResult = serviceProxy->CreateCaptureSession(session);
5886 intResult = serviceProxy->SetListenerObject(object);
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dcapture_session.cpp6161 auto serviceProxy = CameraManager::GetInstance()->GetServiceProxy(); in CreateAndSetFoldServiceCallback() local
6162 CHECK_ERROR_RETURN_LOG(serviceProxy == nullptr, in CreateAndSetFoldServiceCallback()
6168 int32_t retCode = serviceProxy->SetFoldStatusCallback(foldStatusCallback_, true); in CreateAndSetFoldServiceCallback()