/foundation/distributedhardware/distributed_input/test/fuzztest/dinputonsessionclosed_fuzzer/ |
H A D | dinputonsessionclosed_fuzzer.cpp | 38 ShutdownReason reason = SHUTDOWN_REASON_UNKNOWN; in OnSessionClosedFuzzTest() local 39 DistributedInput::DistributedInputTransportBase::GetInstance().OnSessionClosed(sessionId, reason); in OnSessionClosedFuzzTest()
|
/foundation/communication/dsoftbus/adapter/common/bus_center/network/ |
H A D | lnn_lwip_monitor.c | 27 struct netif *netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t *args) in NetifStatusCallback() 35 if (reason == LWIP_NSC_IPSTATUS_CHANGE) { in NetifStatusCallback() 26 NetifStatusCallback( struct netif *netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t *args) NetifStatusCallback() argument
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/ |
H A D | l2cap_cmn.c | 234 static void L2capAclDisconnected(uint8_t status, uint16_t handle, uint8_t reason, void *context) in L2capAclDisconnected() argument 257 g_l2capBdr.aclDisconnected(handle, status, reason); in L2capAclDisconnected() 261 g_l2capLe.aclDisconnected(handle, status, reason); in L2capAclDisconnected() 269 uint8_t reason; member 279 L2capAclDisconnected(ctx->status, ctx->handle, ctx->reason, ctx->context); in L2capAclDisconnectedCallbackProcess() 285 static void L2capAclDisconnectedCallback(uint8_t status, uint16_t handle, uint8_t reason, void *context) in L2capAclDisconnectedCallback() argument 297 ctx->reason = reason; in L2capAclDisconnectedCallback() 481 int L2capSendCommandReject(uint16_t handle, uint16_t cid, uint8_t ident, uint16_t reason, uint16_t data[2]) in L2capSendCommandReject() argument 489 L2capCpuToLe16(buff + 0, reason); in L2capSendCommandReject() 683 L2capDisconnect(uint16_t handle, uint8_t reason) L2capDisconnect() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/focus/ |
H A D | focus_manager.cpp | 273 void FocusManager::UpdateCurrentFocus(const RefPtr<FocusHub>& current, SwitchingUpdateReason reason) in UpdateCurrentFocus() argument 277 updateReason_ = reason; in UpdateCurrentFocus() 315 SwitchingStartReason reason) in FocusSwitchingStart() 319 startReason_ = reason; in FocusSwitchingStart() 334 void FocusManager::FocusSwitchingEnd(SwitchingEndReason reason) in FocusSwitchingEnd() argument 345 reason, updateReason_.value_or(SwitchingUpdateReason::DEFAULT)); in FocusSwitchingEnd() 350 endReason_ = reason; in FocusSwitchingEnd() 374 const RefPtr<FocusManager>& focusManager, SwitchingStartReason reason) in CreateFocusGuard() 381 focusManager->FocusSwitchingStart(focusHub, reason); in CreateFocusGuard() 386 SwitchingStartReason reason) in FocusGuard() 314 FocusSwitchingStart(const RefPtr<FocusHub>& focusHub, SwitchingStartReason reason) FocusSwitchingStart() argument 373 CreateFocusGuard(const RefPtr<FocusHub>& focusHub, const RefPtr<FocusManager>& focusManager, SwitchingStartReason reason) CreateFocusGuard() argument 385 FocusGuard(const RefPtr<FocusHub>& focusHub, SwitchingStartReason reason) FocusGuard() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/exit_reason_test/ |
H A D | exit_reason_test.cpp | 79 Reason reason = Reason::REASON_JS_ERROR; in HWTEST_F() local 81 ExitReason info(reason, exitMsg); in HWTEST_F()
|
/foundation/resourceschedule/device_standby/services/core/include/ |
H A D | allow_record.h | 28 AllowTime(uint32_t allowTypeIndex, int64_t endTime, const std::string& reason) in AllowTime() 29 : allowTypeIndex_(allowTypeIndex), endTime_(endTime), reason_(reason) {} in AllowTime()
|
/foundation/window/window_manager/interfaces/innerkits/dm_lite/ |
H A D | screen_manager_lite.h | 70 * @param reason Reason for power state change.
73 bool SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason);
79 * @param reason Reason for power state change.
82 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason);
|
/foundation/communication/dsoftbus/tests/core/discovery/ipc/ |
H A D | remote_object_mock.cpp | 57 int32_t reason) in GetResult() 81 if (reason != reason_) { in GetResult() 82 DISC_LOGE(DISC_TEST, "reason mismatch"); in GetResult() 56 GetResult(uint32_t code, const DeviceInfo *deviceInfo, int32_t publishId, int32_t subscribeId, int32_t reason) GetResult() argument
|
/foundation/communication/dsoftbus/core/bus_center/ipc/small/include/ |
H A D | bus_center_client_proxy.h | 36 int32_t ClientOnPublishLNNResult(const char *pkgName, int32_t pid, int32_t publishId, int32_t reason); 37 int32_t ClientOnRefreshLNNResult(const char *pkgName, int32_t pid, int32_t refreshId, int32_t reason);
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/event/ |
H A D | wifi_direct_event_dispatcher.h | 58 ProcessorTerminate(ProcessorTerminateReason reason = ProcessorTerminateReason::SUCCESS) : reason_(reason) {} in ProcessorTerminate()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_monitor.h | 68 * @param reason - reason id [in] 71 void OnReportDisConnectReasonCallBack(int reason, const std::string &bssid); 83 * @param reason : reason for bssid change [in] 86 void OnBssidChangedCallBack(const std::string &reason, const std::string &bssid);
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | app_exit_reason_helper.cpp | 36 TAG_LOGE(AAFwkTag::ABILITYMGR, "exit reason invalid"); in RecordAppExitReason() 50 int32_t pid = (exitReason.reason == Reason::REASON_CPP_CRASH) ? NO_PID : IPCSkeleton::GetCallingPid(); in RecordAppExitReason() 68 exitReason.reason, exitReason.exitMsg); in RecordAppExitReason() 124 TAG_LOGE(AAFwkTag::ABILITYMGR, "reason invalid"); in RecordProcessExitReason() 141 auto ret = DelayedSingleton<AppScheduler>::GetInstance()->NotifyAppMgrRecordExitReason(pid, exitReason.reason, in RecordProcessExitReason() 246 const Reason reason = exitReason.reason; in IsExitReasonValid() local 247 return reason >= REASON_MIN && reason <= REASON_MAX; in IsExitReasonValid()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/src/ |
H A D | client_trans_udp_manager.c | 371 static void NotifyCallback(UdpChannel *channel, int32_t channelId, ShutdownReason reason) in NotifyCallback() argument 385 g_sessionCb->OnSessionClosed(channelId, CHANNEL_TYPE_UDP, reason); in NotifyCallback() 390 static int32_t CloseUdpChannelProc(UdpChannel *channel, int32_t channelId, ShutdownReason reason) in CloseUdpChannelProc() argument 400 switch (reason) { in CloseUdpChannelProc() 415 TRANS_LOGW(TRANS_SDK, "there's no reson to match. channelId=%{public}d, reason=%{public}d", in CloseUdpChannelProc() 416 channelId, (int32_t)reason); in CloseUdpChannelProc() 428 if (reason != SHUTDOWN_REASON_LOCAL) { in CloseUdpChannelProc() 429 NotifyCallback(channel, channelId, reason); in CloseUdpChannelProc() 434 static int32_t CloseUdpChannel(int32_t channelId, ShutdownReason reason) in CloseUdpChannel() argument 438 TRANS_LOGI(TRANS_SDK, "close udp channelId=%{public}d, reason in CloseUdpChannel() 455 TransOnUdpChannelClosed(int32_t channelId, ShutdownReason reason) TransOnUdpChannelClosed() argument 474 ClientTransCloseUdpChannel(int32_t channelId, ShutdownReason reason) ClientTransCloseUdpChannel() argument 523 OnUdpChannelClosed(int32_t channelId, ShutdownReason reason) OnUdpChannelClosed() argument [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/ |
H A D | wifi_hdi_wpa_callback.cpp | 130 if (bssidChangedParam == nullptr || bssidChangedParam->reason == nullptr) {
in OnEventBssidChanged() 135 std::string reason = "";
in OnEventBssidChanged() local 137 reason = std::string(bssidChangedParam->reason, bssidChangedParam->reason + bssidChangedParam->reasonLen);
in OnEventBssidChanged() 149 cbk.onBssidChanged(reason, szBssid);
in OnEventBssidChanged() 151 LOGI("%{public}s callback out, bssid:%{public}s reason:%{public}s reasonLen:%{public}u",
in OnEventBssidChanged() 152 __func__, OHOS::Wifi::MacAnonymize(szBssid).c_str(), reason.c_str(), bssidChangedParam->reasonLen);
in OnEventBssidChanged() 195 std::string reason = "";
in OnEventTempDisabled() local 196 if (tempDisabledParam->reason ! in OnEventTempDisabled() 602 OnEventGroupFormationFailure(struct IWpaCallback *self, const char *reason, const char *ifName) OnEventGroupFormationFailure() argument [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/ |
H A D | wifi_hdi_wpa_callback_test.cpp | 68 char reason[] = "wlan0"; in HWTEST_F() local 69 memcpy_s(bssidChangedParam.reason, sizeof(reason), reason, sizeof(reason)); in HWTEST_F() 96 char reason[] = "wlan0"; in HWTEST_F() local 97 memcpy_s(tempDisabledParam.reason, sizeof(reason), reason, sizeof(reason)); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_content_overlay/ |
H A D | select_content_overlay_manager.h | 47 void Close(int32_t id, bool animation, CloseReason reason); 48 bool CloseCurrent(bool animation, CloseReason reason); 49 void CloseWithOverlayId(int32_t overlayId, CloseReason reason, bool animation); 104 bool CloseInternal(int32_t holderId, bool animation, CloseReason reason);
|
/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/ |
H A D | bus_center_ipc_mock.cpp | 153 int32_t ClientOnPublishLNNResult(const char *pkgName, int32_t pid, int32_t publishId, int32_t reason) in ClientOnPublishLNNResult() argument 155 return BusCenterIpcInterfaceInstance()->ClientOnPublishLNNResult(pkgName, pid, publishId, reason); in ClientOnPublishLNNResult() 158 int32_t ClientOnRefreshLNNResult(const char *pkgName, int32_t pid, int32_t refreshId, int32_t reason) in ClientOnRefreshLNNResult() argument 160 return BusCenterIpcInterfaceInstance()->ClientOnRefreshLNNResult(pkgName, pid, refreshId, reason); in ClientOnRefreshLNNResult()
|
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_client_callback_stub_lite.cpp | 114 void DhcpClientCallBackStub::OnIpFailChanged(int status, const std::string& ifname, const std::string& reason) in OnIpFailChanged() argument 118 callback_->OnIpFailChanged(status, ifname, reason); in OnIpFailChanged() 160 std::string reason = (char *)ReadString(data, &readLen); in RemoteOnIpFailChanged() local 161 OnIpFailChanged(state, ifname, reason); in RemoteOnIpFailChanged()
|
/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/ |
H A D | system_ability_ondemand_reason_test.cpp | 291 SystemAbilityOnDemandReason reason(reasonId, reasonName, reasonValue, extraDataId); in HWTEST_F() 292 EXPECT_EQ(reason.reasonId_, reasonId); in HWTEST_F() 293 EXPECT_EQ(reason.reasonName_, reasonName); in HWTEST_F() 294 EXPECT_EQ(reason.reasonValue_, reasonValue); in HWTEST_F() 295 EXPECT_EQ(reason.extraDataId_, extraDataId); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_link_p2p.c | 382 static void OnWifiDirectDisconnectFailure(uint32_t requestId, int32_t reason) in OnWifiDirectDisconnectFailure() argument 384 LNN_LOGE(LNN_LANE, "wifidirect linkDown fail, requestId=%{public}u, reason=%{public}d", requestId, reason); in OnWifiDirectDisconnectFailure() 388 NotifyFreeLaneResult(reqInfo.laneReqId, reason); in OnWifiDirectDisconnectFailure() 482 static void OnConnOpenFailedForDisconnect(uint32_t authRequestId, int32_t reason) in OnConnOpenFailedForDisconnect() argument 484 LNN_LOGI(LNN_LANE, "auth open fail to disconnect wifidirect, authRequestId=%{public}u, reason=%{public}d", in OnConnOpenFailedForDisconnect() 485 authRequestId, reason); in OnConnOpenFailedForDisconnect() 809 static int32_t UpdateReason(const AuthLinkType authType, const WdGuideType guideType, int32_t reason) in UpdateReason() argument 811 if (reason != SOFTBUS_CONN_HV2_WAIT_CONNECT_RESPONSE_TIMEOUT) { in UpdateReason() 812 return reason; in UpdateReason() 831 NotifyLinkFail(AsyncResultType type, uint32_t requestId, int32_t reason) NotifyLinkFail() argument 861 NotifyLinkFailForForceDown(uint32_t requestId, int32_t reason) NotifyLinkFailForForceDown() argument 1079 HandleRawLinkResultWithoutLock(uint32_t p2pRequestId, int32_t reason) HandleRawLinkResultWithoutLock() argument 1102 HandleRawLinkResult(RawLinkInfoList *rawLinkInfo, int32_t reason) HandleRawLinkResult() argument 1336 HandleGuideChannelRetry(uint32_t laneReqId, LaneLinkType linkType, int32_t reason) HandleGuideChannelRetry() argument 1367 HandleGuideChannelAsyncFail(AsyncResultType type, uint32_t requestId, int32_t reason) HandleGuideChannelAsyncFail() argument 1438 IsGuideChannelRetryErrcode(int32_t reason) IsGuideChannelRetryErrcode() argument 1453 OnWifiDirectConnectFailure(uint32_t p2pRequestId, int32_t reason) OnWifiDirectConnectFailure() argument 1534 OnAuthConnOpenFailed(uint32_t authRequestId, int32_t reason) OnAuthConnOpenFailed() argument 1685 OnProxyChannelOpenFailed(int32_t channelRequestId, int32_t reason) OnProxyChannelOpenFailed() argument 1900 DetectFail(uint32_t laneReqId, int32_t reason, LaneLinkType linkType) DetectFail() argument [all...] |
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/ |
H A D | disc_coap.c | 124 static void DfxRecordCoapEnd(bool isStart, bool isActive, bool isPublish, const void *option, int32_t reason) in DfxRecordCoapEnd() argument 130 extra.errcode = reason; in DfxRecordCoapEnd() 131 extra.result = (reason == SOFTBUS_OK) ? EVENT_STAGE_RESULT_OK : EVENT_STAGE_RESULT_FAILED; in DfxRecordCoapEnd() 160 static void DfxRecordRegisterEnd(uint32_t capability, int32_t reason) in DfxRecordRegisterEnd() argument 162 if (reason == SOFTBUS_OK) { in DfxRecordRegisterEnd() 170 extra.errcode = reason; in DfxRecordRegisterEnd() 175 static void DfxRecordSetFilterEnd(uint32_t capability, int32_t reason) in DfxRecordSetFilterEnd() argument 181 extra.errcode = reason; in DfxRecordSetFilterEnd() 182 extra.result = (reason == SOFTBUS_OK) ? EVENT_STAGE_RESULT_OK : EVENT_STAGE_RESULT_FAILED; in DfxRecordSetFilterEnd() 538 static void DfxRecordCoapInitEnd(int32_t reason) in DfxRecordCoapInitEnd() argument [all...] |
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_mgr_event.h | 48 ProcessStartFailedReason reason, int32_t subReason); 51 ProcessStartFailedReason reason, int32_t subReason);
|
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/ |
H A D | kill_process.cpp | 47 AAFwk::ExitReason reason = {AAFwk::REASON_PERFORMANCE_CONTROL, killReason};
in KillProcessByPidWithClient() local 48 if (AAFwk::AbilityManagerClient::GetInstance()->RecordProcessExitReason(pid, reason) == 0) {
in KillProcessByPidWithClient()
|
/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/examples/listen_rust_sa/src/ |
H A D | lib.rs | 59 reason: system_ability_fwk::cxx_share::SystemAbilityOnDemandReason, in on_stop_with_reason() 63 audio.send_stop_reason(&reason); in on_stop_with_reason()
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/ |
H A D | efficiency_resource_info.h | 28 EfficiencyResourceInfo(uint32_t resourceNumber, bool isApply, uint32_t timeOut, std::string reason, in EfficiencyResourceInfo() argument 30 timeOut_(timeOut), reason_(reason), isPersist_(isPersist), isProcess_(isProcess) {} in EfficiencyResourceInfo() 79 * @brief Get the reason. 81 * @return the reason.
|