Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java117 @Captor private ArgumentCaptor<Intent> mIntentCaptor; field in AccountManagerServiceTest
447 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.SYSTEM)); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
450 Intent intent = mIntentCaptor.getValue(); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
502 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.SYSTEM)); in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM()
505 Intent intent = mIntentCaptor.getValue(); in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM()
929 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.of(2))); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
932 Intent intent = mIntentCaptor.getValue(); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
1015 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.of(2))); in testFinishSessionAsUserUserCannotModifyAccountForTypeNoDPM()
1018 Intent intent = mIntentCaptor.getValue(); in testFinishSessionAsUserUserCannotModifyAccountForTypeNoDPM()
1833 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.SYSTEM)); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
[all …]