/ohos5.0/foundation/multimedia/media_lite/frameworks/recorder_lite/ |
H A D | recorder.cpp | 30 if (client_ == nullptr) { in SetVideoSource() 39 if (client_ == nullptr) { in SetVideoEncoder() 48 if (client_ == nullptr) { in SetVideoSize() 56 if (client_ == nullptr) { in SetVideoFrameRate() 65 if (client_ == nullptr) { in SetVideoEncodingBitRate() 74 if (client_ == nullptr) { in SetCaptureRate() 83 if (client_ == nullptr) { in GetSurface() 92 if (client_ == nullptr) { in SetAudioSource() 101 if (client_ == nullptr) { in SetAudioEncoder() 115 if (client_ == nullptr) { in SetAudioChannels() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_test/ |
H A D | ability_manager_client_branch_test.cpp | 80 client_->proxy_ = mock_; in SetUp() 1915 EXPECT_NE(client_, nullptr); 2050 EXPECT_NE(client_, nullptr); 2063 client_->ResetProxy(remote); 2064 EXPECT_NE(client_, nullptr); 2096 EXPECT_NE(client_, nullptr); 2109 EXPECT_NE(client_, nullptr); 2121 EXPECT_NE(client_, nullptr); 2138 EXPECT_NE(client_, nullptr); 2186 EXPECT_NE(client_, nullptr); [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_p2p_impl.cpp | 65 if (client_ == nullptr) { in GetWifiP2pProxy() 69 if (client_ == nullptr) { in GetWifiP2pProxy() 80 return client_->EnableP2p(); in EnableP2p() 87 return client_->DisableP2p(); in DisableP2p() 94 return client_->DiscoverDevices(); in DiscoverDevices() 108 return client_->DiscoverServices(); in DiscoverServices() 150 return client_->StopP2pListen(); in StopP2pListen() 164 return client_->RemoveGroup(); in RemoveGroup() 178 return client_->DeleteGroup(group); in DeleteGroup() 392 return (client_ == nullptr) ? true : client_->IsRemoteDied(); in IsRemoteDied() [all …]
|
H A D | wifi_device_impl.cpp | 64 client_ = deviceProxy; in Init() 76 return (client_ != nullptr); in GetWifiDeviceProxy() 111 if (client_ == nullptr) { in GetWifiDeviceProxy() 114 if (client_ == nullptr) { in GetWifiDeviceProxy() 126 return client_->EnableWifi(); in EnableWifi() 133 return client_->DisableWifi(); in DisableWifi() 278 return client_->ReConnect(); in ReConnect() 285 return client_->ReAssociate(); in ReAssociate() 292 return client_->Disconnect(); in Disconnect() 306 return client_->CancelWps(); in CancelWps() [all …]
|
H A D | wifi_hotspot_impl.cpp | 88 if (client_ == nullptr) { in GetWifiHotspotProxy() 133 RETURN_IF_FAIL(client_); in SetHotspotIdleTimeout() 155 return client_->EnableHotspot(type); in EnableHotspot() 162 return client_->DisableHotspot(type); in DisableHotspot() 169 return client_->GetBlockLists(infos); in GetBlockLists() 176 return client_->AddBlockList(info); in AddBlockList() 183 return client_->DelBlockList(info); in DelBlockList() 190 return client_->GetValidBands(bands); in GetValidBands() 237 return client_->GetPowerModel(model); in GetPowerModel() 244 return client_->SetPowerModel(model); in SetPowerModel() [all …]
|
H A D | wifi_scan_impl.cpp | 63 client_ = scanProxy; in Init() 75 return (client_ != nullptr); in GetWifiScanProxy() 114 if (client_ == nullptr) { in GetWifiScanProxy() 117 if (client_ == nullptr) { in GetWifiScanProxy() 130 return client_->SetScanControlInfo(info); in SetScanControlInfo() 137 return client_->Scan(compatible); in Scan() 144 return client_->AdvanceScan(params); in AdvanceScan() 151 return client_->IsWifiClosedScan(bOpen); in IsWifiClosedScan() 170 return client_->RegisterCallBack(callback, event); in RegisterCallBack() 177 return client_->GetSupportedFeatures(features); in GetSupportedFeatures() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_socket.cpp | 108 shutdown(client_, SHUT_RDWR); in Shutdown() 109 close(client_); in Shutdown() 110 client_ = -1; in Shutdown() 150 if (client_ == -1) { in AcceptClient() 171 SetBlocking(client_, true); in SendWhenReady() 192 SetBlocking(client_, false); in SendWhenReady() 201 SetBlocking(client_, false); in Receive() 228 SetBlocking(client_, true); in ReceiveWhenReady() 229 SetTimeout(client_, timeout); in ReceiveWhenReady() 249 SetBlocking(client_, false); in ReceiveWhenReady() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/ |
H A D | ams_app_mgr_client_test.cpp | 56 std::unique_ptr<AppMgrClient> client_; member in OHOS::AppExecFwk::AmsAppMgrClientTest 69 client_.reset(new (std::nothrow) AppMgrClient()); in SetUp() 70 client_->SetServiceManager(std::make_unique<MockAppServiceMgr>()); in SetUp() 87 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); 97 auto result = client_->GetProcessRunningInfosByUserId(info, userId); 116 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); 171 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); 210 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); 251 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); 295 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); [all …]
|
/ohos5.0/drivers/peripheral/codec/test/demo/v2.0/src/ |
H A D | codec_hdi_encode.cpp | 42 client_ = nullptr; in CodecHdiEncode() 132 err = client_->GetComponentVersion(client_, &verInfo); in Init() 143 if (client_ == nullptr) { in Configure() 214 auto err = client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in UseBuffers() 241 err = client_->GetState(client_, &status); in UseBuffers() 416 int32_t err = client_->GetState(client_, &status); in FreeBuffers() 433 client_ = nullptr; in Release() 444 auto err = client_->FillThisBuffer(client_, bufferInfo->omxBuffer.get()); in FillAllTheBuffer() 496 err = client_->EmptyThisBuffer(client_, bufferInfo->omxBuffer.get()); in Run() 505 (void)client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in Run() [all …]
|
H A D | codec_hdi_decode.cpp | 41 client_ = nullptr; in CodecHdiDecode() 132 err = client_->GetComponentVersion(client_, &verInfo); in Init() 291 auto err = client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in UseBuffers() 311 err = client_->GetState(client_, &status); in UseBuffers() 487 (void)client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateLoaded, nullptr, 0); in FreeBuffers() 505 int32_t err = client_->GetState(client_, &status); in FreeBuffers() 522 client_ = nullptr; in Release() 540 auto err = client_->FillThisBuffer(client_, buffer); in FillAllTheBuffer() 633 err = client_->EmptyThisBuffer(client_, bufferInfo->omxBuffer.get()); in Run() 647 (void)client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in Run() [all …]
|
/ohos5.0/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_server_impl.cpp | 38 DhcpServerImpl::DhcpServerImpl() : client_(nullptr) in DhcpServerImpl() 65 client_ = clientProxy; in Init() 76 return (client_ != nullptr); in GetDhcpServerProxy() 94 if (client_ == nullptr) { in GetDhcpServerProxy() 98 if (client_ == nullptr) { in GetDhcpServerProxy() 109 return (client_ == nullptr) ? true : client_->IsRemoteDied(); in IsRemoteDied() 130 return client_->StartDhcpServer(ifname); in StartDhcpServer() 137 return client_->StopDhcpServer(ifname); in StopDhcpServer() 158 return client_->RemoveAllDhcpRange(tagName); in RemoveAllDhcpRange() 165 return client_->SetDhcpRange(ifname, range); in SetDhcpRange() [all …]
|
H A D | dhcp_client_impl.cpp | 65 client_ = clientProxy; in Init() 76 return (client_ != nullptr); in GetDhcpClientProxy() 96 client_ = iface_cast<OHOS::DHCP::IDhcpClient>(object); in GetDhcpClientProxy() 97 if (client_ == nullptr) { in GetDhcpClientProxy() 99 client_ = new (std::nothrow)DhcpClientProxy(object); in GetDhcpClientProxy() 102 if (client_ == nullptr) { in GetDhcpClientProxy() 112 return (client_ == nullptr) ? true : client_->IsRemoteDied(); in IsRemoteDied() 125 return client_->RegisterDhcpClientCallBack(ifname, callback); in RegisterDhcpClientCallBack() 132 return client_->StartDhcpClient(ifname, bIpv6); in StartDhcpClient() 139 return client_->SetConfiguration(ifname, config); in SetConfiguration() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/unittest/common/cameraoperator/ |
H A D | dcamera_client_test.cpp | 169 client_ = nullptr; in TearDown() 332 ret = client_->Init(); 335 ret = client_->UnInit(); 359 ret = client_->Init(); 393 ret = client_->StopCapture(); 396 ret = client_->UnInit(); 420 ret = client_->Init(); 454 ret = client_->StopCapture(); 457 ret = client_->UnInit(); 615 ret = client_->Init(); [all …]
|
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/task/ |
H A D | ability_dump_task.cpp | 20 : AbilityTask(context), client_(client) in AbilityDumpTask() 27 if (abilityMgrContext_ == nullptr || client_ == nullptr) { in Execute() 31 if (client_->GetWant().element != nullptr) { in Execute() 34 stackManager.FindPageAbility(*abilityMgrContext_, client_->GetWant()); in Execute() 36 return client_->AbilityDumpTransaction("Ability not found\n"); in Execute() 38 return targetAbility->DumpAbilitySlice(client_->GetWant()); in Execute() 43 return client_->AbilityDumpTransaction(status.Dump()); in Execute() 45 return client_->AbilityDumpTransaction("Dump is not available in release\n"); in Execute()
|
H A D | ability_attach_task.cpp | 22 : client_(client) in AbilityAttachTask() 28 client_ = nullptr; in ~AbilityAttachTask() 34 if (client_ == nullptr) { in Execute() 39 client_->GetToken(), client_->GetPid())); in Execute() 44 AbilityMsStatus status = appRecord->SetAbilityThreadClient(*client_); in Execute()
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_connect_module_test/ |
H A D | ui_extension_connect_module_test.cpp | 253 auto ret = client_->StartAbility(userWant); 256 ret = client_->DisconnectAbility(connect); 260 ret = client_->GetTopAbility(token); 283 auto ret = client_->StartAbility(userWant); 287 ret = client_->GetTopAbility(token); 290 ret = client_->MinimizeAbility(token); 316 auto ret = client_->DisconnectAbility(connect); 343 ret = client_->StartAbility(userWant); 346 ret = client_->DisconnectAbility(connect); 350 ret = client_->GetTopAbility(token); [all …]
|
/ohos5.0/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/include/ |
H A D | image_auto_initer.h | 25 OHOS::HDI::Codec::Image::V2_0::CodecImageRole role) : client_(imageClient), role_(role) in ImageAutoIniter() 27 if (client_) { in ImageAutoIniter() 28 client_->Init(role_); in ImageAutoIniter() 34 if (client_) { in ~ImageAutoIniter() 35 client_->DeInit(role_); in ~ImageAutoIniter() 36 client_ = nullptr; in ~ImageAutoIniter() 41 OHOS::sptr<OHOS::HDI::Codec::Image::V2_0::ICodecImage> client_;
|
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | multimodal_event_handler.cpp | 124 if (client_ != nullptr) { in InitClient() 126 client_->MarkIsEventHandlerChanged(eventHandler); in InitClient() 130 client_ = std::make_shared<MMIClient>(); in InitClient() 131 client_->SetEventHandler(eventHandler); in InitClient() 132 client_->RegisterConnectedFunction(&OnConnected); in InitClient() 133 client_->RegisterDisconnectedFunction(&OnDisconnected); in InitClient() 134 if (!client_->Start()) { in InitClient() 135 client_ = nullptr; in InitClient() 144 CHKPP(client_); in GetMMIClient() 145 return client_->GetSharedPtr(); in GetMMIClient()
|
/ohos5.0/drivers/peripheral/codec/test/demo/idl/src/ |
H A D | codec_hdi_decode.cpp | 50 client_ = nullptr; in CodecHdiDecode() 170 err = client_->GetComponentVersion(verInfo); in Init() 200 err = client_->SetParameter(OMX_IndexParamPortDefinition, inVec); in ConfigPortDefine() 225 err = client_->SetParameter(OMX_IndexParamPortDefinition, inVec); in ConfigPortDefine() 264 err = client_->SetParameter(OMX_IndexParamVideoPortFormat, inVec); in Configure() 368 err = client_->SetParameter(OMX_IndexParamUseBufferType, inVec); in CheckAndUseBufferHandle() 400 err = client_->GetState(status); in UseBuffers() 637 int32_t err = client_->GetState(status); in FreeBuffers() 653 client_ = nullptr; in Release() 666 auto err = client_->FillThisBuffer(*buffer); in FillAllTheBuffer() [all …]
|
H A D | codec_hdi_encode.cpp | 45 client_ = nullptr; in CodecHdiEncode() 133 err = client_->GetComponentVersion(verInfo); in Init() 144 if (client_ == nullptr) { in Configure() 257 err = client_->SetParameter(OMX_IndexParamUseBufferType, inVec); in CheckAndUseBufferHandle() 295 err = client_->GetState(status); in UseBuffers() 520 auto err = client_->GetState(status); in FreeBuffers() 537 client_ = nullptr; in Release() 625 err = client_->EmptyThisBuffer(*bufferInfo->omxBuffer.get()); in Run() 761 auto err = client_->FillThisBuffer(*bufferInfo->omxBuffer.get()); in OnFillBufferDone() 791 err = client_->SetParameter(OMX_IndexParamPortDefinition, inVec); in ConfigPortDefine() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/ |
H A D | downloader.cpp | 251 client_->Init(); in Downloader() 275 if (client_ != nullptr) { in ~Downloader() 276 client_->Deinit(); in ~Downloader() 277 client_ = nullptr; in ~Downloader() 310 if (client_ != nullptr) { in Pause() 326 if (client_ != nullptr) { in Cancel() 367 if (client_ != nullptr) { in Stop() 417 if (client_ != nullptr) { in GetIp() 418 client_->GetIp(ip); in GetIp() 490 if (client_) { in BeginDownload() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/ |
H A D | downloader.cpp | 106 client_ = std::make_shared<HttpCurlClient>(&RxHeaderData, &RxBodyData, this); in Downloader() 107 client_->Init(); in Downloader() 116 if (client_ != nullptr) { in ~Downloader() 117 client_->Deinit(); in ~Downloader() 118 client_ = nullptr; in ~Downloader() 203 FALSE_RETURN_V(client_ != nullptr && !shouldStartNextRequest, false); in Retry() 209 FALSE_RETURN_V(client_ != nullptr && !shouldStartNextRequest, false); in Retry() 210 client_->Close(); in Retry() 216 client_->Open(currentRequest_->url_); in Retry() 231 client_->Open(url); in BeginDownload() [all …]
|
/ohos5.0/base/msdp/device_status/frameworks/native/interaction/src/ |
H A D | interaction_manager_impl.cpp | 36 if (client_ != nullptr && client_->CheckValidFd()) { in InitClient() 39 client_ = std::make_shared<Client>(); in InitClient() 42 client_->RegisterConnectedFunction([&coordinationManagerImpl_] { in InitClient() 46 if (!(client_->Start())) { in InitClient() 47 client_.reset(); in InitClient() 48 client_ = nullptr; in InitClient() 86 CHKPV(client_); in InitMsgHandler() 88 if (!client_->RegisterEvent(it)) { in InitMsgHandler()
|
/ohos5.0/foundation/barrierfree/accessibility/frameworks/asacfwk/include/ |
H A D | accessibility_system_ability_client_impl.h | 234 : client_(client) {} in AccessibleAbilityManagerStateObserverImpl() 240 client_.OnAccessibleAbilityManagerStateChanged(stateType); in OnStateChanged() 248 AccessibilitySystemAbilityClientImpl &client_; 254 explicit DeathRecipient(AccessibilitySystemAbilityClientImpl &client) : client_(client) {} in DeathRecipient() 260 client_.ResetService(remote); in OnRemoteDied() 263 AccessibilitySystemAbilityClientImpl &client_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ime/ |
H A D | text_input_connection.h | 35 : clientId_(id_++), client_(client), taskExecutor_(taskExecutor) in TextInputConnection() 52 return client_.Upgrade(); in GetClient() 65 WeakPtr<TextInputClient> client_; variable
|