Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 10 of 10) sorted by relevance

/bootable/libbootloader/gbl/efi/src/
Dfastboot.rs38 socket: &'c mut EfiTcpSocket<'a, 'b>, field
42 fn new(socket: &'c mut EfiTcpSocket<'a, 'b>) -> Self { in new()
43 Self { last_err: Ok(()), socket: socket } in new()
50 self.last_err = self.socket.receive_exact(out, DEFAULT_TIMEOUT_MS); in read_exact()
57 self.last_err = self.socket.send_exact(data, DEFAULT_TIMEOUT_MS); in write_exact()
132 mut socket: Option<&mut EfiTcpSocket>, in fastboot_loop()
135 if socket.is_none() && usb.is_none() { in fastboot_loop()
140 if let Some(socket) = socket.as_ref() { in fastboot_loop()
143 socket.interface().ip_addrs().iter().for_each(|v| { in fastboot_loop()
160 if let Some(socket) = socket.as_mut() { in fastboot_loop()
[all …]
Dnet.rs37 socket::tcp,
460 let socket = tcp::Socket::new(rx_socket_buffer, tx_socket_buffer); in with_efi_network() localVariable
463 let _ = sockets.add(socket); in with_efi_network()
464 let mut socket = EfiTcpSocket { in with_efi_network() localVariable
471 Ok(f(&mut socket)) in with_efi_network()
Derror.rs25 use smoltcp::socket::tcp::{ListenError, RecvError, SendError};
/bootable/recovery/uncrypt/
Duncrypt.cpp199 static bool write_status_to_socket(int status, int socket) { in write_status_to_socket() argument
202 if (socket == -1) { in write_status_to_socket()
206 return android::base::WriteFully(socket, &status_out, sizeof(int)); in write_status_to_socket()
244 const std::string& blk_dev, bool encrypted, bool f2fs_fs, int socket) { in ProductBlockMap() argument
258 if (!write_status_to_socket(0, socket)) { in ProductBlockMap()
259 LOG(ERROR) << "failed to write to socket " << socket; in ProductBlockMap()
339 write_status_to_socket(progress, socket); in ProductBlockMap()
469 static int Uncrypt(const std::string& input_path, const std::string& map_file, int socket) { in Uncrypt() argument
501 return ProductBlockMap(path, map_file, blk_dev, encrypted, f2fs_fs, socket); in Uncrypt()
514 static bool uncrypt_wrapper(const char* input_path, const char* map_file, const int socket) { in uncrypt_wrapper() argument
[all …]
Duncrypt.rc3 socket uncrypt stream 600 system system
10 socket uncrypt stream 600 system system
17 socket uncrypt stream 600 system system
/bootable/libbootloader/gbl/smoltcp/
DBUILD.smoltcp.bazel97 "socket",
98 "socket-tcp",
99 "socket-icmp",
/bootable/recovery/recovery_ui/
Dethernet_device.cpp38 : Device(ui), ctl_sock_(socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)), interface_(interface) { in EthernetDevice()
/bootable/recovery/tests/unit/
Duncrypt_test.cpp93 int sockfd = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in SetupOrClearBcb()
/bootable/recovery/etc/
Dinit.rc87 socket recovery stream 422 system system
93 socket adbd stream 660 system system
/bootable/recovery/tests/testdata/
Drecovery_body381 y� y�����u:object_r:socket_device:s0����/dev/socket(/.*)?������������ ������S2RP
387 y� y� ����u:object_r:sap_uim_socket:s0� ���/dev/socket/sap_uim_socket[0-9]���������������&��S2…
392 …�����������������������������y�R����u:object_r:wpa_socket:s0����/dev/socket/wpa_eth[0-9]������…
397 …�����������������������������y�D����u:object_r:wpa_socket:s0����/dev/socket/wpa_wlan[0-9]�����…
1306 y� y�0����u:object_r:qmuxd_socket:s0����/dev/socket/qmux_gps(/.*)?�����������������S2RP
1323 y� y�4����u:object_r:qmuxd_socket:s0����/dev/socket/qmux_radio(/.*)?���������������
1330 y� y�6����u:object_r:qmuxd_socket:s0����/dev/socket/qmux_audio(/.*)?���������������
1733 …udio_seq_devicey�/����u:object_r:adbd_socket:s0����/dev/socket/adbd�������������…
1738 …���/socket/adbdy�����u:object_r:vold_socket:s0����/dev/socket/cryptd������������…
1743 …ocket/cryptdy�!����u:object_r:dnsproxyd_socket:s0����/dev/socket/dnsproxyd���������…
[all …]