Searched defs:iface (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/av/media/libmediaplayerservice/
H A DRemoteDisplay.cpp30 const char *iface)
41 mSource->start(iface);
28 RemoteDisplay( const sp<IRemoteDisplayClient> &client, const char *iface) argument
/frameworks/base/tools/aidl/
H A Dgenerate_java.cpp62 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 Dgenerate_java_binder.cpp517 generate_binder_interface_class(const interface_type* iface) argument
520 NAMES.Find(iface->package, iface->name.data));
524 interface->comment = gather_comments(iface->comments_token->extra);
532 NAMES.Find(iface->package, append(iface->name.data, ".Stub").c_str()),
538 NAMES.Find(iface->package,
539 append(iface->name.data, ".Stub.Proxy").c_str()),
548 interface_item_type* item = iface->interface_items;
H A Daidl.cpp832 interface_type* iface = (interface_type*)malloc( local
834 memset(iface, 0, sizeof(interface_type));
835 iface->document_item.item_type = INTERFACE_TYPE_BINDER;
836 iface->interface_token.lineno = lineno;
837 iface->interface_token.data = strdup(type);
838 iface->package = packagename ? strdup(packagename) : NULL;
839 iface->name.lineno = lineno;
840 iface->name.data = strdup(classname);
841 iface->open_brace_token.lineno = lineno;
842 iface
1094 interface_type* iface = (interface_type*)doc; local
[all...]
/frameworks/base/core/java/com/android/server/net/
H A DBaseNetworkObserver.java29 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/tests/coretests/src/android/net/
H A DLinkPropertiesTest.java232 private void assertAllRoutesHaveInterface(String iface, LinkProperties lp) { argument
234 assertEquals(iface, r.getInterface());
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
/frameworks/base/core/java/android/net/
H A DRouteInfo.java78 * @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 DEthernetDataTracker.java72 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 DLinkProperties.java112 public void setInterfaceName(String iface) { argument
113 mIfaceName = iface;
483 String iface = stacked.getInterfaceName();
484 if (!stacked.equals(target.mStackedLinks.get(iface))) {
678 String iface = in.readString();
679 if (iface != null) {
680 netProp.setInterfaceName(iface);
H A DNetworkStats.java43 /** {@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 DTrafficStats.java283 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...]
/frameworks/base/core/java/com/android/internal/os/
H A DTransferPipe.java52 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/base/core/jni/
H A Dcom_android_internal_net_NetworkStatsFactory.cpp40 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 Dandroid_net_TrafficStats.cpp76 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);
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
H A DNetworkStatsFactoryTest.java157 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, argument
159 final int i = stats.findIndex(iface, uid, set, tag);
165 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, argument
167 final int i = stats.findIndex(iface, uid, set, tag);
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java43 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 DNat464Xlat.java105 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 DVpn.java539 public synchronized void interfaceStatusChanged(String iface, boolean up) { argument
541 mObserver.interfaceStatusChanged(iface, up);
698 final String iface = ipv4DefaultRoute.getInterface();
727 iface, profile.server, "udppsk", profile.ipsecIdentifier,
733 iface, profile.server, "udprsa", privateKey, userCert,
739 iface, profile.server, "xauthpsk", profile.ipsecIdentifier,
745 iface, profile.server, "xauthrsa", privateKey, userCert,
751 iface, profile.server, "hybridrsa",
762 iface, "pptp", profile.server, "1723",
772 iface, "l2t
[all...]
/frameworks/base/services/java/com/android/server/wifi/
H A DWifiTrafficPoller.java69 WifiTrafficPoller(Context context, String iface) { argument
70 mInterface = iface;
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp176 const String8& iface)
181 data.writeString8(iface);
314 String8 iface(data.readString8());
315 sp<IRemoteDisplay> display(listenForRemoteDisplay(client, iface));
175 listenForRemoteDisplay(const sp<IRemoteDisplayClient>& client, const String8& iface) argument
/frameworks/base/core/java/android/os/
H A DBinder.java166 public static final boolean isProxy(IInterface iface) { argument
167 return iface.asBinder() != iface;
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java451 public void noteNetworkInterfaceType(String iface, int type) { argument
454 mStats.noteNetworkInterfaceTypeLocked(iface, type);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java873 private void expectSetInterfaceQuota(String iface, long quotaBytes) throws Exception { argument
874 mNetworkManager.setInterfaceQuota(iface, quotaBytes);
878 private void expectRemoveInterfaceQuota(String iface) throws Exception { argument
879 mNetworkManager.removeInterfaceQuota(iface);
883 private void expectSetInterfaceAlert(String iface, long alertBytes) throws Exception { argument
884 mNetworkManager.setInterfaceAlert(iface, alertBytes);
888 private void expectRemoveInterfaceAlert(String iface) throws Exception { argument
889 mNetworkManager.removeInterfaceAlert(iface);
H A DNetworkStatsServiceTest.java971 private static void assertValues(NetworkStats stats, String iface, int uid, int set, argument
975 final int i = stats.findIndex(iface, uid, SET_DEFAULT, tag);
981 final int i = stats.findIndex(iface, uid, SET_FOREGROUND, tag);
1021 private static NetworkState buildMobile4gState(String iface) { argument
1025 prop.setInterfaceName(iface);

Completed in 546 milliseconds

12