Home
last modified time | relevance | path

Searched refs:defaultService (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredAidCache.java131 ApduServiceInfo defaultService = null; field in RegisteredAidCache.AidResolveInfo
139 ", defaultService=" + defaultService + in toString()
228 if (entryResolveInfo.defaultService != null) { in resolveAid()
229 if (resolveInfo.defaultService != null) { in resolveAid()
234 resolveInfo.defaultService = entryResolveInfo.defaultService; in resolveAid()
266 if (resolveInfo.defaultService != null) { in isDefaultServiceForAid()
267 return service.equals(resolveInfo.defaultService.getComponent()); in isDefaultServiceForAid()
341 resolveInfo.defaultService = resolveInfo.services.get(0); in nonDefaultRouting()
421 resolveInfo.defaultService = matchedForeground; in resolveAidConflictLocked()
437 resolveInfo.defaultService = defaultWalletServices.get(0); in resolveAidConflictLocked()
[all …]
DCardEmulationManager.java597 ComponentName defaultService = in isDefaultServiceForCategory() local
599 return (defaultService != null && defaultService.equals(service)); in isDefaultServiceForCategory()
DHostEmulationManager.java683 if (resolveInfo.defaultService != null) { in onHostEmulationData()
686 ApduServiceInfo defaultServiceInfo = resolveInfo.defaultService; in onHostEmulationData()
701 launchTapAgain(resolveInfo.defaultService, resolveInfo.category); in onHostEmulationData()
DPreferredServices.java389 paymentServiceInfo.equals(resolveInfo.defaultService)) { in isForegroundAllowedLocked()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredAidCacheTest.java213 Assert.assertEquals(resolveInfo.defaultService.getComponent(), FOREGROUND_SERVICE); in testAidConflictResolution_walletRoleEnabledNfcDisabled_foregroundWins()
266 Assert.assertEquals(paymentResolveInfo.defaultService.getComponent(), in testAidConflictResolution_walletRoleEnabledNfcEnabled_walletWins()
270 Assert.assertEquals(nonPaymentResolveInfo.defaultService.getComponent(), in testAidConflictResolution_walletRoleEnabledNfcEnabled_walletWins()
332 Assert.assertEquals(paymentResolveInfo.defaultService.getComponent(), in testAidConflictResolution_walletRoleEnabledNfcEnabledPreFixAid_walletWins()
336 Assert.assertEquals(nonPaymentResolveInfo.defaultService.getComponent(), in testAidConflictResolution_walletRoleEnabledNfcEnabledPreFixAid_walletWins()
383 Assert.assertEquals(resolveInfo.defaultService.getComponent(), WALLET_PAYMENT_SERVICE); in testAidConflictResolution_walletRoleEnabled_twoServicesOnWallet_firstServiceWins()
DNfcCardEmulationOccurredTest.java121 aidResolveInfo.defaultService = apduServiceInfo; in setUp()
DPreferredServicesTest.java385 mResolveInfo.defaultService = mServiceInfoNonPayment; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_CommitsChange()
409 mResolveInfo.defaultService = null; in testOnServicesUpdatedWithNonNullForegroundAndNonPaymentServiceInfo_NoChange()
DHostEmulationManagerTest.java559 aidResolveInfo.defaultService = apduServiceInfo; in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresUnlock()
589 aidResolveInfo.defaultService = apduServiceInfo; in testOnHostEmulationData_stateW4Select_defaultServiceExists_secureNfcEnabled()
621 aidResolveInfo.defaultService = apduServiceInfo; in testOnHostEmulationData_stateW4Select_defaultServiceExists_requiresScreenOn()
652 aidResolveInfo.defaultService = apduServiceInfo; in testOnHostEmulationData_stateW4Select_defaultServiceExists_notOnHost()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppLauncherUtils.java189 String defaultService = mediaServices.get(0).serviceInfo.name; in getMediaSource() local
190 if (!TextUtils.isEmpty(defaultService)) { in getMediaSource()
191 return new ComponentName(packageName, defaultService); in getMediaSource()