/device/linaro/dragonboard/shared/utils/qrtr/src/ |
D | ns.c | 67 struct server { struct 118 static int server_match(const struct server *srv, const struct server_filter *f) in server_match() 141 struct server *srv; in server_query() 143 srv = map_iter_data(me, struct server, mi); in server_query() 157 struct server *srv) in service_announce_new() 166 cmsg.server.service = cpu_to_le32(srv->service); in service_announce_new() 167 cmsg.server.instance = cpu_to_le32(srv->instance); in service_announce_new() 168 cmsg.server.node = cpu_to_le32(srv->node); in service_announce_new() 169 cmsg.server.port = cpu_to_le32(srv->port); in service_announce_new() 181 struct server *srv) in service_announce_del() [all …]
|
D | lookup.c | 156 case 3: pkt.server.instance = read_num_le(argv[2], &rc); in main() 157 case 2: pkt.server.service = read_num_le(argv[1], &rc); in main() 200 if (!pkt.server.service && !pkt.server.instance && in main() 201 !pkt.server.node && !pkt.server.port) in main() 204 service = le32_to_cpu(pkt.server.service); in main() 205 version = le32_to_cpu(pkt.server.instance) & 0xff; in main() 206 instance = le32_to_cpu(pkt.server.instance) >> 8; in main() 207 node = le32_to_cpu(pkt.server.node); in main() 208 port = le32_to_cpu(pkt.server.port); in main() 223 instance = le32_to_cpu(pkt.server.instance); in main()
|
/device/google/cuttlefish/tools/ |
D | launch_cvd_arm64_server_docker.sh | 33 server=$1 60 ssh $server -t "mkdir -p ~/.cvd_artifact; mkdir -p ~/$cvd_home_dir" 62 …rsync -aSvch --recursive $img_dir --files-from=$img_dir/required_images $server:~/$cvd_home_dir --… 63 …ursive $img_dir --out-format="%n" --files-from=$img_dir/required_images $server:~/$cvd_home_dir --… 65 …rsync -aSvch --recursive $img_dir/bootloader $img_dir/*.img $server:~/$cvd_home_dir --info=progres… 66 … -rzan --recursive $img_dir/bootloader --out-format="%n" $img_dir/*.img $server:~/$cvd_home_dir --… 70 scp $vendor_boot_image $server:~/$cvd_home_dir/vendor_boot.img 92 rsync -avch $temp_dir/cvd-host_package.tar.gz $server:~/$cvd_home_dir --info=progress2 96 root_container_id=$(ssh $server -t "docker run --privileged -p 2443 -d cuttlefish") 104 ssh $server "docker rm -f $root_container_id ${container_ids[*]} && \ [all …]
|
D | launch_cvd_arm64_server.sh | 30 server=$1 57 ssh $server -t "mkdir -p ~/.cvd_artifact; mkdir -p ~/$cvd_home_dir" 59 …rsync -aSvch --recursive $img_dir --files-from=$img_dir/required_images $server:~/$cvd_home_dir --… 61 …rsync -aSvch --recursive $img_dir/bootloader $img_dir/*.img $server:~/$cvd_home_dir --info=progres… 65 rsync -Svch $vendor_boot_debug_image $server:~/$cvd_home_dir --info=progress2 71 rsync -avch $cvd_host_tool_dir/cvd-host_package/* $server:~/$cvd_home_dir --info=progress2 77 rsync -avh $temp_dir/* $server:.cvd_artifact --info=progress2 78 ssh $server -t "cd .cvd_artifact; tar -zxvf cvd-host_package.tar.gz -C ~/$cvd_home_dir/" 87 ssh $server -t "cd ~/$cvd_home_dir && HOME=~/$cvd_home_dir bin/stop_cvd" 95 ssh $server \ [all …]
|
/device/google/cuttlefish/host/frontend/webrtc_operator/certs/ |
D | create_certs.sh | 20 openssl genrsa -des3 -passout pass:xxxx -out server.pass.key 2048 21 openssl rsa -passin pass:xxxx -in server.pass.key -out server.key 22 rm -f server.pass.key 26 -new -key server.key -out server.csr 28 openssl x509 -req -sha256 -days 99999 -in server.csr -signkey server.key -out server.crt 29 rm -f server.csr 36 openssl x509 -in server.crt -text >> trusted.pem 46 openssl pkcs12 -export -inkey server.key -in server.crt -name localhost -out server.p12
|
/device/google/cuttlefish/host/frontend/webrtc/libcommon/ |
D | utils.cpp | 129 for (const auto& server : servers) { in ParseIceServersMessage() local 131 CF_EXPECT(server.isMember("urls") && server["urls"].isArray(), in ParseIceServersMessage() 133 << server.toStyledString()); in ParseIceServersMessage() 134 auto urls = server["urls"]; in ParseIceServersMessage() 141 if (server.isMember("credential") && server["credential"].isString()) { in ParseIceServersMessage() 142 ice_server.password = server["credential"].asString(); in ParseIceServersMessage() 144 if (server.isMember("username") && server["username"].isString()) { in ParseIceServersMessage() 145 ice_server.username = server["username"].asString(); in ParseIceServersMessage() 158 Json::Value server; in GenerateIceServersMessage() local 159 server["urls"] = ToArray<std::string>( in GenerateIceServersMessage() [all …]
|
/device/linaro/dragonboard/shared/utils/qrtr/lib/ |
D | qrtr.c | 108 pkt.server.service = cpu_to_le32(service); in qrtr_new_server() 109 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_new_server() 125 pkt.server.service = cpu_to_le32(service); in qrtr_remove_server() 126 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_remove_server() 127 pkt.server.node = cpu_to_le32(sq.sq_node); in qrtr_remove_server() 128 pkt.server.port = cpu_to_le32(sq.sq_port); in qrtr_remove_server() 154 pkt.server.service = cpu_to_le32(service); in qrtr_new_lookup() 155 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_new_lookup() 171 pkt.server.service = cpu_to_le32(service); in qrtr_remove_lookup() 172 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_remove_lookup() [all …]
|
/device/google/cuttlefish/common/frontend/socket_vsock_proxy/ |
D | server.cpp | 46 SharedFD server; in Start() local 50 server = SharedFD::SocketLocalServer(port_, SOCK_STREAM); in Start() 51 if (server->IsOpen()) { in Start() 52 return server; in Start() 54 last_error = server->GetErrno(); in Start() 75 SharedFD server; in Start() local 77 server = SharedFD::VsockServer(port_, SOCK_STREAM, vhost_user_vsock_cid_); in Start() 78 if (!server->IsOpen() && !socketErrorIsRecoverable(server->GetErrno())) { in Start() 79 LOG(ERROR) << "Could not open vsock socket: " << server->StrError(); in Start() 85 } while (!server->IsOpen()); in Start() [all …]
|
D | socket_vsock_proxy.cpp | 103 std::unique_ptr<Server> server = nullptr; in BuildServer() local 106 server = std::make_unique<TcpServer>(FLAGS_server_tcp_port, TCP_SERVER_START_RETRIES_COUNT, in BuildServer() 109 server = std::make_unique<VsockServer>( in BuildServer() 117 return server; in BuildServer() 148 static Result<std::unique_ptr<ProxyServer>> StartProxyAsync(Server& server, Client& client) { in StartProxyAsync() argument 149 LOG(INFO) << "From: " << server.Describe(); in StartProxyAsync() 151 return ProxyAsync(CF_EXPECT(server.Start()), [&client] { return client.Start(); }); in StartProxyAsync() 156 Server& server, Client& client) { in ListenEventsAndProxy() argument 184 proxy = std::move(CF_EXPECT(StartProxyAsync(server, client))); in ListenEventsAndProxy() 200 proxy = std::move(CF_EXPECT(StartProxyAsync(server, client))); in ListenEventsAndProxy() [all …]
|
/device/google/cuttlefish/host/libs/input_connector/ |
D | socket_input_connector.cpp | 81 InputSocket(SharedFD server) in InputSocket() argument 82 : server_(server), monitor_(std::thread([this]() { MonitorLoop(); })) {} in InputSocket() 395 const std::string& device_label, SharedFD server) { in WithMultitouchDevice() argument 400 device_label, std::make_unique<InputSocket>(server)); in WithMultitouchDevice() 404 const std::string& device_label, SharedFD server) { in WithTouchDevice() argument 409 std::make_unique<InputSocket>(server)); in WithTouchDevice() 412 void InputSocketsConnectorBuilder::WithKeyboard(SharedFD server) { in WithKeyboard() argument 414 connector_->devices_.keyboard.reset(new InputSocket(server)); in WithKeyboard() 417 void InputSocketsConnectorBuilder::WithSwitches(SharedFD server) { in WithSwitches() argument 419 connector_->devices_.switches.reset(new InputSocket(server)); in WithSwitches() [all …]
|
D | socket_input_connector.h | 42 void WithMultitouchDevice(const std::string& device_label, SharedFD server); 43 void WithTouchDevice(const std::string& device_label, SharedFD server); 44 void WithKeyboard(SharedFD server); 45 void WithSwitches(SharedFD server); 46 void WithRotary(SharedFD server);
|
/device/google/cuttlefish/host/frontend/webrtc_operator/ |
D | Android.bp | 34 "server.cpp", 93 src: "certs/server.crt", 94 filename: "server.crt", 100 src: "certs/server.key", 101 filename: "server.key", 107 src: "certs/server.p12", 108 filename: "server.p12",
|
D | Readme.md | 1 This signaling server defines a very simple protocol to allow the establishing 6 Serious applications should build their own signaling server, implementing the 11 The signaling server MUST expose two (different) websocket endpoints: 28 The server sends the device these types of messages: 46 The server sends the clients these types of messages:
|
/device/google/trout/hal/vehicle/2.0/ |
D | android.hardware.automotive.vehicle@2.0-virtualization-grpc-server.rc | 1 # It is an interim state to run GRPC server as an Android service. 4 service vendor.vehicle-hal-2.0-server \ 5 /vendor/bin/hw/android.hardware.automotive.vehicle@2.0-virtualization-grpc-server \ 6 -server_cid ${ro.vendor.vehiclehal.server.cid:-pleaseconfigurethis} \ 7 -server_port ${ro.vendor.vehiclehal.server.port:-pleaseconfigurethis}
|
/device/google/cuttlefish/common/libs/utils/ |
D | socket2socket_proxy.cpp | 114 ProxyServer::ProxyServer(SharedFD server, std::function<SharedFD()> clients_factory) in ProxyServer() argument 120 server_ = std::thread([&, server_fd = std::move(server), in ProxyServer() 190 void Proxy(SharedFD server, std::function<SharedFD()> conn_factory) { in Proxy() argument 191 ProxyServer proxy(std::move(server), std::move(conn_factory)); in Proxy() 195 std::unique_ptr<ProxyServer> ProxyAsync(SharedFD server, std::function<SharedFD()> conn_factory) { in ProxyAsync() argument 196 return std::make_unique<ProxyServer>(std::move(server), std::move(conn_factory)); in ProxyAsync()
|
/device/linaro/dragonboard/ |
D | product.prop | 22 bluetooth.profile.map.server.enabled?=true 23 bluetooth.profile.mcp.server.enabled?=true 27 bluetooth.profile.pbap.server.enabled?=true 28 bluetooth.profile.sap.server.enabled?=true 34 bluetooth.profile.ccp.server.enabled=false
|
/device/google_car/common/ |
D | post_google_car.mk | 74 bluetooth.profile.map.server.enabled=false \ 75 bluetooth.profile.mcp.server.enabled=false \ 77 bluetooth.profile.pbap.server.enabled=false \ 78 bluetooth.profile.sap.server.enabled=false \ 79 bluetooth.profile.ccp.server.enabled=false \
|
/device/google/cuttlefish/host/commands/run_cvd/launch/ |
D | streamer.cpp | 43 auto server = in CreateUnixInputServer() local 45 if (!server->IsOpen()) { in CreateUnixInputServer() 46 LOG(ERROR) << "Unable to create unix input server: " << server->StrError(); in CreateUnixInputServer() 49 return server; in CreateUnixInputServer() 70 auto binary = HostBinaryPath(custom_action.server); in LaunchCustomActionServers() 78 webrtc_cmd.AddParameter("-action_servers=", custom_action.server, ":", in LaunchCustomActionServers() 81 webrtc_cmd.AppendToLastParameter(",", custom_action.server, ":", in LaunchCustomActionServers()
|
/device/linaro/hikey/ |
D | product.prop | 22 bluetooth.profile.map.server.enabled?=true 23 bluetooth.profile.mcp.server.enabled?=true 27 bluetooth.profile.pbap.server.enabled?=true 28 bluetooth.profile.sap.server.enabled?=true 34 bluetooth.profile.ccp.server.enabled=false
|
/device/google/gs-common/edgetpu/sepolicy/ |
D | edgetpu_app_service.te | 1 # EdgeTPU app server process which runs the EdgeTPU binder service. 6 # The server will use binder calls. 9 # The server will serve a binder service. 12 # EdgeTPU server to register the service to service_manager. 29 # Allow EdgeTPU service to read device_configs that are set by the cloud server.
|
/device/google/tangorpro/bluetooth/ |
D | syna_default.mk | 41 bluetooth.profile.mcp.server.enabled?=true \ 42 bluetooth.profile.ccp.server.enabled?=true \ 85 bluetooth.profile.map.server.enabled=false \ 86 bluetooth.profile.pbap.server.enabled=false \ 87 bluetooth.profile.sap.server.enabled=false \
|
/device/google/cuttlefish/host/frontend/operator_proxy/ |
D | main.cpp | 42 auto server = in main() local 44 CHECK(server->IsOpen()) << "Error Creating proxy server: " in main() 45 << server->StrError(); in main() 49 cuttlefish::Proxy(server, OpenConnection); in main()
|
/device/google/cuttlefish/host/frontend/webrtc/ |
D | main.cpp | 279 std::string server = server_and_fd[0]; in main() local 281 action_server_fds[server] = fd; in main() 305 if (action_server_fds.find(custom_action.server) == in main() 308 << custom_action.server; in main() 311 LOG(INFO) << "Connecting to custom action server " << custom_action.server; in main() 313 int fd = action_server_fds[custom_action.server]; in main() 328 << custom_action.server; in main()
|
/device/google/trout/hal/dumpstate/1.1/ |
D | server_main.cpp | 98 std::unique_ptr<DumpstateGrpcServer> server; in main() local 100 server.reset(new DumpstateGrpcServer{serverAddr, *xmlServices}); in main() 102 server.reset(new DumpstateGrpcServer{serverAddr, CoqosLvSystemdServices()}); in main() 106 server->Start(); in main()
|
/device/google/cuttlefish/shared/tv/ |
D | product.prop | 17 bluetooth.profile.map.server.enabled=true 18 bluetooth.profile.mcp.server.enabled=true 22 bluetooth.profile.pbap.server.enabled=true 28 bluetooth.profile.ccp.server.enabled=false
|