Home
last modified time | relevance | path

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

12345

/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 +
161 newValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
184 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
208 insertedValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
219 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
244 updatedValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
252 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
281 insertedValues.put(MetadataSync.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertMetadata()
311 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()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DAccountTypeManagerTest.java54 ACCOUNTS[0] = new Account("name1", GoogleAccountType.ACCOUNT_TYPE);
55 ACCOUNTS[1] = new Account("name2", GoogleAccountType.ACCOUNT_TYPE);
100 getDefaultAccountPreference("name1", GoogleAccountType.ACCOUNT_TYPE)); in testGetDefaultAccount_NoAccounts_DefaultPreferenceSet()
112 getDefaultAccountPreference("name2", GoogleAccountType.ACCOUNT_TYPE)); in testGetDefaultAccount_DefaultAccountPreferenceSet()
126 getDefaultAccountPreference("name4",GoogleAccountType.ACCOUNT_TYPE)); in testGetDefaultAccount_DefaultAccountPreferenceSet_UnknownName()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceControllerTest.java76 private static final String ACCOUNT_TYPE = "com.acct1"; field in AccountSyncDetailsPreferenceControllerTest
79 private final Account mAccount = new Account("acct1", ACCOUNT_TYPE);
128 ACCOUNT_TYPE, /* userVisible */ false, /* supportsUploading */ true); in refreshUi_syncAdapterIsNotVisible_shouldNotBeShown()
141 ACCOUNT_TYPE, /* userVisible */ true, /* supportsUploading */ true); in refreshUi_syncAdapterIsNotSyncable_shouldNotBeShown()
156 ACCOUNT_TYPE, /* userVisible */ true, /* supportsUploading */ true); in refreshUi_syncAdapterDoesNotHaveProviderInfo_shouldNotBeShown()
173 ACCOUNT_TYPE, /* userVisible */ true, /* supportsUploading */ true); in refreshUi_providerInfoDoesNotHaveLabel_shouldNotBeShown()
198 ACCOUNT_TYPE, /* userVisible */ true, /* supportsUploading */ true); in refreshUi_providerLabelShouldBeSet()
520 ACCOUNT_TYPE, /* userVisible */ true, /* supportsUploading */ true); in setUpVisibleSyncAdapters()
DAccountDetailsPreferenceControllerTest.java53 private static final String ACCOUNT_TYPE = "com.acct"; field in AccountDetailsPreferenceControllerTest
54 private final Account mAccount = new Account(ACCOUNT_NAME, ACCOUNT_TYPE);
117 addAuthenticator(/* type= */ ACCOUNT_TYPE, /* labelRes= */ in refreshUi_shouldSetIcon()
DAccountDetailsWithSyncStatusPreferenceControllerTest.java59 private static final String ACCOUNT_TYPE = "com.acct"; field in AccountDetailsWithSyncStatusPreferenceControllerTest
60 private final Account mAccount = new Account(ACCOUNT_NAME, ACCOUNT_TYPE);
147 ACCOUNT_TYPE, /* userVisible */ true, /* supportsUploading */ true); in setUpVisibleSyncAdapters()
DAccountSyncDetailsFragmentTest.java62 private static final String ACCOUNT_TYPE = "com.acct1"; field in AccountSyncDetailsFragmentTest
66 private final Account mAccount = new Account("Name", ACCOUNT_TYPE);
206 ACCOUNT_TYPE, /* userVisible */ true, /* supportsUploading */ true); in setUpSyncAdapters()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContactLoader.java157 final String accountType = json.getString(RawContacts.ACCOUNT_TYPE); in loadEncodedContactEntity()
475 cursorColumnToContentValues(cursor, cv, ContactQuery.ACCOUNT_TYPE); in loadRawContactValues()
568 final String accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in loadDirectoryMetaData()
608 selection.append("(" + Groups.ACCOUNT_NAME + "=? AND " + Groups.ACCOUNT_TYPE + "=?"); in loadGroupMetaData()
636 final String accountType = cursor.getString(GroupQuery.ACCOUNT_TYPE); in loadGroupMetaData()
805 public static final int ACCOUNT_TYPE = 16; field in ContactLoader.ContactQuery
872 RawContacts.ACCOUNT_TYPE,
936 public static final int ACCOUNT_TYPE = 3; field in ContactLoader.DirectoryQuery
944 Directory.ACCOUNT_TYPE,
953 public static final int ACCOUNT_TYPE = 1; field in ContactLoader.GroupQuery
[all …]
DRawContact.java131 return getValues().getAsString(RawContacts.ACCOUNT_TYPE); in getAccountTypeString()
190 values.putNull(RawContacts.ACCOUNT_TYPE); in setAccount()
198 values.put(RawContacts.ACCOUNT_TYPE, accountType); in setAccount()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java50 Groups.ACCOUNT_TYPE + " NOT NULL AND " + Groups.ACCOUNT_NAME + " NOT NULL AND "
78 String accountType = cursor.getString(GroupListLoader.ACCOUNT_TYPE); in getGroupListItem()
93 String previousGroupAccountType = cursor.getString(GroupListLoader.ACCOUNT_TYPE); in getGroupListItem()
314 accountType = cursor.getColumnIndex(Groups.ACCOUNT_TYPE); in GroupsProjection()
329 accountType = list.indexOf(Groups.ACCOUNT_TYPE); in GroupsProjection()
358 return GoogleAccountType.ACCOUNT_TYPE.equals(cursor.getString(accountType)) in isEmptyFFCGroup()
/packages/apps/Contacts/src/com/android/contacts/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/src/com/android/providers/contacts/
DContactDirectoryManager.java86 Directory.ACCOUNT_TYPE,
95 public static final int ACCOUNT_TYPE = 1; field in ContactDirectoryManager.DirectoryQuery
314 + Directory.ACCOUNT_TYPE + "=?)"; in scanAllPackages()
492 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in queryDirectoriesForAuthority()
561 values.put(Directory.ACCOUNT_TYPE, info.accountType); in updateDirectories()
575 + 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()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java110 + Calendars.ACCOUNT_TYPE + "=?";
134 Colors.ACCOUNT_TYPE,
146 + Colors.ACCOUNT_TYPE + "=? AND " + Colors.COLOR_TYPE + "=? AND " + Colors.COLOR_KEY
150 private static final String GENERIC_ACCOUNT_TYPE = Calendars.ACCOUNT_TYPE;
220 + Calendars.ACCOUNT_TYPE + "=? AND " + Calendars.CALENDAR_COLOR_KEY + "=?";
223 + Tables.CALENDARS + " WHERE " + Events.ACCOUNT_NAME + "=? AND " + Events.ACCOUNT_TYPE
261 Calendars.ACCOUNT_TYPE + "=?";
264 + Calendars.ACCOUNT_NAME + "=? AND " + Calendars.ACCOUNT_TYPE + "=?";
390 CalendarContract.EventsEntity.ACCOUNT_TYPE);
1007 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()
1570 + Colors.ACCOUNT_TYPE + "=" + "new." + Calendars.ACCOUNT_TYPE + " AND " in upgradeToVersion400()
1584 + ") AND " + Colors.ACCOUNT_TYPE + "=" + "(SELECT " + Calendars.ACCOUNT_TYPE in upgradeToVersion400()
3228 + Tables.CALENDARS + "." + Calendars.ACCOUNT_TYPE in createEventsView()
3229 + " AS " + CalendarContract.Events.ACCOUNT_TYPE + "," in createEventsView()
/packages/apps/Contacts/src/com/android/contacts/model/
DCp2DeviceLocalAccountLocator.java47 ContactsContract.RawContacts.ACCOUNT_NAME, ContactsContract.RawContacts.ACCOUNT_TYPE,
121 .append(ContactsContract.RawContacts.ACCOUNT_TYPE).append(" IS NULL"); in getSelection()
125 sb.append(" OR ").append(ContactsContract.RawContacts.ACCOUNT_TYPE).append(" NOT IN ("); in getSelection()
DContactLoader.java135 RawContacts.ACCOUNT_TYPE,
214 public static final int ACCOUNT_TYPE = 16; field in ContactLoader.ContactQuery
276 Directory.ACCOUNT_TYPE,
284 public static final int ACCOUNT_TYPE = 3; field in ContactLoader.DirectoryQuery
393 final String accountType = json.getString(RawContacts.ACCOUNT_TYPE); in loadEncodedContactEntity()
625 cursorColumnToContentValues(cursor, cv, ContactQuery.ACCOUNT_TYPE); in loadRawContactValues()
715 final String accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in loadDirectoryMetaData()
786 "(" + Groups.ACCOUNT_NAME + "=? AND " + Groups.ACCOUNT_TYPE + "=?"); in loadGroupMetaData()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilter.java341 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_TYPE, accountType); in addAccountQueryParameterToUrl()
417 if (GoogleAccountType.ACCOUNT_TYPE.equals(account.type) in isSyncable()
447 if (GoogleAccountType.ACCOUNT_TYPE.equals(account.type) in getSyncableAccounts()
462 return GoogleAccountType.ACCOUNT_TYPE.equals(accountType) && dataSet == null; in isGoogleAccountType()
DCustomContactListFilterActivity.java176 .appendQueryParameter(Groups.ACCOUNT_TYPE, account.type); in createAccountSet()
258 .appendQueryParameter(Settings.ACCOUNT_TYPE, accountType);
269 values.put(Settings.ACCOUNT_TYPE, accountType);
332 return (mBefore == null ? mAfter : mBefore).getAsString(Settings.ACCOUNT_TYPE);
379 String accountType = this.getAsString(Settings.ACCOUNT_TYPE);
382 + Settings.ACCOUNT_TYPE + "=?");
735 if (GoogleAccountType.ACCOUNT_TYPE.equals(account.mType) && account.mDataSet == null) {
/packages/apps/Contacts/src/com/android/contacts/
DGroupListLoader.java34 Groups.ACCOUNT_TYPE,
44 public final static int ACCOUNT_TYPE = 1; field in GroupListLoader
DGroupMetaDataLoader.java33 Groups.ACCOUNT_TYPE,
44 public final static int ACCOUNT_TYPE = 1; field 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/Contacts/src/com/android/contacts/model/account/
DAccountWithDataSet.java61 public static final String LOCAL_ACCOUNT_SELECTION = RawContacts.ACCOUNT_TYPE + " IS NULL AND "
134 RawContacts.ACCOUNT_TYPE + " = ?" + " AND " + RawContacts.ACCOUNT_NAME + " = ?"; in hasData()
201 .withValue(RawContacts.ACCOUNT_TYPE, type); in newRawContactOperation()
/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/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DTestUtil.java50 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, account.type) in maybeAddAccountQueryParameters()
61 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, accountType) in maybeAddAccountWithDataSetQueryParameters()

12345