Searched refs:ACCOUNT_NAME (Results 1 - 25 of 90) sorted by relevance

1234

/packages/apps/Contacts/tests/src/com/android/contacts/util/
H A DSyncUtilTests.java31 private static final String ACCOUNT_NAME = "ACCOUNT_NAME"; field in class:SyncUtilTests
37 mGoogleAccount = new Account(ACCOUNT_NAME, GOOGLE_TYPE);
38 mOtherAccount = new Account(ACCOUNT_NAME, NOT_GOOGLE_TYPE);
/packages/apps/Contacts/src/com/android/contacts/
H A DGroupListLoader.java33 Groups.ACCOUNT_NAME,
43 public final static int ACCOUNT_NAME = 0; field in class:GroupListLoader
H A DGroupMetaDataLoader.java32 Groups.ACCOUNT_NAME,
43 public final static int ACCOUNT_NAME = 0; field in class:GroupMetaDataLoader
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
H A DTestUtil.java49 .appendQueryParameter(RawContacts.ACCOUNT_NAME, account.name)
60 .appendQueryParameter(RawContacts.ACCOUNT_NAME, accountName)
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactMetadataProviderTest.java87 private static String SELECTION_BY_TEST_ACCOUNT1 = MetadataSync.ACCOUNT_NAME + "='" +
91 private static String SELECTION_BY_TEST_ACCOUNT2 = MetadataSync.ACCOUNT_NAME + "='" +
160 newValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1);
185 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1);
209 insertedValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1);
220 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1);
245 updatedValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1);
253 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1);
282 insertedValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1);
310 newValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME
[all...]
H A DDirectoryTest.java61 values.putNull(Directory.ACCOUNT_NAME);
77 values.putNull(Directory.ACCOUNT_NAME);
H A DGroupsTest.java316 values.put(Settings.ACCOUNT_NAME, sTestAccount.name);
325 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND "
372 values.put(Settings.ACCOUNT_NAME, sTestAccount.name);
382 values.put(Settings.ACCOUNT_NAME, sSecondAccount.name);
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A DEditorUiUtilsTest.java41 private static final String ACCOUNT_NAME = "somebody@lunkedin.com"; field in class:EditorUiUtilsTest
50 new AccountWithDataSet(ACCOUNT_NAME, "some.account.type", null);
52 new AccountWithDataSet(ACCOUNT_NAME, "com.google", null);
79 final AccountInfo account = new AccountInfo(new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME,
106 final AccountDisplayInfo account = new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME,
117 final AccountDisplayInfo account = new AccountDisplayInfo(GOOGLE_ACCOUNT, ACCOUNT_NAME,
177 return new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME, DISPLAY_LABEL, null, false);
/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DSelectAccountActivity.java35 public static final String ACCOUNT_NAME = "account_name"; field in class:SelectAccountActivity
69 intent.putExtra(ACCOUNT_NAME, account.name);
88 intent.putExtra(ACCOUNT_NAME, account.name);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSyncFragment.java57 private static final String SELECTION = Calendars.ACCOUNT_NAME + "=? AND "
69 Calendars.ACCOUNT_NAME,
71 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + IS_PRIMARY, };
93 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME),
149 if (bundle != null && bundle.containsKey(Calendars.ACCOUNT_NAME)
151 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME),
H A DSelectSyncedCalendarsMultiAccountActivity.java46 Calendars.ACCOUNT_NAME,
47 Calendars.ACCOUNT_TYPE + " || " + Calendars.ACCOUNT_NAME + " AS " +
101 Calendars.ACCOUNT_NAME /*sort order*/);
H A DSelectVisibleCalendarsFragment.java52 Calendars.ACCOUNT_NAME,
59 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + IS_PRIMARY,
152 SELECTION_ARGS, Calendars.ACCOUNT_NAME);
175 SELECTION_ARGS, Calendars.ACCOUNT_NAME);
H A DCalendarColorCache.java43 private static String[] PROJECTION = new String[] {Colors.ACCOUNT_NAME, Colors.ACCOUNT_TYPE };
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
H A DTestSyncAdapter.java66 RawContacts.ACCOUNT_NAME + " IS NULL AND " + RawContacts.ACCOUNT_TYPE + " IS NULL",
74 .withValue(RawContacts.ACCOUNT_NAME, account.name)
/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DAccountWithDataSet.java62 + RawContacts.ACCOUNT_NAME + " IS NULL AND "
134 RawContacts.ACCOUNT_TYPE + " = ?" + " AND " + RawContacts.ACCOUNT_NAME + " = ?";
200 .withValue(RawContacts.ACCOUNT_NAME, name)
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupUtil.java50 Groups.ACCOUNT_TYPE + " NOT NULL AND " + Groups.ACCOUNT_NAME + " NOT NULL AND "
77 String accountName = cursor.getString(GroupListLoader.ACCOUNT_NAME);
92 String previousGroupAccountName = cursor.getString(GroupListLoader.ACCOUNT_NAME);
313 accountName = cursor.getColumnIndex(Groups.ACCOUNT_NAME);
328 accountName = list.indexOf(Groups.ACCOUNT_NAME);
/packages/apps/Dialer/java/com/android/contacts/common/model/
H A DContactLoader.java154 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null);
474 cursorColumnToContentValues(cursor, cv, ContactQuery.ACCOUNT_NAME);
569 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME);
608 selection.append("(" + Groups.ACCOUNT_NAME + "=? AND " + Groups.ACCOUNT_TYPE + "=?");
635 final String accountName = cursor.getString(GroupQuery.ACCOUNT_NAME);
803 public static final int ACCOUNT_NAME = 15; field in class:ContactLoader.ContactQuery
870 RawContacts.ACCOUNT_NAME,
936 public static final int ACCOUNT_NAME = 4; field in class:ContactLoader.DirectoryQuery
944 Directory.ACCOUNT_NAME,
951 public static final int ACCOUNT_NAME field in class:ContactLoader.GroupQuery
[all...]
H A DRawContact.java126 return getValues().getAsString(RawContacts.ACCOUNT_NAME);
189 values.putNull(RawContacts.ACCOUNT_NAME);
197 values.put(RawContacts.ACCOUNT_NAME, accountName);
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DGlobalDismissManager.java186 Calendars.ACCOUNT_NAME,
193 public static final String ACCOUNT_NAME = KEY_PREFIX + "account_name"; field in class:GlobalDismissManager
314 data.putString(ACCOUNT_NAME, accountName);
388 .appendQueryParameter(Calendars.ACCOUNT_NAME, account)
458 int account_name_idx = calendarCursor.getColumnIndex(Calendars.ACCOUNT_NAME);
532 if (intent.hasExtra(SYNC_ID) && intent.hasExtra(ACCOUNT_NAME)
536 intent.getStringExtra(ACCOUNT_NAME),
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactDirectoryManager.java85 Directory.ACCOUNT_NAME,
94 public static final int ACCOUNT_NAME = 0; field in class:ContactDirectoryManager.DirectoryQuery
313 + Directory.ACCOUNT_NAME + "=? AND "
491 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME);
560 values.put(Directory.ACCOUNT_NAME, info.accountName);
575 + Directory.ACCOUNT_NAME + "=? AND " + Directory.ACCOUNT_TYPE + "=?",
H A DContactMetadataProvider.java76 .add(MetadataSync.ACCOUNT_NAME)
85 .add(MetadataSyncState.ACCOUNT_NAME)
407 String accountName = values.getAsString(MetadataSync.ACCOUNT_NAME);
414 "Must specify both or neither of ACCOUNT_NAME and ACCOUNT_TYPE", uri));
428 values.remove(MetadataSync.ACCOUNT_NAME);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DPickRawContactLoader.java33 RawContacts.ACCOUNT_NAME,
43 private static final int ACCOUNT_NAME = 0; field in class:PickRawContactLoader
117 rawContact.accountName = rawContactCursor.getString(ACCOUNT_NAME);
/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContact.java207 return getValues().getAsString(RawContacts.ACCOUNT_NAME);
276 values.putNull(RawContacts.ACCOUNT_NAME);
284 values.put(RawContacts.ACCOUNT_NAME, accountName);
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DGoogleSource.java164 final String accountName = stateValues.getAsString(RawContacts.ACCOUNT_NAME);
186 Groups.ACCOUNT_NAME + " =? AND " + Groups.ACCOUNT_TYPE + " =?",
217 newGroup.put(Groups.ACCOUNT_NAME, accountName);
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarColorPickerDialog.java49 Calendars.ACCOUNT_NAME,
63 static final String COLORS_WHERE = Colors.ACCOUNT_NAME + "=? AND " + Colors.ACCOUNT_TYPE +

Completed in 371 milliseconds

1234