/system/bt/hci/src/ |
H A D | buffer_allocator.c | 30 static const allocator_t interface = { variable 36 return &interface;
|
H A D | hci_hal_h4.c | 34 // Our interface and modules we import 35 static const hci_hal_t interface; variable 89 interface.close(); 191 static const hci_hal_t interface = { variable 204 return &interface; 209 return &interface;
|
H A D | hci_hal_mct.c | 35 // Our interface and modules we import 36 static const hci_hal_t interface; variable 113 interface.close(); 190 static const hci_hal_t interface = { variable 203 return &interface; 208 return &interface;
|
H A D | hci_inject.c | 51 static const hci_inject_t interface; variable 94 interface.close(); 205 static const hci_inject_t interface = { variable 212 return &interface;
|
H A D | hci_packet_factory.c | 178 static const hci_packet_factory_t interface = { variable 201 return &interface;
|
H A D | packet_fragmenter.c | 47 // Our interface and callbacks 48 static const packet_fragmenter_t interface; variable 208 static const packet_fragmenter_t interface = { variable 219 return &interface; 227 return &interface;
|
H A D | vendor.c | 35 static const vendor_t interface; variable 201 static const vendor_t interface = { variable 211 return &interface;
|
H A D | btsnoop.c | 128 static const btsnoop_t interface = { variable 135 return &interface;
|
H A D | hci_packet_parser.c | 227 static const hci_packet_parser_t interface = { variable 244 return &interface; 250 return &interface;
|
H A D | low_power_manager.c | 45 // Our interface and modules we import 46 static const low_power_manager_t interface; variable 226 static const low_power_manager_t interface = { variable 236 return &interface; 241 return &interface;
|
/system/core/libnetutils/ |
H A D | dhcptool.c | 30 char* interface = argv[1]; local 32 error(EXIT_FAILURE, errno, "dhcptool %s: ifc_init failed", interface); 35 int rc = do_dhcp(interface); 37 error(0, errno, "dhcptool %s: do_dhcp failed", interface);
|
H A D | dhcp_utils.c | 37 /* interface length for dhcpcd daemon start (dhcpcd_<interface> as defined in init.rc file) 38 * or for filling up system properties dhcpcd.<interface>.ipaddress, dhcpcd.<interface>.dns1 44 * P2p interface names increase sequentially p2p-p2p0-1, p2p-p2p0-2.. after 47 * interface to be pre-defined in init.rc file. 51 void get_p2p_interface_replacement(const char *interface, char *p2p_interface) { argument 52 /* Use p2p for any interface starting with p2p. */ 53 if (strncmp(interface, "p2p",3) == 0) { 56 strncpy(p2p_interface, interface, MAX_INTERFACE_LENGT 89 fill_ip_info(const char *interface, char *ipaddr, char *gateway, uint32_t *prefixLength, char *dns[], char *server, uint32_t *lease, char *vendorInfo, char *domain, char *mtu) argument 174 dhcp_get_results(const char *interface, char *ipaddr, char *gateway, uint32_t *prefixLength, char *dns[], char *server, uint32_t *lease, char *vendorInfo, char *domain, char *mtu) argument 221 dhcp_start(const char *interface) argument 271 dhcp_stop(const char *interface) argument 305 dhcp_release_lease(const char *interface) argument 341 dhcp_start_renew(const char *interface) argument [all...] |
/system/netd/server/ |
H A D | LocalNetwork.cpp | 34 int LocalNetwork::addInterface(const std::string& interface) { argument 35 if (hasInterface(interface)) { 38 if (int ret = RouteController::addInterfaceToLocalNetwork(mNetId, interface.c_str())) { 39 ALOGE("failed to add interface %s to local netId %u", interface.c_str(), mNetId); 42 mInterfaces.insert(interface); 46 int LocalNetwork::removeInterface(const std::string& interface) { argument 47 if (!hasInterface(interface)) { 50 if (int ret = RouteController::removeInterfaceFromLocalNetwork(mNetId, interface.c_str())) { 51 ALOGE("failed to remove interface [all...] |
H A D | Network.cpp | 32 bool Network::hasInterface(const std::string& interface) const { 33 return mInterfaces.find(interface) != mInterfaces.end(); 44 std::string interface = *mInterfaces.begin(); local 45 if (int ret = removeInterface(interface)) {
|
H A D | ClatdController.cpp | 44 // Returns the PID of the clatd running on interface |interface|, or 0 if clatd is not running on 45 // |interface|. 46 pid_t ClatdController::getClatdPid(char* interface) { argument 47 auto it = mClatdPids.find(interface); 51 int ClatdController::startClatd(char* interface) { argument 52 pid_t pid = getClatdPid(interface); 55 ALOGE("clatd pid=%d already started on %s", pid, interface); 60 // Pass in the interface, a netid to use for DNS lookups, and a fwmark for outgoing packets. 61 unsigned netId = mNetCtrl->getNetworkForInterface(interface); 116 stopClatd(char* interface) argument 135 isClatdStarted(char* interface) argument [all...] |
H A D | PhysicalNetwork.cpp | 26 WARN_UNUSED_RESULT int addToDefault(unsigned netId, const std::string& interface, argument 28 if (int ret = RouteController::addInterfaceToDefaultNetwork(interface.c_str(), permission)) { 29 ALOGE("failed to add interface %s to default netId %u", interface.c_str(), netId); 32 if (int ret = delegate->addFallthrough(interface, permission)) { 38 WARN_UNUSED_RESULT int removeFromDefault(unsigned netId, const std::string& interface, argument 41 if (int ret = RouteController::removeInterfaceFromDefaultNetwork(interface.c_str(), 43 ALOGE("failed to remove interface %s from default netId %u", interface.c_str(), netId); 46 if (int ret = delegate->removeFallthrough(interface, permissio 124 addInterface(const std::string& interface) argument 142 removeInterface(const std::string& interface) argument [all...] |
H A D | VirtualNetwork.cpp | 44 for (const std::string& interface : mInterfaces) { 45 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, 47 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); 56 for (const std::string& interface : mInterfaces) { 57 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), 59 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId); 71 int VirtualNetwork::addInterface(const std::string& interface) { argument 72 if (hasInterface(interface)) { 84 removeInterface(const std::string& interface) argument [all...] |
H A D | InterfaceController.cpp | 101 // When sending traffic via a given interface use only addresses configured 102 // on that interface as possible source addresses. 109 int InterfaceController::setEnableIPv6(const char *interface, const int on) { argument 110 if (!isIfaceName(interface)) { 116 // addresses and routes and disables IPv6 on the interface. 118 return writeValueToPath(ipv6_proc_path, interface, "disable_ipv6", disable_ipv6); 121 int InterfaceController::setIPv6PrivacyExtensions(const char *interface, const int on) { argument 122 if (!isIfaceName(interface)) { 128 return writeValueToPath(ipv6_proc_path, interface, "use_tempaddr", on ? "2" : "0"); 134 int InterfaceController::setIPv6NdOffload(char* interface, cons argument 169 setMtu(const char *interface, const char *mtu) argument [all...] |
H A D | TetherController.cpp | 310 int TetherController::tetherInterface(const char *interface) { argument 311 ALOGD("tetherInterface(%s)", interface); 312 if (!isIfaceName(interface)) { 316 mInterfaces->push_back(strdup(interface)); 321 if (!strcmp(interface, *it)) { 333 int TetherController::untetherInterface(const char *interface) { argument 336 ALOGD("untetherInterface(%s)", interface); 339 if (!strcmp(interface, *it)) {
|
/system/bt/main/ |
H A D | stack_config.c | 89 const stack_config_t interface = { variable 98 return &interface;
|
/system/bt/btif/src/ |
H A D | btif_sock.c | 44 static btsock_interface_t interface = { local 45 sizeof(interface), 51 return &interface;
|
H A D | stack_manager.c | 217 static const stack_manager_t interface = { variable 228 return &interface;
|
/system/core/fastboot/ |
H A D | usb_osx.c | 61 IOUSBInterfaceInterface190 **interface; member in struct:usb_handle 73 IOUSBInterfaceInterface190 **interface = NULL; local 99 ERR("Couldn't create a device interface iterator: (%08x)\n", kr); 120 // Now create the interface interface for the interface 124 (LPVOID) &interface); 129 if (result || !interface) { 130 ERR("Couldn't create interface interface [all...] |
/system/bt/device/src/ |
H A D | controller.c | 424 static const controller_t interface = { variable 476 return &interface; 487 return &interface;
|
/system/core/adb/ |
H A D | usb_osx.cpp | 44 IOUSBInterfaceInterface **interface; member in struct:usb_handle 74 //* adb interface 86 //* USB interface class of 0xff for class+subclass+protocol matches 124 //* Create an intermediate interface plugin 131 DBG("ERR: Unable to create an interface plug-in (%08x)\n", kr); 135 //* This gets us the interface object 139 //* We only needed the plugin to get the interface, so discard it 142 DBG("ERR: Couldn't query the interface (%08x)\n", (int) result); 151 DBG("Ignoring interface with incorrect class/subclass/protocol - %d, %d, %d\n", if_class, subclass, protocol); 157 //* device; after getting a plugin, and querying the interface, o 301 CheckInterface(IOUSBInterfaceInterface **interface, UInt16 vendor, UInt16 product) argument [all...] |