Home
last modified time | relevance | path

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

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DCardEmulationManagerTest.java133 private CardEmulationManager mCardEmulationManager; field in CardEmulationManagerTest
155 mCardEmulationManager = createInstanceWithMockParams(); in setUp()
183 Assert.assertNotNull(mCardEmulationManager.getNfcCardEmulationInterface()); in testGetters()
184 Assert.assertNotNull(mCardEmulationManager.getNfcFCardEmulationInterface()); in testGetters()
189 mCardEmulationManager.onPollingLoopDetected(POLLING_LOOP_FRAMES); in testPollingLoopDetected()
197 mCardEmulationManager.onHostCardEmulationActivated(CardEmulationManager.NFC_HCE_APDU); in testOnHostCardEmulationActivated_technologyApdu()
203 Assert.assertFalse(mCardEmulationManager.mNotSkipAid); in testOnHostCardEmulationActivated_technologyApdu()
210 mCardEmulationManager.onHostCardEmulationActivated(CardEmulationManager.NFC_HCE_NFCF); in testOnHostCardEmulationActivated_technologyNfcf()
224 mCardEmulationManager.mNotSkipAid = false; in testSkipAid_nullData_isFalse()
225 Assert.assertFalse(mCardEmulationManager.isSkipAid(null)); in testSkipAid_nullData_isFalse()
[all …]
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java437 private CardEmulationManager mCardEmulationManager; field in NfcService
484 if (mCardEmulationManager != null) { in onHostCardEmulationActivated()
485 mCardEmulationManager.onHostCardEmulationActivated(technology); in onHostCardEmulationActivated()
491 if (mCardEmulationManager != null) { in onHostCardEmulationData()
492 mCardEmulationManager.onHostCardEmulationData(technology, data); in onHostCardEmulationData()
498 if (mCardEmulationManager != null) { in onHostCardEmulationDeactivated()
499 mCardEmulationManager.onHostCardEmulationDeactivated(technology); in onHostCardEmulationDeactivated()
523 if (mCardEmulationManager != null && android.nfc.Flags.nfcReadPollingLoop()) { in onPollingLoopDetected()
524 mCardEmulationManager.onPollingLoopDetected(frames); in onPollingLoopDetected()
814 mCardEmulationManager = new CardEmulationManager(mContext, mNfcInjector); in NfcService()
[all …]