Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 184) sorted by relevance

12345678

/system/libbase/
Dparsenetaddress_test.cpp24 std::string canonical, host, error; in TEST() local
28 ParseNetAddress("www.google.com", &host, &port, &canonical, &error)); in TEST()
30 EXPECT_EQ("www.google.com", host); in TEST()
34 ParseNetAddress("www.google.com:666", &host, &port, &canonical, &error)); in TEST()
36 EXPECT_EQ("www.google.com", host); in TEST()
41 std::string canonical, host, error; in TEST() local
44 EXPECT_TRUE(ParseNetAddress("1.2.3.4", &host, &port, &canonical, &error)); in TEST()
46 EXPECT_EQ("1.2.3.4", host); in TEST()
49 EXPECT_TRUE(ParseNetAddress("1.2.3.4:666", &host, &port, &canonical, &error)); in TEST()
51 EXPECT_EQ("1.2.3.4", host); in TEST()
[all …]
Dparsenetaddress.cpp27 bool ParseNetAddress(const std::string& address, std::string* host, int* port, in ParseNetAddress() argument
29 host->clear(); in ParseNetAddress()
42 *host = address.substr(1, (address.find("]:") - 1)); in ParseNetAddress()
47 *host = address; in ParseNetAddress()
52 *host = pieces[0]; in ParseNetAddress()
59 if (host->empty()) { in ParseNetAddress()
75 StringPrintf(ipv6 ? "[%s]:%d" : "%s:%d", host->c_str(), *port); in ParseNetAddress()
/system/tools/aidl/tests/
Daidl_integration_test.py97 def __init__(self, host, bitness): argument
99 self.host = host
102 self.host.run('killall %s' % self.binary, ignore_status=True)
104 return self.host.run(self.binary, background=True)
107 def __init__(self, host, bitness): argument
109 self.host = host
112 self.host.run('killall %s' % self.binary, ignore_status=True)
114 result = self.host.run(self.binary + ' --gtest_color=yes', ignore_status=True)
120 def __init__(self, host, native_bitness): argument
122 self.host = host
[all …]
/system/bt/
DTEST_MAPPING58 "host" : true
62 "host" : true
66 "host" : true
70 "host" : true
74 "host" : true
78 "host" : true
82 "host" : true
86 "host" : true
90 "host" : true
/system/tools/hidl/
DTEST_MAPPING5 "host": true
8 "name": "libhidl-gen-host-utils_test",
9 "host": true
13 "host": true
23 "host": true
/system/extras/multinetwork/
Dhttpurl.cpp38 std::string host; member
54 parameters->host = std::string(args.arg1).substr(strlen(HTTP_PREFIX)); in parseUrl()
55 const auto first_slash = parameters->host.find_first_of('/'); in parseUrl()
57 parameters->path = parameters->host.substr(first_slash); in parseUrl()
58 parameters->host.erase(first_slash); in parseUrl()
61 if (parameters->host.size() == 0) { in parseUrl()
66 if (parameters->host[0] == '[') { in parseUrl()
67 const auto closing_bracket = parameters->host.find_first_of(']'); in parseUrl()
72 parameters->hostname = parameters->host.substr(1, closing_bracket - 1); in parseUrl()
75 if (colon_port < parameters->host.size()) { in parseUrl()
[all …]
Dcommon.cpp124 char host[INET6_ADDRSTRLEN]; in inetSockaddrToString() local
127 host, sizeof(host), in inetSockaddrToString()
132 return std::string(host); in inetSockaddrToString()
134 return (is_ipv6 ? "[" : "") + std::string(host) + (is_ipv6 ? "]:" : ":") + std::string(port); in inetSockaddrToString()
Dquick_test.sh42 for host in $TEST_HOST $IPADDRESSES; do
43 urls=$(getUrls $host)
/system/libvintf/
DTEST_MAPPING8 "host": true
15 "host": true
22 "host": true
26 "host": true
/system/core/adb/
DSERVICES.TXT7 host:version
10 host:kill
15 host:devices
16 host:devices-l
23 host:track-devices
24 This is a variant of host:devices which doesn't close the
31 host:emulator:<port>
41 host:transport:<serial-number>
47 host:transport-usb
49 to the host machine. This will fail if there are more than one such
[all …]
Dservices.cpp137 static void connect_service(unique_fd fd, std::string host) { in connect_service() argument
139 if (!strncmp(host.c_str(), "emu:", 4)) { in connect_service()
140 connect_emulator(host.c_str() + 4, &response); in connect_service()
142 connect_device(host, &response); in connect_service()
149 static void pair_service(unique_fd fd, std::string host, std::string password) { in pair_service() argument
151 adb_wifi_pair_device(host, password, response); in pair_service()
255 std::string host(name); in host_service_to_socket() local
257 "connect", std::bind(connect_service, std::placeholders::_1, host)); in host_service_to_socket()
265 std::string host(divider + 1); in host_service_to_socket() local
267 "pair", std::bind(pair_service, std::placeholders::_1, host, password)); in host_service_to_socket()
/system/chre/
DAndroid.mk50 host/common/fragmented_load_transaction.cc \
51 host/common/host_protocol_host.cc \
52 host/common/socket_server.cc \
53 host/msm/daemon/chre_daemon.cc \
54 host/msm/daemon/generated/chre_slpi_stub.c \
60 system/chre/host/common/include \
61 system/chre/host/msm/daemon \
DAndroid.bp21 "host/common/include",
26 "host/common/fragmented_load_transaction.cc",
27 "host/common/host_protocol_host.cc",
28 "host/common/socket_client.cc",
49 "host/common/test/chre_test_client.cc",
68 "host/common/audio_stress_test/audio_stress_test.cc",
85 "host/hal_generic/generic_context_hub.cc",
/system/chre/host/
DREADME.md1 A collection of CHRE-related code that runs on the host processor. Note that
2 "host" in this case refers to CHRE's perspective of host, i.e. it's the
3 applications processor, as opposed to the Android build perspective, where host
/system/bt/gd/
DTEST_MAPPING5 "host" : true
9 "host" : true
13 "host" : true
/system/core/libbacktrace/testdata/x86_64/
Doffline_testdata37 …b40000 offset: 0 load_bias: 0 flags: 5 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
38 …00 offset: 25000 load_bias: 0 flags: 1 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
39 …00 offset: 26000 load_bias: 0 flags: 3 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
42 …c62000 offset: 0 load_bias: 0 flags: 5 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
43 …00 offset: f2000 load_bias: 0 flags: 0 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
44 …00 offset: f2000 load_bias: 0 flags: 1 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
45 …00 offset: fa000 load_bias: 0 flags: 3 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
47 …c8d000 offset: 0 load_bias: 0 flags: 5 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
48 …00 offset: 1c000 load_bias: 0 flags: 1 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
49 …00 offset: 1d000 load_bias: 0 flags: 3 name: /ssd/android/aosp_master/out/host/linux-x86/lib64/lib…
[all …]
/system/core/libbacktrace/testdata/x86/
Doffline_testdata3 …07f000 offset: 0 load_bias: 0 flags: 5 name: /ssd/android/aosp_master/out/host/linux-x86/lib/liblz…
4 …00 offset: 22000 load_bias: 0 flags: 1 name: /ssd/android/aosp_master/out/host/linux-x86/lib/liblz…
5 …00 offset: 23000 load_bias: 0 flags: 3 name: /ssd/android/aosp_master/out/host/linux-x86/lib/liblz…
36 …425000 offset: 0 load_bias: 0 flags: 5 name: /ssd/android/aosp_master/out/host/linux-x86/lib/libc+…
37 …00 offset: f4000 load_bias: 0 flags: 0 name: /ssd/android/aosp_master/out/host/linux-x86/lib/libc+…
38 …00 offset: f4000 load_bias: 0 flags: 1 name: /ssd/android/aosp_master/out/host/linux-x86/lib/libc+…
39 …00 offset: f8000 load_bias: 0 flags: 3 name: /ssd/android/aosp_master/out/host/linux-x86/lib/libc+…
41 …446000 offset: 0 load_bias: 0 flags: 5 name: /ssd/android/aosp_master/out/host/linux-x86/lib/libun…
42 …00 offset: 18000 load_bias: 0 flags: 1 name: /ssd/android/aosp_master/out/host/linux-x86/lib/libun…
43 …00 offset: 19000 load_bias: 0 flags: 3 name: /ssd/android/aosp_master/out/host/linux-x86/lib/libun…
[all …]
/system/bt/gd/dumpsys/internal/test_data/
Dmkfiles1 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp string.fbs
3 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp integer.fbs
5 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp float.fbs
7 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp struct.fbs
/system/media/audio_utils/tests/
DAndroid.bp82 host: {
158 host: {
182 host: {
206 host: {
230 host: {
253 host: {
287 host: {
349 host: {
372 host: {
/system/core/adb/client/
Dadb_wifi.cpp160 bool adb_wifi_is_known_host(const std::string& host) { in adb_wifi_is_known_host() argument
173 if (host == host_info.guid()) { in adb_wifi_is_known_host()
180 void adb_wifi_pair_device(const std::string& host, const std::string& password, in adb_wifi_pair_device() argument
182 auto mdns_info = mdns_get_pairing_service_info(host); in adb_wifi_pair_device()
189 if (!android::base::ParseNetAddress(host, &parsed_host, &port, nullptr, &err)) { in adb_wifi_pair_device()
194 response = "Invalid port while parsing address [" + host + "]"; in adb_wifi_pair_device()
230 : host, in adb_wifi_pair_device()
248 response = "Successfully paired to " + host + " [guid=" + device_guid + "]"; in adb_wifi_pair_device()
/system/core/fs_mgr/libfs_avb/
DTEST_MAPPING5 "host": true
9 "host": true
/system/core/libcutils/
Dsocket_network_client_unix.cpp46 int socket_network_client_timeout(const char* host, int port, int type, int timeout, in socket_network_client_timeout() argument
57 *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs); in socket_network_client_timeout()
122 int socket_network_client(const char* host, int port, int type) { in socket_network_client() argument
124 return socket_network_client_timeout(host, port, type, 0, &getaddrinfo_error); in socket_network_client()
Dsocket_network_client_windows.cpp33 SOCKET socket_network_client(const char* host, int port, int type) { in socket_network_client() argument
46 if (getaddrinfo(host, port_str, &hints, &address) != 0 || address == NULL) { in socket_network_client()
/system/bt/btcore/
DAndroid.bp1 // libbtcore static library for target and host
27 // Note: It's good to get the tests compiled both for the host and the target so
29 // libbtcore unit tests for target and host
/system/tools/hidl/test/
Drun_all_host_tests.sh20 libhidl-gen-host-utils_test \
33 $ANDROID_BUILD_TOP/out/host/linux-x86/$bits/$test/$test ||

12345678