Home
last modified time | relevance | path

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

/packages/modules/Nfc/framework/java/android/nfc/cardemulation/
DNfcFCardEmulation.java108 public String getSystemCodeForService(ComponentName service) throws RuntimeException { in getSystemCodeForService() method in NfcFCardEmulation
113 return sService.getSystemCodeForService(mContext.getUser().getIdentifier(), service); in getSystemCodeForService()
122 return sService.getSystemCodeForService(mContext.getUser().getIdentifier(), in getSystemCodeForService()
/packages/modules/Nfc/tests/cts/tests/src/android/nfc/cts/
DNfcFCardEmulationTest.java60 assertEquals(instance.getSystemCodeForService(mService), code); in testRegisterAndUnregisterSystemCodeForService()
64 assertNotEquals(instance.getSystemCodeForService(mService), code); in testRegisterAndUnregisterSystemCodeForService()
/packages/modules/Nfc/framework/tests/src/android/nfc/cardemulation/
DNfcFCardEmulationTest.java145 mNfcFCardEmulation.getSystemCodeForService(null); in testGetSystemCodeForServiceWithNullService()
151 when(mService.getSystemCodeForService(anyInt(), eq(mComponentName))) in testGetSystemCodeForServiceRecoveryRemoteException()
156 when(recoveredService.getSystemCodeForService(anyInt(), eq(mComponentName))) in testGetSystemCodeForServiceRecoveryRemoteException()
159 mNfcFCardEmulation.getSystemCodeForService(mComponentName); in testGetSystemCodeForServiceRecoveryRemoteException()
169 when(mService.getSystemCodeForService(1, mComponentName)) in testGetSystemCodeForServiceWithRecoveryFail()
173 mNfcFCardEmulation.getSystemCodeForService(mComponentName); in testGetSystemCodeForServiceWithRecoveryFail()
/packages/modules/Nfc/framework/java/android/nfc/
DINfcFCardEmulation.aidl27 String getSystemCodeForService(int userHandle, in ComponentName service); in getSystemCodeForService() method
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCacheTest.java511 String result = cache.getSystemCodeForService(USER_ID, SERVICE_UID, WALLET_COMPONENT); in testGetSystemCodeForServiceWithNullService_ReturnsNull()
521 String result = cache.getSystemCodeForService(USER_ID, SERVICE_UID, WALLET_COMPONENT); in testGetSystemCodeForServiceWithMismatchedUid_ReturnsNull()
531 String result = cache.getSystemCodeForService(USER_ID, SERVICE_UID, WALLET_COMPONENT); in testGetSystemCodeForService_ReturnsSystemCode()
DCardEmulationManagerTest.java1730 when(mRegisteredNfcFServicesCache.getSystemCodeForService(anyInt(), anyInt(), any())) in testNfcFCardEmulationGetSystemCodeForService_serviceExists()
1737 .getSystemCodeForService(USER_ID, WALLET_PAYMENT_SERVICE)); in testNfcFCardEmulationGetSystemCodeForService_serviceExists()
1751 .getSystemCodeForService(eq(USER_ID), anyInt(), eq(WALLET_PAYMENT_SERVICE)); in testNfcFCardEmulationGetSystemCodeForService_serviceExists()
1760 when(mRegisteredNfcFServicesCache.getSystemCodeForService(anyInt(), anyInt(), any())) in testNfcFCardEmulationGetSystemCodeForService_serviceDoesNotExists()
1766 .getSystemCodeForService(USER_ID, WALLET_PAYMENT_SERVICE)); in testNfcFCardEmulationGetSystemCodeForService_serviceDoesNotExists()
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/
DRegisteredNfcFServicesCacheTest.java308 String systemCode = mNfcFServicesCache.getSystemCodeForService(1, 0, cName); in testGetSystemCodeForService()
/packages/modules/Nfc/NfcNci/src/com/android/nfc/cardemulation/
DCardEmulationManager.java1483 public String getSystemCodeForService(int userId, ComponentName service) in getSystemCodeForService() method in CardEmulationManager.NfcFCardEmulationInterface
1490 return mNfcFServicesCache.getSystemCodeForService( in getSystemCodeForService()
DRegisteredNfcFServicesCache.java655 public String getSystemCodeForService(int userId, int uid, ComponentName componentName) { in getSystemCodeForService() method in RegisteredNfcFServicesCache
/packages/modules/Nfc/apex/hiddenapi/
Dhiddenapi-max-target-o.txt310 Landroid/nfc/INfcFCardEmulation$Stub$Proxy;->getSystemCodeForService(ILandroid/content/ComponentNam…
332 Landroid/nfc/INfcFCardEmulation;->getSystemCodeForService(ILandroid/content/ComponentName;)Ljava/la…
/packages/modules/Nfc/framework/api/
Dcurrent.txt290 …method public String getSystemCodeForService(android.content.ComponentName) throws java.lang.Runti…