Searched defs:iface (Results 1 - 25 of 72) sorted by last modified time

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java532 public int tether(String iface, String callerPkg) { argument
536 public int untether(String iface, String callerPkg) { argument
540 public int getLastTetherError(String iface) { argument
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/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/opt/net/wifi/service/java/com/android/server/wifi/
H A DFrameworkFacade.java150 public long getTxPackets(String iface) { argument
151 return TrafficStats.getTxPackets(iface);
154 public long getRxPackets(String iface) { argument
155 return TrafficStats.getRxPackets(iface);
159 Context context, String iface, IpClient.Callback callback) {
160 return new IpClient(context, iface, callback);
158 makeIpClient( Context context, String iface, IpClient.Callback callback) argument
H A DHalDeviceManager.java222 * iface destruction.
260 public boolean removeIface(IWifiIface iface) { argument
261 boolean success = removeIfaceInternal(iface);
273 public IWifiChip getChip(IWifiIface iface) { argument
274 String name = getName(iface);
275 int type = getType(iface);
276 if (VDBG) Log.d(TAG, "getChip: iface(name)=" + name);
281 Log.e(TAG, "getChip: no entry for iface(name)=" + name);
290 * Register an InterfaceDestroyedListener to the specified iface - returns true on success
299 * iface destructio
301 registerDestroyedListener(IWifiIface iface, @NonNull InterfaceDestroyedListener destroyedListener, @Nullable Handler handler) argument
389 getName(IWifiIface iface) argument
535 public IWifiIface iface; field in class:HalDeviceManager.WifiIfaceInfo
1850 removeIfaceInternal(IWifiIface iface) argument
2092 getType(IWifiIface 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...]
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 DWifiVendorHal.java380 /** Helper method to lookup the corresponding STA iface object using iface name. */
406 * Create a STA iface using {@link HalDeviceManager}.
411 * @return iface name on success, null otherwise.
416 IWifiStaIface iface = mHalDeviceManager.createStaIface(lowPrioritySta,
418 if (iface == null) {
419 mLog.err("Failed to create STA iface").flush();
422 String ifaceName = mHalDeviceManager.getName((IWifiIface) iface);
424 mLog.err("Failed to get iface name").flush();
427 if (!registerStaIfaceCallback(iface)) {
544 retrieveWifiChip(IWifiIface iface) argument
566 registerStaIfaceCallback(IWifiStaIface iface) argument
1005 enableLinkLayerStats(IWifiStaIface iface) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareNativeApi.java96 public android.hardware.wifi.V1_2.IWifiNanIface mockableCastTo_1_2(IWifiNanIface iface) { argument
97 return android.hardware.wifi.V1_2.IWifiNanIface.castFrom(iface);
298 IWifiNanIface iface = mHal.getWifiNanIface();
299 if (iface == null) {
305 WifiStatus status = iface.getCapabilitiesRequest(transactionId);
341 IWifiNanIface iface = mHal.getWifiNanIface();
342 if (iface == null) {
346 android.hardware.wifi.V1_2.IWifiNanIface iface12 = mockableCastTo_1_2(iface);
437 status = iface.enableRequest(transactionId, req);
492 status = iface
[all...]
H A DWifiAwareNativeManager.java68 public android.hardware.wifi.V1_2.IWifiNanIface mockableCastTo_1_2(IWifiNanIface iface) { argument
69 return android.hardware.wifi.V1_2.IWifiNanIface.castFrom(iface);
135 IWifiNanIface iface = mHalDeviceManager.createNanIface(mInterfaceDestroyedListener,
137 if (iface == null) {
144 android.hardware.wifi.V1_2.IWifiNanIface iface12 = mockableCastTo_1_2(iface);
148 status = iface.registerEventCallback(mWifiAwareNativeCallback);
156 mHalDeviceManager.removeIface(iface);
165 mWifiNanIface = iface;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallback.java47 public SupplicantP2pIfaceCallback(String iface, WifiP2pMonitor monitor) { argument
48 mInterface = iface;
H A DSupplicantP2pIfaceHal.java235 * Setup the P2p iface.
250 Log.e(TAG, "initSupplicantP2pIface got null iface");
295 (SupplicantStatus status, ISupplicantIface iface) -> {
300 supplicantIface.setResult(status, iface);
328 (SupplicantStatus status, ISupplicantIface iface) -> {
334 supplicantIface.setResult(status, iface);
363 * Remove the P2p iface.
381 Log.e(TAG, "Failed to remove iface " + status.code);
449 protected ISupplicantP2pIface getP2pIfaceMockable(ISupplicantIface iface) { argument
450 return ISupplicantP2pIface.asInterface(iface
[all...]
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...]
H A DWifiP2pNative.java66 + "we created a P2P iface");
186 Log.e(TAG, "Failed to create P2p iface in HalDeviceManager");
196 Log.e(TAG, "Failed to get p2p iface name");
201 Log.e(TAG, "Failed to setup P2p iface in supplicant");
247 * @param iface Group interface name to use.
251 public boolean startWpsPbc(String iface, String bssid) { argument
252 return mSupplicantP2pIfaceHal.startWpsPbc(iface, bssid);
258 * @param iface Group interface name to use.
262 public boolean startWpsPinKeypad(String iface, String pin) { argument
263 return mSupplicantP2pIfaceHal.startWpsPinKeypad(iface, pi
273 startWpsPinDisplay(String iface, String bssid) argument
340 setP2pGroupIdle(String iface, int time) argument
352 setP2pPowerSave(String iface, boolean enabled) argument
533 p2pGroupRemove(String iface) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DHalDeviceManagerTest.java709 IWifiApIface iface = (IWifiApIface) validateInterfaceSequence(chipMock,
720 collector.checkThat("allocated interface", iface, IsNull.notNullValue());
729 verify(idl).onDestroyed(getName(iface));
736 * Validate creation of AP interface when in STA mode with a single STA iface created.
827 IWifiApIface iface = (IWifiApIface) validateInterfaceSequence(chipMock,
838 collector.checkThat("allocated interface", iface, IsNull.notNullValue());
847 verify(idl).onDestroyed(getName(iface));
2273 IWifiIface iface = validateInterfaceSequence(chipMock,
2284 collector.checkThat("allocated interface", iface, IsNull.notNullValue());
2288 mDut.removeIface(iface);
2562 getType(IWifiIface iface) argument
2570 getName(IWifiIface iface) argument
[all...]
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...]
H A DSupplicantStaIfaceHalTest.java148 protected ISupplicantStaIface getStaIfaceMockable(ISupplicantIface iface) { argument
154 getStaIfaceMockableV1_1(ISupplicantIface iface) { argument
283 * Ensures that reject addition of an existing iface.
325 * Ensures that we reject removal of an invalid iface.
1732 public void answer(ISupplicant.IfaceInfo iface, ISupplicant.getInterfaceCallback cb) { argument
1748 public void answer(ISupplicant.IfaceInfo iface, argument
H A DWifiStateMachineTest.java164 private static <T, I> IBinder mockService(Class<T> class1, Class<I> iface) { argument
165 T tImpl = mockWithInterfaces(class1, iface);
168 when(binder.queryLocalInterface(iface.getCanonicalName()))
2214 public boolean answer(String iface, MacAddress mac) {
2215 when(mWifiNative.getMacAddress(iface)).thenReturn(mac.toString());
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareNativeApiTest.java70 public android.hardware.wifi.V1_2.IWifiNanIface mockableCastTo_1_2(IWifiNanIface iface) { argument
H A DWifiAwareNativeManagerTest.java77 public android.hardware.wifi.V1_2.IWifiNanIface mockableCastTo_1_2(IWifiNanIface iface) { argument
78 return (iface == mIWifiNanIface12Mock) ? mIWifiNanIface12Mock : null;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallbackTest.java69 SupplicantP2pIfaceCallbackSpy(String iface, WifiP2pMonitor monitor) { argument
70 super(iface, monitor);
94 public void answer(String iface, WifiP2pDevice device) {
97 assertEquals(iface, mIface);
197 public void answer(String iface, WifiP2pDevice device) {
198 assertEquals(iface, mIface);
239 public void answer(String iface, WifiP2pConfig config) {
240 assertEquals(iface, mIface);
302 public void answer(String iface, WifiP2pGroup group) {
303 assertEquals(iface, mIfac
[all...]
H A DSupplicantP2pIfaceHalTest.java164 protected ISupplicantP2pIface getP2pIfaceMockable(ISupplicantIface iface) { argument
267 * Ensures that reject addition of an existing iface.
296 * Ensures that we reject removal of an invalid iface.
2619 // Now setup the iface.
2673 // Now setup the iface.
2758 public void answer(ISupplicant.IfaceInfo iface, ISupplicant.getInterfaceCallback cb) { argument
2774 public void answer(ISupplicant.IfaceInfo iface, argument
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetConfigStore.java58 public void write(String iface, IpConfiguration config) { argument
63 modified = mIpConfigurations.remove(iface) != null;
65 IpConfiguration oldConfig = mIpConfigurations.put(iface, config);
H A DEthernetNetworkFactory.java115 .filter(iface -> !iface.isRestricted() || includeRestricted)
120 .map(iface -> iface.name)
132 Log.d(TAG, "addInterface, iface: " + ifaceName + ", capabilities: " + capabilities);
135 NetworkInterfaceState iface = new NetworkInterfaceState(
137 iface.setIpConfig(ipConfiguration);
138 mTrackingInterfaces.put(ifaceName, iface);
147 for (NetworkInterfaceState iface: mTrackingInterfaces.values()) {
148 capabilitiesFilter.combineCapabilities(iface
182 updateIpConfiguration(String iface, IpConfiguration ipConfiguration) argument
[all...]

Completed in 812 milliseconds

123