/foundation/window/window_manager/test/fuzztest/dms/displaymanageripc_fuzzer/ |
H A D | displaymanageripc_fuzzer.cpp | 82 proxy.second->SendRequest(code, sendData, reply, option); in IPCFuzzTest() 89 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DEFAULT_DISPLAY_INFO), in IPCSpecificInterfaceFuzzTest1() 91 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_BY_ID), in IPCSpecificInterfaceFuzzTest1() 93 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_BY_SCREEN), in IPCSpecificInterfaceFuzzTest1() 95 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_SNAPSHOT), in IPCSpecificInterfaceFuzzTest1() 97 proxy->SendRequest( in IPCSpecificInterfaceFuzzTest1() 100 proxy->SendRequest( in IPCSpecificInterfaceFuzzTest1() 103 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_WAKE_UP_BEGIN), in IPCSpecificInterfaceFuzzTest1() 105 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_WAKE_UP_END), in IPCSpecificInterfaceFuzzTest1() 107 proxy->SendRequest(static_cas in IPCSpecificInterfaceFuzzTest1() [all...] |
/foundation/window/window_manager/test/fuzztest/wms/windowipc_fuzzer/ |
H A D | windowipc_fuzzer.cpp | 80 proxy.second->SendRequest(code, sendData, reply, option); in IPCFuzzTest() 87 proxy->SendRequest(static_cast<uint32_t>(IWindowManager::WindowManagerMessage::TRANS_ID_CREATE_WINDOW), in IPCSpecificInterfaceFuzzTest1() 89 proxy->SendRequest(static_cast<uint32_t>(IWindowManager::WindowManagerMessage::TRANS_ID_ADD_WINDOW), in IPCSpecificInterfaceFuzzTest1() 91 proxy->SendRequest(static_cast<uint32_t>(IWindowManager::WindowManagerMessage::TRANS_ID_REMOVE_WINDOW), in IPCSpecificInterfaceFuzzTest1() 93 proxy->SendRequest(static_cast<uint32_t>(IWindowManager::WindowManagerMessage::TRANS_ID_DESTROY_WINDOW), in IPCSpecificInterfaceFuzzTest1() 95 proxy->SendRequest(static_cast<uint32_t>(IWindowManager::WindowManagerMessage::TRANS_ID_REQUEST_FOCUS), in IPCSpecificInterfaceFuzzTest1() 97 proxy->SendRequest( in IPCSpecificInterfaceFuzzTest1() 100 proxy->SendRequest( in IPCSpecificInterfaceFuzzTest1() 103 proxy->SendRequest( in IPCSpecificInterfaceFuzzTest1() 106 proxy->SendRequest( in IPCSpecificInterfaceFuzzTest1() [all...] |
/foundation/window/window_manager/test/fuzztest/window_scene/screensessionmanager_fuzzer/ |
H A D | screensessionmanager_fuzzer.cpp | 81 remoteObject->SendRequest(code, sendData, reply, option); in IPCFuzzTest() 87 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_GET_DEFAULT_DISPLAY_INFO), in IPCSpecificInterfaceFuzzTest1() 89 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_REGISTER_DISPLAY_MANAGER_AGENT), in IPCSpecificInterfaceFuzzTest1() 91 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_UNREGISTER_DISPLAY_MANAGER_AGENT), in IPCSpecificInterfaceFuzzTest1() 93 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_WAKE_UP_BEGIN), in IPCSpecificInterfaceFuzzTest1() 95 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_WAKE_UP_END), in IPCSpecificInterfaceFuzzTest1() 97 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_SUSPEND_BEGIN), in IPCSpecificInterfaceFuzzTest1() 99 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_SUSPEND_END), in IPCSpecificInterfaceFuzzTest1() 101 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_SET_DISPLAY_STATE), in IPCSpecificInterfaceFuzzTest1() 103 proxy->SendRequest(static_cas in IPCSpecificInterfaceFuzzTest1() [all...] |
/foundation/window/window_manager/test/fuzztest/window_scene/sessioninterface_fuzzer/ |
H A D | sessioninterface_fuzzer.cpp | 99 remoteObject->SendRequest(code, sendData, reply, option); in IPCFuzzTest() 105 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_CONNECT), in IPCSpecificInterfaceFuzzTest1() 107 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_FOREGROUND), in IPCSpecificInterfaceFuzzTest1() 109 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_BACKGROUND), in IPCSpecificInterfaceFuzzTest1() 111 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_DISCONNECT), in IPCSpecificInterfaceFuzzTest1() 113 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_SESSION_EVENT), in IPCSpecificInterfaceFuzzTest1() 115 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_SYSTEM_SESSION_EVENT), in IPCSpecificInterfaceFuzzTest1() 117 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_UPDATE_SESSION_RECT), in IPCSpecificInterfaceFuzzTest1() 119 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_RAISE_TO_APP_TOP), in IPCSpecificInterfaceFuzzTest1() 121 proxy->SendRequest(static_cas in IPCSpecificInterfaceFuzzTest1() [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/ |
H A D | storage_manager_proxy_test.cpp | 60 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) in HWTEST_F() 70 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) in HWTEST_F() 91 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) in HWTEST_F() 101 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) in HWTEST_F() 122 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) in HWTEST_F() 131 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) in HWTEST_F() 152 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) in HWTEST_F() 161 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) in HWTEST_F() 182 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) in HWTEST_F() 191 EXPECT_CALL(*mock_, SendRequest(testin in HWTEST_F() [all...] |
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/player/src/ |
H A D | stream_player_listener_impl_proxy.cpp | 46 if (Remote()->SendRequest(ON_PLAYER_STATUS_CHANGED, data, reply, option) != ERR_NONE) { in OnStateChanged() 73 if (Remote()->SendRequest(ON_POSITION_CHANGED, data, reply, option) != ERR_NONE) { in OnPositionChanged() 92 if (Remote()->SendRequest(ON_MEDIA_ITEM_CHANGED, data, reply, option) != ERR_NONE) { in OnMediaItemChanged() 115 if (Remote()->SendRequest(ON_VOLUME_CHANGED, data, reply, option) != ERR_NONE) { in OnVolumeChanged() 134 if (Remote()->SendRequest(ON_REPEAT_MODE_CHANGED, data, reply, option) != ERR_NONE) { in OnLoopModeChanged() 153 if (Remote()->SendRequest(ON_PLAY_SPEED_CHANGED, data, reply, option) != ERR_NONE) { in OnPlaySpeedChanged() 176 if (Remote()->SendRequest(ON_PLAYER_ERROR, data, reply, option) != ERR_NONE) { in OnPlayerError() 199 if (Remote()->SendRequest(ON_VIDEO_SIZE_CHANGED, data, reply, option) != ERR_NONE) { in OnVideoSizeChanged() 214 if (Remote()->SendRequest(ON_NEXT_REQUEST, data, reply, option) != ERR_NONE) { in OnNextRequest() 229 if (Remote()->SendRequest(ON_PREVIOUS_REQUES in OnPreviousRequest() [all...] |
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/player/src/ |
H A D | stream_player_listener_impl_proxy.cpp | 46 if (Remote()->SendRequest(ON_PLAYER_STATUS_CHANGED, data, reply, option) != ERR_NONE) { in OnStateChanged() 73 if (Remote()->SendRequest(ON_POSITION_CHANGED, data, reply, option) != ERR_NONE) { in OnPositionChanged() 92 if (Remote()->SendRequest(ON_MEDIA_ITEM_CHANGED, data, reply, option) != ERR_NONE) { in OnMediaItemChanged() 115 if (Remote()->SendRequest(ON_VOLUME_CHANGED, data, reply, option) != ERR_NONE) { in OnVolumeChanged() 134 if (Remote()->SendRequest(ON_REPEAT_MODE_CHANGED, data, reply, option) != ERR_NONE) { in OnLoopModeChanged() 153 if (Remote()->SendRequest(ON_PLAY_SPEED_CHANGED, data, reply, option) != ERR_NONE) { in OnPlaySpeedChanged() 176 if (Remote()->SendRequest(ON_PLAYER_ERROR, data, reply, option) != ERR_NONE) { in OnPlayerError() 199 if (Remote()->SendRequest(ON_VIDEO_SIZE_CHANGED, data, reply, option) != ERR_NONE) { in OnVideoSizeChanged() 214 if (Remote()->SendRequest(ON_NEXT_REQUEST, data, reply, option) != ERR_NONE) { in OnNextRequest() 229 if (Remote()->SendRequest(ON_PREVIOUS_REQUES in OnPreviousRequest() [all...] |
/foundation/ability/ability_runtime/test/unittest/ams_mgr_proxy_test/ |
H A D | ams_mgr_proxy_test.cpp | 74 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)) in HWTEST_F() 80 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)).Times(0); in HWTEST_F() 95 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)) in HWTEST_F() 101 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)).Times(0); in HWTEST_F() 115 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)) in HWTEST_F() 121 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)).Times(0); in HWTEST_F() 134 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)) in HWTEST_F() 140 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)).Times(0); in HWTEST_F() 154 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)) in HWTEST_F() 160 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest( in HWTEST_F() [all...] |
/foundation/CastEngine/castengine_cast_framework/client/src/ |
H A D | stream_player_impl_proxy.cpp | 48 if (Remote()->SendRequest(REGISTER_LISTENER, data, reply, option) != ERR_NONE) { in RegisterListener() 66 if (Remote()->SendRequest(UNREGISTER_LISTENER, data, reply, option) != ERR_NONE) { in UnregisterListener() 89 int32_t ret = Remote()->SendRequest(SET_SURFACE, data, reply, option); in SetSurface() 116 int32_t ret = Remote()->SendRequest(LOAD, data, reply, option); in Load() 143 int32_t ret = Remote()->SendRequest(START, data, reply, option); in Play() 169 if (Remote()->SendRequest(PLAY_INDEX, data, reply, option) != ERR_NONE) { in Play() 187 if (Remote()->SendRequest(PAUSE, data, reply, option) != ERR_NONE) { in Pause() 205 if (Remote()->SendRequest(PLAY, data, reply, option) != ERR_NONE) { in Play() 223 if (Remote()->SendRequest(STOP, data, reply, option) != ERR_NONE) { in Stop() 241 if (Remote()->SendRequest(NEX in Next() [all...] |
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_sync_service_proxy_test.cpp | 81 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F() 97 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F() 130 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F() 147 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F() 163 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F() 180 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 205 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F() 223 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F() 241 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F() 259 EXPECT_CALL(*mock_, SendRequest( in HWTEST_F() [all...] |
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | ipc_stream_proxy.cpp | 51 int ret = Remote()->SendRequest(IpcStreamMsg::ON_REGISTER_STREAM_LISTENER, data, reply, option); in RegisterStreamListener() 66 int ret = Remote()->SendRequest(IpcStreamMsg::ON_RESOLVE_BUFFER, data, reply, option); in ResolveBuffer() 82 int ret = Remote()->SendRequest(IpcStreamMsg::ON_UPDATE_POSITION, data, reply, option); in UpdatePosition() 96 int ret = Remote()->SendRequest(IpcStreamMsg::ON_GET_AUDIO_SESSIONID, data, reply, option); in GetAudioSessionID() 112 int ret = Remote()->SendRequest(IpcStreamMsg::ON_START, data, reply, option); in Start() 125 int ret = Remote()->SendRequest(IpcStreamMsg::ON_PAUSE, data, reply, option); in Pause() 139 int ret = Remote()->SendRequest(IpcStreamMsg::ON_STOP, data, reply, option); in Stop() 153 int ret = Remote()->SendRequest(IpcStreamMsg::ON_RELEASE, data, reply, option); in Release() 167 int ret = Remote()->SendRequest(IpcStreamMsg::ON_FLUSH, data, reply, option); in Flush() 181 int ret = Remote()->SendRequest(IpcStreamMs in Drain() [all...] |
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | form_render_delegate_proxy_test.cpp | 65 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F() 67 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_INVALID_VALUE)); in HWTEST_F() 95 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F() 97 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_INVALID_VALUE)); in HWTEST_F() 118 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F() 120 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_INVALID_VALUE)); in HWTEST_F() 141 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F() 143 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_INVALID_VALUE)); in HWTEST_F() 159 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F() 161 EXPECT_CALL(*iremoteObject, SendRequest( in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/proxy/ |
H A D | net_stats_service_proxy.cpp | 27 int32_t NetStatsServiceProxy::SendRequest(uint32_t code, MessageParcel &data, in SendRequest() function in OHOS::NetManagerStandard::NetStatsServiceProxy 37 int32_t retCode = remote->SendRequest(code, data, reply, option); in SendRequest() 45 NETMGR_LOG_D("SendRequest ret = [%{public}d]", ret); in SendRequest() 73 return SendRequest(static_cast<uint32_t>(StatsInterfaceCode::CMD_NSM_REGISTER_NET_STATS_CALLBACK), in RegisterNetStatsCallback() 92 return SendRequest(static_cast<uint32_t>(StatsInterfaceCode::CMD_NSM_UNREGISTER_NET_STATS_CALLBACK), in UnregisterNetStatsCallback() 110 SendRequest(static_cast<uint32_t>(StatsInterfaceCode::CMD_GET_IFACE_RXBYTES), data, reply); in GetIfaceRxBytes() 113 NETMGR_LOG_E("proxy SendRequest failed, error code: [%{public}d]", error); in GetIfaceRxBytes() 138 SendRequest(static_cast<uint32_t>(StatsInterfaceCode::CMD_GET_IFACE_TXBYTES), data, reply); in GetIfaceTxBytes() 141 NETMGR_LOG_E("proxy SendRequest failed, error code: [%{public}d]", error); in GetIfaceTxBytes() 162 SendRequest(static_cas in GetCellularRxBytes() [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/ |
H A D | storage_daemon_proxy.cpp | 36 return SendRequest(static_cast<int32_t>(StorageDaemonInterfaceCode::SHUTDOWN), data, reply, option); in Shutdown() 56 int32_t err = SendRequest(static_cast<int32_t>(StorageDaemonInterfaceCode::MOUNT), data, reply, option); in Mount() 77 int32_t err = SendRequest(static_cast<int32_t>(StorageDaemonInterfaceCode::UMOUNT), data, reply, option); in UMount() 98 int32_t err = SendRequest(static_cast<int32_t>(StorageDaemonInterfaceCode::CHECK), data, reply, option); in Check() 123 int32_t err = SendRequest(static_cast<int32_t>(StorageDaemonInterfaceCode::FORMAT), data, reply, option); in Format() 148 int32_t err = SendRequest(static_cast<int32_t>(StorageDaemonInterfaceCode::PARTITION), data, reply, option); in Partition() 173 int32_t err = SendRequest(static_cast<int32_t>(StorageDaemonInterfaceCode::SET_VOL_DESC), data, reply, option); in SetVolumeDescription() 199 int32_t err = SendRequest(static_cast<int32_t>(StorageDaemonInterfaceCode::PREPARE_USER_DIRS), data, reply, option); in PrepareUserDirs() 225 int32_t err = SendRequest(static_cast<int32_t>(StorageDaemonInterfaceCode::DESTROY_USER_DIRS), data, reply, option); in DestroyUserDirs() 247 int32_t err = SendRequest(static_cas in StartUser() 971 int32_t StorageDaemonProxy::SendRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) SendRequest() function in OHOS::StorageDaemon::StorageDaemonProxy [all...] |
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerstub_fuzzer/ |
H A D | player_service_proxy_fuzzer.cpp | 100 void PlayerServiceProxyFuzzer::SendRequest(uint32_t code, uint8_t *inputData, size_t size, bool isFuzz) in SendRequest() function in OHOS::Media::PlayerServiceProxyFuzzer 124 return ptr->SendRequest(SET_LISTENER_OBJ, data, reply, option); in SetListenerObjectStatic() 141 return ptr->SendRequest(SET_SOURCE, data, reply, option); in SetSourceStatic() 159 return ptr->SendRequest(SET_MEDIA_DATA_SRC_OBJ, data, reply, option); in SetMediaDataSourceStatic() 185 return ptr->SendRequest(SET_FD_SOURCE, data, reply, option); in SetFdSourceStatic() 206 int32_t ret = ptr->SendRequest(SET_FD_SOURCE, data, reply, option); in SetFdSourceStatic() 228 return ptr->SendRequest(ADD_SUB_SOURCE, data, reply, option); in AddSubSourceStatic() 252 return ptr->SendRequest(ADD_SUB_FD_SOURCE, data, reply, option); in AddSubFdSourceStatic() 270 return ptr->SendRequest(PLAY, data, reply, option); in PlayStatic() 288 return ptr->SendRequest(PREPAR in PrepareStatic() 820 int32_t PlayerServiceProxyFuzzer::SendRequest(uint32_t code, SendRequest() function in OHOS::Media::PlayerServiceProxyFuzzer [all...] |
/foundation/communication/netmanager_base/services/netpolicymanager/src/stub/ |
H A D | net_policy_callback_proxy.cpp | 47 return SendRequest(data, static_cast<uint32_t>(PolicyCallbackInterfaceCode::NOTIFY_NET_UID_POLICY_CHANGE)); in NetUidPolicyChange() 68 return SendRequest(data, static_cast<uint32_t>(PolicyCallbackInterfaceCode::NOTIFY_NET_UID_RULE_CHANGE)); in NetUidRuleChange() 84 return SendRequest(data, static_cast<uint32_t>(PolicyCallbackInterfaceCode::NOTIFY_BACKGROUND_POLICY_CHANGE)); in NetBackgroundPolicyChange() 105 return SendRequest(data, static_cast<uint32_t>(PolicyCallbackInterfaceCode::NOTIFY_NET_QUOTA_POLICY_CHANGE)); in NetQuotaPolicyChange() 126 return SendRequest(data, static_cast<uint32_t>(PolicyCallbackInterfaceCode::NET_POLICY_STRATEGYSWITCH_CHANGE)); in NetStrategySwitch() 149 return SendRequest(data, static_cast<uint32_t>(PolicyCallbackInterfaceCode::NOTIFY_NET_METERED_IFACES_CHANGE)); in NetMeteredIfacesChange() 161 int32_t NetPolicyCallbackProxy::SendRequest(MessageParcel &data, uint32_t code) in SendRequest() function in OHOS::NetManagerStandard::NetPolicyCallbackProxy 171 int32_t ret = remote->SendRequest(code, data, reply, option); in SendRequest() 173 NETMGR_LOG_E("Proxy SendRequest failed, ret code:[%{public}d]", ret); in SendRequest()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ui_session/ |
H A D | ui_content_proxy.cpp | 38 if (Remote()->SendRequest(UI_CONTENT_SERVICE_GET_TREE, data, reply, option) != ERR_NONE) { in GetInspectorTree() 70 if (Remote()->SendRequest(UI_CONTENT_CONNECT, data, reply, option) != ERR_NONE) { in Connect() 91 if (Remote()->SendRequest(REGISTER_CLICK_EVENT, data, reply, option) != ERR_NONE) { in RegisterClickEventCallback() 112 if (Remote()->SendRequest(REGISTER_SEARCH_EVENT, data, reply, option) != ERR_NONE) { in RegisterSearchEventCallback() 133 if (Remote()->SendRequest(REGISTER_ROUTER_CHANGE_EVENT, data, reply, option) != ERR_NONE) { in RegisterRouterChangeEventCallback() 154 if (Remote()->SendRequest(REGISTER_COMPONENT_EVENT, data, reply, option) != ERR_NONE) { in RegisterComponentChangeEventCallback() 175 if (Remote()->SendRequest(REGISTER_WEB_UNFOCUS_EVENT, data, reply, option) != ERR_NONE) { in RegisterWebUnfocusEventCallback() 196 if (Remote()->SendRequest(UNREGISTER_CLICK_EVENT, data, reply, option) != ERR_NONE) { in UnregisterClickEventCallback() 217 if (Remote()->SendRequest(UNREGISTER_SEARCH_EVENT, data, reply, option) != ERR_NONE) { in UnregisterSearchEventCallback() 238 if (Remote()->SendRequest(UNREGISTER_ROUTER_CHANGE_EVEN in UnregisterRouterChangeEventCallback() [all...] |
/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/ |
H A D | hstream_capture_proxy.cpp | 38 int error = Remote()->SendRequest( in Capture() 54 int error = Remote()->SendRequest( in CancelCapture() 70 int error = Remote()->SendRequest( in ConfirmCapture() 86 int error = Remote()->SendRequest( in Release() 109 int error = Remote()->SendRequest( in SetCallback() 133 int error = Remote()->SendRequest( in SetThumbnail() 150 int error = Remote()->SendRequest( in EnableRawDelivery() 172 int error = Remote()->SendRequest( in SetBufferProducerInfo() 188 int error = Remote()->SendRequest( in DeferImageDeliveryFor() 203 int error = Remote()->SendRequest( in IsDeferredPhotoEnabled() [all...] |
/foundation/multimedia/player_framework/services/services/transcoder/ipc/ |
H A D | transcoder_service_proxy.cpp | 48 int error = Remote()->SendRequest(SET_LISTENER_OBJ, data, reply, option);
in SetListenerObject() 65 int error = Remote()->SendRequest(SET_VIDEO_ENCODER, data, reply, option);
in SetVideoEncoder() 83 int error = Remote()->SendRequest(SET_VIDEO_SIZE, data, reply, option);
in SetVideoSize() 100 int error = Remote()->SendRequest(SET_VIDEO_ENCODING_BIT_RATE, data, reply, option);
in SetVideoEncodingBitRate() 117 int error = Remote()->SendRequest(SET_AUDIO_ENCODER, data, reply, option);
in SetAudioEncoder() 134 int error = Remote()->SendRequest(SET_AUDIO_ENCODING_BIT_RATE, data, reply, option);
in SetAudioEncodingBitRate() 151 int error = Remote()->SendRequest(SET_OUTPUT_FORMAT, data, reply, option);
in SetOutputFormat() 170 int32_t error = Remote()->SendRequest(SET_INPUT_FILE_FD, data, reply, option);
in SetInputFile() 186 int error = Remote()->SendRequest(SET_OUTPUT_FILE, data, reply, option);
in SetOutputFile() 202 int error = Remote()->SendRequest(PREPAR in Prepare() [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_manager_proxy_test/ |
H A D | ability_manager_proxy_test.cpp | 79 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 104 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 124 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 144 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 165 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 186 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 205 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 225 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 250 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 272 EXPECT_CALL(*mock_, SendRequest( in HWTEST_F() [all...] |
/foundation/resourceschedule/soc_perf/interfaces/inner_api/socperf_client/src/ |
H A D | socperf_proxy.cpp | 32 Remote()->SendRequest(static_cast<uint32_t>(SocPerfInterfaceCode::TRANS_IPC_ID_PERF_REQUEST), in PerfRequest() 47 Remote()->SendRequest(static_cast<uint32_t>(SocPerfInterfaceCode::TRANS_IPC_ID_PERF_REQUEST_EX), in PerfRequestEx() 61 Remote()->SendRequest(static_cast<uint32_t>(SocPerfInterfaceCode::TRANS_IPC_ID_POWER_LIMIT_BOOST_FREQ), in PowerLimitBoost() 75 Remote()->SendRequest(static_cast<uint32_t>(SocPerfInterfaceCode::TRANS_IPC_ID_THERMAL_LIMIT_BOOST_FREQ), in ThermalLimitBoost() 92 Remote()->SendRequest(static_cast<uint32_t>(SocPerfInterfaceCode::TRANS_IPC_ID_LIMIT_REQUEST), in LimitRequest() 112 Remote()->SendRequest(static_cast<uint32_t>(SocPerfInterfaceCode::TRANS_IPC_ID_SET_STATUS), data, reply, option); in SetRequestStatus() 128 Remote()->SendRequest(static_cast<uint32_t>(SocPerfInterfaceCode::TRANS_IPC_ID_SET_THERMAL_LEVEL), in SetThermalLevel() 148 Remote()->SendRequest(static_cast<uint32_t>(SocPerfInterfaceCode::TRANS_IPC_ID_SET_DEVICE_MODE), in RequestDeviceMode() 165 Remote()->SendRequest(static_cast<uint32_t>( in RequestCmdIdCount()
|
/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | assist_test_service.cpp | 34 int res = Remote()->SendRequest(TEST_PARCEL_BOOL, data, reply, option); in TestParcelBool() 43 int res = Remote()->SendRequest(TEST_PARCEL_CHAR, data, reply, option); in TestParcelChar() 52 int res = Remote()->SendRequest(TEST_PARCEL_INT32, data, reply, option); in TestParcelInt32() 61 int res = Remote()->SendRequest(TEST_PARCEL_INT64, data, reply, option); in TestParcelInt64() 70 int res = Remote()->SendRequest(TEST_PARCEL_BYTE, data, reply, option); in TestParcelByte() 79 int res = Remote()->SendRequest(TEST_PARCEL_UINT32, data, reply, option); in TestParcelUint32() 88 int res = Remote()->SendRequest(TEST_PARCEL_UINT64, data, reply, option); in TestParcelUint64() 97 int res = Remote()->SendRequest(TEST_PARCEL_FLOAT, data, reply, option); in TestParcelFloat() 106 int res = Remote()->SendRequest(TEST_PARCEL_DOUBLE, data, reply, option); in TestParcelDouble() 115 int res = Remote()->SendRequest(TEST_PARCEL_CSTRIN in TestParcelCString() [all...] |
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/proxy/ |
H A D | intell_voice_engine_proxy.cpp | 35 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_SET_CALLBACK, data, reply, option); in SetCallback() 55 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_ATTACH, data, reply, option); in Attach() 72 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_DETACH, data, reply, option); in Detach() 88 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_SET_PARAMETER, data, reply, option); in SetParameter() 105 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_GET_PARAMETER, data, reply, option); in GetParameter() 122 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_START, data, reply, option); in Start() 138 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_STOP, data, reply, option); in Stop() 156 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_WRITE_AUDIO, data, reply, option); in WriteAudio() 172 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_STAET_CAPTURER, data, reply, option); in StartCapturer() 187 int32_t error = Remote()->SendRequest(INTELL_VOICE_ENGINE_REA in Read() [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_manager_collaborator_proxy_test/ |
H A D | ability_manager_collaborator_proxy_test.cpp | 62 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 81 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 97 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 113 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 130 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 146 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 162 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 178 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 194 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)) in HWTEST_F() 212 EXPECT_CALL(*mock_, SendRequest( in HWTEST_F() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/client/src/proxy/ |
H A D | audio_policy_proxy.cpp | 56 int32_t error = Remote()->SendRequest( in SetRingerModeLegacy() 72 int32_t error = Remote()->SendRequest( in SetRingerMode() 90 int32_t error = Remote()->SendRequest( in GetSupportedTones() 115 int32_t error = Remote()->SendRequest( in GetToneConfig() 134 int32_t error = Remote()->SendRequest( in GetPersistentMicMuteState() 149 int32_t error = Remote()->SendRequest( in GetRingerMode() 166 int32_t error = Remote()->SendRequest( in SetAudioScene() 181 int32_t error = Remote()->SendRequest( in GetAudioScene() 199 int32_t error = Remote()->SendRequest( in SetStreamMuteLegacy() 215 int32_t error = Remote()->SendRequest( in SetStreamMute() [all...] |