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

12

/frameworks/av/media/libmediaplayerservice/
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
/frameworks/base/services/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 interfaceLinkStateChanged(String iface, boolean up) { argument
44 public void interfaceAdded(String iface) { argument
54 public void limitReached(String limitName, String 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.cpp816 interface_type* iface = (interface_type*)malloc( local
818 memset(iface, 0, sizeof(interface_type));
819 iface->document_item.item_type = INTERFACE_TYPE_BINDER;
820 iface->interface_token.lineno = lineno;
821 iface->interface_token.data = strdup(type);
822 iface->package = packagename ? strdup(packagename) : NULL;
823 iface->name.lineno = lineno;
824 iface->name.data = strdup(classname);
825 iface->open_brace_token.lineno = lineno;
826 iface
1006 interface_type* iface = (interface_type*)doc; local
[all...]
H A Dgenerate_java_rpc.cpp88 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/core/java/android/net/
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 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 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 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 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...]
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);
/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
/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/services/java/com/android/server/am/
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);
H A DBatteryStatsService.java420 public void noteNetworkInterfaceType(String iface, int type) { argument
423 mStats.noteNetworkInterfaceTypeLocked(iface, type);
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java43 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/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/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/jni/
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/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...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java325 public synchronized void interfaceStatusChanged(String iface, boolean up) { argument
327 mObserver.interfaceStatusChanged(iface, up);
469 final String iface = egress.getInterfaceName();
499 iface, profile.server, "udppsk", profile.ipsecIdentifier,
505 iface, profile.server, "udprsa", privateKey, userCert,
511 iface, profile.server, "xauthpsk", profile.ipsecIdentifier,
517 iface, profile.server, "xauthrsa", privateKey, userCert,
523 iface, profile.server, "hybridrsa",
534 iface, "pptp", profile.server, "1723",
544 iface, "l2t
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java853 private void expectSetInterfaceQuota(String iface, long quotaBytes) throws Exception { argument
854 mNetworkManager.setInterfaceQuota(iface, quotaBytes);
858 private void expectRemoveInterfaceQuota(String iface) throws Exception { argument
859 mNetworkManager.removeInterfaceQuota(iface);
863 private void expectSetInterfaceAlert(String iface, long alertBytes) throws Exception { argument
864 mNetworkManager.setInterfaceAlert(iface, alertBytes);
868 private void expectRemoveInterfaceAlert(String iface) throws Exception { argument
869 mNetworkManager.removeInterfaceAlert(iface);
H A DNetworkStatsServiceTest.java972 private static void assertValues(NetworkStats stats, String iface, int uid, int set, argument
976 final int i = stats.findIndex(iface, uid, SET_DEFAULT, tag);
982 final int i = stats.findIndex(iface, uid, SET_FOREGROUND, tag);
1022 private static NetworkState buildMobile4gState(String iface) { argument
1026 prop.setInterfaceName(iface);
/frameworks/base/services/java/com/android/server/
H A DThrottleService.java144 String iface) {
152 mIface = iface;
171 InterfaceObserver(Handler handler, int msg, String iface) { argument
175 mIface = iface;
178 public void interfaceStatusChanged(String iface, boolean up) { argument
180 if (TextUtils.equals(iface, mIface)) {
186 public void interfaceLinkStateChanged(String iface, boolean up) { argument
189 public void interfaceAdded(String iface) { argument
192 if (TextUtils.equals(iface, mIface)) {
197 public void interfaceRemoved(String iface) {} argument
143 ThrottleService(Context context, INetworkManagementService nmService, TrustedTime time, String iface) argument
198 limitReached(String limitName, String iface) argument
258 getResetTime(String iface) argument
270 getPeriodStartTime(String iface) argument
281 getCliffThreshold(String iface, int cliff) argument
290 getCliffLevel(String iface, int cliff) argument
305 getByteCount(String iface, int dir, int period, int ago) argument
316 getThrottle(String iface) argument
[all...]

Completed in 162 milliseconds

12