Home
last modified time | relevance | path

Searched refs:onPreferredForegroundServiceChanged (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DRegisteredAidCacheTest.java94 mRegisteredAidCache.onPreferredForegroundServiceChanged(0, componentName); in testOnPreferredForegroundServiceChanged()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DPreferredServicesTest.java288 .onPreferredForegroundServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testSetDefaultForNextTapWithNonNullService_NotifyChange()
307 verify(mCallback, never()).onPreferredForegroundServiceChanged(anyInt(), any()); in testSetDefaultForNextTapWithNullService_NoChange()
322 verify(mCallback, never()).onPreferredForegroundServiceChanged(anyInt(), any()); in testSetDefaultForNextTapWithNonNullService_NoChange()
340 .onPreferredForegroundServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testSetDefaultForNextTapWithNullService_NotifyChange()
DCardEmulationManagerTest.java1895 mCardEmulationManager.onPreferredForegroundServiceChanged(USER_ID, WALLET_PAYMENT_SERVICE); in testOnPreferredForegroundServiceChanged_observeModeEnabled()
1899 verify(mHostEmulationManager).onPreferredForegroundServiceChanged(eq(USER_ID), in testOnPreferredForegroundServiceChanged_observeModeEnabled()
1901 verify(mRegisteredAidCache).onPreferredForegroundServiceChanged(eq(USER_ID), in testOnPreferredForegroundServiceChanged_observeModeEnabled()
1915 mCardEmulationManager.onPreferredForegroundServiceChanged(USER_ID, WALLET_PAYMENT_SERVICE); in testOnPreferredForegroundServiceChanged_observeModeDisabled()
1917 verify(mHostEmulationManager).onPreferredForegroundServiceChanged(eq(USER_ID), in testOnPreferredForegroundServiceChanged_observeModeDisabled()
1921 verify(mRegisteredAidCache).onPreferredForegroundServiceChanged(eq(USER_ID), in testOnPreferredForegroundServiceChanged_observeModeDisabled()
1950 mCardEmulationManager.onPreferredForegroundServiceChanged(USER_ID, null); in testOnPreferredForegroundServiceChanged_toNull_dontUpdateObserveMode()
DRegisteredAidCacheTest.java207 mRegisteredAidCache.onPreferredForegroundServiceChanged(USER_ID, FOREGROUND_SERVICE); in testAidConflictResolution_walletRoleEnabledNfcDisabled_foregroundWins()
545 mRegisteredAidCache.onPreferredForegroundServiceChanged(USER_ID, FOREGROUND_SERVICE); in testPollingLoopFilterToForeground_walletRoleEnabled_walletSet()
DNfcCardEmulationOccurredTest.java299 mHostEmulation.onPreferredForegroundServiceChanged(userId, componentName); in testOnPreferredForegroundServiceChanged()
DHostEmulationManagerTest.java370 mHostEmulationManager.onPreferredForegroundServiceChanged(USER_ID, WALLET_PAYMENT_SERVICE); in testOnPreferredForegroundServiceChanged_noPreviouslyBoundService()
390 mHostEmulationManager.onPreferredForegroundServiceChanged(USER_ID, null); in testOnPreferredForegroundServiceChanged_nullService()
404 mHostEmulationManager.onPreferredForegroundServiceChanged(USER_ID, WALLET_PAYMENT_SERVICE); in testOnPreferredForegroundServiceChanged_nullService_previouslyBoundService()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DPreferredServices.java115 void onPreferredForegroundServiceChanged(int userId, ComponentName service); in onPreferredForegroundServiceChanged() method
305 mCallback.onPreferredForegroundServiceChanged(preferredServiceUserId, preferredService); in computePreferredForegroundService()
DCardEmulationManager.java1065 public void onPreferredForegroundServiceChanged(int userId, ComponentName service) { in onPreferredForegroundServiceChanged() method in CardEmulationManager
1068 mAidCache.onPreferredForegroundServiceChanged(userId, service); in onPreferredForegroundServiceChanged()
1069 mHostEmulationManager.onPreferredForegroundServiceChanged(userId, service); in onPreferredForegroundServiceChanged()
DHostEmulationManager.java562 public void onPreferredForegroundServiceChanged(int userId, ComponentName service) { in onPreferredForegroundServiceChanged() method in HostEmulationManager
DRegisteredAidCache.java1188 public void onPreferredForegroundServiceChanged(int userId, ComponentName service) { in onPreferredForegroundServiceChanged() method in RegisteredAidCache