/frameworks/av/media/libmediaplayerservice/ |
H A D | RemoteDisplay.cpp | 30 const char *iface) 41 mSource->start(iface); 28 RemoteDisplay( const sp<IRemoteDisplayClient> &client, const char *iface) argument
|
/frameworks/base/tools/aidl/ |
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_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/java/android/net/ |
H A D | StaticIpConfiguration.java | 81 public List<RouteInfo> getRoutes(String iface) { argument 84 routes.add(new RouteInfo(ipAddress, null, iface)); 87 routes.add(new RouteInfo((LinkAddress) null, gateway, iface)); 98 public LinkProperties toLinkProperties(String iface) { argument 100 lp.setInterfaceName(iface); 104 for (RouteInfo route : getRoutes(iface)) {
|
H A D | RouteInfo.java | 98 * @param iface the interface name to send packets on 102 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) { argument 155 mInterface = iface; // Strings are immutable. 163 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface) { argument 164 this(destination, gateway, iface, RTN_UNICAST); 170 public RouteInfo(LinkAddress destination, InetAddress gateway, String iface) { argument 173 gateway, iface); 244 public static RouteInfo makeHostRoute(InetAddress host, String iface) { argument 245 return makeHostRoute(host, null, iface); 251 public static RouteInfo makeHostRoute(InetAddress host, InetAddress gateway, String iface) { argument [all...] |
H A D | NetworkStats.java | 45 /** {@link #iface} value when interface details unavailable. */ 69 private String[] iface; field in class:NetworkStats 80 public String iface; field in class:NetworkStats.Entry 99 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, argument 101 this.iface = iface; 132 builder.append("iface=").append(iface); 151 && iface.equals(e.iface); 229 addIfaceValues( String iface, long rxBytes, long rxPackets, long txBytes, long txPackets) argument 236 addValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument 318 combineValues(String iface, int uid, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument 324 combineValues(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument 364 findIndex(String iface, int uid, int set, int tag) argument 379 findIndexHinted(String iface, int uid, int set, int tag, int hintIndex) argument [all...] |
H A D | TrafficStats.java | 296 for (String iface : getMobileIfaces()) { 297 total += getTxPackets(iface); 313 for (String iface : getMobileIfaces()) { 314 total += getRxPackets(iface); 330 for (String iface : getMobileIfaces()) { 331 total += getTxBytes(iface); 347 for (String iface : getMobileIfaces()) { 348 total += getRxBytes(iface); 356 for (String iface : getMobileIfaces()) { 357 final long stat = nativeGetIfaceStat(iface, TYPE_TCP_RX_PACKET 378 getTxPackets(String iface) argument 383 getRxPackets(String iface) argument 388 getTxBytes(String iface) argument 393 getRxBytes(String iface) argument 637 nativeGetIfaceStat(String iface, int type) argument [all...] |
H A D | LinkProperties.java | 118 * @param iface The name of the network interface used for this link. 121 public void setInterfaceName(String iface) { argument 122 mIfaceName = iface; 773 String iface = stacked.getInterfaceName(); 774 if (!stacked.equals(target.mStackedLinks.get(iface))) { 1015 String iface = in.readString(); 1016 if (iface != null) { 1017 netProp.setInterfaceName(iface);
|
/frameworks/base/core/java/com/android/server/net/ |
H A D | BaseNetworkObserver.java | 31 public void interfaceStatusChanged(String iface, boolean up) { argument 36 public void interfaceRemoved(String iface) { argument 41 public void addressUpdated(String iface, LinkAddress address) { argument 46 public void addressRemoved(String iface, LinkAddress address) { argument 51 public void interfaceLinkStateChanged(String iface, boolean up) { argument 56 public void interfaceAdded(String iface) { argument 66 public void limitReached(String limitName, String iface) { argument 71 public void interfaceDnsServerInfo(String iface, long lifetime, String[] servers) { argument
|
H A D | NetlinkTracker.java | 84 public NetlinkTracker(String iface, Callback callback) { argument 85 TAG = "NetlinkTracker/" + iface; 86 mInterfaceName = iface; 93 private void maybeLog(String operation, String iface, LinkAddress address) { argument 95 Log.d(TAG, operation + ": " + address + " on " + iface + 107 public void addressUpdated(String iface, LinkAddress address) { argument 108 if (mInterfaceName.equals(iface)) { 109 maybeLog("addressUpdated", iface, address); 121 public void addressRemoved(String iface, LinkAddress address) { argument 122 if (mInterfaceName.equals(iface)) { 163 interfaceDnsServerInfo(String iface, long lifetime, String[] addresses) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
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/base/core/tests/coretests/src/android/net/ |
H A D | LinkPropertiesTest.java | 234 private void assertAllRoutesHaveInterface(String iface, LinkProperties lp) { argument 236 assertEquals(iface, r.getInterface());
|
H A D | NetworkStatsTest.java | 185 final NetworkStats iface = new NetworkStats(TEST_START, 2) 188 assertEquals(384L, iface.getTotalBytes()); 323 private static void assertValues(NetworkStats stats, int index, String iface, int uid, int set, argument 326 assertValues(entry, iface, uid, set, tag); 331 NetworkStats.Entry entry, String iface, int uid, int set, int tag) { 332 assertEquals(iface, entry.iface); 330 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 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/media/java/android/media/ |
H A D | RemoteDisplay.java | 43 private native long 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/core/java/com/android/server/connectivity/ |
H A D | Nat464Xlat.java | 124 String iface = lp.getInterfaceName(); 125 Slog.i(TAG, "Starting clatd on " + iface + ", lp=" + lp); 127 mNMService.startClatd(iface); 179 public void interfaceAdded(String iface) { argument 180 if (iface.equals(CLAT_INTERFACE_NAME)) { 189 InterfaceConfiguration config = mNMService.getInterfaceConfig(iface); 192 mLP.setInterfaceName(iface); 201 clatAddress.getAddress(), iface); 214 public void interfaceRemoved(String iface) { argument 215 if (iface [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiTrafficPoller.java | 72 WifiTrafficPoller(Context context, String iface) { argument 73 mInterface = iface;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayerService.cpp | 187 const String8& iface) 192 data.writeString8(iface); 325 String8 iface(data.readString8()); 326 sp<IRemoteDisplay> display(listenForRemoteDisplay(client, iface)); 186 listenForRemoteDisplay(const sp<IRemoteDisplayClient>& client, const String8& iface) argument
|
/frameworks/base/core/java/android/os/ |
H A D | Binder.java | 185 public static final boolean isProxy(IInterface iface) { argument 186 return iface.asBinder() != iface;
|
/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 136 &idx, iface, &tag, &cur_uid, &set, &rxBytes, &rxPackets, 163 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { argument 164 ScopedUtfChars iface8(env, iface);
|
H A D | com_android_internal_net_NetworkStatsFactory.cpp | 41 jfieldID iface; member in struct:android::__anon870 53 char iface[32]; member in struct:android::stats_line 150 // Next field is iface. 152 while (*pos != ' ' && *pos != 0 && ifaceIdx < (int)(sizeof(s.iface)-1)) { 153 s.iface[ifaceIdx] = *pos; 158 ALOGE("bad iface: %s", buffer); 162 s.iface[ifaceIdx] = 0; 164 // Is this an iface the caller is interested in? 167 if (limitIfaces[i] == s.iface) { 174 //ALOGI("skipping due to iface [all...] |
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetNetworkFactory.java | 129 private void updateInterfaceState(String iface, boolean up) { argument 130 if (!mIface.equals(iface)) { 133 Log.d(TAG, "updateInterface: " + iface + " link " + (up ? "up" : "down")); 152 public void interfaceLinkStateChanged(String iface, boolean up) { argument 153 updateInterfaceState(iface, up); 157 public void interfaceAdded(String iface) { argument 158 maybeTrackInterface(iface); 162 public void interfaceRemoved(String iface) { argument 163 stopTrackingInterface(iface); 167 private void setInterfaceUp(String iface) { argument 195 maybeTrackInterface(String iface) argument 206 stopTrackingInterface(String iface) argument [all...] |
/frameworks/opt/net/wifi/service/lib/ |
H A D | wifi_hal.cpp | 47 wifi_error wifi_get_iface_name(wifi_interface_handle iface, char *name, size_t size) { argument 52 wifi_interface_handle iface, wifi_event_handler eh) { 56 wifi_error wifi_reset_iface_event_handler(wifi_request_id id, wifi_interface_handle iface) { argument 60 wifi_error wifi_start_gscan(wifi_request_id id, wifi_interface_handle iface, argument 65 wifi_error wifi_stop_gscan(wifi_request_id id, wifi_interface_handle iface) { argument 69 wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush, argument 74 wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush, argument 79 wifi_error wifi_set_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface, argument 84 wifi_error wifi_reset_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface) { argument 88 wifi_error wifi_set_significant_change_handler(wifi_request_id id, wifi_interface_handle iface, argument 51 wifi_set_iface_event_handler(wifi_request_id id, wifi_interface_handle iface, wifi_event_handler eh) argument 93 wifi_reset_significant_change_handler(wifi_request_id id, wifi_interface_handle iface) argument 102 wifi_set_link_stats(wifi_interface_handle iface, wifi_link_layer_params params) argument 106 wifi_get_link_stats(wifi_request_id id, wifi_interface_handle iface, wifi_stats_result_handler handler) argument 111 wifi_clear_link_stats(wifi_interface_handle iface, u32 stats_clear_req_mask, u32 *stats_clear_rsp_mask, u8 stop_req, u8 *stop_rsp) argument 122 wifi_rtt_range_request(wifi_request_id id, wifi_interface_handle iface, unsigned num_rtt_config, wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler) argument 128 wifi_rtt_range_cancel(wifi_request_id id, wifi_interface_handle iface, unsigned num_devices, mac_addr addr[]) argument 133 wifi_set_nodfs_flag(wifi_interface_handle iface, u32 nodfs) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 873 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 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);
|