Searched defs:ifaceName (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DTestUtil.java90 Context context, int apState, int previousState, int error, String ifaceName,
99 intent.putExtra(WifiManager.EXTRA_WIFI_AP_INTERFACE_NAME, ifaceName);
89 sendWifiApStateChanged(BroadcastReceiver broadcastReceiver, Context context, int apState, int previousState, int error, String ifaceName, int mode) argument
H A DSupplicantStaNetworkHalTest.java89 String ifaceName,
91 super(iSupplicantStaNetwork, ifaceName, context, monitor);
88 SupplicantStaNetworkHalSpyV1_1(ISupplicantStaNetwork iSupplicantStaNetwork, String ifaceName, Context context, WifiMonitor monitor) argument
H A DWifiNativeInterfaceManagementTest.java1174 String ifaceName, @Mock WifiNative.InterfaceCallback callback,
1177 when(mWifiVendorHal.createStaIface(anyBoolean(), any())).thenReturn(ifaceName);
1178 assertEquals(ifaceName, mWifiNative.setupInterfaceForClientMode(false, callback));
1181 existingStaIface, existingApIface, ifaceName, destroyedListenerCaptor,
1187 String ifaceName, ArgumentCaptor<InterfaceDestroyedListener> destroyedListenerCaptor,
1203 mInOrder.verify(mWificondControl).setupInterfaceForClientMode(ifaceName);
1204 mInOrder.verify(mSupplicantStaIfaceHal).setupIface(ifaceName);
1206 mInOrder.verify(mWifiMonitor).startMonitoring(ifaceName);
1207 mInOrder.verify(mNwManagementService).getInterfaceConfig(ifaceName);
1208 mInOrder.verify(mNwManagementService).clearInterfaceAddresses(ifaceName);
1172 executeAndValidateSetupClientInterface( boolean existingStaIface, boolean existingApIface, String ifaceName, @Mock WifiNative.InterfaceCallback callback, ArgumentCaptor<InterfaceDestroyedListener> destroyedListenerCaptor, ArgumentCaptor<BaseNetworkObserver> networkObserverCaptor) argument
1185 validateSetupClientInterface( boolean existingStaIface, boolean existingApIface, String ifaceName, ArgumentCaptor<InterfaceDestroyedListener> destroyedListenerCaptor, ArgumentCaptor<BaseNetworkObserver> networkObserverCaptor) argument
1213 executeAndValidateTeardownClientInterface( boolean anyOtherStaIface, boolean anyOtherApIface, String ifaceName, @Mock WifiNative.InterfaceCallback callback, InterfaceDestroyedListener destroyedListener, BaseNetworkObserver networkObserver) argument
1230 validateOnDestroyedClientInterface( boolean anyOtherStaIface, boolean anyOtherApIface, String ifaceName, @Mock WifiNative.InterfaceCallback callback, BaseNetworkObserver networkObserver) argument
1253 executeAndValidateSetupSoftApInterface( boolean existingStaIface, boolean existingApIface, String ifaceName, @Mock WifiNative.InterfaceCallback callback, ArgumentCaptor<InterfaceDestroyedListener> destroyedListenerCaptor, ArgumentCaptor<BaseNetworkObserver> networkObserverCaptor) argument
1266 validateSetupSoftApInterface( boolean existingStaIface, boolean existingApIface, String ifaceName, ArgumentCaptor<InterfaceDestroyedListener> destroyedListenerCaptor, ArgumentCaptor<BaseNetworkObserver> networkObserverCaptor) argument
1281 executeAndValidateTeardownSoftApInterface( boolean anyOtherStaIface, boolean anyOtherApIface, String ifaceName, @Mock WifiNative.InterfaceCallback callback, InterfaceDestroyedListener destroyedListener, BaseNetworkObserver networkObserver) argument
1298 validateOnDestroyedSoftApInterface( boolean anyOtherStaIface, boolean anyOtherApIface, String ifaceName, @Mock WifiNative.InterfaceCallback callback, BaseNetworkObserver networkObserver) argument
1318 executeAndValidateInterfaceStateChange( String ifaceName, boolean up, BaseNetworkObserver networkObserver) argument
[all...]
H A DHalDeviceManagerTest.java323 "wlan0", // ifaceName
337 "wlan0", // ifaceName
398 "wlan0", // ifaceName
713 name, // ifaceName
831 name, // ifaceName
929 "wlan0", // ifaceName
954 "p2p0", // ifaceName
971 "wlan0", // ifaceName
1003 "wlan0", // ifaceName
1028 "p2p0", // ifaceName
2258 runCreateSingleXxxInterfaceNoInitMode(ChipMockBase chipMock, int ifaceTypeToCreate, String ifaceName, int finalChipMode, boolean multipleIfaceSupport) argument
2440 validateInterfaceSequence(ChipMockBase chipMock, boolean chipModeValid, int chipModeId, int ifaceTypeToCreate, String ifaceName, int finalChipMode, boolean lowPriority, IWifiIface[] tearDownList, InterfaceDestroyedListener destroyedListener, HalDeviceManager.InterfaceAvailableForRequestListener availableListener, InterfaceDestroyedListenerWithIfaceName...destroyedInterfacesDestroyedListeners) argument
2588 InterfaceDestroyedListenerWithIfaceName( String ifaceName, InterfaceDestroyedListener listener) argument
[all...]
H A DSupplicantStaIfaceHalTest.java160 @NonNull String ifaceName,
159 getStaNetworkMockable( @onNull String ifaceName, ISupplicantStaNetwork iSupplicantStaNetwork) argument
H A DWifiVendorHalTest.java176 String ifaceName) {
202 String ifaceName) {
2104 String ifaceName = mWifiVendorHal.createStaIface(false, null);
2106 assertEquals(TEST_IFACE_NAME, ifaceName);
2107 assertTrue(mWifiVendorHal.removeStaIface(ifaceName));
2117 String ifaceName = mWifiVendorHal.createApIface(null);
2119 assertEquals(TEST_IFACE_NAME, ifaceName);
2120 assertTrue(mWifiVendorHal.removeApIface(ifaceName));
175 getWifiStaIfaceForV1_2Mockable( String ifaceName) argument
201 getWifiStaIfaceForV1_2Mockable( String ifaceName) argument
/frameworks/base/libs/common_time/
H A Dcommon_time_config_service.cpp64 status_t CommonTimeConfigService::getInterfaceBinding(String16& ifaceName) { argument
67 ifaceName = String16(tmp);
71 status_t CommonTimeConfigService::setInterfaceBinding(const String16& ifaceName) { argument
72 String8 tmp(ifaceName);
H A Dcommon_time_server_api.cpp145 status_t CommonTimeServer::getInterfaceBinding(String8& ifaceName) { argument
149 ifaceName = mBindIface;
153 status_t CommonTimeServer::setInterfaceBinding(const String8& ifaceName) { argument
157 if (ifaceName.size()) {
159 mBindIface = ifaceName;
/frameworks/av/media/common_time/
H A DICommonTimeConfig.cpp156 virtual status_t getInterfaceBinding(String16& ifaceName) { argument
165 ifaceName = reply.readString16();
172 virtual status_t setInterfaceBinding(const String16& ifaceName) { argument
175 data.writeString16(ifaceName);
415 String16 ifaceName; local
416 ifaceName = data.readString16();
417 status_t status = setInterfaceBinding(ifaceName);
/frameworks/base/core/jni/
H A Dandroid_os_HwBinder.cpp305 std::string ifaceName;
311 ifaceName = str.c_str();
323 sp<IBase> ret = getRawServiceInternal(ifaceName, serviceName, retry /* retry */, false /* getStub */);
331 LOG(INFO) << "HwBinder: Starting thread pool for " << serviceName << "::" << ifaceName; local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DHostapdHal.java222 * @param ifaceName Name of the interface.
226 public boolean addAccessPoint(@NonNull String ifaceName, @NonNull WifiConfiguration config) { argument
230 ifaceParams.ifaceName = ifaceName;
278 * @param ifaceName Name of the interface.
281 public boolean removeAccessPoint(@NonNull String ifaceName) { argument
286 HostapdStatus status = mIHostapd.removeAccessPoint(ifaceName);
H A DWifiTrafficPoller.java132 String ifaceName;
142 ifaceName = mWifiNative.getClientInterfaceName();
143 if (mEnableTrafficStatsPoll && !TextUtils.isEmpty(ifaceName)) {
144 notifyOnDataActivity(ifaceName);
157 ifaceName = mWifiNative.getClientInterfaceName();
158 if (!TextUtils.isEmpty(ifaceName)) {
159 notifyOnDataActivity(ifaceName);
193 private void notifyOnDataActivity(@NonNull String ifaceName) { argument
198 mTxPkts = mWifiNative.getTxPackets(ifaceName);
199 mRxPkts = mWifiNative.getRxPackets(ifaceName);
[all...]
H A DWificondControl.java86 ScanEventHandler(@NonNull String ifaceName) { argument
87 mIfaceName = ifaceName;
113 PnoScanEventHandler(@NonNull String ifaceName) { argument
114 mIfaceName = ifaceName;
234 public IClientInterface setupInterfaceForClientMode(@NonNull String ifaceName) { argument
242 clientInterface = mWificond.createClientInterface(ifaceName);
255 mClientInterfaces.put(ifaceName, clientInterface);
262 mWificondScanners.put(ifaceName, wificondScanner);
264 ScanEventHandler scanEventHandler = new ScanEventHandler(ifaceName);
265 mScanEventHandlers.put(ifaceName, scanEventHandle
282 tearDownClientInterface(@onNull String ifaceName) argument
322 setupInterfaceForSoftApMode(@onNull String ifaceName) argument
352 tearDownSoftApInterface(@onNull String ifaceName) argument
401 getClientInterface(@onNull String ifaceName) argument
443 signalPoll(@onNull String ifaceName) argument
474 getTxPacketCounters(@onNull String ifaceName) argument
499 getScannerImpl(@onNull String ifaceName) argument
509 getScanResults(@onNull String ifaceName, int scanType) argument
611 scan(@onNull String ifaceName, int scanType, Set<Integer> freqs, Set<String> hiddenNetworkSSIDs) argument
664 startPnoScan(@onNull String ifaceName, WifiNative.PnoSettings pnoSettings) argument
709 stopPnoScan(@onNull String ifaceName) argument
727 abortScan(@onNull String ifaceName) argument
775 getApInterface(@onNull String ifaceName) argument
787 startHostapd(@onNull String ifaceName, SoftApListener listener) argument
816 stopHostapd(@onNull String ifaceName) argument
[all...]
H A DHalDeviceManager.java422 * @param ifaceName Name of the interface that was destroyed.
424 void onDestroyed(@NonNull String ifaceName); argument
947 for (String ifaceName: ifaceNamesResp.value) {
948 chipResp.value.getStaIface(ifaceName,
953 ifaceInfo.name = ifaceName;
980 for (String ifaceName: ifaceNamesResp.value) {
981 chipResp.value.getApIface(ifaceName,
986 ifaceInfo.name = ifaceName;
1013 for (String ifaceName: ifaceNamesResp.value) {
1014 chipResp.value.getP2pIface(ifaceName,
2054 InterfaceDestroyedListenerProxy(@onNull String ifaceName, InterfaceDestroyedListener destroyedListener, Handler handler) argument
[all...]
H A DSupplicantStaIfaceHal.java260 private int getCurrentNetworkId(@NonNull String ifaceName) { argument
262 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName);
273 * @param ifaceName Name of the interface.
276 public boolean setupIface(@NonNull String ifaceName) { argument
278 if (checkSupplicantStaIfaceAndLogFailure(ifaceName, methodStr) != null) return false;
281 ifaceHwBinder = addIfaceV1_1(ifaceName);
283 ifaceHwBinder = getIfaceV1_0(ifaceName);
289 SupplicantStaIfaceHalCallback callback = new SupplicantStaIfaceHalCallback(ifaceName);
295 new SupplicantStaIfaceHalCallbackV1_1(ifaceName, callback);
300 mISupplicantStaIfaces.put(ifaceName, ifac
320 getIfaceV1_0(@onNull String ifaceName) argument
372 addIfaceV1_1(@onNull String ifaceName) argument
403 teardownIface(@onNull String ifaceName) argument
428 removeIfaceV1_1(@onNull String ifaceName) argument
595 getStaIface(@onNull String ifaceName) argument
602 getCurrentNetworkRemoteHandle(@onNull String ifaceName) argument
609 getCurrentNetworkLocalConfig(@onNull String ifaceName) argument
621 addNetworkAndSaveConfig(@onNull String ifaceName, WifiConfiguration config) argument
661 connectToNetwork(@onNull String ifaceName, @NonNull WifiConfiguration config) argument
721 roamToNetwork(@onNull String ifaceName, WifiConfiguration config) argument
754 loadNetworks(@onNull String ifaceName, Map<String, WifiConfiguration> configs, SparseArray<Map<String, String>> networkExtras) argument
807 removeNetworkIfCurrent(@onNull String ifaceName, int networkId) argument
821 removeAllNetworks(@onNull String ifaceName) argument
849 setCurrentNetworkBssid(@onNull String ifaceName, String bssidStr) argument
864 getCurrentNetworkWpsNfcConfigurationToken(@onNull String ifaceName) argument
880 getCurrentNetworkEapAnonymousIdentity(@onNull String ifaceName) argument
898 sendCurrentNetworkEapIdentityResponse( @onNull String ifaceName, @NonNull String identity, String encryptedIdentity) argument
916 sendCurrentNetworkEapSimGsmAuthResponse( @onNull String ifaceName, String paramsStr) argument
933 sendCurrentNetworkEapSimGsmAuthFailure(@onNull String ifaceName) argument
950 sendCurrentNetworkEapSimUmtsAuthResponse( @onNull String ifaceName, String paramsStr) argument
968 sendCurrentNetworkEapSimUmtsAutsResponse( @onNull String ifaceName, String paramsStr) argument
985 sendCurrentNetworkEapSimUmtsAuthFailure(@onNull String ifaceName) argument
1000 addNetwork(@onNull String ifaceName) argument
1031 removeNetwork(@onNull String ifaceName, int id) argument
1054 getStaNetworkMockable( @onNull String ifaceName, ISupplicantStaNetwork iSupplicantStaNetwork) argument
1071 getNetwork(@onNull String ifaceName, int id) argument
1133 listNetworks(@onNull String ifaceName) argument
1159 setWpsDeviceName(@onNull String ifaceName, String name) argument
1181 setWpsDeviceType(@onNull String ifaceName, String typeStr) argument
1206 setWpsDeviceType(@onNull String ifaceName, byte[ ] type) argument
1228 setWpsManufacturer(@onNull String ifaceName, String manufacturer) argument
1250 setWpsModelName(@onNull String ifaceName, String modelName) argument
1272 setWpsModelNumber(@onNull String ifaceName, String modelNumber) argument
1294 setWpsSerialNumber(@onNull String ifaceName, String serialNumber) argument
1316 setWpsConfigMethods(@onNull String ifaceName, String configMethodsStr) argument
1327 setWpsConfigMethods(@onNull String ifaceName, short configMethods) argument
1348 reassociate(@onNull String ifaceName) argument
1369 reconnect(@onNull String ifaceName) argument
1390 disconnect(@onNull String ifaceName) argument
1412 setPowerSave(@onNull String ifaceName, boolean enable) argument
1434 initiateTdlsDiscover(@onNull String ifaceName, String macAddress) argument
1446 initiateTdlsDiscover(@onNull String ifaceName, byte[ ] macAddress) argument
1468 initiateTdlsSetup(@onNull String ifaceName, String macAddress) argument
1479 initiateTdlsSetup(@onNull String ifaceName, byte[ ] macAddress) argument
1500 initiateTdlsTeardown(@onNull String ifaceName, String macAddress) argument
1513 initiateTdlsTeardown(@onNull String ifaceName, byte[ ] macAddress) argument
1537 initiateAnqpQuery(@onNull String ifaceName, String bssid, ArrayList<Short> infoElements, ArrayList<Integer> hs20SubTypes) argument
1553 initiateAnqpQuery(@onNull String ifaceName, byte[ ] macAddress, java.util.ArrayList<Short> infoElements, java.util.ArrayList<Integer> subTypes) argument
1578 initiateHs20IconQuery(@onNull String ifaceName, String bssid, String fileName) argument
1591 initiateHs20IconQuery(@onNull String ifaceName, byte[ ] macAddress, String fileName) argument
1613 getMacAddress(@onNull String ifaceName) argument
1639 startRxFilter(@onNull String ifaceName) argument
1660 stopRxFilter(@onNull String ifaceName) argument
1683 addRxFilter(@onNull String ifaceName, int type) argument
1701 addRxFilter(@onNull String ifaceName, byte type) argument
1724 removeRxFilter(@onNull String ifaceName, int type) argument
1742 removeRxFilter(@onNull String ifaceName, byte type) argument
1766 setBtCoexistenceMode(@onNull String ifaceName, int mode) argument
1787 setBtCoexistenceMode(@onNull String ifaceName, byte mode) argument
1808 setBtCoexistenceScanModeEnabled(@onNull String ifaceName, boolean enable) argument
1831 setSuspendModeEnabled(@onNull String ifaceName, boolean enable) argument
1853 setCountryCode(@onNull String ifaceName, String codeStr) argument
1861 setCountryCode(@onNull String ifaceName, byte[ ] code) argument
1884 startWpsRegistrar(@onNull String ifaceName, String bssidStr, String pin) argument
1898 startWpsRegistrar(@onNull String ifaceName, byte[ ] bssid, String pin) argument
1920 startWpsPbc(@onNull String ifaceName, String bssidStr) argument
1932 startWpsPbc(@onNull String ifaceName, byte[ ] bssid) argument
1954 startWpsPinKeypad(@onNull String ifaceName, String pin) argument
1977 startWpsPinDisplay(@onNull String ifaceName, String bssidStr) argument
1989 startWpsPinDisplay(@onNull String ifaceName, byte[ ] bssid) argument
2015 cancelWps(@onNull String ifaceName) argument
2037 setExternalSim(@onNull String ifaceName, boolean useExternalSim) argument
2053 enableAutoReconnect(@onNull String ifaceName, boolean enable) argument
2147 checkSupplicantStaIfaceAndLogFailure( @onNull String ifaceName, final String methodStr) argument
2162 checkSupplicantStaNetworkAndLogFailure( @onNull String ifaceName, final String methodStr) argument
2285 SupplicantStaIfaceHalCallback(@onNull String ifaceName) argument
2532 SupplicantStaIfaceHalCallbackV1_1(@onNull String ifaceName, @NonNull SupplicantStaIfaceHalCallback callback) argument
[all...]
H A DSupplicantStaNetworkHal.java131 SupplicantStaNetworkHal(ISupplicantStaNetwork iSupplicantStaNetwork, String ifaceName, argument
134 mIfaceName = ifaceName;
H A DWifiServiceImpl.java559 final String ifaceName =
563 handleWifiApStateChange(currState, prevState, errorCode, ifaceName, mode);
920 * @param ifaceName String name of the updated interface
926 public void updateInterfaceIpState(String ifaceName, int mode) { argument
933 updateInterfaceIpStateInternal(ifaceName, mode);
937 private void updateInterfaceIpStateInternal(String ifaceName, int mode) { argument
942 if (ifaceName != null) {
943 previousMode = mIfaceIpModes.put(ifaceName, mode);
945 Slog.d(TAG, "updateInterfaceIpState: ifaceName=" + ifaceName
1221 handleWifiApStateChange( int currentState, int previousState, int errorCode, String ifaceName, int mode) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareNativeManager.java217 public void onDestroyed(@NonNull String ifaceName) { argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DHalWifiScannerImpl.java47 public HalWifiScannerImpl(Context context, String ifaceName, WifiNative wifiNative, argument
49 mIfaceName = ifaceName;
H A DWificondScannerImpl.java97 public WificondScannerImpl(Context context, String ifaceName, WifiNative wifiNative, argument
101 mIfaceName = ifaceName;
/frameworks/base/core/java/android/os/
H A DCommonTimeConfig.java203 String ifaceName = mUtils.transactGetString(METHOD_GET_INTERFACE_BINDING, null);
205 if ((null != ifaceName) && (0 == ifaceName.length()))
208 return ifaceName;
215 * @param ifaceName The name of the network interface ("eth0", "wlan0", etc...) wich the common
221 public int setNetworkBinding(String ifaceName) { argument
226 (null == ifaceName) ? "" : ifaceName);
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetNetworkFactory.java124 void addInterface(String ifaceName, String hwAddress, NetworkCapabilities capabilities, argument
126 if (mTrackingInterfaces.containsKey(ifaceName)) {
127 Log.e(TAG, "Interface with name " + ifaceName + " already exists.");
132 Log.d(TAG, "addInterface, iface: " + ifaceName + ", capabilities: " + capabilities);
136 ifaceName, hwAddress, mHandler, mContext, capabilities);
138 mTrackingInterfaces.put(ifaceName, iface);
165 boolean updateInterfaceLinkState(String ifaceName, boolean up) { argument
166 if (!mTrackingInterfaces.containsKey(ifaceName)) {
171 Log.d(TAG, "updateInterfaceLinkState, iface: " + ifaceName + ", up: " + up);
174 NetworkInterfaceState iface = mTrackingInterfaces.get(ifaceName);
256 NetworkInterfaceState(String ifaceName, String hwAddress, Handler handler, Context context, NetworkCapabilities capabilities) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
H A DTetherInterfaceStateMachine.java140 String ifaceName, Looper looper, int interfaceType, SharedLog log,
144 super(ifaceName, looper);
145 mLog = log.forSubComponent(ifaceName);
150 mInterfaceCtrl = new InterfaceController(ifaceName, nMService, mNetd, mLog);
151 mIfaceName = ifaceName;
139 TetherInterfaceStateMachine( String ifaceName, Looper looper, int interfaceType, SharedLog log, INetworkManagementService nMService, INetworkStatsService statsService, IControlsTethering tetherController, TetheringDependencies deps) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pNative.java85 public void teardownAndInvalidate(@NonNull String ifaceName) { argument
86 mSupplicantP2pIfaceHal.teardownIface(ifaceName);
92 public void onDestroyed(String ifaceName) { argument
93 Log.d(TAG, "P2P InterfaceDestroyedListener " + ifaceName);
98 teardownAndInvalidate(ifaceName);
99 mExternalListener.onDestroyed(ifaceName);
194 String ifaceName = HalDeviceManager.getName(mIWifiP2pIface);
195 if (TextUtils.isEmpty(ifaceName)) {
200 if (!mSupplicantP2pIfaceHal.setupIface(ifaceName)) {
216 String ifaceName
[all...]
H A DSupplicantP2pIfaceHal.java237 * @param ifaceName Name of the interface.
240 public boolean setupIface(@NonNull String ifaceName) { argument
245 ifaceHwBinder = addIfaceV1_1(ifaceName);
247 ifaceHwBinder = getIfaceV1_0(ifaceName);
258 mCallback = new SupplicantP2pIfaceCallback(ifaceName, mMonitor);
268 private ISupplicantIface getIfaceV1_0(@NonNull String ifaceName) { argument
292 if (ifaceInfo.type == IfaceType.P2P && ifaceName.equals(ifaceInfo.name)) {
313 private ISupplicantIface addIfaceV1_1(@NonNull String ifaceName) { argument
316 ifaceInfo.name = ifaceName;
348 * @param ifaceName Nam
351 teardownIface(@onNull String ifaceName) argument
367 removeIfaceV1_1(@onNull String ifaceName) argument
[all...]

Completed in 496 milliseconds

12