/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/idl_client/ |
H A D | wifi_idl_inner_interface.h | 51 void OnBssidChanged(const char *reason, const char *bssid); 59 void OnDisConnectReasonCallback(int reason, const char *bssid); 102 void OnP2pConnectFailed(const char *bssid, int reason);
|
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/ |
H A D | wifi_hal_callback.h | 39 * @Description Wi-Fi Hal callback notification of the disconnect reason. 41 * @param reason 44 void WifiHalCbNotifyDisConnectReason(int reason, const char *bssid); 54 * @param reasonPos: reason in the return string 153 * @param reason 155 void P2pHalCbP2pConnectFailed(const char *bssid, int reason); 188 * @param reason 190 void P2pHalCbGroupFormationFailure(const char *reason);
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_monitor_test.cpp | 228 std::string reason = "null"; in OnBssidChangedCallBackSuccess() local 230 pStaMonitor->OnBssidChangedCallBack(reason, bssid); in OnBssidChangedCallBackSuccess() 235 std::string reason = "null"; in OnBssidChangedCallBackFail() local 238 pStaMonitor->OnBssidChangedCallBack(reason, bssid); in OnBssidChangedCallBackFail() 243 std::string reason = "null"; in OnBssidChangedCallBackFail1() local 250 pStaMonitor->OnBssidChangedCallBack(reason, bssid); in OnBssidChangedCallBackFail1() 255 std::string reason = "null"; in OnBssidChangedCallBackFail2() local 263 pStaMonitor->OnBssidChangedCallBack(reason, bssid); in OnBssidChangedCallBackFail2() 324 int reason = 1; in OnReportDisConnectReasonCallBackSuccess() local 326 pStaMonitor->OnReportDisConnectReasonCallBack(reason, bssi in OnReportDisConnectReasonCallBackSuccess() 331 int reason = 1; OnReportDisConnectReasonCallBackFail() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/focus/ |
H A D | focus_manager.h | 47 explicit FocusGuard(const RefPtr<FocusHub>& focushub, SwitchingStartReason reason); 51 SwitchingStartReason reason); 123 void UpdateCurrentFocus(const RefPtr<FocusHub>& current, SwitchingUpdateReason reason); 127 void FocusSwitchingStart(const RefPtr<FocusHub>& focusHub, SwitchingStartReason reason); 128 void FocusSwitchingEnd(SwitchingEndReason reason = SwitchingEndReason::FOCUS_GUARD_DESTROY);
|
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/communication/bluetooth_service/services/bluetooth/stack/src/avdtp/ |
H A D | avdtp_l2cap.h | 72 uint8_t reason; member 104 void AVDT_L2capDisconnectAbnormalCallback(uint16_t lcid, uint8_t reason, void *ctx); 106 void AvdtL2capDisconnectAbnormalCallback(uint16_t lcid, uint8_t reason, void *ctx); 125 void AvdtL2capDisconnectAbnormalSignle(const AvdtTransChannel *transTable, uint8_t reason); 126 void AvdtL2capDisconnectAbnormalStream(const AvdtTransChannel *transTable, uint8_t reason);
|
/foundation/window/window_manager/dm_lite/src/ |
H A D | screen_manager_lite.cpp | 200 ScreenPowerState state, PowerStateChangeReason reason)
in SetSpecifiedScreenPower() 202 WLOGFI("screenId:%{public}" PRIu64 ", state:%{public}u, reason:%{public}u", screenId, state, reason);
in SetSpecifiedScreenPower() 203 return SingletonContainer::Get<ScreenManagerAdapterLite>().SetSpecifiedScreenPower(screenId, state, reason);
in SetSpecifiedScreenPower() 206 bool ScreenManagerLite::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason)
in SetScreenPowerForAll() argument 208 WLOGFI("state:%{public}u, reason:%{public}u", state, reason);
in SetScreenPowerForAll() 209 return SingletonContainer::Get<ScreenManagerAdapterLite>().SetScreenPowerForAll(state, reason);
in SetScreenPowerForAll() 199 SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetSpecifiedScreenPower() argument
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | profile_sync_test.cpp | 203 SystemAbilityOnDemandReason reason; in HWTEST_F() local 204 reason.SetId(OnDemandReasonId::SETTING_SWITCH); in HWTEST_F() 205 int result = DistributedDeviceProfileService::GetInstance().OnIdle(reason); in HWTEST_F() 217 SystemAbilityOnDemandReason reason; in HWTEST_F() local 218 reason.SetId(OnDemandReasonId::DEVICE_ONLINE); in HWTEST_F() 220 int result = DistributedDeviceProfileService::GetInstance().OnIdle(reason); in HWTEST_F()
|
/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/window/window_manager/dm_lite/test/unittest/ |
H A D | display_manager_adapter_lite_test.cpp | 111 PowerStateChangeReason reason = PowerStateChangeReason{0};
in HWTEST_F() local 112 bool ret = SingletonContainer::Get<DisplayManagerAdapterLite>().WakeUpBegin(reason);
in HWTEST_F() 134 PowerStateChangeReason reason = PowerStateChangeReason{0};
in HWTEST_F() local 135 bool ret = SingletonContainer::Get<DisplayManagerAdapterLite>().SuspendBegin(reason);
in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/ |
H A D | lnn_connection_mock.h | 84 static void onVerifyFailed(uint32_t requestId, int32_t reason) in onVerifyFailed() argument 87 (void)reason; in onVerifyFailed() 96 static void onConnOpenFailed(uint32_t requestId, int32_t reason) in onConnOpenFailed() argument 99 (void)reason; in onConnOpenFailed()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/auth/src/ |
H A D | client_trans_auth_manager.c | 50 int32_t ClientTransAuthOnChannelClosed(int32_t channelId, ShutdownReason reason) in ClientTransAuthOnChannelClosed() argument 52 int32_t ret = g_sessionCb.OnSessionClosed(channelId, CHANNEL_TYPE_AUTH, reason); in ClientTransAuthOnChannelClosed() 87 void ClientTransAuthCloseChannel(int32_t channelId, ShutdownReason reason) in ClientTransAuthCloseChannel() argument 93 if (ClientTransAuthOnChannelClosed(channelId, reason) != SOFTBUS_OK) { in ClientTransAuthCloseChannel()
|
/foundation/communication/dsoftbus/tests/sdk/discovery/unittest/ |
H A D | disc_sdk_only_l2_test.cpp | 93 static void TestOnDiscoverResult(int32_t refreshId, RefreshResult reason) in TestOnDiscoverResult() argument 96 (void)reason; in TestOnDiscoverResult() 100 static void TestOnPublishResult(int32_t publishId, PublishResult reason) in TestOnPublishResult() argument 103 (void)reason; in TestOnPublishResult()
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
H A D | exit_reason.h | 28 ExitReason(const Reason reason, const std::string &exitMsg); 30 Reason reason = Reason::REASON_UNKNOWN; member
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/src/ |
H A D | ability_manager_client_c.cpp | 29 OHOS::AAFwk::Reason reason = static_cast<OHOS::AAFwk::Reason>(exitReason);
in RecordAppExitReason() local 31 OHOS::AAFwk::ExitReason exitReasonData = { reason, exitMsgStr };
in RecordAppExitReason()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/test/fuzztest/avtransonsessionclosed_fuzzer/ |
H A D | avtransonsessionclosed_fuzzer.cpp | 33 ShutdownReason reason = *(reinterpret_cast<const ShutdownReason*>(data)); in AVTransOnSessionClosedFuzzTest() local 35 SoftbusChannelAdapter::GetInstance().OnSoftbusChannelClosed(sessionId, reason); in AVTransOnSessionClosedFuzzTest()
|
/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/ |
H A D | napi_audio_renderer_device_change_callback.h | 32 void OnOutputDeviceChange(const DeviceInfo &deviceInfo, const AudioStreamDeviceChangeReason reason) override; 60 void OnOutputDeviceChange(const DeviceInfo &deviceInfo, const AudioStreamDeviceChangeReason reason) override; 75 const AudioStreamDeviceChangeReason reason);
|
/foundation/window/window_manager/interfaces/innerkits/dm_lite/ |
H A D | display_manager_lite.h | 167 * @param reason Reason for power state change.
170 bool WakeUpBegin(PowerStateChangeReason reason);
182 * @param reason Reason for power state change.
185 bool SuspendBegin(PowerStateChangeReason reason);
207 * @param reason Reason for power state change.
210 bool SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason);
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/ |
H A D | force_disconnect_command.cpp | 83 void ForceDisconnectCommand::OnFailure(int32_t reason) const in OnFailure() 85 CONN_LOGI(CONN_WIFI_DIRECT, "requestId=%{public}u, reason=%{public}d", info_.info_.requestId, reason); in OnFailure() 86 callback_.onDisconnectFailure(info_.info_.requestId, reason); in OnFailure()
|
H A D | disconnect_command.cpp | 93 void DisconnectCommand::OnFailure(int32_t reason) const in OnFailure() 95 CONN_LOGI(CONN_WIFI_DIRECT, "requestId=%{public}u, reason=%{public}d", info_.info_.requestId, reason); in OnFailure() 96 callback_.onDisconnectFailure(info_.info_.requestId, reason); in OnFailure()
|
/test/xts/acts/multimedia/media/media_js_standard/ |
H A D | AVPlayerTestBase.js | 245 avPlayer.on('stateChange', async (state, reason) => { 246 console.info(`case stateChange called, state is ${state}, reason is ${reason}`); 247 if (reason == media.StateChangeReason.BACKGROUND) { 426 avPlayer.on('stateChange', async (state, reason) => { 427 console.info(`case stateChange called, state is ${state}, reason is ${reason}`); 514 avPlayer.on('stateChange', async (state, reason) => { 515 console.info(`case stateChange called, state is ${state}, reason is ${reason}`); [all...] |
/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/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/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...] |