Home
last modified time | relevance | path

Searched refs:accountToRename (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl79 …void renameAccount(in IAccountManagerResponse response, in Account accountToRename, String newName… in renameAccount() argument
81 boolean renameSharedAccountAsUser(in Account accountToRename, String newName, int userId); in renameSharedAccountAsUser() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java938 IAccountManagerResponse response, Account accountToRename, String newName) { in renameAccount() argument
940 Log.v(TAG, "renameAccount: " + accountToRename + " -> " + newName in renameAccount()
944 if (accountToRename == null) throw new IllegalArgumentException("account is null"); in renameAccount()
945 checkAuthenticateAccountsPermission(accountToRename); in renameAccount()
949 Account resultingAccount = renameAccountInternal(accounts, accountToRename, newName); in renameAccount()
964 UserAccounts accounts, Account accountToRename, String newName) { in renameAccountInternal() argument
976 getSigninRequiredNotificationId(accounts, accountToRename), in renameAccountInternal()
981 if (accountToRename.equals(pair.first.first)) { in renameAccountInternal()
991 Account renamedAccount = new Account(newName, accountToRename.type); in renameAccountInternal()
995 values.put(ACCOUNTS_PREVIOUS_NAME, accountToRename.name); in renameAccountInternal()
[all …]