/frameworks/base/core/java/android/net/ |
H A D | INetworkManagementEventObserver.aidl | 28 * @param iface The interface. 31 void interfaceStatusChanged(String iface, boolean up); 37 * @param iface The interface. 40 void interfaceLinkStateChanged(String iface, boolean up); 45 * @param iface The interface. 47 void interfaceAdded(String iface); 52 * @param iface The interface. 54 void interfaceRemoved(String iface); 61 * @param iface The interface. 65 void addressUpdated(String address, String iface, in [all...] |
H A D | EthernetDataTracker.java | 72 public void interfaceStatusChanged(String iface, boolean up) { argument 73 Log.d(TAG, "Interface status changed: " + iface + (up ? "up" : "down")); 77 public void interfaceLinkStateChanged(String iface, boolean up) { argument 78 if (mIface.equals(iface)) { 79 Log.d(TAG, "Interface " + iface + " link " + (up ? "up" : "down")); 93 public void interfaceAdded(String iface) { argument 94 mTracker.interfaceAdded(iface); 98 public void interfaceRemoved(String iface) { argument 99 mTracker.interfaceRemoved(iface); 109 private void interfaceAdded(String iface) { argument 156 interfaceRemoved(String iface) argument [all...] |
H A D | TrafficStats.java | 283 for (String iface : getMobileIfaces()) { 284 total += getTxPackets(iface); 300 for (String iface : getMobileIfaces()) { 301 total += getRxPackets(iface); 317 for (String iface : getMobileIfaces()) { 318 total += getTxBytes(iface); 334 for (String iface : getMobileIfaces()) { 335 total += getRxBytes(iface); 343 for (String iface : getMobileIfaces()) { 344 final long stat = nativeGetIfaceStat(iface, TYPE_TCP_RX_PACKET 365 getTxPackets(String iface) argument 370 getRxPackets(String iface) argument 375 getTxBytes(String iface) argument 380 getRxBytes(String iface) argument 624 nativeGetIfaceStat(String iface, int type) argument [all...] |
H A D | NetworkStats.java | 43 /** {@link #iface} value when interface details unavailable. */ 64 private String[] iface; field in class:NetworkStats 75 public String iface; field in class:NetworkStats.Entry 94 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, argument 96 this.iface = iface; 127 builder.append("iface=").append(iface); 146 && iface.equals(e.iface); 207 addIfaceValues( String iface, long rxBytes, long rxPackets, long txBytes, long txPackets) argument 214 addValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument 291 combineValues(String iface, int uid, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument 297 combineValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument 337 findIndex(String iface, int uid, int set, int tag) argument 352 findIndexHinted(String iface, int uid, int set, int tag, int hintIndex) argument [all...] |
H A D | RouteInfo.java | 78 * @param iface the interface name to send packets on 80 public RouteInfo(LinkAddress destination, InetAddress gateway, String iface) { argument 106 mInterface = iface; 123 public static RouteInfo makeHostRoute(InetAddress host, String iface) { argument 124 return makeHostRoute(host, null, iface); 127 public static RouteInfo makeHostRoute(InetAddress host, InetAddress gateway, String iface) { argument 131 return new RouteInfo(new LinkAddress(host, 32), gateway, iface); 133 return new RouteInfo(new LinkAddress(host, 128), gateway, iface); 267 String iface = in.readString(); 275 return new RouteInfo(dest, gateway, iface); [all...] |
H A D | IConnectivityManager.aidl | 84 int tether(String iface); 86 int untether(String iface); 88 int getLastTetherError(String iface); 138 int findConnectionTypeForIface(in String iface);
|
H A D | ConnectivityManager.java | 977 * @param iface the interface name to tether. 984 public int tether(String iface) { argument 986 return mService.tether(iface); 995 * @param iface the interface name to untether. 1002 public int untether(String iface) { argument 1004 return mService.untether(iface); 1138 * @param iface The name of the interface of interest 1146 public int getLastTetherError(String iface) { argument 1148 return mService.getLastTetherError(iface);
|
/frameworks/base/core/java/com/android/server/net/ |
H A D | BaseNetworkObserver.java | 29 public void interfaceStatusChanged(String iface, boolean up) { argument 34 public void interfaceRemoved(String iface) { argument 39 public void addressUpdated(String address, String iface, int flags, int scope) { argument 44 public void addressRemoved(String address, String iface, int flags, int scope) { argument 49 public void interfaceLinkStateChanged(String iface, boolean up) { argument 54 public void interfaceAdded(String iface) { argument 64 public void limitReached(String limitName, String iface) { argument
|
/frameworks/base/core/java/android/os/ |
H A D | INetworkManagementService.aidl | 55 InterfaceConfiguration getInterfaceConfig(String iface); 60 void setInterfaceConfig(String iface, in InterfaceConfiguration cfg); 65 void clearInterfaceAddresses(String iface); 70 void setInterfaceDown(String iface); 75 void setInterfaceUp(String iface); 80 void setInterfaceIpv6PrivacyExtensions(String iface, boolean enable); 85 void disableIpv6(String iface); 90 void enableIpv6(String iface); 96 RouteInfo[] getRoutes(String iface); 101 void addRoute(String iface, i [all...] |
/frameworks/base/tools/aidl/ |
H A D | generate_java.h | 12 interface_type* iface); 14 Class* generate_binder_interface_class(const interface_type* iface); 15 Class* generate_rpc_interface_class(const interface_type* iface);
|
H A D | generate_java.cpp | 62 interface_type* iface) 66 if (iface->document_item.item_type == INTERFACE_TYPE_BINDER) { 67 cl = generate_binder_interface_class(iface); 69 else if (iface->document_item.item_type == INTERFACE_TYPE_RPC) { 70 cl = generate_rpc_interface_class(iface); 75 if (iface->package) document->package = iface->package; 61 generate_java(const string& filename, const string& originalSrc, interface_type* iface) argument
|
H A D | generate_java_rpc.cpp | 88 DispatcherClass(const interface_type* iface, Expression* target); 108 DispatcherClass::DispatcherClass(const interface_type* iface, Expression* target) argument 290 RpcProxyClass(const interface_type* iface, InterfaceType* interfaceType); 301 RpcProxyClass::RpcProxyClass(const interface_type* iface, InterfaceType* interfaceType) argument 304 this->comment = gather_comments(iface->comments_token->extra); 359 EventListenerClass(const interface_type* iface, Type* listenerType); 374 EventListenerClass::EventListenerClass(const interface_type* iface, Type* listenerType) argument 375 :DispatcherClass(iface, new FieldVariable(THIS_VALUE, "_listener")) 379 this->type = new Type(iface->package ? iface 425 ListenerClass(const interface_type* iface) argument 455 EndpointBaseClass(const interface_type* iface) argument 953 generate_rpc_interface_class(const interface_type* iface) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplay.java | 43 private native int nativeListen(String iface); argument 65 * @param iface The interface address and port in the form "x.x.x.x:y". 69 public static RemoteDisplay listen(String iface, Listener listener, Handler handler) { argument 70 if (iface == null) { 71 throw new IllegalArgumentException("iface must not be null"); 81 display.startListening(iface); 115 private void startListening(String iface) { argument 116 mPtr = nativeListen(iface); 119 + "remote display connection on \"" + iface + "\"");
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Nat464Xlat.java | 105 String iface = lp.getInterfaceName(); 106 Slog.i(TAG, "Starting clatd on " + iface + ", lp=" + lp); 108 mNMService.startClatd(iface); 144 public void interfaceAdded(String iface) { argument 145 if (iface.equals(CLAT_INTERFACE_NAME)) { 160 InterfaceConfiguration config = mNMService.getInterfaceConfig(iface); 163 mLP.setInterfaceName(iface); 165 clatAddress.getAddress(), iface); 185 public void interfaceRemoved(String iface) { argument 186 if (iface [all...] |
H A D | Tethering.java | 173 // TODO - remove and rely on real notifications of the current iface 205 public void interfaceStatusChanged(String iface, boolean up) { argument 206 if (VDBG) Log.d(TAG, "interfaceStatusChanged " + iface + ", " + up); 210 if (isWifi(iface)) { 212 } else if (isUsb(iface)) { 215 } else if (isBluetooth(iface)) { 220 TetherInterfaceSM sm = mIfaces.get(iface); 223 sm = new TetherInterfaceSM(iface, mLooper, usb); 224 mIfaces.put(iface, sm); 228 if (isUsb(iface)) { 240 interfaceLinkStateChanged(String iface, boolean up) argument 245 isUsb(String iface) argument 254 isWifi(String iface) argument 263 isBluetooth(String iface) argument 272 interfaceAdded(String iface) argument 303 interfaceRemoved(String iface) argument 318 addressUpdated(String address, String iface, int flags, int scope) argument 320 addressRemoved(String address, String iface, int flags, int scope) argument 322 limitReached(String limitName, String iface) argument 326 tether(String iface) argument 344 untether(String iface) argument 362 getLastTetherError(String iface) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | NetworkManagementService.java | 243 private void notifyInterfaceStatusChanged(String iface, boolean up) { argument 247 mObservers.getBroadcastItem(i).interfaceStatusChanged(iface, up); 259 private void notifyInterfaceLinkStateChanged(String iface, boolean up) { argument 263 mObservers.getBroadcastItem(i).interfaceLinkStateChanged(iface, up); 274 private void notifyInterfaceAdded(String iface) { argument 278 mObservers.getBroadcastItem(i).interfaceAdded(iface); 289 private void notifyInterfaceRemoved(String iface) { argument 292 mActiveAlerts.remove(iface); 293 mActiveQuotas.remove(iface); 298 mObservers.getBroadcastItem(i).interfaceRemoved(iface); 309 notifyLimitReached(String limitName, String iface) argument 407 notifyAddressUpdated(String address, String iface, int flags, int scope) argument 422 notifyAddressRemoved(String address, String iface, int flags, int scope) argument 566 getInterfaceConfig(String iface) argument 610 setInterfaceConfig(String iface, InterfaceConfiguration cfg) argument 632 setInterfaceDown(String iface) argument 640 setInterfaceUp(String iface) argument 648 setInterfaceIpv6PrivacyExtensions(String iface, boolean enable) argument 661 clearInterfaceAddresses(String iface) argument 671 enableIpv6(String iface) argument 681 disableIpv6(String iface) argument 843 setMtu(String iface, int mtu) argument 933 tetherInterface(String iface) argument 943 untetherInterface(String iface) argument 1142 addIdleTimer(String iface, int timeout, String label) argument 1165 removeIdleTimer(String iface) argument 1217 setInterfaceQuota(String iface, long quotaBytes) argument 1240 removeInterfaceQuota(String iface) argument 1266 setInterfaceAlert(String iface, long alertBytes) argument 1294 removeInterfaceAlert(String iface) argument 1417 setDefaultInterfaceForDns(String iface) argument 1427 setDnsServersForInterface(String iface, String[] servers, String domains) argument 1448 setUidRangeRoute(String iface, int uid_start, int uid_end) argument 1459 clearUidRangeRoute(String iface, int uid_start, int uid_end) argument 1470 setMarkedForwarding(String iface) argument 1480 clearMarkedForwarding(String iface) argument 1516 setMarkedForwardingRoute(String iface, RouteInfo route) argument 1528 clearMarkedForwardingRoute(String iface, RouteInfo route) argument 1560 setDnsInterfaceForUidRange(String iface, int uid_start, int uid_end) argument 1601 flushInterfaceDnsCache(String iface) argument 1628 setFirewallInterfaceRule(String iface, boolean allow) argument 1683 setDnsInterfaceForPid(String iface, int pid) argument [all...] |
H A D | CommonTimeManagementService.java | 110 public void interfaceStatusChanged(String iface, boolean up) { 113 public void interfaceLinkStateChanged(String iface, boolean up) { 116 public void interfaceAdded(String iface) { 119 public void interfaceRemoved(String iface) { 207 pw.println(String.format(" No iface timeout : %d", NO_INTERFACE_TIMEOUT)); 305 for (String iface : ifaceList) { 309 if (iface.contains(r.mPrefix)) { 318 InterfaceConfiguration config = mNetMgr.getInterfaceConfig(iface); 323 bindIface = iface;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | RemoteDisplay.cpp | 30 const char *iface) 41 mSource->start(iface); 28 RemoteDisplay( const sp<IRemoteDisplayClient> &client, const char *iface) argument
|
H A D | RemoteDisplay.h | 37 const char *iface);
|
/frameworks/base/core/jni/ |
H A D | android_net_TrafficStats.cpp | 76 static int parseIfaceStats(const char* iface, struct Stats* stats) { argument 96 if (!iface || !strcmp(iface, cur_iface)) { 127 char iface[32]; local 133 iface, &tag, &cur_uid, &set, &rxBytes, &rxPackets, &txBytes, 160 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { argument 161 ScopedUtfChars iface8(env, iface);
|
H A D | com_android_internal_net_NetworkStatsFactory.cpp | 40 jfieldID iface; member in struct:android::__anon1056 53 char iface[32]; member in struct:android::stats_line 83 &s.iface, &rawTag, &s.uid, &s.set, &s.rxBytes, &s.rxPackets, 102 ScopedLocalRef<jobjectArray> iface(env, env->NewObjectArray(size, gStringClass, NULL)); 103 if (iface.get() == NULL) return -1; 122 ScopedLocalRef<jstring> ifaceString(env, env->NewStringUTF(lines[i].iface)); 123 env->SetObjectArrayElement(iface.get(), i, ifaceString.get()); 135 env->SetObjectField(stats, gNetworkStatsClassInfo.iface, iface.get()); 173 gNetworkStatsClassInfo.iface [all...] |
H A D | android_media_RemoteDisplay.cpp | 138 ScopedUtfChars iface(env, ifaceStr); 150 client, String8(iface.c_str())); 153 iface.c_str());
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiMonitor.java | 407 public synchronized void startMonitoring(String iface) { argument 408 WifiMonitor m = mIfaceMap.get(iface); 410 Log.e(TAG, "startMonitor called with unknown iface=" + iface); 414 Log.d(TAG, "startMonitoring(" + iface + ") with mConnected = " + mConnected); 436 mIfaceMap.remove(iface); 438 Log.e(TAG, "startMonitoring(" + iface + ") failed!"); 445 public synchronized void stopMonitoring(String iface) { argument 446 WifiMonitor m = mIfaceMap.get(iface); 447 if (DBG) Log.d(TAG, "stopMonitoring(" + iface 452 registerInterfaceMonitor(String iface, WifiMonitor m) argument 460 unregisterInterfaceMonitor(String iface) argument 483 getMonitor(String iface) argument [all...] |
H A D | WifiNative.java | 520 public boolean startWpsPbc(String iface, String bssid) { argument 523 return doBooleanCommandNative("IFNAME=" + iface + " WPS_PBC"); 525 return doBooleanCommandNative("IFNAME=" + iface + " WPS_PBC " + bssid); 535 public boolean startWpsPinKeypad(String iface, String pin) { argument 538 return doBooleanCommandNative("IFNAME=" + iface + " WPS_PIN any " + pin); 551 public String startWpsPinDisplay(String iface, String bssid) { argument 554 return doStringCommandNative("IFNAME=" + iface + " WPS_PIN any"); 556 return doStringCommandNative("IFNAME=" + iface + " WPS_PIN " + bssid); 608 public boolean setP2pGroupIdle(String iface, int time) { argument 610 return doBooleanCommandNative("IFNAME=" + iface 622 setP2pPowerSave(String iface, boolean enabled) argument 795 p2pGroupRemove(String iface) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | TransferPipe.java | 52 void go(IInterface iface, FileDescriptor fd, String prefix, argument 73 static void go(Caller caller, IInterface iface, FileDescriptor out, argument 75 go(caller, iface, out, prefix, args, DEFAULT_TIMEOUT); 78 static void go(Caller caller, IInterface iface, FileDescriptor out, argument 80 if ((iface.asBinder()) instanceof Binder) { 83 caller.go(iface, out, prefix, args); 91 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args);
|