Searched refs:getAccountsAsUser (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 36 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() method
|
D | AccountManager.java | 452 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/ |
D | AccountManagerService.java | 516 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/ |
D | DevicePolicyManagerService.java | 4650 AccountManager.get(mContext).getAccountsAsUser(userHandle).length > 0) { in enforceCanSetProfileOwner()
|