/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | composed_element.cpp | 189 auto newId = component->GetId(); in NeedUpdateWithComponent() local 190 if (newId.empty()) { in NeedUpdateWithComponent() 200 return newId == id_; in NeedUpdateWithComponent() 202 return newId != id_; in NeedUpdateWithComponent()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hstream_common.cpp | 62 int newId = g_currentStreamId++; in GenerateStreamId() local 63 if (newId == INT32_MAX) { in GenerateStreamId() 66 return newId; in GenerateStreamId() 71 int32_t newId = g_currentCaptureId++; in GenerateCaptureId() local 72 if (newId == INT32_MAX) { in GenerateCaptureId() 75 return newId; in GenerateCaptureId()
|
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/ |
H A D | link_manager_test.cpp | 126 int32_t newId = linkManager.AllocateLinkId(); in HWTEST_F() local 127 EXPECT_EQ(newId, 0); in HWTEST_F() 129 newId = linkManager.AllocateLinkId(); in HWTEST_F() 130 ASSERT_EQ(newId, 1); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_part_upd/foreach/ |
H A D | foreach_element.cpp | 147 for (const auto& newId : newIds) { in LocalizedUpdate() 148 if (oldIdsSet.find(newId) == oldIdsSet.end()) { in LocalizedUpdate() 157 auto iter = oldElmtsByIdMap.find(newId); in LocalizedUpdate()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | for_each_node.cpp | 74 for (const auto& newId : ids_) { in CollectRemovingIds() 75 auto oldIdIt = tempOldIdsSet_.find(newId); in CollectRemovingIds() 148 for (const auto& newId : ids_) { in MappingChildWithId() 149 auto oldIdIt = oldIdsSet.find(newId); in MappingChildWithId() 162 auto iter = oldNodeByIdMap.find(newId); in MappingChildWithId()
|
/foundation/multimedia/player_framework/services/services/observer/ |
H A D | account_listener.cpp | 35 void AccountListener::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() argument
|
H A D | account_listener.h | 30 void OnAccountsSwitch(const int &newId, const int &oldId) override;
|
/foundation/arkui/ace_engine/frameworks/core/event/multimodal/ |
H A D | multimodal_scene.cpp | 25 auto newId = currentAvailableId_++; in GetAvailableSubscriptId() local 26 return std::to_string(newId); in GetAvailableSubscriptId()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | link_manager.cpp | 30 auto newId = currentLinkId_++; in AllocateLinkId() local 31 while (GetLinkById(newId) != nullptr) { in AllocateLinkId() 32 newId = currentLinkId_++; in AllocateLinkId() 34 return newId; in AllocateLinkId()
|
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/ |
H A D | mtpfs_mtp_device.cpp | 289 uint32_t newId = LIBMTP_Create_Folder(device_, cName, dirParent->Id(), dirParent->StorageId()); in DirCreateNew() local 291 if (newId == 0) { in DirCreateNew() 297 ->AddDir(MtpFsTypeDir(newId, dirParent->Id(), dirParent->StorageId(), tmpBaseName)); in DirCreateNew() 301 return newId != 0 ? 0 : -EINVAL; in DirCreateNew()
|
/foundation/communication/netmanager_base/utils/napi_utils/src/ |
H A D | napi_utils.cpp | 96 uint64_t newId = id++; in CreateUvHandlerQueue() local 97 NETMANAGER_BASE_LOGI("newId = %{public}s, id = %{public}s", std::to_string(newId).c_str(), in CreateUvHandlerQueue() 105 g_handlerQueueMap.emplace(newId, std::make_shared<UvHandlerQueue>()); in CreateUvHandlerQueue() 108 env, queueWrapper, reinterpret_cast<void *>(newId), in CreateUvHandlerQueue() 115 return newId; in CreateUvHandlerQueue()
|
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | napi_utils.cpp | 722 uint64_t newId = id++; in CreateUvHandlerQueue() local 723 NETSTACK_LOGI("newId = %{public}s, id = %{public}s", std::to_string(newId).c_str(), std::to_string(id).c_str()); in CreateUvHandlerQueue() 730 g_handlerQueueMap.emplace(newId, std::make_shared<UvHandlerQueue>()); in CreateUvHandlerQueue() 733 env, queueWrapper, reinterpret_cast<void *>(newId), in CreateUvHandlerQueue() 740 return newId; in CreateUvHandlerQueue()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_foreach_ffi.cpp | 107 for (const auto& newId : newIdArr) { in FfiOHOSAceFrameworkViewSetIdArray() 108 if (oldIdsSet.find(newId) == oldIdsSet.end()) { in FfiOHOSAceFrameworkViewSetIdArray()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hdecoder.cpp | 1078 uint64_t newId = newSurface->GetUniqueId(); in OnSetOutputSurfaceWhenRunning() local 1079 HLOGI("surface %" PRIu64 " -> %" PRIu64, oldId, newId); in OnSetOutputSurfaceWhenRunning() 1080 if (oldId == newId) { in OnSetOutputSurfaceWhenRunning() 1122 uint64_t newId = newSurface->GetUniqueId(); in SwitchBetweenSurface() local 1131 newId, info.surfaceBuffer->GetSeqNum(), err); in SwitchBetweenSurface() 1171 HLOGI("set surface(%" PRIu64 ")(%s) succ", newId, newSurface->GetName().c_str()); in SwitchBetweenSurface()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/include/ |
H A D | audio_policy_server.h | 653 void OnAccountsSwitch(const int &newId, const int &oldId) override 656 AUDIO_INFO_LOG("OnAccountsSwitch received, newid: %{public}d, oldid: %{public}d", newId, oldId); 658 audioPolicyServer_->NotifyAccountsChanged(newId);
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/common/ |
H A D | element_proxy.cpp | 1270 for (const auto& newId : newIds) { in UpdateForPartialUpdate() 1271 idS += newId + ", "; in UpdateForPartialUpdate() 1344 for (const auto& newId : newIds) { 1345 idS += newId + ", "; 1353 for (const auto& newId : newIds) { 1354 if ((oldIndex = indexOf(oldIds, newId)) == -1) {
|
/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/ |
H A D | fcodec.cpp | 1221 uint64_t newId = newSurface->GetUniqueId(); in ReplaceOutputSurfaceWhenRunning() local 1222 AVCODEC_LOGI("surface %{public}" PRIu64 " -> %{public}" PRIu64 "", oldId, newId); in ReplaceOutputSurfaceWhenRunning() 1223 if (oldId == newId) { in ReplaceOutputSurfaceWhenRunning() 1228 "surface %{public}" PRIu64 ", RegisterListenerToSurface failed, GSError=%{public}d", newId, err); in ReplaceOutputSurfaceWhenRunning() 1265 uint64_t newId = newSurface->GetUniqueId(); in SwitchBetweenSurface() local 1286 newId, surfaceBuffer->GetSeqNum(), err); in SwitchBetweenSurface()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.cpp | 1351 uint64_t newId = newSurface->GetUniqueId(); in ReplaceOutputSurfaceWhenRunning() local 1352 AVCODEC_LOGI("surface %{public}" PRIu64 " -> %{public}" PRIu64 "", oldId, newId); in ReplaceOutputSurfaceWhenRunning() 1353 if (oldId == newId) { in ReplaceOutputSurfaceWhenRunning() 1396 uint64_t newId = newSurface->GetUniqueId(); in SwitchBetweenSurface() local 1417 newId, surfaceBuffer->GetSeqNum(), err); in SwitchBetweenSurface()
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/screen_manager/ |
H A D | rs_screen_manager_unit_test.cpp | 986 ScreenId newId = 0;
in HWTEST_F() local 987 ASSERT_NE(screenManager->SetVirtualScreenSurface(newId, nullptr), SUCCESS);
in HWTEST_F() 989 auto rsScreen = std::make_unique<impl::RSScreen>(newId, false, HdiOutput::CreateHdiOutput(newId), nullptr);
in HWTEST_F() 994 ASSERT_NE(screenManager->SetVirtualScreenSurface(newId, psurface), SCREEN_NOT_FOUND);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_file.cpp | 261 const uint32_t newId = layerData_.size(); in AddLayer() local 267 return newId; in AddLayer()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/ |
H A D | rs_screen_manager_test.cpp | 999 ScreenId newId = 0;
in HWTEST_F() local 1000 ASSERT_NE(screenManager->SetVirtualScreenSurface(newId, nullptr), SUCCESS);
in HWTEST_F() 1002 auto rsScreen = std::make_unique<impl::RSScreen>(newId, false, HdiOutput::CreateHdiOutput(newId), nullptr);
in HWTEST_F() 1007 ASSERT_NE(screenManager->SetVirtualScreenSurface(newId, psurface), SCREEN_NOT_FOUND);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen_manager.cpp | 969 ScreenId newId = GenerateVirtualScreenIdLocked();
in CreateVirtualScreen() local 970 configs.id = newId;
in CreateVirtualScreen() 979 screens_[newId] = std::make_unique<RSScreen>(configs);
in CreateVirtualScreen() 981 RS_LOGD("RSScreenManager %{public}s: create virtual screen(id %{public}" PRIu64 ").", __func__, newId);
in CreateVirtualScreen() 982 return newId;
in CreateVirtualScreen()
|
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | ui_node_test_ng.cpp | 1217 testNode->RegisterUpdateJSInstanceCallback([&testId](int32_t newId) { testId = newId; }); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | clone_restore.cpp | 2085 for (const auto& [oldId, newId] : fileIdPairs) { in GenNewCoverUris() 2086 oldToNewFileId[std::to_string(oldId)] = newId; in GenNewCoverUris()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 2773 int32_t newId = pipelineContext->GetInstanceId(); in OnAttachContext() local 2774 instanceId_ = newId; in OnAttachContext() 2784 updateInstanceIdCallback_(newId); in OnAttachContext() 2788 renderSurface_->SetInstanceId(newId); in OnAttachContext()
|