HomeSort by relevance Sort by last modified time
    Searched refs:account (Results 151 - 175 of 541) sorted by null

1 2 3 4 5 67 8 91011>>

  /packages/apps/Email/src/com/android/email/preferences/
EmailPreferenceMigrator.java 29 import com.android.mail.providers.Account;
46 final List<Account> accounts = new ArrayList<Account>();
60 accounts.add(Account.builder().buildFrom(accountCursor));
72 final List<Account> accounts) {
92 for (final Account account : accounts) {
93 // Get the emailcommon account
95 com.android.emailcommon.provider.Account.CONTENT_URI,
96 com.android.emailcommon.provider.Account.CONTENT_PROJECTION
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/drawer/
AccountDrawerItem.java 25 import com.android.mail.providers.Account;
31 /** True if the drawer item represents the current account, false otherwise */
36 AccountDrawerItem(ControllableActivity activity, Account account,
39 super(activity, null, NONFOLDER_ITEM, account);
43 // TODO: Unread count should eventually percolate through to the account switcher
52 * Return a view for an account object.
HelpItem.java 21 import com.android.mail.providers.Account;
28 HelpItem(ControllableActivity activity, Account account,
30 super(activity, account, drawerListener,
SettingsItem.java 21 import com.android.mail.providers.Account;
28 SettingsItem(ControllableActivity activity, Account account,
30 super(activity, account, drawerListener,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/
AccountsChangedReceiver.java 44 // 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/UnifiedEmail/src/com/android/mail/providers/
MailAppProvider.java 64 * 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; local
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)
380 Account account = accountEntry.mAccount; local
477 final Account account = Account.builder().buildFrom(data); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
MailboxSelectionActivity.java 20 import com.android.mail.providers.Account;
61 private static final String ACCOUNT = "name";
62 private static final String[] COLUMN_NAMES = { ACCOUNT };
73 // 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 o
368 Account account; local
    [all...]
FolderSelectionDialog.java 29 import com.android.mail.providers.Account;
42 private static final String ARG_ACCOUNT_TAG = "account";
50 protected Account mAccount;
54 public static FolderSelectionDialog getInstance(final Account account,
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/ContactsCommon/src/com/android/contacts/common/model/
AccountTypeManager.java 19 import android.accounts.Account;
46 import com.android.contacts.common.model.account.AccountType;
47 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
48 import com.android.contacts.common.model.account.AccountWithDataSet;
49 import com.android.contacts.common.model.account.ExchangeAccountType;
50 import com.android.contacts.common.model.account.ExternalAccountType;
51 import com.android.contacts.common.model.account.FallbackAccountType;
52 import com.android.contacts.common.model.account.GoogleAccountType;
53 import com.android.contacts.common.model.account.SamsungAccountType;
98 * Set the instance of account type manager. This is only for and should only be used by uni
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
AccountTypeManagerTest.java 23 import com.android.contacts.common.model.account.AccountType;
24 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
25 import com.android.contacts.common.model.account.AccountWithDataSet;
45 // Define account types.
89 // With invite support, 1 account
96 // With invite support, 2 account
149 for (AccountWithDataSet account : accounts) {
150 result.add(account);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
AccountImageChangeObserver.java 19 import android.accounts.Account;
48 private final Account mWatchedAccount;
54 public ContactChangeContentObserver(Context context, Account watchedAccount) {
115 // Only register URIs that match the Account Image URI schema, and
130 Account thisAccount = null;
131 for (Account account : AccountManager.get(context).
133 if (account.name.equals(accountName)) {
134 thisAccount = account;
163 private long getContactIdForAccount(Context context, Account account)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/widget/
WidgetService.java 44 import com.android.mail.providers.Account;
74 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"
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
Utils.java 58 import com.android.mail.providers.Account;
90 public static final String EXTRA_ACCOUNT = "account";
467 * @param account
471 Conversation conversation, final Uri folderUri, Account account) {
479 intent.setDataAndType(uniqueUri, account.mimeType);
480 intent.putExtra(Utils.EXTRA_ACCOUNT, account.serialize());
490 * @param account
494 Account account) {
    [all...]
  /packages/apps/Email/provider_src/com/android/email/service/
PopImapSyncAdapterService.java 36 import com.android.emailcommon.provider.Account;
63 public void onPerformSync(android.accounts.Account account, Bundle extras,
65 PopImapSyncAdapterService.performSync(getContext(), account, extras, provider, local
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)
    [all...]
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
OmtpVvmSyncService.java 86 VvmLog.v(TAG, "Sync requested: " + action + " - for account: " + phoneAccount);
93 VvmLog.v(TAG, "Sync requested for disabled account");
143 private boolean syncAll(String action, ImapHelper imapHelper, PhoneAccountHandle account) {
151 downloadSuccess = download(imapHelper, account);
161 PhoneAccountHandle account) {
162 if (shouldPerformPrefetch(account, imapHelper)) {
164 voicemail.getUri(), account);
200 private boolean download(ImapHelper imapHelper, PhoneAccountHandle account) {
235 boolean prefetchEnabled = shouldPerformPrefetch(account, imapHelper);
240 new VoicemailFetchedCallback(mContext, uri, account);
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
DataObjectUnitTests.java 59 PhoneAccount account = PhoneAccount.builder( local
69 assertNotNull(account);
70 assertEquals(accountHandle, account.getAccountHandle());
71 assertEquals(tel, account.getAddress());
72 assertEquals(tel, account.getSubscriptionAddress());
73 assertEquals(PhoneAccount.CAPABILITY_CALL_PROVIDER, account.getCapabilities());
74 assertEquals(Color.RED, account.getHighlightColor());
75 assertEquals(ACCOUNT_LABEL, account.getShortDescription());
76 assertEquals(ACCOUNT_LABEL, account.getLabel());
77 assertEquals(Arrays.asList("tel"), account.getSupportedUriSchemes())
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
PhoneAccountRegistrar.java 87 * delegate for all the account handling methods on {@link android.telecom.TelecomManager} as
99 * 2) The user which owns/registers the phone account.
100 * 3) The user running the app that is requesting the phone account information.
108 * In practice, (2) is stored with the phone account handle and is part of the handle's ID. (1) is
123 private static final String FILE_NAME = "phone-account-registrar-state.xml";
148 // TODO: This file path is subject to change -- it is storing the phone account registry
167 * Retrieves the subscription id for a given phone account if it exists. Subscription ids
170 * @param accountHandle The handle for the phone account for which to retrieve the
175 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); local
177 if (account != null && account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION))
240 PhoneAccount account = getPhoneAccount(defaultPhoneAccountHandle.phoneAccountHandle, local
302 PhoneAccount account = getPhoneAccount(accountHandle, userHandle); local
445 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); local
650 PhoneAccount account = getPhoneAccountUnchecked(accountHandle); local
841 PhoneAccount account = getPhoneAccountUnchecked(handle); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryFacilitatorImpl.java 57 * 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) {
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;
    [all...]
DictionaryFacilitator.java 41 * 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);
120 @Nullable final String account,
131 @Nullable final String account);
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountServerSettingsActivity.java 30 import com.android.emailcommon.provider.Account;
39 * {@link com.android.emailcommon.provider.Account}
41 private static final String EXTRA_ACCOUNT = "account";
51 public static Intent getIntentForIncoming(final Context context, final Account account) {
53 intent.putExtra(EXTRA_ACCOUNT, account);
58 public static Intent getIntentForOutgoing(final Context context, final Account account) {
60 intent.putExtra(EXTRA_ACCOUNT, account);
75 final Account account = getIntent().getParcelableExtra(EXTRA_ACCOUNT) local
    [all...]
AccountSetupIncomingFragment.java 48 import com.android.emailcommon.provider.Account;
61 * Provides UI for IMAP/POP account settings.
199 final Account account = mSetupData.getAccount(); local
200 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext);
218 new SpinnerOption(Account.DELETE_POLICY_NEVER,
221 new SpinnerOption(Account.DELETE_POLICY_ON_DELETE,
321 * Configure the editor for the account type
324 final Account account = mSetupData.getAccount() local
509 final Account account = setupData.getAccount(); local
529 final Account account = setupData.getAccount(); local
547 final Account account = mSetupData.getAccount(); local
640 final Account account = mSetupData.getAccount(); local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DataKind.java 23 import com.android.contacts.common.model.account.AccountType.EditField;
24 import com.android.contacts.common.model.account.AccountType.EditType;
25 import com.android.contacts.common.model.account.AccountType.StringInflater;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
PeriodicSyncTest.java 3 import android.accounts.Account;
20 Account a = new Account("a", "b");
24 assertThat(sync.account, is(a));
  /frameworks/base/cmds/telecom/src/com/android/commands/telecom/
Telecom.java 46 private static final String COMMAND_SET_PHONE_ACCOUNT_ENABLED = "set-phone-account-enabled";
47 private static final String COMMAND_SET_PHONE_ACCOUNT_DISABLED = "set-phone-account-disabled";
48 private static final String COMMAND_REGISTER_PHONE_ACCOUNT = "register-phone-account";
49 private static final String COMMAND_REGISTER_SIM_PHONE_ACCOUNT = "register-sim-phone-account";
50 private static final String COMMAND_UNREGISTER_PHONE_ACCOUNT = "unregister-phone-account";
64 "usage: telecom set-phone-account-enabled <COMPONENT> <ID> <USER_SN>\n" +
65 "usage: telecom set-phone-account-disabled <COMPONENT> <ID> <USER_SN>\n" +
66 "usage: telecom register-phone-account <COMPONENT> <ID> <USER_SN> <LABEL>\n" +
67 "usage: telecom register-sim-phone-account <COMPONENT> <ID> <USER_SN> <LABEL> <ADDRESS>\n" +
68 "usage: telecom unregister-phone-account <COMPONENT> <ID> <USER_SN>\n"
146 PhoneAccount account = PhoneAccount.builder(handle, label) local
156 PhoneAccount account = PhoneAccount.builder( local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
InsertQuickResponseDialog.java 38 import com.android.mail.providers.Account;
42 * Dialog which lists QuickResponses for the specified account. On user selection, will call
46 // Key for the Account object in the arguments bundle
47 private static final String ACCOUNT_KEY = "account";
69 newInstance(Fragment callbackFragment, Account account) {
82 args.putParcelable(ACCOUNT_KEY, account);
126 final Account account = getArguments().getParcelable(ACCOUNT_KEY); local
131 return new CursorLoader(context, account.quickResponseUri
    [all...]

Completed in 1381 milliseconds

1 2 3 4 5 67 8 91011>>