Home
last modified time | relevance | path

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

/packages/modules/Nfc/NfcNci/src/com/android/nfc/cardemulation/util/
DStatsdUtils.java348 private final HashMap<String, PollingFrameLog> pollingFrameMap = new HashMap<>();
364 PollingFrameLog log = pollingFrameMap.getOrDefault(frameDataHex, null); in tallyPollingFrame()
367 PollingFrameLog frameLog = new PollingFrameLog(data); in tallyPollingFrame()
377 for (PollingFrameLog log : pollingFrameMap.values()) { in logPollingFrames()
399 protected void writeToStatsd(PollingFrameLog frameLog) { in writeToStatsd()
405 protected static class PollingFrameLog { class in StatsdUtils
409 public PollingFrameLog(byte[] data) { in PollingFrameLog() method in StatsdUtils.PollingFrameLog
416 if (!(o instanceof PollingFrameLog)) return false; in equals()
417 PollingFrameLog that = (PollingFrameLog) o; in equals()
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/cardemulation/util/
DStatsdUtilsTest.java69 class CoverageSample extends StatsdUtils.PollingFrameLog {
95 StatsdUtils.PollingFrameLog expectedFrame = new StatsdUtils.PollingFrameLog(ECP_V1_PAYMENT); in testLogPollingFrame_ecp1Once()
111 StatsdUtils.PollingFrameLog expectedFrame = new StatsdUtils.PollingFrameLog(ECP_V1_PAYMENT); in testLogPollingFrame_ecp1TwiceInTwoWrites()
131 StatsdUtils.PollingFrameLog expectedFrame = in testLogPollingFrame_ecp2Repeated()
132 new StatsdUtils.PollingFrameLog(ECP_V2_TRANSIT_MBTA); in testLogPollingFrame_ecp2Repeated()
150 StatsdUtils.PollingFrameLog expectedFrame = new StatsdUtils.PollingFrameLog(UNKNOWN_FRAME); in testLogPollingFrame_ecp2RepeatedTwoTypes()
154 expectedFrame = new StatsdUtils.PollingFrameLog(ECP_V2_TRANSIT_MBTA); in testLogPollingFrame_ecp2RepeatedTwoTypes()