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()
108 IAccountManager accountManager = IAccountManager.Stub.asInterface( in Account() local110 accountManager.onAccountAccessed(accessId); in Account()
523 …rivate LinkedHashMap<Account, Integer> getAcceptableAccountChoices(AccountManager accountManager) { in getAcceptableAccountChoices() argument525 accountManager.getAccountsAndVisibilityForPackage(mCallingPackage, null); in getAcceptableAccountChoices()526 Account[] allAccounts = accountManager.getAccounts(); in getAcceptableAccountChoices()
125 public final AccountManager accountManager; field in MockSystemServices177 accountManager = mock(AccountManager.class); in MockSystemServices()305 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
225 return mMockSystemServices.accountManager; in getSystemService()
256 AccountManager accountManager) throws SipException { in handleChallenge() argument259 accountManager, mHeaderFactory); in handleChallenge()
18023 final AccountManager accountManager = mContext.getSystemService(AccountManager.class);18024 final boolean copySucceeded = accountManager.copyAccountToUser(18059 final AccountManager accountManager =18061 final AccountManagerFuture<Bundle> bundle = accountManager.removeAccount(account,