Home
last modified time | relevance | path

Searched refs:accountManager (Results 1 – 8 of 8) 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.java108 IAccountManager accountManager = IAccountManager.Stub.asInterface( in Account() local
110 accountManager.onAccountAccessed(accessId); in Account()
DChooseTypeAndAccountActivity.java523 …rivate LinkedHashMap<Account, Integer> getAcceptableAccountChoices(AccountManager accountManager) { in getAcceptableAccountChoices() argument
525 accountManager.getAccountsAndVisibilityForPackage(mCallingPackage, null); in getAcceptableAccountChoices()
526 Account[] allAccounts = accountManager.getAccounts(); in getAcceptableAccountChoices()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java125 public final AccountManager accountManager; field in MockSystemServices
177 accountManager = mock(AccountManager.class); in MockSystemServices()
305 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
DDpmMockContext.java225 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()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java18023 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,