/packages/apps/Calendar/src/com/android/calendar/ |
H A D | RecipientAdapter.java | 30 * Set the account when known. Causes the search to prioritize contacts from 31 * that account. 33 public void setAccount(Account account) { argument 34 if (account != null) { 35 // TODO: figure out how to infer the contacts account 36 // type from the email account 37 super.setAccount(new android.accounts.Account(account.name, "unknown"));
|
H A D | CloudNotificationBackplane.java | 26 public boolean subscribeToGroup(String senderId, String account, String groupId) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
H A D | RecipientAdapter.java | 24 public RecipientAdapter(Context context, Account account) { argument 26 setAccount(account.getAccountManagerAccount());
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
H A D | AccountComparator.java | 16 package com.android.contacts.model.account; 23 * Orders accounts for display such that the default account is first 68 private static boolean isWritableGoogleAccount(AccountWithDataSet account) { argument 69 return GoogleAccountType.ACCOUNT_TYPE.equals(account.type) && account.dataSet == null;
|
H A D | DeviceLocalAccountType.java | 16 package com.android.contacts.model.account; 39 public AccountInfo wrapAccount(Context context, AccountWithDataSet account) { argument 43 new AccountDisplayInfo(account, getDisplayLabel(context), getDisplayLabel(context),
|
H A D | FallbackAccountType.java | 17 package com.android.contacts.model.account; 61 FeedbackHelper.sendFeedback(context, TAG, "Failed to build fallback account type", e); 101 * <p>This is overriden because the base class validates that the account.type matches 105 public AccountInfo wrapAccount(Context context, AccountWithDataSet account) { argument 107 new AccountDisplayInfo(account, account.name,
|
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 | AccountDisplayInfoFactory.java | 16 package com.android.contacts.model.account; 32 * For most accounts the account name will be used for the label but device accounts and 62 public AccountDisplayInfo getAccountDisplayInfo(AccountWithDataSet account) { argument 63 final AccountType type = mAccountTypeManager.getAccountTypeForAccount(account); 64 final CharSequence name = shouldUseTypeLabelForName(account) 66 : account.name; 67 return new AccountDisplayInfo(account, name, type.getDisplayLabel(mContext), 78 final AccountWithDataSet account = new AccountWithDataSet(delta.getAccountName(), 80 return getAccountDisplayInfo(account); 92 private boolean shouldUseTypeLabelForName(AccountWithDataSet account) { argument [all...] |
H A D | AccountInfo.java | 16 package com.android.contacts.model.account; 30 * Holds an {@link AccountWithDataSet} and the corresponding {@link AccountType} for an account. 51 * Returns the displayable account name label for the account 58 * Returns the displayable account type label for the account 65 * Returns the icon for the account type 92 * Returns whether accounts contains an account that is the same as account 94 * <p>This does not use equality rather checks whether the source account ({ 97 contains(List<AccountInfo> accounts, AccountInfo account) argument 107 contains(List<AccountInfo> accounts, AccountWithDataSet account) argument 114 getAccount(List<AccountInfo> accounts, AccountWithDataSet account) argument [all...] |
/packages/apps/TV/src/com/android/tv/util/account/ |
H A D | AccountHelper.java | 17 package com.android.tv.util.account; 22 /** Helper methods for getting and selecting a user account. */ 24 /** Returns the currently selected account or {@code null} if none is selected. */ 28 * Selects the first account available. 30 * @return selected account or {@code null} if none is selected.
|
H A D | AccountHelperImpl.java | 17 package com.android.tv.util.account; 25 /** Helper methods for getting and selecting a user account. */ 26 public class AccountHelperImpl implements com.android.tv.util.account.AccountHelper { 39 /** Returns the currently selected account or {@code null} if none is selected. */ 49 for (Account account : getEligibleAccounts()) { 50 if (account.name.equals(accountId)) { 51 mSelectedAccount = account; 69 * Selects the first account available. 71 * @return selected account or {@code null} if none is selected. 76 Account account 96 selectAccount(Account account) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | InlineAttachmentViewIntentBuilderCreator.java | 29 Account account, long conversationId); 28 createInlineAttachmentViewIntentBuilder( Account account, long conversationId) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationListHelper.java | 35 final Context context, final ControllableActivity activity, final Account account) { 42 conversationSyncDisabledTipView.bindAccount(account, activity); 47 conversationsInOutboxTipView.bind(account, activity.getFolderSelector()); 60 nestedFolderTeaserView.bind(account, activity.getFolderSelector()); 34 makeConversationListSpecialViews( final Context context, final ControllableActivity activity, final Account account) argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PhonebookPullRequest.java | 40 public PhonebookPullRequest(Context context, Account account) { argument 42 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/compat/ |
H A D | PhoneAccountSdkCompat.java | 34 public static Bundle getExtras(PhoneAccount account) { argument 35 return CompatUtils.isNCompatible() ? account.getExtras() : null;
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | DirectoryContactUtil.java | 28 import com.android.contacts.model.account.AccountWithDataSet; 49 ArrayList<ContentValues> values, AccountWithDataSet account, 54 context, values, account, 48 createCopy( ArrayList<ContentValues> values, AccountWithDataSet account, Context context) argument
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
H A D | ImportRequest.java | 21 import com.android.contacts.model.account.AccountWithDataSet; 38 public final Account account; field in class:ImportRequest 99 public ImportRequest(AccountWithDataSet account, argument 102 this.account = account != null ? account.getAccountOrNull() : null;
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
H A D | SelectAccountDialogFragment.java | 33 * Shows a dialog asking the user which account to chose. 64 final Account account = getItem(position); 66 text1.setText("Name: " + account.name); 67 text2.setText("Type: " + account.type); 86 builder.setTitle("Choose account to send to editor"); 99 void onAccountChosen(Account account, String dataSet, int tag); argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
H A D | TestSyncAdapter.java | 55 public void onPerformSync(Account account, Bundle extras, String authority, argument 58 Log.v(TestauthConstants.LOG_TAG, "TestSyncAdapter.onPerformSync() account=" + account); 72 // Claim all local-only contacts for the test account 74 .withValue(RawContacts.ACCOUNT_NAME, account.name) 75 .withValue(RawContacts.ACCOUNT_TYPE, account.type)
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
H A D | FallbackAccountType.java | 17 package com.android.contacts.common.model.account; 56 Log.e(TAG, "Problem building account type", e);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
H A D | TranscriptionBackfillService.java | 42 public static boolean scheduleTask(Context context, PhoneAccountHandle account) { argument 50 return scheduler.enqueue(builder.build(), makeWorkItem(account)) 58 private static JobWorkItem makeWorkItem(PhoneAccountHandle account) { argument 60 intent.putExtra(TranscriptionService.EXTRA_ACCOUNT_HANDLE, account);
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
H A D | ServiceStore.java | 39 * Creates a new store for the given account. 41 public ServiceStore(Account account, Context context) throws MessagingException { argument 43 mHostAuth = account.getOrCreateHostAuthRecv(mContext); 49 public static Store newInstance(Account account, Context context) throws MessagingException { argument 50 return new ServiceStore(account, context); 61 * @throws MessagingException if we can't authenticate the account
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | Utilities.java | 49 * into a newly created EmailProvider Message, given the account and mailbox 52 * @param account the account it will be stored into 57 public static void copyOneMessageToProvider(Context context, Message message, Account account, argument 69 String.valueOf(account.mId), 82 localMessage.mAccountKey = account.mId;
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | InsertQuickResponseDialog.java | 42 * Dialog which lists QuickResponses for the specified account. On user selection, will call 47 private static final String ACCOUNT_KEY = "account"; 69 newInstance(Fragment callbackFragment, Account account) { argument 82 args.putParcelable(ACCOUNT_KEY, account); 126 final Account account = getArguments().getParcelable(ACCOUNT_KEY); 131 return new CursorLoader(context, account.quickResponseUri,
|