Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java937 public void expectAddRequestsWithScores(final int... scores) { in expectAddRequestsWithScores() method in ConnectivityServiceTest.MockNetworkFactory
2481 testFactory.expectAddRequestsWithScores(0); in tryNetworkFactoryRequests()
2492 testFactory.expectAddRequestsWithScores(0); // New request in tryNetworkFactoryRequests()
2512 testFactory.expectAddRequestsWithScores(makeIntArray(expectedRequestCount, 50)); in tryNetworkFactoryRequests()
2520 testFactory.expectAddRequestsWithScores(makeIntArray(10, 50)); in tryNetworkFactoryRequests()
2544 testFactory.expectAddRequestsWithScores(makeIntArray(expectedRequestCount, 0)); in tryNetworkFactoryRequests()
3599 testFactory.expectAddRequestsWithScores(0); // Score 0 as the request is not served yet. in testMobileDataAlwaysOn()
3607 testFactory.expectAddRequestsWithScores(20, 60); in testMobileDataAlwaysOn()
3615 testFactory.expectAddRequestsWithScores(0); // Always on requests comes up with score 0 in testMobileDataAlwaysOn()
3623 testFactory.expectAddRequestsWithScores(10, 50); // Unvalidated, then validated in testMobileDataAlwaysOn()
[all …]