/base/telephony/call_manager/test/fuzztest/controlcamera_fuzzer/ |
H A D | controlcamera_fuzzer.cpp | 49 std::string surfaceId(reinterpret_cast<const char *>(data), size); in SetPreviewWindow() 52 int len = static_cast<int>(surfaceId.length()); in SetPreviewWindow() 53 std::string subSurfaceId = surfaceId; in SetPreviewWindow() 55 subSurfaceId = surfaceId.substr(0, 1); in SetPreviewWindow() 81 std::string surfaceId(reinterpret_cast<const char *>(data), size); in SetDisplayWindow() 84 int len = static_cast<int>(surfaceId.length()); in SetDisplayWindow() 85 std::string subSurfaceId = surfaceId; in SetDisplayWindow() 87 subSurfaceId = surfaceId.substr(0, 1); in SetDisplayWindow()
|
/base/useriam/face_auth/frameworks/js/napi/src/ |
H A D | face_auth_napi.cpp | 84 bool GetBufferProducerBySurfaceId(uint64_t surfaceId, sptr<IBufferProducer> &bufferProducer) in GetBufferProducerBySurfaceId() argument 86 if (surfaceId == 0) { in GetBufferProducerBySurfaceId() 98 sptr<Surface> previewSurface = surfaceUtils->GetSurface(surfaceId); in GetBufferProducerBySurfaceId() 137 uint64_t surfaceId; in SetSurfaceId() local 138 surfaceIdStream >> surfaceId; in SetSurfaceId() local 141 if (!GetBufferProducerBySurfaceId(surfaceId, bufferProducer)) { in SetSurfaceId()
|
/base/telephony/call_manager/services/call/include/ |
H A D | net_call_base.h | 52 virtual int32_t SetPreviewWindow(std::string &surfaceId, sptr<Surface> surface) = 0; 53 virtual int32_t SetDisplayWindow(std::string &surfaceId, sptr<Surface> surface) = 0;
|
H A D | ott_call.h | 66 int32_t SetPreviewWindow(std::string &surfaceId, sptr<Surface> surface) override; 67 int32_t SetDisplayWindow(std::string &surfaceId, sptr<Surface> surface) override;
|
H A D | ims_call.h | 66 int32_t SetPreviewWindow(std::string &surfaceId, sptr<Surface> surface) override; 67 int32_t SetDisplayWindow(std::string &surfaceId, sptr<Surface> surface) override;
|
/base/telephony/call_manager/services/video/include/ |
H A D | video_control_manager.h | 34 int32_t SetPreviewWindow(int32_t callId, std::string &surfaceId, sptr<Surface> surface); 35 int32_t SetDisplayWindow(int32_t callId, std::string &surfaceId, sptr<Surface> surface);
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_native_image_adapter_wrapper.cpp | 61 int32_t ArkNativeImageAdapterWrapper::GetSurfaceId(uint64_t* surfaceId) in GetSurfaceId() argument 63 return ctocpp_->GetSurfaceId(surfaceId); in GetSurfaceId()
|
H A D | ark_native_image_adapter_wrapper.h | 43 int32_t GetSurfaceId(uint64_t* surfaceId) override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_native_image_adapter_impl.cpp | 59 int32_t ArkNativeImageAdapterImpl::GetSurfaceId(uint64_t* surfaceId) in GetSurfaceId() argument 61 return real_->GetSurfaceId(surfaceId); in GetSurfaceId()
|
H A D | ark_native_image_adapter_impl.h | 43 int32_t GetSurfaceId(uint64_t* surfaceId) override;
|
/base/telephony/cellular_call/test/fuzztest/setpreviewwindow_fuzzer/ |
H A D | setpreviewwindow_fuzzer.cpp | 78 std::string surfaceId(reinterpret_cast<const char *>(data), size); in SetPreviewWindow() 83 int len = static_cast<int>(surfaceId.length()); in SetPreviewWindow() 84 std::string subSurfaceId = surfaceId; in SetPreviewWindow() 86 subSurfaceId = surfaceId.substr(0, 1); in SetPreviewWindow() 116 std::string surfaceId(reinterpret_cast<const char *>(data), size); in SetDisplayWindow() 121 int len = static_cast<int>(surfaceId.length()); in SetDisplayWindow() 122 std::string subSurfaceId = surfaceId; in SetDisplayWindow() 124 subSurfaceId = surfaceId.substr(0, 1); in SetDisplayWindow()
|
/base/web/webview/ohos_adapter/graphic_adapter/src/ |
H A D | native_image_adapter_impl.cpp | 82 int32_t NativeImageAdapterImpl::GetSurfaceId(uint64_t* surfaceId) in GetSurfaceId() argument 87 return OH_NativeImage_GetSurfaceId(ohNativeImage_, surfaceId); in GetSurfaceId()
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
H A D | call_manager_connect.cpp | 447 int32_t CallManagerConnect::SetPreviewWindow(int32_t callId, std::string surfaceId) in SetPreviewWindow() argument 450 int len = static_cast<int>(surfaceId.length()); in SetPreviewWindow() 451 std::string subSurfaceId = surfaceId; in SetPreviewWindow() 453 subSurfaceId = surfaceId.substr(0, 1); in SetPreviewWindow() 468 int32_t CallManagerConnect::SetDisplayWindow(int32_t callId, std::string surfaceId) in SetDisplayWindow() argument 471 int len = static_cast<int>(surfaceId.length()); in SetDisplayWindow() 472 std::string subSurfaceId = surfaceId; in SetDisplayWindow() 474 subSurfaceId = surfaceId.substr(0, 1); in SetDisplayWindow()
|
/base/web/webview/test/unittest/ohos_adapter/graphic_adapter_test/ |
H A D | native_image_adapter_impl_test.cpp | 122 uint64_t surfaceId = 1; in HWTEST_F() local 123 int32_t result = imagerAdapter->GetSurfaceId(&surfaceId); in HWTEST_F() 128 result = imagerAdapter->GetSurfaceId(&surfaceId); in HWTEST_F()
|
/base/telephony/call_manager/services/call/src/ |
H A D | ims_call.cpp | 406 int32_t IMSCall::SetPreviewWindow(std::string &surfaceId, sptr<Surface> surface) in SetPreviewWindow() argument 408 TELEPHONY_LOGI("surfaceId:%{public}s", surfaceId.c_str()); in SetPreviewWindow() 410 GetSlotId(), GetCallIndex(), surfaceId, surface); in SetPreviewWindow() 418 int32_t IMSCall::SetDisplayWindow(std::string &surfaceId, sptr<Surface> surface) in SetDisplayWindow() argument 420 TELEPHONY_LOGI("surfaceId:%{public}s", surfaceId.c_str()); in SetDisplayWindow() 422 GetSlotId(), GetCallIndex(), surfaceId, surface); in SetDisplayWindow()
|
/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | ims_test.cpp | 211 std::string surfaceId = "123"; in SetPreviewWindow() local 212 std::string subSurfaceId = surfaceId.substr(0, 1); in SetPreviewWindow() 216 surfaceId = ""; in SetPreviewWindow() 226 std::string surfaceId = "123"; in SetDisplayWindow() local 227 std::string subSurfaceId = surfaceId.substr(0, 1); in SetDisplayWindow() 231 surfaceId = ""; in SetDisplayWindow()
|
/base/telephony/call_manager/services/video/src/ |
H A D | video_control_manager.cpp | 57 int32_t VideoControlManager::SetPreviewWindow(int32_t callId, std::string &surfaceId, sptr<Surface> surface) in SetPreviewWindow() argument 72 ret = netCall->SetPreviewWindow(surfaceId, surface); in SetPreviewWindow() 81 int32_t VideoControlManager::SetDisplayWindow(int32_t callId, std::string &surfaceId, sptr<Surface> surface) in SetDisplayWindow() argument 96 ret = netCall->SetDisplayWindow(surfaceId, surface); in SetDisplayWindow()
|
/base/telephony/call_manager/frameworks/native/src/ |
H A D | call_manager_proxy.cpp | 1043 int32_t CallManagerProxy::SetPreviewWindow(int32_t callId, std::string &surfaceId) in SetPreviewWindow() argument 1050 TELEPHONY_LOGI("surfaceId is %{public}s", surfaceId.c_str()); in SetPreviewWindow() 1056 if (surfaceId.empty() || surfaceId[0] < '0' || surfaceId[0] > '9') { in SetPreviewWindow() 1057 TELEPHONY_LOGI("surfaceId is invalid, set surface nullptr"); in SetPreviewWindow() 1058 surfaceId = ""; in SetPreviewWindow() 1059 errCode = callManagerServicePtr_->SetPreviewWindow(callId, surfaceId, nullptr); in SetPreviewWindow() 1061 std::istringstream str(surfaceId); in SetPreviewWindow() 1078 SetDisplayWindow(int32_t callId, std::string &surfaceId) SetDisplayWindow() argument [all...] |
/base/telephony/call_manager/test/unittest/ui_client/ |
H A D | ui_client_test.cpp | 1024 std::cout << "please input surfaceId:" << std::endl; in SetPreviewWindow() 1025 std::string surfaceId = ""; in SetPreviewWindow() local 1026 std::cin >> surfaceId; in SetPreviewWindow() local 1027 if (surfaceId.empty() || surfaceId[0] < '0' || surfaceId[0] > '9') { in SetPreviewWindow() 1028 surfaceId = ""; in SetPreviewWindow() 1029 ret = g_clientPtr->SetPreviewWindow(callId, surfaceId); in SetPreviewWindow() 1031 int len = static_cast<int>(surfaceId.length()); in SetPreviewWindow() 1032 std::string subSurfaceId = surfaceId; in SetPreviewWindow() 1051 std::string surfaceId = ""; SetDisplayWindow() local 1052 std::cin >> surfaceId; SetDisplayWindow() local [all...] |
/base/web/webview/ohos_adapter/graphic_adapter/include/ |
H A D | native_image_adapter_impl.h | 43 int32_t GetSurfaceId(uint64_t* surfaceId) override;
|
/base/telephony/call_manager/services/telephony_interaction/include/ |
H A D | cellular_call_connection.h | 333 * @param surfaceId[in], Window information 337 int32_t SetPreviewWindow(int32_t slotId, int32_t index, std::string &surfaceId, sptr<Surface> surface); 345 * @param surfaceId[in], Window information 349 int32_t SetDisplayWindow(int32_t slotId, int32_t index, std::string &surfaceId, sptr<Surface> surface);
|
/base/telephony/call_manager/interfaces/innerkits/ |
H A D | cellular_call_proxy.h | 434 * @param surfaceId[in] the window information 439 int32_t slotId, int32_t index, const std::string &surfaceId, sptr<Surface> surface) override; 446 * @param surfaceId[in] the window information 451 int32_t slotId, int32_t index, const std::string &surfaceId, sptr<Surface> surface) override;
|
H A D | cellular_call_interface.h | 423 * @param surfaceId[in] the window information 428 int32_t slotId, int32_t index, const std::string &surfaceId, sptr<Surface> surface) = 0; 435 * @param surfaceId[in] the window information 440 int32_t slotId, int32_t index, const std::string &surfaceId, sptr<Surface> surface) = 0;
|
H A D | call_manager_client.h | 380 * @param surfaceId[in], Window information 383 int32_t SetPreviewWindow(int32_t callId, std::string &surfaceId); 389 * @param surfaceId[in], Window information 392 int32_t SetDisplayWindow(int32_t callId, std::string &surfaceId);
|
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
H A D | ark_web_preference_wrapper.cpp | 546 std::string surfaceId = ArkWebStringStructToClass(stSurfaceId); in GetSurfaceId() local 548 return surfaceId; in GetSurfaceId() 551 void ArkWebPreferenceWrapper::SetSurfaceId(const std::string& surfaceId) in SetSurfaceId() argument 553 ArkWebString stSurfaceId = ArkWebStringClassToStruct(surfaceId); in SetSurfaceId()
|