/packages/apps/Contacts/src/com/android/contacts/editor/ |
SelectAccountDialogFragment.java | 152 public void onAccountsLoaded(List<AccountInfo> accounts) { 154 "Accounts adapter should have been initialized"); 155 mAccountsAdapter.setAccounts(accounts, null);
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
AccountWithDataSet.java | 19 import android.accounts.Account; 114 public static String stringifyList(List<AccountWithDataSet> accounts) { 117 for (AccountWithDataSet account : accounts) {
|
/packages/apps/Settings/tests/robotests/assets/ |
grandfather_not_implementing_indexable | 36 com.android.settings.accounts.ChooseAccountActivity 37 com.android.settings.accounts.ManagedProfileSettings 53 com.android.settings.accounts.AccountSyncSettings
|
/packages/services/Telephony/sip/res/values-en-rAU/ |
strings.xml | 20 <string name="sip_accounts" msgid="85559497282185405">"SIP accounts"</string> 21 <string name="sip_accounts_title" msgid="2082527045326874519">"Accounts"</string> 31 <string name="sip_account_list" msgid="5610858485304821480">"SIP accounts"</string>
|
/packages/services/Telephony/sip/res/values-en-rGB/ |
strings.xml | 20 <string name="sip_accounts" msgid="85559497282185405">"SIP accounts"</string> 21 <string name="sip_accounts_title" msgid="2082527045326874519">"Accounts"</string> 31 <string name="sip_account_list" msgid="5610858485304821480">"SIP accounts"</string>
|
/packages/services/Telephony/sip/res/values-en-rIN/ |
strings.xml | 20 <string name="sip_accounts" msgid="85559497282185405">"SIP accounts"</string> 21 <string name="sip_accounts_title" msgid="2082527045326874519">"Accounts"</string> 31 <string name="sip_account_list" msgid="5610858485304821480">"SIP accounts"</string>
|
/packages/services/Telephony/sip/res/values-nl/ |
strings.xml | 20 <string name="sip_accounts" msgid="85559497282185405">"SIP-accounts"</string> 21 <string name="sip_accounts_title" msgid="2082527045326874519">"Accounts"</string> 31 <string name="sip_account_list" msgid="5610858485304821480">"SIP-accounts"</string>
|
/frameworks/base/services/core/java/com/android/server/content/ |
SyncStorageEngine.java | 19 import android.accounts.Account; 20 import android.accounts.AccountAndUser; 21 import android.accounts.AccountManager; 141 // the version of the accounts xml file format 356 * Validator that maintains a lazy cache of accounts and providers to tell if an authority or 437 * This file contains the core engine state: all accounts and the 480 mAccountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml")); 704 * persisted variable - namely the "syncable" attribute for an AuthorityInfo in accounts.xml. 745 * the account or provider info be null, which signifies all accounts or providers. 756 // accounts/providers [all...] |
SyncManager.java | 19 import android.accounts.Account; 20 import android.accounts.AccountAndUser; 21 import android.accounts.AccountManager; 22 import android.accounts.AccountManagerInternal; 96 import com.android.server.accounts.AccountManagerService; 335 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { 337 for (int i = 0; i < accounts.length; i++) { 338 if (accounts[i].userId == userId 339 && accounts[i].account.equals(account)) { 350 // Update accounts in handler thread 819 AccountAndUser[] accounts = null; local 1586 final Account[] accounts = AccountManagerService.getSingleton().getAccounts(userId, local 1820 final AccountAndUser[] accounts = AccountManagerService.getSingleton().getAllAccounts(); local 2740 AccountAndUser[] accounts = mRunningAccounts; local 2933 AccountAndUser[] accounts = mRunningAccounts; local [all...] |
/packages/apps/Contacts/src/com/android/contacts/preference/ |
DisplayOptionsPreferenceFragment.java | 77 private static final String KEY_ACCOUNTS = "accounts"; 300 public void onAccountsLoaded(List<AccountInfo> accounts) { 301 // Hide accounts preferences if no writable accounts exist 304 preference.setAccounts(accounts);
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
PhotoProvider.java | 67 * Contains columns that can be accessed via Accounts.CONTENT_URI 69 public static interface Accounts extends BaseColumns { 73 public static final String TABLE = "accounts"; 99 /** Long foreign key to Accounts._ID */ 138 /** Long foreign key to Accounts._ID */ 266 sUriMatcher.addURI(AUTHORITY, Accounts.TABLE, MATCH_ACCOUNT); 267 // match against Accounts._ID 268 sUriMatcher.addURI(AUTHORITY, Accounts.TABLE + "/#", MATCH_ACCOUNT_ID); 407 table = Accounts.TABLE; 470 return nestWhere(Photos.ACCOUNT_ID, Accounts.TABLE, where) [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountPreferenceController.java | 17 package com.android.settings.accounts; 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 57 import com.android.settingslib.accounts.AuthenticatorHelper; 94 * Holds data related to the accounts belonging to one profile. 98 * The preference that displays the accounts. 114 * The {@link AuthenticatorHelper} that holds accounts data for this profile. 303 // recreate the authentication helper to refresh the list of enabled accounts 459 // Put a label instead of the accounts list 498 final Account[] accounts = AccountManager.get(mContext local [all...] |
AccountSyncSettings.java | 17 package com.android.settings.accounts; 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 234 // Note that this also counts accounts that are not currently displayed 502 Account[] accounts = AccountManager.get(getActivity()).getAccountsByTypeAsUser( 504 final int count = accounts.length; 506 if (accounts[i].equals(account)) {
|
/packages/apps/Settings/src/com/android/settings/ |
MasterClear.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AuthenticatorDescription; 259 LinearLayout contents = (LinearLayout)mContentView.findViewById(R.id.accounts); 276 Account[] accounts = mgr.getAccountsAsUser(profileId); local 277 final int N = accounts.length; 296 Account account = accounts[i];
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
MailPrefs.java | 121 public static final String RECENT_ACCOUNTS = "recent-accounts"; 129 * The time in epoch ms when the number of accounts in the app was reported to analytics. 136 // State indicating that we have migrated imap and pop accounts, but not 137 // Exchange accounts. 139 // State indicating that we have migrated all accounts. 593 * Returns the latest time the number of accounts in the application was sent to Analyitcs. 601 * Set the latest time the number of accounts in the application was sent to Analytics.
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Account.java | 79 * Cached android.accounts.Account based on the above two values 81 private android.accounts.Account amAccount; 527 * Returns an array of all Accounts located at this cursor. This method returns a zero length 529 * @param cursor cursor pointing to the list of accounts 530 * @return the array of all accounts stored at this cursor. 549 public android.accounts.Account getAccountManagerAccount() { 553 amAccount = new android.accounts.Account(accountManagerName, type); 750 * Returns true if the two accounts differ in sync or server-side settings. 753 * @return true if the two accounts differ in sync or server-side settings 828 JSONArray accounts = new JSONArray(accountFromAddresses); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderListFragment.java | 73 * This fragment shows the list of folders and the list of accounts. Prior to June 2013, 74 * the mail application had a spinner in the top action bar. Now, the list of accounts is displayed 80 * Show a list of accounts and a divided list of folders. In this case, the list shows 81 * Accounts, Inboxes, Recent Folders, All folders, Help, and Feedback. 82 * Tapping on Accounts takes the user to the default Inbox for that account. Tapping on 133 /** Object that changes accounts on our behalf */ 174 /** Adapter used by the list that wraps both the folder adapter and the accounts adapter. */ 176 /** Adapter containing the list of accounts. */ 188 /** Listen to changes to list of all accounts */ 375 // Assign observers for current account & all accounts [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailServiceUtils.java | 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; 329 android.accounts.Account amAccount, final Map<String, String> protocolMap) { 396 new android.accounts.Account(amName, oldType)); 408 new android.accounts.Account(amName, oldType)); 452 new android.accounts.Account(amName, accountType), 468 new android.accounts.Account(amName, accountType) [all...] |
/packages/apps/Email/src/com/android/email/ |
EmailNotificationController.java | 194 // otherwise, start new observers for all notified accounts 219 // True if accounts have changed and we need to refresh everything 221 // Set of accounts we need to regenerate notifications for 261 * accounts that allow for user notification. 295 * @param accountId The ID of the account to unregister from. To unregister all accounts that 301 LogUtils.i(LOG_TAG, "Unregistering notifications for all accounts"); 449 * is used to update the display text, but, all accounts share the same notification ID. 470 * is used to update the display text, but, all accounts share the same notification ID. 581 final android.accounts.Account notifAccount [all...] |
/packages/apps/Settings/src/com/android/settings/dashboard/ |
SupportItemAdapter.java | 18 import android.accounts.Account; 171 public void setAccounts(Account accounts[]) { 172 if (!Arrays.equals(mAccounts, accounts)) { 176 final int index = ArrayUtils.indexOf(accounts, mAccounts[mSelectedAccountIndex]); 180 mAccounts = accounts; 458 private String[] extractAccountNames(Account[] accounts) { 459 String[] accountNames = new String[accounts.length+1]; 460 for (int i = 0; i < accounts.length; i++) { 461 accountNames[i] = accounts[i].name; 463 accountNames[accounts.length] = mActivity.getString [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
PeopleActivity.java | 19 import android.accounts.Account; 206 // Update sync status for accounts in current ContactListFilter 223 final List<AccountWithDataSet> accounts; local 226 accounts = Collections.singletonList(new AccountWithDataSet(filter.accountName, 229 accounts = AccountInfo.extractAccounts( 232 accounts = Collections.emptyList(); 234 if (SyncUtil.isAnySyncing(accounts)) { 1129 final List<AccountInfo> accounts = Futures.getUnchecked(AccountTypeManager.getInstance(this) local [all...] |
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AuthenticatorDescription; 22 import android.accounts.OnAccountsUpdateListener; 241 * Updates account list spinner when the list of Accounts on the system changes. Satisfies 254 // The user may have multiple accounts with the same name, so we need to construct a
|
/frameworks/base/core/java/android/content/ |
AbstractThreadedSyncAdapter.java | 19 import android.accounts.Account; 48 * your adapter supports syncing of multiple accounts in parallel). If your adapter does not 87 * the sync adapter can handle syncs for multiple accounts at the same time. Otherwise 122 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if it 135 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if it 137 * @param allowParallelSyncs if true then allow syncs for different accounts to run
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
TestAccountType1Authenticator.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/services/Telecomm/src/com/android/server/telecom/ |
CreateConnectionProcessor.java | 220 Log.v(this, "attemptNextPhoneAccount, no more accounts, failing"); 304 // Phone accounts in profile do not handle emergency call, use phone accounts in 310 // If the list of phone accounts is empty at this point, it means Telephony hasn't 311 // registered any phone accounts yet. Add a fallback emergency phone account so 330 // Next, add all SIM phone accounts which can place emergency calls.
|