Home
last modified time | relevance | path

Searched refs:networkStatus (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java195 final TrackedNetworkStatus networkStatus = mNetworkStatus.get(network); in updateNotifications() local
197 if (networkStatus == null) return; in updateNotifications()
200 final boolean hasSsid = !TextUtils.isEmpty(getSsid(networkStatus)); in updateNotifications()
202 final CaptivePortalDataShim capportData = getCaptivePortalData(networkStatus); in updateNotifications()
207 && networkStatus.isValidated() in updateNotifications()
214 networkStatus.mValidatedNotificationPending && networkStatus.isValidated() in updateNotifications()
224 if (networkStatus.mShownNotification == NOTE_VENUE_INFO) return; in updateNotifications()
238 builder = getNotificationBuilder(channel, networkStatus, res, getSsid(networkStatus)) in updateNotifications()
244 networkStatus.mShownNotification = NOTE_VENUE_INFO; in updateNotifications()
246 if (networkStatus.mShownNotification == NOTE_CONNECTED) return; in updateNotifications()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java234 WifiConfiguration.NetworkSelectionStatus networkStatus = in isAccessPointDisabledByWrongPassword() local
236 if (networkStatus == null || networkStatus.isNetworkEnabled()) { in isAccessPointDisabledByWrongPassword()
239 return networkStatus.getNetworkSelectionDisableReason() in isAccessPointDisabledByWrongPassword()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java318 WifiConfiguration.NetworkSelectionStatus networkStatus = in wrongPasswordSavedNetwork() local
320 assertThat(networkStatus).isNotNull(); in wrongPasswordSavedNetwork()
321 assertThat(networkStatus.isNetworkEnabled()).isFalse(); in wrongPasswordSavedNetwork()
322 assertThat(networkStatus.getNetworkSelectionDisableReason()).isEqualTo( in wrongPasswordSavedNetwork()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestNetworkStatusNotifier.java55 public void setAndNotifyNetworkStatus(@NetworkStatus int networkStatus) { in setAndNotifyNetworkStatus() argument
56 mNetworkStatus = networkStatus; in setAndNotifyNetworkStatus()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultNetworkStatusNotifier.java64 @NetworkStatus int networkStatus = getNetworkStatus(); in registerListener()
66 mListeners.get(i).onNetworkChanged(networkStatus); in registerListener()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConnectionActivity.java230 WifiConfiguration.NetworkSelectionStatus networkStatus = in onCreate() local
232 if (networkStatus.getNetworkSelectionDisableReason() in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiSettings.java700 WifiConfiguration.NetworkSelectionStatus networkStatus = in isDisabledByWrongPassword() local
702 if (networkStatus == null || networkStatus.isNetworkEnabled()) { in isDisabledByWrongPassword()
705 int reason = networkStatus.getNetworkSelectionDisableReason(); in isDisabledByWrongPassword()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java348 public void onNetworkChanged(@NetworkStatus int networkStatus) { in initializeDesktop()
349 initializeDesktopBasedOnNetwork(networkStatus, savedInstanceState); in initializeDesktop()
357 private void initializeDesktopBasedOnNetwork(@NetworkStatus int networkStatus, in initializeDesktopBasedOnNetwork() argument
359 if (networkStatus == NetworkStatusNotifier.NETWORK_CONNECTED) { in initializeDesktopBasedOnNetwork()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java703 WifiConfiguration.NetworkSelectionStatus networkStatus = in isDisabledByWrongPassword() local
705 if (networkStatus == null || networkStatus.isNetworkEnabled()) { in isDisabledByWrongPassword()
708 int reason = networkStatus.getNetworkSelectionDisableReason(); in isDisabledByWrongPassword()