/ohos5.0/base/hiviewdfx/hitrace/test/unittest/common/native/ |
H A D | hitracechainc_test.cpp | 709 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 D | hitracechaincpp_test.cpp | 771 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 D | account.cpp | 30 …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 D | driver_os_account_subscriber.cpp | 33 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 D | account.h | 38 …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 D | os_account_subscribe_manager.cpp | 141 …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 D | os_account_interface.cpp | 297 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 D | subscriber_lookup.ts | 76 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 D | os_account_event_stub.cpp | 46 int newId; in OnRemoteRequest() local 47 if (!data.ReadInt32(newId)) { in OnRemoteRequest() 56 OnAccountsSwitch(newId, oldId); in OnRemoteRequest()
|
H A D | os_account_event_listener.cpp | 38 void OsAccountEventListener::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() argument 45 osAccountSubscriber_->OnAccountsSwitch(newId, oldId); in OnAccountsSwitch()
|
H A D | os_account_event_proxy.cpp | 51 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 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()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/ |
H A D | link_manager_test.cpp | 123 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 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()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | for_each_node.cpp | 77 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 D | driver_os_account_subscriber.h | 31 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 D | os_account_subscribe_manager.h | 38 …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 D | foreach_element.cpp | 151 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 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()
|
/ohos5.0/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()
|
/ohos5.0/base/account/os_account/frameworks/osaccount/core/include/ |
H A D | ios_account_event.h | 30 virtual void OnAccountsSwitch(const int &newId, const int &oldId) = 0;
|
H A D | os_account_event_listener.h | 30 void OnAccountsSwitch(const int &newId, const int &oldId) override;
|
/ohos5.0/foundation/multimedia/player_framework/services/services/observer/ |
H A D | account_listener.h | 30 void OnAccountsSwitch(const int &newId, const int &oldId) override;
|
H A D | account_listener.cpp | 35 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 D | os_account_subscriber.h | 31 virtual void OnAccountsSwitch(const int &newId, const int &oldId) {}; in OnAccountsSwitch() argument
|