/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
WifiScannerImpl.java | 27 import com.android.server.wifi.WifiNative; 49 WifiNative wifiNative = WifiInjector.getInstance().getWifiNative(); 51 if (wifiNative.getBgScanCapabilities(new WifiNative.ScanCapabilities())) { 52 return new HalWifiScannerImpl(context, wifiNative, wifiMonitor, looper, clock); 54 return new WificondScannerImpl(context, wifiNative, wifiMonitor, looper, 82 public abstract boolean getScanCapabilities(WifiNative.ScanCapabilities capabilities); 96 public abstract boolean startSingleScan(WifiNative.ScanSettings settings, 97 WifiNative.ScanEventHandler eventHandler) [all...] |
HalWifiScannerImpl.java | 28 import com.android.server.wifi.WifiNative; 39 private final WifiNative mWifiNative; 44 public HalWifiScannerImpl(Context context, WifiNative wifiNative, WifiMonitor wifiMonitor, 46 mWifiNative = wifiNative; 47 mChannelHelper = new HalChannelHelper(wifiNative); 49 new WificondScannerImpl(context, wifiNative, wifiMonitor, mChannelHelper, 68 public boolean getScanCapabilities(WifiNative.ScanCapabilities capabilities) { 77 public boolean startSingleScan(WifiNative.ScanSettings settings, 78 WifiNative.ScanEventHandler eventHandler) [all...] |
HalChannelHelper.java | 22 import com.android.server.wifi.WifiNative; 31 private final WifiNative mWifiNative; 33 public HalChannelHelper(WifiNative wifiNative) { 34 mWifiNative = wifiNative;
|
NoBandChannelHelper.java | 22 import com.android.server.wifi.WifiNative; 151 public void fillBucketSettings(WifiNative.BucketSettings bucketSettings, int maxChannels) { 159 bucketSettings.channels = new WifiNative.ChannelSettings[mChannels.size()]; 161 WifiNative.ChannelSettings channelSettings = new WifiNative.ChannelSettings();
|
ScanScheduleUtil.java | 24 import com.android.server.wifi.WifiNative; 37 public static boolean channelEquals(@Nullable WifiNative.ChannelSettings channel1, 38 @Nullable WifiNative.ChannelSettings channel2) { 50 public static boolean bucketEquals(@Nullable WifiNative.BucketSettings bucket1, 51 @Nullable WifiNative.BucketSettings bucket2) { 72 public static boolean scheduleEquals(@Nullable WifiNative.ScanSettings schedule1, 73 @Nullable WifiNative.ScanSettings schedule2) {
|
WificondScannerImpl.java | 32 import com.android.server.wifi.WifiNative; 61 private final WifiNative mWifiNative; 70 private WifiNative.ScanSettings mPendingBackgroundScanSettings = null; 71 private WifiNative.ScanEventHandler mPendingBackgroundScanEventHandler = null; 72 private WifiNative.ScanSettings mPendingSingleScanSettings = null; 73 private WifiNative.ScanEventHandler mPendingSingleScanEventHandler = null; 76 private WifiNative.ScanSettings mBackgroundScanSettings = null; 77 private WifiNative.ScanEventHandler mBackgroundScanEventHandler = null; 91 private WifiNative.PnoSettings mPnoSettings = null; 92 private WifiNative.PnoEventHandler mPnoEventHandler [all...] |
ChannelHelper.java | 22 import com.android.server.wifi.WifiNative; 140 public void addChannels(WifiNative.BucketSettings bucketSettings) { 222 public abstract void fillBucketSettings(WifiNative.BucketSettings bucket, int maxChannels); 254 public static String toString(WifiNative.BucketSettings bucketSettings) { 279 private static String toString(WifiNative.ChannelSettings[] channels, int numChannels) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
WificondPnoScannerTest.java | 38 import com.android.server.wifi.WifiNative; 60 @Mock WifiNative mWifiNative; 89 WifiNative.PnoEventHandler pnoEventHandler = mock(WifiNative.PnoEventHandler.class); 90 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); 108 WifiNative.PnoEventHandler pnoEventHandler = mock(WifiNative.PnoEventHandler.class); 109 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); 110 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class) [all...] |
BaseWifiScannerImplTest.java | 41 import com.android.server.wifi.WifiNative; 65 @Mock WifiNative mWifiNative; 115 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 130 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 143 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 165 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 193 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 211 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 217 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class) [all...] |
NoBandChannelHelperTest.java | 33 import com.android.server.wifi.WifiNative; 219 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); 239 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); 258 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); 277 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); 298 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings() [all...] |
WifiScanningServiceTest.java | 57 import com.android.server.wifi.WifiNative; 322 private WifiNative.ScanEventHandler verifyStartSingleScan(InOrder order, 323 WifiNative.ScanSettings expected) { 324 ArgumentCaptor<WifiNative.ScanSettings> scanSettingsCaptor = 325 ArgumentCaptor.forClass(WifiNative.ScanSettings.class); 326 ArgumentCaptor<WifiNative.ScanEventHandler> scanEventHandlerCaptor = 327 ArgumentCaptor.forClass(WifiNative.ScanEventHandler.class); 334 private WifiNative.ScanEventHandler verifyStartBackgroundScan(InOrder order, 335 WifiNative.ScanSettings expected) { 336 ArgumentCaptor<WifiNative.ScanSettings> scanSettingsCaptor [all...] |
KnownBandsChannelHelperTest.java | 33 import com.android.server.wifi.WifiNative; 283 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); 304 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); 324 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); 344 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); 365 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings() [all...] |
WificondScannerTest.java | 34 import com.android.server.wifi.WifiNative; 57 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 78 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 106 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 129 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 158 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 183 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 235 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 275 WifiNative.ScanSettings settings = new NativeScanSettingsBuilder() 310 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class) [all...] |
ChannelHelperTest.java | 32 import com.android.server.wifi.WifiNative; 112 .addChannels(any(WifiNative.BucketSettings.class)); 143 * Verify adding channels from a WifiNative.BucketSetting with channels 147 WifiNative.BucketSettings testBucket = new WifiNative.BucketSettings(); 159 * Verify adding channels from a WifiNative.BucketSetting with bands 163 WifiNative.BucketSettings testBucket = new WifiNative.BucketSettings();
|
BackgroundScanSchedulerTest.java | 34 import com.android.server.wifi.WifiNative; 35 import com.android.server.wifi.WifiNative.BucketSettings; 85 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); 99 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); 116 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); 134 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); 154 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); 172 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); 194 WifiNative.ScanSettings schedule = mScheduler.getSchedule(); 211 WifiNative.ScanSettings schedule = mScheduler.getSchedule() [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiConnectivityHelper.java | 29 * access WifiNative. It starts with firmware roaming. TODO(b/34819513): Move operations 38 private final WifiNative mWifiNative; 43 WifiConnectivityHelper(WifiNative wifiNative) { 44 mWifiNative = wifiNative; 70 WifiNative.RoamingCapabilities roamingCap = new WifiNative.RoamingCapabilities(); 158 WifiNative.RoamingConfig roamConfig = new WifiNative.RoamingConfig();
|
BaseWifiDiagnostics.java | 15 protected final WifiNative mWifiNative; 21 public BaseWifiDiagnostics(WifiNative wifiNative) { 22 mWifiNative = wifiNative;
|
WifiDiagnostics.java | 101 private WifiNative.RingBufferStatus[] mRingBuffers; 102 private WifiNative.RingBufferStatus mPerPacketRingBuffer; 111 WifiStateMachine wifiStateMachine, WifiNative wifiNative, 113 super(wifiNative); 372 private final WifiNative.WifiLoggerEventHandler mHandler = 373 new WifiNative.WifiLoggerEventHandler() { 375 public void onRingBufferData(WifiNative.RingBufferStatus status, byte[] buffer) { 385 synchronized void onRingBufferData(WifiNative.RingBufferStatus status, byte[] buffer) { 425 for (WifiNative.RingBufferStatus buffer : mRingBuffers) [all...] |
WifiCountryCode.java | 30 private final WifiNative mWifiNative; 43 WifiNative wifiNative, 47 mWifiNative = wifiNative;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiNativeTest.java | 45 * Unit tests for {@link com.android.server.wifi.WifiNative}. 52 private static final WifiNative.TxFateReport TX_FATE_REPORT = new WifiNative.TxFateReport( 58 private static final WifiNative.RxFateReport RX_FATE_REPORT = new WifiNative.RxFateReport( 110 private static final WifiNative.SignalPollResult SIGNAL_POLL_RESULT = 111 new WifiNative.SignalPollResult() {{ 116 private static final WifiNative.TxPacketCounters PACKET_COUNTERS_RESULT = 117 new WifiNative.TxPacketCounters() {{ 137 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS [all...] |
ScanTestUtil.java | 41 public static void setupMockChannels(WifiNative wifiNative, int[] channels24, int[] channels5, 43 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) 45 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) 47 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) 86 * Builder to create WifiNative.ScanSettings objects for testing 89 private final WifiNative.ScanSettings mSettings = new WifiNative.ScanSettings(); 91 mSettings.buckets = new WifiNative.BucketSettings[0]; 119 mSettings.hiddenNetworks = new WifiNative.HiddenNetwork[networkSSIDs.length] [all...] |
WifiConnectivityHelperTest.java | 58 @Mock private WifiNative mWifiNative; 59 @Captor ArgumentCaptor<WifiNative.RoamingConfig> mRoamingConfigCaptor; 70 public boolean answer(WifiNative.RoamingCapabilities roamCap) throws Exception { 104 * When WifiNative has WIFI_FEATURE_CONTROL_ROAMING set, verify that 109 //By default WifiNative has WIFI_FEATURE_CONTROL_ROAMING set in its feature set. 115 * When WifiNative doesn't have WIFI_FEATURE_CONTROL_ROAMING set, verify that 127 * WifiNative for roaming capability succeeded. 138 * Verify that firmware roaming is set to not supported if WifiNative returned firmware roaming 145 public boolean answer(WifiNative.RoamingCapabilities roamCap) throws Exception { 157 * Verify that firmware roaming is set to not supported if WifiNative returned firmware roamin [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
PasspointObjectFactory.java | 24 import com.android.server.wifi.WifiNative; 34 * @param wifiNative Instance of {@link WifiNative} 38 public PasspointEventHandler makePasspointEventHandler(WifiNative wifiNative, 40 return new PasspointEventHandler(wifiNative, callbacks);
|
PasspointEventHandler.java | 22 import com.android.server.wifi.WifiNative; 37 private final WifiNative mSupplicantHook; 69 public PasspointEventHandler(WifiNative supplicantHook, Callbacks callbacks) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
ApConfigUtil.java | 23 import com.android.server.wifi.WifiNative; 106 * @param wifiNative reference to WifiNative 112 public static int updateApChannelConfig(WifiNative wifiNative, 117 if (!wifiNative.isHalStarted()) { 134 wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)); 136 if (wifiNative.isGetChannelsForBandSupported()) {
|