Searched refs:getAccountsAsUser (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportProgressServiceTest.java | 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() 206 when(mTestContext.accountManager.getAccountsAsUser(eq(UserHandle.USER_SYSTEM))).thenReturn( in findSendToAccount_withWorkProfile_noAccounts() 217 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 | 204 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); in onAccountsUpdated() 224 .getAccountsAsUser(mUserHandle.getIdentifier()); in onReceive()
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 40 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() method
|
D | AccountManager.java | 594 public Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() method in AccountManager 596 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/ |
D | MockSystemServices.java | 235 when(accountManager.getAccountsAsUser(anyInt())).thenReturn(new Account[0]); in addUser()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 395 accounts = getAccountsAsUser(null, userId, "android"); in AccountManagerService() 424 Account[] accounts = getAccountsAsUser(null, UserHandle.getUserId(uid), "android"); in cancelAccountAccessRequestNotificationIfNeeded() 432 Account[] accounts = getAccountsAsUser(null, UserHandle.getUserId(uid), "android"); in cancelAccountAccessRequestNotificationIfNeeded() 1429 Account[] accounts = getAccountsAsUser(null, userId, mContext.getOpPackageName()); in syncSharedAccounts() 4264 public Account[] getAccountsAsUser(String type, int userId, String opPackageName) { 4360 Account[] accounts = getAccountsAsUser(null, parentUserId, opPackageName); 4430 return getAccountsAsUser(type, UserHandle.getCallingUserId(), opPackageName);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 1224 accounts = am.getAccountsAsUser(user.getIdentifier()); in findSendToAccount()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 398 accountsForUser = mAccountManager.getAccountsAsUser(userId); in isAccountValid()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 12194 final Account accounts[] = am.getAccountsAsUser(userId); in hasIncompatibleAccountsOrNonAdbNoLock()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 12413 HSPLandroid/accounts/AccountManager;->getAccountsAsUser(I)[Landroid/accounts/Account; 12452 HSPLandroid/accounts/IAccountManager$Stub$Proxy;->getAccountsAsUser(Ljava/lang/String;ILjava/lang/S… 12483 HSPLandroid/accounts/IAccountManager;->getAccountsAsUser(Ljava/lang/String;ILjava/lang/String;)[Lan…
|