Searched defs:iface (Results 26 - 32 of 32) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/
H A DWifiNative.java66 private native boolean connectToSupplicant(String iface); argument
68 private native void closeSupplicantConnection(String iface); argument
74 private native String waitForEvent(String iface); argument
76 private native boolean doBooleanCommand(String iface, String command); argument
78 private native int doIntCommand(String iface, String command); argument
80 private native String doStringCommand(String iface, String command); argument
82 public WifiNative(String iface) { argument
83 mInterface = iface;
84 mTAG = "WifiNative-" + iface;
404 public boolean startWpsPbc(String iface, Strin argument
417 startWpsPinKeypad(String iface, String pin) argument
431 startWpsPinDisplay(String iface, String bssid) argument
486 setP2pGroupIdle(String iface, int time) argument
498 setP2pPowerSave(String iface, boolean enabled) argument
638 p2pGroupRemove(String iface) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp290 const sp<IRemoteDisplayClient>& client, const String8& iface) {
295 return new RemoteDisplay(client, iface.string());
289 listenForRemoteDisplay( const sp<IRemoteDisplayClient>& client, const String8& iface) argument
/frameworks/base/services/java/com/android/server/
H A DNetworkManagementService.java232 private void notifyInterfaceStatusChanged(String iface, boolean up) { argument
236 mObservers.getBroadcastItem(i).interfaceStatusChanged(iface, up);
247 private void notifyInterfaceLinkStateChanged(String iface, boolean up) { argument
251 mObservers.getBroadcastItem(i).interfaceLinkStateChanged(iface, up);
261 private void notifyInterfaceAdded(String iface) { argument
265 mObservers.getBroadcastItem(i).interfaceAdded(iface);
275 private void notifyInterfaceRemoved(String iface) { argument
278 mActiveAlerts.remove(iface);
279 mActiveQuotas.remove(iface);
284 mObservers.getBroadcastItem(i).interfaceRemoved(iface);
294 notifyLimitReached(String limitName, String iface) argument
484 getInterfaceConfig(String iface) argument
528 setInterfaceConfig(String iface, InterfaceConfiguration cfg) argument
550 setInterfaceDown(String iface) argument
558 setInterfaceUp(String iface) argument
566 setInterfaceIpv6PrivacyExtensions(String iface, boolean enable) argument
579 clearInterfaceAddresses(String iface) argument
589 enableIpv6(String iface) argument
599 disableIpv6(String iface) argument
839 startReverseTethering(String iface) argument
869 tetherInterface(String iface) argument
879 untetherInterface(String iface) argument
1076 addIdleTimer(String iface, int timeout, String label) argument
1099 removeIdleTimer(String iface) argument
1139 setInterfaceQuota(String iface, long quotaBytes) argument
1162 removeInterfaceQuota(String iface) argument
1188 setInterfaceAlert(String iface, long alertBytes) argument
1216 removeInterfaceAlert(String iface) argument
1348 setInterfaceThrottle(String iface, int rxKbps, int txKbps) argument
1357 getInterfaceThrottle(String iface, boolean rx) argument
1379 getInterfaceRxThrottle(String iface) argument
1385 getInterfaceTxThrottle(String iface) argument
1391 setDefaultInterfaceForDns(String iface) argument
1401 setDnsServersForInterface(String iface, String[] servers) argument
1430 flushInterfaceDnsCache(String iface) argument
1457 setFirewallInterfaceRule(String iface, boolean allow) argument
[all...]
H A DConnectivityService.java776 final String iface = tracker.getLinkProperties().getInterfaceName();
781 networkCostly = mMeteredIfaces.contains(iface);
1562 for (String iface : meteredIfaces) {
1563 mMeteredIfaces.add(iface);
2106 final String iface = thisNet.getLinkProperties().getInterfaceName();
2125 if (timeout > 0 && iface != null) {
2127 mNetd.addIdleTimer(iface, timeout, Integer.toString(type));
2138 final String iface = net.getLinkProperties().getInterfaceName();
2140 if (iface != null && (ConnectivityManager.isNetworkTypeMobile(type) ||
2144 mNetd.removeIdleTimer(iface);
2491 updateDns(String network, String iface, Collection<InetAddress> dnses, String domains) argument
2835 tether(String iface) argument
2846 untether(String iface) argument
2857 getLastTetherError(String iface) argument
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java176 // TODO - remove and rely on real notifications of the current iface
208 public void interfaceStatusChanged(String iface, boolean up) { argument
209 if (VDBG) Log.d(TAG, "interfaceStatusChanged " + iface + ", " + up);
213 if (isWifi(iface)) {
215 } else if (isUsb(iface)) {
218 } else if (isBluetooth(iface)) {
223 TetherInterfaceSM sm = mIfaces.get(iface);
226 sm = new TetherInterfaceSM(iface, mLooper, usb);
227 mIfaces.put(iface, sm);
231 if (isUsb(iface)) {
243 interfaceLinkStateChanged(String iface, boolean up) argument
248 isUsb(String iface) argument
257 isWifi(String iface) argument
266 isBluetooth(String iface) argument
275 interfaceAdded(String iface) argument
306 interfaceRemoved(String iface) argument
321 limitReached(String limitName, String iface) argument
325 tether(String iface) argument
343 untether(String iface) argument
361 getLastTetherError(String iface) argument
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DNetworkPolicyManagerService.java614 public void limitReached(String limitName, String iface) {
619 mHandler.obtainMessage(MSG_LIMIT_REACHED, iface).sendToTarget();
990 // stash identity and iface away for later use
992 final String iface = state.linkProperties.getInterfaceName();
994 networks.put(ident, iface);
1008 final String iface = entry.getValue();
1009 ifaceList.add(iface);
1064 Slog.w(TAG, "shared quota unsupported; generating rule for each iface");
1067 for (String iface : ifaces) {
1068 removeInterfaceQuota(iface);
1960 setInterfaceQuota(String iface, long quotaBytes) argument
1970 removeInterfaceQuota(String iface) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2297 public void noteNetworkInterfaceTypeLocked(String iface, int networkType) { argument
2299 mMobileIfaces.add(iface);
2301 mMobileIfaces.remove(iface);

Completed in 2077 milliseconds

12