/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | AccountTypeManagerTest.java | 54 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/ |
D | AccountSyncDetailsPreferenceControllerTest.java | 76 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()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 157 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 …]
|
D | RawContact.java | 131 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/vcard/ |
D | SelectAccountActivity.java | 36 public static final String ACCOUNT_TYPE = "account_type"; field in SelectAccountActivity 73 intent.putExtra(ACCOUNT_TYPE, account.type); in onCreate() 92 intent.putExtra(ACCOUNT_TYPE, account.type); in onCreate()
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdAuthenticator.java | 39 private static final String ACCOUNT_TYPE = "com.android.cts.statsd"; field in StatsdAuthenticator 52 return new Account(ACCOUNT_NAME, ACCOUNT_TYPE); in getTestAccount() 78 for (Account account : am.getAccountsByType(ACCOUNT_TYPE)) { in removeAllAccounts()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/ |
D | AccountDetailsWithSyncStatusPreferenceControllerTest.java | 65 private static final String ACCOUNT_TYPE = "com.acct"; field in AccountDetailsWithSyncStatusPreferenceControllerTest 68 private final Account mAccount = new Account(ACCOUNT_NAME, ACCOUNT_TYPE); 211 ACCOUNT_TYPE, /* userVisible= */ true, /* supportsUploading= */ true); in setUpSyncAdapters() 220 ACCOUNT_TYPE, /* userVisible= */ true, /* supportsUploading= */ true); in setUpVisibleSyncAdapters()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactDirectoryManager.java | 86 Directory.ACCOUNT_TYPE, 95 public static final int ACCOUNT_TYPE = 1; field in ContactDirectoryManager.DirectoryQuery 313 + Directory.ACCOUNT_TYPE + "=?)"; in scanAllPackages() 491 info.accountType = cursor.getString(DirectoryQuery.ACCOUNT_TYPE); in queryDirectoriesForAuthority() 560 values.put(Directory.ACCOUNT_TYPE, info.accountType); in updateDirectories() 574 + Directory.ACCOUNT_NAME + "=? AND " + Directory.ACCOUNT_TYPE + "=?", in updateDirectories()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupUtil.java | 76 String accountType = cursor.getString(GroupListLoader.ACCOUNT_TYPE); in getGroupListItem() 91 String previousGroupAccountType = cursor.getString(GroupListLoader.ACCOUNT_TYPE); in getGroupListItem() 312 accountType = cursor.getColumnIndex(Groups.ACCOUNT_TYPE); in GroupsProjection() 327 accountType = list.indexOf(Groups.ACCOUNT_TYPE); in GroupsProjection() 356 return GoogleAccountType.ACCOUNT_TYPE.equals(cursor.getString(accountType)) in isEmptyFFCGroup()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 113 + Calendars.ACCOUNT_TYPE + "=?"; 137 Colors.ACCOUNT_TYPE, 149 + Colors.ACCOUNT_TYPE + "=? AND " + Colors.COLOR_TYPE + "=? AND " + Colors.COLOR_KEY 153 private static final String GENERIC_ACCOUNT_TYPE = Calendars.ACCOUNT_TYPE; 224 + Calendars.ACCOUNT_TYPE + "=? AND " + Calendars.CALENDAR_COLOR_KEY + "=?"; 227 + Tables.CALENDARS + " WHERE " + Events.ACCOUNT_NAME + "=? AND " + Events.ACCOUNT_TYPE 265 Calendars.ACCOUNT_TYPE + "=?"; 268 + Calendars.ACCOUNT_NAME + "=? AND " + Calendars.ACCOUNT_TYPE + "=?"; 394 CalendarContract.EventsEntity.ACCOUNT_TYPE); 1027 Calendars.ACCOUNT_TYPE); in queryInternal() [all …]
|
D | CalendarDatabaseHelper.java | 207 + 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/list/ |
D | ContactListFilter.java | 348 uriBuilder.appendQueryParameter(RawContacts.ACCOUNT_TYPE, accountType); in addAccountQueryParameterToUrl() 425 if (GoogleAccountType.ACCOUNT_TYPE.equals(account.type) in isSyncable() 455 if (GoogleAccountType.ACCOUNT_TYPE.equals(account.type) in getSyncableAccounts() 470 return GoogleAccountType.ACCOUNT_TYPE.equals(accountType) && dataSet == null; in isGoogleAccountType()
|
D | CustomContactListFilterActivity.java | 176 .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/ |
D | GroupListLoader.java | 34 Groups.ACCOUNT_TYPE, 44 public final static int ACCOUNT_TYPE = 1; field in GroupListLoader
|
D | GroupMetaDataLoader.java | 33 Groups.ACCOUNT_TYPE, 44 public final static int ACCOUNT_TYPE = 1; field in GroupMetaDataLoader
|
D | SplitAggregateView.java | 57 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/ |
D | ContactLoader.java | 135 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()
|
D | RawContact.java | 214 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/test_common/src/com/android/providers/contacts/testutil/ |
D | TestUtil.java | 50 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, account.type) in maybeAddAccountQueryParameters() 61 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, accountType) in maybeAddAccountWithDataSetQueryParameters()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | GroupsTest.java | 317 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/src/com/android/contacts/model/account/ |
D | AccountWithDataSet.java | 60 public static final String LOCAL_ACCOUNT_SELECTION = RawContacts.ACCOUNT_TYPE + " IS NULL AND " 142 RawContacts.ACCOUNT_TYPE + " = ?" + " AND " + RawContacts.ACCOUNT_NAME + " = ?"; in hasData() 209 .withValue(RawContacts.ACCOUNT_TYPE, type); in newRawContactOperation()
|
D | AccountDisplayInfo.java | 64 return GoogleAccountType.ACCOUNT_TYPE.equals(mSource.type); in hasGoogleAccountType() 68 return GoogleAccountType.ACCOUNT_TYPE.equals(mSource.type) && mSource.dataSet == null; in isGoogleAccount()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/accounts/ |
D | AccountsSettingsTest.java | 43 private static final String ACCOUNT_TYPE = "com.settingstest.account-prefs"; field in AccountsSettingsTest 61 final Account account = new Account(testAccountName, ACCOUNT_TYPE); in testExternalAccountInfoExists()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactLoader.java | 34 RawContacts.ACCOUNT_TYPE, 44 private static final int ACCOUNT_TYPE = 1; field in PickRawContactLoader 118 rawContact.accountType = rawContactCursor.getString(ACCOUNT_TYPE); 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() 75 .withValue(RawContacts.ACCOUNT_TYPE, account.type) in onPerformSync()
|