| /system/connectivity/apmanager/dbus/ |
| firewalld_dbus_proxy.cc | 51 bool FirewalldDBusProxy::RequestUdpPortAccess(const string& interface, 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, 84 if (!proxy_->PlugUdpHole(port, interface, &success, &error)) { 91 << " on interface " << interface << " is denied" local 95 << " on interface " << interface; local [all...] |
| permission_broker_dbus_proxy.cc | 62 bool PermissionBrokerDBusProxy::RequestUdpPortAccess(const string& interface, 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, 99 if (!proxy_->ReleaseUdpPort(port, interface, &success, &error)) { 106 << " on interface " << interface << " is denied" local 110 << " on interface " << interface; local [all...] |
| /system/firewalld/ |
| 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, add) 286 const std::string interface = "ifc0"; local 304 const std::string interface = "ifc0"; local 328 const std::string interface = "ifc0"; local [all...] |
| /system/netd/server/ |
| 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)) {
|
| /development/samples/ToyVpn/server/linux/ |
| ToyVpnServer.cpp | 43 // # Create a TUN interface. 46 // # Set the addresses and bring up the interface. 54 // its own TUN interface. A short shell script will be sufficient. Since this 63 int interface = open("/dev/net/tun", O_RDWR | O_NONBLOCK); local 70 if (ioctl(interface, TUNSETIFF, &ifr)) { 71 perror("Cannot get TUN interface"); 75 return interface; 174 "Note that TUN interface needs to be configured properly\n" 184 // Get TUN interface. 185 int interface = get_interface(argv[1]) local [all...] |
| /external/skia/src/gpu/gl/ |
| GrGLAssembleInterface.cpp | 82 GrGLInterface* interface = new GrGLInterface(); local 83 GrGLInterface::Functions* functions = &interface->fFunctions; 311 delete interface; 509 interface->fStandard = kGL_GrGLStandard; 510 interface->fExtensions.swap(&extensions); 512 return interface; 539 GrGLInterface* interface = new GrGLInterface; local 540 GrGLInterface::Functions* functions = &interface->fFunctions; 859 if (!interface->fFunctions.fDebugMessageControl) { [all...] |
| GrGLContext.h | 75 static GrGLContext* Create(const GrGLInterface* interface, const GrContextOptions& options); 77 const GrGLInterface* interface() const { return fInterface; } function in class:GrGLContext
|
| GrGLRenderTarget.cpp | 77 const GrGLInterface* interface = gpu->glInterface(); local 80 GR_GL_CALL(interface, FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, 83 GR_GL_CALL(interface, FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, 88 GR_GL_CALL_RET(interface, status, CheckFramebufferStatus(GR_GL_FRAMEBUFFER)); 98 GR_GL_CALL(interface, BindFramebuffer(GR_GL_FRAMEBUFFER, this->renderFBOID())); 99 GR_GL_CALL(interface, FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, 103 GR_GL_CALL(interface, FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, 107 GR_GL_CALL(interface, FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, 114 GR_GL_CALL_RET(interface, status, CheckFramebufferStatus(GR_GL_FRAMEBUFFER));
|
| /system/connectivity/shill/dbus/ |
| 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;
|
| /external/autotest/client/common_lib/cros/ |
| virtual_ethernet_pair.py | 6 ethernet interface for use in tests. You will probably need to be root on test 8 assign to both ends of the pair, however, if you wish to leave the interface 19 # bad things happened while creating the interface 24 #... do things with your interface 33 # bad things happened while creating the interface 38 #... do things with your interface 45 from autotest_lib.client.common_lib.cros.network import interface namespace 61 interface will be called |interface_name|, and the peer end 62 |peer_interface_name|. You may get the interface names later with 64 interface are manually configured with the given IPv4 address string [all...] |
| /external/autotest/server/site_tests/buffet_PrivetSetupFlow/ |
| buffet_PrivetSetupFlow.py | 10 from autotest_lib.client.common_lib.cros.network import interface namespace 84 # Get the netblock of the interface running the AP. 89 ap_interface = interface.Interface(devs[0].if_name, host=host) 102 # Connect the other interface on the router to the AP on the client 116 if (record.interface == station_interface and 155 raise error.TestFail('Timeout waiting for DUT managerd interface.') 160 managed_interface = interface.Interface(devs[0].if_name, 167 raise error.TestFail('Timeout waiting for DUT managerd interface.' [all...] |
| /external/avahi/avahi-core/ |
| browse-dns-server.c | 39 AvahiIfIndex interface; member in struct:AvahiDNSServerInfo 64 static AvahiDNSServerInfo* get_server_info(AvahiSDNSServerBrowser *b, AvahiIfIndex interface, AvahiProtocol protocol, AvahiRecord *r) { 71 if (i->interface == interface && 97 AVAHI_GCC_UNUSED AvahiIfIndex interface, 117 i->interface, 140 AvahiIfIndex interface, 162 if (get_server_info(b, interface, protocol, record)) 172 i->interface = interface; [all...] |
| querier.c | 35 AvahiInterface *interface; member in struct:AvahiQuerier 55 AVAHI_LLIST_REMOVE(AvahiQuerier, queriers, q->interface->queriers, q); 56 avahi_hashmap_remove(q->interface->queriers_by_key, q->key); 80 if (avahi_interface_post_query(q->interface, q->key, 0, &q->post_id)) { 123 q->interface = i;
|
| resolve-address.c | 45 AvahiIfIndex interface; member in struct:AvahiSAddressResolver 67 r->callback(r, r->interface, r->protocol, event, &r->address, NULL, r->flags, r->userdata); 72 r->callback(r, r->interface, r->protocol, event, &r->address, r->ptr_record->data.ptr.name, r->flags, r->userdata); 100 AvahiIfIndex interface, 117 if (r->interface > 0 && interface != r->interface) 123 if (r->interface <= 0) 124 r->interface = interface; [all...] |
| resolve-host-name.c | 47 AvahiIfIndex interface; member in struct:AvahiSHostNameResolver 85 r->callback(r, r->interface, r->protocol, AVAHI_RESOLVER_FOUND, r->address_record->key->name, &a, r->flags, r->userdata); 92 r->callback(r, r->interface, r->protocol, event, r->host_name, NULL, r->flags, r->userdata); 121 AvahiIfIndex interface, 139 if (r->interface > 0 && interface != r->interface) 145 if (r->interface <= 0) 146 r->interface = interface; [all...] |
| /external/avahi/avahi-daemon/ |
| dbus-entry-group.c | 99 avahi_log_debug(__FILE__": interface=%s, path=%s, member=%s", 167 int32_t interface, protocol; local 175 DBUS_TYPE_INT32, &interface, 201 if (avahi_server_add_service_strlst(avahi_server, i->entry_group, (AvahiIfIndex) interface, (AvahiProtocol) protocol, (AvahiPublishFlags) flags, name, type, domain, host, port, strlst) < 0) { 215 int32_t interface, protocol; local 221 DBUS_TYPE_INT32, &interface, 239 if (avahi_server_add_service_subtype(avahi_server, i->entry_group, (AvahiIfIndex) interface, (AvahiProtocol) protocol, (AvahiPublishFlags) flags, name, type, domain, subtype) < 0) 248 int32_t interface, protocol; local 255 DBUS_TYPE_INT32, &interface, 271 if (avahi_server_update_service_txt_strlst(avahi_server, i->entry_group, (AvahiIfIndex) interface, (AvahiProtocol) protocol, (AvahiPublishFlags) flags, name, type, domain, strlst) < 0) 281 int32_t interface, protocol; local 312 int32_t interface, protocol; local [all...] |
| /external/dbus-binding-generator/chromeos-dbus-bindings/ |
| adaptor_generator_unittest.cc | 15 #include "chromeos-dbus-bindings/interface.h" 54 // Interface definition for org::chromium::Test. 77 // Interface adaptor for org::chromium::Test. 80 TestAdaptor(TestInterface* interface) : interface_(interface) {} 175 // Interface definition for org::chromium::Test2. 190 // Interface adaptor for org::chromium::Test2. 193 Test2Adaptor(Test2Interface* interface) : interface_(interface) {} 243 Interface interface local [all...] |
| proxy_generator_unittest.cc | 15 #include "chromeos-dbus-bindings/interface.h" 59 // Abstract interface proxy for org::chromium::TestInterface. 130 // Interface proxy for org::chromium::TestInterface. 315 // Abstract interface proxy for org::chromium::TestInterface2. 340 // Interface proxy for org::chromium::TestInterface2. 433 // Abstract interface proxy for org::chromium::TestInterface. 451 // Interface proxy for org::chromium::TestInterface. 499 // Abstract interface proxy for org::chromium::TestInterface2. 513 // Interface proxy for org::chromium::TestInterface2. 582 // Abstract interface proxy for org::chromium::Itf1 1315 Interface interface; local 1360 Interface interface; local 1379 Interface interface; local 1402 Interface interface; local [all...] |
| xml_interface_parser_unittest.cc | 12 #include "chromeos-dbus-bindings/interface.h" 26 <interface name="fi.w1.wpa_supplicant1.Interface"> 42 </interface> 43 <interface name="DummyInterface" /> 48 const char kInterfaceName[] = "fi.w1.wpa_supplicant1.Interface"; 77 const vector<Interface>& interfaces = parser_.interfaces(); 79 const Interface& interface = interfaces.back(); local 81 EXPECT_EQ(kInterfaceName, interface.name) [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
| rpc.h | 11 #undef interface macro 12 #define interface struct macro
|
| windows.h | 13 For Obj-C the 'interface' is a keyword, but interface is used 17 #pragma push_macro("interface") 18 #undef interface macro 19 #define interface struct macro 136 /* Restore old value of interface for Obj-C. See above. */ 138 #pragma pop_macro("interface")
|
| /system/bt/btif/src/ |
| stack_manager.c | 62 // Interface functions 240 static const stack_manager_t interface = { variable 251 return &interface;
|
| /system/bt/hci/src/ |
| hci_hal_mct.c | 36 // Our interface and modules we import 37 static const hci_hal_t interface; variable 51 // Interface functions 114 interface.close(); 192 static const hci_hal_t interface = { variable 205 return &interface; 210 return &interface;
|
| hci_packet_parser.c | 246 static const hci_packet_parser_t interface = { variable 264 return &interface; 270 return &interface;
|
| vendor.c | 36 static const vendor_t interface; variable 45 // Interface functions 217 static const vendor_t interface = { variable 227 return &interface;
|