Home
last modified time | relevance | path

Searched refs:cardEmulation (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/nfc/src/android/nfc/cts/
DCardEmulationTest.java201 CardEmulation cardEmulation = createMockedInstance(); in testRegisterAidsForService() local
204 Assert.assertTrue(cardEmulation.registerAidsForService(mService, in testRegisterAidsForService()
427 CardEmulation cardEmulation = CardEmulation.getInstance(adapter); in testCustomFrameToCustomInTwoFullLoops()
433 Assert.assertTrue(cardEmulation.registerPollingLoopFilterForService( in testCustomFrameToCustomInTwoFullLoops()
463 final CardEmulation cardEmulation = CardEmulation.getInstance(adapter); in testTypeAPollingLoopToForeground() local
465 Assert.assertTrue(cardEmulation.setPreferredService(activity, in testTypeAPollingLoopToForeground()
478 Assert.assertTrue(cardEmulation.unsetPreferredService(activity)); in testTypeAPollingLoopToForeground()
492 final CardEmulation cardEmulation = CardEmulation.getInstance(adapter); in testSetShouldDefaultToObserveModeShouldDefaultToObserveMode() local
495 Assert.assertTrue(cardEmulation.setShouldDefaultToObserveModeForService(ctsService, in testSetShouldDefaultToObserveModeShouldDefaultToObserveMode()
498 Assert.assertTrue(cardEmulation.setPreferredService(activity, ctsService)); in testSetShouldDefaultToObserveModeShouldDefaultToObserveMode()
[all …]
DDefaultPaymentProviderTestUtils.java63 CardEmulation cardEmulation = CardEmulation.getInstance(adapter); in setDefaultPaymentService() local
73 && !cardEmulation.isDefaultServiceForCategory(serviceName, in setDefaultPaymentService()
86 : serviceName.equals(cardEmulation.getPreferredPaymentService(context))); in setDefaultPaymentService()
96 final CardEmulation cardEmulation = CardEmulation.getInstance(adapter);
100 cardEmulation.getDescriptionForPreferredPaymentService()));
DNfcAdapterTest.java371 CardEmulation cardEmulation = CardEmulation.getInstance(adapter); in testDefaultObserveModePaymentDynamic() local
372 cardEmulation.setShouldDefaultToObserveModeForService(new ComponentName(mContext, in testDefaultObserveModePaymentDynamic()
390 CardEmulation cardEmulation = CardEmulation.getInstance(adapter); in testDefaultObserveModeForegroundDynamic() local
393 cardEmulation.setShouldDefaultToObserveModeForService(new ComponentName(mContext, in testDefaultObserveModeForegroundDynamic()
395 Assert.assertTrue(cardEmulation.setPreferredService(activity, in testDefaultObserveModeForegroundDynamic()
399 Assert.assertTrue(cardEmulation.setPreferredService(activity, in testDefaultObserveModeForegroundDynamic()
404 cardEmulation.setShouldDefaultToObserveModeForService(new ComponentName(mContext, in testDefaultObserveModeForegroundDynamic()
415 CardEmulation cardEmulation = CardEmulation.getInstance(adapter); in testDefaultObserveModeOnlyWithServiceChange() local
416 cardEmulation.setShouldDefaultToObserveModeForService(new ComponentName(mContext, in testDefaultObserveModeOnlyWithServiceChange()
425 Assert.assertTrue(cardEmulation.setPreferredService(activity, in testDefaultObserveModeOnlyWithServiceChange()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hcef/
DHceFEmulatorTestActivity.java43 CardEmulation cardEmulation = CardEmulation.getInstance(nfcAdapter); in onCreate() local