Home
last modified time | relevance | path

Searched refs:accessPoint (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.kt162 fun buildLoggingSummary(accessPoint: AccessPoint, config: WifiConfiguration?): String { in <lambda>()
164 val info = accessPoint.info in <lambda>()
167 if (accessPoint.isActive && info != null) { in <lambda>()
170 summary.append(" " + getVisibilityStatus(accessPoint)) in <lambda>()
215 fun getVisibilityStatus(accessPoint: AccessPoint): String { in <lambda>()
216 val info = accessPoint.info in <lambda>()
222 if (accessPoint.isActive && info != null) { in <lambda>()
231 if (accessPoint.speed != AccessPoint.Speed.NONE) { in <lambda>()
232 visibility.append(" speed=").append(accessPoint.speedLabel) in <lambda>()
250 for (result in accessPoint.getScanResults()) { in <lambda>()
[all …]
DWifiTracker.java463 for (AccessPoint accessPoint : getAccessPoints()) { in dump()
464 pw.println(" " + accessPoint); in dump()
589 AccessPoint accessPoint = in updateAccessPoints() local
594 .filter(config -> accessPoint.matches(config)) in updateAccessPoints()
599 accessPoint.update(null); in updateAccessPoints()
601 accessPoint.update(matchedConfigs.get(0)); in updateAccessPoints()
608 accessPoint.update(preferredConfig.get()); in updateAccessPoints()
610 accessPoint.update(matchedConfigs.get(0)); in updateAccessPoints()
614 accessPoints.add(accessPoint); in updateAccessPoints()
699 AccessPoint accessPoint = in updatePasspointAccessPoints() local
[all …]
DAccessPointPreference.java108 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() argument
110 this(accessPoint, context, cache, 0 /* iconResId */, forSavedNetworks); in AccessPointPreference()
114 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() argument
116 this(accessPoint, context, cache, iconResId, forSavedNetworks, in AccessPointPreference()
121 AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() argument
128 mAccessPoint = accessPoint; in AccessPointPreference()
DAccessPoint.java1885 @MainThread void onAccessPointChanged(AccessPoint accessPoint); in onAccessPointChanged() argument
1897 @MainThread void onLevelChanged(AccessPoint accessPoint); in onLevelChanged() argument
2053 private boolean isSameSsidOrBssid(AccessPoint accessPoint) { in isSameSsidOrBssid() argument
2054 if (accessPoint == null) { in isSameSsidOrBssid()
2058 if (TextUtils.equals(ssid, accessPoint.getSsid())) { in isSameSsidOrBssid()
2060 } else if (accessPoint.getBssid() != null in isSameSsidOrBssid()
2061 && TextUtils.equals(bssid, accessPoint.getBssid())) { in isSameSsidOrBssid()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DAccessPointPreferenceTest.java52 private AccessPointPreference createWithAccessPoint(AccessPoint accessPoint) { in createWithAccessPoint() argument
53 return new AccessPointPreference(accessPoint, mContext, mockUserBadgeCache, in createWithAccessPoint()
/frameworks/base/core/java/android/os/
DBatteryStatsManager.java255 @Nullable String accessPoint) { in reportWifiState() argument
257 mBatteryStats.noteWifiState(newWifiState, accessPoint); in reportWifiState()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java319 AccessPoint accessPoint = new AccessPoint(mContext, configuration);
324 accessPoint.update(configuration, wifiInfo, networkInfo);
326 assertThat(accessPoint.isMetered()).isTrue();
335 AccessPoint accessPoint = new AccessPoint(mContext, configuration);
341 accessPoint.update(configuration, wifiInfo, networkInfo);
343 assertThat(accessPoint.isMetered()).isTrue();
368 AccessPoint accessPoint = new AccessPoint(mContext, configuration);
373 accessPoint.update(configuration, wifiInfo, networkInfo);
375 assertThat(accessPoint.isMetered()).isFalse();
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl182 void noteWifiState(int wifiState, String accessPoint); in noteWifiState() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java2186 public void noteWifiState(final int wifiState, final String accessPoint) { in noteWifiState() argument
2193 mStats.noteWifiStateLocked(wifiState, accessPoint, elapsedRealtime); in noteWifiState()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java6990 public void noteWifiStateLocked(int wifiState, String accessPoint, long elapsedRealtimeMs) { in noteWifiStateLocked() argument