Home
last modified time | relevance | path

Searched refs:accounts (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java17 package com.android.server.accounts;
20 import android.accounts.AbstractAccountAuthenticator;
21 import android.accounts.Account;
22 import android.accounts.AccountAndUser;
23 import android.accounts.AccountAuthenticatorResponse;
24 import android.accounts.AccountManager;
25 import android.accounts.AccountManagerInternal;
26 import android.accounts.AccountManagerResponse;
27 import android.accounts.AuthenticatorDescription;
28 import android.accounts.CantAddAccountActivity;
[all …]
DAccountManagerBackupHelper.java17 package com.android.server.accounts;
19 import android.accounts.Account;
20 import android.accounts.AccountManager;
21 import android.accounts.AccountManagerInternal;
99 AccountManagerService.UserAccounts accounts = mAccountManagerService in apply() local
101 synchronized (accounts.dbLock) { in apply()
102 synchronized (accounts.cacheLock) { in apply()
103 for (Account[] accountsPerType : accounts.accountCache.values()) { in apply()
151 final AccountManagerService.UserAccounts accounts = mAccountManagerService in backupAccountAccessPermissions() local
153 synchronized (accounts.dbLock) { in backupAccountAccessPermissions()
[all …]
DAccountAuthenticatorCache.java17 package com.android.server.accounts;
19 import android.accounts.AccountManager;
20 import android.accounts.AuthenticatorDescription;
21 import android.accounts.IAccountAuthenticator;
DIAccountAuthenticatorCache.java17 package com.android.server.accounts;
19 import android.accounts.AuthenticatorDescription;
/frameworks/base/test-mock/src/android/test/mock/
DMockAccountManager.java18 import android.accounts.Account;
19 import android.accounts.AccountManager;
20 import android.accounts.AccountManagerCallback;
21 import android.accounts.AccountManagerFuture;
22 import android.accounts.AuthenticatorException;
23 import android.accounts.OnAccountsUpdateListener;
24 import android.accounts.OperationCanceledException;
/frameworks/base/core/api/
Dsystem-lint-baseline.txt102 …dBeLast: android.accounts.AccountManager#addAccount(String, String, String[], android.os.Bundle, a…
104 SamShouldBeLast: android.accounts.AccountManager#addOnAccountsUpdatedListener(android.accounts.OnAc…
106 SamShouldBeLast: android.accounts.AccountManager#addOnAccountsUpdatedListener(android.accounts.OnAc…
108 …ast: android.accounts.AccountManager#confirmCredentials(android.accounts.Account, android.os.Bundl…
110 SamShouldBeLast: android.accounts.AccountManager#editProperties(String, android.app.Activity, andro…
112 SamShouldBeLast: android.accounts.AccountManager#finishSession(android.os.Bundle, android.app.Activ…
114 …ast: android.accounts.AccountManager#getAccountsByTypeAndFeatures(String, String[], android.accoun…
116 …st: android.accounts.AccountManager#getAuthToken(android.accounts.Account, String, android.os.Bund…
118 …uldBeLast: android.accounts.AccountManager#getAuthToken(android.accounts.Account, String, android.…
120 SamShouldBeLast: android.accounts.AccountManager#getAuthToken(android.accounts.Account, String, boo…
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
DAuthenticatorHelper.java17 package com.android.settingslib.accounts;
19 import android.accounts.Account;
20 import android.accounts.AccountManager;
21 import android.accounts.AuthenticatorDescription;
203 void onAccountsUpdated(Account[] accounts) { in onAccountsUpdated() argument
205 if (accounts == null) { in onAccountsUpdated()
206 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); in onAccountsUpdated()
210 for (int i = 0; i < accounts.length; i++) { in onAccountsUpdated()
211 final Account account = accounts[i]; in onAccountsUpdated()
225 final Account[] accounts = AccountManager.get(mContext) in onReceive() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DFactoryResetProtectionPolicyTest.java61 List<String> accounts = new ArrayList<>(); in testNonDefaultFactoryResetProtectionPolicyObject() local
62 accounts.add("Account 1"); in testNonDefaultFactoryResetProtectionPolicyObject()
63 accounts.add("Account 2"); in testNonDefaultFactoryResetProtectionPolicyObject()
66 .setFactoryResetProtectionAccounts(accounts) in testNonDefaultFactoryResetProtectionPolicyObject()
76 List<String> accounts = new ArrayList<>(); in testInvalidXmlFactoryResetProtectionPolicyObject() local
77 accounts.add("Account 1"); in testInvalidXmlFactoryResetProtectionPolicyObject()
78 accounts.add("Account 2"); in testInvalidXmlFactoryResetProtectionPolicyObject()
81 .setFactoryResetProtectionAccounts(accounts) in testInvalidXmlFactoryResetProtectionPolicyObject()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DTestAccountType2Authenticator.java16 package com.android.server.accounts;
18 import android.accounts.AbstractAccountAuthenticator;
19 import android.accounts.Account;
20 import android.accounts.AccountAuthenticatorResponse;
21 import android.accounts.AccountManager;
22 import android.accounts.NetworkErrorException;
DAccountManagerServiceTest.java17 package com.android.server.accounts;
32 import android.accounts.Account;
33 import android.accounts.AccountManager;
34 import android.accounts.AccountManagerInternal;
35 import android.accounts.CantAddAccountActivity;
36 import android.accounts.IAccountManagerResponse;
221 Account[] accounts = mAms.getAccountsAsUser(null, in testCheckAddAccount() local
223 Arrays.sort(accounts, new AccountSorter()); in testCheckAddAccount()
224 assertEquals(6, accounts.length); in testCheckAddAccount()
225 assertEquals(a11, accounts[0]); in testCheckAddAccount()
[all …]
DAccountAuthenticatorDummyActivity.java16 package com.android.server.accounts;
18 import android.accounts.AccountAuthenticatorResponse;
DAccountManagerServiceTestFixtures.java16 package com.android.server.accounts;
18 import android.accounts.Account;
DOWNERS1 include /core/java/android/accounts/OWNERS
/frameworks/base/telecomm/java/android/telecom/
DAuthenticatorService.java18 import android.accounts.AbstractAccountAuthenticator;
19 import android.accounts.Account;
20 import android.accounts.AccountAuthenticatorResponse;
21 import android.accounts.NetworkErrorException;
/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java16 package android.accounts;
173 Parcelable[] accounts = in onCreate() local
178 for (int i = 0; i < accounts.length; i++) { in onCreate()
179 mAccounts.put((Account) accounts[i], visibility.get(i)); in onCreate()
271 Parcelable[] accounts = new Parcelable[mAccounts.size()]; in onSaveInstanceState() local
275 accounts[i++] = e.getKey(); in onSaveInstanceState()
278 outState.putParcelableArray(KEY_INSTANCE_STATE_ACCOUNTS_LIST, accounts); in onSaveInstanceState()
482 private int getItemIndexToSelect(ArrayList<Account> accounts, String selectedAccountName, in getItemIndexToSelect() argument
487 return accounts.size(); in getItemIndexToSelect()
490 for (int i = 0; i < accounts.size(); i++) { in getItemIndexToSelect()
[all …]
DOnAccountsUpdateListener.java17 package android.accounts;
28 void onAccountsUpdated(Account[] accounts); in onAccountsUpdated() argument
DIAccountAuthenticator.aidl17 package android.accounts;
19 import android.accounts.IAccountAuthenticatorResponse;
20 import android.accounts.Account;
DIAccountManager.aidl17 package android.accounts;
19 import android.accounts.IAccountManagerResponse;
20 import android.accounts.Account;
21 import android.accounts.AuthenticatorDescription;
DAccount.aidl17 package android.accounts;
DAuthenticatorDescription.aidl17 package android.accounts;
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/user/
DITvUserManager.java19 import android.accounts.AccountManagerCallback;
20 import android.accounts.AccountManagerFuture;
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java19 import android.accounts.Account;
20 import android.accounts.AccountManager;
131 Account[] accounts = mAccountManager.getAccountsAsUser(userId); in serializeAccountSyncSettingsToJSON() local
156 for (Account account : accounts) { in serializeAccountSyncSettingsToJSON()
366 Account[] accounts = mAccountManager.getAccountsAsUser(userId); in getAccounts() local
368 for (Account account : accounts) { in getAccounts()
/frameworks/ex/common/java/com/android/common/content/
DSyncStateContentProviderHelper.java19 import android.accounts.Account;
113 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) { in onAccountsChanged() argument
120 if (!contains(accounts, account)) { in onAccountsChanged()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-unsupported.txt2 Landroid/accounts/IAccountAuthenticator$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
3 Landroid/accounts/IAccountAuthenticator$Stub$Proxy;->mRemote:Landroid/os/IBinder;
4 Landroid/accounts/IAccountAuthenticator$Stub;-><init>()V
5 Landroid/accounts/IAccountAuthenticator$Stub;->asInterface(Landroid/os/IBinder;)Landroid/accounts/I…
6 Landroid/accounts/IAccountAuthenticatorResponse$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
7 Landroid/accounts/IAccountAuthenticatorResponse$Stub$Proxy;->mRemote:Landroid/os/IBinder;
8 Landroid/accounts/IAccountAuthenticatorResponse$Stub;-><init>()V
9 Landroid/accounts/IAccountAuthenticatorResponse$Stub;->asInterface(Landroid/os/IBinder;)Landroid/ac…
10 Landroid/accounts/IAccountManager$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
11 Landroid/accounts/IAccountManager$Stub;-><init>()V
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/accounts/
DOWNERS1 include /core/java/android/accounts/OWNERS

12345