/base/hiviewdfx/hitrace/test/unittest/common/native/ |
H A D | hitracechainc_test.cpp | 709 HiTraceIdStruct newId{0}; in HWTEST_F() 710 HiTraceChainInitId(&newId); in HWTEST_F() 711 newId.valid=HITRACE_ID_VALID; in HWTEST_F() 715 HiTraceChainSetChainId(&newId, chainId); in HWTEST_F() 716 HiTraceChainSetSpanId(&newId, spanId); in HWTEST_F() 717 HiTraceChainSetParentSpanId(&newId, parentSpanId); in HWTEST_F() 718 PRINT_ID(&newId); in HWTEST_F() 721 HiTraceIdStruct oldId = HiTraceChainSaveAndSetId(&newId); in HWTEST_F() 777 HiTraceIdStruct newId{0}; in HWTEST_F() 778 HiTraceChainInitId(&newId); in HWTEST_F() [all...] |
H A D | hitracechaincpp_test.cpp | 771 HiTraceId newId(tempId); in HWTEST_F() 775 newId.SetChainId(chainId); in HWTEST_F() 776 newId.SetSpanId(spanId); in HWTEST_F() 777 newId.SetParentSpanId(parentSpanId); in HWTEST_F() 780 HiTraceId oldId = HiTraceChain::SaveAndSet(newId); in HWTEST_F() 837 HiTraceId newId(tempId); in HWTEST_F() 841 newId.SetChainId(chainId); in HWTEST_F() 842 newId.SetSpanId(spanId); in HWTEST_F() 843 newId.SetParentSpanId(parentSpanId); in HWTEST_F() 846 HiTraceId oldId = HiTraceChain::SaveAndSet(newId); in HWTEST_F() [all...] |
/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_switch) in SubscriberWrapper() 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_switch) in RegistryAccountSubscriber() 28 SubscriberWrapper(OS_ACCOUNT_SUBSCRIBE_TYPE type, rust::box<TaskManagerTx> task_manager, rust::fn<void(const int &id, const TaskManagerTx &task_manager)> on_accounts_changed, rust::fn<void(const int &newId, const int &oldId, const TaskManagerTx &task_manager)> on_accounts_switch) SubscriberWrapper() argument 55 RegistryAccountSubscriber(OS_ACCOUNT_SUBSCRIBE_TYPE type, rust::box<TaskManagerTx> task_manager, rust::fn<void(const int &id, const TaskManagerTx &task_manager)> on_accounts_changed, rust::fn<void(const int &newId, const int &oldId, const TaskManagerTx &task_manager)> on_accounts_switch) RegistryAccountSubscriber() argument
|
/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() 48 ACCOUNT_LOGE("Read newId failed."); 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() 60 ACCOUNT_LOGE("Write newId failed."); in OnAccountsSwitch()
|
/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_switch); 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_switch_; 53 rust::fn<void(const int &newId, const int &oldId, const TaskManagerTx &task_manager)> on_accounts_switch);
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_subscribe_manager.cpp | 141 bool OsAccountSubscribeManager::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_TYPE subscribeType) in Publish() argument 209 auto task = [this, eventProxy, newId, oldId] { this->OnAccountsSwitch(eventProxy, newId, oldId); }; in Publish() 217 ACCOUNT_LOGI("Publish %{public}d successful, newId=%{public}d, oldId=%{public}d, sendCnt=%{public}u.", in Publish() 218 subscribeType, newId, oldId, sendCnt); in Publish()
|
H A D | os_account_interface.cpp | 305 void OsAccountInterface::SendToCESAccountSwitched(int newId, int oldId) in SendToCESAccountSwitched() argument 313 data.SetCode(newId); in SendToCESAccountSwitched() 316 ACCOUNT_LOGE("PublishCommonEvent failed, account switched:%{public}d->%{public}d", oldId, newId); in SendToCESAccountSwitched() 317 ReportOsAccountOperationFail(newId, Constants::OPERATION_SWITCH, -1, "PublishCommonEvent switched failed!"); in SendToCESAccountSwitched() 319 ACCOUNT_LOGI("PublishCommonEvent successful, account switched:%{public}d->%{public}d", oldId, newId); in SendToCESAccountSwitched() 323 ACCOUNT_LOGI("No common event part, do not publish for account switched:%{public}d->%{public}d", oldId, newId); in SendToCESAccountSwitched()
|
/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) override; 40 bool OnAccountsSwitch(const sptr<IOsAccountEvent> &eventProxy, const int newId, const int oldId);
|
H A D | ios_account_subscribe.h | 46 virtual ErrCode Publish(const int newId, const int oldId, OS_ACCOUNT_SUBSCRIBE_TYPE subscribeType) = 0;
|
H A D | os_account_interface.h | 47 static void SendToCESAccountSwitched(int newId, int oldId);
|
/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_proxy.h | 30 void OnAccountsSwitch(const int &newId, const int &oldId) override;
|
H A D | os_account_event_listener.h | 30 void OnAccountsSwitch(const int &newId, const int &oldId) override;
|
/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
|
/base/account/os_account/services/accountmgr/test/mock/os_account/ |
H A D | os_account_interface.h | 38 static void SendToCESAccountSwitched(int newId, int oldId);
|
H A D | os_account_interface.cpp | 81 void OsAccountInterface::SendToCESAccountSwitched(int newId, int oldId) in SendToCESAccountSwitched() argument
|
/base/account/os_account/services/accountmgr/src/ |
H A D | ohos_account_manager.cpp | 135 unsigned char newId[OUTPUT_LENGTH_IN_BYTES + 1] = {}; in GenerateOhosUdidWithSha256() local 147 OUTPUT_LENGTH_IN_BYTES, newId); in GenerateOhosUdidWithSha256() 156 if ((newId[i] & TWO_BYTE_MASK) == 0) { in GenerateOhosUdidWithSha256() 159 ohosUidStr.append(DexToHexString(newId[i], true)); in GenerateOhosUdidWithSha256()
|
/base/account/os_account/interfaces/kits/napi/osaccount/include/ |
H A D | napi_os_account.h | 41 void OnAccountsSwitch(const int &newId, const int &oldId) override; 47 void OnAccountsSubNotify(const int &newId, const int &oldId); 216 int newId = 0; member
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | webview_javascript_result_callback.h | 118 void SetContainerScopeId(int32_t newId) in SetContainerScopeId() argument 120 containerScopeId_ = newId; in SetContainerScopeId() 495 void UpdateInstanceId(int32_t newId);
|
H A D | webview_controller.h | 368 void UpdateInstanceId(int32_t newId);
|
H A D | webview_controller.cpp | 1822 void WebviewController::UpdateInstanceId(int32_t newId) in UpdateInstanceId() argument 1825 javaScriptResultCb_->UpdateInstanceId(newId); in UpdateInstanceId()
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | hap_resource.cpp | 292 uint32_t newId = typeId[type]; in UpdateOverlayInfo() local 294 item->idItem_->id_ = newId; in UpdateOverlayInfo() 296 newIdValuesMap[newId] = iter->second; in UpdateOverlayInfo()
|
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
H A D | napi_os_account.cpp | 1528 void SubscriberPtr::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() argument 1530 OnAccountsSubNotify(newId, oldId); in OnAccountsSwitch() 1533 void SubscriberPtr::OnAccountsSubNotify(const int &newId, const int &oldId) in OnAccountsSubNotify() argument 1553 subscriberOAWorker->newId = newId; in OnAccountsSubNotify() 1576 NAPI_CALL(env, napi_create_int32(env, subscriberOAWorker->newId, &toAccountIdJs)); in CreateSwitchEventInfoObj() 1613 ACCOUNT_LOGI("Switch condition, return oldId=%{public}d and newId=%{public}d.", in UvQueueWorkOnAccountsSubNotify() 1614 subscriberOAWorkerData->oldId, subscriberOAWorkerData->newId); in UvQueueWorkOnAccountsSubNotify() 1617 napi_create_int32(subscriberOAWorkerData->env, subscriberOAWorkerData->newId, &result[PARAMZERO]); in UvQueueWorkOnAccountsSubNotify()
|