Searched refs:userIdCaptor (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | RegisteredNfcFServicesCacheTest.java | 142 private ArgumentCaptor<Integer> userIdCaptor; field in RegisteredNfcFServicesCacheTest 241 verify(mCallback).onNfcFServicesUpdated(userIdCaptor.capture(), servicesCaptor.capture()); in testBroadcastReceiverOnReceive_CommitsCache() 242 Assert.assertEquals(userIdCaptor.getValue(), Integer.valueOf(USER_ID)); in testBroadcastReceiverOnReceive_CommitsCache() 321 verify(mCallback).onNfcFServicesUpdated(userIdCaptor.capture(), servicesCaptor.capture()); in testInvalidateCacheWithValidServicesCase1_CommitsCache() 322 Assert.assertEquals(userIdCaptor.getValue(), Integer.valueOf(USER_ID)); in testInvalidateCacheWithValidServicesCase1_CommitsCache() 349 verify(mCallback).onNfcFServicesUpdated(userIdCaptor.capture(), servicesCaptor.capture()); in testInvalidateCacheWithValidServicesCase2_CommitsCache() 350 Assert.assertEquals(userIdCaptor.getValue(), Integer.valueOf(USER_ID)); in testInvalidateCacheWithValidServicesCase2_CommitsCache() 378 verify(mCallback).onNfcFServicesUpdated(userIdCaptor.capture(), servicesCaptor.capture()); in testInvalidateCacheWithValidServicesCase3_CommitsCache() 379 Assert.assertEquals(userIdCaptor.getValue(), Integer.valueOf(USER_ID)); in testInvalidateCacheWithValidServicesCase3_CommitsCache() 407 verify(mCallback).onNfcFServicesUpdated(userIdCaptor.capture(), servicesCaptor.capture()); in testInvalidateCacheWithValidServicesCase4_CommitsCache() [all …]
|
D | PreferredServicesTest.java | 102 private ArgumentCaptor<Integer> userIdCaptor; field in PreferredServicesTest 221 .onPreferredPaymentServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testOnWalletRoleHolderChangedWithNullPackageName() 222 List<Integer> userIds = userIdCaptor.getAllValues(); in testOnWalletRoleHolderChangedWithNullPackageName() 240 .onPreferredPaymentServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testOnWalletRoleHolderChangedWithExistingPackageNameAndExistingServiceInfos() 241 List<Integer> userIds = userIdCaptor.getAllValues(); in testOnWalletRoleHolderChangedWithExistingPackageNameAndExistingServiceInfos() 288 .onPreferredForegroundServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testSetDefaultForNextTapWithNonNullService_NotifyChange() 289 assertThat(userIdCaptor.getValue()).isEqualTo(USER_ID); in testSetDefaultForNextTapWithNonNullService_NotifyChange() 340 .onPreferredForegroundServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testSetDefaultForNextTapWithNullService_NotifyChange() 341 assertThat(userIdCaptor.getValue()).isEqualTo(FOREGROUND_UID); in testSetDefaultForNextTapWithNullService_NotifyChange() 546 .onPreferredPaymentServiceChanged(userIdCaptor.capture(), candidateCaptor.capture()); in testOnUserSwitchedWithChange() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | InCallControllerTests.java | 1957 ArgumentCaptor<Integer> userIdCaptor = ArgumentCaptor.forClass(Integer.class); in testProfileCallQueriesIcsUsingParentUserToo() local 1961 queryIntentCaptor.capture(), flagCaptor.capture(), userIdCaptor.capture()); in testProfileCallQueriesIcsUsingParentUserToo() 1962 List<Integer> userIds = userIdCaptor.getAllValues(); in testProfileCallQueriesIcsUsingParentUserToo()
|