Home
last modified time | relevance | path

Searched refs:updateScores (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java95 mScoreCache.updateScores(ImmutableList.of(mValidScoredNetwork)); in initializeCacheWithValidScoredNetwork()
139 mScoreCache.updateScores(ImmutableList.of(network2)); in updateScoresShouldAddNewNetwork()
159 mScoreCache.updateScores(ImmutableList.of(noCurve)); in hasScoreCurveShouldReturnFalseWhenScoredNetworkHasNoCurve()
186 mScoreCache.updateScores(ImmutableList.of(network)); in getMeteredHintShouldReturnTrue()
215 mScoreCache.updateScores(ImmutableList.of(network1)); in leastRecentlyUsedScore_shouldBeEvictedFromCache()
216 mScoreCache.updateScores(ImmutableList.of(network2)); in leastRecentlyUsedScore_shouldBeEvictedFromCache()
219 mScoreCache.updateScores(ImmutableList.of(network3)); in leastRecentlyUsedScore_shouldBeEvictedFromCache()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java297 mNetworkScoreService.updateScores(new ScoredNetwork[0]); in testUpdateScores_notActiveScorer()
311 mNetworkScoreService.updateScores(new ScoredNetwork[]{SCORED_NETWORK}); in testUpdateScores_oneRegisteredCache()
313 verify(mNetworkScoreCache).updateScores(mScoredNetworkCaptor.capture()); in testUpdateScores_oneRegisteredCache()
329 mNetworkScoreService.updateScores(new ScoredNetwork[]{SCORED_NETWORK}); in testUpdateScores_twoRegisteredCaches()
331 verify(mNetworkScoreCache).updateScores(anyListOf(ScoredNetwork.class)); in testUpdateScores_twoRegisteredCaches()
332 verify(mNetworkScoreCache2).updateScores(anyListOf(ScoredNetwork.class)); in testUpdateScores_twoRegisteredCaches()
338 mNetworkScoreService.updateScores(new ScoredNetwork[]{SCORED_NETWORK}); in testUpdateScores_twoRegisteredCaches()
340 verify(mNetworkScoreCache, times(2)).updateScores(anyListOf(ScoredNetwork.class)); in testUpdateScores_twoRegisteredCaches()
346 mNetworkScoreService.updateScores(new ScoredNetwork[]{SCORED_NETWORK}); in testUpdateScores_twoRegisteredCaches()
606 verify(mNetworkScoreCache).updateScores(scoredNetworkList); in testCacheUpdatingConsumer_nullFilter()
[all …]
/frameworks/base/core/java/android/net/
DINetworkScoreCache.aidl39 void updateScores(in List<ScoredNetwork> networks); in updateScores() method
DNetworkScoreManager.java307 public boolean updateScores(@NonNull ScoredNetwork[] networks) throws SecurityException { in updateScores() method in NetworkScoreManager
309 return mService.updateScores(networks); in updateScores()
517 public void updateScores(@NonNull List<ScoredNetwork> networks) { in updateScores() method in NetworkScoreManager.NetworkScoreCallbackProxy
DINetworkScoreService.aidl35 boolean updateScores(in ScoredNetwork[] networks); in updateScores() method
/frameworks/base/wifi/java/src/android/net/wifi/
DWifiNetworkScoreCache.java90 @Override public final void updateScores(List<ScoredNetwork> networks) { in updateScores() method in WifiNetworkScoreCache
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java440 public boolean updateScores(ScoredNetwork[] networks) { in updateScores() method in NetworkScoreService
535 networkScoreCache.updateScores(filteredNetworkList); in accept()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java567 scoreChanged = updateScores(scoreCache, maxScoreCacheAgeMillis); in update()
586 private boolean updateScores(WifiNetworkScoreCache scoreCache, long maxScoreCacheAgeMillis) { in updateScores() method in AccessPoint
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java409 scoreCache.updateScores(Arrays.asList(sc1, sc2)); in sendUpdatedScores()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt32824 Landroid/net/INetworkScoreCache$Stub$Proxy;->updateScores(Ljava/util/List;)V
32831 Landroid/net/INetworkScoreCache;->updateScores(Ljava/util/List;)V
32845 Landroid/net/INetworkScoreService$Stub$Proxy;->updateScores([Landroid/net/ScoredNetwork;)Z
32869 Landroid/net/INetworkScoreService;->updateScores([Landroid/net/ScoredNetwork;)Z
33786 Landroid/net/wifi/WifiNetworkScoreCache;->updateScores(Ljava/util/List;)V
/frameworks/base/core/api/
Dsystem-current.txt9680 …Permission(android.Manifest.permission.SCORE_NETWORKS) public boolean updateScores(@NonNull androi…