Home
last modified time | relevance | path

Searched refs:ACCOUNT_NAME (Results 1 – 25 of 78) sorted by relevance

1234

/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider2.java121 Accounts.ACCOUNT_NAME + " IS NOT NULL DESC, "
122 + Accounts.ACCOUNT_NAME + " ASC";
250 map.put(Accounts.ACCOUNT_NAME, Accounts.ACCOUNT_NAME); in map.put() argument
266 map.put(Bookmarks.ACCOUNT_NAME, Bookmarks.ACCOUNT_NAME); in map.put() argument
319 map.put(SyncState.ACCOUNT_NAME, SyncState.ACCOUNT_NAME); in map.put() argument
413 Bookmarks.ACCOUNT_NAME + " TEXT," + in onCreate()
593 + "SELECT NULL AS " + Accounts.ACCOUNT_NAME in createAccountsView()
596 + " UNION ALL SELECT " + Accounts.ACCOUNT_NAME in createAccountsView()
865 Bookmarks.ACCOUNT_TYPE + "=? AND " + Bookmarks.ACCOUNT_NAME + "=? "); in getSelectionWithAccounts()
871 Bookmarks.ACCOUNT_NAME + " IS NULL AND " + in getSelectionWithAccounts()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java95 private static final String ACCOUNT_SELECTION_PREFIX = Calendars.ACCOUNT_NAME + "=? AND "
119 Colors.ACCOUNT_NAME,
131 private static final String COLOR_FULL_SELECTION = Colors.ACCOUNT_NAME + "=? AND "
135 private static final String GENERIC_ACCOUNT_NAME = Calendars.ACCOUNT_NAME;
211 private static final String SQL_WHERE_CALENDAR_COLOR = Calendars.ACCOUNT_NAME + "=? AND "
215 + Tables.CALENDARS + " WHERE " + Events.ACCOUNT_NAME + "=? AND " + Events.ACCOUNT_TYPE
252 " WHERE " + Calendars.ACCOUNT_NAME + "=? AND " +
256 + Calendars.ACCOUNT_NAME + "=? AND " + Calendars.ACCOUNT_TYPE + "=?";
381 CalendarContract.EventsEntity.ACCOUNT_NAME,
875 selection = appendAccountToSelection(uri, selection, Calendars.ACCOUNT_NAME, in queryInternal()
[all …]
DCalendarDatabaseHelper.java206 + 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()
1564 + " WHERE " + Colors.ACCOUNT_NAME + "=" + "new." + Calendars.ACCOUNT_NAME + " AND " in upgradeToVersion400()
1577 + Colors.ACCOUNT_NAME + "=" + "(SELECT " + Calendars.ACCOUNT_NAME + " FROM " in upgradeToVersion400()
3221 + Tables.CALENDARS + "." + Calendars.ACCOUNT_NAME in createEventsView()
3222 + " AS " + CalendarContract.Events.ACCOUNT_NAME + "," in createEventsView()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContactLoader.java131 RawContacts.ACCOUNT_NAME,
203 public static final int ACCOUNT_NAME = 15; field in ContactLoader.ContactQuery
268 Directory.ACCOUNT_NAME,
276 public static final int ACCOUNT_NAME = 4; field in ContactLoader.DirectoryQuery
282 Groups.ACCOUNT_NAME,
291 public static final int ACCOUNT_NAME = 0; field in ContactLoader.GroupQuery
385 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity()
648 cursorColumnToContentValues(cursor, cv, ContactQuery.ACCOUNT_NAME); in loadRawContactValues()
739 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData()
777 "(" + Groups.ACCOUNT_NAME + "=? AND " + Groups.ACCOUNT_TYPE + "=?"); in loadGroupMetaData()
[all …]
DRawContact.java207 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/Calendar/src/com/android/calendar/selectcalendars/
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), in SelectCalendarsSyncFragment()
149 if (bundle != null && bundle.containsKey(Calendars.ACCOUNT_NAME) in onAttach()
151 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), in onAttach()
DSelectVisibleCalendarsFragment.java52 Calendars.ACCOUNT_NAME,
59 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + IS_PRIMARY,
152 SELECTION_ARGS, Calendars.ACCOUNT_NAME); in onResume()
175 SELECTION_ARGS, Calendars.ACCOUNT_NAME); in eventsChanged()
DSelectSyncedCalendarsMultiAccountAdapter.java62 private static final String ACCOUNT_SELECTION = Calendars.ACCOUNT_NAME + "=?"
116 Calendars.ACCOUNT_NAME,
122 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + IS_PRIMARY,
389 int accountColumn = cursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in bindGroupView()
402 int accountColumn = groupCursor.getColumnIndexOrThrow(Calendars.ACCOUNT_NAME); in getChildrenCursor()
DSelectSyncedCalendarsMultiAccountActivity.java46 Calendars.ACCOUNT_NAME,
47 Calendars.ACCOUNT_TYPE + " || " + Calendars.ACCOUNT_NAME + " AS " +
101 Calendars.ACCOUNT_NAME /*sort order*/); in onResume()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java475 public static final int ACCOUNT_NAME = 2; field
495 int ACCOUNT_NAME = 3; field
603 RawContacts.ACCOUNT_NAME,
664 .add(RawContacts.ACCOUNT_NAME)
935 .add(Groups.ACCOUNT_NAME)
993 .add(Settings.ACCOUNT_NAME)
1061 .add(StreamItems.ACCOUNT_NAME)
1104 .add(Directory.ACCOUNT_NAME)
2606 String accountName = getQueryParameter(uri, RawContacts.ACCOUNT_NAME); in resolveAccount()
2610 String valueAccountName = values.getAsString(RawContacts.ACCOUNT_NAME); in resolveAccount()
[all …]
DContactDirectoryManager.java82 Directory.ACCOUNT_NAME,
91 public static final int ACCOUNT_NAME = 0; field in ContactDirectoryManager.DirectoryQuery
253 + Directory.ACCOUNT_NAME + "=? AND " in scanAllPackages()
427 info.accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in queryDirectoriesForAuthority()
496 values.put(Directory.ACCOUNT_NAME, info.accountName); in updateDirectories()
511 + Directory.ACCOUNT_NAME + "=? AND " + Directory.ACCOUNT_TYPE + "=?", in updateDirectories()
DLegacyApiSupport.java925 mValues.put(Groups.ACCOUNT_NAME, mAccount.name); in insertGroup()
1270 selection = Settings.ACCOUNT_NAME + "=?" in updateSettings()
1275 selection = Settings.ACCOUNT_NAME + " IS NULL" in updateSettings()
1282 mValues.put(Settings.ACCOUNT_NAME, accountName); in updateSettings()
1309 + ContactsContract.Settings.ACCOUNT_NAME + ","
1313 " ON (" + ContactsContract.Settings.ACCOUNT_NAME + "="
1324 int ACCOUNT_NAME = 0; field
1337 String accountName = cursor.getString(SettingsMatchQuery.ACCOUNT_NAME); in copySettingsToLegacySettings()
1369 mValues.put(RawContacts.ACCOUNT_NAME, mAccount.name); in parsePeopleValues()
1935 sb.append(RawContacts.ACCOUNT_NAME + "="); in appendRawContactsAccount()
[all …]
DContactsDatabaseHelper.java335 AccountsColumns.ACCOUNT_NAME + " IS NULL AND " +
460 String CONCRETE_ACCOUNT_NAME = Views.RAW_CONTACTS + "." + RawContacts.ACCOUNT_NAME;
518 String CONCRETE_ACCOUNT_NAME = Views.GROUPS + "." + Groups.ACCOUNT_NAME;
569 + Settings.ACCOUNT_NAME;
659 String ACCOUNT_NAME = RawContacts.ACCOUNT_NAME; field
663 String CONCRETE_ACCOUNT_NAME = Tables.ACCOUNTS + "." + ACCOUNT_NAME;
1166 AccountsColumns.ACCOUNT_NAME + " TEXT, " + in onCreate()
1452 Settings.ACCOUNT_NAME + " STRING NOT NULL," + in onCreate()
1590 Directory.ACCOUNT_NAME + " TEXT," + in createDirectoriesTable()
1815 + AccountsColumns.CONCRETE_ACCOUNT_NAME + " AS " + RawContacts.ACCOUNT_NAME + "," in createContactsViews()
[all …]
/packages/apps/Calendar/src/com/android/calendar/alerts/
DGlobalDismissManager.java186 Calendars.ACCOUNT_NAME,
193 public static final String ACCOUNT_NAME = KEY_PREFIX + "account_name"; field in GlobalDismissManager
314 data.putString(ACCOUNT_NAME, accountName); in syncSenderDismissCache()
388 .appendQueryParameter(Calendars.ACCOUNT_NAME, account) in asSync()
458 int account_name_idx = calendarCursor.getColumnIndex(Calendars.ACCOUNT_NAME); in lookupCalendarToAccountMap()
532 if (intent.hasExtra(SYNC_ID) && intent.hasExtra(ACCOUNT_NAME) in onReceive()
536 intent.getStringExtra(ACCOUNT_NAME), in onReceive()
/packages/apps/Contacts/src/com/android/contacts/
DGroupListLoader.java32 Groups.ACCOUNT_NAME,
40 public final static int ACCOUNT_NAME = 0; field in GroupListLoader
51 + Groups.ACCOUNT_NAME + " NOT NULL AND " + Groups.AUTO_ADD + "=0 AND " + in GroupListLoader()
53 Groups.ACCOUNT_TYPE + ", " + Groups.ACCOUNT_NAME + ", " + Groups.DATA_SET + ", " + in GroupListLoader()
DGroupMetaDataLoader.java30 Groups.ACCOUNT_NAME,
41 public final static int ACCOUNT_NAME = 0; field in GroupMetaDataLoader
53 + Groups.ACCOUNT_NAME + " NOT NULL", null, null); in GroupMetaDataLoader()
/packages/apps/Browser/tests/src/com/android/browser/tests/
DBP2ProviderTests.java38 BrowserContract.Bookmarks.ACCOUNT_NAME,
72 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName); in doTestIsValidParent()
99 values.remove(BrowserContract.Bookmarks.ACCOUNT_NAME); in doTestIsValidParent()
119 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName); in doTestIsValidParent()
/packages/apps/Browser/src/com/android/browser/
DAccountsChangedReceiver.java34 Accounts.ACCOUNT_NAME,
37 private static final String SELECTION = Accounts.ACCOUNT_NAME + " IS NOT NULL";
38 private static final String DELETE_SELECTION = Accounts.ACCOUNT_NAME + "=? AND "
DBrowserBookmarksPage.java89 static final String ACCOUNT_NAME = "account_name"; field in BrowserBookmarksPage
107 String accountName = args.getString(ACCOUNT_NAME); in onCreateLoader()
125 args.putString(ACCOUNT_NAME, accountName); in onLoadFinished()
657 Accounts.ACCOUNT_NAME,
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGroupsTest.java316 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()
DContactsProvider2Test.java307 RawContacts.ACCOUNT_NAME, in testRawContactsProjection()
380 RawContacts.ACCOUNT_NAME, in testDataProjection()
545 RawContacts.ACCOUNT_NAME, in testEntityProjection()
605 RawContacts.ACCOUNT_NAME, in testRawEntityProjection()
702 Groups.ACCOUNT_NAME, in testGroupsProjection()
730 Groups.ACCOUNT_NAME, in testGroupsSummaryProjection()
769 Settings.ACCOUNT_NAME, in testSettingsProjection()
806 Directory.ACCOUNT_NAME, in testDirectoryProjection()
816 values.put(RawContacts.ACCOUNT_NAME, "a"); in testRawContactsInsert()
955 values.put(Contacts.Entity.ACCOUNT_NAME, "act1"); in assertEntityRows()
[all …]
DContactDirectoryManagerTest.java72 new String[] { Directory.ACCOUNT_NAME, Directory.ACCOUNT_TYPE, in createResponseCursor()
97 uri.getQueryParameter(RawContacts.ACCOUNT_NAME), in query()
604 row[cursor.getColumnIndex(Directory.ACCOUNT_NAME)] = accountName; in addDirectoryRow()
620 values.put(Directory.ACCOUNT_NAME, accountName); in assertDirectoryRow()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DSelectAccountActivity.java35 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/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java142 .appendQueryParameter(Groups.ACCOUNT_NAME, account.name) in loadInBackground()
255 .appendQueryParameter(Settings.ACCOUNT_NAME, accountName) in fromSettings()
266 values.put(Settings.ACCOUNT_NAME, accountName); in fromSettings()
375 String accountName = this.getAsString(Settings.ACCOUNT_NAME); in buildDiff()
378 StringBuilder selection = new StringBuilder(Settings.ACCOUNT_NAME + "=? AND " in buildDiff()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DGoogleSource.java164 final String accountName = stateValues.getAsString(RawContacts.ACCOUNT_NAME); in attemptMyContactsMembership()
186 Groups.ACCOUNT_NAME + " =? AND " + Groups.ACCOUNT_TYPE + " =?", in attemptMyContactsMembership()
217 newGroup.put(Groups.ACCOUNT_NAME, accountName); in attemptMyContactsMembership()

1234