Searched refs:accountManager (Results 1 – 7 of 7) sorted by relevance
61 public AccountManager accountManager; field in BugreportProgressServiceTest.MyContext73 return accountManager; in getSystemService()118 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()127 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()138 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()149 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()160 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()181 when(mTestContext.accountManager.getAccountsAsUser(eq(10))).thenReturn( in findSendToAccount_withWorkProfile_noAccounts()185 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_withWorkProfile_noAccounts()194 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_withWorkProfile_noAccounts()[all …]
50 AccountManager accountManager = AccountManager.get(context); in testGetAccounts() local52 accountManager.getAccounts(); in testGetAccounts()
107 IAccountManager accountManager = IAccountManager.Stub.asInterface( in Account() local109 accountManager.onAccountAccessed(accessId); in Account()
528 …rivate LinkedHashMap<Account, Integer> getAcceptableAccountChoices(AccountManager accountManager) { in getAcceptableAccountChoices() argument530 accountManager.getAccountsAndVisibilityForPackage(mCallingPackage, null); in getAcceptableAccountChoices()531 Account[] allAccounts = accountManager.getAccounts(); in getAcceptableAccountChoices()
108 public final AccountManager accountManager; field in MockSystemServices147 accountManager = mock(AccountManager.class); in MockSystemServices()241 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
217 return mMockSystemServices.accountManager; in getSystemService()
256 AccountManager accountManager) throws SipException { in handleChallenge() argument259 accountManager, mHeaderFactory); in handleChallenge()