Home
last modified time | relevance | path

Searched refs:ACCOUNT_TYPE (Results 1 – 25 of 91) sorted by relevance

1234

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactMetadataProviderTest.java88 TEST_ACCOUNT_NAME1 + "' AND " + MetadataSync.ACCOUNT_TYPE + "='" + TEST_ACCOUNT_TYPE1 +
92 TEST_ACCOUNT_NAME2 + "' AND " + MetadataSync.ACCOUNT_TYPE + "='" + TEST_ACCOUNT_TYPE2 +
162 newValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
185 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
209 insertedValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
220 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
245 updatedValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
253 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
282 insertedValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertMetadata()
312 newValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testFailUpdateDeletedMetadata()
[all …]
DGroupsTest.java317 values.put(Settings.ACCOUNT_TYPE, sTestAccount.type); in testUngroupedVisible()
326 + Settings.ACCOUNT_TYPE + "=?", new String[] { in testUngroupedVisible()
373 values.put(Settings.ACCOUNT_TYPE, sTestAccount.type); in testMultipleSourcesVisible()
383 values.put(Settings.ACCOUNT_TYPE, sSecondAccount.type); in testMultipleSourcesVisible()
DDirectoryTest.java56 values.putNull(Directory.ACCOUNT_TYPE); in testDefaultDirectory()
72 values.putNull(Directory.ACCOUNT_TYPE); in testInvisibleLocalDirectory()
/packages/apps/Contacts/src/com/android/contacts/
DGroupListLoader.java33 Groups.ACCOUNT_TYPE,
41 public final static int ACCOUNT_TYPE = 1; field in GroupListLoader
50 super(context, GROUP_LIST_URI, COLUMNS, Groups.ACCOUNT_TYPE + " NOT NULL AND " in GroupListLoader()
53 Groups.ACCOUNT_TYPE + ", " + Groups.ACCOUNT_NAME + ", " + Groups.DATA_SET + ", " + in GroupListLoader()
DGroupMetaDataLoader.java31 Groups.ACCOUNT_TYPE,
42 public final static int ACCOUNT_TYPE = 1; field in GroupMetaDataLoader
52 super(context, ensureIsGroupUri(groupUri), COLUMNS, Groups.ACCOUNT_TYPE + " NOT NULL AND " in GroupMetaDataLoader()
DSplitAggregateView.java57 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, RawContacts.DATA_SET, Data.RAW_CONTACT_ID,
63 int ACCOUNT_TYPE = 1; field
170 info.accountType = cursor.getString(SplitQuery.ACCOUNT_TYPE); in loadData()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectCalendarsSyncFragment.java58 + Calendars.ACCOUNT_TYPE + "=?";
70 Calendars.ACCOUNT_TYPE,
94 bundle.getString(Calendars.ACCOUNT_TYPE)); in SelectCalendarsSyncFragment()
150 && bundle.containsKey(Calendars.ACCOUNT_TYPE)) { in onAttach()
152 bundle.getString(Calendars.ACCOUNT_TYPE)); in onAttach()
DSelectSyncedCalendarsMultiAccountAdapter.java63 + " AND " + Calendars.ACCOUNT_TYPE + "=?";
123 Calendars.ACCOUNT_TYPE
390 int accountTypeColumn = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE); in bindGroupView()
403 int accountTypeColumn = groupCursor.getColumnIndexOrThrow(Calendars.ACCOUNT_TYPE); in getChildrenCursor()
DSelectSyncedCalendarsMultiAccountActivity.java45 Calendars.ACCOUNT_TYPE,
47 Calendars.ACCOUNT_TYPE + " || " + Calendars.ACCOUNT_NAME + " AS " +
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DGoogleSource.java44 public static final String ACCOUNT_TYPE = "com.google"; field in GoogleSource
46 this.accountType = ACCOUNT_TYPE; in GoogleSource()
165 final String accountType = stateValues.getAsString(RawContacts.ACCOUNT_TYPE); in attemptMyContactsMembership()
186 Groups.ACCOUNT_NAME + " =? AND " + Groups.ACCOUNT_TYPE + " =?", in attemptMyContactsMembership()
218 newGroup.put(Groups.ACCOUNT_TYPE, accountType); in attemptMyContactsMembership()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DSelectAccountActivity.java36 public static final String ACCOUNT_TYPE = "account_type"; field in SelectAccountActivity
70 intent.putExtra(ACCOUNT_TYPE, account.type); in onCreate()
89 intent.putExtra(ACCOUNT_TYPE, account.type); in onCreate()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContactLoader.java136 RawContacts.ACCOUNT_TYPE,
218 public static final int ACCOUNT_TYPE = 16; field in ContactLoader.ContactQuery
282 Directory.ACCOUNT_TYPE,
290 public static final int ACCOUNT_TYPE = 3; field in ContactLoader.DirectoryQuery
298 Groups.ACCOUNT_TYPE,
307 public static final int ACCOUNT_TYPE = 1; field in ContactLoader.GroupQuery
423 final String accountType = json.getString(RawContacts.ACCOUNT_TYPE); in loadEncodedContactEntity()
684 cursorColumnToContentValues(cursor, cv, ContactQuery.ACCOUNT_TYPE); in loadRawContactValues()
776 final String accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in loadDirectoryMetaData()
847 "(" + Groups.ACCOUNT_NAME + "=? AND " + Groups.ACCOUNT_TYPE + "=?"); in loadGroupMetaData()
[all …]
DRawContact.java214 return getValues().getAsString(RawContacts.ACCOUNT_TYPE); in getAccountTypeString()
277 values.putNull(RawContacts.ACCOUNT_TYPE); in setAccount()
285 values.put(RawContacts.ACCOUNT_TYPE, accountType); in setAccount()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java83 Directory.ACCOUNT_TYPE,
92 public static final int ACCOUNT_TYPE = 1; field in ContactDirectoryManager.DirectoryQuery
252 + Directory.ACCOUNT_TYPE + "=?)"; in scanAllPackages()
426 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in queryDirectoriesForAuthority()
495 values.put(Directory.ACCOUNT_TYPE, info.accountType); in updateDirectories()
509 + Directory.ACCOUNT_NAME + "=? AND " + Directory.ACCOUNT_TYPE + "=?", in updateDirectories()
DContactMetadataProvider.java75 .add(MetadataSync.ACCOUNT_TYPE)
84 .add(MetadataSyncState.ACCOUNT_TYPE)
408 String accountType = values.getAsString(MetadataSync.ACCOUNT_TYPE); in replaceAccountInfoByAccountId()
429 values.remove(MetadataSync.ACCOUNT_TYPE); in replaceAccountInfoByAccountId()
DLegacyApiSupport.java926 mValues.put(Groups.ACCOUNT_TYPE, mAccount.type); in insertGroup()
1271 + " AND " + Settings.ACCOUNT_TYPE + "=?" in updateSettings()
1276 + " AND " + Settings.ACCOUNT_TYPE + " IS NULL" in updateSettings()
1283 mValues.put(Settings.ACCOUNT_TYPE, accountType); in updateSettings()
1310 + ContactsContract.Settings.ACCOUNT_TYPE + ","
1315 " AND " + ContactsContract.Settings.ACCOUNT_TYPE + "="
1325 int ACCOUNT_TYPE = 1; field
1338 String accountType = cursor.getString(SettingsMatchQuery.ACCOUNT_TYPE); in copySettingsToLegacySettings()
1370 mValues.put(RawContacts.ACCOUNT_TYPE, mAccount.type); in parsePeopleValues()
1937 sb.append(" AND " + RawContacts.ACCOUNT_TYPE + "="); in appendRawContactsAccount()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DTestUtil.java51 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, account.type) in maybeAddAccountQueryParameters()
62 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, account.getAccountType()) in maybeAddAccountWithDataSetQueryParameters()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
DTestSyncAdapter.java57 values.put(RawContacts.ACCOUNT_TYPE, account.type); in onPerformSync()
59 RawContacts.ACCOUNT_NAME + " IS NULL AND " + RawContacts.ACCOUNT_TYPE + " IS NULL", in onPerformSync()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java143 .appendQueryParameter(Groups.ACCOUNT_TYPE, account.type); in loadInBackground()
259 .appendQueryParameter(Settings.ACCOUNT_TYPE, accountType); in fromSettings()
270 values.put(Settings.ACCOUNT_TYPE, accountType); in fromSettings()
333 return (mBefore == null ? mAfter : mBefore).getAsString(Settings.ACCOUNT_TYPE); in getAccountType()
379 String accountType = this.getAsString(Settings.ACCOUNT_TYPE); in buildDiff()
382 + Settings.ACCOUNT_TYPE + "=?"); in buildDiff()
726 if (GoogleAccountType.ACCOUNT_TYPE.equals(account.mType) && account.mDataSet == null) { in getSyncMode()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java97 + Calendars.ACCOUNT_TYPE + "=?";
121 Colors.ACCOUNT_TYPE,
133 + Colors.ACCOUNT_TYPE + "=? AND " + Colors.COLOR_TYPE + "=? AND " + Colors.COLOR_KEY
137 private static final String GENERIC_ACCOUNT_TYPE = Calendars.ACCOUNT_TYPE;
205 + Calendars.ACCOUNT_TYPE + "=? AND " + Calendars.CALENDAR_COLOR_KEY + "=?";
208 + Tables.CALENDARS + " WHERE " + Events.ACCOUNT_NAME + "=? AND " + Events.ACCOUNT_TYPE
246 Calendars.ACCOUNT_TYPE + "=?";
249 + Calendars.ACCOUNT_NAME + "=? AND " + Calendars.ACCOUNT_TYPE + "=?";
375 CalendarContract.EventsEntity.ACCOUNT_TYPE);
871 Calendars.ACCOUNT_TYPE); in queryInternal()
[all …]
DCalendarDatabaseHelper.java207 + Colors.ACCOUNT_TYPE + "=" + "new." + Calendars.ACCOUNT_TYPE + " AND "
222 + ") AND " + Colors.ACCOUNT_TYPE + "=" + "(SELECT " + Calendars.ACCOUNT_TYPE + " FROM "
371 + SyncStateContract.Columns.ACCOUNT_TYPE + "," in upgradeSyncState()
752 CalendarContract.Colors.ACCOUNT_TYPE + " TEXT NOT NULL," + in createColorsTable()
769 Calendars.ACCOUNT_TYPE + " TEXT," + in createCalendarsTable()
1565 + Colors.ACCOUNT_TYPE + "=" + "new." + Calendars.ACCOUNT_TYPE + " AND " in upgradeToVersion400()
1579 + ") AND " + Colors.ACCOUNT_TYPE + "=" + "(SELECT " + Calendars.ACCOUNT_TYPE in upgradeToVersion400()
3223 + Tables.CALENDARS + "." + Calendars.ACCOUNT_TYPE in createEventsView()
3224 + " AS " + CalendarContract.Events.ACCOUNT_TYPE + "," in createEventsView()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactDeltaComparator.java48 String accountType1 = one.getValues().getAsString(RawContacts.ACCOUNT_TYPE); in compare()
51 String accountType2 = two.getValues().getAsString(RawContacts.ACCOUNT_TYPE); in compare()
DAggregationSuggestionEngine.java303 RawContacts.ACCOUNT_TYPE,
318 public static final int ACCOUNT_TYPE = 10; field in AggregationSuggestionEngine.DataQuery
447 rawContact.accountType = mDataCursor.getString(DataQuery.ACCOUNT_TYPE); in getSuggestions()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceUtils.java495 .appendQueryParameter(Calendars.ACCOUNT_TYPE, oldType) in moveCalendarData()
500 values.put(CalendarContract.Calendars.ACCOUNT_TYPE, newType); in moveCalendarData()
502 Calendars.ACCOUNT_NAME + "=? AND " + Calendars.ACCOUNT_TYPE + "=?", in moveCalendarData()
511 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, oldType) in moveContactsData()
516 values.put(CalendarContract.Calendars.ACCOUNT_TYPE, newType); in moveContactsData()
683 .appendQueryParameter(Calendars.ACCOUNT_TYPE, accountType).build(); in asCalendarSyncAdapter()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarColorPickerDialog.java50 Calendars.ACCOUNT_TYPE,
63 static final String COLORS_WHERE = Colors.ACCOUNT_NAME + "=? AND " + Colors.ACCOUNT_TYPE +

1234