/foundation/ability/idl_tool/test/rust/moduletest/client/src/ |
D | main.rs | 47 let remote = <dyn IIdlTestService as FromRemoteObj>::from(object); in get_test_service() localVariable 48 let remote = match remote { in get_test_service() localVariable 55 remote in get_test_service() 82 let remote = get_test_service(); in idl_ipc_test_basic_001() localVariable 83 remote.idl_ipc_test_basic_001().expect("should success"); in idl_ipc_test_basic_001() 89 let remote = get_test_service(); in idl_ipc_test_basic_002() localVariable 90 remote.idl_ipc_test_basic_002().expect("should success"); in idl_ipc_test_basic_002() 96 let remote = get_test_service(); in idl_ipc_test_basic_101() localVariable 97 let anchor = remote.idl_ipc_test_basic_101(&true).expect("should success"); in idl_ipc_test_basic_101() 103 let remote = get_test_service(); in idl_ipc_test_basic_102() localVariable [all …]
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
D | lnn_select_rule.c | 54 static bool GetNetCap(const char *networkId, int32_t *local, int32_t *remote) in GetNetCap() argument 61 ret = LnnGetRemoteNumInfo(networkId, NUM_KEY_NET_CAP, remote); in GetNetCap() 62 if (ret != SOFTBUS_OK || *remote < 0) { in GetNetCap() 63 …OFTBUS_LOG_LNN, SOFTBUS_LOG_ERROR, "LnnGetRemoteNumInfo err, ret = %d, remote = %d", ret, *remote); in GetNetCap() 69 static bool GetFeatureCap(const char *networkId, uint64_t *local, uint64_t *remote) in GetFeatureCap() argument 76 ret = LnnGetRemoteNumU64Info(networkId, NUM_KEY_FEATURE_CAPA, remote); in GetFeatureCap() 77 if (ret != SOFTBUS_OK || *remote < 0) { in GetFeatureCap() 78 LLOGE("LnnGetRemoteNumInfo err, ret = %d, remote = %d", ret, *remote); in GetFeatureCap() 91 int32_t local, remote; in IsEnableWlan2P4G() local 92 if (!GetNetCap(networkId, &local, &remote)) { in IsEnableWlan2P4G() [all …]
|
/foundation/multimedia/av_session/services/session/ipc/proxy/ |
D | avsession_callback_proxy.cpp | 31 auto remote = Remote(); in OnPlay() local 32 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlay() 35 CHECK_AND_RETURN_LOG(remote->SendRequest(SESSION_CALLBACK_ON_PLAY, data, reply, option) == 0, in OnPlay() 44 auto remote = Remote(); in OnPause() local 45 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPause() 48 CHECK_AND_RETURN_LOG(remote->SendRequest(SESSION_CALLBACK_ON_PAUSE, data, reply, option) == 0, in OnPause() 57 auto remote = Remote(); in OnStop() local 58 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnStop() 61 CHECK_AND_RETURN_LOG(remote->SendRequest(SESSION_CALLBACK_ON_STOP, data, reply, option) == 0, in OnStop() 70 auto remote = Remote(); in OnPlayNext() local [all …]
|
D | avcast_controller_callback_proxy.cpp | 34 auto remote = Remote(); in OnCastPlaybackStateChange() local 35 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnCastPlaybackStateChange() 36 CHECK_AND_RETURN_LOG(remote->SendRequest(CAST_CONTROLLER_CMD_ON_CAST_PLAYBACK_STATE_CHANGE, in OnCastPlaybackStateChange() 49 auto remote = Remote(); in OnMediaItemChange() local 50 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnMediaItemChange() 51 …CHECK_AND_RETURN_LOG(remote->SendRequest(CAST_CONTROLLER_CMD_ON_MEDIA_ITEM_CHANGE, parcel, reply, … in OnMediaItemChange() 62 auto remote = Remote(); in OnPlayNext() local 63 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlayNext() 64 …CHECK_AND_RETURN_LOG(remote->SendRequest(CAST_CONTROLLER_CMD_ON_PLAY_NEXT, parcel, reply, option) … in OnPlayNext() 75 auto remote = Remote(); in OnPlayPrevious() local [all …]
|
D | avcontroller_callback_proxy.cpp | 33 auto remote = Remote(); in OnSessionDestroy() local 34 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSessionDestroy() 35 …CHECK_AND_RETURN_LOG(remote->SendRequest(CONTROLLER_CMD_ON_SESSION_DESTROY, parcel, reply, option)… in OnSessionDestroy() 47 auto remote = Remote(); in OnPlaybackStateChange() local 48 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlaybackStateChange() 49 …CHECK_AND_RETURN_LOG(remote->SendRequest(CONTROLLER_CMD_ON_PLAYBACK_STATE_CHANGE, parcel, reply, o… in OnPlaybackStateChange() 61 auto remote = Remote(); in OnMetaDataChange() local 62 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnMetaDataChange() 63 …CHECK_AND_RETURN_LOG(remote->SendRequest(CONTROLLER_CMD_ON_METADATA_CHANGE, parcel, reply, option)… in OnMetaDataChange() 75 auto remote = Remote(); in OnActiveStateChange() local [all …]
|
D | session_listener_proxy.cpp | 32 auto remote = Remote(); in OnSessionCreate() local 33 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSessionCreate() 36 …CHECK_AND_RETURN_LOG(remote->SendRequest(LISTENER_CMD_ON_CREATE, data, reply, option) == 0, "send … in OnSessionCreate() 45 auto remote = Remote(); in OnSessionRelease() local 46 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSessionRelease() 49 …CHECK_AND_RETURN_LOG(remote->SendRequest(LISTENER_CMD_ON_RELEASE, data, reply, option) == 0, "send… in OnSessionRelease() 58 auto remote = Remote(); in OnTopSessionChange() local 59 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnTopSessionChange() 62 …CHECK_AND_RETURN_LOG(remote->SendRequest(LISTENER_CMD_TOP_CHANGED, data, reply, option) == 0, "sen… in OnTopSessionChange() 71 auto remote = Remote(); in OnAudioSessionChecked() local [all …]
|
D | avsession_proxy.cpp | 48 auto remote = Remote(); in GetSessionId() local 49 CHECK_AND_RETURN_RET_LOG(remote != nullptr, "", "get remote service failed"); in GetSessionId() 50 …CHECK_AND_RETURN_RET_LOG(remote->SendRequest(SESSION_CMD_GET_SESSION_ID, data, reply, option) == 0, in GetSessionId() 65 auto remote = Remote(); in GetSessionType() local 66 CHECK_AND_RETURN_RET_LOG(remote != nullptr, "", "get remote service failed"); in GetSessionType() 67 …CHECK_AND_RETURN_RET_LOG(remote->SendRequest(SESSION_CMD_GET_SESSION_TYPE, data, reply, option) ==… in GetSessionType() 97 auto remote = Remote(); in RegisterCallbackInner() local 98 CHECK_AND_RETURN_RET_LOG(remote != nullptr, ERR_SERVICE_NOT_EXIST, "get remote service failed"); in RegisterCallbackInner() 99 …CHECK_AND_RETURN_RET_LOG(remote->SendRequest(SESSION_CMD_REGISTER_CALLBACK, data, reply, option) =… in RegisterCallbackInner() 115 auto remote = Remote(); in Destroy() local [all …]
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
D | ability_death_recipient.cpp | 23 void AbilityDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() argument 26 SystemAbilityManager::GetInstance()->RemoveSystemAbility(remote.promote()); in OnRemoteDied() 30 void SystemProcessDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() argument 33 SystemAbilityManager::GetInstance()->RemoveSystemProcess(remote.promote()); in OnRemoteDied() 37 void AbilityStatusDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() argument 40 SystemAbilityManager::GetInstance()->UnSubscribeSystemAbility(remote.promote()); in OnRemoteDied() 44 void AbilityCallbackDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() argument 47 SystemAbilityManager::GetInstance()->OnAbilityCallbackDied(remote.promote()); in OnRemoteDied() 51 void RemoteCallbackDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() argument 54 SystemAbilityManager::GetInstance()->OnRemoteCallbackDied(remote.promote()); in OnRemoteDied() [all …]
|
/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/proxy/ |
D | net_policy_service_proxy.cpp | 27 int32_t NetPolicyServiceProxy::SendRequest(sptr<IRemoteObject> &remote, uint32_t code, MessageParce… in SendRequest() argument 30 if (remote == nullptr) { in SendRequest() 34 int32_t retCode = remote->SendRequest(code, data, reply, option); in SendRequest() 63 sptr<IRemoteObject> remote = Remote(); in SetPolicyByUid() local 64 if (remote == nullptr) { in SetPolicyByUid() 71 …return SendRequest(remote, static_cast<uint32_t>(PolicyInterfaceCode::CMD_NPS_SET_POLICY_BY_UID), … in SetPolicyByUid() 88 sptr<IRemoteObject> remote = Remote(); in GetPolicyByUid() local 89 if (remote == nullptr) { in GetPolicyByUid() 97 …SendRequest(remote, static_cast<uint32_t>(PolicyInterfaceCode::CMD_NPS_GET_POLICY_BY_UID), data, r… in GetPolicyByUid() 124 sptr<IRemoteObject> remote = Remote(); in GetUidsByPolicy() local [all …]
|
/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
D | background_task_subscriber_proxy.cpp | 31 sptr<IRemoteObject> remote = Remote(); in OnConnected() local 32 if (remote == nullptr) { in OnConnected() 44 int32_t ret = remote->SendRequest( in OnConnected() 53 sptr<IRemoteObject> remote = Remote(); in OnDisconnected() local 54 if (remote == nullptr) { in OnDisconnected() 66 int32_t ret = remote->SendRequest( in OnDisconnected() 75 sptr<IRemoteObject> remote = Remote(); in OnTransientTaskStart() local 76 if (remote == nullptr) { in OnTransientTaskStart() 97 int32_t ret = remote->SendRequest( in OnTransientTaskStart() 106 sptr<IRemoteObject> remote = Remote(); in OnTransientTaskEnd() local [all …]
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
D | application_state_observer_proxy.cpp | 46 sptr<IRemoteObject> remote = Remote(); in OnForegroundApplicationChanged() local 47 if (remote == nullptr) { in OnForegroundApplicationChanged() 51 int32_t ret = remote->SendRequest( in OnForegroundApplicationChanged() 68 sptr<IRemoteObject> remote = Remote(); in OnAbilityStateChanged() local 69 if (remote == nullptr) { in OnAbilityStateChanged() 73 int32_t ret = remote->SendRequest( in OnAbilityStateChanged() 90 sptr<IRemoteObject> remote = Remote(); in OnExtensionStateChanged() local 91 if (remote == nullptr) { in OnExtensionStateChanged() 95 int32_t ret = remote->SendRequest( in OnExtensionStateChanged() 112 sptr<IRemoteObject> remote = Remote(); in OnProcessCreated() local [all …]
|
D | app_scheduler_proxy.cpp | 45 sptr<IRemoteObject> remote = Remote(); in ScheduleForegroundApplication() local 46 if (remote == nullptr) { in ScheduleForegroundApplication() 51 …remote->SendRequest(static_cast<uint32_t>(IAppScheduler::Message::SCHEDULE_FOREGROUND_APPLICATION_… in ScheduleForegroundApplication() 68 sptr<IRemoteObject> remote = Remote(); in ScheduleBackgroundApplication() local 69 if (remote == nullptr) { in ScheduleBackgroundApplication() 74 …remote->SendRequest(static_cast<uint32_t>(IAppScheduler::Message::SCHEDULE_BACKGROUND_APPLICATION_… in ScheduleBackgroundApplication() 91 sptr<IRemoteObject> remote = Remote(); in ScheduleTerminateApplication() local 92 if (remote == nullptr) { in ScheduleTerminateApplication() 96 int32_t ret = remote->SendRequest( in ScheduleTerminateApplication() 111 sptr<IRemoteObject> remote = Remote(); in ScheduleLowMemory() local [all …]
|
D | ams_mgr_proxy.cpp | 85 sptr<IRemoteObject> remote = Remote(); in LoadAbility() local 86 if (remote == nullptr) { in LoadAbility() 90 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(IAmsMgr::Message::LOAD_ABILITY), data, rep… in LoadAbility() 114 sptr<IRemoteObject> remote = Remote(); in TerminateAbility() local 115 if (remote == nullptr) { in TerminateAbility() 120 …remote->SendRequest(static_cast<uint32_t>(IAmsMgr::Message::TERMINATE_ABILITY), data, reply, optio… in TerminateAbility() 141 sptr<IRemoteObject> remote = Remote(); in UpdateAbilityState() local 142 if (remote == nullptr) { in UpdateAbilityState() 147 …remote->SendRequest(static_cast<uint32_t>(IAmsMgr::Message::UPDATE_ABILITY_STATE), data, reply, op… in UpdateAbilityState() 168 sptr<IRemoteObject> remote = Remote(); in UpdateExtensionState() local [all …]
|
/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/proxy/ |
D | net_stats_service_proxy.cpp | 27 int32_t NetStatsServiceProxy::SendRequest(sptr<IRemoteObject> &remote, uint32_t code, MessageParcel… in SendRequest() argument 30 if (remote == nullptr) { in SendRequest() 34 int32_t retCode = remote->SendRequest(code, data, reply, option); in SendRequest() 68 sptr<IRemoteObject> remote = Remote(); in RegisterNetStatsCallback() local 69 if (remote == nullptr) { in RegisterNetStatsCallback() 76 …return SendRequest(remote, static_cast<uint32_t>(StatsInterfaceCode::CMD_NSM_REGISTER_NET_STATS_CA… in RegisterNetStatsCallback() 94 sptr<IRemoteObject> remote = Remote(); in UnregisterNetStatsCallback() local 95 if (remote == nullptr) { in UnregisterNetStatsCallback() 102 …return SendRequest(remote, static_cast<uint32_t>(StatsInterfaceCode::CMD_NSM_UNREGISTER_NET_STATS_… in UnregisterNetStatsCallback() 117 sptr<IRemoteObject> remote = Remote(); in GetIfaceRxBytes() local [all …]
|
/foundation/systemabilitymgr/safwk/test/mock/common/audio_ability/src/ |
D | test_audio_ability_proxy.cpp | 41 auto remote = Remote(); in AddVolume() local 42 if (remote == nullptr) { in AddVolume() 50 remote->SendRequest(ADD_VOLUME, data, reply, option); in AddVolume() 60 auto remote = Remote(); in ReduceVolume() local 61 if (remote == nullptr) { in ReduceVolume() 71 int32_t ret = remote->SendRequest(REDUCE_VOLUME, data, reply, option); in ReduceVolume() 80 auto remote = Remote(); in TestRpcInt32() local 81 if (remote == nullptr) { in TestRpcInt32() 89 remote->SendRequest(TEST_RPCINT32, data, reply, option); in TestRpcInt32() 99 auto remote = Remote(); in TestRpcUInt32() local [all …]
|
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
D | ipc_c_remote_object_unittest.cpp | 100 …CRemoteObject *remote = CreateRemoteStub(nullptr, OnRemoteRequest, OnRemoteObjectDestroy, nullptr,… variable 101 EXPECT_EQ(remote, nullptr); 102 … remote = CreateRemoteStub(SERVICE_NAME, OnRemoteRequest, OnRemoteObjectDestroy, nullptr, nullptr); 103 EXPECT_NE(remote, nullptr); 104 RefBase *ref = static_cast<RefBase *>(remote); 106 RemoteObjectIncStrongRef(remote); 108 RemoteObjectDecStrongRef(remote); 113 RemoteObjectDecStrongRef(remote); 124 …CRemoteObject *remote = CreateRemoteStub(SERVICE_NAME, OnRemoteRequest, OnRemoteObjectDestroy, &us… variable 125 EXPECT_NE(remote, nullptr); [all …]
|
/foundation/multimodalinput/input/service/connect_manager/src/ |
D | multimodal_input_connect_proxy.cpp | 107 sptr<IRemoteObject> remote = Remote(); in AllocSocketFd() local 108 CHKPR(remote, RET_ERR); in AllocSocketFd() 109 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(MultimodalinputConnectInterfaceCode::ALLOC… in AllocSocketFd() 143 sptr<IRemoteObject> remote = Remote(); in AddInputEventFilter() local 144 CHKPR(remote, RET_ERR); in AddInputEventFilter() 145 int32_t ret = remote->SendRequest(static_cast<uint32_t>(MultimodalinputConnectInterfaceCode:: in AddInputEventFilter() 165 sptr<IRemoteObject> remote = Remote(); in RemoveInputEventFilter() local 166 CHKPR(remote, RET_ERR); in RemoveInputEventFilter() 167 int32_t ret = remote->SendRequest(static_cast<uint32_t>(MultimodalinputConnectInterfaceCode:: in RemoveInputEventFilter() 189 sptr<IRemoteObject> remote = Remote(); in SetMouseScrollRows() local [all …]
|
/foundation/communication/ipc/example/rust_test/client/src/ |
D | main.rs | 25 let remote = <dyn ICalc as FromRemoteObj>::try_from(object); in get_calc_service() localVariable 26 let remote = match remote { in get_calc_service() localVariable 33 remote in get_calc_service() 38 let remote = get_calc_service(); in calculator_ability() localVariable 40 let ret = remote.add(5, 5).expect("add failed"); in calculator_ability() 43 let ret = remote.sub(5, 5).expect("sub failed"); in calculator_ability() 46 let ret = remote.mul(5, 5).expect("mul failed"); in calculator_ability() 49 let ret = remote.div(5, 5).expect("div failed"); in calculator_ability()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/distributed_ability_runtime/ |
D | distributed_client.cpp | 44 sptr<IRemoteObject> remote = GetDmsProxy(); in StartRemoteAbility() local 45 if (remote == nullptr) { in StartRemoteAbility() 57 PARCEL_TRANSACT_SYNC_RET_INT(remote, START_REMOTE_ABILITY, data, reply); in StartRemoteAbility() 68 sptr<IRemoteObject> remote = GetDmsProxy(); in ConnectRemoteAbility() local 69 if (remote == nullptr) { in ConnectRemoteAbility() 78 PARCEL_TRANSACT_SYNC_RET_INT(remote, CONNECT_REMOTE_ABILITY, data, reply); in ConnectRemoteAbility() 90 sptr<IRemoteObject> remote = GetDmsProxy(); in DisconnectRemoteAbility() local 91 if (remote == nullptr) { in DisconnectRemoteAbility() 103 PARCEL_TRANSACT_SYNC_RET_INT(remote, DISCONNECT_REMOTE_ABILITY, data, reply); in DisconnectRemoteAbility() 114 sptr<IRemoteObject> remote = GetDmsProxy(); in ContinueMission() local [all …]
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
D | ability_manager_collaborator_proxy.cpp | 49 auto remote = Remote(); in NotifyStartAbility() local 50 if (!remote) { in NotifyStartAbility() 54 …int32_t ret = remote->SendRequest(IAbilityManagerCollaborator::NOTIFY_START_ABILITY, data, reply, … in NotifyStartAbility() 91 auto remote = Remote(); in NotifyMissionCreated() local 92 if (!remote) { in NotifyMissionCreated() 96 …int32_t ret = remote->SendRequest(IAbilityManagerCollaborator::NOTIFY_MISSION_CREATED, data, reply… in NotifyMissionCreated() 125 auto remote = Remote(); in NotifyMissionCreated() local 126 if (!remote) { in NotifyMissionCreated() 130 …int32_t ret = remote->SendRequest(IAbilityManagerCollaborator::NOTIFY_MISSION_CREATED_BY_SCB, data… in NotifyMissionCreated() 161 auto remote = Remote(); in NotifyLoadAbility() local [all …]
|
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
D | screen_session_manager_proxy.cpp | 90 sptr<IRemoteObject> remote = Remote(); in GetScreenColorGamut() local 91 if (remote == nullptr) { in GetScreenColorGamut() 107 …if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_COLOR_GAM… in GetScreenColorGamut() 122 sptr<IRemoteObject> remote = Remote(); in SetScreenColorGamut() local 123 if (remote == nullptr) { in SetScreenColorGamut() 139 …if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_SET_COLOR_GAM… in SetScreenColorGamut() 149 sptr<IRemoteObject> remote = Remote(); in GetScreenGamutMap() local 150 if (remote == nullptr) { in GetScreenGamutMap() 166 …if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_GAMUT_MAP… in GetScreenGamutMap() 181 sptr<IRemoteObject> remote = Remote(); in SetScreenGamutMap() local [all …]
|
/foundation/barrierfree/accessibility/common/interface/src/ |
D | accessible_ability_manager_config_observer_proxy.cpp | 58 sptr<IRemoteObject> remote = Remote(); in OnConfigStateChanged() local 59 if (!remote) { in OnConfigStateChanged() 64 error = remote->SendRequest( in OnConfigStateChanged() 92 sptr<IRemoteObject> remote = Remote(); in OnAudioBalanceChanged() local 93 if (!remote) { in OnAudioBalanceChanged() 98 error = remote->SendRequest( in OnAudioBalanceChanged() 126 sptr<IRemoteObject> remote = Remote(); in OnBrightnessDiscountChanged() local 127 if (!remote) { in OnBrightnessDiscountChanged() 132 error = remote->SendRequest( in OnBrightnessDiscountChanged() 160 sptr<IRemoteObject> remote = Remote(); in OnContentTimeoutChanged() local [all …]
|
/foundation/communication/dsoftbus/core/discovery/ipc/standard/src/ |
D | disc_client_proxy_standard.cpp | 38 sptr<IRemoteObject> remote = Remote(); in OnDeviceFound() local 39 if (remote == nullptr) { in OnDeviceFound() 45 …DISC_CHECK_AND_RETURN_LOG(remote->SendRequest(CLIENT_DISCOVERY_DEVICE_FOUND, data, reply, option) … in OnDeviceFound() 56 sptr<IRemoteObject> remote = Remote(); in OnDiscoverFailed() local 57 if (remote == nullptr) { in OnDiscoverFailed() 63 …DISC_CHECK_AND_RETURN_LOG(remote->SendRequest(CLIENT_DISCOVERY_FAIL, data, reply, option) == ERR_O… in OnDiscoverFailed() 73 sptr<IRemoteObject> remote = Remote(); in OnDiscoverySuccess() local 74 if (remote == nullptr) { in OnDiscoverySuccess() 80 …DISC_CHECK_AND_RETURN_LOG(remote->SendRequest(CLIENT_DISCOVERY_SUCC, data, reply, option) == ERR_O… in OnDiscoverySuccess() 90 sptr<IRemoteObject> remote = Remote(); in OnPublishSuccess() local [all …]
|
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/proxy/ |
D | net_conn_service_proxy.cpp | 40 sptr<IRemoteObject> remote = Remote(); in SystemReady() local 41 if (remote == nullptr) { in SystemReady() 46 …remote->SendRequest(static_cast<uint32_t>(ConnInterfaceCode::CMD_NM_SYSTEM_READY), data, reply, op… in SystemReady() 71 sptr<IRemoteObject> remote = Remote(); in SetInternetPermission() local 72 if (remote == nullptr) { in SetInternetPermission() 76 …int32_t error = remote->SendRequest(static_cast<uint32_t>(ConnInterfaceCode::CMD_NM_SET_INTERNET_P… in SetInternetPermission() 115 sptr<IRemoteObject> remote = Remote(); in RegisterNetSupplier() local 116 if (remote == nullptr) { in RegisterNetSupplier() 121 …remote->SendRequest(static_cast<uint32_t>(ConnInterfaceCode::CMD_NM_REG_NET_SUPPLIER), data, reply… in RegisterNetSupplier() 153 sptr<IRemoteObject> remote = Remote(); in UnregisterNetSupplier() local [all …]
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
D | distributed_sched_proxy.cpp | 48 sptr<IRemoteObject> remote = Remote(); in StartRemoteAbility() local 49 if (remote == nullptr) { in StartRemoteAbility() 61 …PARCEL_TRANSACT_SYNC_RET_INT(remote, static_cast<uint32_t>(IDSchedInterfaceCode::START_REMOTE_ABIL… in StartRemoteAbility() 69 sptr<IRemoteObject> remote = Remote(); in StartAbilityFromRemote() local 70 if (remote == nullptr) { in StartAbilityFromRemote() 98 …PARCEL_TRANSACT_SYNC_RET_INT(remote, static_cast<uint32_t>(IDSchedInterfaceCode::START_ABILITY_FRO… in StartAbilityFromRemote() 105 sptr<IRemoteObject> remote = Remote(); in SendResultFromRemote() local 106 if (remote == nullptr) { in SendResultFromRemote() 126 …PARCEL_TRANSACT_SYNC_RET_INT(remote, static_cast<uint32_t>(IDSchedInterfaceCode::SEND_RESULT_FROM_… in SendResultFromRemote() 137 sptr<IRemoteObject> remote = Remote(); in ContinueMission() local [all …]
|