Searched refs:mMockAccountManager (Results 1 – 5 of 5) sorted by relevance
90 private AccountManager mMockAccountManager; field in ChooseAccountPreferenceControllerTest146 when(mMockAccountManager.getAuthenticatorTypesAsUser(anyInt())).thenReturn( in onAccountsUpdate_currentUserUpdated_shouldForceUpdate()152 when(mMockAccountManager.getAccountsAsUser(anyInt())).thenReturn(mAccounts); in onAccountsUpdate_currentUserUpdated_shouldForceUpdate()215 when(AccountManager.get(mContext)).thenReturn(mMockAccountManager); in initMocks()226 when(mMockAccountManager.getAuthenticatorTypesAsUser(anyInt())).thenReturn( in initMocks()228 when(mMockAccountManager.getAccountsAsUser(anyInt())).thenReturn(mAccounts); in initMocks()
62 private AccountManager mMockAccountManager; field in AccountDetailsFragmentTest76 when(AccountManager.get(any())).thenReturn(mMockAccountManager); in setUp()134 when(mMockAccountManager.getAccountsByTypeAsUser(anyString(), any())).thenReturn(accounts); in addAccounts()
90 private AccountManager mMockAccountManager; field in AccountListPreferenceControllerTest291 when(AccountManager.get(mContext)).thenReturn(mMockAccountManager); in initMocks()292 when(mMockAccountManager.getAccountsByTypeAsUser(any(), any())).then(invocation -> { in initMocks()
81 private AccountManager mMockAccountManager; field in FactoryResetAccountsPreferenceControllerTest101 when(AccountManager.get(mContext)).thenReturn(mMockAccountManager); in setUp()257 when(mMockAccountManager.getAuthenticatorTypesAsUser(anyInt())).then( in updateAccountManagerMocks()266 when(mMockAccountManager.getAccountsAsUser(anyInt())).then( in updateAccountManagerMocks()
126 private AccountManager mMockAccountManager; field in ContactsActor328 return mMockAccountManager; in ContactsActor()378 return mMockAccountManager; in ContactsActor()424 mMockAccountManager = new MockAccountManager(mProviderContext); in ContactsActor()