Searched refs:numRequests (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | SpeedMeasurementController.java | 346 private boolean drainRequests(int numRequests) { in drainRequests() argument 347 while (numRequests > 0) { in drainRequests() 354 numRequests--; in drainRequests() 398 int numRequests = 0; in run() local 404 numRequests++; in run() 420 if (numRequests == ASYNC_MAX_OUTSTANDING_REQUESTS) { in run() 427 numRequests--; in run() 431 if (!drainRequests(numRequests)) { in run()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
D | RttMetrics.java | 105 public int numRequests; field in RttMetrics.PerUidInfo 110 return "numRequests=" + numRequests + ", lastRequestMs=" + lastRequestMs; in toString() 256 perUidInfo.numRequests++; in updatePeerInfoWithRequestInfo() 287 log.numRequests = mNumStartRangingCalls; in consolidateProto() 316 peerLog.numRequests = peerInfo.numCalls; in consolidatePeerType() 362 addValueToLogHistogram(perUidInfos.valueAt(i).numRequests, histogramNumRequestsPerUid, in consolidateNumRequestsPerApp()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/ |
D | MockWebServerDispatcherFactory.java | 219 private double getThrottlingFactor(int bandwidth, int numRequests) { in create() argument 220 if (numRequests <= bandwidth) { in create() 223 int numRequestsMod = numRequests % bandwidth; in create()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttMetricsTest.java | 560 private void checkMainStats(String msgPrefix, WifiMetricsProto.WifiRttLog log, int numRequests, in checkMainStats() argument 563 collector.checkThat(msgPrefix + ": numRequests", log.numRequests, equalTo(numRequests)); in checkMainStats() 576 int numRequests, int numIndividualRequests, in checkPeerStats() argument 580 collector.checkThat(msgPrefix + ": numRequests", log.numRequests, equalTo(numRequests)); in checkPeerStats()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 5767 final int numRequests; 5770 numRequests = nai.numRequestNetworkRequests(); 5773 numRequests = nai.numForegroundNetworkRequests(); 5780 if (numRequests > 0) return false;
|