Searched refs:NUM_REQUESTS (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 2862 final int NUM_REQUESTS = 90; in benchmarkRequestRegistrationAndCallbackDispatch() local 2869 final NetworkCallback[] callbacks = new NetworkCallback[NUM_REQUESTS]; in benchmarkRequestRegistrationAndCallbackDispatch() 2870 final CountDownLatch availableLatch = new CountDownLatch(NUM_REQUESTS); in benchmarkRequestRegistrationAndCallbackDispatch() 2871 final CountDownLatch losingLatch = new CountDownLatch(NUM_REQUESTS); in benchmarkRequestRegistrationAndCallbackDispatch() 2873 for (int i = 0; i < NUM_REQUESTS; i++) { in benchmarkRequestRegistrationAndCallbackDispatch() 2896 NUM_REQUESTS - availableLatch.getCount(), NUM_REQUESTS, in benchmarkRequestRegistrationAndCallbackDispatch() 2899 NUM_REQUESTS, onAvailableDispatchingDuration, CONNECT_TIME_LIMIT_MS), in benchmarkRequestRegistrationAndCallbackDispatch() 2911 NUM_REQUESTS - losingLatch.getCount(), NUM_REQUESTS, onLostDispatchingDuration)); in benchmarkRequestRegistrationAndCallbackDispatch() 2913 NUM_REQUESTS, onLostDispatchingDuration, SWITCH_TIME_LIMIT_MS), in benchmarkRequestRegistrationAndCallbackDispatch()
|