Home
last modified time | relevance | path

Searched refs:accountManager (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java61 public AccountManager accountManager; field in BugreportProgressServiceTest.MyContext
73 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 …]
/frameworks/base/apct-tests/perftests/core/src/android/accounts/
DAccountManagerPerfTest.java50 AccountManager accountManager = AccountManager.get(context); in testGetAccounts() local
52 accountManager.getAccounts(); in testGetAccounts()
/frameworks/base/core/java/android/accounts/
DAccount.java107 IAccountManager accountManager = IAccountManager.Stub.asInterface( in Account() local
109 accountManager.onAccountAccessed(accessId); in Account()
DChooseTypeAndAccountActivity.java528 …rivate LinkedHashMap<Account, Integer> getAcceptableAccountChoices(AccountManager accountManager) { in getAcceptableAccountChoices() argument
530 accountManager.getAccountsAndVisibilityForPackage(mCallingPackage, null); in getAcceptableAccountChoices()
531 Account[] allAccounts = accountManager.getAccounts(); in getAcceptableAccountChoices()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java108 public final AccountManager accountManager; field in MockSystemServices
147 accountManager = mock(AccountManager.class); in MockSystemServices()
241 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
DDpmMockContext.java217 return mMockSystemServices.accountManager; in getSystemService()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipHelper.java256 AccountManager accountManager) throws SipException { in handleChallenge() argument
259 accountManager, mHeaderFactory); in handleChallenge()