Searched refs:iface (Results 1 - 25 of 51) sorted by path

123

/frameworks/av/include/media/
H A DIMediaPlayerService.h58 // 'iface' specifies the address of the local interface on which to listen for
65 const String8& iface) = 0;
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp150 const String8& iface)
155 data.writeString8(iface);
254 String8 iface(data.readString8());
255 sp<IRemoteDisplay> display(listenForRemoteDisplay(client, iface));
149 listenForRemoteDisplay(const sp<IRemoteDisplayClient>& client, const String8& iface) argument
/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
H A DMediaPlayerService.h255 const String8& iface);
H A DRemoteDisplay.cpp27 const sp<IRemoteDisplayClient> &client, const char *iface)
37 mSource->start(iface);
26 RemoteDisplay( const sp<IRemoteDisplayClient> &client, const char *iface) argument
H A DRemoteDisplay.h34 RemoteDisplay(const sp<IRemoteDisplayClient> &client, const char *iface);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp68 status_t WifiDisplaySource::start(const char *iface) { argument
72 msg->setString("iface", iface);
112 AString iface; local
113 CHECK(msg->findString("iface", &iface));
117 ssize_t colonPos = iface.find(":");
122 const char *s = iface.c_str() + colonPos + 1;
130 iface.erase(colonPos, iface
[all...]
H A DWifiDisplaySource.h42 status_t start(const char *iface);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothTetheringDataTracker.java291 private boolean readLinkProperty(String iface) { argument
292 String DhcpPrefix = "dhcp." + iface + ".";
310 mLinkProperties.setInterfaceName(iface);
313 public synchronized void startReverseTether(String iface) { argument
314 mIface = iface;
358 //NetworkUtils.stopDhcp(iface);
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java705 public int tether(String iface) { argument
707 return mService.tether(iface);
717 public int untether(String iface) { argument
719 return mService.untether(iface);
804 * @param iface The name of the interface we're interested in
809 public int getLastTetherError(String iface) { argument
811 return mService.getLastTetherError(iface);
H A DEthernetDataTracker.java72 public void interfaceStatusChanged(String iface, boolean up) { argument
73 Log.d(TAG, "Interface status changed: " + iface + (up ? "up" : "down"));
76 public void interfaceLinkStateChanged(String iface, boolean up) { argument
77 if (mIface.equals(iface) && mLinkUp != up) {
78 Log.d(TAG, "Interface " + iface + " link " + (up ? "up" : "down"));
91 public void interfaceAdded(String iface) { argument
92 mTracker.interfaceAdded(iface);
95 public void interfaceRemoved(String iface) { argument
96 mTracker.interfaceRemoved(iface);
99 public void limitReached(String limitName, String iface) { argument
114 interfaceAdded(String iface) argument
161 interfaceRemoved(String iface) argument
[all...]
H A DIConnectivityManager.aidl76 int tether(String iface);
78 int untether(String iface);
80 int getLastTetherError(String iface);
H A DINetworkManagementEventObserver.aidl28 * @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 DIThrottleManager.aidl27 long getByteCount(String iface, int dir, int period, int ago);
29 int getThrottle(String iface);
31 long getResetTime(String iface);
33 long getPeriodStartTime(String iface);
35 long getCliffThreshold(String iface, int cliff);
37 int getCliffLevel(String iface, int cliff);
H A DLinkProperties.java91 public void setInterfaceName(String iface) { argument
92 mIfaceName = iface;
403 String iface = in.readString();
404 if (iface != null) {
406 netProp.setInterfaceName(iface);
H A DNetworkStats.java42 /** {@link #iface} value when interface details unavailable. */
63 private String[] iface; field in class:NetworkStats
74 public String iface; field in class:NetworkStats.Entry
93 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, argument
95 this.iface = iface;
126 builder.append("iface=").append(iface);
142 this.iface = new String[initialSize];
156 iface
194 addIfaceValues( String iface, long rxBytes, long rxPackets, long txBytes, long txPackets) argument
201 addValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
278 combineValues(String iface, int uid, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
284 combineValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument
324 findIndex(String iface, int uid, int set, int tag) argument
339 findIndexHinted(String iface, int uid, int set, int tag, int hintIndex) argument
[all...]
H A DThrottleManager.java119 public long getResetTime(String iface) { argument
121 return mService.getResetTime(iface);
132 public long getPeriodStartTime(String iface) { argument
134 return mService.getPeriodStartTime(iface);
148 public long getByteCount(String iface, int direction, int period, int ago) { argument
150 return mService.getByteCount(iface, direction, period, ago);
158 * takes effect on the named iface. Currently only cliff #1 is supported (1 step)
161 public long getCliffThreshold(String iface, int cliff) { argument
163 return mService.getCliffThreshold(iface, cliff);
170 * returns the thottling bandwidth (bps) for a given cliff # on the named iface
174 getCliffLevel(String iface, int cliff) argument
[all...]
H A DTrafficStats.java270 for (String iface : getMobileIfaces()) {
271 total += getTxPackets(iface);
284 for (String iface : getMobileIfaces()) {
285 total += getRxPackets(iface);
298 for (String iface : getMobileIfaces()) {
299 total += getTxBytes(iface);
312 for (String iface : getMobileIfaces()) {
313 total += getRxBytes(iface);
325 public static long getTxPackets(String iface) { argument
326 return nativeGetIfaceStat(iface, TYPE_TX_PACKET
336 getRxPackets(String iface) argument
347 getTxBytes(String iface) argument
358 getRxBytes(String iface) argument
592 nativeGetIfaceStat(String iface, int type) argument
[all...]
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl54 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/core/java/com/android/internal/app/
H A DIBatteryStats.aidl71 void noteNetworkInterfaceType(String iface, int type);
/frameworks/base/core/java/com/android/internal/net/
H A DNetworkStatsFactory.java82 entry.iface = reader.nextString();
142 entry.iface = reader.nextString();
201 entry.iface = reader.nextString();
/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);
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp129 ScopedUtfChars iface(env, ifaceStr);
141 client, String8(iface.c_str()));
144 iface.c_str());
H A Dandroid_net_TrafficStats.cpp84 static int parseIfaceStat(const char* iface, struct IfaceStat* stat) { argument
103 if (!iface || !strcmp(iface, cur_iface)) {
122 static uint64_t getIfaceStatType(const char* iface, IfaceStatType type) { argument
126 if (parseIfaceStat(iface, &stat)) {
148 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { argument
150 const char* ifaceChars = env->GetStringUTFChars(iface, NULL);
153 env->ReleaseStringUTFChars(iface, ifaceChars);
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java185 final NetworkStats iface = new NetworkStats(TEST_START, 2)
188 assertEquals(384L, iface.getTotalBytes());
313 private static void assertValues(NetworkStats stats, int index, String iface, int uid, int set, argument
316 assertValues(entry, iface, uid, set, tag);
321 NetworkStats.Entry entry, String iface, int uid, int set, int tag) {
322 assertEquals(iface, entry.iface);
320 assertValues( NetworkStats.Entry entry, String iface, int uid, int set, int tag) argument

Completed in 1421 milliseconds

123