Searched refs:accountToRename (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 82 …void renameAccount(in IAccountManagerResponse response, in Account accountToRename, String newName… in renameAccount() argument 84 boolean renameSharedAccountAsUser(in Account accountToRename, String newName, int userId); in renameSharedAccountAsUser() argument
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1078 IAccountManagerResponse response, Account accountToRename, String newName) { in renameAccount() argument 1081 Log.v(TAG, "renameAccount: " + accountToRename + " -> " + newName in renameAccount() 1085 if (accountToRename == null) throw new IllegalArgumentException("account is null"); in renameAccount() 1087 if (!isAccountManagedByCaller(accountToRename.type, callingUid, userId)) { in renameAccount() 1091 accountToRename.type); in renameAccount() 1097 Account resultingAccount = renameAccountInternal(accounts, accountToRename, newName); in renameAccount() 1112 UserAccounts accounts, Account accountToRename, String newName) { in renameAccountInternal() argument 1124 getSigninRequiredNotificationId(accounts, accountToRename), in renameAccountInternal() 1129 if (accountToRename.equals(pair.first.first)) { in renameAccountInternal() 1139 Account renamedAccount = new Account(newName, accountToRename.type); in renameAccountInternal() [all …]
|