/foundation/window/window_manager/dmserver/include/ |
H A D | display_manager_proxy.h | 71 bool WakeUpBegin(PowerStateChangeReason reason) override;
73 bool SuspendBegin(PowerStateChangeReason reason) override;
75 bool SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) override;
76 bool SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason) override;
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
H A D | wifi_hal_callback_test.cpp | 69 char reason[] = "hello world"; in HWTEST_F() local 70 WifiHalCbNotifyBssidChanged(reason, bssidPos); in HWTEST_F() 199 char reason[] = "P2P_GROUP_FORMATION_FAILURE_EVENT"; in HWTEST_F() local 201 P2pHalCbGroupFormationFailure(reason); in HWTEST_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/ |
H A D | l2cap_cmn.h | 155 int (*aclDisconnected)(uint16_t handle, uint8_t status, uint8_t reason); 161 int (*aclDisconnected)(uint16_t handle, uint8_t status, uint8_t reason); 175 int L2capSendCommandReject(uint16_t handle, uint16_t cid, uint8_t ident, uint16_t reason, uint16_t data[2]); 198 int L2capDisconnect(uint16_t handle, uint8_t reason);
|
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_client_callback_stub.cpp | 96 void DhcpClientCallBackStub::OnIpFailChanged(int status, const std::string& ifname, const std::string& reason) in OnIpFailChanged() argument 100 callback_->OnIpFailChanged(status, ifname, reason); in OnIpFailChanged() 152 std::string reason = data.ReadString(); in RemoteOnIpFailChanged() local 153 OnIpFailChanged(state, ifname, reason); in RemoteOnIpFailChanged()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | scb_system_session.cpp | 122 FocusChangeReason reason = FocusChangeReason::CLICK; in PresentFocusIfPointDown() local 123 NotifyRequestFocusStatusNotifyManager(true, false, reason); in PresentFocusIfPointDown() 145 FocusChangeReason reason = FocusChangeReason::CLICK; in PresentFoucusIfNeed() local 146 NotifyRequestFocusStatusNotifyManager(true, false, reason); in PresentFoucusIfNeed()
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_client_proxy_test.cpp | 112 ScreenPropertyChangeReason reason = ScreenPropertyChangeReason::UNDEFINED; in HWTEST_F() local 115 screenSessionManagerClientProxy_->OnPropertyChanged(screenId, property, reason); in HWTEST_F() 127 PowerStateChangeReason reason = PowerStateChangeReason::POWER_BUTTON; in HWTEST_F() local 130 screenSessionManagerClientProxy_->OnPowerStatusChanged(event, status, reason); in HWTEST_F()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-raw-proxy/ |
H A D | minimal-ws-raw-proxy.c | 73 callback_proxy_ws_server(struct lws *wsi, enum lws_callback_reasons reason, in callback_proxy_ws_server() argument 82 switch (reason) { in callback_proxy_ws_server() 234 callback_proxy_raw_client(struct lws *wsi, enum lws_callback_reasons reason, in callback_proxy_raw_client() argument 242 switch (reason) { in callback_proxy_raw_client()
|
/third_party/node/lib/internal/webstreams/ |
H A D | transfer.js | 158 async cancel(reason) { 160 this[kState].port.postMessage({ type: 'error', value: reason }); 250 abort(reason) { 252 this[kState].port.postMessage({ type: 'error', value: reason });
|
/third_party/libwebsockets/lib/secure-streams/protocols/ |
H A D | ss-ws.c | 28 secstream_ws(struct lws *wsi, enum lws_callback_reasons reason, void *user, in secstream_ws() argument 40 switch (reason) { in secstream_ws() 87 if (reason == LWS_CALLBACK_CLIENT_CLOSED) { in secstream_ws() 187 return lws_callback_http_dummy(wsi, reason, user, in, len); in secstream_ws()
|
/third_party/lwip/test/unit/core/ |
H A D | test_netif.c | 67 test_netif_ext_callback_dummy(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t* args) in test_netif_ext_callback_dummy() argument 70 LWIP_UNUSED_ARG(reason); in test_netif_ext_callback_dummy() 77 test_netif_ext_callback(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t* args) in test_netif_ext_callback() argument 84 fail_unless(expected_reasons == reason); in test_netif_ext_callback()
|
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
H A D | decode_pvk2key.c | 111 int err, lib, reason; in pvk2key_decode() local 128 reason = ERR_GET_REASON(err); in pvk2key_decode() 130 && (reason == PEM_R_BAD_PASSWORD_READ in pvk2key_decode() 131 || reason == PEM_R_BAD_DECRYPT)) { in pvk2key_decode()
|
/third_party/python/Lib/distutils/command/ |
H A D | upload.py | 197 reason = result.msg 200 reason = e.msg 206 self.announce('Server response (%s): %s' % (status, reason), 213 msg = 'Upload failed (%s): %s' % (status, reason)
|
/third_party/python/Include/internal/ |
H A D | pycore_fileutils.h | 31 const char **reason, 39 const char **reason, 185 const char **reason, 192 const char **reason,
|
/third_party/openssl/test/ |
H A D | errtest.c | 31 char *reason; in test_print_error_format() local 48 * reason string (system error string) -----------++ || || in test_print_error_format() 83 reason = strerror(syserr); in test_print_error_format() 86 BIO_snprintf(reasonbuf, sizeof(reasonbuf), "reason(%lu)", reasoncode); in test_print_error_format() 87 reason = reasonbuf; in test_print_error_format() 91 errorcode, lib, func, reason, file, line); in test_print_error_format()
|
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | scene_session.h | 190 WSError UpdateSizeChangeReason(SizeChangeReason reason) override; 194 WSError UpdateRect(const WSRect& rect, SizeChangeReason reason, 196 WSError UpdateSessionRect(const WSRect& rect, const SizeChangeReason reason, bool isGlobal = false) override; 228 WSError UpdatePiPRect(const Rect& rect, SizeChangeReason reason) override; 363 void NotifySessionForeground(uint32_t reason, bool withAnimation); 364 void NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits); 482 const SizeChangeReason reason = SizeChangeReason::UNDEFINED, const DisplayId displayId = DISPLAY_ID_INVALID); 500 bool UpdateRectInner(const SessionUIParam& uiParam, SizeChangeReason reason); 501 bool NotifyServerToUpdateRect(const SessionUIParam& uiParam, SizeChangeReason reason); 548 void HandleMoveDragSurfaceNode(const SizeChangeReason reason); [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | drv_callbacks.c | 156 u16 reason = WLAN_REASON_UNSPECIFIED; in hostapd_notif_assoc() local 247 reason = WLAN_REASON_UNSPECIFIED; in hostapd_notif_assoc() 324 reason = WLAN_REASON_INVALID_IE; in hostapd_notif_assoc() 375 reason = WLAN_REASON_INVALID_IE; in hostapd_notif_assoc() 379 reason = WLAN_REASON_UNSPECIFIED; in hostapd_notif_assoc() 383 reason = WLAN_REASON_INVALID_IE; in hostapd_notif_assoc() 387 reason = WLAN_REASON_GROUP_CIPHER_NOT_VALID; in hostapd_notif_assoc() 391 reason = WLAN_REASON_PAIRWISE_CIPHER_NOT_VALID; in hostapd_notif_assoc() 395 reason = WLAN_REASON_AKMP_NOT_VALID; in hostapd_notif_assoc() 399 reason in hostapd_notif_assoc() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/include/ |
H A D | audio_policy_server_handler.h | 107 const DeviceInfo outputDeviceInfo, const AudioStreamDeviceChangeReason &reason) in RendererDeviceChangeEvent() 108 : clientPid_(clientPid), sessionId_(sessionId), outputDeviceInfo_(outputDeviceInfo), reason_(reason) in RendererDeviceChangeEvent() 165 const DeviceInfo &outputDeviceInfo, const AudioStreamDeviceChangeReasonExt reason); 171 const AudioStreamDeviceChangeReasonExt reason); 173 const AudioStreamDeviceChangeReasonExt reason);
|
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
H A D | request_suspend_delay.cpp | 208 std::u16string &reason, std::shared_ptr<CallbackInstance> &callback, bool isThrow) in ParseParameters() 218 // argv[0] : reason in ParseParameters() 219 if (Common::GetU16StringValue(env, argv[0], reason) == nullptr) { in ParseParameters() 220 BGTASK_LOGE("ParseParameters failed, reason is nullptr."); in ParseParameters() 247 std::u16string reason; in RequestSuspendDelay() local 248 if (ParseParameters(env, info, reason, callback, isThrow) == nullptr) { in RequestSuspendDelay() 254 RequestSuspendDelay(reason, *callback, delaySuspendInfo); in RequestSuspendDelay() 207 ParseParameters(const napi_env &env, const napi_callback_info &info, std::u16string &reason, std::shared_ptr<CallbackInstance> &callback, bool isThrow) ParseParameters() argument
|
/foundation/window/window_manager/test/fuzztest/dms/displaymanager_fuzzer/ |
H A D | displaymanager_fuzzer.cpp | 131 uint32_t reason; in DisplayPowerFuzzTest() local 134 if (data == nullptr || size < sizeof(reason) + sizeof(displayId) + sizeof(state)) { in DisplayPowerFuzzTest() 142 startPos += GetObject<uint32_t>(reason, data + startPos, size - startPos); in DisplayPowerFuzzTest() 143 displayManager.WakeUpBegin(static_cast<PowerStateChangeReason>(reason)); in DisplayPowerFuzzTest() 145 displayManager.SuspendBegin(static_cast<PowerStateChangeReason>(reason)); in DisplayPowerFuzzTest()
|
/foundation/window/window_manager/test/fuzztest/wms/windowscene_fuzzer/ |
H A D | windowscene_fuzzer.cpp | 182 uint32_t reason; in DoSomethingInterestingWithMyAPI() local 183 startPos += GetObject<uint32_t>(reason, data + startPos, size - startPos); in DoSomethingInterestingWithMyAPI() 184 windowScene->GoForeground(reason); in DoSomethingInterestingWithMyAPI() 190 GetObject<uint32_t>(reason, data + startPos, size - startPos); in DoSomethingInterestingWithMyAPI() 191 windowScene->GoBackground(reason); in DoSomethingInterestingWithMyAPI()
|
/foundation/window/window_manager/wm/include/ |
H A D | window_extension_session_impl.h | 61 WSError UpdateRect(const WSRect& rect, SizeChangeReason reason, 85 void NotifySessionForeground(uint32_t reason, bool withAnimation) override; 86 void NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits) override; 93 WMError Show(uint32_t reason = 0, bool withAnimation = false, bool withFocus = true) override; 94 WMError Hide(uint32_t reason, bool withAnimation, bool isFromInnerkits) override;
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-promise.c | 64 ecma_value_t reason = jcontext_take_exception (); in ecma_builtin_promise_reject_abrupt() local 70 &reason, in ecma_builtin_promise_reject_abrupt() 73 ecma_free_value (reason); in ecma_builtin_promise_reject_abrupt() 97 ecma_value_t reason) /**< the reason for reject */ in ecma_builtin_promise_reject() 99 return ecma_promise_reject_or_resolve (this_arg, reason, false); in ecma_builtin_promise_reject() 96 ecma_builtin_promise_reject(ecma_value_t this_arg, ecma_value_t reason) ecma_builtin_promise_reject() argument
|
/third_party/libwebsockets/plugins/ |
H A D | protocol_lws_sshd_demo.c | 356 ssh_ops_disconnect_reason(uint32_t reason, const char *desc, in ssh_ops_disconnect_reason() argument 359 lwsl_notice("DISCONNECT reason 0x%X, %s (lang %s)\n", reason, desc, in ssh_ops_disconnect_reason() 386 callback_lws_sshd_demo(struct lws *wsi, enum lws_callback_reasons reason, in callback_lws_sshd_demo() argument 394 switch (reason) { in callback_lws_sshd_demo() 441 return vhd->ssh_base_protocol->callback(wsi, reason, in callback_lws_sshd_demo()
|
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/ |
H A D | oh_audio_session_manager_test.cpp | 121 OH_AudioStream_DeviceChangeReason reason) in AudioRendererDeviceChangeCb() 123 std::cout << "AudioRendererDeviceChangeCb reason: " << reason << std::endl; in AudioRendererDeviceChangeCb() 272 event.reason = DEACTIVATED_LOWER_PRIORITY; in PlayMusic() 288 event.reason = DEACTIVATED_LOWER_PRIORITY; in LogicPathCheck() 293 event.reason = DEACTIVATED_TIMEOUT; in LogicPathCheck() 308 event.reason = DEACTIVATED_LOWER_PRIORITY; in LogicPathCheck() 364 std::cout << "Callback For Event Reason: " << static_cast<int>(event.reason) << std::endl; in MyCallbackFunction() 120 AudioRendererDeviceChangeCb(OH_AudioRenderer* renderer, void* userData, OH_AudioStream_DeviceChangeReason reason) AudioRendererDeviceChangeCb() argument
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/idl_client/ |
H A D | wifi_idl_inner_interface.cpp | 75 void OnDisConnectReasonCallback(int reason, const char *bssid) in OnDisConnectReasonCallback() argument 83 cbk.onReportDisConnectReason(reason, bssid); in OnDisConnectReasonCallback() 87 void OnBssidChanged(const char *reason, const char *bssid) in OnBssidChanged() argument 89 if (reason == nullptr || bssid == nullptr) { in OnBssidChanged() 95 cbk.onBssidChanged(reason, bssid); in OnBssidChanged() 469 void OnP2pConnectFailed(const char *bssid, int reason) in OnP2pConnectFailed() argument 476 cbk.onP2pConnectFailed(bssid, reason); in OnP2pConnectFailed()
|