Searched refs:accountManager (Results 1 – 8 of 8) sorted by relevance
62 public AccountManager accountManager; field in BugreportProgressServiceTest.MyContext74 return accountManager; in getSystemService()119 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()128 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()139 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()150 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()161 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_noWorkProfile()182 when(mTestContext.accountManager.getAccountsAsUser(eq(10))).thenReturn( in findSendToAccount_withWorkProfile_noAccounts()186 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_withWorkProfile_noAccounts()195 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()
96 IAccountManager accountManager = IAccountManager.Stub.asInterface( in Account() local98 accountManager.onAccountAccessed(accessId); in Account()
527 …rivate LinkedHashMap<Account, Integer> getAcceptableAccountChoices(AccountManager accountManager) { in getAcceptableAccountChoices() argument529 accountManager.getAccountsAndVisibilityForPackage(mCallingPackage, null); in getAcceptableAccountChoices()530 Account[] allAccounts = accountManager.getAccounts(); in getAcceptableAccountChoices()
104 public final AccountManager accountManager; field in MockSystemServices141 accountManager = mock(AccountManager.class); in MockSystemServices()235 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
204 return mMockSystemServices.accountManager; in getSystemService()
264 AccountManager accountManager = mContext.getSystemService(AccountManager.class); in satisfiesRequiredAccount() local265 Account[] accounts = accountManager.getAccountsByType(requiredAccountType); in satisfiesRequiredAccount()
256 AccountManager accountManager) throws SipException { in handleChallenge() argument259 accountManager, mHeaderFactory); in handleChallenge()