/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | OnePaneController.java | 63 /** Whether a conversation list for this account has ever been shown.*/ 129 // account. Currently this method is blank to avoid any changes. 133 * Returns true if the candidate URI is the URI for the default inbox for the given account. 135 * @param account the account whose default Inbox the candidate might be 136 * @return true if the candidate is indeed the default inbox for the given account. 138 private static boolean isDefaultInbox(FolderUri candidate, Account account) { argument 139 return (candidate != null && account != null) 140 && candidate.equals(account.settings.defaultInbox); 148 private static boolean inInbox(final Account account, fina argument 160 changeAccount(Account account) argument [all...] |
H A D | FolderListFragment.java | 82 * Tapping on Accounts takes the user to the default Inbox for that account. Tapping on 99 * any folder for a given account. 114 /** URI that points to the list of folders for the current account. */ 125 * True if the folder list belongs to a folder selection activity (one account only) 148 /** Loader id for the list of all folders in the account */ 184 /** Listen for account changes. */ 186 /** Listen to changes to selected folder or account */ 199 /** The current account according to the controller */ 201 /** The account we will change to once the drawer (if any) is closed */ 221 // TODO: but Material account switche 574 getDefaultInbox(Account account) argument 581 getUnreadCount(Account account) argument 588 changeAccount(final Account account) argument 665 onAccountSelected(Account account) argument 1504 setSelectedAccount(Account account) argument [all...] |
H A D | ConversationsInOutboxTipView.java | 58 public void bind(final Account account, final FolderSelector folderSelector) { argument 59 mAccount = account; 60 mAccountPreferences = AccountPreferences.get(getContext(), account);
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
H A D | PeopleActivityTest.java | 33 import com.android.contacts.model.account.AccountType; 34 import com.android.contacts.model.account.AccountWithDataSet; 35 import com.android.contacts.model.account.BaseAccountType; 93 AccountWithDataSet account = new AccountWithDataSet(TEST_ACCOUNT, TEST_ACCOUNT_TYPE, null); 97 new AccountType[] { accountType }, new AccountWithDataSet[] { account });
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
H A D | SimContactDaoTests.java | 60 import com.android.contacts.model.account.AccountWithDataSet; 324 for (AccountWithDataSet account : mAccounts) { 325 mAccountHelper.removeTestAccount(account); 352 final AccountWithDataSet account = mAccountHelper.addTestAccount( 354 mAccounts.add(account); 370 ), account); 377 assertThat(existing.get(account), 431 final AccountWithDataSet account = mAccountHelper.addTestAccount( 433 mAccounts.add(account); 449 ), account); 521 appendCreateContact(String name, AccountWithDataSet account, ArrayList<ContentProviderOperation> ops) argument 538 appendCreateContact(String name, List<String> phoneNumbers, List<String> emails, AccountWithDataSet account, List<ContentProviderOperation> ops) argument [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | ImapService.java | 92 * Simple cache for last search result mailbox by account and serverId, since the most common 100 * Cache search results by account; this allows for "load more" support without having to 165 final Account account, final Mailbox folder, final boolean loadMore, 167 TrafficStats.setThreadStatsTag(TrafficFlags.getSyncFlags(context, account)); 172 remoteStore = Store.getInstance(account, context); 173 processPendingActionsSynchronous(context, account, remoteStore, uiRefresh); 174 synchronizeMailboxGeneric(context, account, remoteStore, folder, loadMore, uiRefresh); 175 // Clear authentication notification for this account 176 nc.cancelLoginFailedNotification(account.mId); 183 nc.showLoginFailedNotificationSynchronous(account 164 synchronizeMailboxSynchronous(Context context, final Account account, final Mailbox folder, final boolean loadMore, final boolean uiRefresh) argument 254 loadUnsyncedMessages(final Context context, final Account account, Folder remoteFolder, ArrayList<Message> messages, final Mailbox toMailbox) argument 281 downloadFlagAndEnvelope(final Context context, final Account account, final Mailbox mailbox, Folder remoteFolder, ArrayList<Message> unsyncedMessages, HashMap<String, LocalMessageInfo> localMessageMap, final ArrayList<Long> unseenMessages) argument 362 synchronizeMailboxGeneric(final Context context, final Account account, Store remoteStore, final Mailbox mailbox, final boolean loadMore, final boolean uiRefresh) argument 756 processPendingActionsSynchronous(Context context, Account account, Store remoteStore, boolean manualSync) argument 817 processPendingDeletesSynchronous(Context context, Account account, Store remoteStore, String[] accountIdArgs) argument 875 processPendingUploadsSynchronous(Context context, Account account, Store remoteStore, String[] accountIdArgs, boolean manualSync) argument 946 processPendingUpdatesSynchronous(Context context, Account account, Store remoteStore, String[] accountIdArgs) argument [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
H A D | ProviderTests.java | 188 * Test simple account save/retrieve 192 Account account1 = ProviderTestUtils.setupAccount("account-save", true, mMockContext); 201 * Test simple account save/retrieve with predefined hostauth records 205 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); 208 ProviderTestUtils.setupHostAuth("account-hostauth-recv", -1, false, mMockContext); 210 ProviderTestUtils.setupHostAuth("account-hostauth-send", -1, false, mMockContext); 214 // Confirm account reads back correctly 230 Account account = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); 231 account 316 getEclairStyleShortcutUri(Account account) argument 2225 amAccountListHasAccount( android.accounts.Account[] amAccountList, Account account, Context context) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
H A D | SimAccountType.java | 16 package com.android.contacts.model.account; 117 public AccountInfo wrapAccount(Context context, AccountWithDataSet account) { argument 121 new AccountDisplayInfo(account, getDisplayLabel(context), getDisplayLabel(context),
|
H A D | AccountType.java | 17 package com.android.contacts.model.account; 114 * Whether this account type was able to be fully initialized. This may be false if 115 * (for example) the package name associated with the account type could not be found. 147 * Only makes sense for non-embedded account types. 188 * Creates an {@link AccountInfo} for the specified account with the same type 192 public AccountInfo wrapAccount(Context context, AccountWithDataSet account) { argument 193 Preconditions.checkArgument(Objects.equal(account.type, accountType), 194 "Account types must match: account.type=%s but accountType=%s", 195 account.type, accountType); 198 new AccountDisplayInfo(account, accoun [all...] |
H A D | AccountTypeProvider.java | 16 package com.android.contacts.model.account; 77 * Returns all account types associated with the provided type 103 public boolean hasTypeForAccount(AccountWithDataSet account) { argument 104 return getTypeForAccount(account) != null; 119 * Returns the AccountType with the matching type and dataSet or null if no account with those 133 * Returns the AccountType for a particular account or null if no account type exists for the 134 * account 136 public AccountType getTypeForAccount(AccountWithDataSet account) { argument 137 return getType(account [all...] |
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | ThemeColorManager.java | 85 // the phone account color. 100 PhoneAccount account = context.getSystemService(TelecomManager.class).getPhoneAccount(handle); 101 if (account != null) { 102 return account.getHighlightColor();
|
/packages/apps/Email/src/com/android/email2/ui/ |
H A D | MailActivityEmail.java | 107 LogUtils.e(LOG_TAG, "Null account cursor for mAccountId %d", accountId); 111 com.android.mail.providers.Account account = null; 114 account = com.android.mail.providers.Account.builder().buildFrom(accountCursor); 126 LogUtils.e(LOG_TAG, "Null folder cursor for account %d, mailbox %d", 136 LogUtils.e(LOG_TAG, "Empty folder cursor for account %d, mailbox %d", 144 return Utils.createViewFolderIntent(this, folder.folderUri.fullUri, account);
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
H A D | AccountSetupIncomingTests.java | 196 final Account account = new Account(); 198 final HostAuth auth = account.getOrCreateHostAuthRecv(context); 203 setupDataFragment.setAccount(account);
|
H A D | AccountSetupOutgoingTests.java | 201 final Account account = new Account(); 203 final HostAuth auth = account.getOrCreateHostAuthSend(context); 208 setupDataFragment.setAccount(account);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
H A D | AccountHeaderPreferenceControllerTest.java | 92 final Account account = new Account("name1@abc.com", "com.abc"); 94 args.putParcelable(AccountDetailDashboardFragment.KEY_ACCOUNT, account); 109 assertThat(label).isEqualTo(account.name);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
H A D | RemoveAccountDialog.java | 126 Account account = null; 129 account = accountLoop; 133 manager.removeAccount(account, activity, activity, new Handler());
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | DirectoryTest.java | 103 // Visible because there is no account 107 Account account = new Account("accountName", "accountType"); 108 long groupId = createGroup(account, "sid", "def", 111 "Parr", account));
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | BluetoothPhoneServiceImpl.java | 169 PhoneAccount account = getBestPhoneAccount(); 170 if (account != null && account.getLabel() != null) { 171 return account.getLabel().toString(); 193 PhoneAccount account = getBestPhoneAccount(); 194 if (account != null) { 195 Uri addressUri = account.getAddress(); 875 * Returns the best phone account to use for the given state of all calls. 876 * First, tries to return the phone account for the foreground call, second the default 877 * phone account fo [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | MessageFooterView.java | 225 final Account account = getAccount(); 238 barAttachmentView.render(attachment, account, mMessageHeaderItem.getMessage(), 309 final Account account = getAccount(); 311 if (account != null && !TextUtils.isEmpty(message.permalink)) { 312 intent.putExtra(AccountFeedbackActivity.EXTRA_ACCOUNT_URI, account.uri); 314 intent.putExtra(FullMessageContract.EXTRA_ACCOUNT_NAME, account.getEmailAddress());
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PhonebookPullRequest.java | 54 public PhonebookPullRequest(Context context, Account account) { argument 56 mAccount = account;
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | AccountImageHelper.java | 30 * Utility functions for retrieving account pictures. 53 * Tries to retrieve the Picture for the provided account, from the Contacts database. 55 public static String getAccountPictureUri(Context context, Account account) { argument 56 // Look up this account in the contacts database. 59 account.name }; 111 * Returns a default image to be used when an account has no picture associated with it.
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | KindSectionData.java | 23 import com.android.contacts.model.account.AccountType; 24 import com.android.contacts.model.account.AccountType.EditField; 31 * Holder for the multi account raw contact data needed to back an editor input field.
|
H A D | RawContactDeltaComparator.java | 24 import com.android.contacts.model.account.AccountType; 25 import com.android.contacts.model.account.GoogleAccountType; 62 // Check account type. Sort Google before non-Google. 106 // Check account name 120 // Both are in the same account, fall back to contact ID
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | AccountsListAdapter.java | 29 import com.android.contacts.model.account.AccountInfo; 30 import com.android.contacts.model.account.AccountWithDataSet; 65 // If it's not empty use the previous "current" account (the first one in the list)
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
H A D | MessageTestUtils.java | 62 * @param account Account object 65 public static Uri contentUri(long attachmentId, Account account) { argument 66 return AttachmentUtilities.getAttachmentUri(account.mId, attachmentId);
|