/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | window.h | 139 * @param reason Reason for window change. 142 virtual void OnSizeChange(Rect rect, WindowSizeChangeReason reason, in OnSizeChange() argument 436 * @brief IWindowRectChangeListener is used to observe the window rect and its changing reason when window changed. 444 * @param reason Reason for window size change. 446 virtual void OnRectChange(Rect rect, WindowSizeChangeReason reason) {} in OnRectChange() argument 452 * @brief ISubWindowCloseListener is used to observe the window rect and its changing reason when window changed. 860 * @param reason Reason for window state change. 865 virtual WMError Show(uint32_t reason = 0, bool withAnimation = false, in Show() 870 * @param reason Reason for window state change. 875 virtual WMError Hide(uint32_t reason 1789 UpdatePiPRect(const Rect& rect, WindowSizeChangeReason reason) UpdatePiPRect() argument 2108 Recover(uint32_t reason) Recover() argument [all...] |
/foundation/window/window_manager/window_scene/session/container/src/zidl/ |
H A D | session_stage_proxy.cpp | 122 WSError SessionStageProxy::UpdateRect(const WSRect& rect, SizeChangeReason reason, in UpdateRect() argument 139 if (!data.WriteUint32(static_cast<uint32_t>(reason))) { in UpdateRect() 754 void SessionStageProxy::NotifySessionForeground(uint32_t reason, bool withAnimation) in NotifySessionForeground() argument 764 if (!data.WriteUint32(reason)) { in NotifySessionForeground() 765 WLOGFE("Write reason failed"); in NotifySessionForeground() 809 void SessionStageProxy::NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) in NotifySessionBackground() argument 819 if (!data.WriteUint32(reason)) { in NotifySessionBackground() 820 WLOGFE("Write reason failed"); in NotifySessionBackground()
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_client_test.cpp | 264 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_ACCESS; in HWTEST_F() local 265 screenSessionManagerClient_->OnPowerStatusChanged(event, status, reason); in HWTEST_F() 532 ScreenPropertyChangeReason reason = ScreenPropertyChangeReason::UNDEFINED; in HWTEST_F() local 535 screenSessionManagerClient_->OnPropertyChanged(screenId, property, reason); in HWTEST_F() 1209 PowerStateChangeReason reason = PowerStateChangeReason::STATE_CHANGE_REASON_ACCESS; in HWTEST_F() local 1210 screenSessionManagerClient_->OnPowerStatusChanged(event, status, reason); in HWTEST_F()
|
H A D | screen_session_manager_proxy_test.cpp | 658 PowerStateChangeReason reason {0}; in HWTEST_F() 661 EXPECT_EQ(expectation, screenSessionManagerProxy->WakeUpBegin(reason)); in HWTEST_F() 663 EXPECT_NE(expectation, screenSessionManagerProxy->WakeUpBegin(reason)); in HWTEST_F() 735 PowerStateChangeReason reason {1}; in HWTEST_F() 738 EXPECT_EQ(expectation, screenSessionManagerProxy->SetSpecifiedScreenPower(id, state, reason)); in HWTEST_F() 740 EXPECT_NE(expectation, screenSessionManagerProxy->SetSpecifiedScreenPower(id, state, reason)); in HWTEST_F() 756 PowerStateChangeReason reason {1}; in HWTEST_F() 759 EXPECT_EQ(expectation, screenSessionManagerProxy->SetScreenPowerForAll(state, reason)); in HWTEST_F() 761 EXPECT_NE(expectation, screenSessionManagerProxy->SetScreenPowerForAll(state, reason)); in HWTEST_F()
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_layout_policy.cpp | 373 const Rect& winRect, WindowSizeChangeReason reason) in NotifyClientAndAnimation() 378 if (reason == WindowSizeChangeReason::ROTATION && syncTransactionController && IsNeedAnimationSync(type)) { in NotifyClientAndAnimation() 379 node->GetWindowToken()->UpdateWindowRect(winRect, node->GetDecoStatus(), reason, in NotifyClientAndAnimation() 382 node->GetWindowToken()->UpdateWindowRect(winRect, node->GetDecoStatus(), reason); in NotifyClientAndAnimation() 384 WLOGFD("Id: %{public}d, winRect:[%{public}d, %{public}d, %{public}u, %{public}u], reason: " in NotifyClientAndAnimation() 385 "%{public}u", node->GetWindowId(), winRect.posX_, winRect.posY_, winRect.width_, winRect.height_, reason); in NotifyClientAndAnimation() 387 if ((reason != WindowSizeChangeReason::MOVE) && (node->GetWindowType() != WindowType::WINDOW_TYPE_DOCK_SLICE)) { in NotifyClientAndAnimation() 372 NotifyClientAndAnimation(const sptr<WindowNode>& node, const Rect& winRect, WindowSizeChangeReason reason) NotifyClientAndAnimation() argument
|
H A D | window_node_container.cpp | 335 WMError WindowNodeContainer::UpdateWindowNode(sptr<WindowNode>& node, WindowUpdateReason reason) in UpdateWindowNode() argument 342 if (WindowHelper::IsMainWindow(node->GetWindowType()) && WindowHelper::IsSwitchCascadeReason(reason)) { in UpdateWindowNode() 663 void WindowNodeContainer::UpdateSizeChangeReason(sptr<WindowNode>& node, WindowSizeChangeReason reason) in UpdateSizeChangeReason() argument 672 layoutPolicy_->NotifyClientAndAnimation(child, child->GetWindowRect(), reason); in UpdateSizeChangeReason() 674 "%{public}d, reason: %{public}u", child->GetWindowId(), reason); in UpdateSizeChangeReason() 678 layoutPolicy_->NotifyClientAndAnimation(node, node->GetWindowRect(), reason); in UpdateSizeChangeReason() 680 "reason: %{public}u", node->GetWindowId(), reason); in UpdateSizeChangeReason() 1702 void WindowNodeContainer::ProcessWindowStateChange(WindowState state, WindowStateChangeReason reason) in ProcessWindowStateChange() argument 2156 MinimizeAppNodeExceptOptions(MinimizeReason reason, const std::vector<uint32_t>& exceptionalIds, const std::vector<WindowMode>& exceptionalModes) MinimizeAppNodeExceptOptions() argument [all...] |
/third_party/libwebsockets/lib/core-net/ |
H A D | private-lib-core-net.h | 564 lws_wsi_mux_close_children(struct lws *wsi, int reason); 605 * when we are calling back with a non wsi-specific reason, and may react badly 874 char reason_bf; /* internal writeable callback reason bitfield */ 996 #define lws_pt_lock(pt, reason) lws_mutex_refcount_lock(&pt->mr, reason) 1043 enum lws_callback_reasons reason, void *user, 1165 __lws_set_timeout(struct lws *wsi, enum pending_timeout reason, int secs); 1404 lws_broadcast(struct lws_context_per_thread *pt, int reason, void *in, size_t len);
|
/third_party/node/src/ |
H A D | js_native_api_v8_inspector.cc | 938 void schedulePauseOnNextStatement(const std::string& reason) { in schedulePauseOnNextStatement() argument 939 std::unique_ptr<StringBuffer> buffer = Utf8ToStringView(reason); in schedulePauseOnNextStatement() 1201 void schedulePauseOnNextStatement(const std::string& reason) { in schedulePauseOnNextStatement() argument 1203 id_channel.second->schedulePauseOnNextStatement(reason); in schedulePauseOnNextStatement() 1382 void Agent::PauseOnNextJavascriptStatement(const std::string& reason) { in PauseOnNextJavascriptStatement() argument 1383 client_->schedulePauseOnNextStatement(reason); in PauseOnNextJavascriptStatement()
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/ |
H A D | ngtcp2.h | 3588 * the optional |reason| of length |reasonlen| to the buffer pointed 3606 const ngtcp2_cid *scid, uint64_t error_code, const uint8_t *reason, 4285 * indicates the reason of shutdown. Successful call of this function 4307 * application error codes, and indicates the reason of shutdown. If 4327 * application error codes, and indicates the reason of shutdown. If 5159 * error code, its type, and the optional reason phrase. 5177 * :member:`reason` points to the buffer which contains a reason 5178 * phrase. It may be NULL if there is no reason phrase. If it is 5182 uint8_t *reason; member [all...] |
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_msg.c | 149 /* Add a CRL revocation reason code to extension stack, which may be NULL */ 546 /* revocation reason code is optional */ in ossl_cmp_rr_new() 723 const char *lib = NULL, *reason = NULL; in ossl_cmp_error_new() local 743 reason = ERR_reason_error_string((unsigned long)errorCode); in ossl_cmp_error_new() 745 if (lib != NULL || reason != NULL || details != NULL) { in ossl_cmp_error_new() 752 if (reason != NULL && *reason != '\0' in ossl_cmp_error_new() 753 && !ossl_cmp_sk_ASN1_UTF8STRING_push_str(ft, reason, -1)) in ossl_cmp_error_new()
|
/third_party/openssl/crypto/cmp/ |
H A D | cmp_msg.c | 149 /* Add a CRL revocation reason code to extension stack, which may be NULL */ 546 /* revocation reason code is optional */ in ossl_cmp_rr_new() 723 const char *lib = NULL, *reason = NULL; in ossl_cmp_error_new() local 743 reason = ERR_reason_error_string((unsigned long)errorCode); in ossl_cmp_error_new() 745 if (lib != NULL || reason != NULL || details != NULL) { in ossl_cmp_error_new() 752 if (reason != NULL && *reason != '\0' in ossl_cmp_error_new() 753 && !ossl_cmp_sk_ASN1_UTF8STRING_push_str(ft, reason, -1)) in ossl_cmp_error_new()
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/ |
H A D | audio_renderer.cpp | 1489 const AudioStreamDeviceChangeReasonExt reason) in SwitchToTargetStream() 1524 switchResult = newAudioStream->StartAudioStream(CMD_FROM_CLIENT, reason); in SwitchToTargetStream() 1553 const AudioStreamDeviceChangeReasonExt reason) in SwitchStream() 1584 if (!SwitchToTargetStream(targetClass, newSessionId, reason) && audioRendererErrorCallback_) { in SwitchStream() 1594 const uint32_t sessionId, const DeviceInfo &deviceInfo, const AudioStreamDeviceChangeReasonExt reason) in OnDeviceChangeWithInfo() 1606 cb->OnOutputDeviceChange(deviceInfo, reason); in OnDeviceChangeWithInfo() 1610 AUDIO_INFO_LOG("sessionId: %{public}u, deviceType: %{public}d reason: %{public}d size: %{public}zu", in OnDeviceChangeWithInfo() 1611 sessionId, static_cast<int>(deviceInfo.deviceType), static_cast<int>(reason), callbacks.size()); in OnDeviceChangeWithInfo() 1615 const AudioStreamDeviceChangeReasonExt reason) in OnRecreateStreamEvent() 1618 renderer_->SwitchStream(sessionId, streamFlag, reason); in OnRecreateStreamEvent() 1488 SwitchToTargetStream(IAudioStream::StreamClass targetClass, uint32_t &newSessionId, const AudioStreamDeviceChangeReasonExt reason) SwitchToTargetStream() argument 1552 SwitchStream(const uint32_t sessionId, const int32_t streamFlag, const AudioStreamDeviceChangeReasonExt reason) SwitchStream() argument 1593 OnDeviceChangeWithInfo( const uint32_t sessionId, const DeviceInfo &deviceInfo, const AudioStreamDeviceChangeReasonExt reason) OnDeviceChangeWithInfo() argument 1614 OnRecreateStreamEvent(const uint32_t sessionId, const int32_t streamFlag, const AudioStreamDeviceChangeReasonExt reason) OnRecreateStreamEvent() argument [all...] |
/test/xts/acts/multimedia/media/media_js_standard/ |
H A D | AVRecorderTestBase.js | 352 avRecorder.on('stateChange', async (state, reason) => { 416 avRecorder.on('stateChange', async (state, reason) => { 1594 avRecorder.on('stateChange', async (state, reason) => { 1633 avRecorder.on('stateChange', async (state, reason) => { 1678 avRecorder.on('stateChange', async (state, reason) => { 1726 avRecorder.on('stateChange', async (state, reason) => { 1777 avRecorder.on('stateChange', async (state, reason) => { 1828 avRecorder.on('stateChange', async (state, reason) => { 1894 avRecorder.on('stateChange', async (state, reason) => { 1947 avRecorder.on('stateChange', async (state, reason) [all...] |
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_manager.c | 849 static void ReportAuthRequestFailed(uint32_t requestId, int32_t reason) in ReportAuthRequestFailed() argument 857 PerformAuthConnCallback(request.requestId, reason, AUTH_INVALID_ID); in ReportAuthRequestFailed() 860 PerformVerifyCallback(request.requestId, reason, authHandle, NULL); in ReportAuthRequestFailed() 985 void AuthManagerSetAuthFailed(int64_t authSeq, const AuthSessionInfo *info, int32_t reason) in AuthManagerSetAuthFailed() argument 989 AUTH_LOGE(AUTH_FSM, "SetAuthFailed: authSeq=%{public}" PRId64 ", requestId=%{public}u, reason=%{public}d", authSeq, in AuthManagerSetAuthFailed() 990 info->requestId, reason); in AuthManagerSetAuthFailed() 998 if (auth != NULL && reason == SOFTBUS_AUTH_TIMEOUT && info->connInfo.type == AUTH_LINK_TYPE_WIFI in AuthManagerSetAuthFailed() 1014 ReportAuthRequestFailed(info->requestId, reason); in AuthManagerSetAuthFailed() 1022 AuthAddNodeToLimitMap(info->udid, reason); in AuthManagerSetAuthFailed() 1111 static void DfxRecordLnnConnectEnd(uint32_t requestId, uint64_t connId, const AuthConnInfo *connInfo, int32_t reason) in DfxRecordLnnConnectEnd() argument [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_test.cpp | 930 const SizeChangeReason reason, DisplayId displayId) { in HWTEST_F() 1761 SizeChangeReason reason = SizeChangeReason::UNDEFINED; in HWTEST_F() local 1762 WSError result = scensession->UpdateRect(rect, reason, "SceneSessionTest"); in HWTEST_F() 1831 SizeChangeReason reason = SizeChangeReason::MOVE; in HWTEST_F() local 1832 WSError result = scensession->UpdateSessionRect(rect, reason); in HWTEST_F() 1861 SizeChangeReason reason = SizeChangeReason::RESIZE; in HWTEST_F() local 1862 WSError result = scensession->UpdateSessionRect(rect, reason); in HWTEST_F() 1891 SizeChangeReason reason = SizeChangeReason::UNDEFINED; in HWTEST_F() local 1892 WSError result = scensession->UpdateSessionRect(rect, reason); in HWTEST_F() 1914 SizeChangeReason reason in HWTEST_F() local [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_session_impl_test.cpp | 553 SizeChangeReason reason = SizeChangeReason::UNDEFINED; in HWTEST_F() local 554 WSError res = window->UpdateRect(rect, reason); in HWTEST_F() 559 res = window->UpdateRect(rect, reason); in HWTEST_F() 565 res = window->UpdateRect(rect, reason); in HWTEST_F() 600 SizeChangeReason reason = SizeChangeReason::ROTATION; in HWTEST_F() local 601 WSError res = window->UpdateRect(rect, reason); in HWTEST_F() 609 res = window->UpdateRect(rect, reason); in HWTEST_F() 695 WindowSizeChangeReason reason = WindowSizeChangeReason::UNDEFINED; in HWTEST_F() local 696 window->UpdateViewportConfig(rectW, reason); in HWTEST_F() 702 window->UpdateViewportConfig(rectW, reason); in HWTEST_F() [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_state_machine.cpp | 1411 bool StaStateMachine::IsDisConnectReasonShouldStopTimer(int reason) in IsDisConnectReasonShouldStopTimer() argument 1413 return reason == DIS_REASON_DISASSOC_STA_HAS_LEFT; in IsDisConnectReasonShouldStopTimer() 1435 int reason = msg->GetIntFromMessage(); in DealWpaLinkFailEvent() local 1436 WIFI_LOGI("DealWpaLinkFailEvent reason:%{public}d, bssid:%{public}s", reason, MacAnonymize(bssid).c_str()); in DealWpaLinkFailEvent() 1437 shouldStopTimer = IsDisConnectReasonShouldStopTimer(reason); in DealWpaLinkFailEvent() 1439 DisabledReason::DISABLED_DISASSOC_REASON, reason); in DealWpaLinkFailEvent() 1440 if (BlockConnectService::GetInstance().IsFrequentDisconnect(bssid, reason)) { in DealWpaLinkFailEvent() 1893 WIFI_LOGE("OnWifiWpa3SelfCure, Invalid fail reason"); in OnWifiWpa3SelfCure() 2119 void StaStateMachine::OnNetworkDisconnectEvent(int reason) in OnNetworkDisconnectEvent() argument 2152 OnBssidChangedEvent(std::string reason, std::string bssid) OnBssidChangedEvent() argument 2841 std::string reason = msg->GetStringFromMessage(); HandleStaBssidChangedEvent() local 3707 std::string reason = msg->GetStringFromMessage(); ExecuteStateMsg() local 4520 OnFailed(int status, const char *ifname, const char *reason) OnFailed() argument [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | app_exit_reason_data_manager.cpp | 29 const std::string JSON_KEY_REASON = "reason"; 213 TAG_LOGI(AAFwkTag::ABILITYMGR, "current bundle name: %{public}s, tokenId:%{private}u, reason: %{public}d," in GetAppExitReason() 215 bundleName.c_str(), accessTokenId, exitReason.reason, exitReason.exitMsg.c_str(), in GetAppExitReason() 262 { JSON_KEY_REASON, exitReason.reason }, in ConvertAppExitReasonInfoToValue() 281 exitReason.reason = jsonObject.at(JSON_KEY_REASON).get<AAFwk::Reason>(); in ConvertAppExitReasonInfoFromValue() 637 { JSON_KEY_REASON, exitReason.reason }, in ConvertAppExitReasonInfoToValueOfExtensionName()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/ |
H A D | window_scene_layout_manager.cpp | 455 const RefPtr<FrameNode>& parentNode, const std::string& reason) in DumpNodeInfo() 467 "reason:%{public}s globalGeometry name:%{public}s lrsId:%{public}" PRIu64 " %{public}d" in DumpNodeInfo() 469 reason.c_str(), GetWindowName(node).c_str(), GetRSNodeId(node), node->GetId(), in DumpNodeInfo() 476 "reason:%{public}s localGeometry name:%{public}s lrsId:%{public}" PRIu64 " parentRSId:%{public}" PRIu64 in DumpNodeInfo() 477 " localGeo is null", reason.c_str(), GetWindowName(node).c_str(), in DumpNodeInfo() 501 "DumpNodeInfo reason:%{public}s name:%{public}s lrsId:%{public}" PRIu64 " parentRSId:%{public}" PRIu64 "" in DumpNodeInfo() 505 GetWindowName(node).c_str(), reason.c_str(), GetRSNodeId(node), GetRSNodeId(parentNode), parentId, in DumpNodeInfo() 454 DumpNodeInfo(const RefPtr<FrameNode>& node, const RefPtr<FrameNode>& parentNode, const std::string& reason) DumpNodeInfo() argument
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_hfp_ag.cpp | 55 void OnScoStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t reason) override 57 HILOGI("enter, device: %{public}s, state: %{public}u, reason: %{public}u", 58 GET_ENCRYPT_RAW_ADDR(device), state, reason); 60 observers_.ForEach([remoteDevice, state, reason](std::shared_ptr<HandsFreeAudioGatewayObserver> observer) { 61 observer->OnScoStateChanged(remoteDevice, state, reason);
|
/foundation/multimedia/player_framework/frameworks/js/avrecorder/ |
H A D | avrecorder_callback.cpp | 85 void AVRecorderCallback::SendStateCallback(const std::string &state, const StateChangeReason &reason) in SendStateCallback() argument 98 cb->reason = reason; in SendStateCallback() 224 nstatus = napi_create_int32(ref->env_, event->reason, &args[1]); in OnJsStateCallBack()
|
/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/ |
H A D | client_bus_center_manager_test.cpp | 318 static void OnPublishResultCb(int32_t publishId, PublishResult reason) in OnPublishResultCb() argument 321 (void)reason; in OnPublishResultCb() 377 static void OnDiscoverResultCb(int32_t refreshId, RefreshResult reason) in OnDiscoverResultCb() argument 380 (void)reason; in OnDiscoverResultCb()
|
/foundation/communication/dsoftbus/core/connection/tcp/src/ |
H A D | softbus_tcp_connect_manager.c | 76 ConnectStatistics *statistics, int32_t reason) in DfxRecordTcpConnectFail() 83 CONN_LOGI(CONN_COMMON, "record tcp conn fail, connectTraceId=%{public}u, reason=%{public}d", in DfxRecordTcpConnectFail() 84 statistics->connectTraceId, reason); in DfxRecordTcpConnectFail() 89 .errcode = reason, in DfxRecordTcpConnectFail() 93 SoftbusRecordConnResult(pId, SOFTBUS_HISYSEVT_CONN_TYPE_TCP, SOFTBUS_EVT_CONN_FAIL, costTime, reason); in DfxRecordTcpConnectFail() 75 DfxRecordTcpConnectFail(uint32_t pId, ConnectOption *option, TcpConnInfoNode *tcpInfo, ConnectStatistics *statistics, int32_t reason) DfxRecordTcpConnectFail() argument
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/ |
H A D | p2p_state_machine_test.cpp | 361 void WarpDhcpResultNotifyOnFailed(int status, const std::string &ifname, const std::string &reason) in WarpDhcpResultNotifyOnFailed() argument 363 pP2pStateMachine->pDhcpResultNotify->OnFailed(status, ifname.c_str(), reason.c_str()); in WarpDhcpResultNotifyOnFailed() 731 std::string reason("reason"); in HWTEST_F() 733 WarpDhcpResultNotifyOnFailed(status, ifName, reason); in HWTEST_F()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/ |
H A D | softbus_adapter_standard.cpp | 600 void AppDataListenerWrap::OnClientShutdown(int32_t socket, ShutdownReason reason)
in OnClientShutdown() argument 603 LOG_INFO("Client socket shutdown, socket: %{public}d, reason: %{public}d", socket, reason);
in OnClientShutdown() 615 void AppDataListenerWrap::OnServerShutdown(int32_t socket, ShutdownReason reason)
in OnServerShutdown() argument 618 LOG_INFO("Server socket shutdown, socket: %{public}d, reason: %{public}d", socket, reason);
in OnServerShutdown()
|