Searched refs:mIntentCaptor (Results 1 – 1 of 1) sorted by relevance
117 @Captor private ArgumentCaptor<Intent> mIntentCaptor; field in AccountManagerServiceTest447 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 …]