Home
last modified time | relevance | path

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

1234

/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider2.java249 map.put(Accounts.ACCOUNT_TYPE, Accounts.ACCOUNT_TYPE); in map.put() argument
267 map.put(Bookmarks.ACCOUNT_TYPE, Bookmarks.ACCOUNT_TYPE); in map.put() argument
320 map.put(SyncState.ACCOUNT_TYPE, SyncState.ACCOUNT_TYPE); in map.put() argument
414 Bookmarks.ACCOUNT_TYPE + " TEXT," + in onCreate()
594 + ", NULL AS " + Accounts.ACCOUNT_TYPE in createAccountsView()
597 + ", " + Accounts.ACCOUNT_TYPE + ", " in createAccountsView()
865 Bookmarks.ACCOUNT_TYPE + "=? AND " + Bookmarks.ACCOUNT_NAME + "=? "); in getSelectionWithAccounts()
872 Bookmarks.ACCOUNT_TYPE + " IS NULL"); in getSelectionWithAccounts()
974 String where = Bookmarks.ACCOUNT_TYPE + "=? AND " + in query()
991 where = Bookmarks.ACCOUNT_TYPE + "=? AND " + Bookmarks.ACCOUNT_NAME + "=?" + in query()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java96 + Calendars.ACCOUNT_TYPE + "=?";
120 Colors.ACCOUNT_TYPE,
132 + Colors.ACCOUNT_TYPE + "=? AND " + Colors.COLOR_TYPE + "=? AND " + Colors.COLOR_KEY
136 private static final String GENERIC_ACCOUNT_TYPE = Calendars.ACCOUNT_TYPE;
212 + Calendars.ACCOUNT_TYPE + "=? AND " + Calendars.CALENDAR_COLOR_KEY + "=?";
215 + Tables.CALENDARS + " WHERE " + Events.ACCOUNT_NAME + "=? AND " + Events.ACCOUNT_TYPE
253 Calendars.ACCOUNT_TYPE + "=?";
256 + Calendars.ACCOUNT_NAME + "=? AND " + Calendars.ACCOUNT_TYPE + "=?";
382 CalendarContract.EventsEntity.ACCOUNT_TYPE);
876 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/ContactsCommon/src/com/android/contacts/common/model/
DContactLoader.java134 RawContacts.ACCOUNT_TYPE,
206 public static final int ACCOUNT_TYPE = 16; field in ContactLoader.ContactQuery
269 Directory.ACCOUNT_TYPE,
277 public static final int ACCOUNT_TYPE = 3; field in ContactLoader.DirectoryQuery
285 Groups.ACCOUNT_TYPE,
294 public static final int ACCOUNT_TYPE = 1; field in ContactLoader.GroupQuery
405 final String accountType = json.getString(RawContacts.ACCOUNT_TYPE); in loadEncodedContactEntity()
666 cursorColumnToContentValues(cursor, cv, ContactQuery.ACCOUNT_TYPE); in loadRawContactValues()
755 final String accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in loadDirectoryMetaData()
826 "(" + 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/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()
/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/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java474 public static final int ACCOUNT_TYPE = 1; field
494 int ACCOUNT_TYPE = 2; field
604 RawContacts.ACCOUNT_TYPE,
665 .add(RawContacts.ACCOUNT_TYPE)
936 .add(Groups.ACCOUNT_TYPE)
994 .add(Settings.ACCOUNT_TYPE)
1062 .add(StreamItems.ACCOUNT_TYPE)
1103 .add(Directory.ACCOUNT_TYPE)
2607 String accountType = getQueryParameter(uri, RawContacts.ACCOUNT_TYPE); in resolveAccount()
2611 String valueAccountType = values.getAsString(RawContacts.ACCOUNT_TYPE); in resolveAccount()
[all …]
DContactDirectoryManager.java83 Directory.ACCOUNT_TYPE,
92 public static final int ACCOUNT_TYPE = 1; field in ContactDirectoryManager.DirectoryQuery
264 + Directory.ACCOUNT_TYPE + "=?)"; in scanAllPackages()
438 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in queryDirectoriesForAuthority()
507 values.put(Directory.ACCOUNT_TYPE, info.accountType); in updateDirectories()
521 + Directory.ACCOUNT_NAME + "=? AND " + Directory.ACCOUNT_TYPE + "=?", in updateDirectories()
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 …]
DContactsDatabaseHelper.java336 AccountsColumns.ACCOUNT_TYPE + " IS NULL AND " +
461 String CONCRETE_ACCOUNT_TYPE = Views.RAW_CONTACTS + "." + RawContacts.ACCOUNT_TYPE;
519 String CONCRETE_ACCOUNT_TYPE = Views.GROUPS + "." + Groups.ACCOUNT_TYPE;
571 + Settings.ACCOUNT_TYPE;
660 String ACCOUNT_TYPE = RawContacts.ACCOUNT_TYPE; field
664 String CONCRETE_ACCOUNT_TYPE = Tables.ACCOUNTS + "." + ACCOUNT_TYPE;
1167 AccountsColumns.ACCOUNT_TYPE + " TEXT, " + in onCreate()
1453 Settings.ACCOUNT_TYPE + " STRING NOT NULL," + in onCreate()
1589 Directory.ACCOUNT_TYPE + " TEXT," + in createDirectoriesTable()
1816 + AccountsColumns.CONCRETE_ACCOUNT_TYPE + " AS " + RawContacts.ACCOUNT_TYPE + "," in createContactsViews()
[all …]
/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/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()
731 if (GoogleAccountType.ACCOUNT_TYPE.equals(account.mType) && account.mDataSet == null) { in getSyncMode()
/packages/apps/Browser/tests/src/com/android/browser/tests/
DBP2ProviderTests.java39 BrowserContract.Bookmarks.ACCOUNT_TYPE,
73 values.put(BrowserContract.Bookmarks.ACCOUNT_TYPE, accountType); in doTestIsValidParent()
100 values.remove(BrowserContract.Bookmarks.ACCOUNT_TYPE); in doTestIsValidParent()
120 values.put(BrowserContract.Bookmarks.ACCOUNT_TYPE, accountType); in doTestIsValidParent()
/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/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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
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()
DContactsProvider2Test.java308 RawContacts.ACCOUNT_TYPE, in testRawContactsProjection()
381 RawContacts.ACCOUNT_TYPE, in testDataProjection()
546 RawContacts.ACCOUNT_TYPE, in testEntityProjection()
606 RawContacts.ACCOUNT_TYPE, in testRawEntityProjection()
703 Groups.ACCOUNT_TYPE, in testGroupsProjection()
731 Groups.ACCOUNT_TYPE, in testGroupsSummaryProjection()
770 Settings.ACCOUNT_TYPE, in testSettingsProjection()
805 Directory.ACCOUNT_TYPE, in testDirectoryProjection()
817 values.put(RawContacts.ACCOUNT_TYPE, "b"); in testRawContactsInsert()
956 values.put(Contacts.Entity.ACCOUNT_TYPE, "actype1"); in assertEntityRows()
[all …]
DContactDirectoryManagerTest.java72 new String[] { Directory.ACCOUNT_NAME, Directory.ACCOUNT_TYPE, in createResponseCursor()
98 uri.getQueryParameter(RawContacts.ACCOUNT_TYPE), in query()
608 row[cursor.getColumnIndex(Directory.ACCOUNT_TYPE)] = accountType; in addDirectoryRow()
624 values.put(Directory.ACCOUNT_TYPE, accountType); in assertDirectoryRow()
/packages/apps/Browser/src/com/android/browser/
DBrowserBookmarksPage.java88 static final String ACCOUNT_TYPE = "account_type"; field in BrowserBookmarksPage
106 String accountType = args.getString(ACCOUNT_TYPE); in onCreateLoader()
126 args.putString(ACCOUNT_TYPE, accountType); in onLoadFinished()
658 Accounts.ACCOUNT_TYPE
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java280 RawContacts.ACCOUNT_TYPE,
295 public static final int ACCOUNT_TYPE = 10; field in AggregationSuggestionEngine.DataQuery
400 rawContact.accountType = mDataCursor.getString(DataQuery.ACCOUNT_TYPE); in getSuggestions()
/packages/apps/Dialer/src/com/android/dialer/interactions/
DPhoneNumberInteraction.java255 RawContacts.ACCOUNT_TYPE, // 3
266 private static final int ACCOUNT_TYPE = 3; field in PhoneNumberInteraction
407 item.accountType = cursor.getString(ACCOUNT_TYPE); in onLoadComplete()

1234