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