/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 66 public final String accountName; field in ContactListFilter 71 public ContactListFilter(int filterType, String accountType, String accountName, String dataSet, in ContactListFilter() argument 75 this.accountName = accountName; in ContactListFilter() 84 public static ContactListFilter createAccountFilter(String accountType, String accountName, in createAccountFilter() argument 87 accountName, dataSet, icon); in createAccountFilter() 90 public static ContactListFilter createGroupMembersFilter(String accountType, String accountName, in createGroupMembersFilter() argument 93 accountName, dataSet, /* icon */ null); in createGroupMembersFilter() 167 + " " + accountName; in toString() 178 int res = accountName.compareTo(another.accountName); in compareTo() 197 if (accountName != null) { in hashCode() [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactListFilter.java | 43 String accountName = source.readString(); 46 return new ContactListFilter(filterType, accountType, accountName, dataSet, null); 68 public final String accountName; field in ContactListFilter 74 int filterType, String accountType, String accountName, String dataSet, Drawable icon) { in ContactListFilter() argument 77 this.accountName = accountName; in ContactListFilter() 87 String accountType, String accountName, String dataSet, Drawable icon) { in createAccountFilter() argument 89 ContactListFilter.FILTER_TYPE_ACCOUNT, accountType, accountName, dataSet, icon); in createAccountFilter() 104 .putString(KEY_ACCOUNT_NAME, filter == null ? null : filter.accountName) in storeToPreferences() 133 String accountName = prefs.getString(KEY_ACCOUNT_NAME, null); in restoreFromPreferences() local 136 return new ContactListFilter(filterType, accountType, accountName, dataSet, null); in restoreFromPreferences() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EventColorCache.java | 46 public void insertColor(String accountName, String accountType, int displayColor, in insertColor() argument 48 mColorKeyMap.put(createKey(accountName, accountType, displayColor), colorKey); in insertColor() 49 String key = createKey(accountName, accountType); in insertColor() 61 public int[] getColorArray(String accountName, String accountType) { in getColorArray() argument 62 ArrayList<Integer> colors = mColorPaletteMap.get(createKey(accountName, accountType)); in getColorArray() 76 public int getColorKey(String accountName, String accountType, int displayColor) { in getColorKey() argument 77 return mColorKeyMap.get(createKey(accountName, accountType, displayColor)); in getColorKey() 96 private String createKey(String accountName, String accountType) { in createKey() argument 97 return new StringBuilder().append(accountName) in createKey() 103 private String createKey(String accountName, String accountType, int displayColor) { in createKey() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SharedPreferenceUtil.java | 144 private static String buildSharedPrefsName(String accountName) { in buildSharedPrefsName() argument 145 return accountName + "-" + PREFERENCE_KEY_ACCOUNT_SYNC_OFF_DISMISSES; in buildSharedPrefsName() 148 public static int getNumOfDismissesforAccountSyncOff(Context context, String accountName) { in getNumOfDismissesforAccountSyncOff() argument 149 return getSharedPreferences(context).getInt(buildSharedPrefsName(accountName), 0); in getNumOfDismissesforAccountSyncOff() 152 public static void resetNumOfDismissesForAccountSyncOff(Context context, String accountName) { in resetNumOfDismissesForAccountSyncOff() argument 154 buildSharedPrefsName(accountName), 0); in resetNumOfDismissesForAccountSyncOff() 157 .putInt(buildSharedPrefsName(accountName), 0).apply(); in resetNumOfDismissesForAccountSyncOff() 161 public static void incNumOfDismissesForAccountSyncOff(Context context, String accountName) { in incNumOfDismissesForAccountSyncOff() argument 163 buildSharedPrefsName(accountName), 0); in incNumOfDismissesForAccountSyncOff() 165 .putInt(buildSharedPrefsName(accountName), value + 1).apply(); in incNumOfDismissesForAccountSyncOff()
|
/packages/apps/Email/src/com/android/email/ |
D | EmailNotificationController.java | 460 final String accountName = account.getDisplayName(); in showPasswordExpiringNotificationSynchronous() local 462 mContext.getString(R.string.password_expire_warning_ticker_fmt, accountName); in showPasswordExpiringNotificationSynchronous() 464 showNotification(accountId, ticker, title, accountName, intent, in showPasswordExpiringNotificationSynchronous() 481 final String accountName = account.getDisplayName(); in showPasswordExpiredNotificationSynchronous() local 484 showNotification(accountId, ticker, title, accountName, intent, in showPasswordExpiredNotificationSynchronous() 504 String accountName = account.getDisplayName(); in showSecurityNeededNotification() local 506 mContext.getString(R.string.security_needed_ticker_fmt, accountName); in showSecurityNeededNotification() 508 showNotification(account.mId, ticker, title, accountName, intent, in showSecurityNeededNotification() 520 final String accountName = account.getDisplayName(); in showSecurityChangedNotification() local 522 mContext.getString(R.string.security_changed_ticker_fmt, accountName); in showSecurityChangedNotification() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | CalendarColorCache.java | 84 private void insert(String accountName, String accountType) { in insert() argument 85 mCache.add(generateKey(accountName, accountType)); in insert() 91 public boolean hasColors(String accountName, String accountType) { in hasColors() argument 92 return mCache.contains(generateKey(accountName, accountType)); in hasColors() 105 private String generateKey(String accountName, String accountType) { in generateKey() argument 107 return mStringBuffer.append(accountName).append(SEPARATOR).append(accountType).toString(); in generateKey()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | AdbHelpers.java | 42 final String accountName = args.getString("name"); in addTestAccount() local 43 if (accountName == null) { in addTestAccount() 48 new AccountsTestHelper(context).addTestAccount(accountName); in addTestAccount() 53 final String accountName = args.getString("name"); in removeTestAccount() local 54 if (accountName == null) { in removeTestAccount() 59 final AccountWithDataSet account = new AccountWithDataSet(accountName, in removeTestAccount()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMetaData.java | 48 public final String accountName; field in GroupMetaData 73 this.accountName = cursor.getString(GroupMetaDataLoader.ACCOUNT_NAME); in GroupMetaData() 90 accountName = source.readString(); in GroupMetaData() 104 dest.writeString(accountName); in writeToParcel() 118 && !TextUtils.isEmpty(accountName) in isValid() 131 .add("accountName", accountName) in toString()
|
D | GroupUtil.java | 77 String accountName = cursor.getString(GroupListLoader.ACCOUNT_NAME); in getGroupListItem() local 96 if (TextUtils.equals(accountName, previousGroupAccountName) in getGroupListItem() 103 return new GroupListItem(accountName, accountType, dataSet, groupId, title, in getGroupListItem() 173 intent.putExtra(UiIntentActions.GROUP_ACCOUNT_NAME, groupMetaData.accountName); in createPickMemberIntent() 300 public final int accountName; field in GroupUtil.GroupsProjection 313 accountName = cursor.getColumnIndex(Groups.ACCOUNT_NAME); in GroupsProjection() 328 accountName = list.indexOf(Groups.ACCOUNT_NAME); in GroupsProjection()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | GlobalDismissManager.java | 57 private GlobalDismissId(String accountName, String syncId, long startTime) { in GlobalDismissId() argument 59 if (accountName == null) { in GlobalDismissId() 64 mAccountName = accountName; in GlobalDismissId() 108 public LocalDismissId(String accountType, String accountName, long eventId, in LocalDismissId() argument 112 } else if (accountName == null) { in LocalDismissId() 117 mAccountName = accountName; in LocalDismissId() 311 String accountName = dismissId.mAccountName; in syncSenderDismissCache() local 314 data.putString(ACCOUNT_NAME, accountName); in syncSenderDismissCache() 316 cnb.send(accountName, syncId + ":" + startTime, data); in syncSenderDismissCache()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 154 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity() local 156 if (accountName != null) { in loadEncodedContactEntity() 161 accountName, in loadEncodedContactEntity() 569 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData() local 584 displayName, directoryType, accountType, accountName, exportSupport); in loadDirectoryMetaData() 599 final String accountName = rawContact.getAccountName(); in loadGroupMetaData() local 602 final AccountKey accountKey = new AccountKey(accountName, accountType, dataSet); in loadGroupMetaData() 603 if (accountName != null && accountType != null && !accountsSeen.contains(accountKey)) { in loadGroupMetaData() 609 selectionArgs.add(accountName); in loadGroupMetaData() 635 final String accountName = cursor.getString(GroupQuery.ACCOUNT_NAME); in loadGroupMetaData() local [all …]
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | UriUtils.java | 113 public static Uri getAccountImageUri(String accountName) { in getAccountImageUri() argument 114 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() 124 public static Uri getAccountImageUri(String accountName, Uri changeNotifyUri) { in getAccountImageUri() argument 125 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri() 146 String accountName = uri.getAuthority() + uri.getPath(); in getAccountName() local 147 return accountName; in getAccountName()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1738 String accountName = null; in handleInsertException() local 1743 accountName = account.name; in handleInsertException() 1747 verifyColorExists(accountName, accountType, color_index, Colors.TYPE_EVENT); in handleInsertException() 1985 String accountName = getOwner(calendarId); in handleInsertException() local 1987 if (accountName != null) { in handleInsertException() 1994 " name=" + accountName + " to " + in handleInsertException() 1999 new String[] { String.valueOf(newEventId), accountName }); in handleInsertException() 2010 new String[] { String.valueOf(newEventId), accountName }, in handleInsertException() 2133 String accountName = null; in insertInTransaction() local 2136 accountName = account.name; in insertInTransaction() [all …]
|
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 514 public static SecurityNeededDialog newInstance(String accountName) { in newInstance() argument 517 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 524 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 531 b.setMessage(res.getString(R.string.account_security_dialog_content_fmt, accountName)); in onCreateDialog() 580 public static PasswordExpirationDialog newInstance(String accountName, boolean expired) { in newInstance() argument 583 b.putString(BUNDLE_KEY_ACCOUNT_NAME, accountName); in newInstance() 597 final String accountName = getArguments().getString(BUNDLE_KEY_ACCOUNT_NAME); in onCreateDialog() local 611 .setMessage(res.getString(contentId, accountName)) in onCreateDialog()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | GoogleSource.java | 164 final String accountName = stateValues.getAsString(RawContacts.ACCOUNT_NAME); in attemptMyContactsMembership() local 166 attemptMyContactsMembership(state, accountName, accountType, context, true); in attemptMyContactsMembership() 180 final String accountName, final String accountType, Context context, in attemptMyContactsMembership() argument 187 new String[] {accountName, accountType}, null); in attemptMyContactsMembership() 217 newGroup.put(Groups.ACCOUNT_NAME, accountName); in attemptMyContactsMembership() 244 state, accountName, accountType, context, false); in attemptMyContactsMembership()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLookupKey.java | 57 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { in getAccountHashCode() argument 58 if (accountTypeWithDataSet == null || accountName == null) { in getAccountHashCode() 62 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF; in getAccountHashCode() 66 String accountName, long rawContactId, String sourceId, in appendToLookupKey() argument 76 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName)); in appendToLookupKey()
|
D | AccountWithDataSet.java | 34 public AccountWithDataSet(String accountName, String accountType, String dataSet) { in AccountWithDataSet() argument 35 mAccountName = emptyToNull(accountName); in AccountWithDataSet() 44 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) { in get() argument 45 return new AccountWithDataSet(accountName, accountType, dataSet); in get()
|
D | MetadataEntryParser.java | 100 public RawContactInfo(String backupId, String accountType, String accountName, in RawContactInfo() argument 104 this.mAccountName = accountName; in RawContactInfo() 245 final String accountName = uniqueContactJSON.getString(ACCOUNT_NAME); in parseUniqueContact() local 265 || TextUtils.isEmpty(accountName)) { in parseUniqueContact() 270 backupId, accountType, accountName, dataSet); in parseUniqueContact()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 400 final String accountName = json.optString(RawContacts.ACCOUNT_NAME, null); in loadEncodedContactEntity() local 402 if (accountName != null) { in loadEncodedContactEntity() 404 contact.setDirectoryMetaData(directoryName, null, accountName, accountType, in loadEncodedContactEntity() 728 final String accountName = cursor.getString(DirectoryQuery.ACCOUNT_NAME); in loadDirectoryMetaData() local 743 displayName, directoryType, accountType, accountName, exportSupport); in loadDirectoryMetaData() 755 public AccountKey(String accountName, String accountType, String dataSet) { in AccountKey() argument 756 mAccountName = accountName; in AccountKey() 787 final String accountName = rawContact.getAccountName(); in loadGroupMetaData() local 790 final AccountKey accountKey = new AccountKey(accountName, accountType, dataSet); in loadGroupMetaData() 791 if (accountName != null && accountType != null && in loadGroupMetaData() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactMetadataProviderTest.java | 549 private long insertMetadata(String accountName, String accountType, String dataSet, in insertMetadata() argument 552 accountName, accountType, dataSet, backupId, data, deleted)); in insertMetadata() 555 private ContentValues getMetadataContentValues(String accountName, String accountType, in getMetadataContentValues() argument 558 values.put(MetadataSync.ACCOUNT_NAME, accountName); in getMetadataContentValues() 571 private long insertMetadataSyncState(String accountName, String accountType, in insertMetadataSyncState() argument 574 getSyncStateValues(accountName, accountType, dataSet, state))); in insertMetadataSyncState() 577 private ContentValues getSyncStateValues(String accountName, String accountType, in getSyncStateValues() argument 580 values.put(MetadataSyncState.ACCOUNT_NAME, accountName); in getSyncStateValues()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | PersonalizationHelper.java | 45 final Context context, final Locale locale, @Nullable final String accountName) { in getUserHistoryDictionary() argument 47 if (accountName != null) { in getUserHistoryDictionary() 48 lookupStr += "." + accountName; in getUserHistoryDictionary() 64 context, locale, accountName); in getUserHistoryDictionary()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PickRawContactDialogFragment.java | 91 holder.accountName = (TextView) view.findViewById(R.id.account_name); in getView() 118 new AccountWithDataSet(rawContact.accountName, in getView() 125 accountDisplayLabel = rawContact.accountName; in getView() 130 holder.accountName.setText(accountDisplayLabel); in getView() 146 TextView accountName; field in PickRawContactDialogFragment.RawContactAccountListAdapter.RawContactViewHolder
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | TestUtil.java | 55 String accountName, String accountType, String dataSet) { in maybeAddAccountWithDataSetQueryParameters() argument 56 if (accountName == null && accountType == null) { in maybeAddAccountWithDataSetQueryParameters() 60 .appendQueryParameter(RawContacts.ACCOUNT_NAME, accountName) in maybeAddAccountWithDataSetQueryParameters()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncActivity.java | 37 String accountName = getIntent().getStringExtra(EXTRA_ACCOUNT); in createSettingsFragment() local 39 if (!TextUtils.isEmpty(accountName)) { in createSettingsFragment() 42 if (candidateAccount.name.equals(accountName)) { in createSettingsFragment()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
D | AccountsChangedReceiverTests.java | 100 private void updateAccountName(String accountName) { in updateAccountName() argument 101 if (accountName == null) { in updateAccountName() 104 mPrefs.edit().putString(LocalSettingsConstants.PREF_ACCOUNT_NAME, accountName).apply(); in updateAccountName()
|