Home
last modified time | relevance | path

Searched refs:shutdown (Results 1 – 25 of 222) sorted by relevance

123456789

/ohos5.0/base/powermgr/power_manager/interfaces/inner_api/
H A DBUILD.gn26 "${powermgr_service_zidl}/src/shutdown",
38 "${powermgr_framework_native}/shutdown/shutdown_client.cpp",
49 "${powermgr_service_zidl}/src/shutdown/async_shutdown_callback_proxy.cpp",
50 "${powermgr_service_zidl}/src/shutdown/async_shutdown_callback_stub.cpp",
51 "${powermgr_service_zidl}/src/shutdown/shutdown_proxy_delegator.cpp",
52 "${powermgr_service_zidl}/src/shutdown/sync_shutdown_callback_proxy.cpp",
53 "${powermgr_service_zidl}/src/shutdown/sync_shutdown_callback_stub.cpp",
54 "${powermgr_service_zidl}/src/shutdown/takeover_shutdown_callback_proxy.cpp",
55 "${powermgr_service_zidl}/src/shutdown/takeover_shutdown_callback_stub.cpp",
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/
H A Dhttp1.rs67 conn.shutdown(); in request()
72 conn.shutdown(); in request()
82 conn.shutdown(); in request()
161 conn.shutdown(); in encode_request_part()
185 conn.shutdown() in decode_response()
204 conn.shutdown() in decode_response()
212 conn.shutdown(); in decode_response()
244 conn.shutdown(); in encode_body()
266 conn.shutdown(); in read_body_result()
291 fn shutdown(&self) { in shutdown() method
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dblocking_pool.rs39 self.shutdown(BLOCKING_THREAD_QUIT_WAIT_TIME); in drop()
59 shutdown: false, in new()
76 pub fn shutdown(&mut self, timeout: Duration) -> bool { in shutdown() method
79 if shared.shutdown { in shutdown()
157 shutdown: bool, field
212 !shared.shutdown, in spawn()
295 if !shared.shutdown && timeout_result.timed_out() { in wait_temporary()
314 while !shared.shutdown { in wait()
356 if shared.shutdown { in run()
376 let shutdown = shared.shutdown; in run() localVariable
[all …]
/ohos5.0/base/startup/init/ueventd/standard/
H A Dueventd_parameter.c30 int shutdown; member
41 .shutdown = 0,
66 INIT_LOGV("[uevent] ThreadRun %d %d", parameterCtrl->empty, parameterCtrl->shutdown); in ThreadRun()
80 if (parameterCtrl->shutdown) { in ThreadRun()
/ohos5.0/base/powermgr/power_manager/power_dialog/entry/src/main/ets/pages/
H A DpowerDialog.ets35 shutdown: () => void = () => {
79 this.shutdown()
94 shutdown: () => { this.onShutdown() },
128 power.shutdown('power_dialog');
130 console.log('power dialog shutdown failed: ' + JSON.stringify(err));
/ohos5.0/base/powermgr/power_manager/services/
H A DBUILD.gn29 "native/src/shutdown",
65 "native/src/shutdown/shutdown_callback_holer.cpp",
66 "native/src/shutdown/shutdown_controller.cpp",
67 "native/src/shutdown/shutdown_dialog.cpp",
213 include_dirs = [ "zidl/src/shutdown" ]
224 "zidl/src/shutdown/shutdown_stub_delegator.cpp",
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
H A Ddatagram.rs257 pub fn shutdown(&self, how: std::net::Shutdown) -> io::Result<()> { in shutdown() method
258 self.inner.shutdown(how) in shutdown()
332 receiver2.shutdown(Shutdown::Both).unwrap(); in ut_uds_datagram_pair()
333 sender.shutdown(Shutdown::Both).unwrap() in ut_uds_datagram_pair()
H A Dstream.rs157 pub fn shutdown(&self, how: std::net::Shutdown) -> io::Result<()> { in shutdown() method
158 self.inner.shutdown(how) in shutdown()
284 receiver2.shutdown(Shutdown::Both).unwrap(); in ut_uds_stream_pair()
285 sender.shutdown(Shutdown::Both).unwrap() in ut_uds_stream_pair()
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/communication/netmanager/system/
H A Dsystem_basic_hap.te20 …system_basic_hap_attr:tcp_socket { getattr create setopt bind connect getopt read write shutdown };
21 …system_basic_hap_attr:udp_socket { getattr create setopt bind connect getopt read write shutdown };
35 …_basic_hap_attr self:icmp_socket { create write read connect bind setopt getattr getopt shutdown };
H A Dnormal_hap.te19 …_attr normal_hap_attr:tcp_socket { getattr create setopt bind connect getopt read write shutdown };
20 …_attr normal_hap_attr:udp_socket { getattr create setopt bind connect getopt read write shutdown };
H A Dsystem_core_hap.te18 … system_core_hap_attr:tcp_socket { getattr create setopt bind connect getopt read write shutdown };
19 … system_core_hap_attr:udp_socket { getattr create setopt bind connect getopt read write shutdown };
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-power-battery-uevent-customization.md31 "BATTERY_UNDER_VOLTAGE=1": "shutdown",
57 | shutdown | string | 关机 |
115 "BATTERY_UNDER_VOLTAGE=1": "shutdown",
H A Dsubsys-power-battery-level-customization.md45 "shutdown": 5,
60 | shutdown | 5 | 关机电量 |
301 "shutdown": 1,
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dtest_utils.rs70 $(Shutdown: $shutdown: expr,)?
117 stream.shutdown($shutdown).expect("server shutdown failed");
H A Ddispatcher.rs89 pub(crate) shutdown: AtomicBool,
100 shutdown: AtomicBool::new(false), in new()
120 self.inner.shutdown.load(Ordering::Relaxed) in is_shutdown()
136 pub(crate) fn shutdown(&self) { in shutdown() method
137 self.inner.shutdown.store(true, Ordering::Release); in shutdown()
438 pub(crate) fn new(streams: Streams, shutdown: Arc<AtomicBool>) -> Self { in new()
440 io_shutdown: shutdown, in new()
449 pub(crate) fn shutdown(&self) { in shutdown() method
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Dhttp_body.rs83 io.shutdown(); in new()
174 io.shutdown() in drop()
244 io.shutdown(); in poll_read_io()
262 io.shutdown(); in poll_read_io()
336 io.shutdown(); in read_remaining()
363 io.shutdown(); in poll_read_io()
372 io.shutdown(); in poll_read_io()
391 io.shutdown(); in poll_read_io()
458 io.shutdown(); in data()
480 io.shutdown(); in data()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
H A Dhttp_body.rs140 io.shutdown(); in data()
158 io.shutdown(); in data()
170 io.shutdown(); in data()
239 io.shutdown(); in data()
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/kernel/linux/system/
H A Dnormal_hap.te15 …normal_hap_attr self:icmp_socket { create write read connect bind setopt getattr getopt shutdown };
16 …attr:unix_dgram_socket { append bind getattr getopt lock map read sendto setattr setopt shutdown };
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/distributedschedule/samgr/system/
H A Dsamgr.te53 allow samgr softbus_server:tcp_socket { read setopt shutdown write };
64 #avc: denied { shutdown } for pid=246 comm="THREAD_POOL" laddr=192.168.43.222 lport=34003 faddr=…
65 #avc: denied { shutdown } for pid=246 comm="samgr" laddr=192.168.43.222 lport=48160 faddr=192.16…
66 allow samgr softbus_server:tcp_socket { read write setopt shutdown };
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-power-sys.md17 ## power.shutdown
19 shutdown(reason: string): void
51 power.shutdown('shutdown_test');
53 console.error('shutdown failed, err: ' + err);
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
H A Dsplit.rs65 self.0.shutdown(Shutdown::Write).into() in poll_shutdown()
111 self.0.shutdown(Shutdown::Write).into() in poll_shutdown()
245 write_half.shutdown().await.unwrap(); in ut_test_borrow_half_vector()
295 write_half.shutdown().await.unwrap(); in ut_test_owned_half_vector()
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/web/webview/system/
H A Dhap_domain.te16 allow hap_domain isolated_render:unix_stream_socket { read write shutdown };
25 allow hap_domain isolated_gpu:unix_stream_socket { read write shutdown getopt };
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dpty_process.rs91 pty.shutdown().await.unwrap(); in sdv_pty_process_read_and_write_test()
117 write_pty.shutdown().await.unwrap(); in sdv_pty_split_test()
149 write_pty.shutdown().await.unwrap(); in sdv_pty_into_split_test()
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_socket.cpp95 shutdown(fd_, SHUT_RD); in ~impl()
96 shutdown(fd_, SHUT_WR); in ~impl()
120 shutdown(fd_, SHUT_RD); in Close()
121 shutdown(fd_, SHUT_WR); in Close()
552 shutdown(fd_, SHUT_RD); in ~impl()
553 shutdown(fd_, SHUT_WR); in ~impl()
740 shutdown(fd_, SHUT_RD); in Close()
741 shutdown(fd_, SHUT_WR); in Close()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_socket_server.h61 shutdown(iter->fd, SHUT_RD); in OnRemoteDied()
62 shutdown(iter->fd, SHUT_WR); in OnRemoteDied()

123456789