Searched refs:iface (Results 1 - 25 of 113) sorted by relevance

12345

/frameworks/base/core/java/android/net/
H A DINetworkManagementEventObserver.aidl31 * @param iface The interface.
34 void interfaceStatusChanged(String iface, boolean up);
40 * @param iface The interface.
43 void interfaceLinkStateChanged(String iface, boolean up);
48 * @param iface The interface.
50 void interfaceAdded(String iface);
55 * @param iface The interface.
57 void interfaceRemoved(String iface);
63 * @param iface The interface.
66 void addressUpdated(String iface, i
[all...]
H A DIEthernetServiceListener.aidl22 void onAvailabilityChanged(String iface, boolean isAvailable);
H A DIEthernetManager.aidl30 IpConfiguration getConfiguration(String iface);
31 void setConfiguration(String iface, in IpConfiguration config);
32 boolean isAvailable(String iface);
H A DITetheringStatsProvider.aidl41 void setInterfaceQuota(String iface, long quotaBytes);
H A DEthernetManager.java54 public void onAvailabilityChanged(String iface, boolean isAvailable) {
56 MSG_AVAILABILITY_CHANGED, isAvailable ? 1 : 0, 0, iface).sendToTarget();
66 * @param iface Ethernet interface name
69 void onAvailabilityChanged(String iface, boolean isAvailable); argument
87 public IpConfiguration getConfiguration(String iface) { argument
89 return mService.getConfiguration(iface);
98 public void setConfiguration(String iface, IpConfiguration config) { argument
100 mService.setConfiguration(iface, config);
116 * @param iface Ethernet interface name
118 public boolean isAvailable(String iface) { argument
[all...]
H A DTrafficStats.java473 for (String iface : getMobileIfaces()) {
474 total += addIfSupported(getTxPackets(iface));
490 for (String iface : getMobileIfaces()) {
491 total += addIfSupported(getRxPackets(iface));
507 for (String iface : getMobileIfaces()) {
508 total += addIfSupported(getTxBytes(iface));
524 for (String iface : getMobileIfaces()) {
525 total += addIfSupported(getRxBytes(iface));
533 for (String iface : getMobileIfaces()) {
536 stat = getStatsService().getIfaceStats(iface, TYPE_TCP_RX_PACKET
561 getTxPackets(String iface) argument
570 getRxPackets(String iface) argument
579 getTxBytes(String iface) argument
588 getRxBytes(String iface) argument
[all...]
H A DRouteInfo.java98 * @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...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pMonitor.java104 public synchronized void registerHandler(String iface, int what, Handler handler) { argument
105 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface);
108 mHandlerMap.put(iface, ifaceHandlers);
119 private boolean isMonitoring(String iface) { argument
120 Boolean val = mMonitoringMap.get(iface);
129 * Enable/Disable monitoring for the provided iface.
131 * @param iface Name of the iface.
135 public void setMonitoring(String iface, boolean enabled) { argument
136 mMonitoringMap.put(iface, enable
151 startMonitoring(String iface) argument
162 stopMonitoring(String iface) argument
184 sendMessage(String iface, int what) argument
188 sendMessage(String iface, int what, Object obj) argument
192 sendMessage(String iface, int what, int arg1) argument
196 sendMessage(String iface, int what, int arg1, int arg2) argument
200 sendMessage(String iface, int what, int arg1, int arg2, Object obj) argument
204 sendMessage(String iface, Message message) argument
251 broadcastSupplicantConnectionEvent(String iface) argument
261 broadcastSupplicantDisconnectionEvent(String iface) argument
271 broadcastP2pDeviceFound(String iface, WifiP2pDevice device) argument
283 broadcastP2pDeviceLost(String iface, WifiP2pDevice device) argument
294 broadcastP2pFindStopped(String iface) argument
304 broadcastP2pGoNegotiationRequest(String iface, WifiP2pConfig config) argument
315 broadcastP2pGoNegotiationSuccess(String iface) argument
325 broadcastP2pGoNegotiationFailure(String iface, P2pStatus reason) argument
334 broadcastP2pGroupFormationSuccess(String iface) argument
344 broadcastP2pGroupFormationFailure(String iface, String reason) argument
358 broadcastP2pGroupStarted(String iface, WifiP2pGroup group) argument
370 broadcastP2pGroupRemoved(String iface, WifiP2pGroup group) argument
382 broadcastP2pInvitationReceived(String iface, WifiP2pGroup group) argument
394 broadcastP2pInvitationResult(String iface, P2pStatus result) argument
404 broadcastP2pProvisionDiscoveryPbcRequest(String iface, WifiP2pProvDiscEvent event) argument
416 broadcastP2pProvisionDiscoveryPbcResponse( String iface, WifiP2pProvDiscEvent event) argument
429 broadcastP2pProvisionDiscoveryEnterPin(String iface, WifiP2pProvDiscEvent event) argument
441 broadcastP2pProvisionDiscoveryShowPin(String iface, WifiP2pProvDiscEvent event) argument
452 broadcastP2pProvisionDiscoveryFailure(String iface) argument
462 broadcastP2pServiceDiscoveryResponse( String iface, List<WifiP2pServiceResponse> services) argument
472 broadcastP2pApStaConnected(String iface, WifiP2pDevice device) argument
481 broadcastP2pApStaDisconnected(String iface, WifiP2pDevice device) argument
[all...]
/frameworks/base/core/java/com/android/server/net/
H A DBaseNetworkObserver.java31 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 DNetlinkTracker.java82 public NetlinkTracker(String iface, Callback callback) { argument
83 TAG = "NetlinkTracker/" + iface;
84 mInterfaceName = iface;
91 private void maybeLog(String operation, String iface, LinkAddress address) { argument
93 Log.d(TAG, operation + ": " + address + " on " + iface +
105 public void interfaceRemoved(String iface) { argument
106 maybeLog("interfaceRemoved", iface);
107 if (mInterfaceName.equals(iface)) {
118 public void addressUpdated(String iface, LinkAddress address) { argument
119 if (mInterfaceName.equals(iface)) {
132 addressRemoved(String iface, LinkAddress address) argument
174 interfaceDnsServerInfo(String iface, long lifetime, String[] addresses) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiMonitor.java125 public synchronized void registerHandler(String iface, int what, Handler handler) { argument
126 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface);
129 mHandlerMap.put(iface, ifaceHandlers);
141 * @param iface
145 public synchronized void deregisterHandler(String iface, int what, Handler handler) { argument
146 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface);
158 private boolean isMonitoring(String iface) { argument
159 Boolean val = mMonitoringMap.get(iface);
168 * Enable/Disable monitoring for the provided iface.
170 * @param iface Nam
174 setMonitoring(String iface, boolean enabled) argument
189 startMonitoring(String iface) argument
200 stopMonitoring(String iface) argument
223 sendMessage(String iface, int what) argument
227 sendMessage(String iface, int what, Object obj) argument
231 sendMessage(String iface, int what, int arg1) argument
235 sendMessage(String iface, int what, int arg1, int arg2) argument
239 sendMessage(String iface, int what, int arg1, int arg2, Object obj) argument
243 sendMessage(String iface, Message message) argument
291 broadcastWpsFailEvent(String iface, int cfgError, int vendorErrorCode) argument
326 broadcastWpsSuccessEvent(String iface) argument
335 broadcastWpsOverlapEvent(String iface) argument
344 broadcastWpsTimeoutEvent(String iface) argument
354 broadcastAnqpDoneEvent(String iface, AnqpEvent anqpEvent) argument
364 broadcastIconDoneEvent(String iface, IconEvent iconEvent) argument
374 broadcastWnmEvent(String iface, WnmData wnmData) argument
385 broadcastNetworkIdentityRequestEvent(String iface, int networkId, String ssid) argument
398 broadcastNetworkGsmAuthRequestEvent(String iface, int networkId, String ssid, String[] data) argument
413 broadcastNetworkUmtsAuthRequestEvent(String iface, int networkId, String ssid, String[] data) argument
423 broadcastScanResultEvent(String iface) argument
431 broadcastPnoScanResultEvent(String iface) argument
439 broadcastScanFailedEvent(String iface) argument
455 broadcastAuthenticationFailureEvent(String iface, int reason, int errorCode) argument
467 broadcastAssociationRejectionEvent(String iface, int status, boolean timedOut, String bssid) argument
478 broadcastAssociatedBssidEvent(String iface, String bssid) argument
488 broadcastTargetBssidEvent(String iface, String bssid) argument
499 broadcastNetworkConnectionEvent(String iface, int networkId, String bssid) argument
511 broadcastNetworkDisconnectionEvent(String iface, int local, int reason, String bssid) argument
524 broadcastSupplicantStateChangeEvent(String iface, int networkId, WifiSsid wifiSsid, String bssid, SupplicantState newSupplicantState) argument
537 broadcastSupplicantConnectionEvent(String iface) argument
547 broadcastSupplicantDisconnectionEvent(String iface) argument
[all...]
H A DWifiNative.java112 * Meta-info about every iface that is active.
125 /** Type of the iface: STA or AP */
131 /** External iface destroyed listener for the iface */
160 /** Integer to allocate for the next iface being created */
162 /** Map of the id to the iface structure */
165 /** Allocate a new iface for the given type */
167 Iface iface = new Iface(mNextId, type);
168 mIfaces.put(mNextId, iface);
170 return iface;
393 onClientInterfaceDestroyed(@onNull Iface iface) argument
411 onSoftApInterfaceDestroyed(@onNull Iface iface) argument
434 onInterfaceDestroyed(@onNull Iface iface) argument
547 onInterfaceStateChanged(Iface iface, boolean isUp) argument
672 createStaIface(@onNull Iface iface, boolean lowPrioritySta) argument
689 createApIface(@onNull Iface iface) argument
704 handleIfaceRemovalWhenVendorHalNotSupported(@onNull Iface iface) argument
718 removeStaIface(@onNull Iface iface) argument
732 removeApIface(@onNull Iface iface) argument
[all...]
H A DSupplicantStaIfaceHal.java271 * Setup a STA interface for the specified iface name.
286 Log.e(TAG, "setupIface got null iface");
292 android.hardware.wifi.supplicant.V1_1.ISupplicantStaIface iface =
297 if (!registerCallbackV1_1(iface, callbackV1_1)) {
300 mISupplicantStaIfaces.put(ifaceName, iface);
303 ISupplicantStaIface iface = getStaIfaceMockable(ifaceHwBinder);
305 if (!registerCallback(iface, callback)) {
308 mISupplicantStaIfaces.put(ifaceName, iface);
315 * Get a STA interface for the specified iface name.
347 (SupplicantStatus status, ISupplicantIface iface)
562 getStaIfaceMockable(ISupplicantIface iface) argument
569 getStaIfaceMockableV1_1(ISupplicantIface iface) argument
1097 registerCallback( ISupplicantStaIface iface, ISupplicantStaIfaceCallback callback) argument
1112 registerCallbackV1_1( android.hardware.wifi.supplicant.V1_1.ISupplicantStaIface iface, android.hardware.wifi.supplicant.V1_1.ISupplicantStaIfaceCallback callback) argument
[all...]
/frameworks/native/libs/binder/
H A DIInterface.cpp33 sp<IBinder> IInterface::asBinder(const IInterface* iface) argument
35 if (iface == NULL) return NULL;
36 return const_cast<IInterface*>(iface)->onAsBinder();
40 sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface) argument
42 if (iface == NULL) return NULL;
43 return iface->onAsBinder();
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DMockWifiMonitor.java42 public void registerHandler(String iface, int what, Handler handler) { argument
43 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface);
46 mHandlerMap.put(iface, ifaceHandlers);
52 public synchronized void startMonitoring(String iface) { argument
59 public void sendMessage(String iface, int what) { argument
60 sendMessage(iface, Message.obtain(null, what));
63 public void sendMessage(String iface, Message message) { argument
64 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface);
66 assertTrue("No handler for iface=" + iface
[all...]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetTracker.java70 /** Mapping between {iface name | mac address} -> {NetworkCapabilities} */
130 void updateIpConfiguration(String iface, IpConfiguration ipConfiguration) { argument
132 Log.i(TAG, "updateIpConfiguration, iface: " + iface + ", cfg: " + ipConfiguration);
135 mConfigStore.write(iface, ipConfiguration);
136 mIpConfigurations.put(iface, ipConfiguration);
138 mHandler.post(() -> mFactory.updateIpConfiguration(iface, ipConfiguration));
141 IpConfiguration getIpConfiguration(String iface) { argument
142 return mIpConfigurations.get(iface);
145 boolean isTrackingInterface(String iface) { argument
157 isRestrictedInterface(String iface) argument
170 removeInterface(String iface) argument
174 addInterface(String iface) argument
217 updateInterfaceState(String iface, boolean up) argument
239 maybeTrackInterface(String iface) argument
270 interfaceLinkStateChanged(String iface, boolean up) argument
278 interfaceAdded(String iface) argument
283 interfaceRemoved(String iface) argument
[all...]
H A DEthernetServiceImpl.java101 public IpConfiguration getConfiguration(String iface) { argument
104 if (mTracker.isRestrictedInterface(iface)) {
108 return new IpConfiguration(mTracker.getIpConfiguration(iface));
115 public void setConfiguration(String iface, IpConfiguration config) { argument
122 if (mTracker.isRestrictedInterface(iface)) {
128 mTracker.updateIpConfiguration(iface, new IpConfiguration(config));
135 public boolean isAvailable(String iface) { argument
138 if (mTracker.isRestrictedInterface(iface)) {
142 return mTracker.isTrackingInterface(iface);
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl63 InterfaceConfiguration getInterfaceConfig(String iface);
68 void setInterfaceConfig(String iface, in InterfaceConfiguration cfg);
73 void clearInterfaceAddresses(String iface);
78 void setInterfaceDown(String iface);
83 void setInterfaceUp(String iface);
88 void setInterfaceIpv6PrivacyExtensions(String iface, boolean enable);
93 void disableIpv6(String iface);
98 void enableIpv6(String iface);
104 void setIPv6AddrGenMode(String iface, int mode);
119 void setMtu(String iface, in
[all...]
H A DHwBinder.java81 * @param iface fully-qualified interface name for example foo.bar@1.3::IBaz
88 String iface,
91 return getService(iface, serviceName, false /* retry */);
95 * @param iface fully-qualified interface name for example foo.bar@1.3::IBaz
103 String iface,
87 getService( String iface, String serviceName) argument
102 getService( String iface, String serviceName, boolean retry) argument
/frameworks/opt/net/wifi/libwifi_hal/
H A Dhal_tool.cpp72 wifi_error wifi_get_iface_name_stub(wifi_interface_handle iface, char* name, argument
78 wifi_interface_handle iface,
84 wifi_interface_handle iface) {
89 wifi_interface_handle iface,
96 wifi_interface_handle iface) {
100 wifi_error wifi_get_cached_gscan_results_stub(wifi_interface_handle iface, argument
108 wifi_interface_handle iface,
115 wifi_interface_handle iface) {
120 wifi_request_id id, wifi_interface_handle iface,
127 wifi_request_id id, wifi_interface_handle iface) {
77 wifi_set_iface_event_handler_stub(wifi_request_id id, wifi_interface_handle iface, wifi_event_handler eh) argument
83 wifi_reset_iface_event_handler_stub(wifi_request_id id, wifi_interface_handle iface) argument
88 wifi_start_gscan_stub(wifi_request_id id, wifi_interface_handle iface, wifi_scan_cmd_params params, wifi_scan_result_handler handler) argument
95 wifi_stop_gscan_stub(wifi_request_id id, wifi_interface_handle iface) argument
107 wifi_set_bssid_hotlist_stub(wifi_request_id id, wifi_interface_handle iface, wifi_bssid_hotlist_params params, wifi_hotlist_ap_found_handler handler) argument
114 wifi_reset_bssid_hotlist_stub(wifi_request_id id, wifi_interface_handle iface) argument
119 wifi_set_significant_change_handler_stub( wifi_request_id id, wifi_interface_handle iface, wifi_significant_change_params params, wifi_significant_change_handler handler) argument
126 wifi_reset_significant_change_handler_stub( wifi_request_id id, wifi_interface_handle iface) argument
136 wifi_set_link_stats_stub(wifi_interface_handle iface, wifi_link_layer_params params) argument
141 wifi_get_link_stats_stub(wifi_request_id id, wifi_interface_handle iface, wifi_stats_result_handler handler) argument
147 wifi_clear_link_stats_stub(wifi_interface_handle iface, u32 stats_clear_req_mask, u32* stats_clear_rsp_mask, u8 stop_req, u8* stop_rsp) argument
162 wifi_rtt_range_request_stub(wifi_request_id id, wifi_interface_handle iface, unsigned num_rtt_config, wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler) argument
171 wifi_rtt_range_cancel_stub(wifi_request_id id, wifi_interface_handle iface, unsigned num_devices, mac_addr addr[]) argument
178 wifi_get_rtt_capabilities_stub(wifi_interface_handle iface, wifi_rtt_capabilities* capabilities) argument
184 wifi_enable_responder_stub(wifi_request_id id, wifi_interface_handle iface, wifi_channel_info channel_hint, unsigned max_duration_seconds, wifi_channel_info* channel_used) argument
193 wifi_disable_responder_stub(wifi_request_id id, wifi_interface_handle iface) argument
199 wifi_rtt_get_available_channel_stub(wifi_interface_handle iface, wifi_channel_info* channel) argument
204 wifi_set_nodfs_flag_stub(wifi_interface_handle iface, u32 nodfs) argument
208 wifi_start_logging_stub(wifi_interface_handle iface, u32 verbose_level, u32 flags, u32 max_interval_sec, u32 min_data_size, char* buffer_name) argument
215 wifi_set_epno_list_stub(int id, wifi_interface_info* iface, const wifi_epno_params* params, wifi_epno_handler handler) argument
221 wifi_reset_epno_list_stub(int id, wifi_interface_info* iface) argument
225 wifi_set_country_code_stub(wifi_interface_handle iface, const char* code) argument
230 wifi_get_firmware_memory_dump_stub( wifi_interface_handle iface, wifi_firmware_memory_dump_handler handler) argument
235 wifi_set_log_handler_stub(wifi_request_id id, wifi_interface_handle iface, wifi_ring_buffer_data_handler handler) argument
241 wifi_reset_log_handler_stub(wifi_request_id id, wifi_interface_handle iface) argument
246 wifi_set_alert_handler_stub(wifi_request_id id, wifi_interface_handle iface, wifi_alert_handler handler) argument
252 wifi_reset_alert_handler_stub(wifi_request_id id, wifi_interface_handle iface) argument
257 wifi_get_firmware_version_stub(wifi_interface_handle iface, char* buffer, int buffer_size) argument
262 wifi_get_ring_buffers_status_stub(wifi_interface_handle iface, u32* num_rings, wifi_ring_buffer_status* status) argument
268 wifi_get_logger_supported_feature_set_stub( wifi_interface_handle iface, unsigned int* support) argument
273 wifi_get_ring_data_stub(wifi_interface_handle iface, char* ring_name) argument
278 wifi_get_driver_version_stub(wifi_interface_handle iface, char* buffer, int buffer_size) argument
283 wifi_enable_tdls_stub(wifi_interface_handle iface, mac_addr addr, wifi_tdls_params* params, wifi_tdls_handler handler) argument
289 wifi_disable_tdls_stub(wifi_interface_handle iface, mac_addr addr) argument
293 wifi_get_tdls_status_stub(wifi_interface_handle iface, mac_addr addr, wifi_tdls_status* status) argument
298 wifi_get_tdls_capabilities_stub( wifi_interface_handle iface, wifi_tdls_capabilities* capabilities) argument
303 wifi_start_sending_offloaded_packet_stub( wifi_request_id id, wifi_interface_handle iface, u8* ip_packet, u16 ip_packet_len, u8* src_mac_addr, u8* dst_mac_addr, u32 period_msec) argument
309 wifi_stop_sending_offloaded_packet_stub( wifi_request_id id, wifi_interface_handle iface) argument
314 wifi_get_wake_reason_stats_stub( wifi_interface_handle iface, WLAN_DRIVER_WAKE_REASON_CNT* wifi_wake_reason_cnt) argument
320 wifi_configure_nd_offload_stub(wifi_interface_handle iface, u8 enable) argument
325 wifi_get_driver_memory_dump_stub( wifi_interface_handle iface, wifi_driver_memory_dump_callbacks callbacks) argument
330 wifi_start_pkt_fate_monitoring_stub(wifi_interface_handle iface) argument
347 wifi_nan_enable_request_stub(transaction_id id, wifi_interface_handle iface, NanEnableRequest* msg) argument
353 wifi_nan_disable_request_stub(transaction_id id, wifi_interface_handle iface) argument
358 wifi_nan_publish_request_stub(transaction_id id, wifi_interface_handle iface, NanPublishRequest* msg) argument
364 wifi_nan_publish_cancel_request_stub(transaction_id id, wifi_interface_handle iface, NanPublishCancelRequest* msg) argument
370 wifi_nan_subscribe_request_stub(transaction_id id, wifi_interface_handle iface, NanSubscribeRequest* msg) argument
376 wifi_nan_subscribe_cancel_request_stub( transaction_id id, wifi_interface_handle iface, NanSubscribeCancelRequest* msg) argument
382 wifi_nan_transmit_followup_request_stub( transaction_id id, wifi_interface_handle iface, NanTransmitFollowupRequest* msg) argument
388 wifi_nan_stats_request_stub(transaction_id id, wifi_interface_handle iface, NanStatsRequest* msg) argument
394 wifi_nan_config_request_stub(transaction_id id, wifi_interface_handle iface, NanConfigRequest* msg) argument
400 wifi_nan_tca_request_stub(transaction_id id, wifi_interface_handle iface, NanTCARequest* msg) argument
406 wifi_nan_beacon_sdf_payload_request_stub( transaction_id id, wifi_interface_handle iface, NanBeaconSdfPayloadRequest* msg) argument
412 wifi_nan_register_handler_stub(wifi_interface_handle iface, NanCallbackHandler handlers) argument
421 wifi_nan_get_capabilities_stub(transaction_id id, wifi_interface_handle iface) argument
426 wifi_nan_data_interface_create_stub(transaction_id id, wifi_interface_handle iface, char* iface_name) argument
432 wifi_nan_data_interface_delete_stub(transaction_id id, wifi_interface_handle iface, char* iface_name) argument
438 wifi_nan_data_request_initiator_stub( transaction_id id, wifi_interface_handle iface, NanDataPathInitiatorRequest* msg) argument
444 wifi_nan_data_indication_response_stub( transaction_id id, wifi_interface_handle iface, NanDataPathIndicationResponse* msg) argument
450 wifi_nan_data_end_stub(transaction_id id, wifi_interface_handle iface, NanDataPathEndRequest* msg) argument
[all...]
/frameworks/base/lowpan/java/android/net/lowpan/
H A DLowpanManager.java113 LowpanInterface iface = null;
117 iface = mBinderCache.get(ifaceService.asBinder()).get();
121 return iface;
127 LowpanInterface iface = null;
132 iface = mBinderCache.get(ifaceService.asBinder()).get();
135 if (iface == null) {
138 iface = new LowpanInterface(mContext, ifaceService, mLooper);
141 mInterfaceCache.put(iface.getName(), iface);
144 mBinderCache.put(ifaceService.asBinder(), new WeakReference(iface));
[all...]
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java44 private native long nativeListen(String iface, String opPackageName); argument
67 * @param iface The interface address and port in the form "x.x.x.x:y".
71 public static RemoteDisplay listen(String iface, Listener listener, Handler handler, argument
73 if (iface == null) {
74 throw new IllegalArgumentException("iface must not be null");
84 display.startListening(iface);
118 private void startListening(String iface) { argument
119 mPtr = nativeListen(iface, mOpPackageName);
122 + "remote display connection on \"" + iface + "\"");
/frameworks/base/lowpan/tests/src/android/net/lowpan/
H A DLowpanManagerTest.java82 LowpanInterface iface = mLowpanManager.getInterface();
83 assertNotNull(iface);
84 assertEquals(iface.getName(), "wpan0");
112 iface -> {
113 mLowpanInterface = iface;
114 return iface instanceof LowpanInterface;
160 iface -> {
161 mLowpanInterface = iface;
162 return iface instanceof LowpanInterface;
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNat464Xlat.java68 IDLE, // start() not called. Base iface and stacked iface names are null.
69 STARTING, // start() called. Base iface and stacked iface names are known.
70 RUNNING, // start() called, and the stacked iface is known to be up.
266 private LinkAddress getLinkAddress(String iface) { argument
268 InterfaceConfiguration config = mNMService.getInterfaceConfig(iface);
279 private void handleInterfaceLinkStateChanged(String iface, boolean up) { argument
280 if (!isStarting() || !up || !Objects.equals(mIface, iface)) {
284 LinkAddress clatAddress = getLinkAddress(iface);
301 handleInterfaceRemoved(String iface) argument
322 interfaceLinkStateChanged(String iface, boolean up) argument
327 interfaceRemoved(String iface) argument
[all...]
/frameworks/base/core/java/android/net/metrics/
H A DWakeupEvent.java29 public String iface; field in class:WakeupEvent
44 j.add(iface);

Completed in 329 milliseconds

12345