/packages/modules/Nfc/framework/tests/src/android/nfc/cardemulation/ |
D | NfcFCardEmulationTest.java | 466 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/ |
D | NfcFCardEmulation.java | 264 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/ |
D | RegisteredNfcFServicesCacheTest.java | 564 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()
|
D | CardEmulationManagerTest.java | 1959 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/ |
D | INfcFCardEmulation.aidl | 31 boolean setNfcid2ForService(int userHandle, in ComponentName service, String nfcid2); in setNfcid2ForService() method
|
/packages/modules/Nfc/tests/cts/tests/src/android/nfc/cts/ |
D | NfcFCardEmulationTest.java | 74 assertTrue(instance.setNfcid2ForService(mService, testNfcid2)); in testSetAndGetNfcid2ForService()
|
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/ |
D | RegisteredNfcFServicesCacheTest.java | 266 boolean isSet = mNfcFServicesCache.setNfcid2ForService(1, 0, cName, nfcId2); in testSetNfcid2ForService()
|
/packages/modules/Nfc/NfcNci/src/com/android/nfc/cardemulation/ |
D | CardEmulationManager.java | 1532 public boolean setNfcid2ForService(int userId, in setNfcid2ForService() method in CardEmulationManager.NfcFCardEmulationInterface 1539 return mNfcFServicesCache.setNfcid2ForService( in setNfcid2ForService()
|
D | RegisteredNfcFServicesCache.java | 675 public boolean setNfcid2ForService(int userId, int uid, in setNfcid2ForService() method in RegisteredNfcFServicesCache
|
/packages/modules/Nfc/apex/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 314 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/ |
D | current.txt | 292 …method public boolean setNfcid2ForService(android.content.ComponentName, String) throws java.lang.…
|