Lines Matching refs:log

73         WifiMetricsProto.WifiRttLog log;
76 log = mDut.consolidateProto();
77 checkMainStats("No requests", log, 0, 0);
78 checkPeerStats("No requests: AP", log.rttToAp, 0, 0, 0, 0, 0, 0, 0, 0);
79 checkPeerStats("No requests: Aware", log.rttToAware, 0, 0, 0, 0, 0, 0, 0, 0);
109 log = mDut.consolidateProto();
110 checkMainStats("Sequence AP-only", log, 10, 0);
112 checkPeerStats("Sequence AP-only: AP", log.rttToAp, 10, 41, 2, 2, 4, 0, 0, 5);
115 log.rttToAp.histogramNumRequestsPerApp[0], 1, 10, 1);
117 log.rttToAp.histogramNumRequestsPerApp[1], 10, 100, 1);
120 log.rttToAp.histogramNumPeersPerRequest[0], 1, 1, 1);
122 log.rttToAp.histogramNumPeersPerRequest[1], 2, 2, 2);
124 log.rttToAp.histogramNumPeersPerRequest[2], 5, 5, 6);
126 log.rttToAp.histogramNumPeersPerRequest[3], 6, 6, 1);
129 log.rttToAp.histogramRequestIntervalMs[0], 1, 10, 5);
131 log.rttToAp.histogramRequestIntervalMs[1], 10, 100, 1);
133 log.rttToAp.histogramRequestIntervalMs[2], 100, 1000, 1);
135 log.rttToAp.histogramRequestIntervalMs[3], 1000, 10000, 1);
137 log.rttToAp.histogramRequestIntervalMs[4], 100000, 1000000, 1);
139 checkPeerStats("Sequence AP-only: Aware", log.rttToAware, 0, 0, 0, 0, 0, 0, 0, 0);
161 log = mDut.consolidateProto();
162 checkMainStats("Sequence Mixed AP/Aware", log, 4, 0);
164 checkPeerStats("Sequence Mixed AP/Aware: AP", log.rttToAp, 2, 7, 3, 1, 2, 0, 0, 1);
167 log.rttToAp.histogramNumRequestsPerApp[0], 1, 10, 3);
170 log.rttToAp.histogramNumPeersPerRequest[0], 2, 2, 1);
172 log.rttToAp.histogramNumPeersPerRequest[1], 5, 5, 1);
175 log.rttToAp.histogramRequestIntervalMs[0], 1, 10, 1);
177 checkPeerStats("Sequence Mixed AP/Aware: Aware", log.rttToAware, 3, 16, 3, 1, 3, 0, 0, 1);
180 log.rttToAware.histogramNumRequestsPerApp[0], 1, 10, 3);
184 log.rttToAware.histogramNumPeersPerRequest[0], 3, 3, 1);
187 log.rttToAware.histogramNumPeersPerRequest[1], 5, 5, 1);
190 log.rttToAware.histogramNumPeersPerRequest[2], 8, 8, 1);
193 log.rttToAware.histogramRequestIntervalMs[0], 1, 10, 2);
201 WifiMetricsProto.WifiRttLog log;
204 log = mDut.consolidateProto();
205 checkMainStats("No requests", log, 0, 0);
206 checkPeerStats("No requests: AP", log.rttToAp, 0, 0, 0, 0, 0, 0, 0, 0);
207 checkPeerStats("No requests: Aware", log.rttToAware, 0, 0, 0, 0, 0, 0, 0, 0);
220 log = mDut.consolidateProto();
222 checkMainStats("Sequence AP-only", log, 0, 0);
224 checkPeerStats("Sequence AP-only: AP", log.rttToAp, 0, 0, 0, 0, 0, 1, 6, 0);
228 log.rttToAp.histogramIndividualStatus[0], WifiMetricsProto.WifiRttLog.SUCCESS, 14);
231 log.rttToAp.histogramDistance[0], Integer.MIN_VALUE, 0, 3);
233 log.rttToAp.histogramDistance[1], 0, 5 * 1000, 2);
235 log.rttToAp.histogramDistance[2], 5 * 1000, 15 * 1000, 2);
237 log.rttToAp.histogramDistance[3], 30 * 1000, 60 * 1000, 2);
239 log.rttToAp.histogramDistance[4], 60 * 1000, 100 * 1000, 1);
241 log.rttToAp.histogramDistance[5], 100 * 1000, Integer.MAX_VALUE, 4);
243 checkPeerStats("Sequence AP-only: Aware", log.rttToAware, 0, 0, 0, 0, 0, 0, 0, 0);
256 log = mDut.consolidateProto();
258 checkMainStats("Sequence Mixed AP/Aware", log, 0, 0);
260 checkPeerStats("Sequence Mixed AP/Aware: AP", log.rttToAp, 0, 0, 0, 0, 0, 1, 4, 0);
264 log.rttToAp.histogramIndividualStatus[0], WifiMetricsProto.WifiRttLog.SUCCESS, 7);
267 log.rttToAp.histogramDistance[0], Integer.MIN_VALUE, 0, 3);
269 log.rttToAp.histogramDistance[1], 0, 5 * 1000, 2);
271 log.rttToAp.histogramDistance[2], 5 * 1000, 15 * 1000, 1);
273 log.rttToAp.histogramDistance[3], 30 * 1000, 60 * 1000, 1);
275 checkPeerStats("Sequence Mixed AP/Aware: Aware", log.rttToAware, 0, 0, 0, 0, 0, 1, 4, 0);
279 log.rttToAware.histogramIndividualStatus[0], WifiMetricsProto.WifiRttLog.SUCCESS,
283 log.rttToAware.histogramDistance[0], 5 * 1000, 15 * 1000, 3);
285 log.rttToAware.histogramDistance[1], 30 * 1000, 60 * 1000, 1);
287 log.rttToAware.histogramDistance[2], 60 * 1000, 100 * 1000, 2);
289 log.rttToAware.histogramDistance[3], 100 * 1000, Integer.MAX_VALUE, 10);
297 WifiMetricsProto.WifiRttLog log;
308 log = mDut.consolidateProto();
310 checkMainStats("Sequence Mixed AP/Aware", log, 0, 0);
312 checkPeerStats("Sequence Mixed AP/Aware: AP", log.rttToAp, 0, 0, 0, 0, 0, 2, 1, 0);
316 log.rttToAp.histogramIndividualStatus[0], WifiMetricsProto.WifiRttLog.SUCCESS, 1);
319 log.rttToAp.histogramIndividualStatus[1],
323 log.rttToAp.histogramDistance[0], 30 * 1000, 60 * 1000, 1);
325 checkPeerStats("Sequence Mixed AP/Aware: Aware", log.rttToAware, 0, 0, 0, 0, 0, 2, 2, 0);
329 log.rttToAware.histogramIndividualStatus[0], WifiMetricsProto.WifiRttLog.SUCCESS,
333 log.rttToAware.histogramIndividualStatus[1],
337 log.rttToAware.histogramDistance[0], 60 * 1000, 100 * 1000, 1);
339 log.rttToAware.histogramDistance[1], 100 * 1000, Integer.MAX_VALUE, 3);
347 WifiMetricsProto.WifiRttLog log;
353 log = mDut.consolidateProto();
355 checkMainStats("Sequence Mixed AP/Aware", log, 0, 0);
357 checkPeerStats("Sequence Mixed AP/Aware: AP", log.rttToAp, 0, 0, 0, 0, 0, 1, 0, 0);
361 log.rttToAp.histogramIndividualStatus[0],
364 checkPeerStats("Sequence Mixed AP/Aware: Aware", log.rttToAware, 0, 0, 0, 0, 0, 1, 0, 0);
368 log.rttToAware.histogramIndividualStatus[0],
377 WifiMetricsProto.WifiRttLog log;
398 log = mDut.consolidateProto();
401 log.rttToAp.histogramIndividualStatus.length, equalTo(16));
404 log.rttToAp.histogramIndividualStatus[0], WifiMetricsProto.WifiRttLog.SUCCESS, 5);
406 log.rttToAp.histogramIndividualStatus[1], WifiMetricsProto.WifiRttLog.FAILURE, 6);
408 log.rttToAp.histogramIndividualStatus[2], WifiMetricsProto.WifiRttLog.FAIL_NO_RSP,
411 log.rttToAp.histogramIndividualStatus[3], WifiMetricsProto.WifiRttLog.FAIL_REJECTED,
414 log.rttToAp.histogramIndividualStatus[4],
417 log.rttToAp.histogramIndividualStatus[5],
420 log.rttToAp.histogramIndividualStatus[6],
423 log.rttToAp.histogramIndividualStatus[7],
426 log.rttToAp.histogramIndividualStatus[8], WifiMetricsProto.WifiRttLog.ABORTED, 13);
428 log.rttToAp.histogramIndividualStatus[9],
431 log.rttToAp.histogramIndividualStatus[10],
434 log.rttToAp.histogramIndividualStatus[11],
437 log.rttToAp.histogramIndividualStatus[12],
440 log.rttToAp.histogramIndividualStatus[13], WifiMetricsProto.WifiRttLog.INVALID_REQ,
443 log.rttToAp.histogramIndividualStatus[14], WifiMetricsProto.WifiRttLog.NO_WIFI, 19);
445 log.rttToAp.histogramIndividualStatus[15],
449 log.rttToAware.histogramIndividualStatus.length, equalTo(0));
457 WifiMetricsProto.WifiRttLog log;
472 log = mDut.consolidateProto();
474 collector.checkThat("histogramOverallStatus.length", log.histogramOverallStatus.length,
478 log.histogramOverallStatus[0], WifiMetricsProto.WifiRttLog.OVERALL_SUCCESS, 5);
480 log.histogramOverallStatus[1], WifiMetricsProto.WifiRttLog.OVERALL_FAIL, 6);
482 log.histogramOverallStatus[2],
485 log.histogramOverallStatus[3], WifiMetricsProto.WifiRttLog.OVERALL_TIMEOUT, 8);
487 log.histogramOverallStatus[4], WifiMetricsProto.WifiRttLog.OVERALL_THROTTLE, 9);
489 log.histogramOverallStatus[5], WifiMetricsProto.WifiRttLog.OVERALL_HAL_FAILURE, 10);
491 log.histogramOverallStatus[6],
494 log.histogramOverallStatus[7],
528 private void checkMainStats(String msgPrefix, WifiMetricsProto.WifiRttLog log, int numRequests,
530 collector.checkThat(msgPrefix + ": numRequests", log.numRequests, equalTo(numRequests));
532 log.histogramOverallStatus.length,
536 private void checkPeerStats(String msgPrefix, WifiMetricsProto.WifiRttLog.RttToPeerLog log,
541 collector.checkThat(msgPrefix + ": numRequests", log.numRequests, equalTo(numRequests));
542 collector.checkThat(msgPrefix + ": numIndividualRequests", log.numIndividualRequests,
544 collector.checkThat(msgPrefix + ": numApps", log.numApps, equalTo(numApps));
546 log.histogramNumRequestsPerApp.length, equalTo(histogramNumRequestsPerAppLength));
548 log.histogramNumPeersPerRequest.length, equalTo(histogramNumPeersPerRequestLength));
550 log.histogramIndividualStatus.length, equalTo(histogramIndividualStatusLength));
552 log.histogramDistance.length, equalTo(histogramDistanceLength));
554 log.histogramRequestIntervalMs.length, equalTo(histogramRequestIntervalMsLength));