Searched refs:getAccountsAsUser (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportProgressServiceTest.java | 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() 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/ |
D | AuthenticatorHelper.java | 206 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); in onAccountsUpdated() 226 .getAccountsAsUser(mUserHandle.getIdentifier()); in onReceive()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | AccountSyncSettingsBackupHelper.java | 131 Account[] accounts = mAccountManager.getAccountsAsUser(userId); in serializeAccountSyncSettingsToJSON() 366 Account[] accounts = mAccountManager.getAccountsAsUser(userId); in getAccounts()
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 39 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() method
|
D | AccountManager.java | 589 return getAccountsAsUser(mContext.getUserId()); in getAccounts() 604 public Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() method in AccountManager 606 return mService.getAccountsAsUser(null, userId, mContext.getOpPackageName()); in getAccountsAsUser() 718 return mService.getAccountsAsUser(type, userHandle.getIdentifier(), in getAccountsByTypeAsUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 215 Account[] accounts = mAms.getAccountsAsUser(null, in testCheckAddAccount() 226 accounts = mAms.getAccountsAsUser(AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1, in testCheckAddAccount() 236 accounts = mAms.getAccountsAsUser(AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1, in testCheckAddAccount() 377 Account[] accounts = mAms.getAccountsAsUser(null, UserHandle.getCallingUserId(), in testPreNDatabaseMigration() 2985 Account[] accounts = mAms.getAccountsAsUser(null, in testConcurrencyReadWrite() 3057 Account[] accounts = mAms.getAccountsAsUser(null, in testConcurrencyRead()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 273 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 393 accounts = getAccountsAsUser(null, userId, "android"); in AccountManagerService() 422 Account[] accounts = getAccountsAsUser(null, UserHandle.getUserId(uid), "android"); in cancelAccountAccessRequestNotificationIfNeeded() 430 Account[] accounts = getAccountsAsUser(null, UserHandle.getUserId(uid), "android"); in cancelAccountAccessRequestNotificationIfNeeded() 1454 Account[] accounts = getAccountsAsUser(null, userId, mContext.getOpPackageName()); in syncSharedAccounts() 4286 public Account[] getAccountsAsUser(String type, int userId, String opPackageName) { 4382 Account[] accounts = getAccountsAsUser(null, parentUserId, opPackageName);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 1444 accounts = am.getAccountsAsUser(user.getIdentifier()); in findSendToAccount()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 413 accountsForUser = mAccountManager.getAccountsAsUser(userId); in isAccountValid()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 53 HSPLandroid/accounts/AccountManager;->getAccountsAsUser(I)[Landroid/accounts/Account; 72 HSPLandroid/accounts/IAccountManager$Stub$Proxy;->getAccountsAsUser(Ljava/lang/String;ILjava/lang/S…
|
/frameworks/base/services/ |
D | art-profile | 5183 HSPLcom/android/server/accounts/AccountManagerService;->getAccountsAsUser(Ljava/lang/String;ILjava/…
|