Searched refs:candidateCaptor (Results 1 – 1 of 1) sorted by relevance
104 private ArgumentCaptor<ComponentName> candidateCaptor; field in PreferredServicesTest221 .onPreferredPaymentServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testOnWalletRoleHolderChangedWithNullPackageName()225 List<ComponentName> candidates = candidateCaptor.getAllValues(); in testOnWalletRoleHolderChangedWithNullPackageName()240 .onPreferredPaymentServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testOnWalletRoleHolderChangedWithExistingPackageNameAndExistingServiceInfos()244 List<ComponentName> candidates = candidateCaptor.getAllValues(); in testOnWalletRoleHolderChangedWithExistingPackageNameAndExistingServiceInfos()288 .onPreferredForegroundServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testSetDefaultForNextTapWithNonNullService_NotifyChange()290 assertThat(candidateCaptor.getValue()).isEqualTo(TEST_COMPONENT); in testSetDefaultForNextTapWithNonNullService_NotifyChange()340 .onPreferredForegroundServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testSetDefaultForNextTapWithNullService_NotifyChange()342 assertThat(candidateCaptor.getValue()).isNull(); in testSetDefaultForNextTapWithNullService_NotifyChange()546 .onPreferredPaymentServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testOnUserSwitchedWithChange()[all …]