Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostEmulationManager.java132 Map<ComponentName, ArrayList<PollingFrame>> mPollingFramesToSend = null; field in HostEmulationManager
179 mPollingFramesToSend = null;
384 if (mPollingFramesToSend == null) { in sendFramesToServiceLocked()
385 mPollingFramesToSend = new HashMap<ComponentName, ArrayList<PollingFrame>>(); in sendFramesToServiceLocked()
387 if (mPollingFramesToSend.containsKey(name)) { in sendFramesToServiceLocked()
388 mPollingFramesToSend.get(name).addAll(frames); in sendFramesToServiceLocked()
390 mPollingFramesToSend.put(name, new ArrayList<>(frames)); in sendFramesToServiceLocked()
826 mPollingFramesToSend = null; in onHostEmulationDeactivated()
1152 } else if (mPollingFramesToSend != null && mPollingFramesToSend.containsKey(name)) {
1153 sendPollingFramesToServiceLocked(mService, mPollingFramesToSend.get(name));
[all …]
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostEmulationManagerTest.java1106 mHostEmulationManager.mPollingFramesToSend = new HashMap(); in testServiceConnectionOnServiceConnected_stateSelectW4_pollingLoopFrames()
1107 mHostEmulationManager.mPollingFramesToSend.put(WALLET_PAYMENT_SERVICE, in testServiceConnectionOnServiceConnected_stateSelectW4_pollingLoopFrames()
1117 Assert.assertNull(mHostEmulationManager.mPollingFramesToSend.get(WALLET_PAYMENT_SERVICE)); in testServiceConnectionOnServiceConnected_stateSelectW4_pollingLoopFrames()