Searched refs:accountManager (Results 1 – 6 of 6) 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 …]
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()
306 public final AccountManager accountManager; field in DpmMockContext408 accountManager = mock(AccountManager.class); in DpmMockContext()472 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()600 return accountManager; in getSystemService()
254 AccountManager accountManager = AccountManager.get(mContext); in satisfiesRequiredAccount() local255 Account[] accounts = accountManager.getAccountsByType(requiredAccountType); in satisfiesRequiredAccount()
256 AccountManager accountManager) throws SipException { in handleChallenge() argument259 accountManager, mHeaderFactory); in handleChallenge()