/foundation/CastEngine/castengine_cast_framework/client/src/ |
H A D | stream_player.cpp | 46 return proxy_ ? proxy_->RegisterListener(listenerStub) : CAST_ENGINE_ERROR; in RegisterListener() 51 return proxy_ ? proxy_->UnregisterListener() : CAST_ENGINE_ERROR; in UnregisterListener() 71 return proxy_ ? proxy_->SetSurface(producer) : CAST_ENGINE_ERROR; in SetSurface() 76 return proxy_ ? proxy_->Load(mediaInfo) : CAST_ENGINE_ERROR; in Load() 81 return proxy_ ? proxy_ in Play() [all...] |
H A D | cast_session.cpp | 50 return proxy_ ? proxy_->RegisterListener(listenerStub) : CAST_ENGINE_ERROR; in RegisterListener() 61 return proxy_ ? proxy_->UnregisterListener() : CAST_ENGINE_ERROR; in UnregisterListener() 70 return proxy_ ? proxy_->AddDevice(remoteDevice) : CAST_ENGINE_ERROR; in AddDevice() 79 return proxy_ ? proxy_->RemoveDevice(deviceId) : CAST_ENGINE_ERROR; in RemoveDevice() 88 return proxy_ ? proxy_ in StartAuth() [all...] |
H A D | mirror_player.cpp | 40 return proxy_ ? proxy_->Play(deviceId) : CAST_ENGINE_ERROR; in Play() 49 return proxy_ ? proxy_->Pause(deviceId) : CAST_ENGINE_ERROR; in Pause() 69 return proxy_ ? proxy_->SetSurface(producer) : CAST_ENGINE_ERROR; in SetSurface() 74 return proxy_ ? proxy_->SetAppInfo(appInfo) : CAST_ENGINE_ERROR; in SetAppInfo() 79 return proxy_ ? proxy_ in DeliverInputEvent() [all...] |
H A D | cast_session_manager_adaptor.cpp | 44 auto object = proxy_ ? proxy_->GetSessionManagerService() : nullptr; in RegisterListener() 49 int32_t ret = proxy_ ? proxy_->RegisterListener(impl) : CAST_ENGINE_ERROR; in RegisterListener() 67 return proxy_ ? proxy_->UnregisterListener() : CAST_ENGINE_ERROR; in UnregisterListener() 73 return proxy_ ? proxy_->Release() : CAST_ENGINE_ERROR; in Release() 78 return proxy_ ? proxy_ in SetLocalDevice() [all...] |
/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/ |
H A D | service_proxy_test.cpp | 47 shared_ptr<ServiceProxy> proxy_ = nullptr; member in OHOS::FileManagement::Backup::ServiceProxyTest 55 proxy_ = make_shared<ServiceProxy>(mock_); in SetUp() 61 proxy_ = nullptr; in TearDown() 78 if (proxy_ == nullptr) { in HWTEST_F() 79 GTEST_LOG_(INFO) << "SUB_Service_proxy_InitRestoreSession_0100 proxy_ == nullptr"; in HWTEST_F() 85 int32_t result = proxy_->InitRestoreSession(remote_); in HWTEST_F() 88 result = proxy_->InitRestoreSession(nullptr); in HWTEST_F() 105 if (proxy_ == nullptr) { in HWTEST_F() 106 GTEST_LOG_(INFO) << "SUB_Service_proxy_InitBackupSession_0100 proxy_ == nullptr"; in HWTEST_F() 113 int32_t result = proxy_ in HWTEST_F() [all...] |
/foundation/ai/ai_engine/services/client/communication_adapter/source/ |
H A D | sa_client.cpp | 117 proxy_ = GetRemoteIUnknown(); in Init() 118 if (proxy_ == nullptr) { in Init() 123 int retCode = InitSaEngine(*proxy_, configInfo, clientInfo); in Init() 126 ReleaseIUnknown(*((IUnknown *)proxy_)); in Init() 127 proxy_ = nullptr; in Init() 144 if (proxy_ == nullptr) { in LoadAlgorithm() 148 return LoadAlgorithmProxy(*proxy_, clientInfo, algorithmInfo, inputInfo, outputInfo); in LoadAlgorithm() 154 if (proxy_ == nullptr) { in SyncExecuteAlgorithm() 158 return SyncExecAlgorithmProxy(*proxy_, clientInfo, algorithmInfo, inputInfo, outputInfo); in SyncExecuteAlgorithm() 164 if (proxy_ in AsyncExecuteAlgorithm() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/test/unittest/ |
H A D | rs_window_animation_proxy_test.cpp | 89 sptr<RSWindowAnimationProxy> proxy_; member in OHOS::Rosen::RSWindowAnimationProxyTest 107 proxy_ = new RSWindowAnimationProxy(remoteMocker); in SetUp() 129 ASSERT_TRUE(proxy_ != nullptr); in HWTEST_F() 135 proxy_->OnStartApp(StartingAppType::FROM_LAUNCHER, nullptr, finishedCallback); in HWTEST_F() 136 proxy_->OnStartApp(StartingAppType::FROM_LAUNCHER, windowAnimationTarget_, finishedCallback); in HWTEST_F() 137 ASSERT_TRUE(proxy_ != nullptr); in HWTEST_F() 149 ASSERT_TRUE(proxy_ != nullptr); in HWTEST_F() 156 proxy_->OnAppTransition(nullptr, nullptr, finishedCallback); in HWTEST_F() 157 proxy_->OnAppTransition(windowAnimationTarget_, nullptr, finishedCallback); in HWTEST_F() 158 proxy_ in HWTEST_F() [all...] |
/foundation/window/window_manager_lite/frameworks/wms/ |
H A D | lite_wms_client.cpp | 30 if (proxy_ != nullptr) { in ~LiteWMSClient() 31 proxy_->Release(reinterpret_cast<IUnknown*>(proxy_)); in ~LiteWMSClient() 32 proxy_ = nullptr; in ~LiteWMSClient() 38 if (proxy_ == nullptr) { in InitLiteWMSClient() 44 (void)iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void**)&proxy_); in InitLiteWMSClient() 45 if (proxy_ == nullptr) { in InitLiteWMSClient()
|
H A D | lite_win_requestor.cpp | 23 LiteWinRequestor::LiteWinRequestor(int32_t id) : proxy_(nullptr), id_(id), surface_(nullptr) in LiteWinRequestor() 25 proxy_ = LiteWMSClient::GetInstance()->GetClientProxy(); in LiteWinRequestor() 81 int32_t ret = proxy_->Invoke(proxy_, LiteWMS_GetSurface, &io, ¶, Callback); in GetSurface() 96 int32_t ret = proxy_->Invoke(proxy_, LiteWMS_Show, &io, NULL, NULL); in Show() 109 int32_t ret = proxy_->Invoke(proxy_, LiteWMS_Hide, &io, NULL, NULL); in Hide() 122 int32_t ret = proxy_->Invoke(proxy_, LiteWMS_RaiseToTo in RaiseToTop() [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/ |
H A D | storage_manager_proxy_test.cpp | 37 std::shared_ptr<StorageManagerProxy> proxy_ = nullptr; member in __anon8861::StorageManagerProxyTest 44 proxy_ = std::make_shared<StorageManagerProxy>(mock_); in SetUp() 63 ASSERT_TRUE(proxy_ != nullptr) << "StorageManagerProxy failed"; in HWTEST_F() 67 int32_t result = proxy_->PrepareAddUser(userId, flag); in HWTEST_F() 73 result = proxy_->PrepareAddUser(userId, flag); in HWTEST_F() 94 ASSERT_TRUE(proxy_ != nullptr) << "StorageManagerProxy failed"; in HWTEST_F() 98 int32_t result = proxy_->RemoveUser(userId, flag); in HWTEST_F() 104 result = proxy_->RemoveUser(userId, flag); in HWTEST_F() 125 ASSERT_TRUE(proxy_ != nullptr) << "StorageManagerProxy failed"; in HWTEST_F() 128 int32_t result = proxy_ in HWTEST_F() [all...] |
/foundation/barrierfree/accessibility/services/test/moduletest/aamstest/aams_accessible_ability_channel_test/ |
H A D | aams_accessible_ability_channel_test.cpp | 53 sptr<MockAccessibilityElementOperatorProxy> proxy_ = nullptr; member in OHOS::Accessibility::AamsAccessibleAbilityChannelTest 102 proxy_ = nullptr; in TearDown() 156 proxy_ = proxy; in AddAccessibilityWindowConnection() 191 EXPECT_EQ(-1, proxy_->testChannelElementId_); in HWTEST_F() 192 EXPECT_EQ(-1, proxy_->testChannelRequestId_); in HWTEST_F() 193 EXPECT_EQ(-1, proxy_->testChannelMode_); in HWTEST_F() 218 EXPECT_EQ(-1, proxy_->testChannelElementId_); in HWTEST_F() 219 EXPECT_EQ(-1, proxy_->testChannelRequestId_); in HWTEST_F() 220 EXPECT_EQ(-1, proxy_->testChannelMode_); in HWTEST_F() 244 EXPECT_EQ(-1, proxy_ in HWTEST_F() [all...] |
/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_aams_accessible_ability_channel.cpp | 53 sptr<MockAccessibilityElementOperatorProxy> proxy_ = nullptr; member in OHOS::Accessibility::MockAamsAccessibleAbilityChannelTest 102 proxy_ = nullptr; in TearDown() 156 proxy_ = proxy; in AddAccessibilityWindowConnection() 191 EXPECT_EQ(-1, proxy_->testChannelElementId_); in HWTEST_F() 192 EXPECT_EQ(-1, proxy_->testChannelRequestId_); in HWTEST_F() 193 EXPECT_EQ(-1, proxy_->testChannelMode_); in HWTEST_F() 218 EXPECT_EQ(-1, proxy_->testChannelElementId_); in HWTEST_F() 219 EXPECT_EQ(-1, proxy_->testChannelRequestId_); in HWTEST_F() 220 EXPECT_EQ(-1, proxy_->testChannelMode_); in HWTEST_F() 244 EXPECT_EQ(-1, proxy_ in HWTEST_F() [all...] |
/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_manager.cpp | 43 return proxy_->CancelSuspendDelay(requestId); in CancelSuspendDelay() 57 return proxy_->RequestSuspendDelay(reason, callbackSptr, delayInfo); in RequestSuspendDelay() 65 return proxy_->GetRemainingDelayTime(requestId, delayTime); in GetRemainingDelayTime() 85 ErrCode res = proxy_->StartBackgroundRunning(taskParamPtr); in RequestStartBackgroundRunning() 106 return proxy_->UpdateBackgroundRunning(taskParamPtr); in RequestUpdateBackgroundRunning() 120 return proxy_->RequestBackgroundRunningForInner(taskParamPtr); in RequestBackgroundRunningForInner() 130 return proxy_->StopBackgroundRunning(abilityName, abilityToken, abilityId); in RequestStopBackgroundRunning() 144 return proxy_->SubscribeBackgroundTask(subscriberSptr); in SubscribeBackgroundTask() 157 return proxy_->UnsubscribeBackgroundTask(subscriberSptr); in UnsubscribeBackgroundTask() 165 return proxy_ in GetTransientTaskApps() [all...] |
/foundation/ability/ability_runtime/test/unittest/mission_listener_proxy_test/ |
H A D | mission_listener_proxy_test.cpp | 36 std::shared_ptr<MissionListenerProxy> proxy_ {nullptr}; 49 proxy_ = std::make_shared<MissionListenerProxy>(mock_); in SetUp() 63 proxy_->OnMissionCreated(missionId); in HWTEST_F() 77 proxy_->OnMissionDestroyed(missionId); in HWTEST_F() 91 proxy_->OnMissionSnapshotChanged(missionId); in HWTEST_F() 105 proxy_->OnMissionMovedToFront(missionId); in HWTEST_F() 121 proxy_->OnMissionIconUpdated(missionId, icon); in HWTEST_F() 136 proxy_->OnMissionClosed(missionId); in HWTEST_F() 150 proxy_->OnMissionLabelUpdated(missionId); in HWTEST_F() 168 proxy_ in HWTEST_F() [all...] |
/foundation/window/window_manager_lite/frameworks/ims/ |
H A D | input_event_listener_proxy.cpp | 25 if (proxy_ != nullptr) { in ~InputEventListenerProxy() 27 proxy_ = nullptr; in ~InputEventListenerProxy() 39 if (proxy_ == nullptr) { in GetIClientProxy() 45 (void)iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&proxy_); in GetIClientProxy() 46 if (proxy_ == nullptr) { in GetIClientProxy() 93 int32_t ret = proxy_->Invoke(proxy_, LITEIMS_CLIENT_REGISTER, &io, NULL, NULL); in RegisterInputEventListener() 104 if (proxy_ != nullptr) { in UnregisterInputEventListener() 108 int32_t ret = proxy_->Invoke(proxy_, LITEIMS_CLIENT_UNREGISTE in UnregisterInputEventListener() [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/ipc/src/ |
H A D | publisher_listener_proxy_test.cpp | 33 proxy_ = std::make_shared<PublisherListenerProxy>(object); in SetUp() 38 proxy_ = nullptr; in TearDown() 49 if (proxy_ == nullptr) { in HWTEST_F() 55 proxy_->OnMessage(topic, message); in HWTEST_F() 67 if (proxy_ == nullptr) { in HWTEST_F() 72 proxy_->OnMessage(topic, message); in HWTEST_F() 84 if (proxy_ == nullptr) { in HWTEST_F() 89 proxy_->OnMessage(topic, message); in HWTEST_F()
|
/foundation/multimedia/media_lite/frameworks/recorder_lite/binder/ |
H A D | recorder_client.cpp | 109 (void)iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&proxy_); in RecorderClient() 110 if (proxy_ == nullptr) { in RecorderClient() 118 int32_t ret = proxy_->Invoke(proxy_, REC_FUNC_CONNECT, &io, ¶, SimpleCallback); in RecorderClient() 148 uint32_t ret = proxy_->Invoke(proxy_, REC_FUNC_DISCONNECT, &io, ¶, DisConnectCallback); in ~RecorderClient() 179 uint32_t ret = proxy_->Invoke(proxy_, REC_FUNC_SET_VIDEOSOURCE, &io, ¶, SetSourceCallback); in SetVideoSource() 198 int32_t ret = proxy_->Invoke(proxy_, REC_FUNC_SET_VIDEOENCODE in SetVideoEncoder() [all...] |
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/ |
H A D | svc_extension_proxy_test.cpp | 38 static inline sptr<SvcExtensionProxy> proxy_ = nullptr; member in OHOS::FileManagement::Backup::SvcExtensionProxyTest 46 proxy_ = sptr(new SvcExtensionProxy(mock_)); in SetUpTestCase() 53 proxy_ = nullptr; in TearDownTestCase() 75 EXPECT_TRUE(proxy_ != nullptr); in HWTEST_F() 76 UniqueFd fd = proxy_->GetFileHandle(fileName, errCode); in HWTEST_F() 82 fd = proxy_->GetFileHandle(fileName, errCode); in HWTEST_F() 90 fd = proxy_->GetFileHandle(fileName, errCode); in HWTEST_F() 97 fd = proxy_->GetFileHandle(fileName, errCode); in HWTEST_F() 121 EXPECT_TRUE(proxy_ != nullptr); in HWTEST_F() 122 ErrCode ret = proxy_ in HWTEST_F() [all...] |
H A D | service_reverse_proxy_test.cpp | 50 static inline shared_ptr<ServiceReverseProxy> proxy_ = nullptr; member in OHOS::FileManagement::Backup::ServiceReverseProxyTest 58 proxy_ = make_shared<ServiceReverseProxy>(mock_); in SetUpTestCase() 65 proxy_ = nullptr; in TearDownTestCase() 95 EXPECT_TRUE(proxy_ != nullptr); in HWTEST_F() 96 proxy_->BackupOnFileReady(BUNDLE_NAME, FILE_NAME, fd, 0); in HWTEST_F() 120 EXPECT_TRUE(proxy_ != nullptr); in HWTEST_F() 121 proxy_->BackupOnFileReady(BUNDLE_NAME, FILE_NAME, 0, 0); in HWTEST_F() 130 EXPECT_TRUE(proxy_ != nullptr); in HWTEST_F() 131 proxy_->BackupOnFileReady(BUNDLE_NAME, FILE_NAME, 0, 0); in HWTEST_F() 140 EXPECT_TRUE(proxy_ ! in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_manager_proxy_test/ |
H A D | ability_manager_proxy_test.cpp | 52 std::shared_ptr<AbilityManagerProxy> proxy_{ nullptr }; 66 proxy_ = std::make_shared<AbilityManagerProxy>(mock_); in SetUp() 88 proxy_->DumpSysState(args, info, isClient, isUserID, USER_ID); in HWTEST_F() 108 auto res = proxy_->StartAbility(want, 9); in HWTEST_F() 128 auto res = proxy_->StartAbility(want, 9); in HWTEST_F() 149 auto res = proxy_->TerminateAbility(token, -1, &want); in HWTEST_F() 170 auto res = proxy_->TerminateAbility(token, -1, &want); in HWTEST_F() 190 int res1 = proxy_->SendResultToAbility(-1, -1, want); in HWTEST_F() 209 int res = proxy_->SendResultToAbility(-1, -1, want); in HWTEST_F() 232 int res = proxy_ in HWTEST_F() [all...] |
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/ipc/ |
H A D | asset_recv_callback_proxy_test.cpp | 38 static inline shared_ptr<AssetRecvCallbackProxy> proxy_ = nullptr; member in OHOS::Storage::DistributedFile::Test::AssetRecvCallbackProxyTest 47 proxy_ = make_shared<AssetRecvCallbackProxy>(mock_); in SetUpTestCase() 56 proxy_ = nullptr; in TearDownTestCase() 81 ASSERT_NE(proxy_, nullptr); in HWTEST_F() 82 auto ret = proxy_->OnStart("srcNetworkId", "dstNetworkId", "sessionId", "bundleName"); in HWTEST_F() 87 ret = proxy_->OnStart("srcNetworkId", "dstNetworkId", "sessionId", "bundleName"); in HWTEST_F() 92 ret = proxy_->OnStart("srcNetworkId", "dstNetworkId", "sessionId", "bundleName"); in HWTEST_F() 98 ret = proxy_->OnStart("srcNetworkId", "dstNetworkId", "sessionId", "bundleName"); in HWTEST_F() 104 ret = proxy_->OnStart("srcNetworkId", "dstNetworkId", "sessionId", "bundleName"); in HWTEST_F() 129 ASSERT_NE(proxy_, nullpt in HWTEST_F() [all...] |
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_sync_service_proxy_test.cpp | 38 shared_ptr<CloudSyncServiceProxy> proxy_ = nullptr; member in OHOS::FileManagement::CloudSync::Test::CloudSyncServiceProxyTest 57 proxy_ = make_shared<CloudSyncServiceProxy>(mock_); in SetUp() 65 proxy_ = nullptr; in TearDown() 82 int result = proxy_->UnRegisterCallbackInner(bundleName); in HWTEST_F() 98 int result = proxy_->UnRegisterCallbackInner(bundleName); in HWTEST_F() 115 int result = proxy_->RegisterCallbackInner(nullptr, bundleName); in HWTEST_F() 132 int result = proxy_->RegisterCallbackInner(remote_, bundleName); in HWTEST_F() 149 int result = proxy_->RegisterCallbackInner(remote_, bundleName); in HWTEST_F() 166 int result = proxy_->StartSyncInner(forceFlag); in HWTEST_F() 186 int result = proxy_ in HWTEST_F() [all...] |
/foundation/multimedia/audio_lite/frameworks/binder/ |
H A D | audio_capturer_client.cpp | 143 (void)iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&proxy_); in AudioCapturerClient() 144 if (proxy_ == nullptr) { in AudioCapturerClient() 151 int32_t ret = proxy_->Invoke(proxy_, AUD_CAP_FUNC_CONNECT, nullptr, ¶, ProxyCallbackFunc); in AudioCapturerClient() 165 ret = proxy_->Invoke(proxy_, AUD_CAP_FUNC_SET_SURFACE, &io, ¶, ProxyCallbackFunc); in AudioCapturerClient() 192 uint32_t ret = proxy_->Invoke(proxy_, AUD_CAP_FUNC_DISCONNECT, &io, ¶, ProxyCallbackFunc); in ~AudioCapturerClient() 216 uint32_t ret = client->proxy_->Invoke(client->proxy_, AUD_CAP_FUNC_GET_MIN_FRAME_COUN in GetMinFrameCount() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | object_context.cpp | 25 proxy_ = interface_cast<IProxyObject>(super); in SetSuperInstance() 26 assert(proxy_); in SetSuperInstance() 43 return proxy_->GetTarget(); in GetTarget() 52 return proxy_->SetTarget(target); in SetTarget() 57 return proxy_->GetOverrides(); in GetOverrides() 62 return proxy_->GetOverride(name); in GetOverride() 67 return proxy_->SetPropertyTarget(property); in SetPropertyTarget() 72 return proxy_->GetProxyProperty(name); in GetProxyProperty()
|
/foundation/multimedia/media_lite/frameworks/player_lite/binder/ |
H A D | player_client.cpp | 32 if (proxy_ == nullptr) { in InitPlayerClient() 38 (void)iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&proxy_); in InitPlayerClient() 39 if (proxy_ == nullptr) { in InitPlayerClient() 236 uint32_t ret = proxy_->Invoke(proxy_, PLAYER_SERVER_SET_SOURCE, &io, ¶, Callback); in SetSource() 252 uint32_t ret = proxy_->Invoke(proxy_, PLAYER_SERVER_PREPARE, &io, ¶, Callback); in Prepare() 268 uint32_t ret = proxy_->Invoke(proxy_, PLAYER_SERVER_PLAY, &io, ¶, Callback); in Play() 284 uint32_t ret = proxy_ in IsPlaying() [all...] |