/system/bt/hci/src/ |
H A D | buffer_allocator.c | 29 static const allocator_t interface = { variable 35 return &interface;
|
H A D | hci_hal_mct.c | 36 // Our interface and modules we import 37 static const hci_hal_t interface; variable 114 interface.close(); 192 static const hci_hal_t interface = { variable 205 return &interface; 210 return &interface;
|
H A D | hci_inject.c | 52 static const hci_inject_t interface; variable 95 interface.close(); 201 static const hci_inject_t interface = { variable 208 return &interface;
|
H A D | vendor.c | 36 static const vendor_t interface; variable 217 static const vendor_t interface = { variable 227 return &interface;
|
/system/core/libnetutils/ |
H A D | dhcptool.c | 32 char* interface = argv[1]; local 34 err(errno, "dhcptool %s: ifc_init failed", interface); 39 int rc = do_dhcp(interface); 41 err(errno, "dhcptool %s: do_dhcp failed", interface);
|
/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 | 35 bool Network::hasInterface(const std::string& interface) const { 36 return mInterfaces.find(interface) != mInterfaces.end(); 47 std::string interface = *mInterfaces.begin(); local 48 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 | 27 WARN_UNUSED_RESULT int addToDefault(unsigned netId, const std::string& interface, argument 29 if (int ret = RouteController::addInterfaceToDefaultNetwork(interface.c_str(), permission)) { 30 ALOGE("failed to add interface %s to default netId %u", interface.c_str(), netId); 33 if (int ret = delegate->addFallthrough(interface, permission)) { 39 WARN_UNUSED_RESULT int removeFromDefault(unsigned netId, const std::string& interface, argument 42 if (int ret = RouteController::removeInterfaceFromDefaultNetwork(interface.c_str(), 44 ALOGE("failed to remove interface %s from default netId %u", interface.c_str(), netId); 47 if (int ret = delegate->removeFallthrough(interface, permissio 152 addInterface(const std::string& interface) argument 170 removeInterface(const std::string& interface) argument [all...] |
H A D | VirtualNetwork.cpp | 69 for (const std::string& interface : mInterfaces) { 70 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, 72 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); 84 for (const std::string& interface : mInterfaces) { 85 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), 87 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId); 99 int VirtualNetwork::addInterface(const std::string& interface) { argument 100 if (hasInterface(interface)) { 112 removeInterface(const std::string& interface) argument [all...] |
/system/connectivity/apmanager/ |
H A D | firewall_manager.cc | 46 void FirewallManager::RequestDHCPPortAccess(const std::string& interface) { argument 48 if (dhcp_access_interfaces_.find(interface) != 50 LOG(ERROR) << "DHCP access already requested for interface: " << interface; 53 firewall_proxy_->RequestUdpPortAccess(interface, kDhcpServerPort); 54 dhcp_access_interfaces_.insert(interface); 57 void FirewallManager::ReleaseDHCPPortAccess(const std::string& interface) { argument 59 if (dhcp_access_interfaces_.find(interface) == 61 LOG(ERROR) << "DHCP access has not been requested for interface: " 62 << interface; [all...] |
H A D | manager.cc | 76 // Look for an unused device with AP interface mode support. 119 void Manager::RequestDHCPPortAccess(const string& interface) { argument 120 firewall_manager_.RequestDHCPPortAccess(interface); 123 void Manager::ReleaseDHCPPortAccess(const string& interface) { argument 124 firewall_manager_.ReleaseDHCPPortAccess(interface);
|
H A D | config_unittest.cc | 62 "interface=uap0\n" 71 "interface=uap0\n" 80 "interface=uap0\n" 95 "interface=uap0\n" 106 "interface=uap0\n" 116 "interface=uap0\n" 141 void SetupDevice(const std::string& interface) { argument 144 device_->SetPreferredApInterface(interface); 145 EXPECT_CALL(manager_, GetDeviceFromInterfaceName(interface)) 296 "Unable to find device for the specified interface"); [all...] |
/system/connectivity/shill/dbus/ |
H A D | chromeos_dhcpcd_proxy.cc | 42 void ChromeosDHCPCDProxy::Rebind(const string& interface) { argument 45 if (!dhcpcd_proxy_->Rebind(interface, &error)) { 46 LogDBusError(error, __func__, interface); 50 void ChromeosDHCPCDProxy::Release(const string& interface) { argument 53 if (!dhcpcd_proxy_->Release(interface, &error)) { 54 LogDBusError(error, __func__, interface); 60 const string& interface) { 65 LOG(FATAL) << "DBus error: " << method << " " << interface << ": " 58 LogDBusError(const brillo::ErrorPtr& error, const string& method, const string& interface) argument
|
H A D | chromeos_firewalld_proxy.cc | 37 const std::string& interface) { 46 if (!proxy_->RequestVpnSetup(user_names, interface, &success, &error)) { 35 RequestVpnSetup( const std::vector<std::string>& user_names, const std::string& interface) argument
|
H A D | chromeos_permission_broker_proxy.cc | 42 const std::string& interface) { 64 user_names, interface, dbus_fd, &success, &error)) { 40 RequestVpnSetup( const std::vector<std::string>& user_names, const std::string& interface) argument
|
H A D | chromeos_dbus_properties_proxy.cc | 84 const string& interface, 86 SLOG(&proxy_->GetObjectPath(), 2) << __func__ << "(" << interface << ")"; local 89 mm_properties_changed_callback_.Run(interface, properties_store); 93 const string& interface, 96 SLOG(&proxy_->GetObjectPath(), 2) << __func__ << "(" << interface << ")"; local 101 interface, properties_store, invalidated_properties); 107 << "interface: " << interface_name 111 << " to interface " << interface_name; 83 MmPropertiesChanged( const string& interface, const brillo::VariantDictionary& properties) argument 92 PropertiesChanged( const string& interface, const brillo::VariantDictionary& changed_properties, const vector<string>& invalidated_properties) argument
|
/system/connectivity/apmanager/dbus/ |
H A D | firewalld_dbus_proxy.cc | 51 bool FirewalldDBusProxy::RequestUdpPortAccess(const string& interface, argument 60 if (!proxy_->PunchUdpHole(port, interface, &success, &error)) { 67 << " on interface " << interface << " is denied"; local 71 << " on interface " << interface; local 75 bool FirewalldDBusProxy::ReleaseUdpPortAccess(const string& interface, argument 84 if (!proxy_->PlugUdpHole(port, interface, &success, &error)) { 91 << " on interface " << interface << " i local 95 << " on interface " << interface; local [all...] |
H A D | permission_broker_dbus_proxy.cc | 62 bool PermissionBrokerDBusProxy::RequestUdpPortAccess(const string& interface, argument 75 if (!proxy_->RequestUdpPortAccess(port, interface, fd, &allowed, &error)) { 82 << " on interface " << interface << " is denied"; local 86 << " on interface " << interface; local 90 bool PermissionBrokerDBusProxy::ReleaseUdpPortAccess(const string& interface, argument 99 if (!proxy_->ReleaseUdpPort(port, interface, &success, &error)) { 106 << " on interface " << interface << " i local 110 << " on interface " << interface; local [all...] |
/system/firewalld/ |
H A D | iptables_unittest.cc | 91 // We should not be adding any rules for invalid interface names. 192 const std::string interface = "ifc0"; local 196 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)) 208 mock_iptables.ApplyVpnSetup(usernames, interface, add)); 213 const std::string interface = "ifc0"; local 218 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)) 235 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove)) 252 mock_iptables.ApplyVpnSetup(usernames, interface, add)); 257 const std::string interface = "ifc0"; local 262 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, ad 286 const std::string interface = "ifc0"; local 304 const std::string interface = "ifc0"; local 328 const std::string interface = "ifc0"; local [all...] |
/system/bt/btif/src/ |
H A D | btif_sock.c | 46 static btsock_interface_t interface = { local 47 sizeof(interface), 53 return &interface;
|
H A D | stack_manager.c | 243 static const stack_manager_t interface = { variable 254 return &interface;
|
/system/bt/main/ |
H A D | stack_config.c | 122 const stack_config_t interface = { variable 136 return &interface;
|
/system/connectivity/shill/vpn/ |
H A D | third_party_vpn_driver_unittest.cc | 91 const std::string interface = kInterfaceName; local 97 .WillOnce(DoAll(SetArgumentPointee<0>(interface), Return(true))); 104 EXPECT_CALL(device_info_, OpenTunnelInterface(interface)) 111 EXPECT_TRUE(driver_->ClaimInterface(interface, kInterfaceIndex));
|
/system/tpm/tpm_manager/server/ |
H A D | dbus_service_test.cc | 64 const std::string& interface) { 66 interface); 77 const std::string& method_name, const std::string& interface) { 79 interface, method_name)); 61 ExecuteMethod(const std::string& method_name, const RequestProtobufType& request, ReplyProtobufType* reply, const std::string& interface) argument 76 CreateMethodCall( const std::string& method_name, const std::string& interface) argument
|