/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_device_proxy_lite.cpp | 345 remote_ = proxy; in Init() 359 if (remoteDied_ || remote_ == nullptr) { in EnableWifi() 360 WIFI_LOGE("failed to %{public}s, remoteDied_: %{public}d, remote_: %{public}d", in EnableWifi() 361 __func__, remoteDied_, remote_ == nullptr); in EnableWifi() 376 int error = remote_->Invoke(remote_, static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_ENABLE_WIFI), &req, &owner, in EnableWifi() 392 if (remoteDied_ || remote_ == nullptr) { in DisableWifi() 393 WIFI_LOGE("failed to %{public}s, remoteDied_: %{public}d, remote_: %{public}d", in DisableWifi() 394 __func__, remoteDied_, remote_ == nullptr); in DisableWifi() 409 int error = remote_ in DisableWifi() [all...] |
H A D | wifi_scan_proxy_lite.cpp | 149 WifiScanProxy::WifiScanProxy() : remote_(nullptr), remoteDied_(false) in WifiScanProxy() 187 remote_ = proxy; in Init() 201 if (remoteDied_ || remote_ == nullptr) { in SetScanControlInfo() 202 WIFI_LOGE("failed to %{public}s, remoteDied_: %{public}d, remote_: %{public}d", in SetScanControlInfo() 203 __func__, remoteDied_, remote_ == nullptr); in SetScanControlInfo() 236 int error = remote_->Invoke(remote_, static_cast<int32_t>(ScanInterfaceCode::WIFI_SVR_CMD_SET_SCAN_CONTROL_INFO), in SetScanControlInfo() 252 if (remoteDied_ || remote_ == nullptr) { in Scan() 253 WIFI_LOGE("failed to %{public}s, remoteDied_: %{public}d, remote_: %{public}d", in Scan() 254 __func__, remoteDied_, remote_ in Scan() [all...] |
H A D | wifi_scan_proxy.h | 140 IClientProxy *remote_ = nullptr; member in OHOS::Wifi::WifiScanProxy 162 sptr<IRemoteObject> remote_ = nullptr; member in OHOS::Wifi::WifiScanProxy
|
H A D | wifi_scan_proxy.cpp | 39 : IRemoteProxy<IWifiScan>(remote), mRemoteDied(false), remote_(nullptr), deathRecipient_(nullptr) in WifiScanProxy() 55 remote_ = remote; in WifiScanProxy() 70 if (remote_ == nullptr) { in RemoveDeathRecipient() 71 WIFI_LOGI("remote_ is nullptr!"); in RemoveDeathRecipient() 78 remote_->RemoveDeathRecipient(deathRecipient_); in RemoveDeathRecipient() 79 remote_ = nullptr; in RemoveDeathRecipient()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | observer_bridge.cpp | 27 if (remote_ == nullptr) { in ~ObserverBridge() 34 service->Unsubscribe(appId_, storeId_, remote_); in ~ObserverBridge() 40 if (remote_ != nullptr) { in RegisterRemoteObserver() 41 remote_->realType_ |= realType; in RegisterRemoteObserver() 50 remote_ = new (std::nothrow) ObserverClient(observer_, convert_); in RegisterRemoteObserver() 51 auto status = service->Subscribe(appId_, storeId_, remote_); in RegisterRemoteObserver() 53 remote_ = nullptr; in RegisterRemoteObserver() 55 remote_->realType_ = realType; in RegisterRemoteObserver() 63 if (remote_ == nullptr) { in UnregisterRemoteObserver() 73 remote_ in UnregisterRemoteObserver() [all...] |
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_server_proxy_lite.cpp | 95 DhcpServerProxy::DhcpServerProxy() : remote_(nullptr), remoteDied_(false) in DhcpServerProxy() 133 remote_ = proxy; in Init() 163 if (remoteDied_ || remote_ == nullptr) { in RegisterDhcpServerCallBack() 164 DHCP_LOGE("failed to %{public}s, remoteDied_: %{public}d, remote_: %{public}d", in RegisterDhcpServerCallBack() 165 __func__, remoteDied_, remote_ == nullptr); in RegisterDhcpServerCallBack() 190 int error = remote_->Invoke(remote_, in RegisterDhcpServerCallBack() 208 if (remoteDied_ || remote_ == nullptr) { in StartDhcpServer() 209 DHCP_LOGE("failed to %{public}s, remoteDied_: %{public}d, remote_: %{public}d", in StartDhcpServer() 210 __func__, remoteDied_, remote_ in StartDhcpServer() [all...] |
H A D | dhcp_client_proxy_lite.cpp | 89 if (remoteDied_ || remote_ == nullptr) { in RegisterDhcpClientCallBack() 90 DHCP_LOGE("failed to %{public}s, remoteDied_: %{public}d, remote_: %{public}d", in RegisterDhcpClientCallBack() 91 __func__, remoteDied_, remote_ == nullptr); in RegisterDhcpClientCallBack() 120 int error = remote_->Invoke(remote_, in RegisterDhcpClientCallBack() 139 if (remoteDied_ || remote_ == nullptr) { in StartDhcpClient() 140 DHCP_LOGE("failed to %{public}s, remoteDied_: %{public}d, remote_: %{public}d", in StartDhcpClient() 141 __func__, remoteDied_, remote_ == nullptr); in StartDhcpClient() 159 int error = remote_->Invoke(remote_, in StartDhcpClient() [all...] |
H A D | dhcp_client_proxy.cpp | 31 remote_(nullptr), mRemoteDied(false), deathRecipient_(nullptr) in DhcpClientProxy() 47 remote_ = impl; in DhcpClientProxy() 62 if (remote_ == nullptr) { in RemoveDeathRecipient() 63 DHCP_LOGI("remote_ is nullptr!"); in RemoveDeathRecipient() 70 remote_->RemoveDeathRecipient(deathRecipient_); in RemoveDeathRecipient() 71 remote_ = nullptr; in RemoveDeathRecipient()
|
H A D | dhcp_client_proxy.h | 58 IClientProxy *remote_ = nullptr; member in OHOS::DHCP::DhcpClientProxy 79 sptr<IRemoteObject> remote_ = nullptr; member in OHOS::DHCP::DhcpClientProxy
|
H A D | dhcp_server_proxy.h | 64 IClientProxy *remote_ = nullptr; member in OHOS::DHCP::DhcpServerProxy 85 sptr<IRemoteObject> remote_ = nullptr; member in OHOS::DHCP::DhcpServerProxy
|
H A D | dhcp_server_proxy.cpp | 32 remote_(nullptr), mRemoteDied(false), deathRecipient_(nullptr) in DhcpServerProxy() 48 remote_ = impl; in DhcpServerProxy() 63 if (remote_ == nullptr) { in RemoveDeathRecipient() 64 DHCP_LOGI("remote_ is nullptr!"); in RemoveDeathRecipient() 71 remote_->RemoveDeathRecipient(deathRecipient_); in RemoveDeathRecipient() 72 remote_ = nullptr; in RemoveDeathRecipient()
|
/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/listen_ability/include/ |
H A D | listen_ability_proxy.h | 42 remote_ = remote; in ListenAbilityProxy() 48 if (remote_ == nullptr) { in ~ListenAbilityProxy() 54 remote_->RemoveDeathRecipient(deathRecipient_); in ~ListenAbilityProxy() 55 remote_ = nullptr; in ~ListenAbilityProxy() 88 sptr<IRemoteObject> remote_ = nullptr; member in OHOS::ListenAbilityProxy
|
/foundation/communication/nfc/interfaces/inner_api/controller/ |
H A D | nfc_controller.cpp | 36 sptr<IRemoteObject> NfcController::remote_; member in OHOS::NFC::KITS::NfcController 64 remote_ = NfcSaClient::GetInstance().LoadNfcSa(NFC_MANAGER_SYS_ABILITY_ID); in InitNfcRemoteSA() 65 if (remote_ == nullptr) { in InitNfcRemoteSA() 72 remote_->AddDeathRecipient(deathRecipient_); in InitNfcRemoteSA() 74 nfcControllerProxy_ = std::make_shared<NfcControllerProxy>(remote_); in InitNfcRemoteSA() 100 if (remote_ == nullptr) { in OnRemoteDied() 101 ErrorLog("remote_ is nullptr!"); in OnRemoteDied() 104 remote_->RemoveDeathRecipient(deathRecipient_); in OnRemoteDied() 108 remote_ = nullptr; in OnRemoteDied()
|
/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/test_sa_proxy_cache_ability/include/ |
H A D | test_sa_proxy_cache_proxy.h | 50 remote_ = remote; in TestSaProxyCacheProxy() 56 if (remote_ == nullptr) { in ~TestSaProxyCacheProxy() 62 remote_->RemoveDeathRecipient(deathRecipient_); in ~TestSaProxyCacheProxy() 63 remote_ = nullptr; in ~TestSaProxyCacheProxy() 106 sptr<IRemoteObject> remote_ = nullptr; member in OHOS::TestSaProxyCacheProxy
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | distributed_sched_test_util.cpp | 81 sptr<IRemoteObject> DistributedSchedUtil::remote_ = nullptr; member in OHOS::DistributedSchedule::DistributedSchedUtil 169 []() { return remote_ != nullptr; }); in LoadDistributedSchedService() 180 remote_ = remoteObject; in LoadSystemAbilitySuccessNotify() 187 remote_ = nullptr; in LoadSystemAbilityFailNotify()
|
H A D | distributed_sched_test_util.h | 42 static sptr<IRemoteObject> remote_; member in OHOS::DistributedSchedule::DistributedSchedUtil
|
/foundation/ability/form_fwk/services/include/ |
H A D | form_observer_record.h | 40 FormObserverRecordInner(const sptr<IRemoteObject> &remote) : remote_(remote) {} in FormObserverRecordInner() 48 return remote_; in GetRemote() 68 return (remote_ == other.GetRemote() && bindHostBundle == other.BindHostBundle()); in operator ==() 72 sptr<IRemoteObject> remote_ {nullptr};
|
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/src/ |
H A D | daudio_hdi_handler.cpp | 68 remote_ = OHOS::HDI::hdi_objcast<IDAudioManager>(audioSrvHdf_); in InitHdiHandler() 69 CHECK_NULL_RETURN(remote_, ERR_DH_AUDIO_NULLPTR); in InitHdiHandler() 70 remote_->AddDeathRecipient(audioHdiRecipient_); in InitHdiHandler() 78 CHECK_NULL_RETURN(remote_, ERR_DH_AUDIO_NULLPTR); in UninitHdiHandler() 79 remote_->RemoveDeathRecipient(audioHdiRecipient_); in UninitHdiHandler()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_notifier_proxy.cpp | 44 auto result = remote_->SendRequest((code), request, reply, option); \ 56 remote_ = Remote(); in KVDBNotifierProxy()
|
H A D | kvdb_notifier_proxy.h | 36 sptr<IRemoteObject> remote_; member in OHOS::DistributedKv::KVDBNotifierProxy
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | result_set_proxy.cpp | 30 remote_ = Remote(); in ResultSetProxy() 186 if (remote_ == nullptr) { in SendRequest() 187 LOG_ERROR("remote_ is null, code:%{public}d, input:%{public}zu.", code, sizeof...(input)); in SendRequest() 208 int32_t status = remote_->SendRequest(code, data, reply, mo); in SendRequest()
|
/foundation/CastEngine/castengine_cast_framework/client/src/ |
H A D | cast_session_manager_adaptor.cpp | 56 remote_ = object; in RegisterListener() 159 sptr<IRemoteObject> remote = remote_.promote(); in UnsubscribeDeathRecipient()
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_sync_service_proxy_lite_test.cpp | 49 sptr<CloudSyncCallbackMock> remote_ = nullptr; member in OHOS::FileManagement::CloudSync::Test::CloudSyncServiceProxyLiteTest 76 remote_ = sptr(new CloudSyncCallbackMock()); in SetUp() 85 remote_ = nullptr; in TearDown()
|
H A D | cloud_sync_service_proxy_test.cpp | 40 sptr<CloudSyncCallbackMock> remote_ = nullptr; member in OHOS::FileManagement::CloudSync::Test::CloudSyncServiceProxyTest 58 remote_ = sptr(new CloudSyncCallbackMock()); in SetUp() 67 remote_ = nullptr; in TearDown() 132 int result = proxy_->RegisterCallbackInner(remote_, bundleName); in HWTEST_F() 149 int result = proxy_->RegisterCallbackInner(remote_, bundleName); in HWTEST_F() 818 int ret = proxy_->RegisterDownloadAssetCallback(remote_); in HWTEST_F() 834 int ret = proxy_->RegisterDownloadAssetCallback(remote_); in HWTEST_F() 901 int result = proxy_->RegisterDownloadFileCallback(remote_); in HWTEST_F() 917 int result = proxy_->RegisterDownloadFileCallback(remote_); in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_framework/client/include/ |
H A D | cast_session_manager_adaptor.h | 57 wptr<IRemoteObject> remote_; member in OHOS::CastEngine::CastEngineClient::CastSessionManagerAdaptor
|