/device/google/trout/agl_services_build/yocto-layer/meta-google/recipes-trout/images/machine-image/sa81x5/google-overlay/usr/bin/ |
D | gnss_replay.py | 26 import socket 54 def __init__(self, socket): argument 55 self.socket = socket 63 inp = self.socket.recv(128) 67 self.socket.send(str.encode(response)) 70 self.socket.send(b'\n\n\n\n') 79 sk = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET) 80 sk.connect(args.socket)
|
/device/google/trout/hal/gnss/host/ |
D | gnss_replay.py | 26 import socket 54 def __init__(self, socket): argument 55 self.socket = socket 63 inp = self.socket.recv(128) 67 self.socket.send(str.encode(response)) 70 self.socket.send(b'\n\n\n\n') 79 sk = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET) 80 sk.connect(args.socket)
|
/device/google/cuttlefish/host/commands/secure_env/ |
D | suspend_resume_handler.cpp | 25 Result<void> WriteSuspendRequest(const SharedFD& socket) { in WriteSuspendRequest() argument 28 socket->Write(&suspend_request, sizeof(suspend_request)), in WriteSuspendRequest() 29 "socket write failed: " << socket->StrError()); in WriteSuspendRequest() 33 Result<void> ReadSuspendAck(const SharedFD& socket) { in ReadSuspendAck() argument 36 socket->Read(&ack_response, sizeof(ack_response)), in ReadSuspendAck() 37 "socket read failed: " << socket->StrError()); in ReadSuspendAck() 42 Result<void> WriteResumeRequest(const SharedFD& socket) { in WriteResumeRequest() argument 45 socket->Write(&resume_request, sizeof(resume_request)), in WriteResumeRequest() 46 "socket write failed: " << socket->StrError()); in WriteResumeRequest()
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | RilSapSocket.cpp | 89 RLOGD("SocketName:%s",current->socket->name); in printList() 90 RLOGD("Socket id:%d",current->socket->id); in printList() 103 if(socketId == current->socket->id) { in getSocketById() 104 sap_socket = current->socket; in getSocketById() 148 RilSapSocket* socket = NULL; in addSocketToList() local 152 socket = new RilSapSocket(socketName, socketid, uimFuncs); in addSocketToList() 156 delete socket; in addSocketToList() 159 listItem->socket = socket; in addSocketToList() 162 RLOGD("Adding socket with id: %d", socket->id); in addSocketToList() 182 if(strcmp(current->socket->name, socketName) == 0) { in SocketExists()
|
/device/google/cuttlefish/host/libs/audio_connector/ |
D | server.cpp | 75 uint32_t buffer_offset, SharedFD socket) { in SendStatusCallback() argument 79 auto weak_socket = WeakFD(socket); in SendStatusCallback() 83 auto socket = weak_socket.lock(); in SendStatusCallback() local 84 if (!socket->IsOpen()) { in SendStatusCallback() 94 auto sent = socket->Send(&reply, sizeof(reply), MSG_DONTWAIT); in SendStatusCallback() 96 LOG(ERROR) << "Failed to send entire reply: " << socket->StrError(); in SendStatusCallback() 361 ssize_t AudioClientConnection::ReceiveMsg(SharedFD socket, void* buffer, in ReceiveMsg() argument 363 auto read = socket->Recv(buffer, size, MSG_TRUNC); in ReceiveMsg() 372 << socket->StrError(); in ReceiveMsg()
|
/device/generic/goldfish/wifi/mac80211_create_radios/ |
D | main.cpp | 204 int createRadios(struct nl_sock* socket, const int netlinkFamily, in createRadios() argument 218 int ret = nl_send_auto(socket, msg.get()); in createRadios() 230 std::unique_ptr<struct nl_sock, nl_sock_deleter> socket(nl_socket_alloc()); in manageRadios() local 231 if (!socket) { RETURN_ERROR("nl_socket_alloc", 1); } in manageRadios() 234 ret = genl_connect(socket.get()); in manageRadios() 237 const int netlinkFamily = genl_ctrl_resolve(socket.get(), kHwSimFamilyName); in manageRadios() 240 ret = createRadios(socket.get(), netlinkFamily, nRadios, macPrefix, in manageRadios()
|
/device/google/cuttlefish/host/commands/run_cvd/launch/ |
D | tombstone_receiver.cpp | 41 auto socket = in TombstoneReceiver() local 46 CF_EXPECTF(socket->IsOpen(), "Can't tombstone server socket: '{}'", in TombstoneReceiver() 47 socket->StrError()); in TombstoneReceiver() 50 .AddParameter("-server_fd=", socket) in TombstoneReceiver()
|
/device/google/lynx/conf/ |
D | init.lynx.rc | 57 mkdir /dev/socket/wifihal 0770 wifi wifi 58 chmod 2777 /dev/socket/wifihal 60 mkdir /dev/socket/location 0770 wifi wifi 61 chmod 2777 /dev/socket/location 62 mkdir /dev/socket/location/mq 0770 wifi wifi 63 chmod 2777 /dev/socket/location/mq
|
/device/google/sunfish-sepolicy/vendor/qcom/common/ |
D | file_contexts | 86 # dev socket nodes 87 /dev/socket/chre u:object_r:chre_socket:s0 88 /dev/socket/msm_irqbalance u:object_r:irqbalance_socket:s0 89 /dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0 90 /dev/socket/netmgr(/.*)? u:object_r:netmgrd_socket:s0 91 /dev/socket/ims_qmid u:object_r:ims_socket:s0 92 /dev/socket/ims_datad u:object_r:ims_socket:s0 93 /dev/socket/cnd u:object_r:cnd_socket:s0 253 # dev socket nodes 254 /dev/socket/ipacm_log_file u:object_r:ipacm_socket:s0 [all …]
|
D | ims.te | 7 # Use generic netlink socket 9 socket 16 #Allow access to netmgrd socket
|
D | qlogd.te | 12 allow qlogd self:socket create_socket_perms; 13 allowxperm qlogd self:socket ioctl msm_sock_ipc_ioctls;
|
/device/google/redbull-sepolicy/vendor/qcom/common/ |
D | file_contexts | 86 # dev socket nodes 87 /dev/socket/chre u:object_r:chre_socket:s0 88 /dev/socket/msm_irqbalance u:object_r:irqbalance_socket:s0 89 /dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0 90 /dev/socket/netmgr(/.*)? u:object_r:netmgrd_socket:s0 91 /dev/socket/ims_qmid u:object_r:ims_socket:s0 92 /dev/socket/ims_datad u:object_r:ims_socket:s0 93 /dev/socket/ssgtzd u:object_r:ssgtzd_socket:s0 94 /dev/socket/adpl_cmd_uds_file u:object_r:dataadpl_socket:s0 246 # dev socket nodes [all …]
|
D | qlogd.te | 12 allow qlogd self:socket create_socket_perms; 13 allowxperm qlogd self:socket ioctl msm_sock_ipc_ioctls;
|
/device/google/coral-sepolicy/vendor/qcom/common/ |
D | file_contexts | 107 # dev socket nodes 108 /dev/socket/chre u:object_r:chre_socket:s0 109 /dev/socket/msm_irqbalance u:object_r:irqbalance_socket:s0 110 /dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0 111 /dev/socket/netmgr(/.*)? u:object_r:netmgrd_socket:s0 112 /dev/socket/ims_qmid u:object_r:ims_socket:s0 113 /dev/socket/ims_datad u:object_r:ims_socket:s0 114 /dev/socket/cnd u:object_r:cnd_socket:s0 275 # dev socket nodes 276 /dev/socket/ipacm_log_file u:object_r:ipacm_socket:s0 [all …]
|
D | file.te | 4 #Define the qmux socket type 7 #Define the netmgrd socket type 16 #Define the qdcmss socket type 19 # Define cnd socket and data file type 121 #wifihal service socket for clients to communicate 193 # wififtmd socket file
|
D | ims.te | 9 # Use generic netlink socket 11 socket 18 #Allow access to netmgrd socket
|
D | qlogd.te | 15 allow qlogd self:socket create_socket_perms; 16 allowxperm qlogd self:socket ioctl msm_sock_ipc_ioctls;
|
/device/google/cuttlefish/shared/sepolicy/vendor/ |
D | socket_vsock_proxy.te | 7 allow socket_vsock_proxy self:{ socket vsock_socket } { create getopt read write getattr listen acc… 9 # TODO: socket returned by accept() has unlabeled context on it. Give it a 11 allow socket_vsock_proxy unlabeled:{ socket vsock_socket } { getopt read write shutdown };
|
/device/google/cuttlefish/host/libs/wayland/ |
D | wayland_server.cpp | 70 const char* socket = wl_display_add_socket_auto(server_state_->display_); in ServerLoop() local 71 CHECK(socket != nullptr) in ServerLoop() 74 LOG(INFO) << "WaylandServer running on socket " << socket; in ServerLoop()
|
/device/google/cuttlefish/common/libs/utils/ |
D | unix_sockets.cpp | 205 UnixMessageSocket::UnixMessageSocket(SharedFD socket) : socket_(socket) { in UnixMessageSocket() argument 207 CHECK(socket->GetSockOpt(SOL_SOCKET, SO_SNDBUF, &max_message_size_, &ln) == 0) in UnixMessageSocket() 209 << socket->StrError(); in UnixMessageSocket()
|
/device/google/cuttlefish/guest/hals/light/lights/ |
D | lights_vsock_server.rs | 20 use nix::sys::socket::{connect, socket, AddressFamily, SockFlag, SockType}; 144 let fd = socket( in drop()
|
/device/google/sunfish/ |
D | init.hardware.rc | 281 mkdir /dev/socket/location 0770 gps gps 282 mkdir /dev/socket/location/mq 0770 gps gps 283 mkdir /dev/socket/location/xtra 0770 gps gps 286 mkdir /dev/socket/wifihal 0770 wifi wifi 287 chmod 2770 /dev/socket/wifihal 403 # socket files used for internal IPC within QCRIL 405 mkdir /dev/socket/qmux_radio 0770 radio radio 406 chmod 2770 /dev/socket/qmux_radio 550 socket ims_qmid stream 0660 system radio 556 socket ims_datad stream 0660 system radio [all …]
|
/device/generic/goldfish/tnc/ |
D | main.cpp | 43 fd = ::socket(addr->ai_family, addr->ai_socktype, addr->ai_protocol); in runClient() 69 fd = ::socket(addr->ai_family, addr->ai_socktype, addr->ai_protocol); in runServer() 110 int fd = ::socket(AF_LOCAL, SOCK_STREAM, 0); in configureBridge()
|
/device/google/cuttlefish_vmm/x86_64-linux-gnu/etc/seccomp/ |
D | vhost_vsock_device.policy | 92 # Policy file for the vhost-user transport over a socket. 94 # FIONBIO: for setting non-blocking mode over the socket. 99 # For accepting a client connection over the socket.
|
/device/google/cuttlefish/shared/sepolicy/vendor/telephony/ |
D | libcuttlefish_rild.te | 13 allow libcuttlefish_rild self:{ socket vsock_socket } { create_socket_perms_no_ioctl getattr }; 14 allow libcuttlefish_rild su:{ socket udp_socket } { create_socket_perms_no_ioctl getattr };
|