Searched defs:type (Results 1 - 25 of 275) sorted by relevance

1234567891011

/system/core/libcutils/
H A Dsocket_loopback_client_unix.c32 /* Connect to port on the loopback IP interface. type is
36 int socket_loopback_client(int port, int type) argument
46 s = socket(AF_INET, type, 0);
H A Dsocket_inaddr_any_server_unix.c33 int socket_inaddr_any_server(int port, int type) argument
43 s = socket(AF_INET6, type, 0);
54 if (type == SOCK_STREAM) {
H A Dsocket_inaddr_any_server_windows.c37 SOCKET socket_inaddr_any_server(int port, int type) { argument
42 SOCKET sock = socket(AF_INET6, type, 0);
73 if (type == SOCK_STREAM && listen(sock, LISTEN_BACKLOG) == SOCKET_ERROR) {
H A Dsocket_loopback_server_unix.c35 int socket_loopback_server(int port, int type) argument
45 s = socket(AF_INET, type, 0);
56 if (type == SOCK_STREAM) {
H A Dsocket_network_client_windows.c33 SOCKET socket_network_client(const char* host, int port, int type) { argument
41 hints.ai_socktype = type;
/system/update_engine/update_manager/
H A Dboxed_value.cc94 static string ConnectionTypeToString(ConnectionType type) { argument
95 switch (type) {
125 ConnectionType type = it; local
128 ret += ConnectionTypeToString(type);
/system/bt/btif/include/
H A Dbtif_debug_btsnoop.h37 uint8_t type; member in struct:btsnooz_header_t
/system/bt/hci/src/
H A Dbtsnoop_mem.c37 const uint16_t type = packet->event & BT_EVT_MASK; local
40 switch (type) {
65 (*data_callback)(type, data, length);
/system/connectivity/apmanager/
H A Derror.cc38 void Error::Populate(Type type, argument
41 CHECK(type < kNumErrors) << "Error type out of range: " << type;
42 type_ = type;
75 Type type,
82 error->Populate(type, message, from_here);
H A Derror_unittest.cc40 void PopulateError(Error* error, Error::Type type) { argument
41 error->type_ = type;
44 void PopulateError(Error* error, Error::Type type, string message) { argument
45 error->type_ = type;
49 void VerifyDBusError(Error::Type type, const string& expected_error_code) { argument
52 PopulateError(&e, type, kMessage);
64 EXPECT_EQ(Error::kSuccess, e.type());
/system/connectivity/shill/
H A Derror.cc69 Error::Error(Type type) { argument
70 Populate(type);
73 Error::Error(Type type, const string& message) { argument
74 Populate(type, message);
79 void Error::Populate(Type type) { argument
80 Populate(type, GetDefaultMessage(type));
83 void Error::Populate(Type type, const string& message) { argument
84 CHECK(type < kNumErrors) << "Error type ou
[all...]
H A Dstatic_ip_parameters.h79 // Properties of type "Strings" are stored as a comma-separated list
86 Type type; member in struct:shill::StaticIPParameters::Property
/system/connectivity/shill/net/
H A Dndisc.h31 uint8_t type; member in struct:NDUserOptionHeader
37 // Neighbor Discovery user option type definition.
H A Drtnl_listener.cc42 void RTNLListener::NotifyEvent(int type, const RTNLMessage& msg) { argument
43 if ((type & listen_flags_) != 0)
/system/core/libnetutils/
H A Ddhcpmsg.c24 static void *init_dhcp_msg(dhcp_msg *msg, int type, void *hwaddr, uint32_t xid) argument
50 *x++ = type;
/system/extras/tests/kernel.config/
H A Dsysvipc_test.cpp26 int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2) { argument
27 return syscall(SYS_kcmp, pid1, pid2, type, 0, idx1, idx2);
/system/bt/osi/src/
H A Ddata_dispatcher.c72 void data_dispatcher_register(data_dispatcher_t *dispatcher, data_dispatcher_type_t type, fixed_queue_t *queue) { argument
75 hash_map_erase(dispatcher->dispatch_table, (void *)type);
77 hash_map_set(dispatcher->dispatch_table, (void *)type, queue);
86 bool data_dispatcher_dispatch(data_dispatcher_t *dispatcher, data_dispatcher_type_t type, void *data) { argument
90 fixed_queue_t *queue = hash_map_get(dispatcher->dispatch_table, (void *)type);
97 LOG_WARN(LOG_TAG, "%s has no handler for type (%zd) in data dispatcher named: %s", __func__, type, dispatcher->name);
/system/bt/osi/src/socket_utils/
H A Dsocket_local_client.c113 int type UNUSED_ATTR) {
139 int osi_socket_local_client(const char *name, int namespaceId, int type) { argument
142 s = socket(AF_LOCAL, type, 0);
145 if (0 > osi_socket_local_client_connect(s, name, namespaceId, type)) {
H A Dsocket_local_server.c33 /* Only the bottom bits are really the socket type; there are flags too. */
80 int osi_socket_local_server(const char *name, int namespace, int type) { argument
84 s = socket(AF_LOCAL, type, 0);
94 if ((type & SOCK_TYPE_MASK) == SOCK_STREAM) {
/system/bt/service/ipc/
H A Dipc_manager.cpp38 bool IPCManager::Start(Type type, Delegate* delegate) { argument
39 switch (type) {
67 LOG(ERROR) << "Unsupported IPC type given: " << type;
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dpacket.cc31 Packet::Packet(serial_data_type_t type) : type_(type) {} argument
53 // Add one for the type octet.
/system/connectivity/shill/cellular/
H A Dcellular_error.cc52 Error::Type type; local
55 type = Error::kIncorrectPin;
57 type = Error::kPinRequired;
59 type = Error::kPinBlocked;
61 type = Error::kInvalidApn;
63 type = Error::kOperationFailed;
66 return error->Populate(type, msg);
68 return error->Populate(type);
H A Dcellular_error_mm1.cc65 Error::Type type; local
68 type = Error::kIncorrectPin;
70 type = Error::kPinRequired;
72 type = Error::kPinBlocked;
74 type = Error::kInvalidApn;
76 type = Error::kInvalidApn;
78 type = Error::kWrongState;
80 type = Error::kOperationFailed;
83 return error->Populate(type, msg);
85 return error->Populate(type);
[all...]
H A Dmock_cellular.cc32 Type type,
35 : Cellular(modem_info, link_name, address, interface_index, type,
28 MockCellular(ModemInfo* modem_info, const std::string& link_name, const std::string& address, int interface_index, Type type, const std::string& service, const std::string& path) argument
/system/core/fastboot/
H A Dsocket_mock.h90 EventType type; member in struct:SocketMock::Event

Completed in 783 milliseconds

1234567891011