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.java118 @Captor private ArgumentCaptor<Intent> mIntentCaptor; field in AccountManagerServiceTest
444 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.SYSTEM)); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
447 Intent intent = mIntentCaptor.getValue(); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
499 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.SYSTEM)); in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM()
502 Intent intent = mIntentCaptor.getValue(); in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM()
922 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.of(2))); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
925 Intent intent = mIntentCaptor.getValue(); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
1008 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.of(2))); in testFinishSessionAsUserUserCannotModifyAccountForTypeNoDPM()
1011 Intent intent = mIntentCaptor.getValue(); in testFinishSessionAsUserUserCannotModifyAccountForTypeNoDPM()
1820 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.SYSTEM)); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
[all …]