Searched refs:mWifiTracker (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
D | WifiSettingsUiTest.java | 92 private WifiTracker mWifiTracker; field in WifiSettingsUiTest 106 WifiTrackerFactory.setTestingWifiTracker(mWifiTracker); in setUp() 107 when(mWifiTracker.getManager()).thenReturn(mWifiManager); in setUp() 147 when(mWifiTracker.getAccessPoints()).thenReturn( in setupConnectedAccessPoint() 159 verify(mWifiTracker).getManager(); in launchActivity() 198 when(mWifiTracker.getNumSavedNetworks()).thenReturn(0); in noSavedNetworks_wifiEnabled_shouldNotShowSavedNetworksButton() 209 when(mWifiTracker.getNumSavedNetworks()).thenReturn(0); in noSavedNetworks_wifiDisabled_shouldNotShowSavedNetworksButton() 220 when(mWifiTracker.getNumSavedNetworks()).thenReturn(1); in savedNetworksExist_shouldShowSavedNetworksButton() 254 when(mWifiTracker.isConnected()).thenReturn(true); in onConnected_shouldSeeConnectedMessage() 266 when(mWifiTracker.isConnected()).thenReturn(true); in resumingAp_shouldNotForceUpdateWhenExistingAPsAreListed() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiSummaryUpdaterTest.java | 57 private WifiStatusTracker mWifiTracker; field in WifiSummaryUpdaterTest 62 mWifiTracker = new WifiStatusTracker(mWifiManager); in setUp() 65 mSummaryUpdater = new WifiSummaryUpdater(mContext, mListener, mWifiTracker); in setUp() 103 mWifiTracker.enabled = false; in getSummary_wifiDisabled_shouldReturnDisabled() 111 mWifiTracker.enabled = true; in getSummary_wifiDisconnected_shouldReturnDisconnected() 112 mWifiTracker.connected = false; in getSummary_wifiDisconnected_shouldReturnDisconnected() 120 mWifiTracker.enabled = true; in getSummary_wifiConnected_shouldReturnSsid() 121 mWifiTracker.connected = true; in getSummary_wifiConnected_shouldReturnSsid() 122 mWifiTracker.ssid = "Test Ssid"; in getSummary_wifiConnected_shouldReturnSsid()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiSummaryUpdater.java | 37 private final WifiStatusTracker mWifiTracker; field in WifiSummaryUpdater 56 mWifiTracker = wifiTracker; in WifiSummaryUpdater() 60 mWifiTracker.handleBroadcast(intent); in WifiSummaryUpdater() 77 if (!mWifiTracker.enabled) { in getSummary() 80 if (!mWifiTracker.connected) { in getSummary() 83 return removeDoubleQuotes(mWifiTracker.ssid); in getSummary()
|
D | WifiSettings.java | 161 private WifiTracker mWifiTracker; field in WifiSettings 249 mWifiTracker = WifiTrackerFactory.create( in onActivityCreated() 251 mWifiManager = mWifiTracker.getManager(); in onActivityCreated() 352 mWifiTracker.startTracking(); in onStart() 387 mWifiTracker.forceUpdate(); in conditionallyForceUpdateAPs() 389 Log.i(TAG, "WifiSettings force update APs: " + mWifiTracker.getAccessPoints()); in conditionallyForceUpdateAPs() 432 mWifiTracker.stopTracking(); in onStop() 752 changeNextButtonState(mWifiTracker.isConnected()); in onConnectedChanged() 776 final List<AccessPoint> accessPoints = mWifiTracker.getAccessPoints(); in updateAccessPointPreferences() 928 int numSavedNetworks = mWifiTracker.getNumSavedNetworks(); in setAdditionalSettingsSummaries() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | CarWifiManager.java | 40 private WifiTracker mWifiTracker; field in CarWifiManager 71 mWifiTracker = new WifiTracker(context, this, mBgThread.getLooper(), true, true); in CarWifiManager() 82 mWifiTracker.startTracking(); in start() 94 mWifiTracker.stopTracking(); in stop() 101 for (AccessPoint accessPoint : mWifiTracker.getAccessPoints()) { in getAccessPoints()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | WifiSetupActivity.java | 82 private WifiTracker mWifiTracker; field in WifiSetupActivity 121 mWifiTracker = new WifiTracker(this, wifiListener, mBgThread.getLooper(), true, true); in onCreate() 157 mWifiTracker.startTracking(); in onResume() 163 mWifiTracker.stopTracking(); in onPause() 254 mWifiTracker.pauseScanning(); in onPageComplete() 419 mWifiTracker.resumeScanning(); in displayPage() 429 mWifiTracker.pauseScanning(); in undisplayCurrentPage() 478 final List<ScanResult> results = mWifiTracker.getManager().getScanResults(); in getNetworks() 561 WifiInfo currentWifiConnection = mWifiTracker.getManager().getConnectionInfo(); in addSummaryPage()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 55 private WifiTracker mWifiTracker; field in ConnectivityListener 96 mWifiTracker = new WifiTracker(context, this, mBgThread.getLooper(), true, true); in ConnectivityListener() 108 mWifiTracker.startTracking(); in start() 133 mWifiTracker.stopTracking(); in stop() 250 return mWifiTracker.getAccessPoints(); in getAvailableNetworks()
|