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.java62 public AccountManager accountManager; field in BugreportProgressServiceTest.MyContext
74 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 …]
/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.java96 IAccountManager accountManager = IAccountManager.Stub.asInterface( in Account() local
98 accountManager.onAccountAccessed(accessId); in Account()
DChooseTypeAndAccountActivity.java527 …rivate LinkedHashMap<Account, Integer> getAcceptableAccountChoices(AccountManager accountManager) { in getAcceptableAccountChoices() argument
529 accountManager.getAccountsAndVisibilityForPackage(mCallingPackage, null); in getAcceptableAccountChoices()
530 Account[] allAccounts = accountManager.getAccounts(); in getAcceptableAccountChoices()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java104 public final AccountManager accountManager; field in MockSystemServices
141 accountManager = mock(AccountManager.class); in MockSystemServices()
235 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
DDpmMockContext.java204 return mMockSystemServices.accountManager; in getSystemService()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionParser.java264 AccountManager accountManager = mContext.getSystemService(AccountManager.class); in satisfiesRequiredAccount() local
265 Account[] accounts = accountManager.getAccountsByType(requiredAccountType); in satisfiesRequiredAccount()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipHelper.java256 AccountManager accountManager) throws SipException { in handleChallenge() argument
259 accountManager, mHeaderFactory); in handleChallenge()