Home
last modified time | relevance | path

Searched refs:getAccountsAsUser (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java118 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()
205 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_withWorkProfile_noAccounts()
216 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_withWorkProfile_noAccounts()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
DAuthenticatorHelper.java204 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); in onAccountsUpdated()
224 .getAccountsAsUser(mUserHandle.getIdentifier()); in onReceive()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java131 Account[] accounts = mAccountManager.getAccountsAsUser(userId); in serializeAccountSyncSettingsToJSON()
366 Account[] accounts = mAccountManager.getAccountsAsUser(userId); in getAccounts()
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl40 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() method
DAccountManager.java593 public Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() method in AccountManager
595 return mService.getAccountsAsUser(null, userId, mContext.getOpPackageName()); in getAccountsAsUser()
690 return mService.getAccountsAsUser(type, userHandle.getIdentifier(), in getAccountsByTypeAsUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java241 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java392 accounts = getAccountsAsUser(null, userId, "android"); in AccountManagerService()
421 Account[] accounts = getAccountsAsUser(null, UserHandle.getUserId(uid), "android"); in cancelAccountAccessRequestNotificationIfNeeded()
429 Account[] accounts = getAccountsAsUser(null, UserHandle.getUserId(uid), "android"); in cancelAccountAccessRequestNotificationIfNeeded()
1426 Account[] accounts = getAccountsAsUser(null, userId, mContext.getOpPackageName()); in syncSharedAccounts()
4263 public Account[] getAccountsAsUser(String type, int userId, String opPackageName) {
4359 Account[] accounts = getAccountsAsUser(null, parentUserId, opPackageName);
4429 return getAccountsAsUser(type, UserHandle.getCallingUserId(), opPackageName);
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1244 accounts = am.getAccountsAsUser(user.getIdentifier()); in findSendToAccount()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java408 accountsForUser = mAccountManager.getAccountsAsUser(userId); in isAccountValid()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java13146 final Account accounts[] = am.getAccountsAsUser(userId); in hasIncompatibleAccountsOrNonAdbNoLock()
/frameworks/base/config/
Dboot-image-profile.txt75 HSPLandroid/accounts/AccountManager;->getAccountsAsUser(I)[Landroid/accounts/Account;
101 HSPLandroid/accounts/IAccountManager$Stub$Proxy;->getAccountsAsUser(Ljava/lang/String;ILjava/lang/S…
Dhiddenapi-greylist-max-o.txt405 Landroid/accounts/AccountManager;->getAccountsAsUser(I)[Landroid/accounts/Account;
620 Landroid/accounts/IAccountManager$Stub$Proxy;->getAccountsAsUser(Ljava/lang/String;ILjava/lang/Stri…
727 Landroid/accounts/IAccountManager;->getAccountsAsUser(Ljava/lang/String;ILjava/lang/String;)[Landro…
/frameworks/base/services/
Dart-profile2301 HSPLcom/android/server/accounts/AccountManagerService;->getAccountsAsUser(Ljava/lang/String;ILjava/…