Home
last modified time | relevance | path

Searched refs:newId (Results 1 – 25 of 58) sorted by relevance

123

/ohos5.0/base/hiviewdfx/hitrace/test/unittest/common/native/
H A Dhitracechainc_test.cpp709 HiTraceIdStruct newId{0}; variable
710 HiTraceChainInitId(&newId);
718 PRINT_ID(&newId);
777 HiTraceIdStruct newId{0}; variable
786 PRINT_ID(&newId);
842 HiTraceIdStruct newId{0}; variable
851 PRINT_ID(&newId);
907 HiTraceIdStruct newId{0}; variable
916 PRINT_ID(&newId);
976 HiTraceIdStruct newId{0}; variable
[all …]
H A Dhitracechaincpp_test.cpp771 HiTraceId newId(tempId);
775 newId.SetChainId(chainId);
776 newId.SetSpanId(spanId);
837 HiTraceId newId(tempId);
841 newId.SetChainId(chainId);
842 newId.SetSpanId(spanId);
902 HiTraceId newId(tempId);
906 newId.SetChainId(chainId);
907 newId.SetSpanId(spanId);
969 HiTraceId newId(tempId);
[all …]
/ohos5.0/base/request/request/services/src/cxx/
H A Daccount.cpp30 …rust::fn<void(const int &newId, const int &oldId, const TaskManagerTx &task_manager)> on_accounts_… in SubscriberWrapper() argument
49 void SubscriberWrapper::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() argument
51 REQUEST_HILOGI("AccountsSwitch newAccount=%{public}d, oldAccount=%{public}d", newId, oldId); in OnAccountsSwitch()
52 on_accounts_switch_(newId, oldId, *task_manager_); in OnAccountsSwitch()
57 …rust::fn<void(const int &newId, const int &oldId, const TaskManagerTx &task_manager)> on_accounts_… in RegistryAccountSubscriber() argument
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/
H A Ddriver_os_account_subscriber.cpp33 void DriverOsAccountSwitched::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() argument
35 … EDM_LOGI(MODULE_PKG_MGR, "OnAccountsSwitched, newId=%{public}d, oldId=%{public}d", newId, oldId); in OnAccountsSwitch()
56 void DriverOsAccountSwitching::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() argument
58 … EDM_LOGI(MODULE_PKG_MGR, "OnAccountsSwitching, newId=%{public}d, oldId=%{public}d", newId, oldId); in OnAccountsSwitch()
/ohos5.0/base/request/request/services/include/
H A Daccount.h38 …rust::fn<void(const int &newId, const int &oldId, const TaskManagerTx &task_manager)> on_accounts_…
43 virtual void OnAccountsSwitch(const int &newId, const int &oldId) override;
48 …rust::fn<void(const int &newId, const int &oldId, const TaskManagerTx &task_manager)> on_accounts_…
53 …rust::fn<void(const int &newId, const int &oldId, const TaskManagerTx &task_manager)> on_accounts_…
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_subscribe_manager.cpp141 …AccountSubscribeManager::OnAccountsSwitch(const sptr<IOsAccountEvent> &eventProxy, const int newId, in OnAccountsSwitch() argument
148 eventProxy->OnAccountsSwitch(newId, oldId); in OnAccountsSwitch()
187 ErrCode OsAccountSubscribeManager::Publish(const int newId, const int oldId, OS_ACCOUNT_SUBSCRIBE_T… in Publish() argument
209 …auto task = [this, eventProxy, newId, oldId] { this->OnAccountsSwitch(eventProxy, newId, oldId); }; in Publish()
218 subscribeType, newId, oldId, sendCnt); in Publish()
H A Dos_account_interface.cpp297 void OsAccountInterface::SendToCESAccountSwitched(int newId, int oldId) in SendToCESAccountSwitched() argument
305 data.SetCode(newId); in SendToCESAccountSwitched()
308 … ACCOUNT_LOGE("PublishCommonEvent failed, account switched:%{public}d->%{public}d", oldId, newId); in SendToCESAccountSwitched()
309 …ReportOsAccountOperationFail(newId, Constants::OPERATION_SWITCH, -1, "PublishCommonEvent switched … in SendToCESAccountSwitched()
311 …COUNT_LOGI("PublishCommonEvent successful, account switched:%{public}d->%{public}d", oldId, newId); in SendToCESAccountSwitched()
315 …("No common event part, do not publish for account switched:%{public}d->%{public}d", oldId, newId); in SendToCESAccountSwitched()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/sdk/
H A Dsubscriber_lookup.ts76 public static UpdateRecycleElmtId(oldId: number, newId: number): boolean {
77 return SubscriberManager.GetInstance().updateRecycleElmtId(oldId, newId);
196 public updateRecycleElmtId(oldId: number, newId: number): boolean {
202 this.subscriberById_.set(newId, subscriber);
/ohos5.0/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account_event_stub.cpp46 int newId; in OnRemoteRequest() local
47 if (!data.ReadInt32(newId)) { in OnRemoteRequest()
56 OnAccountsSwitch(newId, oldId); in OnRemoteRequest()
H A Dos_account_event_listener.cpp38 void OsAccountEventListener::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() argument
45 osAccountSubscriber_->OnAccountsSwitch(newId, oldId); in OnAccountsSwitch()
H A Dos_account_event_proxy.cpp51 void OsAccountEventProxy::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() argument
59 if (!data.WriteInt32(newId)) { in OnAccountsSwitch()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dcomposed_element.cpp189 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()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/
H A Dlink_manager_test.cpp123 int newId = linkManager.AllocateLinkId(); variable
124 EXPECT_EQ(newId, 0);
126 newId = linkManager.AllocateLinkId();
127 ASSERT_EQ(newId, 1);
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhstream_common.cpp62 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dfor_each_node.cpp77 for (const auto& newId : ids_) { in CollectRemovingIds() local
78 auto oldIdIt = tempOldIdsSet_.find(newId); in CollectRemovingIds()
151 for (const auto& newId : ids_) { in MappingChildWithId() local
152 auto oldIdIt = oldIdsSet.find(newId); in MappingChildWithId()
165 auto iter = oldNodeByIdMap.find(newId); in MappingChildWithId()
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/include/drivers_pkg_manager/
H A Ddriver_os_account_subscriber.h31 void OnAccountsSwitch(const int &newId, const int &oldId) override;
42 void OnAccountsSwitch(const int &newId, const int &oldId) override;
/ohos5.0/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_subscribe_manager.h38 …ErrCode Publish(const int newId, const int oldId, OS_ACCOUNT_SUBSCRIBE_TYPE subscribeType) overrid…
40 … bool OnAccountsSwitch(const sptr<IOsAccountEvent> &eventProxy, const int newId, const int oldId);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_part_upd/foreach/
H A Dforeach_element.cpp151 for (const auto& newId : newIds) { in LocalizedUpdate() local
152 if (oldIdsSet.find(newId) == oldIdsSet.end()) { in LocalizedUpdate()
161 auto iter = oldElmtsByIdMap.find(newId); in LocalizedUpdate()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dlink_manager.cpp30 auto newId = currentLinkId_++; in AllocateLinkId() local
31 while (GetLinkById(newId) != nullptr) { in AllocateLinkId()
32 newId = currentLinkId_++; in AllocateLinkId()
34 return newId; in AllocateLinkId()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/event/multimodal/
H A Dmultimodal_scene.cpp25 auto newId = currentAvailableId_++; in GetAvailableSubscriptId() local
26 return std::to_string(newId); in GetAvailableSubscriptId()
/ohos5.0/base/account/os_account/frameworks/osaccount/core/include/
H A Dios_account_event.h30 virtual void OnAccountsSwitch(const int &newId, const int &oldId) = 0;
H A Dos_account_event_listener.h30 void OnAccountsSwitch(const int &newId, const int &oldId) override;
/ohos5.0/foundation/multimedia/player_framework/services/services/observer/
H A Daccount_listener.h30 void OnAccountsSwitch(const int &newId, const int &oldId) override;
H A Daccount_listener.cpp35 void AccountListener::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() argument
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_subscriber.h31 virtual void OnAccountsSwitch(const int &newId, const int &oldId) {}; in OnAccountsSwitch() argument

123