Searched refs:accountManager (Results 1 – 8 of 8) 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()
117 IAccountManager accountManager = IAccountManager.Stub.asInterface( in onAccountAccessed() local119 accountManager.onAccountAccessed(accessId); in onAccountAccessed()
523 …rivate LinkedHashMap<Account, Integer> getAcceptableAccountChoices(AccountManager accountManager) { in getAcceptableAccountChoices() argument525 accountManager.getAccountsAndVisibilityForPackage(mCallingPackage, null); in getAcceptableAccountChoices()526 Account[] allAccounts = accountManager.getAccounts(); in getAcceptableAccountChoices()
133 public final AccountManager accountManager; field in MockSystemServices191 accountManager = mock(AccountManager.class); in MockSystemServices()331 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
235 return mMockSystemServices.accountManager; in getSystemService()
256 AccountManager accountManager) throws SipException { in handleChallenge() argument259 accountManager, mHeaderFactory); in handleChallenge()
21839 final AccountManager accountManager = mContext.getSystemService(AccountManager.class);21840 final boolean copySucceeded = accountManager.copyAccountToUser(21878 final AccountManager accountManager = mContext.createContextAsUser(21882 final Bundle result = accountManager.removeAccount(account,