/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 816 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 D | generate_java_binder.cpp | 517 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;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
H A D | NetworkStatsFactoryTest.java | 157 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/core/java/android/net/ |
H A D | LinkProperties.java | 91 public void setInterfaceName(String iface) { argument 92 mIfaceName = iface; 403 String iface = in.readString(); 404 if (iface != null) { 406 netProp.setInterfaceName(iface);
|
/frameworks/base/services/java/com/android/server/ |
H A D | ThrottleService.java | 144 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...] |
H A D | ConnectivityService.java | 776 final String iface = tracker.getLinkProperties().getInterfaceName(); 781 networkCostly = mMeteredIfaces.contains(iface); 1562 for (String iface : meteredIfaces) { 1563 mMeteredIfaces.add(iface); 2106 final String iface = thisNet.getLinkProperties().getInterfaceName(); 2125 if (timeout > 0 && iface != null) { 2127 mNetd.addIdleTimer(iface, timeout, Integer.toString(type)); 2138 final String iface = net.getLinkProperties().getInterfaceName(); 2140 if (iface != null && (ConnectivityManager.isNetworkTypeMobile(type) || 2144 mNetd.removeIdleTimer(iface); 2491 updateDns(String network, String iface, Collection<InetAddress> dnses, String domains) argument 2835 tether(String iface) argument 2846 untether(String iface) argument 2857 getLastTetherError(String iface) argument [all...] |
H A D | TelephonyRegistry.java | 719 String iface = linkProperties.getInterfaceName(); 720 if (iface != null) { 721 intent.putExtra(PhoneConstants.DATA_IFACE_NAME_KEY, iface);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 71 void noteNetworkInterfaceType(String iface, int type);
|
/frameworks/av/include/media/ |
H A D | IMediaPlayerService.h | 58 // 'iface' specifies the address of the local interface on which to listen for 65 const String8& iface) = 0;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayerService.cpp | 150 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/com/android/internal/net/ |
H A D | NetworkStatsFactory.java | 82 entry.iface = reader.nextString(); 142 entry.iface = reader.nextString(); 201 entry.iface = reader.nextString();
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Vpn.java | 325 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/java/com/android/server/display/ |
H A D | WifiDisplayController.java | 583 final String iface = addr.getHostAddress() + ":" + port; 584 mRemoteDisplayInterface = iface; 586 Slog.i(TAG, "Listening for RTSP connection on " + iface 589 mRemoteDisplay = RemoteDisplay.listen(iface, new RemoteDisplay.Listener() { 788 NetworkInterface iface; 790 iface = NetworkInterface.getByName(info.getInterface()); 797 Enumeration<InetAddress> addrs = iface.getInetAddresses();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 853 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 D | NetworkStatsServiceTest.java | 972 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/net/ |
H A D | NetworkStatsService.java | 218 /** Current default active iface. */ 605 entry.iface = IFACE_ALL; 802 public void limitReached(String limitName, String iface) { 860 * iface} to {@link NetworkStatsHistory}. When multiple {@link NetworkInfo} 861 * are active on a single {@code iface}, they are combined under a single 868 // take one last stats snapshot before updating iface mapping. this 894 final String iface = state.linkProperties.getInterfaceName(); 896 NetworkIdentitySet ident = mActiveIfaces.get(iface); 899 mActiveIfaces.put(iface, ident); 906 if (!contains(mMobileIfaces, iface)) { [all...] |
H A D | NetworkPolicyManagerService.java | 614 public void limitReached(String limitName, String iface) { 619 mHandler.obtainMessage(MSG_LIMIT_REACHED, iface).sendToTarget(); 990 // stash identity and iface away for later use 992 final String iface = state.linkProperties.getInterfaceName(); 994 networks.put(ident, iface); 1008 final String iface = entry.getValue(); 1009 ifaceList.add(iface); 1064 Slog.w(TAG, "shared quota unsupported; generating rule for each iface"); 1067 for (String iface : ifaces) { 1068 removeInterfaceQuota(iface); 1960 setInterfaceQuota(String iface, long quotaBytes) argument 1970 removeInterfaceQuota(String iface) argument [all...] |
H A D | NetworkStatsRecorder.java | 171 final NetworkIdentitySet ident = ifaceIdent.get(entry.iface); 173 unknownIfaces.add(entry.iface);
|
H A D | NetworkStatsCollection.java | 179 entry.iface = IFACE_ALL;
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsTest.java | 185 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/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 68 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 D | WifiDisplaySource.h | 42 status_t start(const char *iface);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 420 public void noteNetworkInterfaceType(String iface, int type) { argument 423 mStats.noteNetworkInterfaceTypeLocked(iface, type);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 255 const String8& iface);
|
H A D | MediaPlayerService.cpp | 290 const sp<IRemoteDisplayClient>& client, const String8& iface) { 295 return new RemoteDisplay(client, iface.string()); 289 listenForRemoteDisplay( const sp<IRemoteDisplayClient>& client, const String8& iface) argument
|