/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountRemovalDummyActivity.java | 17 package android.accounts.cts; 19 import android.accounts.AccountAuthenticatorResponse; 20 import android.accounts.AccountManager;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountAuthenticatorDummyActivity.java | 16 package com.android.server.accounts; 18 import android.accounts.AccountAuthenticatorResponse; 24 * Activity used by {@link com.android.server.accounts.TestAccountAuthenticator} to test the
|
TestAccountType2Authenticator.java | 16 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;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapAccountLoader.java | 58 * the BT-MAP intents in their manifest file. For each app the list of accounts are fetched 97 ArrayList<BluetoothMapAccountItem> accounts = parseAccounts(app); local 98 // we do not want to list apps without accounts 99 if(accounts.size() > 0) 101 // is checked if all accounts in the list are checked 103 for (BluetoothMapAccountItem acc: accounts) 111 groups.put(app, accounts); 148 * Method for getting the accounts under a given contentprovider from a package. 150 * @return An ArrayList of BluetoothMapAccountItems containing all the accounts from the app 154 if(D) Log.d(TAG,"Finding accounts for app "+app.getPackageName()) [all...] |
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/ |
StubAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|
/cts/hostsidetests/content/test-apps/SyncAccountAccessStubs/src/com/android/cts/stub/ |
StubAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
MockAccountAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|
/cts/tests/tests/content/src/android/content/cts/ |
MockAccountAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
StaticAccountAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|
/frameworks/base/telecomm/java/android/telecom/ |
AuthenticatorService.java | 18 import android.accounts.AbstractAccountAuthenticator; 19 import android.accounts.Account; 20 import android.accounts.AccountAuthenticatorResponse; 21 import android.accounts.NetworkErrorException; 30 * involve accounts.
|
/packages/apps/TV/src/com/android/tv/util/ |
AccountHelper.java | 19 import android.accounts.Account; 71 * Returns all eligible accounts . 98 Account[] accounts = getEligibleAccounts(); local 99 return accounts.length == 0 ? null : accounts[0];
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
AccountsChangedReceiver.java | 17 package com.android.inputmethod.latin.accounts; 19 import android.accounts.AccountManager; 64 * in the list of current accounts. 67 final String[] accounts, final String currentAccount) { 71 for (final String account : accounts) {
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
AccountTypeManager.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.OnAccountsUpdateListener; 167 * Returns the list of all accounts (if contactWritableOnly is false) or just the list of 168 * contact writable accounts (if contactWritableOnly is true). 181 * Returns all contact writable accounts 184 * accounts in infrequently used features where refactoring to asynchronous loading is 194 * Loads accounts in background and returns future that will complete with list of all accounts 199 * Loads accounts and applies the fitler returning only for which the predicate is tru [all...] |
Cp2DeviceLocalAccountLocator.java | 18 import android.accounts.AccountManager; 34 * Attempts to create accounts for "Device" contacts by querying 76 // Many device accounts have default groups associated with them. 84 private void addAccountsFromQuery(Uri uri, Set<AccountWithDataSet> accounts) { 90 addAccountsFromCursor(cursor, accounts); 96 private void addAccountsFromCursor(Cursor cursor, Set<AccountWithDataSet> accounts) { 104 accounts.add(new AccountWithDataSet(name, type, dataSet));
|
DeviceLocalAccountLocator.java | 18 import android.accounts.Account; 19 import android.accounts.AccountManager; 34 * Attempts to detect accounts for device contacts 39 * Returns a list of device local accounts 95 final Account[] accounts = mAccountManager local 98 if (accounts.length > 0) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
AccountTypeManagerTest.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 52 private static final Account[] ACCOUNTS = new Account[2]; 54 ACCOUNTS[0] = new Account("name1", GoogleAccountType.ACCOUNT_TYPE); 55 ACCOUNTS[1] = new Account("name2", GoogleAccountType.ACCOUNT_TYPE); 86 private static Collection<AccountWithDataSet> buildAccounts(AccountWithDataSet... accounts) { 88 for (AccountWithDataSet account : accounts) { 105 when(mAccountManager.getAccountsByType(Mockito.anyString())).thenReturn(ACCOUNTS); 110 when(mAccountManager.getAccountsByType(Mockito.anyString())).thenReturn(ACCOUNTS); 117 when(mAccountManager.getAccountsByType(Mockito.anyString())).thenReturn(ACCOUNTS); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
AllAccountObserver.java | 27 * A simple extension of {@link android.database.DataSetObserver} to provide all Accounts in 28 * {@link #onChanged(Account[])} when the list of Accounts changes. Initializing the object 51 * a call to {@link #onChanged(Account[])} when the controller changes the list of accounts. 73 * Callback invoked when the list of Accounts changes. 75 * @param allAccounts the array of all accounts in the current application. 80 * Return the array of existing accounts. 81 * @return the array of existing accounts.
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
AuthenticatorHelper.java | 17 package com.android.settingslib.accounts; 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AuthenticatorDescription; 40 * Helper class for monitoring accounts on the device for a given user. 44 * called once accounts get updated. For setting up listening for account 201 void onAccountsUpdated(Account[] accounts) { 203 if (accounts == null) { 204 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); 208 for (int i = 0; i < accounts.length; i++) 223 final Account[] accounts = AccountManager.get(mContext) local [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
PhoneAccountSettingsFragment.java | 58 * Value to start ordering of phone accounts relative to other preferences. By setting this 107 * (3) <All Accounts> // Lets user enable/disable third-party accounts. SIM-based accounts 111 * - (1) is only shown if there are multiple enabled accounts, including SIM accounts. 112 * This can be 2+ SIM accounts, 2+ third party accounts or any combination. 113 * - (2) The account list only lists (a) enabled third party accounts and (b) SIM-based 114 * accounts. However, for single-SIM devices, if the only account to show is th 288 List<PhoneAccount> accounts = new ArrayList<>(); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
MailboxSelectionActivity.java | 49 * An activity that shows the list of all the available accounts and return the 149 // Only fetch the accounts, if we are not handling a response from the 207 private void completeSetupWithAccounts(final Cursor accounts) { 211 updateAccountList(accounts); 216 private void updateAccountList(final Cursor accounts) { 220 if (accounts == null || accounts.getCount() == 0) { 235 } else if (mConfigureWidget && accounts.getCount() == 1) { 239 accounts.moveToFirst(); 240 selectAccount(Account.builder().buildFrom(accounts)); 369 ArrayList<Account> accounts = new ArrayList<Account>(); local [all...] |
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
AccountCheckTest.java | 18 import android.accounts.Account; 19 import android.accounts.AccountManager; 48 * Remove all test accounts. 132 * Test there are no preconfigured accounts that don't accept DO/PO. 136 final Account accounts[] = am.getAccounts(); local 137 if (accounts.length == 0) { 138 Log.v(TAG, "No preconfigured accounts found."); 146 // Even if we find incompatible accounts along the way, we still check all accounts 149 for (Account account : accounts) { [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerBackupHelper.java | 17 package com.android.server.accounts; 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AccountManagerInternal; 38 import com.android.server.accounts.AccountsDb.DeDatabaseHelper; 101 AccountManagerService.UserAccounts accounts = mAccountManagerService local 103 synchronized (accounts.dbLock) { 104 synchronized (accounts.cacheLock) { 105 for (Account[] accountsPerType : accounts.accountCache.values()) { 144 final AccountManagerService.UserAccounts accounts = mAccountManagerServic local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AddAccountWithTypeActivity.java | 17 package com.android.tv.settings.accounts; 19 import android.accounts.AccountManager; 20 import android.accounts.AccountManagerCallback; 21 import android.accounts.AccountManagerFuture; 22 import android.accounts.AuthenticatorException; 23 import android.accounts.OperationCanceledException;
|
/development/apps/PushApiAuthenticator/ |
AndroidManifest.xml | 34 <action android:name="android.accounts.action.ACCOUNTS_LISTENER_PACKAGE_INSTALLED"/> 43 android:name="android.accounts.AccountAuthenticator" /> 46 android:name="android.accounts.AccountAuthenticator"
|
/external/autotest/client/site_tests/login_GaiaLogin/ |
login_GaiaLogin.py | 37 # parsing accounts.google.com. 38 tab.Navigate('http://accounts.google.com') 52 raise error.TestFail('No references to %s on accounts page.'
|