HomeSort by relevance Sort by last modified time
    Searched refs:account (Results 201 - 225 of 312) sorted by null

1 2 3 4 5 6 7 891011>>

  /packages/apps/Exchange/exchange2/src/com/android/exchange/provider/
ExchangeDirectoryProvider.java 21 import com.android.emailcommon.provider.Account;
181 * Find the record id of an Account, given its name (email address)
182 * @param accountName the name of the account
183 * @return the record id of the Account, or -1 if not found
188 accountId = Utility.getFirstRowLong(context, Account.CONTENT_URI,
210 android.accounts.Account[] accounts = AccountManager.get(getContext())
214 for (android.accounts.Account account : accounts) {
220 row[i] = account.name;
222 row[i] = account.type
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactSaveService.java 53 import com.android.contacts.model.account.AccountWithDataSet;
224 ArrayList<ContentValues> values, AccountWithDataSet account,
229 if (account != null) {
230 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
231 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
232 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
555 * @param account in which the group should be created
562 public static Intent createNewGroupIntent(Context context, AccountWithDataSet account,
567 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
568 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name)
    [all...]
ContactsUtils.java 38 import com.android.contacts.model.account.AccountType;
39 import com.android.contacts.model.account.AccountWithDataSet;
205 * Returns the intent to launch for the given invitable account type and contact lookup URI.
206 * This will return null if the account type is not invitable (i.e. there is no
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 19 import android.accounts.Account;
348 * Returns the default account on the device.
352 Account[] accounts = mAccountManager.getAccountsByType("com.google");
356 Account account = accounts[accounts.length - 1]; local
357 Log.v(TAG, "Found " + accounts.length + " accounts; using the last one, " + account.name);
358 return account.name;
  /external/chromium/net/tools/testserver/
chromiumsync.py 236 """Models the account state of one sync user."""
535 that actually exists (and is not deleted) in the current account state.
586 """Attempt to commit one entry to the user's account.
697 """An object to handle requests for one (and only one) Chrome Sync account.
705 # The implementation supports exactly one account; its state is here.
706 self.account = SyncDataModel()
746 response.store_birthday = self.account.store_birthday
752 # We accept any authentication token, and support only one account.
768 """Respond to a Commit request by updating the user's account state.
786 # Try to commit the change to the account
    [all...]
  /frameworks/base/test-runner/src/android/test/
IsolatedContext.java 27 import android.accounts.Account;
135 public Account[] getAccounts() {
136 return new Account[]{};
139 public AccountManagerFuture<Account[]> getAccountsByTypeAndFeatures(
141 AccountManagerCallback<Account[]> callback, Handler handler) {
142 return new MockAccountManagerFuture<Account[]>(new Account[0]);
145 public String blockingGetAuthToken(Account account, String authTokenType,
  /packages/apps/Contacts/src/com/android/contacts/activities/
GroupDetailActivity.java 37 import com.android.contacts.model.account.AccountType;
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailUpdatesFragment.java 36 import com.android.contacts.model.account.AccountType;
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionView.java 32 import com.android.contacts.model.account.AccountType;
EventFieldEditorView.java 34 import com.android.contacts.model.account.AccountType.EditField;
35 import com.android.contacts.model.account.AccountType.EventEditType;
RawContactEditorView.java 44 import com.android.contacts.model.account.AccountType;
45 import com.android.contacts.model.account.AccountType.EditType;
165 // Bail if invalid state or account type
176 // Fill in the account info
360 * account. Returns -1 if there is no such group.
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListFilterView.java 30 import com.android.contacts.model.account.AccountType;
  /packages/apps/Contacts/tests/src/com/android/contacts/model/
AccountWithDataSetTest.java 24 import com.android.contacts.model.account.AccountWithDataSet;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
SynchronousContactsProvider2.java 19 import android.accounts.Account;
38 private Account mAccount;
143 protected Account getDefaultAccount() {
145 mAccount = new Account("androidtest@gmail.com", "com.google");
151 protected boolean isContactsAccount(Account account) {
  /packages/apps/Email/src/com/android/email/provider/
EmailProvider.java 43 import com.android.emailcommon.provider.Account;
131 new ContentCache("Account", Account.CONTENT_PROJECTION, MAX_CACHED_ACCOUNTS);
143 private static final int ACCOUNT = ACCOUNT_BASE;
224 Account.TABLE_NAME,
254 Account.CONTENT_PROJECTION,
307 matcher.addURI(EmailContent.AUTHORITY, "account", ACCOUNT);
308 // A specific account
309 // insert into this URI causes a mailbox to be added to the account
1332 Account account = new Account(); local
    [all...]
  /packages/apps/Browser/src/com/android/browser/
AddBookmarkPage.java 148 BookmarkAccount account = local
150 if (folder == mRootFolder && account != null) {
153 account.accountType, account.accountName);
444 BookmarkAccount account = mAccountAdapter.getItem(i); local
445 if (TextUtils.equals(account.accountName, accountName)
446 && TextUtils.equals(account.accountType, accountType)) {
448 onRootFolderFound(account.rootFolderId);
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
AttachmentProviderTests.java 22 import com.android.emailcommon.provider.Account;
93 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext);
182 Account a1 = ProviderTestUtils.setupAccount("inboxquery-1", true, mMockContext);
183 Account a2 = ProviderTestUtils.setupAccount("inboxquery-2", true, mMockContext);
185 // Create mailboxes for each account
198 // b1 (account 1, inbox): 2 messages
202 // b2 (account 1, mail): 2 messages
206 // b3 (account 2, inbox): 1 message
209 // b4 (account 2, mail) has no messages.
211 // bt (account 2, trash): 1 messag
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProvider2.java 20 import android.accounts.Account;
1743 Account account = getAccount(calId); local
2128 Account account = getAccount(calendar_id); local
2206 final Account account = new Account(accountName, accountType); local
2655 Account account = null; local
3932 Account account = getAccount(id); local
4398 Account account = null; local
    [all...]
  /frameworks/base/core/java/android/provider/
Contacts.java 42 * work but will only return data for the first Google account created, which matches the original
172 * specified account. For this setting the _SYNC_ACCOUNT column must be set.
187 public static String getSetting(ContentResolver cr, String account, String key) {
188 // For now we only support a single account and the UI doesn't know what
189 // the account name is, so we're using a global setting for SYNC_EVERYTHING.
190 // Some day when we add multiple accounts to the UI this should honor the account
195 selectString = (account == null)
199 selectArgs = (account == null)
201 : new String[]{account, key};
220 public static void setSetting(ContentResolver cr, String account, String key
    [all...]
  /packages/apps/Email/src/com/android/email/mail/store/
Pop3Store.java 37 import com.android.emailcommon.provider.Account;
91 public static Store newInstance(Account account, Context context) throws MessagingException {
92 return new Pop3Store(context, account);
96 * Creates a new store for the given account.
98 private Pop3Store(Context context, Account account) throws MessagingException {
100 mAccount = account;
102 HostAuth recvAuth = account.getOrCreateHostAuthRecv(context);
185 * Used by account setup to test if an account's settings are appropriate. The definitio
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 19 import android.accounts.Account;
630 public void onAccountChosen(Account account, String dataSet, int tag) {
634 intent.putExtra(Insert.ACCOUNT, account);
642 intent.putExtra(Insert.ACCOUNT, account);
  /development/apps/Development/src/com/android/development/
SyncAdapterDriver.java 47 import android.accounts.Account;
138 Account accounts[] = AccountManager.get(this).getAccountsByType(
166 Account account = new Account(accountName, local
170 account, new Bundle());
  /external/webkit/LayoutTests/dom/html/level2/html/
HTMLTableRowElement01.js 80 not display order. The rowIndex does not take into account sections
  /external/webkit/LayoutTests/dom/xhtml/level2/html/
HTMLTableRowElement01.js 80 not display order. The rowIndex does not take into account sections
  /packages/apps/Email/src/com/android/email/activity/
MessageViewFragment.java 39 import com.android.emailcommon.provider.Account;
297 Account account = Account.restoreAccountWithId(mContext, getAccountId()); local
298 boolean supportsMove = account.supportsMoveMessages(mContext)

Completed in 673 milliseconds

1 2 3 4 5 6 7 891011>>