Home
last modified time | relevance | path

Searched refs:accounts (Results 1 – 25 of 122) 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/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/mappers/
DCredentialSelectorUiStateGetMapper.kt28 val accounts = providerInfos in <lambda>() constant
35 if (accounts.size == 1) { in <lambda>()
37 entry = accounts[0].value.minWith(comparator) in <lambda>()
40 val sortedEntries = accounts.map { in <lambda>()
58 accounts = accounts.map { PerUserNameEntries( in <lambda>()
/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;
202 void onAccountsUpdated(Account[] accounts) { in onAccountsUpdated() argument
204 if (accounts == null) { in onAccountsUpdated()
205 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); in onAccountsUpdated()
209 for (int i = 0; i < accounts.length; i++) { in onAccountsUpdated()
210 final Account account = accounts[i]; in onAccountsUpdated()
224 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;
36 import android.accounts.AbstractAccountAuthenticator;
37 import android.accounts.Account;
38 import android.accounts.AccountManager;
39 import android.accounts.AccountManagerInternal;
40 import android.accounts.CantAddAccountActivity;
41 import android.accounts.IAccountManagerResponse;
245 Account[] accounts = mAms.getAccountsAsUser(null, in testCheckAddAccount() local
247 Arrays.sort(accounts, new AccountSorter()); in testCheckAddAccount()
248 assertEquals(6, accounts.length); 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;
/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java16 package android.accounts;
176 Parcelable[] accounts = in onCreate() local
181 for (int i = 0; i < accounts.length; i++) { in onCreate()
182 mAccounts.put((Account) accounts[i], visibility.get(i)); in onCreate()
189 …ount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT, android.accounts.Account.class); in onCreate()
277 Parcelable[] accounts = new Parcelable[mAccounts.size()]; in onSaveInstanceState() local
281 accounts[i++] = e.getKey(); in onSaveInstanceState()
284 outState.putParcelableArray(KEY_INSTANCE_STATE_ACCOUNTS_LIST, accounts); in onSaveInstanceState()
487 private int getItemIndexToSelect(ArrayList<Account> accounts, String selectedAccountName, in getItemIndexToSelect() argument
492 return accounts.size(); 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;
DAccountAuthenticatorActivity.java17 package android.accounts;
63 …celableExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, android.accounts.AccountAuthentica… in onCreate()
DIAccountManager.aidl17 package android.accounts;
19 import android.accounts.IAccountManagerResponse;
20 import android.accounts.Account;
21 import android.accounts.AuthenticatorDescription;
DAuthenticatorDescription.aidl17 package android.accounts;
DAccount.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;
132 Account[] accounts = mAccountManager.getAccountsAsUser(userId); in serializeAccountSyncSettingsToJSON() local
157 for (Account account : accounts) { in serializeAccountSyncSettingsToJSON()
367 Account[] accounts = mAccountManager.getAccountsAsUser(userId); in getAccounts() local
369 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/core/java/android/content/
DSyncInfo.java19 import android.accounts.Account;
102 … account = parcel.readParcelable(Account.class.getClassLoader(), android.accounts.Account.class); in SyncInfo()
/frameworks/base/apct-tests/perftests/core/src/android/accounts/
DOWNERS1 include /core/java/android/accounts/OWNERS

12345