HomeSort by relevance Sort by last modified time
    Searched refs:WifiStateMachine (Results 1 - 18 of 18) sorted by null

  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiStateMachineTest.java 121 * Unit tests for {@link com.android.server.wifi.WifiStateMachine}.
131 ? WifiStateMachine.NUM_LOG_RECS_VERBOSE_LOW_MEMORY
132 : WifiStateMachine.NUM_LOG_RECS_VERBOSE);
269 private static HandlerThread getWsmHandlerThread(WifiStateMachine wsm) throws
290 Log.d(TAG, "WifiStateMachine state -" + stream.toString());
320 WifiStateMachine mWsm;
434 mWsm = new WifiStateMachine(mContext, factory, mLooper.getLooper(),
483 mWsm.sendMessage(WifiStateMachine.CMD_BOOT_COMPLETED);
610 assertEquals(WifiStateMachine.CONNECT_MODE, mWsm.getOperationalModeForTest());
612 mWsm.setOperationalMode(WifiStateMachine.DISABLED_MODE)
    [all...]
WifiControllerTest.java 70 Log.d(TAG, "WifiStateMachine state -" + stream.toString());
90 @Mock WifiStateMachine mWifiStateMachine;
287 inOrder.verify(mWifiStateMachine).setOperationalMode(WifiStateMachine.CONNECT_MODE);
314 inOrder.verify(mWifiStateMachine).setOperationalMode(WifiStateMachine.CONNECT_MODE);
347 inOrder.verify(mWifiStateMachine).setOperationalMode(WifiStateMachine.CONNECT_MODE);
358 * Expected: WiFiController should not call WifiStateMachine.setSupplicantRunning(false)
389 * Expected: WiFiController should not call WifiStateMachine.setSupplicantRunning(false)
401 * The command to trigger a WiFi reset should trigger a wifi reset in WifiStateMachine through
402 * the WifiStateMachine.setSupplicantRunning(false) call when in STA mode.
407 * Expected: WiFiController should call WifiStateMachine.setSupplicantRunning(false)
    [all...]
WifiConnectivityManagerTest.java 20 import static com.android.server.wifi.WifiStateMachine.WIFI_WORK_SOURCE;
110 private WifiStateMachine mWifiStateMachine;
229 WifiStateMachine mockWifiStateMachine() {
230 WifiStateMachine stateMachine = mock(WifiStateMachine.class);
245 candidate.BSSID = WifiStateMachine.SUPPLICANT_BSSID_ANY;
292 * WifiStateMachine.startConnectToNetwork() with the
311 * WifiStateMachine.startConnectToNetwork() with the
330 * WifiStateMachine.startConnectToNetwork() with the
350 * WifiStateMachine.startConnectToNetwork() with th
    [all...]
WifiMonitorTest.java 387 WLAN_IFACE_NAME, WifiStateMachine.CMD_ASSOCIATED_BSSID, mHandlerSpy);
394 assertEquals(WifiStateMachine.CMD_ASSOCIATED_BSSID, messageCaptor.getValue().what);
WifiMetricsTest.java     [all...]
WifiDiagnosticsTest.java 56 @Mock WifiStateMachine mWsm;
    [all...]
WifiServiceImplTest.java 145 @Mock WifiStateMachine mWifiStateMachine;
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiController.java 50 * WifiController is the class used to manage on/off state of WifiStateMachine for various operating
95 private final WifiStateMachine mWifiStateMachine;
145 WifiController(Context context, WifiStateMachine wsm, WifiSettingsStore wss,
459 // wifi is toggled, we need to explicitly tell WifiStateMachine that we
461 // since that will start supplicant and WifiStateMachine may not know
463 mWifiStateMachine.setOperationalMode(WifiStateMachine.CONNECT_MODE);
589 mWifiStateMachine.setOperationalMode(WifiStateMachine.SCAN_ONLY_WITH_WIFI_OFF_MODE);
    [all...]
WifiInjector.java 86 private final WifiStateMachine mWifiStateMachine;
160 mWifiStateMachineHandlerThread = new HandlerThread("WifiStateMachine");
222 mWifiStateMachine = new WifiStateMachine(mContext, mFrameworkFacade,
291 public WifiStateMachine getWifiStateMachine() {
361 // We depend on being able to refresh our binder in WifiStateMachine, so don't cache it.
SupplicantStateTracker.java 255 case WifiStateMachine.CMD_RESET_SUPPLICANT_STATE:
310 if (message.what == WifiStateMachine.CMD_RESET_SUPPLICANT_STATE) {
WifiConnectivityManager.java 19 import static com.android.server.wifi.WifiStateMachine.WIFI_WORK_SOURCE;
115 // WifiStateMachine has a bunch of states. From the
132 private final WifiStateMachine mStateMachine;
528 WifiConnectivityManager(Context context, WifiStateMachine stateMachine,
675 && !candidate.BSSID.equals(WifiStateMachine.SUPPLICANT_BSSID_ANY)
717 || candidate.BSSID.equals(WifiStateMachine.SUPPLICANT_BSSID_ANY))) {
718 targetBssid = WifiStateMachine.SUPPLICANT_BSSID_ANY;
    [all...]
WifiDiagnostics.java 103 private WifiStateMachine mWifiStateMachine;
111 WifiStateMachine wifiStateMachine, WifiNative wifiNative,
119 mWifiStateMachine = wifiStateMachine;
395 WifiStateMachine.CMD_FIRMWARE_ALERT, errorCode, 0, buffer);
WifiMonitor.java 495 sendMessage(iface, WifiStateMachine.CMD_ASSOCIATED_BSSID, 0, 0, bssid);
505 sendMessage(iface, WifiStateMachine.CMD_TARGET_BSSID, 0, 0, bssid);
WifiStateMachine.java 156 * The WifiStateMachine handles SoftAp and Client operations while WifiP2pService
161 public class WifiStateMachine extends StateMachine implements WifiNative.WifiRssiEventHandler,
169 private static final String TAG = "WifiStateMachine";
453 // WifiStateMachine starts up
620 * Initialize the WifiStateMachine. This is currently used to initialize the
682 * Used to handle messages bounced between WifiStateMachine and IpManager.
716 AsyncChannel.class, WifiStateMachine.class, DhcpClient.class };
    [all...]
WifiMetrics.java     [all...]
WifiServiceImpl.java 154 final WifiStateMachine mWifiStateMachine;
192 * Asynchronous channel to WifiStateMachine
336 * Handles interaction with WifiStateMachine
355 Slog.e(TAG, "WifiStateMachine connection failure, error=" + msg.arg1);
361 Slog.e(TAG, "WifiStateMachine channel lost, msg.arg1 =" + msg.arg1);
511 Log.wtf(TAG, "Failed to initialize WifiStateMachine");
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
WifiP2pServiceImpl.java 81 import com.android.server.wifi.WifiStateMachine;
157 // Commands to the WifiStateMachine
478 * Get a reference to handler. This is used by a WifiStateMachine to establish
552 * Handles interaction with WifiStateMachine
690 if (DBG) logd("Full connection with WifiStateMachine established");
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
WifiScanningServiceImpl.java 60 import com.android.server.wifi.WifiStateMachine;
    [all...]

Completed in 167 milliseconds