Home
last modified time | relevance | path

Searched refs:networkStatus (Results 1 – 13 of 13) 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()
201 final CaptivePortalDataShim capportData = getCaptivePortalData(networkStatus); in updateNotifications()
206 && networkStatus.isValidated() in updateNotifications()
213 networkStatus.mValidatedNotificationPending && networkStatus.isValidated() in updateNotifications()
223 if (networkStatus.mShownNotification == NOTE_VENUE_INFO) return; in updateNotifications()
242 ? getSsid(networkStatus) : friendlyName; in updateNotifications()
244 builder = getNotificationBuilder(channel, networkStatus, res, venueDisplayName) in updateNotifications()
250 networkStatus.mShownNotification = NOTE_VENUE_INFO; in updateNotifications()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/
DJitterNetworkAnalyser.cpp184 NETWORK_STATUS networkStatus; in GetNextJitterBufferSize() local
195 networkStatus = NETWORK_STATUS_BAD; in GetNextJitterBufferSize()
199 networkStatus = NETWORK_STATUS_GOOD; in GetNextJitterBufferSize()
203 networkStatus = NETWORK_STATUS_NORMAL; in GetNextJitterBufferSize()
209 calcJitterSize, mean, dev, maxJitter, nCurrJitterBufferSize, networkStatus); in GetNextJitterBufferSize()
211 switch (networkStatus) in GetNextJitterBufferSize()
259 networkStatus = NETWORK_STATUS_NORMAL; in GetNextJitterBufferSize()
270 mNetworkStatus = networkStatus; in GetNextJitterBufferSize()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/network/
DNetworkMonitorTest.kt76 val reportedStatus = networkMonitor.networkStatus.first() in testInitialNetworkIsAvailable()
88 val reportedStatus = networkMonitor.networkStatus.first() in testRegistersNetworkCallback()
112 backgroundScope.launch { networkMonitor.networkStatus.toList(emissions) } in testCallbackEmitsNewNetworkStatus()
144 backgroundScope.launch { networkMonitor.networkStatus.toList(allEmissions) } in testNetworkStatusReplayedForNewSubscribers()
164 backgroundScope.launch { networkMonitor.networkStatus.toList(emissions) } in testNetworkStatusReplayedForNewSubscribers()
178 backgroundScope.launch { networkMonitor.networkStatus.toList(emissions) } in testNetworkStatusIsDistinctUntilChanged()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DWifiUtils.java61 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in buildLoggingSummary() local
63 if (networkStatus.getDisableReasonCounter(reason) != 0) { in buildLoggingSummary()
68 .append(networkStatus.getDisableReasonCounter(reason)); in buildLoggingSummary()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestNetworkStatusNotifier.java59 public void setAndNotifyNetworkStatus(@NetworkStatus int networkStatus) { in setAndNotifyNetworkStatus() argument
60 mNetworkStatus = networkStatus; in setAndNotifyNetworkStatus()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultNetworkStatusNotifier.java71 @NetworkStatus int networkStatus = getNetworkStatus(); in registerListener()
73 mListeners.get(i).onNetworkChanged(networkStatus); in registerListener()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java331 WifiConfiguration.NetworkSelectionStatus networkStatus = in isWifiEntryDisabledByWrongPassword() local
333 if (networkStatus == null in isWifiEntryDisabledByWrongPassword()
334 || networkStatus.getNetworkSelectionStatus() == NETWORK_SELECTION_ENABLED) { in isWifiEntryDisabledByWrongPassword()
337 return networkStatus.getNetworkSelectionDisableReason() in isWifiEntryDisabledByWrongPassword()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBlocklistMonitor.java1270 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in shouldEnableNetwork() local
1271 if (networkStatus.isNetworkTemporaryDisabled()) { in shouldEnableNetwork()
1272 return mClock.getElapsedSinceBootMillis() >= networkStatus.getDisableEndTime(); in shouldEnableNetwork()
1291 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in updateNetworkSelectionStatus() local
1314 networkStatus.incrementDisableReasonCounter(reason); in updateNetworkSelectionStatus()
1317 int disableReasonCounter = networkStatus.getDisableReasonCounter(reason); in updateNetworkSelectionStatus()
1324 + " is " + networkStatus.getDisableReasonCounter(reason) in updateNetworkSelectionStatus()
1346 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in setNetworkSelectionStatus() local
1356 + " networkStatus=" + networkStatus.getNetworkStatusString() + " disableReason=" in setNetworkSelectionStatus()
1357 + networkStatus.getNetworkSelectionDisableReasonString()); in setNetworkSelectionStatus()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/network/
DNetworkMonitor.kt58 val networkStatus: SharedFlow<NetworkStatus> = constant
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java1404 WifiConfiguration.NetworkSelectionStatus networkStatus = in isDisabledByWrongPassword() local
1406 if (networkStatus == null in isDisabledByWrongPassword()
1407 || networkStatus.getNetworkSelectionStatus() == NETWORK_SELECTION_ENABLED) { in isDisabledByWrongPassword()
1410 int reason = networkStatus.getNetworkSelectionDisableReason(); in isDisabledByWrongPassword()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkAgent.java1264 networkStatus(status, null == redirectUri ? "" : redirectUri.toString()); in onValidationStatus()
1267 protected void networkStatus(int status, String redirectUrl) { in networkStatus() method in NetworkAgent
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt552 Landroid/net/NetworkAgent;->networkStatus(ILjava/lang/String;)V
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1124 public void networkStatus(int status, String redirectUrl) { in networkStatus() method in ConnectivityServiceTest.TestNetworkAgentWrapper.TestInstrumentedNetworkAgent