Loading tests/net/java/com/android/server/ConnectivityServiceTest.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2465,8 +2465,8 @@ public class ConnectivityServiceTest { final MockNetworkFactory testFactory = new MockNetworkFactory(handlerThread.getLooper(), final MockNetworkFactory testFactory = new MockNetworkFactory(handlerThread.getLooper(), mServiceContext, "testFactory", filter); mServiceContext, "testFactory", filter); // Register the factory and don't be surprised when the default request arrives. // Register the factory and don't be surprised when the default request arrives. testFactory.register(); testFactory.expectAddRequestsWithScores(0); testFactory.expectAddRequestsWithScores(0); testFactory.register(); testFactory.waitForNetworkRequests(1); testFactory.waitForNetworkRequests(1); testFactory.setScoreFilter(42); testFactory.setScoreFilter(42); Loading Loading
tests/net/java/com/android/server/ConnectivityServiceTest.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2465,8 +2465,8 @@ public class ConnectivityServiceTest { final MockNetworkFactory testFactory = new MockNetworkFactory(handlerThread.getLooper(), final MockNetworkFactory testFactory = new MockNetworkFactory(handlerThread.getLooper(), mServiceContext, "testFactory", filter); mServiceContext, "testFactory", filter); // Register the factory and don't be surprised when the default request arrives. // Register the factory and don't be surprised when the default request arrives. testFactory.register(); testFactory.expectAddRequestsWithScores(0); testFactory.expectAddRequestsWithScores(0); testFactory.register(); testFactory.waitForNetworkRequests(1); testFactory.waitForNetworkRequests(1); testFactory.setScoreFilter(42); testFactory.setScoreFilter(42); Loading