History log of /frameworks/base/core/java/android/accounts/IAccountManager.aidl
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f29d549c2d16f377fe11261b98d77d2c9db1070c 12-May-2017 sunjian <sunjian@google.com> Fix visibility issue in AccountManager.getAuthTokenByFeatures.

Bug: 34679769
Test: manual, APCT
Change-Id: I7270a5a5dd681ad088fa28e48d849ba3541e45cd
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
8882d881f95f5719a4a9c3eb3f6555b4882e8c4d 15-Mar-2017 Dmitry Dementyev <dementyev@google.com> Implement runtime account update notifications.

Test: manual, cts.
Change-Id: Iaf9fe4814c3d3c2ca2dca0a5bfa0f997e060bfeb
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
f88ebeb2506d3daed3fe0a71f6e1f5cde34406cd 15-Feb-2017 Sudheer Shanka <sudheersai@google.com> Use correct packageName for checking if it belongs to callingUid.

In AccountManagerService.getAccountsAsUser, we check if opPackageName
belongs to calling uid by calling AppOpsManager.checkPackage. But when
AccountManagerService.getAccountsAsUser is called from
AccountManagerService.addSharedAccountsFromParentUser, we're using the
opPackageName from system context instead of calling context.

Bug: 35258008
Test: cts-tradefed run singleCommand cts-dev --module CtsMultiUserHostTestCases \
-t android.host.multiuser.CreateUsersPermissionTest#testCanCreateRestrictedUser
Change-Id: I5c425d9314beb86f7c64a5b5c64b7d879711879a
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
e366f82cef233a3378964da93f7313aa9fdeb56a 31-Jan-2017 Dmitry Dementyev <dementyev@google.com> Update Account Discovery API.

Use package name instead of uid.
Check calling package name in getAccounts methods.

Bug: 34841115, 34841115
Test: cts tests, manual tests.
Change-Id: I8a9e6aea5e2b6677be4bc414836b842239c5b6ac
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
01985ff6d249e434b900cd33718d830a948e3a86 20-Jan-2017 Dmitry Dementyev <dementyev@google.com> Implement Account Discovery API.

Inludes temporary flow for notifications filtered by accountType
Bug: 33046496
Test: cts tests, manual tests.
Change-Id: I2d767030e851579a0666efd7e243a1239af740c7
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
527454795ff8109dd294e6fcc6f0f3c818ecefa2 02-Dec-2016 Dmitry Dementyev <dementyev@google.com> Update account visibility API.

Remove no longer used functions and in-memory visibility table.
Add stubs for new methods.
Actual implementation will be added in follow up CLs.
Bug: https://b.corp.google.com/issues/33046496
Test: manual tests, cts tests.

Change-Id: I990759b20c57df70bc944e27b84e59b9f77b9bd4
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
c1c0d1cc531a63a48fe7c26113ca165120092c25 24-Sep-2016 Svet Ganov <svetoslavganov@google.com> Use tokens instead of account access trackers

We keep track which process saw and account to whitelist
the app for future access as an optimization to avoid
prompting the user for account access approval. Some apps
use SefeParcelable where the parcels are marshalled
which does not allow the parcel to contain IBinders.
To avoid this we are switching from account tracker remote
objects to unforgeable tokens.

bug:31162498

Change-Id: I19916b54afd0b47e57c517145aa6b1ff17154144
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
890a210e41d6a77a87370e6782c2ee373fa857d1 24-Aug-2016 Svet Ganov <svetoslavganov@google.com> resolve merge conflicts of eeeebd3 to master

Change-Id: I3aa0d1b9228be408837f7dd93a9b8268e564fc65
5cb2973495084f8ce3433b579e4b4962ed9d7efc 12-Jul-2016 Svetoslav Ganov <svetoslavganov@google.com> Only sync adapters with access can see an account - framework

It was possible for a sync adapter without accounts access to
see the account which it is supposed to sync which can be used to
identify the user. This change ensures that only sync adapters
with account access can run (which results in seeing the account),
otherwise we involve the user to approve access only to this account.

A sync adapter can access an account if one of these is true:
- it is signed as the authenticator for this account
- has the GET_ACCOUNTS permission
- has an auth token for the account
- it is a preinstalled app (system or privileged)

The main thing we need to figure out is if the extra prompts
for giving access to a sync adapter to the account create too
much friction.

bug:28163381

Change-Id: Ie083bb681b5a2aed81ca5f6a062193a175fad77e
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
5edff3b8b1085660dba4d7106a5b6498f41ccf22 29-Jun-2016 Tejas Khorana <khorana@google.com> Account Manager Push API

Account Push API: Designed to repurpose existing Account Discovery APIs.
Bug#30562311

Bug: https://b.corp.google.com/issues/30562311

Change-Id: If1b22dc96c5cff21550e93bd26942faa5bcdabbf
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
0b84b456a79d83527665a5ac399cba73f1a85821 21-Jan-2016 Sandra Kwan <sandrakwan@google.com> AccountManager: add finishSessionAsUser api.

Change-Id: I9a08d957a9b25be4c6cf12e4ed35cdc0bfbb8605
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
390c9d2d91117c767b27e33e906f7830b4c0a4dc 12-Jan-2016 Sandra Kwan <sandrakwan@google.com> AccountManager: add isCredentialsUpdateSuggested API.

Change-Id: I27e0db0345f3431b796a944740dab767b45f7871
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
12747879b0204b9dfee997eddc981d09289e8b77 07-Dec-2015 Amith Yamasani <yamasani@google.com> User creation with an intent

New API for an app to request creating a new user with
a given user name and seed account information for the
SetupWizard to use when that user is switched into.

Also adds system APIs to read the seed account data from
UserManager.

Bug: 22776757
Change-Id: I0bc3f11ee19c15e0ee2a908c88d98b13296cc30d
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
920f6ef983024c15fbd47f7be7fa9204559f2514 10-Nov-2015 Sandra Kwan <sandrakwan@google.com> AccountManager: add finishSession(...) API.

Adding finishSession API to AccountManager and
AbstractAccountAuthenticator.

Change-Id: I153dd2bb6fe01d2e4b10b41e8b553f59da26bd29
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
e68c37eead0b7255d307af91ca284eaee419c944 13-Nov-2015 Sandra Kwan <sandrakwan@google.com> AccountManager: add startUpdateCredentials API.

Adding startUpdateCredentials API to AccountManager and
AbstractAccountAuthenticator.

Change-Id: Id9a1ff86764f2fde01fd8482594e4ae34e1f3bd1
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
7881228736fd5f3f4ecf25d4808dc004c03b54d1 04-Nov-2015 Sandra Kwan <sandrakwan@google.com> AccountManager: add startAddAccount API.

Adding startAddAccount API to AccountManager and
AbstractAccountAuthenticator.

Change-Id: I29e1defb2181ece1281534db0e36b28457085148
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
02cb6e773b323a0d54b21f43460a23f668b7727c 19-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Added --restricted option for create-user command

Also moved restricted profile create/setup logic from Settings to
UMS.createRestrictedProfile.

Bug: 24212155
Bug: 24303609
Change-Id: I0346a3368de53f4bb4b6e054349f19adac959d7f
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
9249a9097707bb57ae0a7d114eff54bc82ad462d 26-Sep-2015 Bart Sears <bsears@google.com> Revert "Added --restricted option for create-user command"

This reverts commit 737b216b5c28f7d7162f219136d4e8a9eb1a486b.

Change-Id: I4c43967933bb2e46cdb8ad6e643d7037d722cab2
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
737b216b5c28f7d7162f219136d4e8a9eb1a486b 19-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Added --restricted option for create-user command

Also moved restricted profile create/setup logic from Settings to
UMS.createRestrictedProfile.

Bug: 24212155
Bug: 24303609
Change-Id: I5f0d48bcbd3c0b51927926b874fd057c15ac5219
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
f3f02ac931d04e6ba4393e27558cd317cb1e6b44 08-Sep-2015 Svetoslav <svetoslavganov@google.com> Add get_accounts app op

For each runtime permission we have an app op to toggle the
permission for legacy apps as they cannot handle permission
revocations. We were lacking an app op for get_accounts
which prevented the user from controlling access to accounts
regardelss that they change the state of the permission
toggle in the UI. Even worse the permission UI is written
with the assumption that every runtime permission has an
app op and as a result revoking the contacts group (if the
app requests the get_accounts permission) is reset back to
allowed in the UI.

bug:23854618

Change-Id: I12b83dfd22974d130e5b8e7a195421120813e2db
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
6c7c4ada8b0ce5f7027fd7b87dc8848b42fa5a0c 24-Feb-2015 Simranjit Singh Kohli <simranjit@google.com> [Auth:Last Credentials Timing] : Introducing API

Storing last successful sign-in/authentication timings, and providing that
information as extra's in updateCredentials and confirmCredentials.
Also, adding a new api: AccountManager#accountAuthenticated(Account).

Change-Id: Icd0dac35b13d61bc28a2e045b96caefffeb353be
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
22dc3b7ba111e27bce99a7cce966598e7873508c 31-Oct-2014 Esteban Talavera <etalavera@google.com> New AccountManager method to copy accounts between users.

Adding the copyAccountToUser method which copies an account
along with its credentials to a different user.

Also an extra in the public api to identify the account to migrate
during provisioning.

Bug: 17716971
Change-Id: I2f29f1765ba0d360a3894b13ef86253b7c7d3284
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
8778f993aeb7ec3df88aa0b244381253257bafe2 06-Nov-2014 Simranjit Singh Kohli <simranjit@google.com> [RemoveAccount API]: Adding support for intent.

Adding support for intent handling provided by authenticators.

Bug: 18292092

Change-Id: I1e94422bc28e5fd54c454ee6542ff2d30f82849f
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
f193b9a61d0b14d13bb7f8aec42a21154672e5ec 18-Jul-2014 Carlos Valdivia <carlosvaldivia@google.com> Allow authenticators to rename accounts.

Bug: 16390602

Change-Id: I4f7250726a2c7677e0ccaa6e5f995153893d8360
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
999d394adee533c55fce38bd632ffd4f1af91362 03-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Ads per-user APIs to manage accounts through the AccountManager

Bug: 16056552
Bug: 14642886
Change-Id: I17ff6c2515285e63c84cecf2f861d10666c393c5
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
c1cf161af036e0f337b58ef0739a8ff2e42f01e7 05-Jun-2014 Alexandra Gherghina <alexgherghina@google.com> Modifies APIs for retrieving managed profile accounts.

This is needed for Account Settings UI.

Bug: 13656853
Change-Id: I33129e4b7b33b428a7bf670259accacb60f62d9b
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
3b458ad9ee5f2d6b7cf28a13bc29123cdf540763 19-Apr-2013 Amith Yamasani <yamasani@google.com> Improve API and documentation

API for querying accounts visible to a specific package.

Improve API and docs for device owner.

Bug: 8657158
Change-Id: I01b8701534f64b383391508a49ae93ed21f22ae0
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
27db46850b708070452c0ce49daf5f79503fbde6 31-Mar-2013 Amith Yamasani <yamasani@google.com> Block access to accounts for limited users.

Make sure that apps that have access to restricted accounts can see them.
If they don't have access, they shouldn't be able to add a new account either.
Show an error message in the account picker if the user/app is not authorized.

Change-Id: I117c0b14d7d06c5ac4e66506df156b174567f5f3
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
67df64b3a48a8157d08a98fa90135d0ac0ee621c 14-Dec-2012 Amith Yamasani <yamasani@google.com> Shared accounts and sharing of apps

API and preliminary implementation for sharing primary user accounts with a secondary user.
AbstractAccountAuthenticator has new methods to retrieve and apply a bundle of credentials
to clone an account from the primary to a restricted secondary user. The AccountManagerService
initiates the account clone when it starts up the user and detects that the user has
a shared account registered that hasn't been converted to a real account.

AccountManager also has new hidden APIs to add/remove/get shared accounts. There might be
further improvements to this API to make shared accounts hidden/visible to select apps.

AccountManagerService has a new table to store the shared account information.

Added ability in PackageManager to install and uninstall packages for a secondary user. This
is required when the primary user selects a few apps to share with a restricted user.

Remove shared accounts from secondary users when primary user removes the account.

Change-Id: I9378ed0d8c1cc66baf150a4bec0ede56f6f8b06b
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
2c7bc26a7447e6ac9eadcf328259aa3bb1be2949 06-Nov-2012 Amith Yamasani <yamasani@google.com> Authenticate correct user's account when pattern fails multiple times.

Bug: 7473142

Provide hidden methods in AccountManager for querying accounts and
authenticating for a specific user. Lockscreen is running in the
system process. Allow only system process to access accounts across
users.

Also make sure to launch the lock settings screen on the just reset
user using startActivityAsUser()

Change-Id: Ifefc0039ba2b51396b8bd0268f36d5271a3d8676
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
d9640ec712806508877868d08aafaa2d715ff441 23-May-2012 Fred Quintana <fredq@google.com> Add an updateAppPermission() API call to the AccountManagerService AIDL
and have the GrantCredentialsPermissionActivity call that instead of a
static so that it can be made to run in a different process than the
AccountManagerService. Protect this call by checking that the caller
has the same UID as the system process.

Bug: 6545417
Change-Id: I295e65cad68883349a47e7927c171af45c89b229
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
3084a6f80180506ce26fe4773d9a19f004b7f625 15-Jan-2010 Fred Quintana <fredq@google.com> rename testHasFeatures to hasFeatures
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
bb68a4fc54231e147d91fe3668d1409ccfd81a45 14-Jan-2010 Fred Quintana <fredq@google.com> add AccountManager.testHasFeatures() to make it easy to check if a given account has a set of features
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
f7ae77cd67f1a3993b8e56c1af4720a7adf4e69d 03-Oct-2009 Fred Quintana <fredq@google.com> account manager api review changes
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
ffd0cb04f97e62d286d185c520580d81a9c328b1 16-Aug-2009 Fred Quintana <fredq@google.com> do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
9788976b1465ce982b5ae7c741345edd0ecd9322 15-Jun-2009 Fred Quintana <fredq@google.com> add icon and label to the authenticator description
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
3326920329cecb57c7ff1fc5c6add5c98aab9ed9 21-Apr-2009 Fred Quintana <fredq@google.com> adding concept of features to accounts
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
a698f4276968d078b1b9e2f3738c4f559a3307b2 09-Apr-2009 Fred Quintana <> AI 145177: phase two of the AccountManager
- added an AccountManagerActivity, a base Activity that can be
used by activities that are launched by AccountAuthenticator
intents. This makes it easy for an Activity to send a result
using an AccountAuthenticatorResponse
- added debug strings to the AccountAuthenticatorCache
- improved the API for the AccountAuthenticatorResponse and
made it Parcelable so that it can be passed to an Activity
via an Intent
- changed the AccountManager to use Futures for the
asynchronous calls and to notify the user via a callback
when the request is complete
- changed the AccountManager to convert any errors that are
returned into Exceptions
- added constants for the error codes that are passed across
the IAccountManagerResponse and
IAccountAuthenticatorResponse interfaces
- added a dump() method to the AccountManagerService so that
it can display the list of active sessions and registered
authenticators
- added an way to interrogate the AccountManagerService for
the list of registered authenticators
- removed more methods from the GoogleLoginServiceHelper and
GoogleLoginServiceBlockingHelper and changed the callers to
use the AccountManager

Automated import of CL 145177
/frameworks/base/core/java/android/accounts/IAccountManager.aidl
603073430bbcb1bd29db7afb9b14e2732ad589fb 25-Mar-2009 Fred Quintana <> Automated import from //branches/master/...@142414,142414
/frameworks/base/core/java/android/accounts/IAccountManager.aidl