Home
last modified time | relevance | path

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

123456789

/system/tools/aidl/tests/
Daidl_integration_test.py105 def __init__(self, host, bitness): argument
107 self.host = host
110 self.host.run('killall %s' % self.binary, ignore_status=True)
112 return self.host.run(self.binary, background=True)
116 self.host.run('killall %s' % self.binary, ignore_status=True)
118 result = self.host.run(self.binary + ' --gtest_color=yes', ignore_status=True)
124 def __init__(self, host, bitness): argument
126 self.host = host
130 def __init__(self, host, bitness): argument
132 self.host = host
[all …]
/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()
Dparsenetaddress_fuzzer.cpp24 std::string canonical, host, error; in LLVMFuzzerTestOneInput() local
26 android::base::ParseNetAddress(contents, &host, &port, &canonical, &error); in LLVMFuzzerTestOneInput()
/system/chre/
DAndroid.mk56 host/common/fbs_daemon_base.cc \
57 host/msm/daemon/fastrpc_daemon.cc \
58 host/msm/daemon/main.cc \
59 host/msm/daemon/generated/chre_slpi_stub.c
62 system/chre/host/msm/daemon
65 host/common/daemon_base.cc \
66 host/common/config_util.cc \
67 host/common/file_stream.cc \
68 host/common/fragmented_load_transaction.cc \
69 host/common/host_protocol_host.cc \
[all …]
DAndroid.bp50 "host/common/preloaded_nanoapp_loader.cc",
51 "host/common/time_syncer.cc",
52 "host/common/config_util.cc",
53 "host/common/log_message_parser.cc",
54 "host/common/bt_snoop_log_parser.cc",
55 "host/hal_generic/common/permissions_util.cc",
56 "host/hal_generic/common/hal_client_manager.cc",
57 "host/hal_generic/common/multi_client_context_hub_base.cc",
65 "host/common/include",
70 "host/common/file_stream.cc",
[all …]
/system/extras/multinetwork/
Dhttpurl.cpp38 std::string host; member
50 parameters->host = StringPrintf("%d-%d-ipv6test.ds.metric.gstatic.com", rand(), rand()); in parseUrl()
51 parameters->hostname = parameters->host; in parseUrl()
62 parameters->host = std::string(args.arg1).substr(strlen(HTTP_PREFIX)); in parseUrl()
63 const auto first_slash = parameters->host.find_first_of('/'); in parseUrl()
65 parameters->path = parameters->host.substr(first_slash); in parseUrl()
66 parameters->host.erase(first_slash); in parseUrl()
69 if (parameters->host.size() == 0) { in parseUrl()
74 if (parameters->host[0] == '[') { in parseUrl()
75 const auto closing_bracket = parameters->host.find_first_of(']'); in parseUrl()
[all …]
Dcommon.cpp136 char host[INET6_ADDRSTRLEN]; in inetSockaddrToString() local
139 host, sizeof(host), in inetSockaddrToString()
144 return std::string(host); in inetSockaddrToString()
146 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/chre/apps/nearby/location/lbs/contexthub/nanoapps/proto/
Dfilter.proto9 // Types of messages between host and CHRE.
13 // Success response to host operation (from CHRE).
15 // Failure response to host operation (from CHRE).
17 // Message from host to CHRE to set Filters.
19 // Notification from CHRE to host with FilterResults as payload.
23 // Message from host to CHRE to set Filter extensions.
/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/media/audio_utils/tests/
DAndroid.bp217 host: {
293 host: {
317 host: {
341 host: {
377 host: {
401 host: {
424 host: {
441 host: {
463 host: {
526 host: {
[all …]
/system/extras/simpleperf/doc/
Dcollect_etm_data_for_autofdo.md44 to be converted on host, with vmlinux and kernel modules available.
57 # pull ETM data to host.
58 host $ adb pull /data/local/tmp/branch_list.data
60 # host simpleperf is in <aosp-top>/system/extras/simpleperf/scripts/bin/linux/x86_64/simpleperf,
62 host $ simpleperf inject --symdir <binary_dir> -i branch_list.data
94 host $ autofdo/create_llvm_prof -profile perf_inject_binary1.data -profiler text -binary path_of_bi…
97 host $ autofdo/create_llvm_prof -profile perf_inject_kernel.data -profiler text -binary vmlinux -ou…
113 (host) <AOSP>$ . build/envsetup.sh
114 (host) <AOSP>$ lunch aosp_arm64-userdebug
115 (host) <AOSP>$ make etm_test_loop
[all …]
/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/chre/apps/test/common/proto/
Dchre_stress_test.proto8 // Nanoapp message type can be either host to chre (H2C) or chre to host (C2H)
23 // WiFi scan while enabling scan monitoring. This can be used for the host
28 // H2C: A message indicating that the host client has restarted. The nanoapp
29 // should use this message to update its host endpoint tracking when sending
Dping_test.proto8 // Nanoapp message type can be either host to chre (H2C) or chre to host (C2H)
13 // H2C: A message to ping the nanoapp. The nanoapp will respond to the host
Dpermission_test.proto8 // Nanoapp message type can be either host to chre (H2C) or chre to host (C2H)
/system/core/fs_mgr/libfs_avb/
Drun_tests.sh4 atest --host libfs_avb_test # Tests public libfs_avb APIs.
9 atest --host libfs_avb_internal_test -- --test-arg \
/system/chre/platform/shared/idl/
Dhost_messages.fbs17 /// Represents a message sent to/from a nanoapp from/to a client on the host
22 /// Identifies the host-side endpoint on the host that sent or should receive
31 /// nanoapp to the host.
36 /// List of Android permissions declared by the nanoapp / granted to the host.
37 /// For messages from a nanoaapp to the host, this must be a superset of
41 // If true, the message has awakened the host AP (i.e. the AP has transitioned
258 /// A request from CHRE for host to initiate a time sync message
265 /// CHRE needs it. The host does not send a response.
287 /// Notification from the host that a system setting has changed
373 // Message sent whenever a host endpoint has connected with the Context Hub.
[all …]
/system/core/libcutils/include_outside_system/cutils/
Dsockets.h87 cutils_socket_t socket_network_client(const char* host, int port, int type);
88 int socket_network_client_timeout(const char* host, int port, int type,
/system/core/libcutils/include/cutils/
Dsockets.h87 cutils_socket_t socket_network_client(const char* host, int port, int type);
88 int socket_network_client_timeout(const char* host, int port, int type,
/system/extras/simpleperf/
DREADME.md34 For testing, I usually only run python host tests as below:
36 $ ./scripts/test/test.py --only-host-test
63 1. Test on android emulators running on linux x86_64 host, for android version N/O/P/Q/R/S/current.
75 1. Test on android devices connected to linux x86_64 host, for android version O/P/Q/R/S/current.
81 3. Test on an android device connected to darwin x86_64 host, for one of android version O/P/Q/R/S/…
87 4. Test on an android device connected to darwin x86_64 host, for one of android version O/P/Q/R/S/…
/system/tools/hidl/
DAndroid.bp39 host: {
113 "libhidl-gen-host-utils",
119 "libhidl-gen-host-utils",
150 "libhidl-gen-host-utils",
175 "libhidl-gen-host-utils",
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/
Dfilter_extension.cc42 const chreHostEndpointInfo &host = in Update() local
70 &host, &scan_filter, &config, &config_result->vendor_status)); in Update()
79 LOGD("Remove host: id (%d), package name (%s)", host.hostEndpointId, in Update()
80 host.isNameValid ? host.packageName : "unknown"); in Update()

123456789