Searched defs:iface (Results 1 - 11 of 11) sorted by relevance

/system/tools/aidl/
H A Dgenerate_java.cpp58 AidlInterface* iface, JavaTypeNamespace* types,
60 Class* cl = generate_binder_interface_class(iface, types);
64 (!iface->GetPackage().empty()) ? iface->GetPackage() : "",
57 generate_java(const string& filename, const string& originalSrc, AidlInterface* iface, JavaTypeNamespace* types, const IoDelegate& io_delegate) argument
H A Dgenerate_java_binder.cpp510 Class* generate_binder_interface_class(const AidlInterface* iface, argument
512 const InterfaceType* interfaceType = iface->GetLanguageType<InterfaceType>();
516 interface->comment = iface->GetComments();
536 for (const auto& item : iface->GetConstants()) {
541 for (const auto& item : iface->GetMethods()) {
/system/netd/server/
H A DIdletimerController.cpp53 * ndc idletimer add <iface> <timeout> <class label>
54 * ndc idletimer remove <iface> <timeout> <class label>
84 * Note that currently if the name of the iface is incorrect, iptables
191 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, argument
197 if (!isIfaceName(iface)) {
212 iface,
235 iface,
250 int IdletimerController::addInterfaceIdletimer(const char *iface, argument
253 return modifyInterfaceIdletimer(IptOpAdd, iface, timeout, classLabel);
256 int IdletimerController::removeInterfaceIdletimer(const char *iface, argument
[all...]
H A DFirewallController.cpp143 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { argument
149 if (!isIfaceName(iface)) {
162 res |= execIptables(V4V6, op, LOCAL_INPUT, "-i", iface, "-j", "RETURN", NULL);
163 res |= execIptables(V4V6, op, LOCAL_OUTPUT, "-o", iface, "-j", "RETURN", NULL);
H A DNetlinkHandler.cpp63 const char *iface = evt->findParam("INTERFACE"); local
66 notifyInterfaceAdded(iface);
68 notifyInterfaceRemoved(iface);
73 notifyInterfaceLinkChanged(iface, true);
75 notifyInterfaceLinkChanged(iface, false);
81 if (action == NetlinkEvent::Action::kAddressRemoved && iface && address) {
82 // Note: if this interface was deleted, iface is "" and we don't notify.
100 if (iface && iface[0] && address && flags && scope) {
101 notifyAddressChanged(action, address, iface, flag
113 const char *iface = evt->findParam("INTERFACE"); local
121 const char *iface = evt->findParam("INTERFACE"); local
177 notifyQuotaLimitReached(const char *name, const char *iface) argument
196 notifyAddressChanged(NetlinkEvent::Action action, const char *addr, const char *iface, const char *flags, const char *scope) argument
205 notifyInterfaceDnsServers(const char *iface, const char *lifetime, const char *servers) argument
212 notifyRouteChange(NetlinkEvent::Action action, const char *route, const char *gateway, const char *iface) argument
[all...]
H A DMDnsSdListener.cpp63 const char *iface,
69 ALOGD("discover(%s, %s, %s, %d, %d)", iface, regType, domain, requestId,
82 int interfaceInt = ifaceNameToI(iface);
390 int MDnsSdListener::Handler::ifaceNameToI(const char * /* iface */) {
62 discover(SocketClient *cli, const char *iface, const char *regType, const char *domain, const int requestId, const int requestFlags) argument
H A DBandwidthController.cpp99 * . adding a new iface to this, E.g.:
149 * Should normally include bw_costly_<iface>, but we rely on the way they are setup
269 /* Flush and remove the bw_costly_<iface> tables */
480 * Flush the bw_costly_<iface> is allowed to fail in case it didn't exist.
563 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) { argument
577 if (!isIfaceName(iface))
579 if (StrncpyAndCheck(ifn, iface, sizeof(ifn))) {
632 int BandwidthController::removeInterfaceSharedQuota(const char *iface) { argument
639 if (!isIfaceName(iface))
641 if (StrncpyAndCheck(ifn, iface, sizeo
672 setInterfaceQuota(const char *iface, int64_t maxBytes) argument
768 removeInterfaceQuota(const char *iface) argument
981 setInterfaceAlert(const char *iface, int64_t bytes) argument
1006 removeInterfaceAlert(const char *iface) argument
[all...]
H A DCommandListener.cpp334 // arglist: iface [addr prefixLength] flags
339 ALOGD("Setting iface cfg");
404 // arglist: iface
939 sendGenericSyntaxError(cli, "getiquota <iface>");
1321 const char* iface = argv[2]; local
1324 int res = gCtls->firewallCtrl.setInterfaceRule(iface, rule);
/system/bt/service/ipc/binder/
H A Dbluetooth_binder_server.cpp169 const bt_interface_t *iface = bluetooth::hal::BluetoothInterface::Get()->GetHALInterface(); local
170 iface->dump(fd, NULL);
/system/core/adb/
H A Dusb_osx.cpp97 static std::unique_ptr<usb_handle> CheckInterface(IOUSBInterfaceInterface190 **iface,
127 IOUSBInterfaceInterface220 **iface = NULL; local
154 CFUUIDGetUUIDBytes(kIOUSBInterfaceInterfaceID), (LPVOID*)&iface);
157 if (result || !iface) {
162 kr = (*iface)->GetInterfaceClass(iface, &if_class);
163 kr = (*iface)->GetInterfaceSubClass(iface, &subclass);
164 kr = (*iface)->GetInterfaceProtocol(iface,
[all...]
/system/firewalld/
H A Diptables.cc63 bool IsValidInterfaceName(const std::string& iface) { argument
64 // |iface| should be shorter than |kInterfaceNameSize| chars and have only
66 if (iface.length() >= kInterfaceNameSize) {
69 if (base::StartsWith(iface, "-", base::CompareCase::SENSITIVE) ||
70 base::EndsWith(iface, "-", base::CompareCase::SENSITIVE) ||
71 base::StartsWith(iface, ".", base::CompareCase::SENSITIVE) ||
72 base::EndsWith(iface, ".", base::CompareCase::SENSITIVE)) {
75 for (auto c : iface) {

Completed in 232 milliseconds