/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
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); in testFailOnInsertMetadataForSameAccountIdAndBackupId() 185 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync() 209 insertedValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync() 220 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync() 245 updatedValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync() 253 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync() 282 insertedValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertMetadata() 310 newValues.put(MetadataSync.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testFailUpdateDeletedMetadata() [all …]
|
D | GroupsTest.java | 316 values.put(Settings.ACCOUNT_NAME, sTestAccount.name); in testUngroupedVisible() 325 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND " in testUngroupedVisible() 372 values.put(Settings.ACCOUNT_NAME, sTestAccount.name); in testMultipleSourcesVisible() 382 values.put(Settings.ACCOUNT_NAME, sSecondAccount.name); in testMultipleSourcesVisible()
|
D | ContactDirectoryManagerTest.java | 75 new String[] { Directory.ACCOUNT_NAME, Directory.ACCOUNT_TYPE, in createResponseCursor() 100 uri.getQueryParameter(RawContacts.ACCOUNT_NAME), in query() 187 /* order by=*/ Directory.DIRECTORY_AUTHORITY + "," + Directory.ACCOUNT_NAME + in testScanAllProviders() 664 row[cursor.getColumnIndex(Directory.ACCOUNT_NAME)] = accountName; in addDirectoryRow() 680 values.put(Directory.ACCOUNT_NAME, accountName); in assertDirectoryRow()
|
D | ContactsProvider2Test.java | 360 RawContacts.ACCOUNT_NAME, in testRawContactsProjection() 438 RawContacts.ACCOUNT_NAME, in testDataProjection() 610 RawContacts.ACCOUNT_NAME, in testEntityProjection() 670 RawContacts.ACCOUNT_NAME, in testRawEntityProjection() 850 Groups.ACCOUNT_NAME, in testGroupsProjection() 878 Groups.ACCOUNT_NAME, in testGroupsSummaryProjection() 917 Settings.ACCOUNT_NAME, in testSettingsProjection() 954 Directory.ACCOUNT_NAME, in testDirectoryProjection() 971 values.put(RawContacts.ACCOUNT_NAME, "a"); in testRawContactsInsert() 1113 values.put(Contacts.Entity.ACCOUNT_NAME, "act1"); in assertEntityRows() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
D | EditorUiUtilsTest.java | 41 private static final String ACCOUNT_NAME = "somebody@lunkedin.com"; field in 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, in testGetProfileAccountInfo_NonLocalAccount() 106 final AccountDisplayInfo account = new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME, in testGetAccountInfo_AccountType_NonGoogle() 117 final AccountDisplayInfo account = new AccountDisplayInfo(GOOGLE_ACCOUNT, ACCOUNT_NAME, in testGetAccountInfo_AccountType_Google() 177 return new AccountDisplayInfo(ACCOUNT, ACCOUNT_NAME, DISPLAY_LABEL, null, false); in createDisplayableAccount()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 154 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity() 474 cursorColumnToContentValues(cursor, cv, ContactQuery.ACCOUNT_NAME); in loadRawContactValues() 569 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData() 608 selection.append("(" + Groups.ACCOUNT_NAME + "=? AND " + Groups.ACCOUNT_TYPE + "=?"); in loadGroupMetaData() 635 final String accountName = cursor.getString(GroupQuery.ACCOUNT_NAME); in loadGroupMetaData() 804 public static final int ACCOUNT_NAME = 15; field in ContactLoader.ContactQuery 871 RawContacts.ACCOUNT_NAME, 937 public static final int ACCOUNT_NAME = 4; field in ContactLoader.DirectoryQuery 945 Directory.ACCOUNT_NAME, 952 public static final int ACCOUNT_NAME = 0; field in ContactLoader.GroupQuery [all …]
|
D | RawContact.java | 126 return getValues().getAsString(RawContacts.ACCOUNT_NAME); in getAccountName() 189 values.putNull(RawContacts.ACCOUNT_NAME); in setAccount() 197 values.put(RawContacts.ACCOUNT_NAME, accountName); in setAccount()
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | SyncUtilTests.java | 31 private static final String ACCOUNT_NAME = "ACCOUNT_NAME"; field in SyncUtilTests 37 mGoogleAccount = new Account(ACCOUNT_NAME, GOOGLE_TYPE); in SyncUtilTests() 38 mOtherAccount = new Account(ACCOUNT_NAME, NOT_GOOGLE_TYPE); in SyncUtilTests()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 109 private static final String ACCOUNT_SELECTION_PREFIX = Calendars.ACCOUNT_NAME + "=? AND " 133 Colors.ACCOUNT_NAME, 145 private static final String COLOR_FULL_SELECTION = Colors.ACCOUNT_NAME + "=? AND " 149 private static final String GENERIC_ACCOUNT_NAME = Calendars.ACCOUNT_NAME; 219 private static final String SQL_WHERE_CALENDAR_COLOR = Calendars.ACCOUNT_NAME + "=? AND " 223 + Tables.CALENDARS + " WHERE " + Events.ACCOUNT_NAME + "=? AND " + Events.ACCOUNT_TYPE 260 " WHERE " + Calendars.ACCOUNT_NAME + "=? AND " + 264 + Calendars.ACCOUNT_NAME + "=? AND " + Calendars.ACCOUNT_TYPE + "=?"; 389 CalendarContract.EventsEntity.ACCOUNT_NAME, 456 + " OR " + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT; [all …]
|
D | CalendarDatabaseHelper.java | 206 + Colors.ACCOUNT_NAME + "=" + "new." + Calendars.ACCOUNT_NAME + " AND " 220 + Colors.ACCOUNT_NAME + "=" + "(SELECT " + Calendars.ACCOUNT_NAME + " FROM " 370 + SyncStateContract.Columns.ACCOUNT_NAME + "," in upgradeSyncState() 751 CalendarContract.Colors.ACCOUNT_NAME + " TEXT NOT NULL," + in createColorsTable() 768 Calendars.ACCOUNT_NAME + " TEXT," + in createCalendarsTable() 1569 + " WHERE " + Colors.ACCOUNT_NAME + "=" + "new." + Calendars.ACCOUNT_NAME + " AND " in upgradeToVersion400() 1582 + Colors.ACCOUNT_NAME + "=" + "(SELECT " + Calendars.ACCOUNT_NAME + " FROM " in upgradeToVersion400() 3226 + Tables.CALENDARS + "." + Calendars.ACCOUNT_NAME in createEventsView() 3227 + " AS " + CalendarContract.Events.ACCOUNT_NAME + "," in createEventsView()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | SelectAccountActivity.java | 35 public static final String ACCOUNT_NAME = "account_name"; field in SelectAccountActivity 69 intent.putExtra(ACCOUNT_NAME, account.name); in onCreate() 88 intent.putExtra(ACCOUNT_NAME, account.name); in onCreate()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactDirectoryManager.java | 85 Directory.ACCOUNT_NAME, 94 public static final int ACCOUNT_NAME = 0; field in ContactDirectoryManager.DirectoryQuery 313 + Directory.ACCOUNT_NAME + "=? AND " in scanAllPackages() 491 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in queryDirectoriesForAuthority() 560 values.put(Directory.ACCOUNT_NAME, info.accountName); in updateDirectories() 575 + Directory.ACCOUNT_NAME + "=? AND " + Directory.ACCOUNT_TYPE + "=?", in updateDirectories()
|
D | ContactMetadataProvider.java | 76 .add(MetadataSync.ACCOUNT_NAME) 85 .add(MetadataSyncState.ACCOUNT_NAME) 407 String accountName = values.getAsString(MetadataSync.ACCOUNT_NAME); in replaceAccountInfoByAccountId() 428 values.remove(MetadataSync.ACCOUNT_NAME); in replaceAccountInfoByAccountId()
|
D | ContactsProvider2.java | 489 public static final int ACCOUNT_NAME = 2; field 509 int ACCOUNT_NAME = 3; field 606 RawContacts.ACCOUNT_NAME, 666 .add(RawContacts.ACCOUNT_NAME) 953 .add(Groups.ACCOUNT_NAME) 1011 .add(Settings.ACCOUNT_NAME) 1079 .add(StreamItems.ACCOUNT_NAME) 1122 .add(Directory.ACCOUNT_NAME) 2735 String accountName = getQueryParameter(uri, RawContacts.ACCOUNT_NAME); in resolveAccount() 2739 String valueAccountName = values.getAsString(RawContacts.ACCOUNT_NAME); in resolveAccount() [all …]
|
D | LegacyApiSupport.java | 896 mValues.put(Groups.ACCOUNT_NAME, mAccount.name); in insertGroup() 1207 selection = Settings.ACCOUNT_NAME + "=?" in updateSettings() 1212 selection = Settings.ACCOUNT_NAME + " IS NULL" in updateSettings() 1219 mValues.put(Settings.ACCOUNT_NAME, accountName); in updateSettings() 1246 + ContactsContract.Settings.ACCOUNT_NAME + "," 1250 " ON (" + ContactsContract.Settings.ACCOUNT_NAME + "=" 1261 int ACCOUNT_NAME = 0; field 1274 String accountName = cursor.getString(SettingsMatchQuery.ACCOUNT_NAME); in copySettingsToLegacySettings() 1308 mValues.put(RawContacts.ACCOUNT_NAME, mAccount.name); in parsePeopleValues() 1857 sb.append(RawContacts.ACCOUNT_NAME + "="); in appendRawContactsAccount() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupUtil.java | 50 Groups.ACCOUNT_TYPE + " NOT NULL AND " + Groups.ACCOUNT_NAME + " NOT NULL AND " 77 String accountName = cursor.getString(GroupListLoader.ACCOUNT_NAME); in getGroupListItem() 92 String previousGroupAccountName = cursor.getString(GroupListLoader.ACCOUNT_NAME); in getGroupListItem() 313 accountName = cursor.getColumnIndex(Groups.ACCOUNT_NAME); in GroupsProjection() 328 accountName = list.indexOf(Groups.ACCOUNT_NAME); in GroupsProjection()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountDetailsPreferenceControllerTest.java | 52 private static final String ACCOUNT_NAME = "Name"; field in AccountDetailsPreferenceControllerTest 54 private final Account mAccount = new Account(ACCOUNT_NAME, ACCOUNT_TYPE); 111 assertThat(mPreference.getTitle().toString()).isEqualTo(ACCOUNT_NAME); in refreshUi_shouldSetTitle()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 134 RawContacts.ACCOUNT_NAME, 213 public static final int ACCOUNT_NAME = 15; field in ContactLoader.ContactQuery 277 Directory.ACCOUNT_NAME, 285 public static final int ACCOUNT_NAME = 4; field in ContactLoader.DirectoryQuery 390 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity() 624 cursorColumnToContentValues(cursor, cv, ContactQuery.ACCOUNT_NAME); in loadRawContactValues() 716 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData() 786 "(" + Groups.ACCOUNT_NAME + "=? AND " + Groups.ACCOUNT_TYPE + "=?"); in loadGroupMetaData()
|
D | RawContact.java | 207 return getValues().getAsString(RawContacts.ACCOUNT_NAME); in getAccountName() 276 values.putNull(RawContacts.ACCOUNT_NAME); in setAccount() 284 values.put(RawContacts.ACCOUNT_NAME, accountName); in setAccount()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | GroupListLoader.java | 33 Groups.ACCOUNT_NAME, 43 public final static int ACCOUNT_NAME = 0; field in GroupListLoader
|
D | GroupMetaDataLoader.java | 32 Groups.ACCOUNT_NAME, 43 public final static int ACCOUNT_NAME = 0; field in GroupMetaDataLoader
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountWithDataSet.java | 62 + RawContacts.ACCOUNT_NAME + " IS NULL AND " 134 RawContacts.ACCOUNT_TYPE + " = ?" + " AND " + RawContacts.ACCOUNT_NAME + " = ?"; in hasData() 200 .withValue(RawContacts.ACCOUNT_NAME, name) in newRawContactOperation()
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | TestUtil.java | 49 .appendQueryParameter(RawContacts.ACCOUNT_NAME, account.name) in maybeAddAccountQueryParameters() 60 .appendQueryParameter(RawContacts.ACCOUNT_NAME, accountName) in maybeAddAccountWithDataSetQueryParameters()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactLoader.java | 33 RawContacts.ACCOUNT_NAME, 43 private static final int ACCOUNT_NAME = 0; field in PickRawContactLoader 117 rawContact.accountName = rawContactCursor.getString(ACCOUNT_NAME); in loadInBackground()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
D | TestSyncAdapter.java | 66 RawContacts.ACCOUNT_NAME + " IS NULL AND " + RawContacts.ACCOUNT_TYPE + " IS NULL", in onPerformSync() 74 .withValue(RawContacts.ACCOUNT_NAME, account.name) in onPerformSync()
|