/foundation/multimedia/drm_framework/frameworks/native/drm/ |
H A D | media_key_system_impl.cpp | 24 MediaKeySystemImpl::MediaKeySystemImpl(sptr<IMediaKeySystemService> &mediaKeysystem) : serviceProxy_(mediaKeysystem)
in MediaKeySystemImpl() 29 sptr<IRemoteObject> object = serviceProxy_->AsObject();
in MediaKeySystemImpl() 49 serviceProxy_ = nullptr;
in ~MediaKeySystemImpl() 56 if (serviceProxy_ != nullptr && serviceProxy_->AsObject() != nullptr) {
in MediaKeySystemServerDied() 57 (void)serviceProxy_->AsObject()->RemoveDeathRecipient(deathRecipient_);
in MediaKeySystemServerDied() 58 serviceProxy_ = nullptr;
in MediaKeySystemServerDied() 71 DRM_CHECK_AND_RETURN_RET_LOG(serviceProxy_ != nullptr, DRM_MEMORY_ERROR,
in CreateListenerObject() 77 return serviceProxy_->SetListenerObject(object);
in CreateListenerObject() 85 if (serviceProxy_ ! in Release() [all...] |
/foundation/barrierfree/accessibility/frameworks/asacfwk/src/ |
H A D | accessibility_system_ability_client_impl.cpp | 81 if (serviceProxy_) { in ConnectToService() 109 serviceProxy_ = iface_cast<IAccessibleAbilityManagerService>(object); in ConnectToService() 110 if (serviceProxy_ == nullptr) { in ConnectToService() 141 if (implPtr->serviceProxy_) { in OnParameterChanged() 170 [this]() { return serviceProxy_ != nullptr; }); in LoadAccessibilityService() 180 if (serviceProxy_ != nullptr) { in LoadSystemAbilitySuccess() 181 HILOG_INFO("serviceProxy_ isn't nullptr"); in LoadSystemAbilitySuccess() 186 serviceProxy_ = iface_cast<IAccessibleAbilityManagerService>(remoteObject); in LoadSystemAbilitySuccess() 220 if (serviceProxy_ == nullptr) { in Init() 223 uint32_t stateType = serviceProxy_ in Init() [all...] |
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/session/ |
H A D | b_incremental_session_test.cpp | 48 ServiceProxy::serviceProxy_ = proxy; in SetUpTestCase() member in OHOS::FileManagement::Backup::ServiceProxy 56 ServiceProxy::serviceProxy_ = nullptr; in TearDownTestCase() member in OHOS::FileManagement::Backup::ServiceProxy 73 ServiceProxy::serviceProxy_ = nullptr; in HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 80 ServiceProxy::serviceProxy_ = proxy; in HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 106 ServiceProxy::serviceProxy_ = nullptr; in HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 110 ServiceProxy::serviceProxy_ = proxy; in HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 135 ServiceProxy::serviceProxy_ = nullptr; in HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 142 ServiceProxy::serviceProxy_ = proxy; in HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 165 ServiceProxy::serviceProxy_ = nullptr; in HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 171 ServiceProxy::serviceProxy_ in HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 194 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 201 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 227 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 231 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 256 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 265 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 288 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 294 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 317 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 324 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 348 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 356 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 379 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 388 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 411 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 418 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 444 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 448 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 473 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 482 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 505 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 512 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 536 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 544 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 567 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 576 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 599 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 605 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 628 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 636 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 659 ServiceProxy::serviceProxy_ = nullptr; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy 667 ServiceProxy::serviceProxy_ = proxy; HWTEST_F() member in OHOS::FileManagement::Backup::ServiceProxy [all...] |
H A D | service_proxy_mock.cpp | 187 return serviceProxy_; in GetServiceProxyPointer() 192 return serviceProxy_; in GetInstance()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloud_daemon_kit_inner/src/ |
H A D | cloud_daemon_service_proxy.cpp | 77 if (serviceProxy_ != nullptr) { in GetInstance() 78 return serviceProxy_; in GetInstance() 93 serviceProxy_ = iface_cast<ICloudDaemon>(object); in GetInstance() 94 if (serviceProxy_ == nullptr) { in GetInstance() 98 return serviceProxy_; in GetInstance() 105 serviceProxy_ = nullptr; in InvaildInstance()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/lite/ |
H A D | ipc_client_server_proxy.cpp | 97 if (serviceProxy_ != nullptr && in SendCmd() 98 serviceProxy_->Invoke(serviceProxy_, cmdCode, &request, &cmdCode, SendCmdResultCb) != 0) { in SendCmd() 99 LOGE("serviceProxy_ invoke failed."); in SendCmd() 109 if (serviceProxy_ != nullptr) { in Init() 114 serviceProxy_ = GetServerProxy(); in Init() 115 if (serviceProxy_ == nullptr) { in Init()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner_lite/src/ |
H A D | cloud_sync_service_proxy_lite.cpp | 72 if (serviceProxy_ != nullptr) {
in GetInstance() 73 return serviceProxy_;
in GetInstance() 100 return serviceProxy_;
in GetInstance() 107 serviceProxy_ = nullptr;
in InvaildInstance() 117 if (serviceProxy_ != nullptr) {
in OnLoadSystemAbilitySuccess() 120 serviceProxy_ = iface_cast<ICloudSyncService>(remoteObject);
in OnLoadSystemAbilitySuccess() 131 serviceProxy_ = nullptr;
in OnLoadSystemAbilityFail()
|
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/ |
H A D | file_access_service_proxy.cpp | 36 if (serviceProxy_ != nullptr) { in GetInstance() 37 return serviceProxy_; in GetInstance() 64 return serviceProxy_; in GetInstance() 79 serviceProxy_ = iface_cast<FileAccessServiceProxy>(remoteObject); in OnLoadSystemAbilitySuccess() 80 if (!serviceProxy_) { in OnLoadSystemAbilitySuccess() 86 auto remoteObj = serviceProxy_->AsObject(); in OnLoadSystemAbilitySuccess() 89 serviceProxy_ = nullptr; in OnLoadSystemAbilitySuccess() 109 serviceProxy_ = nullptr; in OnLoadSystemAbilityFail() 118 serviceProxy_ = nullptr; in InvaildInstance()
|
/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/ |
H A D | service_proxy_mock.cpp | 206 return serviceProxy_; in GetServiceProxyPointer() 216 serviceProxy_ = sptr(new ServiceProxy(nullptr)); in GetInstance() 219 serviceProxy_ = sptr(new ServiceProxy(object)); in GetInstance() 221 return serviceProxy_; in GetInstance() 226 serviceProxy_ = nullptr; in InvaildInstance()
|
/foundation/barrierfree/accessibility/frameworks/aafwk/src/ |
H A D | accessible_ability_client_impl.cpp | 86 if (serviceProxy_ && serviceProxy_->AsObject()) { in ~AccessibleAbilityClientImpl() 88 serviceProxy_->AsObject()->RemoveDeathRecipient(accessibilityServiceDeathRecipient_); in ~AccessibleAbilityClientImpl() 94 if (serviceProxy_ != nullptr) { in InitAccessibilityServiceProxy() 115 serviceProxy_ = iface_cast<IAccessibleAbilityManagerService>(object); in InitAccessibilityServiceProxy() 116 if (serviceProxy_ == nullptr) { in InitAccessibilityServiceProxy() 120 if (serviceProxy_->AsObject() && in InitAccessibilityServiceProxy() 121 serviceProxy_->AsObject()->AddDeathRecipient(accessibilityServiceDeathRecipient_)) { in InitAccessibilityServiceProxy() 159 return serviceProxy_ != nullptr; in CheckServiceProxy() 161 if (serviceProxy_ ! in CheckServiceProxy() [all...] |
/foundation/filemanagement/dfs_service/test/mock/ipc/ |
H A D | cloud_sync_service_proxy_mock.cpp | 72 serviceProxy_ = iface_cast<ICloudSyncService>(sptr(new CloudSyncServiceMock())); in GetInstance() 73 return serviceProxy_; in GetInstance()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/deferred_proc_session/ |
H A D | deferred_video_proc_session.cpp | 185 serviceProxy_ = iface_cast<ICameraService>(object); in ConnectDeferredProcessingSession() 186 CHECK_ERROR_RETURN_LOG(serviceProxy_ == nullptr, "serviceProxy_ is null"); in ConnectDeferredProcessingSession() 194 serviceProxy_->CreateDeferredVideoProcessingSession(userId_, remoteCallback, session); in ConnectDeferredProcessingSession()
|
H A D | deferred_photo_proc_session.cpp | 253 serviceProxy_ = iface_cast<ICameraService>(object); in ConnectDeferredProcessingSession() 254 CHECK_ERROR_RETURN_LOG(serviceProxy_ == nullptr, "serviceProxy_ is null"); in ConnectDeferredProcessingSession() 262 serviceProxy_->CreateDeferredPhotoProcessingSession(userId_, remoteCallback, session); in ConnectDeferredProcessingSession()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/ipc/lite/ |
H A D | ipc_client_server_proxy.h | 42 IClientProxy *serviceProxy_ { nullptr };
|
/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/ |
H A D | service_proxy.cpp | 439 return serviceProxy_; in GetServiceProxyPointer() 447 if (serviceProxy_ != nullptr) { in GetInstance() 448 return serviceProxy_; in GetInstance() 479 return serviceProxy_; in GetInstance() 487 serviceProxy_ = nullptr; in InvaildInstance() 502 serviceProxy_ = iface_cast<IService>(remoteObject); in OnLoadSystemAbilitySuccess() 503 if (serviceProxy_ == nullptr) { in OnLoadSystemAbilitySuccess() 504 HILOGD("serviceProxy_ is nullptr"); in OnLoadSystemAbilitySuccess() 507 auto remoteObj = serviceProxy_->AsObject(); in OnLoadSystemAbilitySuccess() 510 serviceProxy_ in OnLoadSystemAbilitySuccess() [all...] |
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_sync_service_proxy_lite_test.cpp | 176 proxy_->serviceProxy_ = nullptr; in HWTEST_F() 197 proxy_->serviceProxy_ = nullptr; in HWTEST_F() 221 proxy_->serviceProxy_ = nullptr; in HWTEST_F()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloud_daemon_kit_inner/include/ |
H A D | cloud_daemon_service_proxy.h | 36 static inline sptr<ICloudDaemon> serviceProxy_; member in OHOS::FileManagement::CloudFile::CloudDaemonServiceProxy
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/ |
H A D | cloud_sync_service_proxy.cpp | 1097 if (serviceProxy_ != nullptr) { in GetInstance() 1098 return serviceProxy_; in GetInstance() 1125 return serviceProxy_; in GetInstance() 1132 serviceProxy_ = nullptr; in InvaildInstance() 1143 if (serviceProxy_ != nullptr) { in OnLoadSystemAbilitySuccess() 1146 serviceProxy_ = iface_cast<ICloudSyncService>(remoteObject); in OnLoadSystemAbilitySuccess() 1156 serviceProxy_ = nullptr; in OnLoadSystemAbilityFail()
|
/foundation/barrierfree/accessibility/frameworks/acfwk/src/ |
H A D | accessibility_config_impl.cpp | 112 if (serviceProxy_ != nullptr) { in InitAccessibilityServiceProxy() 134 serviceProxy_ = iface_cast<Accessibility::IAccessibleAbilityManagerService>(object); in InitAccessibilityServiceProxy() 135 if (serviceProxy_ == nullptr) { in InitAccessibilityServiceProxy() 161 [this]() { return serviceProxy_ != nullptr; }); in LoadAccessibilityService() 192 serviceProxy_ = iface_cast<Accessibility::IAccessibleAbilityManagerService>(object); in LoadSystemAbilitySuccess() 207 if (serviceProxy_ == nullptr) { in RegisterToService() 223 uint32_t ret = serviceProxy_->RegisterCaptionObserver(captionObserver_); in RegisterToService() 237 serviceProxy_->RegisterEnableAbilityListsObserver(enableAbilityListsObserver_); in RegisterToService() 246 uint32_t ret = serviceProxy_->RegisterConfigObserver(configObserver_); in RegisterToService() 260 return serviceProxy_; in GetServiceProxy() [all...] |
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/ |
H A D | file_access_service_proxy.h | 71 static inline sptr<FileAccessServiceProxy> serviceProxy_; member in OHOS::FileAccessFwk::FileAccessServiceProxy
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/deferred_proc_session/ |
H A D | deferred_video_proc_session.h | 63 sptr<ICameraService> serviceProxy_; member in OHOS::CameraStandard::DeferredVideoProcSession
|
H A D | deferred_photo_proc_session.h | 70 sptr<ICameraService> serviceProxy_; member in OHOS::OHOS::CameraStandard::DeferredPhotoProcSession
|
/foundation/barrierfree/accessibility/frameworks/aafwk/include/ |
H A D | accessibility_ui_test_ability_impl.h | 252 sptr<IAccessibleAbilityManagerService> serviceProxy_ = nullptr; member in OHOS::Accessibility::final
|
/foundation/multimedia/drm_framework/interfaces/inner_api/native/drm/ |
H A D | media_key_system_impl.h | 73 sptr<IMediaKeySystemService> serviceProxy_;
member in OHOS::DrmStandard::MediaKeySystemImpl
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/ |
H A D | cloud_sync_service_proxy.h | 79 static inline sptr<ICloudSyncService> serviceProxy_; member in OHOS::FileManagement::CloudSync::CloudSyncServiceProxy
|