Searched refs:account (Results 101 - 125 of 381) sorted by relevance

1234567891011>>

/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
H A DHelpItem.java28 HelpItem(ControllableActivity activity, Account account, argument
30 super(activity, account, drawerListener,
H A DSettingsItem.java28 SettingsItem(ControllableActivity activity, Account account, argument
30 super(activity, account, drawerListener,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
H A DAccountsChangedReceiver.java44 // Ideally the account preference could live in a different preferences file
71 for (final String account : accounts) {
72 if (TextUtils.equals(currentAccount, account)) {
76 Log.i(TAG, "The current account was removed from the system: " + currentAccount);
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListFilter.java29 import com.android.contacts.model.account.AccountWithDataSet;
30 import com.android.contacts.model.account.GoogleAccountType;
102 AccountWithDataSet account) {
104 account.type, account.name, account.dataSet, icon);
166 return "account: " + accountType + (dataSet != null ? "/" + dataSet : "")
327 * Adds the account query parameters to the given {@code uriBuilder}.
338 // null account names are not valid, see ContactsProvider2#appendAccountFromParameter
400 * Returns true if this ContactListFilter contains at least one Google account
101 createDeviceContactsFilter(Drawable icon, AccountWithDataSet account) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DMailAppProvider.java64 * During development this will allow new account types to be added, and allow them to be shown in
117 * {@link Context#startActivityForResult(android.content.Intent)} when the account provider
154 // Load the previously saved account list
158 // Load the uris for the account list
218 final Account account = accountEntry.mAccount;
220 final Map<String, Object> accountValues = account.getValueMap();
269 * {@link Context#startActivity(android.content.Intent)} when the account provider doesn't
295 private void addAccountImpl(Account account, Uri accountsQueryUri, boolean notify) { argument
296 addAccountImpl(account.uri, new AccountCacheEntry(account, accountsQueryUr
534 AccountCacheEntry(Account account, Uri accountQueryUri) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DMailboxSelectionActivity.java73 // Boolean to indicate that we are waiting for the result from an add account
107 // we should set the title to "Select account".
114 // if we display the account list
221 // No account found, show Add Account screen, for both the widget or
223 // No account found, show Add Account screen, for both the widget or
229 // No reason to display the account list
232 // Indicate that we need to handle the response from the add account action
237 // When configuring a widget, if there is only one account, automatically
238 // choose that account.
241 // No reason to display the account lis
274 selectAccount(Account account) argument
325 showWaitFragment(Account account) argument
[all...]
H A DFolderSelectionDialog.java42 private static final String ARG_ACCOUNT_TAG = "account";
54 public static FolderSelectionDialog getInstance(final Account account, argument
59 * present on the account, so we should be able to remove the check here.
62 if (isMoveTo || !account.supportsCapability(
70 args.putParcelable(ARG_ACCOUNT_TAG, account);
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DAccountImageChangeObserver.java129 for (Account account : AccountManager.get(context).
131 if (account.name.equals(accountName)) {
132 thisAccount = account;
161 private long getContactIdForAccount(Context context, Account account) { argument
162 // Look up this account in the contacts database.
170 String[] selectionArgs = new String[] { account.name };
/packages/apps/Dialer/java/com/android/contacts/common/model/
H A DAccountTypeManager.java47 import com.android.contacts.common.model.account.AccountType;
48 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
49 import com.android.contacts.common.model.account.AccountWithDataSet;
50 import com.android.contacts.common.model.account.ExchangeAccountType;
51 import com.android.contacts.common.model.account.ExternalAccountType;
52 import com.android.contacts.common.model.account.FallbackAccountType;
53 import com.android.contacts.common.model.account.GoogleAccountType;
54 import com.android.contacts.common.model.account.SamsungAccountType;
96 * Set the instance of account type manager. This is only for and should only be used by unit
124 public final AccountType getAccountTypeForAccount(AccountWithDataSet account) { argument
164 contains(AccountWithDataSet account, boolean contactWritableOnly) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetService.java74 int appWidgetId, Account account, final int folderType, final int folderCapabilities,
76 configureValidAccountWidget(context, remoteViews, appWidgetId, account, folderType,
82 * Modifies the remoteView for the given account and folder.
85 int appWidgetId, Account account, final int folderType, final int folderCapabilities,
90 // If the folder or account name are empty, we don't want to overwrite the valid data that
94 if (TextUtils.isEmpty(folderDisplayName) || TextUtils.isEmpty(account.getDisplayName())) {
96 "Empty folder or account name. account: %s, folder: %s",
97 account.getEmailAddress(), folderDisplayName);
110 WidgetService.configureValidWidgetIntents(context, remoteViews, appWidgetId, account,
73 configureValidAccountWidget(Context context, RemoteViews remoteViews, int appWidgetId, Account account, final int folderType, final int folderCapabilities, final Uri folderUri, final Uri folderConversationListUri, String folderName) argument
84 configureValidAccountWidget(Context context, RemoteViews remoteViews, int appWidgetId, Account account, final int folderType, final int folderCapabilities, final Uri folderUri, final Uri folderConversationListUri, String folderDisplayName, Class<?> widgetService) argument
115 configureValidWidgetIntents(Context context, RemoteViews remoteViews, int appWidgetId, Account account, final int folderType, final int folderCapabilities, final Uri folderUri, final Uri folderConversationListUri, final String folderDisplayName, Class<?> serviceClass) argument
172 saveWidgetInformation(Context context, int appWidgetId, Account account, final String folderUri) argument
180 isWidgetConfigured(Context context, int appWidgetId, Account account) argument
185 isAccountValid(Context context, Account account) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DUtils.java91 public static final String EXTRA_ACCOUNT = "account";
472 * @param account
476 Conversation conversation, final Uri folderUri, Account account) {
484 intent.setDataAndType(uniqueUri, account.mimeType);
485 intent.putExtra(Utils.EXTRA_ACCOUNT, account.serialize());
495 * @param account
499 Account account) {
500 if (folderUri == null || account == null) {
502 account);
508 intent.setDataAndType(appendVersionQueryParameter(context, folderUri), account
475 createViewConversationIntent(final Context context, Conversation conversation, final Uri folderUri, Account account) argument
498 createViewFolderIntent(final Context context, final Uri folderUri, Account account) argument
520 createViewInboxIntent(Account account) argument
541 showHelp(Context context, Account account, String helpTopic) argument
606 showSettings(Context context, Account account) argument
622 showAccountSettings(Context context, Account account) argument
640 sendFeedback(Activity activity, Account account, boolean reportingProblem) argument
970 divertMailtoUri(final Context context, final Uri uri, final Account account) argument
[all...]
/packages/apps/Email/provider_src/com/android/email/service/
H A DPopImapSyncAdapterService.java63 public void onPerformSync(android.accounts.Account account, Bundle extras, argument
65 PopImapSyncAdapterService.performSync(getContext(), account, extras, provider,
108 Account account = Account.restoreAccountWithId(context, mailbox.mAccountKey);
109 if (account == null) return;
111 String protocol = account.getProtocol(context);
134 EmailServiceStub.sendMailImpl(context, account.mId);
142 status = ImapService.synchronizeMailboxSynchronous(context, account,
145 status = Pop3Service.synchronizeMailboxSynchronous(context, account,
194 private static void performSync(Context context, android.accounts.Account account, argument
196 // Find an EmailProvider account wit
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryFacilitatorImpl.java57 * to instantiate and select the correct dictionaries (based on language or account),
108 * Returns whether this facilitator is exactly for this account.
110 * @param account the account to test against.
112 public boolean isForAccount(@Nullable final String account) { argument
113 return TextUtils.equals(mDictionaryGroup.mAccount, account);
133 * The user account associated with the dictionary group.
149 this(null /* locale */, null /* mainDict */, null /* account */,
155 @Nullable final String account,
158 mAccount = account;
153 DictionaryGroup(@ullable final Locale locale, @Nullable final Dictionary mainDict, @Nullable final String account, final Map<String, ExpandableBinaryDictionary> subDicts) argument
192 hasDict(final String dictType, @Nullable final String account) argument
251 getSubDict(final String dictType, final Context context, final Locale locale, final File dictFile, final String dictNamePrefix, @Nullable final String account) argument
279 resetDictionaries( final Context context, final Locale newLocale, final boolean useContactsDict, final boolean usePersonalizedDicts, final boolean forceReloadMainDictionary, @Nullable final String account, final String dictNamePrefix, @Nullable final DictionaryInitializationListener listener) argument
421 resetDictionariesForTesting(final Context context, final Locale locale, final ArrayList<String> dictionaryTypes, final HashMap<String, File> dictionaryFiles, final Map<String, Map<String, String>> additionalDictAttributes, @Nullable final String account) argument
[all...]
H A DDictionaryFacilitator.java41 * instantiate and select the correct dictionaries (based on language or account), update entries
78 * Returns whether this facilitator is exactly for this account.
80 * @param account the account to test against.
82 boolean isForAccount(@Nullable final String account); argument
120 @Nullable final String account,
131 @Nullable final String account);
114 resetDictionaries( final Context context, final Locale newLocale, final boolean useContactsDict, final boolean usePersonalizedDicts, final boolean forceReloadMainDictionary, @Nullable final String account, final String dictNamePrefix, @Nullable final DictionaryInitializationListener listener) argument
125 resetDictionariesForTesting( final Context context, final Locale locale, final ArrayList<String> dictionaryTypes, final HashMap<String, File> dictionaryFiles, final Map<String, Map<String, String>> additionalDictAttributes, @Nullable final String account) argument
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DAccountHeaderPresenter.java29 import com.android.contacts.model.account.AccountInfo;
30 import com.android.contacts.model.account.AccountWithDataSet;
37 * Controls the display of an account selector or header.
68 // This would be different if the account was readonly
89 public void setCurrentAccount(@NonNull AccountWithDataSet account) { argument
90 if (mCurrentAccount != null && mCurrentAccount.equals(account)) {
93 mCurrentAccount = account;
102 // If the current account hasn't been set or it has been removed just use the first
103 // account.
144 // Set the account nam
214 getAccountLabel(AccountWithDataSet account) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DSelectPhoneAccountDialogFragment.java51 * the choice to set the phone account as default.
72 * @param listener The listener for the results of the account selection.
88 * @param listener The listener for the results of the account selection.
247 PhoneAccount account = mTelecomManager.getPhoneAccount(accountHandle);
248 if (account == null) {
251 holder.labelTextView.setText(account.getLabel());
252 if (account.getAddress() == null ||
253 TextUtils.isEmpty(account.getAddress().getSchemeSpecificPart())) {
259 account.getAddress().getSchemeSpecificPart()));
261 holder.imageView.setImageDrawable(PhoneAccountCompat.createIconDrawable(account,
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountServerSettingsActivity.java41 private static final String EXTRA_ACCOUNT = "account";
51 public static Intent getIntentForIncoming(final Context context, final Account account) { argument
53 intent.putExtra(EXTRA_ACCOUNT, account);
58 public static Intent getIntentForOutgoing(final Context context, final Account account) { argument
60 intent.putExtra(EXTRA_ACCOUNT, account);
75 final Account account = getIntent().getParcelableExtra(EXTRA_ACCOUNT);
76 if (account == null) {
77 throw new IllegalArgumentException("No account present in intent");
79 mSetupData.setAccount(account);
H A DAccountSetupIncomingFragment.java61 * Provides UI for IMAP/POP account settings.
199 final Account account = mSetupData.getAccount();
200 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext);
321 * Configure the editor for the account type
324 final Account account = mSetupData.getAccount();
325 if (account == null || account.mHostAuthRecv == null) {
327 "null account or host auth. account null: %b host auth null: %b",
328 account
[all...]
H A DAccountSetupNamesFragment.java83 final Account account = setupData.getAccount();
87 final String accountEmail = account.mEmailAddress;
94 // Remember whether we're an EAS account, since it doesn't require the user name field
101 if (account.getSenderName() != null) {
102 mName.setText(account.getSenderName());
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
H A DDataKind.java23 import com.android.contacts.model.account.AccountType.EditField;
24 import com.android.contacts.model.account.AccountType.EditType;
25 import com.android.contacts.model.account.AccountType.StringInflater;
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
H A DDataKind.java22 import com.android.contacts.common.model.account.AccountType.EditField;
23 import com.android.contacts.common.model.account.AccountType.EditType;
24 import com.android.contacts.common.model.account.AccountType.StringInflater;
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
H A DOmtpVvmSyncService.java82 VvmLog.v(TAG, "Sync requested: " + action + " - for account: " + phoneAccount);
93 VvmLog.v(TAG, "Sync requested for disabled account");
222 private boolean syncAll(String action, ImapHelper imapHelper, PhoneAccountHandle account) { argument
227 uploadSuccess = upload(account, imapHelper);
230 downloadSuccess = download(imapHelper, account);
244 private boolean syncOne(ImapHelper imapHelper, Voicemail voicemail, PhoneAccountHandle account) { argument
245 if (shouldPerformPrefetch(account, imapHelper)) {
247 new VoicemailFetchedCallback(mContext, voicemail.getUri(), account);
284 private boolean download(ImapHelper imapHelper, PhoneAccountHandle account) { argument
286 List<Voicemail> localVoicemails = mQueryHelper.getAllVoicemails(account);
342 shouldPerformPrefetch(PhoneAccountHandle account, ImapHelper imapHelper) argument
[all...]
/packages/apps/Email/src/com/android/email/activity/
H A DInsertQuickResponseDialog.java42 * 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,
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSetupOptionsTests.java170 final Account account = new Account();
171 account.setSenderName(name);
173 final HostAuth auth = account.getOrCreateHostAuthRecv(context);
178 setupDataFragment.setAccount(account);
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTestUtils.java48 * Create an account for test purposes
51 Account account = new Account();
53 account.mDisplayName = name;
54 account.mEmailAddress = name + "@android.com";
55 account.mSyncKey = "sync-key-" + name;
56 account.mSyncLookback = 1;
57 account.mSyncInterval = Account.CHECK_INTERVAL_NEVER;
58 account.mHostAuthKeyRecv = 0;
59 account.mHostAuthKeySend = 0;
60 account
[all...]

Completed in 540 milliseconds

1234567891011>>