Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl36 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() method
DAccountManager.java452 public Account[] getAccountsAsUser(int userId) { in getAccountsAsUser() method in AccountManager
454 return mService.getAccountsAsUser(null, userId, mContext.getOpPackageName()); in getAccountsAsUser()
526 return mService.getAccountsAsUser(type, userHandle.getIdentifier(), in getAccountsByTypeAsUser()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java516 Account[] accounts = getAccountsAsUser(null, userId, mContext.getOpPackageName()); in onUserStarted()
2580 public Account[] getAccountsAsUser(String type, int userId, String opPackageName) { in getAccountsAsUser() method in AccountManagerService
2581 return getAccountsAsUser(type, userId, null, -1, opPackageName); in getAccountsAsUser()
2584 private Account[] getAccountsAsUser( in getAccountsAsUser() method in AccountManagerService
2754 return getAccountsAsUser(type, UserHandle.getCallingUserId(), opPackageName); in getAccounts()
2764 return getAccountsAsUser(null, UserHandle.getCallingUserId(), packageName, uid, in getAccountsForPackage()
2779 return getAccountsAsUser(type, UserHandle.getCallingUserId(), packageName, in getAccountsByTypeForPackage()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4650 AccountManager.get(mContext).getAccountsAsUser(userHandle).length > 0) { in enforceCanSetProfileOwner()