HomeSort by relevance Sort by last modified time
    Searched refs:account (Results 126 - 150 of 337) sorted by null

1 2 3 4 56 7 8 91011>>

  /packages/apps/Settings/src/com/android/settings/
DebugIntentSender.java 46 String account = mAccountField.getText().toString();
53 intent.putExtra("account", account);
79 mAccountField = (EditText) findViewById(R.id.account);
MasterClear.java 19 import android.accounts.Account;
183 Account[] accounts = mgr.getAccounts();
198 Account account = accounts[i]; local
201 if (account.type.equals(descs[j].type)) {
207 Log.w(TAG, "No descriptor for account name=" + account.name
208 + " type=" + account.type);
218 Log.w(TAG, "No icon for account type " + desc.type);
223 child.setText(account.name)
    [all...]
  /external/robolectric/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));
  /packages/apps/Email/src/com/android/email/activity/
UIControllerBase.java 39 import com.android.emailcommon.provider.Account;
494 * @return the currently selected account ID, *or* {@link Account#ACCOUNT_ID_COMBINED_VIEW}.
501 * @return true if an account is selected, or the current view is the combined view.
504 return getUIAccountId() != Account.NO_ACCOUNT;
508 * @return if an actual account is selected. (i.e. {@link Account#ACCOUNT_ID_COMBINED_VIEW}
512 return isAccountSelected() && (getUIAccountId() != Account.ACCOUNT_ID_COMBINED_VIEW);
516 * @return the currently selected account ID. If the current view is the combined view,
517 * it'll return {@link Account#NO_ACCOUNT}
650 Account account = Account.restoreAccountWithId(mActivity, accountId); local
708 Account account = getMessageListFragment().getAccount(); local
800 Account account = Account.restoreAccountWithId(mActivity, accountId); local
1035 Account account = Account.restoreAccountWithId(mActivity, accountId); local
    [all...]
  /frameworks/base/services/java/com/android/server/content/
ContentService.java 20 import android.accounts.Account;
310 public void requestSync(Account account, String authority, Bundle extras) {
321 syncManager.scheduleSync(account, userId, uId, authority, extras, 0 /* no delay */,
331 * if they match the authority and account, if they are present.
332 * @param account filter the pending and active syncs to cancel using this account
335 public void cancelSync(Account account, String authority) {
344 syncManager.clearScheduledSyncOperations(account, userId, authority)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsFragment.java 51 import com.android.emailcommon.provider.Account;
57 * Fragment containing the main logic for account settings. This also calls out to other
61 * TODO: Can we defer calling addPreferencesFromResource() until after we load the account? This
107 private Account mAccount;
115 /** The e-mail of the account being edited. */
125 public void onSettingsChanged(Account account, String preference, Object value);
126 public void onEditQuickResponses(Account account);
127 public void onIncomingSettings(Account account)
334 Account account = Account.restoreAccountWithId(mContext, accountId); local
351 Account account = (Account) results[0]; local
    [all...]
AccountSetupIncoming.java 22 import com.android.emailcommon.provider.Account;
36 * the settings as entered. If the account is OK, proceeds to AccountSetupOutgoing.
45 public static void actionIncomingSettings(Activity fromActivity, int mode, Account account) {
47 SetupData.setAccount(account);
86 * Launches the account checker. Positive results are reported to onCheckSettingsOk().
AccountSetupOutgoing.java 22 import com.android.emailcommon.provider.Account;
36 * the settings as entered. If the account is OK, proceeds to AccountSetupOptions.
45 public static void actionOutgoingSettings(Activity fromActivity, int mode, Account account) {
47 SetupData.setAccount(account);
86 * Launches the account checker. Positive results are reported to onCheckSettingsOk().
MailboxSettings.java 40 import com.android.emailcommon.provider.Account;
53 * the target mailbox is Inbox, in which case it updates Account settings instead.
61 private static final String BUNDLE_ACCOUNT = "MailboxSettings.account";
70 // Account and Mailbox -- directly loaded by LoadMailboxTask
71 private Account mAccount;
167 mAccount = Account.restoreAccountWithId(c, mMailbox.mAccountKey);
175 finish(); // Account or mailbox removed.
186 * @param account the Account (or owner of a Mailbox) whose preference is being set
189 Account account)
344 final Account account = mAccount; local
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
AuthenticatorActivity.java 23 import android.accounts.Account;
84 /** Was the original caller asking for an entirely new account? */
173 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE); local
174 mAccountManager.setPassword(account, mPassword);
187 * account - so we're never storing the user's actual password locally.
194 final Account account = new Account(mUsername, Constants.ACCOUNT_TYPE) local
    [all...]
  /frameworks/base/packages/Shell/src/com/android/shell/
BugreportReceiver.java 22 import android.accounts.Account;
131 final Account sendToAccount = findSendToAccount(context);
140 * Find the best matching {@link Account} based on build properties.
142 private static Account findSendToAccount(Context context) {
151 final Account[] accounts = am.getAccounts();
152 Account foundAccount = null;
153 for (Account account : accounts) {
154 if (Patterns.EMAIL_ADDRESS.matcher(account.name).matches()) {
158 if (account.name.endsWith(preferredDomain))
    [all...]
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
SectionedAlbumDataAdapter.java 73 if (previous.isEmpty() || !previous.equals(item.account)) {
74 if (DEBUG) Log.i(TAG, "previous = " + previous +", title = " + item.account);
75 previous = item.account;
87 if (previous.isEmpty() || !previous.equals(item.account)) {
88 previous = item.account;
131 return mAlbumData.getItem(internalPosition(position+1)).account;
  /frameworks/base/core/java/android/accounts/
ChooseTypeAndAccountActivity.java 53 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those
61 * used to filter the allowable account types if add account is selected.
85 * If set then the specified account is already "selected".
90 * If true then display the account selection list even if there is just
91 * one account to choose from. boolean.
115 private Set<Account> mSetOfAllowableAccounts;
122 private ArrayList<Account> mAccounts;
175 // If the selected account as specified in the intent matches one in the list we will
177 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT)
224 Account account = mAccounts.get(0); local
    [all...]
GrantCredentialsPermissionActivity.java 39 public static final String EXTRAS_ACCOUNT = "account";
46 private Account mAccount;
67 // Grant 'account'/'type' to mUID
135 private String getAccountLabel(Account account) {
140 if (desc.type.equals(account.type)) {
144 return account.type;
146 return account.type;
150 return account.type;
  /packages/apps/Email/src/com/android/email/service/
MailService.java 44 import com.android.emailcommon.provider.Account;
75 private static final String EXTRA_ACCOUNT = "com.android.email.intent.extra.ACCOUNT";
127 * @param accountId the account whose pending mail should be sent
165 // If we have the data, restore the last-sync-times for each account
169 // Sync a specific account if given
177 // Start sync if account is given && auto-sync is allowed
195 // Prevent runaway on the current account by pretending it updated
199 // Find next account to sync, and reschedule
221 Cursor c = mContentResolver.query(Account.CONTENT_URI, Account.ID_PROJECTION
515 Account account = Account.getContent(c, Account.class); local
674 Account account = Account.restoreAccountWithId(context, accountId); local
    [all...]
AccountService.java 34 import com.android.emailcommon.provider.Account;
58 private ArrayList<Account> getAccountList(String forProtocol) {
59 ArrayList<Account> providerAccounts = new ArrayList<Account>();
60 Cursor c = mContext.getContentResolver().query(Account.CONTENT_URI,
61 Account.ID_PROJECTION, null, null, null);
64 long accountId = c.getLong(Account.CONTENT_ID_COLUMN);
65 String protocol = Account.getProtocol(mContext, accountId);
67 Account account = Account.restoreAccountWithId(mContext, accountId)
    [all...]
  /frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
RequestSync.java 20 import android.accounts.Account;
32 // account & authority
64 final Account account = mAccountName != null && mAccountType != null local
65 ? new Account(mAccountName, mAccountType) : null;
68 if (account != null) {
69 System.out.printf(" Account: %s (%s)\n", account.name, account.type);
71 System.out.printf(" Account: all\n")
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/
EasSyncServiceTests.java 25 import com.android.emailcommon.provider.Account;
63 // The value will be "0" without an account
69 // With an account, but null security key, the header's value should be "0"
70 Account account = new Account(); local
71 account.mSecuritySyncKey = null;
72 svc.mAccount = account;
78 // With an account and security key, the header's value should be the security key
79 account.mSecuritySyncKey = "key"
    [all...]
  /packages/apps/Email/src/com/android/email/widget/
EmailWidgetLoader.java 21 import com.android.emailcommon.provider.Account;
68 * addition to a message count and account name. The later elements were opportunistically
92 /** Gets the display name of the account */
126 Account account = Account.restoreAccountWithId(mContext, mAccountId); local
128 if (account != null) {
129 accountName = account.mDisplayName;
131 if (mAccountId == Account.ACCOUNT_ID_COMBINED_VIEW) {
132 int accountCount = EmailContent.count(mContext, Account.CONTENT_URI)
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
AuthenticatorHelper.java 19 import android.accounts.Account;
49 * Gets an icon associated with a particular account type. If none found, return null.
50 * @param accountType the type of account
75 * Gets the label associated with a particular account type. If none found, return null.
76 * @param accountType the type of account
87 Log.w(TAG, "No label name for account type " + accountType);
89 Log.w(TAG, "No label icon for account type " + accountType);
106 public void onAccountsUpdated(Context context, Account[] accounts) {
112 for (Account account: accounts)
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DirectoryTest.java 19 import android.accounts.Account;
97 // Visible because there is no account
101 Account account = new Account("accountName", "accountType"); local
102 long groupId = createGroup(account, "sid", "def",
105 "Parr", account));
  /packages/apps/Email/src/com/android/email/
Controller.java 42 import com.android.emailcommon.provider.Account;
87 // Note that 0 is a syntactically valid account key; however there can never be an account
88 // with id = 0, so attempts to restore the account will return null. Null values are
270 * Returns the search mailbox for the specified account, creating one if necessary
271 * @return the search mailbox for the passed in account
340 * Request a remote update of mailboxes for an account.
417 Account account =
418 Account.restoreAccountWithId(mProviderContext, accountId)
598 final Account account = local
782 Account account = Account.getAccountForMessageId(mProviderContext, messageId); local
    [all...]
  /packages/apps/Browser/src/com/android/browser/
DeviceAccountLogin.java 19 import android.accounts.Account;
35 Account[] mAccounts;
59 public void handleLogin(String realm, String account, String args) {
68 // Verify the account before using it.
69 for (Account a : mAccounts) {
70 if (a.name.equals(account)) {
72 // account to use.
117 // Display the account picker.
  /packages/apps/Contacts/src/com/android/contacts/editor/
BaseRawContactEditorView.java 34 import com.android.contacts.common.model.account.AccountType;
35 import com.android.contacts.common.model.account.AccountType.EditType;
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
PolicyServiceProxy.java 25 import com.android.emailcommon.provider.Account;
107 public static void setAccountHoldFlag(Context context, Account account, boolean newState) {
109 new PolicyServiceProxy(context).setAccountHoldFlag(account.mId, newState);

Completed in 476 milliseconds

1 2 3 4 56 7 8 91011>>