/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
H A D | SyncUtilTests.java | 31 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 D | GroupListLoader.java | 33 Groups.ACCOUNT_NAME, 43 public final static int ACCOUNT_NAME = 0; field in class:GroupListLoader
|
H A D | GroupMetaDataLoader.java | 32 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 D | TestUtil.java | 49 .appendQueryParameter(RawContacts.ACCOUNT_NAME, account.name) 60 .appendQueryParameter(RawContacts.ACCOUNT_NAME, accountName)
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactMetadataProviderTest.java | 87 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 D | DirectoryTest.java | 61 values.putNull(Directory.ACCOUNT_NAME); 77 values.putNull(Directory.ACCOUNT_NAME);
|
H A D | GroupsTest.java | 316 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 D | EditorUiUtilsTest.java | 41 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 D | SelectAccountActivity.java | 35 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 D | SelectCalendarsSyncFragment.java | 57 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 D | SelectSyncedCalendarsMultiAccountActivity.java | 46 Calendars.ACCOUNT_NAME, 47 Calendars.ACCOUNT_TYPE + " || " + Calendars.ACCOUNT_NAME + " AS " + 101 Calendars.ACCOUNT_NAME /*sort order*/);
|
H A D | SelectVisibleCalendarsFragment.java | 52 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 D | CalendarColorCache.java | 43 private static String[] PROJECTION = new String[] {Colors.ACCOUNT_NAME, Colors.ACCOUNT_TYPE };
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
H A D | TestSyncAdapter.java | 66 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 D | AccountWithDataSet.java | 62 + 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 D | GroupUtil.java | 50 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 D | ContactLoader.java | 154 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 D | RawContact.java | 126 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 D | GlobalDismissManager.java | 186 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 D | ContactDirectoryManager.java | 85 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 D | ContactMetadataProvider.java | 76 .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 D | PickRawContactLoader.java | 33 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 D | RawContact.java | 207 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 D | GoogleSource.java | 164 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 D | CalendarColorPickerDialog.java | 49 Calendars.ACCOUNT_NAME, 63 static final String COLORS_WHERE = Colors.ACCOUNT_NAME + "=? AND " + Colors.ACCOUNT_TYPE +
|