/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SarManagerTest.java | 94 @Mock WifiNative mWifiNative; field in SarManagerTest 105 when(mWifiNative.selectTxPowerScenario(any(SarInfo.class))).thenReturn(true); in setUp() 199 mWifiNative, mSensorManager, mWifiMetrics); in createSarManager() 255 mWifiNative, mSensorManager, mWifiMetrics); in createSarManagerSensorNegTest() 317 InOrder inOrder = inOrder(mWifiNative); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 321 captureSarInfo(mWifiNative); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 323 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 328 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 342 InOrder inOrder = inOrder(mWifiNative); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn() 349 captureSarInfo(mWifiNative); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn() [all …]
|
D | WifiDiagnosticsTest.java | 63 @Mock WifiNative mWifiNative; field in WifiDiagnosticsTest 112 when(mWifiNative.getRingBufferStatus()).thenReturn(ringBufferStatuses); in setUp() 113 when(mWifiNative.readKernelLog()).thenReturn(""); in setUp() 135 mContext, mWifiInjector, mWifiNative, mBuildProperties, mLastMileLogger, mClock); in setUp() 136 mWifiNative.enableVerboseLogging(0); in setUp() 144 verify(mWifiNative).setLoggingEventHandler(anyObject()); in startLoggingRegistersLogEventHandler() 156 when(mWifiNative.setLoggingEventHandler(anyObject())).thenReturn(false); in startLoggingRegistersLogEventHandlerIfPriorAttemptFailed() 159 verify(mWifiNative).setLoggingEventHandler(anyObject()); in startLoggingRegistersLogEventHandlerIfPriorAttemptFailed() 161 reset(mWifiNative); in startLoggingRegistersLogEventHandlerIfPriorAttemptFailed() 163 when(mWifiNative.setLoggingEventHandler(anyObject())).thenReturn(true); in startLoggingRegistersLogEventHandlerIfPriorAttemptFailed() [all …]
|
D | WifiNativeTest.java | 176 private WifiNative mWifiNative; field in WifiNativeTest 184 mWifiNative = new WifiNative( in setUp() 471 assertFalse(mWifiNative.isHalStarted()); in testStartPktFateMonitoringReturnsFalseWhenHalIsNotStarted() 472 assertFalse(mWifiNative.startPktFateMonitoring(WIFI_IFACE_NAME)); in testStartPktFateMonitoringReturnsFalseWhenHalIsNotStarted() 481 assertFalse(mWifiNative.isHalStarted()); in testGetTxPktFatesReturnsErrorWhenHalIsNotStarted() 482 assertFalse(mWifiNative.getTxPktFates(WIFI_IFACE_NAME, fateReports)); in testGetTxPktFatesReturnsErrorWhenHalIsNotStarted() 491 assertFalse(mWifiNative.isHalStarted()); in testGetRxPktFatesReturnsErrorWhenHalIsNotStarted() 492 assertFalse(mWifiNative.getRxPktFates(WIFI_IFACE_NAME, fateReports)); in testGetRxPktFatesReturnsErrorWhenHalIsNotStarted() 507 assertEquals(null, mWifiNative.getDriverStateDump()); in testGetDriverStateDumpReturnsNullWhenHalIsNotStarted() 520 WifiNative.SignalPollResult pollResult = mWifiNative.signalPoll(WIFI_IFACE_NAME); in testSignalPoll() [all …]
|
D | DppManagerTest.java | 92 WifiNative mWifiNative; field in DppManagerTest 118 when(mWifiNative.addDppPeerUri(anyString(), anyString())) in setUp() 120 when(mWifiNative.removeDppUri(anyString(), anyInt())) in setUp() 124 when(mWifiNative.getClientInterfaceName()).thenReturn(TEST_INTERFACE_NAME); in setUp() 127 when(mWifiNative.startDppEnrolleeInitiator(anyString(), anyInt(), anyInt())).thenReturn( in setUp() 131 when(mWifiNative.startDppConfiguratorInitiator(anyString(), anyInt(), anyInt(), anyString(), in setUp() 136 DppManager dppManger = new DppManager(mLooper.getLooper(), mWifiNative, mWifiConfigManager, in createDppManager() 177 when(mWifiNative.addDppPeerUri(anyString(), anyString())).thenReturn(-1); in testStartDppAsConfiguratorInitiatorFailAddPeer() 196 when(mWifiNative.addDppPeerUri(anyString(), anyString())).thenReturn(-1); in testStartDppAsEnrolleeInitiatorFailAddPeer() 223 when(mWifiNative.startDppConfiguratorInitiator(anyString(), anyInt(), anyInt(), anyString(), in testStartDppAsConfiguratorInitiatorFailStart() [all …]
|
D | WifiCountryCodeTest.java | 48 @Mock WifiNative mWifiNative; field in WifiCountryCodeTest 58 when(mWifiNative.setCountryCode(any(), anyString())).thenReturn(true); in setUp() 61 mWifiNative, in setUp() 76 verify(mWifiNative).setCountryCode(any(), anyString()); in useDefaultCountryCode() 92 verify(mWifiNative).setCountryCode(any(), anyString()); in useTelephonyCountryCode() 109 verify(mWifiNative, times(2)).setCountryCode(any(), anyString()); in setTelephonyCountryCodeAfterSupplicantStarts() 129 verify(mWifiNative, times(2)).setCountryCode(any(), anyString()); in setTelephonyCountryCodeAfterL2Connected() 162 mWifiNative, in doNotResetCountryCodeWhenOutOfService() 186 mWifiNative, in useUSLocaleForConversionToUpperCase() 195 verify(mWifiNative).setCountryCode(any(), eq(oemCountryCodeUpper)); in useUSLocaleForConversionToUpperCase() [all …]
|
D | LinkProbeManagerTest.java | 64 @Mock private WifiNative mWifiNative; field in LinkProbeManagerTest 100 mLinkProbeManager = new LinkProbeManager(mClock, mWifiNative, mWifiMetrics, in initLinkProbeManager() 116 verify(mWifiNative, never()).probeLink(any(), any(), any(), anyInt()); in testLinkProbeTriggeredAndAcked() 134 verify(mWifiNative).probeLink(eq(TEST_IFACE_NAME), any(), callbackCaptor.capture(), in testLinkProbeTriggeredAndAcked() 160 verify(mWifiNative, never()).probeLink(any(), any(), any(), anyInt()); in testLinkProbeTriggeredAndFailed() 177 verify(mWifiNative).probeLink(eq(TEST_IFACE_NAME), any(), callbackCaptor.capture(), in testLinkProbeTriggeredAndFailed() 203 verifyNoMoreInteractions(mWifiNative); in testLinkProbeNotTriggeredTooFrequently() 218 verify(mWifiNative, never()).probeLink(any(), any(), any(), anyInt()); in testLinkProbeNotTriggeredWhenTxSucceeded() 226 verify(mWifiNative, never()).probeLink(any(), any(), any(), anyInt()); in testLinkProbeNotTriggeredWhenTxSucceeded() 238 verify(mWifiNative, never()).probeLink(any(), any(), any(), anyInt()); in testLinkProbeNotTriggeredWhenTxSucceeded() [all …]
|
D | WifiNativeInterfaceManagementTest.java | 110 private WifiNative mWifiNative; field in WifiNativeInterfaceManagementTest 167 mWifiNative = new WifiNative( in setUp() 171 mWifiNative.initialize(); in setUp() 172 mWifiNative.registerStatusListener(mStatusListener); in setUp() 194 assertEquals(IFACE_NAME_0, mWifiNative.getClientInterfaceName()); in testSetupClientInterface() 205 assertEquals(IFACE_NAME_0, mWifiNative.getClientInterfaceName()); in testSetupClientInterfaceForScan() 218 assertNull(mWifiNative.getClientInterfaceName()); in testSetupSoftApInterface() 229 assertEquals(IFACE_NAME_0, mWifiNative.getClientInterfaceName()); in testSetupAndTeardownClientInterface() 242 assertEquals(IFACE_NAME_0, mWifiNative.getClientInterfaceName()); in testSetupAndTeardownClientInterfaceForScan() 258 assertNull(mWifiNative.getClientInterfaceName()); in testSetupAndTeardownSoftApInterface() [all …]
|
D | ScanOnlyModeManagerTest.java | 65 @Mock WifiNative mWifiNative; field in ScanOnlyModeManagerTest 84 return new ScanOnlyModeManager(mContext, mLooper.getLooper(), mWifiNative, mListener, in createScanOnlyModeManager() 89 when(mWifiNative.setupInterfaceForClientInScanMode(any())).thenReturn( in startScanOnlyModeAndVerifyEnabled() 94 verify(mWifiNative).setupInterfaceForClientInScanMode( in startScanOnlyModeAndVerifyEnabled() 130 when(mWifiNative.setupInterfaceForClientInScanMode(any())).thenReturn(""); in scanModeStartDoesNotSendScanningActiveWhenClientInterfaceNameIsEmpty() 144 reset(mWifiNative, mContext); in scanOnlyModeStartCalledTwice() 147 verifyNoMoreInteractions(mWifiNative, mContext); in scanOnlyModeStartCalledTwice() 159 verify(mWifiNative).teardownInterface(TEST_INTERFACE_NAME); in scanModeStopCleansUpState() 261 InOrder inOrder = inOrder(mWakeupController, mWifiNative, mListener); in scanModeExitStopsWakeupController() 265 inOrder.verify(mWifiNative).teardownInterface(eq(TEST_INTERFACE_NAME)); in scanModeExitStopsWakeupController()
|
D | WifiConnectivityHelperTest.java | 49 mWifiConnectivityHelper = new WifiConnectivityHelper(mWifiNative); in setUp() 59 @Mock private WifiNative mWifiNative; field in WifiConnectivityHelperTest 68 when(mWifiNative.getSupportedFeatureSet(any())) in setupWifiNative() 77 }}).when(mWifiNative).getRoamingCapabilities(any(), anyObject()); in setupWifiNative() 79 when(mWifiNative.configureRoaming(any(), anyObject())).thenReturn(true); in setupWifiNative() 123 when(mWifiNative.getSupportedFeatureSet(any())) in returnFirmwareRoamingNotSupported() 152 }}).when(mWifiNative).getRoamingCapabilities(any(), anyObject()); in verifyFirmwareRoamingCapabilityWithFailureNativeCall() 174 }}).when(mWifiNative).getRoamingCapabilities(any(), anyObject()); in verifyFirmwareRoamingCapabilityWithInvalidMaxBssidBlacklistSize() 196 }}).when(mWifiNative).getRoamingCapabilities(any(), anyObject()); in verifyFirmwareRoamingCapabilityWithInvalidMaxSsidWhitelistSize() 264 verify(mWifiNative).configureRoaming(any(), mRoamingConfigCaptor.capture()); in verifySetFirmwareRoamingConfigurationWithEmptyBlacklistAndWhitelist()
|
D | SoftApManagerTest.java | 113 @Mock WifiNative mWifiNative; field in SoftApManagerTest 133 when(mWifiNative.startSoftAp(eq(TEST_INTERFACE_NAME), any(), any())).thenReturn(true); in setUp() 143 when(mWifiNative.setCountryCodeHal( in setUp() 161 mWifiNative, in createSoftApManager() 227 when(mWifiNative.setupInterfaceForSoftApMode(any())).thenReturn(TEST_INTERFACE_NAME); in startSoftApDefaultConfigFailedToLoad() 235 mWifiNative, in startSoftApDefaultConfigFailedToLoad() 268 when(mWifiNative.setupInterfaceForSoftApMode(any())).thenReturn(null); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() 279 mWifiNative, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() 311 when(mWifiNative.setupInterfaceForSoftApMode(any())).thenReturn(""); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() 322 mWifiNative, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() [all …]
|
D | ClientModeManagerTest.java | 63 @Mock WifiNative mWifiNative; field in ClientModeManagerTest 81 return new ClientModeManager(mContext, mLooper.getLooper(), mWifiNative, mListener, in createClientModeManager() 88 when(mWifiNative.setupInterfaceForClientInConnectivityMode(any())) in startClientModeAndVerifyEnabled() 93 verify(mWifiNative).setupInterfaceForClientInConnectivityMode( in startClientModeAndVerifyEnabled() 172 when(mWifiNative.setupInterfaceForClientInConnectivityMode(any())).thenReturn(null); in detectAndReportErrorWhenSetupForClientWifiNativeFailure() 192 when(mWifiNative.setupInterfaceForClientInConnectivityMode(any())).thenReturn(""); in clientModeStartDoesNotSendScanningActiveWhenClientInterfaceNameIsEmpty() 213 reset(mWifiNative, mContext); in clientModeStartCalledTwice() 216 verifyNoMoreInteractions(mWifiNative, mContext); in clientModeStartCalledTwice()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityHelper.java | 38 private final WifiNative mWifiNative; field in WifiConnectivityHelper 44 mWifiNative = wifiNative; in WifiConnectivityHelper() 63 mWifiNative.getSupportedFeatureSet(mWifiNative.getClientInterfaceName()); in getFirmwareRoamingInfo() 72 if (mWifiNative.getRoamingCapabilities(mWifiNative.getClientInterfaceName(), roamingCap)) { in getFirmwareRoamingInfo() 163 return mWifiNative.configureRoaming(mWifiNative.getClientInterfaceName(), roamConfig); in setFirmwareRoamingConfiguration() 173 mWifiNative.removeNetworkIfCurrent(mWifiNative.getClientInterfaceName(), networkId); in removeNetworkIfCurrent()
|
D | BaseWifiDiagnostics.java | 18 protected final WifiNative mWifiNative; field in BaseWifiDiagnostics 25 mWifiNative = wifiNative; in BaseWifiDiagnostics() 33 mFirmwareVersion = mWifiNative.getFirmwareVersion(); in startLogging() 34 mDriverVersion = mWifiNative.getDriverVersion(); in startLogging() 35 mSupportedFeatureSet = mWifiNative.getSupportedLoggerFeatureSet(); in startLogging()
|
D | DppManager.java | 49 private final WifiNative mWifiNative; field in DppManager 94 mWifiNative = wifiNative; in DppManager() 96 mWifiNative.registerDppEventCallback(mDppEventCallback); in DppManager() 133 if (!mWifiNative.stopDppInitiator(mClientIfaceName)) { in timeoutDppRequest() 172 mClientIfaceName = mWifiNative.getClientInterfaceName(); in startDppAsConfiguratorInitiator() 252 int peerId = mWifiNative.addDppPeerUri(mClientIfaceName, enrolleeUri); in startDppAsConfiguratorInitiator() 273 if (!mWifiNative.startDppConfiguratorInitiator(mClientIfaceName, in startDppAsConfiguratorInitiator() 331 mClientIfaceName = mWifiNative.getClientInterfaceName(); in startDppAsEnrolleeInitiator() 335 int peerId = mWifiNative.addDppPeerUri(mClientIfaceName, configuratorUri); in startDppAsEnrolleeInitiator() 347 if (!mWifiNative.startDppEnrolleeInitiator(mClientIfaceName, mDppRequestInfo.peerId, in startDppAsEnrolleeInitiator() [all …]
|
D | WifiDiagnostics.java | 171 mFirmwareVersion = mWifiNative.getFirmwareVersion(); in startLogging() 172 mDriverVersion = mWifiNative.getDriverVersion(); in startLogging() 173 mSupportedFeatureSet = mWifiNative.getSupportedLoggerFeatureSet(); in startLogging() 176 mIsLoggingEventHandlerRegistered = mWifiNative.setLoggingEventHandler(mHandler); in startLogging() 229 if (!mWifiNative.resetLogHandler()) { in stopLogging() 505 mRingBuffers = mWifiNative.getRingBufferStatus(); in fetchRingBuffers() 571 if (mWifiNative.startLoggingRingBuffer( in startLoggingRingBuffer() 581 if (mWifiNative.startLoggingRingBuffer(0, 0, 0, 0, buffer.name) == false) { in stopLoggingRingBuffer() 611 if (!mWifiNative.flushRingBufferData()) { in flushDump() 628 mWifiNative.getRingBufferData(buffer.name); in captureBugreport() [all …]
|
D | WifiInjector.java | 94 private final WifiNative mWifiNative; field in WifiInjector 225 mWifiNative = new WifiNative( in WifiInjector() 237 mCountryCode = new WifiCountryCode(mWifiNative, in WifiInjector() 262 mWifiConnectivityHelper = new WifiConnectivityHelper(mWifiNative); in WifiInjector() 268 mWifiConfigManager, mClock, mConnectivityLocalLog, mWifiMetrics, mWifiNative); in WifiInjector() 291 new Handler(mWifiCoreHandlerThread.getLooper()), mWifiNative, mWifiKeyStore, mClock, in WifiInjector() 305 mWifiNative, new SystemSensorManager(mContext, clientModeImplLooper), in WifiInjector() 308 mContext, this, mWifiNative, mBuildProperties, in WifiInjector() 313 mLinkProbeManager = new LinkProbeManager(mClock, mWifiNative, mWifiMetrics, in WifiInjector() 317 this, mBackupManagerProxy, mCountryCode, mWifiNative, in WifiInjector() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 62 @Mock WifiNative mWifiNative; field in WificondPnoScannerTest 76 setupMockChannels(mWifiNative, in setup() 81 when(mWifiNative.getClientInterfaceName()).thenReturn(IFACE_NAME); in setup() 100 InOrder order = inOrder(pnoEventHandler, mWifiNative); in startHwDisconnectedPnoScan() 124 when(mWifiNative.stopPnoScan(IFACE_NAME)).thenReturn(false); in ignoreHwDisconnectedPnoScanStopFailure() 127 verify(mWifiNative).stopPnoScan(IFACE_NAME); in ignoreHwDisconnectedPnoScanStopFailure() 132 InOrder order = inOrder(pnoEventHandler, mWifiNative); in ignoreHwDisconnectedPnoScanStopFailure() 140 mScanner = new WificondScannerImpl(mContext, IFACE_NAME, mWifiNative, mWifiMonitor, in createScannerWithHwPnoScanSupport() 141 new WificondChannelHelper(mWifiNative), mLooper.getLooper(), mClock); in createScannerWithHwPnoScanSupport() 181 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in startSuccessfulPnoScan() [all …]
|
D | BaseWifiScannerImplTest.java | 69 @Mock WifiNative mWifiNative; field in BaseWifiScannerImplTest 87 when(mWifiNative.getClientInterfaceName()).thenReturn(IFACE_NAME); in setUpBase() 245 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in overlappingSingleScanFails() 263 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnExecute() 266 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(false); in singleScanFailOnExecute() 291 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnTimeout() 294 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in singleScanFailOnTimeout() 323 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnFailedEvent() 326 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in singleScanFailOnFailedEvent() 378 InOrder order = inOrder(eventHandler, mWifiNative); in multipleSingleScanSuccess() [all …]
|
D | WificondScannerTest.java | 54 setupMockChannels(mWifiNative, in setup() 60 mWifiNative, mWifiMonitorSpy, new WificondChannelHelper(mWifiNative), in setup() 78 mWifiNative, mWifiMonitor, channelHelper, mLooper.getLooper(), mClock); in singleScanNotIssuedIfNoAvailableChannels() 92 verify(mWifiNative, never()).scan(any(), anyInt(), any(), any(List.class)); in singleScanNotIssuedIfNoAvailableChannels() 144 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class))).thenReturn(true); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ApConfigUtilTest.java | 108 @Mock WifiNative mWifiNative; field in ApConfigUtilTest 189 when(mWifiNative.isHalStarted()).thenReturn(false); in updateApChannelConfigWithoutHal() 192 mWifiNative, TEST_COUNTRY_CODE, mAllowed2GChannels, config)); in updateApChannelConfigWithoutHal() 206 when(mWifiNative.isHalStarted()).thenReturn(true); in updateApChannelConfig5GBandNoCountryCode() 209 mWifiNative, null, mAllowed2GChannels, config)); in updateApChannelConfig5GBandNoCountryCode() 220 when(mWifiNative.isHalStarted()).thenReturn(true); in updateApChannelConfigWithChannelSpecified() 223 mWifiNative, TEST_COUNTRY_CODE, mAllowed2GChannels, config)); in updateApChannelConfigWithChannelSpecified() 236 when(mWifiNative.isHalStarted()).thenReturn(true); in updateApChannelConfigWith5GBandNoChannelAllowed() 237 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in updateApChannelConfigWith5GBandNoChannelAllowed() 241 mWifiNative, TEST_COUNTRY_CODE, mAllowed2GChannels, config)); in updateApChannelConfigWith5GBandNoChannelAllowed()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 143 @Mock WifiP2pNative mWifiNative; field in WifiP2pServiceImplTest 607 verify(mWifiNative).setupInterface(any(), any()); in checkIsP2pInitWhenClientConnected() 611 verify(mWifiNative, never()).setupInterface(any(), any()); in checkIsP2pInitWhenClientConnected() 629 verify(mWifiNative).teardownInterface(); in checkIsP2pTearDownWhenClientDisconnected() 632 verify(mWifiNative, never()).teardownInterface(); in checkIsP2pTearDownWhenClientDisconnected() 696 mWifiInjector, mWifiNative); in setUpWifiP2pServiceImpl() 724 when(mWifiInjector.getWifiP2pNative()).thenReturn(mWifiNative); in setUpWifiP2pServiceImpl() 727 when(mWifiNative.setupInterface(any(), any())).thenReturn(IFACE_NAME_P2P); in setUpWifiP2pServiceImpl() 728 when(mWifiNative.p2pGetDeviceAddress()).thenReturn(thisDeviceMac); in setUpWifiP2pServiceImpl() 737 }).when(mWifiNative).p2pListNetworks(any(WifiP2pGroupList.class)); in setUpWifiP2pServiceImpl() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | HalWifiScannerImpl.java | 43 private final WifiNative mWifiNative; field in HalWifiScannerImpl 50 mWifiNative = wifiNative; in HalWifiScannerImpl() 70 return mWifiNative.getBgScanCapabilities( in getScanCapabilities() 97 return mWifiNative.startBgScan( in startBatchedScan() 103 mWifiNative.stopBgScan(mIfaceName); in stopBatchedScan() 108 mWifiNative.pauseBgScan(mIfaceName); in pauseBatchedScan() 113 mWifiNative.restartBgScan(mIfaceName); in restartBatchedScan() 118 return mWifiNative.getBgScanResults(mIfaceName); in getLatestBatchedScanResults()
|
D | WificondChannelHelper.java | 31 private final WifiNative mWifiNative; field in WificondChannelHelper 34 mWifiNative = wifiNative; in WificondChannelHelper() 43 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ); in updateChannels() 45 int[] channels5G = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ); in updateChannels() 48 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in updateChannels()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointEventHandlerTest.java | 53 @Mock WifiNative mWifiNative; field in PasspointEventHandlerTest 61 mHandler = new PasspointEventHandler(mWifiNative, mCallbacks); in setUp() 77 when(mWifiNative.requestAnqp(any(), eq(BSSID_STR), eq(expAnqpIds), eq(expHs20Subtypes))) in requestR1AnqpElement() 82 when(mWifiNative.requestAnqp(any(), eq(BSSID_STR), eq(expAnqpIds), eq(expHs20Subtypes))) in requestR1AnqpElement() 100 when(mWifiNative.requestAnqp(any(), eq(BSSID_STR), eq(expAnqpIds), eq(expHs20Subtypes))) in requestR2AnqpElement() 105 when(mWifiNative.requestAnqp(any(), eq(BSSID_STR), eq(expAnqpIds), eq(expHs20Subtypes))) in requestR2AnqpElement() 126 when(mWifiNative.requestAnqp(any(), eq(BSSID_STR), eq(expAnqpIds), eq(expHs20Subtypes))) in requestMixAnqpElements() 131 when(mWifiNative.requestAnqp(any(), eq(BSSID_STR), eq(expAnqpIds), eq(expHs20Subtypes))) in requestMixAnqpElements() 142 when(mWifiNative.requestIcon(any(), eq(BSSID_STR), eq(ICON_FILENAME))).thenReturn(true); in requestIconFile() 146 when(mWifiNative.requestIcon(any(), eq(BSSID_STR), eq(ICON_FILENAME))).thenReturn(false); in requestIconFile()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 766 private WifiP2pNative mWifiNative = mWifiInjector.getWifiP2pNative(); field in WifiP2pServiceImpl.P2pStateMachine 783 mWifiNative.removeP2pNetwork(netId); 784 mWifiNative.saveConfig(); 863 mWifiNative.registerInterfaceAvailableListener((boolean isAvailable) -> { in P2pStateMachine() 888 mWifiNative.enableVerboseLogging(verbose); in enableVerboseLogging() 1154 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage() 1381 mWifiNative.setMacRandomization(true); in setupInterfaceFeatures() 1383 mWifiNative.setMacRandomization(false); in setupInterfaceFeatures() 1396 mInterfaceName = mWifiNative.setupInterface((String ifaceName) -> { in processMessage() 1467 mWifiNative.teardownInterface(); in processMessage() [all …]
|