Home
last modified time | relevance | path

Searched refs:interfaceName (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkUtils.java38 public native static int enableInterface(String interfaceName); in enableInterface() argument
41 public native static int disableInterface(String interfaceName); in disableInterface() argument
58 public native static int resetConnections(String interfaceName, int mask); in resetConnections() argument
70 public native static boolean runDhcp(String interfaceName, DhcpResults dhcpResults); in runDhcp() argument
80 public native static boolean runDhcpRenew(String interfaceName, DhcpResults dhcpResults); in runDhcpRenew() argument
88 public native static boolean stopDhcp(String interfaceName); in stopDhcp() argument
96 public native static boolean releaseDhcpLease(String interfaceName); in releaseDhcpLease() argument
DDhcpResults.java183 public void setInterfaceName(String interfaceName) { in setInterfaceName() argument
184 linkProperties.setInterfaceName(interfaceName); in setInterfaceName()
/frameworks/base/core/java/android/net/arp/
DArpPeer.java56 public ArpPeer(String interfaceName, InetAddress myAddr, String mac, in ArpPeer() argument
58 mInterfaceName = interfaceName; in ArpPeer()
135 String interfaceName = linkProperties.getInterfaceName(); in doArp() local
151 ArpPeer peer = new ArpPeer(interfaceName, inetAddress, myMacAddress, gateway); in doArp()
/frameworks/base/services/java/com/android/server/
DNetworkManagementService.java691 public void addRoute(String interfaceName, RouteInfo route) { in addRoute() argument
693 modifyRoute(interfaceName, ADD, route, DEFAULT); in addRoute()
697 public void removeRoute(String interfaceName, RouteInfo route) { in removeRoute() argument
699 modifyRoute(interfaceName, REMOVE, route, DEFAULT); in removeRoute()
703 public void addSecondaryRoute(String interfaceName, RouteInfo route) { in addSecondaryRoute() argument
705 modifyRoute(interfaceName, ADD, route, SECONDARY); in addSecondaryRoute()
709 public void removeSecondaryRoute(String interfaceName, RouteInfo route) { in removeSecondaryRoute() argument
711 modifyRoute(interfaceName, REMOVE, route, SECONDARY); in removeSecondaryRoute()
714 private void modifyRoute(String interfaceName, String action, RouteInfo route, String type) { in modifyRoute() argument
715 final Command cmd = new Command("interface", "route", action, interfaceName, type); in modifyRoute()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiNative.java89 public WifiNative(String interfaceName) { in WifiNative() argument
90 mInterfaceName = interfaceName; in WifiNative()
91 mTAG = "WifiNative-" + interfaceName; in WifiNative()
92 if (!interfaceName.equals("p2p0")) { in WifiNative()
93 mInterfacePrefix = "IFNAME=" + interfaceName + " "; in WifiNative()
/frameworks/av/media/mtp/
DMtpDevice.cpp81 char* interfaceName = usb_device_get_string(device, interface->iInterface); in open() local
82 if (!interfaceName) { in open()
84 } else if (strcmp(interfaceName, "MTP")) { in open()
85 free(interfaceName); in open()
88 free(interfaceName); in open()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java224 public void addJavascriptInterface(Object obj, String interfaceName); in addJavascriptInterface() argument
226 public void removeJavascriptInterface(String interfaceName); in removeJavascriptInterface() argument
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
DWebView.java224 public void addJavascriptInterface(Object obj, String interfaceName) { in addJavascriptInterface() argument
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java113 public RegisteredServicesCache(Context context, String interfaceName, String metaDataName, in RegisteredServicesCache() argument
116 mInterfaceName = interfaceName; in RegisteredServicesCache()
124 mPersistentServicesFile = new AtomicFile(new File(syncDir, interfaceName + ".xml")); in RegisteredServicesCache()
/frameworks/base/core/java/android/os/
DParcel.java274 private static native void nativeWriteInterfaceToken(int nativePtr, String interfaceName); in nativeWriteInterfaceToken() argument
275 private static native void nativeEnforceInterface(int nativePtr, String interfaceName); in nativeEnforceInterface() argument
446 public final void writeInterfaceToken(String interfaceName) { in writeInterfaceToken() argument
447 nativeWriteInterfaceToken(mNativePtr, interfaceName); in writeInterfaceToken()
450 public final void enforceInterface(String interfaceName) { in enforceInterface() argument
451 nativeEnforceInterface(mNativePtr, interfaceName); in enforceInterface()
DINetworkManagementService.aidl433 void startClatd(String interfaceName); in startClatd() argument
/frameworks/webview/chromium/java/com/android/webview/chromium/
DWebViewChromium.java1288 public void addJavascriptInterface(final Object obj, final String interfaceName) {
1293 addJavascriptInterface(obj, interfaceName);
1302 mAwContents.addPossiblyUnsafeJavascriptInterface(obj, interfaceName, requiredAnnotation);
1306 public void removeJavascriptInterface(final String interfaceName) {
1311 removeJavascriptInterface(interfaceName);
1316 mAwContents.removeJavascriptInterface(interfaceName);