/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 on which the limit was detected. 63 void limitReached(String limitName, String iface); [all...] |
H A D | EthernetDataTracker.java | 73 public void interfaceStatusChanged(String iface, boolean up) { argument 74 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")); 92 public void interfaceAdded(String iface) { argument 93 mTracker.interfaceAdded(iface); 96 public void interfaceRemoved(String iface) { argument 97 mTracker.interfaceRemoved(iface); 100 public void limitReached(String limitName, String iface) { argument 115 interfaceAdded(String iface) argument 162 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 | 78 int tether(String iface); 80 int untether(String iface); 82 int getLastTetherError(String iface); 134 int findConnectionTypeForIface(in String iface);
|
H A D | ConnectivityManager.java | 913 * @param iface the interface name to tether. 920 public int tether(String iface) { argument 922 return mService.tether(iface); 931 * @param iface the interface name to untether. 938 public int untether(String iface) { argument 940 return mService.untether(iface); 1074 * @param iface The name of the interface of interest 1082 public int getLastTetherError(String iface) { argument 1084 return mService.getLastTetherError(iface);
|
/frameworks/base/services/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 interfaceLinkStateChanged(String iface, boolean up) { argument 44 public void interfaceAdded(String iface) { argument 54 public void limitReached(String limitName, String iface) { argument
|
/frameworks/base/core/java/android/os/ |
H A D | INetworkManagementService.aidl | 54 InterfaceConfiguration getInterfaceConfig(String iface); 59 void setInterfaceConfig(String iface, in InterfaceConfiguration cfg); 64 void clearInterfaceAddresses(String iface); 69 void setInterfaceDown(String iface); 74 void setInterfaceUp(String iface); 79 void setInterfaceIpv6PrivacyExtensions(String iface, boolean enable); 84 void disableIpv6(String iface); 89 void enableIpv6(String iface); 95 RouteInfo[] getRoutes(String iface); 100 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 63 * @param iface The interface address and port in the form "x.x.x.x:y". 67 public static RemoteDisplay listen(String iface, Listener listener, Handler handler) { argument 68 if (iface == null) { 69 throw new IllegalArgumentException("iface must not be null"); 79 display.startListening(iface); 105 private void startListening(String iface) { argument 106 mPtr = nativeListen(iface); 109 + "remote display connection on \"" + iface + "\"");
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | RemoteDisplay.cpp | 27 const sp<IRemoteDisplayClient> &client, const char *iface) 37 mSource->start(iface); 26 RemoteDisplay( const sp<IRemoteDisplayClient> &client, const char *iface) argument
|
H A D | RemoteDisplay.h | 34 RemoteDisplay(const sp<IRemoteDisplayClient> &client, const char *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)) { 154 InterfaceConfiguration config = mNMService.getInterfaceConfig(iface); 156 mLP.setInterfaceName(iface); 158 iface); 178 public void interfaceRemoved(String iface) { argument 179 if (iface [all...] |
H A D | Tethering.java | 177 // TODO - remove and rely on real notifications of the current iface 209 public void interfaceStatusChanged(String iface, boolean up) { argument 210 if (VDBG) Log.d(TAG, "interfaceStatusChanged " + iface + ", " + up); 214 if (isWifi(iface)) { 216 } else if (isUsb(iface)) { 219 } else if (isBluetooth(iface)) { 224 TetherInterfaceSM sm = mIfaces.get(iface); 227 sm = new TetherInterfaceSM(iface, mLooper, usb); 228 mIfaces.put(iface, sm); 232 if (isUsb(iface)) { 244 interfaceLinkStateChanged(String iface, boolean up) argument 249 isUsb(String iface) argument 258 isWifi(String iface) argument 267 isBluetooth(String iface) argument 276 interfaceAdded(String iface) argument 307 interfaceRemoved(String iface) 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 | 230 private void notifyInterfaceStatusChanged(String iface, boolean up) { argument 234 mObservers.getBroadcastItem(i).interfaceStatusChanged(iface, up); 246 private void notifyInterfaceLinkStateChanged(String iface, boolean up) { argument 250 mObservers.getBroadcastItem(i).interfaceLinkStateChanged(iface, up); 261 private void notifyInterfaceAdded(String iface) { argument 265 mObservers.getBroadcastItem(i).interfaceAdded(iface); 276 private void notifyInterfaceRemoved(String iface) { argument 279 mActiveAlerts.remove(iface); 280 mActiveQuotas.remove(iface); 285 mObservers.getBroadcastItem(i).interfaceRemoved(iface); 296 notifyLimitReached(String limitName, String iface) argument 488 getInterfaceConfig(String iface) argument 532 setInterfaceConfig(String iface, InterfaceConfiguration cfg) argument 554 setInterfaceDown(String iface) argument 562 setInterfaceUp(String iface) argument 570 setInterfaceIpv6PrivacyExtensions(String iface, boolean enable) argument 583 clearInterfaceAddresses(String iface) argument 593 enableIpv6(String iface) argument 603 disableIpv6(String iface) argument 843 tetherInterface(String iface) argument 853 untetherInterface(String iface) argument 1050 addIdleTimer(String iface, int timeout, String label) argument 1073 removeIdleTimer(String iface) argument 1125 setInterfaceQuota(String iface, long quotaBytes) argument 1148 removeInterfaceQuota(String iface) argument 1174 setInterfaceAlert(String iface, long alertBytes) argument 1202 removeInterfaceAlert(String iface) argument 1338 setDefaultInterfaceForDns(String iface) argument 1348 setDnsServersForInterface(String iface, String[] servers, String domains) argument 1379 flushInterfaceDnsCache(String iface) argument 1406 setFirewallInterfaceRule(String iface, boolean allow) argument 1461 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) { 122 public void limitReached(String limitName, String iface) { } 210 pw.println(String.format(" No iface timeout : %d", NO_INTERFACE_TIMEOUT)); 308 for (String iface : ifaceList) { 312 if (iface.contains(r.mPrefix)) { 321 InterfaceConfiguration config = mNetMgr.getInterfaceConfig(iface); 326 bindIface = iface; [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiNative.java | 65 private native boolean connectToSupplicant(String iface); argument 67 private native void closeSupplicantConnection(String iface); argument 73 private native String waitForEvent(String iface); argument 75 private native boolean doBooleanCommand(String iface, String command); argument 77 private native int doIntCommand(String iface, String command); argument 79 private native String doStringCommand(String iface, String command); argument 81 public WifiNative(String iface) { argument 82 mInterface = iface; 83 mTAG = "WifiNative-" + iface; 399 public boolean startWpsPbc(String iface, Strin argument 412 startWpsPinKeypad(String iface, String pin) argument 426 startWpsPinDisplay(String iface, String bssid) argument 481 setP2pGroupIdle(String iface, int time) argument 493 setP2pPowerSave(String iface, boolean enabled) argument 633 p2pGroupRemove(String iface) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_net_TrafficStats.cpp | 77 static int parseIfaceStats(const char* iface, struct Stats* stats) { argument 97 if (!iface || !strcmp(iface, cur_iface)) { 128 char iface[32]; local 134 iface, &tag, &cur_uid, &set, &rxBytes, &rxPackets, &txBytes, 161 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { argument 162 ScopedUtfChars iface8(env, iface);
|
H A D | com_android_internal_net_NetworkStatsFactory.cpp | 41 jfieldID iface; member in struct:android::__anon1036 54 char iface[32]; member in struct:android::stats_line 84 &s.iface, &rawTag, &s.uid, &s.set, &s.rxBytes, &s.rxPackets, 103 ScopedLocalRef<jobjectArray> iface(env, env->NewObjectArray(size, gStringClass, NULL)); 104 if (iface.get() == NULL) return -1; 123 ScopedLocalRef<jstring> ifaceString(env, env->NewStringUTF(lines[i].iface)); 124 env->SetObjectArrayElement(iface.get(), i, ifaceString.get()); 136 env->SetObjectField(stats, gNetworkStatsClassInfo.iface, iface.get()); 174 gNetworkStatsClassInfo.iface [all...] |
H A D | android_media_RemoteDisplay.cpp | 129 ScopedUtfChars iface(env, ifaceStr); 141 client, String8(iface.c_str())); 144 iface.c_str());
|
/frameworks/base/services/java/com/android/server/am/ |
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);
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | wfd.cpp | 41 " %s -l iface[:port]\tcreate a wifi display source\n" 168 String8 iface; local 169 iface.append(addr.c_str()); 170 iface.append(StringPrintf(":%d", port).c_str()); 173 sp<IRemoteDisplay> display = service->listenForRemoteDisplay(client, iface); 195 AString iface = StringPrintf("%s:%d", addr.c_str(), port); local 196 CHECK_EQ((status_t)OK, source->start(iface.c_str()));
|