Home
last modified time | relevance | path

Searched refs:HostEmulationManager (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostEmulationManagerTest.java132 private HostEmulationManager mHostEmulationManager;
157 mHostEmulationManager = new HostEmulationManager(mContext, mTestableLooper.getLooper(), in setUp()
316 Assert.assertEquals(mHostEmulationManager.mState, HostEmulationManager.STATE_POLLING_LOOP); in testOnPollingLoopDetected_activeServiceAlreadyBound_overlappingServices()
424 mHostEmulationManager.mState = HostEmulationManager.STATE_XFER; in testOnFieldChangeDetected_fieldOff_returnToIdle()
428 Assert.assertEquals(HostEmulationManager.STATE_XFER, mHostEmulationManager.getState()); in testOnFieldChangeDetected_fieldOff_returnToIdle()
432 Assert.assertEquals(HostEmulationManager.STATE_IDLE, mHostEmulationManager.getState()); in testOnFieldChangeDetected_fieldOff_returnToIdle()
442 Assert.assertEquals(HostEmulationManager.STATE_POLLING_LOOP, in testOnPollingLoopDetected_fieldOff_returnToIdle()
447 Assert.assertEquals(HostEmulationManager.STATE_IDLE, mHostEmulationManager.getState()); in testOnPollingLoopDetected_fieldOff_returnToIdle()
461 Assert.assertEquals(HostEmulationManager.NFC_PACKAGE, intent.getPackage()); in testOnHostEmulationActivated()
462 Assert.assertEquals(HostEmulationManager.STATE_W4_SELECT, mHostEmulationManager.getState()); in testOnHostEmulationActivated()
[all …]
DNfcCardEmulationOccurredTest.java18 import static com.android.nfc.cardemulation.HostEmulationManager.STATE_W4_SELECT;
19 import static com.android.nfc.cardemulation.HostEmulationManager.STATE_W4_SERVICE;
83 private HostEmulationManager mHostEmulation;
131 () -> mHostEmulation = new HostEmulationManager( in setUp()
DNfcAidConflictOccurredTest.java63 private HostEmulationManager mHostEmulation;
102 () -> mHostEmulation = new HostEmulationManager( in setUp()
DCardEmulationManagerTest.java103 private HostEmulationManager mHostEmulationManager;
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DCardEmulationManager.java107 final HostEmulationManager mHostEmulationManager;
138 new HostEmulationManager(context, Looper.getMainLooper(), mAidCache); in CardEmulationManager()
159 HostEmulationManager hostEmulationManager, in CardEmulationManager()
DHostEmulationManager.java76 public class HostEmulationManager { class
202 public HostEmulationManager(Context context, Looper looper, RegisteredAidCache aidCache) { in HostEmulationManager() method in HostEmulationManager
207 HostEmulationManager(Context context, Looper looper, RegisteredAidCache aidCache, in HostEmulationManager() method in HostEmulationManager