Home
last modified time | relevance | path

Searched refs:setNfcid2ForService (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Nfc/framework/tests/src/android/nfc/cardemulation/
DNfcFCardEmulationTest.java466 when(mService.setNfcid2ForService(1, mComponentName, nfcid2)) in testSetNfcid2ForServiceSuccess()
469 assertTrue(mNfcFCardEmulation.setNfcid2ForService(mComponentName, nfcid2)); in testSetNfcid2ForServiceSuccess()
477 mNfcFCardEmulation.setNfcid2ForService(null, null); in testSetNfcid2ForServiceWithNoService()
488 when(mService.setNfcid2ForService(1, mComponentName, nfcid2)) in testSetNfcid2ForServiceWithException()
493 mNfcFCardEmulation.setNfcid2ForService(mComponentName, nfcid2); in testSetNfcid2ForServiceWithException()
504 when(mService.setNfcid2ForService(1, mComponentName, nfcid2)) in testSetNfcid2ForServiceWithSecondTry()
510 assertTrue(mNfcFCardEmulation.setNfcid2ForService(mComponentName, nfcid2)); in testSetNfcid2ForServiceWithSecondTry()
521 when(mService.setNfcid2ForService(1, mComponentName, nfcid2)) in testSetNfcid2ForServiceWithSecondTryFail()
527 mNfcFCardEmulation.setNfcid2ForService(mComponentName, nfcid2); in testSetNfcid2ForServiceWithSecondTryFail()
/packages/modules/Nfc/framework/java/android/nfc/cardemulation/
DNfcFCardEmulation.java264 public boolean setNfcid2ForService(ComponentName service, String nfcid2) in setNfcid2ForService() method in NfcFCardEmulation
270 return sService.setNfcid2ForService(mContext.getUser().getIdentifier(), in setNfcid2ForService()
280 return sService.setNfcid2ForService(mContext.getUser().getIdentifier(), in setNfcid2ForService()
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCacheTest.java564 boolean result = cache.setNfcid2ForService(USER_ID, SERVICE_UID, WALLET_COMPONENT, NFCID2); in testSetNfcid2ForServiceWhenActivated_ReturnsFalse()
574 boolean result = cache.setNfcid2ForService(USER_ID, SERVICE_UID, WALLET_COMPONENT, NFCID2); in testSetNfcid2ForServiceWithNullService_ReturnsFalse()
585 boolean result = cache.setNfcid2ForService(USER_ID, SERVICE_UID, WALLET_COMPONENT, NFCID2); in testSetNfcid2ForServiceWithUidMismatch_ReturnsFalse()
597 boolean result = cache.setNfcid2ForService(USER_ID, SERVICE_UID, WALLET_COMPONENT, NFCID2); in testSetNfcid2ForServiceWithInvalidSystemCode_ReturnsFalse()
609 boolean result = cache.setNfcid2ForService(USER_ID, SERVICE_UID, WALLET_COMPONENT, NFCID2); in testSetNfcid2ForServiceWhenFailedtoPersistSystemCode_ReturnsFalse()
622 boolean result = cache.setNfcid2ForService(USER_ID, SERVICE_UID, WALLET_COMPONENT, NFCID2); in testSetNfcid2ForService_ReturnsTrue()
DCardEmulationManagerTest.java1959 when(mRegisteredNfcFServicesCache.setNfcid2ForService( in testNfcFCardEmulationSetNfcid2ForService_serviceExists()
1966 .setNfcid2ForService(USER_ID, WALLET_PAYMENT_SERVICE, nfcid2)); in testNfcFCardEmulationSetNfcid2ForService_serviceExists()
1980 .setNfcid2ForService(eq(USER_ID), anyInt(), eq(WALLET_PAYMENT_SERVICE), eq(nfcid2)); in testNfcFCardEmulationSetNfcid2ForService_serviceExists()
1989 when(mRegisteredNfcFServicesCache.setNfcid2ForService( in testNfcFCardEmulationSetNfcid2ForService_serviceDoesNotExists()
1996 .setNfcid2ForService(USER_ID, WALLET_PAYMENT_SERVICE, nfcid2)); in testNfcFCardEmulationSetNfcid2ForService_serviceDoesNotExists()
/packages/modules/Nfc/framework/java/android/nfc/
DINfcFCardEmulation.aidl31 boolean setNfcid2ForService(int userHandle, in ComponentName service, String nfcid2); in setNfcid2ForService() method
/packages/modules/Nfc/tests/cts/tests/src/android/nfc/cts/
DNfcFCardEmulationTest.java74 assertTrue(instance.setNfcid2ForService(mService, testNfcid2)); in testSetAndGetNfcid2ForService()
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/
DRegisteredNfcFServicesCacheTest.java266 boolean isSet = mNfcFServicesCache.setNfcid2ForService(1, 0, cName, nfcId2); in testSetNfcid2ForService()
/packages/modules/Nfc/NfcNci/src/com/android/nfc/cardemulation/
DCardEmulationManager.java1532 public boolean setNfcid2ForService(int userId, in setNfcid2ForService() method in CardEmulationManager.NfcFCardEmulationInterface
1539 return mNfcFServicesCache.setNfcid2ForService( in setNfcid2ForService()
DRegisteredNfcFServicesCache.java675 public boolean setNfcid2ForService(int userId, int uid, in setNfcid2ForService() method in RegisteredNfcFServicesCache
/packages/modules/Nfc/apex/hiddenapi/
Dhiddenapi-max-target-o.txt314 Landroid/nfc/INfcFCardEmulation$Stub$Proxy;->setNfcid2ForService(ILandroid/content/ComponentName;Lj…
335 Landroid/nfc/INfcFCardEmulation;->setNfcid2ForService(ILandroid/content/ComponentName;Ljava/lang/St…
/packages/modules/Nfc/framework/api/
Dcurrent.txt292 …method public boolean setNfcid2ForService(android.content.ComponentName, String) throws java.lang.…